@adiba-banking-cloud/backoffice 0.0.103 → 0.0.104
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/build/index.cjs.js/{heatmap-o4CTbuGa.js → heatmap-CMbh3f40.js} +1 -1
- package/build/index.cjs.js/{index-D42CDlY2.js → index-DtyYkhep.js} +41 -8
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-Co9MSbVA.js → heatmap-OI5flU15.js} +1 -1
- package/build/index.esm.js/{index-ezLwqFHW.js → index-BfazjC7j.js} +41 -8
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/components/charts/heatmap/Heatmap.types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -12105,10 +12105,12 @@ const initChart$1 = props => {
|
|
|
12105
12105
|
if (daysToAdd < 0) daysToAdd += 7; // Handle week wrap
|
|
12106
12106
|
date.setDate(date.getDate() + daysToAdd);
|
|
12107
12107
|
}
|
|
12108
|
-
|
|
12108
|
+
const valueLabel = props.valueLabel || "Value";
|
|
12109
|
+
return `<b>${date.toLocaleDateString()}</b><br/>${valueLabel}: <b>${point.value}</b>`;
|
|
12109
12110
|
}
|
|
12110
12111
|
const point = this.point;
|
|
12111
|
-
|
|
12112
|
+
const valueLabel = props.valueLabel || "Value";
|
|
12113
|
+
return `<b>${point.series.xAxis.categories[point.x]}</b>, <b>${point.series.yAxis.categories[point.y]}</b><br/>${valueLabel}: <b>${point.value}</b>`;
|
|
12112
12114
|
}
|
|
12113
12115
|
},
|
|
12114
12116
|
credits: {
|
|
@@ -12151,7 +12153,7 @@ const initChart$1 = props => {
|
|
|
12151
12153
|
}
|
|
12152
12154
|
|
|
12153
12155
|
// Fallback: use dynamic import (async, but will work in Vite/Storybook)
|
|
12154
|
-
Promise.resolve().then(function () { return require('./heatmap-
|
|
12156
|
+
Promise.resolve().then(function () { return require('./heatmap-CMbh3f40.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
|
|
12155
12157
|
const moduleFn = typeof heatmapModule === "function" ? heatmapModule : heatmapModule?.default || heatmapModule;
|
|
12156
12158
|
if (typeof moduleFn === "function") {
|
|
12157
12159
|
moduleFn(Highcharts);
|
|
@@ -12204,6 +12206,9 @@ const initBasicSeries = props => {
|
|
|
12204
12206
|
});
|
|
12205
12207
|
const renderYAxis = () => ({
|
|
12206
12208
|
categories: props.yAxisLabel,
|
|
12209
|
+
title: {
|
|
12210
|
+
text: null
|
|
12211
|
+
},
|
|
12207
12212
|
labels: {
|
|
12208
12213
|
enabled: props.showYLabel,
|
|
12209
12214
|
style: {
|
|
@@ -12222,7 +12227,7 @@ const initBasicSeries = props => {
|
|
|
12222
12227
|
const renderSeries = () => {
|
|
12223
12228
|
const data = props.data.map(point => [point.x, point.y, point.value]);
|
|
12224
12229
|
return [{
|
|
12225
|
-
name: "Value",
|
|
12230
|
+
name: props.valueLabel || "Value",
|
|
12226
12231
|
data,
|
|
12227
12232
|
turboThreshold: 0
|
|
12228
12233
|
}];
|
|
@@ -12247,6 +12252,9 @@ const initInterpolatedSeries = props => {
|
|
|
12247
12252
|
});
|
|
12248
12253
|
const renderYAxis = () => ({
|
|
12249
12254
|
categories: props.yAxisLabel,
|
|
12255
|
+
title: {
|
|
12256
|
+
text: null
|
|
12257
|
+
},
|
|
12250
12258
|
labels: {
|
|
12251
12259
|
enabled: props.showYLabel,
|
|
12252
12260
|
style: {
|
|
@@ -12265,7 +12273,7 @@ const initInterpolatedSeries = props => {
|
|
|
12265
12273
|
const renderSeries = () => {
|
|
12266
12274
|
const data = props.data.map(point => [point.x, point.y, point.value]);
|
|
12267
12275
|
return [{
|
|
12268
|
-
name: "Value",
|
|
12276
|
+
name: props.valueLabel || "Value",
|
|
12269
12277
|
data,
|
|
12270
12278
|
turboThreshold: 0
|
|
12271
12279
|
}];
|
|
@@ -12314,7 +12322,11 @@ const initCalendarSeries = props => {
|
|
|
12314
12322
|
x: dayOfWeek,
|
|
12315
12323
|
y: weekIndex,
|
|
12316
12324
|
value: value,
|
|
12317
|
-
date: dateForPoint.toISOString()
|
|
12325
|
+
date: dateForPoint.toISOString(),
|
|
12326
|
+
// Store as ISO string for tooltip
|
|
12327
|
+
custom: {
|
|
12328
|
+
monthDay: dateForPoint.getDate() // Day of month (1-31) for dataLabel
|
|
12329
|
+
}
|
|
12318
12330
|
});
|
|
12319
12331
|
currentDate.setDate(currentDate.getDate() + 1);
|
|
12320
12332
|
}
|
|
@@ -12330,6 +12342,9 @@ const initCalendarSeries = props => {
|
|
|
12330
12342
|
});
|
|
12331
12343
|
const renderYAxis = () => ({
|
|
12332
12344
|
categories: weeks,
|
|
12345
|
+
title: {
|
|
12346
|
+
text: null
|
|
12347
|
+
},
|
|
12333
12348
|
labels: {
|
|
12334
12349
|
enabled: props.showYLabel,
|
|
12335
12350
|
style: {
|
|
@@ -12346,10 +12361,28 @@ const initCalendarSeries = props => {
|
|
|
12346
12361
|
}
|
|
12347
12362
|
});
|
|
12348
12363
|
const renderSeries = () => [{
|
|
12349
|
-
name: "Value",
|
|
12364
|
+
name: props.valueLabel || "Value",
|
|
12350
12365
|
data: calendarData,
|
|
12351
12366
|
turboThreshold: 0,
|
|
12352
|
-
showInLegend: false
|
|
12367
|
+
showInLegend: false,
|
|
12368
|
+
// Hide series name from legend for calendar heatmap
|
|
12369
|
+
dataLabels: [{
|
|
12370
|
+
enabled: true,
|
|
12371
|
+
align: "left",
|
|
12372
|
+
verticalAlign: "top",
|
|
12373
|
+
format: "{point.custom.monthDay}",
|
|
12374
|
+
backgroundColor: "whitesmoke",
|
|
12375
|
+
padding: 2,
|
|
12376
|
+
style: {
|
|
12377
|
+
textOutline: "none",
|
|
12378
|
+
color: "rgba(70, 70, 92, 1)",
|
|
12379
|
+
fontSize: "0.8rem",
|
|
12380
|
+
fontWeight: "bold",
|
|
12381
|
+
opacity: 0.5
|
|
12382
|
+
},
|
|
12383
|
+
x: 1,
|
|
12384
|
+
y: 1
|
|
12385
|
+
}]
|
|
12353
12386
|
}];
|
|
12354
12387
|
return {
|
|
12355
12388
|
xAxis: renderXAxis(),
|
|
@@ -12084,10 +12084,12 @@ const initChart$1 = props => {
|
|
|
12084
12084
|
if (daysToAdd < 0) daysToAdd += 7; // Handle week wrap
|
|
12085
12085
|
date.setDate(date.getDate() + daysToAdd);
|
|
12086
12086
|
}
|
|
12087
|
-
|
|
12087
|
+
const valueLabel = props.valueLabel || "Value";
|
|
12088
|
+
return `<b>${date.toLocaleDateString()}</b><br/>${valueLabel}: <b>${point.value}</b>`;
|
|
12088
12089
|
}
|
|
12089
12090
|
const point = this.point;
|
|
12090
|
-
|
|
12091
|
+
const valueLabel = props.valueLabel || "Value";
|
|
12092
|
+
return `<b>${point.series.xAxis.categories[point.x]}</b>, <b>${point.series.yAxis.categories[point.y]}</b><br/>${valueLabel}: <b>${point.value}</b>`;
|
|
12091
12093
|
}
|
|
12092
12094
|
},
|
|
12093
12095
|
credits: {
|
|
@@ -12130,7 +12132,7 @@ const initChart$1 = props => {
|
|
|
12130
12132
|
}
|
|
12131
12133
|
|
|
12132
12134
|
// Fallback: use dynamic import (async, but will work in Vite/Storybook)
|
|
12133
|
-
import('./heatmap-
|
|
12135
|
+
import('./heatmap-OI5flU15.js').then(function (n) { return n.h; }).then(heatmapModule => {
|
|
12134
12136
|
const moduleFn = typeof heatmapModule === "function" ? heatmapModule : heatmapModule?.default || heatmapModule;
|
|
12135
12137
|
if (typeof moduleFn === "function") {
|
|
12136
12138
|
moduleFn(Highcharts);
|
|
@@ -12183,6 +12185,9 @@ const initBasicSeries = props => {
|
|
|
12183
12185
|
});
|
|
12184
12186
|
const renderYAxis = () => ({
|
|
12185
12187
|
categories: props.yAxisLabel,
|
|
12188
|
+
title: {
|
|
12189
|
+
text: null
|
|
12190
|
+
},
|
|
12186
12191
|
labels: {
|
|
12187
12192
|
enabled: props.showYLabel,
|
|
12188
12193
|
style: {
|
|
@@ -12201,7 +12206,7 @@ const initBasicSeries = props => {
|
|
|
12201
12206
|
const renderSeries = () => {
|
|
12202
12207
|
const data = props.data.map(point => [point.x, point.y, point.value]);
|
|
12203
12208
|
return [{
|
|
12204
|
-
name: "Value",
|
|
12209
|
+
name: props.valueLabel || "Value",
|
|
12205
12210
|
data,
|
|
12206
12211
|
turboThreshold: 0
|
|
12207
12212
|
}];
|
|
@@ -12226,6 +12231,9 @@ const initInterpolatedSeries = props => {
|
|
|
12226
12231
|
});
|
|
12227
12232
|
const renderYAxis = () => ({
|
|
12228
12233
|
categories: props.yAxisLabel,
|
|
12234
|
+
title: {
|
|
12235
|
+
text: null
|
|
12236
|
+
},
|
|
12229
12237
|
labels: {
|
|
12230
12238
|
enabled: props.showYLabel,
|
|
12231
12239
|
style: {
|
|
@@ -12244,7 +12252,7 @@ const initInterpolatedSeries = props => {
|
|
|
12244
12252
|
const renderSeries = () => {
|
|
12245
12253
|
const data = props.data.map(point => [point.x, point.y, point.value]);
|
|
12246
12254
|
return [{
|
|
12247
|
-
name: "Value",
|
|
12255
|
+
name: props.valueLabel || "Value",
|
|
12248
12256
|
data,
|
|
12249
12257
|
turboThreshold: 0
|
|
12250
12258
|
}];
|
|
@@ -12293,7 +12301,11 @@ const initCalendarSeries = props => {
|
|
|
12293
12301
|
x: dayOfWeek,
|
|
12294
12302
|
y: weekIndex,
|
|
12295
12303
|
value: value,
|
|
12296
|
-
date: dateForPoint.toISOString()
|
|
12304
|
+
date: dateForPoint.toISOString(),
|
|
12305
|
+
// Store as ISO string for tooltip
|
|
12306
|
+
custom: {
|
|
12307
|
+
monthDay: dateForPoint.getDate() // Day of month (1-31) for dataLabel
|
|
12308
|
+
}
|
|
12297
12309
|
});
|
|
12298
12310
|
currentDate.setDate(currentDate.getDate() + 1);
|
|
12299
12311
|
}
|
|
@@ -12309,6 +12321,9 @@ const initCalendarSeries = props => {
|
|
|
12309
12321
|
});
|
|
12310
12322
|
const renderYAxis = () => ({
|
|
12311
12323
|
categories: weeks,
|
|
12324
|
+
title: {
|
|
12325
|
+
text: null
|
|
12326
|
+
},
|
|
12312
12327
|
labels: {
|
|
12313
12328
|
enabled: props.showYLabel,
|
|
12314
12329
|
style: {
|
|
@@ -12325,10 +12340,28 @@ const initCalendarSeries = props => {
|
|
|
12325
12340
|
}
|
|
12326
12341
|
});
|
|
12327
12342
|
const renderSeries = () => [{
|
|
12328
|
-
name: "Value",
|
|
12343
|
+
name: props.valueLabel || "Value",
|
|
12329
12344
|
data: calendarData,
|
|
12330
12345
|
turboThreshold: 0,
|
|
12331
|
-
showInLegend: false
|
|
12346
|
+
showInLegend: false,
|
|
12347
|
+
// Hide series name from legend for calendar heatmap
|
|
12348
|
+
dataLabels: [{
|
|
12349
|
+
enabled: true,
|
|
12350
|
+
align: "left",
|
|
12351
|
+
verticalAlign: "top",
|
|
12352
|
+
format: "{point.custom.monthDay}",
|
|
12353
|
+
backgroundColor: "whitesmoke",
|
|
12354
|
+
padding: 2,
|
|
12355
|
+
style: {
|
|
12356
|
+
textOutline: "none",
|
|
12357
|
+
color: "rgba(70, 70, 92, 1)",
|
|
12358
|
+
fontSize: "0.8rem",
|
|
12359
|
+
fontWeight: "bold",
|
|
12360
|
+
opacity: 0.5
|
|
12361
|
+
},
|
|
12362
|
+
x: 1,
|
|
12363
|
+
y: 1
|
|
12364
|
+
}]
|
|
12332
12365
|
}];
|
|
12333
12366
|
return {
|
|
12334
12367
|
xAxis: renderXAxis(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ApplicationMenu, o as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, n as ConnectionPanel, D as DonutChart, z as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, u as ErrorModal, F as File, d as Icons, v as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, H as MaskedTilePanel, M as MultiAxisArea, P as PageTitle, q as PaymentMethod, r as PaymentMethodAdd, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, G as SimpleForm, w as SimpleModal, i as SimplePanel, s as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, p as SubscriptionPlans, x as SuccessModal, J as TilePanel, m as TitleWithIndex, T as TitledPanel, y as TwoFactorModal, U as UserMenu, t as theme, N as useManagedModals, K as useModal } from './index-
|
|
1
|
+
export { A as ApplicationMenu, o as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, n as ConnectionPanel, D as DonutChart, z as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, u as ErrorModal, F as File, d as Icons, v as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, H as MaskedTilePanel, M as MultiAxisArea, P as PageTitle, q as PaymentMethod, r as PaymentMethodAdd, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, G as SimpleForm, w as SimpleModal, i as SimplePanel, s as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, p as SubscriptionPlans, x as SuccessModal, J as TilePanel, m as TitleWithIndex, T as TitledPanel, y as TwoFactorModal, U as UserMenu, t as theme, N as useManagedModals, K as useModal } from './index-BfazjC7j.js';
|
|
2
2
|
import '@mantine/modals';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@mantine/core';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adiba-banking-cloud/backoffice",
|
|
3
3
|
"author": "TUROG Technologies",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.104",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|