@genesislcap/design-system-configurator 14.172.1 → 14.172.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.
- package/dist/{155.155.b6009b675da1f9a3b8d6.js → 132.132.137810a47573edc1e875.js} +371 -349
- package/dist/132.5a0e426a58277fbfd921abbe4b6cdcca.js.map +1 -0
- package/dist/{279.279.4a7c8924ddb2db963d14.js → 279.279.d21111f95b2e4f9c9df6.js} +2 -2
- package/dist/{279.2af3625f836b0e20a72534f8e88efc2d.js.map → 279.61388040d5212cf9d2f9ec0b74af86b1.js.map} +1 -1
- package/dist/{531.531.38d5cef5cc4d50dbc44f.js → 531.531.000ec67f71bb0721736b.js} +6 -3
- package/dist/531.8ac8553d29c90734268ff95945814785.js.map +1 -0
- package/dist/{548.e330e69340c145b954b9db02a1e0531a.js.map → 548.1302eba0ac52ed9874e55977e489e1e8.js.map} +1 -1
- package/dist/{548.548.5e624bb51b41a4b5afb4.js → 548.548.1cb84472b707a4cf7cb4.js} +2 -2
- package/dist/653.653.c7921e6e6753e3a26327.js +2 -0
- package/dist/{653.cd79d6d50e9f0dfe8ed96f08357afbae.js.map → 653.cda2755851515fbf4ce54a3f75f7351b.js.map} +1 -1
- package/dist/{842.60f68f529269a87cfaca8612e60ed824.js.map → 842.1b8c26e4166585e1fc0b843d66f8e981.js.map} +1 -1
- package/dist/{842.842.db09bf3aee5fa1b7055c.js → 842.842.d6911291b0c7843acfae.js} +2 -2
- package/dist/{designSystemConfigurator.2bb84e72d0b03b17dac960772f1d0ab1.js.map → designSystemConfigurator.21408cefc856ece1a50613327fb1b025.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/main.1082d43a13a2d0ea2eba.js +2 -0
- package/dist/{main.a664e50ad95e3e1cb134b2dbfa5d7389.js.map → main.79ed95d1326c6c2fa8e6275df29ddaf2.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/155.3f898c622d7d3f481a37b3c38da70afe.js.map +0 -1
- package/dist/531.595105968541d1361ecf4ec202a2e543.js.map +0 -1
- package/dist/653.653.4a596617aeb2748a1075.js +0 -2
- package/dist/main.129295729393bc92268a.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[155],{74910:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Tm,ColorToken:()=>Nm,ColorTokens:()=>Em,DesignSystemEditor:()=>vm,DesignSystemExport:()=>Am,DesignSystemPreview:()=>Um,EventName:()=>om,PreviewComponents:()=>Sm,PreviewForm:()=>Zm,PreviewGrid:()=>eb,TypographyTokens:()=>Gm,defaultBodyFont:()=>lm,fontFamilies:()=>nm});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>He,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>gs,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>ls,defaultErrorColor:()=>Kg,defaultSellColor:()=>ds,defaultSuccessColor:()=>as,defaultWarningColor:()=>os,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Xg,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:()=>cs,strokeWidth:()=>f.strokeWidth,successColor:()=>rs,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:()=>is});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>vs,accentFillFocusDeltaValue:()=>fs,accentFillHoverDeltaValue:()=>bs,accentFillRestDeltaValue:()=>ms,accentForegroundActiveDeltaValue:()=>xs,accentForegroundFocusDeltaValue:()=>ks,accentForegroundHoverDeltaValue:()=>ys,accentForegroundRestDeltaValue:()=>ws,accentPaletteValue:()=>ps,baseHeightMultiplierValue:()=>Js,baseLayerLuminanceValue:()=>hs,bodyFontValue:()=>ed,controlCornerRadiusValue:()=>Zs,densityValue:()=>Ks,designTokens:()=>wd,designUnitValue:()=>Xs,directionValue:()=>Ys,disabledOpacityValue:()=>Qs,focusStrokeWidthValue:()=>qs,neutralFillActiveDeltaValue:()=>Cs,neutralFillFocusDeltaValue:()=>$s,neutralFillHoverDeltaValue:()=>Ss,neutralFillInputActiveDeltaValue:()=>Fs,neutralFillInputFocusDeltaValue:()=>Ts,neutralFillInputHoverDeltaValue:()=>Os,neutralFillInputRestDeltaValue:()=>As,neutralFillLayerRestDeltaValue:()=>Ps,neutralFillRestDeltaValue:()=>zs,neutralFillStealthActiveDeltaValue:()=>Ns,neutralFillStealthFocusDeltaValue:()=>Ls,neutralFillStealthHoverDeltaValue:()=>Rs,neutralFillStealthRestDeltaValue:()=>Ds,neutralFillStrongActiveDeltaValue:()=>js,neutralFillStrongFocusDeltaValue:()=>Es,neutralFillStrongHoverDeltaValue:()=>Is,neutralFillStrongRestDeltaValue:()=>Ms,neutralPaletteValue:()=>us,neutralStrokeActiveDeltaValue:()=>_s,neutralStrokeDividerRestDeltaValue:()=>Us,neutralStrokeFocusDeltaValue:()=>Hs,neutralStrokeHoverDeltaValue:()=>Gs,neutralStrokeRestDeltaValue:()=>Bs,prefix:()=>Vs,strokeWidthValue:()=>Ws,typeRampBaseFontSizeValue:()=>ad,typeRampBaseLineHeightValue:()=>rd,typeRampMinus1FontSizeValue:()=>td,typeRampMinus1LineHeightValue:()=>od,typeRampMinus2FontSizeValue:()=>id,typeRampMinus2LineHeightValue:()=>nd,typeRampPlus1FontSizeValue:()=>ld,typeRampPlus1LineHeightValue:()=>gd,typeRampPlus2FontSizeValue:()=>sd,typeRampPlus2LineHeightValue:()=>dd,typeRampPlus3FontSizeValue:()=>cd,typeRampPlus3LineHeightValue:()=>pd,typeRampPlus4FontSizeValue:()=>ud,typeRampPlus4LineHeightValue:()=>hd,typeRampPlus5FontSizeValue:()=>md,typeRampPlus5LineHeightValue:()=>bd,typeRampPlus6FontSizeValue:()=>vd,typeRampPlus6LineHeightValue:()=>fd});var l=r(16713),g=r(24636),s=r(61503),d=r(17914);const c=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[132],{54811:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Fm,ColorToken:()=>Nm,ColorTokens:()=>Em,DesignSystemEditor:()=>vm,DesignSystemExport:()=>Am,DesignSystemPreview:()=>Hm,EventName:()=>om,PreviewComponents:()=>Sm,PreviewForm:()=>Zm,PreviewGrid:()=>ab,TypographyTokens:()=>Gm,defaultBodyFont:()=>lm,fontFamilies:()=>nm});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Fe,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>Ue,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>gs,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>ls,defaultErrorColor:()=>Kg,defaultSellColor:()=>ds,defaultSuccessColor:()=>as,defaultWarningColor:()=>os,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Xg,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:()=>cs,strokeWidth:()=>f.strokeWidth,successColor:()=>rs,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:()=>is});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>vs,accentFillFocusDeltaValue:()=>fs,accentFillHoverDeltaValue:()=>bs,accentFillRestDeltaValue:()=>ms,accentForegroundActiveDeltaValue:()=>xs,accentForegroundFocusDeltaValue:()=>ks,accentForegroundHoverDeltaValue:()=>ys,accentForegroundRestDeltaValue:()=>ws,accentPaletteValue:()=>ps,baseHeightMultiplierValue:()=>Js,baseLayerLuminanceValue:()=>hs,bodyFontValue:()=>ed,controlCornerRadiusValue:()=>Zs,densityValue:()=>Ks,designTokens:()=>wd,designUnitValue:()=>Xs,directionValue:()=>Ys,disabledOpacityValue:()=>Qs,focusStrokeWidthValue:()=>qs,neutralFillActiveDeltaValue:()=>Cs,neutralFillFocusDeltaValue:()=>$s,neutralFillHoverDeltaValue:()=>Ss,neutralFillInputActiveDeltaValue:()=>Ts,neutralFillInputFocusDeltaValue:()=>Fs,neutralFillInputHoverDeltaValue:()=>Os,neutralFillInputRestDeltaValue:()=>As,neutralFillLayerRestDeltaValue:()=>Ps,neutralFillRestDeltaValue:()=>zs,neutralFillStealthActiveDeltaValue:()=>Ns,neutralFillStealthFocusDeltaValue:()=>Ls,neutralFillStealthHoverDeltaValue:()=>Rs,neutralFillStealthRestDeltaValue:()=>Ds,neutralFillStrongActiveDeltaValue:()=>js,neutralFillStrongFocusDeltaValue:()=>Es,neutralFillStrongHoverDeltaValue:()=>Is,neutralFillStrongRestDeltaValue:()=>Ms,neutralPaletteValue:()=>us,neutralStrokeActiveDeltaValue:()=>_s,neutralStrokeDividerRestDeltaValue:()=>Hs,neutralStrokeFocusDeltaValue:()=>Us,neutralStrokeHoverDeltaValue:()=>Gs,neutralStrokeRestDeltaValue:()=>Bs,prefix:()=>Vs,strokeWidthValue:()=>Ws,typeRampBaseFontSizeValue:()=>ad,typeRampBaseLineHeightValue:()=>rd,typeRampMinus1FontSizeValue:()=>td,typeRampMinus1LineHeightValue:()=>od,typeRampMinus2FontSizeValue:()=>id,typeRampMinus2LineHeightValue:()=>nd,typeRampPlus1FontSizeValue:()=>ld,typeRampPlus1LineHeightValue:()=>gd,typeRampPlus2FontSizeValue:()=>sd,typeRampPlus2LineHeightValue:()=>dd,typeRampPlus3FontSizeValue:()=>cd,typeRampPlus3LineHeightValue:()=>pd,typeRampPlus4FontSizeValue:()=>ud,typeRampPlus4LineHeightValue:()=>hd,typeRampPlus5FontSizeValue:()=>md,typeRampPlus5LineHeightValue:()=>bd,typeRampPlus6FontSizeValue:()=>vd,typeRampPlus6LineHeightValue:()=>fd});var l=r(94088),g=r(24636),s=r(61503),d=r(17914);const c=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${f.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
background: ${w.A.Canvas};
|
|
55
55
|
border-color: ${w.A.CanvasText};
|
|
56
56
|
}
|
|
57
|
-
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(
|
|
57
|
+
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(58114);const z=(0,k.createLogger)("foundation-form"),S=b.html`
|
|
58
58
|
<template>
|
|
59
59
|
${(0,b.when)((e=>!1),b.html`
|
|
60
60
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
</${e}-button>
|
|
126
126
|
</template>
|
|
127
127
|
`)(e.form.prefix)}
|
|
128
|
-
`})],O);const
|
|
128
|
+
`})],O);const T=b.css`
|
|
129
129
|
.tabs-container::part(tablist) {
|
|
130
130
|
background-color: transparent;
|
|
131
131
|
border-bottom: none;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
.tab-panel-control {
|
|
139
139
|
margin-top: 10px;
|
|
140
140
|
}
|
|
141
|
-
`;let
|
|
141
|
+
`;let F=class extends b.FASTElement{};(0,g.__decorate)([b.observable],F.prototype,"form",void 0),(0,g.__decorate)([b.observable],F.prototype,"control",void 0),F=(0,g.__decorate)([(0,b.customElement)({name:"categorization-wrapper",styles:T,template:b.html`
|
|
142
142
|
${e=>((e="zero")=>b.html`
|
|
143
143
|
<template>
|
|
144
144
|
<${e}-tabs class="tabs-container">
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
</${e}-tabs>
|
|
162
162
|
</template>
|
|
163
163
|
`)(e.form.prefix)}
|
|
164
|
-
`})],
|
|
164
|
+
`})],F);const D=b.html`
|
|
165
165
|
<template>
|
|
166
166
|
${(0,b.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),b.html`
|
|
167
167
|
<div
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
`)}
|
|
275
275
|
</template>
|
|
276
276
|
`)(e.prefix)}
|
|
277
|
-
`,_=(0,m.or)(m.uA2,(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"boolean")))))),
|
|
277
|
+
`,_=(0,m.or)(m.uA2,(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"boolean")))))),U={renderer:b.html`
|
|
278
278
|
${e=>((e="zero")=>b.html`
|
|
279
279
|
<template>
|
|
280
280
|
<control-wrapper
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
</control-wrapper>
|
|
296
296
|
</template>
|
|
297
297
|
`)(e.prefix)}
|
|
298
|
-
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var
|
|
298
|
+
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var H=r(89926);const V=e=>a=>{if(!a||!(0,m.c0N)(a))return!1;const r=a.options;return!(!r||!r[e])},Y=(0,m.Uo6)(V("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")))))));H.MultiselectDatasource;const Q={renderer:b.html`
|
|
299
299
|
${e=>((e="zero")=>b.html`
|
|
300
300
|
<template>
|
|
301
301
|
<control-wrapper
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
</control-wrapper>
|
|
322
322
|
</template>
|
|
323
323
|
`)(e.prefix)}
|
|
324
|
-
`,tester:(0,m.Hc7)(4,Y),mapper:m.kOB};
|
|
324
|
+
`,tester:(0,m.Hc7)(4,Y),mapper:m.kOB};H.OptionsDatasource;const W={renderer:b.html`
|
|
325
325
|
${e=>((e="zero")=>b.html`
|
|
326
326
|
<template>
|
|
327
327
|
<control-wrapper
|
|
@@ -600,11 +600,11 @@
|
|
|
600
600
|
</control-wrapper>
|
|
601
601
|
</template>
|
|
602
602
|
`)(e.prefix)}
|
|
603
|
-
`,we={renderer:fe,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},ye=[{renderer:fe,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},we,
|
|
604
|
-
${(0,
|
|
605
|
-
`,shadowOptions:
|
|
606
|
-
${(0,
|
|
607
|
-
`,shadowOptions:
|
|
603
|
+
`,we={renderer:fe,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},ye=[{renderer:fe,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},we,U,me,te,oe,ie,ge,de,le,se,ue,Q,X,W,Z,ee];let xe=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=ye,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],xe.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],xe.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],xe.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],xe.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],xe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.dm],xe.prototype,"connect",void 0),(0,g.__decorate)([b.observable],xe.prototype,"data",void 0),(0,g.__decorate)([b.observable],xe.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],xe.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],xe.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],xe.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],xe.prototype,"isSubmitHidden",null),xe=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:G,styles:y})],xe);var ke,ze,Se,Ce,$e,Ae=r(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"}(ke||(ke={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ze||(ze={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Se||(Se={})),function(e){e.grey="#7c909b"}(Ce||(Ce={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}($e||($e={}));const{create:Oe}=v.DesignToken,Te=(0,Ae.parseColorHexRGB)(ke.error),Fe=f.SwatchRGB.create(Te.r,Te.g,Te.b),De=Oe("error-color").withDefault(Fe),Re=(0,Ae.parseColorHexRGB)(ke.success),Ne=f.SwatchRGB.create(Re.r,Re.g,Re.b),Le=Oe("success-color").withDefault(Ne),Me=(0,H.paletteFromHex)(ze.blue),Ie=(0,H.paletteFromHex)(Ce.grey),je=f.StandardLuminance.DarkMode;var Ee=r(85109);const Pe=Ee.O.ltr,Be=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),Ge=4,_e=f.density.getValueFor(f.density.appliedTo[0]),Ue=4;var He=r(80273);const Ve=()=>{(0,He.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")},Ye='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Qe=(e=He.zz.Normal,a=He.IT.Regular)=>(0,He.f4)(Ye,e,a),We=Ye,qe=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),Je=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),Ze={design_tokens:{color:{accent:{$value:Me.source.toColorString(),$type:"color"},neutral:{$value:Ie.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:We,$type:"fontFamily"}},typography:{baseFontSize:{$value:qe,$type:"dimension"},baseLineHeight:{$value:Je,$type:"dimension"}},mode:{luminance:{$value:je,$type:"number"}},style:{density:{$value:_e,$type:"number"},borderRadius:{$value:Ge,$type:"number"},strokeWidth:{$value:Be,$type:"number"}},space:{designUnit:{$value:Ue,$type:"number"}}}};class Ke extends H.Accordion{}const Xe=Ke.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
604
|
+
${(0,H.foundationAccordionStyles)(e,a)}
|
|
605
|
+
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class ea extends H.AccordionItem{}const aa=ea.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
606
|
+
${(0,H.foundationAccordionItemStyles)(e,a)};
|
|
607
|
+
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class ra extends H.ActionsMenu{}const ta=ra.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
|
|
608
608
|
:host {
|
|
609
609
|
--actions-opener-heigght-multiplier: 0.6px;
|
|
610
610
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -628,8 +628,8 @@
|
|
|
628
628
|
pointer-events: none;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
${(0,
|
|
632
|
-
`,template:
|
|
631
|
+
${(0,H.actionsMenuBaseStyles)(e,a)}
|
|
632
|
+
`,template:H.foundationActionsMenuTemplate}),oa=(e,a=1)=>new Ae.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),ia=(0,Ae.parseColorHexRGB)(ke.white),na=(e=1)=>oa(ia,e),la=((0,Ae.parseColorHexRGB)(ke.black),(0,Ae.parseColorHexRGB)("#585858")),ga=(f.SwatchRGB.create(la.r,la.g,la.b),(0,Ae.parseColorHexRGB)("#202126")),sa=f.SwatchRGB.create(ga.r,ga.g,ga.b),da=(f.PaletteRGB.from(sa),(0,Ae.parseColorHexRGB)(ze.blue)),ca=(e=1)=>oa(da,e),pa=f.SwatchRGB.create(da.r,da.g,da.b),ua=(f.PaletteRGB.from(pa),(0,Ae.parseColorHexRGB)(ze.purple)),ha=(e=1)=>oa(ua,e),ma=(0,Ae.parseColorHexRGB)(Se.orange),ba=(e=1)=>oa(ma,e),va=(0,Ae.parseColorHexRGB)(Se.teal),fa=(e=1)=>oa(va,e),wa=((0,Ae.parseColorHexRGB)($e.longGreen),(0,Ae.parseColorHexRGB)($e.chartPink),(0,Ae.parseColorHexRGB)($e.warningYellow)),ya=(0,Ae.parseColorHexRGB)($e.chartPink),xa=(e=1)=>oa(ya,e);function ka(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const za=.3,Sa=.1,Ca=.5,$a=b.css`
|
|
633
633
|
:host([appearance='primary-blue']) {
|
|
634
634
|
background: ${ca(za)};
|
|
635
635
|
border: 1px solid ${ze.blue};
|
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
|
|
698
698
|
color: ${na(Ca)};
|
|
699
699
|
}
|
|
700
|
-
`,
|
|
700
|
+
`,Ta=b.css`
|
|
701
701
|
:host([appearance='secondary-orange']) {
|
|
702
702
|
background: ${ba(za)};
|
|
703
703
|
border: 1px solid ${Se.orange};
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
border: 1px solid ${ba(za)};
|
|
713
713
|
color: ${na(Ca)};
|
|
714
714
|
}
|
|
715
|
-
`,
|
|
715
|
+
`,Fa=b.css`
|
|
716
716
|
:host([appearance='secondary-teal']) {
|
|
717
717
|
background: ${fa(za)};
|
|
718
718
|
border: 1px solid ${Se.teal};
|
|
@@ -833,21 +833,21 @@
|
|
|
833
833
|
color: ${na(Ca)};
|
|
834
834
|
}
|
|
835
835
|
`,Ma=(e,a)=>b.css`
|
|
836
|
-
${(0,
|
|
836
|
+
${(0,H.foundationButtonStyles)(e,a)}
|
|
837
837
|
${b.css`
|
|
838
838
|
:host {
|
|
839
839
|
margin: 5px;
|
|
840
840
|
}
|
|
841
841
|
`}
|
|
842
|
-
`.withBehaviors(ka("primary-blue",$a),ka("primary-purple",Aa),ka("primary-gradient",Oa),ka("secondary-orange",
|
|
843
|
-
${(0,
|
|
842
|
+
`.withBehaviors(ka("primary-blue",$a),ka("primary-purple",Aa),ka("primary-gradient",Oa),ka("secondary-orange",Ta),ka("secondary-teal",Fa),ka("neutral-grey",Da),ka("outline-primary-gradient",Ra),ka("outline-secondary-orange",Na),ka("outline-secondary-teal",La));class Ia extends H.Anchor{}const ja=Ia.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
|
|
843
|
+
${(0,H.foundationAnchorStyles)(e,a)}
|
|
844
844
|
${Ma(e,a)}
|
|
845
|
-
`.withBehaviors(...Ma(e,a).behaviors),shadowOptions:
|
|
846
|
-
${(0,
|
|
847
|
-
`,shadowOptions:
|
|
848
|
-
${(0,
|
|
849
|
-
`,shadowOptions:
|
|
850
|
-
${(0,
|
|
845
|
+
`.withBehaviors(...Ma(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Ea extends H.AnchoredRegion{}const Pa=Ea.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
846
|
+
${(0,H.foundationAnchoredRegionStyles)(e,a)}
|
|
847
|
+
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Ba extends H.Avatar{}const Ga=Ba.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
848
|
+
${(0,H.foundationAvatarStyles)(e,a)}
|
|
849
|
+
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class _a extends H.Badge{}const Ua=_a.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
|
|
850
|
+
${(0,H.foundationBadgeStyles)(e,a)}
|
|
851
851
|
:host {
|
|
852
852
|
--badge-fill-primary: ${ca()};
|
|
853
853
|
--badge-fill-secondary: ${fa()};
|
|
@@ -860,15 +860,15 @@
|
|
|
860
860
|
:host .control {
|
|
861
861
|
padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
|
|
862
862
|
}
|
|
863
|
-
`,shadowOptions:
|
|
864
|
-
${
|
|
863
|
+
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Ha=b.css`
|
|
864
|
+
${H.foundationBannerStyles}
|
|
865
865
|
.banner {
|
|
866
866
|
background-color: ${f.neutralLayer1};
|
|
867
867
|
}
|
|
868
|
-
`,Va=
|
|
869
|
-
${(0,
|
|
870
|
-
`,shadowOptions:undefined},{}));class Ja extends
|
|
871
|
-
${(0,
|
|
868
|
+
`,Va=H.foundationBannerShadowOptions;class Ya extends H.Banner{}const Qa=Ya.compose({baseName:"banner",shadowOptions:Va,styles:Ha,template:H.foundationBannerTemplate});class Wa extends H.Breadcrumb{}const qa=Wa.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
|
|
869
|
+
${(0,H.foundationBreadcrumbStyles)(e,a)}
|
|
870
|
+
`,shadowOptions:undefined},{}));class Ja extends H.BreadcrumbItem{}const Za=Ja.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
871
|
+
${(0,H.foundationBreadcrumbItemStyles)(e,a)}
|
|
872
872
|
:host {
|
|
873
873
|
--neutral-foreground-rest: #18b2e3;
|
|
874
874
|
--accent-foreground-rest: #f1f1f1;
|
|
@@ -878,16 +878,16 @@
|
|
|
878
878
|
.separator {
|
|
879
879
|
color: var(--neutral-stroke-rest);
|
|
880
880
|
}
|
|
881
|
-
`,shadowOptions:
|
|
882
|
-
${(0,
|
|
883
|
-
`,shadowOptions:
|
|
884
|
-
${(0,
|
|
881
|
+
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class Ka extends H.Button{}const Xa=Ka.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:Ma,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class er extends H.Calendar{}const ar=er.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
|
|
882
|
+
${(0,H.foundationCalendarStyles)()}
|
|
883
|
+
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class rr extends H.Card{}const tr=rr.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
|
|
884
|
+
${(0,H.foundationCardStyles)(e,a)}
|
|
885
885
|
:host {
|
|
886
886
|
background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
|
|
887
887
|
color: ${f.neutralForegroundRest};
|
|
888
888
|
}
|
|
889
|
-
`,shadowOptions:
|
|
890
|
-
${
|
|
889
|
+
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),or=b.css`
|
|
890
|
+
${H.categorizedMultiselectStyles}
|
|
891
891
|
|
|
892
892
|
.label {
|
|
893
893
|
color: var(--neutral-foreground-hint);
|
|
@@ -901,9 +901,9 @@
|
|
|
901
901
|
background: var(--neutral-layer-4);
|
|
902
902
|
}
|
|
903
903
|
`,ir=b.html`
|
|
904
|
-
${(0,
|
|
905
|
-
`;class nr extends
|
|
906
|
-
${(0,
|
|
904
|
+
${(0,H.getPrefixedCategorizedMultiselect)("zero")}
|
|
905
|
+
`;class nr extends H.CategorizedMultiselect{}const lr=H.defaultCategorizedMultiselectConfig,gr=H.foundationCategorizedMultiselectShadowOptions,sr=nr.compose(Object.assign({baseName:"categorized-multiselect",template:ir,styles:or,shadowOptions:gr},lr));class dr extends H.Checkbox{}const cr=dr.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
906
|
+
${(0,H.foundationCheckboxStyles)(e,a)}
|
|
907
907
|
:host {
|
|
908
908
|
--primary-gradient-angle: -113.5deg;
|
|
909
909
|
--foreground-on-accent-rest: ${ke.white};
|
|
@@ -922,8 +922,8 @@
|
|
|
922
922
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
|
|
923
923
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
924
924
|
}
|
|
925
|
-
`,shadowOptions:
|
|
926
|
-
${(0,
|
|
925
|
+
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig)),pr=(0,Ae.parseColorHexRGB)("#F1F1F1"),ur=oa(pr,1),hr=(0,Ae.parseColorHexRGB)("#879BA6"),mr=oa(hr,.06),br=(0,Ae.parseColorHexRGB)("#879BA6"),vr=oa(br,1),fr=(0,Ae.parseColorHexRGB)("#121212"),wr=oa(fr,1),yr=(0,Ae.parseColorHexRGB)("#2e3339"),xr=oa(yr,1);var kr;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(kr||(kr={}));Object.values(kr);class zr extends H.Combobox{}const Sr=zr.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
926
|
+
${(0,H.foundationComboboxStyles)(e,a)}
|
|
927
927
|
:host {
|
|
928
928
|
--primary-gradient-angle: -113.5deg;
|
|
929
929
|
|
|
@@ -972,12 +972,12 @@
|
|
|
972
972
|
:host(:not([disabled])) .control:active {
|
|
973
973
|
background: none;
|
|
974
974
|
}
|
|
975
|
-
`,shadowOptions:
|
|
976
|
-
${(0,
|
|
977
|
-
`,shadowOptions:
|
|
978
|
-
${(0,
|
|
979
|
-
`,shadowOptions:
|
|
980
|
-
${(0,
|
|
975
|
+
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class Cr extends H.ConnectionIndicator{}const $r=Cr.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:H.foundationConnectionIndicatorStyles});class Ar extends H.DataGridCell{}Ar.compose(Object.assign({baseName:"data-grid-cell",template:v.dataGridCellTemplate,styles:(e,a)=>b.css`
|
|
976
|
+
${(0,H.foundationDataGridCellStyles)(e,a)}
|
|
977
|
+
`,shadowOptions:H.foundationDataGridCellShadowOptions},H.defaultDataGridCellConfig));class Or extends H.DataGridRow{}Or.compose(Object.assign({baseName:"data-grid-row",template:v.dataGridRowTemplate,styles:(e,a)=>b.css`
|
|
978
|
+
${(0,H.foundationDataGridRowStyles)(e,a)}
|
|
979
|
+
`,shadowOptions:H.foundationDataGridRowShadowOptions},H.defaultDataGridRowConfig));class Tr extends H.DataGrid{}const Fr=Tr.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,H.foundationDataGridTemplate)(e,a),styles:(e,a)=>b.css`
|
|
980
|
+
${(0,H.foundationDataGridStyles)(e,a)}
|
|
981
981
|
::slotted(.sticky-header),
|
|
982
982
|
::slotted(.header) {
|
|
983
983
|
border-bottom-color: var(--neutral-color);
|
|
@@ -988,10 +988,10 @@
|
|
|
988
988
|
::slotted([role='row']) {
|
|
989
989
|
background-color: #1f2126;
|
|
990
990
|
}
|
|
991
|
-
`,shadowOptions:
|
|
992
|
-
${(0,
|
|
993
|
-
`;class Rr extends
|
|
994
|
-
${
|
|
991
|
+
`,shadowOptions:H.foundationDataGridShadowOptions},H.defaultDataGridConfig)),Dr=b.html`
|
|
992
|
+
${(0,H.getPrefixedDatePicker)("zero")}
|
|
993
|
+
`;class Rr extends H.DatePicker{}const Nr=Rr.compose(Object.assign({baseName:"date-picker",template:Dr,styles:()=>b.css`
|
|
994
|
+
${H.foundationDatePickerStyles}
|
|
995
995
|
:host {
|
|
996
996
|
--primary-gradient-angle: -113.5deg;
|
|
997
997
|
}
|
|
@@ -1050,9 +1050,9 @@
|
|
|
1050
1050
|
font-size: var(--type-ramp-plus-${r}-font-size);
|
|
1051
1051
|
line-height: var(--type-ramp-plus-${r}-line-height);
|
|
1052
1052
|
margin: 0;
|
|
1053
|
-
${Qe(
|
|
1053
|
+
${Qe(He.zz.Normal,He.IT.Bold)}
|
|
1054
1054
|
}
|
|
1055
|
-
`;class Er extends f.DesignSystemProvider{constructor(){super(),(0,
|
|
1055
|
+
`;class Er extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(t,o,this)}}(0,Lr.__decorate)([(0,b.attr)({attribute:"card-fill-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralFillStealthRest)],Er.prototype,"cardFillColor",void 0),(0,Lr.__decorate)([(0,b.attr)({attribute:"card-foreground-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralForegroundRest)],Er.prototype,"cardForegroundColor",void 0);const Pr=Er.compose({baseName:"design-system-provider",template:b.html`
|
|
1056
1056
|
<slot></slot>
|
|
1057
1057
|
`,styles:e=>{const a=(e=>b.css`
|
|
1058
1058
|
${jr(e,"1","6")}
|
|
@@ -1070,7 +1070,7 @@
|
|
|
1070
1070
|
${Qe()}
|
|
1071
1071
|
}
|
|
1072
1072
|
`}}),Br=(0,Ae.parseColorHexRGB)("#121212"),Gr=oa(Br,1),_r=b.css`
|
|
1073
|
-
${
|
|
1073
|
+
${H.foundationDialogStyles}
|
|
1074
1074
|
:host {
|
|
1075
1075
|
--color-error: ${ke.error};
|
|
1076
1076
|
--color-success: ${ke.success};
|
|
@@ -1140,16 +1140,16 @@
|
|
|
1140
1140
|
.close-icon:active svg g path {
|
|
1141
1141
|
fill: ${na(.33)};
|
|
1142
1142
|
}
|
|
1143
|
-
`,
|
|
1144
|
-
${(0,
|
|
1145
|
-
`,shadowOptions:
|
|
1146
|
-
${(0,
|
|
1147
|
-
`,shadowOptions:
|
|
1148
|
-
${(0,
|
|
1149
|
-
`,template:
|
|
1150
|
-
${(0,
|
|
1151
|
-
`,at=
|
|
1152
|
-
${
|
|
1143
|
+
`,Ur=H.defaultDialogConfig,Hr=H.foundationDialogTemplate,Vr=H.foundationDialogShadowOptions;class Yr extends H.Dialog{}const Qr=Yr.compose(Object.assign({baseName:"dialog",shadowOptions:Vr,styles:_r,template:Hr},Ur));class Wr extends H.Disclosure{}const qr=Wr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1144
|
+
${(0,H.foundationDisclosureStyles)(e,a)}
|
|
1145
|
+
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Jr extends H.Divider{}const Zr=Jr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1146
|
+
${(0,H.foundationDividerStyles)(e,a)}
|
|
1147
|
+
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Kr extends H.DropdownMenu{}const Xr=Kr.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
|
|
1148
|
+
${(0,H.dropdownMenuBaseStyles)("zero",e,a)}
|
|
1149
|
+
`,template:H.foundationDropdownMenuTemplate}),et=b.html`
|
|
1150
|
+
${(0,H.getPrefixedErrorBanner)("zero")}
|
|
1151
|
+
`,at=H.foundationErrorBannerShadowOptions;class rt extends H.ErrorBanner{}const tt=rt.compose({baseName:"error-banner",template:et,shadowOptions:at});class ot extends H.ErrorBoundary{}const it=ot.compose({baseName:"error-boundary",template:H.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class nt extends H.ErrorDialog{}const lt=nt.compose({baseName:"error-dialog",styles:H.foundationErrorDialogStyles,template:H.errorDialogTemplate,shadowOptions:H.foundationErrorDialogShadowOptions}),gt=b.css`
|
|
1152
|
+
${H.foundationFileUploadStyles}
|
|
1153
1153
|
::-webkit-scrollbar {
|
|
1154
1154
|
width: 12px;
|
|
1155
1155
|
}
|
|
@@ -1166,13 +1166,13 @@
|
|
|
1166
1166
|
border: 3px solid rgb(31 33 38);
|
|
1167
1167
|
}
|
|
1168
1168
|
`,st=b.html`
|
|
1169
|
-
${(0,
|
|
1170
|
-
`,dt=
|
|
1171
|
-
${(0,
|
|
1172
|
-
`;class mt extends
|
|
1173
|
-
${(0,
|
|
1174
|
-
`;class ft extends
|
|
1175
|
-
${(0,
|
|
1169
|
+
${(0,H.getPrefixedFileUpload)("zero")}
|
|
1170
|
+
`,dt=H.defaultFileUploadConfig,ct=H.foundationFileUploadShadowOptions;class pt extends H.FileUpload{}const ut=pt.compose(Object.assign({baseName:"file-upload",shadowOptions:ct,styles:gt,template:st},dt)),ht=b.html`
|
|
1171
|
+
${(0,H.getPrefixedFilterTemplate)("zero")}
|
|
1172
|
+
`;class mt extends H.Filter{}const bt=mt.compose({baseName:"filter",template:ht,styles:H.foundationFilterStyles}),vt=b.html`
|
|
1173
|
+
${(0,H.filterBarTemplate)("zero")}
|
|
1174
|
+
`;class ft extends H.FilterBar{}const wt=ft.compose({baseName:"filter-bar",template:vt,styles:(e,a)=>b.css`
|
|
1175
|
+
${(0,H.foundationFilterBarStyles)(e,a)}
|
|
1176
1176
|
.toggle,
|
|
1177
1177
|
.toggle-collapsed {
|
|
1178
1178
|
background: var(--ag-background-color, #181d1f);
|
|
@@ -1183,8 +1183,8 @@
|
|
|
1183
1183
|
.toggle-collapsed:hover {
|
|
1184
1184
|
color: var(--ag-alpine-active-color, #2196f3);
|
|
1185
1185
|
}
|
|
1186
|
-
`});class yt extends
|
|
1187
|
-
${(0,
|
|
1186
|
+
`});class yt extends H.FlexLayout{}const xt=yt.compose(Object.assign({baseName:"flex-layout",shadowOptions:H.foundationFlexLayoutShadowOptions,styles:H.foundationFlexLayoutStyles,template:H.foundationFlexLayoutTemplate},H.defaultFlexLayoutConfig));class kt extends H.Flipper{}const zt=kt.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1187
|
+
${(0,H.foundationFlipperStyles)(e,a)}
|
|
1188
1188
|
:host {
|
|
1189
1189
|
--foreground-on-accent-rest: ${ke.white};
|
|
1190
1190
|
--foreground-on-accent-hover: ${ke.white};
|
|
@@ -1207,8 +1207,8 @@
|
|
|
1207
1207
|
${ze.purple}
|
|
1208
1208
|
);
|
|
1209
1209
|
}
|
|
1210
|
-
`,shadowOptions:
|
|
1211
|
-
${
|
|
1210
|
+
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),St=b.css`
|
|
1211
|
+
${H.foundationFlyoutStyles}
|
|
1212
1212
|
div.flyout {
|
|
1213
1213
|
background-color: ${f.neutralLayer2};
|
|
1214
1214
|
border-color: ${f.neutralFillHover};
|
|
@@ -1235,8 +1235,8 @@
|
|
|
1235
1235
|
border-radius: 3px;
|
|
1236
1236
|
}
|
|
1237
1237
|
`,Ct=b.html`
|
|
1238
|
-
${(0,
|
|
1239
|
-
`,$t=
|
|
1238
|
+
${(0,H.getPrefixedFlyout)("zero")}
|
|
1239
|
+
`,$t=H.defaultFlyoutConfig,At=H.foundationFlyoutShadowOptions;class Ot extends H.Flyout{}const Tt=Ot.compose(Object.assign({baseName:"flyout",shadowOptions:At,styles:St,template:Ct},$t));class Ft extends H.GridLayout{}const Dt=Ft.compose(Object.assign({baseName:"grid-layout",shadowOptions:H.foundationGridLayoutShadowOptions,styles:H.foundationGridLayoutStyles,template:H.foundationGridLayoutTemplate},H.defaultGridLayoutConfig));class Rt extends H.GridLayoutItem{}const Nt=Rt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:H.foundationGridLayoutItemShadowOptions,template:H.foundationGridLayoutItemTemplate},H.defaultGridLayoutItemConfig));class Lt extends H.HorizontalScroll{}const Mt={nextFlipper:b.html`
|
|
1240
1240
|
<zero-flipper
|
|
1241
1241
|
@click="${e=>e.scrollToNext()}"
|
|
1242
1242
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -1247,18 +1247,18 @@
|
|
|
1247
1247
|
direction="previous"
|
|
1248
1248
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
1249
1249
|
></zero-flipper>
|
|
1250
|
-
`},It=Lt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,
|
|
1251
|
-
${(0,
|
|
1252
|
-
`,shadowOptions:
|
|
1253
|
-
${(0,
|
|
1254
|
-
`,shadowOptions:Pt},Et));class Gt extends
|
|
1255
|
-
${(0,
|
|
1250
|
+
`},It=Lt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1251
|
+
${(0,H.foundationHorizontalScrollStyles)(e,a)}
|
|
1252
|
+
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},Mt));class jt extends H.Icon{}const Et=H.defaultIconConfig,Pt=H.foundationIconShadowOptions,Bt=jt.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
|
|
1253
|
+
${(0,H.foundationIconStyles)(e,a)}
|
|
1254
|
+
`,shadowOptions:Pt},Et));class Gt extends H.Listbox{}const _t=Gt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1255
|
+
${(0,H.foundationListboxStyles)(e,a)}
|
|
1256
1256
|
|
|
1257
1257
|
:host {
|
|
1258
1258
|
background: #1f2126;
|
|
1259
1259
|
}
|
|
1260
|
-
`,shadowOptions:
|
|
1261
|
-
${(0,
|
|
1260
|
+
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Ut extends H.ListboxOption{}const Ht=Ut.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1261
|
+
${(0,H.foundationListboxOptionStyles)(e,a)}
|
|
1262
1262
|
:host {
|
|
1263
1263
|
background-color: ${ke.darkGrey};
|
|
1264
1264
|
margin: 0;
|
|
@@ -1274,23 +1274,23 @@
|
|
|
1274
1274
|
background-color: ${ke.darkerGrey};
|
|
1275
1275
|
color: ${ze.blue};
|
|
1276
1276
|
}
|
|
1277
|
-
`,shadowOptions:
|
|
1278
|
-
${(0,
|
|
1277
|
+
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig)),Vt=H.foundationMenuShadowOptions;class Yt extends H.Menu{}const Qt=Yt.compose({baseName:"menu",template:H.foundationMenuTemplate,styles:(e,a)=>b.css`
|
|
1278
|
+
${(0,H.foundationMenuStyles)(e,a)}
|
|
1279
1279
|
|
|
1280
1280
|
:host {
|
|
1281
1281
|
padding: 0;
|
|
1282
1282
|
}
|
|
1283
|
-
`,shadowOptions:Vt}),Wt=
|
|
1284
|
-
${(0,
|
|
1283
|
+
`,shadowOptions:Vt}),Wt=H.foundationMenuItemShadowOptions;class qt extends H.MenuItem{}const Jt=qt.compose(Object.assign({baseName:"menu-item",template:H.foundationMenuItemTemplate,styles:(e,a)=>b.css`
|
|
1284
|
+
${(0,H.foundationMenuItemStyles)(e,a)}
|
|
1285
1285
|
|
|
1286
1286
|
:host {
|
|
1287
1287
|
background: none;
|
|
1288
1288
|
margin: 0;
|
|
1289
1289
|
}
|
|
1290
|
-
`,shadowOptions:Wt},
|
|
1290
|
+
`,shadowOptions:Wt},H.defaultMenuItemConfig)),Zt=b.css`
|
|
1291
1291
|
${_r}
|
|
1292
|
-
`,Kt=
|
|
1293
|
-
${
|
|
1292
|
+
`,Kt=H.defaultModalConfig,Xt=H.foundationModalTemplate,eo=H.foundationModalShadowOptions;class ao extends H.Modal{}const ro=ao.compose(Object.assign({baseName:"modal",shadowOptions:eo,styles:Zt,template:Xt},Kt)),to=b.css`
|
|
1293
|
+
${H.multiselectStyles}
|
|
1294
1294
|
|
|
1295
1295
|
:host {
|
|
1296
1296
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1346,9 +1346,9 @@
|
|
|
1346
1346
|
color: ${vr};
|
|
1347
1347
|
}
|
|
1348
1348
|
`,oo=b.html`
|
|
1349
|
-
${(0,
|
|
1350
|
-
`;class io extends
|
|
1351
|
-
${(0,
|
|
1349
|
+
${(0,H.getPrefixedMultiselect)("zero")}
|
|
1350
|
+
`;class io extends H.Multiselect{}const no=H.defaultMultiselectConfig,lo=H.foundationMultiselectShadowOptions,go=io.compose(Object.assign({baseName:"multiselect",template:oo,styles:to,shadowOptions:lo},no));class so extends H.NotificationListener{}const co=so.compose({baseName:"notification-listener",template:H.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),po=(e,a)=>b.css`
|
|
1351
|
+
${(0,H.foundationTextFieldStyles)(e,a)}
|
|
1352
1352
|
:host {
|
|
1353
1353
|
--primary-gradient-angle: -113.5deg;
|
|
1354
1354
|
}
|
|
@@ -1395,13 +1395,13 @@
|
|
|
1395
1395
|
color: ${vr};
|
|
1396
1396
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1397
1397
|
}
|
|
1398
|
-
`;class uo extends
|
|
1398
|
+
`;class uo extends H.NumberField{}const ho=H.defaultNumberFieldConfig,mo=H.foundationNumberFieldTemplate,bo=H.foundationNumberFieldShadowOptions,vo=uo.compose(Object.assign({baseName:"number-field",template:mo,styles:(e,a)=>b.css`
|
|
1399
1399
|
:host .root {
|
|
1400
1400
|
--focus-stroke-outer: transparent;
|
|
1401
1401
|
}
|
|
1402
1402
|
${po(e,a)}
|
|
1403
|
-
`,shadowOptions:bo},ho));class fo extends
|
|
1404
|
-
${(0,
|
|
1403
|
+
`,shadowOptions:bo},ho));class fo extends H.SystemHealthOverlay{}const wo=fo.compose(Object.assign({baseName:"system-health-overlay",template:H.foundationSystemHealthOverlayTemplate,styles:H.foundationSystemHealthOverlayStyles,shadowOptions:H.foundationSystemHealthOverlayShadowOptions},H.defaultSystemHealthOverlayConfig));class yo extends H.Progress{}const xo=yo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1404
|
+
${(0,H.foundationProgressStyles)(e,a)}
|
|
1405
1405
|
:host([appearance="secondary-teal"]) {
|
|
1406
1406
|
--accent-foreground-rest: ${Se.teal};
|
|
1407
1407
|
}
|
|
@@ -1409,7 +1409,7 @@
|
|
|
1409
1409
|
:host([appearance='secondary-orange']) {
|
|
1410
1410
|
--accent-foreground-rest: ${Se.orange};
|
|
1411
1411
|
}
|
|
1412
|
-
`,shadowOptions:
|
|
1412
|
+
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class ko extends H.ProgressRing{}const zo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ze.purple}"/>\n <stop offset="100%" stop-color="${ze.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},So=ko.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
|
|
1413
1413
|
<template
|
|
1414
1414
|
role="progressbar"
|
|
1415
1415
|
aria-valuenow="${e=>e.value}"
|
|
@@ -1443,12 +1443,12 @@
|
|
|
1443
1443
|
`)}
|
|
1444
1444
|
</template>
|
|
1445
1445
|
`,styles:(e,a)=>b.css`
|
|
1446
|
-
${(0,
|
|
1446
|
+
${(0,H.foundationProgressRingStyles)(e,a)}
|
|
1447
1447
|
.indeterminate-indicator-1, .determinate {
|
|
1448
1448
|
stroke: ${"url(#linear)"};
|
|
1449
1449
|
}
|
|
1450
|
-
`,shadowOptions:
|
|
1451
|
-
${(0,
|
|
1450
|
+
`,shadowOptions:H.foundationProgressRingShadowOptions},zo));class Co extends H.Radio{}const $o=Co.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1451
|
+
${(0,H.foundationRadioStyles)(e,a)}
|
|
1452
1452
|
:host {
|
|
1453
1453
|
--primary-gradient-angle: -113.5deg;
|
|
1454
1454
|
}
|
|
@@ -1479,17 +1479,17 @@
|
|
|
1479
1479
|
${ze.purple}
|
|
1480
1480
|
);
|
|
1481
1481
|
}
|
|
1482
|
-
`,shadowOptions:
|
|
1483
|
-
${(0,
|
|
1482
|
+
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class Ao extends H.RadioGroup{}const Oo=Ao.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1483
|
+
${(0,H.foundationRadioGroupStyles)(e,a)}
|
|
1484
1484
|
:host([appearance="accent"]) {
|
|
1485
1485
|
background: green;
|
|
1486
1486
|
}
|
|
1487
|
-
`,shadowOptions:
|
|
1488
|
-
${
|
|
1489
|
-
`,
|
|
1490
|
-
${(0,
|
|
1491
|
-
`;class Do extends
|
|
1492
|
-
${(0,
|
|
1487
|
+
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),To=b.css`
|
|
1488
|
+
${H.foundationSearchBarStyles}
|
|
1489
|
+
`,Fo=b.html`
|
|
1490
|
+
${(0,H.getPrefixedSearchBar)("zero")}
|
|
1491
|
+
`;class Do extends H.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const Ro=Do.compose(Object.assign({baseName:"search-bar",template:Fo,styles:To,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class No extends H.SearchBarCombobox{}const Lo=No.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1492
|
+
${(0,H.foundationSearchBarComboboxStyles)(e,a)}
|
|
1493
1493
|
|
|
1494
1494
|
:host {
|
|
1495
1495
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1530,8 +1530,8 @@
|
|
|
1530
1530
|
border-radius: 4px;
|
|
1531
1531
|
border: 1px solid ${ke.lightGrey};
|
|
1532
1532
|
}
|
|
1533
|
-
`,shadowOptions:
|
|
1534
|
-
${(0,
|
|
1533
|
+
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class Mo extends H.SegmentedControl{}const Io=Mo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1534
|
+
${(0,H.foundationSegmentedControlStyles)(e,a)}
|
|
1535
1535
|
:host {
|
|
1536
1536
|
--primary-gradient-angle: -113.5deg;
|
|
1537
1537
|
}
|
|
@@ -1569,8 +1569,8 @@
|
|
|
1569
1569
|
border-color: transparent;
|
|
1570
1570
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
1571
1571
|
}
|
|
1572
|
-
`,shadowOptions:undefined},{}));class jo extends
|
|
1573
|
-
${(0,
|
|
1572
|
+
`,shadowOptions:undefined},{}));class jo extends H.Radio{}const Eo=jo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1573
|
+
${(0,H.foundationSegmentedItemStyles)(e,a)}
|
|
1574
1574
|
:host {
|
|
1575
1575
|
color: var(--neutral-stroke-rest);
|
|
1576
1576
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
@@ -1579,8 +1579,8 @@
|
|
|
1579
1579
|
:host([aria-checked='true']) {
|
|
1580
1580
|
color: ${ke.white};
|
|
1581
1581
|
}
|
|
1582
|
-
`,shadowOptions:undefined},{}));class Po extends
|
|
1583
|
-
${(0,
|
|
1582
|
+
`,shadowOptions:undefined},{}));class Po extends H.Select{}const Bo=Po.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1583
|
+
${(0,H.foundationSelectStyles)(e,a)}
|
|
1584
1584
|
:host {
|
|
1585
1585
|
--primary-gradient-angle: -113.5deg;
|
|
1586
1586
|
|
|
@@ -1629,10 +1629,10 @@
|
|
|
1629
1629
|
:host(:not([disabled])) .control:active {
|
|
1630
1630
|
background: none;
|
|
1631
1631
|
}
|
|
1632
|
-
`,shadowOptions:
|
|
1633
|
-
${(0,
|
|
1634
|
-
`,shadowOptions:
|
|
1635
|
-
${(0,
|
|
1632
|
+
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class Go extends H.Skeleton{}const _o=Go.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1633
|
+
${(0,H.foundationSkeletonStyles)(e,a)}
|
|
1634
|
+
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class Uo extends H.Slider{}const Ho=Uo.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1635
|
+
${(0,H.foundationSliderStyles)(e,a)}
|
|
1636
1636
|
:host {
|
|
1637
1637
|
--primary-gradient-angle: -113.5deg;
|
|
1638
1638
|
}
|
|
@@ -1688,8 +1688,8 @@
|
|
|
1688
1688
|
.track-progress {
|
|
1689
1689
|
background-color: var(--neutral-stroke-rest);
|
|
1690
1690
|
}
|
|
1691
|
-
`,shadowOptions:
|
|
1692
|
-
${(0,
|
|
1691
|
+
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class Vo extends H.SliderLabel{}const Yo=Vo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1692
|
+
${(0,H.foundationSliderLabelStyles)(e,a)}
|
|
1693
1693
|
.label {
|
|
1694
1694
|
padding: 6px 8px;
|
|
1695
1695
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -1699,8 +1699,8 @@
|
|
|
1699
1699
|
text-align: center;
|
|
1700
1700
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
1701
1701
|
}
|
|
1702
|
-
`,shadowOptions:
|
|
1703
|
-
${
|
|
1702
|
+
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),Qo=b.css`
|
|
1703
|
+
${H.foundationSnackbarStyles}
|
|
1704
1704
|
.snackbar {
|
|
1705
1705
|
border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer2};
|
|
1706
1706
|
background-color: ${f.neutralLayer1};
|
|
@@ -1710,21 +1710,21 @@
|
|
|
1710
1710
|
background-color: ${xa(1)};
|
|
1711
1711
|
}
|
|
1712
1712
|
`,Wo=b.html`
|
|
1713
|
-
${(0,
|
|
1714
|
-
`,qo=
|
|
1715
|
-
${(0,
|
|
1713
|
+
${(0,H.getPrefixedSnackbar)("zero")}
|
|
1714
|
+
`,qo=H.foundationSnackbarShadowOptions;class Jo extends H.Snackbar{}const Zo=Jo.compose({baseName:"snackbar",shadowOptions:qo,styles:Qo,template:Wo});class Ko extends H.StackingIcons{}const Xo=Ko.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
|
|
1715
|
+
${(0,H.foundationStackingIconsStyles)(e,a)}
|
|
1716
1716
|
`}),ei=b.css`
|
|
1717
|
-
${
|
|
1717
|
+
${H.foundationStepperStyles}
|
|
1718
1718
|
|
|
1719
1719
|
.stepper-tab {
|
|
1720
1720
|
background-color: var(--neutral-layer-3);
|
|
1721
1721
|
}
|
|
1722
1722
|
`,ai=b.html`
|
|
1723
|
-
${(0,
|
|
1724
|
-
`;class ri extends
|
|
1725
|
-
${(0,
|
|
1726
|
-
`;class ii extends
|
|
1727
|
-
${(0,
|
|
1723
|
+
${(0,H.getPrefixedStepper)("zero")}
|
|
1724
|
+
`;class ri extends H.Stepper{}const ti=ri.compose(Object.assign({baseName:"stepper",template:ai,styles:ei,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),oi=b.html`
|
|
1725
|
+
${(0,H.getPrefixedStepperTab)("zero")}
|
|
1726
|
+
`;class ii extends H.StepperTab{}const ni=ii.compose(Object.assign({baseName:"stepper-tab",template:oi,styles:(e,a)=>b.css`
|
|
1727
|
+
${(0,H.foundationStepperTabStyles)(e,a)}
|
|
1728
1728
|
|
|
1729
1729
|
zero-tree-item {
|
|
1730
1730
|
--design-unit: 2.5;
|
|
@@ -1735,8 +1735,8 @@
|
|
|
1735
1735
|
|
|
1736
1736
|
border-bottom: 1px solid var(--fill-color);
|
|
1737
1737
|
}
|
|
1738
|
-
`,shadowOptions:
|
|
1739
|
-
${(0,
|
|
1738
|
+
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class li extends H.StepperTabPanel{}const gi=li.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig));class si extends H.Switch{}const di=si.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1739
|
+
${(0,H.foundationSwitchStyles)(e,a)}
|
|
1740
1740
|
:host {
|
|
1741
1741
|
--primary-gradient-angle: -113.5deg;
|
|
1742
1742
|
}
|
|
@@ -1780,8 +1780,8 @@
|
|
|
1780
1780
|
${ze.purple}
|
|
1781
1781
|
);
|
|
1782
1782
|
}
|
|
1783
|
-
`,shadowOptions:
|
|
1784
|
-
${(0,
|
|
1783
|
+
`,shadowOptions:H.foundationSwitchShadowOptions},H.defaultSwitchConfig));class ci extends H.Tab{}const pi=ci.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1784
|
+
${(0,H.foundationTabStyles)(e,a)}
|
|
1785
1785
|
:host {
|
|
1786
1786
|
background-color: ${f.neutralLayer2};
|
|
1787
1787
|
border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px)
|
|
@@ -1804,10 +1804,10 @@
|
|
|
1804
1804
|
margin-right: 0;
|
|
1805
1805
|
background-color: var(--zero-card-fill-color);
|
|
1806
1806
|
}
|
|
1807
|
-
`,shadowOptions:
|
|
1808
|
-
${(0,
|
|
1809
|
-
`,shadowOptions:
|
|
1810
|
-
${(0,
|
|
1807
|
+
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class ui extends H.TabPanel{}const hi=ui.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1808
|
+
${(0,H.foundationTabPanelStyles)(e,a)}
|
|
1809
|
+
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class mi extends H.Tabs{}const bi=mi.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1810
|
+
${(0,H.foundationTabsStyles)(e,a)}
|
|
1811
1811
|
:host .tablist {
|
|
1812
1812
|
padding: 0;
|
|
1813
1813
|
display: block;
|
|
@@ -1852,8 +1852,8 @@
|
|
|
1852
1852
|
height: 2px;
|
|
1853
1853
|
margin-top: 0;
|
|
1854
1854
|
}
|
|
1855
|
-
`,shadowOptions:
|
|
1856
|
-
${(0,
|
|
1855
|
+
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class vi extends H.TextArea{}const fi=vi.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1856
|
+
${(0,H.foundationTextAreaStyles)(e,a)}
|
|
1857
1857
|
:host {
|
|
1858
1858
|
--primary-gradient-angle: -113.5deg;
|
|
1859
1859
|
}
|
|
@@ -1897,8 +1897,8 @@
|
|
|
1897
1897
|
color: ${vr};
|
|
1898
1898
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1899
1899
|
}
|
|
1900
|
-
`,shadowOptions:
|
|
1901
|
-
${
|
|
1900
|
+
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class wi extends H.TextField{}const yi=wi.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:po,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),xi=b.css`
|
|
1901
|
+
${H.foundationToastStyles}
|
|
1902
1902
|
.toast {
|
|
1903
1903
|
border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer3};
|
|
1904
1904
|
background-color: ${f.neutralLayer1};
|
|
@@ -1923,12 +1923,12 @@
|
|
|
1923
1923
|
:host([notify='serious']) .toast::after {
|
|
1924
1924
|
background-color: ${ba(1)};
|
|
1925
1925
|
}
|
|
1926
|
-
`,ki=
|
|
1927
|
-
${(0,
|
|
1928
|
-
`,shadowOptions:
|
|
1929
|
-
${(0,
|
|
1930
|
-
`,shadowOptions:
|
|
1931
|
-
${(0,
|
|
1926
|
+
`,ki=H.defaultToastConfig,zi=H.foundationToastShadowOptions;class Si extends H.Toast{}const Ci=Si.compose(Object.assign({baseName:"toast",shadowOptions:zi,styles:xi,template:H.foundationToastTemplate},ki));class $i extends H.Toolbar{}const Ai=$i.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1927
|
+
${(0,H.foundationToolbarStyles)(e,a)}
|
|
1928
|
+
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class Oi extends H.Tooltip{}const Ti=Oi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1929
|
+
${(0,H.foundationTooltipStyles)(e,a)}
|
|
1930
|
+
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Fi extends H.TreeItem{}const Di=Fi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1931
|
+
${(0,H.foundationTreeItemStyles)(e,a)}
|
|
1932
1932
|
:host {
|
|
1933
1933
|
--primary-gradient-angle: -113.5deg;
|
|
1934
1934
|
--base-height-multiplier: 15;
|
|
@@ -1955,12 +1955,12 @@
|
|
|
1955
1955
|
background-size: cover;
|
|
1956
1956
|
background-repeat: no-repeat;
|
|
1957
1957
|
}
|
|
1958
|
-
`,shadowOptions:
|
|
1959
|
-
${(0,
|
|
1960
|
-
`,shadowOptions:
|
|
1961
|
-
${(0,
|
|
1962
|
-
`;class Mi extends
|
|
1963
|
-
${(0,
|
|
1958
|
+
`,shadowOptions:H.foundationTreeItemShadowOptions},H.defaultTreeItemConfig));class Ri extends H.TreeView{}const Ni=Ri.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1959
|
+
${(0,H.foundationTreeViewStyles)(e,a)}
|
|
1960
|
+
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Li=b.html`
|
|
1961
|
+
${(0,H.getPrefixedUrlInput)("zero")}
|
|
1962
|
+
`;class Mi extends H.UrlInput{}const Ii={zeroAccordion:Xe,zeroAccordionItem:aa,zeroActionsMenu:ta,zeroAnchor:ja,zeroAnchoredRegion:Pa,zeroAvatar:Ga,zeroBadge:Ua,zeroBanner:Qa,zeroBreadcrumbItem:Za,zeroBreadcrumb:qa,zeroButton:Xa,zeroCalendar:ar,zeroCard:tr,zeroCategorizedMultiselect:sr,zeroCheckbox:cr,zeroCombobox:Sr,zeroConnectionIndicator:$r,zeroDataGrid:Fr,zeroDesignSystemProvider:Pr,zeroDialog:Qr,zeroDatePicker:Nr,zeroDisclosure:qr,zeroDivider:Zr,zeroDropdownMenu:Xr,zeroErrorBoundary:it,zeroNotificationListener:co,zeroErrorBanner:tt,zeroErrorDialog:lt,zeroFileUpload:ut,zeroFilter:bt,zeroFilterBar:wt,zeroFlexLayout:xt,zeroFlipper:zt,zeroFlyout:Tt,zeroGridLayout:Dt,zeroGridLayoutItem:Nt,zeroHorizontalScroll:It,zeroIcon:Bt,zeroListbox:_t,zeroListboxOption:Ht,zeroMenu:Qt,zeroMenuItem:Jt,zeroModal:ro,zeroMultiselect:go,zeroNumberField:vo,zeroProgress:xo,zeroProgressRing:So,zeroRadio:$o,zeroRadioGroup:Oo,zeroSearchBar:Ro,zeroSearchBarCombobox:Lo,zeroSegmentedControl:Io,zeroSegmentedItem:Eo,zeroSelect:Bo,zeroSkeleton:_o,zeroSlider:Ho,zeroSliderLabel:Yo,zeroSnackbar:Zo,zeroStackingIcons:Xo,zeroStepper:ti,zeroStepperTab:ni,zeroStepperTabPanel:gi,zeroSwitch:di,zeroSystemHealthOverlay:wo,zeroTab:pi,zeroTabPanel:hi,zeroTabs:bi,zeroTextArea:fi,zeroTextField:yi,zeroToast:Ci,zeroToolbar:Ai,zeroTooltip:Ti,zeroTreeItem:Di,zeroTreeView:Ni,zeroUrlInput:Mi.compose(Object.assign({baseName:"url-input",template:Li,styles:(e,a)=>b.css`
|
|
1963
|
+
${(0,H.foundationUrlInputStyles)(e,a)}
|
|
1964
1964
|
a {
|
|
1965
1965
|
color: ${ze.blue};
|
|
1966
1966
|
opacity: 65%;
|
|
@@ -1969,11 +1969,11 @@
|
|
|
1969
1969
|
a:hover {
|
|
1970
1970
|
opacity: 100%;
|
|
1971
1971
|
}
|
|
1972
|
-
`,shadowOptions:
|
|
1973
|
-
.${
|
|
1974
|
-
${new
|
|
1972
|
+
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ji,Ei,Pi=r(33011),Bi=r(94343),Gi=r.n(Bi),_i=r(41492),Ui=r.n(_i);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(ji||(ji={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Ei||(Ei={}));const Hi=e=>`${e}-token-map`,Vi=(e,a)=>b.css`
|
|
1973
|
+
.${Hi(e)} {
|
|
1974
|
+
${new H.CSSVarsTokenMapper(a)}
|
|
1975
1975
|
}
|
|
1976
|
-
`;var Yi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Yi||(Yi={}));const Qi="__editedColumn",Wi="__errorColumn",qi={},Ji=v.DI.createInterface((e=>e.instance(qi)));var Zi;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(Zi||(Zi={})),Gi().extend(
|
|
1976
|
+
`;var Yi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Yi||(Yi={}));const Qi="__editedColumn",Wi="__errorColumn",qi={},Ji=v.DI.createInterface((e=>e.instance(qi)));var Zi;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(Zi||(Zi={})),Gi().extend(Ui());class Ki extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[Qi]}}(0,Pi.__decorate)([b.observable],Ki.prototype,"value",void 0),(0,Pi.__decorate)([b.observable],Ki.prototype,"actualWidth",void 0);const Xi=b.css`
|
|
1977
1977
|
:host {
|
|
1978
1978
|
display: flex;
|
|
1979
1979
|
}
|
|
@@ -2045,7 +2045,7 @@
|
|
|
2045
2045
|
style="width: ${e=>e.actualWidth}px"
|
|
2046
2046
|
>
|
|
2047
2047
|
</${e}-text-field>
|
|
2048
|
-
`,$n=zn.compose({baseName:"string-editor",styles:Sn,template:Cn()});class An extends zn{}const On=An.compose({baseName:"string-editor",styles:Sn,template:Cn("zero")});class
|
|
2048
|
+
`,$n=zn.compose({baseName:"string-editor",styles:Sn,template:Cn()});class An extends zn{}const On=An.compose({baseName:"string-editor",styles:Sn,template:Cn("zero")});class Tn extends v.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,Pi.__decorate)([b.observable],Tn.prototype,"valueFormatted",void 0);const Fn=b.css`
|
|
2049
2049
|
:host {
|
|
2050
2050
|
display: flex;
|
|
2051
2051
|
justify-content: space-between;
|
|
@@ -2054,7 +2054,7 @@
|
|
|
2054
2054
|
`,Dn=(e="foundation")=>b.html`
|
|
2055
2055
|
<span>${e=>e.valueFormatted}</span>
|
|
2056
2056
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
2057
|
-
`,Rn=
|
|
2057
|
+
`,Rn=Tn.compose({baseName:"editable-renderer",styles:Fn,template:Dn()});class Nn extends Tn{}const Ln=Nn.compose({baseName:"editable-renderer",styles:Fn,template:Dn("zero")});var Mn=r(44210);const In=(0,k.createLogger)("grid-pro");class jn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Mn.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){In.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Pi.__decorate)([b.observable],jn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],jn.prototype,"pendingAction",void 0);const{create:En}=v.DesignToken,Pn=(En("action-height-multiplier").withDefault("0.6px"),b.css`
|
|
2058
2058
|
.action-container {
|
|
2059
2059
|
align-items: center;
|
|
2060
2060
|
display: flex;
|
|
@@ -2098,29 +2098,29 @@
|
|
|
2098
2098
|
`:e.params.actionName}
|
|
2099
2099
|
</zero-button>
|
|
2100
2100
|
</div>
|
|
2101
|
-
`});class Hn extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Pi.__decorate)([b.observable],Hn.prototype,"params",void 0);const
|
|
2101
|
+
`}),Un=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Hn extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Pi.__decorate)([b.observable],Hn.prototype,"params",void 0);const Vn=Hn.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
2102
2102
|
<foundation-actions-menu
|
|
2103
2103
|
name="${e=>e.params.headerName}"
|
|
2104
2104
|
:definition=${e=>e.params}
|
|
2105
2105
|
></foundation-actions-menu>
|
|
2106
|
-
`});class
|
|
2106
|
+
`});class Yn extends Hn{}const Qn=Yn.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
2107
2107
|
<zero-actions-menu
|
|
2108
2108
|
name="${e=>e.params.headerName}"
|
|
2109
2109
|
:definition=${e=>e.params}
|
|
2110
2110
|
></zero-actions-menu>
|
|
2111
|
-
`});class
|
|
2111
|
+
`});class Wn extends v.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Mn.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:Mn.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[Qi]}}(0,Pi.__decorate)([b.observable],Wn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],Wn.prototype,"selected",void 0);const qn=b.css`
|
|
2112
2112
|
:host {
|
|
2113
2113
|
align-center: center;
|
|
2114
2114
|
display: flex;
|
|
2115
2115
|
height: 100%;
|
|
2116
2116
|
}
|
|
2117
|
-
`,
|
|
2117
|
+
`,Jn=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
|
|
2118
2118
|
<${a}
|
|
2119
2119
|
@change=${(e,a)=>e.changeHandler(a.event)}
|
|
2120
2120
|
:checked=${e=>e.selected}
|
|
2121
2121
|
?disabled=${e=>!e.params.colDef.editable}
|
|
2122
2122
|
></${a}>
|
|
2123
|
-
`},
|
|
2123
|
+
`},Zn=Wn.compose({baseName:"boolean-renderer",styles:qn,template:Jn()});class Kn extends Wn{}const Xn=Kn.compose({baseName:"boolean-renderer",styles:qn,template:Jn("zero")});var el=r(40729);const al=(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 rl 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?al(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Pi.__decorate)([b.observable],rl.prototype,"textValue",void 0),(0,Pi.__decorate)([b.observable],rl.prototype,"params",void 0);const tl=b.css`
|
|
2124
2124
|
:host {
|
|
2125
2125
|
display: flex;
|
|
2126
2126
|
width: 100%;
|
|
@@ -2130,15 +2130,15 @@
|
|
|
2130
2130
|
.text-renderer {
|
|
2131
2131
|
width: 100%;
|
|
2132
2132
|
}
|
|
2133
|
-
`,
|
|
2133
|
+
`,ol=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
|
|
2134
2134
|
<${a}
|
|
2135
2135
|
${(0,b.ref)("textField")}
|
|
2136
2136
|
type="text"
|
|
2137
2137
|
class="text-renderer"
|
|
2138
|
-
:value="${(0,
|
|
2138
|
+
:value="${(0,el.O)((e=>e.textValue))}"
|
|
2139
2139
|
@change="${(e,a)=>e.textChanged(a.event)}"
|
|
2140
2140
|
></${a}>
|
|
2141
|
-
`},
|
|
2141
|
+
`},il=rl.compose({baseName:"grid-pro-text-renderer",styles:tl,template:ol()});class nl extends rl{}const ll=tl,gl=ol,sl=nl.compose({baseName:"grid-text-renderer",styles:ll,template:gl()});const dl=class extends nl{}.compose({baseName:"grid-text-renderer",styles:ll,template:gl("zero")});class cl 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=al(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Pi.__decorate)([b.observable],cl.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],cl.prototype,"value",void 0);const pl=b.css`
|
|
2142
2142
|
:host,
|
|
2143
2143
|
.select-renderer,
|
|
2144
2144
|
zero-option,
|
|
@@ -2147,7 +2147,7 @@
|
|
|
2147
2147
|
max-width: var(--select-renderer-max-width);
|
|
2148
2148
|
min-width: 100%;
|
|
2149
2149
|
}
|
|
2150
|
-
`,
|
|
2150
|
+
`,ul=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
|
|
2151
2151
|
<${a}
|
|
2152
2152
|
class="select-renderer"
|
|
2153
2153
|
@change=${(e,a)=>e.selectionChanged(a.event)}
|
|
@@ -2163,15 +2163,15 @@
|
|
|
2163
2163
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2164
2164
|
`)}
|
|
2165
2165
|
</${a}>
|
|
2166
|
-
`},
|
|
2166
|
+
`},hl=cl.compose({baseName:"select-renderer",styles:pl,template:ul()});const ml=class extends cl{}.compose({baseName:"select-renderer",styles:pl,template:ul("zero")});var bl=r(29310),vl=r(84646),fl=r(17190),wl=r(21530),yl=r(31679),xl=r(89882),kl=r(62051),zl=r.n(kl);const Sl=b.html`
|
|
2167
2167
|
<template>
|
|
2168
2168
|
<slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2169
2169
|
</template>
|
|
2170
|
-
`;let
|
|
2170
|
+
`;let Cl=class extends v.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Pi.__decorate)([b.observable],Cl.prototype,"renderer",void 0),(0,Pi.__decorate)([b.observable],Cl.prototype,"rendererParams",void 0),(0,Pi.__decorate)([b.observable],Cl.prototype,"slottedRenderer",void 0),Cl=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:Sl})],Cl);const $l=b.html`
|
|
2171
2171
|
<template>
|
|
2172
2172
|
<slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2173
2173
|
</template>
|
|
2174
|
-
`;let $l=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,Pi.__decorate)([b.observable],$l.prototype,"slottedAgCell",void 0),(0,Pi.__decorate)([b.observable],$l.prototype,"definition",void 0),$l=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Cl})],$l);var Al=r(39087),Ol=r(96730),Fl=r(21281),Tl=r(34193),Dl=r(78466),Rl=r(60949),Nl=r(97156),Ll=r(56607),Ml=r(10629),Il=r(41392),jl=r(92453),El=r(2773),Pl=r(41119),Bl=r(17465),Gl=r(12066);function _l(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function Hl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Ul({value:e}){return(0,Gl.CL)(e)}function Vl({value:e}){return(0,Gl.zT)(e)}const Yl="datasource-error-close",Ql="datasource";class Wl extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Al.OD.MAX_ROWS_250,this.maxView=Al.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Al.OD.REQUEST_SERVER_ROW_ID:Al.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Al.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Al.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Al.OD.REQUEST_SERVER_ROW_ID:Al.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var ql;(0,Pi.__decorate)([s.dm],Wl.prototype,"connect",void 0),(0,Pi.__decorate)([b.observable],Wl.prototype,"deferredGridOptions",void 0),(0,Pi.__decorate)([b.observable],Wl.prototype,"deferredColumnStates",void 0),(0,Pi.__decorate)([b.observable],Wl.prototype,"rowDataMapper",void 0),(0,Pi.__decorate)([b.attr],Wl.prototype,"criteria",void 0),(0,Pi.__decorate)([b.attr],Wl.prototype,"fields",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Wl.prototype,"isSnapshot",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-rows"})],Wl.prototype,"maxRows",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-view"})],Wl.prototype,"maxView",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Wl.prototype,"movingView",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"order-by"})],Wl.prototype,"orderBy",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"resource-name"})],Wl.prototype,"resourceName",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],Wl.prototype,"reverse",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"row-id"})],Wl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(ql||(ql={}));class Jl extends Wl{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Pl.w.STRING:t.cellEditor=Yi.stringEditor;break;case Pl.w.NUMBER:t.cellEditor=Yi.numberEditor;break;case Pl.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Yi.boolean,t.cellEditor=Yi.boolean);break;case Pl.w.DATE:t.valueFormatter=Ul,t.cellEditor=Yi.dateEditor;break;case Pl.w.DATETIME:t.valueFormatter=Vl,t.cellEditor=Yi.dateEditor,t.cellEditorParams={withTime:!0};break;case Pl.w.ENUM:e.enumOptions?(t.cellEditor=Yi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Bl.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:Hl(e.type),filter:_l(e.type)},t),o)}))}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rowData.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){var e,a,r;if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},ql.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},ql.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},ql.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(ql)){if(!this.rowDataMapper)return e;const r={};return a.includes(ql.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(ql.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(ql.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Zl{constructor(){this.rowData=new Map}}function Kl(e){switch(e){case Pl.w.DATE:case Pl.w.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}const Xl="datasource-error",eg="datasource-row-data-set",ag="datasource-size-changed";let rg=class extends(c(Jl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Al.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Nl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Ol.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return In.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Al.vt.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Ml.i)(1),(0,Il.B)(o),(0,jl.M)((e=>In.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else In.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;In.debug("GridProGenesisDatasource.reset()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Nl.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1,this.$emit(eg,{data:t})}))}reloadResourceData(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){In.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return In.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else In.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,El.W)((e=>(this.handleErrors(e.receivedMessage),Ll.w)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Fl.Go.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Tl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Tl.d)(e).inserts:e.inserts}handleErrors(e){var a;e.ERROR&&(this.agGrid&&(null===(a=this.agGrid.gridApi)||void 0===a||a.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected")),this.$emit(Xl,{message:e.ERROR}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=this.rowData.size,t=e.REPLY;if(!Array.isArray(t)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void In.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==t||t.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):t;return this.handleSizeChanged(r,this.rowData.size),void this.setRowData(e)}const o=[],i=Array.from(this.rowData.values()).filter((e=>{const a=t.find((a=>a[this.rowId]===e[this.rowId]));return!a||(o.push(a),!1)})),n=t.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(n),this.handleStreamDeletes(i),this.handleStreamUpdates(o),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}applyDataserverData(e){var a;const r=this.rowData.size;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const t=Array.from(this.rowData.values());return this.setRowData(t),void this.handleSizeChanged(r,this.rowData.size)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Kl);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Ol.Q)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}handleSizeChanged(e,a){e!==a&&this.$emit(ag,{value:a,oldValue:e})}};(0,Pi.__decorate)([Dl.N],rg.prototype,"auth",void 0),(0,Pi.__decorate)([Rl.yW],rg.prototype,"datasource",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],rg.prototype,"pollingInterval",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],rg.prototype,"disablePolling",void 0),(0,Pi.__decorate)([b.observable],rg.prototype,"request",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],rg.prototype,"restartOnReconnection",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],rg.prototype,"keepColDefsOnClearRowData",void 0),rg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],rg);let tg=class extends rg{};tg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],tg);var og=r(48707),ig=r(56177);function ng(e){switch(e){case Pl.w.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Pl.w.DATE:case Pl.w.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Pl.w.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class lg extends Zl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return In.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),In.debug("Available indexes:",a),In.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,ig.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Fl.Go.LOGOFF_ACK||t===Fl.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,Tl.d)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>In.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,Pi.__decorate)([Dl.N],lg.prototype,"auth",void 0),(0,Pi.__decorate)([s.dm],lg.prototype,"connect",void 0);let gg=class extends(c(Jl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ol.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>In.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,og.a)(e);const a=(0,og.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new lg({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});In.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));In.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return In.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Fl.Go.QUERY_UPDATE&&e.ROW){const r=(0,Tl.d)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>In.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ng);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],gg.prototype,"pagination",void 0),gg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],gg);const sg='\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+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyet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t9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/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',dg='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAA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XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',cg={[Ei.alpine]:sg,[Ei.alpineDark]:sg,[Ei.balham]:dg,[Ei.balhamDark]:dg,[Ei.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2p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qdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+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'},pg=sg,ug=b.css`
|
|
2174
|
+
`;let Al=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,Pi.__decorate)([b.observable],Al.prototype,"slottedAgCell",void 0),(0,Pi.__decorate)([b.observable],Al.prototype,"definition",void 0),Al=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:$l})],Al);var Ol=r(39087),Tl=r(96730),Fl=r(21281),Dl=r(34193),Rl=r(78466),Nl=r(60949),Ll=r(97156),Ml=r(56607),Il=r(10629),jl=r(41392),El=r(92453),Pl=r(2773),Bl=r(41119),Gl=r(17465),_l=r(12066);function Ul(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 Hl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Vl({value:e}){return(0,_l.CL)(e)}function Yl({value:e}){return(0,_l.zT)(e)}const Ql="datasource-error-close",Wl="datasource";class ql extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ol.OD.MAX_ROWS_250,this.maxView=Ol.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Ol.OD.REQUEST_SERVER_ROW_ID:Ol.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Ol.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Ol.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Ol.OD.REQUEST_SERVER_ROW_ID:Ol.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Jl;(0,Pi.__decorate)([s.dm],ql.prototype,"connect",void 0),(0,Pi.__decorate)([b.observable],ql.prototype,"deferredGridOptions",void 0),(0,Pi.__decorate)([b.observable],ql.prototype,"deferredColumnStates",void 0),(0,Pi.__decorate)([b.observable],ql.prototype,"rowDataMapper",void 0),(0,Pi.__decorate)([b.attr],ql.prototype,"criteria",void 0),(0,Pi.__decorate)([b.attr],ql.prototype,"fields",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],ql.prototype,"isSnapshot",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-rows"})],ql.prototype,"maxRows",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-view"})],ql.prototype,"maxView",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],ql.prototype,"movingView",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"order-by"})],ql.prototype,"orderBy",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"resource-name"})],ql.prototype,"resourceName",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],ql.prototype,"reverse",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"row-id"})],ql.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Jl||(Jl={}));class Zl extends ql{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 Bl.w.STRING:t.cellEditor=Yi.stringEditor;break;case Bl.w.NUMBER:t.cellEditor=Yi.numberEditor;break;case Bl.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Yi.boolean,t.cellEditor=Yi.boolean);break;case Bl.w.DATE:t.valueFormatter=Vl,t.cellEditor=Yi.dateEditor;break;case Bl.w.DATETIME:t.valueFormatter=Yl,t.cellEditor=Yi.dateEditor,t.cellEditorParams={withTime:!0};break;case Bl.w.ENUM:e.enumOptions?(t.cellEditor=Yi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Gl.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:Hl(e.type),filter:Ul(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},Jl.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Jl.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Jl.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(Jl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Jl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Jl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Jl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Kl{constructor(){this.rowData=new Map}}function Xl(e){switch(e){case Bl.w.DATE:case Bl.w.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}const eg="datasource-error",ag="datasource-row-data-set",rg="datasource-size-changed";let tg=class extends(c(Zl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Ol.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Ll.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Tl.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return In.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Ol.vt.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Il.i)(1),(0,jl.B)(o),(0,El.M)((e=>In.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else In.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;In.debug("GridProGenesisDatasource.reset()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Ll.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1,this.$emit(ag,{data:t})}))}reloadResourceData(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){In.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return In.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else In.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Pl.W)((e=>(this.handleErrors(e.receivedMessage),Ml.w)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Fl.Go.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Dl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Dl.d)(e).inserts:e.inserts}handleErrors(e){var a;e.ERROR&&(this.agGrid&&(null===(a=this.agGrid.gridApi)||void 0===a||a.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected")),this.$emit(eg,{message:e.ERROR}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=this.rowData.size,t=e.REPLY;if(!Array.isArray(t)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void In.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==t||t.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):t;return this.handleSizeChanged(r,this.rowData.size),void this.setRowData(e)}const o=[],i=Array.from(this.rowData.values()).filter((e=>{const a=t.find((a=>a[this.rowId]===e[this.rowId]));return!a||(o.push(a),!1)})),n=t.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(n),this.handleStreamDeletes(i),this.handleStreamUpdates(o),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}applyDataserverData(e){var a;const r=this.rowData.size;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const t=Array.from(this.rowData.values());return this.setRowData(t),void this.handleSizeChanged(r,this.rowData.size)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Xl);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Tl.Q)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}handleSizeChanged(e,a){e!==a&&this.$emit(rg,{value:a,oldValue:e})}};(0,Pi.__decorate)([Rl.N],tg.prototype,"auth",void 0),(0,Pi.__decorate)([Nl.yW],tg.prototype,"datasource",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],tg.prototype,"pollingInterval",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],tg.prototype,"disablePolling",void 0),(0,Pi.__decorate)([b.observable],tg.prototype,"request",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],tg.prototype,"restartOnReconnection",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],tg.prototype,"keepColDefsOnClearRowData",void 0),tg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],tg);let og=class extends tg{};og=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],og);var ig=r(48707),ng=r(56177);function lg(e){switch(e){case Bl.w.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Bl.w.DATE:case Bl.w.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Bl.w.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class gg extends Kl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return In.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),In.debug("Available indexes:",a),In.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,ng.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Fl.Go.LOGOFF_ACK||t===Fl.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,Dl.d)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>In.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,Pi.__decorate)([Rl.N],gg.prototype,"auth",void 0),(0,Pi.__decorate)([s.dm],gg.prototype,"connect",void 0);let sg=class extends(c(Zl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Tl.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>In.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,ig.a)(e);const a=(0,ig.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new gg({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});In.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));In.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return In.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Fl.Go.QUERY_UPDATE&&e.ROW){const r=(0,Dl.d)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>In.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,lg);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],sg.prototype,"pagination",void 0),sg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],sg);const dg='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAA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lTgB+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',cg='\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/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3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={[Ei.alpine]:dg,[Ei.alpineDark]:dg,[Ei.balham]:cg,[Ei.balhamDark]:cg,[Ei.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojDkSuy0tGhJK4TKK3QzI7m73upywg2//HcOv8HYgNuxzN9yny6wS+OijiJbjLIFu66IFGspL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vpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},ug=dg,hg=b.css`
|
|
2175
2175
|
.ag-icon {
|
|
2176
2176
|
font-family: var(--ag-icon-font-family);
|
|
2177
2177
|
font-size: var(--ag-icon-size);
|
|
@@ -9348,7 +9348,7 @@
|
|
|
9348
9348
|
input[class^='ag-'][type='range']:disabled {
|
|
9349
9349
|
opacity: 0.5;
|
|
9350
9350
|
}
|
|
9351
|
-
`,
|
|
9351
|
+
`,mg=b.css`
|
|
9352
9352
|
.ag-dnd-ghost {
|
|
9353
9353
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
9354
9354
|
border: solid 1px;
|
|
@@ -9365,7 +9365,7 @@
|
|
|
9365
9365
|
overflow: hidden;
|
|
9366
9366
|
text-overflow: ellipsis;
|
|
9367
9367
|
}
|
|
9368
|
-
`,
|
|
9368
|
+
`,bg=b.css`
|
|
9369
9369
|
.ag-theme-alpine,
|
|
9370
9370
|
.ag-theme-alpine-dark {
|
|
9371
9371
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9815,7 +9815,7 @@
|
|
|
9815
9815
|
.ag-theme-alpine-dark {
|
|
9816
9816
|
color-scheme: dark;
|
|
9817
9817
|
}
|
|
9818
|
-
`,
|
|
9818
|
+
`,vg=b.css`
|
|
9819
9819
|
.ag-theme-balham,
|
|
9820
9820
|
.ag-theme-balham-dark {
|
|
9821
9821
|
--ag-balham-active-color: #0091ea;
|
|
@@ -10085,7 +10085,7 @@
|
|
|
10085
10085
|
.ag-theme-balham-dark {
|
|
10086
10086
|
color-scheme: dark;
|
|
10087
10087
|
}
|
|
10088
|
-
`,
|
|
10088
|
+
`,fg=b.css`
|
|
10089
10089
|
.ag-theme-material {
|
|
10090
10090
|
--ag-material-primary-color: #3f51b5;
|
|
10091
10091
|
--ag-material-accent-color: #ff4081;
|
|
@@ -10350,14 +10350,14 @@
|
|
|
10350
10350
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
10351
10351
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
10352
10352
|
}
|
|
10353
|
-
`,
|
|
10354
|
-
${ug}
|
|
10353
|
+
`,wg=b.css`
|
|
10355
10354
|
${hg}
|
|
10356
10355
|
${mg}
|
|
10357
10356
|
${bg}
|
|
10358
10357
|
${vg}
|
|
10359
|
-
`,wg=b.css`
|
|
10360
10358
|
${fg}
|
|
10359
|
+
`,yg=b.css`
|
|
10360
|
+
${wg}
|
|
10361
10361
|
:host {
|
|
10362
10362
|
--datasource-error-background-color: var(--neutral-layer-4);
|
|
10363
10363
|
--datasource-error-background-opacity: 0.5;
|
|
@@ -10414,7 +10414,7 @@
|
|
|
10414
10414
|
opacity: var(--datasource-error-background-opacity);
|
|
10415
10415
|
z-index: 1;
|
|
10416
10416
|
}
|
|
10417
|
-
`,
|
|
10417
|
+
`,xg=(e="foundation")=>b.html`
|
|
10418
10418
|
<template>
|
|
10419
10419
|
<span part="grid" class="${e=>e.classNames}">
|
|
10420
10420
|
<slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
|
|
@@ -10423,7 +10423,7 @@
|
|
|
10423
10423
|
<slot
|
|
10424
10424
|
name="grid-datasource-error"
|
|
10425
10425
|
part="grid-datasource-error"
|
|
10426
|
-
class="${e=>e.gridErrorItems.filter((({type:e})=>e===
|
|
10426
|
+
class="${e=>e.gridErrorItems.filter((({type:e})=>e===Wl)).length>0?"":"hidden"}"
|
|
10427
10427
|
>
|
|
10428
10428
|
<${e}-dialog
|
|
10429
10429
|
class="grid-datasource-error-dialog"
|
|
@@ -10448,7 +10448,7 @@
|
|
|
10448
10448
|
</${e}-dialog>
|
|
10449
10449
|
</slot>
|
|
10450
10450
|
</template>
|
|
10451
|
-
`,xg=yg();var kg=r(98316);class zg{getColumnState(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}getFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return{}}))}saveFilterModel(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,Pi.__decorate)([kg.N],zg.prototype,"session",void 0);const Sg=v.DI.createInterface((e=>e.singleton(zg)));class Cg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const $g=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function Ag(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mn.syG.registerModules([bl.n7,ml.Q]);class Og extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,wl.x)(Ui(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.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=pg,this.columnComponentName="grid-pro-column",this.theme=Ei.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[$g(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:eg,action:e},{key:Yl,action:e},{key:Xl,action:this.handleError.bind(this,Ql)})}addEventListener(e,a,r){super.addEventListener(e,a,r),Mn.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!==Ql))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,vl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Mn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback($g(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={[Yi.action]:jn,[Yi.actionsMenu]:Hn,[Yi.boolean]:Qn,[Yi.editable]:Fn,[Yi.selectEditor]:cn,[Yi.numberEditor]:vn,[Yi.multiselectEditor]:on,[Yi.dateEditor]:Ki,[Yi.stringEditor]:zn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}))}cacheFilterConfig(){var e;this.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}))}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=kl()(this.saveColumnState.bind(this),400),r=kl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,Pi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mn.kNx.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return In.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=yl[this.headerCaseType];a?e.headerName=a(e.field):In.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Qi]===e.field)return{component:Yi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Cg,e.tooltipValueGetter=a=>{const r=a.data[Wi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Wi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Ag(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Ag(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Mn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mn.kNx.ALL_PROPERTIES.map((e=>$g(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mn.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=cg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,fl.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Pi.__decorate)([b.observable],Og.prototype,"columnApi",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridApi",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridErrorItems",void 0),(0,Pi.__decorate)([Sg],Og.prototype,"statePersistence",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Og.prototype,"autoCellRendererByType",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Og.prototype,"onlyTemplateColDefs",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Og.prototype,"gridAutosizingEnabled",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"add-index"})],Og.prototype,"addIndex",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Og.prototype,"asyncAdd",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Og.prototype,"asyncRemove",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Og.prototype,"asyncUpdate",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Og.prototype,"enableCellFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Og.prototype,"enabledRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Og.prototype,"enableRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Og.prototype,"persistColumnStateKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Og.prototype,"persistFilterModelKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Og.prototype,"headerCaseType",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridFontFace",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"columnComponentName",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"eventsAndCallbacks",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"headerHeight",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"rowHeight",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"theme",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"classNames",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"agGrid",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridSlot",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridComponents",void 0),(0,Pi.__decorate)([Ji],Og.prototype,"gridOptionsConfig",void 0);const Fg=void 0,Tg={shadowOptions:void 0},Dg=Og.compose(Object.assign({baseName:"grid-pro",styles:wg,template:xg,shadowOptions:Fg},Tg)),Rg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Ng={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Lg}=v.DesignToken,Mg={backgroundColor:Lg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.backgroundSwatch:Rg.backgroundSwatch)),borderColor:Lg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.borderSwatch:Rg.borderSwatch)),foregroundColor:Lg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.foregroundSwatch:Rg.foregroundSwatch)),headerForegroundColor:Lg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.headerForegroundSwatch:Rg.headerForegroundSwatch)),rowHoverColor:Lg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.rowHoverSwatch:Rg.rowHoverSwatch))},Ig=b.css`
|
|
10451
|
+
`,kg=xg();var zg=r(98316);class Sg{getColumnState(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}getFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return{}}))}saveFilterModel(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,Pi.__decorate)([zg.N],Sg.prototype,"session",void 0);const Cg=v.DI.createInterface((e=>e.singleton(Sg)));class $g{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 Ag(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mn.syG.registerModules([vl.n7,bl.Q]);class Og extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,yl.x)(Hi(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.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=ug,this.columnComponentName="grid-pro-column",this.theme=Ei.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Un(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:ag,action:e},{key:Ql,action:e},{key:eg,action:this.handleError.bind(this,Wl)})}addEventListener(e,a,r){super.addEventListener(e,a,r),Mn.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!==Wl))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,fl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Mn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Un(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={[Yi.action]:jn,[Yi.actionsMenu]:Hn,[Yi.boolean]:Wn,[Yi.editable]:Tn,[Yi.selectEditor]:cn,[Yi.numberEditor]:vn,[Yi.multiselectEditor]:on,[Yi.dateEditor]:Ki,[Yi.stringEditor]:zn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}))}cacheFilterConfig(){var e;this.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}))}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=zl()(this.saveColumnState.bind(this),400),r=zl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,Pi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mn.kNx.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return In.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=xl[this.headerCaseType];a?e.headerName=a(e.field):In.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Qi]===e.field)return{component:Yi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=$g,e.tooltipValueGetter=a=>{const r=a.data[Wi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Wi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Ag(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Ag(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Mn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mn.kNx.ALL_PROPERTIES.map((e=>Un(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mn.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=pg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,wl.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Pi.__decorate)([b.observable],Og.prototype,"columnApi",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridApi",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridErrorItems",void 0),(0,Pi.__decorate)([Cg],Og.prototype,"statePersistence",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Og.prototype,"autoCellRendererByType",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Og.prototype,"onlyTemplateColDefs",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Og.prototype,"gridAutosizingEnabled",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"add-index"})],Og.prototype,"addIndex",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Og.prototype,"asyncAdd",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Og.prototype,"asyncRemove",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Og.prototype,"asyncUpdate",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Og.prototype,"enableCellFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Og.prototype,"enabledRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Og.prototype,"enableRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Og.prototype,"persistColumnStateKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Og.prototype,"persistFilterModelKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Og.prototype,"headerCaseType",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridFontFace",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"columnComponentName",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"eventsAndCallbacks",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"headerHeight",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"rowHeight",void 0),(0,Pi.__decorate)([b.attr],Og.prototype,"theme",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"classNames",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"agGrid",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridSlot",void 0),(0,Pi.__decorate)([b.observable],Og.prototype,"gridComponents",void 0),(0,Pi.__decorate)([Ji],Og.prototype,"gridOptionsConfig",void 0);const Tg=void 0,Fg={shadowOptions:void 0},Dg=Og.compose(Object.assign({baseName:"grid-pro",styles:yg,template:kg,shadowOptions:Tg},Fg)),Rg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Ng={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Lg}=v.DesignToken,Mg={backgroundColor:Lg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.backgroundSwatch:Rg.backgroundSwatch)),borderColor:Lg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.borderSwatch:Rg.borderSwatch)),foregroundColor:Lg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.foregroundSwatch:Rg.foregroundSwatch)),headerForegroundColor:Lg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.headerForegroundSwatch:Rg.headerForegroundSwatch)),rowHoverColor:Lg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ng.rowHoverSwatch:Rg.rowHoverSwatch))},Ig=b.css`
|
|
10452
10452
|
.ag-theme-genesis-rapid,
|
|
10453
10453
|
.ag-theme-genesis-rapid-dark {
|
|
10454
10454
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10946,7 +10946,7 @@
|
|
|
10946
10946
|
}
|
|
10947
10947
|
`,_g=b.css`
|
|
10948
10948
|
/* All the AG themes */
|
|
10949
|
-
${
|
|
10949
|
+
${yg}
|
|
10950
10950
|
|
|
10951
10951
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10952
10952
|
${Pg}
|
|
@@ -10955,10 +10955,10 @@
|
|
|
10955
10955
|
.error {
|
|
10956
10956
|
border-color: ${$e.shortPink} !important;
|
|
10957
10957
|
}
|
|
10958
|
-
`,
|
|
10958
|
+
`,Ug=xg("zero"),Hg="ag-theme-genesis-rapid-dark";const Vg=Tg,Yg=Fg,Qg={zeroAgEditableRenderer:Ln,zeroAgActionRenderer:_n,zeroAgActionsMenuRenderer:Qn,zeroAgBooleanRenderer:Xn,zeroAgTextRenderer:dl,zeroAgSelectRenderer:ml,zeroAgDateEditor:tn,zeroAgMultiselectEditor:dn,zeroAgSelectEditor:bn,zeroAgNumberEditor:kn,zeroAgStringEditor:On,zeroGridPro:class extends Og{constructor(){super(...arguments),this.theme=Hg}themeChanged(e,a){(e||a===Hg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Yi.action]:Gn,[Yi.actionsMenu]:Yn,[Yi.boolean]:Kn,[Yi.editable]:Nn,[Yi.selectEditor]:mn,[Yi.numberEditor]:xn,[Yi.multiselectEditor]:sn,[Yi.dateEditor]:rn,[Yi.stringEditor]:An};(this.theme===Eg||this.theme===Bg)&&(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:Ug,styles:_g,shadowOptions:Vg},Yg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Wg={foundationGridProActionRenderer:Bn,foundationGridProActionsMenuRenderer:Vn,foundationAgBooleanRenderer:Zn,foundationAgTextRenderer:sl,foundationAgTextFieldRenderer:il,foundationAgEditableRenderer:Rn,foundationAgSelectRenderer:hl,foundationGridPro:Dg,foundationSelectEditor:hn,foundationNumberEditor:yn,foundationDateEditor:an,foundationMultiselectEditor:gn,foundationStringEditor:$n,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var qg;!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"}(qg||(qg={}));const{create:Jg}=v.DesignToken,Zg=(0,Ae.parseColorHexRGB)(qg.error),Kg=f.SwatchRGB.create(Zg.r,Zg.g,Zg.b),Xg=Jg("error-color").withDefault(Kg),es=(0,Ae.parseColorHexRGB)(qg.success),as=f.SwatchRGB.create(es.r,es.g,es.b),rs=Jg("success-color").withDefault(as),ts=(0,Ae.parseColorHexRGB)(qg.warning),os=f.SwatchRGB.create(ts.r,ts.g,ts.b),is=Jg("warning-color").withDefault(os),ns=(0,Ae.parseColorHexRGB)(qg.buy),ls=f.SwatchRGB.create(ns.r,ns.g,ns.b),gs=Jg("buy-color").withDefault(ls),ss=(0,Ae.parseColorHexRGB)(qg.sell),ds=f.SwatchRGB.create(ss.r,ss.g,ss.b),cs=Jg("sell-color").withDefault(ds),ps=(0,H.paletteFromHex)(qg.primary),us=(0,H.paletteFromHex)(qg.neutral),hs=f.StandardLuminance.DarkMode,ms=0,bs=4,vs=-5,fs=0,ws=0,ys=6,xs=-4,ks=0,zs=7,Ss=10,Cs=5,$s=0,As=0,Os=0,Ts=0,Fs=0,Ds=0,Rs=5,Ns=3,Ls=0,Ms=0,Is=8,js=-5,Es=0,Ps=3,Bs=25,Gs=40,_s=16,Us=25,Hs=8,Vs="rapid",Ys=Ee.O.ltr,Qs=.3,Ws=1,qs=2,Js=10,Zs=4,Ks=0,Xs=4,ed='"Segoe UI", Arial, Helvetica, sans-serif',ad="14px",rd="20px",td="13px",od="19px",id="12px",nd="18px",ld="15px",gd="21px",sd="16px",dd="22px",cd="17px",pd="23px",ud="18x",hd="24px",md="19px",bd="25px",vd="20px",fd="26px",wd={design_tokens:{color:{accent:{$value:ps.source.toColorString(),$type:"color"},neutral:{$value:us.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:ed,$type:"fontFamily"}},typography:{baseFontSize:{$value:ad,$type:"dimension"},baseLineHeight:{$value:rd,$type:"dimension"}},mode:{luminance:{$value:hs,$type:"number"}},style:{density:{$value:Ks,$type:"number"},borderRadius:{$value:Zs,$type:"number"},strokeWidth:{$value:Ws,$type:"number"}},space:{designUnit:{$value:Xs,$type:"number"}}}};class yd extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(i,n,this)}}const xd=yd.compose({baseName:"design-system-provider",template:b.html`
|
|
10959
10959
|
<slot></slot>
|
|
10960
|
-
`});class kd extends
|
|
10961
|
-
${(0,
|
|
10960
|
+
`});class kd extends H.Accordion{}const zd=kd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10961
|
+
${(0,H.foundationAccordionStyles)(e,a)}
|
|
10962
10962
|
|
|
10963
10963
|
:host {
|
|
10964
10964
|
border-top: none;
|
|
@@ -10968,8 +10968,8 @@
|
|
|
10968
10968
|
.heading {
|
|
10969
10969
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10970
10970
|
}
|
|
10971
|
-
`,shadowOptions:
|
|
10972
|
-
${(0,
|
|
10971
|
+
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class Sd extends H.AccordionItem{}const Cd=Sd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10972
|
+
${(0,H.foundationAccordionItemStyles)(e,a)}
|
|
10973
10973
|
|
|
10974
10974
|
:host {
|
|
10975
10975
|
--icon-container-calculator: calc(
|
|
@@ -11031,13 +11031,13 @@
|
|
|
11031
11031
|
grid-template-columns: auto 1fr auto;
|
|
11032
11032
|
align-items: center;
|
|
11033
11033
|
}
|
|
11034
|
-
`,shadowOptions:
|
|
11034
|
+
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class $d extends H.ActionsMenu{}const Ad=$d.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
|
|
11035
11035
|
:host {
|
|
11036
11036
|
--actions-opener-height-multiplier: 0.6px;
|
|
11037
11037
|
--menu-item-height-multiplier: 0.5px;
|
|
11038
11038
|
}
|
|
11039
11039
|
|
|
11040
|
-
${(0,
|
|
11040
|
+
${(0,H.actionsMenuBaseStyles)(e,a)}
|
|
11041
11041
|
|
|
11042
11042
|
rapid-menu-item {
|
|
11043
11043
|
display: flex;
|
|
@@ -11069,7 +11069,7 @@
|
|
|
11069
11069
|
.actions-vertical .menu-item:focus {
|
|
11070
11070
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
11071
11071
|
}
|
|
11072
|
-
`,template:
|
|
11072
|
+
`,template:H.foundationActionsMenuTemplate});function Od(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Td=b.css`
|
|
11073
11073
|
:host([appearance='primary']) {
|
|
11074
11074
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
11075
11075
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11092,7 +11092,7 @@
|
|
|
11092
11092
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
11093
11093
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
11094
11094
|
}
|
|
11095
|
-
`,
|
|
11095
|
+
`,Fd=b.css`
|
|
11096
11096
|
:host([appearance='primary-outline']) {
|
|
11097
11097
|
background: none;
|
|
11098
11098
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11152,7 +11152,7 @@
|
|
|
11152
11152
|
opacity: 100%;
|
|
11153
11153
|
}
|
|
11154
11154
|
`,Nd=(e,a)=>b.css`
|
|
11155
|
-
${(0,
|
|
11155
|
+
${(0,H.foundationButtonStyles)(e,a)}
|
|
11156
11156
|
${b.css`
|
|
11157
11157
|
:host {
|
|
11158
11158
|
font-weight: 500;
|
|
@@ -11205,15 +11205,15 @@
|
|
|
11205
11205
|
opacity: 100%;
|
|
11206
11206
|
}
|
|
11207
11207
|
`}
|
|
11208
|
-
`.withBehaviors(Od("primary",
|
|
11209
|
-
${(0,
|
|
11208
|
+
`.withBehaviors(Od("primary",Td),Od("primary-outline",Fd),Od("neutral-outline",Dd),Od("link",Rd));class Ld extends H.Anchor{}const Md=Ld.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11209
|
+
${(0,H.foundationAnchorStyles)(e,a)}
|
|
11210
11210
|
${Nd(e,a)}
|
|
11211
|
-
`.withBehaviors(...Nd(e,a).behaviors),shadowOptions:
|
|
11212
|
-
${(0,
|
|
11213
|
-
`,shadowOptions:
|
|
11214
|
-
${(0,
|
|
11215
|
-
`,shadowOptions:
|
|
11216
|
-
${(0,
|
|
11211
|
+
`.withBehaviors(...Nd(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Id extends H.AnchoredRegion{}const jd=Id.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11212
|
+
${(0,H.foundationAnchoredRegionStyles)(e,a)}
|
|
11213
|
+
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Ed extends H.Avatar{}const Pd=Ed.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11214
|
+
${(0,H.foundationAvatarStyles)(e,a)}
|
|
11215
|
+
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class Bd extends H.Badge{}const Gd=Bd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11216
|
+
${(0,H.foundationBadgeStyles)(e,a)}
|
|
11217
11217
|
:host {
|
|
11218
11218
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
11219
11219
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -11231,8 +11231,8 @@
|
|
|
11231
11231
|
padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
|
|
11232
11232
|
border: none;
|
|
11233
11233
|
}
|
|
11234
|
-
`,shadowOptions:
|
|
11235
|
-
${
|
|
11234
|
+
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),_d=b.css`
|
|
11235
|
+
${H.foundationBannerStyles}
|
|
11236
11236
|
:host {
|
|
11237
11237
|
--banner-height: calc(
|
|
11238
11238
|
((var(--design-unit) + 2) * var(--base-height-multiplier)) +
|
|
@@ -11251,10 +11251,10 @@
|
|
|
11251
11251
|
font-family: var(--body-font);
|
|
11252
11252
|
line-height: var(--type-ramp-base-line-height);
|
|
11253
11253
|
}
|
|
11254
|
-
`,
|
|
11255
|
-
${(0,
|
|
11256
|
-
`,shadowOptions:undefined},{}));class Wd extends
|
|
11257
|
-
${(0,
|
|
11254
|
+
`,Ud=H.foundationBannerShadowOptions;class Hd extends H.Banner{}const Vd=Hd.compose({baseName:"banner",shadowOptions:Ud,styles:_d,template:H.foundationBannerTemplate});class Yd extends H.Breadcrumb{}const Qd=Yd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11255
|
+
${(0,H.foundationBreadcrumbStyles)(e,a)}
|
|
11256
|
+
`,shadowOptions:undefined},{}));class Wd extends H.BreadcrumbItem{}const qd=Wd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11257
|
+
${(0,H.foundationBreadcrumbItemStyles)(e,a)}
|
|
11258
11258
|
.listitem {
|
|
11259
11259
|
color: var(--accent-foreground-rest);
|
|
11260
11260
|
}
|
|
@@ -11289,10 +11289,10 @@
|
|
|
11289
11289
|
.control:hover .start {
|
|
11290
11290
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11291
11291
|
}
|
|
11292
|
-
`,shadowOptions:
|
|
11293
|
-
${(0,
|
|
11294
|
-
`,shadowOptions:
|
|
11295
|
-
${(0,
|
|
11292
|
+
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class Jd extends H.Button{}const Zd=Jd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:Nd,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class Kd extends H.Calendar{}const Xd=Kd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
|
|
11293
|
+
${(0,H.foundationCalendarStyles)()}
|
|
11294
|
+
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class ec extends H.Card{}const ac=ec.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11295
|
+
${(0,H.foundationCardStyles)(e,a)}
|
|
11296
11296
|
:host {
|
|
11297
11297
|
background: var(--neutral-layer-card-container);
|
|
11298
11298
|
color: ${f.neutralForegroundRest};
|
|
@@ -11305,8 +11305,8 @@
|
|
|
11305
11305
|
::slotted(rapid-card) {
|
|
11306
11306
|
background: var(--neutral-layer-3);
|
|
11307
11307
|
}
|
|
11308
|
-
`,shadowOptions:
|
|
11309
|
-
${
|
|
11308
|
+
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),rc=b.css`
|
|
11309
|
+
${H.categorizedMultiselectStyles}
|
|
11310
11310
|
|
|
11311
11311
|
.label {
|
|
11312
11312
|
color: var(--neutral-foreground-hint);
|
|
@@ -11320,9 +11320,9 @@
|
|
|
11320
11320
|
background: var(--neutral-layer-4);
|
|
11321
11321
|
}
|
|
11322
11322
|
`,tc=b.html`
|
|
11323
|
-
${(0,
|
|
11324
|
-
`;class oc extends
|
|
11325
|
-
${(0,
|
|
11323
|
+
${(0,H.getPrefixedCategorizedMultiselect)("rapid")}
|
|
11324
|
+
`;class oc extends H.CategorizedMultiselect{}const ic=H.defaultCategorizedMultiselectConfig,nc=H.foundationCategorizedMultiselectShadowOptions,lc=oc.compose(Object.assign({baseName:"categorized-multiselect",template:tc,styles:rc,shadowOptions:nc},ic));class gc extends H.Checkbox{}const sc=gc.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11325
|
+
${(0,H.foundationCheckboxStyles)(e,a)}
|
|
11326
11326
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11327
11327
|
fill: var(--neutral-foreground-rest);
|
|
11328
11328
|
}
|
|
@@ -11336,8 +11336,8 @@
|
|
|
11336
11336
|
.label {
|
|
11337
11337
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11338
11338
|
}
|
|
11339
|
-
`,shadowOptions:
|
|
11340
|
-
${(0,
|
|
11339
|
+
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class dc extends H.Combobox{}const cc=dc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11340
|
+
${(0,H.foundationComboboxStyles)(e,a)}
|
|
11341
11341
|
:host {
|
|
11342
11342
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11343
11343
|
background-color: color-mix(in srgb, var(--neutral-fill-input-rest), transparent 94%);
|
|
@@ -11409,8 +11409,8 @@
|
|
|
11409
11409
|
::slotted([role='option']) {
|
|
11410
11410
|
margin: 0;
|
|
11411
11411
|
}
|
|
11412
|
-
`,shadowOptions:
|
|
11413
|
-
${(0,
|
|
11412
|
+
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class pc extends H.ConnectionIndicator{}const uc=pc.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
|
|
11413
|
+
${(0,H.foundationConnectionIndicatorStyles)(e,a)}
|
|
11414
11414
|
:host {
|
|
11415
11415
|
--light-size: calc(var(--design-unit) * 3px);
|
|
11416
11416
|
--red: var(--error-color);
|
|
@@ -11432,10 +11432,10 @@
|
|
|
11432
11432
|
font-size: var(--type-ramp-base-font-size);
|
|
11433
11433
|
color: var(--neutral-stroke-rest);
|
|
11434
11434
|
}
|
|
11435
|
-
`}),hc=["baseClass","baseName","shadowOptions","styles","template"],mc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=hc)=>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:bc,shadowOptions:vc,styles:fc,template:wc}=mc(
|
|
11436
|
-
${(0,
|
|
11437
|
-
`;class
|
|
11438
|
-
${
|
|
11435
|
+
`}),hc=["baseClass","baseName","shadowOptions","styles","template"],mc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=hc)=>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:bc,shadowOptions:vc,styles:fc,template:wc}=mc(H.foundationDataGrid),{defaultConfig:yc,shadowOptions:xc,styles:kc,template:zc}=mc(H.foundationDataGridCell),{defaultConfig:Sc,shadowOptions:Cc,styles:$c,template:Ac}=mc(H.foundationDataGridRow),Oc=b.html`
|
|
11436
|
+
${(0,H.getPrefixedDatePicker)("rapid")}
|
|
11437
|
+
`;class Tc extends H.DatePicker{}const Fc=Tc.compose(Object.assign({baseName:"date-picker",template:Oc,styles:()=>b.css`
|
|
11438
|
+
${H.foundationDatePickerStyles}
|
|
11439
11439
|
|
|
11440
11440
|
:host {
|
|
11441
11441
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -11518,7 +11518,7 @@
|
|
|
11518
11518
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11519
11519
|
}
|
|
11520
11520
|
`,shadowOptions:undefined},{})),Dc=b.css`
|
|
11521
|
-
${
|
|
11521
|
+
${H.foundationDialogStyles}
|
|
11522
11522
|
:host {
|
|
11523
11523
|
--color-error: ${qg.error};
|
|
11524
11524
|
--color-success: ${qg.success};
|
|
@@ -11561,7 +11561,7 @@
|
|
|
11561
11561
|
}
|
|
11562
11562
|
|
|
11563
11563
|
::slotted(rapid-button) {
|
|
11564
|
-
margin
|
|
11564
|
+
margin: calc(var(--design-unit) * 4px - 1px) calc(var(--design-unit) * 1px) 0;
|
|
11565
11565
|
}
|
|
11566
11566
|
|
|
11567
11567
|
.content-wrapper {
|
|
@@ -11596,8 +11596,8 @@
|
|
|
11596
11596
|
.close-icon:active svg g path {
|
|
11597
11597
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11598
11598
|
}
|
|
11599
|
-
`,Rc=
|
|
11600
|
-
${(0,
|
|
11599
|
+
`,Rc=H.defaultDialogConfig,Nc=H.foundationDialogTemplate,Lc=H.foundationDialogShadowOptions;class Mc extends H.Dialog{}const Ic=Mc.compose(Object.assign({baseName:"dialog",shadowOptions:Lc,styles:Dc,template:Nc},Rc));class jc extends H.Disclosure{}const Ec=jc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11600
|
+
${(0,H.foundationDisclosureStyles)(e,a)}
|
|
11601
11601
|
:host {
|
|
11602
11602
|
font-size: var(--type-ramp-base-font-size);
|
|
11603
11603
|
font-family: var(--body-font);
|
|
@@ -11613,10 +11613,10 @@
|
|
|
11613
11613
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11614
11614
|
text-align: center;
|
|
11615
11615
|
}
|
|
11616
|
-
`,shadowOptions:
|
|
11617
|
-
${(0,
|
|
11618
|
-
`,shadowOptions:
|
|
11619
|
-
${(0,
|
|
11616
|
+
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Pc extends H.Divider{}const Bc=Pc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11617
|
+
${(0,H.foundationDividerStyles)(e,a)}
|
|
11618
|
+
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Gc extends H.DropdownMenu{}const _c=Gc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
|
|
11619
|
+
${(0,H.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11620
11620
|
|
|
11621
11621
|
.actions-menu {
|
|
11622
11622
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
@@ -11630,8 +11630,8 @@
|
|
|
11630
11630
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11631
11631
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11632
11632
|
}
|
|
11633
|
-
`,template:
|
|
11634
|
-
${
|
|
11633
|
+
`,template:H.foundationDropdownMenuTemplate}),{defaultConfig:Uc,shadowOptions:Hc,styles:Vc,template:Yc}=mc(H.foundationErrorBoundary),Qc=b.css`
|
|
11634
|
+
${H.foundationFileUploadStyles}
|
|
11635
11635
|
::-webkit-scrollbar {
|
|
11636
11636
|
width: calc(var(--design-unit) * 3px);
|
|
11637
11637
|
}
|
|
@@ -11653,11 +11653,11 @@
|
|
|
11653
11653
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11654
11654
|
}
|
|
11655
11655
|
`,Wc=b.html`
|
|
11656
|
-
${(0,
|
|
11657
|
-
`,qc=
|
|
11658
|
-
${(0,
|
|
11659
|
-
`;class ep extends
|
|
11660
|
-
${
|
|
11656
|
+
${(0,H.getPrefixedFileUpload)("rapid")}
|
|
11657
|
+
`,qc=H.defaultFileUploadConfig,Jc=H.foundationFileUploadShadowOptions;class Zc extends H.FileUpload{}const Kc=Zc.compose(Object.assign({baseName:"file-upload",shadowOptions:Jc,styles:Qc,template:Wc},qc)),Xc=b.html`
|
|
11658
|
+
${(0,H.getPrefixedFilterTemplate)("rapid")}
|
|
11659
|
+
`;class ep extends H.Filter{}const ap=ep.compose({baseName:"filter",template:Xc,styles:(e,a)=>b.css`
|
|
11660
|
+
${H.foundationFilterStyles}
|
|
11661
11661
|
.filter-wrapper {
|
|
11662
11662
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11663
11663
|
}
|
|
@@ -11684,9 +11684,9 @@
|
|
|
11684
11684
|
flex: 1;
|
|
11685
11685
|
}
|
|
11686
11686
|
`}),rp=b.html`
|
|
11687
|
-
${(0,
|
|
11688
|
-
`;class tp extends
|
|
11689
|
-
${(0,
|
|
11687
|
+
${(0,H.filterBarTemplate)("rapid")}
|
|
11688
|
+
`;class tp extends H.FilterBar{}const op=tp.compose({baseName:"filter-bar",template:rp,styles:(e,a)=>b.css`
|
|
11689
|
+
${(0,H.foundationFilterBarStyles)(e,a)}
|
|
11690
11690
|
.toggle,
|
|
11691
11691
|
.toggle-collapsed {
|
|
11692
11692
|
background: var(--neutral-layer-4);
|
|
@@ -11705,8 +11705,8 @@
|
|
|
11705
11705
|
.filter-bar {
|
|
11706
11706
|
background: var(--neutral-layer-3);
|
|
11707
11707
|
}
|
|
11708
|
-
`}),{defaultConfig:ip,shadowOptions:np,styles:lp,template:gp}=mc(
|
|
11709
|
-
${(0,
|
|
11708
|
+
`}),{defaultConfig:ip,shadowOptions:np,styles:lp,template:gp}=mc(H.foundationFlexLayout);class sp extends H.Flipper{}const dp=sp.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11709
|
+
${(0,H.foundationFlipperStyles)(e,a)}
|
|
11710
11710
|
:host {
|
|
11711
11711
|
color: var(--neutral-foreground-rest);
|
|
11712
11712
|
}
|
|
@@ -11725,8 +11725,8 @@
|
|
|
11725
11725
|
background: var(--accent-fill-rest);
|
|
11726
11726
|
color: var(--neutral-foreground-rest);
|
|
11727
11727
|
}
|
|
11728
|
-
`,shadowOptions:
|
|
11729
|
-
${
|
|
11728
|
+
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),cp=b.css`
|
|
11729
|
+
${H.foundationFlyoutStyles}
|
|
11730
11730
|
div.flyout {
|
|
11731
11731
|
background-color: var(--neutral-layer-2);
|
|
11732
11732
|
border-color: var(--neutral-fill-hover);
|
|
@@ -11774,8 +11774,8 @@
|
|
|
11774
11774
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11775
11775
|
}
|
|
11776
11776
|
`,pp=b.html`
|
|
11777
|
-
${(0,
|
|
11778
|
-
`,up=
|
|
11777
|
+
${(0,H.getPrefixedFlyout)("rapid")}
|
|
11778
|
+
`,up=H.defaultFlyoutConfig,hp=H.foundationFlyoutShadowOptions;class mp extends H.Flyout{}const bp=mp.compose(Object.assign({baseName:"flyout",shadowOptions:hp,styles:cp,template:pp},up)),{defaultConfig:vp,shadowOptions:fp,styles:wp,template:yp}=mc(H.foundationGridLayout),{defaultConfig:xp,shadowOptions:kp,styles:zp,template:Sp}=mc(H.foundationGridLayoutItem);class Cp extends H.HorizontalScroll{}const $p={nextFlipper:b.html`
|
|
11779
11779
|
<rapid-flipper
|
|
11780
11780
|
@click="${e=>e.scrollToNext()}"
|
|
11781
11781
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -11786,12 +11786,12 @@
|
|
|
11786
11786
|
direction="previous"
|
|
11787
11787
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11788
11788
|
></rapid-flipper>
|
|
11789
|
-
`},Ap=Cp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,
|
|
11790
|
-
${(0,
|
|
11791
|
-
`,shadowOptions:
|
|
11792
|
-
${(0,
|
|
11793
|
-
`,shadowOptions:
|
|
11794
|
-
${(0,
|
|
11789
|
+
`},Ap=Cp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11790
|
+
${(0,H.foundationHorizontalScrollStyles)(e,a)}
|
|
11791
|
+
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},$p));class Op extends H.Icon{}const Tp=H.defaultIconConfig,Fp=H.foundationIconShadowOptions,Dp=Op.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
|
|
11792
|
+
${(0,H.foundationIconStyles)(e,a)}
|
|
11793
|
+
`,shadowOptions:Fp},Tp));class Rp extends H.Listbox{}const Np=Rp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11794
|
+
${(0,H.foundationListboxStyles)(e,a)}
|
|
11795
11795
|
|
|
11796
11796
|
:host {
|
|
11797
11797
|
padding: 0;
|
|
@@ -11801,8 +11801,8 @@
|
|
|
11801
11801
|
::slotted(*:last-child) {
|
|
11802
11802
|
border-bottom: none;
|
|
11803
11803
|
}
|
|
11804
|
-
`,shadowOptions:
|
|
11805
|
-
${(0,
|
|
11804
|
+
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Lp extends H.ListboxOption{}const Mp=Lp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11805
|
+
${(0,H.foundationListboxOptionStyles)(e,a)}
|
|
11806
11806
|
:host {
|
|
11807
11807
|
border-radius: 0;
|
|
11808
11808
|
padding: 0 calc(var(--design-unit) * 4px);
|
|
@@ -11818,15 +11818,15 @@
|
|
|
11818
11818
|
background: var(--neutral-layer-4);
|
|
11819
11819
|
color: var(--accent-fill-rest);
|
|
11820
11820
|
}
|
|
11821
|
-
`,shadowOptions:
|
|
11822
|
-
${(0,
|
|
11821
|
+
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class Ip extends H.Menu{}const jp=Ip.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,H.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11822
|
+
${(0,H.foundationMenuStyles)(e,a)}
|
|
11823
11823
|
:host {
|
|
11824
11824
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11825
11825
|
color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
|
|
11826
11826
|
padding: 0;
|
|
11827
11827
|
}
|
|
11828
|
-
`,shadowOptions:
|
|
11829
|
-
${(0,
|
|
11828
|
+
`,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Ep=H.foundationMenuItemShadowOptions;class Pp extends H.MenuItem{}const Bp=Pp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11829
|
+
${(0,H.foundationMenuItemStyles)(e,a)}
|
|
11830
11830
|
:host {
|
|
11831
11831
|
margin: 0;
|
|
11832
11832
|
|
|
@@ -11861,10 +11861,10 @@
|
|
|
11861
11861
|
background: ${f.neutralFillStealthHover}
|
|
11862
11862
|
color: ${f.neutralForegroundRest}
|
|
11863
11863
|
*/
|
|
11864
|
-
`,shadowOptions:Ep},
|
|
11864
|
+
`,shadowOptions:Ep},H.defaultMenuItemConfig)),Gp=b.css`
|
|
11865
11865
|
${Dc}
|
|
11866
|
-
`,_p=
|
|
11867
|
-
${
|
|
11866
|
+
`,_p=H.defaultModalConfig,Up=H.foundationModalTemplate,Hp=H.foundationModalShadowOptions;class Vp extends H.Modal{}const Yp=Vp.compose(Object.assign({baseName:"modal",shadowOptions:Hp,styles:Gp,template:Up},_p)),Qp=b.css`
|
|
11867
|
+
${H.multiselectStyles}
|
|
11868
11868
|
|
|
11869
11869
|
#display-field {
|
|
11870
11870
|
height: calc(
|
|
@@ -11940,8 +11940,8 @@
|
|
|
11940
11940
|
cursor: not-allowed;
|
|
11941
11941
|
}
|
|
11942
11942
|
`,Wp=b.html`
|
|
11943
|
-
${(0,
|
|
11944
|
-
`;class qp extends
|
|
11943
|
+
${(0,H.getPrefixedMultiselect)("rapid")}
|
|
11944
|
+
`;class qp extends H.Multiselect{}const Jp=H.defaultMultiselectConfig,Zp=H.foundationMultiselectShadowOptions,Kp=qp.compose(Object.assign({baseName:"multiselect",template:Wp,styles:Qp,shadowOptions:Zp},Jp));class Xp extends H.NumberField{}const eu=H.defaultNumberFieldConfig,au=H.foundationNumberFieldTemplate,ru=H.foundationNumberFieldShadowOptions,tu=Xp.compose(Object.assign({baseName:"number-field",template:au,styles:(e,a)=>b.css`
|
|
11945
11945
|
:host {
|
|
11946
11946
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11947
11947
|
}
|
|
@@ -12026,12 +12026,12 @@
|
|
|
12026
12026
|
.control:focus-visible {
|
|
12027
12027
|
outline: none;
|
|
12028
12028
|
}
|
|
12029
|
-
`,shadowOptions:ru},eu));class ou extends
|
|
12030
|
-
${(0,
|
|
12031
|
-
`,shadowOptions:
|
|
12032
|
-
${(0,
|
|
12033
|
-
`,shadowOptions:
|
|
12034
|
-
${(0,
|
|
12029
|
+
`,shadowOptions:ru},eu));class ou extends H.Progress{}const iu=ou.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12030
|
+
${(0,H.foundationProgressStyles)(e,a)}
|
|
12031
|
+
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class nu extends H.ProgressRing{}const lu=nu.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,H.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12032
|
+
${(0,H.foundationProgressRingStyles)(e,a)}
|
|
12033
|
+
`,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class gu extends H.Radio{}const su=gu.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12034
|
+
${(0,H.foundationRadioStyles)(e,a)}
|
|
12035
12035
|
:host {
|
|
12036
12036
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
12037
12037
|
}
|
|
@@ -12062,14 +12062,14 @@
|
|
|
12062
12062
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
12063
12063
|
background: var(--accent-fill-rest);
|
|
12064
12064
|
}
|
|
12065
|
-
`,shadowOptions:
|
|
12066
|
-
${(0,
|
|
12067
|
-
`,shadowOptions:
|
|
12068
|
-
${
|
|
12065
|
+
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class du extends H.RadioGroup{}const cu=du.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12066
|
+
${(0,H.foundationRadioGroupStyles)(e,a)}
|
|
12067
|
+
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),pu=b.css`
|
|
12068
|
+
${H.foundationSearchBarStyles}
|
|
12069
12069
|
`,uu=b.html`
|
|
12070
|
-
${(0,
|
|
12071
|
-
`;class hu extends
|
|
12072
|
-
${(0,
|
|
12070
|
+
${(0,H.getPrefixedSearchBar)("rapid")}
|
|
12071
|
+
`;class hu extends H.SearchBar{}const mu=hu.compose(Object.assign({baseName:"search-bar",template:uu,styles:pu,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class bu extends H.SearchBarCombobox{}const vu=bu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12072
|
+
${(0,H.foundationSearchBarComboboxStyles)(e,a)}
|
|
12073
12073
|
|
|
12074
12074
|
:host {
|
|
12075
12075
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -12091,7 +12091,7 @@
|
|
|
12091
12091
|
|
|
12092
12092
|
:host([open][position='below']) .listbox {
|
|
12093
12093
|
padding: 0;
|
|
12094
|
-
margin-top: calc(${
|
|
12094
|
+
margin-top: calc(${H.designUnit} * 1px);
|
|
12095
12095
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
12096
12096
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
12097
12097
|
}
|
|
@@ -12099,8 +12099,8 @@
|
|
|
12099
12099
|
:host .listbox ::slotted(*:last-child) {
|
|
12100
12100
|
border-bottom: none;
|
|
12101
12101
|
}
|
|
12102
|
-
`,shadowOptions:
|
|
12103
|
-
${(0,
|
|
12102
|
+
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class fu extends H.SegmentedControl{}const wu=fu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12103
|
+
${(0,H.foundationSegmentedControlStyles)(e,a)}
|
|
12104
12104
|
:host {
|
|
12105
12105
|
font-family: var(--body-font);
|
|
12106
12106
|
}
|
|
@@ -12135,8 +12135,8 @@
|
|
|
12135
12135
|
border-color: transparent;
|
|
12136
12136
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
12137
12137
|
}
|
|
12138
|
-
`,shadowOptions:undefined},{}));class yu extends
|
|
12139
|
-
${(0,
|
|
12138
|
+
`,shadowOptions:undefined},{}));class yu extends H.Radio{}const xu=yu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12139
|
+
${(0,H.foundationSegmentedItemStyles)(e,a)}
|
|
12140
12140
|
:host {
|
|
12141
12141
|
color: var(--neutral-fill-strong-rest);
|
|
12142
12142
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
@@ -12147,8 +12147,8 @@
|
|
|
12147
12147
|
:host([aria-checked='true']) {
|
|
12148
12148
|
color: color-mix(in srgb, white, transparent 10%);
|
|
12149
12149
|
}
|
|
12150
|
-
`,shadowOptions:undefined},{}));class ku extends
|
|
12151
|
-
${(0,
|
|
12150
|
+
`,shadowOptions:undefined},{}));class ku extends H.Select{}const zu=ku.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12151
|
+
${(0,H.foundationSelectStyles)(e,a)}
|
|
12152
12152
|
:host {
|
|
12153
12153
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
12154
12154
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -12219,15 +12219,15 @@
|
|
|
12219
12219
|
::slotted([role='option']) {
|
|
12220
12220
|
margin: 0;
|
|
12221
12221
|
}
|
|
12222
|
-
`,shadowOptions:
|
|
12223
|
-
${(0,
|
|
12222
|
+
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class Su extends H.Skeleton{}const Cu=Su.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12223
|
+
${(0,H.foundationSkeletonStyles)(e,a)}
|
|
12224
12224
|
:host {
|
|
12225
12225
|
--skeleton-fill: var(
|
|
12226
12226
|
--neutral-fill-stealth-rest
|
|
12227
12227
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
12228
12228
|
}
|
|
12229
|
-
`,shadowOptions:
|
|
12230
|
-
${(0,
|
|
12229
|
+
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class $u extends H.Slider{}const Au=$u.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12230
|
+
${(0,H.foundationSliderStyles)(e,a)}
|
|
12231
12231
|
|
|
12232
12232
|
.thumb-cursor {
|
|
12233
12233
|
background: var(--accent-fill-rest);
|
|
@@ -12284,8 +12284,8 @@
|
|
|
12284
12284
|
background-color: var(--neutral-stroke-rest);
|
|
12285
12285
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12286
12286
|
}
|
|
12287
|
-
`,shadowOptions:
|
|
12288
|
-
${(0,
|
|
12287
|
+
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class Ou extends H.SliderLabel{}const Tu=Ou.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12288
|
+
${(0,H.foundationSliderLabelStyles)(e,a)}
|
|
12289
12289
|
.label {
|
|
12290
12290
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
12291
12291
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -12295,8 +12295,8 @@
|
|
|
12295
12295
|
text-align: center;
|
|
12296
12296
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12297
12297
|
}
|
|
12298
|
-
`,shadowOptions:
|
|
12299
|
-
${
|
|
12298
|
+
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),Fu=b.css`
|
|
12299
|
+
${H.foundationSnackbarStyles}
|
|
12300
12300
|
.snackbar {
|
|
12301
12301
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
12302
12302
|
background-color: var(--neutral-layer-1);
|
|
@@ -12317,11 +12317,11 @@
|
|
|
12317
12317
|
gap: calc(var(--design-unit) * 2px);
|
|
12318
12318
|
}
|
|
12319
12319
|
`,Du=b.html`
|
|
12320
|
-
${(0,
|
|
12321
|
-
`,Ru=
|
|
12322
|
-
${(0,
|
|
12320
|
+
${(0,H.getPrefixedSnackbar)("rapid")}
|
|
12321
|
+
`,Ru=H.foundationSnackbarShadowOptions;class Nu extends H.Snackbar{}const Lu=Nu.compose({baseName:"snackbar",shadowOptions:Ru,styles:Fu,template:Du});class Mu extends H.StackingIcons{}const Iu=Mu.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
|
|
12322
|
+
${(0,H.foundationStackingIconsStyles)(e,a)}
|
|
12323
12323
|
`}),ju=b.css`
|
|
12324
|
-
${
|
|
12324
|
+
${H.foundationStepperStyles}
|
|
12325
12325
|
|
|
12326
12326
|
:host {
|
|
12327
12327
|
font-family: var(--body-font);
|
|
@@ -12368,11 +12368,11 @@
|
|
|
12368
12368
|
color: var(--neutral-foreground-hint);
|
|
12369
12369
|
}
|
|
12370
12370
|
`,Eu=b.html`
|
|
12371
|
-
${(0,
|
|
12372
|
-
`;class Pu extends
|
|
12373
|
-
${(0,
|
|
12374
|
-
`;class _u extends
|
|
12375
|
-
${(0,
|
|
12371
|
+
${(0,H.getPrefixedStepper)("rapid")}
|
|
12372
|
+
`;class Pu extends H.Stepper{}const Bu=Pu.compose(Object.assign({baseName:"stepper",template:Eu,styles:ju,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Gu=b.html`
|
|
12373
|
+
${(0,H.getPrefixedStepperTab)("rapid")}
|
|
12374
|
+
`;class _u extends H.StepperTab{}const Uu=_u.compose(Object.assign({baseName:"stepper-tab",template:Gu,styles:(e,a)=>b.css`
|
|
12375
|
+
${(0,H.foundationStepperTabStyles)(e,a)}
|
|
12376
12376
|
|
|
12377
12377
|
rapid-tree-item {
|
|
12378
12378
|
--design-unit: 2.5;
|
|
@@ -12431,8 +12431,8 @@
|
|
|
12431
12431
|
:host([error]) .step-title {
|
|
12432
12432
|
color: var(--error-color);
|
|
12433
12433
|
}
|
|
12434
|
-
`,shadowOptions:
|
|
12435
|
-
${(0,
|
|
12434
|
+
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class Hu extends H.StepperTabPanel{}const Vu=Hu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig)),Yu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Qu extends H.Switch{}const Wu=Qu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12435
|
+
${(0,H.foundationSwitchStyles)(e,a)}
|
|
12436
12436
|
:host {
|
|
12437
12437
|
--primary-gradient-angle: -113.5deg;
|
|
12438
12438
|
}
|
|
@@ -12468,8 +12468,8 @@
|
|
|
12468
12468
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12469
12469
|
background: var(--accent-fill-rest);
|
|
12470
12470
|
}
|
|
12471
|
-
`,shadowOptions:
|
|
12472
|
-
${(0,
|
|
12471
|
+
`,shadowOptions:H.foundationSwitchShadowOptions},Yu));class qu extends H.Tab{}const Ju=qu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12472
|
+
${(0,H.foundationTabStyles)(e,a)}
|
|
12473
12473
|
:host {
|
|
12474
12474
|
background-color: ${f.neutralLayer2};
|
|
12475
12475
|
border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px);
|
|
@@ -12481,13 +12481,13 @@
|
|
|
12481
12481
|
:host([aria-selected='true']:hover) {
|
|
12482
12482
|
background-color: ${f.neutralLayer4};
|
|
12483
12483
|
}
|
|
12484
|
-
`,shadowOptions:
|
|
12485
|
-
${(0,
|
|
12484
|
+
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class Zu extends H.TabPanel{}const Ku=Zu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12485
|
+
${(0,H.foundationTabPanelStyles)(e,a)}
|
|
12486
12486
|
:host {
|
|
12487
12487
|
padding: 0;
|
|
12488
12488
|
}
|
|
12489
|
-
`,shadowOptions:
|
|
12490
|
-
${(0,
|
|
12489
|
+
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class Xu extends H.Tabs{}const eh=Xu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12490
|
+
${(0,H.foundationTabsStyles)(e,a)}
|
|
12491
12491
|
:host {
|
|
12492
12492
|
--base-height-multiplier: 9;
|
|
12493
12493
|
|
|
@@ -12561,8 +12561,8 @@
|
|
|
12561
12561
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12562
12562
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12563
12563
|
}
|
|
12564
|
-
`,shadowOptions:
|
|
12565
|
-
${(0,
|
|
12564
|
+
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class ah extends H.TextArea{}const rh=ah.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12565
|
+
${(0,H.foundationTextAreaStyles)(e,a)}
|
|
12566
12566
|
|
|
12567
12567
|
:host .control {
|
|
12568
12568
|
height: 100%;
|
|
@@ -12587,8 +12587,8 @@
|
|
|
12587
12587
|
font-weight: 700;
|
|
12588
12588
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12589
12589
|
}
|
|
12590
|
-
`,shadowOptions:
|
|
12591
|
-
${(0,
|
|
12590
|
+
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class th extends H.TextField{}const oh=th.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12591
|
+
${(0,H.foundationTextFieldStyles)(e,a)}
|
|
12592
12592
|
|
|
12593
12593
|
:host {
|
|
12594
12594
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
@@ -12624,8 +12624,8 @@
|
|
|
12624
12624
|
font-weight: 700;
|
|
12625
12625
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12626
12626
|
}
|
|
12627
|
-
`,shadowOptions:
|
|
12628
|
-
${
|
|
12627
|
+
`,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),ih=b.css`
|
|
12628
|
+
${H.foundationToastStyles}
|
|
12629
12629
|
.toast {
|
|
12630
12630
|
background-color: ${f.neutralLayer1};
|
|
12631
12631
|
border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px);
|
|
@@ -12679,8 +12679,8 @@
|
|
|
12679
12679
|
:host([notify='serious']) .toast::after {
|
|
12680
12680
|
background-color: var(--error-color);
|
|
12681
12681
|
}
|
|
12682
|
-
`,nh=
|
|
12683
|
-
${(0,
|
|
12682
|
+
`,nh=H.defaultToastConfig,lh=H.foundationToastShadowOptions;class gh extends H.Toast{}const sh=gh.compose(Object.assign({baseName:"toast",shadowOptions:lh,styles:ih,template:H.foundationToastTemplate},nh));class dh extends H.Toolbar{}const ch=dh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12683
|
+
${(0,H.foundationToolbarStyles)(e,a)}
|
|
12684
12684
|
:host {
|
|
12685
12685
|
align-items: center;
|
|
12686
12686
|
color: var(--neutral-foreground-rest);
|
|
@@ -12689,8 +12689,8 @@
|
|
|
12689
12689
|
.positioning-region {
|
|
12690
12690
|
align-items: center;
|
|
12691
12691
|
}
|
|
12692
|
-
`,shadowOptions:
|
|
12693
|
-
${(0,
|
|
12692
|
+
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class ph extends H.Tooltip{}const uh=ph.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12693
|
+
${(0,H.foundationTooltipStyles)(e,a)}
|
|
12694
12694
|
|
|
12695
12695
|
:host {
|
|
12696
12696
|
visibility: visible;
|
|
@@ -12712,8 +12712,8 @@
|
|
|
12712
12712
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12713
12713
|
margin-left: 0;
|
|
12714
12714
|
}
|
|
12715
|
-
`,shadowOptions:
|
|
12716
|
-
${(0,
|
|
12715
|
+
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class hh extends H.TreeItem{}const mh={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>'},bh=hh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12716
|
+
${(0,H.foundationTreeItemStyles)(e,a)}
|
|
12717
12717
|
:host {
|
|
12718
12718
|
font-size: var(--type-ramp-base-font-size);
|
|
12719
12719
|
color: var(--neutral-foreground-rest);
|
|
@@ -12751,12 +12751,12 @@
|
|
|
12751
12751
|
width: calc(var(--design-unit) * 3px);
|
|
12752
12752
|
height: calc(var(--design-unit) * 3px);
|
|
12753
12753
|
}
|
|
12754
|
-
`,shadowOptions:
|
|
12755
|
-
${(0,
|
|
12756
|
-
`,shadowOptions:
|
|
12757
|
-
${(0,
|
|
12758
|
-
`;class yh extends
|
|
12759
|
-
${(0,
|
|
12754
|
+
`,shadowOptions:H.foundationTreeItemShadowOptions},mh));class vh extends H.TreeView{}const fh=vh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12755
|
+
${(0,H.foundationTreeViewStyles)(e,a)}
|
|
12756
|
+
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),wh=b.html`
|
|
12757
|
+
${(0,H.getPrefixedUrlInput)("rapid")}
|
|
12758
|
+
`;class yh extends H.UrlInput{}const xh={designSystemProvider:xd,rapidAccordion:zd,rapidAccordionItem:Cd,rapidActionsMenu:Ad,rapidAnchor:Md,rapidAnchoredRegion:jd,rapidAvatar:Pd,rapidBadge:Gd,rapidBanner:Vd,rapidBreadcrumb:Qd,rapidBreadcrumbItem:qd,rapidButton:Zd,rapidCalendar:Xd,rapidCard:ac,rapidCategorizedMultiselect:lc,rapidCheckbox:sc,rapidCombobox:cc,rapidConnectionIndicator:uc,rapidDataGrid:()=>(0,H.foundationDataGrid)(),rapidDataGridCell:()=>(0,H.foundationDataGridCell)(),rapidDataGridRow:()=>(0,H.foundationDataGridRow)(),rapidDatePicker:Fc,rapidDialog:Ic,rapidDisclosure:Ec,rapidDivider:Bc,rapidDropdownMenu:_c,rapidErrorBoundary:()=>(0,H.foundationErrorBoundary)(),rapidFileUpload:Kc,rapidFilter:ap,rapidFilterBar:op,rapidFlexLayout:()=>(0,H.foundationFlexLayout)(),rapidFlipper:dp,rapidFlyout:bp,rapidGridLayout:()=>(0,H.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,H.foundationGridLayoutItem)(),rapidHorizontalScroll:Ap,rapidIcon:Dp,rapidListbox:Np,rapidListboxOption:Mp,rapidMenu:jp,rapidMenuItem:Bp,rapidModal:Yp,rapidMultiselect:Kp,rapidNumberField:tu,rapidProgress:iu,rapidProgressRing:lu,rapidRadio:su,rapidRadioGroup:cu,rapidSearchBar:mu,rapidSearchBarCombobox:vu,rapidSegmentedControl:wu,rapidSegmentedItem:xu,rapidSelect:zu,rapidSkeleton:Cu,rapidSlider:Au,rapidSliderLabel:Tu,rapidSnackbar:Lu,rapidStackingIcons:Iu,rapidStepper:Bu,rapidStepperTab:Uu,rapidStepperTabPanel:Vu,rapidSwitch:Wu,rapidTab:Ju,rapidTabPanel:Ku,rapidTabs:eh,rapidTextArea:rh,rapidTextField:oh,rapidToast:sh,rapidToolbar:ch,rapidTooltip:uh,rapidTreeItem:bh,rapidTreeView:fh,rapidUrlInput:yh.compose(Object.assign({baseName:"url-input",template:wh,styles:(e,a)=>b.css`
|
|
12759
|
+
${(0,H.foundationUrlInputStyles)(e,a)}
|
|
12760
12760
|
a {
|
|
12761
12761
|
color: var(--accent-fill-rest);
|
|
12762
12762
|
opacity: 65%;
|
|
@@ -12771,7 +12771,7 @@
|
|
|
12771
12771
|
font-size: var(--type-ramp-base-font-size);
|
|
12772
12772
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12773
12773
|
}
|
|
12774
|
-
`,shadowOptions:
|
|
12774
|
+
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class kh extends Ki{}const zh=kh.compose({baseName:"date-editor",styles:Xi,template:en("rapid")});class Sh extends on{}const Ch=Sh.compose({baseName:"multiselect-editor",styles:nn,template:ln("rapid")});class $h extends cn{}const Ah=$h.compose({baseName:"select-editor",styles:pn,template:un("rapid")});class Oh extends vn{}const Th=Oh.compose({baseName:"number-editor",styles:fn,template:wn("rapid")});class Fh extends zn{}const Dh=Fh.compose({baseName:"string-editor",styles:Sn,template:Cn("rapid")});class Rh extends Tn{}const Nh=Rh.compose({baseName:"editable-renderer",styles:Fn,template:Dn("rapid")});class Lh extends jn{}const Mh=Lh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
|
|
12775
12775
|
${Pn}
|
|
12776
12776
|
`,template:b.html`
|
|
12777
12777
|
<div class="action-container" part="action-container">
|
|
@@ -12794,7 +12794,7 @@
|
|
|
12794
12794
|
name="${e=>e.params.headerName}"
|
|
12795
12795
|
:definition=${e=>e.params}
|
|
12796
12796
|
></rapid-actions-menu>
|
|
12797
|
-
`});class Eh extends
|
|
12797
|
+
`});class Eh extends Wn{}const Ph=Eh.compose({baseName:"boolean-renderer",styles:qn,template:Jn("rapid")});const Bh=class extends nl{}.compose({baseName:"grid-text-renderer",styles:ll,template:gl("rapid")});const Gh=class extends cl{}.compose({baseName:"select-renderer",styles:pl,template:ul("rapid")}),_h={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Uh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Hh}=v.DesignToken,Vh={backgroundColor:Hh("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Uh.backgroundSwatch:_h.backgroundSwatch)),borderColor:Hh("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Uh.borderSwatch:_h.borderSwatch)),foregroundColor:Hh("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Uh.foregroundSwatch:_h.foregroundSwatch)),headerForegroundColor:Hh("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Uh.headerForegroundSwatch:_h.headerForegroundSwatch)),rowHoverColor:Hh("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Uh.rowHoverSwatch:_h.rowHoverSwatch))},Yh=b.css`
|
|
12798
12798
|
.ag-theme-genesis-rapid,
|
|
12799
12799
|
.ag-theme-genesis-rapid-dark {
|
|
12800
12800
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13315,7 +13315,7 @@
|
|
|
13315
13315
|
}
|
|
13316
13316
|
`,Kh=b.css`
|
|
13317
13317
|
/* All the AG themes */
|
|
13318
|
-
${
|
|
13318
|
+
${yg}
|
|
13319
13319
|
|
|
13320
13320
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
13321
13321
|
${qh}
|
|
@@ -13324,7 +13324,7 @@
|
|
|
13324
13324
|
.error {
|
|
13325
13325
|
border-color: ${$e.shortPink} !important;
|
|
13326
13326
|
}
|
|
13327
|
-
`,Xh=
|
|
13327
|
+
`,Xh=xg("rapid"),em="ag-theme-genesis-rapid-dark";const am=Tg,rm=Fg,tm={rapidAgEditableRenderer:Nh,rapidAgActionRenderer:Mh,rapidAgActionsMenuRenderer:jh,rapidAgBooleanRenderer:Ph,rapidAgTextRenderer:Bh,rapidAgSelectRenderer:Gh,rapidAgDateEditor:zh,rapidAgMultiselectEditor:Ch,rapidAgSelectEditor:Ah,rapidAgNumberEditor:Th,rapidAgStringEditor:Dh,rapidGridPro:class extends Og{constructor(){super(...arguments),this.theme=em}themeChanged(e,a){(e||a===em)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Yi.action]:Lh,[Yi.actionsMenu]:Ih,[Yi.boolean]:Eh,[Yi.editable]:Rh,[Yi.selectEditor]:$h,[Yi.numberEditor]:Oh,[Yi.multiselectEditor]:Sh,[Yi.dateEditor]:kh,[Yi.stringEditor]:Fh};(this.theme===Wh||this.theme===Jh)&&(this.headerHeight=null!==(a=e.headerHeight)&&void 0!==a?a:32,this.rowHeight=null!==(r=e.rowHeight)&&void 0!==r?r:32),super.gridOptions=e}}.compose(Object.assign({baseName:"grid-pro",template:Xh,styles:Kh,shadowOptions:am},rm)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var om,im=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(om||(om={}));const nm={Roboto:Ye,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},lm=nm["Segoe UI"],gm=b.css`
|
|
13328
13328
|
${(0,v.display)("block")} :host {
|
|
13329
13329
|
width: 100%;
|
|
13330
13330
|
display: inline-flex;
|
|
@@ -13664,7 +13664,7 @@
|
|
|
13664
13664
|
</div>
|
|
13665
13665
|
</div>
|
|
13666
13666
|
${(0,b.when)((e=>!e.customDesignMode),b.html`
|
|
13667
|
-
<alpha-checkbox :checked="${(0,
|
|
13667
|
+
<alpha-checkbox :checked="${(0,el.O)((e=>e.preserveOptions),"boolean")}">
|
|
13668
13668
|
Preserve selected options when changing design systems
|
|
13669
13669
|
</alpha-checkbox>
|
|
13670
13670
|
`)}
|
|
@@ -13679,7 +13679,7 @@
|
|
|
13679
13679
|
<slot></slot>
|
|
13680
13680
|
</div>
|
|
13681
13681
|
</template>
|
|
13682
|
-
`,dm=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(nm).find((a=>nm[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),cm=dm(Ze),pm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},um={accent:"primary",neutral:"secondary",font:"white"},hm=dm(l.designTokens),mm=dm(wd),bm={zero:{prefix:"zero",tokenDefaults:cm,buttons:pm,badge:um},alpha:{prefix:"alpha",tokenDefaults:hm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:mm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:pm,badge:um}};let vm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=cm.luminance===f.StandardLuminance.DarkMode,this.luminance=cm.luminance,this.neutralColor=cm.neutralColor,this.accentColor=cm.accentColor,this.bodyFont=cm.bodyFont,this.density=cm.density,this.borderRadius=cm.borderRadius,this.strokeWidth=cm.strokeWidth,this.designUnit=cm.designUnit,this.baseFontSize=cm.baseFontSize,this.baseLineHeight=cm.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof v.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof f.Combobox||e.target instanceof f.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof v.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?f.StandardLuminance.DarkMode:f.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=dm(a);bm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,im.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(bm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,im.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:bm[this.ds].prefix,buttonAppearanceAccent:bm[this.ds].buttons.accent,buttonAppearanceNeutral:bm[this.ds].buttons.neutral,buttonAppearanceOutline:bm[this.ds].buttons.outline,buttonAppearanceText:bm[this.ds].buttons.text,badgeAppearanceAccent:bm[this.ds].badge.accent,badgeAppearanceNeutral:bm[this.ds].badge.neutral,badgeText:bm[this.ds].badge.font};this.$emit(om.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(bm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:nm[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(om.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===f.StandardLuminance.DarkMode,b.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ve(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(om.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,im.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],vm.prototype,"customDesignMode",void 0),(0,im.__decorate)([b.observable],vm.prototype,"designSystems",void 0),(0,im.__decorate)([b.observable],vm.prototype,"ds",void 0),(0,im.__decorate)([b.attr],vm.prototype,"darkMode",void 0),(0,im.__decorate)([b.observable],vm.prototype,"neutralColor",void 0),(0,im.__decorate)([b.observable],vm.prototype,"accentColor",void 0),(0,im.__decorate)([b.observable],vm.prototype,"bodyFont",void 0),(0,im.__decorate)([b.observable],vm.prototype,"density",void 0),(0,im.__decorate)([b.observable],vm.prototype,"borderRadius",void 0),(0,im.__decorate)([b.observable],vm.prototype,"strokeWidth",void 0),(0,im.__decorate)([b.observable],vm.prototype,"designUnit",void 0),(0,im.__decorate)([b.observable],vm.prototype,"baseFontSize",void 0),(0,im.__decorate)([b.observable],vm.prototype,"baseLineHeight",void 0),(0,im.__decorate)([b.observable],vm.prototype,"preserveOptions",void 0),vm=(0,im.__decorate)([(0,b.customElement)({name:"design-system-editor",template:sm,styles:gm})],vm);const fm=(0,k.createLogger)("documentation-components"),wm=e=>{const a=(e=>{const a=(0,Ae.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},ym=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},xm=(e,a)=>{const r=wm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=wm(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,ym(f.typeRampBaseFontSize,
|
|
13682
|
+
`,dm=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(nm).find((a=>nm[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),cm=dm(Ze),pm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},um={accent:"primary",neutral:"secondary",font:"white"},hm=dm(l.designTokens),mm=dm(wd),bm={zero:{prefix:"zero",tokenDefaults:cm,buttons:pm,badge:um},alpha:{prefix:"alpha",tokenDefaults:hm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:mm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:pm,badge:um}};let vm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=cm.luminance===f.StandardLuminance.DarkMode,this.luminance=cm.luminance,this.neutralColor=cm.neutralColor,this.accentColor=cm.accentColor,this.bodyFont=cm.bodyFont,this.density=cm.density,this.borderRadius=cm.borderRadius,this.strokeWidth=cm.strokeWidth,this.designUnit=cm.designUnit,this.baseFontSize=cm.baseFontSize,this.baseLineHeight=cm.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof v.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof f.Combobox||e.target instanceof f.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof v.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?f.StandardLuminance.DarkMode:f.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=dm(a);bm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,im.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(bm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,im.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:bm[this.ds].prefix,buttonAppearanceAccent:bm[this.ds].buttons.accent,buttonAppearanceNeutral:bm[this.ds].buttons.neutral,buttonAppearanceOutline:bm[this.ds].buttons.outline,buttonAppearanceText:bm[this.ds].buttons.text,badgeAppearanceAccent:bm[this.ds].badge.accent,badgeAppearanceNeutral:bm[this.ds].badge.neutral,badgeText:bm[this.ds].badge.font};this.$emit(om.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(bm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:nm[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(om.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===f.StandardLuminance.DarkMode,b.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ve(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(om.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,im.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],vm.prototype,"customDesignMode",void 0),(0,im.__decorate)([b.observable],vm.prototype,"designSystems",void 0),(0,im.__decorate)([b.observable],vm.prototype,"ds",void 0),(0,im.__decorate)([b.attr],vm.prototype,"darkMode",void 0),(0,im.__decorate)([b.observable],vm.prototype,"neutralColor",void 0),(0,im.__decorate)([b.observable],vm.prototype,"accentColor",void 0),(0,im.__decorate)([b.observable],vm.prototype,"bodyFont",void 0),(0,im.__decorate)([b.observable],vm.prototype,"density",void 0),(0,im.__decorate)([b.observable],vm.prototype,"borderRadius",void 0),(0,im.__decorate)([b.observable],vm.prototype,"strokeWidth",void 0),(0,im.__decorate)([b.observable],vm.prototype,"designUnit",void 0),(0,im.__decorate)([b.observable],vm.prototype,"baseFontSize",void 0),(0,im.__decorate)([b.observable],vm.prototype,"baseLineHeight",void 0),(0,im.__decorate)([b.observable],vm.prototype,"preserveOptions",void 0),vm=(0,im.__decorate)([(0,b.customElement)({name:"design-system-editor",template:sm,styles:gm})],vm);const fm=(0,k.createLogger)("documentation-components"),wm=e=>{const a=(e=>{const a=(0,Ae.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},ym=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},xm=(e,a)=>{const r=wm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=wm(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,ym(f.typeRampBaseFontSize,He.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,ym(f.typeRampBaseFontSize,He.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,ym(f.typeRampBaseLineHeight,He.Du.plusSix,a))},km=b.css`
|
|
13683
13683
|
:host {
|
|
13684
13684
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13685
13685
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13961,6 +13961,9 @@
|
|
|
13961
13961
|
<${e}-button appearance="${e=>e.buttonAppearanceAccent}" slot="bottom" @click="${e=>e.closeDialog("dialog")}">
|
|
13962
13962
|
Close this dialog
|
|
13963
13963
|
</${e}-button>
|
|
13964
|
+
<${e}-button appearance="${e=>e.buttonAppearanceAccent}" slot="bottom" >
|
|
13965
|
+
Confirm
|
|
13966
|
+
</${e}-button>
|
|
13964
13967
|
</${e}-dialog>
|
|
13965
13968
|
<div ${(0,b.ref)("errorDialogContainer")}></div>
|
|
13966
13969
|
</div>
|
|
@@ -14232,13 +14235,13 @@
|
|
|
14232
14235
|
flex-grow: 1;
|
|
14233
14236
|
height: 20px;
|
|
14234
14237
|
}
|
|
14235
|
-
`,
|
|
14238
|
+
`,Tm=b.html`
|
|
14236
14239
|
<ul class="colors">
|
|
14237
14240
|
${(0,b.repeat)((e=>e.swatches),b.html`
|
|
14238
14241
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14239
14242
|
`)}
|
|
14240
14243
|
</ul>
|
|
14241
|
-
`;let
|
|
14244
|
+
`;let Fm=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=wm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(om.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,im.__decorate)([b.observable],Fm.prototype,"swatches",void 0),(0,im.__decorate)([b.attr],Fm.prototype,"type",void 0),Fm=(0,im.__decorate)([(0,b.customElement)({name:"color-palette",styles:Om,template:Tm})],Fm);const Dm=b.css`
|
|
14242
14245
|
.preview {
|
|
14243
14246
|
width: 40px;
|
|
14244
14247
|
height: 40px;
|
|
@@ -14573,7 +14576,7 @@
|
|
|
14573
14576
|
margin-top: 24px;
|
|
14574
14577
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14575
14578
|
}
|
|
14576
|
-
`,
|
|
14579
|
+
`,Um=b.html`
|
|
14577
14580
|
<template>
|
|
14578
14581
|
<alpha-tabs>
|
|
14579
14582
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14602,7 +14605,7 @@
|
|
|
14602
14605
|
</alpha-tab-panel>
|
|
14603
14606
|
</alpha-tabs>
|
|
14604
14607
|
</template>
|
|
14605
|
-
`;let
|
|
14608
|
+
`;let Hm=class extends b.FASTElement{};Hm=(0,im.__decorate)([(0,b.customElement)({name:"design-system-preview",template:Um,styles:_m})],Hm);const Vm={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"}]}]}}]},Ym={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"]}}},Qm={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"}]}}}]},Wm={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"]}}}},qm=b.css`
|
|
14606
14609
|
:host {
|
|
14607
14610
|
background: var(--fill-color);
|
|
14608
14611
|
color: var(--neutral-foreground-rest);
|
|
@@ -14657,7 +14660,7 @@
|
|
|
14657
14660
|
</${e}-design-system-provider>
|
|
14658
14661
|
</template>
|
|
14659
14662
|
`)(e.prefix)}
|
|
14660
|
-
`;let Zm=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=Ym,this.uischema=Vm,this.jsonSchemaArray=Wm,this.uiSchemaArray=Qm,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(om.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(om.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(lm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{xm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,im.__decorate)([b.observable],Zm.prototype,"jsonSchema",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"uischema",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"jsonSchemaArray",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"uiSchemaArray",void 0),(0,im.__decorate)([b.attr],Zm.prototype,"prefix",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"provider",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"editedEntity",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"editedEntityArray",void 0),Zm=(0,im.__decorate)([(0,b.customElement)({name:"preview-form",template:Jm,styles:qm})],Zm);const Km=b.css`
|
|
14663
|
+
`;let Zm=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=Ym,this.uischema=Vm,this.jsonSchemaArray=Wm,this.uiSchemaArray=Qm,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(om.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(om.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(lm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{xm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,im.__decorate)([b.observable],Zm.prototype,"jsonSchema",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"uischema",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"jsonSchemaArray",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"uiSchemaArray",void 0),(0,im.__decorate)([b.attr],Zm.prototype,"prefix",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"provider",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"editedEntity",void 0),(0,im.__decorate)([b.observable],Zm.prototype,"editedEntityArray",void 0),Zm=(0,im.__decorate)([(0,b.customElement)({name:"preview-form",template:Jm,styles:qm})],Zm);const Km=[{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}],Xm=b.css`
|
|
14661
14664
|
:host {
|
|
14662
14665
|
background: var(--fill-color);
|
|
14663
14666
|
color: var(--neutral-foreground-rest);
|
|
@@ -14670,17 +14673,36 @@
|
|
|
14670
14673
|
}
|
|
14671
14674
|
|
|
14672
14675
|
.grid-height {
|
|
14673
|
-
height:
|
|
14676
|
+
height: 100%;
|
|
14674
14677
|
}
|
|
14675
|
-
`,
|
|
14678
|
+
`,eb=b.html`
|
|
14676
14679
|
${e=>(e=>b.html`
|
|
14677
14680
|
<template>
|
|
14678
14681
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
14679
14682
|
<div class="grid-height">
|
|
14680
|
-
<${e}-grid-pro
|
|
14683
|
+
<${e}-grid-pro
|
|
14684
|
+
${(0,b.ref)("grid")}
|
|
14685
|
+
rowHeight="45"
|
|
14686
|
+
headerHeight="45"
|
|
14687
|
+
singleClickEdit="true"
|
|
14688
|
+
persist-column-state-key="zero-grid-pro-state"
|
|
14689
|
+
>
|
|
14690
|
+
${(0,b.repeat)((e=>e.multipleCustomFoundationColumnConfigs),b.html`
|
|
14691
|
+
<grid-pro-column :definition=${e=>e}>
|
|
14692
|
+
${(0,b.when)((e=>e.cellRenderer),b.html`
|
|
14693
|
+
<grid-pro-cell
|
|
14694
|
+
:renderer=${e=>e.cellRenderer}
|
|
14695
|
+
:rendererParams=${e=>e.cellRendererParams}
|
|
14696
|
+
></grid-pro-cell>
|
|
14697
|
+
`)}
|
|
14698
|
+
</grid-pro-column>
|
|
14699
|
+
`)}
|
|
14700
|
+
<grid-pro-column :definition=${e=>e.multipleActionsMenuSlottedConfig}></grid-pro-column>
|
|
14701
|
+
<grid-pro-column :definition=${e=>e.singleActionSlottedConfig}></grid-pro-column>
|
|
14702
|
+
</${e}-grid-pro>
|
|
14681
14703
|
</div>
|
|
14682
14704
|
</${e}-design-system-provider>
|
|
14683
14705
|
</template>
|
|
14684
14706
|
`)(e.prefix)}
|
|
14685
|
-
`;let
|
|
14686
|
-
//# sourceMappingURL=
|
|
14707
|
+
`;let ab=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[...Km],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:Yi.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:Yi.actionsMenu,cellRendererParams:{actions:e,buttonAppearance:o,isVertical:t,buttonText:r},cellStyle:{border:"none",overflow:"visible"},field:`${Un(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:Yi.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(om.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(om.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(lm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{xm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,im.__decorate)([b.observable],ab.prototype,"grid",void 0),(0,im.__decorate)([b.attr],ab.prototype,"prefix",void 0),(0,im.__decorate)([b.observable],ab.prototype,"provider",void 0),(0,im.__decorate)([b.observable],ab.prototype,"rowData",void 0),(0,im.__decorate)([b.observable],ab.prototype,"columnDefs",void 0),(0,im.__decorate)([b.observable],ab.prototype,"gridOptions",void 0),ab=(0,im.__decorate)([(0,b.customElement)({name:"preview-grid",template:eb,styles:Xm})],ab),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Ii,Qg),(0,l.provideDesignSystem)().register(l.baseComponents,Wg),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(xh,tm)}}]);
|
|
14708
|
+
//# sourceMappingURL=132.5a0e426a58277fbfd921abbe4b6cdcca.js.map
|