overview-components 1.1.151 → 1.1.152
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/components/lit-case-variables-tab.d.ts.map +1 -1
- package/dist/components/lit-case-variables-tab.js +164 -141
- package/dist/components/lit-case-variables-tab.js.map +1 -1
- package/dist/components/lit-data-grid-tanstack.d.ts.map +1 -1
- package/dist/components/lit-data-grid-tanstack.js +147 -142
- package/dist/components/lit-data-grid-tanstack.js.map +1 -1
- package/dist/components/lit-tabs-overview.d.ts +1 -0
- package/dist/components/lit-tabs-overview.d.ts.map +1 -1
- package/dist/components/lit-tabs-overview.js +9 -0
- package/dist/components/lit-tabs-overview.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit-case-variables-tab.d.ts","sourceRoot":"","sources":["../../src/components/lit-case-variables-tab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAK5D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AACjC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,4BAA4B,CAAC;AACpC,OAAO,2BAA2B,CAAC;AACnC,OAAO,wBAAwB,CAAC;AAChC,OAAO,4BAA4B,CAAC;AACpC,OAAO,qCAAqC,CAAC;AAE7C,OAAO,0BAA0B,CAAC;AAClC,OAAO,+BAA+B,CAAC;AACvC,OAAO,wBAAwB,CAAC;AAChC,OAAO,+BAA+B,CAAC;AACvC,OAAO,6BAA6B,CAAC;AACrC,OAAO,+BAA+B,CAAC;AACvC,OAAO,+BAA+B,CAAC;AACvC,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC;AAChC,OAAO,8BAA8B,CAAC;AACtC,OAAO,yBAAyB,CAAC;AACjC,OAAO,6BAA6B,CAAC;AACrC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ue === null || rawValue === undefined)
|
|
2524
2524
|
return '';
|
|
2525
|
-
if (typeof rawValue === 'string')
|
|
2525
|
+
if (typeof rawValue === 'string') {
|
|
2526
|
+
// Handle string representations of arrays, e.g. "[Finance, Legal, HR]"
|
|
2527
|
+
if (rawValue.startsWith('[') && rawValue.endsWith(']')) {
|
|
2528
|
+
const inner = rawValue.slice(1, -1).trim();
|
|
2529
|
+
if (inner.length > 0) {
|
|
2530
|
+
return inner.split(',').map((s) => s.trim()).filter((s) => s !== '').join(', ');
|
|
2531
|
+
}
|
|
2532
|
+
return '';
|
|
2533
|
+
}
|
|
2526
2534
|
return rawValue;
|
|
2535
|
+
}
|
|
2527
2536
|
if (Array.isArray(rawValue)) {
|
|
2528
2537
|
return rawValue
|
|
2529
2538
|
.map((v) => this.formatDisplayValue(v))
|
|
@@ -2826,7 +2835,7 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
2826
2835
|
{ label: 'COUNT', value: 'count' },
|
|
2827
2836
|
];
|
|
2828
2837
|
const gridSourceOptions = this.getGridSourceOptions();
|
|
2829
|
-
const showSourceSelector = currentType === 'column' && gridSourceOptions.length
|
|
2838
|
+
const showSourceSelector = currentType === 'column' && gridSourceOptions.length >= 1;
|
|
2830
2839
|
const valueOptions = currentType === 'column'
|
|
2831
2840
|
? this.getGridColumnOptions(currentSource)
|
|
2832
2841
|
: this.getExpertVariableOptions();
|
|
@@ -2849,57 +2858,76 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
2849
2858
|
this.requestUpdate();
|
|
2850
2859
|
}}
|
|
2851
2860
|
></lit-select>
|
|
2852
|
-
${
|
|
2861
|
+
${currentType === 'column' && gridSourceOptions.length === 0
|
|
2853
2862
|
? html `
|
|
2854
|
-
<
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
.
|
|
2858
|
-
.
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
></lit-select>
|
|
2863
|
+
<div style="
|
|
2864
|
+
display: flex;
|
|
2865
|
+
align-items: center;
|
|
2866
|
+
gap: 0.375rem;
|
|
2867
|
+
padding: 0.5rem 0.75rem;
|
|
2868
|
+
background: var(--color-info-light, #e0f2fe);
|
|
2869
|
+
color: var(--color-info-dark, #0369a1);
|
|
2870
|
+
border-radius: var(--border-radius-small, 8px);
|
|
2871
|
+
font-size: 0.75rem;
|
|
2872
|
+
font-weight: 500;
|
|
2873
|
+
">
|
|
2874
|
+
<lit-icon name="info" size="16"></lit-icon>
|
|
2875
|
+
${msg('Pro výpočet z tabulky je nutné přidat tabulku.')}
|
|
2876
|
+
</div>
|
|
2869
2877
|
`
|
|
2870
|
-
:
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2878
|
+
: html `
|
|
2879
|
+
${showSourceSelector
|
|
2880
|
+
? html `
|
|
2881
|
+
<lit-select
|
|
2882
|
+
.options=${gridSourceOptions}
|
|
2883
|
+
.value=${currentSource}
|
|
2884
|
+
.placeholder=${msg('Vyberte tabulku')}
|
|
2885
|
+
.disabled=${!isEnabled}
|
|
2886
|
+
.onChange=${(value) => {
|
|
2887
|
+
const val = Array.isArray(value) ? value[0] : value;
|
|
2888
|
+
this.expertModeConfig = {
|
|
2889
|
+
...this.expertModeConfig,
|
|
2890
|
+
[sourceKeyFinal]: val || '',
|
|
2891
|
+
[valueKeyFinal]: '',
|
|
2892
|
+
};
|
|
2893
|
+
this.requestUpdate();
|
|
2894
|
+
}}
|
|
2895
|
+
></lit-select>
|
|
2896
|
+
`
|
|
2897
|
+
: ''}
|
|
2887
2898
|
<lit-select
|
|
2888
|
-
.options=${
|
|
2889
|
-
.value=${
|
|
2890
|
-
.placeholder=${msg('Vyberte
|
|
2899
|
+
.options=${valueOptions}
|
|
2900
|
+
.value=${currentValue}
|
|
2901
|
+
.placeholder=${currentType === 'column' ? msg('Vyberte sloupec') : msg('Vyberte proměnnou')}
|
|
2891
2902
|
.disabled=${!isEnabled}
|
|
2892
2903
|
.onChange=${(value) => {
|
|
2893
2904
|
const val = Array.isArray(value) ? value[0] : value;
|
|
2894
2905
|
this.expertModeConfig = {
|
|
2895
2906
|
...this.expertModeConfig,
|
|
2896
|
-
[
|
|
2907
|
+
[valueKeyFinal]: val || '',
|
|
2897
2908
|
};
|
|
2898
2909
|
this.requestUpdate();
|
|
2899
2910
|
}}
|
|
2900
2911
|
></lit-select>
|
|
2901
|
-
|
|
2902
|
-
|
|
2912
|
+
${currentType === 'column'
|
|
2913
|
+
? html `
|
|
2914
|
+
<lit-select
|
|
2915
|
+
.options=${aggregationOptions}
|
|
2916
|
+
.value=${currentAggregation}
|
|
2917
|
+
.placeholder=${msg('Vyberte agregaci')}
|
|
2918
|
+
.disabled=${!isEnabled}
|
|
2919
|
+
.onChange=${(value) => {
|
|
2920
|
+
const val = Array.isArray(value) ? value[0] : value;
|
|
2921
|
+
this.expertModeConfig = {
|
|
2922
|
+
...this.expertModeConfig,
|
|
2923
|
+
[aggregationKeyFinal]: val || 'sum',
|
|
2924
|
+
};
|
|
2925
|
+
this.requestUpdate();
|
|
2926
|
+
}}
|
|
2927
|
+
></lit-select>
|
|
2928
|
+
`
|
|
2929
|
+
: ''}
|
|
2930
|
+
`}
|
|
2903
2931
|
</div>
|
|
2904
2932
|
</div>
|
|
2905
2933
|
`;
|
|
@@ -2946,9 +2974,10 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
2946
2974
|
...(this.expertModeCell?.type === 'number' || this.expertModeCell?.type === 'currency' || this.expertModeCell?.type === 'progress'
|
|
2947
2975
|
? [{ id: 'calculation', label: { default: msg('Výpočet') }, icon: 'calculator' }]
|
|
2948
2976
|
: []),
|
|
2949
|
-
|
|
2977
|
+
...(this.expertModeCell?.field.startsWith('custom_cell_')
|
|
2978
|
+
? [{ id: 'header', label: { default: msg('Název') }, icon: 'lang' }]
|
|
2979
|
+
: []),
|
|
2950
2980
|
]}
|
|
2951
|
-
.initialSelectedTabId=${this.expertModeCell?.type === 'progress' ? 'progressMax' : this.expertModeCell?.type === 'number' || this.expertModeCell?.type === 'currency' ? 'calculation' : 'header'}
|
|
2952
2981
|
.userLang=${this.userLang}
|
|
2953
2982
|
>
|
|
2954
2983
|
<!-- Tab: Výpočet (Calculation) -->
|
|
@@ -2965,6 +2994,7 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
2965
2994
|
}}
|
|
2966
2995
|
></lit-toggle>
|
|
2967
2996
|
|
|
2997
|
+
${this.expertModeConfig.enabled ? html `
|
|
2968
2998
|
<div style="display: flex; flex-direction: row; gap: 1rem; align-items: flex-start;">
|
|
2969
2999
|
${this.renderExpertOperandSelector('left', msg('Levý operand'), msg('Vyberte typ a hodnotu levého operandu. Sloupec vypočítá agregaci (SUM, AVG, MIN, MAX, COUNT) všech hodnot, proměnná použije hodnotu vybrané buňky.'))}
|
|
2970
3000
|
|
|
@@ -2974,7 +3004,6 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
2974
3004
|
.options=${operationOptions}
|
|
2975
3005
|
.value=${this.expertModeConfig.operation}
|
|
2976
3006
|
.placeholder=${msg('Vyberte operaci')}
|
|
2977
|
-
.disabled=${!this.expertModeConfig.enabled}
|
|
2978
3007
|
.onChange=${(value) => {
|
|
2979
3008
|
const val = Array.isArray(value) ? value[0] : value;
|
|
2980
3009
|
this.expertModeConfig = {
|
|
@@ -2989,28 +3018,25 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
2989
3018
|
${!isNoOperation ? this.renderExpertOperandSelector('right', msg('Pravý operand'), msg('Vyberte typ a hodnotu pravého operandu. Sloupec vypočítá agregaci (SUM, AVG, MIN, MAX, COUNT) všech hodnot, proměnná použije hodnotu vybrané buňky.')) : ''}
|
|
2990
3019
|
</div>
|
|
2991
3020
|
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
${this.expertModeConfig.operation !== 'none'
|
|
3007
|
-
? html `${this.expertModeConfig.operation} ${this.getExpertOperandLabel(this.expertModeConfig.rightType, this.expertModeConfig.rightValue, this.expertModeConfig.rightSource, this.expertModeConfig.rightAggregation)}`
|
|
3008
|
-
: ''}
|
|
3009
|
-
= <strong style="color: var(--text-primary, #111827);">${this.getExpertModePreviewValue()}</strong>
|
|
3010
|
-
</div>
|
|
3011
|
-
</div>
|
|
3012
|
-
`
|
|
3021
|
+
<div
|
|
3022
|
+
style="
|
|
3023
|
+
padding: 0.75rem;
|
|
3024
|
+
background: var(--background-default, #f5f5f5);
|
|
3025
|
+
border-radius: var(--border-radius-small, 8px);
|
|
3026
|
+
font-size: 0.8125rem;
|
|
3027
|
+
color: var(--text-secondary, #5d6371);
|
|
3028
|
+
"
|
|
3029
|
+
>
|
|
3030
|
+
<div style="font-weight: 600; margin-bottom: 0.25rem;">${msg('Náhled výpočtu')}</div>
|
|
3031
|
+
<div>
|
|
3032
|
+
${this.getExpertOperandLabel(this.expertModeConfig.leftType, this.expertModeConfig.leftValue, this.expertModeConfig.leftSource, this.expertModeConfig.leftAggregation)}
|
|
3033
|
+
${this.expertModeConfig.operation !== 'none'
|
|
3034
|
+
? html `${this.expertModeConfig.operation} ${this.getExpertOperandLabel(this.expertModeConfig.rightType, this.expertModeConfig.rightValue, this.expertModeConfig.rightSource, this.expertModeConfig.rightAggregation)}`
|
|
3013
3035
|
: ''}
|
|
3036
|
+
= <strong style="color: var(--text-primary, #111827);">${this.getExpertModePreviewValue()}</strong>
|
|
3037
|
+
</div>
|
|
3038
|
+
</div>
|
|
3039
|
+
` : ''}
|
|
3014
3040
|
</div>
|
|
3015
3041
|
|
|
3016
3042
|
<!-- Tab: Hodnota 100% (Progress Max) -->
|
|
@@ -3028,6 +3054,7 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
3028
3054
|
}}
|
|
3029
3055
|
></lit-toggle>
|
|
3030
3056
|
|
|
3057
|
+
${this.expertModeConfig.pmEnabled ? html `
|
|
3031
3058
|
<div style="display: flex; flex-direction: row; gap: 1rem; align-items: flex-start;">
|
|
3032
3059
|
${this.renderExpertOperandSelector('left', msg('Levý operand'), msg('Vyberte typ a hodnotu levého operandu pro výpočet hodnoty 100%.'), 'pm')}
|
|
3033
3060
|
|
|
@@ -3037,7 +3064,6 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
3037
3064
|
.options=${operationOptions}
|
|
3038
3065
|
.value=${this.expertModeConfig.pmOperation}
|
|
3039
3066
|
.placeholder=${msg('Vyberte operaci')}
|
|
3040
|
-
.disabled=${!this.expertModeConfig.pmEnabled}
|
|
3041
3067
|
.onChange=${(value) => {
|
|
3042
3068
|
const val = Array.isArray(value) ? value[0] : value;
|
|
3043
3069
|
this.expertModeConfig = {
|
|
@@ -3052,28 +3078,25 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
3052
3078
|
${this.expertModeConfig.pmOperation !== 'none' ? this.renderExpertOperandSelector('right', msg('Pravý operand'), msg('Vyberte typ a hodnotu pravého operandu pro výpočet hodnoty 100%.'), 'pm') : ''}
|
|
3053
3079
|
</div>
|
|
3054
3080
|
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
${this.expertModeConfig.pmOperation !== 'none'
|
|
3070
|
-
? html `${this.expertModeConfig.pmOperation} ${this.getExpertOperandLabel(this.expertModeConfig.pmRightType, this.expertModeConfig.pmRightValue, this.expertModeConfig.pmRightSource, this.expertModeConfig.pmRightAggregation)}`
|
|
3071
|
-
: ''}
|
|
3072
|
-
= <strong style="color: var(--text-primary, #111827);">${this.getProgressMaxPreviewValue()}</strong>
|
|
3073
|
-
</div>
|
|
3074
|
-
</div>
|
|
3075
|
-
`
|
|
3081
|
+
<div
|
|
3082
|
+
style="
|
|
3083
|
+
padding: 0.75rem;
|
|
3084
|
+
background: var(--background-default, #f5f5f5);
|
|
3085
|
+
border-radius: var(--border-radius-small, 8px);
|
|
3086
|
+
font-size: 0.8125rem;
|
|
3087
|
+
color: var(--text-secondary, #5d6371);
|
|
3088
|
+
"
|
|
3089
|
+
>
|
|
3090
|
+
<div style="font-weight: 600; margin-bottom: 0.25rem;">${msg('Náhled hodnoty 100%')}</div>
|
|
3091
|
+
<div>
|
|
3092
|
+
${this.getExpertOperandLabel(this.expertModeConfig.pmLeftType, this.expertModeConfig.pmLeftValue, this.expertModeConfig.pmLeftSource, this.expertModeConfig.pmLeftAggregation)}
|
|
3093
|
+
${this.expertModeConfig.pmOperation !== 'none'
|
|
3094
|
+
? html `${this.expertModeConfig.pmOperation} ${this.getExpertOperandLabel(this.expertModeConfig.pmRightType, this.expertModeConfig.pmRightValue, this.expertModeConfig.pmRightSource, this.expertModeConfig.pmRightAggregation)}`
|
|
3076
3095
|
: ''}
|
|
3096
|
+
= <strong style="color: var(--text-primary, #111827);">${this.getProgressMaxPreviewValue()}</strong>
|
|
3097
|
+
</div>
|
|
3098
|
+
</div>
|
|
3099
|
+
` : ''}
|
|
3077
3100
|
</div>
|
|
3078
3101
|
` : ''}
|
|
3079
3102
|
|
|
@@ -3188,62 +3211,10 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
3188
3211
|
headerName.toLowerCase().includes(this.filterText));
|
|
3189
3212
|
});
|
|
3190
3213
|
return html `
|
|
3191
|
-
${this.isLoading
|
|
3192
|
-
? html `<lit-loader></lit-loader>`
|
|
3193
|
-
: this.gridVariables
|
|
3194
|
-
? html ` <div class="grid-container">
|
|
3195
|
-
${repeat(this.rows, (cell, index) => cell.field, (cell) => {
|
|
3196
|
-
const resolvedCell = this.getCellWithExpertValue(cell);
|
|
3197
|
-
const classes = `cell--span4`;
|
|
3198
|
-
return html `
|
|
3199
|
-
<div class="${classes}" data-field="${cell.field}">
|
|
3200
|
-
${this.getInlineCellValue(resolvedCell)}
|
|
3201
|
-
</div>
|
|
3202
|
-
`;
|
|
3203
|
-
})}
|
|
3204
|
-
</div>`
|
|
3205
|
-
: html `
|
|
3206
|
-
<div class="grid-container">
|
|
3207
|
-
${repeat(this.rows, (cell, index) => cell.field, (cell) => {
|
|
3208
|
-
const resolvedCell = this.getCellWithExpertValue(cell);
|
|
3209
|
-
const bpIndex = this.BREAKPOINTS.indexOf(this.currentBreakpoint);
|
|
3210
|
-
const spanSize = this.gridVariables
|
|
3211
|
-
? 4
|
|
3212
|
-
: (this.BREAKPOINTS.slice(0, bpIndex + 1)
|
|
3213
|
-
.reverse()
|
|
3214
|
-
.map((bp) => cell.size?.[bp])
|
|
3215
|
-
.find((s) => s !== undefined) ?? 2);
|
|
3216
|
-
const classes = `cell--span${spanSize} cell ${this.shouldHideCell(cell) ? 'hidden-cell' : ''}`;
|
|
3217
|
-
return html `
|
|
3218
|
-
<div
|
|
3219
|
-
class="${classes}"
|
|
3220
|
-
style="${styleMap(this.computeCellStyles(cell))}"
|
|
3221
|
-
data-field="${cell.field}"
|
|
3222
|
-
>
|
|
3223
|
-
${resolvedCell?.type === 'button'
|
|
3224
|
-
? this.getCellButton(resolvedCell)
|
|
3225
|
-
: resolvedCell.type === 'link'
|
|
3226
|
-
? this.getCellLink(resolvedCell)
|
|
3227
|
-
: resolvedCell.type === 'progress'
|
|
3228
|
-
? this.getCellProgress(resolvedCell)
|
|
3229
|
-
: resolvedCell.type === 'currency'
|
|
3230
|
-
? this.getCellCurrency(resolvedCell)
|
|
3231
|
-
: resolvedCell.type === 'date'
|
|
3232
|
-
? this.getCellDate(resolvedCell)
|
|
3233
|
-
: resolvedCell.type === 'number'
|
|
3234
|
-
? this.getCellNumber(resolvedCell)
|
|
3235
|
-
: resolvedCell.type === 'checkbox'
|
|
3236
|
-
? this.getCellCheckbox(resolvedCell)
|
|
3237
|
-
: this.getCellValue(resolvedCell)}
|
|
3238
|
-
</div>
|
|
3239
|
-
`;
|
|
3240
|
-
})}
|
|
3241
|
-
</div>
|
|
3242
|
-
`}
|
|
3243
3214
|
${this.enableSettings
|
|
3244
3215
|
? html `
|
|
3245
3216
|
<div
|
|
3246
|
-
style="display: flex; gap: 0.5rem; justify-content: right; margin-
|
|
3217
|
+
style="display: flex; gap: 0.5rem; justify-content: right; margin-bottom: 1rem; flex-wrap: wrap;"
|
|
3247
3218
|
>
|
|
3248
3219
|
<lit-button
|
|
3249
3220
|
color="secondary"
|
|
@@ -3266,7 +3237,7 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
3266
3237
|
|
|
3267
3238
|
<simple-popper
|
|
3268
3239
|
.showing=${this.isOpen}
|
|
3269
|
-
.placement=${'
|
|
3240
|
+
.placement=${'bottom-end'}
|
|
3270
3241
|
.manualOpening=${true}
|
|
3271
3242
|
.maxWidthAsTarget=${false}
|
|
3272
3243
|
.minWidth=${'400px'}
|
|
@@ -3345,6 +3316,58 @@ export class LitCaseVariablesTab extends LitElement {
|
|
|
3345
3316
|
</div>
|
|
3346
3317
|
`
|
|
3347
3318
|
: ''}
|
|
3319
|
+
${this.isLoading
|
|
3320
|
+
? html `<lit-loader></lit-loader>`
|
|
3321
|
+
: this.gridVariables
|
|
3322
|
+
? html ` <div class="grid-container">
|
|
3323
|
+
${repeat(this.rows, (cell, index) => cell.field, (cell) => {
|
|
3324
|
+
const resolvedCell = this.getCellWithExpertValue(cell);
|
|
3325
|
+
const classes = `cell--span4`;
|
|
3326
|
+
return html `
|
|
3327
|
+
<div class="${classes}" data-field="${cell.field}">
|
|
3328
|
+
${this.getInlineCellValue(resolvedCell)}
|
|
3329
|
+
</div>
|
|
3330
|
+
`;
|
|
3331
|
+
})}
|
|
3332
|
+
</div>`
|
|
3333
|
+
: html `
|
|
3334
|
+
<div class="grid-container">
|
|
3335
|
+
${repeat(this.rows, (cell, index) => cell.field, (cell) => {
|
|
3336
|
+
const resolvedCell = this.getCellWithExpertValue(cell);
|
|
3337
|
+
const bpIndex = this.BREAKPOINTS.indexOf(this.currentBreakpoint);
|
|
3338
|
+
const spanSize = this.gridVariables
|
|
3339
|
+
? 4
|
|
3340
|
+
: (this.BREAKPOINTS.slice(0, bpIndex + 1)
|
|
3341
|
+
.reverse()
|
|
3342
|
+
.map((bp) => cell.size?.[bp])
|
|
3343
|
+
.find((s) => s !== undefined) ?? 2);
|
|
3344
|
+
const classes = `cell--span${spanSize} cell ${this.shouldHideCell(cell) ? 'hidden-cell' : ''}`;
|
|
3345
|
+
return html `
|
|
3346
|
+
<div
|
|
3347
|
+
class="${classes}"
|
|
3348
|
+
style="${styleMap(this.computeCellStyles(cell))}"
|
|
3349
|
+
data-field="${cell.field}"
|
|
3350
|
+
>
|
|
3351
|
+
${resolvedCell?.type === 'button'
|
|
3352
|
+
? this.getCellButton(resolvedCell)
|
|
3353
|
+
: resolvedCell.type === 'link'
|
|
3354
|
+
? this.getCellLink(resolvedCell)
|
|
3355
|
+
: resolvedCell.type === 'progress'
|
|
3356
|
+
? this.getCellProgress(resolvedCell)
|
|
3357
|
+
: resolvedCell.type === 'currency'
|
|
3358
|
+
? this.getCellCurrency(resolvedCell)
|
|
3359
|
+
: resolvedCell.type === 'date'
|
|
3360
|
+
? this.getCellDate(resolvedCell)
|
|
3361
|
+
: resolvedCell.type === 'number'
|
|
3362
|
+
? this.getCellNumber(resolvedCell)
|
|
3363
|
+
: resolvedCell.type === 'checkbox'
|
|
3364
|
+
? this.getCellCheckbox(resolvedCell)
|
|
3365
|
+
: this.getCellValue(resolvedCell)}
|
|
3366
|
+
</div>
|
|
3367
|
+
`;
|
|
3368
|
+
})}
|
|
3369
|
+
</div>
|
|
3370
|
+
`}
|
|
3348
3371
|
${this.settingsPopperOpen && this.activeSettingsCell
|
|
3349
3372
|
? html `
|
|
3350
3373
|
<div class="tweakpane-overlay" @click=${this.closeSettingsPopper}>
|