@genesislcap/design-system-configurator 14.152.0 → 14.152.1
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/{374.374.a68953aa993a645b49d5.js → 166.166.639bfa5f563bb2cf4a25.js} +33 -33
- package/dist/166.8f7345203ff6928ea6a194ece8eef96c.js.map +1 -0
- package/dist/{200.200.501de7750bb5788bf98d.js → 200.200.2d339e4694e480d4e43d.js} +1 -1
- package/dist/{394.394.f3763778645ef9baa298.js → 394.394.cd5d41be5e74833449db.js} +1 -1
- package/dist/{752.752.05a20dfc920b2cab88c9.js → 752.752.629eb247411ed51f71aa.js} +1 -1
- package/dist/{755.755.dd6eb221b053916a2cd1.js → 755.755.fb76f7a0677c92747853.js} +1 -1
- package/dist/{8.8.4a3ca68fe47ef21eed08.js → 8.8.4617d32e7927c1dd344e.js} +1 -1
- package/dist/designSystemConfigurator.bcdcd7c6f41dc54e13424b7f41edba96.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.38d6db3ac72923237881.js +2 -0
- package/dist/main.954984d6f4490476e3d50701df6aca9b.js.map +1 -0
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/374.249ab8f81d0d35301b57bb444e936db4.js.map +0 -1
- package/dist/designSystemConfigurator.c2772da1979d22fc3aea0dab7727f07b.js.map +0 -1
- package/dist/main.5e39102adfc4bec0d83b05d833c8351e.js.map +0 -1
- package/dist/main.7f25dd2e859c3d6937cf.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[374],{28185:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Qh,ColorToken:()=>Jh,ColorTokens:()=>am,DesignSystemEditor:()=>Mh,DesignSystemExport:()=>Hh,DesignSystemPreview:()=>lm,EventName:()=>kh,PreviewComponents:()=>Gh,PreviewForm:()=>hm,PreviewGrid:()=>vm,TypographyTokens:()=>om,defaultBodyFont:()=>Ch,fontFamilies:()=>Sh});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>$e,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ue,designUnitValue:()=>Le,directionValue:()=>Oe,neutralPaletteValue:()=>Ae,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ge});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>Mg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>Lg,defaultErrorColor:()=>Cg,defaultSellColor:()=>jg,defaultSuccessColor:()=>Fg,defaultWarningColor:()=>Dg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>$g,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>Eg,strokeWidth:()=>u.strokeWidth,successColor:()=>Tg,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>Rg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Hg,accentFillFocusDeltaValue:()=>Vg,accentFillHoverDeltaValue:()=>_g,accentFillRestDeltaValue:()=>Ug,accentForegroundActiveDeltaValue:()=>Wg,accentForegroundFocusDeltaValue:()=>qg,accentForegroundHoverDeltaValue:()=>Qg,accentForegroundRestDeltaValue:()=>Yg,accentPaletteValue:()=>Pg,baseHeightMultiplierValue:()=>zs,baseLayerLuminanceValue:()=>Gg,bodyFontValue:()=>As,controlCornerRadiusValue:()=>Ss,densityValue:()=>Cs,designTokens:()=>Ys,designUnitValue:()=>$s,directionValue:()=>ws,disabledOpacityValue:()=>ys,focusStrokeWidthValue:()=>ks,neutralFillActiveDeltaValue:()=>Kg,neutralFillFocusDeltaValue:()=>Xg,neutralFillHoverDeltaValue:()=>Zg,neutralFillInputActiveDeltaValue:()=>rs,neutralFillInputFocusDeltaValue:()=>ts,neutralFillInputHoverDeltaValue:()=>as,neutralFillInputRestDeltaValue:()=>es,neutralFillLayerRestDeltaValue:()=>ps,neutralFillRestDeltaValue:()=>Jg,neutralFillStealthActiveDeltaValue:()=>ns,neutralFillStealthFocusDeltaValue:()=>ls,neutralFillStealthHoverDeltaValue:()=>is,neutralFillStealthRestDeltaValue:()=>os,neutralFillStrongActiveDeltaValue:()=>ds,neutralFillStrongFocusDeltaValue:()=>cs,neutralFillStrongHoverDeltaValue:()=>ss,neutralFillStrongRestDeltaValue:()=>gs,neutralPaletteValue:()=>Bg,neutralStrokeActiveDeltaValue:()=>ms,neutralStrokeDividerRestDeltaValue:()=>vs,neutralStrokeFocusDeltaValue:()=>bs,neutralStrokeHoverDeltaValue:()=>hs,neutralStrokeRestDeltaValue:()=>us,prefix:()=>fs,strokeWidthValue:()=>xs,typeRampBaseFontSizeValue:()=>Fs,typeRampBaseLineHeightValue:()=>Ts,typeRampMinus1FontSizeValue:()=>Os,typeRampMinus1LineHeightValue:()=>Ds,typeRampMinus2FontSizeValue:()=>Rs,typeRampMinus2LineHeightValue:()=>Ns,typeRampPlus1FontSizeValue:()=>Ls,typeRampPlus1LineHeightValue:()=>Ms,typeRampPlus2FontSizeValue:()=>Is,typeRampPlus2LineHeightValue:()=>js,typeRampPlus3FontSizeValue:()=>Es,typeRampPlus3LineHeightValue:()=>Ps,typeRampPlus4FontSizeValue:()=>Bs,typeRampPlus4LineHeightValue:()=>Gs,typeRampPlus5FontSizeValue:()=>Us,typeRampPlus5LineHeightValue:()=>_s,typeRampPlus6FontSizeValue:()=>Hs,typeRampPlus6LineHeightValue:()=>Vs});var l=r(32047),g=r(92592),s=r(66526),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[166],{68566:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Wh,ColorToken:()=>Zh,ColorTokens:()=>rm,DesignSystemEditor:()=>Mh,DesignSystemExport:()=>Vh,DesignSystemPreview:()=>gm,EventName:()=>kh,PreviewComponents:()=>Uh,PreviewForm:()=>mm,PreviewGrid:()=>fm,TypographyTokens:()=>im,defaultBodyFont:()=>Ch,fontFamilies:()=>Sh});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>$e,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ue,designUnitValue:()=>Le,directionValue:()=>Oe,neutralPaletteValue:()=>Ae,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ge});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>Mg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>Lg,defaultErrorColor:()=>Cg,defaultSellColor:()=>jg,defaultSuccessColor:()=>Fg,defaultWarningColor:()=>Dg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>$g,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>Eg,strokeWidth:()=>u.strokeWidth,successColor:()=>Tg,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>Rg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Hg,accentFillFocusDeltaValue:()=>Vg,accentFillHoverDeltaValue:()=>_g,accentFillRestDeltaValue:()=>Ug,accentForegroundActiveDeltaValue:()=>Wg,accentForegroundFocusDeltaValue:()=>qg,accentForegroundHoverDeltaValue:()=>Qg,accentForegroundRestDeltaValue:()=>Yg,accentPaletteValue:()=>Pg,baseHeightMultiplierValue:()=>zs,baseLayerLuminanceValue:()=>Gg,bodyFontValue:()=>As,controlCornerRadiusValue:()=>Ss,densityValue:()=>Cs,designTokens:()=>Ys,designUnitValue:()=>$s,directionValue:()=>ws,disabledOpacityValue:()=>ys,focusStrokeWidthValue:()=>ks,neutralFillActiveDeltaValue:()=>Kg,neutralFillFocusDeltaValue:()=>Xg,neutralFillHoverDeltaValue:()=>Zg,neutralFillInputActiveDeltaValue:()=>rs,neutralFillInputFocusDeltaValue:()=>ts,neutralFillInputHoverDeltaValue:()=>as,neutralFillInputRestDeltaValue:()=>es,neutralFillLayerRestDeltaValue:()=>ps,neutralFillRestDeltaValue:()=>Jg,neutralFillStealthActiveDeltaValue:()=>ns,neutralFillStealthFocusDeltaValue:()=>ls,neutralFillStealthHoverDeltaValue:()=>is,neutralFillStealthRestDeltaValue:()=>os,neutralFillStrongActiveDeltaValue:()=>ds,neutralFillStrongFocusDeltaValue:()=>cs,neutralFillStrongHoverDeltaValue:()=>ss,neutralFillStrongRestDeltaValue:()=>gs,neutralPaletteValue:()=>Bg,neutralStrokeActiveDeltaValue:()=>ms,neutralStrokeDividerRestDeltaValue:()=>vs,neutralStrokeFocusDeltaValue:()=>bs,neutralStrokeHoverDeltaValue:()=>hs,neutralStrokeRestDeltaValue:()=>us,prefix:()=>fs,strokeWidthValue:()=>xs,typeRampBaseFontSizeValue:()=>Fs,typeRampBaseLineHeightValue:()=>Ts,typeRampMinus1FontSizeValue:()=>Os,typeRampMinus1LineHeightValue:()=>Ds,typeRampMinus2FontSizeValue:()=>Rs,typeRampMinus2LineHeightValue:()=>Ns,typeRampPlus1FontSizeValue:()=>Ls,typeRampPlus1LineHeightValue:()=>Ms,typeRampPlus2FontSizeValue:()=>Is,typeRampPlus2LineHeightValue:()=>js,typeRampPlus3FontSizeValue:()=>Es,typeRampPlus3LineHeightValue:()=>Ps,typeRampPlus4FontSizeValue:()=>Bs,typeRampPlus4LineHeightValue:()=>Gs,typeRampPlus5FontSizeValue:()=>Us,typeRampPlus5LineHeightValue:()=>_s,typeRampPlus6FontSizeValue:()=>Hs,typeRampPlus6LineHeightValue:()=>Vs});var l=r(99372),g=r(92592),s=r(66526),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${u.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
background: ${h.H.Canvas};
|
|
51
51
|
border-color: ${h.H.CanvasText};
|
|
52
52
|
}
|
|
53
|
-
`))
|
|
53
|
+
`)),b={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var v=r(96662);const f=(0,v.createLogger)("foundation-form"),w=c.html`
|
|
54
54
|
<template>
|
|
55
55
|
${(0,c.when)((e=>!1),c.html`
|
|
56
56
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
/>
|
|
68
68
|
`)}
|
|
69
69
|
</template>
|
|
70
|
-
`,y=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=
|
|
70
|
+
`,y=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=b[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,d.zjv)(e,a,r)})(e,a,r)};let x=class extends c.FASTElement{constructor(){super(...arguments),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,d.mpn)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const g=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),s=null==e?void 0:e.label;let d=null!==(n=l(o,g,s))&&void 0!==n?n:[];Array.isArray(d)||(d=[d]),i.push(...d)})),i}}prefixChanged(){this.schemaChanged()}schemaChanged(){var e,a,r,t;if(!this.schema)return;this.uichemaToUse=null!==(e=this.uischema)&&void 0!==e?e:d.Iiz.uiSchema(this.schema),this.uischema||f.debug("UI schema not provided. Auto generated schema:",this.uichemaToUse);const o=this.validate(this.uichemaToUse);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:this.uichemaToUse};return(0,d.mpn)(e,d.eXO.init(this.data,this.schema,this.uichemaToUse,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:o}))})(),config:(0,d.LsR)(void 0,d.eXO.setConfig(this.config)),i18n:(0,d.YC9)(this.i18n,d.eXO.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||y)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:d.Iiz.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}copyUISchemaToClipboard(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(JSON.stringify(this.uichemaToUse)),f.debug("Autogenerated UI schema copied to clipboard")}catch(e){f.error("Failed to copy autogenerated UI schema: ",e)}}))}};(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],x.prototype,"submitted",void 0),(0,g.__decorate)([c.observable],x.prototype,"prefix",void 0),(0,g.__decorate)([c.observable],x.prototype,"jsonforms",void 0),(0,g.__decorate)([c.observable],x.prototype,"i18n",void 0),(0,g.__decorate)([c.observable],x.prototype,"uichemaToUse",void 0),(0,g.__decorate)([c.observable],x.prototype,"schema",void 0),(0,g.__decorate)([c.observable],x.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],x.prototype,"data",void 0),(0,g.__decorate)([c.observable],x.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],x.prototype,"validationMode",void 0),(0,g.__decorate)([c.observable],x.prototype,"ajv",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],x.prototype,"readonly",void 0),(0,g.__decorate)([c.observable],x.prototype,"config",void 0),x=(0,g.__decorate)([(0,c.customElement)({name:"json-forms",template:w,styles:c.css`
|
|
71
71
|
.clipboard-button {
|
|
72
72
|
display: flex;
|
|
73
73
|
}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
.item-control-btn:hover {
|
|
85
85
|
color: var(--accent-foreground-hover);
|
|
86
86
|
}
|
|
87
|
-
`;let z=class extends c.FASTElement{controlChanged(){if(this.pathName=Object.keys(this.control.schema.properties)[0],this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema.properties[this.pathName].items;const e=d.Iiz.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),
|
|
87
|
+
`;let z=class extends c.FASTElement{controlChanged(){if(this.pathName=Object.keys(this.control.schema.properties)[0],this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema.properties[this.pathName].items;const e=d.Iiz.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),f.debug("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){const e=this.control.data[this.pathName]&&0!==Object.keys(this.control.data[this.pathName]).length?[...this.control.data[this.pathName],{}]:[{}],a=Object.assign(Object.assign({},this.control.data),{[this.pathName]:e});this.$emit("data-change",{data:a})}deleteItem(e){const a=this.control.data[this.pathName],r=[a[e]],t=a.filter((e=>!r.includes(e))),o=Object.assign(Object.assign({},this.control.data),{[this.pathName]:t});this.$emit("data-change",{data:o})}};(0,g.__decorate)([c.observable],z.prototype,"form",void 0),(0,g.__decorate)([c.observable],z.prototype,"control",void 0),(0,g.__decorate)([c.observable],z.prototype,"pathName",void 0),(0,g.__decorate)([c.observable],z.prototype,"schema",void 0),(0,g.__decorate)([c.observable],z.prototype,"uiSchema",void 0),z=(0,g.__decorate)([(0,c.customElement)({name:"array-list-wrapper",styles:k,template:c.html`
|
|
88
88
|
${e=>((e="zero")=>c.html`
|
|
89
89
|
<template>
|
|
90
90
|
${(0,c.repeat)((e=>e.control.data[e.pathName]),c.html`
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
`;let F=class extends c.FASTElement{get showDescription(){return!(0,d.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,d.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([c.observable],F.prototype,"control",void 0),(0,g.__decorate)([c.observable],F.prototype,"touched",void 0),(0,g.__decorate)([c.volatile],F.prototype,"showDescription",null),(0,g.__decorate)([c.volatile],F.prototype,"computedLabel",null),F=(0,g.__decorate)([(0,c.customElement)({name:"control-wrapper",styles:A,template:$})],F);var T=r(80340),O=r.n(T);const D=c.html`
|
|
200
200
|
<template>${e=>e.determinedRenderer.renderer}</template>
|
|
201
|
-
`,R=c.css``;let N=class extends c.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=O()(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)?(
|
|
201
|
+
`,R=c.css``;let N=class extends c.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=O()(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)?(f.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([c.observable],N.prototype,"jsonforms",void 0),(0,g.__decorate)([c.observable],N.prototype,"props",void 0),(0,g.__decorate)([c.observable],N.prototype,"touched",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],N.prototype,"submitted",void 0),(0,g.__decorate)([c.observable],N.prototype,"dispatch",void 0),(0,g.__decorate)([c.observable],N.prototype,"control",void 0),(0,g.__decorate)([c.observable],N.prototype,"renderer",void 0),(0,g.__decorate)([c.observable],N.prototype,"prefix",void 0),N=(0,g.__decorate)([(0,c.customElement)({name:"dispatch-renderer",template:D,styles:R})],N);const L=c.css`
|
|
202
202
|
.tabs-container::part(stepper-panel-container) {
|
|
203
203
|
display: flex;
|
|
204
204
|
justify-content: flex-start;
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
</control-wrapper>
|
|
285
285
|
</template>
|
|
286
286
|
`)(e.prefix)}
|
|
287
|
-
`,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(
|
|
287
|
+
`,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(80632);const B=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},G=(0,d.xDy)(B("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));P.MultiselectDatasource;const U={renderer:c.html`
|
|
288
288
|
${e=>((e="zero")=>c.html`
|
|
289
289
|
<template>
|
|
290
290
|
<control-wrapper
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
</control-wrapper>
|
|
547
547
|
</template>
|
|
548
548
|
`)(e.prefix)}
|
|
549
|
-
`,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,U,W,_,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.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,
|
|
549
|
+
`,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,U,W,_,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.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,f.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 c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(f.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){f.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,c.attr)({attribute:"design-system-prefix"})],pe.prototype,"prefix",void 0),(0,g.__decorate)([c.attr],pe.prototype,"resourceName",void 0),(0,g.__decorate)([c.observable],pe.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],pe.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],pe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],pe.prototype,"connect",void 0),(0,g.__decorate)([c.observable],pe.prototype,"data",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitting",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitted",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],pe.prototype,"readonly",void 0),(0,g.__decorate)([(0,c.attr)({attribute:"hide-submit-button",mode:"boolean"})],pe.prototype,"hideSubmit",void 0),(0,g.__decorate)([c.volatile],pe.prototype,"isSubmitHidden",null),pe=(0,g.__decorate)([(0,c.customElement)({name:"foundation-form",template:I,styles:m})],pe);var ue,he,me,be,ve,fe=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"}(ue||(ue={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(he||(he={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(me||(me={})),function(e){e.grey="#7c909b"}(be||(be={})),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"}(ve||(ve={}));const{create:we}=p.DesignToken,ye=(0,fe.parseColorHexRGB)(ue.error),xe=u.SwatchRGB.create(ye.r,ye.g,ye.b),ke=we("error-color").withDefault(xe),ze=(0,fe.parseColorHexRGB)(ue.success),Se=u.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=we("success-color").withDefault(Se),$e=(0,P.paletteFromHex)(he.blue),Ae=(0,P.paletteFromHex)(be.grey),Fe=u.StandardLuminance.DarkMode;var Te=r(5598);const Oe=Te.N.ltr,De=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),Re=4,Ne=u.density.getValueFor(u.density.appliedTo[0]),Le=4;var Me=r(47823);const Ie=()=>{(0,Me.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")},je='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ee=(e=Me.Hd.Normal,a=Me.U9.Regular)=>(0,Me.py)(je,e,a),Pe=je,Be=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),Ge=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),Ue={design_tokens:{color:{accent:{$value:$e.source.toColorString(),$type:"color"},neutral:{$value:Ae.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Pe,$type:"fontFamily"}},typography:{baseFontSize:{$value:Be,$type:"dimension"},baseLineHeight:{$value:Ge,$type:"dimension"}},mode:{luminance:{$value:Fe,$type:"number"}},style:{density:{$value:Ne,$type:"number"},borderRadius:{$value:Re,$type:"number"},strokeWidth:{$value:De,$type:"number"}},space:{designUnit:{$value:Le,$type:"number"}}}};class _e extends P.Accordion{}const He=_e.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
550
550
|
${(0,P.foundationAccordionStyles)(e,a)}
|
|
551
551
|
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Ve extends P.AccordionItem{}const Ye=Ve.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
552
552
|
${(0,P.foundationAccordionItemStyles)(e,a)};
|
|
@@ -1983,7 +1983,7 @@
|
|
|
1983
1983
|
`,pn=(e="foundation")=>c.html`
|
|
1984
1984
|
<span>${e=>e.valueFormatted}</span>
|
|
1985
1985
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
1986
|
-
`,un=dn.compose({baseName:"editable-renderer",styles:cn,template:pn()});class hn extends dn{}const mn=hn.compose({baseName:"editable-renderer",styles:cn,template:pn("zero")});var bn=r(59783);const vn=(0,
|
|
1986
|
+
`,un=dn.compose({baseName:"editable-renderer",styles:cn,template:pn()});class hn extends dn{}const mn=hn.compose({baseName:"editable-renderer",styles:cn,template:pn("zero")});var bn=r(59783);const vn=(0,v.createLogger)("grid-pro");class fn extends p.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===bn.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){vn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,yi.__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,yi.__decorate)([c.observable],fn.prototype,"params",void 0),(0,yi.__decorate)([c.observable],fn.prototype,"pendingAction",void 0);const{create:wn}=p.DesignToken,yn=(wn("action-height-multiplier").withDefault("0.6px"),c.css`
|
|
1987
1987
|
.action-container {
|
|
1988
1988
|
align-items: center;
|
|
1989
1989
|
display: flex;
|
|
@@ -2100,7 +2100,7 @@
|
|
|
2100
2100
|
<template>
|
|
2101
2101
|
<slot ${(0,c.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2102
2102
|
</template>
|
|
2103
|
-
`;let sl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],sl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],sl.prototype,"definition",void 0),sl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:gl})],sl);var dl,cl=r(82940),pl=r(32449),ul=r(9162),hl=r(5127),ml=r(83123),bl=r(35991),vl=r(6852),fl=r(26714),wl=r(2480),yl=r(71452),xl=r(99449),kl=r(30526),zl=r(61080);class Sl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=cl.WJ.MAX_ROWS_250,this.maxView=cl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===cl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===cl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,yi.__decorate)([s.lj],Sl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"rowDataMapper",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],Sl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],Sl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],Sl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],Sl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],Sl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],Sl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"reverse",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(dl||(dl={}));class Cl extends Sl{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},dl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},dl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},dl.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(dl)){if(!this.rowDataMapper)return e;const r={};return a.includes(dl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(dl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(dl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class $l{constructor(){this.rowData=new Map}}var Al=r(21607);function Fl({value:e}){return(0,Al.D_)(e)}function Tl({value:e}){return(0,Al.Lx)(e)}let Ol=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=cl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new fl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.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;c.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,yi.__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 vn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===cl._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,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,yl.T)(1),(0,xl.b)(r),(0,kl.b)((e=>vn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else vn.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 fl.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,yi.__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&&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,yi.__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,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return vn.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 vn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,zl.K)((e=>(this.handleErrors(e.receivedMessage),wl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===ul.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,hl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,hl.$)(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 vn.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,yi.__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 ml.r.DATE:case ml.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 ml.r.STRING:r.cellEditor=Ai.stringEditor;break;case ml.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case ml.r.DATETIME:r.valueFormatter=Tl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case ml.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):vn.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,pl.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,yi.__decorate)([bl.g],Ol.prototype,"auth",void 0),(0,yi.__decorate)([vl.Yh],Ol.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Ol.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Ol.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Ol.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Ol.prototype,"restartOnReconnection",void 0),Ol=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Ol);let Dl=class extends Ol{};Dl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],Dl);var Rl=r(66306),Nl=r(52078);function Ll(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 Ml(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 Il extends $l{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,yi.__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 vn.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/"),vn.debug("Available indexes:",a),vn.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,Nl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===ul.Cs.LOGOFF_ACK||t===ul.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,hl.$)(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,yi.__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,yi.__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=>vn.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,yi.__decorate)([bl.g],Il.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Il.prototype,"connect",void 0);let jl=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,yi.__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;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>vn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Rl.C)(e);const a=(0,Rl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Il({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});vn.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));vn.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 vn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===ul.Cs.QUERY_UPDATE&&e.ROW){const r=(0,hl.$)(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=>vn.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,yi.__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 ml.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 ml.r.DATE:case ml.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 ml.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 ml.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl;break;case ml.r.DATETIME:r.valueFormatter=Tl;break;case ml.r.ENUM:r.cellEditor=Ai.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:Ml(e.type),filter:Ll(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,yi.__decorate)([(0,c.attr)({mode:"boolean"})],jl.prototype,"pagination",void 0),jl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],jl);const El='\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+YnEKJNWojAGE6V6EkgmyIn4S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3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Pl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYM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FUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Bl={[wi.alpine]:El,[wi.alpineDark]:El,[wi.balham]:Pl,[wi.balhamDark]:Pl,[wi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ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nYslVDeiYiJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Gl=El,Ul=c.css`
|
|
2103
|
+
`;let sl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],sl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],sl.prototype,"definition",void 0),sl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:gl})],sl);var dl,cl=r(82940),pl=r(32449),ul=r(9162),hl=r(5127),ml=r(83123),bl=r(35991),vl=r(6852),fl=r(26714),wl=r(2480),yl=r(71452),xl=r(99449),kl=r(30526),zl=r(61080);class Sl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=cl.WJ.MAX_ROWS_250,this.maxView=cl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===cl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===cl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,yi.__decorate)([s.lj],Sl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"rowDataMapper",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],Sl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],Sl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],Sl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],Sl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],Sl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],Sl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"reverse",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(dl||(dl={}));class Cl extends Sl{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},dl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},dl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},dl.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(dl)){if(!this.rowDataMapper)return e;const r={};return a.includes(dl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(dl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(dl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class $l{constructor(){this.rowData=new Map}}var Al=r(21607);function Fl({value:e}){return(0,Al.D_)(e)}function Tl({value:e}){return(0,Al.Lx)(e)}let Ol=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=cl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new fl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.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;c.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,yi.__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 vn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===cl._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,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,yl.T)(1),(0,xl.b)(r),(0,kl.b)((e=>vn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else vn.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 fl.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,yi.__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,yi.__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,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return vn.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 vn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,zl.K)((e=>(this.handleErrors(e.receivedMessage),wl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===ul.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,hl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,hl.$)(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 vn.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,yi.__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 ml.r.DATE:case ml.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 ml.r.STRING:r.cellEditor=Ai.stringEditor;break;case ml.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case ml.r.DATETIME:r.valueFormatter=Tl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case ml.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):vn.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,pl.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,yi.__decorate)([bl.g],Ol.prototype,"auth",void 0),(0,yi.__decorate)([vl.Yh],Ol.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Ol.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Ol.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Ol.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Ol.prototype,"restartOnReconnection",void 0),Ol=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Ol);let Dl=class extends Ol{};Dl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],Dl);var Rl=r(66306),Nl=r(52078);function Ll(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 Ml(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 Il extends $l{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,yi.__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 vn.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/"),vn.debug("Available indexes:",a),vn.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,Nl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===ul.Cs.LOGOFF_ACK||t===ul.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,hl.$)(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,yi.__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,yi.__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=>vn.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,yi.__decorate)([bl.g],Il.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Il.prototype,"connect",void 0);let jl=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,yi.__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;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>vn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Rl.C)(e);const a=(0,Rl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Il({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});vn.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));vn.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 vn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===ul.Cs.QUERY_UPDATE&&e.ROW){const r=(0,hl.$)(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=>vn.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,yi.__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 ml.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 ml.r.DATE:case ml.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 ml.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 ml.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl;break;case ml.r.DATETIME:r.valueFormatter=Tl;break;case ml.r.ENUM:r.cellEditor=Ai.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:Ml(e.type),filter:Ll(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,yi.__decorate)([(0,c.attr)({mode:"boolean"})],jl.prototype,"pagination",void 0),jl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],jl);const El='\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/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC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e1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Pl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2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cvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Bl={[wi.alpine]:El,[wi.alpineDark]:El,[wi.balham]:Pl,[wi.balhamDark]:Pl,[wi.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/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cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Gl=El,Ul=c.css`
|
|
2104
2104
|
.ag-icon {
|
|
2105
2105
|
font-family: var(--ag-icon-font-family);
|
|
2106
2106
|
font-size: var(--ag-icon-size);
|
|
@@ -13170,7 +13170,7 @@
|
|
|
13170
13170
|
.error {
|
|
13171
13171
|
border-color: ${ve.shortPink} !important;
|
|
13172
13172
|
}
|
|
13173
|
-
`,fh=ql,wh="ag-theme-genesis-rapid-dark";const yh=og,xh={rapidAgEditableRenderer:Ku,rapidAgActionRenderer:eh,rapidAgActionsMenuRenderer:rh,rapidAgBooleanRenderer:oh,rapidAgTextRenderer:ih,rapidAgSelectRenderer:nh,rapidAgDateEditor:Uu,rapidAgMultiselectEditor:Hu,rapidAgSelectEditor:Yu,rapidAgNumberEditor:Wu,rapidAgStringEditor:Ju,rapidGridPro:class extends rg{constructor(){super(...arguments),this.theme=wh}themeChanged(e,a){
|
|
13173
|
+
`,fh=ql,wh="ag-theme-genesis-rapid-dark";const yh=og,xh={rapidAgEditableRenderer:Ku,rapidAgActionRenderer:eh,rapidAgActionsMenuRenderer:rh,rapidAgBooleanRenderer:oh,rapidAgTextRenderer:ih,rapidAgSelectRenderer:nh,rapidAgDateEditor:Uu,rapidAgMultiselectEditor:Hu,rapidAgSelectEditor:Yu,rapidAgNumberEditor:Wu,rapidAgStringEditor:Ju,rapidGridPro:class extends rg{constructor(){super(...arguments),this.theme=wh}themeChanged(e,a){(e||a===wh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:Xu,[Ai.actionsMenu]:ah,[Ai.boolean]:th,[Ai.editable]:Zu,[Ai.selectEditor]:Vu,[Ai.numberEditor]:Qu,[Ai.multiselectEditor]:_u,[Ai.dateEditor]:Gu,[Ai.stringEditor]:qu};(this.theme===uh||this.theme===mh)&&(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:fh,styles:vh,shadowOptions:undefined},yh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var kh,zh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(kh||(kh={}));const Sh={Roboto:je,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},Ch=Sh["Segoe UI"],$h=c.css`
|
|
13174
13174
|
${(0,p.display)("block")} :host {
|
|
13175
13175
|
width: 100%;
|
|
13176
13176
|
display: inline-flex;
|
|
@@ -13525,7 +13525,7 @@
|
|
|
13525
13525
|
<slot></slot>
|
|
13526
13526
|
</div>
|
|
13527
13527
|
</template>
|
|
13528
|
-
`,Fh=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(Sh).find((a=>Sh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Th=Fh(Ue),Oh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Dh={accent:"primary",neutral:"secondary",font:"white"},Rh=Fh(l.designTokens),Nh=Fh(Ys),Lh={zero:{prefix:"zero",tokenDefaults:Th,buttons:Oh,badge:Dh},alpha:{prefix:"alpha",tokenDefaults:Rh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Nh,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Oh,badge:Dh}};let Mh=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Th.luminance===u.StandardLuminance.DarkMode,this.luminance=Th.luminance,this.neutralColor=Th.neutralColor,this.accentColor=Th.accentColor,this.bodyFont=Th.bodyFont,this.density=Th.density,this.borderRadius=Th.borderRadius,this.strokeWidth=Th.strokeWidth,this.designUnit=Th.designUnit,this.baseFontSize=Th.baseFontSize,this.baseLineHeight=Th.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Fh(a);Lh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,zh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Lh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,zh.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Lh[this.ds].prefix,buttonAppearanceAccent:Lh[this.ds].buttons.accent,buttonAppearanceNeutral:Lh[this.ds].buttons.neutral,buttonAppearanceOutline:Lh[this.ds].buttons.outline,buttonAppearanceText:Lh[this.ds].buttons.text,badgeAppearanceAccent:Lh[this.ds].badge.accent,badgeAppearanceNeutral:Lh[this.ds].badge.neutral,badgeText:Lh[this.ds].badge.font};this.$emit(kh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Lh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Sh[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(kh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===u.StandardLuminance.DarkMode,c.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(kh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,zh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Mh.prototype,"customDesignMode",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"designSystems",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"ds",void 0),(0,zh.__decorate)([c.attr],Mh.prototype,"darkMode",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"neutralColor",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"accentColor",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"bodyFont",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"density",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"borderRadius",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"strokeWidth",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"designUnit",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"baseFontSize",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"baseLineHeight",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"preserveOptions",void 0),Mh=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:Ah,styles:$h})],Mh);const Ih=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},
|
|
13528
|
+
`,Fh=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(Sh).find((a=>Sh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Th=Fh(Ue),Oh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Dh={accent:"primary",neutral:"secondary",font:"white"},Rh=Fh(l.designTokens),Nh=Fh(Ys),Lh={zero:{prefix:"zero",tokenDefaults:Th,buttons:Oh,badge:Dh},alpha:{prefix:"alpha",tokenDefaults:Rh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Nh,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Oh,badge:Dh}};let Mh=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Th.luminance===u.StandardLuminance.DarkMode,this.luminance=Th.luminance,this.neutralColor=Th.neutralColor,this.accentColor=Th.accentColor,this.bodyFont=Th.bodyFont,this.density=Th.density,this.borderRadius=Th.borderRadius,this.strokeWidth=Th.strokeWidth,this.designUnit=Th.designUnit,this.baseFontSize=Th.baseFontSize,this.baseLineHeight=Th.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Fh(a);Lh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,zh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Lh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,zh.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Lh[this.ds].prefix,buttonAppearanceAccent:Lh[this.ds].buttons.accent,buttonAppearanceNeutral:Lh[this.ds].buttons.neutral,buttonAppearanceOutline:Lh[this.ds].buttons.outline,buttonAppearanceText:Lh[this.ds].buttons.text,badgeAppearanceAccent:Lh[this.ds].badge.accent,badgeAppearanceNeutral:Lh[this.ds].badge.neutral,badgeText:Lh[this.ds].badge.font};this.$emit(kh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Lh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Sh[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(kh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===u.StandardLuminance.DarkMode,c.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(kh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,zh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Mh.prototype,"customDesignMode",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"designSystems",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"ds",void 0),(0,zh.__decorate)([c.attr],Mh.prototype,"darkMode",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"neutralColor",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"accentColor",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"bodyFont",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"density",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"borderRadius",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"strokeWidth",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"designUnit",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"baseFontSize",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"baseLineHeight",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"preserveOptions",void 0),Mh=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:Ah,styles:$h})],Mh);const Ih=(0,v.createLogger)("documentation-components"),jh=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},Eh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Ph=(e,a)=>{const r=jh(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=jh(e.accentColor);u.accentPalette.setValueFor(a,t),u.baseLayerLuminance.setValueFor(a,e.luminance),u.density.setValueFor(a,e.density),u.controlCornerRadius.setValueFor(a,e.borderRadius),u.strokeWidth.setValueFor(a,e.strokeWidth),u.designUnit.setValueFor(a,e.designUnit),u.bodyFont.setValueFor(a,e.bodyFont),u.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),u.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Eh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Eh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Bh=c.css`
|
|
13529
13529
|
:host {
|
|
13530
13530
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13531
13531
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13621,7 +13621,7 @@
|
|
|
13621
13621
|
display: flex;
|
|
13622
13622
|
flex-direction: column;
|
|
13623
13623
|
}
|
|
13624
|
-
`,
|
|
13624
|
+
`,Gh=c.html`
|
|
13625
13625
|
${e=>(e=>c.html`
|
|
13626
13626
|
<template>
|
|
13627
13627
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -14033,7 +14033,7 @@
|
|
|
14033
14033
|
</${e}-design-system-provider>
|
|
14034
14034
|
</template>
|
|
14035
14035
|
`)(e.prefix)}
|
|
14036
|
-
`;let
|
|
14036
|
+
`;let Uh=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>Ih.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>Ih.debug("DELETE!!!",e)},{name:"Edit",callback:e=>Ih.debug("EDIT!!!",e)},{name:"Wait",callback:e=>Ih.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(kh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(Ch)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Ph(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,this.buttonAppearanceText=e.detail.buttonAppearanceText,this.badgeAppearanceAccent=e.detail.badgeAppearanceAccent,this.badgeAppearanceNeutral=e.detail.badgeAppearanceNeutral,this.badgeText=e.detail.badgeText}showDialog(e){this[e].show()}closeDialog(e){this[e].close()}dismissBanner(){this.banner.dismiss()}};(0,zh.__decorate)([c.observable],Uh.prototype,"modal",void 0),(0,zh.__decorate)([c.attr],Uh.prototype,"prefix",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"buttonAppearanceAccent",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"buttonAppearanceNeutral",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"buttonAppearanceOutline",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"buttonAppearanceText",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"badgeAppearanceAccent",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"badgeAppearanceNeutral",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"badgeText",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"cards",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"countries",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"menuActions",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"menuDefinition",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"dropDownMenuItems",void 0),(0,zh.__decorate)([c.observable],Uh.prototype,"provider",void 0),Uh=(0,zh.__decorate)([(0,c.customElement)({name:"preview-components",template:Gh,styles:Bh})],Uh);const _h=c.css`
|
|
14037
14037
|
.export {
|
|
14038
14038
|
display: flex;
|
|
14039
14039
|
justify-content: center;
|
|
@@ -14044,7 +14044,7 @@
|
|
|
14044
14044
|
display: flex;
|
|
14045
14045
|
justify-content: space-between;
|
|
14046
14046
|
}
|
|
14047
|
-
`,
|
|
14047
|
+
`,Hh=c.html`
|
|
14048
14048
|
<template>
|
|
14049
14049
|
<div class="export">
|
|
14050
14050
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
@@ -14065,7 +14065,7 @@
|
|
|
14065
14065
|
</alpha-modal>
|
|
14066
14066
|
</div>
|
|
14067
14067
|
</template>
|
|
14068
|
-
`;let
|
|
14068
|
+
`;let Vh=class extends c.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{Ih.log("Tokens saved successfully:",e),this.$emit(kh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{Ih.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,zh.__decorate)([c.attr],Vh.prototype,"value",void 0),(0,zh.__decorate)([c.attr],Vh.prototype,"tokensPath",void 0),Vh=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-export",template:Hh,styles:_h})],Vh);const Yh=c.css`
|
|
14069
14069
|
.colors {
|
|
14070
14070
|
display: flex;
|
|
14071
14071
|
flex-wrap: wrap;
|
|
@@ -14078,23 +14078,23 @@
|
|
|
14078
14078
|
flex-grow: 1;
|
|
14079
14079
|
height: 20px;
|
|
14080
14080
|
}
|
|
14081
|
-
`,
|
|
14081
|
+
`,Qh=c.html`
|
|
14082
14082
|
<ul class="colors">
|
|
14083
14083
|
${(0,c.repeat)((e=>e.swatches),c.html`
|
|
14084
14084
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14085
14085
|
`)}
|
|
14086
14086
|
</ul>
|
|
14087
|
-
`;let
|
|
14087
|
+
`;let Wh=class extends c.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=jh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,zh.__decorate)([c.observable],Wh.prototype,"swatches",void 0),(0,zh.__decorate)([c.attr],Wh.prototype,"type",void 0),Wh=(0,zh.__decorate)([(0,c.customElement)({name:"color-palette",styles:Yh,template:Qh})],Wh);const qh=c.css`
|
|
14088
14088
|
.preview {
|
|
14089
14089
|
width: 40px;
|
|
14090
14090
|
height: 40px;
|
|
14091
14091
|
}
|
|
14092
|
-
`,
|
|
14092
|
+
`,Jh=c.html`
|
|
14093
14093
|
<div
|
|
14094
14094
|
class="preview"
|
|
14095
14095
|
style="background-color: ${e=>u[e.tokenName].createCSS()}"
|
|
14096
14096
|
></div>
|
|
14097
|
-
`;let
|
|
14097
|
+
`;let Zh=class extends c.FASTElement{};(0,zh.__decorate)([c.attr],Zh.prototype,"tokenName",void 0),Zh=(0,zh.__decorate)([(0,c.customElement)({name:"color-token",styles:qh,template:Jh})],Zh);const Kh=c.css`
|
|
14098
14098
|
.container {
|
|
14099
14099
|
display: flex;
|
|
14100
14100
|
width: 100%;
|
|
@@ -14142,7 +14142,7 @@
|
|
|
14142
14142
|
.container > div:not(:last-child) {
|
|
14143
14143
|
border-right: 1px solid #fafafa;
|
|
14144
14144
|
}
|
|
14145
|
-
`,
|
|
14145
|
+
`,Xh=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],em=c.html`
|
|
14146
14146
|
<div class="row">
|
|
14147
14147
|
<div
|
|
14148
14148
|
class="preview"
|
|
@@ -14154,19 +14154,19 @@
|
|
|
14154
14154
|
${(e,a)=>u[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
14155
14155
|
</div>
|
|
14156
14156
|
</div>
|
|
14157
|
-
`,
|
|
14157
|
+
`,am=c.html`
|
|
14158
14158
|
<div class="container" ${(0,c.ref)("provider")}>
|
|
14159
|
-
${(0,c.repeat)((()=>
|
|
14159
|
+
${(0,c.repeat)((()=>Xh),c.html`
|
|
14160
14160
|
<div class="column">
|
|
14161
14161
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
14162
14162
|
${(0,c.repeat)((e=>e.subcategories),c.html`
|
|
14163
14163
|
<h4>${e=>e.title}</h4>
|
|
14164
|
-
${(0,c.repeat)((e=>e.tokens),
|
|
14164
|
+
${(0,c.repeat)((e=>e.tokens),em)}
|
|
14165
14165
|
`)}
|
|
14166
14166
|
</div>
|
|
14167
14167
|
`)}
|
|
14168
14168
|
</div>
|
|
14169
|
-
`;let
|
|
14169
|
+
`;let rm=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{const a=e.detail;Ph(a,this.provider)}))}};(0,zh.__decorate)([c.observable],rm.prototype,"provider",void 0),rm=(0,zh.__decorate)([(0,c.customElement)({name:"color-tokens",template:am,styles:Kh})],rm);const tm=c.css`
|
|
14170
14170
|
table {
|
|
14171
14171
|
background: var(--neutral-fill-rest);
|
|
14172
14172
|
color: var(--neutral-foreground-rest);
|
|
@@ -14175,7 +14175,7 @@
|
|
|
14175
14175
|
th {
|
|
14176
14176
|
text-align: left;
|
|
14177
14177
|
}
|
|
14178
|
-
`,
|
|
14178
|
+
`,om=c.html`
|
|
14179
14179
|
<table ${(0,c.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
|
|
14180
14180
|
<colgroup>
|
|
14181
14181
|
<col style="width: 15%;" />
|
|
@@ -14403,7 +14403,7 @@
|
|
|
14403
14403
|
</tr>
|
|
14404
14404
|
</tbody>
|
|
14405
14405
|
</table>
|
|
14406
|
-
`;let
|
|
14406
|
+
`;let im=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{const a=e.detail;Ph(a,this.provider)}))}};(0,zh.__decorate)([c.observable],im.prototype,"provider",void 0),im=(0,zh.__decorate)([(0,c.customElement)({name:"typography-tokens",template:om,styles:tm})],im);const nm=c.css`
|
|
14407
14407
|
:host {
|
|
14408
14408
|
background: var(--fill-color);
|
|
14409
14409
|
color: var(--neutral-foreground-rest);
|
|
@@ -14419,7 +14419,7 @@
|
|
|
14419
14419
|
margin-top: 24px;
|
|
14420
14420
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14421
14421
|
}
|
|
14422
|
-
`,
|
|
14422
|
+
`,lm=c.html`
|
|
14423
14423
|
<template>
|
|
14424
14424
|
<alpha-tabs>
|
|
14425
14425
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14448,7 +14448,7 @@
|
|
|
14448
14448
|
</alpha-tab-panel>
|
|
14449
14449
|
</alpha-tabs>
|
|
14450
14450
|
</template>
|
|
14451
|
-
`;let
|
|
14451
|
+
`;let gm=class extends c.FASTElement{};gm=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-preview",template:lm,styles:nm})],gm);const sm={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"}]}]}}]},dm={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"]}}},cm={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"}]}}}]},pm={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"]}}}},um=c.css`
|
|
14452
14452
|
:host {
|
|
14453
14453
|
background: var(--fill-color);
|
|
14454
14454
|
color: var(--neutral-foreground-rest);
|
|
@@ -14479,7 +14479,7 @@
|
|
|
14479
14479
|
zero-design-system-provider {
|
|
14480
14480
|
display: inline;
|
|
14481
14481
|
}
|
|
14482
|
-
`,
|
|
14482
|
+
`,hm=c.html`
|
|
14483
14483
|
${e=>(e=>c.html`
|
|
14484
14484
|
<template>
|
|
14485
14485
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -14503,7 +14503,7 @@
|
|
|
14503
14503
|
</${e}-design-system-provider>
|
|
14504
14504
|
</template>
|
|
14505
14505
|
`)(e.prefix)}
|
|
14506
|
-
`;let
|
|
14506
|
+
`;let mm=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=dm,this.uischema=sm,this.jsonSchemaArray=pm,this.uiSchemaArray=cm,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(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(kh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(Ch)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Ph(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,zh.__decorate)([c.observable],mm.prototype,"jsonSchema",void 0),(0,zh.__decorate)([c.observable],mm.prototype,"uischema",void 0),(0,zh.__decorate)([c.observable],mm.prototype,"jsonSchemaArray",void 0),(0,zh.__decorate)([c.observable],mm.prototype,"uiSchemaArray",void 0),(0,zh.__decorate)([c.attr],mm.prototype,"prefix",void 0),(0,zh.__decorate)([c.observable],mm.prototype,"provider",void 0),(0,zh.__decorate)([c.observable],mm.prototype,"editedEntity",void 0),(0,zh.__decorate)([c.observable],mm.prototype,"editedEntityArray",void 0),mm=(0,zh.__decorate)([(0,c.customElement)({name:"preview-form",template:hm,styles:um})],mm);const bm=c.css`
|
|
14507
14507
|
:host {
|
|
14508
14508
|
background: var(--fill-color);
|
|
14509
14509
|
color: var(--neutral-foreground-rest);
|
|
@@ -14518,7 +14518,7 @@
|
|
|
14518
14518
|
.grid-height {
|
|
14519
14519
|
height: 450px;
|
|
14520
14520
|
}
|
|
14521
|
-
`,
|
|
14521
|
+
`,vm=c.html`
|
|
14522
14522
|
${e=>(e=>c.html`
|
|
14523
14523
|
<template>
|
|
14524
14524
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -14528,5 +14528,5 @@
|
|
|
14528
14528
|
</${e}-design-system-provider>
|
|
14529
14529
|
</template>
|
|
14530
14530
|
`)(e.prefix)}
|
|
14531
|
-
`;let
|
|
14532
|
-
//# sourceMappingURL=
|
|
14531
|
+
`;let fm=class extends c.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(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(kh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(Ch)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Ph(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,zh.__decorate)([c.observable],fm.prototype,"grid",void 0),(0,zh.__decorate)([c.attr],fm.prototype,"prefix",void 0),(0,zh.__decorate)([c.observable],fm.prototype,"provider",void 0),(0,zh.__decorate)([c.observable],fm.prototype,"rowData",void 0),(0,zh.__decorate)([c.observable],fm.prototype,"columnDefs",void 0),(0,zh.__decorate)([c.observable],fm.prototype,"gridOptions",void 0),fm=(0,zh.__decorate)([(0,c.customElement)({name:"preview-grid",template:vm,styles:bm})],fm),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(vi,yg),(0,l.provideDesignSystem)().register(l.baseComponents,xg),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(Bu,xh)}}]);
|
|
14532
|
+
//# sourceMappingURL=166.8f7345203ff6928ea6a194ece8eef96c.js.map
|