@genesislcap/design-system-configurator 14.18.0 → 14.19.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/1.0.0.remoteEntry.js +1 -1
- package/dist/{657.657.0b1514bae17c251fb520.js → 569.569.7d3e737fe5ca59f8f7cc.js} +60 -60
- package/dist/569.fc51166b27d4e8f6da48a8337dd3af0d9969df2d93d5962bcf5dea1480f0ec52.js.map +1 -0
- package/dist/{755.755.1807acb43b8a053717c1.js → 755.755.a8750ff094cccbda52ad.js} +1 -1
- package/dist/{842.842.e4fb156554cbc42d5eca.js → 842.842.eb87e40dbd27ce67632f.js} +2 -2
- package/dist/{842.617c22f07348a4c520e3dda78c954a7f0909d6236a0901fd6d0366c9776732ea.js.map → 842.95856250b9c520279f735235b2fd24e84762a76ff7aa1573cb47fd67624619b3.js.map} +1 -1
- package/dist/{88.88.a130b856ca0968d863e0.js → 88.88.78a55bdf300ff9f67103.js} +1 -1
- package/dist/{905.7a2dea0cb08818e1bb3ea3eb4cf80ab964b6a6fdca8f21bbc8e5ce31597d54b1.js.map → 905.811d1982027680455c93c0602cf953047cecd223fe30e9d1067c03e4ff0e776d.js.map} +1 -1
- package/dist/{905.905.694a82c4e80fb140939d.js → 905.905.6f9347d829e702452a2f.js} +3 -3
- package/dist/{93.93.22557881edade2779452.js → 93.93.bff819e6819622f29f0a.js} +1 -1
- package/dist/dashboard.json +1 -1
- package/dist/{designSystemConfigurator.d75521ca14f940a4e9034c8f36043ca7969daf911583c2a52dd3a9dcd8e32ae8.js.map → designSystemConfigurator.65da85496638114c97b417a0c9ed33e5be545f823184a32f08d2bb6066faf27d.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/info.html +4 -4
- package/dist/{main.5deefb34b0dc14ce003f.js → main.0e7c5c0fcdaaa84079e6.js} +2 -2
- package/dist/{main.2f4b024df1c7cf88365ed67c3b56895b893294cb8c6643ab815ec4449a66ff87.js.map → main.f2f4b7adcc57f858a684743c9417af8d0b1a7b316c76396ab6a9f00378388607.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +7 -7
- package/dist/657.4df6a1b4e2d5746ea0d51f5628f1e9fa53d4029f65f6846fa7e632f88248e2b5.js.map +0 -1
- /package/dist/{905.905.694a82c4e80fb140939d.js.LICENSE.txt → 905.905.6f9347d829e702452a2f.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[
|
|
1
|
+
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[569],{3569:(a,e,r)=>{"use strict";r.r(e),r.d(e,{ColorPalette:()=>Yi,ColorToken:()=>Ji,ColorTokens:()=>il,DesignSystemEditor:()=>$i,DesignSystemExport:()=>Gi,DesignSystemPreview:()=>al,EventName:()=>Ni,PreviewComponents:()=>Bi,TypographyTokens:()=>Ki});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>h,baseLayerLuminanceValue:()=>m,bodyFontValue:()=>A,controlCornerRadiusValue:()=>w,densityValue:()=>y,designTokens:()=>F,designUnitValue:()=>z,directionValue:()=>b,neutralPaletteValue:()=>v,strokeWidthValue:()=>f,typeRampBaseFontSizeValue:()=>T,typeRampBaseLineHeightValue:()=>L});var i,l,n,g,d,c=r(6784),s=r(1457),p=r(5951),u=r(3896);!function(a){a.black="#000000",a.white="#FFFFFF",a.almostWhite="#F1F1F1",a.lightGrey="#2E3339",a.mediumGrey="#2C2F33",a.darkGrey="#1F2126",a.darkerGrey="#141519"}(i||(i={})),function(a){a.blue="#0eafe2",a.purple="#654df9"}(l||(l={})),function(a){a.orange="#ff6d52",a.teal="#08c3a5"}(n||(n={})),function(a){a.grey="#7c909b"}(g||(g={})),function(a){a.chartPink="#fb8176",a.longGreen="#7acc79",a.shortPink="#f14376",a.warningYellow="fcb35f",a.green="#44c14c",a.lightGreen="#69cd70",a.red="#ef4d28",a.lightRed="#ee6588",a.dodgerBlue="#33a9ff",a.lightDodgerBlue="#5cbaff",a.violet="#9b1e74",a.lightViolet="#b528af",a.white="#f9f9f9",a.silver="#c1c1c1",a.salomie="#ffdf94",a.lightSalomie="#ccb276",a.melon="#ffbbb2",a.lightMelon="#cc968e",a.portage="#8a99f5",a.lightPortage="#adb8f8",a.ice="#97f4eb",a.lightIce="#6befe2"}(d||(d={}));const h=(0,s.paletteFromHex)(l.blue),v=(0,s.paletteFromHex)(g.grey),m=u.StandardLuminance.DarkMode;const b=r(3773).N.ltr,f=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),w=4,y=u.density.getValueFor(u.density.appliedTo[0]),z=4;var x=r(8509);const k=()=>{(0,x.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")},S='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',C=(a=x.FontStyle.Normal,e=x.FontWeight.Regular)=>(0,x.getFontMixin)(S,a,e),A=S,T=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),L=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),F={design_tokens:{color:{accent:{$value:h.source.toColorString(),$type:"color"},neutral:{$value:v.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:A,$type:"fontFamily"}},typography:{baseFontSize:{$value:T,$type:"dimension"},baseLineHeight:{$value:L,$type:"dimension"}},mode:{luminance:{$value:m,$type:"number"}},style:{density:{$value:y,$type:"number"},borderRadius:{$value:w,$type:"number"},strokeWidth:{$value:f,$type:"number"}},space:{designUnit:{$value:z,$type:"number"}}}};var M=r(3147);class D extends s.ActionsMenu{}const R=D.compose({baseName:"actions-menu",styles:(a,e)=>M.css`
|
|
2
2
|
:host {
|
|
3
3
|
--actions-opener-heigght-multiplier: 0.6px;
|
|
4
4
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -1338,7 +1338,7 @@
|
|
|
1338
1338
|
a:hover {
|
|
1339
1339
|
opacity: 100%;
|
|
1340
1340
|
}
|
|
1341
|
-
`,shadowOptions:s.foundationUrlInputShadowOptions},s.defaultUrlInputConfig)),register(a,...e){if(a)for(const r in this)"register"!==r&&this[r]().register(a,...e)}};var $t=r(249);const It=(0,x.createLogger)("grid-pro");class jt extends p.FoundationElement{init(a){a&&(this.params=a)}getGui(){return this}
|
|
1341
|
+
`,shadowOptions:s.foundationUrlInputShadowOptions},s.defaultUrlInputConfig)),register(a,...e){if(a)for(const r in this)"register"!==r&&this[r]().register(a,...e)}};var $t=r(249);const It=(0,x.createLogger)("grid-pro");class jt extends p.FoundationElement{init(a){a&&(this.params=a)}getGui(){return this}refresh(a){return this.params=a,!0}isDisabled(a){var e;if("function"==typeof(null===(e=this.params)||void 0===e?void 0:e.isDisabled))try{return this.params.isDisabled(a)}catch(a){It.error("Error executing grid action cell renderer isDisabled callback:",a)}return!1}clickHandler(){return(0,$t.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var a;if(this.params.dataTestId)return this.params.dataTestId+(null!==(a=this.params.data[this.params.uniqueFieldName])&&void 0!==a?a:"")}}(0,$t.__decorate)([M.observable],jt.prototype,"params",void 0),(0,$t.__decorate)([M.observable],jt.prototype,"pendingAction",void 0);const{create:Et}=p.DesignToken,Bt=(Et("action-height-multiplier").withDefault("0.6px"),M.css`
|
|
1342
1342
|
.action-container {
|
|
1343
1343
|
align-items: center;
|
|
1344
1344
|
display: flex;
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
?disabled=${a=>{var e;return a.pendingAction||a.isDisabled(null===(e=a.params)||void 0===e?void 0:e.data)}}
|
|
1375
1375
|
appearance="${a=>a.params.appearance}"
|
|
1376
1376
|
@click=${a=>a.clickHandler()}">${a=>a.params.actionName}</zero-button>
|
|
1377
|
-
</div>`});class Ht extends p.FoundationElement{init(a){a&&(this.params=a)}getGui(){return this}
|
|
1377
|
+
</div>`});class Ht extends p.FoundationElement{init(a){a&&(this.params=a)}getGui(){return this}refresh(a){return!1}}(0,$t.__decorate)([M.observable],Ht.prototype,"params",void 0);const Vt=Ht.compose({baseName:"grid-pro-actions-menu-renderer",template:M.html`
|
|
1378
1378
|
<foundation-actions-menu
|
|
1379
1379
|
name="${a=>a.params.headerName}"
|
|
1380
1380
|
:definition=${a=>a.params}
|
|
@@ -1414,7 +1414,7 @@
|
|
|
1414
1414
|
:value="${(0,x.sync)((a=>a.textValue))}"
|
|
1415
1415
|
@change="${(a,e)=>a.textChanged(e.event)}"
|
|
1416
1416
|
></${e}>
|
|
1417
|
-
`},to=ao.compose({baseName:"grid-text-renderer",styles:eo,template:ro()});const oo=class extends
|
|
1417
|
+
`},to=ao.compose({baseName:"grid-pro-text-renderer",styles:eo,template:ro()});class oo extends ao{}const io=eo,lo=ro,no=oo.compose({baseName:"grid-text-renderer",styles:io,template:lo()});const go=class extends oo{}.compose({baseName:"grid-text-renderer",styles:io,template:lo("zero")});class co extends p.FoundationElement{constructor(){super(...arguments),this.selectionChanged=a=>{this.value=a.target.value,this.params.onSelect(a.target.value,this.params)}}init(a){var e;a&&(this.params=a,this.value=Xt(null===(e=a.node)||void 0===e?void 0:e.data,a.accessor)||void 0)}getGui(){return this}destroy(){}refresh(a){return!0}}(0,$t.__decorate)([M.observable],co.prototype,"params",void 0),(0,$t.__decorate)([M.observable],co.prototype,"value",void 0);const so=M.css`
|
|
1418
1418
|
:host,
|
|
1419
1419
|
.select-renderer,
|
|
1420
1420
|
zero-option,
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
max-width: var(--select-renderer-max-width);
|
|
1424
1424
|
min-width: 100%;
|
|
1425
1425
|
}
|
|
1426
|
-
`,
|
|
1426
|
+
`,po=(a="foundation")=>{const e=`${a}-select`,r=`${a}-option`;return M.html`
|
|
1427
1427
|
<${e}
|
|
1428
1428
|
class="select-renderer"
|
|
1429
1429
|
@change=${(a,e)=>a.selectionChanged(e.event)}
|
|
@@ -1439,19 +1439,19 @@
|
|
|
1439
1439
|
<${r} value=${a=>a.name}>${a=>a.displayName}</${r}>
|
|
1440
1440
|
`)}
|
|
1441
1441
|
</${e}>
|
|
1442
|
-
`},
|
|
1442
|
+
`},uo=co.compose({baseName:"select-renderer",styles:so,template:po()});const ho=class extends co{}.compose({baseName:"select-renderer",styles:so,template:po("zero")});var vo=r(9461),mo=r(3972),bo=r(4586),fo=r(5527);const wo=M.html`
|
|
1443
1443
|
<template>
|
|
1444
1444
|
<slot ${(0,M.slotted)("slottedRenderer")} @slotchange="${a=>a.slottedAgRendererChanged()}"></slot>
|
|
1445
1445
|
</template>
|
|
1446
|
-
`;let
|
|
1446
|
+
`;let yo=class extends p.FoundationElement{connectedCallback(){super.connectedCallback();const a=this.parentElement;this.renderer&&(a.definition.cellRenderer=this.renderer),this.rendererParams&&(a.definition.cellRendererParams=this.rendererParams)}init(a){this.rendererParams=a}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(a){return!1}slottedAgRendererChanged(){}};(0,$t.__decorate)([M.observable],yo.prototype,"renderer",void 0),(0,$t.__decorate)([M.observable],yo.prototype,"rendererParams",void 0),(0,$t.__decorate)([M.observable],yo.prototype,"slottedRenderer",void 0),yo=(0,$t.__decorate)([(0,M.customElement)({name:"grid-pro-cell",template:wo})],yo);const zo=M.html`
|
|
1447
1447
|
<template>
|
|
1448
1448
|
<slot ${(0,M.slotted)("slottedAgCell")} @slotchange="${a=>a.slottedAgCellChanged()}"></slot>
|
|
1449
1449
|
</template>
|
|
1450
|
-
`;let
|
|
1451
|
-
.${
|
|
1450
|
+
`;let xo=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var ko,So;(0,$t.__decorate)([M.observable],xo.prototype,"slottedAgCell",void 0),(0,$t.__decorate)([M.observable],xo.prototype,"definition",void 0),xo=(0,$t.__decorate)([(0,M.customElement)({name:"grid-pro-column",template:zo})],xo),function(a){a.foregroundColor="--ag-foreground-color",a.dataColor="--ag-data-color",a.secondaryForegroundColor="--ag-secondary-foreground-color",a.headerForegroundColor="--ag-header-foreground-color",a.disabledForegroundColor="--ag-disabled-foreground-color",a.backgroundColor="--ag-background-color",a.headerBackgroundColor="--ag-header-background-color",a.subheaderBackgroundColor="--ag-subheader-background-color",a.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",a.controlPanelBackgroundColor="--ag-control-panel-background-color",a.selectedRowBackgroundColor="--ag-selected-row-background-color",a.oddRowBackgroundColor="--ag-odd-row-background-color",a.rowHoverColor="--ag-row-hover-color",a.rangeSelectionBorderColor="--ag-range-selection-border-color",a.rangeSelectionBackgroundColor="--ag-range-selection-background-color",a.selectedTabUnderlineColor="--ag-selected-tab-underline-color",a.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",a.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",a.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",a.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",a.chipBackgroundColor="--ag-chip-background-color",a.borderColor="--ag-border-color",a.secondaryBorderColor="--ag-secondary-border-color",a.rowBorderColor="--ag-row-border-color",a.headerColumnSeparatorColor="--ag-header-column-separator-color",a.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",a.inputBorderColor="--ag-input-border-color",a.inputDisabledBorderColor="--ag-input-disabled-border-color",a.inputDisabledBackgroundColor="--ag-input-disabled-background-color",a.checkboxBackgroundColor="--ag-checkbox-background-color",a.checkboxCheckedColor="--ag-checkbox-checked-color",a.checkboxUncheckedColor="--ag-checkbox-unchecked-color",a.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",a.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",a.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",a.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",a.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",a.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",a.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",a.minichartSelectedChartColor="--ag-minichart-selected-chart-color",a.minichartSelectedPageColor="--ag-minichart-selected-page-color",a.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",a.inputFocusBoxShadow="--ag-input-focus-box-shadow",a.inputFocusBorderColor="--ag-input-focus-border-color"}(ko||(ko={})),function(a){a.alpine="ag-theme-alpine",a.alpineDark="ag-theme-alpine-dark",a.balham="ag-theme-balham",a.balhamDark="ag-theme-balham-dark",a.material="ag-theme-material"}(So||(So={}));const Co=a=>`${a}-token-map`,Ao=(a,e)=>M.css`
|
|
1451
|
+
.${Co(a)} {
|
|
1452
1452
|
${new s.CSSVarsTokenMapper(e)}
|
|
1453
1453
|
}
|
|
1454
|
-
`;var ko;!function(a){a.action="action",a.actionsMenu="actionsMenu",a.boolean="boolean",a.text="text",a.select="select"}(ko||(ko={}));const So='\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/pcBZSpRymlLWAZ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wmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Co='\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+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7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B/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',Ao={[yo.alpine]:So,[yo.alpineDark]:So,[yo.balham]:Co,[yo.balhamDark]:Co,[yo.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/v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5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},To=So;var Lo=r(2940),Fo=r(9162),Mo=r(5127),Do=r(3123),Ro=r(2449),Oo=r(1440),No=r(1871),$o=r(6714),Io=r(1452),jo=r(9449),Eo=r(526);function Bo(a){switch(null==a?void 0:a.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Po({value:a}){return(0,x.formatDateTimestamp)(a)}function Uo({value:a}){return(0,x.formatDateTimeTimestamp)(a)}let Go=class extends((0,x.LifecycleMixin)(p.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Lo.WJ.MAX_ROWS_250,this.maxView=Lo.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.rowId="ROW_REF",this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new $o.X(new Map)}resourceNameChanged(a,e){a&&a!==e&&this.restart()}connectedCallback(){super.connectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunConnect&&this.init()})),this.connectionSub=this.connect.isConnectedSubject.subscribe((a=>{a&&this.agGrid.attributes["ds-disconnected"]&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.restart()),a||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunDisconnect&&this.deinit()}))}deepClone(){const a=super.deepClone();return a.deferredGridOptions=structuredClone(this.deferredGridOptions),a.request=structuredClone(this.request),a}get agGrid(){return this.parentElement}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected){const a=Object.assign({getRowId:a=>a.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,$t.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const e=600;this.updateSub=this.update.pipe((0,Io.T)(1),(0,jo.b)(e),(0,Eo.b)((a=>It.debug("filters (debounced): ",a)))).subscribe((a=>{this.loadResourceData(null)}))}else It.warn("Application not connected, 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.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.clearRowData(),this.sourceRef&&(this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0),this.criteriaFromFilters=new Map,this.update=new $o.X(new Map)}restart(){this.deinit(),this.init()}clearRowData(){var a,e;this.rows=new Map,this.agTransaction=void 0,null===(e=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===e||e.setRowData([])}updateRowData(a){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e),this.agGrid.gridApi.setRowData(a),this.requiresFullRowDataAndColDefs=!1}loadResourceData(a=!0){return(0,$t.__awaiter)(this,void 0,void 0,(function*(){const e=a||!this.datasource.initialized;e||(this.connect.dataLogoff(this.sourceRef),this.clearRowData());if(!(yield this.datasource.init(this.datasourceOptions(),e)))return It.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const a=yield this.datasource.snapshot();if(a){const e=this.handleSnapshot(a);this.updateRowData(e)}}else It.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((a=>{this.sourceRef=a.SOURCE_REF;const e=a.MESSAGE_TYPE;if(e&&e===Fo.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,a.ROW){const e=(0,Mo.$)(a);this.handleStreamResult(e)}else this.handleStreamResult(a)}))}))}handleSnapshot(a){return Array.isArray(a)?a:a.REPLY?a.REPLY:a.ROW?(0,Mo.$)(a).inserts:a.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView}}handleStreamResult(a){if(!a)return;a.hasOwnProperty("REPLY")?this.applyRequestServerData(a):this.applyDataserverData(a)}applyRequestServerData(a){var e,r;if(!Array.isArray(a.REPLY)||!(null===(e=a.MESSAGE_TYPE)||void 0===e?void 0:e.startsWith("REP_")))return void It.error("received invalid RequestServerResult",a);if(this.requiresFullRowDataAndColDefs){"ROW_REF"!==this.rowId&&(null===(r=a.REPLY)||void 0===r||r.forEach((a=>{this.rows.set(a[this.rowId],a)})));const e=this.rows.size>0?Array.from(this.rows.values()):a.REPLY;return void this.updateRowData(e)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(a.REPLY);const t=Array.from(this.rows.values()).filter((e=>!a.REPLY.includes(e)));this.handleStreamDeletes(t),this.agGrid.gridApi.applyTransactionAsync(this.agTransaction)}applyDataserverData(a){var e;if(this.requiresFullRowDataAndColDefs){null===(e=a.inserts)||void 0===e||e.forEach((a=>{this.rows.set(a[this.rowId],a)}));const r=Array.from(this.rows.values());this.updateRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(a.inserts),this.handleStreamDeletes(a.deletes),this.handleStreamUpdates(a.updates),this.agGrid.gridApi.applyTransactionAsync(this.agTransaction)}handleStreamInserts(a){null==a||a.forEach((a=>{if(this.rows.has(a[this.rowId])||this.dataSubWasLoggedOff){const e=this.rows.get(a[this.rowId]),r=Object.assign(Object.assign({},e),a);this.agTransaction.update.push(r)}else this.agTransaction.add.push(a),this.agTransaction.addIndex=0;this.rows.set(a[this.rowId],a)}))}handleStreamDeletes(a){null==a||a.forEach((a=>{this.agTransaction.remove.push({[this.rowId]:a[this.rowId]}),this.rows.delete(a[this.rowId])}))}handleStreamUpdates(a){null==a||a.forEach((a=>{const e=this.rows.get(a[this.rowId]),r=Object.assign(Object.assign({},e),a);this.agTransaction.update.push(r),this.rows.set(a[this.rowId],r)}))}getAgColumnDefs(a){const e=null==a?void 0:a.flatMap((a=>{var e;const r={};switch(r.filterParams=(a.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),a.type){case Do.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=ko.boolean);break;case Do.r.DATE:r.valueFormatter=Po;break;case Do.r.DATETIME:r.valueFormatter=Uo}const t=null===(e=this.agGrid.gridApi)||void 0===e?void 0:e.getColumnDef(a.name);return this.agGrid.onlyTemplateColDefs&&!t||this.fields&&!this.fields.includes(a.name)?[]:Object.assign(Object.assign({field:a.name},r),t)}));return this.agGrid.applyTemplateDefinitions(e)}buildCriteria(){var a;const e=((null===(a=this.criteria)||void 0===a?void 0:a.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Ro.p)(e.join(" && "),";")}criteriaChanged(a,e){const r=!a&&e,t=a!==(0,Ro.p)(e,";");(r||t)&&M.DOM.queueUpdate((()=>this.loadResourceData(null)))}setFilter(a,e){this.criteriaFromFilters.set(a,e),this.update.next(this.criteriaFromFilters)}removeFilter(a){this.criteriaFromFilters.delete(a),this.update.next(this.criteriaFromFilters)}};(0,$t.__decorate)([Oo.lj],Go.prototype,"connect",void 0),(0,$t.__decorate)([No.Yh],Go.prototype,"datasource",void 0),(0,$t.__decorate)([M.observable],Go.prototype,"deferredGridOptions",void 0),(0,$t.__decorate)([M.attr],Go.prototype,"criteria",void 0),(0,$t.__decorate)([M.attr],Go.prototype,"fields",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"is-snapshot"})],Go.prototype,"isSnapshot",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-rows"})],Go.prototype,"maxRows",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-view"})],Go.prototype,"maxView",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"moving-view"})],Go.prototype,"movingView",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"order-by"})],Go.prototype,"orderBy",void 0),(0,$t.__decorate)([M.observable],Go.prototype,"request",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"resource-name"})],Go.prototype,"resourceName",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],Go.prototype,"reverse",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"row-id"})],Go.prototype,"rowId",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Go.prototype,"restartOnReconnection",void 0),Go=(0,$t.__decorate)([(0,M.customElement)({name:"grid-pro-genesis-datasource"})],Go);var Ho=r(6306),Vo=r(5052);class Yo{constructor(a){this.rowCount=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=a.stream,this.resourceName=a.resourceName,this.resourceParams=a.resourceParams,this.originalCriteriaMatch=a.resourceParams.CRITERIA_MATCH,this.resourceIndexes=a.resourceIndexes,this.resourceColDefs=a.resourceColDefs,this.maxRows=a.maxRows,this.maxView=a.maxView,this.pagination=a.pagination}getRows(a){var e;return(0,$t.__awaiter)(this,void 0,void 0,(function*(){const r=a.request.filterModel;(JSON.stringify(r)!==JSON.stringify(this.currentFilterModel)||Object.keys(r).length>0)&&(0===Object.keys(r).length&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):Object.keys(r).length>0&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const t=a.request.sortModel;if(t.length!==(null===(e=this.currentSortModel)||void 0===e?void 0:e.length)||t.length>0)if(0===t.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(t.length>0){this.currentSortModel=t;const a=this.currentSortModel[0].colId,e=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);r.toBeSorted.forEach((a=>{this.currentSortModel.push({sort:e,colId:a})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===e,this.restartSubscription()}this.moreRows&&a.request.startRow>=this.maxRows&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Vo.q)(1)).subscribe((e=>{var r,t;const o=e.MESSAGE_TYPE;if(o&&(o===Fo.Cs.LOGOFF_ACK||o===Fo.Cs.MSG_NACK))return void a.fail();this.moreRows=e.MORE_ROWS;let i=[];if(e.ROW){const a=(0,Mo.$)(e);i=this.handleStreamUpdate(a)}this.lastSequenceId=e.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=e.SOURCE_REF,this.rowCount=null!==(r=e.ROWS_COUNT)&&void 0!==r?r:i.length),this.calculatedRowsCount+=null!==(t=null==i?void 0:i.length)&&void 0!==t?t:0;const l={rowData:i};this.pagination?l.rowCount=Math.min(this.rowCount,this.maxView):(a.request.endRow>this.maxView||a.request.endRow>this.calculatedRowsCount)&&(l.rowCount=this.calculatedRowsCount),a.success(l)}))}))}restartSubscription(){this.connect.dataLogoff(this.streamSourceRef);this.dataserverStream=this.connect.stream(this.resourceName,(a=>a),(a=>It.error(a)),this.resourceParams)}getOrderByAndToBeSortedColIds(a,e){for(const[r,t]of a.entries()){const a=t.findIndex((a=>a===e));if(-1!==a){const e=[...t];return e.splice(a,1),{orderBy:r,toBeSorted:e}}}}handleStreamUpdate(a){var e;if(!a)return;const r=new Map;null===(e=a.inserts)||void 0===e||e.forEach((a=>{r.set(a.ROW_REF,a)}));return Array.from(r.values())}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 a=[];return this.getFiltersByType("text").forEach((e=>a.push(`Expr.containsIgnoreCase(${e}, '${this.currentFilterModel[e].filter.toLowerCase()}')`))),a}getFiltersByType(a){return Object.keys(this.currentFilterModel).filter((a=>-1!==this.resourceColDefs.findIndex((e=>e.NAME===a)))).filter((e=>this.currentFilterModel[e].filterType===a))}}(0,$t.__decorate)([Oo.lj],Yo.prototype,"connect",void 0);let Qo=class extends((0,x.LifecycleMixin)(p.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Lo.WJ.MAX_ROWS_250,this.maxView=Lo.WJ.MAX_VIEW_1000,this.pagination=!1,this.reverse=!1}resourceNameChanged(a,e){a&&a!==e&&this.restart()}connectedCallback(){super.connectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunConnect&&this.init()}))}disconnectedCallback(){super.disconnectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunDisconnect&&this.reset()}))}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions={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:a=>{},onSortChanged:a=>{}},void this.agGrid.addEventListener("onGridReady",(()=>(0,$t.__awaiter)(this,void 0,void 0,(function*(){const a=yield this.connect.getMetadata(this.resourceName).catch((a=>It.error(a)));if(!a)return!1;this.indexes=this.getResourceIndexes(a.INDEXES),this.originalFieldDef=(0,Ho.C)(a);const e=(0,Ho.i)(this.originalFieldDef),r=this.getAgColumnDefs(e);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Yo({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:this.maxRows,maxView:this.maxView,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}))),{once:!0});It.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var a,e,r,t;null===(e=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===e||e.setColumnDefs([]),null===(t=null===(r=this.agGrid)||void 0===r?void 0:r.gridApi)||void 0===t||t.setRowData([])}getResourceIndexes(a){const e=new Map;return null==a||a.forEach((a=>{e.set(a.NAME,a.FIELDS.split(" "))})),e}get params(){const a={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,REVERSE:this.reverse},e=Array.from(this.indexes.keys());if(this.orderBy)if(e.findIndex((a=>a===this.orderBy))>-1)a.ORDER_BY=this.orderBy;else{const a=e.map((a=>a));It.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:",a)}return It.debug("Getting configured params:",a),a}createDataserverStream(a=null){return(0,$t.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(a=>a),(a=>It.error(a)),null!=a?a:this.params)}))}getAgColumnDefs(a){const e=null==a?void 0:a.flatMap((a=>{var e;const r={};switch(r.filterParams=(a.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),a.type){case Do.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=ko.boolean);break;case Do.r.DATE:r.valueFormatter=Po;break;case Do.r.DATETIME:r.valueFormatter=Uo}const t=null===(e=this.agGrid.gridApi)||void 0===e?void 0:e.getColumnDef(a.name);return this.agGrid.onlyTemplateColDefs&&!t?[]:Object.assign(Object.assign({field:a.name,type:Bo(a.type),filter:(a.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(a.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(e)}};(0,$t.__decorate)([Oo.lj],Qo.prototype,"connect",void 0),(0,$t.__decorate)([M.attr],Qo.prototype,"criteria",void 0),(0,$t.__decorate)([M.attr],Qo.prototype,"fields",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"is-snapshot"})],Qo.prototype,"isSnapshot",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-rows"})],Qo.prototype,"maxRows",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-view"})],Qo.prototype,"maxView",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"order-by"})],Qo.prototype,"orderBy",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"resource-name"})],Qo.prototype,"resourceName",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],Qo.prototype,"pagination",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],Qo.prototype,"reverse",void 0),Qo=(0,$t.__decorate)([(0,M.customElement)({name:"grid-pro-genesis-datasource-next"})],Qo);const Wo=M.css`
|
|
1454
|
+
`;var To;!function(a){a.action="action",a.actionsMenu="actionsMenu",a.boolean="boolean",a.text="text",a.select="select"}(To||(To={}));const Lo='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/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y1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Fo='\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/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2ZKu7oar+BBS4UMLDEUesG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uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Mo={[So.alpine]:Lo,[So.alpineDark]:Lo,[So.balham]:Fo,[So.balhamDark]:Fo,[So.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZ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7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+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'},Do=Lo;var Ro=r(2940),Oo=r(9162),No=r(5127),$o=r(3123),Io=r(2449),jo=r(1440),Eo=r(1871),Bo=r(6714),Po=r(1452),Uo=r(9449),Go=r(526);function Ho(a){switch(null==a?void 0:a.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Vo({value:a}){return(0,x.formatDateTimestamp)(a)}function Yo({value:a}){return(0,x.formatDateTimeTimestamp)(a)}let Qo=class extends((0,x.LifecycleMixin)(p.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ro.WJ.MAX_ROWS_250,this.maxView=Ro.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.rowId="ROW_REF",this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Bo.X(new Map)}resourceNameChanged(a,e){a&&a!==e&&this.restart()}connectedCallback(){super.connectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunConnect&&this.init()})),this.connectionSub=this.connect.isConnectedSubject.subscribe((a=>{a&&this.agGrid.attributes["ds-disconnected"]&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.restart()),a||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunDisconnect&&this.deinit()}))}deepClone(){const a=super.deepClone();return a.deferredGridOptions=structuredClone(this.deferredGridOptions),a.request=structuredClone(this.request),a}get agGrid(){return this.parentElement}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected){const a=Object.assign({getRowId:a=>a.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,$t.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const e=600;this.updateSub=this.update.pipe((0,Po.T)(1),(0,Uo.b)(e),(0,Go.b)((a=>It.debug("filters (debounced): ",a)))).subscribe((a=>{this.loadResourceData(null)}))}else It.warn("Application not connected, 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.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.clearRowData(),this.sourceRef&&(this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0),this.criteriaFromFilters=new Map,this.update=new Bo.X(new Map)}restart(){this.deinit(),this.init()}clearRowData(){var a,e;this.rows=new Map,this.agTransaction=void 0,null===(e=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===e||e.setRowData([])}updateRowData(a){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e),this.agGrid.gridApi.setRowData(a),this.requiresFullRowDataAndColDefs=!1}loadResourceData(a=!0){return(0,$t.__awaiter)(this,void 0,void 0,(function*(){const e=a||!this.datasource.initialized;e||(this.connect.dataLogoff(this.sourceRef),this.clearRowData());if(!(yield this.datasource.init(this.datasourceOptions(),e)))return It.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const a=yield this.datasource.snapshot();if(a){const e=this.handleSnapshot(a);this.updateRowData(e)}}else It.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((a=>{this.sourceRef=a.SOURCE_REF;const e=a.MESSAGE_TYPE;if(e&&e===Oo.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,a.ROW){const e=(0,No.$)(a);this.handleStreamResult(e)}else this.handleStreamResult(a)}))}))}handleSnapshot(a){return Array.isArray(a)?a:a.REPLY?a.REPLY:a.ROW?(0,No.$)(a).inserts:a.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView}}handleStreamResult(a){if(!a)return;a.hasOwnProperty("REPLY")?this.applyRequestServerData(a):this.applyDataserverData(a)}applyRequestServerData(a){var e,r;if(!Array.isArray(a.REPLY)||!(null===(e=a.MESSAGE_TYPE)||void 0===e?void 0:e.startsWith("REP_")))return void It.error("received invalid RequestServerResult",a);if(this.requiresFullRowDataAndColDefs){"ROW_REF"!==this.rowId&&(null===(r=a.REPLY)||void 0===r||r.forEach((a=>{this.rows.set(a[this.rowId],a)})));const e=this.rows.size>0?Array.from(this.rows.values()):a.REPLY;return void this.updateRowData(e)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(a.REPLY);const t=Array.from(this.rows.values()).filter((e=>!a.REPLY.includes(e)));this.handleStreamDeletes(t),this.agGrid.gridApi.applyTransactionAsync(this.agTransaction)}applyDataserverData(a){var e;if(this.requiresFullRowDataAndColDefs){null===(e=a.inserts)||void 0===e||e.forEach((a=>{this.rows.set(a[this.rowId],a)}));const r=Array.from(this.rows.values());this.updateRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(a.inserts),this.handleStreamDeletes(a.deletes),this.handleStreamUpdates(a.updates),this.agGrid.gridApi.applyTransactionAsync(this.agTransaction)}handleStreamInserts(a){null==a||a.forEach((a=>{if(this.rows.has(a[this.rowId])||this.dataSubWasLoggedOff){const e=this.rows.get(a[this.rowId]),r=Object.assign(Object.assign({},e),a);this.agTransaction.update.push(r)}else this.agTransaction.add.push(a),this.agTransaction.addIndex=0;this.rows.set(a[this.rowId],a)}))}handleStreamDeletes(a){null==a||a.forEach((a=>{this.agTransaction.remove.push({[this.rowId]:a[this.rowId]}),this.rows.delete(a[this.rowId])}))}handleStreamUpdates(a){null==a||a.forEach((a=>{const e=this.rows.get(a[this.rowId]),r=Object.assign(Object.assign({},e),a);this.agTransaction.update.push(r),this.rows.set(a[this.rowId],r)}))}getAgColumnDefs(a){const e=null==a?void 0:a.flatMap((a=>{var e;const r={};switch(r.filterParams=(a.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),a.type){case $o.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=To.boolean);break;case $o.r.DATE:r.valueFormatter=Vo;break;case $o.r.DATETIME:r.valueFormatter=Yo}const t=null===(e=this.agGrid.gridApi)||void 0===e?void 0:e.getColumnDef(a.name);return this.agGrid.onlyTemplateColDefs&&!t||this.fields&&!this.fields.includes(a.name)?[]:Object.assign(Object.assign({field:a.name},r),t)}));return this.agGrid.applyTemplateDefinitions(e)}buildCriteria(){var a;const e=((null===(a=this.criteria)||void 0===a?void 0:a.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Io.p)(e.join(" && "),";")}criteriaChanged(a,e){const r=!a&&e,t=a!==(0,Io.p)(e,";");(r||t)&&M.DOM.queueUpdate((()=>this.loadResourceData(null)))}setFilter(a,e){this.criteriaFromFilters.set(a,e),this.update.next(this.criteriaFromFilters)}removeFilter(a){this.criteriaFromFilters.delete(a),this.update.next(this.criteriaFromFilters)}};(0,$t.__decorate)([jo.lj],Qo.prototype,"connect",void 0),(0,$t.__decorate)([Eo.Yh],Qo.prototype,"datasource",void 0),(0,$t.__decorate)([M.observable],Qo.prototype,"deferredGridOptions",void 0),(0,$t.__decorate)([M.attr],Qo.prototype,"criteria",void 0),(0,$t.__decorate)([M.attr],Qo.prototype,"fields",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"is-snapshot"})],Qo.prototype,"isSnapshot",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-rows"})],Qo.prototype,"maxRows",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-view"})],Qo.prototype,"maxView",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"moving-view"})],Qo.prototype,"movingView",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"order-by"})],Qo.prototype,"orderBy",void 0),(0,$t.__decorate)([M.observable],Qo.prototype,"request",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"resource-name"})],Qo.prototype,"resourceName",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],Qo.prototype,"reverse",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"row-id"})],Qo.prototype,"rowId",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Qo.prototype,"restartOnReconnection",void 0),Qo=(0,$t.__decorate)([(0,M.customElement)({name:"grid-pro-genesis-datasource"})],Qo);var Wo=r(6306),Jo=r(5052);class Zo{constructor(a){this.rowCount=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.dataserverStream=a.stream,this.resourceName=a.resourceName,this.resourceParams=a.resourceParams,this.originalCriteriaMatch=a.resourceParams.CRITERIA_MATCH,this.resourceIndexes=a.resourceIndexes,this.resourceColDefs=a.resourceColDefs,this.maxRows=a.maxRows,this.maxView=a.maxView,this.pagination=a.pagination}getRows(a){var e;return(0,$t.__awaiter)(this,void 0,void 0,(function*(){const r=a.request.filterModel;(JSON.stringify(r)!==JSON.stringify(this.currentFilterModel)||Object.keys(r).length>0)&&(0===Object.keys(r).length&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):Object.keys(r).length>0&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const t=a.request.sortModel;if(t.length!==(null===(e=this.currentSortModel)||void 0===e?void 0:e.length)||t.length>0)if(0===t.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(t.length>0){this.currentSortModel=t;const a=this.currentSortModel[0].colId,e=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);r.toBeSorted.forEach((a=>{this.currentSortModel.push({sort:e,colId:a})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===e,this.restartSubscription()}this.moreRows&&a.request.startRow>=this.maxRows&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Jo.q)(1)).subscribe((e=>{var r,t;const o=e.MESSAGE_TYPE;if(o&&(o===Oo.Cs.LOGOFF_ACK||o===Oo.Cs.MSG_NACK))return void a.fail();this.moreRows=e.MORE_ROWS;let i=[];if(e.ROW){const a=(0,No.$)(e);i=this.handleStreamUpdate(a)}this.lastSequenceId=e.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=e.SOURCE_REF,this.rowCount=null!==(r=e.ROWS_COUNT)&&void 0!==r?r:i.length),this.calculatedRowsCount+=null!==(t=null==i?void 0:i.length)&&void 0!==t?t:0;const l={rowData:i};this.pagination?l.rowCount=Math.min(this.rowCount,this.maxView):(a.request.endRow>this.maxView||a.request.endRow>this.calculatedRowsCount)&&(l.rowCount=this.calculatedRowsCount),a.success(l)}))}))}restartSubscription(){this.connect.dataLogoff(this.streamSourceRef);this.dataserverStream=this.connect.stream(this.resourceName,(a=>a),(a=>It.error(a)),this.resourceParams)}getOrderByAndToBeSortedColIds(a,e){for(const[r,t]of a.entries()){const a=t.findIndex((a=>a===e));if(-1!==a){const e=[...t];return e.splice(a,1),{orderBy:r,toBeSorted:e}}}}handleStreamUpdate(a){var e;if(!a)return;const r=new Map;null===(e=a.inserts)||void 0===e||e.forEach((a=>{r.set(a.ROW_REF,a)}));return Array.from(r.values())}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 a=[];return this.getFiltersByType("text").forEach((e=>a.push(`Expr.containsIgnoreCase(${e}, '${this.currentFilterModel[e].filter.toLowerCase()}')`))),a}getFiltersByType(a){return Object.keys(this.currentFilterModel).filter((a=>-1!==this.resourceColDefs.findIndex((e=>e.NAME===a)))).filter((e=>this.currentFilterModel[e].filterType===a))}}(0,$t.__decorate)([jo.lj],Zo.prototype,"connect",void 0);let qo=class extends((0,x.LifecycleMixin)(p.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ro.WJ.MAX_ROWS_250,this.maxView=Ro.WJ.MAX_VIEW_1000,this.pagination=!1,this.reverse=!1}resourceNameChanged(a,e){a&&a!==e&&this.restart()}connectedCallback(){super.connectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunConnect&&this.init()}))}disconnectedCallback(){super.disconnectedCallback(),M.DOM.queueUpdate((()=>{this.shouldRunDisconnect&&this.reset()}))}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions={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:a=>{},onSortChanged:a=>{}},void this.agGrid.addEventListener("onGridReady",(()=>(0,$t.__awaiter)(this,void 0,void 0,(function*(){const a=yield this.connect.getMetadata(this.resourceName).catch((a=>It.error(a)));if(!a)return!1;this.indexes=this.getResourceIndexes(a.INDEXES),this.originalFieldDef=(0,Wo.C)(a);const e=(0,Wo.i)(this.originalFieldDef),r=this.getAgColumnDefs(e);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Zo({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:this.maxRows,maxView:this.maxView,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}))),{once:!0});It.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var a,e,r,t;null===(e=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===e||e.setColumnDefs([]),null===(t=null===(r=this.agGrid)||void 0===r?void 0:r.gridApi)||void 0===t||t.setRowData([])}getResourceIndexes(a){const e=new Map;return null==a||a.forEach((a=>{e.set(a.NAME,a.FIELDS.split(" "))})),e}get params(){const a={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,REVERSE:this.reverse},e=Array.from(this.indexes.keys());if(this.orderBy)if(e.findIndex((a=>a===this.orderBy))>-1)a.ORDER_BY=this.orderBy;else{const a=e.map((a=>a));It.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:",a)}return It.debug("Getting configured params:",a),a}createDataserverStream(a=null){return(0,$t.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(a=>a),(a=>It.error(a)),null!=a?a:this.params)}))}getAgColumnDefs(a){const e=null==a?void 0:a.flatMap((a=>{var e;const r={};switch(r.filterParams=(a.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),a.type){case $o.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=To.boolean);break;case $o.r.DATE:r.valueFormatter=Vo;break;case $o.r.DATETIME:r.valueFormatter=Yo}const t=null===(e=this.agGrid.gridApi)||void 0===e?void 0:e.getColumnDef(a.name);return this.agGrid.onlyTemplateColDefs&&!t?[]:Object.assign(Object.assign({field:a.name,type:Ho(a.type),filter:(a.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(a.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(e)}};(0,$t.__decorate)([jo.lj],qo.prototype,"connect",void 0),(0,$t.__decorate)([M.attr],qo.prototype,"criteria",void 0),(0,$t.__decorate)([M.attr],qo.prototype,"fields",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"is-snapshot"})],qo.prototype,"isSnapshot",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-rows"})],qo.prototype,"maxRows",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"max-view"})],qo.prototype,"maxView",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"order-by"})],qo.prototype,"orderBy",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"resource-name"})],qo.prototype,"resourceName",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],qo.prototype,"pagination",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],qo.prototype,"reverse",void 0),qo=(0,$t.__decorate)([(0,M.customElement)({name:"grid-pro-genesis-datasource-next"})],qo);const Ko=M.css`
|
|
1455
1455
|
.ag-icon {
|
|
1456
1456
|
font-family: var(--ag-icon-font-family);
|
|
1457
1457
|
font-size: var(--ag-icon-size);
|
|
@@ -8615,7 +8615,7 @@
|
|
|
8615
8615
|
input[class^='ag-'][type='range']:disabled {
|
|
8616
8616
|
opacity: 0.5;
|
|
8617
8617
|
}
|
|
8618
|
-
`,
|
|
8618
|
+
`,_o=M.css`
|
|
8619
8619
|
.ag-dnd-ghost {
|
|
8620
8620
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
8621
8621
|
border: solid 1px;
|
|
@@ -8632,7 +8632,7 @@
|
|
|
8632
8632
|
overflow: hidden;
|
|
8633
8633
|
text-overflow: ellipsis;
|
|
8634
8634
|
}
|
|
8635
|
-
`,
|
|
8635
|
+
`,Xo=M.css`
|
|
8636
8636
|
.ag-theme-alpine,
|
|
8637
8637
|
.ag-theme-alpine-dark {
|
|
8638
8638
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9082,7 +9082,7 @@
|
|
|
9082
9082
|
.ag-theme-alpine-dark {
|
|
9083
9083
|
color-scheme: dark;
|
|
9084
9084
|
}
|
|
9085
|
-
`,
|
|
9085
|
+
`,ai=M.css`
|
|
9086
9086
|
.ag-theme-balham,
|
|
9087
9087
|
.ag-theme-balham-dark {
|
|
9088
9088
|
--ag-balham-active-color: #0091ea;
|
|
@@ -9352,7 +9352,7 @@
|
|
|
9352
9352
|
.ag-theme-balham-dark {
|
|
9353
9353
|
color-scheme: dark;
|
|
9354
9354
|
}
|
|
9355
|
-
`,
|
|
9355
|
+
`,ei=M.css`
|
|
9356
9356
|
.ag-theme-material {
|
|
9357
9357
|
--ag-material-primary-color: #3f51b5;
|
|
9358
9358
|
--ag-material-accent-color: #ff4081;
|
|
@@ -9617,14 +9617,14 @@
|
|
|
9617
9617
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
9618
9618
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
9619
9619
|
}
|
|
9620
|
-
`,
|
|
9621
|
-
${Wo}
|
|
9622
|
-
${Jo}
|
|
9623
|
-
${Zo}
|
|
9624
|
-
${qo}
|
|
9620
|
+
`,ri=M.css`
|
|
9625
9621
|
${Ko}
|
|
9626
|
-
`,Xo=M.css`
|
|
9627
9622
|
${_o}
|
|
9623
|
+
${Xo}
|
|
9624
|
+
${ai}
|
|
9625
|
+
${ei}
|
|
9626
|
+
`,ti=M.css`
|
|
9627
|
+
${ri}
|
|
9628
9628
|
:host {
|
|
9629
9629
|
width: 100%;
|
|
9630
9630
|
height: 100%;
|
|
@@ -9651,14 +9651,14 @@
|
|
|
9651
9651
|
.ag-cell-inline-editing {
|
|
9652
9652
|
height: inherit !important;
|
|
9653
9653
|
}
|
|
9654
|
-
`,
|
|
9654
|
+
`,oi=M.html`
|
|
9655
9655
|
<template>
|
|
9656
9656
|
<span part="grid" class="${a=>a.classNames}">
|
|
9657
9657
|
<slot name="grid" ${(0,M.ref)("gridSlot")}></slot>
|
|
9658
9658
|
<slot></slot>
|
|
9659
9659
|
</span>
|
|
9660
9660
|
</template>
|
|
9661
|
-
`;
|
|
9661
|
+
`;mo.O3h.registerModules([bo.jM,vo.I]);const ii=a=>a.replace("/([a-z])([A-Z])/g","$1-$2").toLowerCase();class li extends((0,x.LifecycleMixin)(p.FoundationElement)){themeChanged(a,e){if(!e)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Ge.A)(Co(e),e),this.insertFontFace(e)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Do,this.columnComponentName="grid-pro-column",this.theme=So.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=mo.plv.ALL_PROPERTIES.reduce(((a,e)=>(a[e.toLowerCase()]=e,a[ii(e)]=e,a)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,x.respondToVisibility)(this,(a=>{a&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&mo.plv.ALL_PROPERTIES.forEach((a=>{Object.defineProperty(this,a,{set:e=>{this.agAttributeChangedCallback(a.toLowerCase(),void 0,e)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var a;super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(a=this.gridApi)||void 0===a||a.destroy())}combineAllGridComponents(a){const e={[To.action]:jt,[To.actionsMenu]:Ht,[To.boolean]:Wt};return Object.assign(Object.assign(Object.assign({},e),a),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 a;null===(a=this.gridApi)||void 0===a||a.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(a){return a.map((a=>Object.assign(Object.assign({},a),{width:null})))}serialiseStoreTableConfig(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const a=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let e=this.agGridOptions.columnApi.getColumnState();e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,a[this.persistColumnStateKey]=JSON.stringify(e),this.session.setLocalStorageItem("gridOptions",JSON.stringify(a))}}rehydrateTableConfig(){if(this.rehydrationAttempted=!0,this.statePersistanceEnabled()&&this.session.getLocalStorageItem("gridOptions")){const a=JSON.parse(this.session.getLocalStorageItem("gridOptions"));this.persistColumnStateKey in a&&this.agGridOptions.columnApi.applyColumnState({state:JSON.parse(a[this.persistColumnStateKey]),applyOrder:!0})}}set gridOptions(a){const e=this.globalEventListener.bind(this),r=()=>{this.serialiseStoreTableConfig.bind(this)(),this.debouncedColumnAutosize.bind(this)()},t=this.rehydrateTableConfig.bind(this);Array.from(this.attributes).forEach((a=>{const e=this.agPropertiesMap[a.name];e&&(this.agAttributes[e]=a.value)}));const{columnDefs:o,components:i,onGridReady:l}=a,n=(0,$t.__rest)(a,["columnDefs","components","onGridReady"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{filter:!0,resizable:!0,sortable:!0},columnDefs:this.applyTemplateDefinitions(o),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:e=>{var r,o;this.gridApi=null!==(r=a.api)&&void 0!==r?r:e.api,this.columnApi=null!==(o=a.columnApi)&&void 0!==o?o:e.columnApi,l&&l(e),this.$emit("onGridReady",{params:e,gridId:this.id}),t(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:()=>{this.enableFlashingRows.bind(this)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),n);this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),mo.plv.copyAttributesToGridOptions(g,this.agAttributes));const d={globalEventListener:e};M.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new mo.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(mo.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(a=>{a.results.forEach((a=>{a.add.length&&this.gridApi.flashCells({rowNodes:a.add})}))}))}applyTemplateDefinitions(a=[]){const e=this.querySelectorAll(this.columnComponentName),r=Array.from(e).map((a=>{var e;return null===(e=a.definition)||void 0===e?void 0:e.field}));if(0===e.length)return a;return[...a?a.filter((a=>!r.includes(a.field))):[],...Array.from(e).map((e=>{var r;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const t=null===(r=null==a?void 0:a.find((a=>e.definition.field===a.field)))||void 0===r?void 0:r.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))]}get observedAttributes(){const a=mo.plv.ALL_PROPERTIES.map((a=>a.toLowerCase())),e=mo.plv.ALL_PROPERTIES.map((a=>ii(a)));return a.concat(e)}agAttributeChangedCallback(a,e,r){if(e===r)return;const t=this.agPropertiesMap[a];if(t&&(this.agAttributes[t]=r,this.initialised)){const a={};a[t]={currentValue:r},mo.plv.processOnChange(a,this.gridApi)}}globalEventListener(a,e){const r=a.toLowerCase(),t=new Event(r);t.agGridDetails=e,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(a){const e=Mo[a]||this.gridFontFace;this.destroyFontFace();const r=(0,x.insertDocumentCSSRule)(e,`${a}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,$t.__decorate)([M.observable],li.prototype,"columnApi",void 0),(0,$t.__decorate)([M.observable],li.prototype,"gridApi",void 0),(0,$t.__decorate)([fo.z],li.prototype,"session",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],li.prototype,"autoCellRendererByType",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"only-template-col-defs",mode:"boolean"})],li.prototype,"onlyTemplateColDefs",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean"})],li.prototype,"enabledRowFlashing",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],li.prototype,"enableCellFlashing",void 0),(0,$t.__decorate)([(0,M.attr)({attribute:"persist-column-state-key"})],li.prototype,"persistColumnStateKey",void 0),(0,$t.__decorate)([(0,M.attr)({mode:"boolean",attribute:"grid-autosizing"})],li.prototype,"gridAutosizingEnabled",void 0),(0,$t.__decorate)([M.observable],li.prototype,"gridFontFace",void 0),(0,$t.__decorate)([M.attr],li.prototype,"columnComponentName",void 0),(0,$t.__decorate)([M.observable],li.prototype,"eventsAndCallbacks",void 0),(0,$t.__decorate)([M.attr],li.prototype,"headerHeight",void 0),(0,$t.__decorate)([M.attr],li.prototype,"rowHeight",void 0),(0,$t.__decorate)([M.attr],li.prototype,"theme",void 0),(0,$t.__decorate)([M.observable],li.prototype,"classNames",void 0),(0,$t.__decorate)([M.observable],li.prototype,"agGrid",void 0),(0,$t.__decorate)([M.observable],li.prototype,"gridSlot",void 0),(0,$t.__decorate)([M.observable],li.prototype,"gridComponents",void 0);const ni=void 0,gi={shadowOptions:void 0},di=li.compose(Object.assign({baseName:"grid-pro",styles:ti,template:oi,shadowOptions:ni},gi)),ci={foregroundSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#2b2e34"))},si={foregroundSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,O.parseColorHexRGB)("#2196f3"))},{create:pi}=p.DesignToken,ui={backgroundColor:pi("rapid-ag-background-color").withDefault((a=>u.baseLayerLuminance.getValueFor(a)===u.StandardLuminance.LightMode?si.backgroundSwatch:ci.backgroundSwatch)),borderColor:pi("rapid-ag-border-color").withDefault((a=>u.baseLayerLuminance.getValueFor(a)===u.StandardLuminance.LightMode?si.borderSwatch:ci.borderSwatch)),foregroundColor:pi("rapid-ag-foreground-color").withDefault((a=>u.baseLayerLuminance.getValueFor(a)===u.StandardLuminance.LightMode?si.foregroundSwatch:ci.foregroundSwatch)),headerForegroundColor:pi("rapid-ag-header-foreground-color").withDefault((a=>u.baseLayerLuminance.getValueFor(a)===u.StandardLuminance.LightMode?si.headerForegroundSwatch:ci.headerForegroundSwatch)),rowHoverColor:pi("rapid-ag-row-hover-color").withDefault((a=>u.baseLayerLuminance.getValueFor(a)===u.StandardLuminance.LightMode?si.rowHoverSwatch:ci.rowHoverSwatch))},hi=M.css`
|
|
9662
9662
|
.ag-theme-genesis-rapid,
|
|
9663
9663
|
.ag-theme-genesis-rapid-dark {
|
|
9664
9664
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10118,50 +10118,50 @@
|
|
|
10118
10118
|
.ag-theme-genesis-rapid-dark {
|
|
10119
10119
|
color-scheme: dark;
|
|
10120
10120
|
}
|
|
10121
|
-
`,
|
|
10122
|
-
${
|
|
10123
|
-
${
|
|
10121
|
+
`,vi={[ko.backgroundColor]:ui.backgroundColor,[ko.foregroundColor]:ui.foregroundColor,[ko.oddRowBackgroundColor]:ui.backgroundColor,[ko.headerBackgroundColor]:ui.backgroundColor,[ko.headerForegroundColor]:ui.headerForegroundColor,[ko.selectedRowBackgroundColor]:ui.rowHoverColor,[ko.rowHoverColor]:ui.rowHoverColor,[ko.borderColor]:ui.borderColor,[ko.rowBorderColor]:ui.rowHoverColor,[ko.modalOverlayBackgroundColor]:ui.backgroundColor,[ko.inputFocusBoxShadow]:ui.headerForegroundColor,[ko.inputFocusBorderColor]:ui.headerForegroundColor,[ko.headerColumnResizeHandleColor]:ui.headerForegroundColor},mi="ag-theme-genesis-rapid",bi=M.css`
|
|
10122
|
+
${hi}
|
|
10123
|
+
${Ao(mi,vi)}
|
|
10124
10124
|
|
|
10125
|
-
.${
|
|
10125
|
+
.${mi} {
|
|
10126
10126
|
${C()}
|
|
10127
10127
|
}
|
|
10128
10128
|
|
|
10129
|
-
.${
|
|
10129
|
+
.${mi} .ag-header {
|
|
10130
10130
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10131
10131
|
font-weight: bold;
|
|
10132
10132
|
}
|
|
10133
10133
|
|
|
10134
|
-
.${
|
|
10134
|
+
.${mi} .ag-root-wrapper {
|
|
10135
10135
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10136
10136
|
}
|
|
10137
|
-
`,
|
|
10138
|
-
${
|
|
10139
|
-
${
|
|
10137
|
+
`,fi="ag-theme-genesis-rapid-dark",wi=M.css`
|
|
10138
|
+
${hi}
|
|
10139
|
+
${Ao(fi,vi)}
|
|
10140
10140
|
|
|
10141
|
-
.${
|
|
10141
|
+
.${fi} {
|
|
10142
10142
|
${C()}
|
|
10143
10143
|
}
|
|
10144
10144
|
|
|
10145
|
-
.${
|
|
10145
|
+
.${fi} .ag-header {
|
|
10146
10146
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10147
10147
|
font-weight: bold;
|
|
10148
10148
|
}
|
|
10149
10149
|
|
|
10150
|
-
.${
|
|
10150
|
+
.${fi} .ag-cell {
|
|
10151
10151
|
line-height: var(--ag-line-height, 32px);
|
|
10152
10152
|
}
|
|
10153
10153
|
|
|
10154
|
-
.${
|
|
10154
|
+
.${fi} .ag-root-wrapper {
|
|
10155
10155
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10156
10156
|
}
|
|
10157
|
-
`,
|
|
10157
|
+
`,yi=M.css`
|
|
10158
10158
|
/* All the AG themes */
|
|
10159
|
-
${
|
|
10159
|
+
${ti}
|
|
10160
10160
|
|
|
10161
10161
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10162
|
-
${
|
|
10163
|
-
${
|
|
10164
|
-
`,
|
|
10162
|
+
${bi}
|
|
10163
|
+
${wi}
|
|
10164
|
+
`,zi=oi,xi="ag-theme-genesis-rapid-dark";const ki=gi,Si={zeroAgActionRenderer:Gt,zeroAgActionsMenuRenderer:Qt,zeroAgBooleanRenderer:_t,zeroAgTextRenderer:go,zeroAgSelectRenderer:ho,zeroGridPro:class extends li{constructor(){super(...arguments),this.theme=xi}themeChanged(a,e){(a||e===xi)&&super.themeChanged(a,e)}set gridOptions(a){var e,r;a.components={[To.action]:Ut,[To.actionsMenu]:Yt,[To.boolean]:Kt};(this.theme===mi||this.theme===fi)&&(this.headerHeight=null!==(e=a.headerHeight)&&void 0!==e?e:32,this.rowHeight=null!==(r=a.rowHeight)&&void 0!==r?r:32),super.gridOptions=a}}.compose(Object.assign({baseName:"grid-pro",template:zi,styles:yi,shadowOptions:undefined},ki)),register(a,...e){if(a)for(const r in this)"register"!==r&&this[r]().register(a,...e)}},Ci={foundationGridProActionRenderer:Pt,foundationGridProActionsMenuRenderer:Vt,foundationAgBooleanRenderer:qt,foundationAgTextRenderer:no,foundationAgTextFieldRenderer:to,foundationAgSelectRenderer:uo,foundationGridPro:di,register(a,...e){if(a)for(const r in this)"register"!==r&&this[r]().register(a,...e)}};var Ai=r(1223);const Ti=M.css`
|
|
10165
10165
|
${(0,p.display)("block")} :host {
|
|
10166
10166
|
width: 100%;
|
|
10167
10167
|
display: inline-flex;
|
|
@@ -10282,7 +10282,7 @@
|
|
|
10282
10282
|
alpha-button {
|
|
10283
10283
|
margin: 0;
|
|
10284
10284
|
}
|
|
10285
|
-
`,
|
|
10285
|
+
`,Li=M.html`
|
|
10286
10286
|
<template>
|
|
10287
10287
|
<div class="configuration">
|
|
10288
10288
|
<div class="row" id="designSystem">
|
|
@@ -10493,7 +10493,7 @@
|
|
|
10493
10493
|
<slot></slot>
|
|
10494
10494
|
</div>
|
|
10495
10495
|
</template>
|
|
10496
|
-
`,
|
|
10496
|
+
`,Fi={Roboto:S,"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'},Mi=({design_tokens:a})=>({accentColor:a.color.accent.$value,neutralColor:a.color.neutral.$value,luminance:a.mode.luminance.$value,density:a.style.density.$value,designUnit:a.space.designUnit.$value,borderRadius:a.style.borderRadius.$value,strokeWidth:a.style.strokeWidth.$value,bodyFont:Object.keys(Fi).find((e=>Fi[e]===a.fontFamily.bodyFont.$value)),baseFontSize:a.typography.baseFontSize.$value,baseLineHeight:a.typography.baseLineHeight.$value}),Di=Mi(F),Ri=Mi(c.designTokens),Oi={zero:{prefix:"zero",tokens:Di,buttons:{accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"}},alpha:{prefix:"alpha",tokens:Ri,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}}};var Ni;!function(a){a.STYLES_CHANGED="styles-changed",a.DS_CHANGED="design-system-changed",a.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Ni||(Ni={}));let $i=class extends M.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.ds="zero",this.darkMode=Di.luminance===u.StandardLuminance.DarkMode,this.luminance=Di.luminance,this.neutralColor=Di.neutralColor,this.accentColor=Di.accentColor,this.bodyFont=Di.bodyFont,this.density=Di.density,this.borderRadius=Di.borderRadius,this.strokeWidth=Di.strokeWidth,this.designUnit=Di.designUnit,this.baseFontSize=Di.baseFontSize,this.baseLineHeight=Di.baseLineHeight,this.changeHandler=a=>{if(a.target instanceof p.RadioGroup||a.target instanceof HTMLInputElement||a.target instanceof u.Combobox||a.target instanceof u.Select){const{name:e,value:r}=a.target;e&&r&&(this[e]=r,this.styleUpdate())}else if(a.target instanceof p.Slider){const e=parseInt(a.target.value),r=a.target.name;r&&Number.isInteger(e)&&(this[r]=e,this.styleUpdate())}},this.modeChangeHandler=a=>{this.darkMode=a.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.styleUpdate()},this.styleUpdate=()=>{const a={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Fi[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(Ni.STYLES_CHANGED,a)},this.applyCustomDSTokens=a=>{const e=a.detail;e&&M.DOM.queueUpdate((()=>{const a=Mi(e);Oi.custom.tokens=a,this.setTokensFromDs(a),this.styleUpdate()}))},this.setTokensFromDs=a=>{this.neutralColor=a.neutralColor,this.accentColor=a.accentColor,this.bodyFont=a.bodyFont,this.density=a.density,this.designUnit=a.designUnit,this.borderRadius=a.borderRadius,this.strokeWidth=a.strokeWidth,this.darkMode=a.luminance===u.StandardLuminance.DarkMode,this.baseFontSize=a.baseFontSize,this.baseLineHeight=a.baseLineHeight},this.setCustomTokens=()=>fetch(`http://localhost:${location.port}/api/tokens`).then((a=>a.json())).then((a=>{const e=Mi(a);Oi.custom.tokens=e})).catch((a=>{console.error("Error fetching tokens:",a)})),this.resetChanges=()=>(0,Ai.__awaiter)(this,void 0,void 0,(function*(){"custom"===this.ds&&(yield this.setCustomTokens()),this.setTokensFromDs(Oi[this.ds].tokens),this.styleUpdate()}))}customDesignModeChanged(a,e){const r=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}],t={name:"Custom Design",value:"custom"};this.customDesignMode?(Oi.custom=Object.assign({},Oi.zero),this.designSystems=[t,...r]):this.designSystems=r}dsChanged(a,e){const r={prefix:Oi[this.ds].prefix,buttonAppearanceAccent:Oi[this.ds].buttons.accent,buttonAppearanceNeutral:Oi[this.ds].buttons.neutral,buttonAppearanceOutline:Oi[this.ds].buttons.outline};this.$emit(Ni.DS_CHANGED,r)}connectedCallback(){super.connectedCallback(),k(),M.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Ni.APPLY_CUSTOM_DESIGN,(a=>{this.applyCustomDSTokens(a)}))}};(0,Ai.__decorate)([(0,M.attr)({mode:"boolean",attribute:"custom-design-mode"})],$i.prototype,"customDesignMode",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"designSystems",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"ds",void 0),(0,Ai.__decorate)([M.attr],$i.prototype,"darkMode",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"neutralColor",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"accentColor",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"bodyFont",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"density",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"borderRadius",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"strokeWidth",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"designUnit",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"baseFontSize",void 0),(0,Ai.__decorate)([M.observable],$i.prototype,"baseLineHeight",void 0),$i=(0,Ai.__decorate)([(0,M.customElement)({name:"design-system-editor",template:Li,styles:Ti})],$i);const Ii=a=>{const e=(a=>{const e=(0,O.parseColorHexRGB)(a);return e?u.SwatchRGB.from(e):null})(a);return e?u.PaletteRGB.create(e):null},ji=M.css`
|
|
10497
10497
|
:host {
|
|
10498
10498
|
background: var(--fill-color);
|
|
10499
10499
|
color: var(--neutral-foreground-rest);
|
|
@@ -10536,7 +10536,7 @@
|
|
|
10536
10536
|
zero-design-system-provider {
|
|
10537
10537
|
display: inline;
|
|
10538
10538
|
}
|
|
10539
|
-
`,
|
|
10539
|
+
`,Ei=M.html`
|
|
10540
10540
|
${a=>{return e=a.prefix,M.html`
|
|
10541
10541
|
<template>
|
|
10542
10542
|
<${e}-design-system-provider ${(0,M.ref)("provider")}>
|
|
@@ -10737,7 +10737,7 @@
|
|
|
10737
10737
|
</${e}-design-system-provider>
|
|
10738
10738
|
</template>
|
|
10739
10739
|
`;var e}}
|
|
10740
|
-
`;let
|
|
10740
|
+
`;let Bi=class extends M.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",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}setDialogEventListeners(){this.showDialogTrigger.addEventListener("click",(()=>this.modal.show()),{passive:!0}),this.closeDialogTrigger.addEventListener("click",(()=>this.modal.close()),{passive:!0})}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ni.STYLES_CHANGED,(a=>{this.handleStyleChanges(a)})),document.body.addEventListener(Ni.DS_CHANGED,(a=>{this.handleDSChanges(a)})),M.DOM.queueUpdate((()=>{this.setGridOptions(),this.setDialogEventListeners(),u.bodyFont.withDefault('"Segoe UI", Arial, Helvetica, sans-serif')}))}handleStyleChanges(a){const e=a.detail;e&&M.DOM.queueUpdate((()=>{this.applyStyleChanges(e)}))}applyStyleChanges(a){const e=Ii(a.neutralColor);u.neutralPalette.setValueFor(this.provider,e);const r=Ii(a.accentColor);u.accentPalette.setValueFor(this.provider,r),u.baseLayerLuminance.setValueFor(this.provider,a.luminance),u.density.setValueFor(this.provider,a.density),u.controlCornerRadius.setValueFor(this.provider,a.borderRadius),u.strokeWidth.setValueFor(this.provider,a.strokeWidth),u.designUnit.setValueFor(this.provider,a.designUnit),u.bodyFont.setValueFor(this.provider,a.bodyFont),u.typeRampBaseFontSize.setValueFor(this.provider,a.baseFontSize),u.typeRampBaseLineHeight.setValueFor(this.provider,a.baseLineHeight)}handleDSChanges(a){this.prefix=a.detail.prefix,this.buttonAppearanceAccent=a.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=a.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=a.detail.buttonAppearanceOutline,M.DOM.queueUpdate((()=>{this.setGridOptions(),this.setDialogEventListeners()}))}};(0,Ai.__decorate)([M.observable],Bi.prototype,"grid",void 0),(0,Ai.__decorate)([M.attr],Bi.prototype,"prefix",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"buttonAppearanceAccent",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"buttonAppearanceNeutral",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"buttonAppearanceOutline",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"provider",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"rowData",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"columnDefs",void 0),(0,Ai.__decorate)([M.observable],Bi.prototype,"gridOptions",void 0),Bi=(0,Ai.__decorate)([(0,M.customElement)({name:"preview-components",template:Ei,styles:ji})],Bi);const Pi=M.css`
|
|
10741
10741
|
.export {
|
|
10742
10742
|
display: flex;
|
|
10743
10743
|
justify-content: center;
|
|
@@ -10748,7 +10748,7 @@
|
|
|
10748
10748
|
display: flex;
|
|
10749
10749
|
justify-content: space-between;
|
|
10750
10750
|
}
|
|
10751
|
-
`,
|
|
10751
|
+
`,Ui=M.html`
|
|
10752
10752
|
<template>
|
|
10753
10753
|
<div class="export">
|
|
10754
10754
|
<alpha-button appearance="accent" @click="${a=>a.showModal()}">Save Changes</alpha-button>
|
|
@@ -10769,7 +10769,7 @@
|
|
|
10769
10769
|
</alpha-modal>
|
|
10770
10770
|
</div>
|
|
10771
10771
|
</template>
|
|
10772
|
-
`;let
|
|
10772
|
+
`;let Gi=class extends M.FASTElement{constructor(){super(...arguments),this.formatValues=a=>{const e={design_tokens:{color:{accent:{$value:a.accentColor,$type:"color"},neutral:{$value:a.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:a.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:a.baseFontSize,$type:"dimension"},baseLineHeight:{$value:a.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:a.luminance,$type:"number"}},style:{density:{$value:a.density,$type:"number"},borderRadius:{$value:a.borderRadius,$type:"number"},strokeWidth:{$value:a.strokeWidth,$type:"number"}},space:{designUnit:{$value:a.designUnit,$type:"number"}}}};return JSON.stringify(e,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((a=>{if(!a.ok)throw new Error(`API request failed with status ${a.status}`);return a.json()})).then((a=>{console.log("Tokens saved successfully:",a)})).catch((a=>{console.error("Error saving tokens:",a)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ni.STYLES_CHANGED,(a=>{const e=a;this.value=this.formatValues(e.detail)}))}};(0,Ai.__decorate)([M.attr],Gi.prototype,"value",void 0),(0,Ai.__decorate)([M.attr],Gi.prototype,"tokensPath",void 0),Gi=(0,Ai.__decorate)([(0,M.customElement)({name:"design-system-export",template:Ui,styles:Pi})],Gi);const Hi=M.css`
|
|
10773
10773
|
.colors {
|
|
10774
10774
|
display: flex;
|
|
10775
10775
|
flex-wrap: wrap;
|
|
@@ -10782,23 +10782,23 @@
|
|
|
10782
10782
|
flex-grow: 1;
|
|
10783
10783
|
height: 20px;
|
|
10784
10784
|
}
|
|
10785
|
-
`,
|
|
10785
|
+
`,Vi=M.html`
|
|
10786
10786
|
<ul class="colors">
|
|
10787
10787
|
${(0,M.repeat)((a=>a.swatches),M.html`
|
|
10788
10788
|
<li class="color" style="background-color: ${a=>a.toColorString()}"></li>
|
|
10789
10789
|
`)}
|
|
10790
10790
|
</ul>
|
|
10791
|
-
`;let
|
|
10791
|
+
`;let Yi=class extends M.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:a=>{const e=a.token.getValueFor(this);this.swatches=[...e.swatches]}},this)}}handleStyleChanges(a){const e=a.detail;e&&M.DOM.queueUpdate((()=>{const a=Ii(e[`${this.type}Color`]);this.swatches=[...a.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ni.STYLES_CHANGED,(a=>{this.handleStyleChanges(a)}))}};(0,Ai.__decorate)([M.observable],Yi.prototype,"swatches",void 0),(0,Ai.__decorate)([M.attr],Yi.prototype,"type",void 0),Yi=(0,Ai.__decorate)([(0,M.customElement)({name:"color-palette",styles:Hi,template:Vi})],Yi);const Qi=M.css`
|
|
10792
10792
|
.preview {
|
|
10793
10793
|
width: 40px;
|
|
10794
10794
|
height: 40px;
|
|
10795
10795
|
}
|
|
10796
|
-
`,
|
|
10796
|
+
`,Wi=M.html`
|
|
10797
10797
|
<div
|
|
10798
10798
|
class="preview"
|
|
10799
10799
|
style="background-color: ${a=>u[a.tokenName].createCSS()}"
|
|
10800
10800
|
></div>
|
|
10801
|
-
`;let
|
|
10801
|
+
`;let Ji=class extends M.FASTElement{};(0,Ai.__decorate)([M.attr],Ji.prototype,"tokenName",void 0),Ji=(0,Ai.__decorate)([(0,M.customElement)({name:"color-token",styles:Qi,template:Wi})],Ji);const Zi=M.css`
|
|
10802
10802
|
table {
|
|
10803
10803
|
background: var(--neutral-fill-rest);
|
|
10804
10804
|
color: var(--neutral-foreground-rest);
|
|
@@ -10807,7 +10807,7 @@
|
|
|
10807
10807
|
th {
|
|
10808
10808
|
text-align: left;
|
|
10809
10809
|
}
|
|
10810
|
-
`,
|
|
10810
|
+
`,qi=M.html`
|
|
10811
10811
|
<table ${(0,M.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
|
|
10812
10812
|
<colgroup>
|
|
10813
10813
|
<col style="width: 15%;" />
|
|
@@ -11035,7 +11035,7 @@
|
|
|
11035
11035
|
</tr>
|
|
11036
11036
|
</tbody>
|
|
11037
11037
|
</table>
|
|
11038
|
-
`;let
|
|
11038
|
+
`;let Ki=class extends M.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ni.STYLES_CHANGED,(a=>{const e=a.detail;this.applyStyleChanges(e)}))}applyStyleChanges(a){u.bodyFont.setValueFor(this.provider,a.bodyFont),u.typeRampBaseFontSize.setValueFor(this.provider,a.baseFontSize),u.typeRampBaseLineHeight.setValueFor(this.provider,a.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.minusOne)),u.typeRampMinus1LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.minusOne)),u.typeRampMinus2FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.minusTwo)),u.typeRampMinus2LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.minusTwo)),u.typeRampPlus1FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.plusOne)),u.typeRampPlus1LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.plusOne)),u.typeRampPlus2FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.plusTwo)),u.typeRampPlus2LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.plusTwo)),u.typeRampPlus3FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.plusThree)),u.typeRampPlus3LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.plusThree)),u.typeRampPlus4FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.plusFour)),u.typeRampPlus4LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.plusFour)),u.typeRampPlus5FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.plusFive)),u.typeRampPlus5LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.plusFive)),u.typeRampPlus6FontSize.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseFontSize,x.TypeRampValues.plusSix)),u.typeRampPlus6LineHeight.setValueFor(this.provider,this.getTypeRampSize(u.typeRampBaseLineHeight,x.TypeRampValues.plusSix))}getTypeRampSize(a,e){const r=a.getValueFor(this.provider).match(/^(\d+)([a-z]+)/i),t=r[1],o=r[2];return Number(t)+e+o}};(0,Ai.__decorate)([M.observable],Ki.prototype,"provider",void 0),Ki=(0,Ai.__decorate)([(0,M.customElement)({name:"typography-tokens",template:qi,styles:Zi})],Ki);const _i=M.css`
|
|
11039
11039
|
:host {
|
|
11040
11040
|
background: var(--fill-color);
|
|
11041
11041
|
color: var(--neutral-foreground-rest);
|
|
@@ -11051,7 +11051,7 @@
|
|
|
11051
11051
|
margin-top: 24px;
|
|
11052
11052
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
11053
11053
|
}
|
|
11054
|
-
`,
|
|
11054
|
+
`,Xi=M.html`
|
|
11055
11055
|
<template>
|
|
11056
11056
|
<alpha-tabs>
|
|
11057
11057
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -11072,7 +11072,7 @@
|
|
|
11072
11072
|
</alpha-tab-panel>
|
|
11073
11073
|
</alpha-tabs>
|
|
11074
11074
|
</template>
|
|
11075
|
-
`;let
|
|
11075
|
+
`;let al=class extends M.FASTElement{};al=(0,Ai.__decorate)([(0,M.customElement)({name:"design-system-preview",template:Xi,styles:_i})],al);const el=M.css`
|
|
11076
11076
|
.container {
|
|
11077
11077
|
display: flex;
|
|
11078
11078
|
width: 100%;
|
|
@@ -11120,7 +11120,7 @@
|
|
|
11120
11120
|
.container > div:not(:last-child) {
|
|
11121
11121
|
border-right: 1px solid #fafafa;
|
|
11122
11122
|
}
|
|
11123
|
-
`,
|
|
11123
|
+
`,rl=[{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"}]}]}],tl=M.html`
|
|
11124
11124
|
<div class="row">
|
|
11125
11125
|
<div
|
|
11126
11126
|
class="preview"
|
|
@@ -11132,17 +11132,17 @@
|
|
|
11132
11132
|
${(a,e)=>u[a.name].getValueFor(e.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
11133
11133
|
</div>
|
|
11134
11134
|
</div>
|
|
11135
|
-
`,
|
|
11135
|
+
`,ol=M.html`
|
|
11136
11136
|
<div class="container" ${(0,M.ref)("provider")}>
|
|
11137
|
-
${(0,M.repeat)((()=>
|
|
11137
|
+
${(0,M.repeat)((()=>rl),M.html`
|
|
11138
11138
|
<div class="column">
|
|
11139
11139
|
<h3 class="header-title">${a=>a.title}</h3>
|
|
11140
11140
|
${(0,M.repeat)((a=>a.subcategories),M.html`
|
|
11141
11141
|
<h4>${a=>a.title}</h4>
|
|
11142
|
-
${(0,M.repeat)((a=>a.tokens),
|
|
11142
|
+
${(0,M.repeat)((a=>a.tokens),tl)}
|
|
11143
11143
|
`)}
|
|
11144
11144
|
</div>
|
|
11145
11145
|
`)}
|
|
11146
11146
|
</div>
|
|
11147
|
-
`;let
|
|
11148
|
-
//# sourceMappingURL=
|
|
11147
|
+
`;let il=class extends M.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ni.STYLES_CHANGED,(a=>{const e=a.detail;this.applyStyleChanges(e)}))}applyStyleChanges(a){u.baseLayerLuminance.setValueFor(this.provider,a.luminance);const e=Ii(a.neutralColor);u.neutralPalette.setValueFor(this.provider,e);const r=Ii(a.accentColor);u.accentPalette.setValueFor(this.provider,r)}};(0,Ai.__decorate)([M.observable],il.prototype,"provider",void 0),il=(0,Ai.__decorate)([(0,M.customElement)({name:"color-tokens",template:ol,styles:el})],il),((a,e="zero")=>{a&&(0,s.provideTokens)(t,o,a);const r=p.DesignSystem.getOrCreate(a).withPrefix(e);return(0,s.createDesignSystemProxy)(r)})().register(Nt,Si),(0,c.provideDesignSystem)().register(c.baseComponents,Ci)}}]);
|
|
11148
|
+
//# sourceMappingURL=569.fc51166b27d4e8f6da48a8337dd3af0d9969df2d93d5962bcf5dea1480f0ec52.js.map
|