@genesislcap/design-system-configurator 14.29.2 → 14.30.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.
Files changed (20) hide show
  1. package/dist/{361.361.037adbf17809784868fe.js → 361.361.f217692abf5c28bd6c32.js} +1 -1
  2. package/dist/430.430.b65562d8373e78e48543.js +2 -0
  3. package/dist/{430.858b1d559d30dd2fee3907c73460b51a.js.map → 430.d3832550663b4a658193ecf344e974ce.js.map} +1 -1
  4. package/dist/{635.38cec8b6c5f020b56134cc3d6be29a00.js.map → 635.38e70aa45136b390539327f59ae021d9.js.map} +1 -1
  5. package/dist/{635.635.f437c5dcfcfe7fb19b7c.js → 635.635.f9541365c603bd45d369.js} +3 -3
  6. package/dist/{688.688.d66ffe0929d9208fe0fe.js → 688.688.7af8a928df6dc1eca836.js} +2 -2
  7. package/dist/{688.adeed591009190c043d09ef855b29a2d.js.map → 688.71f7caa7c5596ce9e8a7070671133f13.js.map} +1 -1
  8. package/dist/{755.755.dea6e94724386a64cb05.js → 755.755.d93d00347e79c35fe3e5.js} +1 -1
  9. package/dist/785.3a74aca3ad0cdc8307d1e902d3e60df1.js.map +1 -0
  10. package/dist/{785.785.87ad0084532e56d35c34.js → 785.785.93b2ac538d2db16f01e6.js} +111 -113
  11. package/dist/{designSystemConfigurator.4232303e54d674a1ae64faa66bbce9eb.js.map → designSystemConfigurator.165b2ffdceef06bee0a3a9177b2a3a75.js.map} +1 -1
  12. package/dist/index.html +1 -1
  13. package/dist/info.html +4 -4
  14. package/dist/{main.ee3cb8719cb133a7c15d747d89906877.js.map → main.f668940c5989e63738f3a6cb3a6e2a41.js.map} +1 -1
  15. package/dist/{main.3506949d3eea284cfaf9.js → main.fd07b581d6d5c0535d8b.js} +2 -2
  16. package/dist/remoteEntry.js +2 -2
  17. package/package.json +7 -7
  18. package/dist/430.430.fedd44bef96db51a05e8.js +0 -2
  19. package/dist/785.16fa5838b60c443782981523eee817f5.js.map +0 -1
  20. /package/dist/{785.785.87ad0084532e56d35c34.js.LICENSE.txt → 785.785.93b2ac538d2db16f01e6.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([[635],{64635:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Gn,ColorToken:()=>Yn,ColorTokens:()=>Jn,DesignSystemEditor:()=>Fn,DesignSystemExport:()=>Pn,DesignSystemPreview:()=>rl,EventName:()=>wn,PreviewComponents:()=>jn,PreviewForm:()=>dl,TypographyTokens:()=>Xn,defaultBodyFont:()=>zn,fontFamilies:()=>xn});var t={};r.r(t),r.d(t,{accentFillActive:()=>p.accentFillActive,accentFillActiveDelta:()=>p.accentFillActiveDelta,accentFillFocus:()=>p.accentFillFocus,accentFillFocusDelta:()=>p.accentFillFocusDelta,accentFillHover:()=>p.accentFillHover,accentFillHoverDelta:()=>p.accentFillHoverDelta,accentFillRest:()=>p.accentFillRest,accentFillRestDelta:()=>p.accentFillRestDelta,accentForegroundActive:()=>p.accentForegroundActive,accentForegroundActiveDelta:()=>p.accentForegroundActiveDelta,accentForegroundFocus:()=>p.accentForegroundFocus,accentForegroundFocusDelta:()=>p.accentForegroundFocusDelta,accentForegroundHover:()=>p.accentForegroundHover,accentForegroundHoverDelta:()=>p.accentForegroundHoverDelta,accentForegroundRest:()=>p.accentForegroundRest,accentForegroundRestDelta:()=>p.accentForegroundRestDelta,accentPalette:()=>p.accentPalette,baseHeightMultiplier:()=>p.baseHeightMultiplier,baseLayerLuminance:()=>p.baseLayerLuminance,bodyFont:()=>p.bodyFont,controlCornerRadius:()=>p.controlCornerRadius,density:()=>p.density,designUnit:()=>p.designUnit,direction:()=>p.direction,disabledOpacity:()=>p.disabledOpacity,fillColor:()=>p.fillColor,focusStrokeInner:()=>p.focusStrokeInner,focusStrokeOuter:()=>p.focusStrokeOuter,focusStrokeWidth:()=>p.focusStrokeWidth,foregroundOnAccentActive:()=>p.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>p.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>p.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>p.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>p.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>p.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>p.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>p.foregroundOnAccentRestLarge,neutralFillActive:()=>p.neutralFillActive,neutralFillActiveDelta:()=>p.neutralFillActiveDelta,neutralFillFocus:()=>p.neutralFillFocus,neutralFillFocusDelta:()=>p.neutralFillFocusDelta,neutralFillHover:()=>p.neutralFillHover,neutralFillHoverDelta:()=>p.neutralFillHoverDelta,neutralFillInputActive:()=>p.neutralFillInputActive,neutralFillInputActiveDelta:()=>p.neutralFillInputActiveDelta,neutralFillInputFocus:()=>p.neutralFillInputFocus,neutralFillInputFocusDelta:()=>p.neutralFillInputFocusDelta,neutralFillInputHover:()=>p.neutralFillInputHover,neutralFillInputHoverDelta:()=>p.neutralFillInputHoverDelta,neutralFillInputRest:()=>p.neutralFillInputRest,neutralFillInputRestDelta:()=>p.neutralFillInputRestDelta,neutralFillLayerRest:()=>p.neutralFillLayerRest,neutralFillLayerRestDelta:()=>p.neutralFillLayerRestDelta,neutralFillRest:()=>p.neutralFillRest,neutralFillRestDelta:()=>p.neutralFillRestDelta,neutralFillStealthActive:()=>p.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>p.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>p.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>p.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>p.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>p.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>p.neutralFillStealthRest,neutralFillStealthRestDelta:()=>p.neutralFillStealthRestDelta,neutralFillStrongActive:()=>p.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>p.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>p.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>p.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>p.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>p.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>p.neutralFillStrongRest,neutralFillStrongRestDelta:()=>p.neutralFillStrongRestDelta,neutralForegroundHint:()=>p.neutralForegroundHint,neutralForegroundRest:()=>p.neutralForegroundRest,neutralLayer1:()=>p.neutralLayer1,neutralLayer2:()=>p.neutralLayer2,neutralLayer3:()=>p.neutralLayer3,neutralLayer4:()=>p.neutralLayer4,neutralLayerCardContainer:()=>p.neutralLayerCardContainer,neutralLayerFloating:()=>p.neutralLayerFloating,neutralPalette:()=>p.neutralPalette,neutralStrokeActive:()=>p.neutralStrokeActive,neutralStrokeActiveDelta:()=>p.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>p.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>p.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>p.neutralStrokeFocus,neutralStrokeFocusDelta:()=>p.neutralStrokeFocusDelta,neutralStrokeHover:()=>p.neutralStrokeHover,neutralStrokeHoverDelta:()=>p.neutralStrokeHoverDelta,neutralStrokeRest:()=>p.neutralStrokeRest,neutralStrokeRestDelta:()=>p.neutralStrokeRestDelta,strokeWidth:()=>p.strokeWidth,typeRampBaseFontSize:()=>p.typeRampBaseFontSize,typeRampBaseLineHeight:()=>p.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>p.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>p.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>p.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>p.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>p.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>p.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>p.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>p.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>p.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>p.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>p.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>p.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>p.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>p.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>p.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>p.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>se,baseLayerLuminanceValue:()=>pe,bodyFontValue:()=>xe,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Se,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ze,typeRampBaseLineHeightValue:()=>ke});var i=r(99905),n=r(92592),l=r(62646),g=r(6853),d=r(60724),s=r(83147),c=r(75951),p=r(13896),u=r(67973);const h=s.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[635],{64635:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Gn,ColorToken:()=>Yn,ColorTokens:()=>Jn,DesignSystemEditor:()=>Fn,DesignSystemExport:()=>Pn,DesignSystemPreview:()=>rl,EventName:()=>wn,PreviewComponents:()=>jn,PreviewForm:()=>dl,TypographyTokens:()=>Xn,defaultBodyFont:()=>zn,fontFamilies:()=>xn});var t={};r.r(t),r.d(t,{accentFillActive:()=>p.accentFillActive,accentFillActiveDelta:()=>p.accentFillActiveDelta,accentFillFocus:()=>p.accentFillFocus,accentFillFocusDelta:()=>p.accentFillFocusDelta,accentFillHover:()=>p.accentFillHover,accentFillHoverDelta:()=>p.accentFillHoverDelta,accentFillRest:()=>p.accentFillRest,accentFillRestDelta:()=>p.accentFillRestDelta,accentForegroundActive:()=>p.accentForegroundActive,accentForegroundActiveDelta:()=>p.accentForegroundActiveDelta,accentForegroundFocus:()=>p.accentForegroundFocus,accentForegroundFocusDelta:()=>p.accentForegroundFocusDelta,accentForegroundHover:()=>p.accentForegroundHover,accentForegroundHoverDelta:()=>p.accentForegroundHoverDelta,accentForegroundRest:()=>p.accentForegroundRest,accentForegroundRestDelta:()=>p.accentForegroundRestDelta,accentPalette:()=>p.accentPalette,baseHeightMultiplier:()=>p.baseHeightMultiplier,baseLayerLuminance:()=>p.baseLayerLuminance,bodyFont:()=>p.bodyFont,controlCornerRadius:()=>p.controlCornerRadius,density:()=>p.density,designUnit:()=>p.designUnit,direction:()=>p.direction,disabledOpacity:()=>p.disabledOpacity,fillColor:()=>p.fillColor,focusStrokeInner:()=>p.focusStrokeInner,focusStrokeOuter:()=>p.focusStrokeOuter,focusStrokeWidth:()=>p.focusStrokeWidth,foregroundOnAccentActive:()=>p.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>p.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>p.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>p.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>p.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>p.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>p.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>p.foregroundOnAccentRestLarge,neutralFillActive:()=>p.neutralFillActive,neutralFillActiveDelta:()=>p.neutralFillActiveDelta,neutralFillFocus:()=>p.neutralFillFocus,neutralFillFocusDelta:()=>p.neutralFillFocusDelta,neutralFillHover:()=>p.neutralFillHover,neutralFillHoverDelta:()=>p.neutralFillHoverDelta,neutralFillInputActive:()=>p.neutralFillInputActive,neutralFillInputActiveDelta:()=>p.neutralFillInputActiveDelta,neutralFillInputFocus:()=>p.neutralFillInputFocus,neutralFillInputFocusDelta:()=>p.neutralFillInputFocusDelta,neutralFillInputHover:()=>p.neutralFillInputHover,neutralFillInputHoverDelta:()=>p.neutralFillInputHoverDelta,neutralFillInputRest:()=>p.neutralFillInputRest,neutralFillInputRestDelta:()=>p.neutralFillInputRestDelta,neutralFillLayerRest:()=>p.neutralFillLayerRest,neutralFillLayerRestDelta:()=>p.neutralFillLayerRestDelta,neutralFillRest:()=>p.neutralFillRest,neutralFillRestDelta:()=>p.neutralFillRestDelta,neutralFillStealthActive:()=>p.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>p.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>p.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>p.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>p.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>p.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>p.neutralFillStealthRest,neutralFillStealthRestDelta:()=>p.neutralFillStealthRestDelta,neutralFillStrongActive:()=>p.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>p.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>p.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>p.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>p.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>p.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>p.neutralFillStrongRest,neutralFillStrongRestDelta:()=>p.neutralFillStrongRestDelta,neutralForegroundHint:()=>p.neutralForegroundHint,neutralForegroundRest:()=>p.neutralForegroundRest,neutralLayer1:()=>p.neutralLayer1,neutralLayer2:()=>p.neutralLayer2,neutralLayer3:()=>p.neutralLayer3,neutralLayer4:()=>p.neutralLayer4,neutralLayerCardContainer:()=>p.neutralLayerCardContainer,neutralLayerFloating:()=>p.neutralLayerFloating,neutralPalette:()=>p.neutralPalette,neutralStrokeActive:()=>p.neutralStrokeActive,neutralStrokeActiveDelta:()=>p.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>p.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>p.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>p.neutralStrokeFocus,neutralStrokeFocusDelta:()=>p.neutralStrokeFocusDelta,neutralStrokeHover:()=>p.neutralStrokeHover,neutralStrokeHoverDelta:()=>p.neutralStrokeHoverDelta,neutralStrokeRest:()=>p.neutralStrokeRest,neutralStrokeRestDelta:()=>p.neutralStrokeRestDelta,strokeWidth:()=>p.strokeWidth,typeRampBaseFontSize:()=>p.typeRampBaseFontSize,typeRampBaseLineHeight:()=>p.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>p.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>p.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>p.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>p.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>p.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>p.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>p.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>p.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>p.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>p.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>p.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>p.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>p.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>p.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>p.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>p.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>se,baseLayerLuminanceValue:()=>pe,bodyFontValue:()=>xe,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Se,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ze,typeRampBaseLineHeightValue:()=>ke});var i=r(88215),n=r(92592),l=r(62646),g=r(21216),d=r(60724),s=r(83147),c=r(75951),p=r(13896),u=r(67973);const h=s.css`
2
2
  :host {
3
3
  border: calc(${p.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -466,7 +466,7 @@
466
466
  </control-wrapper>
467
467
  </template>
468
468
  `)(e.prefix)}
