@genesislcap/design-system-configurator 14.183.0 → 14.183.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/{206.206.00d51d21ed2775421d59.js → 206.206.19236c539b5c9a315861.js} +391 -391
- package/dist/206.41a1c7c06c75a005d2087abda771eac1.js.map +1 -0
- package/dist/{279.279.4313f91b80e1ad5f7f99.js → 279.279.1d9f8d1edf2c490bfbac.js} +1 -1
- package/dist/531.3f25ebc4edf520b22aea8d7ff297af54.js.map +1 -0
- package/dist/{531.531.485d68ca78b7b74d7f59.js → 531.531.5c85647689989be368e7.js} +9 -8
- package/dist/{548.548.f1b2c868d66b450bfab9.js → 548.548.ccbf5c2063a48f13fc96.js} +1 -1
- package/dist/653.653.4ed245a2327b4e4dd096.js +2 -0
- package/dist/{653.cd79d6d50e9f0dfe8ed96f08357afbae.js.map → 653.cda2755851515fbf4ce54a3f75f7351b.js.map} +1 -1
- package/dist/{842.842.8952a839a2a4d6845f70.js → 842.842.0256c2aec867ec2743bf.js} +1 -1
- package/dist/designSystemConfigurator.edccc4d8f46642ef08d9368033e6409a.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.439adade290c0b41bf48.js +2 -0
- package/dist/main.78c2da516dcfbe81548c57bff2e5bac8.js.map +1 -0
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/206.510f79d8df820214fd2db620d64c903b.js.map +0 -1
- package/dist/531.87f646cab9f34189ebef8dfe678ac9e5.js.map +0 -1
- package/dist/653.653.e62e585573604b83e049.js +0 -2
- package/dist/designSystemConfigurator.087c512c62003e3c238ac32356993dce.js.map +0 -1
- package/dist/main.0852838ed0149b51e144a5a1265c622d.js.map +0 -1
- package/dist/main.6f6fdef79c653a22a314.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[206],{79621:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>jm,ColorToken:()=>Gm,ColorTokens:()=>Ym,DesignSystemEditor:()=>Cm,DesignSystemExport:()=>Mm,DesignSystemPreview:()=>Km,EventName:()=>pm,PreviewComponents:()=>Rm,PreviewForm:()=>ib,PreviewGrid:()=>sb,TypographyTokens:()=>qm,defaultBodyFont:()=>mm,fontFamilies:()=>hm});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:()=>Le,defaultSuccessColor:()=>Ee,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Me,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:()=>je,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:()=>Pe,baseLayerLuminanceValue:()=>Ge,bodyFontValue:()=>Ke,controlCornerRadiusValue:()=>Ve,densityValue:()=>Ye,designTokens:()=>aa,designUnitValue:()=>Qe,directionValue:()=>Ue,neutralPaletteValue:()=>Be,strokeWidthValue:()=>He,typeRampBaseFontSizeValue:()=>Xe,typeRampBaseLineHeightValue:()=>ea});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:()=>us,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>ps,defaultErrorColor:()=>ts,defaultSellColor:()=>ms,defaultSuccessColor:()=>ns,defaultWarningColor:()=>ss,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>os,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:()=>bs,strokeWidth:()=>f.strokeWidth,successColor:()=>ls,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:()=>ds});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>ks,accentFillFocusDeltaValue:()=>zs,accentFillHoverDeltaValue:()=>xs,accentFillRestDeltaValue:()=>ys,accentForegroundActiveDeltaValue:()=>$s,accentForegroundFocusDeltaValue:()=>As,accentForegroundHoverDeltaValue:()=>Cs,accentForegroundRestDeltaValue:()=>Ss,accentPaletteValue:()=>vs,baseHeightMultiplierValue:()=>ad,baseLayerLuminanceValue:()=>ws,bodyFontValue:()=>id,controlCornerRadiusValue:()=>rd,densityValue:()=>td,designTokens:()=>Sd,designUnitValue:()=>od,directionValue:()=>Zs,disabledOpacityValue:()=>Ks,focusStrokeWidthValue:()=>ed,neutralFillActiveDeltaValue:()=>Fs,neutralFillFocusDeltaValue:()=>Ds,neutralFillHoverDeltaValue:()=>Ts,neutralFillInputActiveDeltaValue:()=>Ls,neutralFillInputFocusDeltaValue:()=>Ms,neutralFillInputHoverDeltaValue:()=>Ns,neutralFillInputRestDeltaValue:()=>Rs,neutralFillLayerRestDeltaValue:()=>Hs,neutralFillRestDeltaValue:()=>Os,neutralFillStealthActiveDeltaValue:()=>js,neutralFillStealthFocusDeltaValue:()=>Ps,neutralFillStealthHoverDeltaValue:()=>Es,neutralFillStealthRestDeltaValue:()=>Is,neutralFillStrongActiveDeltaValue:()=>_s,neutralFillStrongFocusDeltaValue:()=>Us,neutralFillStrongHoverDeltaValue:()=>Gs,neutralFillStrongRestDeltaValue:()=>Bs,neutralPaletteValue:()=>fs,neutralStrokeActiveDeltaValue:()=>Qs,neutralStrokeDividerRestDeltaValue:()=>qs,neutralStrokeFocusDeltaValue:()=>Ws,neutralStrokeHoverDeltaValue:()=>Ys,neutralStrokeRestDeltaValue:()=>Vs,prefix:()=>Js,strokeWidthValue:()=>Xs,typeRampBaseFontSizeValue:()=>nd,typeRampBaseLineHeightValue:()=>ld,typeRampMinus1FontSizeValue:()=>gd,typeRampMinus1LineHeightValue:()=>sd,typeRampMinus2FontSizeValue:()=>dd,typeRampMinus2LineHeightValue:()=>cd,typeRampPlus1FontSizeValue:()=>pd,typeRampPlus1LineHeightValue:()=>ud,typeRampPlus2FontSizeValue:()=>hd,typeRampPlus2LineHeightValue:()=>md,typeRampPlus3FontSizeValue:()=>bd,typeRampPlus3LineHeightValue:()=>vd,typeRampPlus4FontSizeValue:()=>fd,typeRampPlus4LineHeightValue:()=>wd,typeRampPlus5FontSizeValue:()=>yd,typeRampPlus5LineHeightValue:()=>xd,typeRampPlus6FontSizeValue:()=>kd,typeRampPlus6LineHeightValue:()=>zd});var l=r(83162),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([[206],{79621:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Qm,ColorToken:()=>Jm,ColorTokens:()=>ab,DesignSystemEditor:()=>Lm,DesignSystemExport:()=>Hm,DesignSystemPreview:()=>lb,EventName:()=>xm,PreviewComponents:()=>Gm,PreviewForm:()=>hb,PreviewGrid:()=>fb,TypographyTokens:()=>ob,defaultBodyFont:()=>Sm,fontFamilies:()=>zm});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>He,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>Ue,defaultErrorColor:()=>Le,defaultSellColor:()=>Ye,defaultSuccessColor:()=>Ee,defaultWarningColor:()=>Be,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Me,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:()=>Qe,strokeWidth:()=>f.strokeWidth,successColor:()=>je,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:()=>Ge});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>We,baseLayerLuminanceValue:()=>Je,bodyFontValue:()=>la,controlCornerRadiusValue:()=>ea,densityValue:()=>aa,designTokens:()=>da,designUnitValue:()=>ra,directionValue:()=>Ke,neutralPaletteValue:()=>qe,strokeWidthValue:()=>Xe,typeRampBaseFontSizeValue:()=>ga,typeRampBaseLineHeightValue:()=>sa});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:()=>ks,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>xs,defaultErrorColor:()=>ps,defaultSellColor:()=>Ss,defaultSuccessColor:()=>ms,defaultWarningColor:()=>fs,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>us,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:()=>bs,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:()=>ws});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Ds,accentFillFocusDeltaValue:()=>Rs,accentFillHoverDeltaValue:()=>Fs,accentFillRestDeltaValue:()=>Ts,accentForegroundActiveDeltaValue:()=>Ms,accentForegroundFocusDeltaValue:()=>Is,accentForegroundHoverDeltaValue:()=>Ls,accentForegroundRestDeltaValue:()=>Ns,accentPaletteValue:()=>$s,baseHeightMultiplierValue:()=>dd,baseLayerLuminanceValue:()=>Os,bodyFontValue:()=>hd,controlCornerRadiusValue:()=>cd,densityValue:()=>pd,designTokens:()=>Nd,designUnitValue:()=>ud,directionValue:()=>nd,disabledOpacityValue:()=>ld,focusStrokeWidthValue:()=>sd,neutralFillActiveDeltaValue:()=>Ps,neutralFillFocusDeltaValue:()=>Bs,neutralFillHoverDeltaValue:()=>js,neutralFillInputActiveDeltaValue:()=>Us,neutralFillInputFocusDeltaValue:()=>Hs,neutralFillInputHoverDeltaValue:()=>_s,neutralFillInputRestDeltaValue:()=>Gs,neutralFillLayerRestDeltaValue:()=>Xs,neutralFillRestDeltaValue:()=>Es,neutralFillStealthActiveDeltaValue:()=>Qs,neutralFillStealthFocusDeltaValue:()=>Ws,neutralFillStealthHoverDeltaValue:()=>Ys,neutralFillStealthRestDeltaValue:()=>Vs,neutralFillStrongActiveDeltaValue:()=>Zs,neutralFillStrongFocusDeltaValue:()=>Ks,neutralFillStrongHoverDeltaValue:()=>Js,neutralFillStrongRestDeltaValue:()=>qs,neutralPaletteValue:()=>As,neutralStrokeActiveDeltaValue:()=>rd,neutralStrokeDividerRestDeltaValue:()=>od,neutralStrokeFocusDeltaValue:()=>td,neutralStrokeHoverDeltaValue:()=>ad,neutralStrokeRestDeltaValue:()=>ed,prefix:()=>id,strokeWidthValue:()=>gd,typeRampBaseFontSizeValue:()=>md,typeRampBaseLineHeightValue:()=>bd,typeRampMinus1FontSizeValue:()=>vd,typeRampMinus1LineHeightValue:()=>fd,typeRampMinus2FontSizeValue:()=>wd,typeRampMinus2LineHeightValue:()=>yd,typeRampPlus1FontSizeValue:()=>xd,typeRampPlus1LineHeightValue:()=>kd,typeRampPlus2FontSizeValue:()=>zd,typeRampPlus2LineHeightValue:()=>Sd,typeRampPlus3FontSizeValue:()=>Cd,typeRampPlus3LineHeightValue:()=>$d,typeRampPlus4FontSizeValue:()=>Ad,typeRampPlus4LineHeightValue:()=>Od,typeRampPlus5FontSizeValue:()=>Td,typeRampPlus5LineHeightValue:()=>Fd,typeRampPlus6FontSizeValue:()=>Dd,typeRampPlus6LineHeightValue:()=>Rd});var l=r(70556),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;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
background: ${w.A.Canvas};
|
|
56
56
|
border-color: ${w.A.CanvasText};
|
|
57
57
|
}
|
|
58
|
-
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(
|
|
58
|
+
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(71418);const z=(0,k.createLogger)("foundation-form"),S=b.html`
|
|
59
59
|
<template>
|
|
60
60
|
${(0,b.when)((e=>!1),b.html`
|
|
61
61
|
<rapid-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
</control-wrapper>
|
|
297
297
|
</template>
|
|
298
298
|
`)(e.prefix)}
|
|
299
|
-
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var H=r(
|
|
299
|
+
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var H=r(69658);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`
|
|
300
300
|
${e=>((e="zero")=>b.html`
|
|
301
301
|
<template>
|
|
302
302
|
<control-wrapper
|
|
@@ -601,11 +601,11 @@
|
|
|
601
601
|
</control-wrapper>
|
|
602
602
|
</template>
|
|
603
603
|
`)(e.prefix)}
|
|
604
|
-
`,ze={renderer:ke,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},Se=[{renderer:ke,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},ze,U,we,le,ge,se,pe,he,ce,ue,ve,Q,te,W,X,oe];let Ce=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=Se,this.additionalRenderers=[],this.mergedRenderers=Se,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}renderersChanged(){this.updateMergedRenderers()}additionalRenderersChanged(){this.updateMergedRenderers()}updateMergedRenderers(){const{renderers:e=[],additionalRenderers:a=[]}=this;this.mergedRenderers=[...e,...a]}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],Ce.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],Ce.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"additionalRenderers",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"mergedRenderers",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.dm],Ce.prototype,"connect",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"data",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],Ce.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],Ce.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],Ce.prototype,"isSubmitHidden",null),Ce=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:G,styles:y})],Ce);var $e,Ae,Oe,Te,Fe,De=r(4273);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}($e||($e={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(Ae||(Ae={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Oe||(Oe={})),function(e){e.grey="#7c909b"}(Te||(Te={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(Fe||(Fe={}));const{create:Re}=v.DesignToken,Ne=(0,De.parseColorHexRGB)($e.error),Le=f.SwatchRGB.create(Ne.r,Ne.g,Ne.b),Me=Re("error-color").withDefault(Le),Ie=(0,De.parseColorHexRGB)($e.success),Ee=f.SwatchRGB.create(Ie.r,Ie.g,Ie.b),je=Re("success-color").withDefault(Ee),Pe=(0,H.paletteFromHex)(Ae.blue),
|
|
604
|
+
`,ze={renderer:ke,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},Se=[{renderer:ke,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},ze,U,we,le,ge,se,pe,he,ce,ue,ve,Q,te,W,X,oe];let Ce=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=Se,this.additionalRenderers=[],this.mergedRenderers=Se,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}renderersChanged(){this.updateMergedRenderers()}additionalRenderersChanged(){this.updateMergedRenderers()}updateMergedRenderers(){const{renderers:e=[],additionalRenderers:a=[]}=this;this.mergedRenderers=[...e,...a]}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],Ce.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],Ce.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"additionalRenderers",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"mergedRenderers",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.dm],Ce.prototype,"connect",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"data",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],Ce.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],Ce.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],Ce.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],Ce.prototype,"isSubmitHidden",null),Ce=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:G,styles:y})],Ce);var $e,Ae,Oe,Te,Fe,De=r(4273);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.buy="#7ACC79",e.sell="#F14376"}($e||($e={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(Ae||(Ae={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Oe||(Oe={})),function(e){e.grey="#7c909b"}(Te||(Te={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(Fe||(Fe={}));const{create:Re}=v.DesignToken,Ne=(0,De.parseColorHexRGB)($e.error),Le=f.SwatchRGB.create(Ne.r,Ne.g,Ne.b),Me=Re("error-color").withDefault(Le),Ie=(0,De.parseColorHexRGB)($e.success),Ee=f.SwatchRGB.create(Ie.r,Ie.g,Ie.b),je=Re("success-color").withDefault(Ee),Pe=(0,De.parseColorHexRGB)($e.warning),Be=f.SwatchRGB.create(Pe.r,Pe.g,Pe.b),Ge=Re("warning-color").withDefault(Be),_e=(0,De.parseColorHexRGB)($e.buy),Ue=f.SwatchRGB.create(_e.r,_e.g,_e.b),He=Re("buy-color").withDefault(Ue),Ve=(0,De.parseColorHexRGB)($e.sell),Ye=f.SwatchRGB.create(Ve.r,Ve.g,Ve.b),Qe=Re("sell-color").withDefault(Ye),We=(0,H.paletteFromHex)(Ae.blue),qe=(0,H.paletteFromHex)(Te.grey),Je=f.StandardLuminance.DarkMode;var Ze=r(85109);const Ke=Ze.O.ltr,Xe=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),ea=4,aa=f.density.getValueFor(f.density.appliedTo[0]),ra=4;var ta=r(80273);const oa=()=>{(0,ta.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")},ia='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',na=(e=ta.zz.Normal,a=ta.IT.Regular)=>(0,ta.f4)(ia,e,a),la=ia,ga=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),sa=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),da={design_tokens:{color:{accent:{$value:We.source.toColorString(),$type:"color"},neutral:{$value:qe.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:la,$type:"fontFamily"}},typography:{baseFontSize:{$value:ga,$type:"dimension"},baseLineHeight:{$value:sa,$type:"dimension"}},mode:{luminance:{$value:Je,$type:"number"}},style:{density:{$value:aa,$type:"number"},borderRadius:{$value:ea,$type:"number"},strokeWidth:{$value:Xe,$type:"number"}},space:{designUnit:{$value:ra,$type:"number"}}}};class ca extends H.Accordion{}const pa=ca.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
605
605
|
${(0,H.foundationAccordionStyles)(e,a)}
|
|
606
|
-
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class
|
|
606
|
+
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class ua extends H.AccordionItem{}const ha=ua.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
607
607
|
${(0,H.foundationAccordionItemStyles)(e,a)};
|
|
608
|
-
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class
|
|
608
|
+
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class ma extends H.ActionsMenu{}const ba=ma.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
|
|
609
609
|
:host {
|
|
610
610
|
--actions-opener-heigght-multiplier: 0.6px;
|
|
611
611
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -630,9 +630,9 @@
|
|
|
630
630
|
}
|
|
631
631
|
|
|
632
632
|
${(0,H.actionsMenuBaseStyles)(e,a)}
|
|
633
|
-
`,template:H.foundationActionsMenuTemplate}),
|
|
633
|
+
`,template:H.foundationActionsMenuTemplate}),va=(e,a=1)=>new De.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),fa=(0,De.parseColorHexRGB)($e.white),wa=(e=1)=>va(fa,e),ya=((0,De.parseColorHexRGB)($e.black),(0,De.parseColorHexRGB)("#585858")),xa=(f.SwatchRGB.create(ya.r,ya.g,ya.b),(0,De.parseColorHexRGB)("#202126")),ka=f.SwatchRGB.create(xa.r,xa.g,xa.b),za=(f.PaletteRGB.from(ka),(0,De.parseColorHexRGB)(Ae.blue)),Sa=(e=1)=>va(za,e),Ca=f.SwatchRGB.create(za.r,za.g,za.b),$a=(f.PaletteRGB.from(Ca),(0,De.parseColorHexRGB)(Ae.purple)),Aa=(e=1)=>va($a,e),Oa=(0,De.parseColorHexRGB)(Oe.orange),Ta=(e=1)=>va(Oa,e),Fa=(0,De.parseColorHexRGB)(Oe.teal),Da=(e=1)=>va(Fa,e),Ra=((0,De.parseColorHexRGB)(Fe.longGreen),(0,De.parseColorHexRGB)(Fe.chartPink),(0,De.parseColorHexRGB)(Fe.warningYellow)),Na=(0,De.parseColorHexRGB)(Fe.chartPink),La=(e=1)=>va(Na,e);function Ma(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Ia=.3,Ea=.1,ja=.5,Pa=b.css`
|
|
634
634
|
:host([appearance='primary-blue']) {
|
|
635
|
-
background: ${
|
|
635
|
+
background: ${Sa(Ia)};
|
|
636
636
|
border: 1px solid ${Ae.blue};
|
|
637
637
|
}
|
|
638
638
|
|
|
@@ -641,13 +641,13 @@
|
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
:host([appearance='primary-blue']:active) {
|
|
644
|
-
background: ${
|
|
645
|
-
border: 1px solid ${
|
|
646
|
-
color: ${
|
|
644
|
+
background: ${Sa(Ea)};
|
|
645
|
+
border: 1px solid ${Sa(Ia)};
|
|
646
|
+
color: ${wa(ja)};
|
|
647
647
|
}
|
|
648
|
-
`,
|
|
648
|
+
`,Ba=b.css`
|
|
649
649
|
:host([appearance='primary-purple']) {
|
|
650
|
-
background: ${
|
|
650
|
+
background: ${Aa(Ia)};
|
|
651
651
|
border: 1px solid ${Ae.purple};
|
|
652
652
|
}
|
|
653
653
|
|
|
@@ -656,11 +656,11 @@
|
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
:host([appearance='primary-purple']:active) {
|
|
659
|
-
background: ${
|
|
660
|
-
border: 1px solid ${
|
|
661
|
-
color: ${
|
|
659
|
+
background: ${Aa(Ea)};
|
|
660
|
+
border: 1px solid ${Aa(Ia)};
|
|
661
|
+
color: ${wa(ja)};
|
|
662
662
|
}
|
|
663
|
-
`,
|
|
663
|
+
`,Ga=b.css`
|
|
664
664
|
:host {
|
|
665
665
|
--primary-gradient-angle: -113.5deg;
|
|
666
666
|
}
|
|
@@ -690,17 +690,17 @@
|
|
|
690
690
|
:host([appearance='primary-gradient']:active) {
|
|
691
691
|
background-image: linear-gradient(
|
|
692
692
|
var(--primary-gradient-angle),
|
|
693
|
-
${
|
|
694
|
-
${
|
|
693
|
+
${Sa(Ia)},
|
|
694
|
+
${Aa(Ia)}
|
|
695
695
|
);
|
|
696
696
|
background-origin: border-box;
|
|
697
697
|
border: solid 1px transparent;
|
|
698
698
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
|
|
699
|
-
color: ${
|
|
699
|
+
color: ${wa(ja)};
|
|
700
700
|
}
|
|
701
|
-
`,
|
|
701
|
+
`,_a=b.css`
|
|
702
702
|
:host([appearance='secondary-orange']) {
|
|
703
|
-
background: ${
|
|
703
|
+
background: ${Ta(Ia)};
|
|
704
704
|
border: 1px solid ${Oe.orange};
|
|
705
705
|
}
|
|
706
706
|
|
|
@@ -709,11 +709,11 @@
|
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
:host([appearance='secondary-orange']:active) {
|
|
712
|
-
background: ${
|
|
713
|
-
border: 1px solid ${
|
|
714
|
-
color: ${
|
|
712
|
+
background: ${Ta(Ea)};
|
|
713
|
+
border: 1px solid ${Ta(Ia)};
|
|
714
|
+
color: ${wa(ja)};
|
|
715
715
|
}
|
|
716
|
-
`,
|
|
716
|
+
`,Ua=b.css`
|
|
717
717
|
:host([appearance='danger']) {
|
|
718
718
|
background: color-mix(in srgb, var(--error-color), transparent 50%);
|
|
719
719
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
@@ -736,9 +736,9 @@
|
|
|
736
736
|
background: color-mix(in srgb, var(--error-color), transparent 70%);
|
|
737
737
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
738
738
|
}
|
|
739
|
-
`,
|
|
739
|
+
`,Ha=b.css`
|
|
740
740
|
:host([appearance='secondary-teal']) {
|
|
741
|
-
background: ${
|
|
741
|
+
background: ${Da(Ia)};
|
|
742
742
|
border: 1px solid ${Oe.teal};
|
|
743
743
|
}
|
|
744
744
|
|
|
@@ -747,11 +747,11 @@
|
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
:host([appearance='secondary-teal']:active) {
|
|
750
|
-
background: ${
|
|
751
|
-
border: 1px solid ${
|
|
752
|
-
color: ${
|
|
750
|
+
background: ${Da(Ea)};
|
|
751
|
+
border: 1px solid ${Da(Ia)};
|
|
752
|
+
color: ${wa(ja)};
|
|
753
753
|
}
|
|
754
|
-
`,
|
|
754
|
+
`,Va=b.css`
|
|
755
755
|
:host([appearance='neutral-grey']) {
|
|
756
756
|
background: ${f.neutralFillRest};
|
|
757
757
|
border: 1px solid ${f.neutralStrokeRest};
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
border: 1px solid ${f.neutralStrokeActive};
|
|
767
767
|
color: ${f.neutralForegroundRest};
|
|
768
768
|
}
|
|
769
|
-
`,
|
|
769
|
+
`,Ya=b.css`
|
|
770
770
|
:host {
|
|
771
771
|
--primary-gradient-angle: -113.5deg;
|
|
772
772
|
}
|
|
@@ -809,73 +809,73 @@
|
|
|
809
809
|
background:
|
|
810
810
|
linear-gradient(
|
|
811
811
|
var(--primary-gradient-angle),
|
|
812
|
-
${
|
|
813
|
-
${
|
|
812
|
+
${Sa(Ia)} 0%,
|
|
813
|
+
${Aa(Ia)} 100%
|
|
814
814
|
)
|
|
815
815
|
top/100% 1px,
|
|
816
816
|
linear-gradient(
|
|
817
817
|
var(--primary-gradient-angle),
|
|
818
|
-
${
|
|
819
|
-
${
|
|
818
|
+
${Sa(Ia)} 0%,
|
|
819
|
+
${Aa(Ia)} 100%
|
|
820
820
|
)
|
|
821
821
|
bottom/100% 1px;
|
|
822
822
|
background-origin: border-box;
|
|
823
823
|
background-repeat: no-repeat;
|
|
824
824
|
border: 1px solid transparent;
|
|
825
|
-
border-right-color: ${
|
|
826
|
-
border-left-color: ${
|
|
827
|
-
color: ${
|
|
825
|
+
border-right-color: ${Sa(Ia)};
|
|
826
|
+
border-left-color: ${Aa(Ia)};
|
|
827
|
+
color: ${wa(ja)};
|
|
828
828
|
}
|
|
829
|
-
`,
|
|
829
|
+
`,Qa=b.css`
|
|
830
830
|
:host([appearance='outline-secondary-orange']) {
|
|
831
831
|
background: transparent;
|
|
832
832
|
border: 1px solid ${Oe.orange};
|
|
833
833
|
}
|
|
834
834
|
|
|
835
835
|
:host([appearance='outline-secondary-orange']:hover) {
|
|
836
|
-
background: ${
|
|
836
|
+
background: ${Ta(Ia)};
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
:host([appearance='outline-secondary-orange']:active) {
|
|
840
840
|
background: transparent;
|
|
841
|
-
border: 1px solid ${
|
|
842
|
-
color: ${
|
|
841
|
+
border: 1px solid ${Ta(Ia)};
|
|
842
|
+
color: ${wa(ja)};
|
|
843
843
|
}
|
|
844
|
-
`,
|
|
844
|
+
`,Wa=b.css`
|
|
845
845
|
:host([appearance='outline-secondary-teal']) {
|
|
846
846
|
background: transparent;
|
|
847
847
|
border: 1px solid ${Oe.teal};
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
:host([appearance='outline-secondary-teal']:hover) {
|
|
851
|
-
background: ${
|
|
851
|
+
background: ${Da(Ia)};
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
:host([appearance='outline-secondary-teal']:active) {
|
|
855
855
|
background: transparent;
|
|
856
|
-
border: 1px solid ${
|
|
857
|
-
color: ${
|
|
856
|
+
border: 1px solid ${Da(Ia)};
|
|
857
|
+
color: ${wa(ja)};
|
|
858
858
|
}
|
|
859
|
-
`,
|
|
859
|
+
`,qa=(e,a)=>b.css`
|
|
860
860
|
${(0,H.foundationButtonStyles)(e,a)}
|
|
861
861
|
${b.css`
|
|
862
862
|
:host {
|
|
863
863
|
margin: 5px;
|
|
864
864
|
}
|
|
865
865
|
`}
|
|
866
|
-
`.withBehaviors(
|
|
866
|
+
`.withBehaviors(Ma("primary-blue",Pa),Ma("primary-purple",Ba),Ma("primary-gradient",Ga),Ma("secondary-orange",_a),Ma("danger",Ua),Ma("secondary-teal",Ha),Ma("neutral-grey",Va),Ma("outline-primary-gradient",Ya),Ma("outline-secondary-orange",Qa),Ma("outline-secondary-teal",Wa));class Ja extends H.Anchor{}const Za=Ja.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
|
|
867
867
|
${(0,H.foundationAnchorStyles)(e,a)}
|
|
868
|
-
${
|
|
869
|
-
`.withBehaviors(...
|
|
868
|
+
${qa(e,a)}
|
|
869
|
+
`.withBehaviors(...qa(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Ka extends H.AnchoredRegion{}const Xa=Ka.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
870
870
|
${(0,H.foundationAnchoredRegionStyles)(e,a)}
|
|
871
|
-
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class
|
|
871
|
+
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class er extends H.Avatar{}const ar=er.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
872
872
|
${(0,H.foundationAvatarStyles)(e,a)}
|
|
873
|
-
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class
|
|
873
|
+
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class rr extends H.Badge{}const tr=rr.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
|
|
874
874
|
${(0,H.foundationBadgeStyles)(e,a)}
|
|
875
875
|
:host {
|
|
876
|
-
--badge-fill-primary: ${
|
|
877
|
-
--badge-fill-secondary: ${
|
|
878
|
-
--badge-fill-pink: ${
|
|
876
|
+
--badge-fill-primary: ${Sa()};
|
|
877
|
+
--badge-fill-secondary: ${Da()};
|
|
878
|
+
--badge-fill-pink: ${La()};
|
|
879
879
|
--badge-fill-transparent: transparent;
|
|
880
880
|
--badge-color-black: #000;
|
|
881
881
|
--badge-color-white: #fff;
|
|
@@ -884,14 +884,14 @@
|
|
|
884
884
|
:host .control {
|
|
885
885
|
padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
|
|
886
886
|
}
|
|
887
|
-
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),
|
|
887
|
+
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),or=b.css`
|
|
888
888
|
${H.foundationBannerStyles}
|
|
889
889
|
.banner {
|
|
890
890
|
background-color: ${f.neutralLayer1};
|
|
891
891
|
}
|
|
892
|
-
`,
|
|
892
|
+
`,ir=H.foundationBannerShadowOptions;class nr extends H.Banner{}const lr=nr.compose({baseName:"banner",shadowOptions:ir,styles:or,template:H.foundationBannerTemplate});class gr extends H.Breadcrumb{}const sr=gr.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
|
|
893
893
|
${(0,H.foundationBreadcrumbStyles)(e,a)}
|
|
894
|
-
`,shadowOptions:undefined},{}));class
|
|
894
|
+
`,shadowOptions:undefined},{}));class dr extends H.BreadcrumbItem{}const cr=dr.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
895
895
|
${(0,H.foundationBreadcrumbItemStyles)(e,a)}
|
|
896
896
|
:host {
|
|
897
897
|
--neutral-foreground-rest: #18b2e3;
|
|
@@ -902,15 +902,15 @@
|
|
|
902
902
|
.separator {
|
|
903
903
|
color: var(--neutral-stroke-rest);
|
|
904
904
|
}
|
|
905
|
-
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class
|
|
905
|
+
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class pr extends H.Button{}const ur=pr.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:qa,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class hr extends H.Calendar{}const mr=hr.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
|
|
906
906
|
${(0,H.foundationCalendarStyles)()}
|
|
907
|
-
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class
|
|
907
|
+
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class br extends H.Card{}const vr=br.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
|
|
908
908
|
${(0,H.foundationCardStyles)(e,a)}
|
|
909
909
|
:host {
|
|
910
910
|
background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
|
|
911
911
|
color: ${f.neutralForegroundRest};
|
|
912
912
|
}
|
|
913
|
-
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),
|
|
913
|
+
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),fr=b.css`
|
|
914
914
|
${H.categorizedMultiselectStyles}
|
|
915
915
|
|
|
916
916
|
.label {
|
|
@@ -924,9 +924,9 @@
|
|
|
924
924
|
rapid-checkbox:hover:not([disabled]) {
|
|
925
925
|
background: var(--neutral-layer-4);
|
|
926
926
|
}
|
|
927
|
-
`,
|
|
927
|
+
`,wr=b.html`
|
|
928
928
|
${(0,H.getPrefixedCategorizedMultiselect)("zero")}
|
|
929
|
-
`;class
|
|
929
|
+
`;class yr extends H.CategorizedMultiselect{}const xr=H.defaultCategorizedMultiselectConfig,kr=H.foundationCategorizedMultiselectShadowOptions,zr=yr.compose(Object.assign({baseName:"categorized-multiselect",template:wr,styles:fr,shadowOptions:kr},xr));class Sr extends H.Checkbox{}const Cr=Sr.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
930
930
|
${(0,H.foundationCheckboxStyles)(e,a)}
|
|
931
931
|
:host {
|
|
932
932
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -946,14 +946,14 @@
|
|
|
946
946
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
|
|
947
947
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
948
948
|
}
|
|
949
|
-
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig))
|
|
949
|
+
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig)),$r=(0,De.parseColorHexRGB)("#F1F1F1"),Ar=va($r,1),Or=(0,De.parseColorHexRGB)("#879BA6"),Tr=va(Or,.06),Fr=(0,De.parseColorHexRGB)("#879BA6"),Dr=va(Fr,1),Rr=(0,De.parseColorHexRGB)("#121212"),Nr=va(Rr,1),Lr=(0,De.parseColorHexRGB)("#2e3339"),Mr=va(Lr,1);var Ir;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.Danger="danger",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Ir||(Ir={}));Object.values(Ir);class Er extends H.Combobox{}const jr=Er.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
950
950
|
${(0,H.foundationComboboxStyles)(e,a)}
|
|
951
951
|
:host {
|
|
952
952
|
--primary-gradient-angle: -113.5deg;
|
|
953
953
|
|
|
954
954
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
955
|
-
border-color: ${
|
|
956
|
-
background: ${
|
|
955
|
+
border-color: ${Mr};
|
|
956
|
+
background: ${Tr};
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
:host(:focus-within:not([disabled])) {
|
|
@@ -978,8 +978,8 @@
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
:host(:hover:not([disabled]):not([open])) {
|
|
981
|
-
border-color: ${
|
|
982
|
-
background: ${
|
|
981
|
+
border-color: ${Ar};
|
|
982
|
+
background: ${Tr};
|
|
983
983
|
}
|
|
984
984
|
|
|
985
985
|
:host([open][position='below']) .listbox {
|
|
@@ -990,31 +990,31 @@
|
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
:host([open]) .control {
|
|
993
|
-
background: ${
|
|
993
|
+
background: ${Nr};
|
|
994
994
|
}
|
|
995
995
|
|
|
996
996
|
:host(:not([disabled])) .control:active {
|
|
997
997
|
background: none;
|
|
998
998
|
}
|
|
999
|
-
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class
|
|
999
|
+
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class Pr extends H.ConnectionIndicator{}const Br=Pr.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:H.foundationConnectionIndicatorStyles});class Gr extends H.DataGridCell{}Gr.compose(Object.assign({baseName:"data-grid-cell",template:v.dataGridCellTemplate,styles:(e,a)=>b.css`
|
|
1000
1000
|
${(0,H.foundationDataGridCellStyles)(e,a)}
|
|
1001
|
-
`,shadowOptions:H.foundationDataGridCellShadowOptions},H.defaultDataGridCellConfig));class
|
|
1001
|
+
`,shadowOptions:H.foundationDataGridCellShadowOptions},H.defaultDataGridCellConfig));class _r extends H.DataGridRow{}_r.compose(Object.assign({baseName:"data-grid-row",template:v.dataGridRowTemplate,styles:(e,a)=>b.css`
|
|
1002
1002
|
${(0,H.foundationDataGridRowStyles)(e,a)}
|
|
1003
|
-
`,shadowOptions:H.foundationDataGridRowShadowOptions},H.defaultDataGridRowConfig));class
|
|
1003
|
+
`,shadowOptions:H.foundationDataGridRowShadowOptions},H.defaultDataGridRowConfig));class Ur extends H.DataGrid{}const Hr=Ur.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,H.foundationDataGridTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1004
1004
|
${(0,H.foundationDataGridStyles)(e,a)}
|
|
1005
1005
|
::slotted(.sticky-header),
|
|
1006
1006
|
::slotted(.header) {
|
|
1007
1007
|
border-bottom-color: var(--neutral-color);
|
|
1008
1008
|
|
|
1009
|
-
--neutral-foreground-rest: ${
|
|
1009
|
+
--neutral-foreground-rest: ${Dr};
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
1012
|
::slotted([role='row']) {
|
|
1013
1013
|
background-color: #1f2126;
|
|
1014
1014
|
}
|
|
1015
|
-
`,shadowOptions:H.foundationDataGridShadowOptions},H.defaultDataGridConfig)),
|
|
1015
|
+
`,shadowOptions:H.foundationDataGridShadowOptions},H.defaultDataGridConfig)),Vr=b.html`
|
|
1016
1016
|
${(0,H.getPrefixedDatePicker)("zero")}
|
|
1017
|
-
`;class
|
|
1017
|
+
`;class Yr extends H.DatePicker{}const Qr=Yr.compose(Object.assign({baseName:"date-picker",template:Vr,styles:()=>b.css`
|
|
1018
1018
|
${H.foundationDatePickerStyles}
|
|
1019
1019
|
:host {
|
|
1020
1020
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1054,12 +1054,12 @@
|
|
|
1054
1054
|
.date-toggle::part(end) {
|
|
1055
1055
|
margin-inline-end: 4px;
|
|
1056
1056
|
}
|
|
1057
|
-
`,shadowOptions:undefined},{}));var
|
|
1057
|
+
`,shadowOptions:undefined},{}));var Wr=r(69347);oa();const qr=b.css`
|
|
1058
1058
|
${(0,v.display)("flex")}
|
|
1059
1059
|
:host {
|
|
1060
1060
|
flex: 1;
|
|
1061
1061
|
}
|
|
1062
|
-
`,
|
|
1062
|
+
`,Jr=b.css`
|
|
1063
1063
|
:host {
|
|
1064
1064
|
background-color: ${f.neutralFillStealthActive};
|
|
1065
1065
|
}
|
|
@@ -1069,31 +1069,31 @@
|
|
|
1069
1069
|
box-shadow: 0 0 0 1px ${w.A.CanvasText};
|
|
1070
1070
|
color: ${w.A.ButtonText};
|
|
1071
1071
|
}
|
|
1072
|
-
`)),
|
|
1072
|
+
`)),Zr=(e,a,r)=>b.css`
|
|
1073
1073
|
${e.name} ${"h"+a} {
|
|
1074
1074
|
font-size: var(--type-ramp-plus-${r}-font-size);
|
|
1075
1075
|
line-height: var(--type-ramp-plus-${r}-line-height);
|
|
1076
1076
|
margin: 0;
|
|
1077
|
-
${
|
|
1077
|
+
${na(ta.zz.Normal,ta.IT.Bold)}
|
|
1078
1078
|
}
|
|
1079
|
-
`;class
|
|
1079
|
+
`;class Kr extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(t,o,this)}}(0,Wr.__decorate)([(0,b.attr)({attribute:"card-fill-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralFillStealthRest)],Kr.prototype,"cardFillColor",void 0),(0,Wr.__decorate)([(0,b.attr)({attribute:"card-foreground-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralForegroundRest)],Kr.prototype,"cardForegroundColor",void 0);const Xr=Kr.compose({baseName:"design-system-provider",template:b.html`
|
|
1080
1080
|
<slot></slot>
|
|
1081
1081
|
`,styles:e=>{const a=(e=>b.css`
|
|
1082
|
-
${
|
|
1083
|
-
${
|
|
1084
|
-
${
|
|
1085
|
-
${
|
|
1086
|
-
${
|
|
1087
|
-
${
|
|
1082
|
+
${Zr(e,"1","6")}
|
|
1083
|
+
${Zr(e,"2","5")}
|
|
1084
|
+
${Zr(e,"3","4")}
|
|
1085
|
+
${Zr(e,"4","3")}
|
|
1086
|
+
${Zr(e,"5","2")}
|
|
1087
|
+
${Zr(e,"6","1")}
|
|
1088
1088
|
`)(e);return a.addStylesTo(document),b.css`
|
|
1089
|
-
${
|
|
1090
|
-
${
|
|
1089
|
+
${qr}
|
|
1090
|
+
${Jr}
|
|
1091
1091
|
${a}
|
|
1092
1092
|
:host * {
|
|
1093
1093
|
color: ${f.neutralForegroundRest};
|
|
1094
|
-
${
|
|
1094
|
+
${na()}
|
|
1095
1095
|
}
|
|
1096
|
-
`}}),
|
|
1096
|
+
`}}),et=(0,De.parseColorHexRGB)("#121212"),at=va(et,1),rt=b.css`
|
|
1097
1097
|
${H.foundationDialogStyles}
|
|
1098
1098
|
:host {
|
|
1099
1099
|
--color-error: ${$e.error};
|
|
@@ -1153,29 +1153,29 @@
|
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
.close-icon:hover svg {
|
|
1156
|
-
background-color: ${
|
|
1156
|
+
background-color: ${wa(.05)};
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
1159
|
.close-icon:hover svg g path {
|
|
1160
|
-
fill: ${
|
|
1160
|
+
fill: ${wa(1)};
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
1163
|
.close-icon:active svg {
|
|
1164
|
-
background-color: ${
|
|
1164
|
+
background-color: ${at};
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
1167
|
.close-icon:active svg g path {
|
|
1168
|
-
fill: ${
|
|
1168
|
+
fill: ${wa(.33)};
|
|
1169
1169
|
}
|
|
1170
|
-
`,
|
|
1170
|
+
`,tt=H.defaultDialogConfig,ot=H.foundationDialogTemplate,it=H.foundationDialogShadowOptions;class nt extends H.Dialog{}const lt=nt.compose(Object.assign({baseName:"dialog",shadowOptions:it,styles:rt,template:ot},tt));class gt extends H.Disclosure{}const st=gt.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1171
1171
|
${(0,H.foundationDisclosureStyles)(e,a)}
|
|
1172
|
-
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class
|
|
1172
|
+
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class dt extends H.Divider{}const ct=dt.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1173
1173
|
${(0,H.foundationDividerStyles)(e,a)}
|
|
1174
|
-
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class
|
|
1174
|
+
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class pt extends H.DropdownMenu{}const ut=pt.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
|
|
1175
1175
|
${(0,H.dropdownMenuBaseStyles)("zero",e,a)}
|
|
1176
|
-
`,template:H.foundationDropdownMenuTemplate}),
|
|
1176
|
+
`,template:H.foundationDropdownMenuTemplate}),ht=b.html`
|
|
1177
1177
|
${(0,H.getPrefixedErrorBanner)("zero")}
|
|
1178
|
-
`,
|
|
1178
|
+
`,mt=H.foundationErrorBannerShadowOptions;class bt extends H.ErrorBanner{}const vt=bt.compose({baseName:"error-banner",template:ht,shadowOptions:mt});class ft extends H.ErrorBoundary{}const wt=ft.compose({baseName:"error-boundary",template:H.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class yt extends H.ErrorDialog{}const xt=yt.compose({baseName:"error-dialog",styles:H.foundationErrorDialogStyles,template:H.errorDialogTemplate,shadowOptions:H.foundationErrorDialogShadowOptions}),kt=b.css`
|
|
1179
1179
|
${H.foundationFileUploadStyles}
|
|
1180
1180
|
::-webkit-scrollbar {
|
|
1181
1181
|
width: 12px;
|
|
@@ -1192,13 +1192,13 @@
|
|
|
1192
1192
|
background-color: var(--neutral-color);
|
|
1193
1193
|
border: 3px solid rgb(31 33 38);
|
|
1194
1194
|
}
|
|
1195
|
-
`,
|
|
1195
|
+
`,zt=b.html`
|
|
1196
1196
|
${(0,H.getPrefixedFileUpload)("zero")}
|
|
1197
|
-
`,
|
|
1197
|
+
`,St=H.defaultFileUploadConfig,Ct=H.foundationFileUploadShadowOptions;class $t extends H.FileUpload{}const At=$t.compose(Object.assign({baseName:"file-upload",shadowOptions:Ct,styles:kt,template:zt},St)),Ot=b.html`
|
|
1198
1198
|
${(0,H.getPrefixedFilterTemplate)("zero")}
|
|
1199
|
-
`;class
|
|
1199
|
+
`;class Tt extends H.Filter{}const Ft=Tt.compose({baseName:"filter",template:Ot,styles:H.foundationFilterStyles}),Dt=b.html`
|
|
1200
1200
|
${(0,H.filterBarTemplate)("zero")}
|
|
1201
|
-
`;class
|
|
1201
|
+
`;class Rt extends H.FilterBar{}const Nt=Rt.compose({baseName:"filter-bar",template:Dt,styles:(e,a)=>b.css`
|
|
1202
1202
|
${(0,H.foundationFilterBarStyles)(e,a)}
|
|
1203
1203
|
.toggle,
|
|
1204
1204
|
.toggle-collapsed {
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
.toggle-collapsed:hover {
|
|
1211
1211
|
color: var(--ag-alpine-active-color, #2196f3);
|
|
1212
1212
|
}
|
|
1213
|
-
`});class
|
|
1213
|
+
`});class Lt extends H.FlexLayout{}const Mt=Lt.compose(Object.assign({baseName:"flex-layout",shadowOptions:H.foundationFlexLayoutShadowOptions,styles:H.foundationFlexLayoutStyles,template:H.foundationFlexLayoutTemplate},H.defaultFlexLayoutConfig));class It extends H.Flipper{}const Et=It.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1214
1214
|
${(0,H.foundationFlipperStyles)(e,a)}
|
|
1215
1215
|
:host {
|
|
1216
1216
|
--foreground-on-accent-rest: ${$e.white};
|
|
@@ -1222,8 +1222,8 @@
|
|
|
1222
1222
|
:host::before {
|
|
1223
1223
|
background: linear-gradient(
|
|
1224
1224
|
var(--primary-gradient-angle),
|
|
1225
|
-
${
|
|
1226
|
-
${
|
|
1225
|
+
${Sa(.7)},
|
|
1226
|
+
${Aa(.7)}
|
|
1227
1227
|
);
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
@@ -1234,7 +1234,7 @@
|
|
|
1234
1234
|
${Ae.purple}
|
|
1235
1235
|
);
|
|
1236
1236
|
}
|
|
1237
|
-
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),
|
|
1237
|
+
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),jt=b.css`
|
|
1238
1238
|
${H.foundationFlyoutStyles}
|
|
1239
1239
|
div.flyout {
|
|
1240
1240
|
background-color: ${f.neutralLayer2};
|
|
@@ -1261,9 +1261,9 @@
|
|
|
1261
1261
|
background-color: ${f.neutralFillHover};
|
|
1262
1262
|
border-radius: 3px;
|
|
1263
1263
|
}
|
|
1264
|
-
`,
|
|
1264
|
+
`,Pt=b.html`
|
|
1265
1265
|
${(0,H.getPrefixedFlyout)("zero")}
|
|
1266
|
-
`,
|
|
1266
|
+
`,Bt=H.defaultFlyoutConfig,Gt=H.foundationFlyoutShadowOptions;class _t extends H.Flyout{}const Ut=_t.compose(Object.assign({baseName:"flyout",shadowOptions:Gt,styles:jt,template:Pt},Bt));class Ht extends H.GridLayout{}const Vt=Ht.compose(Object.assign({baseName:"grid-layout",shadowOptions:H.foundationGridLayoutShadowOptions,styles:H.foundationGridLayoutStyles,template:H.foundationGridLayoutTemplate},H.defaultGridLayoutConfig));class Yt extends H.GridLayoutItem{}const Qt=Yt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:H.foundationGridLayoutItemShadowOptions,template:H.foundationGridLayoutItemTemplate},H.defaultGridLayoutItemConfig));class Wt extends H.HorizontalScroll{}const qt={nextFlipper:b.html`
|
|
1267
1267
|
<zero-flipper
|
|
1268
1268
|
@click="${e=>e.scrollToNext()}"
|
|
1269
1269
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -1274,17 +1274,17 @@
|
|
|
1274
1274
|
direction="previous"
|
|
1275
1275
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
1276
1276
|
></zero-flipper>
|
|
1277
|
-
`},
|
|
1277
|
+
`},Jt=Wt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1278
1278
|
${(0,H.foundationHorizontalScrollStyles)(e,a)}
|
|
1279
|
-
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},
|
|
1279
|
+
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},qt));class Zt extends H.Icon{}const Kt=H.defaultIconConfig,Xt=H.foundationIconShadowOptions,eo=Zt.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
|
|
1280
1280
|
${(0,H.foundationIconStyles)(e,a)}
|
|
1281
|
-
`,shadowOptions:
|
|
1281
|
+
`,shadowOptions:Xt},Kt));class ao extends H.Listbox{}const ro=ao.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1282
1282
|
${(0,H.foundationListboxStyles)(e,a)}
|
|
1283
1283
|
|
|
1284
1284
|
:host {
|
|
1285
1285
|
background: #1f2126;
|
|
1286
1286
|
}
|
|
1287
|
-
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class
|
|
1287
|
+
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class to extends H.ListboxOption{}const oo=to.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1288
1288
|
${(0,H.foundationListboxOptionStyles)(e,a)}
|
|
1289
1289
|
:host {
|
|
1290
1290
|
background-color: ${$e.darkGrey};
|
|
@@ -1301,22 +1301,22 @@
|
|
|
1301
1301
|
background-color: ${$e.darkerGrey};
|
|
1302
1302
|
color: ${Ae.blue};
|
|
1303
1303
|
}
|
|
1304
|
-
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig)),
|
|
1304
|
+
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig)),io=H.foundationMenuShadowOptions;class no extends H.Menu{}const lo=no.compose({baseName:"menu",template:H.foundationMenuTemplate,styles:(e,a)=>b.css`
|
|
1305
1305
|
${(0,H.foundationMenuStyles)(e,a)}
|
|
1306
1306
|
|
|
1307
1307
|
:host {
|
|
1308
1308
|
padding: 0;
|
|
1309
1309
|
}
|
|
1310
|
-
`,shadowOptions:
|
|
1310
|
+
`,shadowOptions:io}),go=H.foundationMenuItemShadowOptions;class so extends H.MenuItem{}const co=so.compose(Object.assign({baseName:"menu-item",template:H.foundationMenuItemTemplate,styles:(e,a)=>b.css`
|
|
1311
1311
|
${(0,H.foundationMenuItemStyles)(e,a)}
|
|
1312
1312
|
|
|
1313
1313
|
:host {
|
|
1314
1314
|
background: none;
|
|
1315
1315
|
margin: 0;
|
|
1316
1316
|
}
|
|
1317
|
-
`,shadowOptions:
|
|
1318
|
-
${
|
|
1319
|
-
`,
|
|
1317
|
+
`,shadowOptions:go},H.defaultMenuItemConfig)),po=b.css`
|
|
1318
|
+
${rt}
|
|
1319
|
+
`,uo=H.defaultModalConfig,ho=H.foundationModalTemplate,mo=H.foundationModalShadowOptions;class bo extends H.Modal{}const vo=bo.compose(Object.assign({baseName:"modal",shadowOptions:mo,styles:po,template:ho},uo)),fo=b.css`
|
|
1320
1320
|
${H.multiselectStyles}
|
|
1321
1321
|
|
|
1322
1322
|
:host {
|
|
@@ -1324,7 +1324,7 @@
|
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
1326
|
#display-field {
|
|
1327
|
-
background: ${
|
|
1327
|
+
background: ${Tr};
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
1330
|
#display-field:focus {
|
|
@@ -1370,11 +1370,11 @@
|
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
.label {
|
|
1373
|
-
color: ${
|
|
1373
|
+
color: ${Dr};
|
|
1374
1374
|
}
|
|
1375
|
-
`,
|
|
1375
|
+
`,wo=b.html`
|
|
1376
1376
|
${(0,H.getPrefixedMultiselect)("zero")}
|
|
1377
|
-
`;class
|
|
1377
|
+
`;class yo extends H.Multiselect{}const xo=H.defaultMultiselectConfig,ko=H.foundationMultiselectShadowOptions,zo=yo.compose(Object.assign({baseName:"multiselect",template:wo,styles:fo,shadowOptions:ko},xo));class So extends H.NotificationListener{}const Co=So.compose({baseName:"notification-listener",template:H.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),$o=(e,a)=>b.css`
|
|
1378
1378
|
${(0,H.foundationTextFieldStyles)(e,a)}
|
|
1379
1379
|
:host {
|
|
1380
1380
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1386,12 +1386,12 @@
|
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
1388
|
:host .root {
|
|
1389
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1390
|
-
background-color: ${
|
|
1389
|
+
border: calc(var(--stroke-width) * 1px) solid ${Mr};
|
|
1390
|
+
background-color: ${Tr};
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
1393
|
:host(:hover:not([disabled])) .root {
|
|
1394
|
-
border-color: ${
|
|
1394
|
+
border-color: ${Ar};
|
|
1395
1395
|
background: none;
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
@@ -1409,7 +1409,7 @@
|
|
|
1409
1409
|
${Ae.purple} 100%
|
|
1410
1410
|
)
|
|
1411
1411
|
bottom/100% 1px;
|
|
1412
|
-
background-color: ${
|
|
1412
|
+
background-color: ${Nr};
|
|
1413
1413
|
background-origin: border-box;
|
|
1414
1414
|
background-repeat: no-repeat;
|
|
1415
1415
|
border: 1px solid transparent;
|
|
@@ -1419,15 +1419,15 @@
|
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
1421
|
.label {
|
|
1422
|
-
color: ${
|
|
1422
|
+
color: ${Dr};
|
|
1423
1423
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1424
1424
|
}
|
|
1425
|
-
`;class
|
|
1425
|
+
`;class Ao extends H.NumberField{}const Oo=H.defaultNumberFieldConfig,To=H.foundationNumberFieldTemplate,Fo=H.foundationNumberFieldShadowOptions,Do=Ao.compose(Object.assign({baseName:"number-field",template:To,styles:(e,a)=>b.css`
|
|
1426
1426
|
:host .root {
|
|
1427
1427
|
--focus-stroke-outer: transparent;
|
|
1428
1428
|
}
|
|
1429
|
-
${
|
|
1430
|
-
`,shadowOptions:
|
|
1429
|
+
${$o(e,a)}
|
|
1430
|
+
`,shadowOptions:Fo},Oo));class Ro extends H.SystemHealthOverlay{}const No=Ro.compose(Object.assign({baseName:"system-health-overlay",template:H.foundationSystemHealthOverlayTemplate,styles:H.foundationSystemHealthOverlayStyles,shadowOptions:H.foundationSystemHealthOverlayShadowOptions},H.defaultSystemHealthOverlayConfig));class Lo extends H.Progress{}const Mo=Lo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1431
1431
|
${(0,H.foundationProgressStyles)(e,a)}
|
|
1432
1432
|
:host([appearance="secondary-teal"]) {
|
|
1433
1433
|
--accent-foreground-rest: ${Oe.teal};
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
:host([appearance='secondary-orange']) {
|
|
1437
1437
|
--accent-foreground-rest: ${Oe.orange};
|
|
1438
1438
|
}
|
|
1439
|
-
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class
|
|
1439
|
+
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class Io extends H.ProgressRing{}const Eo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${Ae.purple}"/>\n <stop offset="100%" stop-color="${Ae.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 `},jo=Io.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
|
|
1440
1440
|
<template
|
|
1441
1441
|
role="progressbar"
|
|
1442
1442
|
aria-valuenow="${e=>e.value}"
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
.indeterminate-indicator-1, .determinate {
|
|
1475
1475
|
stroke: ${"url(#linear)"};
|
|
1476
1476
|
}
|
|
1477
|
-
`,shadowOptions:H.foundationProgressRingShadowOptions},
|
|
1477
|
+
`,shadowOptions:H.foundationProgressRingShadowOptions},Eo));class Po extends H.Radio{}const Bo=Po.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1478
1478
|
${(0,H.foundationRadioStyles)(e,a)}
|
|
1479
1479
|
:host {
|
|
1480
1480
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1506,24 +1506,24 @@
|
|
|
1506
1506
|
${Ae.purple}
|
|
1507
1507
|
);
|
|
1508
1508
|
}
|
|
1509
|
-
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class
|
|
1509
|
+
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class Go extends H.RadioGroup{}const _o=Go.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1510
1510
|
${(0,H.foundationRadioGroupStyles)(e,a)}
|
|
1511
1511
|
:host([appearance="accent"]) {
|
|
1512
1512
|
background: green;
|
|
1513
1513
|
}
|
|
1514
|
-
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),
|
|
1514
|
+
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),Uo=b.css`
|
|
1515
1515
|
${H.foundationSearchBarStyles}
|
|
1516
|
-
`,
|
|
1516
|
+
`,Ho=b.html`
|
|
1517
1517
|
${(0,H.getPrefixedSearchBar)("zero")}
|
|
1518
|
-
`;class
|
|
1518
|
+
`;class Vo extends H.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const Yo=Vo.compose(Object.assign({baseName:"search-bar",template:Ho,styles:Uo,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class Qo extends H.SearchBarCombobox{}const Wo=Qo.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1519
1519
|
${(0,H.foundationSearchBarComboboxStyles)(e,a)}
|
|
1520
1520
|
|
|
1521
1521
|
:host {
|
|
1522
1522
|
--primary-gradient-angle: -113.5deg;
|
|
1523
1523
|
|
|
1524
1524
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1525
|
-
border-color: ${
|
|
1526
|
-
background: ${
|
|
1525
|
+
border-color: ${Mr};
|
|
1526
|
+
background: ${Tr};
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
1529
|
:host(:focus-within:not([disabled])) {
|
|
@@ -1548,8 +1548,8 @@
|
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
1550
|
:host(:hover:not([disabled]):not([open])) {
|
|
1551
|
-
border-color: ${
|
|
1552
|
-
background: ${
|
|
1551
|
+
border-color: ${Ar};
|
|
1552
|
+
background: ${Tr};
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
1555
|
:host([open][position='below']) .listbox {
|
|
@@ -1557,7 +1557,7 @@
|
|
|
1557
1557
|
border-radius: 4px;
|
|
1558
1558
|
border: 1px solid ${$e.lightGrey};
|
|
1559
1559
|
}
|
|
1560
|
-
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class
|
|
1560
|
+
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class qo extends H.SegmentedControl{}const Jo=qo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1561
1561
|
${(0,H.foundationSegmentedControlStyles)(e,a)}
|
|
1562
1562
|
:host {
|
|
1563
1563
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
border-color: transparent;
|
|
1597
1597
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
1598
1598
|
}
|
|
1599
|
-
`,shadowOptions:undefined},{}));class
|
|
1599
|
+
`,shadowOptions:undefined},{}));class Zo extends H.Radio{}const Ko=Zo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1600
1600
|
${(0,H.foundationSegmentedItemStyles)(e,a)}
|
|
1601
1601
|
:host {
|
|
1602
1602
|
color: var(--neutral-stroke-rest);
|
|
@@ -1606,14 +1606,14 @@
|
|
|
1606
1606
|
:host([aria-checked='true']) {
|
|
1607
1607
|
color: ${$e.white};
|
|
1608
1608
|
}
|
|
1609
|
-
`,shadowOptions:undefined},{}));class
|
|
1609
|
+
`,shadowOptions:undefined},{}));class Xo extends H.Select{}const ei=Xo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1610
1610
|
${(0,H.foundationSelectStyles)(e,a)}
|
|
1611
1611
|
:host {
|
|
1612
1612
|
--primary-gradient-angle: -113.5deg;
|
|
1613
1613
|
|
|
1614
1614
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1615
|
-
border-color: ${
|
|
1616
|
-
background: ${
|
|
1615
|
+
border-color: ${Mr};
|
|
1616
|
+
background: ${Tr};
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
1619
|
:host(:focus-within:not([disabled])) {
|
|
@@ -1638,8 +1638,8 @@
|
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
1640
1640
|
:host(:hover:not([disabled]):not(.open)) {
|
|
1641
|
-
border-color: ${
|
|
1642
|
-
background: ${
|
|
1641
|
+
border-color: ${Ar};
|
|
1642
|
+
background: ${Tr};
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
1645
1645
|
:host([open][position='below']) .listbox {
|
|
@@ -1650,15 +1650,15 @@
|
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
1652
|
:host([open]) .control {
|
|
1653
|
-
background: ${
|
|
1653
|
+
background: ${Nr};
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
1656
1656
|
:host(:not([disabled])) .control:active {
|
|
1657
1657
|
background: none;
|
|
1658
1658
|
}
|
|
1659
|
-
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class
|
|
1659
|
+
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class ai extends H.Skeleton{}const ri=ai.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1660
1660
|
${(0,H.foundationSkeletonStyles)(e,a)}
|
|
1661
|
-
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class
|
|
1661
|
+
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class ti extends H.Slider{}const oi=ti.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1662
1662
|
${(0,H.foundationSliderStyles)(e,a)}
|
|
1663
1663
|
:host {
|
|
1664
1664
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1701,11 +1701,11 @@
|
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
1703
|
.thumb-cursor:hover::after {
|
|
1704
|
-
background-color: ${
|
|
1704
|
+
background-color: ${Sa(.1)};
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
1707
|
.thumb-cursor:active::after {
|
|
1708
|
-
background-color: ${
|
|
1708
|
+
background-color: ${Sa(.2)};
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
1711
|
.track {
|
|
@@ -1715,7 +1715,7 @@
|
|
|
1715
1715
|
.track-progress {
|
|
1716
1716
|
background-color: var(--neutral-stroke-rest);
|
|
1717
1717
|
}
|
|
1718
|
-
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class
|
|
1718
|
+
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class ii extends H.SliderLabel{}const ni=ii.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1719
1719
|
${(0,H.foundationSliderLabelStyles)(e,a)}
|
|
1720
1720
|
.label {
|
|
1721
1721
|
padding: 6px 8px;
|
|
@@ -1726,7 +1726,7 @@
|
|
|
1726
1726
|
text-align: center;
|
|
1727
1727
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
1728
1728
|
}
|
|
1729
|
-
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),
|
|
1729
|
+
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),li=b.css`
|
|
1730
1730
|
${H.foundationSnackbarStyles}
|
|
1731
1731
|
.snackbar {
|
|
1732
1732
|
border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer2};
|
|
@@ -1734,23 +1734,23 @@
|
|
|
1734
1734
|
}
|
|
1735
1735
|
|
|
1736
1736
|
:host([type='error']) .snackbar::after {
|
|
1737
|
-
background-color: ${
|
|
1737
|
+
background-color: ${La(1)};
|
|
1738
1738
|
}
|
|
1739
|
-
`,
|
|
1739
|
+
`,gi=b.html`
|
|
1740
1740
|
${(0,H.getPrefixedSnackbar)("zero")}
|
|
1741
|
-
`,
|
|
1741
|
+
`,si=H.foundationSnackbarShadowOptions;class di extends H.Snackbar{}const ci=di.compose({baseName:"snackbar",shadowOptions:si,styles:li,template:gi});class pi extends H.StackingIcons{}const ui=pi.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
|
|
1742
1742
|
${(0,H.foundationStackingIconsStyles)(e,a)}
|
|
1743
|
-
`}),
|
|
1743
|
+
`}),hi=b.css`
|
|
1744
1744
|
${H.foundationStepperStyles}
|
|
1745
1745
|
|
|
1746
1746
|
.stepper-tab {
|
|
1747
1747
|
background-color: var(--neutral-layer-3);
|
|
1748
1748
|
}
|
|
1749
|
-
`,
|
|
1749
|
+
`,mi=b.html`
|
|
1750
1750
|
${(0,H.getPrefixedStepper)("zero")}
|
|
1751
|
-
`;class
|
|
1751
|
+
`;class bi extends H.Stepper{}const vi=bi.compose(Object.assign({baseName:"stepper",template:mi,styles:hi,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),fi=b.html`
|
|
1752
1752
|
${(0,H.getPrefixedStepperTab)("zero")}
|
|
1753
|
-
`;class
|
|
1753
|
+
`;class wi extends H.StepperTab{}const yi=wi.compose(Object.assign({baseName:"stepper-tab",template:fi,styles:(e,a)=>b.css`
|
|
1754
1754
|
${(0,H.foundationStepperTabStyles)(e,a)}
|
|
1755
1755
|
|
|
1756
1756
|
zero-tree-item {
|
|
@@ -1762,7 +1762,7 @@
|
|
|
1762
1762
|
|
|
1763
1763
|
border-bottom: 1px solid var(--fill-color);
|
|
1764
1764
|
}
|
|
1765
|
-
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class
|
|
1765
|
+
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class xi extends H.StepperTabPanel{}const ki=xi.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig));class zi extends H.Switch{}const Si=zi.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1766
1766
|
${(0,H.foundationSwitchStyles)(e,a)}
|
|
1767
1767
|
:host {
|
|
1768
1768
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1807,7 +1807,7 @@
|
|
|
1807
1807
|
${Ae.purple}
|
|
1808
1808
|
);
|
|
1809
1809
|
}
|
|
1810
|
-
`,shadowOptions:H.foundationSwitchShadowOptions},H.defaultSwitchConfig));class
|
|
1810
|
+
`,shadowOptions:H.foundationSwitchShadowOptions},H.defaultSwitchConfig));class Ci extends H.Tab{}const $i=Ci.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1811
1811
|
${(0,H.foundationTabStyles)(e,a)}
|
|
1812
1812
|
:host {
|
|
1813
1813
|
background-color: ${f.neutralLayer2};
|
|
@@ -1831,9 +1831,9 @@
|
|
|
1831
1831
|
margin-right: 0;
|
|
1832
1832
|
background-color: var(--zero-card-fill-color);
|
|
1833
1833
|
}
|
|
1834
|
-
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class
|
|
1834
|
+
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class Ai extends H.TabPanel{}const Oi=Ai.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1835
1835
|
${(0,H.foundationTabPanelStyles)(e,a)}
|
|
1836
|
-
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class
|
|
1836
|
+
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class Ti extends H.Tabs{}const Fi=Ti.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1837
1837
|
${(0,H.foundationTabsStyles)(e,a)}
|
|
1838
1838
|
:host .tablist {
|
|
1839
1839
|
padding: 0;
|
|
@@ -1879,7 +1879,7 @@
|
|
|
1879
1879
|
height: 2px;
|
|
1880
1880
|
margin-top: 0;
|
|
1881
1881
|
}
|
|
1882
|
-
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class
|
|
1882
|
+
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class Di extends H.TextArea{}const Ri=Di.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1883
1883
|
${(0,H.foundationTextAreaStyles)(e,a)}
|
|
1884
1884
|
:host {
|
|
1885
1885
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1887,14 +1887,14 @@
|
|
|
1887
1887
|
|
|
1888
1888
|
:host .control {
|
|
1889
1889
|
height: 100%;
|
|
1890
|
-
background-color: ${
|
|
1891
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1890
|
+
background-color: ${Tr};
|
|
1891
|
+
border: calc(var(--stroke-width) * 1px) solid ${Mr};
|
|
1892
1892
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1893
1893
|
}
|
|
1894
1894
|
|
|
1895
1895
|
:host(:hover:not([disabled])) .control {
|
|
1896
|
-
border-color: ${
|
|
1897
|
-
background: ${
|
|
1896
|
+
border-color: ${Ar};
|
|
1897
|
+
background: ${Tr};
|
|
1898
1898
|
}
|
|
1899
1899
|
|
|
1900
1900
|
:host(:focus-within:not([disabled])) .control {
|
|
@@ -1916,15 +1916,15 @@
|
|
|
1916
1916
|
border: 1px solid transparent;
|
|
1917
1917
|
border-right-color: ${Ae.blue};
|
|
1918
1918
|
border-left-color: ${Ae.purple};
|
|
1919
|
-
background-color: ${
|
|
1919
|
+
background-color: ${Nr};
|
|
1920
1920
|
box-shadow: none;
|
|
1921
1921
|
}
|
|
1922
1922
|
|
|
1923
1923
|
.label {
|
|
1924
|
-
color: ${
|
|
1924
|
+
color: ${Dr};
|
|
1925
1925
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1926
1926
|
}
|
|
1927
|
-
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class
|
|
1927
|
+
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class Ni extends H.TextField{}const Li=Ni.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:$o,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),Mi=b.css`
|
|
1928
1928
|
${H.foundationToastStyles}
|
|
1929
1929
|
.toast {
|
|
1930
1930
|
border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer3};
|
|
@@ -1932,29 +1932,29 @@
|
|
|
1932
1932
|
}
|
|
1933
1933
|
|
|
1934
1934
|
.toast::after {
|
|
1935
|
-
background-color: ${
|
|
1935
|
+
background-color: ${Sa(1)};
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
1938
1938
|
:host([notify='warning']) .toast::after {
|
|
1939
|
-
background-color: ${
|
|
1939
|
+
background-color: ${La(1)};
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
1942
|
:host([notify='success']) .toast::after {
|
|
1943
|
-
background-color: ${
|
|
1943
|
+
background-color: ${Da(1)};
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
1946
|
:host([notify='critical']) .toast::after {
|
|
1947
|
-
background-color: ${((e=1)=>
|
|
1947
|
+
background-color: ${((e=1)=>va(Ra,e))(1)};
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
1950
|
:host([notify='serious']) .toast::after {
|
|
1951
|
-
background-color: ${
|
|
1951
|
+
background-color: ${Ta(1)};
|
|
1952
1952
|
}
|
|
1953
|
-
`,
|
|
1953
|
+
`,Ii=H.defaultToastConfig,Ei=H.foundationToastShadowOptions;class ji extends H.Toast{}const Pi=ji.compose(Object.assign({baseName:"toast",shadowOptions:Ei,styles:Mi,template:H.foundationToastTemplate},Ii));class Bi extends H.Toolbar{}const Gi=Bi.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1954
1954
|
${(0,H.foundationToolbarStyles)(e,a)}
|
|
1955
|
-
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class
|
|
1955
|
+
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class _i extends H.Tooltip{}const Ui=_i.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1956
1956
|
${(0,H.foundationTooltipStyles)(e,a)}
|
|
1957
|
-
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class
|
|
1957
|
+
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Hi extends H.TreeItem{}const Vi=Hi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1958
1958
|
${(0,H.foundationTreeItemStyles)(e,a)}
|
|
1959
1959
|
:host {
|
|
1960
1960
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1982,11 +1982,11 @@
|
|
|
1982
1982
|
background-size: cover;
|
|
1983
1983
|
background-repeat: no-repeat;
|
|
1984
1984
|
}
|
|
1985
|
-
`,shadowOptions:H.foundationTreeItemShadowOptions},H.defaultTreeItemConfig));class
|
|
1985
|
+
`,shadowOptions:H.foundationTreeItemShadowOptions},H.defaultTreeItemConfig));class Yi extends H.TreeView{}const Qi=Yi.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
|
|
1986
1986
|
${(0,H.foundationTreeViewStyles)(e,a)}
|
|
1987
|
-
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),
|
|
1987
|
+
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Wi=b.html`
|
|
1988
1988
|
${(0,H.getPrefixedUrlInput)("zero")}
|
|
1989
|
-
`;class
|
|
1989
|
+
`;class qi extends H.UrlInput{}const Ji={zeroAccordion:pa,zeroAccordionItem:ha,zeroActionsMenu:ba,zeroAnchor:Za,zeroAnchoredRegion:Xa,zeroAvatar:ar,zeroBadge:tr,zeroBanner:lr,zeroBreadcrumbItem:cr,zeroBreadcrumb:sr,zeroButton:ur,zeroCalendar:mr,zeroCard:vr,zeroCategorizedMultiselect:zr,zeroCheckbox:Cr,zeroCombobox:jr,zeroConnectionIndicator:Br,zeroDataGrid:Hr,zeroDesignSystemProvider:Xr,zeroDialog:lt,zeroDatePicker:Qr,zeroDisclosure:st,zeroDivider:ct,zeroDropdownMenu:ut,zeroErrorBoundary:wt,zeroNotificationListener:Co,zeroErrorBanner:vt,zeroErrorDialog:xt,zeroFileUpload:At,zeroFilter:Ft,zeroFilterBar:Nt,zeroFlexLayout:Mt,zeroFlipper:Et,zeroFlyout:Ut,zeroGridLayout:Vt,zeroGridLayoutItem:Qt,zeroHorizontalScroll:Jt,zeroIcon:eo,zeroListbox:ro,zeroListboxOption:oo,zeroMenu:lo,zeroMenuItem:co,zeroModal:vo,zeroMultiselect:zo,zeroNumberField:Do,zeroProgress:Mo,zeroProgressRing:jo,zeroRadio:Bo,zeroRadioGroup:_o,zeroSearchBar:Yo,zeroSearchBarCombobox:Wo,zeroSegmentedControl:Jo,zeroSegmentedItem:Ko,zeroSelect:ei,zeroSkeleton:ri,zeroSlider:oi,zeroSliderLabel:ni,zeroSnackbar:ci,zeroStackingIcons:ui,zeroStepper:vi,zeroStepperTab:yi,zeroStepperTabPanel:ki,zeroSwitch:Si,zeroSystemHealthOverlay:No,zeroTab:$i,zeroTabPanel:Oi,zeroTabs:Fi,zeroTextArea:Ri,zeroTextField:Li,zeroToast:Pi,zeroToolbar:Gi,zeroTooltip:Ui,zeroTreeItem:Vi,zeroTreeView:Qi,zeroUrlInput:qi.compose(Object.assign({baseName:"url-input",template:Wi,styles:(e,a)=>b.css`
|
|
1990
1990
|
${(0,H.foundationUrlInputStyles)(e,a)}
|
|
1991
1991
|
a {
|
|
1992
1992
|
color: ${Ae.blue};
|
|
@@ -1996,23 +1996,23 @@
|
|
|
1996
1996
|
a:hover {
|
|
1997
1997
|
opacity: 100%;
|
|
1998
1998
|
}
|
|
1999
|
-
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var
|
|
2000
|
-
.${
|
|
1999
|
+
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Zi,Ki,Xi=r(33011),en=r(94343),an=r.n(en),rn=r(41492),tn=r.n(rn);!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"}(Zi||(Zi={})),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"}(Ki||(Ki={}));const on=e=>`${e}-token-map`,nn=(e,a)=>b.css`
|
|
2000
|
+
.${on(e)} {
|
|
2001
2001
|
${new H.CSSVarsTokenMapper(a)}
|
|
2002
2002
|
}
|
|
2003
|
-
`;var
|
|
2003
|
+
`;var ln;!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"}(ln||(ln={}));const gn="__editedColumn",sn="__errorColumn",dn={},cn=v.DI.createInterface((e=>e.instance(dn)));var pn;!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"}(pn||(pn={})),an().extend(tn());class un extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[gn]}}(0,Xi.__decorate)([b.observable],un.prototype,"value",void 0),(0,Xi.__decorate)([b.observable],un.prototype,"actualWidth",void 0);const hn=b.css`
|
|
2004
2004
|
:host {
|
|
2005
2005
|
display: flex;
|
|
2006
2006
|
}
|
|
2007
|
-
`,
|
|
2007
|
+
`,mn=(e="foundation")=>b.html`
|
|
2008
2008
|
<${e}-text-field
|
|
2009
2009
|
${(0,b.ref)("input")}
|
|
2010
|
-
:value=${e=>void 0===e.value||null===e.value?"":
|
|
2010
|
+
:value=${e=>void 0===e.value||null===e.value?"":an().utc(e.value).format(e.dateFormat)}
|
|
2011
2011
|
type=${e=>e.inputType}
|
|
2012
2012
|
@input=${(e,a)=>e.changeHandler(a.event)}
|
|
2013
2013
|
style="width: ${e=>e.actualWidth}px"
|
|
2014
2014
|
></${e}-text-field>
|
|
2015
|
-
`,
|
|
2015
|
+
`,bn=un.compose({baseName:"date-editor",styles:hn,template:mn()});class vn extends un{}const fn=vn.compose({baseName:"date-editor",styles:hn,template:mn("zero")});class wn extends v.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[gn]}}(0,Xi.__decorate)([b.observable],wn.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],wn.prototype,"selectedOptions",void 0);const yn=b.css``,xn=(e="foundation")=>b.html`
|
|
2016
2016
|
<${e}-multiselect
|
|
2017
2017
|
style="width: 100%"
|
|
2018
2018
|
?async=${e=>e.params.async}
|
|
@@ -2026,7 +2026,7 @@
|
|
|
2026
2026
|
:datasourceConfig=${e=>e.params.datasourceOptions}
|
|
2027
2027
|
></multiselect-datasource>
|
|
2028
2028
|
</${e}-multiselect>
|
|
2029
|
-
`,
|
|
2029
|
+
`,kn=wn.compose({baseName:"multiselect-editor",styles:yn,template:xn()});class zn extends wn{}const Sn=zn.compose({baseName:"multiselect-editor",styles:yn,template:xn("zero")});class Cn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[gn]}}(0,Xi.__decorate)([b.observable],Cn.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],Cn.prototype,"value",void 0),(0,Xi.__decorate)([b.observable],Cn.prototype,"actualWidth",void 0);const $n=b.css``,An=(e="foundation")=>b.html`
|
|
2030
2030
|
<${e}-combobox
|
|
2031
2031
|
style="width: ${e=>e.actualWidth}px"
|
|
2032
2032
|
${(0,b.ref)("combobox")}
|
|
@@ -2043,11 +2043,11 @@
|
|
|
2043
2043
|
:initialSelectedValue=${e=>e.params.value}
|
|
2044
2044
|
></options-datasource>
|
|
2045
2045
|
</${e}-combobox>
|
|
2046
|
-
`,
|
|
2046
|
+
`,On=Cn.compose({baseName:"select-editor",styles:$n,template:An()});class Tn extends Cn{}const Fn=Tn.compose({baseName:"select-editor",styles:$n,template:An("zero")});class Dn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[gn]}}(0,Xi.__decorate)([b.observable],Dn.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],Dn.prototype,"value",void 0),(0,Xi.__decorate)([b.observable],Dn.prototype,"actualWidth",void 0);const Rn=b.css`
|
|
2047
2047
|
:host {
|
|
2048
2048
|
display: flex;
|
|
2049
2049
|
}
|
|
2050
|
-
`,
|
|
2050
|
+
`,Nn=(e="foundation")=>b.html`
|
|
2051
2051
|
<${e}-number-field
|
|
2052
2052
|
${(0,b.ref)("input")}
|
|
2053
2053
|
withFormatting=${e=>e.params.withFormatting}
|
|
@@ -2059,11 +2059,11 @@
|
|
|
2059
2059
|
hideStep
|
|
2060
2060
|
style="width: ${e=>e.actualWidth}px"
|
|
2061
2061
|
></${e}-number-field>
|
|
2062
|
-
`,
|
|
2062
|
+
`,Ln=Dn.compose({baseName:"number-editor",styles:Rn,template:Nn()});class Mn extends Dn{}const In=Mn.compose({baseName:"number-editor",styles:Rn,template:Nn("zero")});class En extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[gn]}}(0,Xi.__decorate)([b.observable],En.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],En.prototype,"value",void 0),(0,Xi.__decorate)([b.observable],En.prototype,"actualWidth",void 0);const jn=b.css`
|
|
2063
2063
|
:host {
|
|
2064
2064
|
display: flex;
|
|
2065
2065
|
}
|
|
2066
|
-
`,
|
|
2066
|
+
`,Pn=(e="foundation")=>b.html`
|
|
2067
2067
|
<${e}-text-field
|
|
2068
2068
|
${(0,b.ref)("input")}
|
|
2069
2069
|
:value=${e=>void 0===e.value?"":e.value}
|
|
@@ -2072,16 +2072,16 @@
|
|
|
2072
2072
|
style="width: ${e=>e.actualWidth}px"
|
|
2073
2073
|
>
|
|
2074
2074
|
</${e}-text-field>
|
|
2075
|
-
`,
|
|
2075
|
+
`,Bn=En.compose({baseName:"string-editor",styles:jn,template:Pn()});class Gn extends En{}const _n=Gn.compose({baseName:"string-editor",styles:jn,template:Pn("zero")});class Un 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,Xi.__decorate)([b.observable],Un.prototype,"valueFormatted",void 0);const Hn=b.css`
|
|
2076
2076
|
:host {
|
|
2077
2077
|
display: flex;
|
|
2078
2078
|
justify-content: space-between;
|
|
2079
2079
|
align-items: center;
|
|
2080
2080
|
}
|
|
2081
|
-
`,
|
|
2081
|
+
`,Vn=(e="foundation")=>b.html`
|
|
2082
2082
|
<span>${e=>e.valueFormatted}</span>
|
|
2083
2083
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
2084
|
-
`,
|
|
2084
|
+
`,Yn=Un.compose({baseName:"editable-renderer",styles:Hn,template:Vn()});class Qn extends Un{}const Wn=Qn.compose({baseName:"editable-renderer",styles:Hn,template:Vn("zero")});var qn=r(44210);const Jn=(0,k.createLogger)("grid-pro");class Zn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===qn.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){Jn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Xi.__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,Xi.__decorate)([b.observable],Zn.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],Zn.prototype,"pendingAction",void 0);const{create:Kn}=v.DesignToken,Xn=(Kn("action-height-multiplier").withDefault("0.6px"),b.css`
|
|
2085
2085
|
.action-container {
|
|
2086
2086
|
align-items: center;
|
|
2087
2087
|
display: flex;
|
|
@@ -2096,8 +2096,8 @@
|
|
|
2096
2096
|
var(--action-height-multiplier)
|
|
2097
2097
|
);
|
|
2098
2098
|
}
|
|
2099
|
-
`),
|
|
2100
|
-
${
|
|
2099
|
+
`),el=Zn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
|
|
2100
|
+
${Xn}
|
|
2101
2101
|
`,template:b.html`
|
|
2102
2102
|
<div class="action-container" part="action-container">
|
|
2103
2103
|
<foundation-button
|
|
@@ -2107,8 +2107,8 @@
|
|
|
2107
2107
|
?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
|
|
2108
2108
|
appearance="${e=>e.params.appearance}"
|
|
2109
2109
|
@click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
|
|
2110
|
-
</div>`});class
|
|
2111
|
-
${
|
|
2110
|
+
</div>`});class al extends Zn{}const rl=al.compose({baseName:"grid-pro-action-renderer",styles:b.css`
|
|
2111
|
+
${Xn}
|
|
2112
2112
|
`,template:b.html`
|
|
2113
2113
|
<div class="action-container" part="action-container">
|
|
2114
2114
|
<zero-button
|
|
@@ -2125,29 +2125,29 @@
|
|
|
2125
2125
|
`:e.params.actionName}
|
|
2126
2126
|
</zero-button>
|
|
2127
2127
|
</div>
|
|
2128
|
-
`}),
|
|
2128
|
+
`}),tl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class ol extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Xi.__decorate)([b.observable],ol.prototype,"params",void 0);const il=ol.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
2129
2129
|
<foundation-actions-menu
|
|
2130
2130
|
name="${e=>e.params.headerName}"
|
|
2131
2131
|
:definition=${e=>e.params}
|
|
2132
2132
|
></foundation-actions-menu>
|
|
2133
|
-
`});class
|
|
2133
|
+
`});class nl extends ol{}const ll=nl.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
2134
2134
|
<zero-actions-menu
|
|
2135
2135
|
name="${e=>e.params.headerName}"
|
|
2136
2136
|
:definition=${e=>e.params}
|
|
2137
2137
|
></zero-actions-menu>
|
|
2138
|
-
`});class
|
|
2138
|
+
`});class gl 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:qn.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:qn.sVA.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[gn]}}(0,Xi.__decorate)([b.observable],gl.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],gl.prototype,"selected",void 0);const sl=b.css`
|
|
2139
2139
|
:host {
|
|
2140
2140
|
align-center: center;
|
|
2141
2141
|
display: flex;
|
|
2142
2142
|
height: 100%;
|
|
2143
2143
|
}
|
|
2144
|
-
`,
|
|
2144
|
+
`,dl=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
|
|
2145
2145
|
<${a}
|
|
2146
2146
|
@change=${(e,a)=>e.changeHandler(a.event)}
|
|
2147
2147
|
:checked=${e=>e.selected}
|
|
2148
2148
|
?disabled=${e=>!e.params.colDef.editable}
|
|
2149
2149
|
></${a}>
|
|
2150
|
-
`},
|
|
2150
|
+
`},cl=gl.compose({baseName:"boolean-renderer",styles:sl,template:dl()});class pl extends gl{}const ul=pl.compose({baseName:"boolean-renderer",styles:sl,template:dl("zero")});var hl=r(40729);const ml=(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 bl 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?ml(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,Xi.__decorate)([b.observable],bl.prototype,"textValue",void 0),(0,Xi.__decorate)([b.observable],bl.prototype,"params",void 0);const vl=b.css`
|
|
2151
2151
|
:host {
|
|
2152
2152
|
display: flex;
|
|
2153
2153
|
width: 100%;
|
|
@@ -2157,15 +2157,15 @@
|
|
|
2157
2157
|
.text-renderer {
|
|
2158
2158
|
width: 100%;
|
|
2159
2159
|
}
|
|
2160
|
-
`,
|
|
2160
|
+
`,fl=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
|
|
2161
2161
|
<${a}
|
|
2162
2162
|
${(0,b.ref)("textField")}
|
|
2163
2163
|
type="text"
|
|
2164
2164
|
class="text-renderer"
|
|
2165
|
-
:value="${(0,
|
|
2165
|
+
:value="${(0,hl.O)((e=>e.textValue))}"
|
|
2166
2166
|
@change="${(e,a)=>e.textChanged(a.event)}"
|
|
2167
2167
|
></${a}>
|
|
2168
|
-
`},
|
|
2168
|
+
`},wl=bl.compose({baseName:"grid-pro-text-renderer",styles:vl,template:fl()});class yl extends bl{}const xl=vl,kl=fl,zl=yl.compose({baseName:"grid-text-renderer",styles:xl,template:kl()});const Sl=class extends yl{}.compose({baseName:"grid-text-renderer",styles:xl,template:kl("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=ml(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Xi.__decorate)([b.observable],Cl.prototype,"params",void 0),(0,Xi.__decorate)([b.observable],Cl.prototype,"value",void 0);const $l=b.css`
|
|
2169
2169
|
:host,
|
|
2170
2170
|
.select-renderer,
|
|
2171
2171
|
zero-option,
|
|
@@ -2174,7 +2174,7 @@
|
|
|
2174
2174
|
max-width: var(--select-renderer-max-width);
|
|
2175
2175
|
min-width: 100%;
|
|
2176
2176
|
}
|
|
2177
|
-
`,
|
|
2177
|
+
`,Al=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
|
|
2178
2178
|
<${a}
|
|
2179
2179
|
class="select-renderer"
|
|
2180
2180
|
@change=${(e,a)=>e.selectionChanged(a.event)}
|
|
@@ -2190,15 +2190,15 @@
|
|
|
2190
2190
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2191
2191
|
`)}
|
|
2192
2192
|
</${a}>
|
|
2193
|
-
`},
|
|
2193
|
+
`},Ol=Cl.compose({baseName:"select-renderer",styles:$l,template:Al()});const Tl=class extends Cl{}.compose({baseName:"select-renderer",styles:$l,template:Al("zero")});var Fl=r(29310),Dl=r(84646),Rl=r(17190),Nl=r(21530),Ll=r(31679),Ml=r(89882),Il=r(62051),El=r.n(Il);const jl=b.html`
|
|
2194
2194
|
<template>
|
|
2195
2195
|
<slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2196
2196
|
</template>
|
|
2197
|
-
`;let
|
|
2197
|
+
`;let Pl=class extends v.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Xi.__decorate)([b.observable],Pl.prototype,"renderer",void 0),(0,Xi.__decorate)([b.observable],Pl.prototype,"rendererParams",void 0),(0,Xi.__decorate)([b.observable],Pl.prototype,"slottedRenderer",void 0),Pl=(0,Xi.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:jl})],Pl);const Bl=b.html`
|
|
2198
2198
|
<template>
|
|
2199
2199
|
<slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2200
2200
|
</template>
|
|
2201
|
-
`;let Rl=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,Hi.__decorate)([b.observable],Rl.prototype,"slottedAgCell",void 0),(0,Hi.__decorate)([b.observable],Rl.prototype,"definition",void 0),Rl=(0,Hi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Dl})],Rl);var Nl=r(39087),Ll=r(96730),Ml=r(21281),Il=r(34193),El=r(40113),jl=r(60949),Pl=r(97156),Bl=r(56607),Gl=r(10629),_l=r(41392),Ul=r(92453),Hl=r(2773),Vl=r(41119),Yl=r(17465),Ql=r(12066);function Wl(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 ql(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Jl({value:e}){return(0,Ql.CL)(e)}function Zl({value:e}){return(0,Ql.zT)(e)}const Kl="datasource-error-close",Xl="datasource";class eg extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Nl.OD.MAX_ROWS_250,this.maxView=Nl.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Nl.OD.REQUEST_SERVER_ROW_ID:Nl.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Nl.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Nl.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Nl.OD.REQUEST_SERVER_ROW_ID:Nl.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var ag;(0,Hi.__decorate)([s.dm],eg.prototype,"connect",void 0),(0,Hi.__decorate)([b.observable],eg.prototype,"deferredGridOptions",void 0),(0,Hi.__decorate)([b.observable],eg.prototype,"deferredColumnStates",void 0),(0,Hi.__decorate)([b.observable],eg.prototype,"rowDataMapper",void 0),(0,Hi.__decorate)([b.attr],eg.prototype,"criteria",void 0),(0,Hi.__decorate)([b.attr],eg.prototype,"fields",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],eg.prototype,"isSnapshot",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"max-rows"})],eg.prototype,"maxRows",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"max-view"})],eg.prototype,"maxView",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],eg.prototype,"movingView",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"order-by"})],eg.prototype,"orderBy",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"resource-name"})],eg.prototype,"resourceName",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean"})],eg.prototype,"reverse",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"row-id"})],eg.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(ag||(ag={}));class rg extends eg{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 Vl.w.STRING:t.cellEditor=Zi.stringEditor;break;case Vl.w.NUMBER:t.cellEditor=Zi.numberEditor;break;case Vl.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Zi.boolean,t.cellEditor=Zi.boolean);break;case Vl.w.DATE:t.valueFormatter=Jl,t.cellEditor=Zi.dateEditor;break;case Vl.w.DATETIME:t.valueFormatter=Zl,t.cellEditor=Zi.dateEditor,t.cellEditorParams={withTime:!0};break;case Vl.w.ENUM:e.enumOptions?(t.cellEditor=Zi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Yl.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:ql(e.type),filter:Wl(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},ag.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},ag.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},ag.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(ag)){if(!this.rowDataMapper)return e;const r={};return a.includes(ag.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(ag.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(ag.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class tg{constructor(){this.rowData=new Map}}function og(e){switch(e){case Vl.w.DATE:case Vl.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 ig="datasource-error",ng="datasource-init",lg="datasource-size-changed";let gg=class extends(c(rg)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Nl.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 Pl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Ll.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}requestChanged(e,a){const r=e!==a;this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Hi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){try{const e=yield this.connect.getMetadata(this.resourceName);if(!e)return void this.handleErrors(`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`);this.isRequestServer=e.TYPE===Nl.vt.REQUEST_SERVER}catch({receivedMessage:{ERROR:e}}){this.handleErrors(e.join(", "))}const r=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},r),this.agGrid.addEventListener("onGridReady",(()=>(0,Hi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const t=600;this.updateSub=this.update.pipe((0,Gl.i)(1),(0,_l.B)(t),(0,Ul.M)((e=>Gn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else this.handleErrors("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;Gn.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 Pl.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,Hi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,Hi.__awaiter)(this,void 0,void 0,(function*(){Gn.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,Hi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;try{if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Gn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.$emit(ng),this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}return}Gn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Hl.W)((e=>{var a;return this.handleErrors(null===(a=null==e?void 0:e.receivedMessage)||void 0===a?void 0:a.ERROR.join(", ")),Bl.w}))).subscribe((e=>{(null==e?void 0:e.ERROR)&&this.handleErrors(e.ERROR.join(", ")),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Ml.Go.LOGOFF_ACK)return this.handleErrors(`Genesis datasource for ${this.resourceName} disconnected.`),void(this.dataSubWasLoggedOff=!0);if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Il.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}catch(e){let{message:a}=e;e.receivedMessage&&(a=e.receivedMessage.ERROR),Gn.error(a),this.handleErrors(a)}}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Il.d)(e).inserts:e.inserts}handleErrors(e){this.agGrid&&this.agGrid.setAttribute("ds-disconnected","ds-disconnected"),e&&(Gn.warn(e),this.$emit(ig,{message:e}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=this.rowData.size,t=e.REPLY;if(!Array.isArray(t)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Gn.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,Hi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,og);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,Ll.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(lg,{value:a,oldValue:e})}};(0,Hi.__decorate)([El.N],gg.prototype,"auth",void 0),(0,Hi.__decorate)([jl.yW],gg.prototype,"datasource",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],gg.prototype,"pollingInterval",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],gg.prototype,"disablePolling",void 0),(0,Hi.__decorate)([b.observable],gg.prototype,"request",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],gg.prototype,"restartOnReconnection",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],gg.prototype,"keepColDefsOnClearRowData",void 0),gg=(0,Hi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],gg);let sg=class extends gg{};sg=(0,Hi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],sg);var dg=r(48707),cg=r(56177);function pg(e){switch(e){case Vl.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 Vl.w.DATE:case Vl.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 Vl.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 ug extends tg{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,Hi.__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 Gn.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/"),Gn.debug("Available indexes:",a),Gn.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,cg.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Ml.Go.LOGOFF_ACK||t===Ml.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,Il.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,Hi.__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,Hi.__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=>Gn.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,Hi.__decorate)([El.N],ug.prototype,"auth",void 0),(0,Hi.__decorate)([s.dm],ug.prototype,"connect",void 0);let hg=class extends(c(rg)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ll.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Hi.__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,Hi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Gn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,dg.a)(e);const a=(0,dg.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new ug({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});Gn.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));Gn.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 Gn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Hi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Hi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Ml.Go.QUERY_UPDATE&&e.ROW){const r=(0,Il.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=>Gn.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,Hi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,pg);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,Hi.__decorate)([(0,b.attr)({mode:"boolean"})],hg.prototype,"pagination",void 0),hg=(0,Hi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],hg);const mg='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sbie0gREpS0BX75I92Tzz1WaffwH8gR5tNGv6Ou1SeWdaN1SV9UZTp7rskIKhKTKO2KKdINUyJyBebzykRFeRxykSE2WFRIO9B1isS0hgQYcL5JAPPxDZCJCtZJhixKBq5KJYoW69I7cDZ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zPj/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',bg='\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+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuV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WOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',vg={[Ui.alpine]:mg,[Ui.alpineDark]:mg,[Ui.balham]:bg,[Ui.balhamDark]:bg,[Ui.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOz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UvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},fg=mg,wg=b.css`
|
|
2201
|
+
`;let Gl=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,Xi.__decorate)([b.observable],Gl.prototype,"slottedAgCell",void 0),(0,Xi.__decorate)([b.observable],Gl.prototype,"definition",void 0),Gl=(0,Xi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Bl})],Gl);var _l=r(39087),Ul=r(96730),Hl=r(21281),Vl=r(34193),Yl=r(40113),Ql=r(60949),Wl=r(97156),ql=r(56607),Jl=r(10629),Zl=r(41392),Kl=r(92453),Xl=r(2773),eg=r(41119),ag=r(17465),rg=r(12066);function tg(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 og(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function ig({value:e}){return(0,rg.CL)(e)}function ng({value:e}){return(0,rg.zT)(e)}const lg="datasource-error-close",gg="datasource";class sg extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=_l.OD.MAX_ROWS_250,this.maxView=_l.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?_l.OD.REQUEST_SERVER_ROW_ID:_l.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===_l.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===_l.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?_l.OD.REQUEST_SERVER_ROW_ID:_l.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var dg;(0,Xi.__decorate)([s.dm],sg.prototype,"connect",void 0),(0,Xi.__decorate)([b.observable],sg.prototype,"deferredGridOptions",void 0),(0,Xi.__decorate)([b.observable],sg.prototype,"deferredColumnStates",void 0),(0,Xi.__decorate)([b.observable],sg.prototype,"rowDataMapper",void 0),(0,Xi.__decorate)([b.attr],sg.prototype,"criteria",void 0),(0,Xi.__decorate)([b.attr],sg.prototype,"fields",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],sg.prototype,"isSnapshot",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"max-rows"})],sg.prototype,"maxRows",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"max-view"})],sg.prototype,"maxView",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],sg.prototype,"movingView",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"order-by"})],sg.prototype,"orderBy",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"resource-name"})],sg.prototype,"resourceName",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean"})],sg.prototype,"reverse",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"row-id"})],sg.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(dg||(dg={}));class cg extends sg{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 eg.w.STRING:t.cellEditor=ln.stringEditor;break;case eg.w.NUMBER:t.cellEditor=ln.numberEditor;break;case eg.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=ln.boolean,t.cellEditor=ln.boolean);break;case eg.w.DATE:t.valueFormatter=ig,t.cellEditor=ln.dateEditor;break;case eg.w.DATETIME:t.valueFormatter=ng,t.cellEditor=ln.dateEditor,t.cellEditorParams={withTime:!0};break;case eg.w.ENUM:e.enumOptions?(t.cellEditor=ln.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):ag.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:og(e.type),filter:tg(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},dg.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},dg.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},dg.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(dg)){if(!this.rowDataMapper)return e;const r={};return a.includes(dg.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(dg.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(dg.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class pg{constructor(){this.rowData=new Map}}function ug(e){switch(e){case eg.w.DATE:case eg.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 hg="datasource-error",mg="datasource-init",bg="datasource-size-changed";let vg=class extends(c(cg)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=_l.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Wl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Ul.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}requestChanged(e,a){const r=e!==a;this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){try{const e=yield this.connect.getMetadata(this.resourceName);if(!e)return void this.handleErrors(`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`);this.isRequestServer=e.TYPE===_l.vt.REQUEST_SERVER}catch({receivedMessage:{ERROR:e}}){this.handleErrors(e.join(", "))}const r=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},r),this.agGrid.addEventListener("onGridReady",(()=>(0,Xi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const t=600;this.updateSub=this.update.pipe((0,Jl.i)(1),(0,Zl.B)(t),(0,Kl.M)((e=>Jn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else this.handleErrors("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;Jn.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.sourceRef=void 0,this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Wl.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){Jn.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;try{if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Jn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.$emit(mg),this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}return}Jn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Xl.W)((e=>{var a;return this.handleErrors(null===(a=null==e?void 0:e.receivedMessage)||void 0===a?void 0:a.ERROR.join(", ")),ql.w}))).subscribe((e=>{(null==e?void 0:e.ERROR)&&this.handleErrors(e.ERROR.join(", ")),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Hl.Go.LOGOFF_ACK)return this.handleErrors(`Genesis datasource for ${this.resourceName} disconnected.`),void(this.dataSubWasLoggedOff=!0);if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Vl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}catch(e){let{message:a}=e;e.receivedMessage&&(a=e.receivedMessage.ERROR),Jn.error(a),this.handleErrors(a)}}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Vl.d)(e).inserts:e.inserts}handleErrors(e){this.agGrid&&this.agGrid.setAttribute("ds-disconnected","ds-disconnected"),e&&(Jn.warn(e),this.$emit(hg,{message:e}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=this.rowData.size,t=e.REPLY;if(!Array.isArray(t)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Jn.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,Xi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ug);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Ul.Q)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}handleSizeChanged(e,a){e!==a&&this.$emit(bg,{value:a,oldValue:e})}};(0,Xi.__decorate)([Yl.N],vg.prototype,"auth",void 0),(0,Xi.__decorate)([Ql.yW],vg.prototype,"datasource",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],vg.prototype,"pollingInterval",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],vg.prototype,"disablePolling",void 0),(0,Xi.__decorate)([b.observable],vg.prototype,"request",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],vg.prototype,"restartOnReconnection",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],vg.prototype,"keepColDefsOnClearRowData",void 0),vg=(0,Xi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],vg);let fg=class extends vg{};fg=(0,Xi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],fg);var wg=r(48707),yg=r(56177);function xg(e){switch(e){case eg.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 eg.w.DATE:case eg.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 eg.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 kg extends pg{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,Xi.__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 Jn.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/"),Jn.debug("Available indexes:",a),Jn.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,yg.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Hl.Go.LOGOFF_ACK||t===Hl.Go.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,Vl.d)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Xi.__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,Xi.__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=>Jn.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,Xi.__decorate)([Yl.N],kg.prototype,"auth",void 0),(0,Xi.__decorate)([s.dm],kg.prototype,"connect",void 0);let zg=class extends(c(cg)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ul.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Xi.__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,Xi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Jn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,wg.a)(e);const a=(0,wg.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new kg({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});Jn.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));Jn.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 Jn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Xi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Hl.Go.QUERY_UPDATE&&e.ROW){const r=(0,Vl.d)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>Jn.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,Xi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,xg);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,Xi.__decorate)([(0,b.attr)({mode:"boolean"})],zg.prototype,"pagination",void 0),zg=(0,Xi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],zg);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+d7r9jXZ9QR298S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6GUQ3HMm/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/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKw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/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',$g={[Ki.alpine]:Sg,[Ki.alpineDark]:Sg,[Ki.balham]:Cg,[Ki.balhamDark]:Cg,[Ki.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAF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,Og=b.css`
|
|
2202
2202
|
.ag-icon {
|
|
2203
2203
|
font-family: var(--ag-icon-font-family);
|
|
2204
2204
|
font-size: var(--ag-icon-size);
|
|
@@ -9375,7 +9375,7 @@
|
|
|
9375
9375
|
input[class^='ag-'][type='range']:disabled {
|
|
9376
9376
|
opacity: 0.5;
|
|
9377
9377
|
}
|
|
9378
|
-
`,
|
|
9378
|
+
`,Tg=b.css`
|
|
9379
9379
|
.ag-dnd-ghost {
|
|
9380
9380
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
9381
9381
|
border: solid 1px;
|
|
@@ -9392,7 +9392,7 @@
|
|
|
9392
9392
|
overflow: hidden;
|
|
9393
9393
|
text-overflow: ellipsis;
|
|
9394
9394
|
}
|
|
9395
|
-
`,
|
|
9395
|
+
`,Fg=b.css`
|
|
9396
9396
|
.ag-theme-alpine,
|
|
9397
9397
|
.ag-theme-alpine-dark {
|
|
9398
9398
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9842,7 +9842,7 @@
|
|
|
9842
9842
|
.ag-theme-alpine-dark {
|
|
9843
9843
|
color-scheme: dark;
|
|
9844
9844
|
}
|
|
9845
|
-
`,
|
|
9845
|
+
`,Dg=b.css`
|
|
9846
9846
|
.ag-theme-balham,
|
|
9847
9847
|
.ag-theme-balham-dark {
|
|
9848
9848
|
--ag-balham-active-color: #0091ea;
|
|
@@ -10112,7 +10112,7 @@
|
|
|
10112
10112
|
.ag-theme-balham-dark {
|
|
10113
10113
|
color-scheme: dark;
|
|
10114
10114
|
}
|
|
10115
|
-
`,
|
|
10115
|
+
`,Rg=b.css`
|
|
10116
10116
|
.ag-theme-material {
|
|
10117
10117
|
--ag-material-primary-color: #3f51b5;
|
|
10118
10118
|
--ag-material-accent-color: #ff4081;
|
|
@@ -10377,14 +10377,14 @@
|
|
|
10377
10377
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
10378
10378
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
10379
10379
|
}
|
|
10380
|
-
`,
|
|
10381
|
-
${
|
|
10382
|
-
${
|
|
10383
|
-
${
|
|
10384
|
-
${
|
|
10385
|
-
${
|
|
10386
|
-
`,
|
|
10387
|
-
${
|
|
10380
|
+
`,Ng=b.css`
|
|
10381
|
+
${Og}
|
|
10382
|
+
${Tg}
|
|
10383
|
+
${Fg}
|
|
10384
|
+
${Dg}
|
|
10385
|
+
${Rg}
|
|
10386
|
+
`,Lg=b.css`
|
|
10387
|
+
${Ng}
|
|
10388
10388
|
:host {
|
|
10389
10389
|
--datasource-error-background-color: var(--neutral-layer-4);
|
|
10390
10390
|
--datasource-error-background-opacity: 0.5;
|
|
@@ -10441,7 +10441,7 @@
|
|
|
10441
10441
|
opacity: var(--datasource-error-background-opacity);
|
|
10442
10442
|
z-index: 1;
|
|
10443
10443
|
}
|
|
10444
|
-
|
|
10444
|
+
`,Mg=(e="foundation")=>b.html`
|
|
10445
10445
|
<template>
|
|
10446
10446
|
<span part="grid" class="${e=>e.classNames}">
|
|
10447
10447
|
<slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
|
|
@@ -10450,7 +10450,7 @@
|
|
|
10450
10450
|
<slot
|
|
10451
10451
|
name="grid-datasource-error"
|
|
10452
10452
|
part="grid-datasource-error"
|
|
10453
|
-
class="${e=>e.gridErrorItems.filter((({type:e})=>e===
|
|
10453
|
+
class="${e=>e.gridErrorItems.filter((({type:e})=>e===gg)).length>0?"":"hidden"}"
|
|
10454
10454
|
>
|
|
10455
10455
|
<${e}-dialog
|
|
10456
10456
|
class="grid-datasource-error-dialog"
|
|
@@ -10475,7 +10475,7 @@
|
|
|
10475
10475
|
</${e}-dialog>
|
|
10476
10476
|
</slot>
|
|
10477
10477
|
</template>
|
|
10478
|
-
`,Ag=$g();var Og=r(98316);class Tg{getColumnState(e){return(0,Hi.__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,Hi.__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,Hi.__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,Hi.__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,Hi.__decorate)([Og.N],Tg.prototype,"session",void 0);const Fg=v.DI.createInterface((e=>e.singleton(Tg)));class Dg{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 Rg(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}Bn.syG.registerModules([kl.n7,xl.Q]);class Ng extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Cl.x)(qi(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Hi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Hi.__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=fg,this.columnComponentName="grid-pro-column",this.theme=Ui.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Bn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Wn(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:ng,action:e},{key:Kl,action:e},{key:ig,action:this.handleError.bind(this,Xl)})}addEventListener(e,a,r){super.addEventListener(e,a,r),Bn.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!==Xl))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,zl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Bn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Wn(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={[Zi.action]:_n,[Zi.actionsMenu]:qn,[Zi.boolean]:Xn,[Zi.editable]:Ln,[Zi.selectEditor]:bn,[Zi.numberEditor]:kn,[Zi.multiselectEditor]:dn,[Zi.dateEditor]:tn,[Zi.stringEditor]:On};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,Hi.__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,Hi.__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,Hi.__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,Hi.__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=Ol()(this.saveColumnState.bind(this),400),r=Ol()(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,Hi.__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),Bn.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 Bn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Gn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Hi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=$l[this.headerCaseType];a?e.headerName=a(e.field):Gn.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[Ki]===e.field)return{component:Zi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Dg,e.tooltipValueGetter=a=>{const r=a.data[Xi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Xi])||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 Rg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Rg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Bn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Bn.kNx.ALL_PROPERTIES.map((e=>Wn(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},Bn.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=vg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Sl.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Hi.__decorate)([b.observable],Ng.prototype,"columnApi",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"gridApi",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"gridErrorItems",void 0),(0,Hi.__decorate)([Fg],Ng.prototype,"statePersistence",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Ng.prototype,"autoCellRendererByType",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Ng.prototype,"onlyTemplateColDefs",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Ng.prototype,"gridAutosizingEnabled",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"add-index"})],Ng.prototype,"addIndex",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Ng.prototype,"asyncAdd",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Ng.prototype,"asyncRemove",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Ng.prototype,"asyncUpdate",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Ng.prototype,"enableCellFlashing",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Ng.prototype,"enabledRowFlashing",void 0),(0,Hi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Ng.prototype,"enableRowFlashing",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Ng.prototype,"persistColumnStateKey",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Ng.prototype,"persistFilterModelKey",void 0),(0,Hi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Ng.prototype,"headerCaseType",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"gridFontFace",void 0),(0,Hi.__decorate)([b.attr],Ng.prototype,"columnComponentName",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"eventsAndCallbacks",void 0),(0,Hi.__decorate)([b.attr],Ng.prototype,"headerHeight",void 0),(0,Hi.__decorate)([b.attr],Ng.prototype,"rowHeight",void 0),(0,Hi.__decorate)([b.attr],Ng.prototype,"theme",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"classNames",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"agGrid",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"gridSlot",void 0),(0,Hi.__decorate)([b.observable],Ng.prototype,"gridComponents",void 0),(0,Hi.__decorate)([an],Ng.prototype,"gridOptionsConfig",void 0);const Lg=void 0,Mg={shadowOptions:void 0},Ig=Ng.compose(Object.assign({baseName:"grid-pro",styles:Cg,template:Ag,shadowOptions:Lg},Mg)),Eg={foregroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2b2e34"))},jg={foregroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2196f3"))},{create:Pg}=v.DesignToken,Bg={backgroundColor:Pg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?jg.backgroundSwatch:Eg.backgroundSwatch)),borderColor:Pg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?jg.borderSwatch:Eg.borderSwatch)),foregroundColor:Pg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?jg.foregroundSwatch:Eg.foregroundSwatch)),headerForegroundColor:Pg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?jg.headerForegroundSwatch:Eg.headerForegroundSwatch)),rowHoverColor:Pg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?jg.rowHoverSwatch:Eg.rowHoverSwatch))},Gg=b.css`
|
|
10478
|
+
`,Ig=Mg();var Eg=r(98316);class jg{getColumnState(e){return(0,Xi.__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,Xi.__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,Xi.__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,Xi.__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,Xi.__decorate)([Eg.N],jg.prototype,"session",void 0);const Pg=v.DI.createInterface((e=>e.singleton(jg)));class Bg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function Gg(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}qn.syG.registerModules([Dl.n7,Fl.Q]);class _g extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Ll.x)(on(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Xi.__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=Ag,this.columnComponentName="grid-pro-column",this.theme=Ki.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=qn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[tl(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:mg,action:e},{key:lg,action:e},{key:hg,action:this.handleError.bind(this,gg)})}addEventListener(e,a,r){super.addEventListener(e,a,r),qn.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!==gg))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,Rl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(qn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(tl(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={[ln.action]:Zn,[ln.actionsMenu]:ol,[ln.boolean]:gl,[ln.editable]:Un,[ln.selectEditor]:Cn,[ln.numberEditor]:Dn,[ln.multiselectEditor]:wn,[ln.dateEditor]:un,[ln.stringEditor]:En};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,Xi.__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,Xi.__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,Xi.__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,Xi.__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=El()(this.saveColumnState.bind(this),400),r=El()(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,Xi.__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),qn.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 qn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Jn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Xi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=Ml[this.headerCaseType];a?e.headerName=a(e.field):Jn.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[gn]===e.field)return{component:ln.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Bg,e.tooltipValueGetter=a=>{const r=a.data[sn];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[sn])||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 Gg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Gg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=qn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=qn.kNx.ALL_PROPERTIES.map((e=>tl(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},qn.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=$g[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Nl.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Xi.__decorate)([b.observable],_g.prototype,"columnApi",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"gridApi",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"gridErrorItems",void 0),(0,Xi.__decorate)([Pg],_g.prototype,"statePersistence",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],_g.prototype,"autoCellRendererByType",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],_g.prototype,"onlyTemplateColDefs",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],_g.prototype,"gridAutosizingEnabled",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"add-index"})],_g.prototype,"addIndex",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],_g.prototype,"asyncAdd",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],_g.prototype,"asyncRemove",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],_g.prototype,"asyncUpdate",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],_g.prototype,"enableCellFlashing",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],_g.prototype,"enabledRowFlashing",void 0),(0,Xi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],_g.prototype,"enableRowFlashing",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],_g.prototype,"persistColumnStateKey",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],_g.prototype,"persistFilterModelKey",void 0),(0,Xi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],_g.prototype,"headerCaseType",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"gridFontFace",void 0),(0,Xi.__decorate)([b.attr],_g.prototype,"columnComponentName",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"eventsAndCallbacks",void 0),(0,Xi.__decorate)([b.attr],_g.prototype,"headerHeight",void 0),(0,Xi.__decorate)([b.attr],_g.prototype,"rowHeight",void 0),(0,Xi.__decorate)([b.attr],_g.prototype,"theme",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"classNames",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"agGrid",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"gridSlot",void 0),(0,Xi.__decorate)([b.observable],_g.prototype,"gridComponents",void 0),(0,Xi.__decorate)([cn],_g.prototype,"gridOptionsConfig",void 0);const Ug=void 0,Hg={shadowOptions:void 0},Vg=_g.compose(Object.assign({baseName:"grid-pro",styles:Lg,template:Ig,shadowOptions:Ug},Hg)),Yg={foregroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2b2e34"))},Qg={foregroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2196f3"))},{create:Wg}=v.DesignToken,qg={backgroundColor:Wg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Qg.backgroundSwatch:Yg.backgroundSwatch)),borderColor:Wg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Qg.borderSwatch:Yg.borderSwatch)),foregroundColor:Wg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Qg.foregroundSwatch:Yg.foregroundSwatch)),headerForegroundColor:Wg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Qg.headerForegroundSwatch:Yg.headerForegroundSwatch)),rowHoverColor:Wg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Qg.rowHoverSwatch:Yg.rowHoverSwatch))},Jg=b.css`
|
|
10479
10479
|
.ag-theme-genesis-rapid,
|
|
10480
10480
|
.ag-theme-genesis-rapid-dark {
|
|
10481
10481
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10935,56 +10935,56 @@
|
|
|
10935
10935
|
.ag-theme-genesis-rapid-dark {
|
|
10936
10936
|
color-scheme: dark;
|
|
10937
10937
|
}
|
|
10938
|
-
`,
|
|
10939
|
-
${
|
|
10940
|
-
${
|
|
10938
|
+
`,Zg={[Zi.backgroundColor]:qg.backgroundColor,[Zi.foregroundColor]:qg.foregroundColor,[Zi.oddRowBackgroundColor]:qg.backgroundColor,[Zi.headerBackgroundColor]:qg.backgroundColor,[Zi.headerForegroundColor]:qg.headerForegroundColor,[Zi.selectedRowBackgroundColor]:qg.rowHoverColor,[Zi.rowHoverColor]:qg.rowHoverColor,[Zi.borderColor]:qg.borderColor,[Zi.rowBorderColor]:qg.rowHoverColor,[Zi.modalOverlayBackgroundColor]:qg.backgroundColor,[Zi.inputFocusBoxShadow]:qg.headerForegroundColor,[Zi.inputFocusBorderColor]:qg.headerForegroundColor,[Zi.headerColumnResizeHandleColor]:qg.headerForegroundColor},Kg="ag-theme-genesis-rapid",Xg=b.css`
|
|
10939
|
+
${Jg}
|
|
10940
|
+
${nn(Kg,Zg)}
|
|
10941
10941
|
|
|
10942
|
-
.${
|
|
10943
|
-
${
|
|
10942
|
+
.${Kg} {
|
|
10943
|
+
${na()}
|
|
10944
10944
|
}
|
|
10945
10945
|
|
|
10946
|
-
.${
|
|
10946
|
+
.${Kg} .ag-header {
|
|
10947
10947
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10948
10948
|
font-weight: bold;
|
|
10949
10949
|
}
|
|
10950
10950
|
|
|
10951
|
-
.${
|
|
10951
|
+
.${Kg} .ag-root-wrapper {
|
|
10952
10952
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10953
10953
|
}
|
|
10954
|
-
`,
|
|
10955
|
-
${
|
|
10956
|
-
${
|
|
10954
|
+
`,es="ag-theme-genesis-rapid-dark",as=b.css`
|
|
10955
|
+
${Jg}
|
|
10956
|
+
${nn(es,Zg)}
|
|
10957
10957
|
|
|
10958
|
-
.${
|
|
10959
|
-
${
|
|
10958
|
+
.${es} {
|
|
10959
|
+
${na()}
|
|
10960
10960
|
}
|
|
10961
10961
|
|
|
10962
|
-
.${
|
|
10962
|
+
.${es} .ag-header {
|
|
10963
10963
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10964
10964
|
font-weight: bold;
|
|
10965
10965
|
}
|
|
10966
10966
|
|
|
10967
|
-
.${
|
|
10967
|
+
.${es} .ag-cell {
|
|
10968
10968
|
line-height: var(--ag-line-height, 32px);
|
|
10969
10969
|
}
|
|
10970
10970
|
|
|
10971
|
-
.${
|
|
10971
|
+
.${es} .ag-root-wrapper {
|
|
10972
10972
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10973
10973
|
}
|
|
10974
|
-
`,
|
|
10974
|
+
`,rs=b.css`
|
|
10975
10975
|
/* All the AG themes */
|
|
10976
|
-
${
|
|
10976
|
+
${Lg}
|
|
10977
10977
|
|
|
10978
10978
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10979
|
-
${
|
|
10980
|
-
${
|
|
10979
|
+
${Xg}
|
|
10980
|
+
${as}
|
|
10981
10981
|
|
|
10982
10982
|
.error {
|
|
10983
10983
|
border-color: ${Fe.shortPink} !important;
|
|
10984
10984
|
}
|
|
10985
|
-
`,
|
|
10985
|
+
`,ts=Mg("zero"),os="ag-theme-genesis-rapid-dark";const is=Ug,ns=Hg,ls={zeroAgEditableRenderer:Wn,zeroAgActionRenderer:rl,zeroAgActionsMenuRenderer:ll,zeroAgBooleanRenderer:ul,zeroAgTextRenderer:Sl,zeroAgSelectRenderer:Tl,zeroAgDateEditor:fn,zeroAgMultiselectEditor:Sn,zeroAgSelectEditor:Fn,zeroAgNumberEditor:In,zeroAgStringEditor:_n,zeroGridPro:class extends _g{constructor(){super(...arguments),this.theme=os}themeChanged(e,a){(e||a===os)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[ln.action]:al,[ln.actionsMenu]:nl,[ln.boolean]:pl,[ln.editable]:Qn,[ln.selectEditor]:Tn,[ln.numberEditor]:Mn,[ln.multiselectEditor]:zn,[ln.dateEditor]:vn,[ln.stringEditor]:Gn};(this.theme===Kg||this.theme===es)&&(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:ts,styles:rs,shadowOptions:is},ns)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},gs={foundationGridProActionRenderer:el,foundationGridProActionsMenuRenderer:il,foundationAgBooleanRenderer:cl,foundationAgTextRenderer:zl,foundationAgTextFieldRenderer:wl,foundationAgEditableRenderer:Yn,foundationAgSelectRenderer:Ol,foundationGridPro:Vg,foundationSelectEditor:On,foundationNumberEditor:Ln,foundationDateEditor:bn,foundationMultiselectEditor:kn,foundationStringEditor:Bn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ss;!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"}(ss||(ss={}));const{create:ds}=v.DesignToken,cs=(0,De.parseColorHexRGB)(ss.error),ps=f.SwatchRGB.create(cs.r,cs.g,cs.b),us=ds("error-color").withDefault(ps),hs=(0,De.parseColorHexRGB)(ss.success),ms=f.SwatchRGB.create(hs.r,hs.g,hs.b),bs=ds("success-color").withDefault(ms),vs=(0,De.parseColorHexRGB)(ss.warning),fs=f.SwatchRGB.create(vs.r,vs.g,vs.b),ws=ds("warning-color").withDefault(fs),ys=(0,De.parseColorHexRGB)(ss.buy),xs=f.SwatchRGB.create(ys.r,ys.g,ys.b),ks=ds("buy-color").withDefault(xs),zs=(0,De.parseColorHexRGB)(ss.sell),Ss=f.SwatchRGB.create(zs.r,zs.g,zs.b),Cs=ds("sell-color").withDefault(Ss),$s=(0,H.paletteFromHex)(ss.primary),As=(0,H.paletteFromHex)(ss.neutral),Os=f.StandardLuminance.DarkMode,Ts=0,Fs=4,Ds=-5,Rs=0,Ns=0,Ls=6,Ms=-4,Is=0,Es=7,js=10,Ps=5,Bs=0,Gs=0,_s=0,Us=0,Hs=0,Vs=0,Ys=5,Qs=3,Ws=0,qs=0,Js=8,Zs=-5,Ks=0,Xs=3,ed=25,ad=40,rd=16,td=25,od=8,id="rapid",nd=Ze.O.ltr,ld=.3,gd=1,sd=2,dd=10,cd=4,pd=0,ud=4,hd='"Segoe UI", Arial, Helvetica, sans-serif',md="14px",bd="20px",vd="13px",fd="19px",wd="12px",yd="18px",xd="15px",kd="21px",zd="16px",Sd="22px",Cd="17px",$d="23px",Ad="18x",Od="24px",Td="19px",Fd="25px",Dd="20px",Rd="26px",Nd={design_tokens:{color:{accent:{$value:$s.source.toColorString(),$type:"color"},neutral:{$value:As.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:hd,$type:"fontFamily"}},typography:{baseFontSize:{$value:md,$type:"dimension"},baseLineHeight:{$value:bd,$type:"dimension"}},mode:{luminance:{$value:Os,$type:"number"}},style:{density:{$value:pd,$type:"number"},borderRadius:{$value:cd,$type:"number"},strokeWidth:{$value:gd,$type:"number"}},space:{designUnit:{$value:ud,$type:"number"}}}};class Ld extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(i,n,this)}}const Md=Ld.compose({baseName:"design-system-provider",template:b.html`
|
|
10986
10986
|
<slot></slot>
|
|
10987
|
-
`});class
|
|
10987
|
+
`});class Id extends H.Accordion{}const Ed=Id.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10988
10988
|
${(0,H.foundationAccordionStyles)(e,a)}
|
|
10989
10989
|
|
|
10990
10990
|
:host {
|
|
@@ -10995,7 +10995,7 @@
|
|
|
10995
10995
|
.heading {
|
|
10996
10996
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10997
10997
|
}
|
|
10998
|
-
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class
|
|
10998
|
+
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class jd extends H.AccordionItem{}const Pd=jd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10999
10999
|
${(0,H.foundationAccordionItemStyles)(e,a)}
|
|
11000
11000
|
|
|
11001
11001
|
:host {
|
|
@@ -11058,7 +11058,7 @@
|
|
|
11058
11058
|
grid-template-columns: auto 1fr auto;
|
|
11059
11059
|
align-items: center;
|
|
11060
11060
|
}
|
|
11061
|
-
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class
|
|
11061
|
+
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class Bd extends H.ActionsMenu{}const Gd=Bd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
|
|
11062
11062
|
:host {
|
|
11063
11063
|
--actions-opener-height-multiplier: 0.6px;
|
|
11064
11064
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -11096,7 +11096,7 @@
|
|
|
11096
11096
|
.actions-vertical .menu-item:focus {
|
|
11097
11097
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
11098
11098
|
}
|
|
11099
|
-
`,template:H.foundationActionsMenuTemplate});function
|
|
11099
|
+
`,template:H.foundationActionsMenuTemplate});function _d(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Ud=b.css`
|
|
11100
11100
|
:host([appearance='primary']) {
|
|
11101
11101
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
11102
11102
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11119,7 +11119,7 @@
|
|
|
11119
11119
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
11120
11120
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
11121
11121
|
}
|
|
11122
|
-
`,
|
|
11122
|
+
`,Hd=b.css`
|
|
11123
11123
|
:host([appearance='danger']) {
|
|
11124
11124
|
background: color-mix(in srgb, var(--error-color), transparent 50%);
|
|
11125
11125
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
@@ -11142,7 +11142,7 @@
|
|
|
11142
11142
|
background: color-mix(in srgb, var(--error-color), transparent 70%);
|
|
11143
11143
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
11144
11144
|
}
|
|
11145
|
-
`,
|
|
11145
|
+
`,Vd=b.css`
|
|
11146
11146
|
:host([appearance='primary-outline']) {
|
|
11147
11147
|
background: none;
|
|
11148
11148
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11160,7 +11160,7 @@
|
|
|
11160
11160
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11161
11161
|
opacity: 100%;
|
|
11162
11162
|
}
|
|
11163
|
-
`,
|
|
11163
|
+
`,Yd=b.css`
|
|
11164
11164
|
:host([appearance='neutral-outline']) {
|
|
11165
11165
|
background: none;
|
|
11166
11166
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
|
|
@@ -11178,7 +11178,7 @@
|
|
|
11178
11178
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11179
11179
|
opacity: 100%;
|
|
11180
11180
|
}
|
|
11181
|
-
`,
|
|
11181
|
+
`,Qd=b.css`
|
|
11182
11182
|
:host([appearance='link']) {
|
|
11183
11183
|
background: none;
|
|
11184
11184
|
border: none;
|
|
@@ -11201,7 +11201,7 @@
|
|
|
11201
11201
|
color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
|
|
11202
11202
|
opacity: 100%;
|
|
11203
11203
|
}
|
|
11204
|
-
`,
|
|
11204
|
+
`,Wd=(e,a)=>b.css`
|
|
11205
11205
|
${(0,H.foundationButtonStyles)(e,a)}
|
|
11206
11206
|
${b.css`
|
|
11207
11207
|
:host {
|
|
@@ -11255,14 +11255,14 @@
|
|
|
11255
11255
|
opacity: 100%;
|
|
11256
11256
|
}
|
|
11257
11257
|
`}
|
|
11258
|
-
`.withBehaviors(
|
|
11258
|
+
`.withBehaviors(_d("primary",Ud),_d("danger",Hd),_d("primary-outline",Vd),_d("neutral-outline",Yd),_d("link",Qd));class qd extends H.Anchor{}const Jd=qd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11259
11259
|
${(0,H.foundationAnchorStyles)(e,a)}
|
|
11260
|
-
${
|
|
11261
|
-
`.withBehaviors(...
|
|
11260
|
+
${Wd(e,a)}
|
|
11261
|
+
`.withBehaviors(...Wd(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Zd extends H.AnchoredRegion{}const Kd=Zd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11262
11262
|
${(0,H.foundationAnchoredRegionStyles)(e,a)}
|
|
11263
|
-
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class
|
|
11263
|
+
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Xd extends H.Avatar{}const ec=Xd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11264
11264
|
${(0,H.foundationAvatarStyles)(e,a)}
|
|
11265
|
-
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class
|
|
11265
|
+
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class ac extends H.Badge{}const rc=ac.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11266
11266
|
${(0,H.foundationBadgeStyles)(e,a)}
|
|
11267
11267
|
:host {
|
|
11268
11268
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
@@ -11281,7 +11281,7 @@
|
|
|
11281
11281
|
padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
|
|
11282
11282
|
border: none;
|
|
11283
11283
|
}
|
|
11284
|
-
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),
|
|
11284
|
+
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),tc=b.css`
|
|
11285
11285
|
${H.foundationBannerStyles}
|
|
11286
11286
|
:host {
|
|
11287
11287
|
--banner-height: calc(
|
|
@@ -11301,9 +11301,9 @@
|
|
|
11301
11301
|
font-family: var(--body-font);
|
|
11302
11302
|
line-height: var(--type-ramp-base-line-height);
|
|
11303
11303
|
}
|
|
11304
|
-
`,
|
|
11304
|
+
`,oc=H.foundationBannerShadowOptions;class ic extends H.Banner{}const nc=ic.compose({baseName:"banner",shadowOptions:oc,styles:tc,template:H.foundationBannerTemplate});class lc extends H.Breadcrumb{}const gc=lc.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11305
11305
|
${(0,H.foundationBreadcrumbStyles)(e,a)}
|
|
11306
|
-
`,shadowOptions:undefined},{}));class
|
|
11306
|
+
`,shadowOptions:undefined},{}));class sc extends H.BreadcrumbItem{}const dc=sc.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11307
11307
|
${(0,H.foundationBreadcrumbItemStyles)(e,a)}
|
|
11308
11308
|
.listitem {
|
|
11309
11309
|
color: var(--accent-foreground-rest);
|
|
@@ -11339,9 +11339,9 @@
|
|
|
11339
11339
|
.control:hover .start {
|
|
11340
11340
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11341
11341
|
}
|
|
11342
|
-
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class
|
|
11342
|
+
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class cc extends H.Button{}const pc=cc.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:Wd,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class uc extends H.Calendar{}const hc=uc.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
|
|
11343
11343
|
${(0,H.foundationCalendarStyles)()}
|
|
11344
|
-
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class
|
|
11344
|
+
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class mc extends H.Card{}const bc=mc.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11345
11345
|
${(0,H.foundationCardStyles)(e,a)}
|
|
11346
11346
|
:host {
|
|
11347
11347
|
background: var(--neutral-layer-card-container);
|
|
@@ -11355,7 +11355,7 @@
|
|
|
11355
11355
|
::slotted(rapid-card) {
|
|
11356
11356
|
background: var(--neutral-layer-3);
|
|
11357
11357
|
}
|
|
11358
|
-
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),
|
|
11358
|
+
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),vc=b.css`
|
|
11359
11359
|
${H.categorizedMultiselectStyles}
|
|
11360
11360
|
|
|
11361
11361
|
.label {
|
|
@@ -11369,9 +11369,9 @@
|
|
|
11369
11369
|
rapid-checkbox:hover:not([disabled]) {
|
|
11370
11370
|
background: var(--neutral-layer-4);
|
|
11371
11371
|
}
|
|
11372
|
-
`,
|
|
11372
|
+
`,fc=b.html`
|
|
11373
11373
|
${(0,H.getPrefixedCategorizedMultiselect)("rapid")}
|
|
11374
|
-
`;class
|
|
11374
|
+
`;class wc extends H.CategorizedMultiselect{}const yc=H.defaultCategorizedMultiselectConfig,xc=H.foundationCategorizedMultiselectShadowOptions,kc=wc.compose(Object.assign({baseName:"categorized-multiselect",template:fc,styles:vc,shadowOptions:xc},yc));class zc extends H.Checkbox{}const Sc=zc.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11375
11375
|
${(0,H.foundationCheckboxStyles)(e,a)}
|
|
11376
11376
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11377
11377
|
fill: var(--neutral-foreground-rest);
|
|
@@ -11386,7 +11386,7 @@
|
|
|
11386
11386
|
.label {
|
|
11387
11387
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11388
11388
|
}
|
|
11389
|
-
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class
|
|
11389
|
+
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class Cc extends H.Combobox{}const $c=Cc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11390
11390
|
${(0,H.foundationComboboxStyles)(e,a)}
|
|
11391
11391
|
:host {
|
|
11392
11392
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11459,7 +11459,7 @@
|
|
|
11459
11459
|
::slotted([role='option']) {
|
|
11460
11460
|
margin: 0;
|
|
11461
11461
|
}
|
|
11462
|
-
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class
|
|
11462
|
+
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class Ac extends H.ConnectionIndicator{}const Oc=Ac.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
|
|
11463
11463
|
${(0,H.foundationConnectionIndicatorStyles)(e,a)}
|
|
11464
11464
|
:host {
|
|
11465
11465
|
--light-size: calc(var(--design-unit) * 3px);
|
|
@@ -11482,9 +11482,9 @@
|
|
|
11482
11482
|
font-size: var(--type-ramp-base-font-size);
|
|
11483
11483
|
color: var(--neutral-stroke-rest);
|
|
11484
11484
|
}
|
|
11485
|
-
`}),
|
|
11485
|
+
`}),Tc=["baseClass","baseName","shadowOptions","styles","template"],Fc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Tc)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,r)=>(a[r]=e[r],a)),{}))(a);return{shadowOptions:r,styles:t,template:o,defaultConfig:i}},{defaultConfig:Dc,shadowOptions:Rc,styles:Nc,template:Lc}=Fc(H.foundationDataGrid),{defaultConfig:Mc,shadowOptions:Ic,styles:Ec,template:jc}=Fc(H.foundationDataGridCell),{defaultConfig:Pc,shadowOptions:Bc,styles:Gc,template:_c}=Fc(H.foundationDataGridRow),Uc=b.html`
|
|
11486
11486
|
${(0,H.getPrefixedDatePicker)("rapid")}
|
|
11487
|
-
`;class
|
|
11487
|
+
`;class Hc extends H.DatePicker{}const Vc=Hc.compose(Object.assign({baseName:"date-picker",template:Uc,styles:()=>b.css`
|
|
11488
11488
|
${H.foundationDatePickerStyles}
|
|
11489
11489
|
|
|
11490
11490
|
:host {
|
|
@@ -11567,7 +11567,7 @@
|
|
|
11567
11567
|
.week-days span {
|
|
11568
11568
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11569
11569
|
}
|
|
11570
|
-
`,shadowOptions:undefined},{})),
|
|
11570
|
+
`,shadowOptions:undefined},{})),Yc=b.css`
|
|
11571
11571
|
${H.foundationDialogStyles}
|
|
11572
11572
|
:host {
|
|
11573
11573
|
--color-error: var(--error-color);
|
|
@@ -11647,7 +11647,7 @@
|
|
|
11647
11647
|
.close-icon:active svg g path {
|
|
11648
11648
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11649
11649
|
}
|
|
11650
|
-
`,
|
|
11650
|
+
`,Qc=H.defaultDialogConfig,Wc=H.foundationDialogTemplate,qc=H.foundationDialogShadowOptions;class Jc extends H.Dialog{}const Zc=Jc.compose(Object.assign({baseName:"dialog",shadowOptions:qc,styles:Yc,template:Wc},Qc));class Kc extends H.Disclosure{}const Xc=Kc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11651
11651
|
${(0,H.foundationDisclosureStyles)(e,a)}
|
|
11652
11652
|
:host {
|
|
11653
11653
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -11664,9 +11664,9 @@
|
|
|
11664
11664
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11665
11665
|
text-align: center;
|
|
11666
11666
|
}
|
|
11667
|
-
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class
|
|
11667
|
+
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class ep extends H.Divider{}const ap=ep.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11668
11668
|
${(0,H.foundationDividerStyles)(e,a)}
|
|
11669
|
-
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class
|
|
11669
|
+
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class rp extends H.DropdownMenu{}const tp=rp.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
|
|
11670
11670
|
${(0,H.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11671
11671
|
|
|
11672
11672
|
.actions-menu {
|
|
@@ -11681,7 +11681,7 @@
|
|
|
11681
11681
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11682
11682
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11683
11683
|
}
|
|
11684
|
-
`,template:H.foundationDropdownMenuTemplate}),{defaultConfig:
|
|
11684
|
+
`,template:H.foundationDropdownMenuTemplate}),{defaultConfig:op,shadowOptions:ip,styles:np,template:lp}=Fc(H.foundationErrorBoundary),gp=b.css`
|
|
11685
11685
|
${H.foundationFileUploadStyles}
|
|
11686
11686
|
::-webkit-scrollbar {
|
|
11687
11687
|
width: calc(var(--design-unit) * 3px);
|
|
@@ -11703,11 +11703,11 @@
|
|
|
11703
11703
|
:host::part(upload-file-button) {
|
|
11704
11704
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11705
11705
|
}
|
|
11706
|
-
`,
|
|
11706
|
+
`,sp=b.html`
|
|
11707
11707
|
${(0,H.getPrefixedFileUpload)("rapid")}
|
|
11708
|
-
`,
|
|
11708
|
+
`,dp=H.defaultFileUploadConfig,cp=H.foundationFileUploadShadowOptions;class pp extends H.FileUpload{}const up=pp.compose(Object.assign({baseName:"file-upload",shadowOptions:cp,styles:gp,template:sp},dp)),hp=b.html`
|
|
11709
11709
|
${(0,H.getPrefixedFilterTemplate)("rapid")}
|
|
11710
|
-
`;class
|
|
11710
|
+
`;class mp extends H.Filter{}const bp=mp.compose({baseName:"filter",template:hp,styles:(e,a)=>b.css`
|
|
11711
11711
|
${H.foundationFilterStyles}
|
|
11712
11712
|
.filter-wrapper {
|
|
11713
11713
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11734,9 +11734,9 @@
|
|
|
11734
11734
|
.flex-row rapid-select {
|
|
11735
11735
|
flex: 1;
|
|
11736
11736
|
}
|
|
11737
|
-
`}),
|
|
11737
|
+
`}),vp=b.html`
|
|
11738
11738
|
${(0,H.filterBarTemplate)("rapid")}
|
|
11739
|
-
`;class
|
|
11739
|
+
`;class fp extends H.FilterBar{}const wp=fp.compose({baseName:"filter-bar",template:vp,styles:(e,a)=>b.css`
|
|
11740
11740
|
${(0,H.foundationFilterBarStyles)(e,a)}
|
|
11741
11741
|
.toggle,
|
|
11742
11742
|
.toggle-collapsed {
|
|
@@ -11756,7 +11756,7 @@
|
|
|
11756
11756
|
.filter-bar {
|
|
11757
11757
|
background: var(--neutral-layer-3);
|
|
11758
11758
|
}
|
|
11759
|
-
`}),{defaultConfig:
|
|
11759
|
+
`}),{defaultConfig:yp,shadowOptions:xp,styles:kp,template:zp}=Fc(H.foundationFlexLayout);class Sp extends H.Flipper{}const Cp=Sp.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11760
11760
|
${(0,H.foundationFlipperStyles)(e,a)}
|
|
11761
11761
|
:host {
|
|
11762
11762
|
color: var(--neutral-foreground-rest);
|
|
@@ -11776,7 +11776,7 @@
|
|
|
11776
11776
|
background: var(--accent-fill-rest);
|
|
11777
11777
|
color: var(--neutral-foreground-rest);
|
|
11778
11778
|
}
|
|
11779
|
-
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig))
|
|
11779
|
+
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),$p=b.css`
|
|
11780
11780
|
${H.foundationFlyoutStyles}
|
|
11781
11781
|
div.flyout {
|
|
11782
11782
|
background-color: var(--neutral-layer-2);
|
|
@@ -11824,9 +11824,9 @@
|
|
|
11824
11824
|
background-color: var(--neutral-fill-hover);
|
|
11825
11825
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11826
11826
|
}
|
|
11827
|
-
`,
|
|
11827
|
+
`,Ap=b.html`
|
|
11828
11828
|
${(0,H.getPrefixedFlyout)("rapid")}
|
|
11829
|
-
`,
|
|
11829
|
+
`,Op=H.defaultFlyoutConfig,Tp=H.foundationFlyoutShadowOptions;class Fp extends H.Flyout{}const Dp=Fp.compose(Object.assign({baseName:"flyout",shadowOptions:Tp,styles:$p,template:Ap},Op)),{defaultConfig:Rp,shadowOptions:Np,styles:Lp,template:Mp}=Fc(H.foundationGridLayout),{defaultConfig:Ip,shadowOptions:Ep,styles:jp,template:Pp}=Fc(H.foundationGridLayoutItem);class Bp extends H.HorizontalScroll{}const Gp={nextFlipper:b.html`
|
|
11830
11830
|
<rapid-flipper
|
|
11831
11831
|
@click="${e=>e.scrollToNext()}"
|
|
11832
11832
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -11837,11 +11837,11 @@
|
|
|
11837
11837
|
direction="previous"
|
|
11838
11838
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11839
11839
|
></rapid-flipper>
|
|
11840
|
-
`},
|
|
11840
|
+
`},_p=Bp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11841
11841
|
${(0,H.foundationHorizontalScrollStyles)(e,a)}
|
|
11842
|
-
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},
|
|
11842
|
+
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},Gp));class Up extends H.Icon{}const Hp=H.defaultIconConfig,Vp=H.foundationIconShadowOptions,Yp=Up.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
|
|
11843
11843
|
${(0,H.foundationIconStyles)(e,a)}
|
|
11844
|
-
`,shadowOptions:
|
|
11844
|
+
`,shadowOptions:Vp},Hp));class Qp extends H.Listbox{}const Wp=Qp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11845
11845
|
${(0,H.foundationListboxStyles)(e,a)}
|
|
11846
11846
|
|
|
11847
11847
|
:host {
|
|
@@ -11852,7 +11852,7 @@
|
|
|
11852
11852
|
::slotted(*:last-child) {
|
|
11853
11853
|
border-bottom: none;
|
|
11854
11854
|
}
|
|
11855
|
-
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class
|
|
11855
|
+
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class qp extends H.ListboxOption{}const Jp=qp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11856
11856
|
${(0,H.foundationListboxOptionStyles)(e,a)}
|
|
11857
11857
|
:host {
|
|
11858
11858
|
border-radius: 0;
|
|
@@ -11869,14 +11869,14 @@
|
|
|
11869
11869
|
background: var(--neutral-layer-4);
|
|
11870
11870
|
color: var(--accent-fill-rest);
|
|
11871
11871
|
}
|
|
11872
|
-
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class
|
|
11872
|
+
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class Zp extends H.Menu{}const Kp=Zp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,H.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11873
11873
|
${(0,H.foundationMenuStyles)(e,a)}
|
|
11874
11874
|
:host {
|
|
11875
11875
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11876
11876
|
color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
|
|
11877
11877
|
padding: 0;
|
|
11878
11878
|
}
|
|
11879
|
-
`,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),
|
|
11879
|
+
`,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Xp=H.foundationMenuItemShadowOptions;class eu extends H.MenuItem{}const au=eu.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11880
11880
|
${(0,H.foundationMenuItemStyles)(e,a)}
|
|
11881
11881
|
:host {
|
|
11882
11882
|
margin: 0;
|
|
@@ -11912,9 +11912,9 @@
|
|
|
11912
11912
|
background: ${f.neutralFillStealthHover}
|
|
11913
11913
|
color: ${f.neutralForegroundRest}
|
|
11914
11914
|
*/
|
|
11915
|
-
`,shadowOptions:
|
|
11916
|
-
${
|
|
11917
|
-
`,
|
|
11915
|
+
`,shadowOptions:Xp},H.defaultMenuItemConfig)),ru=b.css`
|
|
11916
|
+
${Yc}
|
|
11917
|
+
`,tu=H.defaultModalConfig,ou=H.foundationModalTemplate,iu=H.foundationModalShadowOptions;class nu extends H.Modal{}const lu=nu.compose(Object.assign({baseName:"modal",shadowOptions:iu,styles:ru,template:ou},tu)),gu=b.css`
|
|
11918
11918
|
${H.multiselectStyles}
|
|
11919
11919
|
|
|
11920
11920
|
#display-field {
|
|
@@ -11990,9 +11990,9 @@
|
|
|
11990
11990
|
rapid-checkbox[disabled] {
|
|
11991
11991
|
cursor: not-allowed;
|
|
11992
11992
|
}
|
|
11993
|
-
`,
|
|
11993
|
+
`,su=b.html`
|
|
11994
11994
|
${(0,H.getPrefixedMultiselect)("rapid")}
|
|
11995
|
-
`;class
|
|
11995
|
+
`;class du extends H.Multiselect{}const cu=H.defaultMultiselectConfig,pu=H.foundationMultiselectShadowOptions,uu=du.compose(Object.assign({baseName:"multiselect",template:su,styles:gu,shadowOptions:pu},cu));class hu extends H.NotificationListener{}const mu=hu.compose({baseName:"notification-listener",template:H.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class bu extends H.NumberField{}const vu=H.defaultNumberFieldConfig,fu=H.foundationNumberFieldTemplate,wu=H.foundationNumberFieldShadowOptions,yu=bu.compose(Object.assign({baseName:"number-field",template:fu,styles:(e,a)=>b.css`
|
|
11996
11996
|
:host {
|
|
11997
11997
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11998
11998
|
}
|
|
@@ -12077,11 +12077,11 @@
|
|
|
12077
12077
|
.control:focus-visible {
|
|
12078
12078
|
outline: none;
|
|
12079
12079
|
}
|
|
12080
|
-
`,shadowOptions:
|
|
12080
|
+
`,shadowOptions:wu},vu));class xu extends H.Progress{}const ku=xu.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12081
12081
|
${(0,H.foundationProgressStyles)(e,a)}
|
|
12082
|
-
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class
|
|
12082
|
+
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class zu extends H.ProgressRing{}const Su=zu.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,H.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12083
12083
|
${(0,H.foundationProgressRingStyles)(e,a)}
|
|
12084
|
-
`,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class
|
|
12084
|
+
`,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class Cu extends H.Radio{}const $u=Cu.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12085
12085
|
${(0,H.foundationRadioStyles)(e,a)}
|
|
12086
12086
|
:host {
|
|
12087
12087
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
@@ -12113,13 +12113,13 @@
|
|
|
12113
12113
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
12114
12114
|
background: var(--accent-fill-rest);
|
|
12115
12115
|
}
|
|
12116
|
-
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class
|
|
12116
|
+
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class Au extends H.RadioGroup{}const Ou=Au.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12117
12117
|
${(0,H.foundationRadioGroupStyles)(e,a)}
|
|
12118
|
-
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),
|
|
12118
|
+
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),Tu=b.css`
|
|
12119
12119
|
${H.foundationSearchBarStyles}
|
|
12120
|
-
`,
|
|
12120
|
+
`,Fu=b.html`
|
|
12121
12121
|
${(0,H.getPrefixedSearchBar)("rapid")}
|
|
12122
|
-
`;class
|
|
12122
|
+
`;class Du extends H.SearchBar{}const Ru=Du.compose(Object.assign({baseName:"search-bar",template:Fu,styles:Tu,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class Nu extends H.SearchBarCombobox{}const Lu=Nu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12123
12123
|
${(0,H.foundationSearchBarComboboxStyles)(e,a)}
|
|
12124
12124
|
|
|
12125
12125
|
:host {
|
|
@@ -12150,7 +12150,7 @@
|
|
|
12150
12150
|
:host .listbox ::slotted(*:last-child) {
|
|
12151
12151
|
border-bottom: none;
|
|
12152
12152
|
}
|
|
12153
|
-
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class
|
|
12153
|
+
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class Mu extends H.SegmentedControl{}const Iu=Mu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12154
12154
|
${(0,H.foundationSegmentedControlStyles)(e,a)}
|
|
12155
12155
|
:host {
|
|
12156
12156
|
font-family: var(--body-font);
|
|
@@ -12186,7 +12186,7 @@
|
|
|
12186
12186
|
border-color: transparent;
|
|
12187
12187
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
12188
12188
|
}
|
|
12189
|
-
`,shadowOptions:undefined},{}));class
|
|
12189
|
+
`,shadowOptions:undefined},{}));class Eu extends H.Radio{}const ju=Eu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12190
12190
|
${(0,H.foundationSegmentedItemStyles)(e,a)}
|
|
12191
12191
|
:host {
|
|
12192
12192
|
color: var(--neutral-fill-strong-rest);
|
|
@@ -12198,7 +12198,7 @@
|
|
|
12198
12198
|
:host([aria-checked='true']) {
|
|
12199
12199
|
color: color-mix(in srgb, white, transparent 10%);
|
|
12200
12200
|
}
|
|
12201
|
-
`,shadowOptions:undefined},{}));class
|
|
12201
|
+
`,shadowOptions:undefined},{}));class Pu extends H.Select{}const Bu=Pu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12202
12202
|
${(0,H.foundationSelectStyles)(e,a)}
|
|
12203
12203
|
:host {
|
|
12204
12204
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -12270,14 +12270,14 @@
|
|
|
12270
12270
|
::slotted([role='option']) {
|
|
12271
12271
|
margin: 0;
|
|
12272
12272
|
}
|
|
12273
|
-
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class
|
|
12273
|
+
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class Gu extends H.Skeleton{}const _u=Gu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12274
12274
|
${(0,H.foundationSkeletonStyles)(e,a)}
|
|
12275
12275
|
:host {
|
|
12276
12276
|
--skeleton-fill: var(
|
|
12277
12277
|
--neutral-fill-stealth-rest
|
|
12278
12278
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
12279
12279
|
}
|
|
12280
|
-
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class
|
|
12280
|
+
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class Uu extends H.Slider{}const Hu=Uu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12281
12281
|
${(0,H.foundationSliderStyles)(e,a)}
|
|
12282
12282
|
|
|
12283
12283
|
.thumb-cursor {
|
|
@@ -12335,7 +12335,7 @@
|
|
|
12335
12335
|
background-color: var(--neutral-stroke-rest);
|
|
12336
12336
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12337
12337
|
}
|
|
12338
|
-
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class
|
|
12338
|
+
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class Vu extends H.SliderLabel{}const Yu=Vu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12339
12339
|
${(0,H.foundationSliderLabelStyles)(e,a)}
|
|
12340
12340
|
.label {
|
|
12341
12341
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
@@ -12346,7 +12346,7 @@
|
|
|
12346
12346
|
text-align: center;
|
|
12347
12347
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12348
12348
|
}
|
|
12349
|
-
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),
|
|
12349
|
+
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),Qu=b.css`
|
|
12350
12350
|
${H.foundationSnackbarStyles}
|
|
12351
12351
|
.snackbar {
|
|
12352
12352
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
@@ -12367,11 +12367,11 @@
|
|
|
12367
12367
|
.action {
|
|
12368
12368
|
gap: calc(var(--design-unit) * 2px);
|
|
12369
12369
|
}
|
|
12370
|
-
`,
|
|
12370
|
+
`,Wu=b.html`
|
|
12371
12371
|
${(0,H.getPrefixedSnackbar)("rapid")}
|
|
12372
|
-
`,
|
|
12372
|
+
`,qu=H.foundationSnackbarShadowOptions;class Ju extends H.Snackbar{}const Zu=Ju.compose({baseName:"snackbar",shadowOptions:qu,styles:Qu,template:Wu});class Ku extends H.StackingIcons{}const Xu=Ku.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
|
|
12373
12373
|
${(0,H.foundationStackingIconsStyles)(e,a)}
|
|
12374
|
-
`}),
|
|
12374
|
+
`}),eh=b.css`
|
|
12375
12375
|
${H.foundationStepperStyles}
|
|
12376
12376
|
|
|
12377
12377
|
:host {
|
|
@@ -12418,11 +12418,11 @@
|
|
|
12418
12418
|
padding: 0 calc(var(--design-unit) * 2px);
|
|
12419
12419
|
color: var(--neutral-foreground-hint);
|
|
12420
12420
|
}
|
|
12421
|
-
`,
|
|
12421
|
+
`,ah=b.html`
|
|
12422
12422
|
${(0,H.getPrefixedStepper)("rapid")}
|
|
12423
|
-
`;class
|
|
12423
|
+
`;class rh extends H.Stepper{}const th=rh.compose(Object.assign({baseName:"stepper",template:ah,styles:eh,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),oh=b.html`
|
|
12424
12424
|
${(0,H.getPrefixedStepperTab)("rapid")}
|
|
12425
|
-
`;class
|
|
12425
|
+
`;class ih extends H.StepperTab{}const nh=ih.compose(Object.assign({baseName:"stepper-tab",template:oh,styles:(e,a)=>b.css`
|
|
12426
12426
|
${(0,H.foundationStepperTabStyles)(e,a)}
|
|
12427
12427
|
|
|
12428
12428
|
rapid-tree-item {
|
|
@@ -12482,7 +12482,7 @@
|
|
|
12482
12482
|
:host([error]) .step-title {
|
|
12483
12483
|
color: var(--error-color);
|
|
12484
12484
|
}
|
|
12485
|
-
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class
|
|
12485
|
+
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class lh extends H.StepperTabPanel{}const gh=lh.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig)),sh={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class dh extends H.Switch{}const ch=dh.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12486
12486
|
${(0,H.foundationSwitchStyles)(e,a)}
|
|
12487
12487
|
:host {
|
|
12488
12488
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -12519,7 +12519,7 @@
|
|
|
12519
12519
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12520
12520
|
background: var(--accent-fill-rest);
|
|
12521
12521
|
}
|
|
12522
|
-
`,shadowOptions:H.foundationSwitchShadowOptions},
|
|
12522
|
+
`,shadowOptions:H.foundationSwitchShadowOptions},sh));class ph extends H.Tab{}const uh=ph.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12523
12523
|
${(0,H.foundationTabStyles)(e,a)}
|
|
12524
12524
|
:host {
|
|
12525
12525
|
background-color: var(--neutral-layer-2);
|
|
@@ -12532,13 +12532,13 @@
|
|
|
12532
12532
|
:host([aria-selected='true']:hover) {
|
|
12533
12533
|
background-color: var(--neutral-layer-4);
|
|
12534
12534
|
}
|
|
12535
|
-
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class
|
|
12535
|
+
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class hh extends H.TabPanel{}const mh=hh.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12536
12536
|
${(0,H.foundationTabPanelStyles)(e,a)}
|
|
12537
12537
|
:host {
|
|
12538
12538
|
padding: 0;
|
|
12539
12539
|
background-color: var(--neutral-layer-4);
|
|
12540
12540
|
}
|
|
12541
|
-
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class
|
|
12541
|
+
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class bh extends H.Tabs{}const vh=bh.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12542
12542
|
${(0,H.foundationTabsStyles)(e,a)}
|
|
12543
12543
|
:host {
|
|
12544
12544
|
--base-height-multiplier: 9;
|
|
@@ -12613,7 +12613,7 @@
|
|
|
12613
12613
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12614
12614
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12615
12615
|
}
|
|
12616
|
-
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class
|
|
12616
|
+
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class fh extends H.TextArea{}const wh=fh.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12617
12617
|
${(0,H.foundationTextAreaStyles)(e,a)}
|
|
12618
12618
|
|
|
12619
12619
|
:host .control {
|
|
@@ -12639,7 +12639,7 @@
|
|
|
12639
12639
|
font-weight: 700;
|
|
12640
12640
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12641
12641
|
}
|
|
12642
|
-
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class
|
|
12642
|
+
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class yh extends H.TextField{}const xh=yh.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12643
12643
|
${(0,H.foundationTextFieldStyles)(e,a)}
|
|
12644
12644
|
|
|
12645
12645
|
:host {
|
|
@@ -12676,7 +12676,7 @@
|
|
|
12676
12676
|
font-weight: 700;
|
|
12677
12677
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12678
12678
|
}
|
|
12679
|
-
`,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),
|
|
12679
|
+
`,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),kh=b.css`
|
|
12680
12680
|
${H.foundationToastStyles}
|
|
12681
12681
|
.toast {
|
|
12682
12682
|
background-color: ${f.neutralLayer1};
|
|
@@ -12731,7 +12731,7 @@
|
|
|
12731
12731
|
:host([notify='serious']) .toast::after {
|
|
12732
12732
|
background-color: var(--error-color);
|
|
12733
12733
|
}
|
|
12734
|
-
`,
|
|
12734
|
+
`,zh=H.defaultToastConfig,Sh=H.foundationToastShadowOptions;class Ch extends H.Toast{}const $h=Ch.compose(Object.assign({baseName:"toast",shadowOptions:Sh,styles:kh,template:H.foundationToastTemplate},zh));class Ah extends H.Toolbar{}const Oh=Ah.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12735
12735
|
${(0,H.foundationToolbarStyles)(e,a)}
|
|
12736
12736
|
:host {
|
|
12737
12737
|
align-items: center;
|
|
@@ -12741,7 +12741,7 @@
|
|
|
12741
12741
|
.positioning-region {
|
|
12742
12742
|
align-items: center;
|
|
12743
12743
|
}
|
|
12744
|
-
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class
|
|
12744
|
+
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class Th extends H.Tooltip{}const Fh=Th.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12745
12745
|
${(0,H.foundationTooltipStyles)(e,a)}
|
|
12746
12746
|
|
|
12747
12747
|
:host {
|
|
@@ -12764,7 +12764,7 @@
|
|
|
12764
12764
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12765
12765
|
margin-left: 0;
|
|
12766
12766
|
}
|
|
12767
|
-
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class
|
|
12767
|
+
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Dh extends H.TreeItem{}const Rh={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"/>\n </svg>'},Nh=Dh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12768
12768
|
${(0,H.foundationTreeItemStyles)(e,a)}
|
|
12769
12769
|
:host {
|
|
12770
12770
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -12803,11 +12803,11 @@
|
|
|
12803
12803
|
width: calc(var(--design-unit) * 3px);
|
|
12804
12804
|
height: calc(var(--design-unit) * 3px);
|
|
12805
12805
|
}
|
|
12806
|
-
`,shadowOptions:H.foundationTreeItemShadowOptions},
|
|
12806
|
+
`,shadowOptions:H.foundationTreeItemShadowOptions},Rh));class Lh extends H.TreeView{}const Mh=Lh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12807
12807
|
${(0,H.foundationTreeViewStyles)(e,a)}
|
|
12808
|
-
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),
|
|
12808
|
+
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Ih=b.html`
|
|
12809
12809
|
${(0,H.getPrefixedUrlInput)("rapid")}
|
|
12810
|
-
`;class
|
|
12810
|
+
`;class Eh extends H.UrlInput{}const jh={designSystemProvider:Md,rapidAccordion:Ed,rapidAccordionItem:Pd,rapidActionsMenu:Gd,rapidAnchor:Jd,rapidAnchoredRegion:Kd,rapidAvatar:ec,rapidBadge:rc,rapidBanner:nc,rapidBreadcrumb:gc,rapidBreadcrumbItem:dc,rapidButton:pc,rapidCalendar:hc,rapidCard:bc,rapidCategorizedMultiselect:kc,rapidCheckbox:Sc,rapidCombobox:$c,rapidConnectionIndicator:Oc,rapidDataGrid:()=>(0,H.foundationDataGrid)(),rapidDataGridCell:()=>(0,H.foundationDataGridCell)(),rapidDataGridRow:()=>(0,H.foundationDataGridRow)(),rapidDatePicker:Vc,rapidDialog:Zc,rapidDisclosure:Xc,rapidDivider:ap,rapidDropdownMenu:tp,rapidErrorBoundary:()=>(0,H.foundationErrorBoundary)(),rapidFileUpload:up,rapidFilter:bp,rapidFilterBar:wp,rapidFlexLayout:()=>(0,H.foundationFlexLayout)(),rapidFlipper:Cp,rapidFlyout:Dp,rapidGridLayout:()=>(0,H.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,H.foundationGridLayoutItem)(),rapidHorizontalScroll:_p,rapidIcon:Yp,rapidListbox:Wp,rapidListboxOption:Jp,rapidMenu:Kp,rapidMenuItem:au,rapidModal:lu,rapidMultiselect:uu,rapidNotificationListener:mu,rapidNumberField:yu,rapidProgress:ku,rapidProgressRing:Su,rapidRadio:$u,rapidRadioGroup:Ou,rapidSearchBar:Ru,rapidSearchBarCombobox:Lu,rapidSegmentedControl:Iu,rapidSegmentedItem:ju,rapidSelect:Bu,rapidSkeleton:_u,rapidSlider:Hu,rapidSliderLabel:Yu,rapidSnackbar:Zu,rapidStackingIcons:Xu,rapidStepper:th,rapidStepperTab:nh,rapidStepperTabPanel:gh,rapidSwitch:ch,rapidTab:uh,rapidTabPanel:mh,rapidTabs:vh,rapidTextArea:wh,rapidTextField:xh,rapidToast:$h,rapidToolbar:Oh,rapidTooltip:Fh,rapidTreeItem:Nh,rapidTreeView:Mh,rapidUrlInput:Eh.compose(Object.assign({baseName:"url-input",template:Ih,styles:(e,a)=>b.css`
|
|
12811
12811
|
${(0,H.foundationUrlInputStyles)(e,a)}
|
|
12812
12812
|
a {
|
|
12813
12813
|
color: var(--accent-fill-rest);
|
|
@@ -12823,8 +12823,8 @@
|
|
|
12823
12823
|
font-size: var(--type-ramp-base-font-size);
|
|
12824
12824
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12825
12825
|
}
|
|
12826
|
-
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class
|
|
12827
|
-
${
|
|
12826
|
+
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Ph extends un{}const Bh=Ph.compose({baseName:"date-editor",styles:hn,template:mn("rapid")});class Gh extends wn{}const _h=Gh.compose({baseName:"multiselect-editor",styles:yn,template:xn("rapid")});class Uh extends Cn{}const Hh=Uh.compose({baseName:"select-editor",styles:$n,template:An("rapid")});class Vh extends Dn{}const Yh=Vh.compose({baseName:"number-editor",styles:Rn,template:Nn("rapid")});class Qh extends En{}const Wh=Qh.compose({baseName:"string-editor",styles:jn,template:Pn("rapid")});class qh extends Un{}const Jh=qh.compose({baseName:"editable-renderer",styles:Hn,template:Vn("rapid")});class Zh extends Zn{}const Kh=Zh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
|
|
12827
|
+
${Xn}
|
|
12828
12828
|
.button-padding {
|
|
12829
12829
|
justify-content: center;
|
|
12830
12830
|
margin: calc(var(--design-unit) * 1px);
|
|
@@ -12845,12 +12845,12 @@
|
|
|
12845
12845
|
`:e.params.actionName}
|
|
12846
12846
|
</rapid-button>
|
|
12847
12847
|
</div>
|
|
12848
|
-
`});class
|
|
12848
|
+
`});class Xh extends ol{}const em=Xh.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
12849
12849
|
<rapid-actions-menu
|
|
12850
12850
|
name="${e=>e.params.headerName}"
|
|
12851
12851
|
:definition=${e=>e.params}
|
|
12852
12852
|
></rapid-actions-menu>
|
|
12853
|
-
`});class
|
|
12853
|
+
`});class am extends gl{}const rm=am.compose({baseName:"boolean-renderer",styles:sl,template:dl("rapid")});const tm=class extends yl{}.compose({baseName:"grid-text-renderer",styles:xl,template:kl("rapid")});const om=class extends Cl{}.compose({baseName:"select-renderer",styles:$l,template:Al("rapid")}),im={foregroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2b2e34"))},nm={foregroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,De.parseColorHexRGB)("#2196f3"))},{create:lm}=v.DesignToken,gm={backgroundColor:lm("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?nm.backgroundSwatch:im.backgroundSwatch)),borderColor:lm("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?nm.borderSwatch:im.borderSwatch)),foregroundColor:lm("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?nm.foregroundSwatch:im.foregroundSwatch)),headerForegroundColor:lm("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?nm.headerForegroundSwatch:im.headerForegroundSwatch)),rowHoverColor:lm("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?nm.rowHoverSwatch:im.rowHoverSwatch))},sm=b.css`
|
|
12854
12854
|
.ag-theme-genesis-rapid,
|
|
12855
12855
|
.ag-theme-genesis-rapid-dark {
|
|
12856
12856
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13311,76 +13311,76 @@
|
|
|
13311
13311
|
.ag-theme-genesis-rapid-dark {
|
|
13312
13312
|
color-scheme: dark;
|
|
13313
13313
|
}
|
|
13314
|
-
`,
|
|
13315
|
-
${
|
|
13316
|
-
${
|
|
13314
|
+
`,dm={[Zi.backgroundColor]:gm.backgroundColor,[Zi.foregroundColor]:gm.foregroundColor,[Zi.oddRowBackgroundColor]:gm.backgroundColor,[Zi.headerBackgroundColor]:gm.backgroundColor,[Zi.headerForegroundColor]:gm.headerForegroundColor,[Zi.selectedRowBackgroundColor]:gm.rowHoverColor,[Zi.rowHoverColor]:gm.rowHoverColor,[Zi.borderColor]:gm.borderColor,[Zi.rowBorderColor]:gm.rowHoverColor,[Zi.modalOverlayBackgroundColor]:gm.backgroundColor,[Zi.inputFocusBoxShadow]:gm.headerForegroundColor,[Zi.inputFocusBorderColor]:gm.headerForegroundColor,[Zi.headerColumnResizeHandleColor]:gm.headerForegroundColor},cm="ag-theme-genesis-rapid",pm=b.css`
|
|
13315
|
+
${sm}
|
|
13316
|
+
${nn(cm,dm)}
|
|
13317
13317
|
|
|
13318
|
-
.${
|
|
13319
|
-
${
|
|
13318
|
+
.${cm} {
|
|
13319
|
+
${na()}
|
|
13320
13320
|
font-family: var(--body-font);
|
|
13321
13321
|
}
|
|
13322
13322
|
|
|
13323
|
-
.${
|
|
13324
|
-
.${
|
|
13325
|
-
.${
|
|
13323
|
+
.${cm} .ag-body .ag-body-viewport,
|
|
13324
|
+
.${cm} .ag-header,
|
|
13325
|
+
.${cm} .ag-row {
|
|
13326
13326
|
background-color: var(--neutral-layer-4);
|
|
13327
13327
|
}
|
|
13328
13328
|
|
|
13329
|
-
.${
|
|
13329
|
+
.${cm} .ag-header {
|
|
13330
13330
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13331
13331
|
font-weight: bold;
|
|
13332
13332
|
font-size: var(--type-ramp-base-font-size);
|
|
13333
13333
|
}
|
|
13334
13334
|
|
|
13335
|
-
.${
|
|
13335
|
+
.${cm} .ag-root-wrapper {
|
|
13336
13336
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13337
13337
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13338
13338
|
}
|
|
13339
13339
|
|
|
13340
|
-
.${
|
|
13340
|
+
.${cm} .ag-cell {
|
|
13341
13341
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13342
13342
|
}
|
|
13343
|
-
`,
|
|
13344
|
-
${
|
|
13345
|
-
${
|
|
13343
|
+
`,um="ag-theme-genesis-rapid-dark",hm=b.css`
|
|
13344
|
+
${sm}
|
|
13345
|
+
${nn(cm,dm)}
|
|
13346
13346
|
|
|
13347
|
-
.${
|
|
13348
|
-
${
|
|
13347
|
+
.${um} {
|
|
13348
|
+
${na()}
|
|
13349
13349
|
font-family: var(--body-font);
|
|
13350
13350
|
}
|
|
13351
13351
|
|
|
13352
|
-
.${
|
|
13353
|
-
.${
|
|
13354
|
-
.${
|
|
13352
|
+
.${um} .ag-body .ag-body-viewport,
|
|
13353
|
+
.${um} .ag-header,
|
|
13354
|
+
.${um} .ag-row {
|
|
13355
13355
|
background-color: var(--neutral-layer-4);
|
|
13356
13356
|
}
|
|
13357
13357
|
|
|
13358
|
-
.${
|
|
13358
|
+
.${um} .ag-header {
|
|
13359
13359
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13360
13360
|
font-weight: bold;
|
|
13361
13361
|
font-size: var(--type-ramp-base-font-size);
|
|
13362
13362
|
}
|
|
13363
13363
|
|
|
13364
|
-
.${
|
|
13364
|
+
.${um} .ag-root-wrapper {
|
|
13365
13365
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13366
13366
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13367
13367
|
}
|
|
13368
13368
|
|
|
13369
|
-
.${
|
|
13369
|
+
.${um} .ag-cell {
|
|
13370
13370
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13371
13371
|
}
|
|
13372
|
-
`,
|
|
13372
|
+
`,mm=b.css`
|
|
13373
13373
|
/* All the AG themes */
|
|
13374
|
-
${
|
|
13374
|
+
${Lg}
|
|
13375
13375
|
|
|
13376
13376
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
13377
|
-
${
|
|
13378
|
-
${
|
|
13377
|
+
${pm}
|
|
13378
|
+
${hm}
|
|
13379
13379
|
|
|
13380
13380
|
.error {
|
|
13381
13381
|
border-color: ${Fe.shortPink} !important;
|
|
13382
13382
|
}
|
|
13383
|
-
`,
|
|
13383
|
+
`,bm=Mg("rapid"),vm="ag-theme-genesis-rapid-dark";const fm=Ug,wm=Hg,ym={rapidAgEditableRenderer:Jh,rapidAgActionRenderer:Kh,rapidAgActionsMenuRenderer:em,rapidAgBooleanRenderer:rm,rapidAgTextRenderer:tm,rapidAgSelectRenderer:om,rapidAgDateEditor:Bh,rapidAgMultiselectEditor:_h,rapidAgSelectEditor:Hh,rapidAgNumberEditor:Yh,rapidAgStringEditor:Wh,rapidGridPro:class extends _g{constructor(){super(...arguments),this.theme=vm}themeChanged(e,a){(e||a===vm)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[ln.action]:Zh,[ln.actionsMenu]:Xh,[ln.boolean]:am,[ln.editable]:qh,[ln.selectEditor]:Uh,[ln.numberEditor]:Vh,[ln.multiselectEditor]:Gh,[ln.dateEditor]:Ph,[ln.stringEditor]:Qh};(this.theme===cm||this.theme===um)&&(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:bm,styles:mm,shadowOptions:fm},wm)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var xm,km=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(xm||(xm={}));const zm={Roboto:ia,"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'},Sm=zm["Segoe UI"],Cm=b.css`
|
|
13384
13384
|
${(0,v.display)("block")} :host {
|
|
13385
13385
|
width: 100%;
|
|
13386
13386
|
display: inline-flex;
|
|
@@ -13512,7 +13512,7 @@
|
|
|
13512
13512
|
alpha-button {
|
|
13513
13513
|
margin: 0;
|
|
13514
13514
|
}
|
|
13515
|
-
|
|
13515
|
+
`,$m=b.html`
|
|
13516
13516
|
<template>
|
|
13517
13517
|
<div class="configuration">
|
|
13518
13518
|
${(0,b.when)((e=>!e.customDesignMode),b.html`
|
|
@@ -13720,7 +13720,7 @@
|
|
|
13720
13720
|
</div>
|
|
13721
13721
|
</div>
|
|
13722
13722
|
${(0,b.when)((e=>!e.customDesignMode),b.html`
|
|
13723
|
-
<alpha-checkbox :checked="${(0,
|
|
13723
|
+
<alpha-checkbox :checked="${(0,hl.O)((e=>e.preserveOptions),"boolean")}">
|
|
13724
13724
|
Preserve selected options when changing design systems
|
|
13725
13725
|
</alpha-checkbox>
|
|
13726
13726
|
`)}
|
|
@@ -13735,7 +13735,7 @@
|
|
|
13735
13735
|
<slot></slot>
|
|
13736
13736
|
</div>
|
|
13737
13737
|
</template>
|
|
13738
|
-
`,
|
|
13738
|
+
`,Am=({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(zm).find((a=>zm[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Om=Am(da),Tm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Fm={accent:"primary",neutral:"secondary",font:"white"},Dm=Am(l.designTokens),Rm=Am(Nd),Nm={zero:{prefix:"zero",tokenDefaults:Om,buttons:Tm,badge:Fm},alpha:{prefix:"alpha",tokenDefaults:Dm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Rm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Tm,badge:Fm}};let Lm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Om.luminance===f.StandardLuminance.DarkMode,this.luminance=Om.luminance,this.neutralColor=Om.neutralColor,this.accentColor=Om.accentColor,this.bodyFont=Om.bodyFont,this.density=Om.density,this.borderRadius=Om.borderRadius,this.strokeWidth=Om.strokeWidth,this.designUnit=Om.designUnit,this.baseFontSize=Om.baseFontSize,this.baseLineHeight=Om.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=Am(a);Nm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,km.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Nm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,km.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const{appName:e="Custom Design",dsPrefix:a="custom"}=yield this.getAppDetails(),r={name:e,value:a};this.designSystems=[r],Nm.custom.prefix=a,Nm.custom.buttons=Nm[a].buttons,Nm.custom.badge=Nm[a].badge,this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Nm[this.ds].prefix,buttonAppearanceAccent:Nm[this.ds].buttons.accent,buttonAppearanceNeutral:Nm[this.ds].buttons.neutral,buttonAppearanceOutline:Nm[this.ds].buttons.outline,buttonAppearanceText:Nm[this.ds].buttons.text,badgeAppearanceAccent:Nm[this.ds].badge.accent,badgeAppearanceNeutral:Nm[this.ds].badge.neutral,badgeText:Nm[this.ds].badge.font};this.$emit(xm.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Nm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:zm[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(xm.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===f.StandardLuminance.DarkMode,b.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppDetails(){return fetch("/api/details").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},oa(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(xm.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,km.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],Lm.prototype,"customDesignMode",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"designSystems",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"ds",void 0),(0,km.__decorate)([b.attr],Lm.prototype,"darkMode",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"neutralColor",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"accentColor",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"bodyFont",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"density",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"borderRadius",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"strokeWidth",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"designUnit",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"baseFontSize",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"baseLineHeight",void 0),(0,km.__decorate)([b.observable],Lm.prototype,"preserveOptions",void 0),Lm=(0,km.__decorate)([(0,b.customElement)({name:"design-system-editor",template:$m,styles:Cm})],Lm);const Mm=(0,k.createLogger)("documentation-components"),Im=e=>{const a=(e=>{const a=(0,De.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},Em=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},jm=(e,a)=>{const r=Im(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=Im(e.accentColor);f.accentPalette.setValueFor(a,t),f.baseLayerLuminance.setValueFor(a,e.luminance),f.density.setValueFor(a,e.density),f.controlCornerRadius.setValueFor(a,e.borderRadius),f.strokeWidth.setValueFor(a,e.strokeWidth),f.designUnit.setValueFor(a,e.designUnit),f.bodyFont.setValueFor(a,e.bodyFont),f.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),f.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),f.typeRampMinus1FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,Em(f.typeRampBaseFontSize,ta.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,Em(f.typeRampBaseLineHeight,ta.Du.plusSix,a))},Pm=b.css`
|
|
13739
13739
|
:host {
|
|
13740
13740
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13741
13741
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13831,7 +13831,7 @@
|
|
|
13831
13831
|
display: flex;
|
|
13832
13832
|
flex-direction: column;
|
|
13833
13833
|
}
|
|
13834
|
-
`,
|
|
13834
|
+
`,Bm=b.html`
|
|
13835
13835
|
${e=>(e=>b.html`
|
|
13836
13836
|
<template>
|
|
13837
13837
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14246,7 +14246,7 @@
|
|
|
14246
14246
|
</${e}-design-system-provider>
|
|
14247
14247
|
</template>
|
|
14248
14248
|
`)(e.prefix)}
|
|
14249
|
-
`;let
|
|
14249
|
+
`;let Gm=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>Mm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>Mm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>Mm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>Mm.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(xm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(xm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Sm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{jm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,this.buttonAppearanceText=e.detail.buttonAppearanceText,this.badgeAppearanceAccent=e.detail.badgeAppearanceAccent,this.badgeAppearanceNeutral=e.detail.badgeAppearanceNeutral,this.badgeText=e.detail.badgeText}showDialog(e){this[e].show()}closeDialog(e){this[e].close()}dismissBanner(){this.banner.dismiss()}};(0,km.__decorate)([b.observable],Gm.prototype,"modal",void 0),(0,km.__decorate)([b.attr],Gm.prototype,"prefix",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"buttonAppearanceAccent",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"buttonAppearanceNeutral",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"buttonAppearanceOutline",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"buttonAppearanceText",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"badgeAppearanceAccent",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"badgeAppearanceNeutral",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"badgeText",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"cards",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"countries",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"menuActions",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"menuDefinition",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"dropDownMenuItems",void 0),(0,km.__decorate)([b.observable],Gm.prototype,"provider",void 0),Gm=(0,km.__decorate)([(0,b.customElement)({name:"preview-components",template:Bm,styles:Pm})],Gm);const _m=b.css`
|
|
14250
14250
|
.export {
|
|
14251
14251
|
display: flex;
|
|
14252
14252
|
justify-content: center;
|
|
@@ -14257,7 +14257,7 @@
|
|
|
14257
14257
|
display: flex;
|
|
14258
14258
|
justify-content: space-between;
|
|
14259
14259
|
}
|
|
14260
|
-
`,
|
|
14260
|
+
`,Um=b.html`
|
|
14261
14261
|
<template>
|
|
14262
14262
|
<div class="export">
|
|
14263
14263
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
@@ -14278,7 +14278,7 @@
|
|
|
14278
14278
|
</alpha-modal>
|
|
14279
14279
|
</div>
|
|
14280
14280
|
</template>
|
|
14281
|
-
`;let
|
|
14281
|
+
`;let Hm=class extends b.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{Mm.log("Tokens saved successfully:",e),this.$emit(xm.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{Mm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(xm.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,km.__decorate)([b.attr],Hm.prototype,"value",void 0),(0,km.__decorate)([b.attr],Hm.prototype,"tokensPath",void 0),Hm=(0,km.__decorate)([(0,b.customElement)({name:"design-system-export",template:Um,styles:_m})],Hm);const Vm=b.css`
|
|
14282
14282
|
.colors {
|
|
14283
14283
|
display: flex;
|
|
14284
14284
|
flex-wrap: wrap;
|
|
@@ -14291,23 +14291,23 @@
|
|
|
14291
14291
|
flex-grow: 1;
|
|
14292
14292
|
height: 20px;
|
|
14293
14293
|
}
|
|
14294
|
-
`,
|
|
14294
|
+
`,Ym=b.html`
|
|
14295
14295
|
<ul class="colors">
|
|
14296
14296
|
${(0,b.repeat)((e=>e.swatches),b.html`
|
|
14297
14297
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14298
14298
|
`)}
|
|
14299
14299
|
</ul>
|
|
14300
|
-
`;let
|
|
14300
|
+
`;let Qm=class extends b.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){f[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=Im(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(xm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,km.__decorate)([b.observable],Qm.prototype,"swatches",void 0),(0,km.__decorate)([b.attr],Qm.prototype,"type",void 0),Qm=(0,km.__decorate)([(0,b.customElement)({name:"color-palette",styles:Vm,template:Ym})],Qm);const Wm=b.css`
|
|
14301
14301
|
.preview {
|
|
14302
14302
|
width: 40px;
|
|
14303
14303
|
height: 40px;
|
|
14304
14304
|
}
|
|
14305
|
-
`,
|
|
14305
|
+
`,qm=b.html`
|
|
14306
14306
|
<div
|
|
14307
14307
|
class="preview"
|
|
14308
14308
|
style="background-color: ${e=>f[e.tokenName].createCSS()}"
|
|
14309
14309
|
></div>
|
|
14310
|
-
`;let
|
|
14310
|
+
`;let Jm=class extends b.FASTElement{};(0,km.__decorate)([b.attr],Jm.prototype,"tokenName",void 0),Jm=(0,km.__decorate)([(0,b.customElement)({name:"color-token",styles:Wm,template:qm})],Jm);const Zm=b.css`
|
|
14311
14311
|
.container {
|
|
14312
14312
|
display: flex;
|
|
14313
14313
|
width: 100%;
|
|
@@ -14355,7 +14355,7 @@
|
|
|
14355
14355
|
.container > div:not(:last-child) {
|
|
14356
14356
|
border-right: 1px solid #fafafa;
|
|
14357
14357
|
}
|
|
14358
|
-
`,
|
|
14358
|
+
`,Km=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],Xm=b.html`
|
|
14359
14359
|
<div class="row">
|
|
14360
14360
|
<div
|
|
14361
14361
|
class="preview"
|
|
@@ -14367,19 +14367,19 @@
|
|
|
14367
14367
|
${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
14368
14368
|
</div>
|
|
14369
14369
|
</div>
|
|
14370
|
-
`,
|
|
14370
|
+
`,eb=b.html`
|
|
14371
14371
|
<div class="container" ${(0,b.ref)("provider")}>
|
|
14372
|
-
${(0,b.repeat)((()=>
|
|
14372
|
+
${(0,b.repeat)((()=>Km),b.html`
|
|
14373
14373
|
<div class="column">
|
|
14374
14374
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
14375
14375
|
${(0,b.repeat)((e=>e.subcategories),b.html`
|
|
14376
14376
|
<h4>${e=>e.title}</h4>
|
|
14377
|
-
${(0,b.repeat)((e=>e.tokens),
|
|
14377
|
+
${(0,b.repeat)((e=>e.tokens),Xm)}
|
|
14378
14378
|
`)}
|
|
14379
14379
|
</div>
|
|
14380
14380
|
`)}
|
|
14381
14381
|
</div>
|
|
14382
|
-
`;let
|
|
14382
|
+
`;let ab=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(xm.STYLES_CHANGED,(e=>{const a=e.detail;jm(a,this.provider)}))}};(0,km.__decorate)([b.observable],ab.prototype,"provider",void 0),ab=(0,km.__decorate)([(0,b.customElement)({name:"color-tokens",template:eb,styles:Zm})],ab);const rb=b.css`
|
|
14383
14383
|
table {
|
|
14384
14384
|
background: var(--neutral-fill-rest);
|
|
14385
14385
|
color: var(--neutral-foreground-rest);
|
|
@@ -14388,7 +14388,7 @@
|
|
|
14388
14388
|
th {
|
|
14389
14389
|
text-align: left;
|
|
14390
14390
|
}
|
|
14391
|
-
`,
|
|
14391
|
+
`,tb=b.html`
|
|
14392
14392
|
<table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
|
|
14393
14393
|
<colgroup>
|
|
14394
14394
|
<col style="width: 15%;" />
|
|
@@ -14616,7 +14616,7 @@
|
|
|
14616
14616
|
</tr>
|
|
14617
14617
|
</tbody>
|
|
14618
14618
|
</table>
|
|
14619
|
-
`;let
|
|
14619
|
+
`;let ob=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(xm.STYLES_CHANGED,(e=>{const a=e.detail;jm(a,this.provider)}))}};(0,km.__decorate)([b.observable],ob.prototype,"provider",void 0),ob=(0,km.__decorate)([(0,b.customElement)({name:"typography-tokens",template:tb,styles:rb})],ob);const ib=b.css`
|
|
14620
14620
|
:host {
|
|
14621
14621
|
background: var(--fill-color);
|
|
14622
14622
|
color: var(--neutral-foreground-rest);
|
|
@@ -14632,7 +14632,7 @@
|
|
|
14632
14632
|
margin-top: 24px;
|
|
14633
14633
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14634
14634
|
}
|
|
14635
|
-
`,
|
|
14635
|
+
`,nb=b.html`
|
|
14636
14636
|
<template>
|
|
14637
14637
|
<alpha-tabs>
|
|
14638
14638
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14661,7 +14661,7 @@
|
|
|
14661
14661
|
</alpha-tab-panel>
|
|
14662
14662
|
</alpha-tabs>
|
|
14663
14663
|
</template>
|
|
14664
|
-
`;let
|
|
14664
|
+
`;let lb=class extends b.FASTElement{};lb=(0,km.__decorate)([(0,b.customElement)({name:"design-system-preview",template:nb,styles:ib})],lb);const gb={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"}]}]}}]},sb={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"]}}},db={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"}]}}}]},cb={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"]}}}},pb=b.css`
|
|
14665
14665
|
:host {
|
|
14666
14666
|
background: var(--fill-color);
|
|
14667
14667
|
color: var(--neutral-foreground-rest);
|
|
@@ -14692,7 +14692,7 @@
|
|
|
14692
14692
|
zero-design-system-provider {
|
|
14693
14693
|
display: inline;
|
|
14694
14694
|
}
|
|
14695
|
-
`,
|
|
14695
|
+
`,ub=b.html`
|
|
14696
14696
|
${e=>(e=>b.html`
|
|
14697
14697
|
<template>
|
|
14698
14698
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14716,7 +14716,7 @@
|
|
|
14716
14716
|
</${e}-design-system-provider>
|
|
14717
14717
|
</template>
|
|
14718
14718
|
`)(e.prefix)}
|
|
14719
|
-
`;let
|
|
14719
|
+
`;let hb=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=sb,this.uischema=gb,this.jsonSchemaArray=cb,this.uiSchemaArray=db,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(xm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(xm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Sm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{jm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,km.__decorate)([b.observable],hb.prototype,"jsonSchema",void 0),(0,km.__decorate)([b.observable],hb.prototype,"uischema",void 0),(0,km.__decorate)([b.observable],hb.prototype,"jsonSchemaArray",void 0),(0,km.__decorate)([b.observable],hb.prototype,"uiSchemaArray",void 0),(0,km.__decorate)([b.attr],hb.prototype,"prefix",void 0),(0,km.__decorate)([b.observable],hb.prototype,"provider",void 0),(0,km.__decorate)([b.observable],hb.prototype,"editedEntity",void 0),(0,km.__decorate)([b.observable],hb.prototype,"editedEntityArray",void 0),hb=(0,km.__decorate)([(0,b.customElement)({name:"preview-form",template:ub,styles:pb})],hb);const mb=[{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}],bb=b.css`
|
|
14720
14720
|
:host {
|
|
14721
14721
|
background: var(--fill-color);
|
|
14722
14722
|
color: var(--neutral-foreground-rest);
|
|
@@ -14731,7 +14731,7 @@
|
|
|
14731
14731
|
.grid-height {
|
|
14732
14732
|
height: 100%;
|
|
14733
14733
|
}
|
|
14734
|
-
`,
|
|
14734
|
+
`,vb=b.html`
|
|
14735
14735
|
${e=>(e=>b.html`
|
|
14736
14736
|
<template>
|
|
14737
14737
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14760,5 +14760,5 @@
|
|
|
14760
14760
|
</${e}-design-system-provider>
|
|
14761
14761
|
</template>
|
|
14762
14762
|
`)(e.prefix)}
|
|
14763
|
-
`;let
|
|
14764
|
-
//# sourceMappingURL=206.
|
|
14763
|
+
`;let fb=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[...mb],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:ln.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:ln.actionsMenu,cellRendererParams:{actions:e,buttonAppearance:o,isVertical:t,buttonText:r},cellStyle:{border:"none",overflow:"visible"},field:`${tl(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:ln.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(xm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(xm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Sm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{jm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,km.__decorate)([b.observable],fb.prototype,"grid",void 0),(0,km.__decorate)([b.attr],fb.prototype,"prefix",void 0),(0,km.__decorate)([b.observable],fb.prototype,"provider",void 0),(0,km.__decorate)([b.observable],fb.prototype,"rowData",void 0),(0,km.__decorate)([b.observable],fb.prototype,"columnDefs",void 0),(0,km.__decorate)([b.observable],fb.prototype,"gridOptions",void 0),fb=(0,km.__decorate)([(0,b.customElement)({name:"preview-grid",template:vb,styles:bb})],fb),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Ji,ls),(0,l.provideDesignSystem)().register(l.baseComponents,gs),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(jh,ym)}}]);
|
|
14764
|
+
//# sourceMappingURL=206.41a1c7c06c75a005d2087abda771eac1.js.map
|