@genesislcap/design-system-configurator 14.138.1 → 14.139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{500.500.7e9b5c346ba6cf0292d9.js → 122.122.decea54ca958797902f1.js} +301 -220
- package/dist/122.4cecb51180e76a21ab8df152f6b0d680.js.map +1 -0
- package/dist/{200.200.ffc3619da01a1e50ad35.js → 200.200.be6f503ebb22ee244c2f.js} +1 -1
- package/dist/394.394.101c1a2983b94cda32e4.js +4 -0
- package/dist/394.d4ac9e183a0c1c9f7ed38acbb0c5b015.js.map +1 -0
- package/dist/{495.495.099d0cf1cac08658cfda.js → 460.460.f33d1faf3acebf17b028.js} +440 -193
- package/dist/460.989e0b8605e01ee5396f5587f651c7ea.js.map +1 -0
- package/dist/{755.755.0e0c0ae9d08dc157ecd6.js → 755.755.7429981d5775b1c23463.js} +1 -1
- package/dist/{8.17fb5c725550f75ede773e6c9c1c4e98.js.map → 8.5394062b4834c8f5d05d079dfd31f253.js.map} +1 -1
- package/dist/{8.8.69f4b05a3772da060107.js → 8.8.58526cd4c95801c8d2b4.js} +2 -2
- package/dist/{designSystemConfigurator.3b1d95ecd3940c8259ed4f43d57bad0c.js.map → designSystemConfigurator.c865214e6d412a6a5621b444cf065cdb.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.fe4055660dd1e9697c50.js → main.1c48b659a19a3a8e414d.js} +2 -2
- package/dist/{main.a39270e42e3e6abddfd99997f89fb6e7.js.map → main.f690e4453b3356ca1cbfaaaa5e433186.js.map} +1 -1
- package/dist/{npm.ajv.213.28b88e6bc144417fc65b.js → npm.ajv.213.ffd70782a76e409cc4cd.js} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +7 -7
- package/dist/269.269.02f2dd792fd454f2e252.js +0 -4
- package/dist/269.7a20416c239baf1583bc46e78dfa5f54.js.map +0 -1
- package/dist/495.7cfbdd04dc4777456fbee2cde0f6c13e.js.map +0 -1
- package/dist/500.3a51b9514d1abb6b6007bd4a5cc02bbd.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[500],{78500:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Ah,ColorToken:()=>Th,ColorTokens:()=>Mh,DesignSystemEditor:()=>mh,DesignSystemExport:()=>Sh,DesignSystemPreview:()=>Gh,EventName:()=>rh,PreviewComponents:()=>xh,PreviewForm:()=>Wh,PreviewGrid:()=>Zh,TypographyTokens:()=>Eh,defaultBodyFont:()=>ih,fontFamilies:()=>oh});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:()=>Te,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:()=>xg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>yg,defaultErrorColor:()=>cg,defaultSellColor:()=>zg,defaultSuccessColor:()=>hg,defaultWarningColor:()=>vg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>pg,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:()=>Sg,strokeWidth:()=>u.strokeWidth,successColor:()=>mg,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:()=>fg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Tg,accentFillFocusDeltaValue:()=>Dg,accentFillHoverDeltaValue:()=>Og,accentFillRestDeltaValue:()=>Fg,accentForegroundActiveDeltaValue:()=>Lg,accentForegroundFocusDeltaValue:()=>Mg,accentForegroundHoverDeltaValue:()=>Ng,accentForegroundRestDeltaValue:()=>Rg,accentPaletteValue:()=>Cg,baseHeightMultiplierValue:()=>ss,baseLayerLuminanceValue:()=>Ag,bodyFontValue:()=>us,controlCornerRadiusValue:()=>ds,densityValue:()=>cs,designTokens:()=>Rs,designUnitValue:()=>ps,directionValue:()=>is,disabledOpacityValue:()=>ns,focusStrokeWidthValue:()=>gs,neutralFillActiveDeltaValue:()=>Eg,neutralFillFocusDeltaValue:()=>Pg,neutralFillHoverDeltaValue:()=>jg,neutralFillInputActiveDeltaValue:()=>Ug,neutralFillInputFocusDeltaValue:()=>Hg,neutralFillInputHoverDeltaValue:()=>Gg,neutralFillInputRestDeltaValue:()=>Bg,neutralFillLayerRestDeltaValue:()=>Kg,neutralFillRestDeltaValue:()=>Ig,neutralFillStealthActiveDeltaValue:()=>Yg,neutralFillStealthFocusDeltaValue:()=>Qg,neutralFillStealthHoverDeltaValue:()=>Vg,neutralFillStealthRestDeltaValue:()=>_g,neutralFillStrongActiveDeltaValue:()=>Jg,neutralFillStrongFocusDeltaValue:()=>Zg,neutralFillStrongHoverDeltaValue:()=>qg,neutralFillStrongRestDeltaValue:()=>Wg,neutralPaletteValue:()=>$g,neutralStrokeActiveDeltaValue:()=>as,neutralStrokeDividerRestDeltaValue:()=>ts,neutralStrokeFocusDeltaValue:()=>rs,neutralStrokeHoverDeltaValue:()=>es,neutralStrokeRestDeltaValue:()=>Xg,prefix:()=>os,strokeWidthValue:()=>ls,typeRampBaseFontSizeValue:()=>hs,typeRampBaseLineHeightValue:()=>ms,typeRampMinus1FontSizeValue:()=>bs,typeRampMinus1LineHeightValue:()=>vs,typeRampMinus2FontSizeValue:()=>fs,typeRampMinus2LineHeightValue:()=>ws,typeRampPlus1FontSizeValue:()=>ys,typeRampPlus1LineHeightValue:()=>xs,typeRampPlus2FontSizeValue:()=>ks,typeRampPlus2LineHeightValue:()=>zs,typeRampPlus3FontSizeValue:()=>Ss,typeRampPlus3LineHeightValue:()=>Cs,typeRampPlus4FontSizeValue:()=>$s,typeRampPlus4LineHeightValue:()=>As,typeRampPlus5FontSizeValue:()=>Fs,typeRampPlus5LineHeightValue:()=>Os,typeRampPlus6FontSizeValue:()=>Ts,typeRampPlus6LineHeightValue:()=>Ds});var l=r(15565),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([[122],{85122:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Ph,ColorToken:()=>Uh,ColorTokens:()=>Qh,DesignSystemEditor:()=>Ah,DesignSystemExport:()=>Ih,DesignSystemPreview:()=>Xh,EventName:()=>hh,PreviewComponents:()=>Nh,PreviewForm:()=>nm,PreviewGrid:()=>sm,TypographyTokens:()=>Jh,defaultBodyFont:()=>vh,fontFamilies:()=>bh});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:()=>Te,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:()=>Ag,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>$g,defaultErrorColor:()=>vg,defaultSellColor:()=>Og,defaultSuccessColor:()=>yg,defaultWarningColor:()=>zg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>fg,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:()=>Tg,strokeWidth:()=>u.strokeWidth,successColor:()=>xg,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:()=>Sg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Ig,accentFillFocusDeltaValue:()=>jg,accentFillHoverDeltaValue:()=>Mg,accentFillRestDeltaValue:()=>Lg,accentForegroundActiveDeltaValue:()=>Bg,accentForegroundFocusDeltaValue:()=>Gg,accentForegroundHoverDeltaValue:()=>Pg,accentForegroundRestDeltaValue:()=>Eg,accentPaletteValue:()=>Dg,baseHeightMultiplierValue:()=>ms,baseLayerLuminanceValue:()=>Ng,bodyFontValue:()=>ws,controlCornerRadiusValue:()=>bs,densityValue:()=>vs,designTokens:()=>Es,designUnitValue:()=>fs,directionValue:()=>cs,disabledOpacityValue:()=>ps,focusStrokeWidthValue:()=>hs,neutralFillActiveDeltaValue:()=>_g,neutralFillFocusDeltaValue:()=>Vg,neutralFillHoverDeltaValue:()=>Hg,neutralFillInputActiveDeltaValue:()=>Wg,neutralFillInputFocusDeltaValue:()=>qg,neutralFillInputHoverDeltaValue:()=>Qg,neutralFillInputRestDeltaValue:()=>Yg,neutralFillLayerRestDeltaValue:()=>os,neutralFillRestDeltaValue:()=>Ug,neutralFillStealthActiveDeltaValue:()=>Kg,neutralFillStealthFocusDeltaValue:()=>Xg,neutralFillStealthHoverDeltaValue:()=>Zg,neutralFillStealthRestDeltaValue:()=>Jg,neutralFillStrongActiveDeltaValue:()=>rs,neutralFillStrongFocusDeltaValue:()=>ts,neutralFillStrongHoverDeltaValue:()=>as,neutralFillStrongRestDeltaValue:()=>es,neutralPaletteValue:()=>Rg,neutralStrokeActiveDeltaValue:()=>ls,neutralStrokeDividerRestDeltaValue:()=>ss,neutralStrokeFocusDeltaValue:()=>gs,neutralStrokeHoverDeltaValue:()=>ns,neutralStrokeRestDeltaValue:()=>is,prefix:()=>ds,strokeWidthValue:()=>us,typeRampBaseFontSizeValue:()=>ys,typeRampBaseLineHeightValue:()=>xs,typeRampMinus1FontSizeValue:()=>ks,typeRampMinus1LineHeightValue:()=>zs,typeRampMinus2FontSizeValue:()=>Ss,typeRampMinus2LineHeightValue:()=>Cs,typeRampPlus1FontSizeValue:()=>$s,typeRampPlus1LineHeightValue:()=>As,typeRampPlus2FontSizeValue:()=>Fs,typeRampPlus2LineHeightValue:()=>Os,typeRampPlus3FontSizeValue:()=>Ts,typeRampPlus3LineHeightValue:()=>Ds,typeRampPlus4FontSizeValue:()=>Rs,typeRampPlus4LineHeightValue:()=>Ns,typeRampPlus5FontSizeValue:()=>Ls,typeRampPlus5LineHeightValue:()=>Ms,typeRampPlus6FontSizeValue:()=>Is,typeRampPlus6LineHeightValue:()=>js});var l=r(27187),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
|
-
`));var b=r(
|
|
53
|
+
`));var b=r(24792);const v=(0,b.createLogger)("foundation-form"),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},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()}>
|
|
@@ -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(9688);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
|
|
@@ -1412,7 +1412,53 @@
|
|
|
1412
1412
|
:host([appearance="accent"]) {
|
|
1413
1413
|
background: green;
|
|
1414
1414
|
}
|
|
1415
|
-
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig))
|
|
1415
|
+
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig)),po=c.css`
|
|
1416
|
+
${P.foundationSearchBarStyles}
|
|
1417
|
+
`,uo=c.html`
|
|
1418
|
+
${(0,P.getPrefixedSearchBar)("zero")}
|
|
1419
|
+
`;class ho extends P.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const mo=ho.compose(Object.assign({baseName:"search-bar",template:uo,styles:po,shadowOptions:P.foundationSearchBarShadowOptions},P.defaultSearchBarConfig));class bo extends P.SearchBarCombobox{}const vo=bo.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,P.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1420
|
+
${(0,P.foundationSearchBarComboboxStyles)(e,a)}
|
|
1421
|
+
|
|
1422
|
+
:host {
|
|
1423
|
+
--primary-gradient-angle: -113.5deg;
|
|
1424
|
+
|
|
1425
|
+
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1426
|
+
border-color: ${nr};
|
|
1427
|
+
background: ${er};
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
:host(:focus-within:not([disabled])) {
|
|
1431
|
+
background:
|
|
1432
|
+
linear-gradient(
|
|
1433
|
+
var(--primary-gradient-angle),
|
|
1434
|
+
${he.blue} 0%,
|
|
1435
|
+
${he.purple} 100%
|
|
1436
|
+
)
|
|
1437
|
+
top/100% 1px,
|
|
1438
|
+
linear-gradient(
|
|
1439
|
+
var(--primary-gradient-angle),
|
|
1440
|
+
${he.blue} 0%,
|
|
1441
|
+
${he.purple} 100%
|
|
1442
|
+
)
|
|
1443
|
+
bottom/100% 1px;
|
|
1444
|
+
background-origin: border-box;
|
|
1445
|
+
background-repeat: no-repeat;
|
|
1446
|
+
border: 1px solid transparent;
|
|
1447
|
+
border-right-color: ${he.blue};
|
|
1448
|
+
border-left-color: ${he.purple};
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
:host(:hover:not([disabled]):not([open])) {
|
|
1452
|
+
border-color: ${Ka};
|
|
1453
|
+
background: ${er};
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
:host([open][position='below']) .listbox {
|
|
1457
|
+
padding: 0;
|
|
1458
|
+
border-radius: 4px;
|
|
1459
|
+
border: 1px solid ${ue.lightGrey};
|
|
1460
|
+
}
|
|
1461
|
+
`,shadowOptions:P.foundationSearchBarComboboxShadowOptions},P.defaultSearchBarComboboxConfig));class fo extends P.SegmentedControl{}const wo=fo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1416
1462
|
${(0,P.foundationSegmentedControlStyles)(e,a)}
|
|
1417
1463
|
:host {
|
|
1418
1464
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1451,7 +1497,7 @@
|
|
|
1451
1497
|
border-color: transparent;
|
|
1452
1498
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
1453
1499
|
}
|
|
1454
|
-
`,shadowOptions:undefined},{}));class
|
|
1500
|
+
`,shadowOptions:undefined},{}));class yo extends P.Radio{}const xo=yo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1455
1501
|
${(0,P.foundationSegmentedItemStyles)(e,a)}
|
|
1456
1502
|
:host {
|
|
1457
1503
|
color: var(--neutral-stroke-rest);
|
|
@@ -1461,7 +1507,7 @@
|
|
|
1461
1507
|
:host([aria-checked='true']) {
|
|
1462
1508
|
color: ${ue.white};
|
|
1463
1509
|
}
|
|
1464
|
-
`,shadowOptions:undefined},{}));class
|
|
1510
|
+
`,shadowOptions:undefined},{}));class ko extends P.Select{}const zo=ko.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1465
1511
|
${(0,P.foundationSelectStyles)(e,a)}
|
|
1466
1512
|
:host {
|
|
1467
1513
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1511,9 +1557,9 @@
|
|
|
1511
1557
|
:host(:not([disabled])) .control:active {
|
|
1512
1558
|
background: none;
|
|
1513
1559
|
}
|
|
1514
|
-
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class
|
|
1560
|
+
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class So extends P.Skeleton{}const Co=So.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1515
1561
|
${(0,P.foundationSkeletonStyles)(e,a)}
|
|
1516
|
-
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class
|
|
1562
|
+
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class $o extends P.Slider{}const Ao=$o.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1517
1563
|
${(0,P.foundationSliderStyles)(e,a)}
|
|
1518
1564
|
:host {
|
|
1519
1565
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1570,7 +1616,7 @@
|
|
|
1570
1616
|
.track-progress {
|
|
1571
1617
|
background-color: var(--neutral-stroke-rest);
|
|
1572
1618
|
}
|
|
1573
|
-
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class
|
|
1619
|
+
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class Fo extends P.SliderLabel{}const Oo=Fo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1574
1620
|
${(0,P.foundationSliderLabelStyles)(e,a)}
|
|
1575
1621
|
.label {
|
|
1576
1622
|
padding: 6px 8px;
|
|
@@ -1581,7 +1627,7 @@
|
|
|
1581
1627
|
text-align: center;
|
|
1582
1628
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
1583
1629
|
}
|
|
1584
|
-
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),
|
|
1630
|
+
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),To=c.css`
|
|
1585
1631
|
${P.foundationSnackbarStyles}
|
|
1586
1632
|
.snackbar {
|
|
1587
1633
|
border: calc(var(--stroke-width) * 1px) solid ${u.neutralLayer2};
|
|
@@ -1591,19 +1637,19 @@
|
|
|
1591
1637
|
:host([type='error']) .snackbar::after {
|
|
1592
1638
|
background-color: ${pa(1)};
|
|
1593
1639
|
}
|
|
1594
|
-
`,
|
|
1640
|
+
`,Do=c.html`
|
|
1595
1641
|
${(0,P.getPrefixedSnackbar)("zero")}
|
|
1596
|
-
|
|
1642
|
+
`,Ro=P.foundationSnackbarShadowOptions;class No extends P.Snackbar{}const Lo=No.compose({baseName:"snackbar",shadowOptions:Ro,styles:To,template:Do}),Mo=c.css`
|
|
1597
1643
|
${P.foundationStepperStyles}
|
|
1598
1644
|
|
|
1599
1645
|
.stepper-tab {
|
|
1600
1646
|
background-color: var(--neutral-layer-3);
|
|
1601
1647
|
}
|
|
1602
|
-
`,
|
|
1648
|
+
`,Io=c.html`
|
|
1603
1649
|
${(0,P.getPrefixedStepper)("zero")}
|
|
1604
|
-
`;class
|
|
1650
|
+
`;class jo extends P.Stepper{}const Eo=jo.compose(Object.assign({baseName:"stepper",template:Io,styles:Mo,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),Po=c.html`
|
|
1605
1651
|
${(0,P.getPrefixedStepperTab)("zero")}
|
|
1606
|
-
`;class
|
|
1652
|
+
`;class Bo extends P.StepperTab{}const Go=Bo.compose(Object.assign({baseName:"stepper-tab",template:Po,styles:(e,a)=>c.css`
|
|
1607
1653
|
${(0,P.foundationStepperTabStyles)(e,a)}
|
|
1608
1654
|
|
|
1609
1655
|
zero-tree-item {
|
|
@@ -1615,7 +1661,7 @@
|
|
|
1615
1661
|
|
|
1616
1662
|
border-bottom: 1px solid var(--fill-color);
|
|
1617
1663
|
}
|
|
1618
|
-
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class
|
|
1664
|
+
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Uo extends P.StepperTabPanel{}const Ho=Uo.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig));class _o extends P.Switch{}const Vo=_o.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1619
1665
|
${(0,P.foundationSwitchStyles)(e,a)}
|
|
1620
1666
|
:host {
|
|
1621
1667
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1660,7 +1706,7 @@
|
|
|
1660
1706
|
${he.purple}
|
|
1661
1707
|
);
|
|
1662
1708
|
}
|
|
1663
|
-
`,shadowOptions:P.foundationSwitchShadowOptions},P.defaultSwitchConfig));class
|
|
1709
|
+
`,shadowOptions:P.foundationSwitchShadowOptions},P.defaultSwitchConfig));class Yo extends P.Tab{}const Qo=Yo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1664
1710
|
${(0,P.foundationTabStyles)(e,a)}
|
|
1665
1711
|
:host {
|
|
1666
1712
|
background-color: ${u.neutralLayer2};
|
|
@@ -1684,12 +1730,12 @@
|
|
|
1684
1730
|
margin-right: 0;
|
|
1685
1731
|
background-color: var(--zero-card-fill-color);
|
|
1686
1732
|
}
|
|
1687
|
-
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class
|
|
1733
|
+
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class Wo extends P.TabPanel{}const qo=Wo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1688
1734
|
${(0,P.foundationTabPanelStyles)(e,a)}
|
|
1689
1735
|
:host {
|
|
1690
1736
|
padding: 0;
|
|
1691
1737
|
}
|
|
1692
|
-
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class
|
|
1738
|
+
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class Jo extends P.Tabs{}const Zo=Jo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1693
1739
|
${(0,P.foundationTabsStyles)(e,a)}
|
|
1694
1740
|
:host .tablist {
|
|
1695
1741
|
padding: 0;
|
|
@@ -1735,7 +1781,7 @@
|
|
|
1735
1781
|
height: 2px;
|
|
1736
1782
|
margin-top: 0;
|
|
1737
1783
|
}
|
|
1738
|
-
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class
|
|
1784
|
+
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class Ko extends P.TextArea{}const Xo=Ko.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1739
1785
|
${(0,P.foundationTextAreaStyles)(e,a)}
|
|
1740
1786
|
:host {
|
|
1741
1787
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1780,7 +1826,7 @@
|
|
|
1780
1826
|
color: ${rr};
|
|
1781
1827
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1782
1828
|
}
|
|
1783
|
-
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class
|
|
1829
|
+
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class ei extends P.TextField{}const ai=ei.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:Jt,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),ri=c.css`
|
|
1784
1830
|
${P.foundationToastStyles}
|
|
1785
1831
|
.toast {
|
|
1786
1832
|
border: calc(var(--stroke-width) * 1px) solid ${u.neutralLayer3};
|
|
@@ -1806,11 +1852,11 @@
|
|
|
1806
1852
|
:host([notify='serious']) .toast::after {
|
|
1807
1853
|
background-color: ${la(1)};
|
|
1808
1854
|
}
|
|
1809
|
-
`,
|
|
1855
|
+
`,ti=P.defaultToastConfig,oi=P.foundationToastShadowOptions;class ii extends P.Toast{}const ni=ii.compose(Object.assign({baseName:"toast",shadowOptions:oi,styles:ri,template:P.foundationToastTemplate},ti));class li extends P.Toolbar{}const gi=li.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1810
1856
|
${(0,P.foundationToolbarStyles)(e,a)}
|
|
1811
|
-
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class
|
|
1857
|
+
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class si extends P.Tooltip{}const di=si.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1812
1858
|
${(0,P.foundationTooltipStyles)(e,a)}
|
|
1813
|
-
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class
|
|
1859
|
+
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class ci extends P.TreeItem{}const pi=ci.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1814
1860
|
${(0,P.foundationTreeItemStyles)(e,a)}
|
|
1815
1861
|
:host {
|
|
1816
1862
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1838,11 +1884,11 @@
|
|
|
1838
1884
|
background-size: cover;
|
|
1839
1885
|
background-repeat: no-repeat;
|
|
1840
1886
|
}
|
|
1841
|
-
`,shadowOptions:P.foundationTreeItemShadowOptions},P.defaultTreeItemConfig));class
|
|
1887
|
+
`,shadowOptions:P.foundationTreeItemShadowOptions},P.defaultTreeItemConfig));class ui extends P.TreeView{}const hi=ui.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1842
1888
|
${(0,P.foundationTreeViewStyles)(e,a)}
|
|
1843
|
-
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),
|
|
1889
|
+
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),mi=c.html`
|
|
1844
1890
|
${(0,P.getPrefixedUrlInput)("zero")}
|
|
1845
|
-
`;class
|
|
1891
|
+
`;class bi extends P.UrlInput{}const vi={zeroAccordion:_e,zeroAccordionItem:Ye,zeroActionsMenu:We,zeroAnchor:Fa,zeroAnchoredRegion:Ta,zeroAvatar:Ra,zeroBadge:La,zeroBanner:Ea,zeroBreadcrumbItem:Ua,zeroBreadcrumb:Ba,zeroButton:_a,zeroCalendar:Ya,zeroCard:Wa,zeroCheckbox:Ja,zeroCombobox:sr,zeroConnectionIndicator:cr,zeroDataGrid:mr,zeroDesignSystemProvider:Sr,zeroDialog:Rr,zeroDatePicker:fr,zeroDisclosure:Lr,zeroDivider:Ir,zeroDropdownMenu:Er,zeroErrorBoundary:_r,zeroNotificationListener:qt,zeroErrorBanner:Ur,zeroErrorDialog:Yr,zeroFileUpload:Kr,zeroFilter:at,zeroFilterBar:ot,zeroFlexLayout:nt,zeroFlipper:gt,zeroFlyout:ht,zeroGridLayout:bt,zeroGridLayoutItem:ft,zeroHorizontalScroll:xt,zeroIcon:Ct,zeroListbox:At,zeroListboxOption:Ot,zeroMenu:Rt,zeroMenuItem:Mt,zeroModal:Gt,zeroMultiselect:Qt,zeroNumberField:ao,zeroProgress:to,zeroProgressRing:no,zeroRadio:go,zeroRadioGroup:co,zeroSearchBar:mo,zeroSearchBarCombobox:vo,zeroSegmentedControl:wo,zeroSegmentedItem:xo,zeroSelect:zo,zeroSkeleton:Co,zeroSlider:Ao,zeroSliderLabel:Oo,zeroSnackbar:Lo,zeroStepper:Eo,zeroStepperTab:Go,zeroStepperTabPanel:Ho,zeroSwitch:Vo,zeroTab:Qo,zeroTabPanel:qo,zeroTabs:Zo,zeroTextArea:Xo,zeroTextField:ai,zeroToast:ni,zeroToolbar:gi,zeroTooltip:di,zeroTreeItem:pi,zeroTreeView:hi,zeroUrlInput:bi.compose(Object.assign({baseName:"url-input",template:mi,styles:(e,a)=>c.css`
|
|
1846
1892
|
${(0,P.foundationUrlInputStyles)(e,a)}
|
|
1847
1893
|
a {
|
|
1848
1894
|
color: ${he.blue};
|
|
@@ -1852,23 +1898,23 @@
|
|
|
1852
1898
|
a:hover {
|
|
1853
1899
|
opacity: 100%;
|
|
1854
1900
|
}
|
|
1855
|
-
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var
|
|
1856
|
-
.${
|
|
1901
|
+
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var fi,wi,yi=r(80249),xi=r(87530),ki=r.n(xi),zi=r(79014),Si=r.n(zi);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(fi||(fi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(wi||(wi={}));const Ci=e=>`${e}-token-map`,$i=(e,a)=>c.css`
|
|
1902
|
+
.${Ci(e)} {
|
|
1857
1903
|
${new P.CSSVarsTokenMapper(a)}
|
|
1858
1904
|
}
|
|
1859
|
-
`;var
|
|
1905
|
+
`;var Ai;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Ai||(Ai={}));const Fi="__editedColumn",Oi="__errorColumn",Ti={},Di=p.DI.createInterface((e=>e.instance(Ti)));ki().extend(Si());class Ri extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[Fi]}}(0,yi.__decorate)([c.observable],Ri.prototype,"value",void 0),(0,yi.__decorate)([c.observable],Ri.prototype,"actualWidth",void 0);const Ni=c.css`
|
|
1860
1906
|
:host {
|
|
1861
1907
|
display: flex;
|
|
1862
1908
|
}
|
|
1863
|
-
`,
|
|
1909
|
+
`,Li=(e="foundation")=>c.html`
|
|
1864
1910
|
<${e}-text-field
|
|
1865
1911
|
${(0,c.ref)("input")}
|
|
1866
|
-
:value=${e=>void 0===e.value||null===e.value?"":
|
|
1912
|
+
:value=${e=>void 0===e.value||null===e.value?"":ki().utc(e.value).format(e.dateFormat)}
|
|
1867
1913
|
type=${e=>e.inputType}
|
|
1868
1914
|
@input=${(e,a)=>e.changeHandler(a.event)}
|
|
1869
1915
|
style="width: ${e=>e.actualWidth}px"
|
|
1870
1916
|
></${e}-text-field>
|
|
1871
|
-
`,
|
|
1917
|
+
`,Mi=Ri.compose({baseName:"date-editor",styles:Ni,template:Li()});class Ii extends Ri{}const ji=Ii.compose({baseName:"date-editor",styles:Ni,template:Li("zero")});class Ei extends p.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[Fi]}}(0,yi.__decorate)([c.observable],Ei.prototype,"params",void 0),(0,yi.__decorate)([c.observable],Ei.prototype,"selectedOptions",void 0);const Pi=c.css``,Bi=(e="foundation")=>c.html`
|
|
1872
1918
|
<${e}-multiselect
|
|
1873
1919
|
style="width: 100%"
|
|
1874
1920
|
?async=${e=>e.params.async}
|
|
@@ -1882,7 +1928,7 @@
|
|
|
1882
1928
|
:datasourceConfig=${e=>e.params.datasourceOptions}
|
|
1883
1929
|
></multiselect-datasource>
|
|
1884
1930
|
</${e}-multiselect>
|
|
1885
|
-
`,
|
|
1931
|
+
`,Gi=Ei.compose({baseName:"multiselect-editor",styles:Pi,template:Bi()});class Ui extends Ei{}const Hi=Ui.compose({baseName:"multiselect-editor",styles:Pi,template:Bi("zero")});class _i extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[Fi]}}(0,yi.__decorate)([c.observable],_i.prototype,"params",void 0),(0,yi.__decorate)([c.observable],_i.prototype,"value",void 0),(0,yi.__decorate)([c.observable],_i.prototype,"actualWidth",void 0);const Vi=c.css``,Yi=(e="foundation")=>c.html`
|
|
1886
1932
|
<${e}-combobox
|
|
1887
1933
|
style="width: ${e=>e.actualWidth}px"
|
|
1888
1934
|
${(0,c.ref)("combobox")}
|
|
@@ -1899,11 +1945,11 @@
|
|
|
1899
1945
|
:initialSelectedValue=${e=>e.params.value}
|
|
1900
1946
|
></options-datasource>
|
|
1901
1947
|
</${e}-combobox>
|
|
1902
|
-
`,
|
|
1948
|
+
`,Qi=_i.compose({baseName:"select-editor",styles:Vi,template:Yi()});class Wi extends _i{}const qi=Wi.compose({baseName:"select-editor",styles:Vi,template:Yi("zero")});class Ji extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[Fi]}}(0,yi.__decorate)([c.observable],Ji.prototype,"params",void 0),(0,yi.__decorate)([c.observable],Ji.prototype,"value",void 0),(0,yi.__decorate)([c.observable],Ji.prototype,"actualWidth",void 0);const Zi=c.css`
|
|
1903
1949
|
:host {
|
|
1904
1950
|
display: flex;
|
|
1905
1951
|
}
|
|
1906
|
-
`,
|
|
1952
|
+
`,Ki=(e="foundation")=>c.html`
|
|
1907
1953
|
<${e}-number-field
|
|
1908
1954
|
${(0,c.ref)("input")}
|
|
1909
1955
|
withFormatting=${e=>e.params.withFormatting}
|
|
@@ -1915,11 +1961,11 @@
|
|
|
1915
1961
|
hideStep
|
|
1916
1962
|
style="width: ${e=>e.actualWidth}px"
|
|
1917
1963
|
></${e}-number-field>
|
|
1918
|
-
`,
|
|
1964
|
+
`,Xi=Ji.compose({baseName:"number-editor",styles:Zi,template:Ki()});class en extends Ji{}const an=en.compose({baseName:"number-editor",styles:Zi,template:Ki("zero")});class rn extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[Fi]}}(0,yi.__decorate)([c.observable],rn.prototype,"params",void 0),(0,yi.__decorate)([c.observable],rn.prototype,"value",void 0),(0,yi.__decorate)([c.observable],rn.prototype,"actualWidth",void 0);const tn=c.css`
|
|
1919
1965
|
:host {
|
|
1920
1966
|
display: flex;
|
|
1921
1967
|
}
|
|
1922
|
-
`,
|
|
1968
|
+
`,on=(e="foundation")=>c.html`
|
|
1923
1969
|
<${e}-text-field
|
|
1924
1970
|
${(0,c.ref)("input")}
|
|
1925
1971
|
:value=${e=>void 0===e.value?"":e.value}
|
|
@@ -1928,16 +1974,16 @@
|
|
|
1928
1974
|
style="width: ${e=>e.actualWidth}px"
|
|
1929
1975
|
>
|
|
1930
1976
|
</${e}-text-field>
|
|
1931
|
-
`,
|
|
1977
|
+
`,nn=rn.compose({baseName:"string-editor",styles:tn,template:on()});class ln extends rn{}const gn=ln.compose({baseName:"string-editor",styles:tn,template:on("zero")});class sn extends p.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,yi.__decorate)([c.observable],sn.prototype,"valueFormatted",void 0);const dn=c.css`
|
|
1932
1978
|
:host {
|
|
1933
1979
|
display: flex;
|
|
1934
1980
|
justify-content: space-between;
|
|
1935
1981
|
align-items: center;
|
|
1936
1982
|
}
|
|
1937
|
-
`,
|
|
1983
|
+
`,cn=(e="foundation")=>c.html`
|
|
1938
1984
|
<span>${e=>e.valueFormatted}</span>
|
|
1939
1985
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
1940
|
-
`,
|
|
1986
|
+
`,pn=sn.compose({baseName:"editable-renderer",styles:dn,template:cn()});class un extends sn{}const hn=un.compose({baseName:"editable-renderer",styles:dn,template:cn("zero")});var mn=r(59783);const bn=(0,b.createLogger)("grid-pro");class vn extends p.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===mn.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){bn.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],vn.prototype,"params",void 0),(0,yi.__decorate)([c.observable],vn.prototype,"pendingAction",void 0);const{create:fn}=p.DesignToken,wn=(fn("action-height-multiplier").withDefault("0.6px"),c.css`
|
|
1941
1987
|
.action-container {
|
|
1942
1988
|
align-items: center;
|
|
1943
1989
|
display: flex;
|
|
@@ -1952,8 +1998,8 @@
|
|
|
1952
1998
|
var(--action-height-multiplier)
|
|
1953
1999
|
);
|
|
1954
2000
|
}
|
|
1955
|
-
`),
|
|
1956
|
-
${
|
|
2001
|
+
`),yn=vn.compose({baseName:"grid-pro-action-renderer",styles:c.css`
|
|
2002
|
+
${wn}
|
|
1957
2003
|
`,template:c.html`
|
|
1958
2004
|
<div class="action-container" part="action-container">
|
|
1959
2005
|
<foundation-button
|
|
@@ -1963,8 +2009,8 @@
|
|
|
1963
2009
|
?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
|
|
1964
2010
|
appearance="${e=>e.params.appearance}"
|
|
1965
2011
|
@click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
|
|
1966
|
-
</div>`});class
|
|
1967
|
-
${
|
|
2012
|
+
</div>`});class xn extends vn{}const kn=xn.compose({baseName:"grid-pro-action-renderer",styles:c.css`
|
|
2013
|
+
${wn}
|
|
1968
2014
|
`,template:c.html`
|
|
1969
2015
|
<div class="action-container" part="action-container">
|
|
1970
2016
|
<zero-button
|
|
@@ -1981,29 +2027,29 @@
|
|
|
1981
2027
|
`:e.params.actionName}
|
|
1982
2028
|
</zero-button>
|
|
1983
2029
|
</div>
|
|
1984
|
-
`});class
|
|
2030
|
+
`});class zn extends p.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,yi.__decorate)([c.observable],zn.prototype,"params",void 0);const Sn=zn.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
|
|
1985
2031
|
<foundation-actions-menu
|
|
1986
2032
|
name="${e=>e.params.headerName}"
|
|
1987
2033
|
:definition=${e=>e.params}
|
|
1988
2034
|
></foundation-actions-menu>
|
|
1989
|
-
`});class
|
|
2035
|
+
`});class Cn extends zn{}const $n=Cn.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
|
|
1990
2036
|
<zero-actions-menu
|
|
1991
2037
|
name="${e=>e.params.headerName}"
|
|
1992
2038
|
:definition=${e=>e.params}
|
|
1993
2039
|
></zero-actions-menu>
|
|
1994
|
-
`});class
|
|
2040
|
+
`});class An extends p.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:mn.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:mn.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[Fi]}}(0,yi.__decorate)([c.observable],An.prototype,"params",void 0),(0,yi.__decorate)([c.observable],An.prototype,"selected",void 0);const Fn=c.css`
|
|
1995
2041
|
:host {
|
|
1996
2042
|
align-center: center;
|
|
1997
2043
|
display: flex;
|
|
1998
2044
|
height: 100%;
|
|
1999
2045
|
}
|
|
2000
|
-
`,
|
|
2046
|
+
`,On=(e="foundation")=>{const a=`${e}-checkbox`;return c.html`
|
|
2001
2047
|
<${a}
|
|
2002
2048
|
@change=${(e,a)=>e.changeHandler(a.event)}
|
|
2003
2049
|
:checked=${e=>e.selected}
|
|
2004
2050
|
?disabled=${e=>!e.params.colDef.editable}
|
|
2005
2051
|
></${a}>
|
|
2006
|
-
`},
|
|
2052
|
+
`},Tn=An.compose({baseName:"boolean-renderer",styles:Fn,template:On()});class Dn extends An{}const Rn=Dn.compose({baseName:"boolean-renderer",styles:Fn,template:On("zero")});var Nn=r(18471);const Ln=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class Mn extends p.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Ln(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,yi.__decorate)([c.observable],Mn.prototype,"textValue",void 0),(0,yi.__decorate)([c.observable],Mn.prototype,"params",void 0);const In=c.css`
|
|
2007
2053
|
:host {
|
|
2008
2054
|
display: flex;
|
|
2009
2055
|
width: 100%;
|
|
@@ -2013,15 +2059,15 @@
|
|
|
2013
2059
|
.text-renderer {
|
|
2014
2060
|
width: 100%;
|
|
2015
2061
|
}
|
|
2016
|
-
`,
|
|
2062
|
+
`,jn=(e="foundation")=>{const a=`${e}-text-field`;return c.html`
|
|
2017
2063
|
<${a}
|
|
2018
2064
|
${(0,c.ref)("textField")}
|
|
2019
2065
|
type="text"
|
|
2020
2066
|
class="text-renderer"
|
|
2021
|
-
:value="${(0,
|
|
2067
|
+
:value="${(0,Nn.Z)((e=>e.textValue))}"
|
|
2022
2068
|
@change="${(e,a)=>e.textChanged(a.event)}"
|
|
2023
2069
|
></${a}>
|
|
2024
|
-
`},
|
|
2070
|
+
`},En=Mn.compose({baseName:"grid-pro-text-renderer",styles:In,template:jn()});class Pn extends Mn{}const Bn=In,Gn=jn,Un=Pn.compose({baseName:"grid-text-renderer",styles:Bn,template:Gn()});const Hn=class extends Pn{}.compose({baseName:"grid-text-renderer",styles:Bn,template:Gn("zero")});class _n extends p.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Ln(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,yi.__decorate)([c.observable],_n.prototype,"params",void 0),(0,yi.__decorate)([c.observable],_n.prototype,"value",void 0);const Vn=c.css`
|
|
2025
2071
|
:host,
|
|
2026
2072
|
.select-renderer,
|
|
2027
2073
|
zero-option,
|
|
@@ -2030,7 +2076,7 @@
|
|
|
2030
2076
|
max-width: var(--select-renderer-max-width);
|
|
2031
2077
|
min-width: 100%;
|
|
2032
2078
|
}
|
|
2033
|
-
`,
|
|
2079
|
+
`,Yn=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return c.html`
|
|
2034
2080
|
<${a}
|
|
2035
2081
|
class="select-renderer"
|
|
2036
2082
|
@change=${(e,a)=>e.selectionChanged(a.event)}
|
|
@@ -2046,15 +2092,15 @@
|
|
|
2046
2092
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2047
2093
|
`)}
|
|
2048
2094
|
</${a}>
|
|
2049
|
-
`},
|
|
2095
|
+
`},Qn=_n.compose({baseName:"select-renderer",styles:Vn,template:Yn()});const Wn=class extends _n{}.compose({baseName:"select-renderer",styles:Vn,template:Yn("zero")});var qn=r(89861),Jn=r(86534),Zn=r(75527),Kn=r(9492);const Xn=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Kn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Kn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Kn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Kn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Kn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Kn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Kn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Kn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Kn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Kn.__classPrivateFieldGet)(this,o,"f")&&((0,Kn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Kn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Kn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Kn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Kn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Kn.__classPrivateFieldSet)(this,r,(0,Kn.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Kn.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Kn.__classPrivateFieldGet)(this,t,"f")!==(0,Kn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Kn.__classPrivateFieldSet)(this,t,null!==(a=(0,Kn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Kn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Kn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Kn.__classPrivateFieldSet)(this,t,null!==(o=(0,Kn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Kn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[el])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,Kn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},el=Symbol("layout-cache-document");var al=r(75951),rl=r(9770);const tl=c.html`
|
|
2050
2096
|
<template>
|
|
2051
2097
|
<slot ${(0,c.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2052
2098
|
</template>
|
|
2053
|
-
`;let
|
|
2099
|
+
`;let ol=class extends p.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,yi.__decorate)([c.observable],ol.prototype,"renderer",void 0),(0,yi.__decorate)([c.observable],ol.prototype,"rendererParams",void 0),(0,yi.__decorate)([c.observable],ol.prototype,"slottedRenderer",void 0),ol=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-cell",template:tl})],ol);const il=c.html`
|
|
2054
2100
|
<template>
|
|
2055
2101
|
<slot ${(0,c.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2056
2102
|
</template>
|
|
2057
|
-
`;let el=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,hi.__decorate)([c.observable],el.prototype,"slottedAgCell",void 0),(0,hi.__decorate)([c.observable],el.prototype,"definition",void 0),el=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:Xn})],el);var al=r(82940),rl=r(32449),tl=r(9162),ol=r(5127),il=r(83123),nl=r(35991),ll=r(6852),gl=r(26714),sl=r(2480),dl=r(71452),cl=r(99449),pl=r(30526),ul=r(61080);class hl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=al.WJ.MAX_ROWS_250,this.maxView=al.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,hi.__decorate)([s.lj],hl.prototype,"connect",void 0),(0,hi.__decorate)([c.observable],hl.prototype,"deferredGridOptions",void 0),(0,hi.__decorate)([c.observable],hl.prototype,"deferredColumnStates",void 0),(0,hi.__decorate)([c.attr],hl.prototype,"criteria",void 0),(0,hi.__decorate)([c.attr],hl.prototype,"fields",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],hl.prototype,"isSnapshot",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-rows"})],hl.prototype,"maxRows",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-view"})],hl.prototype,"maxView",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],hl.prototype,"movingView",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"order-by"})],hl.prototype,"orderBy",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"resource-name"})],hl.prototype,"resourceName",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],hl.prototype,"reverse",void 0);var ml=r(21607);function bl({value:e}){return(0,ml.D_)(e)}function vl({value:e}){return(0,ml.Lx)(e)}var fl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(fl||(fl={}));let wl=class extends(Qn(hl)){constructor(){super(...arguments),this.pollingInterval=al.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new gl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,rl.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}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===al.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===al.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}init(){return(0,hi.__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 dn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===al._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,hi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,dl.T)(1),(0,cl.b)(r),(0,pl.b)((e=>dn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else dn.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 gl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.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.rows=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;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=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,hi.__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,hi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return dn.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 dn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,ul.K)((e=>(this.handleErrors(e.receivedMessage),sl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===tl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,ol.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,ol.$)(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 dn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.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.rows.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.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rows.size&&this.agGrid.gridApi.showNoRowsOverlay());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},fl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},fl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},fl.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&e.length&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.agGrid.gridApi.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}mapTransaction(e,a=Object.values(fl)){if(!this.rowDataMapper)return e;const r={};return a.includes(fl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(fl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(fl.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.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.rows.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.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rows.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rows.set(e[this.rowId],a)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.r.DATE:case il.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 il.r.STRING:r.cellEditor=xi.stringEditor;break;case il.r.NUMBER:r.cellEditor=xi.numberEditor,r.filter="agNumberColumnFilter";break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=bl,r.cellEditor=xi.dateEditor,r.filter="agDateColumnFilter";break;case il.r.DATETIME:r.valueFormatter=vl,r.filter="agDateColumnFilter",r.cellEditor=xi.dateEditor,r.cellEditorParams={withTime:!0};break;case il.r.ENUM:e.enumOptions?(r.cellEditor=xi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):dn.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 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,rl.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)}};(0,hi.__decorate)([nl.g],wl.prototype,"auth",void 0),(0,hi.__decorate)([ll.Yh],wl.prototype,"datasource",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],wl.prototype,"pollingInterval",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],wl.prototype,"disablePolling",void 0),(0,hi.__decorate)([c.observable],wl.prototype,"request",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],wl.prototype,"rowIdAttr",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],wl.prototype,"restartOnReconnection",void 0),(0,hi.__decorate)([c.observable],wl.prototype,"rowDataMapper",void 0),wl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],wl);let yl=class extends wl{};yl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],yl);var xl=r(66306),kl=r(52078);function zl(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 Sl(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 Cl{constructor(e){this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.rowData=new Map,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;return(0,hi.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);(i||t)&&(o&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):i&&t&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const n=e.request.sortModel;if(n.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||n.length>0)if(0===n.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(n.length>0){this.currentSortModel=n;const e=this.currentSortModel[0].colId,a=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,e);r.toBeSorted.forEach((e=>{this.currentSortModel.push({sort:a,colId:e})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===a,this.restartSubscription()}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,kl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===tl.Cs.LOGOFF_ACK||o===tl.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:Array.from(this.rowData.values()),rowCount:0};return void e.success(a)}{const e=(0,ol.$)(a);this.handleInitialStreamLoad(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),!this.moreRows&&this.server_ROWS_COUNT>=this.client_ROWS_COUNT?this.calculatedRowsCount=this.client_ROWS_COUNT:this.calculatedRowsCount+=null!==(t=this.rowData.size)&&void 0!==t?t:0;const i={rowData:Array.from(this.rowData.values())};this.pagination&&(i.rowCount=Math.min(this.server_ROWS_COUNT,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT&&(i.rowCount=this.server_ROWS_COUNT),e.success(i)}))}))}dataLogoff(){this.streamSourceRef&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.streamSourceRef),this.streamSourceRef=void 0}restartSubscription(){this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>dn.error(e)),this.resourceParams)}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){const a=[...t];return a.splice(e,1),{orderBy:r,toBeSorted:a}}}}handleInitialStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e.ROW_REF,e)})),this.client_ROWS_COUNT+=r.size,this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,hi.__decorate)([nl.g],Cl.prototype,"auth",void 0),(0,hi.__decorate)([s.lj],Cl.prototype,"connect",void 0);let $l=class extends(Qn(hl)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,rl.p)(a,";");!r&&t&&this.restart()}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.reset()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,hi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>dn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,xl.C)(e);const a=(0,xl.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Cl({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.dataserverStream)}))),{once:!0});dn.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var e,a,r,t;null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setColumnDefs([]);const o={remove:[]};null===(r=this.agGrid.gridApi)||void 0===r||r.forEachNode((e=>{o.remove.push(e.data)})),null===(t=this.agGrid.gridApi)||void 0===t||t.applyServerSideTransaction(o)}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));dn.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 dn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>dn.debug(e)),(e=>dn.error(e)),null!=e?e:this.params)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.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 il.r.DATE:case il.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 il.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 il.r.NUMBER:r.cellEditor=xi.numberEditor;break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=bl;break;case il.r.DATETIME:r.valueFormatter=vl;break;case il.r.ENUM:r.cellEditor=xi.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:Sl(e.type),filter:zl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],$l.prototype,"pagination",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],$l.prototype,"rowId",void 0),$l=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],$l);const Al='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sbie0gREpS0BX75I92Tzz1WaffwH8gR5tNGv6Ou1SeWdaN1SV9UZTp7rskIKhKTKO2KKdINUyJyBebzykRFeRxykSE2WFRIO9B1isS0hgQYcL5JAPPxDZCJCtZJhixKBq5KJYoW69I7cDZt0UM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AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Fl='\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+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKz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2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ol={[ui.alpine]:Al,[ui.alpineDark]:Al,[ui.balham]:Fl,[ui.balhamDark]:Fl,[ui.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7ms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kaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Tl=Al,Dl=c.css`
|
|
2103
|
+
`;let nl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],nl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],nl.prototype,"definition",void 0),nl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:il})],nl);var ll=r(82940),gl=r(32449),sl=r(9162),dl=r(5127),cl=r(83123),pl=r(35991),ul=r(6852),hl=r(26714),ml=r(2480),bl=r(71452),vl=r(99449),fl=r(30526),wl=r(61080);class yl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=ll.WJ.MAX_ROWS_250,this.maxView=ll.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,yi.__decorate)([s.lj],yl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],yl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],yl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.attr],yl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],yl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],yl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],yl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],yl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],yl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],yl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],yl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],yl.prototype,"reverse",void 0);var xl=r(21607);function kl({value:e}){return(0,xl.D_)(e)}function zl({value:e}){return(0,xl.Lx)(e)}var Sl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Sl||(Sl={}));let Cl=class extends(Xn(yl)){constructor(){super(...arguments),this.pollingInterval=ll.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new hl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,gl.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}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?ll.WJ.REQUEST_SERVER_ROW_ID:ll.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===ll.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===ll.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?ll.WJ.REQUEST_SERVER_ROW_ID:ll.WJ.DATASERVER_ROW_ID}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 bn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===ll._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,bl.T)(1),(0,vl.b)(r),(0,fl.b)((e=>bn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else bn.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 hl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.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.rows=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;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=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 bn.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 bn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,wl.K)((e=>(this.handleErrors(e.receivedMessage),ml.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===sl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,dl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,dl.$)(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 bn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.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.rows.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.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rows.size&&this.agGrid.gridApi.showNoRowsOverlay());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Sl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Sl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Sl.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&e.length&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.agGrid.gridApi.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}mapTransaction(e,a=Object.values(Sl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Sl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(Sl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(Sl.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.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.rows.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.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rows.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rows.set(e[this.rowId],a)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case cl.r.DATE:case cl.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 cl.r.STRING:r.cellEditor=Ai.stringEditor;break;case cl.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case cl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case cl.r.DATE:r.valueFormatter=kl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case cl.r.DATETIME:r.valueFormatter=zl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case cl.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):bn.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 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,gl.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)}};(0,yi.__decorate)([pl.g],Cl.prototype,"auth",void 0),(0,yi.__decorate)([ul.Yh],Cl.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Cl.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Cl.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Cl.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Cl.prototype,"rowIdAttr",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Cl.prototype,"restartOnReconnection",void 0),(0,yi.__decorate)([c.observable],Cl.prototype,"rowDataMapper",void 0),Cl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Cl);let $l=class extends Cl{};$l=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],$l);var Al=r(66306),Fl=r(52078);function Ol(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 Tl(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 Dl{constructor(e){this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.rowData=new Map,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;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);(i||t)&&(o&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):i&&t&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const n=e.request.sortModel;if(n.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||n.length>0)if(0===n.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(n.length>0){this.currentSortModel=n;const e=this.currentSortModel[0].colId,a=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,e);r.toBeSorted.forEach((e=>{this.currentSortModel.push({sort:a,colId:e})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===a,this.restartSubscription()}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Fl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===sl.Cs.LOGOFF_ACK||o===sl.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:Array.from(this.rowData.values()),rowCount:0};return void e.success(a)}{const e=(0,dl.$)(a);this.handleInitialStreamLoad(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),!this.moreRows&&this.server_ROWS_COUNT>=this.client_ROWS_COUNT?this.calculatedRowsCount=this.client_ROWS_COUNT:this.calculatedRowsCount+=null!==(t=this.rowData.size)&&void 0!==t?t:0;const i={rowData:Array.from(this.rowData.values())};this.pagination&&(i.rowCount=Math.min(this.server_ROWS_COUNT,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT&&(i.rowCount=this.server_ROWS_COUNT),e.success(i)}))}))}dataLogoff(){this.streamSourceRef&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.streamSourceRef),this.streamSourceRef=void 0}restartSubscription(){this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>bn.error(e)),this.resourceParams)}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){const a=[...t];return a.splice(e,1),{orderBy:r,toBeSorted:a}}}}handleInitialStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e.ROW_REF,e)})),this.client_ROWS_COUNT+=r.size,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)([pl.g],Dl.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Dl.prototype,"connect",void 0);let Rl=class extends(Xn(yl)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,gl.p)(a,";");!r&&t&&this.restart()}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.reset()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,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=>bn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Al.C)(e);const a=(0,Al.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Dl({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.dataserverStream)}))),{once:!0});bn.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var e,a,r,t;null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setColumnDefs([]);const o={remove:[]};null===(r=this.agGrid.gridApi)||void 0===r||r.forEachNode((e=>{o.remove.push(e.data)})),null===(t=this.agGrid.gridApi)||void 0===t||t.applyServerSideTransaction(o)}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));bn.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 bn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>bn.debug(e)),(e=>bn.error(e)),null!=e?e:this.params)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case cl.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 cl.r.DATE:case cl.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 cl.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 cl.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case cl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case cl.r.DATE:r.valueFormatter=kl;break;case cl.r.DATETIME:r.valueFormatter=zl;break;case cl.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:Tl(e.type),filter:Ol(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Rl.prototype,"pagination",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Rl.prototype,"rowId",void 0),Rl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Rl);const Nl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2V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ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ll='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L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0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ml={[wi.alpine]:Nl,[wi.alpineDark]:Nl,[wi.balham]:Ll,[wi.balhamDark]:Ll,[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/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl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zpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+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'},Il=Nl,jl=c.css`
|
|
2058
2104
|
.ag-icon {
|
|
2059
2105
|
font-family: var(--ag-icon-font-family);
|
|
2060
2106
|
font-size: var(--ag-icon-size);
|
|
@@ -9231,7 +9277,7 @@
|
|
|
9231
9277
|
input[class^='ag-'][type='range']:disabled {
|
|
9232
9278
|
opacity: 0.5;
|
|
9233
9279
|
}
|
|
9234
|
-
`,
|
|
9280
|
+
`,El=c.css`
|
|
9235
9281
|
.ag-dnd-ghost {
|
|
9236
9282
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
9237
9283
|
border: solid 1px;
|
|
@@ -9248,7 +9294,7 @@
|
|
|
9248
9294
|
overflow: hidden;
|
|
9249
9295
|
text-overflow: ellipsis;
|
|
9250
9296
|
}
|
|
9251
|
-
`,
|
|
9297
|
+
`,Pl=c.css`
|
|
9252
9298
|
.ag-theme-alpine,
|
|
9253
9299
|
.ag-theme-alpine-dark {
|
|
9254
9300
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9698,7 +9744,7 @@
|
|
|
9698
9744
|
.ag-theme-alpine-dark {
|
|
9699
9745
|
color-scheme: dark;
|
|
9700
9746
|
}
|
|
9701
|
-
`,
|
|
9747
|
+
`,Bl=c.css`
|
|
9702
9748
|
.ag-theme-balham,
|
|
9703
9749
|
.ag-theme-balham-dark {
|
|
9704
9750
|
--ag-balham-active-color: #0091ea;
|
|
@@ -9968,7 +10014,7 @@
|
|
|
9968
10014
|
.ag-theme-balham-dark {
|
|
9969
10015
|
color-scheme: dark;
|
|
9970
10016
|
}
|
|
9971
|
-
`,
|
|
10017
|
+
`,Gl=c.css`
|
|
9972
10018
|
.ag-theme-material {
|
|
9973
10019
|
--ag-material-primary-color: #3f51b5;
|
|
9974
10020
|
--ag-material-accent-color: #ff4081;
|
|
@@ -10233,14 +10279,14 @@
|
|
|
10233
10279
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
10234
10280
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
10235
10281
|
}
|
|
10236
|
-
`,
|
|
10237
|
-
${
|
|
10238
|
-
${
|
|
10239
|
-
${
|
|
10240
|
-
${
|
|
10241
|
-
${
|
|
10242
|
-
`,
|
|
10243
|
-
${
|
|
10282
|
+
`,Ul=c.css`
|
|
10283
|
+
${jl}
|
|
10284
|
+
${El}
|
|
10285
|
+
${Pl}
|
|
10286
|
+
${Bl}
|
|
10287
|
+
${Gl}
|
|
10288
|
+
`,Hl=c.css`
|
|
10289
|
+
${Ul}
|
|
10244
10290
|
:host {
|
|
10245
10291
|
width: 100%;
|
|
10246
10292
|
height: 100%;
|
|
@@ -10267,14 +10313,14 @@
|
|
|
10267
10313
|
.ag-cell-inline-editing {
|
|
10268
10314
|
height: inherit !important;
|
|
10269
10315
|
}
|
|
10270
|
-
`,
|
|
10316
|
+
`,_l=c.html`
|
|
10271
10317
|
<template>
|
|
10272
10318
|
<span part="grid" class="${e=>e.classNames}">
|
|
10273
10319
|
<slot name="grid" ${(0,c.ref)("gridSlot")}></slot>
|
|
10274
10320
|
<slot></slot>
|
|
10275
10321
|
</span>
|
|
10276
10322
|
</template>
|
|
10277
|
-
`;class Pl{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function Bl(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}sn.O3h.registerModules([_n.jM,Hn.I]);const Gl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Ul extends(Qn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Jn.A)(wi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Tl,this.columnComponentName="grid-pro-column",this.theme=ui.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=sn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Gl(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&sn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Gl(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[xi.action]:cn,[xi.actionsMenu]:vn,[xi.boolean]:xn,[xi.editable]:rn,[xi.selectEditor]:Ei,[xi.numberEditor]:_i,[xi.multiselectEditor]:Ri,[xi.dateEditor]:$i,[xi.stringEditor]:Ji};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,hi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?s.columnDefs=t:s.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),sn.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new sn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return dn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[ki]===e.field)return{component:xi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Pl,e.tooltipValueGetter=a=>{const r=a.data[zi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[zi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Bl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Bl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=sn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=sn.plv.ALL_PROPERTIES.map((e=>Gl(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},sn.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=Ol[e]||this.gridFontFace;this.destroyFontFace();const r=(0,qn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,hi.__decorate)([c.observable],Ul.prototype,"columnApi",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"gridApi",void 0),(0,hi.__decorate)([Vn.z],Ul.prototype,"session",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Ul.prototype,"autoCellRendererByType",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Ul.prototype,"onlyTemplateColDefs",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Ul.prototype,"gridAutosizingEnabled",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"add-index"})],Ul.prototype,"addIndex",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Ul.prototype,"asyncAdd",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Ul.prototype,"asyncRemove",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Ul.prototype,"asyncUpdate",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Ul.prototype,"enableCellFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Ul.prototype,"enabledRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Ul.prototype,"enableRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Ul.prototype,"persistColumnStateKey",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"gridFontFace",void 0),(0,hi.__decorate)([c.attr],Ul.prototype,"columnComponentName",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"eventsAndCallbacks",void 0),(0,hi.__decorate)([c.attr],Ul.prototype,"headerHeight",void 0),(0,hi.__decorate)([c.attr],Ul.prototype,"rowHeight",void 0),(0,hi.__decorate)([c.attr],Ul.prototype,"theme",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"classNames",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"agGrid",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"gridSlot",void 0),(0,hi.__decorate)([c.observable],Ul.prototype,"gridComponents",void 0),(0,hi.__decorate)([Ci],Ul.prototype,"gridOptionsConfig",void 0);const Hl=void 0,_l={shadowOptions:void 0},Vl=Ul.compose(Object.assign({baseName:"grid-pro",styles:jl,template:El,shadowOptions:Hl},_l)),Yl={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},Ql={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:Wl}=p.DesignToken,ql={backgroundColor:Wl("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Ql.backgroundSwatch:Yl.backgroundSwatch)),borderColor:Wl("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Ql.borderSwatch:Yl.borderSwatch)),foregroundColor:Wl("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Ql.foregroundSwatch:Yl.foregroundSwatch)),headerForegroundColor:Wl("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Ql.headerForegroundSwatch:Yl.headerForegroundSwatch)),rowHoverColor:Wl("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Ql.rowHoverSwatch:Yl.rowHoverSwatch))},Jl=c.css`
|
|
10323
|
+
`;class Vl{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function Yl(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}mn.O3h.registerModules([Jn.jM,qn.I]);const Ql=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Wl extends(Xn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,rl.A)(Ci(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Il,this.columnComponentName="grid-pro-column",this.theme=wi.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=mn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Ql(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&mn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Ql(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ai.action]:vn,[Ai.actionsMenu]:zn,[Ai.boolean]:An,[Ai.editable]:sn,[Ai.selectEditor]:_i,[Ai.numberEditor]:Ji,[Ai.multiselectEditor]:Ei,[Ai.dateEditor]:Ri,[Ai.stringEditor]:rn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,yi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?s.columnDefs=t:s.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),mn.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new mn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return bn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Fi]===e.field)return{component:Ai.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Vl,e.tooltipValueGetter=a=>{const r=a.data[Oi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Oi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Yl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Yl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=mn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=mn.plv.ALL_PROPERTIES.map((e=>Ql(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},mn.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=Ml[e]||this.gridFontFace;this.destroyFontFace();const r=(0,al.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,yi.__decorate)([c.observable],Wl.prototype,"columnApi",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridApi",void 0),(0,yi.__decorate)([Zn.z],Wl.prototype,"session",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Wl.prototype,"autoCellRendererByType",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Wl.prototype,"onlyTemplateColDefs",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Wl.prototype,"gridAutosizingEnabled",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"add-index"})],Wl.prototype,"addIndex",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Wl.prototype,"asyncAdd",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Wl.prototype,"asyncRemove",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Wl.prototype,"asyncUpdate",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Wl.prototype,"enableCellFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Wl.prototype,"enabledRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Wl.prototype,"enableRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Wl.prototype,"persistColumnStateKey",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridFontFace",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"columnComponentName",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"eventsAndCallbacks",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"headerHeight",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"rowHeight",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"theme",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"classNames",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"agGrid",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridSlot",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridComponents",void 0),(0,yi.__decorate)([Di],Wl.prototype,"gridOptionsConfig",void 0);const ql=void 0,Jl={shadowOptions:void 0},Zl=Wl.compose(Object.assign({baseName:"grid-pro",styles:Hl,template:_l,shadowOptions:ql},Jl)),Kl={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},Xl={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:eg}=p.DesignToken,ag={backgroundColor:eg("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.backgroundSwatch:Kl.backgroundSwatch)),borderColor:eg("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.borderSwatch:Kl.borderSwatch)),foregroundColor:eg("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.foregroundSwatch:Kl.foregroundSwatch)),headerForegroundColor:eg("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.headerForegroundSwatch:Kl.headerForegroundSwatch)),rowHoverColor:eg("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.rowHoverSwatch:Kl.rowHoverSwatch))},rg=c.css`
|
|
10278
10324
|
.ag-theme-genesis-rapid,
|
|
10279
10325
|
.ag-theme-genesis-rapid-dark {
|
|
10280
10326
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10734,56 +10780,56 @@
|
|
|
10734
10780
|
.ag-theme-genesis-rapid-dark {
|
|
10735
10781
|
color-scheme: dark;
|
|
10736
10782
|
}
|
|
10737
|
-
`,
|
|
10738
|
-
${
|
|
10739
|
-
${
|
|
10783
|
+
`,tg={[fi.backgroundColor]:ag.backgroundColor,[fi.foregroundColor]:ag.foregroundColor,[fi.oddRowBackgroundColor]:ag.backgroundColor,[fi.headerBackgroundColor]:ag.backgroundColor,[fi.headerForegroundColor]:ag.headerForegroundColor,[fi.selectedRowBackgroundColor]:ag.rowHoverColor,[fi.rowHoverColor]:ag.rowHoverColor,[fi.borderColor]:ag.borderColor,[fi.rowBorderColor]:ag.rowHoverColor,[fi.modalOverlayBackgroundColor]:ag.backgroundColor,[fi.inputFocusBoxShadow]:ag.headerForegroundColor,[fi.inputFocusBorderColor]:ag.headerForegroundColor,[fi.headerColumnResizeHandleColor]:ag.headerForegroundColor},og="ag-theme-genesis-rapid",ig=c.css`
|
|
10784
|
+
${rg}
|
|
10785
|
+
${$i(og,tg)}
|
|
10740
10786
|
|
|
10741
|
-
.${
|
|
10787
|
+
.${og} {
|
|
10742
10788
|
${Ee()}
|
|
10743
10789
|
}
|
|
10744
10790
|
|
|
10745
|
-
.${
|
|
10791
|
+
.${og} .ag-header {
|
|
10746
10792
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10747
10793
|
font-weight: bold;
|
|
10748
10794
|
}
|
|
10749
10795
|
|
|
10750
|
-
.${
|
|
10796
|
+
.${og} .ag-root-wrapper {
|
|
10751
10797
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10752
10798
|
}
|
|
10753
|
-
`,
|
|
10754
|
-
${
|
|
10755
|
-
${
|
|
10799
|
+
`,ng="ag-theme-genesis-rapid-dark",lg=c.css`
|
|
10800
|
+
${rg}
|
|
10801
|
+
${$i(ng,tg)}
|
|
10756
10802
|
|
|
10757
|
-
.${
|
|
10803
|
+
.${ng} {
|
|
10758
10804
|
${Ee()}
|
|
10759
10805
|
}
|
|
10760
10806
|
|
|
10761
|
-
.${
|
|
10807
|
+
.${ng} .ag-header {
|
|
10762
10808
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10763
10809
|
font-weight: bold;
|
|
10764
10810
|
}
|
|
10765
10811
|
|
|
10766
|
-
.${
|
|
10812
|
+
.${ng} .ag-cell {
|
|
10767
10813
|
line-height: var(--ag-line-height, 32px);
|
|
10768
10814
|
}
|
|
10769
10815
|
|
|
10770
|
-
.${
|
|
10816
|
+
.${ng} .ag-root-wrapper {
|
|
10771
10817
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10772
10818
|
}
|
|
10773
|
-
`,
|
|
10819
|
+
`,gg=c.css`
|
|
10774
10820
|
/* All the AG themes */
|
|
10775
|
-
${
|
|
10821
|
+
${Hl}
|
|
10776
10822
|
|
|
10777
10823
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10778
|
-
${
|
|
10779
|
-
${
|
|
10824
|
+
${ig}
|
|
10825
|
+
${lg}
|
|
10780
10826
|
|
|
10781
10827
|
.error {
|
|
10782
10828
|
border-color: ${ve.shortPink} !important;
|
|
10783
10829
|
}
|
|
10784
|
-
`,
|
|
10830
|
+
`,sg=_l,dg="ag-theme-genesis-rapid-dark";const cg=Jl,pg={zeroAgEditableRenderer:hn,zeroAgActionRenderer:kn,zeroAgActionsMenuRenderer:$n,zeroAgBooleanRenderer:Rn,zeroAgTextRenderer:Hn,zeroAgSelectRenderer:Wn,zeroAgDateEditor:ji,zeroAgMultiselectEditor:Hi,zeroAgSelectEditor:qi,zeroAgNumberEditor:an,zeroAgStringEditor:gn,zeroGridPro:class extends Wl{constructor(){super(...arguments),this.theme=dg}themeChanged(e,a){(e||a===dg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:xn,[Ai.actionsMenu]:Cn,[Ai.boolean]:Dn,[Ai.editable]:un,[Ai.selectEditor]:Wi,[Ai.numberEditor]:en,[Ai.multiselectEditor]:Ui,[Ai.dateEditor]:Ii,[Ai.stringEditor]:ln};(this.theme===og||this.theme===ng)&&(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:sg,styles:gg,shadowOptions:undefined},cg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ug={foundationGridProActionRenderer:yn,foundationGridProActionsMenuRenderer:Sn,foundationAgBooleanRenderer:Tn,foundationAgTextRenderer:Un,foundationAgTextFieldRenderer:En,foundationAgEditableRenderer:pn,foundationAgSelectRenderer:Qn,foundationGridPro:Zl,foundationSelectEditor:Qi,foundationNumberEditor:Xi,foundationDateEditor:Mi,foundationMultiselectEditor:Gi,foundationStringEditor:nn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var hg;!function(e){e.primary="#11C9FC",e.neutral="#7C909B",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.info="#11C9FC",e.buy="#7ACC79",e.sell="#F14376"}(hg||(hg={}));const{create:mg}=p.DesignToken,bg=(0,fe.parseColorHexRGB)(hg.error),vg=u.SwatchRGB.create(bg.r,bg.g,bg.b),fg=mg("error-color").withDefault(vg),wg=(0,fe.parseColorHexRGB)(hg.success),yg=u.SwatchRGB.create(wg.r,wg.g,wg.b),xg=mg("success-color").withDefault(yg),kg=(0,fe.parseColorHexRGB)(hg.warning),zg=u.SwatchRGB.create(kg.r,kg.g,kg.b),Sg=mg("warning-color").withDefault(zg),Cg=(0,fe.parseColorHexRGB)(hg.buy),$g=u.SwatchRGB.create(Cg.r,Cg.g,Cg.b),Ag=mg("buy-color").withDefault($g),Fg=(0,fe.parseColorHexRGB)(hg.sell),Og=u.SwatchRGB.create(Fg.r,Fg.g,Fg.b),Tg=mg("sell-color").withDefault(Og),Dg=(0,P.paletteFromHex)(hg.primary),Rg=(0,P.paletteFromHex)(hg.neutral),Ng=u.StandardLuminance.DarkMode,Lg=0,Mg=4,Ig=-5,jg=0,Eg=0,Pg=6,Bg=-4,Gg=0,Ug=7,Hg=10,_g=5,Vg=0,Yg=0,Qg=0,Wg=0,qg=0,Jg=0,Zg=5,Kg=3,Xg=0,es=0,as=8,rs=-5,ts=0,os=3,is=25,ns=40,ls=16,gs=25,ss=8,ds="rapid",cs=Oe.N.ltr,ps=.3,us=1,hs=2,ms=10,bs=4,vs=0,fs=4,ws='"Segoe UI", Arial, Helvetica, sans-serif',ys="14px",xs="20px",ks="12px",zs="16px",Ss="10px",Cs="16px",$s="16px",As="24px",Fs="20px",Os="28px",Ts="28px",Ds="36px",Rs="34px",Ns="44px",Ls="46px",Ms="56px",Is="60px",js="72px",Es={design_tokens:{color:{accent:{$value:Dg.source.toColorString(),$type:"color"},neutral:{$value:Rg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:ws,$type:"fontFamily"}},typography:{baseFontSize:{$value:ys,$type:"dimension"},baseLineHeight:{$value:xs,$type:"dimension"}},mode:{luminance:{$value:Ng,$type:"number"}},style:{density:{$value:vs,$type:"number"},borderRadius:{$value:bs,$type:"number"},strokeWidth:{$value:us,$type:"number"}},space:{designUnit:{$value:fs,$type:"number"}}}};class Ps extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Bs=Ps.compose({baseName:"design-system-provider",template:c.html`
|
|
10785
10831
|
<slot></slot>
|
|
10786
|
-
`});class
|
|
10832
|
+
`});class Gs extends P.Accordion{}const Us=Gs.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
10787
10833
|
${(0,P.foundationAccordionStyles)(e,a)}
|
|
10788
10834
|
|
|
10789
10835
|
:host {
|
|
@@ -10794,7 +10840,7 @@
|
|
|
10794
10840
|
.heading {
|
|
10795
10841
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10796
10842
|
}
|
|
10797
|
-
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class
|
|
10843
|
+
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Hs extends P.AccordionItem{}const _s=Hs.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
10798
10844
|
${(0,P.foundationAccordionItemStyles)(e,a)}
|
|
10799
10845
|
|
|
10800
10846
|
:host {
|
|
@@ -10857,7 +10903,7 @@
|
|
|
10857
10903
|
grid-template-columns: auto 1fr auto;
|
|
10858
10904
|
align-items: center;
|
|
10859
10905
|
}
|
|
10860
|
-
`,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class
|
|
10906
|
+
`,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class Vs extends P.ActionsMenu{}const Ys=Vs.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
|
|
10861
10907
|
:host {
|
|
10862
10908
|
--actions-opener-height-multiplier: 0.6px;
|
|
10863
10909
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -10895,7 +10941,7 @@
|
|
|
10895
10941
|
.actions-vertical .menu-item:focus {
|
|
10896
10942
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
10897
10943
|
}
|
|
10898
|
-
`,template:P.foundationActionsMenuTemplate});function
|
|
10944
|
+
`,template:P.foundationActionsMenuTemplate});function Qs(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const Ws=c.css`
|
|
10899
10945
|
:host([appearance='primary']) {
|
|
10900
10946
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
10901
10947
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -10918,7 +10964,7 @@
|
|
|
10918
10964
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
10919
10965
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
10920
10966
|
}
|
|
10921
|
-
`,
|
|
10967
|
+
`,qs=c.css`
|
|
10922
10968
|
:host([appearance='primary-outline']) {
|
|
10923
10969
|
background: none;
|
|
10924
10970
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -10936,7 +10982,7 @@
|
|
|
10936
10982
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
10937
10983
|
opacity: 100%;
|
|
10938
10984
|
}
|
|
10939
|
-
`,
|
|
10985
|
+
`,Js=c.css`
|
|
10940
10986
|
:host([appearance='neutral-outline']) {
|
|
10941
10987
|
background: none;
|
|
10942
10988
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
|
|
@@ -10954,7 +11000,7 @@
|
|
|
10954
11000
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
10955
11001
|
opacity: 100%;
|
|
10956
11002
|
}
|
|
10957
|
-
`,
|
|
11003
|
+
`,Zs=c.css`
|
|
10958
11004
|
:host([appearance='link']) {
|
|
10959
11005
|
background: none;
|
|
10960
11006
|
border: none;
|
|
@@ -10977,7 +11023,7 @@
|
|
|
10977
11023
|
color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
|
|
10978
11024
|
opacity: 100%;
|
|
10979
11025
|
}
|
|
10980
|
-
`,
|
|
11026
|
+
`,Ks=(e,a)=>c.css`
|
|
10981
11027
|
${(0,P.foundationButtonStyles)(e,a)}
|
|
10982
11028
|
${c.css`
|
|
10983
11029
|
:host {
|
|
@@ -11031,14 +11077,14 @@
|
|
|
11031
11077
|
opacity: 100%;
|
|
11032
11078
|
}
|
|
11033
11079
|
`}
|
|
11034
|
-
`.withBehaviors(
|
|
11080
|
+
`.withBehaviors(Qs("primary",Ws),Qs("primary-outline",qs),Qs("neutral-outline",Js),Qs("link",Zs));class Xs extends P.Anchor{}const ed=Xs.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11035
11081
|
${(0,P.foundationAnchorStyles)(e,a)}
|
|
11036
|
-
${
|
|
11037
|
-
`.withBehaviors(...
|
|
11082
|
+
${Ks(e,a)}
|
|
11083
|
+
`.withBehaviors(...Ks(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class ad extends P.AnchoredRegion{}const rd=ad.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11038
11084
|
${(0,P.foundationAnchoredRegionStyles)(e,a)}
|
|
11039
|
-
`,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class
|
|
11085
|
+
`,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class td extends P.Avatar{}const od=td.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11040
11086
|
${(0,P.foundationAvatarStyles)(e,a)}
|
|
11041
|
-
`,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class
|
|
11087
|
+
`,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class id extends P.Badge{}const nd=id.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11042
11088
|
${(0,P.foundationBadgeStyles)(e,a)}
|
|
11043
11089
|
:host {
|
|
11044
11090
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
@@ -11052,7 +11098,7 @@
|
|
|
11052
11098
|
padding: calc(${u.designUnit} * 1px) calc(${u.designUnit} * 2px);
|
|
11053
11099
|
border: none;
|
|
11054
11100
|
}
|
|
11055
|
-
`,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),
|
|
11101
|
+
`,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),ld=c.css`
|
|
11056
11102
|
${P.foundationBannerStyles}
|
|
11057
11103
|
:host {
|
|
11058
11104
|
--banner-height: calc(
|
|
@@ -11072,9 +11118,9 @@
|
|
|
11072
11118
|
font-family: var(--body-font);
|
|
11073
11119
|
line-height: var(--type-ramp-base-line-height);
|
|
11074
11120
|
}
|
|
11075
|
-
`,
|
|
11121
|
+
`,gd=P.foundationBannerShadowOptions;class sd extends P.Banner{}const dd=sd.compose({baseName:"banner",shadowOptions:gd,styles:ld,template:P.foundationBannerTemplate});class cd extends P.Breadcrumb{}const pd=cd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11076
11122
|
${(0,P.foundationBreadcrumbStyles)(e,a)}
|
|
11077
|
-
`,shadowOptions:undefined},{}));class
|
|
11123
|
+
`,shadowOptions:undefined},{}));class ud extends P.BreadcrumbItem{}const hd=ud.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11078
11124
|
${(0,P.foundationBreadcrumbItemStyles)(e,a)}
|
|
11079
11125
|
.listitem {
|
|
11080
11126
|
color: var(--accent-foreground-rest);
|
|
@@ -11110,9 +11156,9 @@
|
|
|
11110
11156
|
.control:hover .start {
|
|
11111
11157
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11112
11158
|
}
|
|
11113
|
-
`,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class
|
|
11159
|
+
`,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class md extends P.Button{}const bd=md.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:Ks,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class vd extends P.Calendar{}const fd=vd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
|
|
11114
11160
|
${(0,P.foundationCalendarStyles)()}
|
|
11115
|
-
`,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class
|
|
11161
|
+
`,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class wd extends P.Card{}const yd=wd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11116
11162
|
${(0,P.foundationCardStyles)(e,a)}
|
|
11117
11163
|
:host {
|
|
11118
11164
|
background: var(--neutral-layer-card-container);
|
|
@@ -11126,7 +11172,7 @@
|
|
|
11126
11172
|
::slotted(rapid-card) {
|
|
11127
11173
|
background: var(--neutral-layer-3);
|
|
11128
11174
|
}
|
|
11129
|
-
`,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class
|
|
11175
|
+
`,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class xd extends P.Checkbox{}const kd=xd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11130
11176
|
${(0,P.foundationCheckboxStyles)(e,a)}
|
|
11131
11177
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11132
11178
|
fill: var(--neutral-foreground-rest);
|
|
@@ -11141,7 +11187,7 @@
|
|
|
11141
11187
|
.label {
|
|
11142
11188
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11143
11189
|
}
|
|
11144
|
-
`,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class
|
|
11190
|
+
`,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class zd extends P.Combobox{}const Sd=zd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11145
11191
|
${(0,P.foundationComboboxStyles)(e,a)}
|
|
11146
11192
|
:host {
|
|
11147
11193
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11214,7 +11260,7 @@
|
|
|
11214
11260
|
::slotted([role='option']) {
|
|
11215
11261
|
margin: 0;
|
|
11216
11262
|
}
|
|
11217
|
-
`,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class
|
|
11263
|
+
`,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class Cd extends P.ConnectionIndicator{}const $d=Cd.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:(e,a)=>c.css`
|
|
11218
11264
|
${(0,P.foundationConnectionIndicatorStyles)(e,a)}
|
|
11219
11265
|
:host {
|
|
11220
11266
|
--light-size: calc(var(--design-unit) * 3px);
|
|
@@ -11237,9 +11283,9 @@
|
|
|
11237
11283
|
font-size: var(--type-ramp-base-font-size);
|
|
11238
11284
|
color: var(--neutral-stroke-rest);
|
|
11239
11285
|
}
|
|
11240
|
-
`}),
|
|
11286
|
+
`}),Ad=["baseClass","baseName","shadowOptions","styles","template"],Fd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Ad)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,r)=>(a[r]=e[r],a)),{}))(a);return{shadowOptions:r,styles:t,template:o,defaultConfig:i}},{defaultConfig:Od,shadowOptions:Td,styles:Dd,template:Rd}=Fd(P.foundationDataGrid),{defaultConfig:Nd,shadowOptions:Ld,styles:Md,template:Id}=Fd(P.foundationDataGridCell),{defaultConfig:jd,shadowOptions:Ed,styles:Pd,template:Bd}=Fd(P.foundationDataGridRow),Gd=c.html`
|
|
11241
11287
|
${(0,P.getPrefixedDatePicker)("rapid")}
|
|
11242
|
-
`;class
|
|
11288
|
+
`;class Ud extends P.DatePicker{}const Hd=Ud.compose(Object.assign({baseName:"date-picker",template:Gd,styles:()=>c.css`
|
|
11243
11289
|
${P.foundationDatePickerStyles}
|
|
11244
11290
|
|
|
11245
11291
|
:host {
|
|
@@ -11322,7 +11368,7 @@
|
|
|
11322
11368
|
.week-days span {
|
|
11323
11369
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11324
11370
|
}
|
|
11325
|
-
`,shadowOptions:undefined},{})),
|
|
11371
|
+
`,shadowOptions:undefined},{})),_d=c.css`
|
|
11326
11372
|
${P.foundationDialogStyles}
|
|
11327
11373
|
:host {
|
|
11328
11374
|
--dialog-background: ${u.neutralLayer2};
|
|
@@ -11399,7 +11445,7 @@
|
|
|
11399
11445
|
.close-icon:active svg g path {
|
|
11400
11446
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11401
11447
|
}
|
|
11402
|
-
`,
|
|
11448
|
+
`,Vd=P.defaultDialogConfig,Yd=P.foundationDialogTemplate,Qd=P.foundationDialogShadowOptions;class Wd extends P.Dialog{}const qd=Wd.compose(Object.assign({baseName:"dialog",shadowOptions:Qd,styles:_d,template:Yd},Vd));class Jd extends P.Disclosure{}const Zd=Jd.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11403
11449
|
${(0,P.foundationDisclosureStyles)(e,a)}
|
|
11404
11450
|
:host {
|
|
11405
11451
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -11416,9 +11462,9 @@
|
|
|
11416
11462
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11417
11463
|
text-align: center;
|
|
11418
11464
|
}
|
|
11419
|
-
`,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class
|
|
11465
|
+
`,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class Kd extends P.Divider{}const Xd=Kd.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11420
11466
|
${(0,P.foundationDividerStyles)(e,a)}
|
|
11421
|
-
`,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class
|
|
11467
|
+
`,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class ec extends P.DropdownMenu{}const ac=ec.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
|
|
11422
11468
|
${(0,P.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11423
11469
|
|
|
11424
11470
|
.actions-menu {
|
|
@@ -11433,7 +11479,7 @@
|
|
|
11433
11479
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11434
11480
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11435
11481
|
}
|
|
11436
|
-
`,template:P.foundationDropdownMenuTemplate}),{defaultConfig:
|
|
11482
|
+
`,template:P.foundationDropdownMenuTemplate}),{defaultConfig:rc,shadowOptions:tc,styles:oc,template:ic}=Fd(P.foundationErrorBoundary),nc=c.css`
|
|
11437
11483
|
${P.foundationFileUploadStyles}
|
|
11438
11484
|
::-webkit-scrollbar {
|
|
11439
11485
|
width: calc(var(--design-unit) * 3px);
|
|
@@ -11455,11 +11501,11 @@
|
|
|
11455
11501
|
:host::part(upload-file-button) {
|
|
11456
11502
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11457
11503
|
}
|
|
11458
|
-
`,
|
|
11504
|
+
`,lc=c.html`
|
|
11459
11505
|
${(0,P.getPrefixedFileUpload)("rapid")}
|
|
11460
|
-
`,
|
|
11506
|
+
`,gc=P.defaultFileUploadConfig,sc=P.foundationFileUploadShadowOptions;class dc extends P.FileUpload{}const cc=dc.compose(Object.assign({baseName:"file-upload",shadowOptions:sc,styles:nc,template:lc},gc)),pc=c.html`
|
|
11461
11507
|
${(0,P.getPrefixedFilterTemplate)("rapid")}
|
|
11462
|
-
`;class
|
|
11508
|
+
`;class uc extends P.Filter{}const hc=uc.compose({baseName:"filter",template:pc,styles:(e,a)=>c.css`
|
|
11463
11509
|
${P.foundationFilterStyles}
|
|
11464
11510
|
.filter-wrapper {
|
|
11465
11511
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11486,9 +11532,9 @@
|
|
|
11486
11532
|
.flex-row rapid-select {
|
|
11487
11533
|
flex: 1;
|
|
11488
11534
|
}
|
|
11489
|
-
`}),
|
|
11535
|
+
`}),mc=c.html`
|
|
11490
11536
|
${(0,P.filterBarTemplate)("rapid")}
|
|
11491
|
-
`;class
|
|
11537
|
+
`;class bc extends P.FilterBar{}const vc=bc.compose({baseName:"filter-bar",template:mc,styles:(e,a)=>c.css`
|
|
11492
11538
|
${(0,P.foundationFilterBarStyles)(e,a)}
|
|
11493
11539
|
.toggle,
|
|
11494
11540
|
.toggle-collapsed {
|
|
@@ -11508,7 +11554,7 @@
|
|
|
11508
11554
|
.filter-bar {
|
|
11509
11555
|
background: var(--neutral-layer-3);
|
|
11510
11556
|
}
|
|
11511
|
-
`}),{defaultConfig:
|
|
11557
|
+
`}),{defaultConfig:fc,shadowOptions:wc,styles:yc,template:xc}=Fd(P.foundationFlexLayout);class kc extends P.Flipper{}const zc=kc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11512
11558
|
${(0,P.foundationFlipperStyles)(e,a)}
|
|
11513
11559
|
:host {
|
|
11514
11560
|
color: var(--neutral-foreground-rest);
|
|
@@ -11528,7 +11574,7 @@
|
|
|
11528
11574
|
background: var(--accent-fill-rest);
|
|
11529
11575
|
color: var(--neutral-foreground-rest);
|
|
11530
11576
|
}
|
|
11531
|
-
`,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),
|
|
11577
|
+
`,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),Sc=c.css`
|
|
11532
11578
|
${P.foundationFlyoutStyles}
|
|
11533
11579
|
div.flyout {
|
|
11534
11580
|
background-color: var(--neutral-layer-2);
|
|
@@ -11576,9 +11622,9 @@
|
|
|
11576
11622
|
background-color: var(--neutral-fill-hover);
|
|
11577
11623
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11578
11624
|
}
|
|
11579
|
-
`,
|
|
11625
|
+
`,Cc=c.html`
|
|
11580
11626
|
${(0,P.getPrefixedFlyout)("rapid")}
|
|
11581
|
-
|
|
11627
|
+
`,$c=P.defaultFlyoutConfig,Ac=P.foundationFlyoutShadowOptions;class Fc extends P.Flyout{}const Oc=Fc.compose(Object.assign({baseName:"flyout",shadowOptions:Ac,styles:Sc,template:Cc},$c)),{defaultConfig:Tc,shadowOptions:Dc,styles:Rc,template:Nc}=Fd(P.foundationGridLayout),{defaultConfig:Lc,shadowOptions:Mc,styles:Ic,template:jc}=Fd(P.foundationGridLayoutItem);class Ec extends P.HorizontalScroll{}const Pc={nextFlipper:c.html`
|
|
11582
11628
|
<rapid-flipper
|
|
11583
11629
|
@click="${e=>e.scrollToNext()}"
|
|
11584
11630
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -11589,11 +11635,11 @@
|
|
|
11589
11635
|
direction="previous"
|
|
11590
11636
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11591
11637
|
></rapid-flipper>
|
|
11592
|
-
`},
|
|
11638
|
+
`},Bc=Ec.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11593
11639
|
${(0,P.foundationHorizontalScrollStyles)(e,a)}
|
|
11594
|
-
`,shadowOptions:P.foundationHorizontalScrollShadowOptions},
|
|
11640
|
+
`,shadowOptions:P.foundationHorizontalScrollShadowOptions},Pc));class Gc extends P.Icon{}const Uc=P.defaultIconConfig,Hc=P.foundationIconShadowOptions,_c=Gc.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
|
|
11595
11641
|
${(0,P.foundationIconStyles)(e,a)}
|
|
11596
|
-
`,shadowOptions:
|
|
11642
|
+
`,shadowOptions:Hc},Uc));class Vc extends P.Listbox{}const Yc=Vc.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11597
11643
|
${(0,P.foundationListboxStyles)(e,a)}
|
|
11598
11644
|
|
|
11599
11645
|
:host {
|
|
@@ -11604,7 +11650,7 @@
|
|
|
11604
11650
|
::slotted(*:last-child) {
|
|
11605
11651
|
border-bottom: none;
|
|
11606
11652
|
}
|
|
11607
|
-
`,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class
|
|
11653
|
+
`,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class Qc extends P.ListboxOption{}const Wc=Qc.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11608
11654
|
${(0,P.foundationListboxOptionStyles)(e,a)}
|
|
11609
11655
|
:host {
|
|
11610
11656
|
border-radius: 0;
|
|
@@ -11621,14 +11667,14 @@
|
|
|
11621
11667
|
background: var(--neutral-layer-4);
|
|
11622
11668
|
color: var(--accent-fill-rest);
|
|
11623
11669
|
}
|
|
11624
|
-
`,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class
|
|
11670
|
+
`,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class qc extends P.Menu{}const Jc=qc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11625
11671
|
${(0,P.foundationMenuStyles)(e,a)}
|
|
11626
11672
|
:host {
|
|
11627
11673
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11628
11674
|
color-mix(in srgb, ${u.neutralFillStealthHover}, transparent 15%);
|
|
11629
11675
|
padding: 0;
|
|
11630
11676
|
}
|
|
11631
|
-
`,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),
|
|
11677
|
+
`,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),Zc=P.foundationMenuItemShadowOptions;class Kc extends P.MenuItem{}const Xc=Kc.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,P.foundationMenuItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11632
11678
|
${(0,P.foundationMenuItemStyles)(e,a)}
|
|
11633
11679
|
:host {
|
|
11634
11680
|
margin: 0;
|
|
@@ -11664,9 +11710,9 @@
|
|
|
11664
11710
|
background: ${u.neutralFillStealthHover}
|
|
11665
11711
|
color: ${u.neutralForegroundRest}
|
|
11666
11712
|
*/
|
|
11667
|
-
`,shadowOptions:
|
|
11668
|
-
${
|
|
11669
|
-
`,
|
|
11713
|
+
`,shadowOptions:Zc},P.defaultMenuItemConfig)),ep=c.css`
|
|
11714
|
+
${_d}
|
|
11715
|
+
`,ap=P.defaultModalConfig,rp=P.foundationModalTemplate,tp=P.foundationModalShadowOptions;class op extends P.Modal{}const ip=op.compose(Object.assign({baseName:"modal",shadowOptions:tp,styles:ep,template:rp},ap)),np=c.css`
|
|
11670
11716
|
${P.multiselectStyles}
|
|
11671
11717
|
|
|
11672
11718
|
#display-field {
|
|
@@ -11742,9 +11788,9 @@
|
|
|
11742
11788
|
rapid-checkbox[disabled] {
|
|
11743
11789
|
cursor: not-allowed;
|
|
11744
11790
|
}
|
|
11745
|
-
`,
|
|
11791
|
+
`,lp=c.html`
|
|
11746
11792
|
${(0,P.getPrefixedMultiselect)("rapid")}
|
|
11747
|
-
`;class
|
|
11793
|
+
`;class gp extends P.Multiselect{}const sp=P.defaultMultiselectConfig,dp=P.foundationMultiselectShadowOptions,cp=gp.compose(Object.assign({baseName:"multiselect",template:lp,styles:np,shadowOptions:dp},sp));class pp extends P.NumberField{}const up=P.defaultNumberFieldConfig,hp=P.foundationNumberFieldTemplate,mp=P.foundationNumberFieldShadowOptions,bp=pp.compose(Object.assign({baseName:"number-field",template:hp,styles:(e,a)=>c.css`
|
|
11748
11794
|
:host {
|
|
11749
11795
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11750
11796
|
}
|
|
@@ -11829,11 +11875,11 @@
|
|
|
11829
11875
|
.control:focus-visible {
|
|
11830
11876
|
outline: none;
|
|
11831
11877
|
}
|
|
11832
|
-
`,shadowOptions:
|
|
11878
|
+
`,shadowOptions:mp},up));class vp extends P.Progress{}const fp=vp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11833
11879
|
${(0,P.foundationProgressStyles)(e,a)}
|
|
11834
|
-
`,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class
|
|
11880
|
+
`,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class wp extends P.ProgressRing{}const yp=wp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,P.foundationProgressRingTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11835
11881
|
${(0,P.foundationProgressRingStyles)(e,a)}
|
|
11836
|
-
`,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class
|
|
11882
|
+
`,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class xp extends P.Radio{}const kp=xp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11837
11883
|
${(0,P.foundationRadioStyles)(e,a)}
|
|
11838
11884
|
:host {
|
|
11839
11885
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
@@ -11865,9 +11911,44 @@
|
|
|
11865
11911
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11866
11912
|
background: var(--accent-fill-rest);
|
|
11867
11913
|
}
|
|
11868
|
-
`,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class
|
|
11914
|
+
`,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class zp extends P.RadioGroup{}const Sp=zp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11869
11915
|
${(0,P.foundationRadioGroupStyles)(e,a)}
|
|
11870
|
-
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig))
|
|
11916
|
+
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig)),Cp=c.css`
|
|
11917
|
+
${P.foundationSearchBarStyles}
|
|
11918
|
+
`,$p=c.html`
|
|
11919
|
+
${(0,P.getPrefixedSearchBar)("rapid")}
|
|
11920
|
+
`;class Ap extends P.SearchBar{}const Fp=Ap.compose(Object.assign({baseName:"search-bar",template:$p,styles:Cp,shadowOptions:P.foundationSearchBarShadowOptions},P.defaultSearchBarConfig));class Op extends P.SearchBarCombobox{}const Tp=Op.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,P.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11921
|
+
${(0,P.foundationSearchBarComboboxStyles)(e,a)}
|
|
11922
|
+
|
|
11923
|
+
:host {
|
|
11924
|
+
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11925
|
+
background-color: color-mix(in srgb, var(--neutral-fill-input-rest), transparent 94%);
|
|
11926
|
+
height: calc(
|
|
11927
|
+
(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px
|
|
11928
|
+
);
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
:host(:focus-within:not([disabled])) {
|
|
11932
|
+
background-color: var(--neutral-layer-4);
|
|
11933
|
+
border: 1px solid var(--accent-fill-rest);
|
|
11934
|
+
}
|
|
11935
|
+
|
|
11936
|
+
:host(:hover:not([disabled]):not([open])) {
|
|
11937
|
+
border-color: var(--neutral-stroke-hover);
|
|
11938
|
+
background: none;
|
|
11939
|
+
}
|
|
11940
|
+
|
|
11941
|
+
:host([open][position='below']) .listbox {
|
|
11942
|
+
padding: 0;
|
|
11943
|
+
margin-top: calc(${P.designUnit} * 1px);
|
|
11944
|
+
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11945
|
+
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
11946
|
+
}
|
|
11947
|
+
|
|
11948
|
+
:host .listbox ::slotted(*:last-child) {
|
|
11949
|
+
border-bottom: none;
|
|
11950
|
+
}
|
|
11951
|
+
`,shadowOptions:P.foundationSearchBarComboboxShadowOptions},P.defaultSearchBarComboboxConfig));class Dp extends P.SegmentedControl{}const Rp=Dp.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11871
11952
|
${(0,P.foundationSegmentedControlStyles)(e,a)}
|
|
11872
11953
|
:host {
|
|
11873
11954
|
font-family: var(--body-font);
|
|
@@ -11903,7 +11984,7 @@
|
|
|
11903
11984
|
border-color: transparent;
|
|
11904
11985
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
11905
11986
|
}
|
|
11906
|
-
`,shadowOptions:undefined},{}));class
|
|
11987
|
+
`,shadowOptions:undefined},{}));class Np extends P.Radio{}const Lp=Np.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11907
11988
|
${(0,P.foundationSegmentedItemStyles)(e,a)}
|
|
11908
11989
|
:host {
|
|
11909
11990
|
color: var(--neutral-fill-strong-rest);
|
|
@@ -11915,7 +11996,7 @@
|
|
|
11915
11996
|
:host([aria-checked='true']) {
|
|
11916
11997
|
color: color-mix(in srgb, white, transparent 10%);
|
|
11917
11998
|
}
|
|
11918
|
-
`,shadowOptions:undefined},{}));class
|
|
11999
|
+
`,shadowOptions:undefined},{}));class Mp extends P.Select{}const Ip=Mp.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11919
12000
|
${(0,P.foundationSelectStyles)(e,a)}
|
|
11920
12001
|
:host {
|
|
11921
12002
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -11987,14 +12068,14 @@
|
|
|
11987
12068
|
::slotted([role='option']) {
|
|
11988
12069
|
margin: 0;
|
|
11989
12070
|
}
|
|
11990
|
-
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class
|
|
12071
|
+
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class jp extends P.Skeleton{}const Ep=jp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11991
12072
|
${(0,P.foundationSkeletonStyles)(e,a)}
|
|
11992
12073
|
:host {
|
|
11993
12074
|
--skeleton-fill: var(
|
|
11994
12075
|
--neutral-fill-stealth-rest
|
|
11995
12076
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
11996
12077
|
}
|
|
11997
|
-
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class
|
|
12078
|
+
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Pp extends P.Slider{}const Bp=Pp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11998
12079
|
${(0,P.foundationSliderStyles)(e,a)}
|
|
11999
12080
|
|
|
12000
12081
|
.thumb-cursor {
|
|
@@ -12052,7 +12133,7 @@
|
|
|
12052
12133
|
background-color: var(--neutral-stroke-rest);
|
|
12053
12134
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12054
12135
|
}
|
|
12055
|
-
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class
|
|
12136
|
+
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class Gp extends P.SliderLabel{}const Up=Gp.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12056
12137
|
${(0,P.foundationSliderLabelStyles)(e,a)}
|
|
12057
12138
|
.label {
|
|
12058
12139
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
@@ -12063,7 +12144,7 @@
|
|
|
12063
12144
|
text-align: center;
|
|
12064
12145
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12065
12146
|
}
|
|
12066
|
-
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),
|
|
12147
|
+
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),Hp=c.css`
|
|
12067
12148
|
${P.foundationSnackbarStyles}
|
|
12068
12149
|
.snackbar {
|
|
12069
12150
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
@@ -12084,9 +12165,9 @@
|
|
|
12084
12165
|
.action {
|
|
12085
12166
|
gap: calc(var(--design-unit) * 2px);
|
|
12086
12167
|
}
|
|
12087
|
-
`,
|
|
12168
|
+
`,_p=c.html`
|
|
12088
12169
|
${(0,P.getPrefixedSnackbar)("rapid")}
|
|
12089
|
-
`,
|
|
12170
|
+
`,Vp=P.foundationSnackbarShadowOptions;class Yp extends P.Snackbar{}const Qp=Yp.compose({baseName:"snackbar",shadowOptions:Vp,styles:Hp,template:_p}),Wp=c.css`
|
|
12090
12171
|
${P.foundationStepperStyles}
|
|
12091
12172
|
|
|
12092
12173
|
:host {
|
|
@@ -12133,11 +12214,11 @@
|
|
|
12133
12214
|
padding: 0 calc(var(--design-unit) * 2px);
|
|
12134
12215
|
color: var(--neutral-foreground-hint);
|
|
12135
12216
|
}
|
|
12136
|
-
`,
|
|
12217
|
+
`,qp=c.html`
|
|
12137
12218
|
${(0,P.getPrefixedStepper)("rapid")}
|
|
12138
|
-
`;class
|
|
12219
|
+
`;class Jp extends P.Stepper{}const Zp=Jp.compose(Object.assign({baseName:"stepper",template:qp,styles:Wp,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),Kp=c.html`
|
|
12139
12220
|
${(0,P.getPrefixedStepperTab)("rapid")}
|
|
12140
|
-
`;class
|
|
12221
|
+
`;class Xp extends P.StepperTab{}const eu=Xp.compose(Object.assign({baseName:"stepper-tab",template:Kp,styles:(e,a)=>c.css`
|
|
12141
12222
|
${(0,P.foundationStepperTabStyles)(e,a)}
|
|
12142
12223
|
|
|
12143
12224
|
rapid-tree-item {
|
|
@@ -12197,7 +12278,7 @@
|
|
|
12197
12278
|
:host([error]) .step-title {
|
|
12198
12279
|
color: var(--error-color);
|
|
12199
12280
|
}
|
|
12200
|
-
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class
|
|
12281
|
+
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class au extends P.StepperTabPanel{}const ru=au.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),tu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class ou extends P.Switch{}const iu=ou.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12201
12282
|
${(0,P.foundationSwitchStyles)(e,a)}
|
|
12202
12283
|
:host {
|
|
12203
12284
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -12234,7 +12315,7 @@
|
|
|
12234
12315
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12235
12316
|
background: var(--accent-fill-rest);
|
|
12236
12317
|
}
|
|
12237
|
-
`,shadowOptions:P.foundationSwitchShadowOptions},
|
|
12318
|
+
`,shadowOptions:P.foundationSwitchShadowOptions},tu));class nu extends P.Tab{}const lu=nu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12238
12319
|
${(0,P.foundationTabStyles)(e,a)}
|
|
12239
12320
|
:host {
|
|
12240
12321
|
background-color: ${u.neutralLayer2};
|
|
@@ -12247,12 +12328,12 @@
|
|
|
12247
12328
|
:host([aria-selected='true']:hover) {
|
|
12248
12329
|
background-color: ${u.neutralLayer4};
|
|
12249
12330
|
}
|
|
12250
|
-
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class
|
|
12331
|
+
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class gu extends P.TabPanel{}const su=gu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12251
12332
|
${(0,P.foundationTabPanelStyles)(e,a)}
|
|
12252
12333
|
:host {
|
|
12253
12334
|
padding: 0;
|
|
12254
12335
|
}
|
|
12255
|
-
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class
|
|
12336
|
+
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class du extends P.Tabs{}const cu=du.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12256
12337
|
${(0,P.foundationTabsStyles)(e,a)}
|
|
12257
12338
|
:host {
|
|
12258
12339
|
--base-height-multiplier: 9;
|
|
@@ -12327,7 +12408,7 @@
|
|
|
12327
12408
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12328
12409
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12329
12410
|
}
|
|
12330
|
-
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class
|
|
12411
|
+
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class pu extends P.TextArea{}const uu=pu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12331
12412
|
${(0,P.foundationTextAreaStyles)(e,a)}
|
|
12332
12413
|
|
|
12333
12414
|
:host .control {
|
|
@@ -12353,7 +12434,7 @@
|
|
|
12353
12434
|
font-weight: 700;
|
|
12354
12435
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12355
12436
|
}
|
|
12356
|
-
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class
|
|
12437
|
+
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class hu extends P.TextField{}const mu=hu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12357
12438
|
${(0,P.foundationTextFieldStyles)(e,a)}
|
|
12358
12439
|
|
|
12359
12440
|
:host {
|
|
@@ -12390,7 +12471,7 @@
|
|
|
12390
12471
|
font-weight: 700;
|
|
12391
12472
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12392
12473
|
}
|
|
12393
|
-
`,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),
|
|
12474
|
+
`,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),bu=c.css`
|
|
12394
12475
|
${P.foundationToastStyles}
|
|
12395
12476
|
.toast {
|
|
12396
12477
|
background-color: ${u.neutralLayer1};
|
|
@@ -12445,7 +12526,7 @@
|
|
|
12445
12526
|
:host([notify='serious']) .toast::after {
|
|
12446
12527
|
background-color: var(--error-color);
|
|
12447
12528
|
}
|
|
12448
|
-
`,
|
|
12529
|
+
`,vu=P.defaultToastConfig,fu=P.foundationToastShadowOptions;class wu extends P.Toast{}const yu=wu.compose(Object.assign({baseName:"toast",shadowOptions:fu,styles:bu,template:P.foundationToastTemplate},vu));class xu extends P.Toolbar{}const ku=xu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12449
12530
|
${(0,P.foundationToolbarStyles)(e,a)}
|
|
12450
12531
|
:host {
|
|
12451
12532
|
align-items: center;
|
|
@@ -12455,7 +12536,7 @@
|
|
|
12455
12536
|
.positioning-region {
|
|
12456
12537
|
align-items: center;
|
|
12457
12538
|
}
|
|
12458
|
-
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class
|
|
12539
|
+
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class zu extends P.Tooltip{}const Su=zu.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12459
12540
|
${(0,P.foundationTooltipStyles)(e,a)}
|
|
12460
12541
|
|
|
12461
12542
|
:host {
|
|
@@ -12478,7 +12559,7 @@
|
|
|
12478
12559
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12479
12560
|
margin-left: 0;
|
|
12480
12561
|
}
|
|
12481
|
-
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class
|
|
12562
|
+
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class Cu extends P.TreeItem{}const $u={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"/>\n </svg>'},Au=Cu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12482
12563
|
${(0,P.foundationTreeItemStyles)(e,a)}
|
|
12483
12564
|
:host {
|
|
12484
12565
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -12517,11 +12598,11 @@
|
|
|
12517
12598
|
width: calc(var(--design-unit) * 3px);
|
|
12518
12599
|
height: calc(var(--design-unit) * 3px);
|
|
12519
12600
|
}
|
|
12520
|
-
`,shadowOptions:P.foundationTreeItemShadowOptions}
|
|
12601
|
+
`,shadowOptions:P.foundationTreeItemShadowOptions},$u));class Fu extends P.TreeView{}const Ou=Fu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12521
12602
|
${(0,P.foundationTreeViewStyles)(e,a)}
|
|
12522
|
-
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),
|
|
12603
|
+
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),Tu=c.html`
|
|
12523
12604
|
${(0,P.getPrefixedUrlInput)("rapid")}
|
|
12524
|
-
`;class
|
|
12605
|
+
`;class Du extends P.UrlInput{}const Ru={designSystemProvider:Bs,rapidAccordion:Us,rapidAccordionItem:_s,rapidActionsMenu:Ys,rapidAnchor:ed,rapidAnchoredRegion:rd,rapidAvatar:od,rapidBadge:nd,rapidBanner:dd,rapidBreadcrumb:pd,rapidBreadcrumbItem:hd,rapidButton:bd,rapidCalendar:fd,rapidCard:yd,rapidCheckbox:kd,rapidCombobox:Sd,rapidConnectionIndicator:$d,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Hd,rapidDialog:qd,rapidDisclosure:Zd,rapidDivider:Xd,rapidDropdownMenu:ac,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:cc,rapidFilter:hc,rapidFilterBar:vc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:zc,rapidFlyout:Oc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Bc,rapidIcon:_c,rapidListbox:Yc,rapidListboxOption:Wc,rapidMenu:Jc,rapidMenuItem:Xc,rapidModal:ip,rapidMultiselect:cp,rapidNumberField:bp,rapidProgress:fp,rapidProgressRing:yp,rapidRadio:kp,rapidRadioGroup:Sp,rapidSearchBar:Fp,rapidSearchBarCombobox:Tp,rapidSegmentedControl:Rp,rapidSegmentedItem:Lp,rapidSelect:Ip,rapidSkeleton:Ep,rapidSlider:Bp,rapidSliderLabel:Up,rapidSnackbar:Qp,rapidStepper:Zp,rapidStepperTab:eu,rapidStepperTabPanel:ru,rapidSwitch:iu,rapidTab:lu,rapidTabPanel:su,rapidTabs:cu,rapidTextArea:uu,rapidTextField:mu,rapidToast:yu,rapidToolbar:ku,rapidTooltip:Su,rapidTreeItem:Au,rapidTreeView:Ou,rapidUrlInput:Du.compose(Object.assign({baseName:"url-input",template:Tu,styles:(e,a)=>c.css`
|
|
12525
12606
|
${(0,P.foundationUrlInputStyles)(e,a)}
|
|
12526
12607
|
a {
|
|
12527
12608
|
color: var(--accent-fill-rest);
|
|
@@ -12537,8 +12618,8 @@
|
|
|
12537
12618
|
font-size: var(--type-ramp-base-font-size);
|
|
12538
12619
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12539
12620
|
}
|
|
12540
|
-
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class
|
|
12541
|
-
${
|
|
12621
|
+
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Nu extends Ri{}const Lu=Nu.compose({baseName:"date-editor",styles:Ni,template:Li("rapid")});class Mu extends Ei{}const Iu=Mu.compose({baseName:"multiselect-editor",styles:Pi,template:Bi("rapid")});class ju extends _i{}const Eu=ju.compose({baseName:"select-editor",styles:Vi,template:Yi("rapid")});class Pu extends Ji{}const Bu=Pu.compose({baseName:"number-editor",styles:Zi,template:Ki("rapid")});class Gu extends rn{}const Uu=Gu.compose({baseName:"string-editor",styles:tn,template:on("rapid")});class Hu extends sn{}const _u=Hu.compose({baseName:"editable-renderer",styles:dn,template:cn("rapid")});class Vu extends vn{}const Yu=Vu.compose({baseName:"grid-pro-action-renderer",styles:c.css`
|
|
12622
|
+
${wn}
|
|
12542
12623
|
`,template:c.html`
|
|
12543
12624
|
<div class="action-container" part="action-container">
|
|
12544
12625
|
<rapid-button
|
|
@@ -12555,12 +12636,12 @@
|
|
|
12555
12636
|
`:e.params.actionName}
|
|
12556
12637
|
</rapid-button>
|
|
12557
12638
|
</div>
|
|
12558
|
-
`});class
|
|
12639
|
+
`});class Qu extends zn{}const Wu=Qu.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
|
|
12559
12640
|
<rapid-actions-menu
|
|
12560
12641
|
name="${e=>e.params.headerName}"
|
|
12561
12642
|
:definition=${e=>e.params}
|
|
12562
12643
|
></rapid-actions-menu>
|
|
12563
|
-
`});class
|
|
12644
|
+
`});class qu extends An{}const Ju=qu.compose({baseName:"boolean-renderer",styles:Fn,template:On("rapid")});const Zu=class extends Pn{}.compose({baseName:"grid-text-renderer",styles:Bn,template:Gn("rapid")});const Ku=class extends _n{}.compose({baseName:"select-renderer",styles:Vn,template:Yn("rapid")}),Xu={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},eh={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:ah}=p.DesignToken,rh={backgroundColor:ah("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.backgroundSwatch:Xu.backgroundSwatch)),borderColor:ah("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.borderSwatch:Xu.borderSwatch)),foregroundColor:ah("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.foregroundSwatch:Xu.foregroundSwatch)),headerForegroundColor:ah("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.headerForegroundSwatch:Xu.headerForegroundSwatch)),rowHoverColor:ah("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.rowHoverSwatch:Xu.rowHoverSwatch))},th=c.css`
|
|
12564
12645
|
.ag-theme-genesis-rapid,
|
|
12565
12646
|
.ag-theme-genesis-rapid-dark {
|
|
12566
12647
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13020,76 +13101,76 @@
|
|
|
13020
13101
|
.ag-theme-genesis-rapid-dark {
|
|
13021
13102
|
color-scheme: dark;
|
|
13022
13103
|
}
|
|
13023
|
-
`,
|
|
13024
|
-
${
|
|
13025
|
-
${
|
|
13104
|
+
`,oh={[fi.backgroundColor]:rh.backgroundColor,[fi.foregroundColor]:rh.foregroundColor,[fi.oddRowBackgroundColor]:rh.backgroundColor,[fi.headerBackgroundColor]:rh.backgroundColor,[fi.headerForegroundColor]:rh.headerForegroundColor,[fi.selectedRowBackgroundColor]:rh.rowHoverColor,[fi.rowHoverColor]:rh.rowHoverColor,[fi.borderColor]:rh.borderColor,[fi.rowBorderColor]:rh.rowHoverColor,[fi.modalOverlayBackgroundColor]:rh.backgroundColor,[fi.inputFocusBoxShadow]:rh.headerForegroundColor,[fi.inputFocusBorderColor]:rh.headerForegroundColor,[fi.headerColumnResizeHandleColor]:rh.headerForegroundColor},ih="ag-theme-genesis-rapid",nh=c.css`
|
|
13105
|
+
${th}
|
|
13106
|
+
${$i(ih,oh)}
|
|
13026
13107
|
|
|
13027
|
-
.${
|
|
13108
|
+
.${ih} {
|
|
13028
13109
|
${Ee()}
|
|
13029
13110
|
font-family: var(--body-font);
|
|
13030
13111
|
}
|
|
13031
13112
|
|
|
13032
|
-
.${
|
|
13033
|
-
.${
|
|
13034
|
-
.${
|
|
13113
|
+
.${ih} .ag-body .ag-body-viewport,
|
|
13114
|
+
.${ih} .ag-header,
|
|
13115
|
+
.${ih} .ag-row {
|
|
13035
13116
|
background-color: var(--neutral-layer-3);
|
|
13036
13117
|
}
|
|
13037
13118
|
|
|
13038
|
-
.${
|
|
13119
|
+
.${ih} .ag-header {
|
|
13039
13120
|
border-bottom-color: var(--rapid-ag-border-color);
|
|
13040
13121
|
font-weight: bold;
|
|
13041
13122
|
font-size: var(--type-ramp-base-font-size);
|
|
13042
13123
|
}
|
|
13043
13124
|
|
|
13044
|
-
.${
|
|
13125
|
+
.${ih} .ag-root-wrapper {
|
|
13045
13126
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13046
13127
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13047
13128
|
}
|
|
13048
13129
|
|
|
13049
|
-
.${
|
|
13130
|
+
.${ih} .ag-cell {
|
|
13050
13131
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13051
13132
|
}
|
|
13052
|
-
`,
|
|
13053
|
-
${
|
|
13054
|
-
${
|
|
13133
|
+
`,lh="ag-theme-genesis-rapid-dark",gh=c.css`
|
|
13134
|
+
${th}
|
|
13135
|
+
${$i(ih,oh)}
|
|
13055
13136
|
|
|
13056
|
-
.${
|
|
13137
|
+
.${lh} {
|
|
13057
13138
|
${Ee()}
|
|
13058
13139
|
font-family: var(--body-font);
|
|
13059
13140
|
}
|
|
13060
13141
|
|
|
13061
|
-
.${
|
|
13062
|
-
.${
|
|
13063
|
-
.${
|
|
13142
|
+
.${lh} .ag-body .ag-body-viewport,
|
|
13143
|
+
.${lh} .ag-header,
|
|
13144
|
+
.${lh} .ag-row {
|
|
13064
13145
|
background-color: var(--neutral-layer-3);
|
|
13065
13146
|
}
|
|
13066
13147
|
|
|
13067
|
-
.${
|
|
13148
|
+
.${lh} .ag-header {
|
|
13068
13149
|
border-bottom-color: var(--rapid-ag-border-color);
|
|
13069
13150
|
font-weight: bold;
|
|
13070
13151
|
font-size: var(--type-ramp-base-font-size);
|
|
13071
13152
|
}
|
|
13072
13153
|
|
|
13073
|
-
.${
|
|
13154
|
+
.${lh} .ag-root-wrapper {
|
|
13074
13155
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13075
13156
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13076
13157
|
}
|
|
13077
13158
|
|
|
13078
|
-
.${
|
|
13159
|
+
.${lh} .ag-cell {
|
|
13079
13160
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13080
13161
|
}
|
|
13081
|
-
`,
|
|
13162
|
+
`,sh=c.css`
|
|
13082
13163
|
/* All the AG themes */
|
|
13083
|
-
${
|
|
13164
|
+
${Hl}
|
|
13084
13165
|
|
|
13085
13166
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
13086
|
-
${
|
|
13087
|
-
${
|
|
13167
|
+
${nh}
|
|
13168
|
+
${gh}
|
|
13088
13169
|
|
|
13089
13170
|
.error {
|
|
13090
13171
|
border-color: ${ve.shortPink} !important;
|
|
13091
13172
|
}
|
|
13092
|
-
`,
|
|
13173
|
+
`,dh=_l,ch="ag-theme-genesis-rapid-dark";const ph=Jl,uh={rapidAgEditableRenderer:_u,rapidAgActionRenderer:Yu,rapidAgActionsMenuRenderer:Wu,rapidAgBooleanRenderer:Ju,rapidAgTextRenderer:Zu,rapidAgSelectRenderer:Ku,rapidAgDateEditor:Lu,rapidAgMultiselectEditor:Iu,rapidAgSelectEditor:Eu,rapidAgNumberEditor:Bu,rapidAgStringEditor:Uu,rapidGridPro:class extends Wl{constructor(){super(...arguments),this.theme=ch}themeChanged(e,a){console.log("teste"),(e||a===ch)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:Vu,[Ai.actionsMenu]:Qu,[Ai.boolean]:qu,[Ai.editable]:Hu,[Ai.selectEditor]:ju,[Ai.numberEditor]:Pu,[Ai.multiselectEditor]:Mu,[Ai.dateEditor]:Nu,[Ai.stringEditor]:Gu};(this.theme===ih||this.theme===lh)&&(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:dh,styles:sh,shadowOptions:undefined},ph)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var hh,mh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(hh||(hh={}));const bh={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'},vh=bh["Segoe UI"],fh=c.css`
|
|
13093
13174
|
${(0,p.display)("block")} :host {
|
|
13094
13175
|
width: 100%;
|
|
13095
13176
|
display: inline-flex;
|
|
@@ -13221,7 +13302,7 @@
|
|
|
13221
13302
|
alpha-button {
|
|
13222
13303
|
margin: 0;
|
|
13223
13304
|
}
|
|
13224
|
-
`,
|
|
13305
|
+
`,wh=c.html`
|
|
13225
13306
|
<template>
|
|
13226
13307
|
<div class="configuration">
|
|
13227
13308
|
${(0,c.when)((e=>!e.customDesignMode),c.html`
|
|
@@ -13429,7 +13510,7 @@
|
|
|
13429
13510
|
</div>
|
|
13430
13511
|
</div>
|
|
13431
13512
|
${(0,c.when)((e=>!e.customDesignMode),c.html`
|
|
13432
|
-
<alpha-checkbox :checked="${(0,
|
|
13513
|
+
<alpha-checkbox :checked="${(0,Nn.Z)((e=>e.preserveOptions),"boolean")}">
|
|
13433
13514
|
Preserve selected options when changing design systems
|
|
13434
13515
|
</alpha-checkbox>
|
|
13435
13516
|
`)}
|
|
@@ -13444,7 +13525,7 @@
|
|
|
13444
13525
|
<slot></slot>
|
|
13445
13526
|
</div>
|
|
13446
13527
|
</template>
|
|
13447
|
-
`,
|
|
13528
|
+
`,yh=({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(bh).find((a=>bh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),xh=yh(Ue),kh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},zh={accent:"primary",neutral:"secondary",font:"white"},Sh=yh(l.designTokens),Ch=yh(Es),$h={zero:{prefix:"zero",tokenDefaults:xh,buttons:kh,badge:zh},alpha:{prefix:"alpha",tokenDefaults:Sh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Ch,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:kh,badge:zh}};let Ah=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=xh.luminance===u.StandardLuminance.DarkMode,this.luminance=xh.luminance,this.neutralColor=xh.neutralColor,this.accentColor=xh.accentColor,this.bodyFont=xh.bodyFont,this.density=xh.density,this.borderRadius=xh.borderRadius,this.strokeWidth=xh.strokeWidth,this.designUnit=xh.designUnit,this.baseFontSize=xh.baseFontSize,this.baseLineHeight=xh.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=yh(a);$h.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,mh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs($h[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,mh.__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:$h[this.ds].prefix,buttonAppearanceAccent:$h[this.ds].buttons.accent,buttonAppearanceNeutral:$h[this.ds].buttons.neutral,buttonAppearanceOutline:$h[this.ds].buttons.outline,buttonAppearanceText:$h[this.ds].buttons.text,badgeAppearanceAccent:$h[this.ds].badge.accent,badgeAppearanceNeutral:$h[this.ds].badge.neutral,badgeText:$h[this.ds].badge.font};this.$emit(hh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs($h[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:bh[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(hh.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(hh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,mh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Ah.prototype,"customDesignMode",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"designSystems",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"ds",void 0),(0,mh.__decorate)([c.attr],Ah.prototype,"darkMode",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"neutralColor",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"accentColor",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"bodyFont",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"density",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"borderRadius",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"strokeWidth",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"designUnit",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"baseFontSize",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"baseLineHeight",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"preserveOptions",void 0),Ah=(0,mh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:wh,styles:fh})],Ah);const Fh=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},Oh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Th=(e,a)=>{const r=Fh(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Fh(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,Oh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Dh=c.css`
|
|
13448
13529
|
:host {
|
|
13449
13530
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13450
13531
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13540,7 +13621,7 @@
|
|
|
13540
13621
|
display: flex;
|
|
13541
13622
|
flex-direction: column;
|
|
13542
13623
|
}
|
|
13543
|
-
`,
|
|
13624
|
+
`,Rh=c.html`
|
|
13544
13625
|
${e=>(e=>c.html`
|
|
13545
13626
|
<template>
|
|
13546
13627
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -13952,7 +14033,7 @@
|
|
|
13952
14033
|
</${e}-design-system-provider>
|
|
13953
14034
|
</template>
|
|
13954
14035
|
`)(e.prefix)}
|
|
13955
|
-
`;let
|
|
14036
|
+
`;let Nh=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=>console.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>console.debug("DELETE!!!",e)},{name:"Edit",callback:e=>console.debug("EDIT!!!",e)},{name:"Wait",callback:e=>console.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(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(vh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Th(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,mh.__decorate)([c.observable],Nh.prototype,"modal",void 0),(0,mh.__decorate)([c.attr],Nh.prototype,"prefix",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceAccent",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceNeutral",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceOutline",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceText",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"badgeAppearanceAccent",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"badgeAppearanceNeutral",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"badgeText",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"cards",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"countries",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"menuActions",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"menuDefinition",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"dropDownMenuItems",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"provider",void 0),Nh=(0,mh.__decorate)([(0,c.customElement)({name:"preview-components",template:Rh,styles:Dh})],Nh);const Lh=c.css`
|
|
13956
14037
|
.export {
|
|
13957
14038
|
display: flex;
|
|
13958
14039
|
justify-content: center;
|
|
@@ -13963,7 +14044,7 @@
|
|
|
13963
14044
|
display: flex;
|
|
13964
14045
|
justify-content: space-between;
|
|
13965
14046
|
}
|
|
13966
|
-
`,
|
|
14047
|
+
`,Mh=c.html`
|
|
13967
14048
|
<template>
|
|
13968
14049
|
<div class="export">
|
|
13969
14050
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
@@ -13984,7 +14065,7 @@
|
|
|
13984
14065
|
</alpha-modal>
|
|
13985
14066
|
</div>
|
|
13986
14067
|
</template>
|
|
13987
|
-
`;let
|
|
14068
|
+
`;let Ih=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=>{console.log("Tokens saved successfully:",e),this.$emit(hh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,mh.__decorate)([c.attr],Ih.prototype,"value",void 0),(0,mh.__decorate)([c.attr],Ih.prototype,"tokensPath",void 0),Ih=(0,mh.__decorate)([(0,c.customElement)({name:"design-system-export",template:Mh,styles:Lh})],Ih);const jh=c.css`
|
|
13988
14069
|
.colors {
|
|
13989
14070
|
display: flex;
|
|
13990
14071
|
flex-wrap: wrap;
|
|
@@ -13997,23 +14078,23 @@
|
|
|
13997
14078
|
flex-grow: 1;
|
|
13998
14079
|
height: 20px;
|
|
13999
14080
|
}
|
|
14000
|
-
|
|
14081
|
+
`,Eh=c.html`
|
|
14001
14082
|
<ul class="colors">
|
|
14002
14083
|
${(0,c.repeat)((e=>e.swatches),c.html`
|
|
14003
14084
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14004
14085
|
`)}
|
|
14005
14086
|
</ul>
|
|
14006
|
-
`;let
|
|
14087
|
+
`;let Ph=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=Fh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,mh.__decorate)([c.observable],Ph.prototype,"swatches",void 0),(0,mh.__decorate)([c.attr],Ph.prototype,"type",void 0),Ph=(0,mh.__decorate)([(0,c.customElement)({name:"color-palette",styles:jh,template:Eh})],Ph);const Bh=c.css`
|
|
14007
14088
|
.preview {
|
|
14008
14089
|
width: 40px;
|
|
14009
14090
|
height: 40px;
|
|
14010
14091
|
}
|
|
14011
|
-
`,
|
|
14092
|
+
`,Gh=c.html`
|
|
14012
14093
|
<div
|
|
14013
14094
|
class="preview"
|
|
14014
14095
|
style="background-color: ${e=>u[e.tokenName].createCSS()}"
|
|
14015
14096
|
></div>
|
|
14016
|
-
`;let
|
|
14097
|
+
`;let Uh=class extends c.FASTElement{};(0,mh.__decorate)([c.attr],Uh.prototype,"tokenName",void 0),Uh=(0,mh.__decorate)([(0,c.customElement)({name:"color-token",styles:Bh,template:Gh})],Uh);const Hh=c.css`
|
|
14017
14098
|
.container {
|
|
14018
14099
|
display: flex;
|
|
14019
14100
|
width: 100%;
|
|
@@ -14061,7 +14142,7 @@
|
|
|
14061
14142
|
.container > div:not(:last-child) {
|
|
14062
14143
|
border-right: 1px solid #fafafa;
|
|
14063
14144
|
}
|
|
14064
|
-
`,
|
|
14145
|
+
`,_h=[{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"}]}]}],Vh=c.html`
|
|
14065
14146
|
<div class="row">
|
|
14066
14147
|
<div
|
|
14067
14148
|
class="preview"
|
|
@@ -14073,19 +14154,19 @@
|
|
|
14073
14154
|
${(e,a)=>u[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
14074
14155
|
</div>
|
|
14075
14156
|
</div>
|
|
14076
|
-
`,
|
|
14157
|
+
`,Yh=c.html`
|
|
14077
14158
|
<div class="container" ${(0,c.ref)("provider")}>
|
|
14078
|
-
${(0,c.repeat)((()=>
|
|
14159
|
+
${(0,c.repeat)((()=>_h),c.html`
|
|
14079
14160
|
<div class="column">
|
|
14080
14161
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
14081
14162
|
${(0,c.repeat)((e=>e.subcategories),c.html`
|
|
14082
14163
|
<h4>${e=>e.title}</h4>
|
|
14083
|
-
${(0,c.repeat)((e=>e.tokens),
|
|
14164
|
+
${(0,c.repeat)((e=>e.tokens),Vh)}
|
|
14084
14165
|
`)}
|
|
14085
14166
|
</div>
|
|
14086
14167
|
`)}
|
|
14087
14168
|
</div>
|
|
14088
|
-
`;let
|
|
14169
|
+
`;let Qh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{const a=e.detail;Th(a,this.provider)}))}};(0,mh.__decorate)([c.observable],Qh.prototype,"provider",void 0),Qh=(0,mh.__decorate)([(0,c.customElement)({name:"color-tokens",template:Yh,styles:Hh})],Qh);const Wh=c.css`
|
|
14089
14170
|
table {
|
|
14090
14171
|
background: var(--neutral-fill-rest);
|
|
14091
14172
|
color: var(--neutral-foreground-rest);
|
|
@@ -14094,7 +14175,7 @@
|
|
|
14094
14175
|
th {
|
|
14095
14176
|
text-align: left;
|
|
14096
14177
|
}
|
|
14097
|
-
`,
|
|
14178
|
+
`,qh=c.html`
|
|
14098
14179
|
<table ${(0,c.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
|
|
14099
14180
|
<colgroup>
|
|
14100
14181
|
<col style="width: 15%;" />
|
|
@@ -14322,7 +14403,7 @@
|
|
|
14322
14403
|
</tr>
|
|
14323
14404
|
</tbody>
|
|
14324
14405
|
</table>
|
|
14325
|
-
`;let
|
|
14406
|
+
`;let Jh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{const a=e.detail;Th(a,this.provider)}))}};(0,mh.__decorate)([c.observable],Jh.prototype,"provider",void 0),Jh=(0,mh.__decorate)([(0,c.customElement)({name:"typography-tokens",template:qh,styles:Wh})],Jh);const Zh=c.css`
|
|
14326
14407
|
:host {
|
|
14327
14408
|
background: var(--fill-color);
|
|
14328
14409
|
color: var(--neutral-foreground-rest);
|
|
@@ -14338,7 +14419,7 @@
|
|
|
14338
14419
|
margin-top: 24px;
|
|
14339
14420
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14340
14421
|
}
|
|
14341
|
-
`,
|
|
14422
|
+
`,Kh=c.html`
|
|
14342
14423
|
<template>
|
|
14343
14424
|
<alpha-tabs>
|
|
14344
14425
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14367,7 +14448,7 @@
|
|
|
14367
14448
|
</alpha-tab-panel>
|
|
14368
14449
|
</alpha-tabs>
|
|
14369
14450
|
</template>
|
|
14370
|
-
`;let
|
|
14451
|
+
`;let Xh=class extends c.FASTElement{};Xh=(0,mh.__decorate)([(0,c.customElement)({name:"design-system-preview",template:Kh,styles:Zh})],Xh);const em={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"}]}]}}]},am={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"]}}},rm={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"}]}}}]},tm={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"]}}}},om=c.css`
|
|
14371
14452
|
:host {
|
|
14372
14453
|
background: var(--fill-color);
|
|
14373
14454
|
color: var(--neutral-foreground-rest);
|
|
@@ -14398,7 +14479,7 @@
|
|
|
14398
14479
|
zero-design-system-provider {
|
|
14399
14480
|
display: inline;
|
|
14400
14481
|
}
|
|
14401
|
-
`,
|
|
14482
|
+
`,im=c.html`
|
|
14402
14483
|
${e=>(e=>c.html`
|
|
14403
14484
|
<template>
|
|
14404
14485
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -14422,7 +14503,7 @@
|
|
|
14422
14503
|
</${e}-design-system-provider>
|
|
14423
14504
|
</template>
|
|
14424
14505
|
`)(e.prefix)}
|
|
14425
|
-
`;let
|
|
14506
|
+
`;let nm=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=am,this.uischema=em,this.jsonSchemaArray=tm,this.uiSchemaArray=rm,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(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(vh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Th(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,mh.__decorate)([c.observable],nm.prototype,"jsonSchema",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"uischema",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"jsonSchemaArray",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"uiSchemaArray",void 0),(0,mh.__decorate)([c.attr],nm.prototype,"prefix",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"provider",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"editedEntity",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"editedEntityArray",void 0),nm=(0,mh.__decorate)([(0,c.customElement)({name:"preview-form",template:im,styles:om})],nm);const lm=c.css`
|
|
14426
14507
|
:host {
|
|
14427
14508
|
background: var(--fill-color);
|
|
14428
14509
|
color: var(--neutral-foreground-rest);
|
|
@@ -14437,7 +14518,7 @@
|
|
|
14437
14518
|
.grid-height {
|
|
14438
14519
|
height: 450px;
|
|
14439
14520
|
}
|
|
14440
|
-
`,
|
|
14521
|
+
`,gm=c.html`
|
|
14441
14522
|
${e=>(e=>c.html`
|
|
14442
14523
|
<template>
|
|
14443
14524
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -14447,5 +14528,5 @@
|
|
|
14447
14528
|
</${e}-design-system-provider>
|
|
14448
14529
|
</template>
|
|
14449
14530
|
`)(e.prefix)}
|
|
14450
|
-
`;let
|
|
14451
|
-
//# sourceMappingURL=
|
|
14531
|
+
`;let sm=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(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(vh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Th(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,mh.__decorate)([c.observable],sm.prototype,"grid",void 0),(0,mh.__decorate)([c.attr],sm.prototype,"prefix",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"provider",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"rowData",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"columnDefs",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"gridOptions",void 0),sm=(0,mh.__decorate)([(0,c.customElement)({name:"preview-grid",template:gm,styles:lm})],sm),((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,pg),(0,l.provideDesignSystem)().register(l.baseComponents,ug),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(Ru,uh)}}]);
|
|
14532
|
+
//# sourceMappingURL=122.4cecb51180e76a21ab8df152f6b0d680.js.map
|