469
- `,ee=(0,g.createLogger)("foundation-form"),ae={renderer:X,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},re=[{renderer:X,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},ae,N,V,Y,_,Q,q,W,K,j,U,I,P,G];let te=class extends c.FoundationElement{constructor(){super(...arguments),this.renderers=re,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,ee.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,n.__awaiter)(this,void 0,void 0,(function*(){this.removeDataProperties()&&(yield s.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(ee.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})}}))}onChange(e){ee.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(){this.submitted=!1,this.data={}}};(0,n.__decorate)([s.attr],te.prototype,"resourceName",void 0),(0,n.__decorate)([s.observable],te.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],te.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],te.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],te.prototype,"connect",void 0),(0,n.__decorate)([s.observable],te.prototype,"data",void 0),(0,n.__decorate)([s.observable],te.prototype,"submitting",void 0),(0,n.__decorate)([s.observable],te.prototype,"submitted",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],te.prototype,"readonly",void 0),te=(0,n.__decorate)([(0,s.customElement)({name:"foundation-form",template:M,styles:h})],te);var oe,ie,ne,le,ge,de=r(73847);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(oe||(oe={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ie||(ie={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(ne||(ne={})),function(e){e.grey="#7c909b"}(le||(le={})),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"}(ge||(ge={}));const se=(0,de.paletteFromHex)(ie.blue),ce=(0,de.paletteFromHex)(le.grey),pe=p.StandardLuminance.DarkMode;const ue=r(5598).N.ltr,he=p.strokeWidth.getValueFor(p.strokeWidth.appliedTo[0]),me=4,ve=p.density.getValueFor(p.density.appliedTo[0]),be=4,fe=()=>{(0,g.loadFontFaces)("\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")},we='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',ye=(e=g.FontStyle.Normal,a=g.FontWeight.Regular)=>(0,g.getFontMixin)(we,e,a),xe=we,ze=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),ke=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Se={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xe,$type:"fontFamily"}},typography:{baseFontSize:{$value:ze,$type:"dimension"},baseLineHeight:{$value:ke,$type:"dimension"}},mode:{luminance:{$value:pe,$type:"number"}},style:{density:{$value:ve,$type:"number"},borderRadius:{$value:me,$type:"number"},strokeWidth:{$value:he,$type:"number"}},space:{designUnit:{$value:be,$type:"number"}}}};class Ce extends de.ActionsMenu{}const Ae=Ce.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
469
+ `,ee=(0,g.createLogger)("foundation-form"),ae={renderer:X,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},re=[{renderer:X,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},ae,N,V,Y,_,Q,q,W,K,j,U,I,P,G];let te=class extends c.FoundationElement{constructor(){super(...arguments),this.renderers=re,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,ee.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,n.__awaiter)(this,void 0,void 0,(function*(){this.removeDataProperties()&&(yield s.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(ee.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})}}))}onChange(e){ee.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(){this.submitted=!1,this.data={}}};(0,n.__decorate)([s.attr],te.prototype,"resourceName",void 0),(0,n.__decorate)([s.observable],te.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],te.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],te.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],te.prototype,"connect",void 0),(0,n.__decorate)([s.observable],te.prototype,"data",void 0),(0,n.__decorate)([s.observable],te.prototype,"submitting",void 0),(0,n.__decorate)([s.observable],te.prototype,"submitted",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],te.prototype,"readonly",void 0),te=(0,n.__decorate)([(0,s.customElement)({name:"foundation-form",template:M,styles:h})],te);var oe,ie,ne,le,ge,de=r(13431);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(oe||(oe={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ie||(ie={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(ne||(ne={})),function(e){e.grey="#7c909b"}(le||(le={})),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"}(ge||(ge={}));const se=(0,de.paletteFromHex)(ie.blue),ce=(0,de.paletteFromHex)(le.grey),pe=p.StandardLuminance.DarkMode;const ue=r(5598).N.ltr,he=p.strokeWidth.getValueFor(p.strokeWidth.appliedTo[0]),me=4,ve=p.density.getValueFor(p.density.appliedTo[0]),be=4,fe=()=>{(0,g.loadFontFaces)("\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")},we='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',ye=(e=g.FontStyle.Normal,a=g.FontWeight.Regular)=>(0,g.getFontMixin)(we,e,a),xe=we,ze=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),ke=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Se={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xe,$type:"fontFamily"}},typography:{baseFontSize:{$value:ze,$type:"dimension"},baseLineHeight:{$value:ke,$type:"dimension"}},mode:{luminance:{$value:pe,$type:"number"}},style:{density:{$value:ve,$type:"number"},borderRadius:{$value:me,$type:"number"},strokeWidth:{$value:he,$type:"number"}},space:{designUnit:{$value:be,$type:"number"}}}};class Ce extends de.ActionsMenu{}const Ae=Ce.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
470
470
  :host {
471
471
  --actions-opener-heigght-multiplier: 0.6px;
472
472
  --menu-item-height-multiplier: 0.5px;
@@ -11684,4 +11684,4 @@
11684
11684
  </template>
11685
11685
  `;var a}}
11686
11686
  `;let dl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=ol,this.uischema=tl,this.jsonSchemaArray=nl,this.uiSchemaArray=il,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(wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(zn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Nn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,yn.__decorate)([s.observable],dl.prototype,"jsonSchema",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"uischema",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"jsonSchemaArray",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"uiSchemaArray",void 0),(0,yn.__decorate)([s.attr],dl.prototype,"prefix",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"provider",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"editedEntity",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"editedEntityArray",void 0),dl=(0,yn.__decorate)([(0,s.customElement)({name:"preview-form",template:gl,styles:ll})],dl),((e,a="zero")=>{e&&(0,de.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,de.createDesignSystemProxy)(r)})().register(Lo,bn),(0,i.provideDesignSystem)().register(i.baseComponents,fn)}}]);
11687
- //# sourceMappingURL=635.38cec8b6c5f020b56134cc3d6be29a00.js.map
11687
+ //# sourceMappingURL=635.38e70aa45136b390539327f59ae021d9.js.map
@@ -3,11 +3,11 @@
3
3
  <design-system-preview></design-system-preview>
4
4
  <design-system-export slot="export" tokensPath="${e=>e.tokensPath}"></design-system-export>
5
5
  </design-system-editor>
6
- `;var s=n(95286),a=n(93196),i=n(99905),c=n(13896);a.DesignSystemPreview,a.DesignSystemEditor,a.DesignSystemExport;const d=(0,n(6853).createLogger)("desgn-system-configurator");var u=n(90487),p=n.n(u),l=n(80631),f=n.n(l),m=n(52052),h=n.n(m),v=n(64010),g=n.n(v),y=n(11469),b=n.n(y),A=n(9329),C=n.n(A),_=n(15210),E={};E.styleTagTransform=C(),E.setAttributes=g(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b();p()(_.Z,E);_.Z&&_.Z.locals&&_.Z.locals;const S=o.css`
6
+ `;var s=n(95286),a=n(74031),i=n(88215),c=n(13896);a.DesignSystemPreview,a.DesignSystemEditor,a.DesignSystemExport;const d=(0,n(21216).createLogger)("desgn-system-configurator");var u=n(90487),p=n.n(u),l=n(80631),f=n.n(l),m=n(52052),h=n.n(m),v=n(64010),g=n.n(v),y=n(11469),b=n.n(y),A=n(9329),C=n.n(A),_=n(15210),E={};E.styleTagTransform=C(),E.setAttributes=g(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b();p()(_.Z,E);_.Z&&_.Z.locals&&_.Z.locals;const S=o.css`
7
7
  :host {
8
8
  display: flex;
9
9
  height: 100%;
10
10
  overflow: hidden;
11
11
  }
12
12
  `,w="design-system-configurator";let x=class extends o.FASTElement{constructor(){super(...arguments),this.ready=!1}connectedCallback(){super.connectedCallback(),fetch("/api/tokens").then((e=>e.ok&&e.json())).then((e=>{e.design_tokens&&(this.tokensPath=!0,this.$emit(a.EventName.APPLY_CUSTOM_DESIGN,e))})).catch((e=>{console.error("Error fetching path:",e)})),d.debug(`${w} is now connected to the DOM`),this.loadRemotes()}loadRemotes(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){yield(0,s.__awaiter)(void 0,void 0,void 0,(function*(){(0,i.provideDesignSystem)().register(i.baseComponents),(0,c.provideFASTDesignSystem)().register(c.allComponents)}));this.ready=!0}))}};(0,s.__decorate)([o.observable],x.prototype,"ready",void 0),(0,s.__decorate)([o.attr],x.prototype,"tokensPath",void 0),x=(0,s.__decorate)([(0,o.customElement)({name:w,template:r,styles:S})],x)}}]);
13
- //# sourceMappingURL=688.adeed591009190c043d09ef855b29a2d.js.map
13
+ //# sourceMappingURL=688.71f7caa7c5596ce9e8a7070671133f13.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"688.688.xxxxxxxxxxxxxxxxxxxx.js","mappings":"sNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,mFAAoF,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,iCAAiC,MAAQ,GAAG,SAAW,qDAAqD,eAAiB,CAAC,oFAAoF,WAAa,MAEvX,S,YCDAD,EAAOE,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAEnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAE5EC,GAAWN,EAAuBK,GAC9BE,IACFD,GAAW,KAETD,EAAK,KACPC,GAAW,KAETD,EAAK,KACPC,GAAW,KAENA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAA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C,OAAM,KAEXjC,E","sources":["webpack://@genesislcap/design-system-configurator/./src/main/main.css","webpack://@genesislcap/design-system-configurator/../../../node_modules/css-loader/dist/runtime/api.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@genesislcap/design-system-configurator/./src/main/main.template.ts","webpack://@genesislcap/design-system-configurator/./src/components/components.ts","webpack://@genesislcap/design-system-configurator/./src/utils/logger.ts","webpack://@genesislcap/design-system-configurator/./src/main/main.css?7ee1","webpack://@genesislcap/design-system-configurator/./src/main/main.styles.ts","webpack://@genesislcap/design-system-configurator/./src/main/main.ts"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"html,\\nbody {\\n width: 100%;\\n height: 100%;\\n padding: 0;\\n margin: 0;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/main/main.css\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX\",\"sourcesContent\":[\"html,\\nbody {\\n width: 100%;\\n height: 100%;\\n padding: 0;\\n margin: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import { html } from '@microsoft/fast-element';\nexport const MainTemplate = html `\n <design-system-editor custom-design-mode=\"${(x) => x.tokensPath}\">\n <design-system-preview></design-system-preview>\n <design-system-export slot=\"export\" tokensPath=\"${(x) => x.tokensPath}\"></design-system-export>\n </design-system-editor>\n`;\n","import { __awaiter } from \"tslib\";\nimport { provideDesignSystem, baseComponents } from '@genesislcap/alpha-design-system';\nimport { DesignSystemPreview, DesignSystemExport, DesignSystemEditor, } from '@genesislcap/documentation-components';\nimport { allComponents, provideFASTDesignSystem } from '@microsoft/fast-components';\nDesignSystemPreview;\nDesignSystemEditor;\nDesignSystemExport;\nexport const loadRemotes = () => __awaiter(void 0, void 0, void 0, function* () {\n provideDesignSystem().register(baseComponents);\n provideFASTDesignSystem().register(allComponents);\n});\n","import { createLogger } from '@genesislcap/foundation-utils';\nexport const logger = createLogger('desgn-system-configurator');\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./main.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./main.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { css } from '@microsoft/fast-element';\nimport './main.css';\nexport const MainStyles = css `\n :host {\n display: flex;\n height: 100%;\n overflow: hidden;\n }\n`;\n","import { __awaiter, __decorate } from \"tslib\";\nimport { EventName } from '@genesislcap/documentation-components';\nimport { attr, customElement, FASTElement, observable } from '@microsoft/fast-element';\nimport * as Components from '../components';\nimport { logger } from '../utils';\nimport { MainStyles as styles } from './main.styles';\nimport { MainTemplate as template } from './main.template';\nconst name = 'design-system-configurator';\nlet MainApplication = class MainApplication extends FASTElement {\n constructor() {\n super(...arguments);\n this.ready = false;\n }\n connectedCallback() {\n super.connectedCallback();\n fetch(`/api/tokens`)\n .then((response) => response.ok && response.json())\n .then((data) => {\n if (data.design_tokens) {\n this.tokensPath = true;\n this.$emit(EventName.APPLY_CUSTOM_DESIGN, data);\n }\n })\n .catch((error) => {\n console.error('Error fetching path:', error);\n });\n logger.debug(`${name} is now connected to the DOM`);\n this.loadRemotes();\n }\n loadRemotes() {\n return __awaiter(this, void 0, void 0, function* () {\n const remotes = yield Components.loadRemotes();\n this.ready = true;\n });\n }\n};\n__decorate([\n observable\n], MainApplication.prototype, \"ready\", void 0);\n__decorate([\n attr\n], MainApplication.prototype, \"tokensPath\", void 0);\nMainApplication = __decorate([\n customElement({\n name,\n template,\n styles,\n })\n], MainApplication);\nexport { MainApplication };\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","MainTemplate","html","x","tokensPath","DesignSystemPreview","DesignSystemEditor","DesignSystemExport","logger","createLogger","MainStyles","MainApplication","FASTElement","constructor","super","arguments","ready","connectedCallback","fetch","then","response","ok","json","design_tokens","$emit","EventName","catch","error","console","debug","loadRemotes","__awaiter","provideDesignSystem","register","baseComponents","provideFASTDesignSystem","allComponents","__decorate","observable","prototype","attr","customElement","name","template","styles"],"sourceRoot":""}
1
+ {"version":3,"file":"688.688.xxxxxxxxxxxxxxxxxxxx.js","mappings":"sNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,mFAAoF,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,iCAAiC,MAAQ,GAAG,SAAW,qDAAqD,eAAiB,CAAC,oFAAoF,WAAa,MAEvX,S,YCDAD,EAAOE,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAEnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAE5EC,GAAWN,EAAuBK,GAC9BE,IACFD,GAAW,KAETD,EAAK,KACPC,GAAW,KAETD,EAAK,KACPC,GAAW,KAENA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAE7B,IAAIC,EAAyB,CAAC,EAC9B,GAAIJ,EACF,IAAK,IAAIK,EAAI,EAAGA,EAAIhB,KAAKM,OAAQU,IAAK,CACpC,IAAIrB,EAAKK,KAAKgB,GAAG,G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,IAC5BhD,EAAQ0C,cAAgB,IAElB1C,EAAQ0B,OAAS,SAAc,KAAM,QAE3C1B,EAAQe,OAAS,IACjBf,EAAQ+C,mBAAqB,IAEhB,IAAI,IAAS/C,GAKJ,KAAW,YAAiB,WAA3C,MCxBMkE,EAAa,EAAA3D,GAAI;;;;;;ECKxB,EAAO,6BACb,IAAI4D,EAAkB,cAA8B,EAAAC,YAChDC,cACIC,SAASC,WACTvG,KAAKwG,OAAQ,CACjB,CACAC,oBACIH,MAAMG,oBACNC,MAAM,eACDC,MAAMC,GAAaA,EAASC,IAAMD,EAASE,SAC3CH,MAAMlF,IACHA,EAAKsF,gBACL/G,KAAK4F,YAAa,EAClB5F,KAAKgH,MAAM,EAAAC,UAAA,oBAA+BxF,GAC9C,IAECyF,OAAOC,IACRC,QAAQD,MAAM,uBAAwBA,EAAM,IAEhDnB,EAAOqB,MAAM,GAAG,iCAChBrH,KAAKsH,aACT,CACAA,cACI,OAAO,IAAAC,WAAUvH,UAAM,OAAQ,GAAQ,kBJvBd,IAAAuH,gBAAU,OAAQ,OAAQ,GAAQ,aAC/D,IAAAC,uBAAsBC,SAAS,EAAAC,iBAC/B,IAAAC,2BAA0BF,SAAS,EAAAG,cACvC,IIsBY5H,KAAKwG,OAAQ,CACjB,GACJ,IAEJ,IAAAqB,YAAW,CACP,EAAAC,YACD3B,EAAgB4B,UAAW,aAAS,IACvC,IAAAF,YAAW,CACP,EAAAG,MACD7B,EAAgB4B,UAAW,kBAAc,GAC5C5B,GAAkB,IAAA0B,YAAW,EACzB,IAAAI,eAAc,CACVC,KAAI,EACJC,SAAQ,EACRC,OAAM,KAEXjC,E","sources":["webpack://@genesislcap/design-system-configurator/./src/main/main.css","webpack://@genesislcap/design-system-configurator/../../../node_modules/css-loader/dist/runtime/api.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@genesislcap/design-system-configurator/../../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@genesislcap/design-system-configurator/./src/main/main.template.ts","webpack://@genesislcap/design-system-configurator/./src/components/components.ts","webpack://@genesislcap/design-system-configurator/./src/utils/logger.ts","webpack://@genesislcap/design-system-configurator/./src/main/main.css?7ee1","webpack://@genesislcap/design-system-configurator/./src/main/main.styles.ts","webpack://@genesislcap/design-system-configurator/./src/main/main.ts"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"html,\\nbody {\\n width: 100%;\\n height: 100%;\\n padding: 0;\\n margin: 0;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/main/main.css\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX\",\"sourcesContent\":[\"html,\\nbody {\\n width: 100%;\\n height: 100%;\\n padding: 0;\\n margin: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import { html } from '@microsoft/fast-element';\nexport const MainTemplate = html `\n <design-system-editor custom-design-mode=\"${(x) => x.tokensPath}\">\n <design-system-preview></design-system-preview>\n <design-system-export slot=\"export\" tokensPath=\"${(x) => x.tokensPath}\"></design-system-export>\n </design-system-editor>\n`;\n","import { __awaiter } from \"tslib\";\nimport { provideDesignSystem, baseComponents } from '@genesislcap/alpha-design-system';\nimport { DesignSystemPreview, DesignSystemExport, DesignSystemEditor, } from '@genesislcap/documentation-components';\nimport { allComponents, provideFASTDesignSystem } from '@microsoft/fast-components';\nDesignSystemPreview;\nDesignSystemEditor;\nDesignSystemExport;\nexport const loadRemotes = () => __awaiter(void 0, void 0, void 0, function* () {\n provideDesignSystem().register(baseComponents);\n provideFASTDesignSystem().register(allComponents);\n});\n","import { createLogger } from '@genesislcap/foundation-utils';\nexport const logger = createLogger('desgn-system-configurator');\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./main.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./main.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { css } from '@microsoft/fast-element';\nimport './main.css';\nexport const MainStyles = css `\n :host {\n display: flex;\n height: 100%;\n overflow: hidden;\n }\n`;\n","import { __awaiter, __decorate } from \"tslib\";\nimport { EventName } from '@genesislcap/documentation-components';\nimport { attr, customElement, FASTElement, observable } from '@microsoft/fast-element';\nimport * as Components from '../components';\nimport { logger } from '../utils';\nimport { MainStyles as styles } from './main.styles';\nimport { MainTemplate as template } from './main.template';\nconst name = 'design-system-configurator';\nlet MainApplication = class MainApplication extends FASTElement {\n constructor() {\n super(...arguments);\n this.ready = false;\n }\n connectedCallback() {\n super.connectedCallback();\n fetch(`/api/tokens`)\n .then((response) => response.ok && response.json())\n .then((data) => {\n if (data.design_tokens) {\n this.tokensPath = true;\n this.$emit(EventName.APPLY_CUSTOM_DESIGN, data);\n }\n })\n .catch((error) => {\n console.error('Error fetching path:', error);\n });\n logger.debug(`${name} is now connected to the DOM`);\n this.loadRemotes();\n }\n loadRemotes() {\n return __awaiter(this, void 0, void 0, function* () {\n const remotes = yield Components.loadRemotes();\n this.ready = true;\n });\n }\n};\n__decorate([\n observable\n], MainApplication.prototype, \"ready\", void 0);\n__decorate([\n attr\n], MainApplication.prototype, \"tokensPath\", void 0);\nMainApplication = __decorate([\n customElement({\n name,\n template,\n styles,\n })\n], MainApplication);\nexport { MainApplication };\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","MainTemplate","html","x","tokensPath","DesignSystemPreview","DesignSystemEditor","DesignSystemExport","logger","createLogger","MainStyles","MainApplication","FASTElement","constructor","super","arguments","ready","connectedCallback","fetch","then","response","ok","json","design_tokens","$emit","EventName","catch","error","console","debug","loadRemotes","__awaiter","provideDesignSystem","register","baseComponents","provideFASTDesignSystem","allComponents","__decorate","observable","prototype","attr","customElement","name","template","styles"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[755,179],{8755:(e,s,n)=>{Promise.all([n.e(147),n.e(896),n.e(853),n.e(905),n.e(688)]).then(n.bind(n,27688))}}]);
1
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[755,179],{8755:(e,s,n)=>{Promise.all([n.e(147),n.e(896),n.e(216),n.e(215),n.e(688)]).then(n.bind(n,27688))}}]);
2
2
  //# sourceMappingURL=755.3286f535f2f194a1cf0e810fede2ea5a.js.map