@genesislcap/design-system-configurator 14.168.0 → 14.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{906.906.c5b0088f818953f35c28.js → 155.155.d4f382e80b6e24f67af2.js} +235 -174
- package/dist/155.ab383385ab14ff0546e0db3a4e78821a.js.map +1 -0
- package/dist/{279.279.5bec60753fd1d7e05ddd.js → 279.279.21a590d7a305db22d2bd.js} +1 -1
- package/dist/{531.531.7bc3c146e6a6b59959b7.js → 531.531.7a52ac6eea0111f3bfbe.js} +30 -4
- package/dist/531.d8c118da7420863f926f144a0d4e0ad5.js.map +1 -0
- package/dist/{548.548.16a7bf09a7d3dd44cc10.js → 548.548.ca1b0a2b946de12dac2d.js} +1 -1
- package/dist/653.653.f26e2e4fee2a7bb0509c.js +2 -0
- package/dist/{653.cda2755851515fbf4ce54a3f75f7351b.js.map → 653.cd79d6d50e9f0dfe8ed96f08357afbae.js.map} +1 -1
- package/dist/{104.104.eb07ccfb64543ac7b778.js → 723.723.b373cd9adb9d16e74863.js} +2 -2
- package/dist/{104.89f5d15ad9e34bb896b2e091a01bd2f4.js.map → 723.97abc3d871744fabdb38400cdc47a624.js.map} +1 -1
- package/dist/{842.842.a6b8c5287d9c9761bc85.js → 842.842.a0f8035152792757c3c3.js} +1 -1
- package/dist/designSystemConfigurator.2ad69f7923e8d0fa24c4af17365d81c0.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.aadff302ea9000f2a12e.js +2 -0
- package/dist/main.e488a41a707698f1b897f110913e0cba.js.map +1 -0
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/531.4d2ba410e2471ba00b537d0fa12a0892.js.map +0 -1
- package/dist/653.653.c62509653415c8faca35.js +0 -2
- package/dist/906.bc6afacd49c945629663cb1f2ec91ca3.js.map +0 -1
- package/dist/designSystemConfigurator.c799ec146417788b3c059abeae33fb57.js.map +0 -1
- package/dist/main.60739192ccadd3ca4c37.js +0 -2
- package/dist/main.7daadae906e9e27807994dadee034f00.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[906],{98105:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Sm,ColorToken:()=>Am,ColorTokens:()=>Rm,DesignSystemEditor:()=>cm,DesignSystemExport:()=>xm,DesignSystemPreview:()=>Em,EventName:()=>Kh,PreviewComponents:()=>fm,PreviewForm:()=>Vm,PreviewGrid:()=>Wm,TypographyTokens:()=>Mm,defaultBodyFont:()=>am,fontFamilies:()=>em});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>He,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>rs,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>as,defaultErrorColor:()=>Yg,defaultSellColor:()=>os,defaultSuccessColor:()=>qg,defaultWarningColor:()=>Kg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Qg,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:()=>is,strokeWidth:()=>f.strokeWidth,successColor:()=>Jg,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:()=>Xg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>cs,accentFillFocusDeltaValue:()=>ps,accentFillHoverDeltaValue:()=>ds,accentFillRestDeltaValue:()=>ss,accentForegroundActiveDeltaValue:()=>ms,accentForegroundFocusDeltaValue:()=>bs,accentForegroundHoverDeltaValue:()=>hs,accentForegroundRestDeltaValue:()=>us,accentPaletteValue:()=>ns,baseHeightMultiplierValue:()=>Us,baseLayerLuminanceValue:()=>gs,bodyFontValue:()=>Ws,controlCornerRadiusValue:()=>Vs,densityValue:()=>Ys,designTokens:()=>ud,designUnitValue:()=>Qs,directionValue:()=>Bs,disabledOpacityValue:()=>Gs,focusStrokeWidthValue:()=>Hs,neutralFillActiveDeltaValue:()=>ws,neutralFillFocusDeltaValue:()=>ys,neutralFillHoverDeltaValue:()=>fs,neutralFillInputActiveDeltaValue:()=>zs,neutralFillInputFocusDeltaValue:()=>Ss,neutralFillInputHoverDeltaValue:()=>ks,neutralFillInputRestDeltaValue:()=>xs,neutralFillLayerRestDeltaValue:()=>Ns,neutralFillRestDeltaValue:()=>vs,neutralFillStealthActiveDeltaValue:()=>As,neutralFillStealthFocusDeltaValue:()=>Os,neutralFillStealthHoverDeltaValue:()=>$s,neutralFillStealthRestDeltaValue:()=>Cs,neutralFillStrongActiveDeltaValue:()=>Ds,neutralFillStrongFocusDeltaValue:()=>Rs,neutralFillStrongHoverDeltaValue:()=>Ts,neutralFillStrongRestDeltaValue:()=>Fs,neutralPaletteValue:()=>ls,neutralStrokeActiveDeltaValue:()=>Is,neutralStrokeDividerRestDeltaValue:()=>Es,neutralStrokeFocusDeltaValue:()=>js,neutralStrokeHoverDeltaValue:()=>Ms,neutralStrokeRestDeltaValue:()=>Ls,prefix:()=>Ps,strokeWidthValue:()=>_s,typeRampBaseFontSizeValue:()=>qs,typeRampBaseLineHeightValue:()=>Js,typeRampMinus1FontSizeValue:()=>Zs,typeRampMinus1LineHeightValue:()=>Ks,typeRampMinus2FontSizeValue:()=>Xs,typeRampMinus2LineHeightValue:()=>ed,typeRampPlus1FontSizeValue:()=>ad,typeRampPlus1LineHeightValue:()=>rd,typeRampPlus2FontSizeValue:()=>td,typeRampPlus2LineHeightValue:()=>od,typeRampPlus3FontSizeValue:()=>id,typeRampPlus3LineHeightValue:()=>nd,typeRampPlus4FontSizeValue:()=>ld,typeRampPlus4LineHeightValue:()=>gd,typeRampPlus5FontSizeValue:()=>sd,typeRampPlus5LineHeightValue:()=>dd,typeRampPlus6FontSizeValue:()=>cd,typeRampPlus6LineHeightValue:()=>pd});var l=r(84033),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([[155],{74910:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Fm,ColorToken:()=>Rm,ColorTokens:()=>jm,DesignSystemEditor:()=>bm,DesignSystemExport:()=>$m,DesignSystemPreview:()=>Hm,EventName:()=>tm,PreviewComponents:()=>zm,PreviewForm:()=>Jm,PreviewGrid:()=>Xm,TypographyTokens:()=>Bm,defaultBodyFont:()=>nm,fontFamilies:()=>im});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>He,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>ls,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>ns,defaultErrorColor:()=>Zg,defaultSellColor:()=>ss,defaultSuccessColor:()=>es,defaultWarningColor:()=>ts,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Kg,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:()=>ds,strokeWidth:()=>f.strokeWidth,successColor:()=>as,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:()=>os});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>bs,accentFillFocusDeltaValue:()=>vs,accentFillHoverDeltaValue:()=>ms,accentFillRestDeltaValue:()=>hs,accentForegroundActiveDeltaValue:()=>ys,accentForegroundFocusDeltaValue:()=>xs,accentForegroundHoverDeltaValue:()=>ws,accentForegroundRestDeltaValue:()=>fs,accentPaletteValue:()=>cs,baseHeightMultiplierValue:()=>qs,baseLayerLuminanceValue:()=>us,bodyFontValue:()=>Xs,controlCornerRadiusValue:()=>Js,densityValue:()=>Zs,designTokens:()=>fd,designUnitValue:()=>Ks,directionValue:()=>Vs,disabledOpacityValue:()=>Ys,focusStrokeWidthValue:()=>Ws,neutralFillActiveDeltaValue:()=>Ss,neutralFillFocusDeltaValue:()=>Cs,neutralFillHoverDeltaValue:()=>zs,neutralFillInputActiveDeltaValue:()=>Os,neutralFillInputFocusDeltaValue:()=>Fs,neutralFillInputHoverDeltaValue:()=>As,neutralFillInputRestDeltaValue:()=>$s,neutralFillLayerRestDeltaValue:()=>Es,neutralFillRestDeltaValue:()=>ks,neutralFillStealthActiveDeltaValue:()=>Rs,neutralFillStealthFocusDeltaValue:()=>Ns,neutralFillStealthHoverDeltaValue:()=>Ds,neutralFillStealthRestDeltaValue:()=>Ts,neutralFillStrongActiveDeltaValue:()=>Is,neutralFillStrongFocusDeltaValue:()=>js,neutralFillStrongHoverDeltaValue:()=>Ms,neutralFillStrongRestDeltaValue:()=>Ls,neutralPaletteValue:()=>ps,neutralStrokeActiveDeltaValue:()=>Gs,neutralStrokeDividerRestDeltaValue:()=>Hs,neutralStrokeFocusDeltaValue:()=>_s,neutralStrokeHoverDeltaValue:()=>Bs,neutralStrokeRestDeltaValue:()=>Ps,prefix:()=>Us,strokeWidthValue:()=>Qs,typeRampBaseFontSizeValue:()=>ed,typeRampBaseLineHeightValue:()=>ad,typeRampMinus1FontSizeValue:()=>rd,typeRampMinus1LineHeightValue:()=>td,typeRampMinus2FontSizeValue:()=>od,typeRampMinus2LineHeightValue:()=>id,typeRampPlus1FontSizeValue:()=>nd,typeRampPlus1LineHeightValue:()=>ld,typeRampPlus2FontSizeValue:()=>gd,typeRampPlus2LineHeightValue:()=>sd,typeRampPlus3FontSizeValue:()=>dd,typeRampPlus3LineHeightValue:()=>cd,typeRampPlus4FontSizeValue:()=>pd,typeRampPlus4LineHeightValue:()=>ud,typeRampPlus5FontSizeValue:()=>hd,typeRampPlus5LineHeightValue:()=>md,typeRampPlus6FontSizeValue:()=>bd,typeRampPlus6LineHeightValue:()=>vd});var l=r(39496),g=r(24636),s=r(61503),d=r(17914);const c=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${f.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
background: ${w.A.Canvas};
|
|
55
55
|
border-color: ${w.A.CanvasText};
|
|
56
56
|
}
|
|
57
|
-
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(
|
|
57
|
+
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(37746);const z=(0,k.createLogger)("foundation-form"),S=b.html`
|
|
58
58
|
<template>
|
|
59
59
|
${(0,b.when)((e=>!1),b.html`
|
|
60
60
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
</control-wrapper>
|
|
296
296
|
</template>
|
|
297
297
|
`)(e.prefix)}
|
|
298
|
-
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var U=r(
|
|
298
|
+
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var U=r(47170);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")))))));U.MultiselectDatasource;const Q={renderer:b.html`
|
|
299
299
|
${e=>((e="zero")=>b.html`
|
|
300
300
|
<template>
|
|
301
301
|
<control-wrapper
|
|
@@ -1072,6 +1072,8 @@
|
|
|
1072
1072
|
`}}),Br=(0,Ae.parseColorHexRGB)("#121212"),Gr=oa(Br,1),_r=b.css`
|
|
1073
1073
|
${U.foundationDialogStyles}
|
|
1074
1074
|
:host {
|
|
1075
|
+
--color-error: ${ke.error};
|
|
1076
|
+
--color-success: ${ke.success};
|
|
1075
1077
|
--dialog-background: ${f.neutralLayer2};
|
|
1076
1078
|
}
|
|
1077
1079
|
|
|
@@ -2169,7 +2171,7 @@
|
|
|
2169
2171
|
<template>
|
|
2170
2172
|
<slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2171
2173
|
</template>
|
|
2172
|
-
`;let $l=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,Pi.__decorate)([b.observable],$l.prototype,"slottedAgCell",void 0),(0,Pi.__decorate)([b.observable],$l.prototype,"definition",void 0),$l=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Cl})],$l);var Al=r(39087),Ol=r(96730),Fl=r(21281),Tl=r(34193),Dl=r(78466),Rl=r(60949),Nl=r(97156),Ll=r(56607),Ml=r(10629),Il=r(41392),jl=r(92453),El=r(2773),Pl=r(41119),Bl=r(17465),Gl=r(12066);function _l(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function Hl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Ul({value:e}){return(0,Gl.CL)(e)}function Vl({value:e}){return(0,Gl.zT)(e)}class Yl extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Al.OD.MAX_ROWS_250,this.maxView=Al.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Al.OD.REQUEST_SERVER_ROW_ID:Al.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Al.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Al.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Al.OD.REQUEST_SERVER_ROW_ID:Al.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Ql;(0,Pi.__decorate)([s.dm],Yl.prototype,"connect",void 0),(0,Pi.__decorate)([b.observable],Yl.prototype,"deferredGridOptions",void 0),(0,Pi.__decorate)([b.observable],Yl.prototype,"deferredColumnStates",void 0),(0,Pi.__decorate)([b.observable],Yl.prototype,"rowDataMapper",void 0),(0,Pi.__decorate)([b.attr],Yl.prototype,"criteria",void 0),(0,Pi.__decorate)([b.attr],Yl.prototype,"fields",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Yl.prototype,"isSnapshot",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-rows"})],Yl.prototype,"maxRows",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-view"})],Yl.prototype,"maxView",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Yl.prototype,"movingView",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"order-by"})],Yl.prototype,"orderBy",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"resource-name"})],Yl.prototype,"resourceName",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],Yl.prototype,"reverse",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"row-id"})],Yl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Ql||(Ql={}));class Wl extends Yl{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Pl.w.STRING:t.cellEditor=Yi.stringEditor;break;case Pl.w.NUMBER:t.cellEditor=Yi.numberEditor;break;case Pl.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Yi.boolean,t.cellEditor=Yi.boolean);break;case Pl.w.DATE:t.valueFormatter=Ul,t.cellEditor=Yi.dateEditor;break;case Pl.w.DATETIME:t.valueFormatter=Vl,t.cellEditor=Yi.dateEditor,t.cellEditorParams={withTime:!0};break;case Pl.w.ENUM:e.enumOptions?(t.cellEditor=Yi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Bl.v.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const o=null===(r=this.agGrid.gridApi)||void 0===r?void 0:r.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Hl(e.type),filter:_l(e.type)},t),o)}))}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rowData.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){var e,a,r;if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Ql.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Ql.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Ql.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(Ql)){if(!this.rowDataMapper)return e;const r={};return a.includes(Ql.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Ql.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Ql.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class ql{constructor(){this.rowData=new Map}}function Jl(e){switch(e){case Pl.w.DATE:case Pl.w.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}let Zl=class extends(c(Wl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Al.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Nl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Ol.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return In.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Al.vt.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Ml.i)(1),(0,Il.B)(o),(0,jl.M)((e=>In.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else In.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;In.debug("GridProGenesisDatasource.reset()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Nl.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){In.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return In.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else In.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,El.W)((e=>(this.handleErrors(e.receivedMessage),Ll.w)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Fl.Go.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Tl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Tl.d)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected"))}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=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void In.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Jl);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Ol.Q)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,Pi.__decorate)([Dl.N],Zl.prototype,"auth",void 0),(0,Pi.__decorate)([Rl.yW],Zl.prototype,"datasource",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],Zl.prototype,"pollingInterval",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],Zl.prototype,"disablePolling",void 0),(0,Pi.__decorate)([b.observable],Zl.prototype,"request",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Zl.prototype,"restartOnReconnection",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],Zl.prototype,"keepColDefsOnClearRowData",void 0),Zl=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],Zl);let Kl=class extends Zl{};Kl=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],Kl);var Xl=r(48707),eg=r(56177);function ag(e){switch(e){case Pl.w.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Pl.w.DATE:case Pl.w.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Pl.w.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class rg extends ql{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return In.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),In.debug("Available indexes:",a),In.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,eg.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Fl.Go.LOGOFF_ACK||t===Fl.Go.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,Tl.d)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>In.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,Pi.__decorate)([Dl.N],rg.prototype,"auth",void 0),(0,Pi.__decorate)([s.dm],rg.prototype,"connect",void 0);let tg=class extends(c(Wl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ol.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>In.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Xl.a)(e);const a=(0,Xl.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new rg({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});In.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));In.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return In.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Fl.Go.QUERY_UPDATE&&e.ROW){const r=(0,Tl.d)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>In.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ag);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],tg.prototype,"pagination",void 0),tg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],tg);const og='\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/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9Y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zomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ig='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2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ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ng={[Ei.alpine]:og,[Ei.alpineDark]:og,[Ei.balham]:ig,[Ei.balhamDark]:ig,[Ei.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVC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URfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},lg=og,gg=b.css`
|
|
2174
|
+
`;let $l=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,Pi.__decorate)([b.observable],$l.prototype,"slottedAgCell",void 0),(0,Pi.__decorate)([b.observable],$l.prototype,"definition",void 0),$l=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Cl})],$l);var Al=r(39087),Ol=r(96730),Fl=r(21281),Tl=r(34193),Dl=r(78466),Rl=r(60949),Nl=r(97156),Ll=r(56607),Ml=r(10629),Il=r(41392),jl=r(92453),El=r(2773),Pl=r(41119),Bl=r(17465),Gl=r(12066);function _l(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function Hl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Ul({value:e}){return(0,Gl.CL)(e)}function Vl({value:e}){return(0,Gl.zT)(e)}const Yl="datasource-error-close",Ql="datasource";class Wl extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Al.OD.MAX_ROWS_250,this.maxView=Al.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Al.OD.REQUEST_SERVER_ROW_ID:Al.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Al.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Al.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Al.OD.REQUEST_SERVER_ROW_ID:Al.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var ql;(0,Pi.__decorate)([s.dm],Wl.prototype,"connect",void 0),(0,Pi.__decorate)([b.observable],Wl.prototype,"deferredGridOptions",void 0),(0,Pi.__decorate)([b.observable],Wl.prototype,"deferredColumnStates",void 0),(0,Pi.__decorate)([b.observable],Wl.prototype,"rowDataMapper",void 0),(0,Pi.__decorate)([b.attr],Wl.prototype,"criteria",void 0),(0,Pi.__decorate)([b.attr],Wl.prototype,"fields",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Wl.prototype,"isSnapshot",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-rows"})],Wl.prototype,"maxRows",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-view"})],Wl.prototype,"maxView",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Wl.prototype,"movingView",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"order-by"})],Wl.prototype,"orderBy",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"resource-name"})],Wl.prototype,"resourceName",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],Wl.prototype,"reverse",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"row-id"})],Wl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(ql||(ql={}));class Jl extends Wl{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Pl.w.STRING:t.cellEditor=Yi.stringEditor;break;case Pl.w.NUMBER:t.cellEditor=Yi.numberEditor;break;case Pl.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Yi.boolean,t.cellEditor=Yi.boolean);break;case Pl.w.DATE:t.valueFormatter=Ul,t.cellEditor=Yi.dateEditor;break;case Pl.w.DATETIME:t.valueFormatter=Vl,t.cellEditor=Yi.dateEditor,t.cellEditorParams={withTime:!0};break;case Pl.w.ENUM:e.enumOptions?(t.cellEditor=Yi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Bl.v.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const o=null===(r=this.agGrid.gridApi)||void 0===r?void 0:r.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Hl(e.type),filter:_l(e.type)},t),o)}))}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rowData.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){var e,a,r;if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},ql.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},ql.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},ql.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(ql)){if(!this.rowDataMapper)return e;const r={};return a.includes(ql.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(ql.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(ql.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Zl{constructor(){this.rowData=new Map}}function Kl(e){switch(e){case Pl.w.DATE:case Pl.w.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}const Xl="datasource-error",eg="datasource-row-data-set";let ag=class extends(c(Jl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Al.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Nl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Ol.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return In.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Al.vt.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Ml.i)(1),(0,Il.B)(o),(0,jl.M)((e=>In.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else In.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;In.debug("GridProGenesisDatasource.reset()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Nl.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1,this.$emit(eg,{data:t})}))}reloadResourceData(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){In.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return In.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else In.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,El.W)((e=>(this.handleErrors(e.receivedMessage),Ll.w)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Fl.Go.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Tl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Tl.d)(e).inserts:e.inserts}handleErrors(e){var a;e.ERROR&&(this.agGrid&&(null===(a=this.agGrid.gridApi)||void 0===a||a.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected")),this.$emit(Xl,{message:e.ERROR}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void In.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Kl);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Ol.Q)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,Pi.__decorate)([Dl.N],ag.prototype,"auth",void 0),(0,Pi.__decorate)([Rl.yW],ag.prototype,"datasource",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],ag.prototype,"pollingInterval",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],ag.prototype,"disablePolling",void 0),(0,Pi.__decorate)([b.observable],ag.prototype,"request",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],ag.prototype,"restartOnReconnection",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],ag.prototype,"keepColDefsOnClearRowData",void 0),ag=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],ag);let rg=class extends ag{};rg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],rg);var tg=r(48707),og=r(56177);function ig(e){switch(e){case Pl.w.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Pl.w.DATE:case Pl.w.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Pl.w.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class ng extends Zl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return In.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),In.debug("Available indexes:",a),In.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,og.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Fl.Go.LOGOFF_ACK||t===Fl.Go.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,Tl.d)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>In.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,Pi.__decorate)([Dl.N],ng.prototype,"auth",void 0),(0,Pi.__decorate)([s.dm],ng.prototype,"connect",void 0);let lg=class extends(c(Jl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ol.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>In.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,tg.a)(e);const a=(0,tg.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new ng({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});In.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));In.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return In.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Fl.Go.QUERY_UPDATE&&e.ROW){const r=(0,Tl.d)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>In.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ig);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],lg.prototype,"pagination",void 0),lg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],lg);const gg='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAA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hBHu+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',sg='\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/bccgSgISTwjfXQjUrV14PoMQtmKBCWgy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}\n',dg={[Ei.alpine]:gg,[Ei.alpineDark]:gg,[Ei.balham]:sg,[Ei.balhamDark]:sg,[Ei.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojDkSuy0tGhJK4TKK3QzI7m73upywg2//HcOv8HYgNuxzN9yny6wS+OijiJbjLIFu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Xjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},cg=gg,pg=b.css`
|
|
2173
2175
|
.ag-icon {
|
|
2174
2176
|
font-family: var(--ag-icon-font-family);
|
|
2175
2177
|
font-size: var(--ag-icon-size);
|
|
@@ -9346,7 +9348,7 @@
|
|
|
9346
9348
|
input[class^='ag-'][type='range']:disabled {
|
|
9347
9349
|
opacity: 0.5;
|
|
9348
9350
|
}
|
|
9349
|
-
`,
|
|
9351
|
+
`,ug=b.css`
|
|
9350
9352
|
.ag-dnd-ghost {
|
|
9351
9353
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
9352
9354
|
border: solid 1px;
|
|
@@ -9363,7 +9365,7 @@
|
|
|
9363
9365
|
overflow: hidden;
|
|
9364
9366
|
text-overflow: ellipsis;
|
|
9365
9367
|
}
|
|
9366
|
-
`,
|
|
9368
|
+
`,hg=b.css`
|
|
9367
9369
|
.ag-theme-alpine,
|
|
9368
9370
|
.ag-theme-alpine-dark {
|
|
9369
9371
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9813,7 +9815,7 @@
|
|
|
9813
9815
|
.ag-theme-alpine-dark {
|
|
9814
9816
|
color-scheme: dark;
|
|
9815
9817
|
}
|
|
9816
|
-
`,
|
|
9818
|
+
`,mg=b.css`
|
|
9817
9819
|
.ag-theme-balham,
|
|
9818
9820
|
.ag-theme-balham-dark {
|
|
9819
9821
|
--ag-balham-active-color: #0091ea;
|
|
@@ -10083,7 +10085,7 @@
|
|
|
10083
10085
|
.ag-theme-balham-dark {
|
|
10084
10086
|
color-scheme: dark;
|
|
10085
10087
|
}
|
|
10086
|
-
`,
|
|
10088
|
+
`,bg=b.css`
|
|
10087
10089
|
.ag-theme-material {
|
|
10088
10090
|
--ag-material-primary-color: #3f51b5;
|
|
10089
10091
|
--ag-material-accent-color: #ff4081;
|
|
@@ -10348,28 +10350,32 @@
|
|
|
10348
10350
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
10349
10351
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
10350
10352
|
}
|
|
10351
|
-
`,
|
|
10352
|
-
${gg}
|
|
10353
|
-
${sg}
|
|
10354
|
-
${dg}
|
|
10355
|
-
${cg}
|
|
10353
|
+
`,vg=b.css`
|
|
10356
10354
|
${pg}
|
|
10357
|
-
`,hg=b.css`
|
|
10358
10355
|
${ug}
|
|
10356
|
+
${hg}
|
|
10357
|
+
${mg}
|
|
10358
|
+
${bg}
|
|
10359
|
+
`,fg=b.css`
|
|
10360
|
+
${vg}
|
|
10359
10361
|
:host {
|
|
10362
|
+
--datasource-error-background-color: var(--neutral-layer-4);
|
|
10363
|
+
--datasource-error-background-opacity: 0.5;
|
|
10364
|
+
--datasource-error-dialog-max-width: 50%;
|
|
10365
|
+
--datasource-error-dialog-min-width: auto;
|
|
10366
|
+
|
|
10367
|
+
position: relative;
|
|
10360
10368
|
width: 100%;
|
|
10361
10369
|
height: 100%;
|
|
10362
10370
|
}
|
|
10363
10371
|
|
|
10364
10372
|
:host([ds-disconnected]) {
|
|
10365
|
-
|
|
10373
|
+
display: block;
|
|
10366
10374
|
}
|
|
10367
10375
|
|
|
10368
|
-
:host([ds-disconnected])
|
|
10376
|
+
:host([ds-disconnected])::part(grid) {
|
|
10369
10377
|
cursor: not-allowed;
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
:host([ds-disconnected]) > * > * {
|
|
10378
|
+
opacity: 40%;
|
|
10373
10379
|
pointer-events: none;
|
|
10374
10380
|
}
|
|
10375
10381
|
|
|
@@ -10382,14 +10388,67 @@
|
|
|
10382
10388
|
.ag-cell-inline-editing {
|
|
10383
10389
|
height: inherit !important;
|
|
10384
10390
|
}
|
|
10385
|
-
|
|
10391
|
+
|
|
10392
|
+
.hidden {
|
|
10393
|
+
display: none;
|
|
10394
|
+
}
|
|
10395
|
+
|
|
10396
|
+
.grid-datasource-error-dialog::part(dialog) {
|
|
10397
|
+
position: absolute;
|
|
10398
|
+
z-index: 2;
|
|
10399
|
+
max-width: var(--datasource-error-dialog-max-width);
|
|
10400
|
+
|
|
10401
|
+
--dialog-min-width: var(--datasource-error-dialog-min-width);
|
|
10402
|
+
}
|
|
10403
|
+
|
|
10404
|
+
.grid-datasource-error-dialog::before {
|
|
10405
|
+
content: '';
|
|
10406
|
+
position: absolute;
|
|
10407
|
+
top: 50%;
|
|
10408
|
+
transform: translateY(-50%);
|
|
10409
|
+
left: 0;
|
|
10410
|
+
height: 100%;
|
|
10411
|
+
width: 100%;
|
|
10412
|
+
border-radius: 2px;
|
|
10413
|
+
background-color: var(--datasource-error-background-color);
|
|
10414
|
+
opacity: var(--datasource-error-background-opacity);
|
|
10415
|
+
z-index: 1;
|
|
10416
|
+
}
|
|
10417
|
+
`,wg=(e="foundation")=>b.html`
|
|
10386
10418
|
<template>
|
|
10387
10419
|
<span part="grid" class="${e=>e.classNames}">
|
|
10388
10420
|
<slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
|
|
10389
10421
|
<slot></slot>
|
|
10390
10422
|
</span>
|
|
10423
|
+
<slot
|
|
10424
|
+
name="grid-datasource-error"
|
|
10425
|
+
part="grid-datasource-error"
|
|
10426
|
+
class="${e=>e.gridErrorItems.filter((({type:e})=>e===Ql)).length>0?"":"hidden"}"
|
|
10427
|
+
>
|
|
10428
|
+
<${e}-dialog
|
|
10429
|
+
class="grid-datasource-error-dialog"
|
|
10430
|
+
type="error"
|
|
10431
|
+
show-close-icon="false"
|
|
10432
|
+
open
|
|
10433
|
+
>
|
|
10434
|
+
<h2 slot="top" class="title">Component unavailable</h2>
|
|
10435
|
+
<p>
|
|
10436
|
+
Please refresh to reconnect.
|
|
10437
|
+
It is recommended that you save your data before refreshing.
|
|
10438
|
+
Data is not current and may be incomplete.
|
|
10439
|
+
</p>
|
|
10440
|
+
<div slot="bottom">
|
|
10441
|
+
<${e}-button
|
|
10442
|
+
appearance="lightweight"
|
|
10443
|
+
@click=${()=>{window.location.reload()}}
|
|
10444
|
+
>
|
|
10445
|
+
Refresh
|
|
10446
|
+
</${e}-button>
|
|
10447
|
+
</div>
|
|
10448
|
+
</${e}-dialog>
|
|
10449
|
+
</slot>
|
|
10391
10450
|
</template>
|
|
10392
|
-
`;var bg=r(98316);class vg{getColumnState(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}getFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return{}}))}saveFilterModel(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,Pi.__decorate)([bg.N],vg.prototype,"session",void 0);const fg=v.DI.createInterface((e=>e.singleton(vg)));class wg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const yg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function xg(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mn.syG.registerModules([bl.n7,ml.Q]);class kg extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,wl.x)(Ui(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.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=lg,this.columnComponentName="grid-pro-column",this.theme=Ei.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[yg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Mn.kNx.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,vl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&Mn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(yg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Yi.action]:jn,[Yi.actionsMenu]:Hn,[Yi.boolean]:Qn,[Yi.editable]:Fn,[Yi.selectEditor]:cn,[Yi.numberEditor]:vn,[Yi.multiselectEditor]:on,[Yi.dateEditor]:Ki,[Yi.stringEditor]:zn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}))}cacheFilterConfig(){var e;this.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}))}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=kl()(this.saveColumnState.bind(this),400),r=kl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,Pi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mn.kNx.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return In.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=yl[this.headerCaseType];a?e.headerName=a(e.field):In.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Qi]===e.field)return{component:Yi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=wg,e.tooltipValueGetter=a=>{const r=a.data[Wi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Wi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return xg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return xg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Mn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mn.kNx.ALL_PROPERTIES.map((e=>yg(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mn.kNx.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=ng[e]||this.gridFontFace;this.destroyFontFace();const r=(0,fl.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Pi.__decorate)([b.observable],kg.prototype,"columnApi",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridApi",void 0),(0,Pi.__decorate)([fg],kg.prototype,"statePersistence",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],kg.prototype,"autoCellRendererByType",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],kg.prototype,"onlyTemplateColDefs",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],kg.prototype,"gridAutosizingEnabled",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"add-index"})],kg.prototype,"addIndex",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],kg.prototype,"asyncAdd",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],kg.prototype,"asyncRemove",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],kg.prototype,"asyncUpdate",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],kg.prototype,"enableCellFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],kg.prototype,"enabledRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],kg.prototype,"enableRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],kg.prototype,"persistColumnStateKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],kg.prototype,"persistFilterModelKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],kg.prototype,"headerCaseType",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridFontFace",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"columnComponentName",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"eventsAndCallbacks",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"headerHeight",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"rowHeight",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"theme",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"classNames",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"agGrid",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridSlot",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridComponents",void 0),(0,Pi.__decorate)([Ji],kg.prototype,"gridOptionsConfig",void 0);const zg=void 0,Sg={shadowOptions:void 0},Cg=kg.compose(Object.assign({baseName:"grid-pro",styles:hg,template:mg,shadowOptions:zg},Sg)),$g={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Ag={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Og}=v.DesignToken,Fg={backgroundColor:Og("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.backgroundSwatch:$g.backgroundSwatch)),borderColor:Og("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.borderSwatch:$g.borderSwatch)),foregroundColor:Og("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.foregroundSwatch:$g.foregroundSwatch)),headerForegroundColor:Og("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.headerForegroundSwatch:$g.headerForegroundSwatch)),rowHoverColor:Og("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.rowHoverSwatch:$g.rowHoverSwatch))},Tg=b.css`
|
|
10451
|
+
`,yg=wg();var xg=r(98316);class kg{getColumnState(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}getFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return{}}))}saveFilterModel(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,Pi.__decorate)([xg.N],kg.prototype,"session",void 0);const zg=v.DI.createInterface((e=>e.singleton(kg)));class Sg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const Cg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function $g(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mn.syG.registerModules([bl.n7,ml.Q]);class Ag extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,wl.x)(Ui(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.gridErrorItems=[],this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=cg,this.columnComponentName="grid-pro-column",this.theme=Ei.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Cg(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:eg,action:e},{key:Yl,action:e},{key:Xl,action:this.handleError.bind(this,Ql)})}addEventListener(e,a,r){super.addEventListener(e,a,r),Mn.kNx.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}handleError(e,a){this.gridErrorItems=[...this.gridErrorItems,{detail:a.detail,type:e}]}hideDatasourceError(){this.gridErrorItems=this.gridErrorItems.filter((e=>e.type!==Ql))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,vl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Mn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Cg(e),void 0,a)},enumerable:!0,configurable:!0})})),this.rootEventsListeners.forEach((({key:e,action:a})=>{this.addEventListener(e,a)})))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;this.rootEventsListeners.forEach((({key:e,action:a})=>{this.removeEventListener(e,a)})),b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Yi.action]:jn,[Yi.actionsMenu]:Hn,[Yi.boolean]:Qn,[Yi.editable]:Fn,[Yi.selectEditor]:cn,[Yi.numberEditor]:vn,[Yi.multiselectEditor]:on,[Yi.dateEditor]:Ki,[Yi.stringEditor]:zn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}))}cacheFilterConfig(){var e;this.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}))}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=kl()(this.saveColumnState.bind(this),400),r=kl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,Pi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mn.kNx.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return In.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=yl[this.headerCaseType];a?e.headerName=a(e.field):In.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Qi]===e.field)return{component:Yi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Sg,e.tooltipValueGetter=a=>{const r=a.data[Wi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Wi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return $g(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return $g(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Mn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mn.kNx.ALL_PROPERTIES.map((e=>Cg(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mn.kNx.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=dg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,fl.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Pi.__decorate)([b.observable],Ag.prototype,"columnApi",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"gridApi",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"gridErrorItems",void 0),(0,Pi.__decorate)([zg],Ag.prototype,"statePersistence",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Ag.prototype,"autoCellRendererByType",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Ag.prototype,"onlyTemplateColDefs",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Ag.prototype,"gridAutosizingEnabled",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"add-index"})],Ag.prototype,"addIndex",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Ag.prototype,"asyncAdd",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Ag.prototype,"asyncRemove",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Ag.prototype,"asyncUpdate",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Ag.prototype,"enableCellFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Ag.prototype,"enabledRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Ag.prototype,"enableRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Ag.prototype,"persistColumnStateKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Ag.prototype,"persistFilterModelKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Ag.prototype,"headerCaseType",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"gridFontFace",void 0),(0,Pi.__decorate)([b.attr],Ag.prototype,"columnComponentName",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"eventsAndCallbacks",void 0),(0,Pi.__decorate)([b.attr],Ag.prototype,"headerHeight",void 0),(0,Pi.__decorate)([b.attr],Ag.prototype,"rowHeight",void 0),(0,Pi.__decorate)([b.attr],Ag.prototype,"theme",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"classNames",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"agGrid",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"gridSlot",void 0),(0,Pi.__decorate)([b.observable],Ag.prototype,"gridComponents",void 0),(0,Pi.__decorate)([Ji],Ag.prototype,"gridOptionsConfig",void 0);const Og=void 0,Fg={shadowOptions:void 0},Tg=Ag.compose(Object.assign({baseName:"grid-pro",styles:fg,template:yg,shadowOptions:Og},Fg)),Dg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Rg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Ng}=v.DesignToken,Lg={backgroundColor:Ng("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Rg.backgroundSwatch:Dg.backgroundSwatch)),borderColor:Ng("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Rg.borderSwatch:Dg.borderSwatch)),foregroundColor:Ng("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Rg.foregroundSwatch:Dg.foregroundSwatch)),headerForegroundColor:Ng("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Rg.headerForegroundSwatch:Dg.headerForegroundSwatch)),rowHoverColor:Ng("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Rg.rowHoverSwatch:Dg.rowHoverSwatch))},Mg=b.css`
|
|
10393
10452
|
.ag-theme-genesis-rapid,
|
|
10394
10453
|
.ag-theme-genesis-rapid-dark {
|
|
10395
10454
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10849,56 +10908,56 @@
|
|
|
10849
10908
|
.ag-theme-genesis-rapid-dark {
|
|
10850
10909
|
color-scheme: dark;
|
|
10851
10910
|
}
|
|
10852
|
-
`,
|
|
10853
|
-
${
|
|
10854
|
-
${Vi(
|
|
10911
|
+
`,Ig={[ji.backgroundColor]:Lg.backgroundColor,[ji.foregroundColor]:Lg.foregroundColor,[ji.oddRowBackgroundColor]:Lg.backgroundColor,[ji.headerBackgroundColor]:Lg.backgroundColor,[ji.headerForegroundColor]:Lg.headerForegroundColor,[ji.selectedRowBackgroundColor]:Lg.rowHoverColor,[ji.rowHoverColor]:Lg.rowHoverColor,[ji.borderColor]:Lg.borderColor,[ji.rowBorderColor]:Lg.rowHoverColor,[ji.modalOverlayBackgroundColor]:Lg.backgroundColor,[ji.inputFocusBoxShadow]:Lg.headerForegroundColor,[ji.inputFocusBorderColor]:Lg.headerForegroundColor,[ji.headerColumnResizeHandleColor]:Lg.headerForegroundColor},jg="ag-theme-genesis-rapid",Eg=b.css`
|
|
10912
|
+
${Mg}
|
|
10913
|
+
${Vi(jg,Ig)}
|
|
10855
10914
|
|
|
10856
|
-
.${
|
|
10915
|
+
.${jg} {
|
|
10857
10916
|
${Qe()}
|
|
10858
10917
|
}
|
|
10859
10918
|
|
|
10860
|
-
.${
|
|
10919
|
+
.${jg} .ag-header {
|
|
10861
10920
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10862
10921
|
font-weight: bold;
|
|
10863
10922
|
}
|
|
10864
10923
|
|
|
10865
|
-
.${
|
|
10924
|
+
.${jg} .ag-root-wrapper {
|
|
10866
10925
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10867
10926
|
}
|
|
10868
|
-
`,
|
|
10869
|
-
${
|
|
10870
|
-
${Vi(
|
|
10927
|
+
`,Pg="ag-theme-genesis-rapid-dark",Bg=b.css`
|
|
10928
|
+
${Mg}
|
|
10929
|
+
${Vi(Pg,Ig)}
|
|
10871
10930
|
|
|
10872
|
-
.${
|
|
10931
|
+
.${Pg} {
|
|
10873
10932
|
${Qe()}
|
|
10874
10933
|
}
|
|
10875
10934
|
|
|
10876
|
-
.${
|
|
10935
|
+
.${Pg} .ag-header {
|
|
10877
10936
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10878
10937
|
font-weight: bold;
|
|
10879
10938
|
}
|
|
10880
10939
|
|
|
10881
|
-
.${
|
|
10940
|
+
.${Pg} .ag-cell {
|
|
10882
10941
|
line-height: var(--ag-line-height, 32px);
|
|
10883
10942
|
}
|
|
10884
10943
|
|
|
10885
|
-
.${
|
|
10944
|
+
.${Pg} .ag-root-wrapper {
|
|
10886
10945
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10887
10946
|
}
|
|
10888
|
-
`,
|
|
10947
|
+
`,Gg=b.css`
|
|
10889
10948
|
/* All the AG themes */
|
|
10890
|
-
${
|
|
10949
|
+
${fg}
|
|
10891
10950
|
|
|
10892
10951
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10893
|
-
${
|
|
10894
|
-
${
|
|
10952
|
+
${Eg}
|
|
10953
|
+
${Bg}
|
|
10895
10954
|
|
|
10896
10955
|
.error {
|
|
10897
10956
|
border-color: ${$e.shortPink} !important;
|
|
10898
10957
|
}
|
|
10899
|
-
`,
|
|
10958
|
+
`,_g=wg("zero"),Hg="ag-theme-genesis-rapid-dark";const Ug=Og,Vg=Fg,Yg={zeroAgEditableRenderer:Ln,zeroAgActionRenderer:_n,zeroAgActionsMenuRenderer:Yn,zeroAgBooleanRenderer:Kn,zeroAgTextRenderer:sl,zeroAgSelectRenderer:hl,zeroAgDateEditor:tn,zeroAgMultiselectEditor:dn,zeroAgSelectEditor:bn,zeroAgNumberEditor:kn,zeroAgStringEditor:On,zeroGridPro:class extends Ag{constructor(){super(...arguments),this.theme=Hg}themeChanged(e,a){(e||a===Hg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Yi.action]:Gn,[Yi.actionsMenu]:Vn,[Yi.boolean]:Zn,[Yi.editable]:Nn,[Yi.selectEditor]:mn,[Yi.numberEditor]:xn,[Yi.multiselectEditor]:sn,[Yi.dateEditor]:rn,[Yi.stringEditor]:An};(this.theme===jg||this.theme===Pg)&&(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:_g,styles:Gg,shadowOptions:Ug},Vg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Qg={foundationGridProActionRenderer:Bn,foundationGridProActionsMenuRenderer:Un,foundationAgBooleanRenderer:Jn,foundationAgTextRenderer:gl,foundationAgTextFieldRenderer:ol,foundationAgEditableRenderer:Rn,foundationAgSelectRenderer:ul,foundationGridPro:Tg,foundationSelectEditor:hn,foundationNumberEditor:yn,foundationDateEditor:an,foundationMultiselectEditor:gn,foundationStringEditor:$n,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Wg;!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"}(Wg||(Wg={}));const{create:qg}=v.DesignToken,Jg=(0,Ae.parseColorHexRGB)(Wg.error),Zg=f.SwatchRGB.create(Jg.r,Jg.g,Jg.b),Kg=qg("error-color").withDefault(Zg),Xg=(0,Ae.parseColorHexRGB)(Wg.success),es=f.SwatchRGB.create(Xg.r,Xg.g,Xg.b),as=qg("success-color").withDefault(es),rs=(0,Ae.parseColorHexRGB)(Wg.warning),ts=f.SwatchRGB.create(rs.r,rs.g,rs.b),os=qg("warning-color").withDefault(ts),is=(0,Ae.parseColorHexRGB)(Wg.buy),ns=f.SwatchRGB.create(is.r,is.g,is.b),ls=qg("buy-color").withDefault(ns),gs=(0,Ae.parseColorHexRGB)(Wg.sell),ss=f.SwatchRGB.create(gs.r,gs.g,gs.b),ds=qg("sell-color").withDefault(ss),cs=(0,U.paletteFromHex)(Wg.primary),ps=(0,U.paletteFromHex)(Wg.neutral),us=f.StandardLuminance.DarkMode,hs=0,ms=4,bs=-5,vs=0,fs=0,ws=6,ys=-4,xs=0,ks=7,zs=10,Ss=5,Cs=0,$s=0,As=0,Os=0,Fs=0,Ts=0,Ds=5,Rs=3,Ns=0,Ls=0,Ms=8,Is=-5,js=0,Es=3,Ps=25,Bs=40,Gs=16,_s=25,Hs=8,Us="rapid",Vs=Ee.O.ltr,Ys=.3,Qs=1,Ws=2,qs=10,Js=4,Zs=0,Ks=4,Xs='"Segoe UI", Arial, Helvetica, sans-serif',ed="14px",ad="20px",rd="13px",td="19px",od="12px",id="18px",nd="15px",ld="21px",gd="16px",sd="22px",dd="17px",cd="23px",pd="18x",ud="24px",hd="19px",md="25px",bd="20px",vd="26px",fd={design_tokens:{color:{accent:{$value:cs.source.toColorString(),$type:"color"},neutral:{$value:ps.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Xs,$type:"fontFamily"}},typography:{baseFontSize:{$value:ed,$type:"dimension"},baseLineHeight:{$value:ad,$type:"dimension"}},mode:{luminance:{$value:us,$type:"number"}},style:{density:{$value:Zs,$type:"number"},borderRadius:{$value:Js,$type:"number"},strokeWidth:{$value:Qs,$type:"number"}},space:{designUnit:{$value:Ks,$type:"number"}}}};class wd extends f.DesignSystemProvider{constructor(){super(),(0,U.provideTokens)(i,n,this)}}const yd=wd.compose({baseName:"design-system-provider",template:b.html`
|
|
10900
10959
|
<slot></slot>
|
|
10901
|
-
`});class
|
|
10960
|
+
`});class xd extends U.Accordion{}const kd=xd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,U.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10902
10961
|
${(0,U.foundationAccordionStyles)(e,a)}
|
|
10903
10962
|
|
|
10904
10963
|
:host {
|
|
@@ -10909,7 +10968,7 @@
|
|
|
10909
10968
|
.heading {
|
|
10910
10969
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10911
10970
|
}
|
|
10912
|
-
`,shadowOptions:U.foundationAccordionShadowOptions},U.defaultAccordionConfig));class
|
|
10971
|
+
`,shadowOptions:U.foundationAccordionShadowOptions},U.defaultAccordionConfig));class zd extends U.AccordionItem{}const Sd=zd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,U.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10913
10972
|
${(0,U.foundationAccordionItemStyles)(e,a)}
|
|
10914
10973
|
|
|
10915
10974
|
:host {
|
|
@@ -10972,7 +11031,7 @@
|
|
|
10972
11031
|
grid-template-columns: auto 1fr auto;
|
|
10973
11032
|
align-items: center;
|
|
10974
11033
|
}
|
|
10975
|
-
`,shadowOptions:U.foundationAccordionItemShadowOptions},U.defaultAccordionItemConfig));class
|
|
11034
|
+
`,shadowOptions:U.foundationAccordionItemShadowOptions},U.defaultAccordionItemConfig));class Cd extends U.ActionsMenu{}const $d=Cd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
|
|
10976
11035
|
:host {
|
|
10977
11036
|
--actions-opener-height-multiplier: 0.6px;
|
|
10978
11037
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -11010,7 +11069,7 @@
|
|
|
11010
11069
|
.actions-vertical .menu-item:focus {
|
|
11011
11070
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
11012
11071
|
}
|
|
11013
|
-
`,template:U.foundationActionsMenuTemplate});function
|
|
11072
|
+
`,template:U.foundationActionsMenuTemplate});function Ad(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Od=b.css`
|
|
11014
11073
|
:host([appearance='primary']) {
|
|
11015
11074
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
11016
11075
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11033,7 +11092,7 @@
|
|
|
11033
11092
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
11034
11093
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
11035
11094
|
}
|
|
11036
|
-
`,
|
|
11095
|
+
`,Fd=b.css`
|
|
11037
11096
|
:host([appearance='primary-outline']) {
|
|
11038
11097
|
background: none;
|
|
11039
11098
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11051,7 +11110,7 @@
|
|
|
11051
11110
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11052
11111
|
opacity: 100%;
|
|
11053
11112
|
}
|
|
11054
|
-
`,
|
|
11113
|
+
`,Td=b.css`
|
|
11055
11114
|
:host([appearance='neutral-outline']) {
|
|
11056
11115
|
background: none;
|
|
11057
11116
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
|
|
@@ -11069,7 +11128,7 @@
|
|
|
11069
11128
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11070
11129
|
opacity: 100%;
|
|
11071
11130
|
}
|
|
11072
|
-
|
|
11131
|
+
`,Dd=b.css`
|
|
11073
11132
|
:host([appearance='link']) {
|
|
11074
11133
|
background: none;
|
|
11075
11134
|
border: none;
|
|
@@ -11092,7 +11151,7 @@
|
|
|
11092
11151
|
color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
|
|
11093
11152
|
opacity: 100%;
|
|
11094
11153
|
}
|
|
11095
|
-
`,
|
|
11154
|
+
`,Rd=(e,a)=>b.css`
|
|
11096
11155
|
${(0,U.foundationButtonStyles)(e,a)}
|
|
11097
11156
|
${b.css`
|
|
11098
11157
|
:host {
|
|
@@ -11146,14 +11205,14 @@
|
|
|
11146
11205
|
opacity: 100%;
|
|
11147
11206
|
}
|
|
11148
11207
|
`}
|
|
11149
|
-
`.withBehaviors(
|
|
11208
|
+
`.withBehaviors(Ad("primary",Od),Ad("primary-outline",Fd),Ad("neutral-outline",Td),Ad("link",Dd));class Nd extends U.Anchor{}const Ld=Nd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,U.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11150
11209
|
${(0,U.foundationAnchorStyles)(e,a)}
|
|
11151
|
-
${
|
|
11152
|
-
`.withBehaviors(...
|
|
11210
|
+
${Rd(e,a)}
|
|
11211
|
+
`.withBehaviors(...Rd(e,a).behaviors),shadowOptions:U.foundationAnchorShadowOptions},U.defaultAnchorConfig));class Md extends U.AnchoredRegion{}const Id=Md.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,U.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11153
11212
|
${(0,U.foundationAnchoredRegionStyles)(e,a)}
|
|
11154
|
-
`,shadowOptions:U.foundationAnchoredRegionShadowOptions},U.defaultAnchoredRegionConfig));class
|
|
11213
|
+
`,shadowOptions:U.foundationAnchoredRegionShadowOptions},U.defaultAnchoredRegionConfig));class jd extends U.Avatar{}const Ed=jd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,U.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11155
11214
|
${(0,U.foundationAvatarStyles)(e,a)}
|
|
11156
|
-
`,shadowOptions:U.foundationAvatarShadowOptions},U.defaultAvatarConfig));class
|
|
11215
|
+
`,shadowOptions:U.foundationAvatarShadowOptions},U.defaultAvatarConfig));class Pd extends U.Badge{}const Bd=Pd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,U.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11157
11216
|
${(0,U.foundationBadgeStyles)(e,a)}
|
|
11158
11217
|
:host {
|
|
11159
11218
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
@@ -11172,7 +11231,7 @@
|
|
|
11172
11231
|
padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
|
|
11173
11232
|
border: none;
|
|
11174
11233
|
}
|
|
11175
|
-
`,shadowOptions:U.foundationBadgeShadowOptions},U.defaultBadgeConfig)),
|
|
11234
|
+
`,shadowOptions:U.foundationBadgeShadowOptions},U.defaultBadgeConfig)),Gd=b.css`
|
|
11176
11235
|
${U.foundationBannerStyles}
|
|
11177
11236
|
:host {
|
|
11178
11237
|
--banner-height: calc(
|
|
@@ -11192,9 +11251,9 @@
|
|
|
11192
11251
|
font-family: var(--body-font);
|
|
11193
11252
|
line-height: var(--type-ramp-base-line-height);
|
|
11194
11253
|
}
|
|
11195
|
-
`,
|
|
11254
|
+
`,_d=U.foundationBannerShadowOptions;class Hd extends U.Banner{}const Ud=Hd.compose({baseName:"banner",shadowOptions:_d,styles:Gd,template:U.foundationBannerTemplate});class Vd extends U.Breadcrumb{}const Yd=Vd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,U.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11196
11255
|
${(0,U.foundationBreadcrumbStyles)(e,a)}
|
|
11197
|
-
`,shadowOptions:undefined},{}));class
|
|
11256
|
+
`,shadowOptions:undefined},{}));class Qd extends U.BreadcrumbItem{}const Wd=Qd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,U.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11198
11257
|
${(0,U.foundationBreadcrumbItemStyles)(e,a)}
|
|
11199
11258
|
.listitem {
|
|
11200
11259
|
color: var(--accent-foreground-rest);
|
|
@@ -11230,9 +11289,9 @@
|
|
|
11230
11289
|
.control:hover .start {
|
|
11231
11290
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11232
11291
|
}
|
|
11233
|
-
`,shadowOptions:U.foundationBreadcrumbItemShadowOptions},U.defaultBreadcrumbItemConfig));class
|
|
11292
|
+
`,shadowOptions:U.foundationBreadcrumbItemShadowOptions},U.defaultBreadcrumbItemConfig));class qd extends U.Button{}const Jd=qd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,U.foundationButtonTemplate)(e,a),styles:Rd,shadowOptions:U.foundationButtonShadowOptions},U.defaultButtonConfig));class Zd extends U.Calendar{}const Kd=Zd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,U.foundationCalendarTemplate)(e,a),styles:()=>b.css`
|
|
11234
11293
|
${(0,U.foundationCalendarStyles)()}
|
|
11235
|
-
`,shadowOptions:U.foundationCalendarShadowOptions},U.defaultCalendarConfig));class
|
|
11294
|
+
`,shadowOptions:U.foundationCalendarShadowOptions},U.defaultCalendarConfig));class Xd extends U.Card{}const ec=Xd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,U.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11236
11295
|
${(0,U.foundationCardStyles)(e,a)}
|
|
11237
11296
|
:host {
|
|
11238
11297
|
background: var(--neutral-layer-card-container);
|
|
@@ -11246,7 +11305,7 @@
|
|
|
11246
11305
|
::slotted(rapid-card) {
|
|
11247
11306
|
background: var(--neutral-layer-3);
|
|
11248
11307
|
}
|
|
11249
|
-
`,shadowOptions:U.foundationCardShadowOptions},U.defaultCardConfig)),
|
|
11308
|
+
`,shadowOptions:U.foundationCardShadowOptions},U.defaultCardConfig)),ac=b.css`
|
|
11250
11309
|
${U.categorizedMultiselectStyles}
|
|
11251
11310
|
|
|
11252
11311
|
.label {
|
|
@@ -11260,9 +11319,9 @@
|
|
|
11260
11319
|
rapid-checkbox:hover:not([disabled]) {
|
|
11261
11320
|
background: var(--neutral-layer-4);
|
|
11262
11321
|
}
|
|
11263
|
-
`,
|
|
11322
|
+
`,rc=b.html`
|
|
11264
11323
|
${(0,U.getPrefixedCategorizedMultiselect)("rapid")}
|
|
11265
|
-
`;class
|
|
11324
|
+
`;class tc extends U.CategorizedMultiselect{}const oc=U.defaultCategorizedMultiselectConfig,ic=U.foundationCategorizedMultiselectShadowOptions,nc=tc.compose(Object.assign({baseName:"categorized-multiselect",template:rc,styles:ac,shadowOptions:ic},oc));class lc extends U.Checkbox{}const gc=lc.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,U.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11266
11325
|
${(0,U.foundationCheckboxStyles)(e,a)}
|
|
11267
11326
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11268
11327
|
fill: var(--neutral-foreground-rest);
|
|
@@ -11277,7 +11336,7 @@
|
|
|
11277
11336
|
.label {
|
|
11278
11337
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11279
11338
|
}
|
|
11280
|
-
`,shadowOptions:U.foundationCheckboxShadowOptions},U.defaultCheckboxConfig));class
|
|
11339
|
+
`,shadowOptions:U.foundationCheckboxShadowOptions},U.defaultCheckboxConfig));class sc extends U.Combobox{}const dc=sc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,U.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11281
11340
|
${(0,U.foundationComboboxStyles)(e,a)}
|
|
11282
11341
|
:host {
|
|
11283
11342
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11350,7 +11409,7 @@
|
|
|
11350
11409
|
::slotted([role='option']) {
|
|
11351
11410
|
margin: 0;
|
|
11352
11411
|
}
|
|
11353
|
-
`,shadowOptions:U.foundationComboboxShadowOptions},U.defaultComboboxConfig));class
|
|
11412
|
+
`,shadowOptions:U.foundationComboboxShadowOptions},U.defaultComboboxConfig));class cc extends U.ConnectionIndicator{}const pc=cc.compose({baseName:"connection-indicator",template:U.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
|
|
11354
11413
|
${(0,U.foundationConnectionIndicatorStyles)(e,a)}
|
|
11355
11414
|
:host {
|
|
11356
11415
|
--light-size: calc(var(--design-unit) * 3px);
|
|
@@ -11373,9 +11432,9 @@
|
|
|
11373
11432
|
font-size: var(--type-ramp-base-font-size);
|
|
11374
11433
|
color: var(--neutral-stroke-rest);
|
|
11375
11434
|
}
|
|
11376
|
-
`}),
|
|
11435
|
+
`}),uc=["baseClass","baseName","shadowOptions","styles","template"],hc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=uc)=>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:mc,shadowOptions:bc,styles:vc,template:fc}=hc(U.foundationDataGrid),{defaultConfig:wc,shadowOptions:yc,styles:xc,template:kc}=hc(U.foundationDataGridCell),{defaultConfig:zc,shadowOptions:Sc,styles:Cc,template:$c}=hc(U.foundationDataGridRow),Ac=b.html`
|
|
11377
11436
|
${(0,U.getPrefixedDatePicker)("rapid")}
|
|
11378
|
-
`;class
|
|
11437
|
+
`;class Oc extends U.DatePicker{}const Fc=Oc.compose(Object.assign({baseName:"date-picker",template:Ac,styles:()=>b.css`
|
|
11379
11438
|
${U.foundationDatePickerStyles}
|
|
11380
11439
|
|
|
11381
11440
|
:host {
|
|
@@ -11458,9 +11517,11 @@
|
|
|
11458
11517
|
.week-days span {
|
|
11459
11518
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11460
11519
|
}
|
|
11461
|
-
`,shadowOptions:undefined},{})),
|
|
11520
|
+
`,shadowOptions:undefined},{})),Tc=b.css`
|
|
11462
11521
|
${U.foundationDialogStyles}
|
|
11463
11522
|
:host {
|
|
11523
|
+
--color-error: ${Wg.error};
|
|
11524
|
+
--color-success: ${Wg.success};
|
|
11464
11525
|
--dialog-background: ${f.neutralLayer2};
|
|
11465
11526
|
|
|
11466
11527
|
font-family: var(--body-font);
|
|
@@ -11535,7 +11596,7 @@
|
|
|
11535
11596
|
.close-icon:active svg g path {
|
|
11536
11597
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11537
11598
|
}
|
|
11538
|
-
|
|
11599
|
+
`,Dc=U.defaultDialogConfig,Rc=U.foundationDialogTemplate,Nc=U.foundationDialogShadowOptions;class Lc extends U.Dialog{}const Mc=Lc.compose(Object.assign({baseName:"dialog",shadowOptions:Nc,styles:Tc,template:Rc},Dc));class Ic extends U.Disclosure{}const jc=Ic.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,U.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11539
11600
|
${(0,U.foundationDisclosureStyles)(e,a)}
|
|
11540
11601
|
:host {
|
|
11541
11602
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -11552,9 +11613,9 @@
|
|
|
11552
11613
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11553
11614
|
text-align: center;
|
|
11554
11615
|
}
|
|
11555
|
-
`,shadowOptions:U.foundationDialogShadowOptions},U.defaultDisclosureConfig));class
|
|
11616
|
+
`,shadowOptions:U.foundationDialogShadowOptions},U.defaultDisclosureConfig));class Ec extends U.Divider{}const Pc=Ec.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,U.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11556
11617
|
${(0,U.foundationDividerStyles)(e,a)}
|
|
11557
|
-
`,shadowOptions:U.foundationDividerShadowOptions},U.defaultDividerConfig));class
|
|
11618
|
+
`,shadowOptions:U.foundationDividerShadowOptions},U.defaultDividerConfig));class Bc extends U.DropdownMenu{}const Gc=Bc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
|
|
11558
11619
|
${(0,U.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11559
11620
|
|
|
11560
11621
|
.actions-menu {
|
|
@@ -11569,7 +11630,7 @@
|
|
|
11569
11630
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11570
11631
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11571
11632
|
}
|
|
11572
|
-
`,template:U.foundationDropdownMenuTemplate}),{defaultConfig:
|
|
11633
|
+
`,template:U.foundationDropdownMenuTemplate}),{defaultConfig:_c,shadowOptions:Hc,styles:Uc,template:Vc}=hc(U.foundationErrorBoundary),Yc=b.css`
|
|
11573
11634
|
${U.foundationFileUploadStyles}
|
|
11574
11635
|
::-webkit-scrollbar {
|
|
11575
11636
|
width: calc(var(--design-unit) * 3px);
|
|
@@ -11591,11 +11652,11 @@
|
|
|
11591
11652
|
:host::part(upload-file-button) {
|
|
11592
11653
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11593
11654
|
}
|
|
11594
|
-
`,
|
|
11655
|
+
`,Qc=b.html`
|
|
11595
11656
|
${(0,U.getPrefixedFileUpload)("rapid")}
|
|
11596
|
-
`,
|
|
11657
|
+
`,Wc=U.defaultFileUploadConfig,qc=U.foundationFileUploadShadowOptions;class Jc extends U.FileUpload{}const Zc=Jc.compose(Object.assign({baseName:"file-upload",shadowOptions:qc,styles:Yc,template:Qc},Wc)),Kc=b.html`
|
|
11597
11658
|
${(0,U.getPrefixedFilterTemplate)("rapid")}
|
|
11598
|
-
`;class
|
|
11659
|
+
`;class Xc extends U.Filter{}const ep=Xc.compose({baseName:"filter",template:Kc,styles:(e,a)=>b.css`
|
|
11599
11660
|
${U.foundationFilterStyles}
|
|
11600
11661
|
.filter-wrapper {
|
|
11601
11662
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11622,9 +11683,9 @@
|
|
|
11622
11683
|
.flex-row rapid-select {
|
|
11623
11684
|
flex: 1;
|
|
11624
11685
|
}
|
|
11625
|
-
`}),
|
|
11686
|
+
`}),ap=b.html`
|
|
11626
11687
|
${(0,U.filterBarTemplate)("rapid")}
|
|
11627
|
-
`;class
|
|
11688
|
+
`;class rp extends U.FilterBar{}const tp=rp.compose({baseName:"filter-bar",template:ap,styles:(e,a)=>b.css`
|
|
11628
11689
|
${(0,U.foundationFilterBarStyles)(e,a)}
|
|
11629
11690
|
.toggle,
|
|
11630
11691
|
.toggle-collapsed {
|
|
@@ -11644,7 +11705,7 @@
|
|
|
11644
11705
|
.filter-bar {
|
|
11645
11706
|
background: var(--neutral-layer-3);
|
|
11646
11707
|
}
|
|
11647
|
-
`}),{defaultConfig:
|
|
11708
|
+
`}),{defaultConfig:op,shadowOptions:ip,styles:np,template:lp}=hc(U.foundationFlexLayout);class gp extends U.Flipper{}const sp=gp.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,U.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11648
11709
|
${(0,U.foundationFlipperStyles)(e,a)}
|
|
11649
11710
|
:host {
|
|
11650
11711
|
color: var(--neutral-foreground-rest);
|
|
@@ -11664,7 +11725,7 @@
|
|
|
11664
11725
|
background: var(--accent-fill-rest);
|
|
11665
11726
|
color: var(--neutral-foreground-rest);
|
|
11666
11727
|
}
|
|
11667
|
-
`,shadowOptions:U.foundationFlipperShadowOptions},U.defaultFlipperConfig)),
|
|
11728
|
+
`,shadowOptions:U.foundationFlipperShadowOptions},U.defaultFlipperConfig)),dp=b.css`
|
|
11668
11729
|
${U.foundationFlyoutStyles}
|
|
11669
11730
|
div.flyout {
|
|
11670
11731
|
background-color: var(--neutral-layer-2);
|
|
@@ -11712,9 +11773,9 @@
|
|
|
11712
11773
|
background-color: var(--neutral-fill-hover);
|
|
11713
11774
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11714
11775
|
}
|
|
11715
|
-
`,
|
|
11776
|
+
`,cp=b.html`
|
|
11716
11777
|
${(0,U.getPrefixedFlyout)("rapid")}
|
|
11717
|
-
`,
|
|
11778
|
+
`,pp=U.defaultFlyoutConfig,up=U.foundationFlyoutShadowOptions;class hp extends U.Flyout{}const mp=hp.compose(Object.assign({baseName:"flyout",shadowOptions:up,styles:dp,template:cp},pp)),{defaultConfig:bp,shadowOptions:vp,styles:fp,template:wp}=hc(U.foundationGridLayout),{defaultConfig:yp,shadowOptions:xp,styles:kp,template:zp}=hc(U.foundationGridLayoutItem);class Sp extends U.HorizontalScroll{}const Cp={nextFlipper:b.html`
|
|
11718
11779
|
<rapid-flipper
|
|
11719
11780
|
@click="${e=>e.scrollToNext()}"
|
|
11720
11781
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -11725,11 +11786,11 @@
|
|
|
11725
11786
|
direction="previous"
|
|
11726
11787
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11727
11788
|
></rapid-flipper>
|
|
11728
|
-
`}
|
|
11789
|
+
`},$p=Sp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,U.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11729
11790
|
${(0,U.foundationHorizontalScrollStyles)(e,a)}
|
|
11730
|
-
`,shadowOptions:U.foundationHorizontalScrollShadowOptions},
|
|
11791
|
+
`,shadowOptions:U.foundationHorizontalScrollShadowOptions},Cp));class Ap extends U.Icon{}const Op=U.defaultIconConfig,Fp=U.foundationIconShadowOptions,Tp=Ap.compose(Object.assign({baseName:"icon",template:U.foundationIconTemplate,styles:(e,a)=>b.css`
|
|
11731
11792
|
${(0,U.foundationIconStyles)(e,a)}
|
|
11732
|
-
`,shadowOptions:
|
|
11793
|
+
`,shadowOptions:Fp},Op));class Dp extends U.Listbox{}const Rp=Dp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,U.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11733
11794
|
${(0,U.foundationListboxStyles)(e,a)}
|
|
11734
11795
|
|
|
11735
11796
|
:host {
|
|
@@ -11740,7 +11801,7 @@
|
|
|
11740
11801
|
::slotted(*:last-child) {
|
|
11741
11802
|
border-bottom: none;
|
|
11742
11803
|
}
|
|
11743
|
-
`,shadowOptions:U.foundationListboxShadowOptions},U.defaultListboxConfig));class
|
|
11804
|
+
`,shadowOptions:U.foundationListboxShadowOptions},U.defaultListboxConfig));class Np extends U.ListboxOption{}const Lp=Np.compose(Object.assign({baseName:"option",template:(e,a)=>(0,U.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11744
11805
|
${(0,U.foundationListboxOptionStyles)(e,a)}
|
|
11745
11806
|
:host {
|
|
11746
11807
|
border-radius: 0;
|
|
@@ -11757,14 +11818,14 @@
|
|
|
11757
11818
|
background: var(--neutral-layer-4);
|
|
11758
11819
|
color: var(--accent-fill-rest);
|
|
11759
11820
|
}
|
|
11760
|
-
`,shadowOptions:U.foundationListboxOptionShadowOptions},U.defaultListboxOptionConfig));class
|
|
11821
|
+
`,shadowOptions:U.foundationListboxOptionShadowOptions},U.defaultListboxOptionConfig));class Mp extends U.Menu{}const Ip=Mp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,U.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11761
11822
|
${(0,U.foundationMenuStyles)(e,a)}
|
|
11762
11823
|
:host {
|
|
11763
11824
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11764
11825
|
color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
|
|
11765
11826
|
padding: 0;
|
|
11766
11827
|
}
|
|
11767
|
-
`,shadowOptions:U.foundationMenuShadowOptions},U.defaultMenuConfig)),
|
|
11828
|
+
`,shadowOptions:U.foundationMenuShadowOptions},U.defaultMenuConfig)),jp=U.foundationMenuItemShadowOptions;class Ep extends U.MenuItem{}const Pp=Ep.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,U.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11768
11829
|
${(0,U.foundationMenuItemStyles)(e,a)}
|
|
11769
11830
|
:host {
|
|
11770
11831
|
margin: 0;
|
|
@@ -11800,9 +11861,9 @@
|
|
|
11800
11861
|
background: ${f.neutralFillStealthHover}
|
|
11801
11862
|
color: ${f.neutralForegroundRest}
|
|
11802
11863
|
*/
|
|
11803
|
-
`,shadowOptions:
|
|
11804
|
-
${
|
|
11805
|
-
`,
|
|
11864
|
+
`,shadowOptions:jp},U.defaultMenuItemConfig)),Bp=b.css`
|
|
11865
|
+
${Tc}
|
|
11866
|
+
`,Gp=U.defaultModalConfig,_p=U.foundationModalTemplate,Hp=U.foundationModalShadowOptions;class Up extends U.Modal{}const Vp=Up.compose(Object.assign({baseName:"modal",shadowOptions:Hp,styles:Bp,template:_p},Gp)),Yp=b.css`
|
|
11806
11867
|
${U.multiselectStyles}
|
|
11807
11868
|
|
|
11808
11869
|
#display-field {
|
|
@@ -11878,9 +11939,9 @@
|
|
|
11878
11939
|
rapid-checkbox[disabled] {
|
|
11879
11940
|
cursor: not-allowed;
|
|
11880
11941
|
}
|
|
11881
|
-
`,
|
|
11942
|
+
`,Qp=b.html`
|
|
11882
11943
|
${(0,U.getPrefixedMultiselect)("rapid")}
|
|
11883
|
-
`;class
|
|
11944
|
+
`;class Wp extends U.Multiselect{}const qp=U.defaultMultiselectConfig,Jp=U.foundationMultiselectShadowOptions,Zp=Wp.compose(Object.assign({baseName:"multiselect",template:Qp,styles:Yp,shadowOptions:Jp},qp));class Kp extends U.NumberField{}const Xp=U.defaultNumberFieldConfig,eu=U.foundationNumberFieldTemplate,au=U.foundationNumberFieldShadowOptions,ru=Kp.compose(Object.assign({baseName:"number-field",template:eu,styles:(e,a)=>b.css`
|
|
11884
11945
|
:host {
|
|
11885
11946
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11886
11947
|
}
|
|
@@ -11965,11 +12026,11 @@
|
|
|
11965
12026
|
.control:focus-visible {
|
|
11966
12027
|
outline: none;
|
|
11967
12028
|
}
|
|
11968
|
-
`,shadowOptions:
|
|
12029
|
+
`,shadowOptions:au},Xp));class tu extends U.Progress{}const ou=tu.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,U.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11969
12030
|
${(0,U.foundationProgressStyles)(e,a)}
|
|
11970
|
-
`,shadowOptions:U.foundationProgressShadowOptions},U.defaultProgressConfig));class
|
|
12031
|
+
`,shadowOptions:U.foundationProgressShadowOptions},U.defaultProgressConfig));class iu extends U.ProgressRing{}const nu=iu.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,U.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11971
12032
|
${(0,U.foundationProgressRingStyles)(e,a)}
|
|
11972
|
-
`,shadowOptions:U.foundationProgressRingShadowOptions},U.defaultProgressRingConfig));class
|
|
12033
|
+
`,shadowOptions:U.foundationProgressRingShadowOptions},U.defaultProgressRingConfig));class lu extends U.Radio{}const gu=lu.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,U.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11973
12034
|
${(0,U.foundationRadioStyles)(e,a)}
|
|
11974
12035
|
:host {
|
|
11975
12036
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
@@ -12001,13 +12062,13 @@
|
|
|
12001
12062
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
12002
12063
|
background: var(--accent-fill-rest);
|
|
12003
12064
|
}
|
|
12004
|
-
`,shadowOptions:U.foundationRadioShadowOptions},U.defaultRadioConfig));class
|
|
12065
|
+
`,shadowOptions:U.foundationRadioShadowOptions},U.defaultRadioConfig));class su extends U.RadioGroup{}const du=su.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,U.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12005
12066
|
${(0,U.foundationRadioGroupStyles)(e,a)}
|
|
12006
|
-
`,shadowOptions:U.foundationRadioGroupShadowOptions},U.defaultRadioGroupConfig)),
|
|
12067
|
+
`,shadowOptions:U.foundationRadioGroupShadowOptions},U.defaultRadioGroupConfig)),cu=b.css`
|
|
12007
12068
|
${U.foundationSearchBarStyles}
|
|
12008
|
-
`,
|
|
12069
|
+
`,pu=b.html`
|
|
12009
12070
|
${(0,U.getPrefixedSearchBar)("rapid")}
|
|
12010
|
-
`;class
|
|
12071
|
+
`;class uu extends U.SearchBar{}const hu=uu.compose(Object.assign({baseName:"search-bar",template:pu,styles:cu,shadowOptions:U.foundationSearchBarShadowOptions},U.defaultSearchBarConfig));class mu extends U.SearchBarCombobox{}const bu=mu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,U.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12011
12072
|
${(0,U.foundationSearchBarComboboxStyles)(e,a)}
|
|
12012
12073
|
|
|
12013
12074
|
:host {
|
|
@@ -12038,7 +12099,7 @@
|
|
|
12038
12099
|
:host .listbox ::slotted(*:last-child) {
|
|
12039
12100
|
border-bottom: none;
|
|
12040
12101
|
}
|
|
12041
|
-
`,shadowOptions:U.foundationSearchBarComboboxShadowOptions},U.defaultSearchBarComboboxConfig));class
|
|
12102
|
+
`,shadowOptions:U.foundationSearchBarComboboxShadowOptions},U.defaultSearchBarComboboxConfig));class vu extends U.SegmentedControl{}const fu=vu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,U.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12042
12103
|
${(0,U.foundationSegmentedControlStyles)(e,a)}
|
|
12043
12104
|
:host {
|
|
12044
12105
|
font-family: var(--body-font);
|
|
@@ -12074,7 +12135,7 @@
|
|
|
12074
12135
|
border-color: transparent;
|
|
12075
12136
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
12076
12137
|
}
|
|
12077
|
-
`,shadowOptions:undefined},{}));class
|
|
12138
|
+
`,shadowOptions:undefined},{}));class wu extends U.Radio{}const yu=wu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,U.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12078
12139
|
${(0,U.foundationSegmentedItemStyles)(e,a)}
|
|
12079
12140
|
:host {
|
|
12080
12141
|
color: var(--neutral-fill-strong-rest);
|
|
@@ -12086,7 +12147,7 @@
|
|
|
12086
12147
|
:host([aria-checked='true']) {
|
|
12087
12148
|
color: color-mix(in srgb, white, transparent 10%);
|
|
12088
12149
|
}
|
|
12089
|
-
`,shadowOptions:undefined},{}));class
|
|
12150
|
+
`,shadowOptions:undefined},{}));class xu extends U.Select{}const ku=xu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,U.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12090
12151
|
${(0,U.foundationSelectStyles)(e,a)}
|
|
12091
12152
|
:host {
|
|
12092
12153
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -12158,14 +12219,14 @@
|
|
|
12158
12219
|
::slotted([role='option']) {
|
|
12159
12220
|
margin: 0;
|
|
12160
12221
|
}
|
|
12161
|
-
`,shadowOptions:U.foundationSelectShadowOptions},U.defaultSelectConfig));class
|
|
12222
|
+
`,shadowOptions:U.foundationSelectShadowOptions},U.defaultSelectConfig));class zu extends U.Skeleton{}const Su=zu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,U.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12162
12223
|
${(0,U.foundationSkeletonStyles)(e,a)}
|
|
12163
12224
|
:host {
|
|
12164
12225
|
--skeleton-fill: var(
|
|
12165
12226
|
--neutral-fill-stealth-rest
|
|
12166
12227
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
12167
12228
|
}
|
|
12168
|
-
`,shadowOptions:U.foundationSkeletonShadowOptions},U.defaultSkeletonConfig));class
|
|
12229
|
+
`,shadowOptions:U.foundationSkeletonShadowOptions},U.defaultSkeletonConfig));class Cu extends U.Slider{}const $u=Cu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,U.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12169
12230
|
${(0,U.foundationSliderStyles)(e,a)}
|
|
12170
12231
|
|
|
12171
12232
|
.thumb-cursor {
|
|
@@ -12223,7 +12284,7 @@
|
|
|
12223
12284
|
background-color: var(--neutral-stroke-rest);
|
|
12224
12285
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12225
12286
|
}
|
|
12226
|
-
`,shadowOptions:U.foundationSliderShadowOptions},U.defaultSliderConfig));class
|
|
12287
|
+
`,shadowOptions:U.foundationSliderShadowOptions},U.defaultSliderConfig));class Au extends U.SliderLabel{}const Ou=Au.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,U.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12227
12288
|
${(0,U.foundationSliderLabelStyles)(e,a)}
|
|
12228
12289
|
.label {
|
|
12229
12290
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
@@ -12234,7 +12295,7 @@
|
|
|
12234
12295
|
text-align: center;
|
|
12235
12296
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12236
12297
|
}
|
|
12237
|
-
`,shadowOptions:U.foundationSliderLabelShadowOptions},U.defaultSliderLabelConfig)),
|
|
12298
|
+
`,shadowOptions:U.foundationSliderLabelShadowOptions},U.defaultSliderLabelConfig)),Fu=b.css`
|
|
12238
12299
|
${U.foundationSnackbarStyles}
|
|
12239
12300
|
.snackbar {
|
|
12240
12301
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
@@ -12255,11 +12316,11 @@
|
|
|
12255
12316
|
.action {
|
|
12256
12317
|
gap: calc(var(--design-unit) * 2px);
|
|
12257
12318
|
}
|
|
12258
|
-
`,
|
|
12319
|
+
`,Tu=b.html`
|
|
12259
12320
|
${(0,U.getPrefixedSnackbar)("rapid")}
|
|
12260
|
-
|
|
12321
|
+
`,Du=U.foundationSnackbarShadowOptions;class Ru extends U.Snackbar{}const Nu=Ru.compose({baseName:"snackbar",shadowOptions:Du,styles:Fu,template:Tu});class Lu extends U.StackingIcons{}const Mu=Lu.compose({baseName:"stacking-icons",template:U.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
|
|
12261
12322
|
${(0,U.foundationStackingIconsStyles)(e,a)}
|
|
12262
|
-
`}),
|
|
12323
|
+
`}),Iu=b.css`
|
|
12263
12324
|
${U.foundationStepperStyles}
|
|
12264
12325
|
|
|
12265
12326
|
:host {
|
|
@@ -12306,11 +12367,11 @@
|
|
|
12306
12367
|
padding: 0 calc(var(--design-unit) * 2px);
|
|
12307
12368
|
color: var(--neutral-foreground-hint);
|
|
12308
12369
|
}
|
|
12309
|
-
`,
|
|
12370
|
+
`,ju=b.html`
|
|
12310
12371
|
${(0,U.getPrefixedStepper)("rapid")}
|
|
12311
|
-
`;class
|
|
12372
|
+
`;class Eu extends U.Stepper{}const Pu=Eu.compose(Object.assign({baseName:"stepper",template:ju,styles:Iu,shadowOptions:U.foundationStepperShadowOptions},U.defaultStepperConfig)),Bu=b.html`
|
|
12312
12373
|
${(0,U.getPrefixedStepperTab)("rapid")}
|
|
12313
|
-
`;class
|
|
12374
|
+
`;class Gu extends U.StepperTab{}const _u=Gu.compose(Object.assign({baseName:"stepper-tab",template:Bu,styles:(e,a)=>b.css`
|
|
12314
12375
|
${(0,U.foundationStepperTabStyles)(e,a)}
|
|
12315
12376
|
|
|
12316
12377
|
rapid-tree-item {
|
|
@@ -12370,7 +12431,7 @@
|
|
|
12370
12431
|
:host([error]) .step-title {
|
|
12371
12432
|
color: var(--error-color);
|
|
12372
12433
|
}
|
|
12373
|
-
`,shadowOptions:U.foundationStepperTabShadowOptions},U.defaultStepperTabConfig));class
|
|
12434
|
+
`,shadowOptions:U.foundationStepperTabShadowOptions},U.defaultStepperTabConfig));class Hu extends U.StepperTabPanel{}const Uu=Hu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,U.foundationStepperTabPanelTemplate)(e,a),shadowOptions:U.foundationStepperTabPanelShadowOptions},U.defaultStepperTabPanelConfig)),Vu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Yu extends U.Switch{}const Qu=Yu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,U.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12374
12435
|
${(0,U.foundationSwitchStyles)(e,a)}
|
|
12375
12436
|
:host {
|
|
12376
12437
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -12407,7 +12468,7 @@
|
|
|
12407
12468
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12408
12469
|
background: var(--accent-fill-rest);
|
|
12409
12470
|
}
|
|
12410
|
-
`,shadowOptions:U.foundationSwitchShadowOptions},
|
|
12471
|
+
`,shadowOptions:U.foundationSwitchShadowOptions},Vu));class Wu extends U.Tab{}const qu=Wu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,U.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12411
12472
|
${(0,U.foundationTabStyles)(e,a)}
|
|
12412
12473
|
:host {
|
|
12413
12474
|
background-color: ${f.neutralLayer2};
|
|
@@ -12420,12 +12481,12 @@
|
|
|
12420
12481
|
:host([aria-selected='true']:hover) {
|
|
12421
12482
|
background-color: ${f.neutralLayer4};
|
|
12422
12483
|
}
|
|
12423
|
-
`,shadowOptions:U.foundationTabShadowOptions},U.defaultTabConfig));class
|
|
12484
|
+
`,shadowOptions:U.foundationTabShadowOptions},U.defaultTabConfig));class Ju extends U.TabPanel{}const Zu=Ju.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,U.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12424
12485
|
${(0,U.foundationTabPanelStyles)(e,a)}
|
|
12425
12486
|
:host {
|
|
12426
12487
|
padding: 0;
|
|
12427
12488
|
}
|
|
12428
|
-
`,shadowOptions:U.foundationTabPanelShadowOptions},U.defaultTabPanelConfig));class
|
|
12489
|
+
`,shadowOptions:U.foundationTabPanelShadowOptions},U.defaultTabPanelConfig));class Ku extends U.Tabs{}const Xu=Ku.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,U.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12429
12490
|
${(0,U.foundationTabsStyles)(e,a)}
|
|
12430
12491
|
:host {
|
|
12431
12492
|
--base-height-multiplier: 9;
|
|
@@ -12500,7 +12561,7 @@
|
|
|
12500
12561
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12501
12562
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12502
12563
|
}
|
|
12503
|
-
`,shadowOptions:U.foundationTabsShadowOptions},U.defaultTabsConfig));class
|
|
12564
|
+
`,shadowOptions:U.foundationTabsShadowOptions},U.defaultTabsConfig));class eh extends U.TextArea{}const ah=eh.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,U.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12504
12565
|
${(0,U.foundationTextAreaStyles)(e,a)}
|
|
12505
12566
|
|
|
12506
12567
|
:host .control {
|
|
@@ -12526,7 +12587,7 @@
|
|
|
12526
12587
|
font-weight: 700;
|
|
12527
12588
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12528
12589
|
}
|
|
12529
|
-
`,shadowOptions:U.foundationTextAreaShadowOptions},U.defaultTextAreaConfig));class
|
|
12590
|
+
`,shadowOptions:U.foundationTextAreaShadowOptions},U.defaultTextAreaConfig));class rh extends U.TextField{}const th=rh.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,U.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12530
12591
|
${(0,U.foundationTextFieldStyles)(e,a)}
|
|
12531
12592
|
|
|
12532
12593
|
:host {
|
|
@@ -12563,7 +12624,7 @@
|
|
|
12563
12624
|
font-weight: 700;
|
|
12564
12625
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12565
12626
|
}
|
|
12566
|
-
`,shadowOptions:U.foundationTextFieldShadowOptions},U.defaultTextFieldConfig)),
|
|
12627
|
+
`,shadowOptions:U.foundationTextFieldShadowOptions},U.defaultTextFieldConfig)),oh=b.css`
|
|
12567
12628
|
${U.foundationToastStyles}
|
|
12568
12629
|
.toast {
|
|
12569
12630
|
background-color: ${f.neutralLayer1};
|
|
@@ -12618,7 +12679,7 @@
|
|
|
12618
12679
|
:host([notify='serious']) .toast::after {
|
|
12619
12680
|
background-color: var(--error-color);
|
|
12620
12681
|
}
|
|
12621
|
-
`,
|
|
12682
|
+
`,ih=U.defaultToastConfig,nh=U.foundationToastShadowOptions;class lh extends U.Toast{}const gh=lh.compose(Object.assign({baseName:"toast",shadowOptions:nh,styles:oh,template:U.foundationToastTemplate},ih));class sh extends U.Toolbar{}const dh=sh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,U.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12622
12683
|
${(0,U.foundationToolbarStyles)(e,a)}
|
|
12623
12684
|
:host {
|
|
12624
12685
|
align-items: center;
|
|
@@ -12628,7 +12689,7 @@
|
|
|
12628
12689
|
.positioning-region {
|
|
12629
12690
|
align-items: center;
|
|
12630
12691
|
}
|
|
12631
|
-
`,shadowOptions:U.foundationToolbarShadowOptions},U.defaultToolbarConfig));class
|
|
12692
|
+
`,shadowOptions:U.foundationToolbarShadowOptions},U.defaultToolbarConfig));class ch extends U.Tooltip{}const ph=ch.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,U.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12632
12693
|
${(0,U.foundationTooltipStyles)(e,a)}
|
|
12633
12694
|
|
|
12634
12695
|
:host {
|
|
@@ -12651,7 +12712,7 @@
|
|
|
12651
12712
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12652
12713
|
margin-left: 0;
|
|
12653
12714
|
}
|
|
12654
|
-
`,shadowOptions:U.foundationTooltipShadowOptions},U.defaultTooltipConfig));class
|
|
12715
|
+
`,shadowOptions:U.foundationTooltipShadowOptions},U.defaultTooltipConfig));class uh extends U.TreeItem{}const hh={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"/>\n </svg>'},mh=uh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,U.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12655
12716
|
${(0,U.foundationTreeItemStyles)(e,a)}
|
|
12656
12717
|
:host {
|
|
12657
12718
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -12690,11 +12751,11 @@
|
|
|
12690
12751
|
width: calc(var(--design-unit) * 3px);
|
|
12691
12752
|
height: calc(var(--design-unit) * 3px);
|
|
12692
12753
|
}
|
|
12693
|
-
`,shadowOptions:U.foundationTreeItemShadowOptions},
|
|
12754
|
+
`,shadowOptions:U.foundationTreeItemShadowOptions},hh));class bh extends U.TreeView{}const vh=bh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,U.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12694
12755
|
${(0,U.foundationTreeViewStyles)(e,a)}
|
|
12695
|
-
`,shadowOptions:U.foundationTreeViewShadowOptions},U.defaultTreeViewConfig)),
|
|
12756
|
+
`,shadowOptions:U.foundationTreeViewShadowOptions},U.defaultTreeViewConfig)),fh=b.html`
|
|
12696
12757
|
${(0,U.getPrefixedUrlInput)("rapid")}
|
|
12697
|
-
`;class
|
|
12758
|
+
`;class wh extends U.UrlInput{}const yh={designSystemProvider:yd,rapidAccordion:kd,rapidAccordionItem:Sd,rapidActionsMenu:$d,rapidAnchor:Ld,rapidAnchoredRegion:Id,rapidAvatar:Ed,rapidBadge:Bd,rapidBanner:Ud,rapidBreadcrumb:Yd,rapidBreadcrumbItem:Wd,rapidButton:Jd,rapidCalendar:Kd,rapidCard:ec,rapidCategorizedMultiselect:nc,rapidCheckbox:gc,rapidCombobox:dc,rapidConnectionIndicator:pc,rapidDataGrid:()=>(0,U.foundationDataGrid)(),rapidDataGridCell:()=>(0,U.foundationDataGridCell)(),rapidDataGridRow:()=>(0,U.foundationDataGridRow)(),rapidDatePicker:Fc,rapidDialog:Mc,rapidDisclosure:jc,rapidDivider:Pc,rapidDropdownMenu:Gc,rapidErrorBoundary:()=>(0,U.foundationErrorBoundary)(),rapidFileUpload:Zc,rapidFilter:ep,rapidFilterBar:tp,rapidFlexLayout:()=>(0,U.foundationFlexLayout)(),rapidFlipper:sp,rapidFlyout:mp,rapidGridLayout:()=>(0,U.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,U.foundationGridLayoutItem)(),rapidHorizontalScroll:$p,rapidIcon:Tp,rapidListbox:Rp,rapidListboxOption:Lp,rapidMenu:Ip,rapidMenuItem:Pp,rapidModal:Vp,rapidMultiselect:Zp,rapidNumberField:ru,rapidProgress:ou,rapidProgressRing:nu,rapidRadio:gu,rapidRadioGroup:du,rapidSearchBar:hu,rapidSearchBarCombobox:bu,rapidSegmentedControl:fu,rapidSegmentedItem:yu,rapidSelect:ku,rapidSkeleton:Su,rapidSlider:$u,rapidSliderLabel:Ou,rapidSnackbar:Nu,rapidStackingIcons:Mu,rapidStepper:Pu,rapidStepperTab:_u,rapidStepperTabPanel:Uu,rapidSwitch:Qu,rapidTab:qu,rapidTabPanel:Zu,rapidTabs:Xu,rapidTextArea:ah,rapidTextField:th,rapidToast:gh,rapidToolbar:dh,rapidTooltip:ph,rapidTreeItem:mh,rapidTreeView:vh,rapidUrlInput:wh.compose(Object.assign({baseName:"url-input",template:fh,styles:(e,a)=>b.css`
|
|
12698
12759
|
${(0,U.foundationUrlInputStyles)(e,a)}
|
|
12699
12760
|
a {
|
|
12700
12761
|
color: var(--accent-fill-rest);
|
|
@@ -12710,7 +12771,7 @@
|
|
|
12710
12771
|
font-size: var(--type-ramp-base-font-size);
|
|
12711
12772
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12712
12773
|
}
|
|
12713
|
-
`,shadowOptions:U.foundationUrlInputShadowOptions},U.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class
|
|
12774
|
+
`,shadowOptions:U.foundationUrlInputShadowOptions},U.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class xh extends Ki{}const kh=xh.compose({baseName:"date-editor",styles:Xi,template:en("rapid")});class zh extends on{}const Sh=zh.compose({baseName:"multiselect-editor",styles:nn,template:ln("rapid")});class Ch extends cn{}const $h=Ch.compose({baseName:"select-editor",styles:pn,template:un("rapid")});class Ah extends vn{}const Oh=Ah.compose({baseName:"number-editor",styles:fn,template:wn("rapid")});class Fh extends zn{}const Th=Fh.compose({baseName:"string-editor",styles:Sn,template:Cn("rapid")});class Dh extends Fn{}const Rh=Dh.compose({baseName:"editable-renderer",styles:Tn,template:Dn("rapid")});class Nh extends jn{}const Lh=Nh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
|
|
12714
12775
|
${Pn}
|
|
12715
12776
|
`,template:b.html`
|
|
12716
12777
|
<div class="action-container" part="action-container">
|
|
@@ -12728,12 +12789,12 @@
|
|
|
12728
12789
|
`:e.params.actionName}
|
|
12729
12790
|
</rapid-button>
|
|
12730
12791
|
</div>
|
|
12731
|
-
`});class
|
|
12792
|
+
`});class Mh extends Hn{}const Ih=Mh.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
12732
12793
|
<rapid-actions-menu
|
|
12733
12794
|
name="${e=>e.params.headerName}"
|
|
12734
12795
|
:definition=${e=>e.params}
|
|
12735
12796
|
></rapid-actions-menu>
|
|
12736
|
-
`});class
|
|
12797
|
+
`});class jh extends Qn{}const Eh=jh.compose({baseName:"boolean-renderer",styles:Wn,template:qn("rapid")});const Ph=class extends il{}.compose({baseName:"grid-text-renderer",styles:nl,template:ll("rapid")});const Bh=class extends dl{}.compose({baseName:"select-renderer",styles:cl,template:pl("rapid")}),Gh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},_h={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Hh}=v.DesignToken,Uh={backgroundColor:Hh("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?_h.backgroundSwatch:Gh.backgroundSwatch)),borderColor:Hh("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?_h.borderSwatch:Gh.borderSwatch)),foregroundColor:Hh("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?_h.foregroundSwatch:Gh.foregroundSwatch)),headerForegroundColor:Hh("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?_h.headerForegroundSwatch:Gh.headerForegroundSwatch)),rowHoverColor:Hh("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?_h.rowHoverSwatch:Gh.rowHoverSwatch))},Vh=b.css`
|
|
12737
12798
|
.ag-theme-genesis-rapid,
|
|
12738
12799
|
.ag-theme-genesis-rapid-dark {
|
|
12739
12800
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13194,76 +13255,76 @@
|
|
|
13194
13255
|
.ag-theme-genesis-rapid-dark {
|
|
13195
13256
|
color-scheme: dark;
|
|
13196
13257
|
}
|
|
13197
|
-
`,
|
|
13198
|
-
${
|
|
13199
|
-
${Vi(
|
|
13258
|
+
`,Yh={[ji.backgroundColor]:Uh.backgroundColor,[ji.foregroundColor]:Uh.foregroundColor,[ji.oddRowBackgroundColor]:Uh.backgroundColor,[ji.headerBackgroundColor]:Uh.backgroundColor,[ji.headerForegroundColor]:Uh.headerForegroundColor,[ji.selectedRowBackgroundColor]:Uh.rowHoverColor,[ji.rowHoverColor]:Uh.rowHoverColor,[ji.borderColor]:Uh.borderColor,[ji.rowBorderColor]:Uh.rowHoverColor,[ji.modalOverlayBackgroundColor]:Uh.backgroundColor,[ji.inputFocusBoxShadow]:Uh.headerForegroundColor,[ji.inputFocusBorderColor]:Uh.headerForegroundColor,[ji.headerColumnResizeHandleColor]:Uh.headerForegroundColor},Qh="ag-theme-genesis-rapid",Wh=b.css`
|
|
13259
|
+
${Vh}
|
|
13260
|
+
${Vi(Qh,Yh)}
|
|
13200
13261
|
|
|
13201
|
-
.${
|
|
13262
|
+
.${Qh} {
|
|
13202
13263
|
${Qe()}
|
|
13203
13264
|
font-family: var(--body-font);
|
|
13204
13265
|
}
|
|
13205
13266
|
|
|
13206
|
-
.${
|
|
13207
|
-
.${
|
|
13208
|
-
.${
|
|
13267
|
+
.${Qh} .ag-body .ag-body-viewport,
|
|
13268
|
+
.${Qh} .ag-header,
|
|
13269
|
+
.${Qh} .ag-row {
|
|
13209
13270
|
background-color: var(--neutral-layer-4);
|
|
13210
13271
|
}
|
|
13211
13272
|
|
|
13212
|
-
.${
|
|
13273
|
+
.${Qh} .ag-header {
|
|
13213
13274
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13214
13275
|
font-weight: bold;
|
|
13215
13276
|
font-size: var(--type-ramp-base-font-size);
|
|
13216
13277
|
}
|
|
13217
13278
|
|
|
13218
|
-
.${
|
|
13279
|
+
.${Qh} .ag-root-wrapper {
|
|
13219
13280
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13220
13281
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13221
13282
|
}
|
|
13222
13283
|
|
|
13223
|
-
.${
|
|
13284
|
+
.${Qh} .ag-cell {
|
|
13224
13285
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13225
13286
|
}
|
|
13226
|
-
`,
|
|
13227
|
-
${
|
|
13228
|
-
${Vi(
|
|
13287
|
+
`,qh="ag-theme-genesis-rapid-dark",Jh=b.css`
|
|
13288
|
+
${Vh}
|
|
13289
|
+
${Vi(Qh,Yh)}
|
|
13229
13290
|
|
|
13230
|
-
.${
|
|
13291
|
+
.${qh} {
|
|
13231
13292
|
${Qe()}
|
|
13232
13293
|
font-family: var(--body-font);
|
|
13233
13294
|
}
|
|
13234
13295
|
|
|
13235
|
-
.${
|
|
13236
|
-
.${
|
|
13237
|
-
.${
|
|
13296
|
+
.${qh} .ag-body .ag-body-viewport,
|
|
13297
|
+
.${qh} .ag-header,
|
|
13298
|
+
.${qh} .ag-row {
|
|
13238
13299
|
background-color: var(--neutral-layer-4);
|
|
13239
13300
|
}
|
|
13240
13301
|
|
|
13241
|
-
.${
|
|
13302
|
+
.${qh} .ag-header {
|
|
13242
13303
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13243
13304
|
font-weight: bold;
|
|
13244
13305
|
font-size: var(--type-ramp-base-font-size);
|
|
13245
13306
|
}
|
|
13246
13307
|
|
|
13247
|
-
.${
|
|
13308
|
+
.${qh} .ag-root-wrapper {
|
|
13248
13309
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13249
13310
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13250
13311
|
}
|
|
13251
13312
|
|
|
13252
|
-
.${
|
|
13313
|
+
.${qh} .ag-cell {
|
|
13253
13314
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13254
13315
|
}
|
|
13255
|
-
`,
|
|
13316
|
+
`,Zh=b.css`
|
|
13256
13317
|
/* All the AG themes */
|
|
13257
|
-
${
|
|
13318
|
+
${fg}
|
|
13258
13319
|
|
|
13259
13320
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
13260
|
-
${
|
|
13261
|
-
${
|
|
13321
|
+
${Wh}
|
|
13322
|
+
${Jh}
|
|
13262
13323
|
|
|
13263
13324
|
.error {
|
|
13264
13325
|
border-color: ${$e.shortPink} !important;
|
|
13265
13326
|
}
|
|
13266
|
-
`,
|
|
13327
|
+
`,Kh=wg("rapid"),Xh="ag-theme-genesis-rapid-dark";const em=Og,am=Fg,rm={rapidAgEditableRenderer:Rh,rapidAgActionRenderer:Lh,rapidAgActionsMenuRenderer:Ih,rapidAgBooleanRenderer:Eh,rapidAgTextRenderer:Ph,rapidAgSelectRenderer:Bh,rapidAgDateEditor:kh,rapidAgMultiselectEditor:Sh,rapidAgSelectEditor:$h,rapidAgNumberEditor:Oh,rapidAgStringEditor:Th,rapidGridPro:class extends Ag{constructor(){super(...arguments),this.theme=Xh}themeChanged(e,a){(e||a===Xh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Yi.action]:Nh,[Yi.actionsMenu]:Mh,[Yi.boolean]:jh,[Yi.editable]:Dh,[Yi.selectEditor]:Ch,[Yi.numberEditor]:Ah,[Yi.multiselectEditor]:zh,[Yi.dateEditor]:xh,[Yi.stringEditor]:Fh};(this.theme===Qh||this.theme===qh)&&(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:Kh,styles:Zh,shadowOptions:em},am)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var tm,om=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(tm||(tm={}));const im={Roboto:Ye,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},nm=im["Segoe UI"],lm=b.css`
|
|
13267
13328
|
${(0,v.display)("block")} :host {
|
|
13268
13329
|
width: 100%;
|
|
13269
13330
|
display: inline-flex;
|
|
@@ -13395,7 +13456,7 @@
|
|
|
13395
13456
|
alpha-button {
|
|
13396
13457
|
margin: 0;
|
|
13397
13458
|
}
|
|
13398
|
-
`,
|
|
13459
|
+
`,gm=b.html`
|
|
13399
13460
|
<template>
|
|
13400
13461
|
<div class="configuration">
|
|
13401
13462
|
${(0,b.when)((e=>!e.customDesignMode),b.html`
|
|
@@ -13618,7 +13679,7 @@
|
|
|
13618
13679
|
<slot></slot>
|
|
13619
13680
|
</div>
|
|
13620
13681
|
</template>
|
|
13621
|
-
`,
|
|
13682
|
+
`,sm=({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(im).find((a=>im[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),dm=sm(Ze),cm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},pm={accent:"primary",neutral:"secondary",font:"white"},um=sm(l.designTokens),hm=sm(fd),mm={zero:{prefix:"zero",tokenDefaults:dm,buttons:cm,badge:pm},alpha:{prefix:"alpha",tokenDefaults:um,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:hm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:cm,badge:pm}};let bm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=dm.luminance===f.StandardLuminance.DarkMode,this.luminance=dm.luminance,this.neutralColor=dm.neutralColor,this.accentColor=dm.accentColor,this.bodyFont=dm.bodyFont,this.density=dm.density,this.borderRadius=dm.borderRadius,this.strokeWidth=dm.strokeWidth,this.designUnit=dm.designUnit,this.baseFontSize=dm.baseFontSize,this.baseLineHeight=dm.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=sm(a);mm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,om.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(mm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,om.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:mm[this.ds].prefix,buttonAppearanceAccent:mm[this.ds].buttons.accent,buttonAppearanceNeutral:mm[this.ds].buttons.neutral,buttonAppearanceOutline:mm[this.ds].buttons.outline,buttonAppearanceText:mm[this.ds].buttons.text,badgeAppearanceAccent:mm[this.ds].badge.accent,badgeAppearanceNeutral:mm[this.ds].badge.neutral,badgeText:mm[this.ds].badge.font};this.$emit(tm.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(mm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:im[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(tm.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===f.StandardLuminance.DarkMode,b.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ve(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(tm.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,om.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],bm.prototype,"customDesignMode",void 0),(0,om.__decorate)([b.observable],bm.prototype,"designSystems",void 0),(0,om.__decorate)([b.observable],bm.prototype,"ds",void 0),(0,om.__decorate)([b.attr],bm.prototype,"darkMode",void 0),(0,om.__decorate)([b.observable],bm.prototype,"neutralColor",void 0),(0,om.__decorate)([b.observable],bm.prototype,"accentColor",void 0),(0,om.__decorate)([b.observable],bm.prototype,"bodyFont",void 0),(0,om.__decorate)([b.observable],bm.prototype,"density",void 0),(0,om.__decorate)([b.observable],bm.prototype,"borderRadius",void 0),(0,om.__decorate)([b.observable],bm.prototype,"strokeWidth",void 0),(0,om.__decorate)([b.observable],bm.prototype,"designUnit",void 0),(0,om.__decorate)([b.observable],bm.prototype,"baseFontSize",void 0),(0,om.__decorate)([b.observable],bm.prototype,"baseLineHeight",void 0),(0,om.__decorate)([b.observable],bm.prototype,"preserveOptions",void 0),bm=(0,om.__decorate)([(0,b.customElement)({name:"design-system-editor",template:gm,styles:lm})],bm);const vm=(0,k.createLogger)("documentation-components"),fm=e=>{const a=(e=>{const a=(0,Ae.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},wm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},ym=(e,a)=>{const r=fm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=fm(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,wm(f.typeRampBaseFontSize,Ue.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,wm(f.typeRampBaseFontSize,Ue.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,wm(f.typeRampBaseLineHeight,Ue.Du.plusSix,a))},xm=b.css`
|
|
13622
13683
|
:host {
|
|
13623
13684
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13624
13685
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13714,7 +13775,7 @@
|
|
|
13714
13775
|
display: flex;
|
|
13715
13776
|
flex-direction: column;
|
|
13716
13777
|
}
|
|
13717
|
-
`,
|
|
13778
|
+
`,km=b.html`
|
|
13718
13779
|
${e=>(e=>b.html`
|
|
13719
13780
|
<template>
|
|
13720
13781
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14126,7 +14187,7 @@
|
|
|
14126
14187
|
</${e}-design-system-provider>
|
|
14127
14188
|
</template>
|
|
14128
14189
|
`)(e.prefix)}
|
|
14129
|
-
`;let
|
|
14190
|
+
`;let zm=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=>vm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>vm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>vm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>vm.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(tm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(tm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(nm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{ym(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,om.__decorate)([b.observable],zm.prototype,"modal",void 0),(0,om.__decorate)([b.attr],zm.prototype,"prefix",void 0),(0,om.__decorate)([b.observable],zm.prototype,"buttonAppearanceAccent",void 0),(0,om.__decorate)([b.observable],zm.prototype,"buttonAppearanceNeutral",void 0),(0,om.__decorate)([b.observable],zm.prototype,"buttonAppearanceOutline",void 0),(0,om.__decorate)([b.observable],zm.prototype,"buttonAppearanceText",void 0),(0,om.__decorate)([b.observable],zm.prototype,"badgeAppearanceAccent",void 0),(0,om.__decorate)([b.observable],zm.prototype,"badgeAppearanceNeutral",void 0),(0,om.__decorate)([b.observable],zm.prototype,"badgeText",void 0),(0,om.__decorate)([b.observable],zm.prototype,"cards",void 0),(0,om.__decorate)([b.observable],zm.prototype,"countries",void 0),(0,om.__decorate)([b.observable],zm.prototype,"menuActions",void 0),(0,om.__decorate)([b.observable],zm.prototype,"menuDefinition",void 0),(0,om.__decorate)([b.observable],zm.prototype,"dropDownMenuItems",void 0),(0,om.__decorate)([b.observable],zm.prototype,"provider",void 0),zm=(0,om.__decorate)([(0,b.customElement)({name:"preview-components",template:km,styles:xm})],zm);const Sm=b.css`
|
|
14130
14191
|
.export {
|
|
14131
14192
|
display: flex;
|
|
14132
14193
|
justify-content: center;
|
|
@@ -14137,7 +14198,7 @@
|
|
|
14137
14198
|
display: flex;
|
|
14138
14199
|
justify-content: space-between;
|
|
14139
14200
|
}
|
|
14140
|
-
`,
|
|
14201
|
+
`,Cm=b.html`
|
|
14141
14202
|
<template>
|
|
14142
14203
|
<div class="export">
|
|
14143
14204
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
@@ -14158,7 +14219,7 @@
|
|
|
14158
14219
|
</alpha-modal>
|
|
14159
14220
|
</div>
|
|
14160
14221
|
</template>
|
|
14161
|
-
`;let
|
|
14222
|
+
`;let $m=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=>{vm.log("Tokens saved successfully:",e),this.$emit(tm.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{vm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(tm.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,om.__decorate)([b.attr],$m.prototype,"value",void 0),(0,om.__decorate)([b.attr],$m.prototype,"tokensPath",void 0),$m=(0,om.__decorate)([(0,b.customElement)({name:"design-system-export",template:Cm,styles:Sm})],$m);const Am=b.css`
|
|
14162
14223
|
.colors {
|
|
14163
14224
|
display: flex;
|
|
14164
14225
|
flex-wrap: wrap;
|
|
@@ -14171,23 +14232,23 @@
|
|
|
14171
14232
|
flex-grow: 1;
|
|
14172
14233
|
height: 20px;
|
|
14173
14234
|
}
|
|
14174
|
-
`,
|
|
14235
|
+
`,Om=b.html`
|
|
14175
14236
|
<ul class="colors">
|
|
14176
14237
|
${(0,b.repeat)((e=>e.swatches),b.html`
|
|
14177
14238
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14178
14239
|
`)}
|
|
14179
14240
|
</ul>
|
|
14180
|
-
`;let
|
|
14241
|
+
`;let Fm=class extends b.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){f[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=fm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(tm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,om.__decorate)([b.observable],Fm.prototype,"swatches",void 0),(0,om.__decorate)([b.attr],Fm.prototype,"type",void 0),Fm=(0,om.__decorate)([(0,b.customElement)({name:"color-palette",styles:Am,template:Om})],Fm);const Tm=b.css`
|
|
14181
14242
|
.preview {
|
|
14182
14243
|
width: 40px;
|
|
14183
14244
|
height: 40px;
|
|
14184
14245
|
}
|
|
14185
|
-
|
|
14246
|
+
`,Dm=b.html`
|
|
14186
14247
|
<div
|
|
14187
14248
|
class="preview"
|
|
14188
14249
|
style="background-color: ${e=>f[e.tokenName].createCSS()}"
|
|
14189
14250
|
></div>
|
|
14190
|
-
`;let
|
|
14251
|
+
`;let Rm=class extends b.FASTElement{};(0,om.__decorate)([b.attr],Rm.prototype,"tokenName",void 0),Rm=(0,om.__decorate)([(0,b.customElement)({name:"color-token",styles:Tm,template:Dm})],Rm);const Nm=b.css`
|
|
14191
14252
|
.container {
|
|
14192
14253
|
display: flex;
|
|
14193
14254
|
width: 100%;
|
|
@@ -14235,7 +14296,7 @@
|
|
|
14235
14296
|
.container > div:not(:last-child) {
|
|
14236
14297
|
border-right: 1px solid #fafafa;
|
|
14237
14298
|
}
|
|
14238
|
-
`,
|
|
14299
|
+
`,Lm=[{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"}]}]}],Mm=b.html`
|
|
14239
14300
|
<div class="row">
|
|
14240
14301
|
<div
|
|
14241
14302
|
class="preview"
|
|
@@ -14247,19 +14308,19 @@
|
|
|
14247
14308
|
${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
14248
14309
|
</div>
|
|
14249
14310
|
</div>
|
|
14250
|
-
`,
|
|
14311
|
+
`,Im=b.html`
|
|
14251
14312
|
<div class="container" ${(0,b.ref)("provider")}>
|
|
14252
|
-
${(0,b.repeat)((()=>
|
|
14313
|
+
${(0,b.repeat)((()=>Lm),b.html`
|
|
14253
14314
|
<div class="column">
|
|
14254
14315
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
14255
14316
|
${(0,b.repeat)((e=>e.subcategories),b.html`
|
|
14256
14317
|
<h4>${e=>e.title}</h4>
|
|
14257
|
-
${(0,b.repeat)((e=>e.tokens),
|
|
14318
|
+
${(0,b.repeat)((e=>e.tokens),Mm)}
|
|
14258
14319
|
`)}
|
|
14259
14320
|
</div>
|
|
14260
14321
|
`)}
|
|
14261
14322
|
</div>
|
|
14262
|
-
`;let
|
|
14323
|
+
`;let jm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(tm.STYLES_CHANGED,(e=>{const a=e.detail;ym(a,this.provider)}))}};(0,om.__decorate)([b.observable],jm.prototype,"provider",void 0),jm=(0,om.__decorate)([(0,b.customElement)({name:"color-tokens",template:Im,styles:Nm})],jm);const Em=b.css`
|
|
14263
14324
|
table {
|
|
14264
14325
|
background: var(--neutral-fill-rest);
|
|
14265
14326
|
color: var(--neutral-foreground-rest);
|
|
@@ -14268,7 +14329,7 @@
|
|
|
14268
14329
|
th {
|
|
14269
14330
|
text-align: left;
|
|
14270
14331
|
}
|
|
14271
|
-
`,
|
|
14332
|
+
`,Pm=b.html`
|
|
14272
14333
|
<table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
|
|
14273
14334
|
<colgroup>
|
|
14274
14335
|
<col style="width: 15%;" />
|
|
@@ -14496,7 +14557,7 @@
|
|
|
14496
14557
|
</tr>
|
|
14497
14558
|
</tbody>
|
|
14498
14559
|
</table>
|
|
14499
|
-
`;let
|
|
14560
|
+
`;let Bm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(tm.STYLES_CHANGED,(e=>{const a=e.detail;ym(a,this.provider)}))}};(0,om.__decorate)([b.observable],Bm.prototype,"provider",void 0),Bm=(0,om.__decorate)([(0,b.customElement)({name:"typography-tokens",template:Pm,styles:Em})],Bm);const Gm=b.css`
|
|
14500
14561
|
:host {
|
|
14501
14562
|
background: var(--fill-color);
|
|
14502
14563
|
color: var(--neutral-foreground-rest);
|
|
@@ -14512,7 +14573,7 @@
|
|
|
14512
14573
|
margin-top: 24px;
|
|
14513
14574
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14514
14575
|
}
|
|
14515
|
-
`,
|
|
14576
|
+
`,_m=b.html`
|
|
14516
14577
|
<template>
|
|
14517
14578
|
<alpha-tabs>
|
|
14518
14579
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14541,7 +14602,7 @@
|
|
|
14541
14602
|
</alpha-tab-panel>
|
|
14542
14603
|
</alpha-tabs>
|
|
14543
14604
|
</template>
|
|
14544
|
-
`;let
|
|
14605
|
+
`;let Hm=class extends b.FASTElement{};Hm=(0,om.__decorate)([(0,b.customElement)({name:"design-system-preview",template:_m,styles:Gm})],Hm);const Um={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"}]}]}}]},Vm={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"]}}},Ym={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"}]}}}]},Qm={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"]}}}},Wm=b.css`
|
|
14545
14606
|
:host {
|
|
14546
14607
|
background: var(--fill-color);
|
|
14547
14608
|
color: var(--neutral-foreground-rest);
|
|
@@ -14572,7 +14633,7 @@
|
|
|
14572
14633
|
zero-design-system-provider {
|
|
14573
14634
|
display: inline;
|
|
14574
14635
|
}
|
|
14575
|
-
`,
|
|
14636
|
+
`,qm=b.html`
|
|
14576
14637
|
${e=>(e=>b.html`
|
|
14577
14638
|
<template>
|
|
14578
14639
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14596,7 +14657,7 @@
|
|
|
14596
14657
|
</${e}-design-system-provider>
|
|
14597
14658
|
</template>
|
|
14598
14659
|
`)(e.prefix)}
|
|
14599
|
-
`;let
|
|
14660
|
+
`;let Jm=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=Vm,this.uischema=Um,this.jsonSchemaArray=Qm,this.uiSchemaArray=Ym,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(tm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(tm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(nm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{ym(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,om.__decorate)([b.observable],Jm.prototype,"jsonSchema",void 0),(0,om.__decorate)([b.observable],Jm.prototype,"uischema",void 0),(0,om.__decorate)([b.observable],Jm.prototype,"jsonSchemaArray",void 0),(0,om.__decorate)([b.observable],Jm.prototype,"uiSchemaArray",void 0),(0,om.__decorate)([b.attr],Jm.prototype,"prefix",void 0),(0,om.__decorate)([b.observable],Jm.prototype,"provider",void 0),(0,om.__decorate)([b.observable],Jm.prototype,"editedEntity",void 0),(0,om.__decorate)([b.observable],Jm.prototype,"editedEntityArray",void 0),Jm=(0,om.__decorate)([(0,b.customElement)({name:"preview-form",template:qm,styles:Wm})],Jm);const Zm=b.css`
|
|
14600
14661
|
:host {
|
|
14601
14662
|
background: var(--fill-color);
|
|
14602
14663
|
color: var(--neutral-foreground-rest);
|
|
@@ -14611,7 +14672,7 @@
|
|
|
14611
14672
|
.grid-height {
|
|
14612
14673
|
height: 450px;
|
|
14613
14674
|
}
|
|
14614
|
-
`,
|
|
14675
|
+
`,Km=b.html`
|
|
14615
14676
|
${e=>(e=>b.html`
|
|
14616
14677
|
<template>
|
|
14617
14678
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14621,5 +14682,5 @@
|
|
|
14621
14682
|
</${e}-design-system-provider>
|
|
14622
14683
|
</template>
|
|
14623
14684
|
`)(e.prefix)}
|
|
14624
|
-
`;let
|
|
14625
|
-
//# sourceMappingURL=
|
|
14685
|
+
`;let Xm=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(tm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(tm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(nm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{ym(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,om.__decorate)([b.observable],Xm.prototype,"grid",void 0),(0,om.__decorate)([b.attr],Xm.prototype,"prefix",void 0),(0,om.__decorate)([b.observable],Xm.prototype,"provider",void 0),(0,om.__decorate)([b.observable],Xm.prototype,"rowData",void 0),(0,om.__decorate)([b.observable],Xm.prototype,"columnDefs",void 0),(0,om.__decorate)([b.observable],Xm.prototype,"gridOptions",void 0),Xm=(0,om.__decorate)([(0,b.customElement)({name:"preview-grid",template:Km,styles:Zm})],Xm),((e,a="zero")=>{e&&(0,U.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,U.createDesignSystemProxy)(r)})().register(Ii,Yg),(0,l.provideDesignSystem)().register(l.baseComponents,Qg),((e,a="rapid")=>{e&&(0,U.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,U.createDesignSystemProxy)(r)})().register(yh,rm)}}]);
|
|
14686
|
+
//# sourceMappingURL=155.ab383385ab14ff0546e0db3a4e78821a.js.map
|