@genesislcap/design-system-configurator 14.156.0 → 14.156.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{200.200.849dc9e67243b7abd33b.js → 200.200.749e32fd6a3934fcd9a2.js} +1 -1
- package/dist/{300.300.4331f66a208760010044.js → 300.300.073c457d706c98e7a22d.js} +2 -3
- package/dist/300.7a0160d839d4228c371f9ddd95a9e52b.js.map +1 -0
- package/dist/{746.00e85c55b64e58733fc11e761cc0cb67.js.map → 746.474e0feea819620d5155ec865a2ed2ae.js.map} +1 -1
- package/dist/{746.746.745bd2ccb4045165cd4b.js → 746.746.dbb510fc421b6ef4cb62.js} +2 -2
- package/dist/{755.755.1ec278b84b7bb4681113.js → 755.755.4019a58c559467fc96a2.js} +1 -1
- package/dist/{8.17fb5c725550f75ede773e6c9c1c4e98.js.map → 8.5394062b4834c8f5d05d079dfd31f253.js.map} +1 -1
- package/dist/{8.8.e7a4de87cab57fe7a372.js → 8.8.d285f4a8b840df057507.js} +2 -2
- package/dist/{811.811.e06ed6553bb42d517af2.js → 811.811.210e2b88a5c17879770d.js} +42 -42
- package/dist/811.e660e002913f5f2730952330f5ae4663.js.map +1 -0
- package/dist/{designSystemConfigurator.8e1b603e39fa001abf2a35c5ecc451e8.js.map → designSystemConfigurator.ffacead2c792aa319d621af42937125c.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.758ad633e3baa933351b.js → main.70c8356165aff8724846.js} +2 -2
- package/dist/{main.5aac18e91bc5350f0ef7963255cf7a3c.js.map → main.d5ca05916d4f8e3a446c940eb66b45e5.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/300.8d5066831a2c43923ef041f4e861aa23.js.map +0 -1
- package/dist/811.ccc487ba3c1057282136f39a98ae9807.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[811],{9107:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>um,ColorToken:()=>bm,ColorTokens:()=>xm,DesignSystemEditor:()=>em,DesignSystemExport:()=>dm,DesignSystemPreview:()=>Am,EventName:()=>Gh,PreviewComponents:()=>lm,PreviewForm:()=>Lm,PreviewGrid:()=>jm,TypographyTokens:()=>Sm,defaultBodyFont:()=>Hh,fontFamilies:()=>_h});var t={};r.r(t),r.d(t,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultErrorColor:()=>Se,defaultSuccessColor:()=>Ae,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Ce,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,successColor:()=>Fe,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Te,baseLayerLuminanceValue:()=>De,bodyFontValue:()=>Ue,controlCornerRadiusValue:()=>Me,densityValue:()=>Ie,designTokens:()=>Ve,designUnitValue:()=>je,directionValue:()=>Ne,neutralPaletteValue:()=>Oe,strokeWidthValue:()=>Le,typeRampBaseFontSizeValue:()=>_e,typeRampBaseLineHeightValue:()=>He});var i={};r.r(i),r.d(i,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,buyColor:()=>Yg,controlCornerRadius:()=>m.controlCornerRadius,defaultBuyColor:()=>Vg,defaultErrorColor:()=>Ig,defaultSellColor:()=>Wg,defaultSuccessColor:()=>Pg,defaultWarningColor:()=>Ug,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>jg,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,sellColor:()=>qg,strokeWidth:()=>m.strokeWidth,successColor:()=>Bg,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,warningColor:()=>_g});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>as,accentFillFocusDeltaValue:()=>rs,accentFillHoverDeltaValue:()=>es,accentFillRestDeltaValue:()=>Xg,accentForegroundActiveDeltaValue:()=>is,accentForegroundFocusDeltaValue:()=>ns,accentForegroundHoverDeltaValue:()=>os,accentForegroundRestDeltaValue:()=>ts,accentPaletteValue:()=>Jg,baseHeightMultiplierValue:()=>Ls,baseLayerLuminanceValue:()=>Kg,bodyFontValue:()=>Es,controlCornerRadiusValue:()=>Ms,densityValue:()=>Is,designTokens:()=>td,designUnitValue:()=>js,directionValue:()=>Os,disabledOpacityValue:()=>Ds,focusStrokeWidthValue:()=>Ns,neutralFillActiveDeltaValue:()=>ss,neutralFillFocusDeltaValue:()=>ds,neutralFillHoverDeltaValue:()=>gs,neutralFillInputActiveDeltaValue:()=>us,neutralFillInputFocusDeltaValue:()=>hs,neutralFillInputHoverDeltaValue:()=>ps,neutralFillInputRestDeltaValue:()=>cs,neutralFillLayerRestDeltaValue:()=>zs,neutralFillRestDeltaValue:()=>ls,neutralFillStealthActiveDeltaValue:()=>vs,neutralFillStealthFocusDeltaValue:()=>fs,neutralFillStealthHoverDeltaValue:()=>bs,neutralFillStealthRestDeltaValue:()=>ms,neutralFillStrongActiveDeltaValue:()=>xs,neutralFillStrongFocusDeltaValue:()=>ks,neutralFillStrongHoverDeltaValue:()=>ys,neutralFillStrongRestDeltaValue:()=>ws,neutralPaletteValue:()=>Zg,neutralStrokeActiveDeltaValue:()=>$s,neutralStrokeDividerRestDeltaValue:()=>Fs,neutralStrokeFocusDeltaValue:()=>As,neutralStrokeHoverDeltaValue:()=>Cs,neutralStrokeRestDeltaValue:()=>Ss,prefix:()=>Ts,strokeWidthValue:()=>Rs,typeRampBaseFontSizeValue:()=>Ps,typeRampBaseLineHeightValue:()=>Bs,typeRampMinus1FontSizeValue:()=>Gs,typeRampMinus1LineHeightValue:()=>Us,typeRampMinus2FontSizeValue:()=>_s,typeRampMinus2LineHeightValue:()=>Hs,typeRampPlus1FontSizeValue:()=>Vs,typeRampPlus1LineHeightValue:()=>Ys,typeRampPlus2FontSizeValue:()=>Qs,typeRampPlus2LineHeightValue:()=>Ws,typeRampPlus3FontSizeValue:()=>qs,typeRampPlus3LineHeightValue:()=>Js,typeRampPlus4FontSizeValue:()=>Zs,typeRampPlus4LineHeightValue:()=>Ks,typeRampPlus5FontSizeValue:()=>Xs,typeRampPlus5LineHeightValue:()=>ed,typeRampPlus6FontSizeValue:()=>ad,typeRampPlus6LineHeightValue:()=>rd});var l=r(39630),g=r(92592),s=r(66526),d=r(86776),c=r.n(d),p=r(60724),u=r(79292),h=r(99667),m=r(41663),b=r(67973);const v=u.css`
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[811],{9107:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>um,ColorToken:()=>bm,ColorTokens:()=>xm,DesignSystemEditor:()=>em,DesignSystemExport:()=>dm,DesignSystemPreview:()=>Am,EventName:()=>Gh,PreviewComponents:()=>lm,PreviewForm:()=>Lm,PreviewGrid:()=>jm,TypographyTokens:()=>Sm,defaultBodyFont:()=>Hh,fontFamilies:()=>_h});var t={};r.r(t),r.d(t,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultErrorColor:()=>Se,defaultSuccessColor:()=>Ae,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Ce,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,successColor:()=>Fe,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Oe,baseLayerLuminanceValue:()=>De,bodyFontValue:()=>Ue,controlCornerRadiusValue:()=>Me,densityValue:()=>Ie,designTokens:()=>Ve,designUnitValue:()=>je,directionValue:()=>Ne,neutralPaletteValue:()=>Te,strokeWidthValue:()=>Le,typeRampBaseFontSizeValue:()=>_e,typeRampBaseLineHeightValue:()=>He});var i={};r.r(i),r.d(i,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,buyColor:()=>Yg,controlCornerRadius:()=>m.controlCornerRadius,defaultBuyColor:()=>Vg,defaultErrorColor:()=>Ig,defaultSellColor:()=>Wg,defaultSuccessColor:()=>Pg,defaultWarningColor:()=>Ug,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>jg,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,sellColor:()=>qg,strokeWidth:()=>m.strokeWidth,successColor:()=>Bg,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,warningColor:()=>_g});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>as,accentFillFocusDeltaValue:()=>rs,accentFillHoverDeltaValue:()=>es,accentFillRestDeltaValue:()=>Xg,accentForegroundActiveDeltaValue:()=>is,accentForegroundFocusDeltaValue:()=>ns,accentForegroundHoverDeltaValue:()=>os,accentForegroundRestDeltaValue:()=>ts,accentPaletteValue:()=>Jg,baseHeightMultiplierValue:()=>Ls,baseLayerLuminanceValue:()=>Kg,bodyFontValue:()=>Es,controlCornerRadiusValue:()=>Ms,densityValue:()=>Is,designTokens:()=>td,designUnitValue:()=>js,directionValue:()=>Ts,disabledOpacityValue:()=>Ds,focusStrokeWidthValue:()=>Ns,neutralFillActiveDeltaValue:()=>ss,neutralFillFocusDeltaValue:()=>ds,neutralFillHoverDeltaValue:()=>gs,neutralFillInputActiveDeltaValue:()=>us,neutralFillInputFocusDeltaValue:()=>hs,neutralFillInputHoverDeltaValue:()=>ps,neutralFillInputRestDeltaValue:()=>cs,neutralFillLayerRestDeltaValue:()=>zs,neutralFillRestDeltaValue:()=>ls,neutralFillStealthActiveDeltaValue:()=>vs,neutralFillStealthFocusDeltaValue:()=>fs,neutralFillStealthHoverDeltaValue:()=>bs,neutralFillStealthRestDeltaValue:()=>ms,neutralFillStrongActiveDeltaValue:()=>xs,neutralFillStrongFocusDeltaValue:()=>ks,neutralFillStrongHoverDeltaValue:()=>ys,neutralFillStrongRestDeltaValue:()=>ws,neutralPaletteValue:()=>Zg,neutralStrokeActiveDeltaValue:()=>$s,neutralStrokeDividerRestDeltaValue:()=>Fs,neutralStrokeFocusDeltaValue:()=>As,neutralStrokeHoverDeltaValue:()=>Cs,neutralStrokeRestDeltaValue:()=>Ss,prefix:()=>Os,strokeWidthValue:()=>Rs,typeRampBaseFontSizeValue:()=>Ps,typeRampBaseLineHeightValue:()=>Bs,typeRampMinus1FontSizeValue:()=>Gs,typeRampMinus1LineHeightValue:()=>Us,typeRampMinus2FontSizeValue:()=>_s,typeRampMinus2LineHeightValue:()=>Hs,typeRampPlus1FontSizeValue:()=>Vs,typeRampPlus1LineHeightValue:()=>Ys,typeRampPlus2FontSizeValue:()=>Qs,typeRampPlus2LineHeightValue:()=>Ws,typeRampPlus3FontSizeValue:()=>qs,typeRampPlus3LineHeightValue:()=>Js,typeRampPlus4FontSizeValue:()=>Zs,typeRampPlus4LineHeightValue:()=>Ks,typeRampPlus5FontSizeValue:()=>Xs,typeRampPlus5LineHeightValue:()=>ed,typeRampPlus6FontSizeValue:()=>ad,typeRampPlus6LineHeightValue:()=>rd});var l=r(4362),g=r(92592),s=r(66526),d=r(86776),c=r.n(d),p=r(60724),u=r(79292),h=r(99667),m=r(41663),b=r(67973);const v=u.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${m.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
background: ${b.H.Canvas};
|
|
51
51
|
border-color: ${b.H.CanvasText};
|
|
52
52
|
}
|
|
53
|
-
`)),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var w=r(
|
|
53
|
+
`)),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var w=r(24817);const y=(0,w.createLogger)("foundation-form"),x=u.html`
|
|
54
54
|
<template>
|
|
55
55
|
${(0,u.when)((e=>!1),u.html`
|
|
56
56
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
</div>
|
|
178
178
|
`)}
|
|
179
179
|
</template>
|
|
180
|
-
`,
|
|
180
|
+
`,O=u.css`
|
|
181
181
|
.wrapperRoot {
|
|
182
182
|
margin-bottom: calc(var(--design-unit) * 4px);
|
|
183
183
|
}
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
width: 100%;
|
|
201
201
|
align-items: center;
|
|
202
202
|
}
|
|
203
|
-
`;let
|
|
203
|
+
`;let T=class extends u.FASTElement{get showDescription(){return!(0,p.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,p.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([u.observable],T.prototype,"control",void 0),(0,g.__decorate)([u.observable],T.prototype,"touched",void 0),(0,g.__decorate)([u.volatile],T.prototype,"showDescription",null),(0,g.__decorate)([u.volatile],T.prototype,"computedLabel",null),T=(0,g.__decorate)([(0,u.customElement)({name:"control-wrapper",styles:O,template:F})],T);var D=r(80340),R=r.n(D);const N=u.html`
|
|
204
204
|
<template>${e=>e.determinedRenderer.renderer}</template>
|
|
205
205
|
`,L=u.css``;let M=class extends u.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,p.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t,o)=>{var i;const n=Object.assign({},t({jsonforms:a},e)),l=null===(i=o||p.AZl)||void 0===i?void 0:i(r);return Object.assign(Object.assign({},n),l)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper,this.determinedRenderer.dispatchMapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=R()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(y.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([u.observable],M.prototype,"jsonforms",void 0),(0,g.__decorate)([u.observable],M.prototype,"props",void 0),(0,g.__decorate)([u.observable],M.prototype,"touched",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],M.prototype,"submitted",void 0),(0,g.__decorate)([u.observable],M.prototype,"dispatch",void 0),(0,g.__decorate)([u.observable],M.prototype,"control",void 0),(0,g.__decorate)([u.observable],M.prototype,"renderer",void 0),(0,g.__decorate)([u.observable],M.prototype,"prefix",void 0),M=(0,g.__decorate)([(0,u.customElement)({name:"dispatch-renderer",template:N,styles:L})],M);const I=u.css`
|
|
206
206
|
.tabs-container::part(stepper-panel-container) {
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
</control-wrapper>
|
|
289
289
|
</template>
|
|
290
290
|
`)(e.prefix)}
|
|
291
|
-
`,tester:(0,p.yMz)(3,P),mapper:p.xq9};var G=r(
|
|
291
|
+
`,tester:(0,p.yMz)(3,P),mapper:p.xq9};var G=r(1556);const U=e=>a=>{if(!a||!(0,p.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},_=(0,p.xDy)(U("allOptionsResourceName"),(0,p.or)((0,p.wcO)((e=>(0,p.ndu)(e,"array"))),(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,p.ndu)(e,"array")))))));G.MultiselectDatasource;const H={renderer:u.html`
|
|
292
292
|
${e=>((e="zero")=>u.html`
|
|
293
293
|
<template>
|
|
294
294
|
<control-wrapper
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
</control-wrapper>
|
|
557
557
|
</template>
|
|
558
558
|
`)(e.prefix)}
|
|
559
|
-
`,ue={renderer:pe,tester:(0,p.yMz)(2,p.Wdb),mapper:p.xq9},he=[{renderer:pe,tester:(0,p.yMz)(1,p.DRl),mapper:p.xq9},ue,B,ee,ae,re,te,ne,oe,ie,se,H,J,V,W,Z];let me=class extends h.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=he,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(c())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,y.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield u.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(y.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){y.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,u.attr)({attribute:"design-system-prefix"})],me.prototype,"prefix",void 0),(0,g.__decorate)([u.attr],me.prototype,"resourceName",void 0),(0,g.__decorate)([u.observable],me.prototype,"uischema",void 0),(0,g.__decorate)([u.observable],me.prototype,"renderers",void 0),(0,g.__decorate)([u.observable],me.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],me.prototype,"connect",void 0),(0,g.__decorate)([u.observable],me.prototype,"data",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitting",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitted",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],me.prototype,"readonly",void 0),(0,g.__decorate)([(0,u.attr)({attribute:"hide-submit-button",mode:"boolean"})],me.prototype,"hideSubmit",void 0),(0,g.__decorate)([u.volatile],me.prototype,"isSubmitHidden",null),me=(0,g.__decorate)([(0,u.customElement)({name:"foundation-form",template:E,styles:v})],me);var be,ve,fe,we,ye,xe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(be||(be={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ve||(ve={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(fe||(fe={})),function(e){e.grey="#7c909b"}(we||(we={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ye||(ye={}));const{create:ke}=h.DesignToken,ze=(0,xe.parseColorHexRGB)(be.error),Se=m.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=ke("error-color").withDefault(Se),$e=(0,xe.parseColorHexRGB)(be.success),Ae=m.SwatchRGB.create($e.r,$e.g,$e.b),Fe=ke("success-color").withDefault(Ae),
|
|
559
|
+
`,ue={renderer:pe,tester:(0,p.yMz)(2,p.Wdb),mapper:p.xq9},he=[{renderer:pe,tester:(0,p.yMz)(1,p.DRl),mapper:p.xq9},ue,B,ee,ae,re,te,ne,oe,ie,se,H,J,V,W,Z];let me=class extends h.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=he,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(c())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,y.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield u.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(y.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){y.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,u.attr)({attribute:"design-system-prefix"})],me.prototype,"prefix",void 0),(0,g.__decorate)([u.attr],me.prototype,"resourceName",void 0),(0,g.__decorate)([u.observable],me.prototype,"uischema",void 0),(0,g.__decorate)([u.observable],me.prototype,"renderers",void 0),(0,g.__decorate)([u.observable],me.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],me.prototype,"connect",void 0),(0,g.__decorate)([u.observable],me.prototype,"data",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitting",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitted",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],me.prototype,"readonly",void 0),(0,g.__decorate)([(0,u.attr)({attribute:"hide-submit-button",mode:"boolean"})],me.prototype,"hideSubmit",void 0),(0,g.__decorate)([u.volatile],me.prototype,"isSubmitHidden",null),me=(0,g.__decorate)([(0,u.customElement)({name:"foundation-form",template:E,styles:v})],me);var be,ve,fe,we,ye,xe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(be||(be={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ve||(ve={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(fe||(fe={})),function(e){e.grey="#7c909b"}(we||(we={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ye||(ye={}));const{create:ke}=h.DesignToken,ze=(0,xe.parseColorHexRGB)(be.error),Se=m.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=ke("error-color").withDefault(Se),$e=(0,xe.parseColorHexRGB)(be.success),Ae=m.SwatchRGB.create($e.r,$e.g,$e.b),Fe=ke("success-color").withDefault(Ae),Oe=(0,G.paletteFromHex)(ve.blue),Te=(0,G.paletteFromHex)(we.grey),De=m.StandardLuminance.DarkMode;var Re=r(5598);const Ne=Re.N.ltr,Le=m.strokeWidth.getValueFor(m.strokeWidth.appliedTo[0]),Me=4,Ie=m.density.getValueFor(m.density.appliedTo[0]),je=4;var Ee=r(47823);const Pe=()=>{(0,Ee.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},Be='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ge=(e=Ee.Hd.Normal,a=Ee.U9.Regular)=>(0,Ee.py)(Be,e,a),Ue=Be,_e=m.typeRampBaseFontSize.getValueFor(m.typeRampBaseFontSize.appliedTo[0]),He=m.typeRampBaseLineHeight.getValueFor(m.typeRampBaseLineHeight.appliedTo[0]),Ve={design_tokens:{color:{accent:{$value:Oe.source.toColorString(),$type:"color"},neutral:{$value:Te.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ue,$type:"fontFamily"}},typography:{baseFontSize:{$value:_e,$type:"dimension"},baseLineHeight:{$value:He,$type:"dimension"}},mode:{luminance:{$value:De,$type:"number"}},style:{density:{$value:Ie,$type:"number"},borderRadius:{$value:Me,$type:"number"},strokeWidth:{$value:Le,$type:"number"}},space:{designUnit:{$value:je,$type:"number"}}}};class Ye extends G.Accordion{}const Qe=Ye.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
560
560
|
${(0,G.foundationAccordionStyles)(e,a)}
|
|
561
561
|
`,shadowOptions:G.foundationAccordionShadowOptions},G.defaultAccordionConfig));class We extends G.AccordionItem{}const qe=We.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,G.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
562
562
|
${(0,G.foundationAccordionItemStyles)(e,a)};
|
|
@@ -788,17 +788,17 @@
|
|
|
788
788
|
border: 1px solid ${pa(va)};
|
|
789
789
|
color: ${ea(wa)};
|
|
790
790
|
}
|
|
791
|
-
`,
|
|
791
|
+
`,Oa=(e,a)=>u.css`
|
|
792
792
|
${(0,G.foundationButtonStyles)(e,a)}
|
|
793
793
|
${u.css`
|
|
794
794
|
:host {
|
|
795
795
|
margin: 5px;
|
|
796
796
|
}
|
|
797
797
|
`}
|
|
798
|
-
`.withBehaviors(ba("primary-blue",ya),ba("primary-purple",xa),ba("primary-gradient",ka),ba("secondary-orange",za),ba("secondary-teal",Sa),ba("neutral-grey",Ca),ba("outline-primary-gradient",$a),ba("outline-secondary-orange",Aa),ba("outline-secondary-teal",Fa));class
|
|
798
|
+
`.withBehaviors(ba("primary-blue",ya),ba("primary-purple",xa),ba("primary-gradient",ka),ba("secondary-orange",za),ba("secondary-teal",Sa),ba("neutral-grey",Ca),ba("outline-primary-gradient",$a),ba("outline-secondary-orange",Aa),ba("outline-secondary-teal",Fa));class Ta extends G.Anchor{}const Da=Ta.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
|
|
799
799
|
${(0,G.foundationAnchorStyles)(e,a)}
|
|
800
|
-
${
|
|
801
|
-
`.withBehaviors(...
|
|
800
|
+
${Oa(e,a)}
|
|
801
|
+
`.withBehaviors(...Oa(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class Ra extends G.AnchoredRegion{}const Na=Ra.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
802
802
|
${(0,G.foundationAnchoredRegionStyles)(e,a)}
|
|
803
803
|
`,shadowOptions:G.foundationAnchoredRegionShadowOptions},G.defaultAnchoredRegionConfig));class La extends G.Avatar{}const Ma=La.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,G.foundationAvatarTemplate)(e,a),styles:(e,a)=>u.css`
|
|
804
804
|
${(0,G.foundationAvatarStyles)(e,a)}
|
|
@@ -834,7 +834,7 @@
|
|
|
834
834
|
.separator {
|
|
835
835
|
color: var(--neutral-stroke-rest);
|
|
836
836
|
}
|
|
837
|
-
`,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Ya extends G.Button{}const Qa=Ya.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:
|
|
837
|
+
`,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Ya extends G.Button{}const Qa=Ya.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:Oa,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Wa extends G.Calendar{}const qa=Wa.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
|
|
838
838
|
${(0,G.foundationCalendarStyles)()}
|
|
839
839
|
`,shadowOptions:G.foundationCalendarShadowOptions},G.defaultCalendarConfig));class Ja extends G.Card{}const Za=Ja.compose(Object.assign({baseName:"card",template:(e,a)=>(0,G.foundationCardTemplate)(e,a),styles:(e,a)=>u.css`
|
|
840
840
|
${(0,G.foundationCardStyles)(e,a)}
|
|
@@ -986,12 +986,12 @@
|
|
|
986
986
|
.date-toggle::part(end) {
|
|
987
987
|
margin-inline-end: 4px;
|
|
988
988
|
}
|
|
989
|
-
`,shadowOptions:undefined},{}));var Fr=r(37068);Pe();const
|
|
989
|
+
`,shadowOptions:undefined},{}));var Fr=r(37068);Pe();const Or=u.css`
|
|
990
990
|
${(0,h.display)("flex")}
|
|
991
991
|
:host {
|
|
992
992
|
flex: 1;
|
|
993
993
|
}
|
|
994
|
-
`,
|
|
994
|
+
`,Tr=u.css`
|
|
995
995
|
:host {
|
|
996
996
|
background-color: ${m.neutralFillStealthActive};
|
|
997
997
|
}
|
|
@@ -1018,8 +1018,8 @@
|
|
|
1018
1018
|
${Dr(e,"5","2")}
|
|
1019
1019
|
${Dr(e,"6","1")}
|
|
1020
1020
|
`)(e);return a.addStylesTo(document),u.css`
|
|
1021
|
-
${Tr}
|
|
1022
1021
|
${Or}
|
|
1022
|
+
${Tr}
|
|
1023
1023
|
${a}
|
|
1024
1024
|
:host * {
|
|
1025
1025
|
color: ${m.neutralForegroundRest};
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
}
|
|
1191
1191
|
`,wt=u.html`
|
|
1192
1192
|
${(0,G.getPrefixedFlyout)("zero")}
|
|
1193
|
-
`,yt=G.defaultFlyoutConfig,xt=G.foundationFlyoutShadowOptions;class kt extends G.Flyout{}const zt=kt.compose(Object.assign({baseName:"flyout",shadowOptions:xt,styles:ft,template:wt},yt));class St extends G.GridLayout{}const Ct=St.compose(Object.assign({baseName:"grid-layout",shadowOptions:G.foundationGridLayoutShadowOptions,styles:G.foundationGridLayoutStyles,template:G.foundationGridLayoutTemplate},G.defaultGridLayoutConfig));class $t extends G.GridLayoutItem{}const At=$t.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:G.foundationGridLayoutItemShadowOptions,template:G.foundationGridLayoutItemTemplate},G.defaultGridLayoutItemConfig));class Ft extends G.HorizontalScroll{}const
|
|
1193
|
+
`,yt=G.defaultFlyoutConfig,xt=G.foundationFlyoutShadowOptions;class kt extends G.Flyout{}const zt=kt.compose(Object.assign({baseName:"flyout",shadowOptions:xt,styles:ft,template:wt},yt));class St extends G.GridLayout{}const Ct=St.compose(Object.assign({baseName:"grid-layout",shadowOptions:G.foundationGridLayoutShadowOptions,styles:G.foundationGridLayoutStyles,template:G.foundationGridLayoutTemplate},G.defaultGridLayoutConfig));class $t extends G.GridLayoutItem{}const At=$t.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:G.foundationGridLayoutItemShadowOptions,template:G.foundationGridLayoutItemTemplate},G.defaultGridLayoutItemConfig));class Ft extends G.HorizontalScroll{}const Ot={nextFlipper:u.html`
|
|
1194
1194
|
<zero-flipper
|
|
1195
1195
|
@click="${e=>e.scrollToNext()}"
|
|
1196
1196
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -1201,9 +1201,9 @@
|
|
|
1201
1201
|
direction="previous"
|
|
1202
1202
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
1203
1203
|
></zero-flipper>
|
|
1204
|
-
`},
|
|
1204
|
+
`},Tt=Ft.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1205
1205
|
${(0,G.foundationHorizontalScrollStyles)(e,a)}
|
|
1206
|
-
`,shadowOptions:G.foundationHorizontalScrollShadowOptions},
|
|
1206
|
+
`,shadowOptions:G.foundationHorizontalScrollShadowOptions},Ot));class Dt extends G.Icon{}const Rt=G.defaultIconConfig,Nt=G.foundationIconShadowOptions,Lt=Dt.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
|
|
1207
1207
|
${(0,G.foundationIconStyles)(e,a)}
|
|
1208
1208
|
`,shadowOptions:Nt},Rt));class Mt extends G.Listbox{}const It=Mt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,G.foundationListboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1209
1209
|
${(0,G.foundationListboxStyles)(e,a)}
|
|
@@ -1523,7 +1523,7 @@
|
|
|
1523
1523
|
border-color: transparent;
|
|
1524
1524
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
1525
1525
|
}
|
|
1526
|
-
`,shadowOptions:undefined},{}));class
|
|
1526
|
+
`,shadowOptions:undefined},{}));class Oo extends G.Radio{}const To=Oo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1527
1527
|
${(0,G.foundationSegmentedItemStyles)(e,a)}
|
|
1528
1528
|
:host {
|
|
1529
1529
|
color: var(--neutral-stroke-rest);
|
|
@@ -1916,7 +1916,7 @@
|
|
|
1916
1916
|
${(0,G.foundationTreeViewStyles)(e,a)}
|
|
1917
1917
|
`,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),$i=u.html`
|
|
1918
1918
|
${(0,G.getPrefixedUrlInput)("zero")}
|
|
1919
|
-
`;class Ai extends G.UrlInput{}const Fi={zeroAccordion:Qe,zeroAccordionItem:qe,zeroActionsMenu:Ze,zeroAnchor:Da,zeroAnchoredRegion:Na,zeroAvatar:Ma,zeroBadge:ja,zeroBanner:Ga,zeroBreadcrumbItem:Va,zeroBreadcrumb:_a,zeroButton:Qa,zeroCalendar:qa,zeroCard:Za,zeroCategorizedMultiselect:tr,zeroCheckbox:ir,zeroCombobox:fr,zeroConnectionIndicator:yr,zeroDataGrid:Sr,zeroDesignSystemProvider:Nr,zeroDialog:Gr,zeroDatePicker:Ar,zeroDisclosure:_r,zeroDivider:Vr,zeroDropdownMenu:Qr,zeroErrorBoundary:Xr,zeroNotificationListener:oo,zeroErrorBanner:Zr,zeroErrorDialog:at,zeroFileUpload:lt,zeroFilter:dt,zeroFilterBar:ut,zeroFlexLayout:mt,zeroFlipper:vt,zeroFlyout:zt,zeroGridLayout:Ct,zeroGridLayoutItem:At,zeroHorizontalScroll:
|
|
1919
|
+
`;class Ai extends G.UrlInput{}const Fi={zeroAccordion:Qe,zeroAccordionItem:qe,zeroActionsMenu:Ze,zeroAnchor:Da,zeroAnchoredRegion:Na,zeroAvatar:Ma,zeroBadge:ja,zeroBanner:Ga,zeroBreadcrumbItem:Va,zeroBreadcrumb:_a,zeroButton:Qa,zeroCalendar:qa,zeroCard:Za,zeroCategorizedMultiselect:tr,zeroCheckbox:ir,zeroCombobox:fr,zeroConnectionIndicator:yr,zeroDataGrid:Sr,zeroDesignSystemProvider:Nr,zeroDialog:Gr,zeroDatePicker:Ar,zeroDisclosure:_r,zeroDivider:Vr,zeroDropdownMenu:Qr,zeroErrorBoundary:Xr,zeroNotificationListener:oo,zeroErrorBanner:Zr,zeroErrorDialog:at,zeroFileUpload:lt,zeroFilter:dt,zeroFilterBar:ut,zeroFlexLayout:mt,zeroFlipper:vt,zeroFlyout:zt,zeroGridLayout:Ct,zeroGridLayoutItem:At,zeroHorizontalScroll:Tt,zeroIcon:Lt,zeroListbox:It,zeroListboxOption:Et,zeroMenu:Gt,zeroMenuItem:Ht,zeroModal:Jt,zeroMultiselect:ro,zeroNumberField:co,zeroProgress:uo,zeroProgressRing:bo,zeroRadio:fo,zeroRadioGroup:yo,zeroSearchBar:So,zeroSearchBarCombobox:$o,zeroSegmentedControl:Fo,zeroSegmentedItem:To,zeroSelect:Ro,zeroSkeleton:Lo,zeroSlider:Io,zeroSliderLabel:Eo,zeroSnackbar:_o,zeroStackingIcons:Vo,zeroStepper:qo,zeroStepperTab:Ko,zeroStepperTabPanel:ei,zeroSwitch:ri,zeroTab:oi,zeroTabPanel:ni,zeroTabs:gi,zeroTextArea:di,zeroTextField:pi,zeroToast:vi,zeroToolbar:wi,zeroTooltip:xi,zeroTreeItem:zi,zeroTreeView:Ci,zeroUrlInput:Ai.compose(Object.assign({baseName:"url-input",template:$i,styles:(e,a)=>u.css`
|
|
1920
1920
|
${(0,G.foundationUrlInputStyles)(e,a)}
|
|
1921
1921
|
a {
|
|
1922
1922
|
color: ${ve.blue};
|
|
@@ -1926,7 +1926,7 @@
|
|
|
1926
1926
|
a:hover {
|
|
1927
1927
|
opacity: 100%;
|
|
1928
1928
|
}
|
|
1929
|
-
`,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ti,
|
|
1929
|
+
`,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Oi,Ti,Di=r(80249),Ri=r(87530),Ni=r.n(Ri),Li=r(79014),Mi=r.n(Li);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Oi||(Oi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Ti||(Ti={}));const Ii=e=>`${e}-token-map`,ji=(e,a)=>u.css`
|
|
1930
1930
|
.${Ii(e)} {
|
|
1931
1931
|
${new G.CSSVarsTokenMapper(a)}
|
|
1932
1932
|
}
|
|
@@ -2011,7 +2011,7 @@
|
|
|
2011
2011
|
`,zn=(e="foundation")=>u.html`
|
|
2012
2012
|
<span>${e=>e.valueFormatted}</span>
|
|
2013
2013
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
2014
|
-
`,Sn=xn.compose({baseName:"editable-renderer",styles:kn,template:zn()});class Cn extends xn{}const $n=Cn.compose({baseName:"editable-renderer",styles:kn,template:zn("zero")});var An=r(59783);const Fn=(0,w.createLogger)("grid-pro");class
|
|
2014
|
+
`,Sn=xn.compose({baseName:"editable-renderer",styles:kn,template:zn()});class Cn extends xn{}const $n=Cn.compose({baseName:"editable-renderer",styles:kn,template:zn("zero")});var An=r(59783);const Fn=(0,w.createLogger)("grid-pro");class On extends h.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===An.VDZ.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Fn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Di.__decorate)([u.observable],On.prototype,"params",void 0),(0,Di.__decorate)([u.observable],On.prototype,"pendingAction",void 0);const{create:Tn}=h.DesignToken,Dn=(Tn("action-height-multiplier").withDefault("0.6px"),u.css`
|
|
2015
2015
|
.action-container {
|
|
2016
2016
|
align-items: center;
|
|
2017
2017
|
display: flex;
|
|
@@ -2026,7 +2026,7 @@
|
|
|
2026
2026
|
var(--action-height-multiplier)
|
|
2027
2027
|
);
|
|
2028
2028
|
}
|
|
2029
|
-
`),Rn=
|
|
2029
|
+
`),Rn=On.compose({baseName:"grid-pro-action-renderer",styles:u.css`
|
|
2030
2030
|
${Dn}
|
|
2031
2031
|
`,template:u.html`
|
|
2032
2032
|
<div class="action-container" part="action-container">
|
|
@@ -2037,7 +2037,7 @@
|
|
|
2037
2037
|
?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
|
|
2038
2038
|
appearance="${e=>e.params.appearance}"
|
|
2039
2039
|
@click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
|
|
2040
|
-
</div>`});class Nn extends
|
|
2040
|
+
</div>`});class Nn extends On{}const Ln=Nn.compose({baseName:"grid-pro-action-renderer",styles:u.css`
|
|
2041
2041
|
${Dn}
|
|
2042
2042
|
`,template:u.html`
|
|
2043
2043
|
<div class="action-container" part="action-container">
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2121
2121
|
`)}
|
|
2122
2122
|
</${a}>
|
|
2123
|
-
`},il=rl.compose({baseName:"select-renderer",styles:tl,template:ol()});const nl=class extends rl{}.compose({baseName:"select-renderer",styles:tl,template:ol("zero")});var ll=r(89861),gl=r(86534),sl=r(9492);const dl=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,sl.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key&&!((0,sl.__classPrivateFieldGet)(this,r,"f").dragging||!(0,sl.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,sl.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,sl.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,sl.__classPrivateFieldGet)(this,o,"f")&&((0,sl.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,sl.__classPrivateFieldGet)(this,r,"f").dragging||!(0,sl.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,sl.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key&&(0,sl.__classPrivateFieldSet)(this,r,(0,sl.__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,sl.__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,sl.__classPrivateFieldGet)(this,t,"f")!==(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,sl.__classPrivateFieldSet)(this,t,null!==(a=(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,sl.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,sl.__classPrivateFieldSet)(this,n
|
|
2123
|
+
`},il=rl.compose({baseName:"select-renderer",styles:tl,template:ol()});const nl=class extends rl{}.compose({baseName:"select-renderer",styles:tl,template:ol("zero")});var ll=r(89861),gl=r(86534),sl=r(9492);const dl=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,sl.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key&&!((0,sl.__classPrivateFieldGet)(this,r,"f").dragging||!(0,sl.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,sl.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,sl.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,sl.__classPrivateFieldGet)(this,o,"f")&&((0,sl.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,sl.__classPrivateFieldGet)(this,r,"f").dragging||!(0,sl.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,sl.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key&&(0,sl.__classPrivateFieldSet)(this,r,(0,sl.__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,sl.__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,sl.__classPrivateFieldGet)(this,t,"f")!==(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,sl.__classPrivateFieldSet)(this,t,null!==(a=(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,sl.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,sl.__classPrivateFieldSet)(this,n,g,"f"),(0,sl.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,sl.__classPrivateFieldSet)(this,t,null!==(o=(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,sl.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[cl])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,sl.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},cl=Symbol("layout-cache-document");var pl=r(75951),ul=r(9770),hl=r(97025),ml=r(40001),bl=r.n(ml);const vl=u.html`
|
|
2124
2124
|
<template>
|
|
2125
2125
|
<slot ${(0,u.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2126
2126
|
</template>
|
|
@@ -2128,7 +2128,7 @@
|
|
|
2128
2128
|
<template>
|
|
2129
2129
|
<slot ${(0,u.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2130
2130
|
</template>
|
|
2131
|
-
`;let yl=class extends h.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,Di.__decorate)([u.observable],yl.prototype,"slottedAgCell",void 0),(0,Di.__decorate)([u.observable],yl.prototype,"definition",void 0),yl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-column",template:wl})],yl);var xl,kl=r(82940),zl=r(32449),Sl=r(9162),Cl=r(5127),$l=r(83123),Al=r(35991),Fl=r(6852),Tl=r(26714),Ol=r(2480),Dl=r(71452),Rl=r(99449),Nl=r(30526),Ll=r(61080);class Ml extends h.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=kl.WJ.MAX_ROWS_250,this.maxView=kl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?kl.WJ.REQUEST_SERVER_ROW_ID:kl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===kl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===kl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?kl.WJ.REQUEST_SERVER_ROW_ID:kl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,Di.__decorate)([s.lj],Ml.prototype,"connect",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"deferredGridOptions",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"deferredColumnStates",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"rowDataMapper",void 0),(0,Di.__decorate)([u.attr],Ml.prototype,"criteria",void 0),(0,Di.__decorate)([u.attr],Ml.prototype,"fields",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"is-snapshot"})],Ml.prototype,"isSnapshot",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"max-rows"})],Ml.prototype,"maxRows",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"max-view"})],Ml.prototype,"maxView",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"moving-view"})],Ml.prototype,"movingView",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"order-by"})],Ml.prototype,"orderBy",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"resource-name"})],Ml.prototype,"resourceName",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean"})],Ml.prototype,"reverse",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"row-id"})],Ml.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(xl||(xl={}));class Il extends Ml{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}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(){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());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},xl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},xl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},xl.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(xl)){if(!this.rowDataMapper)return e;const r={};return a.includes(xl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(xl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(xl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class jl{constructor(){this.rowData=new Map}}var El=r(21607);function Pl({value:e}){return(0,El.D_)(e)}function Bl({value:e}){return(0,El.Lx)(e)}let Gl=class extends(dl(Il)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=kl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Tl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,zl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.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;u.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}init(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);if(!e){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return Fn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===kl._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,Di.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Dl.T)(1),(0,Rl.b)(r),(0,Nl.b)((e=>Fn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Fn.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){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,this.update=new Tl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}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&&(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,Di.__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.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Fn.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 Fn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Ll.K)((e=>(this.handleErrors(e.receivedMessage),Ol.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Sl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Cl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Cl.$)(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 Fn.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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case $l.r.DATE:case $l.r.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}}}(e.type),e.type){case $l.r.STRING:r.cellEditor=Ei.stringEditor;break;case $l.r.NUMBER:r.cellEditor=Ei.numberEditor,r.filter="agNumberColumnFilter";break;case $l.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ei.boolean,r.cellEditor=Ei.boolean);break;case $l.r.DATE:r.valueFormatter=Pl,r.cellEditor=Ei.dateEditor,r.filter="agDateColumnFilter";break;case $l.r.DATETIME:r.valueFormatter=Bl,r.filter="agDateColumnFilter",r.cellEditor=Ei.dateEditor,r.cellEditorParams={withTime:!0};break;case $l.r.ENUM:e.enumOptions?(r.cellEditor=Ei.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Fn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));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,zl.p)(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,Di.__decorate)([Al.g],Gl.prototype,"auth",void 0),(0,Di.__decorate)([Fl.Yh],Gl.prototype,"datasource",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"polling-interval"})],Gl.prototype,"pollingInterval",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"disable-polling"})],Gl.prototype,"disablePolling",void 0),(0,Di.__decorate)([u.observable],Gl.prototype,"request",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Gl.prototype,"restartOnReconnection",void 0),Gl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-genesis-datasource"})],Gl);let Ul=class extends Gl{};Ul=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-client-side-datasource"})],Ul);var _l=r(66306),Hl=r(52078);function Vl(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 Yl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn";case"date":case"datetime":return"dateColumn";default:return null}}class Ql extends jl{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,Di.__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 Fn.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/"),Fn.debug("Available indexes:",a),Fn.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,Hl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Sl.Cs.LOGOFF_ACK||t===Sl.Cs.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,Cl.$)(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,Di.__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,Di.__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=>Fn.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,Di.__decorate)([Al.g],Ql.prototype,"auth",void 0),(0,Di.__decorate)([s.lj],Ql.prototype,"connect",void 0);let Wl=class extends(dl(Il)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,zl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Di.__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;u.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;u.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,Di.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Fn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,_l.C)(e);const a=(0,_l.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Ql({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});Fn.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));Fn.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 Fn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Di.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Sl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Cl.$)(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=>Fn.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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case $l.r.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 $l.r.DATE:case $l.r.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 $l.r.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"]}}}(e.type),e.type){case $l.r.NUMBER:r.cellEditor=Ei.numberEditor;break;case $l.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ei.boolean,r.cellEditor=Ei.boolean);break;case $l.r.DATE:r.valueFormatter=Pl;break;case $l.r.DATETIME:r.valueFormatter=Bl;break;case $l.r.ENUM:r.cellEditor=Ei.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Yl(e.type),filter:Vl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));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,Di.__decorate)([(0,u.attr)({mode:"boolean"})],Wl.prototype,"pagination",void 0),Wl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-server-side-datasource"})],Wl);const ql='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRW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sr+uF+bwiOA+zU2oE91TLEeIauP1xWe6rUM/pA81yOYpihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Jl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAA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HH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Zl={[Oi.alpine]:ql,[Oi.alpineDark]:ql,[Oi.balham]:Jl,[Oi.balhamDark]:Jl,[Oi.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+7l62hratnMRkZG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5yzRsklOnTtE0/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'},Kl=ql,Xl=u.css`
|
|
2131
|
+
`;let yl=class extends h.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,Di.__decorate)([u.observable],yl.prototype,"slottedAgCell",void 0),(0,Di.__decorate)([u.observable],yl.prototype,"definition",void 0),yl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-column",template:wl})],yl);var xl,kl=r(82940),zl=r(32449),Sl=r(9162),Cl=r(5127),$l=r(83123),Al=r(35991),Fl=r(6852),Ol=r(26714),Tl=r(2480),Dl=r(71452),Rl=r(99449),Nl=r(30526),Ll=r(61080);class Ml extends h.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=kl.WJ.MAX_ROWS_250,this.maxView=kl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?kl.WJ.REQUEST_SERVER_ROW_ID:kl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===kl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===kl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?kl.WJ.REQUEST_SERVER_ROW_ID:kl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,Di.__decorate)([s.lj],Ml.prototype,"connect",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"deferredGridOptions",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"deferredColumnStates",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"rowDataMapper",void 0),(0,Di.__decorate)([u.attr],Ml.prototype,"criteria",void 0),(0,Di.__decorate)([u.attr],Ml.prototype,"fields",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"is-snapshot"})],Ml.prototype,"isSnapshot",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"max-rows"})],Ml.prototype,"maxRows",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"max-view"})],Ml.prototype,"maxView",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"moving-view"})],Ml.prototype,"movingView",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"order-by"})],Ml.prototype,"orderBy",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"resource-name"})],Ml.prototype,"resourceName",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean"})],Ml.prototype,"reverse",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"row-id"})],Ml.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(xl||(xl={}));class Il extends Ml{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}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(){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());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},xl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},xl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},xl.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(xl)){if(!this.rowDataMapper)return e;const r={};return a.includes(xl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(xl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(xl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class jl{constructor(){this.rowData=new Map}}var El=r(21607);function Pl({value:e}){return(0,El.D_)(e)}function Bl({value:e}){return(0,El.Lx)(e)}let Gl=class extends(dl(Il)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=kl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Ol.X(new Map)}criteriaChanged(e,a){const r=e!==(0,zl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.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;u.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}init(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);if(!e){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return Fn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===kl._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,Di.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Dl.T)(1),(0,Rl.b)(r),(0,Nl.b)((e=>Fn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Fn.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){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,this.update=new Ol.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}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&&(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,Di.__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.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Fn.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 Fn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Ll.K)((e=>(this.handleErrors(e.receivedMessage),Tl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Sl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Cl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Cl.$)(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 Fn.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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case $l.r.DATE:case $l.r.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}}}(e.type),e.type){case $l.r.STRING:r.cellEditor=Ei.stringEditor;break;case $l.r.NUMBER:r.cellEditor=Ei.numberEditor,r.filter="agNumberColumnFilter";break;case $l.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ei.boolean,r.cellEditor=Ei.boolean);break;case $l.r.DATE:r.valueFormatter=Pl,r.cellEditor=Ei.dateEditor,r.filter="agDateColumnFilter";break;case $l.r.DATETIME:r.valueFormatter=Bl,r.filter="agDateColumnFilter",r.cellEditor=Ei.dateEditor,r.cellEditorParams={withTime:!0};break;case $l.r.ENUM:e.enumOptions?(r.cellEditor=Ei.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Fn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));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,zl.p)(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,Di.__decorate)([Al.g],Gl.prototype,"auth",void 0),(0,Di.__decorate)([Fl.Yh],Gl.prototype,"datasource",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"polling-interval"})],Gl.prototype,"pollingInterval",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"disable-polling"})],Gl.prototype,"disablePolling",void 0),(0,Di.__decorate)([u.observable],Gl.prototype,"request",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Gl.prototype,"restartOnReconnection",void 0),Gl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-genesis-datasource"})],Gl);let Ul=class extends Gl{};Ul=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-client-side-datasource"})],Ul);var _l=r(66306),Hl=r(52078);function Vl(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 Yl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn";case"date":case"datetime":return"dateColumn";default:return null}}class Ql extends jl{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,Di.__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 Fn.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/"),Fn.debug("Available indexes:",a),Fn.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,Hl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Sl.Cs.LOGOFF_ACK||t===Sl.Cs.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,Cl.$)(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,Di.__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,Di.__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=>Fn.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,Di.__decorate)([Al.g],Ql.prototype,"auth",void 0),(0,Di.__decorate)([s.lj],Ql.prototype,"connect",void 0);let Wl=class extends(dl(Il)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,zl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Di.__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;u.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;u.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,Di.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Fn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,_l.C)(e);const a=(0,_l.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Ql({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});Fn.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));Fn.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 Fn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Di.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Sl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Cl.$)(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=>Fn.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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case $l.r.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 $l.r.DATE:case $l.r.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 $l.r.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"]}}}(e.type),e.type){case $l.r.NUMBER:r.cellEditor=Ei.numberEditor;break;case $l.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ei.boolean,r.cellEditor=Ei.boolean);break;case $l.r.DATE:r.valueFormatter=Pl;break;case $l.r.DATETIME:r.valueFormatter=Bl;break;case $l.r.ENUM:r.cellEditor=Ei.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Yl(e.type),filter:Vl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));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,Di.__decorate)([(0,u.attr)({mode:"boolean"})],Wl.prototype,"pagination",void 0),Wl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-server-side-datasource"})],Wl);const ql='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAy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Gt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Jl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2Bm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ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Zl={[Ti.alpine]:ql,[Ti.alpineDark]:ql,[Ti.balham]:Jl,[Ti.balhamDark]:Jl,[Ti.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQz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B9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+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'},Kl=ql,Xl=u.css`
|
|
2132
2132
|
.ag-icon {
|
|
2133
2133
|
font-family: var(--ag-icon-font-family);
|
|
2134
2134
|
font-size: var(--ag-icon-size);
|
|
@@ -10348,7 +10348,7 @@
|
|
|
10348
10348
|
<slot></slot>
|
|
10349
10349
|
</span>
|
|
10350
10350
|
</template>
|
|
10351
|
-
`;var lg=r(75527);class gg{getColumnState(e){return(0,Di.__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,Di.__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,Di.__decorate)([lg.z],gg.prototype,"session",void 0);const sg=h.DI.createInterface((e=>e.singleton(gg)));class dg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const cg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function pg(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}An.O3h.registerModules([gl.jM,ll.I]);class ug extends(dl(h.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,ul.A)(Ii(a),a),this.insertFontFace(a)}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=Kl,this.columnComponentName="grid-pro-column",this.theme=Oi.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=An.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[cg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),An.plv.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.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&An.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(cg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ei.action]:Tn,[Ei.actionsMenu]:Mn,[Ei.boolean]:Pn,[Ei.editable]:xn,[Ei.selectEditor]:rn,[Ei.numberEditor]:sn,[Ei.multiselectEditor]:Ji,[Ei.dateEditor]:Hi,[Ei.stringEditor]:mn};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,Di.__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,Di.__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,Di.__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.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),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=bl()(this.saveColumnState.bind(this),400),r=this.globalEventListener.bind(this),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,onGridReady:l,onFirstDataRendered:g}=e,s=(0,Di.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},n),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),l&&l(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),g&&g(e)},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:t,onGridSizeChanged:t,onSortChanged:t}),s);this.gridProDatasource?(d.columnDefs=o,this.initGridOptions(d,r)):this.mergeAllColumnDefsAndStates(o).then((e=>{d.columnDefs=e,this.initGridOptions(d,r)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),An.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};u.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new An.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Fn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=hl[this.headerCaseType];a?e.headerName=a(e.field):Fn.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[Pi]===e.field)return{component:Ei.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=dg,e.tooltipValueGetter=a=>{const r=a.data[Bi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Bi])||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 pg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return pg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=An.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=An.plv.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},An.plv.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=Zl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,pl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Di.__decorate)([u.observable],ug.prototype,"columnApi",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridApi",void 0),(0,Di.__decorate)([sg],ug.prototype,"statePersistence",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],ug.prototype,"autoCellRendererByType",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"only-template-col-defs",mode:"boolean"})],ug.prototype,"onlyTemplateColDefs",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"grid-autosizing"})],ug.prototype,"gridAutosizingEnabled",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"add-index"})],ug.prototype,"addIndex",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-add"})],ug.prototype,"asyncAdd",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-remove"})],ug.prototype,"asyncRemove",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-update"})],ug.prototype,"asyncUpdate",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],ug.prototype,"enableCellFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],ug.prototype,"enabledRowFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-row-flashing"})],ug.prototype,"enableRowFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"persist-column-state-key"})],ug.prototype,"persistColumnStateKey",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"header-case-type"})],ug.prototype,"headerCaseType",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridFontFace",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"columnComponentName",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"eventsAndCallbacks",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"headerHeight",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"rowHeight",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"theme",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"classNames",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"agGrid",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridSlot",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridComponents",void 0),(0,Di.__decorate)([Ui],ug.prototype,"gridOptionsConfig",void 0);const hg=void 0,mg={shadowOptions:void 0},bg=ug.compose(Object.assign({baseName:"grid-pro",styles:ig,template:ng,shadowOptions:hg},mg)),vg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},fg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:wg}=h.DesignToken,yg={backgroundColor:wg("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.backgroundSwatch:vg.backgroundSwatch)),borderColor:wg("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.borderSwatch:vg.borderSwatch)),foregroundColor:wg("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.foregroundSwatch:vg.foregroundSwatch)),headerForegroundColor:wg("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.headerForegroundSwatch:vg.headerForegroundSwatch)),rowHoverColor:wg("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.rowHoverSwatch:vg.rowHoverSwatch))},xg=u.css`
|
|
10351
|
+
`;var lg=r(75527);class gg{getColumnState(e){return(0,Di.__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,Di.__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,Di.__decorate)([lg.z],gg.prototype,"session",void 0);const sg=h.DI.createInterface((e=>e.singleton(gg)));class dg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const cg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function pg(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}An.O3h.registerModules([gl.jM,ll.I]);class ug extends(dl(h.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,ul.A)(Ii(a),a),this.insertFontFace(a)}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=Kl,this.columnComponentName="grid-pro-column",this.theme=Ti.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=An.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[cg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),An.plv.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&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1;const e=this.shouldRunConnect;u.DOM.queueUpdate((()=>{e&&An.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(cg(e),void 0,a)},enumerable:!0,configurable:!0})}))}))}disconnectedCallback(){super.disconnectedCallback(),this.cacheFilterConfig(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;u.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Ei.action]:On,[Ei.actionsMenu]:Mn,[Ei.boolean]:Pn,[Ei.editable]:xn,[Ei.selectEditor]:rn,[Ei.numberEditor]:sn,[Ei.multiselectEditor]:Ji,[Ei.dateEditor]:Hi,[Ei.stringEditor]:mn};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,Di.__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,Di.__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,Di.__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.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),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=bl()(this.saveColumnState.bind(this),400),r=this.globalEventListener.bind(this),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,onGridReady:l,onFirstDataRendered:g}=e,s=(0,Di.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},n),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),l&&l(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),g&&g(e)},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:t,onGridSizeChanged:t,onSortChanged:t}),s);this.gridProDatasource?(d.columnDefs=o,this.initGridOptions(d,r)):this.mergeAllColumnDefsAndStates(o).then((e=>{d.columnDefs=e,this.initGridOptions(d,r)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),An.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};u.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new An.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Fn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=hl[this.headerCaseType];a?e.headerName=a(e.field):Fn.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[Pi]===e.field)return{component:Ei.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=dg,e.tooltipValueGetter=a=>{const r=a.data[Bi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Bi])||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 pg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return pg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=An.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=An.plv.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},An.plv.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=Zl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,pl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Di.__decorate)([u.observable],ug.prototype,"columnApi",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridApi",void 0),(0,Di.__decorate)([sg],ug.prototype,"statePersistence",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],ug.prototype,"autoCellRendererByType",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"only-template-col-defs",mode:"boolean"})],ug.prototype,"onlyTemplateColDefs",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"grid-autosizing"})],ug.prototype,"gridAutosizingEnabled",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"add-index"})],ug.prototype,"addIndex",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-add"})],ug.prototype,"asyncAdd",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-remove"})],ug.prototype,"asyncRemove",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-update"})],ug.prototype,"asyncUpdate",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],ug.prototype,"enableCellFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],ug.prototype,"enabledRowFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-row-flashing"})],ug.prototype,"enableRowFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"persist-column-state-key"})],ug.prototype,"persistColumnStateKey",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"header-case-type"})],ug.prototype,"headerCaseType",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridFontFace",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"columnComponentName",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"eventsAndCallbacks",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"headerHeight",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"rowHeight",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"theme",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"classNames",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"agGrid",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridSlot",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridComponents",void 0),(0,Di.__decorate)([Ui],ug.prototype,"gridOptionsConfig",void 0);const hg=void 0,mg={shadowOptions:void 0},bg=ug.compose(Object.assign({baseName:"grid-pro",styles:ig,template:ng,shadowOptions:hg},mg)),vg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},fg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:wg}=h.DesignToken,yg={backgroundColor:wg("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.backgroundSwatch:vg.backgroundSwatch)),borderColor:wg("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.borderSwatch:vg.borderSwatch)),foregroundColor:wg("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.foregroundSwatch:vg.foregroundSwatch)),headerForegroundColor:wg("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.headerForegroundSwatch:vg.headerForegroundSwatch)),rowHoverColor:wg("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.rowHoverSwatch:vg.rowHoverSwatch))},xg=u.css`
|
|
10352
10352
|
.ag-theme-genesis-rapid,
|
|
10353
10353
|
.ag-theme-genesis-rapid-dark {
|
|
10354
10354
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10808,7 +10808,7 @@
|
|
|
10808
10808
|
.ag-theme-genesis-rapid-dark {
|
|
10809
10809
|
color-scheme: dark;
|
|
10810
10810
|
}
|
|
10811
|
-
`,kg={[
|
|
10811
|
+
`,kg={[Oi.backgroundColor]:yg.backgroundColor,[Oi.foregroundColor]:yg.foregroundColor,[Oi.oddRowBackgroundColor]:yg.backgroundColor,[Oi.headerBackgroundColor]:yg.backgroundColor,[Oi.headerForegroundColor]:yg.headerForegroundColor,[Oi.selectedRowBackgroundColor]:yg.rowHoverColor,[Oi.rowHoverColor]:yg.rowHoverColor,[Oi.borderColor]:yg.borderColor,[Oi.rowBorderColor]:yg.rowHoverColor,[Oi.modalOverlayBackgroundColor]:yg.backgroundColor,[Oi.inputFocusBoxShadow]:yg.headerForegroundColor,[Oi.inputFocusBorderColor]:yg.headerForegroundColor,[Oi.headerColumnResizeHandleColor]:yg.headerForegroundColor},zg="ag-theme-genesis-rapid",Sg=u.css`
|
|
10812
10812
|
${xg}
|
|
10813
10813
|
${ji(zg,kg)}
|
|
10814
10814
|
|
|
@@ -10855,7 +10855,7 @@
|
|
|
10855
10855
|
.error {
|
|
10856
10856
|
border-color: ${ye.shortPink} !important;
|
|
10857
10857
|
}
|
|
10858
|
-
`,Fg=ng,
|
|
10858
|
+
`,Fg=ng,Og="ag-theme-genesis-rapid-dark";const Tg=mg,Dg={zeroAgEditableRenderer:$n,zeroAgActionRenderer:Ln,zeroAgActionsMenuRenderer:En,zeroAgBooleanRenderer:Hn,zeroAgTextRenderer:al,zeroAgSelectRenderer:nl,zeroAgDateEditor:qi,zeroAgMultiselectEditor:an,zeroAgSelectEditor:gn,zeroAgNumberEditor:hn,zeroAgStringEditor:yn,zeroGridPro:class extends ug{constructor(){super(...arguments),this.theme=Og}themeChanged(e,a){(e||a===Og)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ei.action]:Nn,[Ei.actionsMenu]:jn,[Ei.boolean]:_n,[Ei.editable]:Cn,[Ei.selectEditor]:ln,[Ei.numberEditor]:un,[Ei.multiselectEditor]:en,[Ei.dateEditor]:Wi,[Ei.stringEditor]:wn};(this.theme===zg||this.theme===Cg)&&(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:Fg,styles:Ag,shadowOptions:undefined},Tg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Rg={foundationGridProActionRenderer:Rn,foundationGridProActionsMenuRenderer:In,foundationAgBooleanRenderer:Un,foundationAgTextRenderer:el,foundationAgTextFieldRenderer:Jn,foundationAgEditableRenderer:Sn,foundationAgSelectRenderer:il,foundationGridPro:bg,foundationSelectEditor:nn,foundationNumberEditor:pn,foundationDateEditor:Qi,foundationMultiselectEditor:Xi,foundationStringEditor:fn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ng;!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"}(Ng||(Ng={}));const{create:Lg}=h.DesignToken,Mg=(0,xe.parseColorHexRGB)(Ng.error),Ig=m.SwatchRGB.create(Mg.r,Mg.g,Mg.b),jg=Lg("error-color").withDefault(Ig),Eg=(0,xe.parseColorHexRGB)(Ng.success),Pg=m.SwatchRGB.create(Eg.r,Eg.g,Eg.b),Bg=Lg("success-color").withDefault(Pg),Gg=(0,xe.parseColorHexRGB)(Ng.warning),Ug=m.SwatchRGB.create(Gg.r,Gg.g,Gg.b),_g=Lg("warning-color").withDefault(Ug),Hg=(0,xe.parseColorHexRGB)(Ng.buy),Vg=m.SwatchRGB.create(Hg.r,Hg.g,Hg.b),Yg=Lg("buy-color").withDefault(Vg),Qg=(0,xe.parseColorHexRGB)(Ng.sell),Wg=m.SwatchRGB.create(Qg.r,Qg.g,Qg.b),qg=Lg("sell-color").withDefault(Wg),Jg=(0,G.paletteFromHex)(Ng.primary),Zg=(0,G.paletteFromHex)(Ng.neutral),Kg=m.StandardLuminance.DarkMode,Xg=0,es=4,as=-5,rs=0,ts=0,os=6,is=-4,ns=0,ls=7,gs=10,ss=5,ds=0,cs=0,ps=0,us=0,hs=0,ms=0,bs=5,vs=3,fs=0,ws=0,ys=8,xs=-5,ks=0,zs=3,Ss=25,Cs=40,$s=16,As=25,Fs=8,Os="rapid",Ts=Re.N.ltr,Ds=.3,Rs=1,Ns=2,Ls=10,Ms=4,Is=0,js=4,Es='"Segoe UI", Arial, Helvetica, sans-serif',Ps="14px",Bs="20px",Gs="12px",Us="16px",_s="10px",Hs="16px",Vs="16px",Ys="24px",Qs="20px",Ws="28px",qs="28px",Js="36px",Zs="34px",Ks="44px",Xs="46px",ed="56px",ad="60px",rd="72px",td={design_tokens:{color:{accent:{$value:Jg.source.toColorString(),$type:"color"},neutral:{$value:Zg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Es,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ps,$type:"dimension"},baseLineHeight:{$value:Bs,$type:"dimension"}},mode:{luminance:{$value:Kg,$type:"number"}},style:{density:{$value:Is,$type:"number"},borderRadius:{$value:Ms,$type:"number"},strokeWidth:{$value:Rs,$type:"number"}},space:{designUnit:{$value:js,$type:"number"}}}};class od extends m.DesignSystemProvider{constructor(){super(),(0,G.provideTokens)(i,n,this)}}const id=od.compose({baseName:"design-system-provider",template:u.html`
|
|
10859
10859
|
<slot></slot>
|
|
10860
10860
|
`});class nd extends G.Accordion{}const ld=nd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
10861
10861
|
${(0,G.foundationAccordionStyles)(e,a)}
|
|
@@ -11146,7 +11146,7 @@
|
|
|
11146
11146
|
font-family: var(--body-font);
|
|
11147
11147
|
line-height: var(--type-ramp-base-line-height);
|
|
11148
11148
|
}
|
|
11149
|
-
`,Ad=G.foundationBannerShadowOptions;class Fd extends G.Banner{}const
|
|
11149
|
+
`,Ad=G.foundationBannerShadowOptions;class Fd extends G.Banner{}const Od=Fd.compose({baseName:"banner",shadowOptions:Ad,styles:$d,template:G.foundationBannerTemplate});class Td extends G.Breadcrumb{}const Dd=Td.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,G.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11150
11150
|
${(0,G.foundationBreadcrumbStyles)(e,a)}
|
|
11151
11151
|
`,shadowOptions:undefined},{}));class Rd extends G.BreadcrumbItem{}const Nd=Rd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,G.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11152
11152
|
${(0,G.foundationBreadcrumbItemStyles)(e,a)}
|
|
@@ -11523,7 +11523,7 @@
|
|
|
11523
11523
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11524
11524
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11525
11525
|
}
|
|
11526
|
-
`,template:G.foundationDropdownMenuTemplate}),{defaultConfig:Ac,shadowOptions:Fc,styles:
|
|
11526
|
+
`,template:G.foundationDropdownMenuTemplate}),{defaultConfig:Ac,shadowOptions:Fc,styles:Oc,template:Tc}=Xd(G.foundationErrorBoundary),Dc=u.css`
|
|
11527
11527
|
${G.foundationFileUploadStyles}
|
|
11528
11528
|
::-webkit-scrollbar {
|
|
11529
11529
|
width: calc(var(--design-unit) * 3px);
|
|
@@ -11756,7 +11756,7 @@
|
|
|
11756
11756
|
*/
|
|
11757
11757
|
`,shadowOptions:kp},G.defaultMenuItemConfig)),Cp=u.css`
|
|
11758
11758
|
${mc}
|
|
11759
|
-
`,$p=G.defaultModalConfig,Ap=G.foundationModalTemplate,Fp=G.foundationModalShadowOptions;class
|
|
11759
|
+
`,$p=G.defaultModalConfig,Ap=G.foundationModalTemplate,Fp=G.foundationModalShadowOptions;class Op extends G.Modal{}const Tp=Op.compose(Object.assign({baseName:"modal",shadowOptions:Fp,styles:Cp,template:Ap},$p)),Dp=u.css`
|
|
11760
11760
|
${G.multiselectStyles}
|
|
11761
11761
|
|
|
11762
11762
|
#display-field {
|
|
@@ -12324,7 +12324,7 @@
|
|
|
12324
12324
|
:host([error]) .step-title {
|
|
12325
12325
|
color: var(--error-color);
|
|
12326
12326
|
}
|
|
12327
|
-
`,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Fu extends G.StepperTabPanel{}const
|
|
12327
|
+
`,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Fu extends G.StepperTabPanel{}const Ou=Fu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig)),Tu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Du extends G.Switch{}const Ru=Du.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12328
12328
|
${(0,G.foundationSwitchStyles)(e,a)}
|
|
12329
12329
|
:host {
|
|
12330
12330
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -12361,7 +12361,7 @@
|
|
|
12361
12361
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12362
12362
|
background: var(--accent-fill-rest);
|
|
12363
12363
|
}
|
|
12364
|
-
`,shadowOptions:G.foundationSwitchShadowOptions},
|
|
12364
|
+
`,shadowOptions:G.foundationSwitchShadowOptions},Tu));class Nu extends G.Tab{}const Lu=Nu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12365
12365
|
${(0,G.foundationTabStyles)(e,a)}
|
|
12366
12366
|
:host {
|
|
12367
12367
|
background-color: ${m.neutralLayer2};
|
|
@@ -12648,7 +12648,7 @@
|
|
|
12648
12648
|
${(0,G.foundationTreeViewStyles)(e,a)}
|
|
12649
12649
|
`,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),th=u.html`
|
|
12650
12650
|
${(0,G.getPrefixedUrlInput)("rapid")}
|
|
12651
|
-
`;class oh extends G.UrlInput{}const ih={designSystemProvider:id,rapidAccordion:ld,rapidAccordionItem:sd,rapidActionsMenu:cd,rapidAnchor:wd,rapidAnchoredRegion:xd,rapidAvatar:zd,rapidBadge:Cd,rapidBanner:
|
|
12651
|
+
`;class oh extends G.UrlInput{}const ih={designSystemProvider:id,rapidAccordion:ld,rapidAccordionItem:sd,rapidActionsMenu:cd,rapidAnchor:wd,rapidAnchoredRegion:xd,rapidAvatar:zd,rapidBadge:Cd,rapidBanner:Od,rapidBreadcrumb:Dd,rapidBreadcrumbItem:Nd,rapidButton:Md,rapidCalendar:jd,rapidCard:Pd,rapidCategorizedMultiselect:Vd,rapidCheckbox:Qd,rapidCombobox:qd,rapidConnectionIndicator:Zd,rapidDataGrid:()=>(0,G.foundationDataGrid)(),rapidDataGridCell:()=>(0,G.foundationDataGridCell)(),rapidDataGridRow:()=>(0,G.foundationDataGridRow)(),rapidDatePicker:hc,rapidDialog:yc,rapidDisclosure:kc,rapidDivider:Sc,rapidDropdownMenu:$c,rapidErrorBoundary:()=>(0,G.foundationErrorBoundary)(),rapidFileUpload:Ic,rapidFilter:Pc,rapidFilterBar:Uc,rapidFlexLayout:()=>(0,G.foundationFlexLayout)(),rapidFlipper:Wc,rapidFlyout:ep,rapidGridLayout:()=>(0,G.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,G.foundationGridLayoutItem)(),rapidHorizontalScroll:cp,rapidIcon:mp,rapidListbox:vp,rapidListboxOption:wp,rapidMenu:xp,rapidMenuItem:Sp,rapidModal:Tp,rapidMultiselect:Ip,rapidNumberField:Gp,rapidProgress:_p,rapidProgressRing:Vp,rapidRadio:Qp,rapidRadioGroup:qp,rapidSearchBar:Xp,rapidSearchBarCombobox:au,rapidSegmentedControl:tu,rapidSegmentedItem:iu,rapidSelect:lu,rapidSkeleton:su,rapidSlider:cu,rapidSliderLabel:uu,rapidSnackbar:fu,rapidStackingIcons:yu,rapidStepper:Su,rapidStepperTab:Au,rapidStepperTabPanel:Ou,rapidSwitch:Ru,rapidTab:Lu,rapidTabPanel:Iu,rapidTabs:Eu,rapidTextArea:Bu,rapidTextField:Uu,rapidToast:Qu,rapidToolbar:qu,rapidTooltip:Zu,rapidTreeItem:eh,rapidTreeView:rh,rapidUrlInput:oh.compose(Object.assign({baseName:"url-input",template:th,styles:(e,a)=>u.css`
|
|
12652
12652
|
${(0,G.foundationUrlInputStyles)(e,a)}
|
|
12653
12653
|
a {
|
|
12654
12654
|
color: var(--accent-fill-rest);
|
|
@@ -12664,7 +12664,7 @@
|
|
|
12664
12664
|
font-size: var(--type-ramp-base-font-size);
|
|
12665
12665
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12666
12666
|
}
|
|
12667
|
-
`,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class nh extends Hi{}const lh=nh.compose({baseName:"date-editor",styles:Vi,template:Yi("rapid")});class gh extends Ji{}const sh=gh.compose({baseName:"multiselect-editor",styles:Zi,template:Ki("rapid")});class dh extends rn{}const ch=dh.compose({baseName:"select-editor",styles:tn,template:on("rapid")});class ph extends sn{}const uh=ph.compose({baseName:"number-editor",styles:dn,template:cn("rapid")});class hh extends mn{}const mh=hh.compose({baseName:"string-editor",styles:bn,template:vn("rapid")});class bh extends xn{}const vh=bh.compose({baseName:"editable-renderer",styles:kn,template:zn("rapid")});class fh extends
|
|
12667
|
+
`,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class nh extends Hi{}const lh=nh.compose({baseName:"date-editor",styles:Vi,template:Yi("rapid")});class gh extends Ji{}const sh=gh.compose({baseName:"multiselect-editor",styles:Zi,template:Ki("rapid")});class dh extends rn{}const ch=dh.compose({baseName:"select-editor",styles:tn,template:on("rapid")});class ph extends sn{}const uh=ph.compose({baseName:"number-editor",styles:dn,template:cn("rapid")});class hh extends mn{}const mh=hh.compose({baseName:"string-editor",styles:bn,template:vn("rapid")});class bh extends xn{}const vh=bh.compose({baseName:"editable-renderer",styles:kn,template:zn("rapid")});class fh extends On{}const wh=fh.compose({baseName:"grid-pro-action-renderer",styles:u.css`
|
|
12668
12668
|
${Dn}
|
|
12669
12669
|
`,template:u.html`
|
|
12670
12670
|
<div class="action-container" part="action-container">
|
|
@@ -12687,7 +12687,7 @@
|
|
|
12687
12687
|
name="${e=>e.params.headerName}"
|
|
12688
12688
|
:definition=${e=>e.params}
|
|
12689
12689
|
></rapid-actions-menu>
|
|
12690
|
-
`});class kh extends Pn{}const zh=kh.compose({baseName:"boolean-renderer",styles:Bn,template:Gn("rapid")});const Sh=class extends Zn{}.compose({baseName:"grid-text-renderer",styles:Kn,template:Xn("rapid")});const Ch=class extends rl{}.compose({baseName:"select-renderer",styles:tl,template:ol("rapid")}),$h={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},Ah={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:Fh}=h.DesignToken,
|
|
12690
|
+
`});class kh extends Pn{}const zh=kh.compose({baseName:"boolean-renderer",styles:Bn,template:Gn("rapid")});const Sh=class extends Zn{}.compose({baseName:"grid-text-renderer",styles:Kn,template:Xn("rapid")});const Ch=class extends rl{}.compose({baseName:"select-renderer",styles:tl,template:ol("rapid")}),$h={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},Ah={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:Fh}=h.DesignToken,Oh={backgroundColor:Fh("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.backgroundSwatch:$h.backgroundSwatch)),borderColor:Fh("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.borderSwatch:$h.borderSwatch)),foregroundColor:Fh("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.foregroundSwatch:$h.foregroundSwatch)),headerForegroundColor:Fh("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.headerForegroundSwatch:$h.headerForegroundSwatch)),rowHoverColor:Fh("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.rowHoverSwatch:$h.rowHoverSwatch))},Th=u.css`
|
|
12691
12691
|
.ag-theme-genesis-rapid,
|
|
12692
12692
|
.ag-theme-genesis-rapid-dark {
|
|
12693
12693
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13148,8 +13148,8 @@
|
|
|
13148
13148
|
.ag-theme-genesis-rapid-dark {
|
|
13149
13149
|
color-scheme: dark;
|
|
13150
13150
|
}
|
|
13151
|
-
`,Dh={[
|
|
13152
|
-
${
|
|
13151
|
+
`,Dh={[Oi.backgroundColor]:Oh.backgroundColor,[Oi.foregroundColor]:Oh.foregroundColor,[Oi.oddRowBackgroundColor]:Oh.backgroundColor,[Oi.headerBackgroundColor]:Oh.backgroundColor,[Oi.headerForegroundColor]:Oh.headerForegroundColor,[Oi.selectedRowBackgroundColor]:Oh.rowHoverColor,[Oi.rowHoverColor]:Oh.rowHoverColor,[Oi.borderColor]:Oh.borderColor,[Oi.rowBorderColor]:Oh.rowHoverColor,[Oi.modalOverlayBackgroundColor]:Oh.backgroundColor,[Oi.inputFocusBoxShadow]:Oh.headerForegroundColor,[Oi.inputFocusBorderColor]:Oh.headerForegroundColor,[Oi.headerColumnResizeHandleColor]:Oh.headerForegroundColor},Rh="ag-theme-genesis-rapid",Nh=u.css`
|
|
13152
|
+
${Th}
|
|
13153
13153
|
${ji(Rh,Dh)}
|
|
13154
13154
|
|
|
13155
13155
|
.${Rh} {
|
|
@@ -13178,7 +13178,7 @@
|
|
|
13178
13178
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13179
13179
|
}
|
|
13180
13180
|
`,Lh="ag-theme-genesis-rapid-dark",Mh=u.css`
|
|
13181
|
-
${
|
|
13181
|
+
${Th}
|
|
13182
13182
|
${ji(Rh,Dh)}
|
|
13183
13183
|
|
|
13184
13184
|
.${Lh} {
|
|
@@ -14495,7 +14495,7 @@
|
|
|
14495
14495
|
</alpha-tab-panel>
|
|
14496
14496
|
</alpha-tabs>
|
|
14497
14497
|
</template>
|
|
14498
|
-
`;let Am=class extends u.FASTElement{};Am=(0,Uh.__decorate)([(0,u.customElement)({name:"design-system-preview",template:$m,styles:Cm})],Am);const Fm={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"}]}]}}]},
|
|
14498
|
+
`;let Am=class extends u.FASTElement{};Am=(0,Uh.__decorate)([(0,u.customElement)({name:"design-system-preview",template:$m,styles:Cm})],Am);const Fm={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"}]}]}}]},Om={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"]}}},Tm={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"}]}}}]},Dm={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"]}}}},Rm=u.css`
|
|
14499
14499
|
:host {
|
|
14500
14500
|
background: var(--fill-color);
|
|
14501
14501
|
color: var(--neutral-foreground-rest);
|
|
@@ -14550,7 +14550,7 @@
|
|
|
14550
14550
|
</${e}-design-system-provider>
|
|
14551
14551
|
</template>
|
|
14552
14552
|
`)(e.prefix)}
|
|
14553
|
-
`;let Lm=class extends u.FASTElement{constructor(){super(...arguments),this.jsonSchema=
|
|
14553
|
+
`;let Lm=class extends u.FASTElement{constructor(){super(...arguments),this.jsonSchema=Om,this.uischema=Fm,this.jsonSchemaArray=Dm,this.uiSchemaArray=Tm,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(Gh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Gh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Hh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{om(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Uh.__decorate)([u.observable],Lm.prototype,"jsonSchema",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"uischema",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"jsonSchemaArray",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"uiSchemaArray",void 0),(0,Uh.__decorate)([u.attr],Lm.prototype,"prefix",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"provider",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"editedEntity",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"editedEntityArray",void 0),Lm=(0,Uh.__decorate)([(0,u.customElement)({name:"preview-form",template:Nm,styles:Rm})],Lm);const Mm=u.css`
|
|
14554
14554
|
:host {
|
|
14555
14555
|
background: var(--fill-color);
|
|
14556
14556
|
color: var(--neutral-foreground-rest);
|
|
@@ -14576,4 +14576,4 @@
|
|
|
14576
14576
|
</template>
|
|
14577
14577
|
`)(e.prefix)}
|
|
14578
14578
|
`;let jm=class extends u.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(Gh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Gh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{this.setGridOptions(),m.bodyFont.withDefault(Hh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{om(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,u.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Uh.__decorate)([u.observable],jm.prototype,"grid",void 0),(0,Uh.__decorate)([u.attr],jm.prototype,"prefix",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"provider",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"rowData",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"columnDefs",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"gridOptions",void 0),jm=(0,Uh.__decorate)([(0,u.customElement)({name:"preview-grid",template:Im,styles:Mm})],jm),((e,a="zero")=>{e&&(0,G.provideTokens)(t,o,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(Fi,Dg),(0,l.provideDesignSystem)().register(l.baseComponents,Rg),((e,a="rapid")=>{e&&(0,G.provideTokens)(i,n,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(ih,Bh)}}]);
|
|
14579
|
-
//# sourceMappingURL=811.
|
|
14579
|
+
//# sourceMappingURL=811.e660e002913f5f2730952330f5ae4663.js.map
|