@genesislcap/design-system-configurator 14.167.2 → 14.167.3-alpha-69ba23f.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/{117.117.666f4783b89ccb939e34.js → 104.104.eb07ccfb64543ac7b778.js} +2 -2
- package/dist/{946.191cdb53604b57e8e570e16c45969c58.js.map → 104.89f5d15ad9e34bb896b2e091a01bd2f4.js.map} +1 -1
- package/dist/223.223.145b4135cb41b88d86f0.js +2 -0
- package/dist/223.7d62a0692c0f2a60a363ff33876ea2e8.js.map +1 -0
- package/dist/{614.614.00f40dcb6436dda7b655.js → 227.227.5ac4b5d5283a38f12857.js} +3 -3
- package/dist/227.48a6cd6f0266b173ce60ba053f5c391b.js.map +1 -0
- package/dist/{205.205.e504f09f84d503c36bc1.js → 254.254.2432d5e58e8db8736235.js} +2 -2
- package/dist/{514.4c9a9078af0272a89cf44998ff715266.js.map → 254.5d86e9f0afb0b6b635f7c48ff847d20c.js.map} +1 -1
- package/dist/279.279.5bec60753fd1d7e05ddd.js +4 -0
- package/dist/279.61388040d5212cf9d2f9ec0b74af86b1.js.map +1 -0
- package/dist/{234.234.8a57d6aa4ae3d89f5a31.js → 359.359.e036e01a879624cdc3b5.js} +2 -2
- package/dist/{234.952bf408b225f6c58063df9fea95103c.js.map → 359.5a6df2fa69f71d02b96edad812335685.js.map} +1 -1
- package/dist/{205.db0943e1bb75c75fbc40f8e9a9389c06.js.map → 401.1eecdf26f5fb03237b4d6056a6840542.js.map} +1 -1
- package/dist/{514.514.0231ed19dc3b191ef531.js → 401.401.720caaf793da40e61253.js} +2 -2
- package/dist/{300.300.0c070751ae10da710b08.js → 445.445.2ba7d4f10beca887a425.js} +3 -3
- package/dist/{153.ed4de14c0d63c04b9410a297fd64327f.js.map → 445.c50ffd4726ee25b236e7bf65a987fa89.js.map} +1 -1
- package/dist/548.1302eba0ac52ed9874e55977e489e1e8.js.map +1 -0
- package/dist/548.548.16a7bf09a7d3dd44cc10.js +13 -0
- package/dist/648.648.7db0677b6cbdd90b47e3.js +2 -0
- package/dist/{667.c2e056ba91bea60c1844d80c1e05d12b.js.map → 648.64f343b0b4456706b2898bb18d0ebe3e.js.map} +1 -1
- package/dist/653.653.c62509653415c8faca35.js +2 -0
- package/dist/653.cda2755851515fbf4ce54a3f75f7351b.js.map +1 -0
- package/dist/677.677.b7020bbdb6b2aad19226.js +2 -0
- package/dist/{117.dc0b8ada43c4f471a7d79be55dc10810.js.map → 677.d43c2a841bdd138d54d9e7d2c5618d61.js.map} +1 -1
- package/dist/689.61ed89f0323c9cf836311884dbc8a5ce.js.map +1 -0
- package/dist/689.689.9f0c858e447d6db2ca55.js +2 -0
- package/dist/738.738.d55a266c63dc3615cb99.js +2 -0
- package/dist/{542.9ffdb2fe7c3a7be85727ddaaea4cf96c.js.map → 738.cb15708a600650e664febd4d804346dc.js.map} +1 -1
- package/dist/{849.849.c0960cfc38f4b6b1ed8d.js → 801.801.fe505f23446372d4420b.js} +177 -177
- package/dist/801.bcc9e7b8efd00c1be2da86e59fcc7b8e.js.map +1 -0
- package/dist/803.803.d83a509d3c9ad2332a7d.js +2 -0
- package/dist/{827.82083263b3da28ecf451fce04682d408.js.map → 803.813d4781a2e6c2a93f740a13b135c834.js.map} +1 -1
- package/dist/{300.90062a243781a61458ed021fe6f327ac.js.map → 826.4b4f684e828a56a17a42ead55be0567b.js.map} +1 -1
- package/dist/{153.153.bee77dddd8cea3bb1520.js → 826.826.1e632865488cd8a9db67.js} +3 -3
- package/dist/842.842.a0fef2425cf4c7848a37.js +2 -0
- package/dist/842.f6987d52cf428de80d41d9c4f3004d46.js.map +1 -0
- package/dist/{827.827.8e25d6e1d7cbeb4c5bf9.js → 938.938.86ae25d2eacca36ae701.js} +2 -2
- package/dist/938.9addb36745ec7e34fbd148c097deffd3.js.map +1 -0
- package/dist/{806.806.df6304a6e1227a622b6e.js → 952.952.55862fed331f7dce8ccb.js} +214 -214
- package/dist/952.fe29b370d756f30b2bf0e946b11c1830.js.map +1 -0
- package/dist/999.999.1fc5aafe569c493bca27.js +2 -0
- package/dist/{597.27d30fda47b9b3b3703acaa20f229c6b.js.map → 999.f6ec9482e2175fd15901ab54fb68eff8.js.map} +1 -1
- package/dist/designSystemConfigurator.8d995c67f2a195a06cac6bb7b881b212.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.16e186f65f6b6bb1a4a43f350a93ceab.js.map +1 -0
- package/dist/main.bcf50b855f00f949b3cf.js +2 -0
- package/dist/npm.ag-grid-community.909.fda3af82c75743cc9fec.js +3 -0
- package/dist/npm.ag-grid-community.c79b2ae2bd4ec712dbfab22a68395400.js.map +1 -0
- package/dist/npm.ajv.04b8f78233b619816106d6f71a0be112.js.map +1 -0
- package/dist/npm.ajv.353.f2a591538146b9124232.js +8 -0
- package/dist/npm.analytics.140.78869ced13074401388c.js +2 -0
- package/dist/npm.analytics.9569a83884eb0a76b3bb098520c66881.js.map +1 -0
- package/dist/npm.dialog-polyfill.1cc147f3b8f2187ffa4b07cbd7c32798.js.map +1 -0
- package/dist/npm.dialog-polyfill.724.1dd27dae9b5d32e51925.js +2 -0
- package/dist/{npm.fortawesome.fffe635f9bc4f80101a05de59c9f7b9f.js.map → npm.fortawesome.0599c0019ce005f108ac2b46b4a140bf.js.map} +1 -1
- package/dist/npm.fortawesome.308.757f6d1eafa49a539361.js +2 -0
- package/dist/npm.json-schema-tools.6eea636248ad604d9c73563fcbd938c2.js.map +1 -0
- package/dist/npm.json-schema-tools.708.b818843c8ef3875c3cda.js +2 -0
- package/dist/{npm.jsonforms.832.4588d0d8489041bf4ca7.js → npm.jsonforms.283.517815cff18e3c561760.js} +2 -2
- package/dist/npm.jsonforms.7b2decaa3b67871c304a81991ed655bc.js.map +1 -0
- package/dist/npm.lodash.23.1d7f9ce2acd1e0fa6690.js +2 -0
- package/dist/npm.lodash.ba3e45e67057652ae73919baee634464.js.map +1 -0
- package/dist/npm.lossless-json.333.787d51aac38f55c560a0.js +2 -0
- package/dist/{npm.lossless-json.181e52e9623f55b9cbf6f1ed8c1b6de6.js.map → npm.lossless-json.bc69d27ef21a1dd7020fc82d631cfa61.js.map} +1 -1
- package/dist/{npm.microsoft.127.fb65bada17a525386c80.js → npm.microsoft.544.30cb8ac428c8a7bcc21d.js} +651 -651
- package/dist/npm.microsoft.bca284de61a7fd135d55e9b60b8307cf.js.map +1 -0
- package/dist/npm.popperjs.5fa0b67b695c11e87e47128e58df98b2.js.map +1 -0
- package/dist/npm.popperjs.843.e3a0f5748b70fd20e7ae.js +2 -0
- package/dist/npm.rxjs.543.0485910d2a9683db7383.js +2 -0
- package/dist/npm.rxjs.68c71c3823ee6c9090f942ed571ce52b.js.map +1 -0
- package/dist/{npm.tslib.1acdf05613ac52b0840122cf25d84ff7.js.map → npm.tslib.33dc2d6b97ea85e1110deaf4ea8d4ea8.js.map} +1 -1
- package/dist/npm.tslib.520.a8b9712326a227afa1b2.js +3 -0
- package/dist/{npm.uri-js.415.79c1893683e025ba1dc0.js → npm.uri-js.498.fb2b5a38c722074714af.js} +3 -3
- package/dist/{npm.uri-js.18db090930f1e476b7574eb2f5bc6d69.js.map → npm.uri-js.4c0e5073c738ecc37f4419d371115b6f.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/200.200.c3035a0394a0f0154665.js +0 -2
- package/dist/200.b969aa21c130d00f304fd17d1f5d7083.js.map +0 -1
- package/dist/461.461.723925a5bde9aa35846f.js +0 -2
- package/dist/461.8db5f05dd186acb5bbef1493bce4d773.js.map +0 -1
- package/dist/542.542.8668d8f3644abbf0e6d0.js +0 -2
- package/dist/597.597.b38d51685e91f02e1186.js +0 -2
- package/dist/614.ab2243ef12594b651aabfda555ad6136.js.map +0 -1
- package/dist/667.667.28630254545cfba8e661.js +0 -2
- package/dist/746.00e85c55b64e58733fc11e761cc0cb67.js.map +0 -1
- package/dist/746.746.3d0b78f0bda7fbc60e1b.js +0 -4
- package/dist/755.755.e65d16e701302cc19617.js +0 -2
- package/dist/755.9a7aecd6f809d3501c72cb59e24e35af.js.map +0 -1
- package/dist/8.8.cabffc3a0348840d5b01.js +0 -13
- package/dist/8.a53ad2394b2581a3c855ecd3bf2ca07f.js.map +0 -1
- package/dist/806.c79e1a261b79702c2079dd3e21c52362.js.map +0 -1
- package/dist/849.08a5ccbc241f730a7a50ef70b1f414e3.js.map +0 -1
- package/dist/946.946.d24e120faf8a3f3c66dc.js +0 -2
- package/dist/95.5b2dd72604956e5604070d484f4e2b66.js.map +0 -1
- package/dist/95.95.030c6f8abc719ecebae6.js +0 -2
- package/dist/966.966.f34c316b0fe1d04dcd46.js +0 -2
- package/dist/966.9e96d2e5569d5dce6604939f479e4c82.js.map +0 -1
- package/dist/designSystemConfigurator.d065b6cabe69e87dbe55e1b47a7154a8.js.map +0 -1
- package/dist/main.213f99ff1fd6c68d8276c4e369b4c185.js.map +0 -1
- package/dist/main.7df0a875506a38195fe4.js +0 -2
- package/dist/npm.ag-grid-community.260.ed296352518f7a0c6b26.js +0 -3
- package/dist/npm.ag-grid-community.639a7875b9b28e356bec68b9f027ac62.js.map +0 -1
- package/dist/npm.ajv.08466a67076325d025125525760b0dce.js.map +0 -1
- package/dist/npm.ajv.213.ffd70782a76e409cc4cd.js +0 -8
- package/dist/npm.analytics.343.79e1c5e4e199a7ab816c.js +0 -2
- package/dist/npm.analytics.37376e06e9e5aef70bd3e95f74782ad3.js.map +0 -1
- package/dist/npm.dialog-polyfill.1ac89506c1962ef9e9344579bb705cb3.js.map +0 -1
- package/dist/npm.dialog-polyfill.47.c89df860900f879dc18c.js +0 -2
- package/dist/npm.fortawesome.104.2cd89f9bb41a8885c3b3.js +0 -2
- package/dist/npm.json-schema-tools.141.444cc04cd767d536fea2.js +0 -2
- package/dist/npm.json-schema-tools.181f54b3f09ef804ac1e0d10122bbbb9.js.map +0 -1
- package/dist/npm.jsonforms.993e04cc63524e99ee4c6395a10884a1.js.map +0 -1
- package/dist/npm.lodash.1460b2ca1d394235bbfdaf3d90884ce5.js.map +0 -1
- package/dist/npm.lodash.913.118ad493316103ca6e4d.js +0 -2
- package/dist/npm.lossless-json.816.c99bf343815801ec2b52.js +0 -2
- package/dist/npm.microsoft.195d71c3cb4b532ac5f722f5b46f412b.js.map +0 -1
- package/dist/npm.popperjs.591.7db624b09f810ff25907.js +0 -2
- package/dist/npm.popperjs.eda74532847dc31fb1e97092d77902fc.js.map +0 -1
- package/dist/npm.rxjs.271.97c4a50d790b7f988ef3.js +0 -2
- package/dist/npm.rxjs.af0fdd7c6eef2b80c50efc049a01cda7.js.map +0 -1
- package/dist/npm.tslib.453.230015d5bdb68f66ed4c.js +0 -3
- /package/dist/{614.614.00f40dcb6436dda7b655.js.LICENSE.txt → 227.227.5ac4b5d5283a38f12857.js.LICENSE.txt} +0 -0
- /package/dist/{153.153.bee77dddd8cea3bb1520.js.LICENSE.txt → 445.445.2ba7d4f10beca887a425.js.LICENSE.txt} +0 -0
- /package/dist/{300.300.0c070751ae10da710b08.js.LICENSE.txt → 826.826.1e632865488cd8a9db67.js.LICENSE.txt} +0 -0
- /package/dist/{npm.ag-grid-community.260.ed296352518f7a0c6b26.js.LICENSE.txt → npm.ag-grid-community.909.fda3af82c75743cc9fec.js.LICENSE.txt} +0 -0
- /package/dist/{npm.tslib.453.230015d5bdb68f66ed4c.js.LICENSE.txt → npm.tslib.520.a8b9712326a227afa1b2.js.LICENSE.txt} +0 -0
- /package/dist/{npm.uri-js.415.79c1893683e025ba1dc0.js.LICENSE.txt → npm.uri-js.498.fb2b5a38c722074714af.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[849],{6303:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>wm,ColorToken:()=>km,ColorTokens:()=>Am,DesignSystemEditor:()=>nm,DesignSystemExport:()=>bm,DesignSystemPreview:()=>Nm,EventName:()=>Qh,PreviewComponents:()=>um,PreviewForm:()=>Bm,PreviewGrid:()=>Um,TypographyTokens:()=>Tm,defaultBodyFont:()=>Jh,fontFamilies:()=>qh});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>Ue,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>Kg,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>Zg,defaultErrorColor:()=>_g,defaultSellColor:()=>es,defaultSuccessColor:()=>Vg,defaultWarningColor:()=>Wg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Ug,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,sellColor:()=>as,strokeWidth:()=>f.strokeWidth,successColor:()=>Yg,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight,warningColor:()=>qg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>ls,accentFillFocusDeltaValue:()=>gs,accentFillHoverDeltaValue:()=>ns,accentFillRestDeltaValue:()=>is,accentForegroundActiveDeltaValue:()=>cs,accentForegroundFocusDeltaValue:()=>ps,accentForegroundHoverDeltaValue:()=>ds,accentForegroundRestDeltaValue:()=>ss,accentPaletteValue:()=>rs,baseHeightMultiplierValue:()=>Bs,baseLayerLuminanceValue:()=>os,bodyFontValue:()=>Hs,controlCornerRadiusValue:()=>Gs,densityValue:()=>_s,designTokens:()=>sd,designUnitValue:()=>Us,directionValue:()=>Is,disabledOpacityValue:()=>js,focusStrokeWidthValue:()=>Ps,neutralFillActiveDeltaValue:()=>ms,neutralFillFocusDeltaValue:()=>bs,neutralFillHoverDeltaValue:()=>hs,neutralFillInputActiveDeltaValue:()=>ws,neutralFillInputFocusDeltaValue:()=>ys,neutralFillInputHoverDeltaValue:()=>fs,neutralFillInputRestDeltaValue:()=>vs,neutralFillLayerRestDeltaValue:()=>Fs,neutralFillRestDeltaValue:()=>us,neutralFillStealthActiveDeltaValue:()=>zs,neutralFillStealthFocusDeltaValue:()=>Ss,neutralFillStealthHoverDeltaValue:()=>ks,neutralFillStealthRestDeltaValue:()=>xs,neutralFillStrongActiveDeltaValue:()=>As,neutralFillStrongFocusDeltaValue:()=>Os,neutralFillStrongHoverDeltaValue:()=>$s,neutralFillStrongRestDeltaValue:()=>Cs,neutralPaletteValue:()=>ts,neutralStrokeActiveDeltaValue:()=>Rs,neutralStrokeDividerRestDeltaValue:()=>Ls,neutralStrokeFocusDeltaValue:()=>Ns,neutralStrokeHoverDeltaValue:()=>Ds,neutralStrokeRestDeltaValue:()=>Ts,prefix:()=>Ms,strokeWidthValue:()=>Es,typeRampBaseFontSizeValue:()=>Vs,typeRampBaseLineHeightValue:()=>Ys,typeRampMinus1FontSizeValue:()=>Qs,typeRampMinus1LineHeightValue:()=>Ws,typeRampMinus2FontSizeValue:()=>qs,typeRampMinus2LineHeightValue:()=>Js,typeRampPlus1FontSizeValue:()=>Zs,typeRampPlus1LineHeightValue:()=>Ks,typeRampPlus2FontSizeValue:()=>Xs,typeRampPlus2LineHeightValue:()=>ed,typeRampPlus3FontSizeValue:()=>ad,typeRampPlus3LineHeightValue:()=>rd,typeRampPlus4FontSizeValue:()=>td,typeRampPlus4LineHeightValue:()=>od,typeRampPlus5FontSizeValue:()=>id,typeRampPlus5LineHeightValue:()=>nd,typeRampPlus6FontSizeValue:()=>ld,typeRampPlus6LineHeightValue:()=>gd});var l=r(33947),g=r(92592),s=r(66526),d=r(9492);const c=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(86776),h=r.n(u),m=r(60724),b=r(79292),v=r(99667),f=r(41663),w=r(67973);const y=b.css`
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[801],{11060:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>xm,ColorToken:()=>Sm,ColorTokens:()=>Fm,DesignSystemEditor:()=>gm,DesignSystemExport:()=>fm,DesignSystemPreview:()=>Mm,EventName:()=>qh,PreviewComponents:()=>mm,PreviewForm:()=>_m,PreviewGrid:()=>Vm,TypographyTokens:()=>Rm,defaultBodyFont:()=>Kh,fontFamilies:()=>Zh});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>Ue,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>Xg,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>Kg,defaultErrorColor:()=>Ug,defaultSellColor:()=>as,defaultSuccessColor:()=>Yg,defaultWarningColor:()=>qg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Hg,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,sellColor:()=>rs,strokeWidth:()=>f.strokeWidth,successColor:()=>Qg,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight,warningColor:()=>Jg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>gs,accentFillFocusDeltaValue:()=>ss,accentFillHoverDeltaValue:()=>ls,accentFillRestDeltaValue:()=>ns,accentForegroundActiveDeltaValue:()=>ps,accentForegroundFocusDeltaValue:()=>us,accentForegroundHoverDeltaValue:()=>cs,accentForegroundRestDeltaValue:()=>ds,accentPaletteValue:()=>ts,baseHeightMultiplierValue:()=>Gs,baseLayerLuminanceValue:()=>is,bodyFontValue:()=>Vs,controlCornerRadiusValue:()=>_s,densityValue:()=>Us,designTokens:()=>dd,designUnitValue:()=>Hs,directionValue:()=>js,disabledOpacityValue:()=>Es,focusStrokeWidthValue:()=>Bs,neutralFillActiveDeltaValue:()=>bs,neutralFillFocusDeltaValue:()=>vs,neutralFillHoverDeltaValue:()=>ms,neutralFillInputActiveDeltaValue:()=>ys,neutralFillInputFocusDeltaValue:()=>xs,neutralFillInputHoverDeltaValue:()=>ws,neutralFillInputRestDeltaValue:()=>fs,neutralFillLayerRestDeltaValue:()=>Ts,neutralFillRestDeltaValue:()=>hs,neutralFillStealthActiveDeltaValue:()=>Ss,neutralFillStealthFocusDeltaValue:()=>Cs,neutralFillStealthHoverDeltaValue:()=>zs,neutralFillStealthRestDeltaValue:()=>ks,neutralFillStrongActiveDeltaValue:()=>Os,neutralFillStrongFocusDeltaValue:()=>Fs,neutralFillStrongHoverDeltaValue:()=>As,neutralFillStrongRestDeltaValue:()=>$s,neutralPaletteValue:()=>os,neutralStrokeActiveDeltaValue:()=>Ns,neutralStrokeDividerRestDeltaValue:()=>Ms,neutralStrokeFocusDeltaValue:()=>Ls,neutralStrokeHoverDeltaValue:()=>Rs,neutralStrokeRestDeltaValue:()=>Ds,prefix:()=>Is,strokeWidthValue:()=>Ps,typeRampBaseFontSizeValue:()=>Ys,typeRampBaseLineHeightValue:()=>Qs,typeRampMinus1FontSizeValue:()=>Ws,typeRampMinus1LineHeightValue:()=>qs,typeRampMinus2FontSizeValue:()=>Js,typeRampMinus2LineHeightValue:()=>Zs,typeRampPlus1FontSizeValue:()=>Ks,typeRampPlus1LineHeightValue:()=>Xs,typeRampPlus2FontSizeValue:()=>ed,typeRampPlus2LineHeightValue:()=>ad,typeRampPlus3FontSizeValue:()=>rd,typeRampPlus3LineHeightValue:()=>td,typeRampPlus4FontSizeValue:()=>od,typeRampPlus4LineHeightValue:()=>id,typeRampPlus5FontSizeValue:()=>nd,typeRampPlus5LineHeightValue:()=>ld,typeRampPlus6FontSizeValue:()=>gd,typeRampPlus6LineHeightValue:()=>sd});var l=r(84033),g=r(24636),s=r(57784),d=r(17914);const c=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${f.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
}
|
|
52
52
|
`.withBehaviors((0,v.forcedColorsStylesheetBehavior)(b.css`
|
|
53
53
|
:host {
|
|
54
|
-
background: ${w.
|
|
55
|
-
border-color: ${w.
|
|
54
|
+
background: ${w.A.Canvas};
|
|
55
|
+
border-color: ${w.A.CanvasText};
|
|
56
56
|
}
|
|
57
|
-
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(
|
|
57
|
+
`)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(67571);const z=(0,k.createLogger)("foundation-form"),S=b.html`
|
|
58
58
|
<template>
|
|
59
59
|
${(0,b.when)((e=>!1),b.html`
|
|
60
60
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
/>
|
|
72
72
|
`)}
|
|
73
73
|
</template>
|
|
74
|
-
`,C=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=x[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,m.
|
|
74
|
+
`,C=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=x[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,m.mXY)(e,a,r)})(e,a,r)};let $=class extends b.FASTElement{constructor(){super(...arguments),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,m.kkC)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const g=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),s=null==e?void 0:e.label;let d=null!==(n=l(o,g,s))&&void 0!==n?n:[];Array.isArray(d)||(d=[d]),i.push(...d)})),i}}prefixChanged(){this.schemaChanged()}schemaChanged(){var e,a,r,t;if(!this.schema)return;this.uichemaToUse=null!==(e=this.uischema)&&void 0!==e?e:m.wyb.uiSchema(this.schema),this.uischema||z.debug("UI schema not provided. Auto generated schema:",this.uichemaToUse);const o=this.validate(this.uichemaToUse);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:this.uichemaToUse};return(0,m.kkC)(e,m.En0.init(this.data,this.schema,this.uichemaToUse,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:o}))})(),config:(0,m.tWo)(void 0,m.En0.setConfig(this.config)),i18n:(0,m.Fxm)(this.i18n,m.En0.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||C)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:m.wyb.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}copyUISchemaToClipboard(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(JSON.stringify(this.uichemaToUse)),z.debug("Autogenerated UI schema copied to clipboard")}catch(e){z.error("Failed to copy autogenerated UI schema: ",e)}}))}};(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],$.prototype,"submitted",void 0),(0,g.__decorate)([b.observable],$.prototype,"prefix",void 0),(0,g.__decorate)([b.observable],$.prototype,"jsonforms",void 0),(0,g.__decorate)([b.observable],$.prototype,"i18n",void 0),(0,g.__decorate)([b.observable],$.prototype,"uichemaToUse",void 0),(0,g.__decorate)([b.observable],$.prototype,"schema",void 0),(0,g.__decorate)([b.observable],$.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],$.prototype,"data",void 0),(0,g.__decorate)([b.observable],$.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],$.prototype,"validationMode",void 0),(0,g.__decorate)([b.observable],$.prototype,"ajv",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],$.prototype,"readonly",void 0),(0,g.__decorate)([b.observable],$.prototype,"config",void 0),$=(0,g.__decorate)([(0,b.customElement)({name:"json-forms",template:S,styles:b.css`
|
|
75
75
|
.clipboard-button {
|
|
76
76
|
display: flex;
|
|
77
77
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
.item-control-btn:hover {
|
|
93
93
|
color: var(--accent-foreground-hover);
|
|
94
94
|
}
|
|
95
|
-
`;let O=class extends b.FASTElement{controlChanged(){if(this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema;const e=m.
|
|
95
|
+
`;let O=class extends b.FASTElement{controlChanged(){if(this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema;const e=m.wyb.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),z.debug("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){this.control.addItem(this.control.path,(0,m.DmA)(this.control.schema,this.control.rootSchema))()}deleteItem(e){this.control.removeItems(this.control.path,[e])()}};(0,g.__decorate)([b.observable],O.prototype,"form",void 0),(0,g.__decorate)([b.observable],O.prototype,"control",void 0),(0,g.__decorate)([b.observable],O.prototype,"schema",void 0),(0,g.__decorate)([b.observable],O.prototype,"uiSchema",void 0),O=(0,g.__decorate)([(0,b.customElement)({name:"array-list-wrapper",styles:A,template:b.html`
|
|
96
96
|
${e=>((e="zero")=>b.html`
|
|
97
97
|
<template>
|
|
98
98
|
${(0,b.repeat)((e=>Array(e.control.data)),b.html`
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
:dispatch=${(e,a)=>a.parent.form.dispatch}
|
|
103
103
|
:jsonforms=${(e,a)=>a.parent.form.jsonforms}
|
|
104
104
|
:prefix=${(e,a)=>a.parent.form.prefix}
|
|
105
|
-
:props=${(e,a)=>({uischema:a.parent.uiSchema,schema:a.parent.schema,renderers:a.parent.control.renderers,path:(0,m.
|
|
105
|
+
:props=${(e,a)=>({uischema:a.parent.uiSchema,schema:a.parent.schema,renderers:a.parent.control.renderers,path:(0,m.HfV)(a.parent.control.path,`${a.index}`),enabled:a.parent.control.enabled})}
|
|
106
106
|
></dispatch-renderer>
|
|
107
107
|
<${e}-button
|
|
108
108
|
appearance="lightweight"
|
|
@@ -206,15 +206,15 @@
|
|
|
206
206
|
width: 100%;
|
|
207
207
|
align-items: center;
|
|
208
208
|
}
|
|
209
|
-
`;let N=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}get showDescription(){return!(0,m.
|
|
209
|
+
`;let N=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}get showDescription(){return!(0,m.Pfe)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,m.m25)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([b.observable],N.prototype,"control",void 0),(0,g.__decorate)([b.observable],N.prototype,"touched",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],N.prototype,"hideLabel",void 0),(0,g.__decorate)([b.volatile],N.prototype,"showDescription",null),(0,g.__decorate)([b.volatile],N.prototype,"computedLabel",null),N=(0,g.__decorate)([(0,b.customElement)({name:"control-wrapper",styles:R,template:D})],N);var L=r(20469),M=r.n(L);const I=b.html`
|
|
210
210
|
<template>${e=>e.determinedRenderer.renderer}</template>
|
|
211
|
-
`,j=b.css``;let E=class extends b.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,m.
|
|
211
|
+
`,j=b.css``;let E=class extends b.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,m.DWl)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t,o)=>{var i;const n=Object.assign({},t({jsonforms:a},e)),l=null===(i=o||m.XGy)||void 0===i?void 0:i(r);return Object.assign(Object.assign({},n),l)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper,this.determinedRenderer.dispatchMapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=M()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(z.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([b.observable],E.prototype,"jsonforms",void 0),(0,g.__decorate)([b.observable],E.prototype,"props",void 0),(0,g.__decorate)([b.observable],E.prototype,"touched",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],E.prototype,"submitted",void 0),(0,g.__decorate)([b.observable],E.prototype,"dispatch",void 0),(0,g.__decorate)([b.observable],E.prototype,"control",void 0),(0,g.__decorate)([b.observable],E.prototype,"renderer",void 0),(0,g.__decorate)([b.observable],E.prototype,"prefix",void 0),E=(0,g.__decorate)([(0,b.customElement)({name:"dispatch-renderer",template:I,styles:j})],E);const P=b.css`
|
|
212
212
|
.tabs-container::part(stepper-panel-container) {
|
|
213
213
|
display: flex;
|
|
214
214
|
justify-content: flex-start;
|
|
215
215
|
align-items: flex-start;
|
|
216
216
|
}
|
|
217
|
-
`;let B=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,m.
|
|
217
|
+
`;let B=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,m.L3M)(e,this.control.schema)(this.form).length&&Object.keys(this.control.data)[a]===e})))}submit(){this.$emit("submit-button-clicked")}nextStep(){this.$emit("submit-part");const e=this.propertyNames[this.stepper.activeTabIndex];this.control.data[e]||this.$emit("data-change",{data:Object.assign(Object.assign({},this.control.data),{[e]:{}})})}resetValidation(){this.$emit("reset-form")}};(0,g.__decorate)([b.observable],B.prototype,"form",void 0),(0,g.__decorate)([b.observable],B.prototype,"control",void 0),(0,g.__decorate)([b.observable],B.prototype,"validation",void 0),(0,g.__decorate)([b.observable],B.prototype,"stepper",void 0),(0,g.__decorate)([b.observable],B.prototype,"propertyNames",void 0),B=(0,g.__decorate)([(0,b.customElement)({name:"stepper-wrapper",styles:P,template:b.html`
|
|
218
218
|
${e=>((e="zero")=>b.html`
|
|
219
219
|
<template>
|
|
220
220
|
<${e}-stepper
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
`)}
|
|
275
275
|
</template>
|
|
276
276
|
`)(e.prefix)}
|
|
277
|
-
`,_=(0,m.or)(m.
|
|
277
|
+
`,_=(0,m.or)(m.uA2,(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"boolean")))))),U={renderer:b.html`
|
|
278
278
|
${e=>((e="zero")=>b.html`
|
|
279
279
|
<template>
|
|
280
280
|
<control-wrapper
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
</control-wrapper>
|
|
296
296
|
</template>
|
|
297
297
|
`)(e.prefix)}
|
|
298
|
-
`,tester:(0,m.
|
|
298
|
+
`,tester:(0,m.Hc7)(3,_),mapper:m.kOB};var H=r(19563);const V=e=>a=>{if(!a||!(0,m.c0N)(a))return!1;const r=a.options;return!(!r||!r[e])},Y=(0,m.Uo6)(V("allOptionsResourceName"),(0,m.or)((0,m.f4S)((e=>(0,m.dfR)(e,"array"))),(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"array")))))));H.MultiselectDatasource;const Q={renderer:b.html`
|
|
299
299
|
${e=>((e="zero")=>b.html`
|
|
300
300
|
<template>
|
|
301
301
|
<control-wrapper
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
</control-wrapper>
|
|
322
322
|
</template>
|
|
323
323
|
`)(e.prefix)}
|
|
324
|
-
`,tester:(0,m.
|
|
324
|
+
`,tester:(0,m.Hc7)(4,Y),mapper:m.kOB};H.OptionsDatasource;const W={renderer:b.html`
|
|
325
325
|
${e=>((e="zero")=>b.html`
|
|
326
326
|
<template>
|
|
327
327
|
<control-wrapper
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
</control-wrapper>
|
|
352
352
|
</template>
|
|
353
353
|
`)(e.prefix)}
|
|
354
|
-
`,tester:(0,m.
|
|
354
|
+
`,tester:(0,m.Hc7)(4,(0,m.or)(V("allOptionsResourceName"),V("data"))),mapper:m.kOB},q=(0,m.f4S)((e=>"org.joda.time.DateTime"===e.description)),J=(0,m.or)(q,(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>"org.joda.time.DateTime"===e.description))))),Z={renderer:b.html`
|
|
355
355
|
${e=>((e="zero")=>b.html`
|
|
356
356
|
<template>
|
|
357
357
|
<control-wrapper
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
</control-wrapper>
|
|
373
373
|
</template>
|
|
374
374
|
`)(e.prefix)}
|
|
375
|
-
`,tester:(0,m.
|
|
375
|
+
`,tester:(0,m.Hc7)(4,J),mapper:m.kOB},K=(0,m.or)(m.pyz,(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>e.hasOwnProperty("enum")))))),X={renderer:b.html`
|
|
376
376
|
${e=>((e="zero")=>b.html`
|
|
377
377
|
<template>
|
|
378
378
|
<control-wrapper
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
</control-wrapper>
|
|
396
396
|
</template>
|
|
397
397
|
`)(e.prefix)}
|
|
398
|
-
`,tester:(0,m.
|
|
398
|
+
`,tester:(0,m.Hc7)(3,K),mapper:(e,a)=>{const r=(0,m.kOB)(e,a),t=a.options||(r.schema.enum||r.schema.oneOf.find((e=>e.hasOwnProperty("enum"))).enum).map((a=>(0,m.Gem)(a,(0,m.tIO)()(e),(0,m.G9g)(r.schema,r.uischema,r.path))))||r.schema.const&&[(0,m.Gem)(r.schema.const,(0,m.tIO)()(e),(0,m.G9g)(r.schema,r.uischema,r.path))];return Object.assign(Object.assign({},r),{options:t})}},ee={renderer:b.html`
|
|
399
399
|
<template>
|
|
400
400
|
<pre
|
|
401
401
|
:value=${e=>e.control.data||""}
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
style="display: none"
|
|
405
405
|
></pre>
|
|
406
406
|
</template>
|
|
407
|
-
`,tester:(0,m.
|
|
407
|
+
`,tester:(0,m.Hc7)(5,((e,a,r)=>{var t,o;return null!==(o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.hidden)&&void 0!==o&&o})),mapper:m.kOB},ae=e=>a=>(0,m.dfR)(a,"array")&&a.hasOwnProperty("items")&&a.items.type===e,re=e=>(0,m.f4S)((a=>a.hasOwnProperty("oneOf")&&a.oneOf.some(ae(e))||ae(e)(a))),te={renderer:b.html`
|
|
408
408
|
<template>
|
|
409
409
|
<control-wrapper
|
|
410
410
|
:control=${e=>e.control}
|
|
@@ -414,11 +414,11 @@
|
|
|
414
414
|
<array-list-wrapper :form=${e=>e} :control=${e=>e.control}></array-list-wrapper>
|
|
415
415
|
</control-wrapper>
|
|
416
416
|
</template>
|
|
417
|
-
`,tester:(0,m.
|
|
417
|
+
`,tester:(0,m.Hc7)(2,re("object")),mapper:m.i8T,dispatchMapper:m.oid},oe={renderer:b.html`
|
|
418
418
|
<template>
|
|
419
419
|
<categorization-wrapper :form=${e=>e} :control=${e=>e.control}></categorization-wrapper>
|
|
420
420
|
</template>
|
|
421
|
-
`,tester:(0,m.
|
|
421
|
+
`,tester:(0,m.Hc7)(2,(e=>"Categorization"===e.type)),mapper:m.n93},ie={renderer:b.html`
|
|
422
422
|
<template>
|
|
423
423
|
<layout-wrapper :control=${e=>e.control} hide-label>
|
|
424
424
|
<div>
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
</div>
|
|
446
446
|
</layout-wrapper>
|
|
447
447
|
</template>
|
|
448
|
-
`,tester:(0,m.
|
|
448
|
+
`,tester:(0,m.Hc7)(2,m.IZG),mapper:m.n93};let ne=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}};(0,g.__decorate)([b.observable],ne.prototype,"control",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],ne.prototype,"hideLabel",void 0),ne=(0,g.__decorate)([(0,b.customElement)({name:"layout-wrapper",template:b.html`
|
|
449
449
|
${(0,b.when)((e=>e.control.label&&!e.hideLabel),b.html`
|
|
450
450
|
<div style="color: var(--neutral-foreground-hint);">${e=>e.control.label}</div>
|
|
451
451
|
`)}
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
</div>
|
|
469
469
|
</layout-wrapper>
|
|
470
470
|
</template>
|
|
471
|
-
`,tester:(0,m.
|
|
471
|
+
`,tester:(0,m.Hc7)(2,m.nWz),mapper:m.n93},ge={renderer:b.html`
|
|
472
472
|
<template>
|
|
473
473
|
<layout-wrapper :control=${e=>e.control}>
|
|
474
474
|
<div
|
|
@@ -489,11 +489,11 @@
|
|
|
489
489
|
</div>
|
|
490
490
|
</layout-wrapper>
|
|
491
491
|
</template>
|
|
492
|
-
`,tester:(0,m.
|
|
492
|
+
`,tester:(0,m.Hc7)(2,(e=>"HorizontalLayout"===e.type)),mapper:m.n93},se={renderer:b.html`
|
|
493
493
|
<template>
|
|
494
494
|
<stepper-wrapper :form=${e=>e} :control=${e=>e.control}></stepper-wrapper>
|
|
495
495
|
</template>
|
|
496
|
-
`,tester:(0,m.
|
|
496
|
+
`,tester:(0,m.Hc7)(3,(e=>"Stepper"===e.type)),mapper:m.n93},de={renderer:b.html`
|
|
497
497
|
<template>
|
|
498
498
|
<layout-wrapper :control=${e=>e.control}>
|
|
499
499
|
<div
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
`)}
|
|
518
518
|
</layout-wrapper>
|
|
519
519
|
</template>
|
|
520
|
-
`,tester:(0,m.
|
|
520
|
+
`,tester:(0,m.Hc7)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:m.n93},ce=e=>(0,m.dfR)(e,"number")||(0,m.dfR)(e,"integer"),pe=(0,m.f4S)((e=>ce(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>ce(e))))),ue={renderer:b.html`
|
|
521
521
|
${e=>((e="zero")=>b.html`
|
|
522
522
|
<template>
|
|
523
523
|
<control-wrapper
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
</control-wrapper>
|
|
543
543
|
</template>
|
|
544
544
|
`)(e.prefix)}
|
|
545
|
-
`,tester:(0,m.
|
|
545
|
+
`,tester:(0,m.Hc7)(3,pe),mapper:m.kOB};function he(e,a){const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r.split(",").map((e=>e.trimStart())))}const me={renderer:b.html`
|
|
546
546
|
${e=>((e="zero")=>b.html`
|
|
547
547
|
<template>
|
|
548
548
|
<control-wrapper
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
</control-wrapper>
|
|
565
565
|
</template>
|
|
566
566
|
`)(e.prefix)}
|
|
567
|
-
`,tester:(0,m.
|
|
567
|
+
`,tester:(0,m.Hc7)(3,re("string")),mapper:m.kOB};var be=r(70997);function ve(e,a){const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r)}const fe=b.html`
|
|
568
568
|
${e=>((e="zero")=>b.html`
|
|
569
569
|
<template>
|
|
570
570
|
<control-wrapper
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
:touched=${e=>e.touched}
|
|
573
573
|
?submitted=${e=>e.submitted}
|
|
574
574
|
>
|
|
575
|
-
${(0,be.
|
|
575
|
+
${(0,be.q)((e=>{var a,r;return!(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.textarea)}),b.html`
|
|
576
576
|
<${e}-text-field
|
|
577
577
|
type=${e=>{var a,r;return(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.isPassword)?"password":"text"}}
|
|
578
578
|
:value=${e=>e.control.data||""}
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
</control-wrapper>
|
|
601
601
|
</template>
|
|
602
602
|
`)(e.prefix)}
|
|
603
|
-
`,we={renderer:fe,tester:(0,m.
|
|
603
|
+
`,we={renderer:fe,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},ye=[{renderer:fe,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},we,U,me,te,oe,ie,ge,de,le,se,ue,Q,X,W,Z,ee];let xe=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=ye,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],xe.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],xe.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],xe.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],xe.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],xe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.dm],xe.prototype,"connect",void 0),(0,g.__decorate)([b.observable],xe.prototype,"data",void 0),(0,g.__decorate)([b.observable],xe.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],xe.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],xe.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],xe.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],xe.prototype,"isSubmitHidden",null),xe=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:G,styles:y})],xe);var ke,ze,Se,Ce,$e,Ae=r(4273);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ke||(ke={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ze||(ze={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Se||(Se={})),function(e){e.grey="#7c909b"}(Ce||(Ce={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}($e||($e={}));const{create:Oe}=v.DesignToken,Fe=(0,Ae.parseColorHexRGB)(ke.error),Te=f.SwatchRGB.create(Fe.r,Fe.g,Fe.b),De=Oe("error-color").withDefault(Te),Re=(0,Ae.parseColorHexRGB)(ke.success),Ne=f.SwatchRGB.create(Re.r,Re.g,Re.b),Le=Oe("success-color").withDefault(Ne),Me=(0,H.paletteFromHex)(ze.blue),Ie=(0,H.paletteFromHex)(Ce.grey),je=f.StandardLuminance.DarkMode;var Ee=r(85109);const Pe=Ee.O.ltr,Be=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),Ge=4,_e=f.density.getValueFor(f.density.appliedTo[0]),Ue=4;var He=r(80273);const Ve=()=>{(0,He.WP)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},Ye='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Qe=(e=He.zz.Normal,a=He.IT.Regular)=>(0,He.f4)(Ye,e,a),We=Ye,qe=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),Je=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),Ze={design_tokens:{color:{accent:{$value:Me.source.toColorString(),$type:"color"},neutral:{$value:Ie.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:We,$type:"fontFamily"}},typography:{baseFontSize:{$value:qe,$type:"dimension"},baseLineHeight:{$value:Je,$type:"dimension"}},mode:{luminance:{$value:je,$type:"number"}},style:{density:{$value:_e,$type:"number"},borderRadius:{$value:Ge,$type:"number"},strokeWidth:{$value:Be,$type:"number"}},space:{designUnit:{$value:Ue,$type:"number"}}}};class Ke extends H.Accordion{}const Xe=Ke.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
604
604
|
${(0,H.foundationAccordionStyles)(e,a)}
|
|
605
605
|
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class ea extends H.AccordionItem{}const aa=ea.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
606
606
|
${(0,H.foundationAccordionItemStyles)(e,a)};
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
.date-toggle::part(end) {
|
|
1031
1031
|
margin-inline-end: 4px;
|
|
1032
1032
|
}
|
|
1033
|
-
`,shadowOptions:undefined},{}));var Lr=r(
|
|
1033
|
+
`,shadowOptions:undefined},{}));var Lr=r(69347);Ve();const Mr=b.css`
|
|
1034
1034
|
${(0,v.display)("flex")}
|
|
1035
1035
|
:host {
|
|
1036
1036
|
flex: 1;
|
|
@@ -1041,16 +1041,16 @@
|
|
|
1041
1041
|
}
|
|
1042
1042
|
`.withBehaviors((0,v.forcedColorsStylesheetBehavior)(b.css`
|
|
1043
1043
|
:host {
|
|
1044
|
-
background-color: ${w.
|
|
1045
|
-
box-shadow: 0 0 0 1px ${w.
|
|
1046
|
-
color: ${w.
|
|
1044
|
+
background-color: ${w.A.ButtonFace};
|
|
1045
|
+
box-shadow: 0 0 0 1px ${w.A.CanvasText};
|
|
1046
|
+
color: ${w.A.ButtonText};
|
|
1047
1047
|
}
|
|
1048
1048
|
`)),jr=(e,a,r)=>b.css`
|
|
1049
1049
|
${e.name} ${"h"+a} {
|
|
1050
1050
|
font-size: var(--type-ramp-plus-${r}-font-size);
|
|
1051
1051
|
line-height: var(--type-ramp-plus-${r}-line-height);
|
|
1052
1052
|
margin: 0;
|
|
1053
|
-
${Qe(He.
|
|
1053
|
+
${Qe(He.zz.Normal,He.IT.Bold)}
|
|
1054
1054
|
}
|
|
1055
1055
|
`;class Er extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(t,o,this)}}(0,Lr.__decorate)([(0,b.attr)({attribute:"card-fill-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralFillStealthRest)],Er.prototype,"cardFillColor",void 0),(0,Lr.__decorate)([(0,b.attr)({attribute:"card-foreground-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralForegroundRest)],Er.prototype,"cardForegroundColor",void 0);const Pr=Er.compose({baseName:"design-system-provider",template:b.html`
|
|
1056
1056
|
<slot></slot>
|
|
@@ -1967,7 +1967,7 @@
|
|
|
1967
1967
|
a:hover {
|
|
1968
1968
|
opacity: 100%;
|
|
1969
1969
|
}
|
|
1970
|
-
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Mi,Ii,ji=r(
|
|
1970
|
+
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Mi,Ii,ji=r(33011),Ei=r(94343),Pi=r.n(Ei),Bi=r(41492),Gi=r.n(Bi);!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"}(Mi||(Mi={})),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"}(Ii||(Ii={}));const _i=e=>`${e}-token-map`,Ui=(e,a)=>b.css`
|
|
1971
1971
|
.${_i(e)} {
|
|
1972
1972
|
${new H.CSSVarsTokenMapper(a)}
|
|
1973
1973
|
}
|
|
@@ -2052,7 +2052,7 @@
|
|
|
2052
2052
|
`,Fn=(e="foundation")=>b.html`
|
|
2053
2053
|
<span>${e=>e.valueFormatted}</span>
|
|
2054
2054
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
2055
|
-
`,Tn=An.compose({baseName:"editable-renderer",styles:On,template:Fn()});class Dn extends An{}const Rn=Dn.compose({baseName:"editable-renderer",styles:On,template:Fn("zero")});var Nn=r(
|
|
2055
|
+
`,Tn=An.compose({baseName:"editable-renderer",styles:On,template:Fn()});class Dn extends An{}const Rn=Dn.compose({baseName:"editable-renderer",styles:On,template:Fn("zero")});var Nn=r(44210);const Ln=(0,k.createLogger)("grid-pro");class Mn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Nn.DDm.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Ln.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,ji.__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,ji.__decorate)([b.observable],Mn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],Mn.prototype,"pendingAction",void 0);const{create:In}=v.DesignToken,jn=(In("action-height-multiplier").withDefault("0.6px"),b.css`
|
|
2056
2056
|
.action-container {
|
|
2057
2057
|
align-items: center;
|
|
2058
2058
|
display: flex;
|
|
@@ -2106,7 +2106,7 @@
|
|
|
2106
2106
|
name="${e=>e.params.headerName}"
|
|
2107
2107
|
:definition=${e=>e.params}
|
|
2108
2108
|
></zero-actions-menu>
|
|
2109
|
-
`});class Vn extends v.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Nn.
|
|
2109
|
+
`});class Vn extends v.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Nn.sVA.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:Nn.sVA.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[Vi]}}(0,ji.__decorate)([b.observable],Vn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],Vn.prototype,"selected",void 0);const Yn=b.css`
|
|
2110
2110
|
:host {
|
|
2111
2111
|
align-center: center;
|
|
2112
2112
|
display: flex;
|
|
@@ -2118,7 +2118,7 @@
|
|
|
2118
2118
|
:checked=${e=>e.selected}
|
|
2119
2119
|
?disabled=${e=>!e.params.colDef.editable}
|
|
2120
2120
|
></${a}>
|
|
2121
|
-
`},Wn=Vn.compose({baseName:"boolean-renderer",styles:Yn,template:Qn()});class qn extends Vn{}const Jn=qn.compose({baseName:"boolean-renderer",styles:Yn,template:Qn("zero")});var Zn=r(
|
|
2121
|
+
`},Wn=Vn.compose({baseName:"boolean-renderer",styles:Yn,template:Qn()});class qn extends Vn{}const Jn=qn.compose({baseName:"boolean-renderer",styles:Yn,template:Qn("zero")});var Zn=r(40729);const Kn=(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 Xn extends v.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Kn(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,ji.__decorate)([b.observable],Xn.prototype,"textValue",void 0),(0,ji.__decorate)([b.observable],Xn.prototype,"params",void 0);const el=b.css`
|
|
2122
2122
|
:host {
|
|
2123
2123
|
display: flex;
|
|
2124
2124
|
width: 100%;
|
|
@@ -2133,7 +2133,7 @@
|
|
|
2133
2133
|
${(0,b.ref)("textField")}
|
|
2134
2134
|
type="text"
|
|
2135
2135
|
class="text-renderer"
|
|
2136
|
-
:value="${(0,Zn.
|
|
2136
|
+
:value="${(0,Zn.O)((e=>e.textValue))}"
|
|
2137
2137
|
@change="${(e,a)=>e.textChanged(a.event)}"
|
|
2138
2138
|
></${a}>
|
|
2139
2139
|
`},rl=Xn.compose({baseName:"grid-pro-text-renderer",styles:el,template:al()});class tl extends Xn{}const ol=el,il=al,nl=tl.compose({baseName:"grid-text-renderer",styles:ol,template:il()});const ll=class extends tl{}.compose({baseName:"grid-text-renderer",styles:ol,template:il("zero")});class gl extends v.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Kn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,ji.__decorate)([b.observable],gl.prototype,"params",void 0),(0,ji.__decorate)([b.observable],gl.prototype,"value",void 0);const sl=b.css`
|
|
@@ -2161,7 +2161,7 @@
|
|
|
2161
2161
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2162
2162
|
`)}
|
|
2163
2163
|
</${a}>
|
|
2164
|
-
`},cl=gl.compose({baseName:"select-renderer",styles:sl,template:dl()});const pl=class extends gl{}.compose({baseName:"select-renderer",styles:sl,template:dl("zero")});var ul=r(
|
|
2164
|
+
`},cl=gl.compose({baseName:"select-renderer",styles:sl,template:dl()});const pl=class extends gl{}.compose({baseName:"select-renderer",styles:sl,template:dl("zero")});var ul=r(29310),hl=r(84646);var ml=r(21530),bl=r(31679),vl=r(89882),fl=r(62051),wl=r.n(fl);const yl=b.html`
|
|
2165
2165
|
<template>
|
|
2166
2166
|
<slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2167
2167
|
</template>
|
|
@@ -2169,7 +2169,7 @@
|
|
|
2169
2169
|
<template>
|
|
2170
2170
|
<slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2171
2171
|
</template>
|
|
2172
|
-
`;let zl=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,ji.__decorate)([b.observable],zl.prototype,"slottedAgCell",void 0),(0,ji.__decorate)([b.observable],zl.prototype,"definition",void 0),zl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:kl})],zl);var Sl=r(82940),Cl=r(32449),$l=r(9162),Al=r(5127),Ol=r(35991),Fl=r(6852),Tl=r(26714),Dl=r(2480),Rl=r(71452),Nl=r(99449),Ll=r(30526),Ml=r(61080),Il=r(83123),jl=r(22296),El=r(21607);function Pl(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 Bl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Gl({value:e}){return(0,El.D_)(e)}function _l({value:e}){return(0,El.Lx)(e)}class Ul extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Sl.WJ.MAX_ROWS_250,this.maxView=Sl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Sl.WJ.REQUEST_SERVER_ROW_ID:Sl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Sl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Sl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Sl.WJ.REQUEST_SERVER_ROW_ID:Sl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Hl;(0,ji.__decorate)([s.lj],Ul.prototype,"connect",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"deferredGridOptions",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"deferredColumnStates",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"rowDataMapper",void 0),(0,ji.__decorate)([b.attr],Ul.prototype,"criteria",void 0),(0,ji.__decorate)([b.attr],Ul.prototype,"fields",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Ul.prototype,"isSnapshot",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"max-rows"})],Ul.prototype,"maxRows",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"max-view"})],Ul.prototype,"maxView",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Ul.prototype,"movingView",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"order-by"})],Ul.prototype,"orderBy",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"resource-name"})],Ul.prototype,"resourceName",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean"})],Ul.prototype,"reverse",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"row-id"})],Ul.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Hl||(Hl={}));class Vl extends Ul{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Il.r.STRING:t.cellEditor=Hi.stringEditor;break;case Il.r.NUMBER:t.cellEditor=Hi.numberEditor;break;case Il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Hi.boolean,t.cellEditor=Hi.boolean);break;case Il.r.DATE:t.valueFormatter=Gl,t.cellEditor=Hi.dateEditor;break;case Il.r.DATETIME:t.valueFormatter=_l,t.cellEditor=Hi.dateEditor,t.cellEditorParams={withTime:!0};break;case Il.r.ENUM:e.enumOptions?(t.cellEditor=Hi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):jl.k.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const o=null===(r=this.agGrid.gridApi)||void 0===r?void 0:r.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Bl(e.type),filter:Pl(e.type)},t),o)}))}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rowData.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){var e,a,r;if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Hl.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Hl.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Hl.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(Hl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Hl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Hl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Hl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Yl{constructor(){this.rowData=new Map}}function Ql(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}}}let Wl=class extends(c(Vl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Sl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Tl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Cl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return Ln.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Sl._g.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Rl.T)(1),(0,Nl.b)(o),(0,Ll.b)((e=>Ln.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Ln.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Tl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,ji.__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,ji.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Ln.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 Ln.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Ml.K)((e=>(this.handleErrors(e.receivedMessage),Dl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===$l.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Al.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Al.$)(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 Ln.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Ql);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Cl.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,ji.__decorate)([Ol.g],Wl.prototype,"auth",void 0),(0,ji.__decorate)([Fl.Yh],Wl.prototype,"datasource",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"polling-interval"})],Wl.prototype,"pollingInterval",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],Wl.prototype,"disablePolling",void 0),(0,ji.__decorate)([b.observable],Wl.prototype,"request",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Wl.prototype,"restartOnReconnection",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],Wl.prototype,"keepColDefsOnClearRowData",void 0),Wl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],Wl);let ql=class extends Wl{};ql=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],ql);var Jl=r(66306),Zl=r(52078);function Kl(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"]}}}class Xl extends Yl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a,r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return Ln.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),Ln.debug("Available indexes:",a),Ln.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Zl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===$l.Cs.LOGOFF_ACK||t===$l.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,Al.$)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Ln.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,ji.__decorate)([Ol.g],Xl.prototype,"auth",void 0),(0,ji.__decorate)([s.lj],Xl.prototype,"connect",void 0);let eg=class extends(c(Vl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Cl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Ln.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Jl.C)(e);const a=(0,Jl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Xl({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});Ln.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));Ln.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 Ln.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===$l.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Al.$)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>Ln.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Kl);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,ji.__decorate)([(0,b.attr)({mode:"boolean"})],eg.prototype,"pagination",void 0),eg=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],eg);const ag='\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/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd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ukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',rg='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVv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HSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',tg={[Ii.alpine]:ag,[Ii.alpineDark]:ag,[Ii.balham]:rg,[Ii.balhamDark]:rg,[Ii.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+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfg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fEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},og=ag,ig=b.css`
|
|
2172
|
+
`;let zl=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,ji.__decorate)([b.observable],zl.prototype,"slottedAgCell",void 0),(0,ji.__decorate)([b.observable],zl.prototype,"definition",void 0),zl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:kl})],zl);var Sl=r(39087),Cl=r(96730),$l=r(21281),Al=r(34193),Ol=r(90709),Fl=r(60949),Tl=r(97156),Dl=r(56607),Rl=r(10629),Nl=r(41392),Ll=r(92453),Ml=r(2773),Il=r(41119),jl=r(17465),El=r(12066);function Pl(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 Bl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Gl({value:e}){return(0,El.CL)(e)}function _l({value:e}){return(0,El.zT)(e)}class Ul extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Sl.OD.MAX_ROWS_250,this.maxView=Sl.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Sl.OD.REQUEST_SERVER_ROW_ID:Sl.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Sl.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Sl.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Sl.OD.REQUEST_SERVER_ROW_ID:Sl.OD.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Hl;(0,ji.__decorate)([s.dm],Ul.prototype,"connect",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"deferredGridOptions",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"deferredColumnStates",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"rowDataMapper",void 0),(0,ji.__decorate)([b.attr],Ul.prototype,"criteria",void 0),(0,ji.__decorate)([b.attr],Ul.prototype,"fields",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Ul.prototype,"isSnapshot",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"max-rows"})],Ul.prototype,"maxRows",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"max-view"})],Ul.prototype,"maxView",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Ul.prototype,"movingView",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"order-by"})],Ul.prototype,"orderBy",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"resource-name"})],Ul.prototype,"resourceName",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean"})],Ul.prototype,"reverse",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"row-id"})],Ul.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Hl||(Hl={}));class Vl extends Ul{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Il.w.STRING:t.cellEditor=Hi.stringEditor;break;case Il.w.NUMBER:t.cellEditor=Hi.numberEditor;break;case Il.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Hi.boolean,t.cellEditor=Hi.boolean);break;case Il.w.DATE:t.valueFormatter=Gl,t.cellEditor=Hi.dateEditor;break;case Il.w.DATETIME:t.valueFormatter=_l,t.cellEditor=Hi.dateEditor,t.cellEditorParams={withTime:!0};break;case Il.w.ENUM:e.enumOptions?(t.cellEditor=Hi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):jl.v.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const o=null===(r=this.agGrid.gridApi)||void 0===r?void 0:r.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Bl(e.type),filter:Pl(e.type)},t),o)}))}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rowData.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){var e,a,r;if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Hl.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Hl.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Hl.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(Hl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Hl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Hl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Hl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Yl{constructor(){this.rowData=new Map}}function Ql(e){switch(e){case Il.w.DATE:case Il.w.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}let Wl=class extends(c(Vl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Sl.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Tl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Cl.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return Ln.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Sl.vt.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Rl.i)(1),(0,Nl.B)(o),(0,Ll.M)((e=>Ln.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Ln.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Tl.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&!this.keepColDefsOnClearRowData&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,ji.__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,ji.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Ln.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 Ln.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Ml.W)((e=>(this.handleErrors(e.receivedMessage),Dl.w)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===$l.Go.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Al.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Al.d)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected"))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Ln.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Ql);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Cl.Q)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,ji.__decorate)([Ol.N],Wl.prototype,"auth",void 0),(0,ji.__decorate)([Fl.yW],Wl.prototype,"datasource",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"polling-interval"})],Wl.prototype,"pollingInterval",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],Wl.prototype,"disablePolling",void 0),(0,ji.__decorate)([b.observable],Wl.prototype,"request",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Wl.prototype,"restartOnReconnection",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],Wl.prototype,"keepColDefsOnClearRowData",void 0),Wl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],Wl);let ql=class extends Wl{};ql=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],ql);var Jl=r(48707),Zl=r(56177);function Kl(e){switch(e){case Il.w.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Il.w.DATE:case Il.w.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Il.w.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class Xl extends Yl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a,r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return Ln.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),Ln.debug("Available indexes:",a),Ln.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Zl.s)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===$l.Go.LOGOFF_ACK||t===$l.Go.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,Al.d)(a);this.handleCurrentStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Ln.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,ji.__decorate)([Ol.N],Xl.prototype,"auth",void 0),(0,ji.__decorate)([s.dm],Xl.prototype,"connect",void 0);let eg=class extends(c(Vl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Cl.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Ln.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Jl.a)(e);const a=(0,Jl.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Xl({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});Ln.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));Ln.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 Ln.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===$l.Go.QUERY_UPDATE&&e.ROW){const r=(0,Al.d)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>Ln.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Kl);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,ji.__decorate)([(0,b.attr)({mode:"boolean"})],eg.prototype,"pagination",void 0),eg=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],eg);const ag='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y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/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',rg='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB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sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',tg={[Ii.alpine]:ag,[Ii.alpineDark]:ag,[Ii.balham]:rg,[Ii.balhamDark]:rg,[Ii.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAA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f6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},og=ag,ig=b.css`
|
|
2173
2173
|
.ag-icon {
|
|
2174
2174
|
font-family: var(--ag-icon-font-family);
|
|
2175
2175
|
font-size: var(--ag-icon-size);
|
|
@@ -10389,7 +10389,7 @@
|
|
|
10389
10389
|
<slot></slot>
|
|
10390
10390
|
</span>
|
|
10391
10391
|
</template>
|
|
10392
|
-
`;var ug=r(75527);class hg{getColumnState(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}getFilterModel(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return{}}))}saveFilterModel(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,ji.__decorate)([ug.z],hg.prototype,"session",void 0);const mg=v.DI.createInterface((e=>e.singleton(hg)));class bg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const vg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function fg(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}Nn.O3h.registerModules([hl.jM,ul.I]);class wg extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,bl.A)(_i(a),a),this.insertFontFace(a)}getfilterModel(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=og,this.columnComponentName="grid-pro-column",this.theme=Ii.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Nn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[vg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Nn.plv.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&Nn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(vg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Hi.action]:Mn,[Hi.actionsMenu]:Gn,[Hi.boolean]:Vn,[Hi.editable]:An,[Hi.selectEditor]:sn,[Hi.numberEditor]:mn,[Hi.multiselectEditor]:rn,[Hi.dateEditor]:Ji,[Hi.stringEditor]:xn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}))}cacheFilterConfig(){var e;this.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}))}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=wl()(this.saveColumnState.bind(this),400),r=wl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,ji.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Nn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Nn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Ln.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=vl[this.headerCaseType];a?e.headerName=a(e.field):Ln.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Vi]===e.field)return{component:Hi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=bg,e.tooltipValueGetter=a=>{const r=a.data[Yi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Yi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return fg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return fg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Nn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Nn.plv.ALL_PROPERTIES.map((e=>vg(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},Nn.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=tg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,ml.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,ji.__decorate)([b.observable],wg.prototype,"columnApi",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridApi",void 0),(0,ji.__decorate)([mg],wg.prototype,"statePersistence",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],wg.prototype,"autoCellRendererByType",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],wg.prototype,"onlyTemplateColDefs",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],wg.prototype,"gridAutosizingEnabled",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"add-index"})],wg.prototype,"addIndex",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],wg.prototype,"asyncAdd",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],wg.prototype,"asyncRemove",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],wg.prototype,"asyncUpdate",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],wg.prototype,"enableCellFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],wg.prototype,"enabledRowFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],wg.prototype,"enableRowFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],wg.prototype,"persistColumnStateKey",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],wg.prototype,"persistFilterModelKey",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"header-case-type"})],wg.prototype,"headerCaseType",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridFontFace",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"columnComponentName",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"eventsAndCallbacks",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"headerHeight",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"rowHeight",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"theme",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"classNames",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"agGrid",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridSlot",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridComponents",void 0),(0,ji.__decorate)([Wi],wg.prototype,"gridOptionsConfig",void 0);const yg=void 0,xg={shadowOptions:void 0},kg=wg.compose(Object.assign({baseName:"grid-pro",styles:cg,template:pg,shadowOptions:yg},xg)),zg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Sg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Cg}=v.DesignToken,$g={backgroundColor:Cg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.backgroundSwatch:zg.backgroundSwatch)),borderColor:Cg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.borderSwatch:zg.borderSwatch)),foregroundColor:Cg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.foregroundSwatch:zg.foregroundSwatch)),headerForegroundColor:Cg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.headerForegroundSwatch:zg.headerForegroundSwatch)),rowHoverColor:Cg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.rowHoverSwatch:zg.rowHoverSwatch))},Ag=b.css`
|
|
10392
|
+
`;var ug=r(98316);class hg{getColumnState(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}getFilterModel(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return{}}))}saveFilterModel(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,ji.__decorate)([ug.N],hg.prototype,"session",void 0);const mg=v.DI.createInterface((e=>e.singleton(hg)));class bg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const vg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function fg(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}Nn.syG.registerModules([hl.n7,ul.Q]);class wg extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,bl.x)(_i(a),a),this.insertFontFace(a)}getfilterModel(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=og,this.columnComponentName="grid-pro-column",this.theme=Ii.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Nn.kNx.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[vg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Nn.kNx.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&Nn.kNx.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(vg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Hi.action]:Mn,[Hi.actionsMenu]:Gn,[Hi.boolean]:Vn,[Hi.editable]:An,[Hi.selectEditor]:sn,[Hi.numberEditor]:mn,[Hi.multiselectEditor]:rn,[Hi.dateEditor]:Ji,[Hi.stringEditor]:xn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}))}cacheFilterConfig(){var e;this.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}))}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=wl()(this.saveColumnState.bind(this),400),r=wl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,ji.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Nn.kNx.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Nn.xA9(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Ln.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=vl[this.headerCaseType];a?e.headerName=a(e.field):Ln.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Vi]===e.field)return{component:Hi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=bg,e.tooltipValueGetter=a=>{const r=a.data[Yi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Yi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return fg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return fg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Nn.kNx.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Nn.kNx.ALL_PROPERTIES.map((e=>vg(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},Nn.kNx.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=tg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,ml.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,ji.__decorate)([b.observable],wg.prototype,"columnApi",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridApi",void 0),(0,ji.__decorate)([mg],wg.prototype,"statePersistence",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],wg.prototype,"autoCellRendererByType",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],wg.prototype,"onlyTemplateColDefs",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],wg.prototype,"gridAutosizingEnabled",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"add-index"})],wg.prototype,"addIndex",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],wg.prototype,"asyncAdd",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],wg.prototype,"asyncRemove",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],wg.prototype,"asyncUpdate",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],wg.prototype,"enableCellFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],wg.prototype,"enabledRowFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],wg.prototype,"enableRowFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],wg.prototype,"persistColumnStateKey",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],wg.prototype,"persistFilterModelKey",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"header-case-type"})],wg.prototype,"headerCaseType",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridFontFace",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"columnComponentName",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"eventsAndCallbacks",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"headerHeight",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"rowHeight",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"theme",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"classNames",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"agGrid",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridSlot",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridComponents",void 0),(0,ji.__decorate)([Wi],wg.prototype,"gridOptionsConfig",void 0);const yg=void 0,xg={shadowOptions:void 0},kg=wg.compose(Object.assign({baseName:"grid-pro",styles:cg,template:pg,shadowOptions:yg},xg)),zg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Sg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Cg}=v.DesignToken,$g={backgroundColor:Cg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.backgroundSwatch:zg.backgroundSwatch)),borderColor:Cg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.borderSwatch:zg.borderSwatch)),foregroundColor:Cg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.foregroundSwatch:zg.foregroundSwatch)),headerForegroundColor:Cg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.headerForegroundSwatch:zg.headerForegroundSwatch)),rowHoverColor:Cg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.rowHoverSwatch:zg.rowHoverSwatch))},Ag=b.css`
|
|
10393
10393
|
.ag-theme-genesis-rapid,
|
|
10394
10394
|
.ag-theme-genesis-rapid-dark {
|
|
10395
10395
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10896,9 +10896,9 @@
|
|
|
10896
10896
|
.error {
|
|
10897
10897
|
border-color: ${$e.shortPink} !important;
|
|
10898
10898
|
}
|
|
10899
|
-
`,Lg=pg,Mg="ag-theme-genesis-rapid-dark";const Ig=
|
|
10899
|
+
`,Lg=pg,Mg="ag-theme-genesis-rapid-dark";const Ig=yg,jg=xg,Eg={zeroAgEditableRenderer:Rn,zeroAgActionRenderer:Bn,zeroAgActionsMenuRenderer:Hn,zeroAgBooleanRenderer:Jn,zeroAgTextRenderer:ll,zeroAgSelectRenderer:pl,zeroAgDateEditor:an,zeroAgMultiselectEditor:gn,zeroAgSelectEditor:hn,zeroAgNumberEditor:yn,zeroAgStringEditor:$n,zeroGridPro:class extends wg{constructor(){super(...arguments),this.theme=Mg}themeChanged(e,a){(e||a===Mg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Hi.action]:Pn,[Hi.actionsMenu]:Un,[Hi.boolean]:qn,[Hi.editable]:Dn,[Hi.selectEditor]:un,[Hi.numberEditor]:wn,[Hi.multiselectEditor]:ln,[Hi.dateEditor]:en,[Hi.stringEditor]:Cn};(this.theme===Fg||this.theme===Dg)&&(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:Lg,styles:Ng,shadowOptions:Ig},jg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Pg={foundationGridProActionRenderer:En,foundationGridProActionsMenuRenderer:_n,foundationAgBooleanRenderer:Wn,foundationAgTextRenderer:nl,foundationAgTextFieldRenderer:rl,foundationAgEditableRenderer:Tn,foundationAgSelectRenderer:cl,foundationGridPro:kg,foundationSelectEditor:pn,foundationNumberEditor:fn,foundationDateEditor:Xi,foundationMultiselectEditor:nn,foundationStringEditor:Sn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Bg;!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"}(Bg||(Bg={}));const{create:Gg}=v.DesignToken,_g=(0,Ae.parseColorHexRGB)(Bg.error),Ug=f.SwatchRGB.create(_g.r,_g.g,_g.b),Hg=Gg("error-color").withDefault(Ug),Vg=(0,Ae.parseColorHexRGB)(Bg.success),Yg=f.SwatchRGB.create(Vg.r,Vg.g,Vg.b),Qg=Gg("success-color").withDefault(Yg),Wg=(0,Ae.parseColorHexRGB)(Bg.warning),qg=f.SwatchRGB.create(Wg.r,Wg.g,Wg.b),Jg=Gg("warning-color").withDefault(qg),Zg=(0,Ae.parseColorHexRGB)(Bg.buy),Kg=f.SwatchRGB.create(Zg.r,Zg.g,Zg.b),Xg=Gg("buy-color").withDefault(Kg),es=(0,Ae.parseColorHexRGB)(Bg.sell),as=f.SwatchRGB.create(es.r,es.g,es.b),rs=Gg("sell-color").withDefault(as),ts=(0,H.paletteFromHex)(Bg.primary),os=(0,H.paletteFromHex)(Bg.neutral),is=f.StandardLuminance.DarkMode,ns=0,ls=4,gs=-5,ss=0,ds=0,cs=6,ps=-4,us=0,hs=7,ms=10,bs=5,vs=0,fs=0,ws=0,ys=0,xs=0,ks=0,zs=5,Ss=3,Cs=0,$s=0,As=8,Os=-5,Fs=0,Ts=3,Ds=25,Rs=40,Ns=16,Ls=25,Ms=8,Is="rapid",js=Ee.O.ltr,Es=.3,Ps=1,Bs=2,Gs=10,_s=4,Us=0,Hs=4,Vs='"Segoe UI", Arial, Helvetica, sans-serif',Ys="14px",Qs="20px",Ws="13px",qs="19px",Js="12px",Zs="18px",Ks="15px",Xs="21px",ed="16px",ad="22px",rd="17px",td="23px",od="18x",id="24px",nd="19px",ld="25px",gd="20px",sd="26px",dd={design_tokens:{color:{accent:{$value:ts.source.toColorString(),$type:"color"},neutral:{$value:os.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Vs,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ys,$type:"dimension"},baseLineHeight:{$value:Qs,$type:"dimension"}},mode:{luminance:{$value:is,$type:"number"}},style:{density:{$value:Us,$type:"number"},borderRadius:{$value:_s,$type:"number"},strokeWidth:{$value:Ps,$type:"number"}},space:{designUnit:{$value:Hs,$type:"number"}}}};class cd extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(i,n,this)}}const pd=cd.compose({baseName:"design-system-provider",template:b.html`
|
|
10900
10900
|
<slot></slot>
|
|
10901
|
-
`});class
|
|
10901
|
+
`});class ud extends H.Accordion{}const hd=ud.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10902
10902
|
${(0,H.foundationAccordionStyles)(e,a)}
|
|
10903
10903
|
|
|
10904
10904
|
:host {
|
|
@@ -10909,7 +10909,7 @@
|
|
|
10909
10909
|
.heading {
|
|
10910
10910
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10911
10911
|
}
|
|
10912
|
-
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class
|
|
10912
|
+
`,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class md extends H.AccordionItem{}const bd=md.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
10913
10913
|
${(0,H.foundationAccordionItemStyles)(e,a)}
|
|
10914
10914
|
|
|
10915
10915
|
:host {
|
|
@@ -10972,7 +10972,7 @@
|
|
|
10972
10972
|
grid-template-columns: auto 1fr auto;
|
|
10973
10973
|
align-items: center;
|
|
10974
10974
|
}
|
|
10975
|
-
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class
|
|
10975
|
+
`,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class vd extends H.ActionsMenu{}const fd=vd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
|
|
10976
10976
|
:host {
|
|
10977
10977
|
--actions-opener-height-multiplier: 0.6px;
|
|
10978
10978
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -11010,7 +11010,7 @@
|
|
|
11010
11010
|
.actions-vertical .menu-item:focus {
|
|
11011
11011
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
11012
11012
|
}
|
|
11013
|
-
`,template:H.foundationActionsMenuTemplate});function
|
|
11013
|
+
`,template:H.foundationActionsMenuTemplate});function wd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const yd=b.css`
|
|
11014
11014
|
:host([appearance='primary']) {
|
|
11015
11015
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
11016
11016
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11033,7 +11033,7 @@
|
|
|
11033
11033
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
11034
11034
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
11035
11035
|
}
|
|
11036
|
-
`,
|
|
11036
|
+
`,xd=b.css`
|
|
11037
11037
|
:host([appearance='primary-outline']) {
|
|
11038
11038
|
background: none;
|
|
11039
11039
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -11051,7 +11051,7 @@
|
|
|
11051
11051
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11052
11052
|
opacity: 100%;
|
|
11053
11053
|
}
|
|
11054
|
-
`,
|
|
11054
|
+
`,kd=b.css`
|
|
11055
11055
|
:host([appearance='neutral-outline']) {
|
|
11056
11056
|
background: none;
|
|
11057
11057
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
|
|
@@ -11069,7 +11069,7 @@
|
|
|
11069
11069
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11070
11070
|
opacity: 100%;
|
|
11071
11071
|
}
|
|
11072
|
-
`,
|
|
11072
|
+
`,zd=b.css`
|
|
11073
11073
|
:host([appearance='link']) {
|
|
11074
11074
|
background: none;
|
|
11075
11075
|
border: none;
|
|
@@ -11092,7 +11092,7 @@
|
|
|
11092
11092
|
color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
|
|
11093
11093
|
opacity: 100%;
|
|
11094
11094
|
}
|
|
11095
|
-
`,
|
|
11095
|
+
`,Sd=(e,a)=>b.css`
|
|
11096
11096
|
${(0,H.foundationButtonStyles)(e,a)}
|
|
11097
11097
|
${b.css`
|
|
11098
11098
|
:host {
|
|
@@ -11146,14 +11146,14 @@
|
|
|
11146
11146
|
opacity: 100%;
|
|
11147
11147
|
}
|
|
11148
11148
|
`}
|
|
11149
|
-
`.withBehaviors(
|
|
11149
|
+
`.withBehaviors(wd("primary",yd),wd("primary-outline",xd),wd("neutral-outline",kd),wd("link",zd));class Cd extends H.Anchor{}const $d=Cd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11150
11150
|
${(0,H.foundationAnchorStyles)(e,a)}
|
|
11151
|
-
${
|
|
11152
|
-
`.withBehaviors(...
|
|
11151
|
+
${Sd(e,a)}
|
|
11152
|
+
`.withBehaviors(...Sd(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Ad extends H.AnchoredRegion{}const Od=Ad.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11153
11153
|
${(0,H.foundationAnchoredRegionStyles)(e,a)}
|
|
11154
|
-
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class
|
|
11154
|
+
`,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Fd extends H.Avatar{}const Td=Fd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11155
11155
|
${(0,H.foundationAvatarStyles)(e,a)}
|
|
11156
|
-
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class
|
|
11156
|
+
`,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class Dd extends H.Badge{}const Rd=Dd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11157
11157
|
${(0,H.foundationBadgeStyles)(e,a)}
|
|
11158
11158
|
:host {
|
|
11159
11159
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
@@ -11172,7 +11172,7 @@
|
|
|
11172
11172
|
padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
|
|
11173
11173
|
border: none;
|
|
11174
11174
|
}
|
|
11175
|
-
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),
|
|
11175
|
+
`,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Nd=b.css`
|
|
11176
11176
|
${H.foundationBannerStyles}
|
|
11177
11177
|
:host {
|
|
11178
11178
|
--banner-height: calc(
|
|
@@ -11192,9 +11192,9 @@
|
|
|
11192
11192
|
font-family: var(--body-font);
|
|
11193
11193
|
line-height: var(--type-ramp-base-line-height);
|
|
11194
11194
|
}
|
|
11195
|
-
`,
|
|
11195
|
+
`,Ld=H.foundationBannerShadowOptions;class Md extends H.Banner{}const Id=Md.compose({baseName:"banner",shadowOptions:Ld,styles:Nd,template:H.foundationBannerTemplate});class jd extends H.Breadcrumb{}const Ed=jd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11196
11196
|
${(0,H.foundationBreadcrumbStyles)(e,a)}
|
|
11197
|
-
`,shadowOptions:undefined},{}));class
|
|
11197
|
+
`,shadowOptions:undefined},{}));class Pd extends H.BreadcrumbItem{}const Bd=Pd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11198
11198
|
${(0,H.foundationBreadcrumbItemStyles)(e,a)}
|
|
11199
11199
|
.listitem {
|
|
11200
11200
|
color: var(--accent-foreground-rest);
|
|
@@ -11230,9 +11230,9 @@
|
|
|
11230
11230
|
.control:hover .start {
|
|
11231
11231
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11232
11232
|
}
|
|
11233
|
-
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class
|
|
11233
|
+
`,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class Gd extends H.Button{}const _d=Gd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:Sd,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class Ud extends H.Calendar{}const Hd=Ud.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
|
|
11234
11234
|
${(0,H.foundationCalendarStyles)()}
|
|
11235
|
-
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class
|
|
11235
|
+
`,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class Vd extends H.Card{}const Yd=Vd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11236
11236
|
${(0,H.foundationCardStyles)(e,a)}
|
|
11237
11237
|
:host {
|
|
11238
11238
|
background: var(--neutral-layer-card-container);
|
|
@@ -11246,7 +11246,7 @@
|
|
|
11246
11246
|
::slotted(rapid-card) {
|
|
11247
11247
|
background: var(--neutral-layer-3);
|
|
11248
11248
|
}
|
|
11249
|
-
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),
|
|
11249
|
+
`,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),Qd=b.css`
|
|
11250
11250
|
${H.categorizedMultiselectStyles}
|
|
11251
11251
|
|
|
11252
11252
|
.label {
|
|
@@ -11260,9 +11260,9 @@
|
|
|
11260
11260
|
rapid-checkbox:hover:not([disabled]) {
|
|
11261
11261
|
background: var(--neutral-layer-4);
|
|
11262
11262
|
}
|
|
11263
|
-
`,
|
|
11263
|
+
`,Wd=b.html`
|
|
11264
11264
|
${(0,H.getPrefixedCategorizedMultiselect)("rapid")}
|
|
11265
|
-
`;class
|
|
11265
|
+
`;class qd extends H.CategorizedMultiselect{}const Jd=H.defaultCategorizedMultiselectConfig,Zd=H.foundationCategorizedMultiselectShadowOptions,Kd=qd.compose(Object.assign({baseName:"categorized-multiselect",template:Wd,styles:Qd,shadowOptions:Zd},Jd));class Xd extends H.Checkbox{}const ec=Xd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11266
11266
|
${(0,H.foundationCheckboxStyles)(e,a)}
|
|
11267
11267
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11268
11268
|
fill: var(--neutral-foreground-rest);
|
|
@@ -11277,7 +11277,7 @@
|
|
|
11277
11277
|
.label {
|
|
11278
11278
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11279
11279
|
}
|
|
11280
|
-
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class
|
|
11280
|
+
`,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class ac extends H.Combobox{}const rc=ac.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11281
11281
|
${(0,H.foundationComboboxStyles)(e,a)}
|
|
11282
11282
|
:host {
|
|
11283
11283
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11350,7 +11350,7 @@
|
|
|
11350
11350
|
::slotted([role='option']) {
|
|
11351
11351
|
margin: 0;
|
|
11352
11352
|
}
|
|
11353
|
-
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class
|
|
11353
|
+
`,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class tc extends H.ConnectionIndicator{}const oc=tc.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
|
|
11354
11354
|
${(0,H.foundationConnectionIndicatorStyles)(e,a)}
|
|
11355
11355
|
:host {
|
|
11356
11356
|
--light-size: calc(var(--design-unit) * 3px);
|
|
@@ -11373,9 +11373,9 @@
|
|
|
11373
11373
|
font-size: var(--type-ramp-base-font-size);
|
|
11374
11374
|
color: var(--neutral-stroke-rest);
|
|
11375
11375
|
}
|
|
11376
|
-
`}),
|
|
11376
|
+
`}),ic=["baseClass","baseName","shadowOptions","styles","template"],nc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=ic)=>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:lc,shadowOptions:gc,styles:sc,template:dc}=nc(H.foundationDataGrid),{defaultConfig:cc,shadowOptions:pc,styles:uc,template:hc}=nc(H.foundationDataGridCell),{defaultConfig:mc,shadowOptions:bc,styles:vc,template:fc}=nc(H.foundationDataGridRow),wc=b.html`
|
|
11377
11377
|
${(0,H.getPrefixedDatePicker)("rapid")}
|
|
11378
|
-
`;class
|
|
11378
|
+
`;class yc extends H.DatePicker{}const xc=yc.compose(Object.assign({baseName:"date-picker",template:wc,styles:()=>b.css`
|
|
11379
11379
|
${H.foundationDatePickerStyles}
|
|
11380
11380
|
|
|
11381
11381
|
:host {
|
|
@@ -11458,7 +11458,7 @@
|
|
|
11458
11458
|
.week-days span {
|
|
11459
11459
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11460
11460
|
}
|
|
11461
|
-
`,shadowOptions:undefined},{})),
|
|
11461
|
+
`,shadowOptions:undefined},{})),kc=b.css`
|
|
11462
11462
|
${H.foundationDialogStyles}
|
|
11463
11463
|
:host {
|
|
11464
11464
|
--dialog-background: ${f.neutralLayer2};
|
|
@@ -11535,7 +11535,7 @@
|
|
|
11535
11535
|
.close-icon:active svg g path {
|
|
11536
11536
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11537
11537
|
}
|
|
11538
|
-
`,
|
|
11538
|
+
`,zc=H.defaultDialogConfig,Sc=H.foundationDialogTemplate,Cc=H.foundationDialogShadowOptions;class $c extends H.Dialog{}const Ac=$c.compose(Object.assign({baseName:"dialog",shadowOptions:Cc,styles:kc,template:Sc},zc));class Oc extends H.Disclosure{}const Fc=Oc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11539
11539
|
${(0,H.foundationDisclosureStyles)(e,a)}
|
|
11540
11540
|
:host {
|
|
11541
11541
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -11552,9 +11552,9 @@
|
|
|
11552
11552
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11553
11553
|
text-align: center;
|
|
11554
11554
|
}
|
|
11555
|
-
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class
|
|
11555
|
+
`,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Tc extends H.Divider{}const Dc=Tc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11556
11556
|
${(0,H.foundationDividerStyles)(e,a)}
|
|
11557
|
-
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class
|
|
11557
|
+
`,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Rc extends H.DropdownMenu{}const Nc=Rc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
|
|
11558
11558
|
${(0,H.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11559
11559
|
|
|
11560
11560
|
.actions-menu {
|
|
@@ -11569,7 +11569,7 @@
|
|
|
11569
11569
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11570
11570
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11571
11571
|
}
|
|
11572
|
-
`,template:H.foundationDropdownMenuTemplate}),{defaultConfig:
|
|
11572
|
+
`,template:H.foundationDropdownMenuTemplate}),{defaultConfig:Lc,shadowOptions:Mc,styles:Ic,template:jc}=nc(H.foundationErrorBoundary),Ec=b.css`
|
|
11573
11573
|
${H.foundationFileUploadStyles}
|
|
11574
11574
|
::-webkit-scrollbar {
|
|
11575
11575
|
width: calc(var(--design-unit) * 3px);
|
|
@@ -11591,11 +11591,11 @@
|
|
|
11591
11591
|
:host::part(upload-file-button) {
|
|
11592
11592
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11593
11593
|
}
|
|
11594
|
-
`,
|
|
11594
|
+
`,Pc=b.html`
|
|
11595
11595
|
${(0,H.getPrefixedFileUpload)("rapid")}
|
|
11596
|
-
`,
|
|
11596
|
+
`,Bc=H.defaultFileUploadConfig,Gc=H.foundationFileUploadShadowOptions;class _c extends H.FileUpload{}const Uc=_c.compose(Object.assign({baseName:"file-upload",shadowOptions:Gc,styles:Ec,template:Pc},Bc)),Hc=b.html`
|
|
11597
11597
|
${(0,H.getPrefixedFilterTemplate)("rapid")}
|
|
11598
|
-
`;class
|
|
11598
|
+
`;class Vc extends H.Filter{}const Yc=Vc.compose({baseName:"filter",template:Hc,styles:(e,a)=>b.css`
|
|
11599
11599
|
${H.foundationFilterStyles}
|
|
11600
11600
|
.filter-wrapper {
|
|
11601
11601
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11622,9 +11622,9 @@
|
|
|
11622
11622
|
.flex-row rapid-select {
|
|
11623
11623
|
flex: 1;
|
|
11624
11624
|
}
|
|
11625
|
-
`}),
|
|
11625
|
+
`}),Qc=b.html`
|
|
11626
11626
|
${(0,H.filterBarTemplate)("rapid")}
|
|
11627
|
-
`;class
|
|
11627
|
+
`;class Wc extends H.FilterBar{}const qc=Wc.compose({baseName:"filter-bar",template:Qc,styles:(e,a)=>b.css`
|
|
11628
11628
|
${(0,H.foundationFilterBarStyles)(e,a)}
|
|
11629
11629
|
.toggle,
|
|
11630
11630
|
.toggle-collapsed {
|
|
@@ -11644,7 +11644,7 @@
|
|
|
11644
11644
|
.filter-bar {
|
|
11645
11645
|
background: var(--neutral-layer-3);
|
|
11646
11646
|
}
|
|
11647
|
-
`}),{defaultConfig:
|
|
11647
|
+
`}),{defaultConfig:Jc,shadowOptions:Zc,styles:Kc,template:Xc}=nc(H.foundationFlexLayout);class ep extends H.Flipper{}const ap=ep.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11648
11648
|
${(0,H.foundationFlipperStyles)(e,a)}
|
|
11649
11649
|
:host {
|
|
11650
11650
|
color: var(--neutral-foreground-rest);
|
|
@@ -11664,7 +11664,7 @@
|
|
|
11664
11664
|
background: var(--accent-fill-rest);
|
|
11665
11665
|
color: var(--neutral-foreground-rest);
|
|
11666
11666
|
}
|
|
11667
|
-
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),
|
|
11667
|
+
`,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),rp=b.css`
|
|
11668
11668
|
${H.foundationFlyoutStyles}
|
|
11669
11669
|
div.flyout {
|
|
11670
11670
|
background-color: var(--neutral-layer-2);
|
|
@@ -11712,9 +11712,9 @@
|
|
|
11712
11712
|
background-color: var(--neutral-fill-hover);
|
|
11713
11713
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11714
11714
|
}
|
|
11715
|
-
`,
|
|
11715
|
+
`,tp=b.html`
|
|
11716
11716
|
${(0,H.getPrefixedFlyout)("rapid")}
|
|
11717
|
-
`,
|
|
11717
|
+
`,op=H.defaultFlyoutConfig,ip=H.foundationFlyoutShadowOptions;class np extends H.Flyout{}const lp=np.compose(Object.assign({baseName:"flyout",shadowOptions:ip,styles:rp,template:tp},op)),{defaultConfig:gp,shadowOptions:sp,styles:dp,template:cp}=nc(H.foundationGridLayout),{defaultConfig:pp,shadowOptions:up,styles:hp,template:mp}=nc(H.foundationGridLayoutItem);class bp extends H.HorizontalScroll{}const vp={nextFlipper:b.html`
|
|
11718
11718
|
<rapid-flipper
|
|
11719
11719
|
@click="${e=>e.scrollToNext()}"
|
|
11720
11720
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -11725,11 +11725,11 @@
|
|
|
11725
11725
|
direction="previous"
|
|
11726
11726
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11727
11727
|
></rapid-flipper>
|
|
11728
|
-
`},
|
|
11728
|
+
`},fp=bp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11729
11729
|
${(0,H.foundationHorizontalScrollStyles)(e,a)}
|
|
11730
|
-
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},
|
|
11730
|
+
`,shadowOptions:H.foundationHorizontalScrollShadowOptions},vp));class wp extends H.Icon{}const yp=H.defaultIconConfig,xp=H.foundationIconShadowOptions,kp=wp.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
|
|
11731
11731
|
${(0,H.foundationIconStyles)(e,a)}
|
|
11732
|
-
`,shadowOptions:
|
|
11732
|
+
`,shadowOptions:xp},yp));class zp extends H.Listbox{}const Sp=zp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11733
11733
|
${(0,H.foundationListboxStyles)(e,a)}
|
|
11734
11734
|
|
|
11735
11735
|
:host {
|
|
@@ -11740,7 +11740,7 @@
|
|
|
11740
11740
|
::slotted(*:last-child) {
|
|
11741
11741
|
border-bottom: none;
|
|
11742
11742
|
}
|
|
11743
|
-
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class
|
|
11743
|
+
`,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Cp extends H.ListboxOption{}const $p=Cp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11744
11744
|
${(0,H.foundationListboxOptionStyles)(e,a)}
|
|
11745
11745
|
:host {
|
|
11746
11746
|
border-radius: 0;
|
|
@@ -11757,14 +11757,14 @@
|
|
|
11757
11757
|
background: var(--neutral-layer-4);
|
|
11758
11758
|
color: var(--accent-fill-rest);
|
|
11759
11759
|
}
|
|
11760
|
-
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class
|
|
11760
|
+
`,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class Ap extends H.Menu{}const Op=Ap.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,H.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11761
11761
|
${(0,H.foundationMenuStyles)(e,a)}
|
|
11762
11762
|
:host {
|
|
11763
11763
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11764
11764
|
color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
|
|
11765
11765
|
padding: 0;
|
|
11766
11766
|
}
|
|
11767
|
-
`,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),
|
|
11767
|
+
`,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Fp=H.foundationMenuItemShadowOptions;class Tp extends H.MenuItem{}const Dp=Tp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11768
11768
|
${(0,H.foundationMenuItemStyles)(e,a)}
|
|
11769
11769
|
:host {
|
|
11770
11770
|
margin: 0;
|
|
@@ -11800,9 +11800,9 @@
|
|
|
11800
11800
|
background: ${f.neutralFillStealthHover}
|
|
11801
11801
|
color: ${f.neutralForegroundRest}
|
|
11802
11802
|
*/
|
|
11803
|
-
`,shadowOptions:
|
|
11804
|
-
${
|
|
11805
|
-
`,
|
|
11803
|
+
`,shadowOptions:Fp},H.defaultMenuItemConfig)),Rp=b.css`
|
|
11804
|
+
${kc}
|
|
11805
|
+
`,Np=H.defaultModalConfig,Lp=H.foundationModalTemplate,Mp=H.foundationModalShadowOptions;class Ip extends H.Modal{}const jp=Ip.compose(Object.assign({baseName:"modal",shadowOptions:Mp,styles:Rp,template:Lp},Np)),Ep=b.css`
|
|
11806
11806
|
${H.multiselectStyles}
|
|
11807
11807
|
|
|
11808
11808
|
#display-field {
|
|
@@ -11878,9 +11878,9 @@
|
|
|
11878
11878
|
rapid-checkbox[disabled] {
|
|
11879
11879
|
cursor: not-allowed;
|
|
11880
11880
|
}
|
|
11881
|
-
`,
|
|
11881
|
+
`,Pp=b.html`
|
|
11882
11882
|
${(0,H.getPrefixedMultiselect)("rapid")}
|
|
11883
|
-
`;class
|
|
11883
|
+
`;class Bp extends H.Multiselect{}const Gp=H.defaultMultiselectConfig,_p=H.foundationMultiselectShadowOptions,Up=Bp.compose(Object.assign({baseName:"multiselect",template:Pp,styles:Ep,shadowOptions:_p},Gp));class Hp extends H.NumberField{}const Vp=H.defaultNumberFieldConfig,Yp=H.foundationNumberFieldTemplate,Qp=H.foundationNumberFieldShadowOptions,Wp=Hp.compose(Object.assign({baseName:"number-field",template:Yp,styles:(e,a)=>b.css`
|
|
11884
11884
|
:host {
|
|
11885
11885
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11886
11886
|
}
|
|
@@ -11965,11 +11965,11 @@
|
|
|
11965
11965
|
.control:focus-visible {
|
|
11966
11966
|
outline: none;
|
|
11967
11967
|
}
|
|
11968
|
-
`,shadowOptions:
|
|
11968
|
+
`,shadowOptions:Qp},Vp));class qp extends H.Progress{}const Jp=qp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11969
11969
|
${(0,H.foundationProgressStyles)(e,a)}
|
|
11970
|
-
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class
|
|
11970
|
+
`,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class Zp extends H.ProgressRing{}const Kp=Zp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,H.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11971
11971
|
${(0,H.foundationProgressRingStyles)(e,a)}
|
|
11972
|
-
`,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class
|
|
11972
|
+
`,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class Xp extends H.Radio{}const eu=Xp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
|
|
11973
11973
|
${(0,H.foundationRadioStyles)(e,a)}
|
|
11974
11974
|
:host {
|
|
11975
11975
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
@@ -12001,13 +12001,13 @@
|
|
|
12001
12001
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
12002
12002
|
background: var(--accent-fill-rest);
|
|
12003
12003
|
}
|
|
12004
|
-
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class
|
|
12004
|
+
`,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class au extends H.RadioGroup{}const ru=au.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12005
12005
|
${(0,H.foundationRadioGroupStyles)(e,a)}
|
|
12006
|
-
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),
|
|
12006
|
+
`,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),tu=b.css`
|
|
12007
12007
|
${H.foundationSearchBarStyles}
|
|
12008
|
-
`,
|
|
12008
|
+
`,ou=b.html`
|
|
12009
12009
|
${(0,H.getPrefixedSearchBar)("rapid")}
|
|
12010
|
-
`;class
|
|
12010
|
+
`;class iu extends H.SearchBar{}const nu=iu.compose(Object.assign({baseName:"search-bar",template:ou,styles:tu,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class lu extends H.SearchBarCombobox{}const gu=lu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12011
12011
|
${(0,H.foundationSearchBarComboboxStyles)(e,a)}
|
|
12012
12012
|
|
|
12013
12013
|
:host {
|
|
@@ -12038,7 +12038,7 @@
|
|
|
12038
12038
|
:host .listbox ::slotted(*:last-child) {
|
|
12039
12039
|
border-bottom: none;
|
|
12040
12040
|
}
|
|
12041
|
-
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class
|
|
12041
|
+
`,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class su extends H.SegmentedControl{}const du=su.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12042
12042
|
${(0,H.foundationSegmentedControlStyles)(e,a)}
|
|
12043
12043
|
:host {
|
|
12044
12044
|
font-family: var(--body-font);
|
|
@@ -12074,7 +12074,7 @@
|
|
|
12074
12074
|
border-color: transparent;
|
|
12075
12075
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
12076
12076
|
}
|
|
12077
|
-
`,shadowOptions:undefined},{}));class
|
|
12077
|
+
`,shadowOptions:undefined},{}));class cu extends H.Radio{}const pu=cu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12078
12078
|
${(0,H.foundationSegmentedItemStyles)(e,a)}
|
|
12079
12079
|
:host {
|
|
12080
12080
|
color: var(--neutral-fill-strong-rest);
|
|
@@ -12086,7 +12086,7 @@
|
|
|
12086
12086
|
:host([aria-checked='true']) {
|
|
12087
12087
|
color: color-mix(in srgb, white, transparent 10%);
|
|
12088
12088
|
}
|
|
12089
|
-
`,shadowOptions:undefined},{}));class
|
|
12089
|
+
`,shadowOptions:undefined},{}));class uu extends H.Select{}const hu=uu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12090
12090
|
${(0,H.foundationSelectStyles)(e,a)}
|
|
12091
12091
|
:host {
|
|
12092
12092
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -12158,14 +12158,14 @@
|
|
|
12158
12158
|
::slotted([role='option']) {
|
|
12159
12159
|
margin: 0;
|
|
12160
12160
|
}
|
|
12161
|
-
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class
|
|
12161
|
+
`,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class mu extends H.Skeleton{}const bu=mu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12162
12162
|
${(0,H.foundationSkeletonStyles)(e,a)}
|
|
12163
12163
|
:host {
|
|
12164
12164
|
--skeleton-fill: var(
|
|
12165
12165
|
--neutral-fill-stealth-rest
|
|
12166
12166
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
12167
12167
|
}
|
|
12168
|
-
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class
|
|
12168
|
+
`,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class vu extends H.Slider{}const fu=vu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12169
12169
|
${(0,H.foundationSliderStyles)(e,a)}
|
|
12170
12170
|
|
|
12171
12171
|
.thumb-cursor {
|
|
@@ -12223,7 +12223,7 @@
|
|
|
12223
12223
|
background-color: var(--neutral-stroke-rest);
|
|
12224
12224
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12225
12225
|
}
|
|
12226
|
-
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class
|
|
12226
|
+
`,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class wu extends H.SliderLabel{}const yu=wu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12227
12227
|
${(0,H.foundationSliderLabelStyles)(e,a)}
|
|
12228
12228
|
.label {
|
|
12229
12229
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
@@ -12234,7 +12234,7 @@
|
|
|
12234
12234
|
text-align: center;
|
|
12235
12235
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12236
12236
|
}
|
|
12237
|
-
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),
|
|
12237
|
+
`,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),xu=b.css`
|
|
12238
12238
|
${H.foundationSnackbarStyles}
|
|
12239
12239
|
.snackbar {
|
|
12240
12240
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
@@ -12255,11 +12255,11 @@
|
|
|
12255
12255
|
.action {
|
|
12256
12256
|
gap: calc(var(--design-unit) * 2px);
|
|
12257
12257
|
}
|
|
12258
|
-
`,
|
|
12258
|
+
`,ku=b.html`
|
|
12259
12259
|
${(0,H.getPrefixedSnackbar)("rapid")}
|
|
12260
|
-
`,
|
|
12260
|
+
`,zu=H.foundationSnackbarShadowOptions;class Su extends H.Snackbar{}const Cu=Su.compose({baseName:"snackbar",shadowOptions:zu,styles:xu,template:ku});class $u extends H.StackingIcons{}const Au=$u.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
|
|
12261
12261
|
${(0,H.foundationStackingIconsStyles)(e,a)}
|
|
12262
|
-
`}),
|
|
12262
|
+
`}),Ou=b.css`
|
|
12263
12263
|
${H.foundationStepperStyles}
|
|
12264
12264
|
|
|
12265
12265
|
:host {
|
|
@@ -12306,11 +12306,11 @@
|
|
|
12306
12306
|
padding: 0 calc(var(--design-unit) * 2px);
|
|
12307
12307
|
color: var(--neutral-foreground-hint);
|
|
12308
12308
|
}
|
|
12309
|
-
`,
|
|
12309
|
+
`,Fu=b.html`
|
|
12310
12310
|
${(0,H.getPrefixedStepper)("rapid")}
|
|
12311
|
-
`;class
|
|
12311
|
+
`;class Tu extends H.Stepper{}const Du=Tu.compose(Object.assign({baseName:"stepper",template:Fu,styles:Ou,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Ru=b.html`
|
|
12312
12312
|
${(0,H.getPrefixedStepperTab)("rapid")}
|
|
12313
|
-
`;class
|
|
12313
|
+
`;class Nu extends H.StepperTab{}const Lu=Nu.compose(Object.assign({baseName:"stepper-tab",template:Ru,styles:(e,a)=>b.css`
|
|
12314
12314
|
${(0,H.foundationStepperTabStyles)(e,a)}
|
|
12315
12315
|
|
|
12316
12316
|
rapid-tree-item {
|
|
@@ -12370,7 +12370,7 @@
|
|
|
12370
12370
|
:host([error]) .step-title {
|
|
12371
12371
|
color: var(--error-color);
|
|
12372
12372
|
}
|
|
12373
|
-
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class
|
|
12373
|
+
`,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class Mu extends H.StepperTabPanel{}const Iu=Mu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig)),ju={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Eu extends H.Switch{}const Pu=Eu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12374
12374
|
${(0,H.foundationSwitchStyles)(e,a)}
|
|
12375
12375
|
:host {
|
|
12376
12376
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -12407,7 +12407,7 @@
|
|
|
12407
12407
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12408
12408
|
background: var(--accent-fill-rest);
|
|
12409
12409
|
}
|
|
12410
|
-
`,shadowOptions:H.foundationSwitchShadowOptions},
|
|
12410
|
+
`,shadowOptions:H.foundationSwitchShadowOptions},ju));class Bu extends H.Tab{}const Gu=Bu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12411
12411
|
${(0,H.foundationTabStyles)(e,a)}
|
|
12412
12412
|
:host {
|
|
12413
12413
|
background-color: ${f.neutralLayer2};
|
|
@@ -12420,12 +12420,12 @@
|
|
|
12420
12420
|
:host([aria-selected='true']:hover) {
|
|
12421
12421
|
background-color: ${f.neutralLayer4};
|
|
12422
12422
|
}
|
|
12423
|
-
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class
|
|
12423
|
+
`,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class _u extends H.TabPanel{}const Uu=_u.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12424
12424
|
${(0,H.foundationTabPanelStyles)(e,a)}
|
|
12425
12425
|
:host {
|
|
12426
12426
|
padding: 0;
|
|
12427
12427
|
}
|
|
12428
|
-
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class
|
|
12428
|
+
`,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class Hu extends H.Tabs{}const Vu=Hu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12429
12429
|
${(0,H.foundationTabsStyles)(e,a)}
|
|
12430
12430
|
:host {
|
|
12431
12431
|
--base-height-multiplier: 9;
|
|
@@ -12500,7 +12500,7 @@
|
|
|
12500
12500
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12501
12501
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12502
12502
|
}
|
|
12503
|
-
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class
|
|
12503
|
+
`,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class Yu extends H.TextArea{}const Qu=Yu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12504
12504
|
${(0,H.foundationTextAreaStyles)(e,a)}
|
|
12505
12505
|
|
|
12506
12506
|
:host .control {
|
|
@@ -12526,7 +12526,7 @@
|
|
|
12526
12526
|
font-weight: 700;
|
|
12527
12527
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12528
12528
|
}
|
|
12529
|
-
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class
|
|
12529
|
+
`,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class Wu extends H.TextField{}const qu=Wu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12530
12530
|
${(0,H.foundationTextFieldStyles)(e,a)}
|
|
12531
12531
|
|
|
12532
12532
|
:host {
|
|
@@ -12563,7 +12563,7 @@
|
|
|
12563
12563
|
font-weight: 700;
|
|
12564
12564
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12565
12565
|
}
|
|
12566
|
-
`,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),
|
|
12566
|
+
`,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),Ju=b.css`
|
|
12567
12567
|
${H.foundationToastStyles}
|
|
12568
12568
|
.toast {
|
|
12569
12569
|
background-color: ${f.neutralLayer1};
|
|
@@ -12618,7 +12618,7 @@
|
|
|
12618
12618
|
:host([notify='serious']) .toast::after {
|
|
12619
12619
|
background-color: var(--error-color);
|
|
12620
12620
|
}
|
|
12621
|
-
`,
|
|
12621
|
+
`,Zu=H.defaultToastConfig,Ku=H.foundationToastShadowOptions;class Xu extends H.Toast{}const eh=Xu.compose(Object.assign({baseName:"toast",shadowOptions:Ku,styles:Ju,template:H.foundationToastTemplate},Zu));class ah extends H.Toolbar{}const rh=ah.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12622
12622
|
${(0,H.foundationToolbarStyles)(e,a)}
|
|
12623
12623
|
:host {
|
|
12624
12624
|
align-items: center;
|
|
@@ -12628,7 +12628,7 @@
|
|
|
12628
12628
|
.positioning-region {
|
|
12629
12629
|
align-items: center;
|
|
12630
12630
|
}
|
|
12631
|
-
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class
|
|
12631
|
+
`,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class th extends H.Tooltip{}const oh=th.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12632
12632
|
${(0,H.foundationTooltipStyles)(e,a)}
|
|
12633
12633
|
|
|
12634
12634
|
:host {
|
|
@@ -12651,7 +12651,7 @@
|
|
|
12651
12651
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12652
12652
|
margin-left: 0;
|
|
12653
12653
|
}
|
|
12654
|
-
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class
|
|
12654
|
+
`,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class ih extends H.TreeItem{}const nh={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>'},lh=ih.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12655
12655
|
${(0,H.foundationTreeItemStyles)(e,a)}
|
|
12656
12656
|
:host {
|
|
12657
12657
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -12690,11 +12690,11 @@
|
|
|
12690
12690
|
width: calc(var(--design-unit) * 3px);
|
|
12691
12691
|
height: calc(var(--design-unit) * 3px);
|
|
12692
12692
|
}
|
|
12693
|
-
`,shadowOptions:H.foundationTreeItemShadowOptions},
|
|
12693
|
+
`,shadowOptions:H.foundationTreeItemShadowOptions},nh));class gh extends H.TreeView{}const sh=gh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
|
|
12694
12694
|
${(0,H.foundationTreeViewStyles)(e,a)}
|
|
12695
|
-
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),
|
|
12695
|
+
`,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),dh=b.html`
|
|
12696
12696
|
${(0,H.getPrefixedUrlInput)("rapid")}
|
|
12697
|
-
`;class
|
|
12697
|
+
`;class ch extends H.UrlInput{}const ph={designSystemProvider:pd,rapidAccordion:hd,rapidAccordionItem:bd,rapidActionsMenu:fd,rapidAnchor:$d,rapidAnchoredRegion:Od,rapidAvatar:Td,rapidBadge:Rd,rapidBanner:Id,rapidBreadcrumb:Ed,rapidBreadcrumbItem:Bd,rapidButton:_d,rapidCalendar:Hd,rapidCard:Yd,rapidCategorizedMultiselect:Kd,rapidCheckbox:ec,rapidCombobox:rc,rapidConnectionIndicator:oc,rapidDataGrid:()=>(0,H.foundationDataGrid)(),rapidDataGridCell:()=>(0,H.foundationDataGridCell)(),rapidDataGridRow:()=>(0,H.foundationDataGridRow)(),rapidDatePicker:xc,rapidDialog:Ac,rapidDisclosure:Fc,rapidDivider:Dc,rapidDropdownMenu:Nc,rapidErrorBoundary:()=>(0,H.foundationErrorBoundary)(),rapidFileUpload:Uc,rapidFilter:Yc,rapidFilterBar:qc,rapidFlexLayout:()=>(0,H.foundationFlexLayout)(),rapidFlipper:ap,rapidFlyout:lp,rapidGridLayout:()=>(0,H.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,H.foundationGridLayoutItem)(),rapidHorizontalScroll:fp,rapidIcon:kp,rapidListbox:Sp,rapidListboxOption:$p,rapidMenu:Op,rapidMenuItem:Dp,rapidModal:jp,rapidMultiselect:Up,rapidNumberField:Wp,rapidProgress:Jp,rapidProgressRing:Kp,rapidRadio:eu,rapidRadioGroup:ru,rapidSearchBar:nu,rapidSearchBarCombobox:gu,rapidSegmentedControl:du,rapidSegmentedItem:pu,rapidSelect:hu,rapidSkeleton:bu,rapidSlider:fu,rapidSliderLabel:yu,rapidSnackbar:Cu,rapidStackingIcons:Au,rapidStepper:Du,rapidStepperTab:Lu,rapidStepperTabPanel:Iu,rapidSwitch:Pu,rapidTab:Gu,rapidTabPanel:Uu,rapidTabs:Vu,rapidTextArea:Qu,rapidTextField:qu,rapidToast:eh,rapidToolbar:rh,rapidTooltip:oh,rapidTreeItem:lh,rapidTreeView:sh,rapidUrlInput:ch.compose(Object.assign({baseName:"url-input",template:dh,styles:(e,a)=>b.css`
|
|
12698
12698
|
${(0,H.foundationUrlInputStyles)(e,a)}
|
|
12699
12699
|
a {
|
|
12700
12700
|
color: var(--accent-fill-rest);
|
|
@@ -12710,7 +12710,7 @@
|
|
|
12710
12710
|
font-size: var(--type-ramp-base-font-size);
|
|
12711
12711
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12712
12712
|
}
|
|
12713
|
-
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class
|
|
12713
|
+
`,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class uh extends Ji{}const hh=uh.compose({baseName:"date-editor",styles:Zi,template:Ki("rapid")});class mh extends rn{}const bh=mh.compose({baseName:"multiselect-editor",styles:tn,template:on("rapid")});class vh extends sn{}const fh=vh.compose({baseName:"select-editor",styles:dn,template:cn("rapid")});class wh extends mn{}const yh=wh.compose({baseName:"number-editor",styles:bn,template:vn("rapid")});class xh extends xn{}const kh=xh.compose({baseName:"string-editor",styles:kn,template:zn("rapid")});class zh extends An{}const Sh=zh.compose({baseName:"editable-renderer",styles:On,template:Fn("rapid")});class Ch extends Mn{}const $h=Ch.compose({baseName:"grid-pro-action-renderer",styles:b.css`
|
|
12714
12714
|
${jn}
|
|
12715
12715
|
`,template:b.html`
|
|
12716
12716
|
<div class="action-container" part="action-container">
|
|
@@ -12728,12 +12728,12 @@
|
|
|
12728
12728
|
`:e.params.actionName}
|
|
12729
12729
|
</rapid-button>
|
|
12730
12730
|
</div>
|
|
12731
|
-
`});class
|
|
12731
|
+
`});class Ah extends Gn{}const Oh=Ah.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
|
|
12732
12732
|
<rapid-actions-menu
|
|
12733
12733
|
name="${e=>e.params.headerName}"
|
|
12734
12734
|
:definition=${e=>e.params}
|
|
12735
12735
|
></rapid-actions-menu>
|
|
12736
|
-
`});class
|
|
12736
|
+
`});class Fh extends Vn{}const Th=Fh.compose({baseName:"boolean-renderer",styles:Yn,template:Qn("rapid")});const Dh=class extends tl{}.compose({baseName:"grid-text-renderer",styles:ol,template:il("rapid")});const Rh=class extends gl{}.compose({baseName:"select-renderer",styles:sl,template:dl("rapid")}),Nh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Lh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Mh}=v.DesignToken,Ih={backgroundColor:Mh("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Lh.backgroundSwatch:Nh.backgroundSwatch)),borderColor:Mh("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Lh.borderSwatch:Nh.borderSwatch)),foregroundColor:Mh("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Lh.foregroundSwatch:Nh.foregroundSwatch)),headerForegroundColor:Mh("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Lh.headerForegroundSwatch:Nh.headerForegroundSwatch)),rowHoverColor:Mh("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Lh.rowHoverSwatch:Nh.rowHoverSwatch))},jh=b.css`
|
|
12737
12737
|
.ag-theme-genesis-rapid,
|
|
12738
12738
|
.ag-theme-genesis-rapid-dark {
|
|
12739
12739
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13194,76 +13194,76 @@
|
|
|
13194
13194
|
.ag-theme-genesis-rapid-dark {
|
|
13195
13195
|
color-scheme: dark;
|
|
13196
13196
|
}
|
|
13197
|
-
`,
|
|
13198
|
-
${
|
|
13199
|
-
${Ui(Eh
|
|
13197
|
+
`,Eh={[Mi.backgroundColor]:Ih.backgroundColor,[Mi.foregroundColor]:Ih.foregroundColor,[Mi.oddRowBackgroundColor]:Ih.backgroundColor,[Mi.headerBackgroundColor]:Ih.backgroundColor,[Mi.headerForegroundColor]:Ih.headerForegroundColor,[Mi.selectedRowBackgroundColor]:Ih.rowHoverColor,[Mi.rowHoverColor]:Ih.rowHoverColor,[Mi.borderColor]:Ih.borderColor,[Mi.rowBorderColor]:Ih.rowHoverColor,[Mi.modalOverlayBackgroundColor]:Ih.backgroundColor,[Mi.inputFocusBoxShadow]:Ih.headerForegroundColor,[Mi.inputFocusBorderColor]:Ih.headerForegroundColor,[Mi.headerColumnResizeHandleColor]:Ih.headerForegroundColor},Ph="ag-theme-genesis-rapid",Bh=b.css`
|
|
13198
|
+
${jh}
|
|
13199
|
+
${Ui(Ph,Eh)}
|
|
13200
13200
|
|
|
13201
|
-
.${
|
|
13201
|
+
.${Ph} {
|
|
13202
13202
|
${Qe()}
|
|
13203
13203
|
font-family: var(--body-font);
|
|
13204
13204
|
}
|
|
13205
13205
|
|
|
13206
|
-
.${
|
|
13207
|
-
.${
|
|
13208
|
-
.${
|
|
13206
|
+
.${Ph} .ag-body .ag-body-viewport,
|
|
13207
|
+
.${Ph} .ag-header,
|
|
13208
|
+
.${Ph} .ag-row {
|
|
13209
13209
|
background-color: var(--neutral-layer-4);
|
|
13210
13210
|
}
|
|
13211
13211
|
|
|
13212
|
-
.${
|
|
13212
|
+
.${Ph} .ag-header {
|
|
13213
13213
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13214
13214
|
font-weight: bold;
|
|
13215
13215
|
font-size: var(--type-ramp-base-font-size);
|
|
13216
13216
|
}
|
|
13217
13217
|
|
|
13218
|
-
.${
|
|
13218
|
+
.${Ph} .ag-root-wrapper {
|
|
13219
13219
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13220
13220
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13221
13221
|
}
|
|
13222
13222
|
|
|
13223
|
-
.${
|
|
13223
|
+
.${Ph} .ag-cell {
|
|
13224
13224
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13225
13225
|
}
|
|
13226
|
-
`,
|
|
13227
|
-
${
|
|
13228
|
-
${Ui(Eh
|
|
13226
|
+
`,Gh="ag-theme-genesis-rapid-dark",_h=b.css`
|
|
13227
|
+
${jh}
|
|
13228
|
+
${Ui(Ph,Eh)}
|
|
13229
13229
|
|
|
13230
|
-
.${
|
|
13230
|
+
.${Gh} {
|
|
13231
13231
|
${Qe()}
|
|
13232
13232
|
font-family: var(--body-font);
|
|
13233
13233
|
}
|
|
13234
13234
|
|
|
13235
|
-
.${
|
|
13236
|
-
.${
|
|
13237
|
-
.${
|
|
13235
|
+
.${Gh} .ag-body .ag-body-viewport,
|
|
13236
|
+
.${Gh} .ag-header,
|
|
13237
|
+
.${Gh} .ag-row {
|
|
13238
13238
|
background-color: var(--neutral-layer-4);
|
|
13239
13239
|
}
|
|
13240
13240
|
|
|
13241
|
-
.${
|
|
13241
|
+
.${Gh} .ag-header {
|
|
13242
13242
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13243
13243
|
font-weight: bold;
|
|
13244
13244
|
font-size: var(--type-ramp-base-font-size);
|
|
13245
13245
|
}
|
|
13246
13246
|
|
|
13247
|
-
.${
|
|
13247
|
+
.${Gh} .ag-root-wrapper {
|
|
13248
13248
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13249
13249
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13250
13250
|
}
|
|
13251
13251
|
|
|
13252
|
-
.${
|
|
13252
|
+
.${Gh} .ag-cell {
|
|
13253
13253
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13254
13254
|
}
|
|
13255
|
-
`,
|
|
13255
|
+
`,Uh=b.css`
|
|
13256
13256
|
/* All the AG themes */
|
|
13257
13257
|
${cg}
|
|
13258
13258
|
|
|
13259
13259
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
13260
|
-
${
|
|
13261
|
-
${
|
|
13260
|
+
${Bh}
|
|
13261
|
+
${_h}
|
|
13262
13262
|
|
|
13263
13263
|
.error {
|
|
13264
13264
|
border-color: ${$e.shortPink} !important;
|
|
13265
13265
|
}
|
|
13266
|
-
`,
|
|
13266
|
+
`,Hh=pg,Vh="ag-theme-genesis-rapid-dark";const Yh=yg,Qh=xg,Wh={rapidAgEditableRenderer:Sh,rapidAgActionRenderer:$h,rapidAgActionsMenuRenderer:Oh,rapidAgBooleanRenderer:Th,rapidAgTextRenderer:Dh,rapidAgSelectRenderer:Rh,rapidAgDateEditor:hh,rapidAgMultiselectEditor:bh,rapidAgSelectEditor:fh,rapidAgNumberEditor:yh,rapidAgStringEditor:kh,rapidGridPro:class extends wg{constructor(){super(...arguments),this.theme=Vh}themeChanged(e,a){(e||a===Vh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Hi.action]:Ch,[Hi.actionsMenu]:Ah,[Hi.boolean]:Fh,[Hi.editable]:zh,[Hi.selectEditor]:vh,[Hi.numberEditor]:wh,[Hi.multiselectEditor]:mh,[Hi.dateEditor]:uh,[Hi.stringEditor]:xh};(this.theme===Ph||this.theme===Gh)&&(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:Hh,styles:Uh,shadowOptions:Yh},Qh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var qh,Jh=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(qh||(qh={}));const Zh={Roboto:Ye,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},Kh=Zh["Segoe UI"],Xh=b.css`
|
|
13267
13267
|
${(0,v.display)("block")} :host {
|
|
13268
13268
|
width: 100%;
|
|
13269
13269
|
display: inline-flex;
|
|
@@ -13395,7 +13395,7 @@
|
|
|
13395
13395
|
alpha-button {
|
|
13396
13396
|
margin: 0;
|
|
13397
13397
|
}
|
|
13398
|
-
`,
|
|
13398
|
+
`,em=b.html`
|
|
13399
13399
|
<template>
|
|
13400
13400
|
<div class="configuration">
|
|
13401
13401
|
${(0,b.when)((e=>!e.customDesignMode),b.html`
|
|
@@ -13603,7 +13603,7 @@
|
|
|
13603
13603
|
</div>
|
|
13604
13604
|
</div>
|
|
13605
13605
|
${(0,b.when)((e=>!e.customDesignMode),b.html`
|
|
13606
|
-
<alpha-checkbox :checked="${(0,Zn.
|
|
13606
|
+
<alpha-checkbox :checked="${(0,Zn.O)((e=>e.preserveOptions),"boolean")}">
|
|
13607
13607
|
Preserve selected options when changing design systems
|
|
13608
13608
|
</alpha-checkbox>
|
|
13609
13609
|
`)}
|
|
@@ -13618,7 +13618,7 @@
|
|
|
13618
13618
|
<slot></slot>
|
|
13619
13619
|
</div>
|
|
13620
13620
|
</template>
|
|
13621
|
-
`,
|
|
13621
|
+
`,am=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(Zh).find((a=>Zh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),rm=am(Ze),tm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},om={accent:"primary",neutral:"secondary",font:"white"},im=am(l.designTokens),nm=am(dd),lm={zero:{prefix:"zero",tokenDefaults:rm,buttons:tm,badge:om},alpha:{prefix:"alpha",tokenDefaults:im,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:nm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:tm,badge:om}};let gm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=rm.luminance===f.StandardLuminance.DarkMode,this.luminance=rm.luminance,this.neutralColor=rm.neutralColor,this.accentColor=rm.accentColor,this.bodyFont=rm.bodyFont,this.density=rm.density,this.borderRadius=rm.borderRadius,this.strokeWidth=rm.strokeWidth,this.designUnit=rm.designUnit,this.baseFontSize=rm.baseFontSize,this.baseLineHeight=rm.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof v.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof f.Combobox||e.target instanceof f.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof v.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?f.StandardLuminance.DarkMode:f.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=am(a);lm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Jh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(lm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Jh.__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:lm[this.ds].prefix,buttonAppearanceAccent:lm[this.ds].buttons.accent,buttonAppearanceNeutral:lm[this.ds].buttons.neutral,buttonAppearanceOutline:lm[this.ds].buttons.outline,buttonAppearanceText:lm[this.ds].buttons.text,badgeAppearanceAccent:lm[this.ds].badge.accent,badgeAppearanceNeutral:lm[this.ds].badge.neutral,badgeText:lm[this.ds].badge.font};this.$emit(qh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(lm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Zh[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(qh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===f.StandardLuminance.DarkMode,b.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ve(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(qh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Jh.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],gm.prototype,"customDesignMode",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"designSystems",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"ds",void 0),(0,Jh.__decorate)([b.attr],gm.prototype,"darkMode",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"neutralColor",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"accentColor",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"bodyFont",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"density",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"borderRadius",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"strokeWidth",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"designUnit",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"baseFontSize",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"baseLineHeight",void 0),(0,Jh.__decorate)([b.observable],gm.prototype,"preserveOptions",void 0),gm=(0,Jh.__decorate)([(0,b.customElement)({name:"design-system-editor",template:em,styles:Xh})],gm);const sm=(0,k.createLogger)("documentation-components"),dm=e=>{const a=(e=>{const a=(0,Ae.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},cm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},pm=(e,a)=>{const r=dm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=dm(e.accentColor);f.accentPalette.setValueFor(a,t),f.baseLayerLuminance.setValueFor(a,e.luminance),f.density.setValueFor(a,e.density),f.controlCornerRadius.setValueFor(a,e.borderRadius),f.strokeWidth.setValueFor(a,e.strokeWidth),f.designUnit.setValueFor(a,e.designUnit),f.bodyFont.setValueFor(a,e.bodyFont),f.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),f.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),f.typeRampMinus1FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,cm(f.typeRampBaseFontSize,He.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,cm(f.typeRampBaseLineHeight,He.Du.plusSix,a))},um=b.css`
|
|
13622
13622
|
:host {
|
|
13623
13623
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13624
13624
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13714,7 +13714,7 @@
|
|
|
13714
13714
|
display: flex;
|
|
13715
13715
|
flex-direction: column;
|
|
13716
13716
|
}
|
|
13717
|
-
`,
|
|
13717
|
+
`,hm=b.html`
|
|
13718
13718
|
${e=>(e=>b.html`
|
|
13719
13719
|
<template>
|
|
13720
13720
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14126,7 +14126,7 @@
|
|
|
14126
14126
|
</${e}-design-system-provider>
|
|
14127
14127
|
</template>
|
|
14128
14128
|
`)(e.prefix)}
|
|
14129
|
-
`;let
|
|
14129
|
+
`;let mm=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>sm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>sm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>sm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>sm.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(qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(qh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Kh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{pm(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,Jh.__decorate)([b.observable],mm.prototype,"modal",void 0),(0,Jh.__decorate)([b.attr],mm.prototype,"prefix",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"buttonAppearanceAccent",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"buttonAppearanceNeutral",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"buttonAppearanceOutline",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"buttonAppearanceText",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"badgeAppearanceAccent",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"badgeAppearanceNeutral",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"badgeText",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"cards",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"countries",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"menuActions",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"menuDefinition",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"dropDownMenuItems",void 0),(0,Jh.__decorate)([b.observable],mm.prototype,"provider",void 0),mm=(0,Jh.__decorate)([(0,b.customElement)({name:"preview-components",template:hm,styles:um})],mm);const bm=b.css`
|
|
14130
14130
|
.export {
|
|
14131
14131
|
display: flex;
|
|
14132
14132
|
justify-content: center;
|
|
@@ -14137,7 +14137,7 @@
|
|
|
14137
14137
|
display: flex;
|
|
14138
14138
|
justify-content: space-between;
|
|
14139
14139
|
}
|
|
14140
|
-
`,
|
|
14140
|
+
`,vm=b.html`
|
|
14141
14141
|
<template>
|
|
14142
14142
|
<div class="export">
|
|
14143
14143
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
@@ -14158,7 +14158,7 @@
|
|
|
14158
14158
|
</alpha-modal>
|
|
14159
14159
|
</div>
|
|
14160
14160
|
</template>
|
|
14161
|
-
`;let
|
|
14161
|
+
`;let fm=class extends b.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{sm.log("Tokens saved successfully:",e),this.$emit(qh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{sm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Jh.__decorate)([b.attr],fm.prototype,"value",void 0),(0,Jh.__decorate)([b.attr],fm.prototype,"tokensPath",void 0),fm=(0,Jh.__decorate)([(0,b.customElement)({name:"design-system-export",template:vm,styles:bm})],fm);const wm=b.css`
|
|
14162
14162
|
.colors {
|
|
14163
14163
|
display: flex;
|
|
14164
14164
|
flex-wrap: wrap;
|
|
@@ -14171,23 +14171,23 @@
|
|
|
14171
14171
|
flex-grow: 1;
|
|
14172
14172
|
height: 20px;
|
|
14173
14173
|
}
|
|
14174
|
-
`,
|
|
14174
|
+
`,ym=b.html`
|
|
14175
14175
|
<ul class="colors">
|
|
14176
14176
|
${(0,b.repeat)((e=>e.swatches),b.html`
|
|
14177
14177
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14178
14178
|
`)}
|
|
14179
14179
|
</ul>
|
|
14180
|
-
`;let
|
|
14180
|
+
`;let xm=class extends b.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){f[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=dm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Jh.__decorate)([b.observable],xm.prototype,"swatches",void 0),(0,Jh.__decorate)([b.attr],xm.prototype,"type",void 0),xm=(0,Jh.__decorate)([(0,b.customElement)({name:"color-palette",styles:wm,template:ym})],xm);const km=b.css`
|
|
14181
14181
|
.preview {
|
|
14182
14182
|
width: 40px;
|
|
14183
14183
|
height: 40px;
|
|
14184
14184
|
}
|
|
14185
|
-
`,
|
|
14185
|
+
`,zm=b.html`
|
|
14186
14186
|
<div
|
|
14187
14187
|
class="preview"
|
|
14188
14188
|
style="background-color: ${e=>f[e.tokenName].createCSS()}"
|
|
14189
14189
|
></div>
|
|
14190
|
-
`;let
|
|
14190
|
+
`;let Sm=class extends b.FASTElement{};(0,Jh.__decorate)([b.attr],Sm.prototype,"tokenName",void 0),Sm=(0,Jh.__decorate)([(0,b.customElement)({name:"color-token",styles:km,template:zm})],Sm);const Cm=b.css`
|
|
14191
14191
|
.container {
|
|
14192
14192
|
display: flex;
|
|
14193
14193
|
width: 100%;
|
|
@@ -14235,7 +14235,7 @@
|
|
|
14235
14235
|
.container > div:not(:last-child) {
|
|
14236
14236
|
border-right: 1px solid #fafafa;
|
|
14237
14237
|
}
|
|
14238
|
-
|
|
14238
|
+
`,$m=[{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"}]}]}],Am=b.html`
|
|
14239
14239
|
<div class="row">
|
|
14240
14240
|
<div
|
|
14241
14241
|
class="preview"
|
|
@@ -14247,19 +14247,19 @@
|
|
|
14247
14247
|
${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
14248
14248
|
</div>
|
|
14249
14249
|
</div>
|
|
14250
|
-
|
|
14250
|
+
`,Om=b.html`
|
|
14251
14251
|
<div class="container" ${(0,b.ref)("provider")}>
|
|
14252
|
-
${(0,b.repeat)((()
|
|
14252
|
+
${(0,b.repeat)((()=>$m),b.html`
|
|
14253
14253
|
<div class="column">
|
|
14254
14254
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
14255
14255
|
${(0,b.repeat)((e=>e.subcategories),b.html`
|
|
14256
14256
|
<h4>${e=>e.title}</h4>
|
|
14257
|
-
${(0,b.repeat)((e=>e.tokens),
|
|
14257
|
+
${(0,b.repeat)((e=>e.tokens),Am)}
|
|
14258
14258
|
`)}
|
|
14259
14259
|
</div>
|
|
14260
14260
|
`)}
|
|
14261
14261
|
</div>
|
|
14262
|
-
`;let
|
|
14262
|
+
`;let Fm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(qh.STYLES_CHANGED,(e=>{const a=e.detail;pm(a,this.provider)}))}};(0,Jh.__decorate)([b.observable],Fm.prototype,"provider",void 0),Fm=(0,Jh.__decorate)([(0,b.customElement)({name:"color-tokens",template:Om,styles:Cm})],Fm);const Tm=b.css`
|
|
14263
14263
|
table {
|
|
14264
14264
|
background: var(--neutral-fill-rest);
|
|
14265
14265
|
color: var(--neutral-foreground-rest);
|
|
@@ -14268,7 +14268,7 @@
|
|
|
14268
14268
|
th {
|
|
14269
14269
|
text-align: left;
|
|
14270
14270
|
}
|
|
14271
|
-
`,
|
|
14271
|
+
`,Dm=b.html`
|
|
14272
14272
|
<table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
|
|
14273
14273
|
<colgroup>
|
|
14274
14274
|
<col style="width: 15%;" />
|
|
@@ -14496,7 +14496,7 @@
|
|
|
14496
14496
|
</tr>
|
|
14497
14497
|
</tbody>
|
|
14498
14498
|
</table>
|
|
14499
|
-
`;let
|
|
14499
|
+
`;let Rm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(qh.STYLES_CHANGED,(e=>{const a=e.detail;pm(a,this.provider)}))}};(0,Jh.__decorate)([b.observable],Rm.prototype,"provider",void 0),Rm=(0,Jh.__decorate)([(0,b.customElement)({name:"typography-tokens",template:Dm,styles:Tm})],Rm);const Nm=b.css`
|
|
14500
14500
|
:host {
|
|
14501
14501
|
background: var(--fill-color);
|
|
14502
14502
|
color: var(--neutral-foreground-rest);
|
|
@@ -14512,7 +14512,7 @@
|
|
|
14512
14512
|
margin-top: 24px;
|
|
14513
14513
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14514
14514
|
}
|
|
14515
|
-
`,
|
|
14515
|
+
`,Lm=b.html`
|
|
14516
14516
|
<template>
|
|
14517
14517
|
<alpha-tabs>
|
|
14518
14518
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14541,7 +14541,7 @@
|
|
|
14541
14541
|
</alpha-tab-panel>
|
|
14542
14542
|
</alpha-tabs>
|
|
14543
14543
|
</template>
|
|
14544
|
-
`;let
|
|
14544
|
+
`;let Mm=class extends b.FASTElement{};Mm=(0,Jh.__decorate)([(0,b.customElement)({name:"design-system-preview",template:Lm,styles:Nm})],Mm);const Im={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"}]}]}}]},jm={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"]}}},Em={type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},Pm={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},Bm=b.css`
|
|
14545
14545
|
:host {
|
|
14546
14546
|
background: var(--fill-color);
|
|
14547
14547
|
color: var(--neutral-foreground-rest);
|
|
@@ -14572,7 +14572,7 @@
|
|
|
14572
14572
|
zero-design-system-provider {
|
|
14573
14573
|
display: inline;
|
|
14574
14574
|
}
|
|
14575
|
-
`,
|
|
14575
|
+
`,Gm=b.html`
|
|
14576
14576
|
${e=>(e=>b.html`
|
|
14577
14577
|
<template>
|
|
14578
14578
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14596,7 +14596,7 @@
|
|
|
14596
14596
|
</${e}-design-system-provider>
|
|
14597
14597
|
</template>
|
|
14598
14598
|
`)(e.prefix)}
|
|
14599
|
-
`;let
|
|
14599
|
+
`;let _m=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=jm,this.uischema=Im,this.jsonSchemaArray=Pm,this.uiSchemaArray=Em,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(qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(qh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Kh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{pm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Jh.__decorate)([b.observable],_m.prototype,"jsonSchema",void 0),(0,Jh.__decorate)([b.observable],_m.prototype,"uischema",void 0),(0,Jh.__decorate)([b.observable],_m.prototype,"jsonSchemaArray",void 0),(0,Jh.__decorate)([b.observable],_m.prototype,"uiSchemaArray",void 0),(0,Jh.__decorate)([b.attr],_m.prototype,"prefix",void 0),(0,Jh.__decorate)([b.observable],_m.prototype,"provider",void 0),(0,Jh.__decorate)([b.observable],_m.prototype,"editedEntity",void 0),(0,Jh.__decorate)([b.observable],_m.prototype,"editedEntityArray",void 0),_m=(0,Jh.__decorate)([(0,b.customElement)({name:"preview-form",template:Gm,styles:Bm})],_m);const Um=b.css`
|
|
14600
14600
|
:host {
|
|
14601
14601
|
background: var(--fill-color);
|
|
14602
14602
|
color: var(--neutral-foreground-rest);
|
|
@@ -14611,7 +14611,7 @@
|
|
|
14611
14611
|
.grid-height {
|
|
14612
14612
|
height: 450px;
|
|
14613
14613
|
}
|
|
14614
|
-
`,
|
|
14614
|
+
`,Hm=b.html`
|
|
14615
14615
|
${e=>(e=>b.html`
|
|
14616
14616
|
<template>
|
|
14617
14617
|
<${e}-design-system-provider ${(0,b.ref)("provider")}>
|
|
@@ -14621,5 +14621,5 @@
|
|
|
14621
14621
|
</${e}-design-system-provider>
|
|
14622
14622
|
</template>
|
|
14623
14623
|
`)(e.prefix)}
|
|
14624
|
-
`;let
|
|
14625
|
-
//# sourceMappingURL=
|
|
14624
|
+
`;let Vm=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(qh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Kh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{pm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Jh.__decorate)([b.observable],Vm.prototype,"grid",void 0),(0,Jh.__decorate)([b.attr],Vm.prototype,"prefix",void 0),(0,Jh.__decorate)([b.observable],Vm.prototype,"provider",void 0),(0,Jh.__decorate)([b.observable],Vm.prototype,"rowData",void 0),(0,Jh.__decorate)([b.observable],Vm.prototype,"columnDefs",void 0),(0,Jh.__decorate)([b.observable],Vm.prototype,"gridOptions",void 0),Vm=(0,Jh.__decorate)([(0,b.customElement)({name:"preview-grid",template:Hm,styles:Um})],Vm),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Li,Eg),(0,l.provideDesignSystem)().register(l.baseComponents,Pg),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(ph,Wh)}}]);
|
|
14625
|
+
//# sourceMappingURL=801.bcc9e7b8efd00c1be2da86e59fcc7b8e.js.map
|