@nebula.js/stardust 5.15.0 → 5.17.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/core/esm/dev.js +1090 -58
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +4 -6
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +1090 -58
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +7 -9
- package/dist/stardust.js.map +1 -1
- package/package.json +10 -10
- package/types/index.d.ts +15 -8
package/core/esm/dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v5.
|
|
2
|
+
* @nebula.js/stardust v5.17.0
|
|
3
3
|
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -22,7 +22,11 @@ function getAugmentedNamespace(n) {
|
|
|
22
22
|
var f = n.default;
|
|
23
23
|
if (typeof f == "function") {
|
|
24
24
|
var a = function a () {
|
|
25
|
-
|
|
25
|
+
var isInstance = false;
|
|
26
|
+
try {
|
|
27
|
+
isInstance = this instanceof a;
|
|
28
|
+
} catch {}
|
|
29
|
+
if (isInstance) {
|
|
26
30
|
return Reflect.construct(f, arguments, this.constructor);
|
|
27
31
|
}
|
|
28
32
|
return f.apply(this, arguments);
|
|
@@ -1025,6 +1029,26 @@ const locale = function () {
|
|
|
1025
1029
|
};
|
|
1026
1030
|
};
|
|
1027
1031
|
|
|
1032
|
+
var Accessibility_Object_NoTitle = {
|
|
1033
|
+
id: "Accessibility.Object.NoTitle",
|
|
1034
|
+
locale: {
|
|
1035
|
+
"de-DE": "Kein Titel",
|
|
1036
|
+
"en-US": "No title",
|
|
1037
|
+
"es-ES": "Sin título",
|
|
1038
|
+
"fr-FR": "Pas de titre",
|
|
1039
|
+
"it-IT": "Nessun titolo",
|
|
1040
|
+
"ja-JP": "タイトルなし",
|
|
1041
|
+
"ko-KR": "제목 없음",
|
|
1042
|
+
"nl-NL": "Geen titel",
|
|
1043
|
+
"pl-PL": "Brak tytułu",
|
|
1044
|
+
"pt-BR": "Sem título",
|
|
1045
|
+
"ru-RU": "Без заголовка",
|
|
1046
|
+
"sv-SE": "Ingen rubrik",
|
|
1047
|
+
"tr-TR": "Başlık yok",
|
|
1048
|
+
"zh-CN": "无标题",
|
|
1049
|
+
"zh-TW": "無標題"
|
|
1050
|
+
}
|
|
1051
|
+
};
|
|
1028
1052
|
var Cancel$1 = {
|
|
1029
1053
|
id: "Cancel",
|
|
1030
1054
|
locale: {
|
|
@@ -1445,6 +1469,166 @@ var OK = {
|
|
|
1445
1469
|
"zh-TW": "確定"
|
|
1446
1470
|
}
|
|
1447
1471
|
};
|
|
1472
|
+
var Object_ActionButton = {
|
|
1473
|
+
id: "Object.ActionButton",
|
|
1474
|
+
locale: {
|
|
1475
|
+
"de-DE": "Schaltfläche",
|
|
1476
|
+
"en-US": "Button",
|
|
1477
|
+
"es-ES": "Botón",
|
|
1478
|
+
"fr-FR": "Bouton",
|
|
1479
|
+
"it-IT": "Pulsante",
|
|
1480
|
+
"ja-JP": "ボタン",
|
|
1481
|
+
"ko-KR": "버튼",
|
|
1482
|
+
"nl-NL": "Knop",
|
|
1483
|
+
"pl-PL": "Przycisk",
|
|
1484
|
+
"pt-BR": "Botão",
|
|
1485
|
+
"ru-RU": "Кнопка",
|
|
1486
|
+
"sv-SE": "Knapp",
|
|
1487
|
+
"tr-TR": "Düğme",
|
|
1488
|
+
"zh-CN": "按钮",
|
|
1489
|
+
"zh-TW": "按鈕"
|
|
1490
|
+
}
|
|
1491
|
+
};
|
|
1492
|
+
var Object_AutoChart = {
|
|
1493
|
+
id: "Object.AutoChart",
|
|
1494
|
+
locale: {
|
|
1495
|
+
"de-DE": "Automatisches Diagramm",
|
|
1496
|
+
"en-US": "Autochart",
|
|
1497
|
+
"es-ES": "Gráfico automático",
|
|
1498
|
+
"fr-FR": "Graphique automatique",
|
|
1499
|
+
"it-IT": "Grafico automatico",
|
|
1500
|
+
"ja-JP": "オートチャート",
|
|
1501
|
+
"ko-KR": "자동 차트",
|
|
1502
|
+
"nl-NL": "Automatisch diagram",
|
|
1503
|
+
"pl-PL": "Automatyczny wykres",
|
|
1504
|
+
"pt-BR": "Gráfico automático",
|
|
1505
|
+
"ru-RU": "Автодиаграмма",
|
|
1506
|
+
"sv-SE": "Automatiskt diagram",
|
|
1507
|
+
"tr-TR": "Otomatik grafik",
|
|
1508
|
+
"zh-CN": "自动图表",
|
|
1509
|
+
"zh-TW": "自動圖表"
|
|
1510
|
+
}
|
|
1511
|
+
};
|
|
1512
|
+
var Object_BarChart = {
|
|
1513
|
+
id: "Object.BarChart",
|
|
1514
|
+
locale: {
|
|
1515
|
+
"de-DE": "Balkendiagramm",
|
|
1516
|
+
"en-US": "Bar chart",
|
|
1517
|
+
"es-ES": "Gráfico de barras",
|
|
1518
|
+
"fr-FR": "Graphique en barres",
|
|
1519
|
+
"it-IT": "Grafico a barre",
|
|
1520
|
+
"ja-JP": "棒グラフ",
|
|
1521
|
+
"ko-KR": "막대형 차트",
|
|
1522
|
+
"nl-NL": "Staafdiagram",
|
|
1523
|
+
"pl-PL": "Wykres słupkowy",
|
|
1524
|
+
"pt-BR": "Gráfico de barras",
|
|
1525
|
+
"ru-RU": "Линейчатая диаграмма",
|
|
1526
|
+
"sv-SE": "Stapeldiagram",
|
|
1527
|
+
"tr-TR": "Sütun grafik",
|
|
1528
|
+
"zh-CN": "条形图",
|
|
1529
|
+
"zh-TW": "長條圖"
|
|
1530
|
+
}
|
|
1531
|
+
};
|
|
1532
|
+
var Object_BoxPlot = {
|
|
1533
|
+
id: "Object.BoxPlot",
|
|
1534
|
+
locale: {
|
|
1535
|
+
"de-DE": "Boxplot",
|
|
1536
|
+
"en-US": "Box plot",
|
|
1537
|
+
"es-ES": "Diagrama de caja",
|
|
1538
|
+
"fr-FR": "Boîte à moustaches",
|
|
1539
|
+
"it-IT": "Box plot",
|
|
1540
|
+
"ja-JP": "ボックス プロット",
|
|
1541
|
+
"ko-KR": "상자 그림",
|
|
1542
|
+
"nl-NL": "Boxplot",
|
|
1543
|
+
"pl-PL": "Wykres pudełkowy",
|
|
1544
|
+
"pt-BR": "Plotagem de caixa",
|
|
1545
|
+
"ru-RU": "Блочная диаграмма",
|
|
1546
|
+
"sv-SE": "Lådagram",
|
|
1547
|
+
"tr-TR": "Kutu çizimi",
|
|
1548
|
+
"zh-CN": "框图",
|
|
1549
|
+
"zh-TW": "盒狀圖"
|
|
1550
|
+
}
|
|
1551
|
+
};
|
|
1552
|
+
var Object_BulletChart = {
|
|
1553
|
+
id: "Object.BulletChart",
|
|
1554
|
+
locale: {
|
|
1555
|
+
"de-DE": "Bullet-Diagramm",
|
|
1556
|
+
"en-US": "Bullet chart",
|
|
1557
|
+
"es-ES": "Gráfico de viñetas",
|
|
1558
|
+
"fr-FR": "Graphique à puces",
|
|
1559
|
+
"it-IT": "Grafico bullet",
|
|
1560
|
+
"ja-JP": "ブレット チャート",
|
|
1561
|
+
"ko-KR": "글머리 기호 차트",
|
|
1562
|
+
"nl-NL": "Bulletgrafiek",
|
|
1563
|
+
"pl-PL": "Wykres pociskowy",
|
|
1564
|
+
"pt-BR": "Quadro comparativo",
|
|
1565
|
+
"ru-RU": "Диаграмма Буллет",
|
|
1566
|
+
"sv-SE": "Nyansdiagram",
|
|
1567
|
+
"tr-TR": "Madde imli grafik",
|
|
1568
|
+
"zh-CN": "子弹图",
|
|
1569
|
+
"zh-TW": "子彈圖"
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
var Object_ComboChart = {
|
|
1573
|
+
id: "Object.ComboChart",
|
|
1574
|
+
locale: {
|
|
1575
|
+
"de-DE": "Kombi-Diagramm",
|
|
1576
|
+
"en-US": "Combo chart",
|
|
1577
|
+
"es-ES": "Gráfico combinado",
|
|
1578
|
+
"fr-FR": "Graphique combiné",
|
|
1579
|
+
"it-IT": "Grafico combinato",
|
|
1580
|
+
"ja-JP": "コンボ チャート",
|
|
1581
|
+
"ko-KR": "콤보 차트",
|
|
1582
|
+
"nl-NL": "Combinatiegrafiek",
|
|
1583
|
+
"pl-PL": "Wykres kombi",
|
|
1584
|
+
"pt-BR": "Gráfico de combinação",
|
|
1585
|
+
"ru-RU": "Комбинированная диаграмма",
|
|
1586
|
+
"sv-SE": "Kombinationsdiagram",
|
|
1587
|
+
"tr-TR": "Birleşik grafik",
|
|
1588
|
+
"zh-CN": "组合图",
|
|
1589
|
+
"zh-TW": "組合圖"
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
var Object_Container = {
|
|
1593
|
+
id: "Object.Container",
|
|
1594
|
+
locale: {
|
|
1595
|
+
"de-DE": "Sammelbox",
|
|
1596
|
+
"en-US": "Container",
|
|
1597
|
+
"es-ES": "Contenedor",
|
|
1598
|
+
"fr-FR": "Conteneur",
|
|
1599
|
+
"it-IT": "Contenitore",
|
|
1600
|
+
"ja-JP": "コンテナー",
|
|
1601
|
+
"ko-KR": "컨테이너",
|
|
1602
|
+
"nl-NL": "Container",
|
|
1603
|
+
"pl-PL": "Kontener",
|
|
1604
|
+
"pt-BR": "Contêiner",
|
|
1605
|
+
"ru-RU": "Контейнер",
|
|
1606
|
+
"sv-SE": "Behållare",
|
|
1607
|
+
"tr-TR": "Kapsayıcı",
|
|
1608
|
+
"zh-CN": "容器",
|
|
1609
|
+
"zh-TW": "容器"
|
|
1610
|
+
}
|
|
1611
|
+
};
|
|
1612
|
+
var Object_DistributionPlot = {
|
|
1613
|
+
id: "Object.DistributionPlot",
|
|
1614
|
+
locale: {
|
|
1615
|
+
"de-DE": "Verteilungsdiagramm",
|
|
1616
|
+
"en-US": "Distribution plot",
|
|
1617
|
+
"es-ES": "Diagrama de distribución",
|
|
1618
|
+
"fr-FR": "Diagramme de distribution",
|
|
1619
|
+
"it-IT": "Grafico di distribuzione",
|
|
1620
|
+
"ja-JP": "分布プロット",
|
|
1621
|
+
"ko-KR": "분포도",
|
|
1622
|
+
"nl-NL": "Verdelingsplot",
|
|
1623
|
+
"pl-PL": "Wykres rozkładu",
|
|
1624
|
+
"pt-BR": "Gráfico de distribuição",
|
|
1625
|
+
"ru-RU": "График распределения",
|
|
1626
|
+
"sv-SE": "Fördelningsdiagram",
|
|
1627
|
+
"tr-TR": "Dağılım grafiği",
|
|
1628
|
+
"zh-CN": "分布图",
|
|
1629
|
+
"zh-TW": "分佈圖"
|
|
1630
|
+
}
|
|
1631
|
+
};
|
|
1448
1632
|
var Object_FilterLabel_All = {
|
|
1449
1633
|
id: "Object.FilterLabel.All",
|
|
1450
1634
|
locale: {
|
|
@@ -1505,6 +1689,26 @@ var Object_FilterLabel_Unknown = {
|
|
|
1505
1689
|
"zh-TW": "未知"
|
|
1506
1690
|
}
|
|
1507
1691
|
};
|
|
1692
|
+
var Object_FilterPane = {
|
|
1693
|
+
id: "Object.FilterPane",
|
|
1694
|
+
locale: {
|
|
1695
|
+
"de-DE": "Filterfenster",
|
|
1696
|
+
"en-US": "Filter pane",
|
|
1697
|
+
"es-ES": "Panel de filtrado",
|
|
1698
|
+
"fr-FR": "Panneau de filtre",
|
|
1699
|
+
"it-IT": "Casella di filtro",
|
|
1700
|
+
"ja-JP": "フィルター パネル",
|
|
1701
|
+
"ko-KR": "필터 창",
|
|
1702
|
+
"nl-NL": "Filtervak",
|
|
1703
|
+
"pl-PL": "Panel filtrowania",
|
|
1704
|
+
"pt-BR": "Painel de filtro",
|
|
1705
|
+
"ru-RU": "Фильтр",
|
|
1706
|
+
"sv-SE": "Filterruta",
|
|
1707
|
+
"tr-TR": "Filtre bölmesi",
|
|
1708
|
+
"zh-CN": "筛选器窗格",
|
|
1709
|
+
"zh-TW": "篩選窗格"
|
|
1710
|
+
}
|
|
1711
|
+
};
|
|
1508
1712
|
var Object_FiltersApplied = {
|
|
1509
1713
|
id: "Object.FiltersApplied",
|
|
1510
1714
|
locale: {
|
|
@@ -1525,6 +1729,166 @@ var Object_FiltersApplied = {
|
|
|
1525
1729
|
"zh-TW": "篩選器已套用:"
|
|
1526
1730
|
}
|
|
1527
1731
|
};
|
|
1732
|
+
var Object_FunnelChart = {
|
|
1733
|
+
id: "Object.FunnelChart",
|
|
1734
|
+
locale: {
|
|
1735
|
+
"de-DE": "Trichterdiagramm",
|
|
1736
|
+
"en-US": "Funnel chart",
|
|
1737
|
+
"es-ES": "Gráfico de embudo",
|
|
1738
|
+
"fr-FR": "Graphique en entonnoir",
|
|
1739
|
+
"it-IT": "Grafico a imbuto",
|
|
1740
|
+
"ja-JP": "ファネル チャート",
|
|
1741
|
+
"ko-KR": "깔때기형 차트",
|
|
1742
|
+
"nl-NL": "Trechterdiagram",
|
|
1743
|
+
"pl-PL": "Wykres lejkowy",
|
|
1744
|
+
"pt-BR": "Gráfico de funil",
|
|
1745
|
+
"ru-RU": "Диаграмма Воронка",
|
|
1746
|
+
"sv-SE": "Trattdiagram",
|
|
1747
|
+
"tr-TR": "Huni grafik",
|
|
1748
|
+
"zh-CN": "漏斗图",
|
|
1749
|
+
"zh-TW": "漏斗圖"
|
|
1750
|
+
}
|
|
1751
|
+
};
|
|
1752
|
+
var Object_Gauge = {
|
|
1753
|
+
id: "Object.Gauge",
|
|
1754
|
+
locale: {
|
|
1755
|
+
"de-DE": "Messzeiger",
|
|
1756
|
+
"en-US": "Gauge",
|
|
1757
|
+
"es-ES": "Indicador",
|
|
1758
|
+
"fr-FR": "Jauge",
|
|
1759
|
+
"it-IT": "Misuratore",
|
|
1760
|
+
"ja-JP": "ゲージ",
|
|
1761
|
+
"ko-KR": "게이지",
|
|
1762
|
+
"nl-NL": "Meter",
|
|
1763
|
+
"pl-PL": "Miernik",
|
|
1764
|
+
"pt-BR": "Mostrador",
|
|
1765
|
+
"ru-RU": "Датчик",
|
|
1766
|
+
"sv-SE": "Mätare",
|
|
1767
|
+
"tr-TR": "Gösterge",
|
|
1768
|
+
"zh-CN": "仪表",
|
|
1769
|
+
"zh-TW": "量表"
|
|
1770
|
+
}
|
|
1771
|
+
};
|
|
1772
|
+
var Object_GridChart = {
|
|
1773
|
+
id: "Object.GridChart",
|
|
1774
|
+
locale: {
|
|
1775
|
+
"de-DE": "Matrixdiagramm",
|
|
1776
|
+
"en-US": "Grid chart",
|
|
1777
|
+
"es-ES": "Gráfico de cuadrícula",
|
|
1778
|
+
"fr-FR": "Bulles",
|
|
1779
|
+
"it-IT": "Grafico a griglia",
|
|
1780
|
+
"ja-JP": "グリッド チャート",
|
|
1781
|
+
"ko-KR": "그리드형 차트",
|
|
1782
|
+
"nl-NL": "Rasterdiagram",
|
|
1783
|
+
"pl-PL": "Wykres siatkowy",
|
|
1784
|
+
"pt-BR": "Gráfico de grade",
|
|
1785
|
+
"ru-RU": "Сетчатая диаграмма",
|
|
1786
|
+
"sv-SE": "Rutnätsdiagram",
|
|
1787
|
+
"tr-TR": "Izgara grafik",
|
|
1788
|
+
"zh-CN": "网格图",
|
|
1789
|
+
"zh-TW": "格線圖"
|
|
1790
|
+
}
|
|
1791
|
+
};
|
|
1792
|
+
var Object_Histogram = {
|
|
1793
|
+
id: "Object.Histogram",
|
|
1794
|
+
locale: {
|
|
1795
|
+
"de-DE": "Histogramm",
|
|
1796
|
+
"en-US": "Histogram",
|
|
1797
|
+
"es-ES": "Histograma",
|
|
1798
|
+
"fr-FR": "Histogramme",
|
|
1799
|
+
"it-IT": "Istogramma",
|
|
1800
|
+
"ja-JP": "ヒストグラム",
|
|
1801
|
+
"ko-KR": "히스토그램",
|
|
1802
|
+
"nl-NL": "Histogram",
|
|
1803
|
+
"pl-PL": "Histogram",
|
|
1804
|
+
"pt-BR": "Histograma",
|
|
1805
|
+
"ru-RU": "Гистограмма",
|
|
1806
|
+
"sv-SE": "Histogram",
|
|
1807
|
+
"tr-TR": "Histogram",
|
|
1808
|
+
"zh-CN": "直方图",
|
|
1809
|
+
"zh-TW": "色階分佈圖"
|
|
1810
|
+
}
|
|
1811
|
+
};
|
|
1812
|
+
var Object_Kpi = {
|
|
1813
|
+
id: "Object.Kpi",
|
|
1814
|
+
locale: {
|
|
1815
|
+
"de-DE": "KPI",
|
|
1816
|
+
"en-US": "KPI",
|
|
1817
|
+
"es-ES": "KPI",
|
|
1818
|
+
"fr-FR": "ICP",
|
|
1819
|
+
"it-IT": "KPI",
|
|
1820
|
+
"ja-JP": "KPI",
|
|
1821
|
+
"ko-KR": "KPI",
|
|
1822
|
+
"nl-NL": "KPI",
|
|
1823
|
+
"pl-PL": "Wskaźnik KPI",
|
|
1824
|
+
"pt-BR": "KPI",
|
|
1825
|
+
"ru-RU": "Ключевой показатель эффективности",
|
|
1826
|
+
"sv-SE": "KPI (nyckeltal)",
|
|
1827
|
+
"tr-TR": "KPI",
|
|
1828
|
+
"zh-CN": "KPI",
|
|
1829
|
+
"zh-TW": "KPI"
|
|
1830
|
+
}
|
|
1831
|
+
};
|
|
1832
|
+
var Object_LayoutContainer = {
|
|
1833
|
+
id: "Object.LayoutContainer",
|
|
1834
|
+
locale: {
|
|
1835
|
+
"de-DE": "Layout-Sammelbox",
|
|
1836
|
+
"en-US": "Layout container",
|
|
1837
|
+
"es-ES": "Contenedor de diseño",
|
|
1838
|
+
"fr-FR": "Conteneur de disposition",
|
|
1839
|
+
"it-IT": "Contenitore layout",
|
|
1840
|
+
"ja-JP": "レイアウト コンテナ",
|
|
1841
|
+
"ko-KR": "레이아웃 컨테이너",
|
|
1842
|
+
"nl-NL": "Lay-outcontainer",
|
|
1843
|
+
"pl-PL": "Kontener układu",
|
|
1844
|
+
"pt-BR": "Contêiner de layout",
|
|
1845
|
+
"ru-RU": "Контейнер макета",
|
|
1846
|
+
"sv-SE": "Layoutbehållare",
|
|
1847
|
+
"tr-TR": "Düzen kapsayıcısı",
|
|
1848
|
+
"zh-CN": "布局容器",
|
|
1849
|
+
"zh-TW": "版面配置容器"
|
|
1850
|
+
}
|
|
1851
|
+
};
|
|
1852
|
+
var Object_LineChart = {
|
|
1853
|
+
id: "Object.LineChart",
|
|
1854
|
+
locale: {
|
|
1855
|
+
"de-DE": "Liniendiagramm",
|
|
1856
|
+
"en-US": "Line chart",
|
|
1857
|
+
"es-ES": "Gráfico de líneas",
|
|
1858
|
+
"fr-FR": "Graphique en courbes",
|
|
1859
|
+
"it-IT": "Grafico lineare",
|
|
1860
|
+
"ja-JP": "折れ線グラフ",
|
|
1861
|
+
"ko-KR": "꺾은선형 차트",
|
|
1862
|
+
"nl-NL": "Lijndiagram",
|
|
1863
|
+
"pl-PL": "Wykres liniowy",
|
|
1864
|
+
"pt-BR": "Gráfico de linhas",
|
|
1865
|
+
"ru-RU": "Линейный график",
|
|
1866
|
+
"sv-SE": "Linjediagram",
|
|
1867
|
+
"tr-TR": "Çizgi grafik",
|
|
1868
|
+
"zh-CN": "折线图",
|
|
1869
|
+
"zh-TW": "折線圖"
|
|
1870
|
+
}
|
|
1871
|
+
};
|
|
1872
|
+
var Object_Listbox = {
|
|
1873
|
+
id: "Object.Listbox",
|
|
1874
|
+
locale: {
|
|
1875
|
+
"de-DE": "Listbox",
|
|
1876
|
+
"en-US": "List box",
|
|
1877
|
+
"es-ES": "Cuadro de lista",
|
|
1878
|
+
"fr-FR": "Liste de sélection",
|
|
1879
|
+
"it-IT": "Casella di elenco",
|
|
1880
|
+
"ja-JP": "リスト ボックス",
|
|
1881
|
+
"ko-KR": "목록 상자",
|
|
1882
|
+
"nl-NL": "Keuzelijst",
|
|
1883
|
+
"pl-PL": "Lista wartości",
|
|
1884
|
+
"pt-BR": "Lista",
|
|
1885
|
+
"ru-RU": "Список",
|
|
1886
|
+
"sv-SE": "Listruta",
|
|
1887
|
+
"tr-TR": "Liste kutusu",
|
|
1888
|
+
"zh-CN": "列表框",
|
|
1889
|
+
"zh-TW": "清單方塊"
|
|
1890
|
+
}
|
|
1891
|
+
};
|
|
1528
1892
|
var Object_Listbox_Alternative = {
|
|
1529
1893
|
id: "Object.Listbox.Alternative",
|
|
1530
1894
|
locale: {
|
|
@@ -1665,6 +2029,326 @@ var Object_Listbox_SelectedExcluded = {
|
|
|
1665
2029
|
"zh-TW": "已選取排除值"
|
|
1666
2030
|
}
|
|
1667
2031
|
};
|
|
2032
|
+
var Object_Map = {
|
|
2033
|
+
id: "Object.Map",
|
|
2034
|
+
locale: {
|
|
2035
|
+
"de-DE": "Karte",
|
|
2036
|
+
"en-US": "Map",
|
|
2037
|
+
"es-ES": "Mapa",
|
|
2038
|
+
"fr-FR": "Carte",
|
|
2039
|
+
"it-IT": "Mappa",
|
|
2040
|
+
"ja-JP": "マップ",
|
|
2041
|
+
"ko-KR": "맵",
|
|
2042
|
+
"nl-NL": "Kaart",
|
|
2043
|
+
"pl-PL": "Mapa",
|
|
2044
|
+
"pt-BR": "Mapa",
|
|
2045
|
+
"ru-RU": "Карта",
|
|
2046
|
+
"sv-SE": "Karta",
|
|
2047
|
+
"tr-TR": "Harita",
|
|
2048
|
+
"zh-CN": "映射",
|
|
2049
|
+
"zh-TW": "地圖"
|
|
2050
|
+
}
|
|
2051
|
+
};
|
|
2052
|
+
var Object_MekkoChart = {
|
|
2053
|
+
id: "Object.MekkoChart",
|
|
2054
|
+
locale: {
|
|
2055
|
+
"de-DE": "Marimekko-Diagramm",
|
|
2056
|
+
"en-US": "Mekko chart",
|
|
2057
|
+
"es-ES": "Gráfico Mekko",
|
|
2058
|
+
"fr-FR": "Graphique Mekko",
|
|
2059
|
+
"it-IT": "Grafico Mekko",
|
|
2060
|
+
"ja-JP": "メッコ チャート",
|
|
2061
|
+
"ko-KR": "메코 차트",
|
|
2062
|
+
"nl-NL": "Mekko-diagram",
|
|
2063
|
+
"pl-PL": "Wykres Mekko",
|
|
2064
|
+
"pt-BR": "Gráfico Mekko",
|
|
2065
|
+
"ru-RU": "Диаграмма Мекко",
|
|
2066
|
+
"sv-SE": "Mosaikdiagram",
|
|
2067
|
+
"tr-TR": "Mekko grafiği",
|
|
2068
|
+
"zh-CN": "玛丽麦高图",
|
|
2069
|
+
"zh-TW": "Mekko 圖"
|
|
2070
|
+
}
|
|
2071
|
+
};
|
|
2072
|
+
var Object_NavMenu = {
|
|
2073
|
+
id: "Object.NavMenu",
|
|
2074
|
+
locale: {
|
|
2075
|
+
"de-DE": "Navigationsmenü",
|
|
2076
|
+
"en-US": "Navigation menu",
|
|
2077
|
+
"es-ES": "Menú de navegación",
|
|
2078
|
+
"fr-FR": "Menu de navigation",
|
|
2079
|
+
"it-IT": "Menu di navigazione",
|
|
2080
|
+
"ja-JP": "ナビゲーション メニュー",
|
|
2081
|
+
"ko-KR": "탐색 메뉴",
|
|
2082
|
+
"nl-NL": "Navigatiemenu",
|
|
2083
|
+
"pl-PL": "Menu nawigacji",
|
|
2084
|
+
"pt-BR": "Menu de navegação",
|
|
2085
|
+
"ru-RU": "Меню навигации",
|
|
2086
|
+
"sv-SE": "Navigationsmeny",
|
|
2087
|
+
"tr-TR": "Gezinti menüsü",
|
|
2088
|
+
"zh-CN": "导航菜单",
|
|
2089
|
+
"zh-TW": "導覽功能表"
|
|
2090
|
+
}
|
|
2091
|
+
};
|
|
2092
|
+
var Object_NlgChart = {
|
|
2093
|
+
id: "Object.NlgChart",
|
|
2094
|
+
locale: {
|
|
2095
|
+
"de-DE": "NL-Einblicke",
|
|
2096
|
+
"en-US": "NL insights",
|
|
2097
|
+
"es-ES": "Información en LN",
|
|
2098
|
+
"fr-FR": "Informations analytiques NL",
|
|
2099
|
+
"it-IT": "Informazioni strategiche NL",
|
|
2100
|
+
"ja-JP": "NL インサイト",
|
|
2101
|
+
"ko-KR": "NL 통찰력",
|
|
2102
|
+
"nl-NL": "NL-inzichten",
|
|
2103
|
+
"pl-PL": "Wnioski w języku naturalnym",
|
|
2104
|
+
"pt-BR": "Ideias de NL",
|
|
2105
|
+
"ru-RU": "Наблюдения на естественном языке",
|
|
2106
|
+
"sv-SE": "Insikter på naturligt språk (NL)",
|
|
2107
|
+
"tr-TR": "NL içgörüleri",
|
|
2108
|
+
"zh-CN": "NL 见解",
|
|
2109
|
+
"zh-TW": "自然語言深入資訊"
|
|
2110
|
+
}
|
|
2111
|
+
};
|
|
2112
|
+
var Object_PieChart = {
|
|
2113
|
+
id: "Object.PieChart",
|
|
2114
|
+
locale: {
|
|
2115
|
+
"de-DE": "Kreisdiagramm",
|
|
2116
|
+
"en-US": "Pie chart",
|
|
2117
|
+
"es-ES": "Gráfico de tarta",
|
|
2118
|
+
"fr-FR": "Graphique en secteurs",
|
|
2119
|
+
"it-IT": "Grafico a torta",
|
|
2120
|
+
"ja-JP": "円グラフ",
|
|
2121
|
+
"ko-KR": "원형 차트",
|
|
2122
|
+
"nl-NL": "Cirkeldiagram",
|
|
2123
|
+
"pl-PL": "Wykres kołowy",
|
|
2124
|
+
"pt-BR": "Gráfico de pizza",
|
|
2125
|
+
"ru-RU": "Круговая диаграмма",
|
|
2126
|
+
"sv-SE": "Cirkeldiagram",
|
|
2127
|
+
"tr-TR": "Pasta grafik",
|
|
2128
|
+
"zh-CN": "饼图",
|
|
2129
|
+
"zh-TW": "圓形圖"
|
|
2130
|
+
}
|
|
2131
|
+
};
|
|
2132
|
+
var Object_PivotTable = {
|
|
2133
|
+
id: "Object.PivotTable",
|
|
2134
|
+
locale: {
|
|
2135
|
+
"de-DE": "Pivottabelle",
|
|
2136
|
+
"en-US": "Pivot table",
|
|
2137
|
+
"es-ES": "Tabla dinámica",
|
|
2138
|
+
"fr-FR": "Tableau croisé dynamique",
|
|
2139
|
+
"it-IT": "Tabella pivot",
|
|
2140
|
+
"ja-JP": "ピボット テーブル",
|
|
2141
|
+
"ko-KR": "피벗 테이블",
|
|
2142
|
+
"nl-NL": "Draaitabel",
|
|
2143
|
+
"pl-PL": "Tabela przestawna",
|
|
2144
|
+
"pt-BR": "Tabela dinâmica",
|
|
2145
|
+
"ru-RU": "Сводная таблица",
|
|
2146
|
+
"sv-SE": "Pivottabell",
|
|
2147
|
+
"tr-TR": "Pivot tablo",
|
|
2148
|
+
"zh-CN": "透视表",
|
|
2149
|
+
"zh-TW": "樞紐分析表"
|
|
2150
|
+
}
|
|
2151
|
+
};
|
|
2152
|
+
var Object_RadarChart = {
|
|
2153
|
+
id: "Object.RadarChart",
|
|
2154
|
+
locale: {
|
|
2155
|
+
"de-DE": "Netzdiagramm",
|
|
2156
|
+
"en-US": "Radar chart",
|
|
2157
|
+
"es-ES": "Gráfico de radar",
|
|
2158
|
+
"fr-FR": "Diagramme en étoile",
|
|
2159
|
+
"it-IT": "Grafico a radar",
|
|
2160
|
+
"ja-JP": "レーダー チャート",
|
|
2161
|
+
"ko-KR": "방사형 차트",
|
|
2162
|
+
"nl-NL": "Radardiagram",
|
|
2163
|
+
"pl-PL": "Wykres radarowy",
|
|
2164
|
+
"pt-BR": "Gráfico de radar",
|
|
2165
|
+
"ru-RU": "Диаграмма Радар",
|
|
2166
|
+
"sv-SE": "Radardiagram",
|
|
2167
|
+
"tr-TR": "Radar grafiği",
|
|
2168
|
+
"zh-CN": "雷达图",
|
|
2169
|
+
"zh-TW": "雷達圖"
|
|
2170
|
+
}
|
|
2171
|
+
};
|
|
2172
|
+
var Object_SankeyChart = {
|
|
2173
|
+
id: "Object.SankeyChart",
|
|
2174
|
+
locale: {
|
|
2175
|
+
"de-DE": "Sankey-Diagramm",
|
|
2176
|
+
"en-US": "Sankey chart",
|
|
2177
|
+
"es-ES": "Diagrama de Sankey",
|
|
2178
|
+
"fr-FR": "Diagramme de Sankey",
|
|
2179
|
+
"it-IT": "Diagramma di Sankey",
|
|
2180
|
+
"ja-JP": "サンキー グラフ",
|
|
2181
|
+
"ko-KR": "Sankey 차트",
|
|
2182
|
+
"nl-NL": "Sankey-diagram",
|
|
2183
|
+
"pl-PL": "Wykres Sankeya",
|
|
2184
|
+
"pt-BR": "Gráfico de Sankey",
|
|
2185
|
+
"ru-RU": "Диаграмма Сэнки",
|
|
2186
|
+
"sv-SE": "Sankey-diagram",
|
|
2187
|
+
"tr-TR": "Sankey grafiği",
|
|
2188
|
+
"zh-CN": "桑基图",
|
|
2189
|
+
"zh-TW": "桑基圖"
|
|
2190
|
+
}
|
|
2191
|
+
};
|
|
2192
|
+
var Object_ScatterPlot = {
|
|
2193
|
+
id: "Object.ScatterPlot",
|
|
2194
|
+
locale: {
|
|
2195
|
+
"de-DE": "Punktdiagramm",
|
|
2196
|
+
"en-US": "Scatter plot",
|
|
2197
|
+
"es-ES": "Gráfico de dispersión",
|
|
2198
|
+
"fr-FR": "Nuage de points",
|
|
2199
|
+
"it-IT": "Grafico a dispersione",
|
|
2200
|
+
"ja-JP": "散布図",
|
|
2201
|
+
"ko-KR": "스캐터 차트",
|
|
2202
|
+
"nl-NL": "Spreidingsplot",
|
|
2203
|
+
"pl-PL": "Wykres punktowy",
|
|
2204
|
+
"pt-BR": "Plotagem de dispersão",
|
|
2205
|
+
"ru-RU": "Точечная диаграмма",
|
|
2206
|
+
"sv-SE": "Spridningsdiagram",
|
|
2207
|
+
"tr-TR": "Dağılım çizimi",
|
|
2208
|
+
"zh-CN": "散点图",
|
|
2209
|
+
"zh-TW": "散佈圖"
|
|
2210
|
+
}
|
|
2211
|
+
};
|
|
2212
|
+
var Object_StraightTable = {
|
|
2213
|
+
id: "Object.StraightTable",
|
|
2214
|
+
locale: {
|
|
2215
|
+
"de-DE": "Tabellendiagramm",
|
|
2216
|
+
"en-US": "Straight table",
|
|
2217
|
+
"es-ES": "Tabla simple",
|
|
2218
|
+
"fr-FR": "Tableau simple",
|
|
2219
|
+
"it-IT": "Tabella lineare",
|
|
2220
|
+
"ja-JP": "ストレート テーブル",
|
|
2221
|
+
"ko-KR": "일반표",
|
|
2222
|
+
"nl-NL": "Strakke tabel",
|
|
2223
|
+
"pl-PL": "Tabela prosta",
|
|
2224
|
+
"pt-BR": "Tabela estática",
|
|
2225
|
+
"ru-RU": "Прямая таблица",
|
|
2226
|
+
"sv-SE": "Enkel tabell",
|
|
2227
|
+
"tr-TR": "Düz tablo",
|
|
2228
|
+
"zh-CN": "垂直表",
|
|
2229
|
+
"zh-TW": "直表"
|
|
2230
|
+
}
|
|
2231
|
+
};
|
|
2232
|
+
var Object_TabContainer = {
|
|
2233
|
+
id: "Object.TabContainer",
|
|
2234
|
+
locale: {
|
|
2235
|
+
"de-DE": "Registerkarten-Container",
|
|
2236
|
+
"en-US": "Tab container",
|
|
2237
|
+
"es-ES": "Contenedor de pestañas",
|
|
2238
|
+
"fr-FR": "Conteneur d'onglets",
|
|
2239
|
+
"it-IT": "Contenitore a schede",
|
|
2240
|
+
"ja-JP": "タブ付きコンテナ",
|
|
2241
|
+
"ko-KR": "탭 컨테이너",
|
|
2242
|
+
"nl-NL": "Tabbladcontainer",
|
|
2243
|
+
"pl-PL": "Kontener karty",
|
|
2244
|
+
"pt-BR": "Contêiner de guias",
|
|
2245
|
+
"ru-RU": "Контейнер вкладок",
|
|
2246
|
+
"sv-SE": "Flikbehållare",
|
|
2247
|
+
"tr-TR": "Sekme kapsayıcısı",
|
|
2248
|
+
"zh-CN": "选项卡容器",
|
|
2249
|
+
"zh-TW": "索引標籤容器"
|
|
2250
|
+
}
|
|
2251
|
+
};
|
|
2252
|
+
var Object_Table = {
|
|
2253
|
+
id: "Object.Table",
|
|
2254
|
+
locale: {
|
|
2255
|
+
"de-DE": "Tabelle",
|
|
2256
|
+
"en-US": "Table",
|
|
2257
|
+
"es-ES": "Tabla",
|
|
2258
|
+
"fr-FR": "Table",
|
|
2259
|
+
"it-IT": "Tabella",
|
|
2260
|
+
"ja-JP": "テーブル",
|
|
2261
|
+
"ko-KR": "테이블",
|
|
2262
|
+
"nl-NL": "Tabel",
|
|
2263
|
+
"pl-PL": "Tabela",
|
|
2264
|
+
"pt-BR": "Tabela",
|
|
2265
|
+
"ru-RU": "Таблица",
|
|
2266
|
+
"sv-SE": "Tabell",
|
|
2267
|
+
"tr-TR": "Tablo",
|
|
2268
|
+
"zh-CN": "表格",
|
|
2269
|
+
"zh-TW": "表格"
|
|
2270
|
+
}
|
|
2271
|
+
};
|
|
2272
|
+
var Object_Table_Deprecated = {
|
|
2273
|
+
id: "Object.Table.Deprecated",
|
|
2274
|
+
locale: {
|
|
2275
|
+
"de-DE": "Tabelle",
|
|
2276
|
+
"en-US": "Table ",
|
|
2277
|
+
"es-ES": "Tabla",
|
|
2278
|
+
"fr-FR": "Table",
|
|
2279
|
+
"it-IT": "Tabella",
|
|
2280
|
+
"ja-JP": "テーブル",
|
|
2281
|
+
"ko-KR": "테이블",
|
|
2282
|
+
"nl-NL": "Tabel",
|
|
2283
|
+
"pl-PL": "Tabela",
|
|
2284
|
+
"pt-BR": "Tabela",
|
|
2285
|
+
"ru-RU": "Таблица",
|
|
2286
|
+
"sv-SE": "Tabell",
|
|
2287
|
+
"tr-TR": "Tablo",
|
|
2288
|
+
"zh-CN": "表格",
|
|
2289
|
+
"zh-TW": "表格"
|
|
2290
|
+
}
|
|
2291
|
+
};
|
|
2292
|
+
var Object_Text = {
|
|
2293
|
+
id: "Object.Text",
|
|
2294
|
+
locale: {
|
|
2295
|
+
"de-DE": "Text",
|
|
2296
|
+
"en-US": "Text",
|
|
2297
|
+
"es-ES": "Texto",
|
|
2298
|
+
"fr-FR": "Texte",
|
|
2299
|
+
"it-IT": "Testo",
|
|
2300
|
+
"ja-JP": "テキスト",
|
|
2301
|
+
"ko-KR": "텍스트",
|
|
2302
|
+
"nl-NL": "Tekst",
|
|
2303
|
+
"pl-PL": "Tekst",
|
|
2304
|
+
"pt-BR": "Texto",
|
|
2305
|
+
"ru-RU": "Текст",
|
|
2306
|
+
"sv-SE": "Text",
|
|
2307
|
+
"tr-TR": "Metin",
|
|
2308
|
+
"zh-CN": "文本",
|
|
2309
|
+
"zh-TW": "文字"
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2312
|
+
var Object_TextImage = {
|
|
2313
|
+
id: "Object.TextImage",
|
|
2314
|
+
locale: {
|
|
2315
|
+
"de-DE": "Text und Bild",
|
|
2316
|
+
"en-US": "Text & image",
|
|
2317
|
+
"es-ES": "Texto e imagen",
|
|
2318
|
+
"fr-FR": "Texte et image",
|
|
2319
|
+
"it-IT": "Testo e immagine",
|
|
2320
|
+
"ja-JP": "テキストと画像",
|
|
2321
|
+
"ko-KR": "텍스트 및 이미지",
|
|
2322
|
+
"nl-NL": "Tekst en afbeelding",
|
|
2323
|
+
"pl-PL": "Tekst i grafika",
|
|
2324
|
+
"pt-BR": "Texto e imagem",
|
|
2325
|
+
"ru-RU": "Текст и изображение",
|
|
2326
|
+
"sv-SE": "Text och bild",
|
|
2327
|
+
"tr-TR": "Metin ve resim",
|
|
2328
|
+
"zh-CN": "文本和图片",
|
|
2329
|
+
"zh-TW": "文字與影像"
|
|
2330
|
+
}
|
|
2331
|
+
};
|
|
2332
|
+
var Object_Treemap = {
|
|
2333
|
+
id: "Object.Treemap",
|
|
2334
|
+
locale: {
|
|
2335
|
+
"de-DE": "Baumkarte",
|
|
2336
|
+
"en-US": "Treemap",
|
|
2337
|
+
"es-ES": "Gráfico de bloques",
|
|
2338
|
+
"fr-FR": "Treemap",
|
|
2339
|
+
"it-IT": "Mappa ad albero",
|
|
2340
|
+
"ja-JP": "ツリーマップ",
|
|
2341
|
+
"ko-KR": "트리맵",
|
|
2342
|
+
"nl-NL": "Structuuroverzicht",
|
|
2343
|
+
"pl-PL": "Mapa drzewa",
|
|
2344
|
+
"pt-BR": "Mapa de árvore",
|
|
2345
|
+
"ru-RU": "Карта дерева",
|
|
2346
|
+
"sv-SE": "Trädkarta",
|
|
2347
|
+
"tr-TR": "Ağaç haritası",
|
|
2348
|
+
"zh-CN": "树形图",
|
|
2349
|
+
"zh-TW": "樹狀圖"
|
|
2350
|
+
}
|
|
2351
|
+
};
|
|
1668
2352
|
var Object_Update_Active = {
|
|
1669
2353
|
id: "Object.Update.Active",
|
|
1670
2354
|
locale: {
|
|
@@ -1705,6 +2389,26 @@ var Object_Update_Cancelled = {
|
|
|
1705
2389
|
"zh-TW": "資料更新已取消"
|
|
1706
2390
|
}
|
|
1707
2391
|
};
|
|
2392
|
+
var Object_WaterfallChart = {
|
|
2393
|
+
id: "Object.WaterfallChart",
|
|
2394
|
+
locale: {
|
|
2395
|
+
"de-DE": "Wasserfalldiagramm",
|
|
2396
|
+
"en-US": "Waterfall chart",
|
|
2397
|
+
"es-ES": "Gráfico de cascada",
|
|
2398
|
+
"fr-FR": "Graphique en cascade",
|
|
2399
|
+
"it-IT": "Grafico a cascata",
|
|
2400
|
+
"ja-JP": "ウォーターフォール グラフ",
|
|
2401
|
+
"ko-KR": "폭포형 차트",
|
|
2402
|
+
"nl-NL": "Watervalgrafiek",
|
|
2403
|
+
"pl-PL": "Wykres wodospadowy",
|
|
2404
|
+
"pt-BR": "Gráfico em cascata",
|
|
2405
|
+
"ru-RU": "Каскадная диаграмма",
|
|
2406
|
+
"sv-SE": "Vattenfallsdiagram",
|
|
2407
|
+
"tr-TR": "Şelale grafik",
|
|
2408
|
+
"zh-CN": "瀑布图",
|
|
2409
|
+
"zh-TW": "瀑布圖"
|
|
2410
|
+
}
|
|
2411
|
+
};
|
|
1708
2412
|
var Retry$1 = {
|
|
1709
2413
|
id: "Retry",
|
|
1710
2414
|
locale: {
|
|
@@ -2206,6 +2910,7 @@ var Visualization_UnfulfilledCalculationCondition = {
|
|
|
2206
2910
|
}
|
|
2207
2911
|
};
|
|
2208
2912
|
var all = {
|
|
2913
|
+
Accessibility_Object_NoTitle: Accessibility_Object_NoTitle,
|
|
2209
2914
|
Cancel: Cancel$1,
|
|
2210
2915
|
CurrentSelections_All: CurrentSelections_All,
|
|
2211
2916
|
CurrentSelections_Of: CurrentSelections_Of,
|
|
@@ -2227,10 +2932,27 @@ var all = {
|
|
|
2227
2932
|
Navigate_Back: Navigate_Back,
|
|
2228
2933
|
Navigate_Forward: Navigate_Forward,
|
|
2229
2934
|
OK: OK,
|
|
2935
|
+
Object_ActionButton: Object_ActionButton,
|
|
2936
|
+
Object_AutoChart: Object_AutoChart,
|
|
2937
|
+
Object_BarChart: Object_BarChart,
|
|
2938
|
+
Object_BoxPlot: Object_BoxPlot,
|
|
2939
|
+
Object_BulletChart: Object_BulletChart,
|
|
2940
|
+
Object_ComboChart: Object_ComboChart,
|
|
2941
|
+
Object_Container: Object_Container,
|
|
2942
|
+
Object_DistributionPlot: Object_DistributionPlot,
|
|
2230
2943
|
Object_FilterLabel_All: Object_FilterLabel_All,
|
|
2231
2944
|
Object_FilterLabel_Exclude: Object_FilterLabel_Exclude,
|
|
2232
2945
|
Object_FilterLabel_Unknown: Object_FilterLabel_Unknown,
|
|
2946
|
+
Object_FilterPane: Object_FilterPane,
|
|
2233
2947
|
Object_FiltersApplied: Object_FiltersApplied,
|
|
2948
|
+
Object_FunnelChart: Object_FunnelChart,
|
|
2949
|
+
Object_Gauge: Object_Gauge,
|
|
2950
|
+
Object_GridChart: Object_GridChart,
|
|
2951
|
+
Object_Histogram: Object_Histogram,
|
|
2952
|
+
Object_Kpi: Object_Kpi,
|
|
2953
|
+
Object_LayoutContainer: Object_LayoutContainer,
|
|
2954
|
+
Object_LineChart: Object_LineChart,
|
|
2955
|
+
Object_Listbox: Object_Listbox,
|
|
2234
2956
|
Object_Listbox_Alternative: Object_Listbox_Alternative,
|
|
2235
2957
|
Object_Listbox_Excluded: Object_Listbox_Excluded,
|
|
2236
2958
|
Object_Listbox_ExcludedLock: Object_Listbox_ExcludedLock,
|
|
@@ -2238,8 +2960,25 @@ var all = {
|
|
|
2238
2960
|
Object_Listbox_Optional: Object_Listbox_Optional,
|
|
2239
2961
|
Object_Listbox_Selected: Object_Listbox_Selected,
|
|
2240
2962
|
Object_Listbox_SelectedExcluded: Object_Listbox_SelectedExcluded,
|
|
2963
|
+
Object_Map: Object_Map,
|
|
2964
|
+
Object_MekkoChart: Object_MekkoChart,
|
|
2965
|
+
Object_NavMenu: Object_NavMenu,
|
|
2966
|
+
Object_NlgChart: Object_NlgChart,
|
|
2967
|
+
Object_PieChart: Object_PieChart,
|
|
2968
|
+
Object_PivotTable: Object_PivotTable,
|
|
2969
|
+
Object_RadarChart: Object_RadarChart,
|
|
2970
|
+
Object_SankeyChart: Object_SankeyChart,
|
|
2971
|
+
Object_ScatterPlot: Object_ScatterPlot,
|
|
2972
|
+
Object_StraightTable: Object_StraightTable,
|
|
2973
|
+
Object_TabContainer: Object_TabContainer,
|
|
2974
|
+
Object_Table: Object_Table,
|
|
2975
|
+
Object_Table_Deprecated: Object_Table_Deprecated,
|
|
2976
|
+
Object_Text: Object_Text,
|
|
2977
|
+
Object_TextImage: Object_TextImage,
|
|
2978
|
+
Object_Treemap: Object_Treemap,
|
|
2241
2979
|
Object_Update_Active: Object_Update_Active,
|
|
2242
2980
|
Object_Update_Cancelled: Object_Update_Cancelled,
|
|
2981
|
+
Object_WaterfallChart: Object_WaterfallChart,
|
|
2243
2982
|
Retry: Retry$1,
|
|
2244
2983
|
ScreenReader_ManySearchResults: ScreenReader_ManySearchResults,
|
|
2245
2984
|
ScreenReader_ManySelected: ScreenReader_ManySelected,
|
|
@@ -10900,7 +11639,7 @@ function create$3(definition) {
|
|
|
10900
11639
|
return cache[key];
|
|
10901
11640
|
}
|
|
10902
11641
|
|
|
10903
|
-
const NEBULA_VERSION_HASH = "
|
|
11642
|
+
const NEBULA_VERSION_HASH = "1ecc";
|
|
10904
11643
|
ClassNameGenerator.configure(componentName => {
|
|
10905
11644
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
10906
11645
|
});
|
|
@@ -11142,7 +11881,7 @@ function boot(_ref2) {
|
|
|
11142
11881
|
const appRef = React__default.createRef();
|
|
11143
11882
|
const element = document.createElement('div');
|
|
11144
11883
|
element.style.display = 'none';
|
|
11145
|
-
element.setAttribute('data-nebulajs-version', "5.
|
|
11884
|
+
element.setAttribute('data-nebulajs-version', "5.17.0");
|
|
11146
11885
|
element.setAttribute('data-app-id', app.id);
|
|
11147
11886
|
document.body.appendChild(element);
|
|
11148
11887
|
if (context) {
|
|
@@ -11221,6 +11960,7 @@ function boot(_ref2) {
|
|
|
11221
11960
|
});
|
|
11222
11961
|
modelStore.destroy();
|
|
11223
11962
|
root.unmount();
|
|
11963
|
+
document.body.removeChild(element);
|
|
11224
11964
|
}
|
|
11225
11965
|
}, modelStore, selectionStore, appRef, rendered];
|
|
11226
11966
|
}
|
|
@@ -18315,14 +19055,12 @@ function hasSelections(layout) {
|
|
|
18315
19055
|
}
|
|
18316
19056
|
|
|
18317
19057
|
/*
|
|
18318
|
-
* qlik-chart-modules v0.
|
|
19058
|
+
* qlik-chart-modules v0.95.0
|
|
18319
19059
|
* Copyright (c) 2025 QlikTech International AB
|
|
18320
19060
|
* Released under the MIT license.
|
|
18321
19061
|
*/
|
|
18322
19062
|
|
|
18323
|
-
function e(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function t(t){if("object"==typeof t&&e(t))return (t.r<<16)+(t.g<<8)+t.b;let n=0,r=0,i=0;if("string"==typeof t){let e;(e=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(t))?(n=parseInt(e[1],10),r=parseInt(e[2],10),i=parseInt(e[3],10)):(e=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),i=parseInt(e[3],16)):(e=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),i=parseInt(e[3]+e[3],16));}return (n<<16)+(r<<8)+i}const n={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function r(...t){const r={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:false,spaces:{}};let i=0,o=0,a=0,l=1;if(null!==(s=t[0])&&"object"==typeof s&&"type"in s&&"qcm-color"===s.type)(({r:i,g:o,b:a,a:l}=t[0])),r.invalid=t[0].invalid,r.spaces={...t[0].spaces};else if(e(t[0]))(({r:i,g:o,b:a}=t[0])),"a"in t[0]&&({a:l}=t[0]);else if(t.length<3)if("string"==typeof t[0]){const e=t[0];let s;if(s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))i=parseInt(s[1],10),o=parseInt(s[2],10),a=parseInt(s[3],10);else if(s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e))i=parseInt(s[1],10),o=parseInt(s[2],10),a=parseInt(s[3],10),l=parseFloat(s[4]);else if(s=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))l=parseInt(s[1],10)/255,i=parseInt(s[2],10),o=parseInt(s[3],10),a=parseInt(s[4],10);else if(s=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))i=parseInt(s[1],16),o=parseInt(s[2],16),a=parseInt(s[3],16),l=1;else if(s=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))i=parseInt(s[1]+s[1],16),o=parseInt(s[2]+s[2],16),a=parseInt(s[3]+s[3],16),l=1;else if(s=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e)){let e=parseFloat(s[1]),t=parseFloat(s[3]),n=parseFloat(s[5]);e%=360,t/=100,n/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,n=n<0?0:n>1?1:n;const r=n<=.5?2*n*t:(2-2*n)*t;let c=e/60;const u=r*(1-Math.abs(c%2-1));let f=[];switch(c=Math.floor(c),c){case 0:f=[r,u,0];break;case 1:f=[u,r,0];break;case 2:f=[0,r,u];break;case 3:f=[0,u,r];break;case 4:f=[u,0,r];break;case 5:f=[r,0,u];break;default:f=[0,0,0];}const d=n-.5*r;i=f[0]+d,o=f[1]+d,a=f[2]+d,i=Math.round(255*i),o=Math.round(255*o),a=Math.round(255*a),l=1;}else if(s=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e)){let e=parseFloat(s[1]),t=parseFloat(s[3]),n=parseFloat(s[5]);l=parseFloat(s[7]),e%=360,t/=100,n/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,n=n<0?0:n>1?1:n;const r=n<=.5?2*n*t:(2-2*n)*t;let c=e/60;const u=r*(1-Math.abs(c%2-1));let f=[];switch(c=Math.floor(c),c){case 0:f=[r,u,0];break;case 1:f=[u,r,0];break;case 2:f=[0,r,u];break;case 3:f=[0,u,r];break;case 4:f=[u,0,r];break;case 5:f=[r,0,u];break;default:f=[0,0,0];}const d=n-.5*r;i=f[0]+d,o=f[1]+d,a=f[2]+d,i=Math.round(255*i),o=Math.round(255*o),a=Math.round(255*a);}else if(s=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e)){let e=parseFloat(s[1]),t=parseFloat(s[3]),n=parseFloat(s[5]);e%=360,t/=100,n/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,n=n<0?0:n>1?1:n;const r=n*t;let c=e/60;const u=r*(1-Math.abs(c%2-1));let f=[];switch(c=Math.floor(c),c){case 0:f=[r,u,0];break;case 1:f=[u,r,0];break;case 2:f=[0,r,u];break;case 3:f=[0,u,r];break;case 4:f=[u,0,r];break;case 5:f=[r,0,u];break;default:f=[0,0,0];}const d=n-r;i=f[0]+d,o=f[1]+d,a=f[2]+d,i=Math.round(255*i),o=Math.round(255*o),a=Math.round(255*a),l=1;}else {const t=e.toLowerCase();if(function(e){return e in n}(t)){const e=n[t];(({r:i,g:o,b:a}=e)),l="a"in e?e.a:1;}else r.invalid=true;}}else "number"==typeof t[0]&&t[0]>=0&&"argb"===t[1]?(l=(4278190080&t[0])>>>24,l/=255,i=(16711680&t[0])>>16,o=(65280&t[0])>>8,a=255&t[0]):"number"==typeof t[0]&&t[0]>=0?(i=(16711680&t[0])>>16,o=(65280&t[0])>>8,a=255&t[0]):r.invalid=true;else 3===t.length||4===t.length?(i=t[0],o=t[1],a=t[2],l=4===t.length?t[3]:1):r.invalid=true;var s;return Number.isNaN(+i+o+a+l)&&(r.invalid=true),r.r=Math.floor(i),r.g=Math.floor(o),r.b=Math.floor(a),r.a=l,r}function i(n){let r,i,o;if(e(n))return r=n.r.toString(16),i=n.g.toString(16),o=n.b.toString(16),1===r.length&&(r=`0${r}`),1===i.length&&(i=`0${i}`),1===o.length&&(o=`0${o}`),`#${[r,i,o].join("")}`;const a="string"==typeof n?t(n):n;return r=((16711680&a)>>16).toString(16),i=((65280&a)>>8).toString(16),o=(255&a).toString(16),1===r.length&&(r=`0${r}`),1===i.length&&(i=`0${i}`),1===o.length&&(o=`0${o}`),`#${r}${i}${o}`}function o(e){let t,n,i=0;const o="string"==typeof e?r(e):e,a=o.r/255,l=o.g/255,s=o.b/255,c=Math.max(a,l,s),u=Math.min(a,l,s),f=(c+u)/2;if(c===u)t=0,i=0;else {switch(n=c-u,t=f>.5?n/(2-c-u):n/(c+u),c){case a:i=(l-s)/n+(l<s?6:0);break;case l:i=(s-a)/n+2;break;case s:i=(a-l)/n+4;}i/=6;}return `hsl(${360*i}, ${100*t}, ${100*f})`}function a(e){let t,n,i=0;const o="string"==typeof e?r(e):e,a=o.r/255,l=o.g/255,s=o.b/255,{a:c}=o,u=Math.max(a,l,s),f=Math.min(a,l,s),d=(u+f)/2;if(u===f)t=0,i=0;else {switch(n=u-f,t=d>.5?n/(2-u-f):n/(u+f),u){case a:i=(l-s)/n+(l<s?6:0);break;case l:i=(s-a)/n+2;break;case s:i=(a-l)/n+4;}i/=6;}return {h:360*i,s:100*t,l:100*d,a:c}}function l(e){const{h:t,s:n,l:r,a:i}=a(e);return `hsla(${t}, ${n}, ${r}, ${i})`}function s(e){let t,n,i=0;const o="string"==typeof e?r(e):e,a=o.r/255,l=o.g/255,s=o.b/255,c=Math.max(a,l,s),u=Math.min(a,l,s),f=c;if(c===u)t=0,i=0;else {switch(n=c-u,t=0===n?0:n/f,c){case a:i=(l-s)/n+(l<s?6:0);break;case l:i=(s-a)/n+2;break;case s:i=(a-l)/n+4;}i/=6;}return {h:360*i%360,s:100*t,v:100*f}}function c(e){const{h:t,s:n,v:r}=s(e);return `hsv(${t}, ${n}, ${r})`}function u(n){if(e(n))return `rgb(${n.r}, ${n.g}, ${n.b})`;const r="string"==typeof n?t(n):n;return `rgb(${(16711680&r)>>16}, ${(65280&r)>>8}, ${255&r})`}function f(t,n){return e(t)?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:f(r(t))}function d(t){return e(t)?1===t.a?u(t):f(t):d(r(t))}const p=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function h(e){return .2126*p(e.r)+.7152*p(e.g)+.0722*p(e.b)}function m(...e){const t=r(...e);return t.invalid||h(t)<.4}function g(...e){const t=r(...e),n={type:t.type,r:t.r,g:t.g,b:t.b,a:t.a,invalid:t.invalid,spaces:t.spaces},p=()=>(n.spaces.hslaObject||(n.spaces.hslaObject=a(n)),n.spaces.hslaObject),h=e=>{const t=p(),{h:n,s:r,l:i,a:o}=t;return `hsla(${n}, ${r}, ${Math.max(0,Math.min(i+e,100))}, ${o})`};return {get type(){return n.type},isInvalid:()=>n.invalid,get r(){return n.r},get g(){return n.g},get b(){return n.b},get a(){return n.a},getR:()=>n.r,getG:()=>n.g,getB:()=>n.b,getAlpha:()=>n.a,setAlpha:e=>{n.a=e,n.spaces={};},isEqualTo:e=>{let t;if("string"==typeof e)t=r(e);else {if(e.type!==n.type)return false;t=e;}return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a},isDark:()=>m(n),getRGB:()=>(n.spaces.rgb||(n.spaces.rgb=u(n)),n.spaces.rgb),getRGBA:()=>(n.spaces.rgba||(n.spaces.rgba=f(n)),n.spaces.rgba),getString:()=>(n.spaces.string||(n.spaces.string=d(n)),n.spaces.string),getHex:()=>(n.spaces.hex||(n.spaces.hex=i(n)),n.spaces.hex),getHSL:()=>(n.spaces.hsl||(n.spaces.hsl=o(n)),n.spaces.hsl),getHSLA:()=>(n.spaces.hsla||(n.spaces.hsla=l(n)),n.spaces.hsla),getHSLAObject:p,getShiftedHSLA:h,getHSV:()=>(n.spaces.hsv||(n.spaces.hsv=c(n)),n.spaces.hsv),getHSVObject:()=>(n.spaces.hsvObject||(n.spaces.hsvObject=s(n)),n.spaces.hsvObject),blend:(e,t)=>`rgba(${Math.floor(n.r+(e.r-n.r)*t)}, ${Math.floor(n.g+(e.g-n.g)*t)}, ${Math.floor(n.b+(e.b-n.b)*t)}, ${Math.floor(n.a+(e.getAlpha()-n.a)*t)})`,getBrightenedColor:(e=1)=>g(h(18*e)),getDarkenedColor:(e=1)=>g(h(18*-e))}}function v(e,t){if(!e||!t)return;const n=h(e),r=h(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function b(e,t){const n=g("#FFFFFF"),r=g(e),i=g(t);if(r.isInvalid()||i.isInvalid()||r.getAlpha()<1||i.getAlpha()<1)return t;const o=v(n,r),a=v(i,r),l=o>a||o>4.5;return !l&&a>3?i.getHex():l?"#FFFFFF":"#000000"}var B,K;function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oe=function(){if(K)return B;K=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return false;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return false;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return B=function e(){var t,n,r,s,c,u,f=arguments[0],d=1,p=arguments.length,h=false;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(s=l(t,n))&&(h&&s&&(o(s)||(c=i(s)))?(c?(c=false,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(f,{name:n,newValue:e(h,u,s)})):void 0!==s&&a(f,{name:n,newValue:s}));return f},B}();ie(oe);function de(e,t,n){e.prototype=t.prototype=n,n.constructor=e;}function pe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function he(){}var me=1/.7,ge="\\s*([+-]?\\d+)\\s*",ve="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",be=/^#([0-9a-f]{3,8})$/,xe=new RegExp(`^rgb\\(${ge},${ge},${ge}\\)$`),qe=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),we=new RegExp(`^rgba\\(${ge},${ge},${ge},${ve}\\)$`),ke=new RegExp(`^rgba\\(${ye},${ye},${ye},${ve}\\)$`),Ce=new RegExp(`^hsl\\(${ve},${ye},${ye}\\)$`),Me=new RegExp(`^hsla\\(${ve},${ye},${ye},${ve}\\)$`),Se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function De(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Ie(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=be.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ee(t):3===n?new Le(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ae(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ae(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xe.exec(e))?new Le(t[1],t[2],t[3],1):(t=qe.exec(e))?new Le(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=we.exec(e))?Ae(t[1],t[2],t[3],t[4]):(t=ke.exec(e))?Ae(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ce.exec(e))?Re(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Re(t[1],t[2]/100,t[3]/100,t[4]):Se.hasOwnProperty(e)?Ee(Se[e]):"transparent"===e?new Le(NaN,NaN,NaN,0):null}function Ee(e){return new Le(e>>16&255,e>>8&255,255&e,1)}function Ae(e,t,n,r){return r<=0&&(e=t=n=NaN),new Le(e,t,n,r)}function Ne(e){return e instanceof he||(e=Ie(e)),e?new Le((e=e.rgb()).r,e.g,e.b,e.opacity):new Le}function Te(e,t,n,r){return 1===arguments.length?Ne(e):new Le(e,t,n,null==r?1:r)}function Le(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r;}function Pe(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}`}function je(){const e=Fe(this.opacity);return `${1===e?"rgb(":"rgba("}${He(this.r)}, ${He(this.g)}, ${He(this.b)}${1===e?")":`, ${e})`}`}function Fe(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function He(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ze(e){return ((e=He(e))<16?"0":"")+e.toString(16)}function Re(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new $e(e,t,n,r)}function Ve(e){if(e instanceof $e)return new $e(e.h,e.s,e.l,e.opacity);if(e instanceof he||(e=Ie(e)),!e)return new $e;if(e instanceof $e)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n<r):n===o?(r-t)/l+2:(t-n)/l+4,l/=s<.5?o+i:2-o-i,a*=60):l=s>0&&s<1?0:a,new $e(a,l,s,e.opacity)}function $e(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}function _e(e){return (e=(e||0)%360)<0?e+360:e}function Be(e){return Math.max(0,Math.min(1,e||0))}function Ke(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}de(he,Ie,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:De,formatHex:De,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Oe,toString:Oe}),de(Le,Te,pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Le(He(this.r),He(this.g),He(this.b),Fe(this.opacity))},displayable(){return -0.5<=this.r&&this.r<255.5&&-0.5<=this.g&&this.g<255.5&&-0.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatHex8:function(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}${ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:je,toString:je})),de($e,(function(e,t,n,r){return 1===arguments.length?Ve(e):new $e(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new $e(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new $e(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Le(Ke(e>=240?e-240:e+120,i,r),Ke(e,i,r),Ke(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new $e(_e(this.h),Be(this.s),Be(this.l),Fe(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Fe(this.opacity);return `${1===e?"hsl(":"hsla("}${_e(this.h)}, ${100*Be(this.s)}%, ${100*Be(this.l)}%${1===e?")":`, ${e})`}`}}));const Ye=Math.PI/180,Ue=180/Math.PI,Ge=4/29,We=6/29,Xe=3*We*We;function Ze(e){if(e instanceof Je)return new Je(e.l,e.a,e.b,e.opacity);if(e instanceof ot)return at(e);e instanceof Le||(e=Ne(e));var t,n,r=nt(e.r),i=nt(e.g),o=nt(e.b),a=Qe((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=Qe((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Qe((.0139322*r+.0971045*i+.7141733*o)/.82521)),new Je(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Je(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r;}function Qe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Xe+Ge}function et(e){return e>We?e*e*e:Xe*(e-Ge)}function tt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nt(e){return (e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rt(e){if(e instanceof ot)return new ot(e.h,e.c,e.l,e.opacity);if(e instanceof Je||(e=Ze(e)),0===e.a&&0===e.b)return new ot(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ue;return new ot(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function it(e,t,n,r){return 1===arguments.length?rt(e):new ot(e,t,n,null==r?1:r)}function ot(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r;}function at(e){if(isNaN(e.h))return new Je(e.l,0,0,e.opacity);var t=e.h*Ye;return new Je(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}de(Je,(function(e,t,n,r){return 1===arguments.length?Ze(e):new Je(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return new Je(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Je(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Le(tt(3.1338561*(t=.96422*et(t))-1.6168667*(e=1*et(e))-.4906146*(n=.82521*et(n))),tt(-0.9787684*t+1.9161415*e+.033454*n),tt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),de(ot,it,pe(he,{brighter(e){return new ot(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ot(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return at(this).rgb()}}));var lt=e=>()=>e;function st(e){return 1==(e=+e)?ct:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lt(isNaN(t)?n:t)}}function ct(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):lt(isNaN(e)?t:e)}(function e(t){var n=st(t);function r(e,t){var r=n((e=Te(e)).r,(t=Te(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ct(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);var Ut="center",Gt="bottom";[{key:"NoDataExist",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;return !!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return "NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;if(!t.meta.isContinuous)return false;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:Ut},{key:"DataRangeIncludingZero",alignment:Gt},{key:"LimitedData",alignment:Gt},{key:"NegativeOrZeroValues",alignment:Gt}].reduce((function(e,t){return e[t.key]=t,e}),{});function Vn(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t;}function $n(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Bn)):void 0===t&&(t=_n);for(var n,r,i,o,a,l=new Un(e),s=[l];n=s.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new Un(i[o])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(Yn)}function _n(e){return e.children}function Bn(e){return Array.isArray(e)?e[1]:null}function Kn(e){ void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data;}function Yn(e){var t=0;do{e.height=t;}while((e=e.parent)&&e.height<++t)}function Un(e){this.data=e,this.depth=this.height=0,this.parent=null;}Un.prototype=$n.prototype={constructor:Un,count:function(){return this.eachAfter(Vn)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],l=[],s=-1;o=a.pop();)if(l.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=l.pop();)e.call(t,o,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n;}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e);}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t);})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n});})),t},copy:function(){return $n(this).eachBefore(Kn)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);}while(o.length)}};var qr,wr;(qr=function(e){
|
|
18324
|
-
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
18325
|
-
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,i,o,a,l,s,c,u,f,d=e.length,p=e.search(/[0-9\-\+#]/),h=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),v=d-g,y=e.substring(v,v+1),b=v+("."===y||","===y?1:0),x=g>0?e.substring(b,d):"";if(n=(t="-"===(e=e.substring(p,b)).charAt(0)?-t:+t)<0?t=-t:0,i=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",o=r&&r[1]&&r[0]||",",e=e.split(i),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),u=e[0].split(o),e[0]=u.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=u[1]&&u[u.length-1].length){for(m="",v=(f=t[0]).length%s,d=f.length,b=0;b<d;b++)m+=f.charAt(b),!((b-v+1)%s)&&b<d-s&&(m+=o);t[0]=m;}return t[1]=e[1]&&t[1]?i+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=false),h+(n?"-":"")+r+x};},qr(wr={exports:{}},wr.exports),wr.exports);
|
|
19063
|
+
function e(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function t(t){if("object"==typeof t&&e(t))return (t.r<<16)+(t.g<<8)+t.b;let n=0,r=0,i=0;if("string"==typeof t){let e;(e=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(t))?(n=parseInt(e[1],10),r=parseInt(e[2],10),i=parseInt(e[3],10)):(e=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),i=parseInt(e[3],16)):(e=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),i=parseInt(e[3]+e[3],16));}return (n<<16)+(r<<8)+i}const n={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function r(...t){const r={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:false,spaces:{}};let i=0,o=0,a=0,l=1;if(null!==(s=t[0])&&"object"==typeof s&&"type"in s&&"qcm-color"===s.type)(({r:i,g:o,b:a,a:l}=t[0])),r.invalid=t[0].invalid,r.spaces={...t[0].spaces};else if(e(t[0]))(({r:i,g:o,b:a}=t[0])),"a"in t[0]&&({a:l}=t[0]);else if(t.length<3)if("string"==typeof t[0]){const e=t[0];let s;if(s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))i=parseInt(s[1],10),o=parseInt(s[2],10),a=parseInt(s[3],10);else if(s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e))i=parseInt(s[1],10),o=parseInt(s[2],10),a=parseInt(s[3],10),l=parseFloat(s[4]);else if(s=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))l=parseInt(s[1],10)/255,i=parseInt(s[2],10),o=parseInt(s[3],10),a=parseInt(s[4],10);else if(s=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))i=parseInt(s[1],16),o=parseInt(s[2],16),a=parseInt(s[3],16),l=1;else if(s=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))i=parseInt(s[1]+s[1],16),o=parseInt(s[2]+s[2],16),a=parseInt(s[3]+s[3],16),l=1;else if(s=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e)){let e=parseFloat(s[1]),t=parseFloat(s[3]),n=parseFloat(s[5]);e%=360,t/=100,n/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,n=n<0?0:n>1?1:n;const r=n<=.5?2*n*t:(2-2*n)*t;let c=e/60;const u=r*(1-Math.abs(c%2-1));let f=[];switch(c=Math.floor(c),c){case 0:f=[r,u,0];break;case 1:f=[u,r,0];break;case 2:f=[0,r,u];break;case 3:f=[0,u,r];break;case 4:f=[u,0,r];break;case 5:f=[r,0,u];break;default:f=[0,0,0];}const d=n-.5*r;i=f[0]+d,o=f[1]+d,a=f[2]+d,i=Math.round(255*i),o=Math.round(255*o),a=Math.round(255*a),l=1;}else if(s=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e)){let e=parseFloat(s[1]),t=parseFloat(s[3]),n=parseFloat(s[5]);l=parseFloat(s[7]),e%=360,t/=100,n/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,n=n<0?0:n>1?1:n;const r=n<=.5?2*n*t:(2-2*n)*t;let c=e/60;const u=r*(1-Math.abs(c%2-1));let f=[];switch(c=Math.floor(c),c){case 0:f=[r,u,0];break;case 1:f=[u,r,0];break;case 2:f=[0,r,u];break;case 3:f=[0,u,r];break;case 4:f=[u,0,r];break;case 5:f=[r,0,u];break;default:f=[0,0,0];}const d=n-.5*r;i=f[0]+d,o=f[1]+d,a=f[2]+d,i=Math.round(255*i),o=Math.round(255*o),a=Math.round(255*a);}else if(s=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e)){let e=parseFloat(s[1]),t=parseFloat(s[3]),n=parseFloat(s[5]);e%=360,t/=100,n/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,n=n<0?0:n>1?1:n;const r=n*t;let c=e/60;const u=r*(1-Math.abs(c%2-1));let f=[];switch(c=Math.floor(c),c){case 0:f=[r,u,0];break;case 1:f=[u,r,0];break;case 2:f=[0,r,u];break;case 3:f=[0,u,r];break;case 4:f=[u,0,r];break;case 5:f=[r,0,u];break;default:f=[0,0,0];}const d=n-r;i=f[0]+d,o=f[1]+d,a=f[2]+d,i=Math.round(255*i),o=Math.round(255*o),a=Math.round(255*a),l=1;}else {const t=e.toLowerCase();if(function(e){return e in n}(t)){const e=n[t];(({r:i,g:o,b:a}=e)),l="a"in e?e.a:1;}else r.invalid=true;}}else "number"==typeof t[0]&&t[0]>=0&&"argb"===t[1]?(l=(4278190080&t[0])>>>24,l/=255,i=(16711680&t[0])>>16,o=(65280&t[0])>>8,a=255&t[0]):"number"==typeof t[0]&&t[0]>=0?(i=(16711680&t[0])>>16,o=(65280&t[0])>>8,a=255&t[0]):r.invalid=true;else 3===t.length||4===t.length?(i=t[0],o=t[1],a=t[2],l=4===t.length?t[3]:1):r.invalid=true;var s;return Number.isNaN(+i+o+a+l)&&(r.invalid=true),r.r=Math.floor(i),r.g=Math.floor(o),r.b=Math.floor(a),r.a=l,r}function i(n){let r,i,o;if(e(n))return r=n.r.toString(16),i=n.g.toString(16),o=n.b.toString(16),1===r.length&&(r=`0${r}`),1===i.length&&(i=`0${i}`),1===o.length&&(o=`0${o}`),`#${[r,i,o].join("")}`;const a="string"==typeof n?t(n):n;return r=((16711680&a)>>16).toString(16),i=((65280&a)>>8).toString(16),o=(255&a).toString(16),1===r.length&&(r=`0${r}`),1===i.length&&(i=`0${i}`),1===o.length&&(o=`0${o}`),`#${r}${i}${o}`}function o(e){let t,n,i=0;const o="string"==typeof e?r(e):e,a=o.r/255,l=o.g/255,s=o.b/255,c=Math.max(a,l,s),u=Math.min(a,l,s),f=(c+u)/2;if(c===u)t=0,i=0;else {switch(n=c-u,t=f>.5?n/(2-c-u):n/(c+u),c){case a:i=(l-s)/n+(l<s?6:0);break;case l:i=(s-a)/n+2;break;case s:i=(a-l)/n+4;}i/=6;}return `hsl(${360*i}, ${100*t}, ${100*f})`}function a(e){let t,n,i=0;const o="string"==typeof e?r(e):e,a=o.r/255,l=o.g/255,s=o.b/255,{a:c}=o,u=Math.max(a,l,s),f=Math.min(a,l,s),d=(u+f)/2;if(u===f)t=0,i=0;else {switch(n=u-f,t=d>.5?n/(2-u-f):n/(u+f),u){case a:i=(l-s)/n+(l<s?6:0);break;case l:i=(s-a)/n+2;break;case s:i=(a-l)/n+4;}i/=6;}return {h:360*i,s:100*t,l:100*d,a:c}}function l(e){const{h:t,s:n,l:r,a:i}=a(e);return `hsla(${t}, ${n}, ${r}, ${i})`}function s(e){let t,n,i=0;const o="string"==typeof e?r(e):e,a=o.r/255,l=o.g/255,s=o.b/255,c=Math.max(a,l,s),u=Math.min(a,l,s),f=c;if(c===u)t=0,i=0;else {switch(n=c-u,t=0===n?0:n/f,c){case a:i=(l-s)/n+(l<s?6:0);break;case l:i=(s-a)/n+2;break;case s:i=(a-l)/n+4;}i/=6;}return {h:360*i%360,s:100*t,v:100*f}}function c(e){const{h:t,s:n,v:r}=s(e);return `hsv(${t}, ${n}, ${r})`}function u(n){if(e(n))return `rgb(${n.r}, ${n.g}, ${n.b})`;const r="string"==typeof n?t(n):n;return `rgb(${(16711680&r)>>16}, ${(65280&r)>>8}, ${255&r})`}function f(t,n){return e(t)?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:f(r(t))}function d(t){return e(t)?1===t.a?u(t):f(t):d(r(t))}const p=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function h(e){return .2126*p(e.r)+.7152*p(e.g)+.0722*p(e.b)}function m(...e){const t=r(...e);return t.invalid||h(t)<.4}function v(...e){const t=r(...e),n={type:t.type,r:t.r,g:t.g,b:t.b,a:t.a,invalid:t.invalid,spaces:t.spaces},p=()=>(n.spaces.hslaObject||(n.spaces.hslaObject=a(n)),n.spaces.hslaObject),h=e=>{const t=p(),{h:n,s:r,l:i,a:o}=t;return `hsla(${n}, ${r}, ${Math.max(0,Math.min(i+e,100))}, ${o})`};return {get type(){return n.type},isInvalid:()=>n.invalid,get r(){return n.r},get g(){return n.g},get b(){return n.b},get a(){return n.a},getR:()=>n.r,getG:()=>n.g,getB:()=>n.b,getAlpha:()=>n.a,setAlpha:e=>{n.a=e,n.spaces={};},isEqualTo:e=>{let t;if("string"==typeof e)t=r(e);else {if(e.type!==n.type)return false;t=e;}return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a},isDark:()=>m(n),getRGB:()=>(n.spaces.rgb||(n.spaces.rgb=u(n)),n.spaces.rgb),getRGBA:()=>(n.spaces.rgba||(n.spaces.rgba=f(n)),n.spaces.rgba),getString:()=>(n.spaces.string||(n.spaces.string=d(n)),n.spaces.string),getHex:()=>(n.spaces.hex||(n.spaces.hex=i(n)),n.spaces.hex),getHSL:()=>(n.spaces.hsl||(n.spaces.hsl=o(n)),n.spaces.hsl),getHSLA:()=>(n.spaces.hsla||(n.spaces.hsla=l(n)),n.spaces.hsla),getHSLAObject:p,getShiftedHSLA:h,getHSV:()=>(n.spaces.hsv||(n.spaces.hsv=c(n)),n.spaces.hsv),getHSVObject:()=>(n.spaces.hsvObject||(n.spaces.hsvObject=s(n)),n.spaces.hsvObject),blend:(e,t)=>`rgba(${Math.floor(n.r+(e.r-n.r)*t)}, ${Math.floor(n.g+(e.g-n.g)*t)}, ${Math.floor(n.b+(e.b-n.b)*t)}, ${Math.floor(n.a+(e.getAlpha()-n.a)*t)})`,getBrightenedColor:(e=1)=>v(h(18*e)),getDarkenedColor:(e=1)=>v(h(18*-e))}}function g(e,t){if(!e||!t)return;const n=h(e),r=h(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function b(e,t){const n=v("#FFFFFF"),r=v(e),i=v(t);if(r.isInvalid()||i.isInvalid()||r.getAlpha()<1||i.getAlpha()<1)return t;const o=g(n,r),a=g(i,r),l=o>a||o>4.5;return !l&&a>3?i.getHex():l?"#FFFFFF":"#000000"}var ue,fe;function pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var he=function(){if(fe)return ue;fe=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return false;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return false;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return ue=function e(){var t,n,r,s,c,u,f=arguments[0],d=1,p=arguments.length,h=false;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(s=l(t,n))&&(h&&s&&(o(s)||(c=i(s)))?(c?(c=false,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(f,{name:n,newValue:e(h,u,s)})):void 0!==s&&a(f,{name:n,newValue:s}));return f},ue}();pe(he);function qe(e,t,n){e.prototype=t.prototype=n,n.constructor=e;}function we(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ke(){}var Me=1/.7,Ce="\\s*([+-]?\\d+)\\s*",Se="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",De="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Oe=/^#([0-9a-f]{3,8})$/,Ie=new RegExp(`^rgb\\(${Ce},${Ce},${Ce}\\)$`),Ae=new RegExp(`^rgb\\(${De},${De},${De}\\)$`),Ee=new RegExp(`^rgba\\(${Ce},${Ce},${Ce},${Se}\\)$`),Te=new RegExp(`^rgba\\(${De},${De},${De},${Se}\\)$`),Ne=new RegExp(`^hsl\\(${Se},${De},${De}\\)$`),Le=new RegExp(`^hsla\\(${Se},${De},${De},${Se}\\)$`),Pe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function je(){return this.rgb().formatHex()}function Fe(){return this.rgb().formatRgb()}function He(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Oe.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ze(t):3===n?new _e(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Re(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Re(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ie.exec(e))?new _e(t[1],t[2],t[3],1):(t=Ae.exec(e))?new _e(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ee.exec(e))?Re(t[1],t[2],t[3],t[4]):(t=Te.exec(e))?Re(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ne.exec(e))?We(t[1],t[2]/100,t[3]/100,1):(t=Le.exec(e))?We(t[1],t[2]/100,t[3]/100,t[4]):Pe.hasOwnProperty(e)?ze(Pe[e]):"transparent"===e?new _e(NaN,NaN,NaN,0):null}function ze(e){return new _e(e>>16&255,e>>8&255,255&e,1)}function Re(e,t,n,r){return r<=0&&(e=t=n=NaN),new _e(e,t,n,r)}function Ve(e){return e instanceof ke||(e=He(e)),e?new _e((e=e.rgb()).r,e.g,e.b,e.opacity):new _e}function $e(e,t,n,r){return 1===arguments.length?Ve(e):new _e(e,t,n,null==r?1:r)}function _e(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r;}function Be(){return `#${Ge(this.r)}${Ge(this.g)}${Ge(this.b)}`}function Ke(){const e=Ye(this.opacity);return `${1===e?"rgb(":"rgba("}${Ue(this.r)}, ${Ue(this.g)}, ${Ue(this.b)}${1===e?")":`, ${e})`}`}function Ye(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ue(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ge(e){return ((e=Ue(e))<16?"0":"")+e.toString(16)}function We(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ze(e,t,n,r)}function Xe(e){if(e instanceof Ze)return new Ze(e.h,e.s,e.l,e.opacity);if(e instanceof ke||(e=He(e)),!e)return new Ze;if(e instanceof Ze)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n<r):n===o?(r-t)/l+2:(t-n)/l+4,l/=s<.5?o+i:2-o-i,a*=60):l=s>0&&s<1?0:a,new Ze(a,l,s,e.opacity)}function Ze(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}function Je(e){return (e=(e||0)%360)<0?e+360:e}function Qe(e){return Math.max(0,Math.min(1,e||0))}function et(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}qe(ke,He,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:je,formatHex:je,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Xe(this).formatHsl()},formatRgb:Fe,toString:Fe}),qe(_e,$e,we(ke,{brighter(e){return e=null==e?Me:Math.pow(Me,e),new _e(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new _e(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new _e(Ue(this.r),Ue(this.g),Ue(this.b),Ye(this.opacity))},displayable(){return -0.5<=this.r&&this.r<255.5&&-0.5<=this.g&&this.g<255.5&&-0.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Be,formatHex:Be,formatHex8:function(){return `#${Ge(this.r)}${Ge(this.g)}${Ge(this.b)}${Ge(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ke,toString:Ke})),qe(Ze,(function(e,t,n,r){return 1===arguments.length?Xe(e):new Ze(e,t,n,null==r?1:r)}),we(ke,{brighter(e){return e=null==e?Me:Math.pow(Me,e),new Ze(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Ze(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new _e(et(e>=240?e-240:e+120,i,r),et(e,i,r),et(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ze(Je(this.h),Qe(this.s),Qe(this.l),Ye(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Ye(this.opacity);return `${1===e?"hsl(":"hsla("}${Je(this.h)}, ${100*Qe(this.s)}%, ${100*Qe(this.l)}%${1===e?")":`, ${e})`}`}}));const tt=Math.PI/180,nt=180/Math.PI,rt=4/29,it=6/29,ot=3*it*it;function at(e){if(e instanceof lt)return new lt(e.l,e.a,e.b,e.opacity);if(e instanceof ht)return mt(e);e instanceof _e||(e=Ve(e));var t,n,r=ft(e.r),i=ft(e.g),o=ft(e.b),a=st((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=st((.4360747*r+.3850649*i+.1430804*o)/.96422),n=st((.0139322*r+.0971045*i+.7141733*o)/.82521)),new lt(116*a-16,500*(t-a),200*(a-n),e.opacity)}function lt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r;}function st(e){return e>.008856451679035631?Math.pow(e,1/3):e/ot+rt}function ct(e){return e>it?e*e*e:ot*(e-rt)}function ut(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ft(e){return (e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function dt(e){if(e instanceof ht)return new ht(e.h,e.c,e.l,e.opacity);if(e instanceof lt||(e=at(e)),0===e.a&&0===e.b)return new ht(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*nt;return new ht(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function pt(e,t,n,r){return 1===arguments.length?dt(e):new ht(e,t,n,null==r?1:r)}function ht(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r;}function mt(e){if(isNaN(e.h))return new lt(e.l,0,0,e.opacity);var t=e.h*tt;return new lt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}qe(lt,(function(e,t,n,r){return 1===arguments.length?at(e):new lt(e,t,n,null==r?1:r)}),we(ke,{brighter(e){return new lt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new lt(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new _e(ut(3.1338561*(t=.96422*ct(t))-1.6168667*(e=1*ct(e))-.4906146*(n=.82521*ct(n))),ut(-0.9787684*t+1.9161415*e+.033454*n),ut(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),qe(ht,pt,we(ke,{brighter(e){return new ht(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ht(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return mt(this).rgb()}}));var vt=-0.14861,gt=1.78277,yt=-0.29227,bt=-0.90649,xt=1.97294,qt=xt*bt,wt=xt*gt,kt=gt*yt-bt*vt;function Mt(e){if(e instanceof St)return new St(e.h,e.s,e.l,e.opacity);e instanceof _e||(e=Ve(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(kt*r+qt*t-wt*n)/(kt+qt-wt),o=r-i,a=(xt*(n-i)-yt*o)/bt,l=Math.sqrt(a*a+o*o)/(xt*i*(1-i)),s=l?Math.atan2(a,o)*nt-120:NaN;return new St(s<0?s+360:s,l,i,e.opacity)}function Ct(e,t,n,r){return 1===arguments.length?Mt(e):new St(e,t,n,null==r?1:r)}function St(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}qe(St,Ct,we(ke,{brighter(e){return e=null==e?Me:Math.pow(Me,e),new St(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new St(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*tt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new _e(255*(t+n*(vt*r+gt*i)),255*(t+n*(yt*r+bt*i)),255*(t+n*(xt*r)),this.opacity)}}));var Dt=e=>()=>e;function Ot(e,t){return function(n){return e+n*t}}function It(e){return 1==(e=+e)?At:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Dt(isNaN(t)?n:t)}}function At(e,t){var n=t-e;return n?Ot(e,n):Dt(isNaN(e)?t:e)}(function e(t){var n=It(t);function r(e,t){var r=n((e=$e(e)).r,(t=$e(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=At(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);function Tt(e){return ((e=Math.exp(e))+1/e)/2}function Nt(e){return function t(n){function r(t,r){var i=e((t=Ct(t)).h,(r=Ct(r)).h),o=At(t.s,r.s),a=At(t.l,r.l),l=At(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=l(e),t+""}}return n=+n,r.gamma=t,r}(1)}!function e(t,n,r){function i(e,i){var o,a,l=e[0],s=e[1],c=e[2],u=i[0],f=i[1],d=i[2],p=u-l,h=f-s,m=p*p+h*h;if(m<1e-12)a=Math.log(d/c)/t,o=function(e){return [l+e*p,s+e*h,c*Math.exp(t*e*a)]};else {var v=Math.sqrt(m),g=(d*d-c*c+r*m)/(2*c*n*v),y=(d*d-c*c-r*m)/(2*d*n*v),b=Math.log(Math.sqrt(g*g+1)-g),x=Math.log(Math.sqrt(y*y+1)-y);a=(x-b)/t,o=function(e){var r,i=e*a,o=Tt(b),u=c/(n*v)*(o*(r=t*i+b,((r=Math.exp(2*r))-1)/(r+1))-function(e){return ((e=Math.exp(e))-1/e)/2}(b));return [l+u*p,s+u*h,c*o/Tt(t*i+b)]};}return o.duration=1e3*a*t/Math.SQRT2,o}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4),Nt((function(e,t){var n=t-e;return n?Ot(e,n>180||n<-180?n-360*Math.round(n/360):n):Dt(isNaN(e)?t:e)})),Nt(At);var gn="center",yn="bottom";[{key:"NoDataExist",alignment:gn,condition:function(e){var t=e.layoutService;if(!t)return false;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:gn,condition:function(e){var t=e.layoutService;return !!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return "NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:gn,condition:function(e){var t=e.layoutService;if(!t)return false;if(!t.meta.isContinuous)return false;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:gn},{key:"DataRangeIncludingZero",alignment:yn},{key:"LimitedData",alignment:yn},{key:"NegativeOrZeroValues",alignment:yn}].reduce((function(e,t){return e[t.key]=t,e}),{});var Gn,Wn={exports:{}};var Xn=Gn?Wn.exports:(Gn=1,Wn.exports=function(){function e(e,t,n){return (t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function n(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),true).forEach((function(t){e(n,t,i[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e));}));}return n}function r(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}function i(e){var t=r(e,"string");return "symbol"==typeof t?t:t+""}var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)},u=function(e){if(!e||"[object Object]"!==a.call(e))return false;var t,n=o.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&o.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return false;for(t in e);return void 0===t||o.call(e,t)},f=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},d=function(e,t){if("__proto__"===t){if(!o.call(e,t))return;if(s)return s(e,t).value}return e[t]},p=function e(){var t,n,r,i,o,a,l=arguments[0],s=1,p=arguments.length,h=false;for("boolean"==typeof l&&(h=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<p;++s)if(null!=(t=arguments[s]))for(n in t)r=d(l,n),l!==(i=d(t,n))&&(h&&i&&(u(i)||(o=c(i)))?(o?(o=false,a=r&&c(r)?r:[]):a=r&&u(r)?r:{},f(l,{name:n,newValue:e(h,a,i)})):void 0!==i&&f(l,{name:n,newValue:i}));return l};function h(e,t,n,r){if(!e)return -1;const i=n.cache,o=e.origin?e.origin():null;o&&(e=o);let a=i.fields.indexOf(e),l=-1,s=-1;if(-1===a)for(let t=0;t<i.wrappedFields.length;t++)if(s=i.wrappedFields[t].attrDims.map((e=>e.instance)).indexOf(e),l=i.wrappedFields[t].attrExps.map((e=>e.instance)).indexOf(e),-1!==s||-1!==l){a=t;break}if(Array.isArray(r)&&r.some(((e,t)=>e!==t))){const e=r.indexOf(a);-1!==e&&(a=e);}return a-=t.qArea.qLeft,a<0||a>=t.qArea.qWidth?-1:s>=0?e=>e[a].qAttrDims.qValues[s]:l>=0?e=>e[a].qAttrExps.qValues[l]:e=>e[a]}function m(e,t,n){let{key:r}=n;const i={value:"function"==typeof e.value?e.value(t):void 0!==e.value?e.value:t};return i.label="function"==typeof e.label?e.label(t):void 0!==e.label?String(e.label):String(i.value),e.field&&(i.source={key:r,field:e.field.key()}),i}function v(e){let{cache:t,f:n,mainCell:r,p:i,page:a,rowIdx:l,row:s,sourceKey:c,target:u,targetProp:f,columnOrder:d}=e,v=r;if(i.field&&i.field!==n){const e=h(i.field,a,{cache:t},d);if(-1===e)return;v=p({qRow:l},e(s));}u[f]=m(i,v,{key:c});}function g(e,t,n,r){const i=Array.isArray(e)?e:[e];let o=[];for(let e=0;e<i.length;e++)if(void 0!==i[e].field){const a=t.raw(),l=t.key(),s="object"==typeof i[e].field?i[e].field:t.field(i[e].field),{props:c,main:u}=r.normalizeConfig(i[e],t),f=Object.keys(c),d=!!i[e].trackBy,g=typeof i[e].trackBy,y={},b=[],x=[];for(let t=0;t<a.qDataPages.length;t++){const o=h(s,a.qDataPages[t],{cache:n},a.qColumnOrder);if(-1!==o)for(let h=0;h<a.qDataPages[t].qMatrix.length;h++){const q=a.qDataPages[t].qArea.qTop+h,w=p({qRow:q},o(a.qDataPages[t].qMatrix[h])),k=m(u,w,{key:l});if(!u.filter||u.filter(w)){for(let e=0;e<f.length;e++){const r=c[f[e]];let i=r.fields||[r];r.fields&&(k[f[e]]=[]);for(let o=0;o<i.length;o++)v({cache:n,f:s,mainCell:w,p:i[o],prop:f[e],page:a.qDataPages[t],rowIdx:q,row:a.qDataPages[t].qMatrix[h],sourceKey:l,target:r.fields?k[f[e]]:k,targetProp:r.fields?o:f[e],columnOrder:a.qColumnOrder});if(r.fields){const t=k[f[e]].map((e=>e.value)),n=k[f[e]].map((e=>e.label));k[f[e]]={value:"function"==typeof r.value?r.value(t):void 0!==r.value?r.value:t,label:"function"==typeof r.label?r.label(n):void 0!==r.label?String(r.label):String(k[f[e]].value)};}}d&&r.track({cfg:i[e],itemData:w,obj:k,target:b,tracker:y,trackType:g}),x.push(k);}}}const q=d?r.collect(b,{main:u,propsArr:f,props:c}):x;o=[...o,...q];}return o}function y(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t;}function b(){return this.eachAfter(y)}function x(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function q(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this}function w(e,t){for(var n,r,i,o=this,a=[o],l=[],s=-1;o=a.pop();)if(l.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=l.pop();)e.call(t,o,++s,this);return this}function k(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r}function M(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n;}))}function C(e){return this.eachBefore((function(t){t.children&&t.children.sort(e);}))}function S(e){for(var t=this,n=D(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function D(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function O(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function I(){return Array.from(this)}function A(){var e=[];return this.eachBefore((function(t){t.children||e.push(t);})),e}function E(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n});})),t}function*T(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);}while(o.length)}function N(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=j)):void 0===t&&(t=P);for(var n,r,i,o,a,l=new z(e),s=[l];n=s.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new z(i[o])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(H)}function L(){return N(this).eachBefore(F)}function P(e){return e.children}function j(e){return Array.isArray(e)?e[1]:null}function F(e){ void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data;}function H(e){var t=0;do{e.height=t;}while((e=e.parent)&&e.height<++t)}function z(e){this.data=e,this.depth=this.height=0,this.parent=null;}function R(e){return null==e?null:V(e)}function V(e){if("function"!=typeof e)throw new Error;return e}z.prototype=N.prototype={constructor:z,count:b,each:x,eachAfter:w,eachBefore:q,find:k,sum:M,sort:C,path:S,ancestors:O,descendants:I,leaves:A,links:E,copy:L,[Symbol.iterator]:T};var $={depth:-1},_={},B={};function K(e){return e.id}function Y(e){return e.parentId}function U(){var e,t=K,n=Y;function r(r){var i,o,a,l,s,c,u,f,d=Array.from(r),p=t,h=n,m=new Map;if(null!=e){const t=d.map(((t,n)=>G(e(t,n,r)))),n=t.map(W),i=new Set(t).add("");for(const e of n)i.has(e)||(i.add(e),t.push(e),n.push(W(e)),d.push(B));p=(e,n)=>t[n],h=(e,t)=>n[t];}for(a=0,i=d.length;a<i;++a)o=d[a],c=d[a]=new z(o),null!=(u=p(o,a,r))&&(u+="")&&(f=c.id=u,m.set(f,m.has(f)?_:c)),null!=(u=h(o,a,r))&&(u+="")&&(c.parent=u);for(a=0;a<i;++a)if(u=(c=d[a]).parent){if(!(s=m.get(u)))throw new Error("missing: "+u);if(s===_)throw new Error("ambiguous: "+u);s.children?s.children.push(c):s.children=[c],c.parent=s;}else {if(l)throw new Error("multiple roots");l=c;}if(!l)throw new Error("no root");if(null!=e){for(;l.data===B&&1===l.children.length;)l=l.children[0],--i;for(let e=d.length-1;e>=0&&(c=d[e],c.data===B);--e)c.data=null;}if(l.parent=$,l.eachBefore((function(e){e.depth=e.parent.depth+1,--i;})).eachBefore(H),l.parent=null,i>0)throw new Error("cycle");return l}return r.id=function(e){return arguments.length?(t=R(e),r):t},r.parentId=function(e){return arguments.length?(n=R(e),r):n},r.path=function(t){return arguments.length?(e=R(t),r):e},r}function G(e){let t=(e=`${e}`).length;return X(e,t-1)&&!X(e,t-2)&&(e=e.slice(0,-1)),"/"===e[0]?e:`/${e}`}function W(e){let t=e.length;if(t<2)return "";for(;--t>1&&!X(e,t););return e.slice(0,t)}function X(e,t){if("/"===e[t]){let n=0;for(;t>0&&"\\"===e[--t];)++n;if(0==(1&n))return true}return false}function Z(e,t){"/"===e.charAt(0)&&(e=e.substring(1));const n=e.split("/");let r,i=t;for(let e=0;e<n.length;e++){if("*"===n[e]&&Array.isArray(i)){const t=[];r=n.slice(e+1).join("/");for(let e=0;e<i.length;e++){let n=Z(r,i[e]);Array.isArray(n)?t.push(...n):t.push(n);}return t}if(!n[e]&&Array.isArray(i)){const t=new Array(i.length);r=n.slice(e+1).join("/");for(let e=0;e<i.length;e++)t[e]=Z(r,i[e]);return t}n[e]in i&&(i=i[n[e]]);}return i}function J(e,t,n){let r=[];if(!e||!e.length)return r;if(t<=0){const t=n>=0?[e[n]]:e;r=[...r,...t];}else for(let i=0;i<e.length;i++)e[i].children&&e[i].children.length&&(r=[...r,...J(e[i].children,t-1,n)]);return r}function Q(e,t,n){if(e===t)return e=>e;if(e>t){const n=Math.max(0,Math.min(100,e-t));return e=>{let t=e;for(let e=0;e<n;++e)t=t.parent;return t}}if(t>e){const r=Math.max(0,Math.min(100,t-e));return e=>J(e.children,r-1,n)}return false}function ee(e,t){let{cache:n}=t;if("number"==typeof e)return n.fields[e];const r=n.allFields;if("function"==typeof e){for(let t=0;t<r.length;t++)if(e(r[t]))return r[t];return false}if("string"==typeof e){for(let t=0;t<r.length;t++)if(r[t].key()===e||r[t].title()===e)return r[t]}else if(e&&-1!==r.indexOf(e))return e;throw Error("Field not found: ".concat(e))}const te=/^qDimensionInfo(?:\/(\d+))?/,ne=/^\/?qMeasureInfo\/(\d+)/,re=/\/qAttrExprInfo\/(\d+)/,ie=/\/qAttrDimInfo\/(\d+)/;function oe(e){const t=e.raw().qColumnOrder,n=e.fields();return t&&t.length===n.length?t:n.map(((e,t)=>t))}function ae(e){return (e.qColumnOrder&&e.qColumnOrder.length?e.qColumnOrder:e.qDimensionInfo.map(((e,t)=>t))).filter((t=>t<e.qDimensionInfo.length))}function le(e,t){let{cube:n}=t;if(!e)return -1;let r=e.origin&&e.origin()?e.origin().key():e.key(),i=false,o=-1,a=-1,l=-1,s=-1,c=-1,u=-1,f=r;const d=n.qEffectiveInterColumnSortOrder,p=ae(n);return te.test(f)&&(i=true,o=+te.exec(f)[1],f=r.replace(te,"")),ne.test(f)&&("K"===n.qMode?c=+ne.exec(f)[1]:d&&-1!==d.indexOf(-1)?(c=+ne.exec(f)[1],u=0):u=+ne.exec(f)[1],f=f.replace(ne,"")),f&&(ie.exec(f)?l=+ie.exec(f)[1]:re.exec(f)&&(a=+re.exec(f)[1])),s=i?"S"===n.qMode?p[o]:d?d.indexOf(o):o:d&&-1!==d.indexOf(-1)?d.indexOf(-1):n.qDimensionInfo.length-("K"===n.qMode?0:1),{fieldDepth:s+1,pseudoMeasureIndex:c,measureIdx:u,attrDimIdx:l,attrIdx:a}}function se(e,t){let n,r,i=Q(e.fieldDepth,t.fieldDepth,t.pseudoMeasureIndex);return n=t.measureIdx>=0?e=>e.data.qValues[t.measureIdx]:e=>e.data,t.attrDimIdx>=0?r=e=>{var n;return null==e||null===(n=e.qAttrDims)||void 0===n?void 0:n.qValues[t.attrDimIdx]}:t.attrIdx>=0&&(r=e=>{var n;return null==e||null===(n=e.qAttrExps)||void 0===n?void 0:n.qValues[t.attrIdx]}),{nodeFn:i,attrFn:r,valueFn:n}}function ce(e,t,n){let{key:r}=n;const i={value:"function"==typeof e.value?e.value(t):void 0!==e.value?e.value:t};return i.label="function"==typeof e.label?e.label(t):void 0!==e.label?String(e.label):String(i.value),e.field&&(i.source={key:r,field:e.field.key()}),i}function ue(e){let{propsArr:t,props:n,item:r,itemData:i,ret:o,sourceKey:a}=e;for(let e=0;e<t.length;e++){const l=n[t[e]],s=l.fields||[l];let c,u;l.fields&&(c=[],u=[]);for(let n=0;n<s.length;n++){const f=s[n];let d,p,h,m,v,g;if("primitive"===f.type?(h=f.value,g=String(f.value)):("function"==typeof f.value&&(d=e=>f.value(e,r)),"function"==typeof f.label&&(p=e=>f.label(e,r)),f.accessor?(m=f.accessor(r),Array.isArray(m)?(v=m.map(f.valueAccessor),f.attrAccessor&&(v=v.map(f.attrAccessor)),d&&(h=v.map(d),d=null),p&&(g=v.map(p),p=null),h=f.reduce?f.reduce(h):h,g=f.reduceLabel?f.reduceLabel(g,h):String(h)):(h=f.attrAccessor?f.attrAccessor(f.valueAccessor(m)):f.valueAccessor(m),g=h)):(h=i,g=i)),l.fields){const e=d?d(h):h;c.push(e),u.push(p&&null!=g?p(g):null!=g?g:String(e));}else {const n=d?d(h):h;o[t[e]]={value:n,label:p?p(g):null!=g?g:String(n)},f.field&&(o[t[e]].source={field:f.field.key(),key:a});}}c&&(o[t[e]]={value:"function"==typeof l.value?l.value(c,r):c,label:"function"==typeof l.label?l.label(u,r):u});}}const fe=(e,t,n)=>{const r="K"===e.qMode?"/qStackedDataPages/*/qData":"/qTreeDataPages/*",i="K"===e.qMode?"qSubNodes":"qNodes",o=Z(r,e);return o&&o[0]?(t.tree=N(o[0],n.children||(e=>e[i])),t.tree):null};function pe(e){const t=e.raw().qDataPages.length?e.raw().qDataPages[0].qMatrix:[],r=oe(e),i=e.fields(),o=e.fields().filter((e=>"dimension"===e.type())).map((e=>r.indexOf(i.indexOf(e)))),a=e.fields().filter((e=>"measure"===e.type())).map((e=>r.indexOf(i.indexOf(e)))),l={__root:{__id:"__root",qValues:[]}};for(let e=0;e<t.length;e++){const r=t[e];let i="__root",c=false;for(let e=0;e<o.length;e++){var s;const t=r[o[e]],a="".concat(i,"__").concat(null!==(s=t.qElemNumber)&&void 0!==s?s:t.qElemNo);l[a]||(l[a]=n({__id:a,__parent:i,qValues:[]},t),c=true),i=a;}if(c)for(let e=0;e<a.length;e++){const t=r[a[e]];l[i].qValues.push(t);}}const c=Object.keys(l).map((e=>l[e]));return U().id((e=>e.__id)).parentId((e=>e.__parent))(c)}const he=e=>{let{propsArr:t,props:n,cube:r,cache:i,itemDepthObject:o,f:a}=e;for(let e=0;e<t.length;e++){const l=n[t[e]],s=l.fields?l.fields:[l];for(let e=0;e<s.length;e++){const t=s[e];if(t.field!==a){const e=se(o,le(t.field,{cube:r}));t.accessor=e.nodeFn,t.valueAccessor=e.valueFn,t.attrAccessor=e.attrFn;}}}};function me(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;const o=t.raw(),a=t.key(),l="S"===o.qMode?pe(t):fe(o,r,e);if(!l)return null;const s=l.height,c=[];for(let a=0;a<=s;a++){let l=null;if(a>0)if("S"===o.qMode){let e=ae(o)[a-1];l=r.fields[e];}else {let e=o.qEffectiveInterColumnSortOrder[a-1];a>o.qEffectiveInterColumnSortOrder.length&&(e=o.qDimensionInfo.length),l=r.fields[e];}const{props:s,main:u}=i.normalizeConfig(n(n({},e),{},{field:l?l.key():void 0}),t),f=Object.keys(s);c[a]={propsArr:f,props:s,main:u};const d=l?le(l,{cube:o}):{fieldDepth:0};he({propsArr:f,props:s,cube:o,cache:r,itemDepthObject:d,f:l});}const u=l.copy().descendants(),f=l.descendants();for(let e=0;e<f.length;e++){const t=c[f[e].depth].propsArr,n=c[f[e].depth].props,r=c[f[e].depth].main,i=u[e],o=i.data,l=ce(r,o,{key:a});ue({propsArr:t,props:n,item:i,itemData:o,ret:l,sourceKey:a}),f[e].data=l;}return l}function ve(e,t,n,r){const i=Array.isArray(e)?e:[e];let o=[];for(let a=0;a<i.length;a++)if(void 0!==i[a].field){const l=t.raw(),s=t.key();if(!fe(l,n,e))continue;const c="object"==typeof i[a].field?i[a].field:t.field(i[a].field),{props:u,main:f}=r.normalizeConfig(i[a],t),d=Object.keys(u),p=le(c,{cube:l}),{nodeFn:h,attrFn:m,valueFn:v}=se({fieldDepth:0},p);he({propsArr:d,props:u,cube:l,cache:n,itemDepthObject:p,f:c});const g=!!i[a].trackBy,y=typeof i[a].trackBy,b={},x=[],q=h(n.tree),w=[];for(let e=0;e<q.length;e++){const t=q[e],n=m?m(v(t)):v(t);if(f.filter&&!f.filter(n))continue;const o=ce(f,n,{key:s});ue({propsArr:d,props:u,item:t,itemData:n,ret:o,sourceKey:s}),g&&r.track({cfg:i[a],itemData:n,obj:o,target:x,tracker:b,trackType:y}),w.push(o);}const k=g?r.collect(x,{main:f,propsArr:d,props:u}):w;o=[...o,...k];}return o}function ge(e,t){return e(t={exports:{}},t.exports),t.exports}var ye=ge((function(e){var t;t=function(){return function(e,t){if(!e||isNaN(+t))return t;var n,r,i,o,a,l,s,c,u,f,d=e.length,p=e.search(/[0-9\-\+#]/),h=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),v=m.search(/[0-9\-\+#]/),g=d-v,y=e.substring(g,g+1),b=g+("."===y||","===y?1:0),x=v>0?e.substring(b,d):"";if(n=(t="-"===(e=e.substring(p,b)).charAt(0)?-t:+t)<0?t=-t:0,i=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",o=r&&r[1]&&r[0]||",",e=e.split(i),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),u=e[0].split(o),e[0]=u.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=u[1]&&u[u.length-1].length){for(m="",g=(f=t[0]).length%s,d=f.length,b=0;b<d;b++)m+=f.charAt(b),!((b-g+1)%s)&&b<d-s&&(m+=o);t[0]=m;}return t[1]=e[1]&&t[1]?i+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=false),h+(n?"-":"")+r+x}},e.exports=t();}));const be=1e-15;function xe(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}const qe={3:"k",6:"M",9:"G",12:"T",15:"P",18:"E",21:"Z",24:"Y","-3":"m","-6":"μ","-9":"n","-12":"p","-15":"f","-18":"a","-21":"z","-24":"y"},we=/%\)?$/,ke=/^\(r(0[2-9]|[12]\d|3[0-6])\)/i,Me=/^\(oct\)/i,Ce=/^\(dec\)/i,Se=/^\(hex\)/i,De=/^\(bin\)/i,Oe=/^\(rom\)/i,Ie=/^(\(rom\)|\(bin\)|\(hex\)|\(dec\)|\(oct\)|\(r(0[2-9]|[12]\d|3[0-6])\))/i,Ae=/#|0/g;function Ee(e,t,n,r){return e=e.toString(t),n[1]===n[1].toUpperCase()&&(e=e.toUpperCase()),e.length-e.indexOf(".")>10&&(e=e.slice(0,e.indexOf(".")+11)),e.replace(".",r||".")}function Te(e,t){let n,r="",i=Number(String(e).slice(-3)),o=(e-i)/1e3,a=[0,1,4,5,9,10,40,50,90,100,400,500,900].reverse(),l=["0","I","IV","V","IX","X","XL","L","XC","C","CD","D","CM"].reverse();for(;i>0;)for(n=0;n<a.length;n++)if(a[n]<=i){r+=l[n],i-=a[n];break}for(n=0;n<o;n++)r="M".concat(r);return t[1]!==t[1].toUpperCase()&&(r=r.toLowerCase()),r}function Ne(e,t,n){let r;return ke.test(t)?e=Ee(e,Number(/\d{2}/.exec(t)[0]),t,n):Me.test(t)?e=Ee(e,8,t,n):Ce.test(t)?e=Ee(e,10,t,n):Se.test(t)?e=Ee(e,16,t,n):De.test(t)?e=Ee(e,2,t,n):Oe.test(t)&&(r="",e<0&&(r="-",e=-e),e=0===(e=Math.floor(e))?"0":e<=5e5?r+(e=Te(e,t)):t+r+e.toExponential(0)),e}function Le(e,t,n){const r=xe(e);return n?r:new RegExp(r||"",t)}function Pe(e,t){return t&&(t=xe(t)),e&&(e=xe(e)),new RegExp("(?:[#0]+".concat(e,")?[#0]+(?:").concat(t,"[#0]+)?"))}function je(e,t){if(!e||!e.qNumericalAbbreviation)return qe;const n={};return e.qNumericalAbbreviation.split(t).forEach((e=>{let t=e.split(":");2===t.length&&(n[t[0]]=t[1]);})),n}function Fe(e,t,n,r){let i,o,a,l,s,c,u,f,d,p=e.pattern;r&&(e.abbreviate=true),d=Pe(t,n),a=p.match(d),a=a?a[0]:"",l=a?p.substr(0,p.indexOf(a)):p,s=a?p.substring(p.indexOf(a)+a.length):"",a||(a=p?"#":"##########"),t&&t===n&&(i=a.split(n),o=i.pop(),a=i.join("")+n+o,t=""),c=t,t=/,/.test(n)?"¤":",",c&&(a=a.replace(Le(c,"g"),t)),u=n,n=".",u&&(a=a.replace(Le(u,"g"),n)),f=a.match(/#/g),f=f?f.length:0;const h=p.split(u);let m;h[1]&&(m=h[1].match(Ae)),e.prefix=l||"",e.postfix=s||"",e.pattern=p,e.maxPrecision=m?m.length:2,e.percentage=we.test(p),e.numericPattern=a||"",e.numericRegex=new RegExp("".concat(Le(t,null,true),"|").concat(Le(n,null,true)),"g"),e.groupTemp=c,e.decTemp=u,e.t=t,e.d=n,e.temp=f;}class He{constructor(e,t,n,r,i){this.localeInfo=e,this.pattern=t,this.thousandDelimiter=n||",",this.decimalDelimiter=r||".",this.type=i||"numeric",this.patternSeparator=";",this.abbreviations=je(e,this.patternSeparator),this.prepare();}clone(){const e=new He(this.localeInfo,this.pattern,this.thousandDelimiter,this.decimalDelimiter,this.type);return e.subtype=this.subtype,e}format(e,t,n,r){return this.prepare(t,n,r),this.formatValue(e)}prepare(e,t,n){let r;if(void 0===e&&(e=this.pattern),void 0===t&&(t=this.thousandDelimiter),void 0===n&&(n=this.decimalDelimiter),!e)return void(this._prepared={pattern:false});this._prepared={positive:{d:n,t:t,abbreviate:false,isFunctional:false,prefix:"",postfix:""},negative:{d:n,t:t,abbreviate:false,isFunctional:false,prefix:"",postfix:""},zero:{d:n,t:t,abbreviate:false,isFunctional:false,prefix:"",postfix:""}},r=this._prepared,e=e.split(this.patternSeparator),r.positive.pattern=e[0],r.negative.pattern=e[1],r.zero.pattern=e[2],Ie.test(e[0])&&(r.positive.isFunctional=true),e[1]?Ie.test(e[1])&&(r.negative.isFunctional=true):r.negative=false,e[2]?Ie.test(e[2])&&(r.zero.isFunctional=true):r.zero=false;const i="U"===this.type;r.positive.isFunctional||Fe(r.positive,t,n,i),r.negative&&!r.negative.isFunctional&&Fe(r.negative,t,n,i),r.zero&&!r.zero.isFunctional&&Fe(r.zero,t,n,i);}formatValue(e){let t,n,r,i,o,a,l,s,c,u=this._prepared,f="",d="",p=e;if(isNaN(e))return "".concat(p);if(e=+e,false===u.pattern)return e.toString();if(0===e&&u.zero)return u=u.zero,u.pattern;if(e<0&&u.negative?(u=u.negative,e=-e):u=u.positive,o=u.d,a=u.t,u.isFunctional)e=Ne(e,u.pattern,o);else {if(u.percentage&&(e*=100),u.abbreviate){const t=Object.keys(this.abbreviations).map((e=>parseInt(e,10))).sort(((e,t)=>e-t));let r,i,o=t[0];for(l=0,n=Number(Number(e).toExponential().split("e")[1]);o<=n&&l<t.length;)l++,o=t[l];l>0&&(r=t[l-1]),r&&n>0&&r>0?i=r:(n<0&&r<0||!r)&&(o<0&&o-n<=u.maxPrecision?i=o:r<=n&&!(o>0&&-n<=u.maxPrecision)&&(i=r)),i&&(f=this.abbreviations[i],e/=10**i);}if(r=Math.abs(e),t=u.temp,s=u.numericPattern,c=s.split(o)[1],"I"===this.type&&(e=Math.round(e)),i=e,c||"#"!==s.slice(-1)[0])if(r>=1e15||r>0&&r<=1e-14)e=r?r.toExponential(15).replace(/\.?0+(?=e)/,""):"0";else {const t=Number((e+be*(e<0?-1:1)).toFixed(Math.min(20,c?c.length:0)).split(".")[0]);let n=s.split(o)[0];if(n+=o,e=ye(n,t)||"0",c){const t=Math.max(0,Math.min(14,c.length)),n=c.replace(/#+$/,"").length;let i=("I"===this.type?0:r%1+be).toFixed(t).slice(2).replace(/0+$/,"");for(l=i.length;l<n;l++)i+="0";i&&(e+=o+i);}else 0===t&&(i=0);}else if(r>=10**t||r<1||r<1e-4)0===e?e="0":r<1e-4||r>=1e20?(e=(e=i.toExponential(Math.max(1,Math.min(14,t))-1)).replace(/\.?0+(?=e)/,""),d=""):(e=e.toPrecision(Math.max(1,Math.min(14,t)))).indexOf(".")>=0&&(e=(e=e.replace(e.indexOf("e")<0?/0+$/:/\.?0+(?=e)/,"")).replace(".",o));else {for(s+=o,t=Math.max(0,Math.min(20,t-Math.ceil(Math.log(r)/Math.log(10)))),l=0;l<t;l++)s+="#";e=ye(s,e);}e=e.replace(u.numericRegex,(e=>e===a?u.groupTemp:e===o?u.decTemp:"")),i<0&&!/^-/.test(e)&&(e="-".concat(e));}return u.prefix+e+d+f+u.postfix}static getStaticFormatter(){return {prepare(){},formatValue:e=>"".concat(e)}}}function ze(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new He(...t)}function Re(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{size:n=5e3,multipleArguments:r=false,toKey:i=(e=>e)}=t;let o,a,l=Object.create(null),s=Object.create(null),c=0,u=0;return o=r?function(){return a=i(...arguments),o.has(a)?o.get(a):o.set(a,e(...arguments))}:t=>(a=i(t),o.has(a)?o.get(a):o.set(a,e(t))),o.set=(e,t)=>(c>=n&&(delete l[s[u]],delete s[u],c--,u++),l[e]=t,s[c]=e,c++,t),o.get=e=>l[e],o.has=e=>e in l,o.clear=()=>{l=Object.create(null),s=Object.create(null),c=0,u=0;},o.size=()=>c,o}function Ve(e,t,n,r,i){const o=ze(i,e,t,n,r),a=Re(o.formatValue.bind(o),{toKey:e=>isNaN(e)?e:+e});function l(e){return a(e)}return l.format=function(e,t,n,r){return a.clear(),o.format(t,e,n,r)},l.pattern=function(e){return e&&(a.clear(),o.pattern=e,o.prepare()),o.pattern},l}const $e={DATE:"D",TIME:"T",DATE_TIME:"TS",INTERVAL:"IV"},_e=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Be=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ke=["January","February","March","April","May","June","July","August","September","October","November","December"],Ye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ue=86400;function Ge(e,t){for(let n=e.length;n<t;n++)e="0".concat(e);return e}function We(e,t){let n=e.getUTCHours(),r=e.getUTCDay()-1;return t&&(n%=12,n||(n=12)),r<0&&(r=6),{year:e.getUTCFullYear(),month:e.getUTCMonth(),day:r,date:e.getUTCDate(),h:n,m:e.getUTCMinutes(),s:e.getUTCSeconds(),f:e.getUTCMilliseconds(),t:e.getUTCHours()>=12?"pm":"am"}}function Xe(e){let t=e.toString().split(".");return t[1]?(t=Number("0.".concat(t[1])),t):0}function Ze(e){const t=e,n=24*Xe(t),r=60*Xe(n),i=60*Xe(r),o=1e3*Xe(i);return {d:Math.floor(t),h:Math.floor(n),m:Math.floor(r),s:Math.floor(i),f:Math.round(o)}}function Je(e,t){let n,r=Ze(e),i=r.d,o=r.h,a=r.m,l=r.s,s=r.f,c=0;/w+|t+/gi.test(t)&&(n=new Date(Date.UTC(1899,11,30+Math.floor(e),0,0,Math.round(Ue*(e-Math.floor(e))))),isNaN(n.getTime())&&(n=null)),/D+/gi.test(t)||(o+=24*i),/h+/gi.test(t)||(a+=60*o),/m+/gi.test(t)||(l+=60*a),/w+/gi.test(t)&&(c=n?n.getDay()-1:0,c<0&&(c=6));let u="";return n&&(u=n.getUTCHours()>=12?"pm":"am"),{year:0,month:0,day:c,date:i,h:o,m:a,s:l,f:s,t:u}}function Qe(e,t){return {"Y+|y+":{Y:"".concat(Number("".concat(t.year).slice(-2))),YY:Ge("".concat(t.year).slice(-2),2),YYY:Ge("".concat(t.year).slice(-3),3),def:e=>Ge("".concat(t.year),e.length)},"M+":{M:t.month+1,MM:Ge("".concat(t.month+1),2),MMM:e.locale_months_abbr[t.month],def:e.locale_months[t.month]},"W+|w+":{W:t.day,WW:Ge("".concat(t.day),2),WWW:e.locale_days_abbr[t.day],def:e.locale_days[t.day]},"D+|d+":{D:t.date,def:e=>Ge("".concat(t.date),e.length)},"h+|H+":{h:t.h,def:e=>Ge("".concat(t.h),e.length)},"m+":{m:t.m,def:e=>Ge("".concat(t.m),e.length)},"s+|S+":{s:t.s,def:e=>Ge("".concat(t.s),e.length)},"f+|F+":{def(e){let n="".concat(t.f),r=e.length-n.length;if(r>0)for(let e=0;e<r;e++)n+="0";else r<0&&(n=n.slice(0,e.length));return n}},"t{1,2}|T{1,2}":{def(e){let n=t.t;return e[0].toUpperCase()===e[0]&&(n=n.toUpperCase()),n=n.slice(0,e.length),n}}}}class et{constructor(e,t,n){const r=e||{};r.qCalendarStrings||(r.qCalendarStrings={qLongDayNames:_e,qDayNames:Be,qLongMonthNames:Ke,qMonthNames:Ye}),this.localeInfo=r,this.locale_days=r.qCalendarStrings.qLongDayNames.slice(),this.locale_days_abbr=r.qCalendarStrings.qDayNames.slice(),this.locale_months=r.qCalendarStrings.qLongMonthNames.slice(),this.locale_months_abbr=r.qCalendarStrings.qMonthNames.slice(),t||(t={[$e.TIME]:r.qTimeFmt||"hh:mm:ss",[$e.DATE]:r.qDateFmt||"YYYY-MM-DD",[$e.DATE_TIME]:r.qTimestampFmt||"YYYY-MM-DD hh:mm:ss"}[n]),this.pattern=t;}clone(){const e=new et(this.localeInfo,this.pattern);return e.subtype=this.subtype,e}format(e,t){t||(t=this.pattern?this.pattern:"YYYY-MM-DD hh:mm:ss"),t=t.replace(/\[.+]|\[|]/g,"");const n=/t+/gi.test(t);let r;e instanceof Date?r=We(e,n):(e<0&&(e=-e,t="-".concat(t)),r=Je(e,t));const i=Qe(this,r),o=[];for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&o.push(e);const a=new RegExp(o.join("|"),"g");return t.replace(a,(e=>{let t,n,r;for(n in i)if(Object.prototype.hasOwnProperty.call(i,n)&&(t=new RegExp(n),t.test(e)))break;if(!t)return "";for(const t in i[n])if(t===e||t.toLowerCase()===e){r=i[n][t],void 0===r&&(r=i[n][t.toLowerCase()]);break}return void 0===r&&(r=i[n].def),"function"==typeof r&&(r=r(e)),r}))}}function tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new et(...t)}const nt=864e5;function rt(e){return new Date(Date.UTC(1899,11,30+Math.floor(e),0,0,0,Math.round(nt*(e-Math.floor(e)))))}function it(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"TS",n=tt(arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,e,t),r=Re(n.format.bind(n),{toKey:e=>"object"==typeof e&&"function"==typeof e.getTime?e.getTime():e});function i(e){return t!==$e.INTERVAL?rt(e):e}function o(e){return e=i(e),r(e)}return o.format=function(e,t){return r.clear(),t=i(t),n.format(t,e)},o.locale=function(i){return n=tt(i,e,t),r=Re(n.format.bind(n),{toKey:e=>"object"==typeof e?e.getTime():e}),this},o.qtype=function(e){return void 0!==e&&(t=e,r.clear()),t},o}function ot(e,t){if(e&&e.qNumFormat&&-1!==["D","T","TS","IV"].indexOf(e.qNumFormat.qType))return it(e.qNumFormat.qFmt,e.qNumFormat.qType,t);let n="#",r=t&&void 0!==t.qThousandSep?t.qThousandSep:",",i=t&&void 0!==t.qDecimalSep?t.qDecimalSep:".",o="U",a=e&&!!e.qIsAutoFormat;return e&&e.qNumFormat?(n=e.qNumFormat.qFmt||n,r=e.qNumFormat.qThou||r,i=e.qNumFormat.qDec||i,o=e.qNumFormat.qType||o,a=a&&-1===["M"].indexOf(e.qNumFormat.qType)):a=true,(a||"U"===o)&&(n="#".concat(i,"##"),o="U"),Ve(n,r,i,o,t)}function at(){let e,{meta:t,id:n,key:r,localeInfo:i,fieldExtractor:o,value:a,type:l,sourceField:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const c=a||("dimension"===l?e=>null==e?void 0:e.qElemNo:e=>null==e?void 0:e.qValue),u=e=>(null==e?void 0:e.qText)||"",f="dimension"===l?"first":"avg",d=ot(t,i),p={id:()=>n,key:()=>r,raw:()=>t,title:()=>t.qFallbackTitle||t.label,type:()=>l,origin:()=>s,items:()=>(e||(e=o(p)),e),min:()=>t.qMin,max:()=>t.qMax,value:c,label:u,reduce:f,reduceLabel:"dimension"===l?"first":(e,t)=>d(t),formatter:()=>d,tags:()=>t.qTags};return p}function lt(e,t,n,r,i){return (t[e]||[]).map(((t,o)=>{const a="".concat(r?"".concat(r,"/"):"").concat(e,"/").concat(o),l={instance:at(p({id:"".concat(n?"".concat(n,"/"):"").concat(a),key:a,meta:t},i))};return l.attrDims=lt("qAttrDimInfo",t,n,a,p({},i,{value:e=>null==e?void 0:e.qElemNo,type:"dimension"})),l.attrExps=lt("qAttrExprInfo",t,n,a,p({},i,{value:e=>null==e?void 0:e.qNum,type:"measure"})),l.measures=lt("qMeasureInfo",t,n,a,p({},i,{value:e=>null==e?void 0:e.qValue,type:"measure"})),l}))}function st(){let{key:e,data:t,config:r={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i={fields:[],wrappedFields:[],allFields:[],virtualFields:[]},o=t;if(!o)throw new Error('Missing "data" input');if(!o.qDimensionInfo)throw new Error('The "data" input is not recognized as a hypercube');const a=st.util,l={cache:i,cube:o,localeInfo:r.localeInfo,fieldExtractor:null,pages:null,hierarchy:()=>null,virtualFields:r.virtualFields},s={key:()=>e,raw:()=>o,field:e=>ee(e,l),fields:()=>i.fields.slice(),extract:e=>l.extractor(e,s,i,a),hierarchy:e=>l.hierarchy(e,s,i,a),_cache:()=>i};"K"===o.qMode||"T"===o.qMode||!o.qMode&&o.qNodesOnDim?(l.extractor=ve,l.hierarchy=me,l.pages="K"===o.qMode?o.qStackedDataPages:o.qTreeDataPages):"S"===o.qMode?(l.extractor=g,l.pages=o.qDataPages,l.hierarchy=me):l.extractor=()=>[],l.fieldExtractor=e=>l.extractor({field:e},s,i,a);const c="S"===o.qMode?e=>e.qElemNumber:void 0,u="S"===o.qMode?e=>e.qNum:void 0;i.wrappedFields.push(...lt("qDimensionInfo",o,e,"",p({},l,{value:c,type:"dimension"}))),i.wrappedFields.push(...lt("qMeasureInfo",o,e,"",p({},l,{value:u,type:"measure"}))),i.fields=i.wrappedFields.map((e=>e.instance));const f=e=>{e.forEach((e=>{i.allFields.push(e.instance),f(e.measures),f(e.attrDims),f(e.attrExps);}));};return f(i.wrappedFields),(r.virtualFields||[]).forEach((t=>{const r=s.field(t.from),o=at(n({meta:r.raw(),id:"".concat(e,"/").concat(t.key),sourceField:r,fieldExtractor:e=>l.extractor({field:e},s,i,a),key:t.key,type:r.type(),localeInfo:l.localeInfo,value:r.value},t.override||{}));i.virtualFields.push(o);})),i.allFields.push(...i.virtualFields),s}const ct=[["qHyperCube","qHyperCubeDef"],["qTreeData","qTreeDataDef"],["qDimensionInfo","qDimensions"],["qMeasureInfo","qMeasures"],["qAttrDimInfo","qAttributeDimensions"],["qAttrExprInfo","qAttributeExpressions"]],ut=/\/qDimensionInfo(?:\/(\d+))?/,ft=/\/qMeasureInfo\/(\d+)/,dt=/\/qAttrDimInfo\/(\d+)(?:\/(\d+))?/,pt=/\/qAttrExprInfo\/(\d+)/,ht=/\/?qHyperCube/,mt=/\/?qTreeData/,vt=e=>"".concat(e.substr(0,e.indexOf("/qHyperCubeDef")+14)),gt=e=>"".concat(e.substr(0,e.indexOf("/qTreeDataDef")+13));function yt(e,t){let n=e,r=-1,i=-1,o="",a=e=>e;ht.test(e)?(o="".concat(n.substr(0,n.indexOf("qHyperCube")+10)),a=vt):mt.test(e)&&(o="".concat(n.substr(0,n.indexOf("qTreeData")+9)),a=gt);let l=true;if(ut.test(e)&&(r=+ut.exec(e)[1]),ft.test(e)&&(i=+ft.exec(e)[1]),dt.test(e)){i=-1,r=0;const e=+dt.exec(n)[2];isNaN(e)||(r=e,n=n.replace(/\/\d+$/,"")),l=false;}if(pt.test(e)){const e=i;if(t){i=0;const a=Z(o,t);i+=(a.qMeasureInfo||[]).length,r>-1?(i=a.qDimensionInfo.slice(0,r).reduce(((e,t)=>e+t.qAttrExprInfo.length),i),r=-1):(i=a.qDimensionInfo.reduce(((e,t)=>e+t.qAttrExprInfo.length),i),i=a.qMeasureInfo.slice(0,e).reduce(((e,t)=>e+t.qAttrExprInfo.length),i)),i+=+pt.exec(n)[1];}else r>-1?(r=-1,i=+pt.exec(n)[1]):i+=+pt.exec(n)[1]+1;}return ct.forEach((e=>{let[t,r]=e;n=n.replace(t,r);})),l&&(n=a(n)),n&&"/"!==n[0]&&(n="/".concat(n)),{measureIdx:i,dimensionIdx:r,path:n}}function bt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r=t.byCells,i=t.primarySource,o=[],a={},l=e.isActive();let s=false;return e.brushes().forEach((e=>{const t=yt(e.id,n);if("range"===e.type&&t.measureIdx>-1&&t.dimensionIdx>-1){const n=e.brush.ranges();n.length&&(s=true,a.multiRangeSelectTreeDataValues||(a.multiRangeSelectTreeDataValues={path:t.path,ranges:[]}),n.forEach((e=>a.multiRangeSelectTreeDataValues.ranges.push({qMeasureIx:t.measureIdx,qDimensionIx:t.dimensionIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:true,qMaxInclEq:true}}))));}else {if("range"===e.type&&t.measureIdx>-1){const n=e.brush.ranges();n.length&&(s=true,a.rangeSelectHyperCubeValues||(a.rangeSelectHyperCubeValues={path:t.path,ranges:[]}),n.forEach((e=>a.rangeSelectHyperCubeValues.ranges.push({qMeasureIx:t.measureIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:true,qMaxInclEq:true}}))));}if("range"===e.type&&t.dimensionIdx>-1){const n=e.brush.ranges();n.length&&(s=true,a.selectHyperCubeContinuousRange||(a.selectHyperCubeContinuousRange={path:t.path,ranges:[]}),n.forEach((e=>a.selectHyperCubeContinuousRange.ranges.push({qDimIx:t.dimensionIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:true,qMaxInclEq:false}}))));}if("value"===e.type&&t.dimensionIdx>-1)if(r)if(n&&n.qHyperCube&&("P"===n.qHyperCube.qMode||"T"===n.qHyperCube.qMode||"K"===n.qHyperCube.qMode)){const r=n.qHyperCube,o=r.qNoOfLeftDims,l=r.qEffectiveInterColumnSortOrder.indexOf(t.dimensionIdx);if(a.selectPivotCells||(a.selectPivotCells={path:t.path,cells:[]}),e.id===i||!i){const n=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e)));(0===o||l>=o)&&o>-1?n.forEach((e=>{a.selectPivotCells.cells.push({qType:"T",qCol:e,qRow:l-o});})):n.forEach((e=>{a.selectPivotCells.cells.push({qType:"L",qCol:t.dimensionIdx,qRow:e});})),s=!!a.selectPivotCells.cells.length;}}else a.selectHyperCubeCells||(a.selectHyperCubeCells={path:t.path,cols:[]}),a.selectHyperCubeCells.cols.push(t.dimensionIdx),e.id!==i&&(i||a.selectHyperCubeCells.values)||(a.selectHyperCubeCells.values=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e))),s=!!a.selectHyperCubeCells.values.length);else {const n=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e)));s=!!n.length,o.push({params:[t.path,t.dimensionIdx,n,false],method:"selectHyperCubeValues"});}}})),!s&&l?[{method:"resetMadeSelections",params:[]}]:(a.rangeSelectHyperCubeValues&&o.push({method:"rangeSelectHyperCubeValues",params:[a.rangeSelectHyperCubeValues.path,a.rangeSelectHyperCubeValues.ranges,[],null===(c=t.orMode)||void 0===c||c]}),a.selectHyperCubeContinuousRange&&o.push({method:"selectHyperCubeContinuousRange",params:[a.selectHyperCubeContinuousRange.path,a.selectHyperCubeContinuousRange.ranges]}),a.selectHyperCubeCells&&o.push({method:"selectHyperCubeCells",params:[a.selectHyperCubeCells.path,a.selectHyperCubeCells.values,a.selectHyperCubeCells.cols]}),a.selectPivotCells&&o.push({method:"selectPivotCells",params:[a.selectPivotCells.path,a.selectPivotCells.cells]}),a.multiRangeSelectTreeDataValues&&o.push({method:"multiRangeSelectTreeDataValues",params:[a.multiRangeSelectTreeDataValues.path,a.multiRangeSelectTreeDataValues.ranges]}),o);var c;}function xt(e){st.util=e.data("matrix").util,e.data("q",st),e.formatter("q-number",Ve),e.formatter("q-time",it);}return xt.qBrushHelper=bt,xt.selections=bt,xt}());pe(Xn);
|
|
18326
19064
|
|
|
18327
19065
|
const MULTI_REG = /,(?![^(]*\))/;
|
|
18328
19066
|
const SINGLE_REG = /\s(?![^(]*\))/;
|
|
@@ -18608,7 +19346,7 @@ function getSearchColor(getListboxStyle) {
|
|
|
18608
19346
|
return color;
|
|
18609
19347
|
}
|
|
18610
19348
|
function getSearchBGColor(bgCol, getListboxStyle) {
|
|
18611
|
-
const searchBgColorObj =
|
|
19349
|
+
const searchBgColorObj = v(getListboxStyle('', 'backgroundColor'));
|
|
18612
19350
|
searchBgColorObj.setAlpha(0.7);
|
|
18613
19351
|
return searchBgColorObj.isInvalid() ? bgCol : searchBgColorObj.getRGBA();
|
|
18614
19352
|
}
|
|
@@ -22192,10 +22930,32 @@ function indexRemoved(array, index) {
|
|
|
22192
22930
|
array.splice(removeIndex, 1);
|
|
22193
22931
|
return removeIndex;
|
|
22194
22932
|
}
|
|
22933
|
+
|
|
22934
|
+
/**
|
|
22935
|
+
* Move an element from position old_index to position new_index in
|
|
22936
|
+
* the array.
|
|
22937
|
+
* @param array
|
|
22938
|
+
* @param oldIndex
|
|
22939
|
+
* @param newIndex
|
|
22940
|
+
*/
|
|
22941
|
+
function move(array, oldIndex, newIndex) {
|
|
22942
|
+
if (newIndex < 0) throw Error('newIndex cannot be a negative value!');
|
|
22943
|
+
if (newIndex >= array.length) {
|
|
22944
|
+
let k = newIndex - array.length + 1;
|
|
22945
|
+
while (k) {
|
|
22946
|
+
array.push(undefined);
|
|
22947
|
+
k--;
|
|
22948
|
+
}
|
|
22949
|
+
}
|
|
22950
|
+
const movingValue = array.at(oldIndex);
|
|
22951
|
+
array.splice(oldIndex, 1);
|
|
22952
|
+
array.splice(newIndex, 0, movingValue);
|
|
22953
|
+
}
|
|
22195
22954
|
var arrayUtil = {
|
|
22196
22955
|
isOrderedSubset,
|
|
22197
22956
|
indexAdded,
|
|
22198
|
-
indexRemoved
|
|
22957
|
+
indexRemoved,
|
|
22958
|
+
move
|
|
22199
22959
|
};
|
|
22200
22960
|
|
|
22201
22961
|
/* eslint-disable no-prototype-builtins */
|
|
@@ -23201,6 +23961,11 @@ function Loading() {
|
|
|
23201
23961
|
}));
|
|
23202
23962
|
}
|
|
23203
23963
|
|
|
23964
|
+
const hiddenScreenReaderText = {
|
|
23965
|
+
width: 0,
|
|
23966
|
+
height: 0
|
|
23967
|
+
};
|
|
23968
|
+
|
|
23204
23969
|
const PREFIX$1 = 'Header';
|
|
23205
23970
|
const classes$1 = {
|
|
23206
23971
|
containerStyle: "".concat(PREFIX$1, "-containerStyle"),
|
|
@@ -23241,13 +24006,15 @@ const CellSubTitle = {
|
|
|
23241
24006
|
};
|
|
23242
24007
|
function Header(_ref2) {
|
|
23243
24008
|
let {
|
|
24009
|
+
id,
|
|
23244
24010
|
layout,
|
|
23245
24011
|
sn,
|
|
23246
24012
|
anchorEl,
|
|
23247
24013
|
hovering,
|
|
23248
24014
|
focusHandler,
|
|
23249
24015
|
titleStyles = {},
|
|
23250
|
-
isRtl
|
|
24016
|
+
isRtl,
|
|
24017
|
+
translator
|
|
23251
24018
|
} = _ref2;
|
|
23252
24019
|
const showTitle = layout.showTitles && !!layout.title;
|
|
23253
24020
|
const showSubtitle = layout.showTitles && !!layout.subtitle;
|
|
@@ -23294,14 +24061,19 @@ function Header(_ref2) {
|
|
|
23294
24061
|
container: true,
|
|
23295
24062
|
wrap: "nowrap",
|
|
23296
24063
|
direction: "column"
|
|
23297
|
-
}, showTitle
|
|
24064
|
+
}, showTitle ? /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
23298
24065
|
title: layout.title
|
|
23299
24066
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
24067
|
+
id: "".concat(id, "_title"),
|
|
23300
24068
|
variant: "h6",
|
|
23301
24069
|
noWrap: true,
|
|
23302
24070
|
className: CellTitle.className,
|
|
23303
24071
|
style: titleStyles.main
|
|
23304
|
-
}, layout.title))
|
|
24072
|
+
}, layout.title)) : /*#__PURE__*/React__default.createElement("div", {
|
|
24073
|
+
id: "".concat(id, "_title"),
|
|
24074
|
+
style: hiddenScreenReaderText,
|
|
24075
|
+
"aria-label": translator.get('Accessibility.Object.NoTitle')
|
|
24076
|
+
}), showSubtitle && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
23305
24077
|
title: layout.subtitle
|
|
23306
24078
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
23307
24079
|
variant: "body2",
|
|
@@ -23674,7 +24446,8 @@ function Supernova(_ref) {
|
|
|
23674
24446
|
snPlugins: plugins,
|
|
23675
24447
|
layout,
|
|
23676
24448
|
appLayout,
|
|
23677
|
-
halo
|
|
24449
|
+
halo,
|
|
24450
|
+
cellId
|
|
23678
24451
|
} = _ref;
|
|
23679
24452
|
const {
|
|
23680
24453
|
component
|
|
@@ -23778,6 +24551,7 @@ function Supernova(_ref) {
|
|
|
23778
24551
|
className: VizElement.className
|
|
23779
24552
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
23780
24553
|
ref: snRef,
|
|
24554
|
+
id: "".concat(cellId, "_content"),
|
|
23781
24555
|
style: {
|
|
23782
24556
|
position: 'absolute',
|
|
23783
24557
|
width: '100%',
|
|
@@ -23925,6 +24699,13 @@ const getPadding = _ref => {
|
|
|
23925
24699
|
return undefined;
|
|
23926
24700
|
};
|
|
23927
24701
|
|
|
24702
|
+
const translationKeys = new Map();
|
|
24703
|
+
const extensions = [['auto-chart', 'Object.AutoChart'], ['dummy-chart', 'Dummy'], ['barchart', 'Object.BarChart'], ['combochart', 'Object.ComboChart'], ['container', 'Object.Container'], ['distributionplot', 'Object.DistributionPlot'], ['boxplot', 'Object.BoxPlot'], ['filterpane', 'Object.FilterPane'], ['gauge', 'Object.Gauge'], ['histogram', 'Object.Histogram'], ['kpi', 'Object.Kpi'], ['linechart', 'Object.LineChart'], ['listbox', 'Object.Listbox'], ['piechart', 'Object.PieChart'], ['pivot-table', 'Object.PivotTable'], ['map', 'Object.Map'], ['scatterplot', 'Object.ScatterPlot'], ['sn-table', 'Object.StraightTable'], ['text-image', 'Object.TextImage'], ['treemap', 'Object.Treemap'], ['waterfallchart', 'Object.WaterfallChart'], ['mekkochart', 'Object.MekkoChart'], ['action-button', 'Object.ActionButton'], ['sn-nav-menu', 'Object.NavMenu'], ['bulletchart', 'Object.BulletChart'], ['sn-nlg-chart', 'Object.NlgChart'], ['sn-analysis-autochart', 'Common.AnalysisTypes'], ['sn-tabbed-container', 'Object.TabContainer'], ['qlik-sankey-chart-ext', 'Object.SankeyChart'], ['qlik-radar-chart', 'Object.RadarChart'], ['qlik-funnel-chart-ext', 'Object.FunnelChart'], ['sn-grid-chart', 'Object.GridChart'], ['sn-layout-container', 'Object.LayoutContainer']];
|
|
24704
|
+
extensions.forEach(_ref => {
|
|
24705
|
+
let [key, value] = _ref;
|
|
24706
|
+
translationKeys.set(key, value);
|
|
24707
|
+
});
|
|
24708
|
+
|
|
23928
24709
|
/**
|
|
23929
24710
|
* @interface
|
|
23930
24711
|
* @extends HTMLElement
|
|
@@ -24262,7 +25043,8 @@ const Cell = forwardRef((_ref6, ref) => {
|
|
|
24262
25043
|
language,
|
|
24263
25044
|
keyboardNavigation,
|
|
24264
25045
|
externalFocusManagement,
|
|
24265
|
-
disableCellPadding = false
|
|
25046
|
+
disableCellPadding = false,
|
|
25047
|
+
navigation: navigationApi
|
|
24266
25048
|
} = useContext(InstanceContext);
|
|
24267
25049
|
const [internalEmitter] = useState$1(emitter || createEmitter);
|
|
24268
25050
|
const theme = useTheme$1();
|
|
@@ -24391,7 +25173,7 @@ const Cell = forwardRef((_ref6, ref) => {
|
|
|
24391
25173
|
focusHandler: focusHandler.current,
|
|
24392
25174
|
emitter: internalEmitter,
|
|
24393
25175
|
onMount,
|
|
24394
|
-
navigation
|
|
25176
|
+
navigation: navigation !== null && navigation !== void 0 ? navigation : navigationApi
|
|
24395
25177
|
});
|
|
24396
25178
|
};
|
|
24397
25179
|
|
|
@@ -24458,6 +25240,13 @@ const Cell = forwardRef((_ref6, ref) => {
|
|
|
24458
25240
|
}
|
|
24459
25241
|
return {};
|
|
24460
25242
|
},
|
|
25243
|
+
onContextMenu() {
|
|
25244
|
+
var _state$sn2;
|
|
25245
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25246
|
+
args[_key] = arguments[_key];
|
|
25247
|
+
}
|
|
25248
|
+
return (_state$sn2 = state.sn) === null || _state$sn2 === void 0 ? void 0 : _state$sn2.component.onContextMenu(...args);
|
|
25249
|
+
},
|
|
24461
25250
|
async takeSnapshot() {
|
|
24462
25251
|
const {
|
|
24463
25252
|
width,
|
|
@@ -24512,7 +25301,8 @@ const Cell = forwardRef((_ref6, ref) => {
|
|
|
24512
25301
|
snOptions: snOptions,
|
|
24513
25302
|
snPlugins: snPlugins,
|
|
24514
25303
|
layout: layout,
|
|
24515
|
-
appLayout: appLayout
|
|
25304
|
+
appLayout: appLayout,
|
|
25305
|
+
cellId: currentId
|
|
24516
25306
|
});
|
|
24517
25307
|
}
|
|
24518
25308
|
const isCardTheme = !!((_halo$public$theme = halo.public.theme) !== null && _halo$public$theme !== void 0 && _halo$public$theme.getStyle('', '', '_cards'));
|
|
@@ -24535,6 +25325,8 @@ const Cell = forwardRef((_ref6, ref) => {
|
|
|
24535
25325
|
translator
|
|
24536
25326
|
});
|
|
24537
25327
|
}
|
|
25328
|
+
const translationKey = translationKeys.get(layout === null || layout === void 0 ? void 0 : layout.visualization);
|
|
25329
|
+
const translation = translator.get(translationKey);
|
|
24538
25330
|
return /*#__PURE__*/React__default.createElement(Paper, {
|
|
24539
25331
|
style: {
|
|
24540
25332
|
position: 'relative',
|
|
@@ -24570,15 +25362,22 @@ const Cell = forwardRef((_ref6, ref) => {
|
|
|
24570
25362
|
padding: theme.spacing(1)
|
|
24571
25363
|
} : {}), state.longRunningQuery ? {
|
|
24572
25364
|
opacity: '0.3'
|
|
24573
|
-
} : {})
|
|
24574
|
-
|
|
25365
|
+
} : {}),
|
|
25366
|
+
"aria-labelledby": "".concat(currentId, "_title ").concat(currentId, "_type ").concat(currentId, "_content")
|
|
25367
|
+
}, layout && /*#__PURE__*/React__default.createElement("div", {
|
|
25368
|
+
id: "".concat(currentId, "_type"),
|
|
25369
|
+
style: hiddenScreenReaderText,
|
|
25370
|
+
"aria-label": translation !== null && translation !== void 0 ? translation : layout.visualization
|
|
25371
|
+
}), cellNode && layout && state.sn && /*#__PURE__*/React__default.createElement(Header, {
|
|
24575
25372
|
layout: layout,
|
|
24576
25373
|
sn: state.sn,
|
|
24577
25374
|
anchorEl: cellNode,
|
|
24578
25375
|
hovering: hovering,
|
|
24579
25376
|
focusHandler: focusHandler.current,
|
|
24580
25377
|
titleStyles: titleStyles,
|
|
24581
|
-
isRtl: isRtl
|
|
25378
|
+
isRtl: isRtl,
|
|
25379
|
+
id: currentId,
|
|
25380
|
+
translator: translator
|
|
24582
25381
|
}, "\xA0"), /*#__PURE__*/React__default.createElement(Grid, {
|
|
24583
25382
|
tabIndex: keyboardNavigation && !externalFocusManagement ? 0 : -1,
|
|
24584
25383
|
onKeyDown: keyboardNavigation && !externalFocusManagement ? handleKeyDown : null,
|
|
@@ -29047,7 +29846,7 @@ function requireLodash () {
|
|
|
29047
29846
|
return symbolToString ? symbolToString.call(value) : '';
|
|
29048
29847
|
}
|
|
29049
29848
|
var result = (value + '');
|
|
29050
|
-
return (result == '0' && (1 / value) == -
|
|
29849
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
29051
29850
|
}
|
|
29052
29851
|
|
|
29053
29852
|
/**
|
|
@@ -31570,7 +32369,7 @@ function requireLodash () {
|
|
|
31570
32369
|
return value;
|
|
31571
32370
|
}
|
|
31572
32371
|
var result = (value + '');
|
|
31573
|
-
return (result == '0' && (1 / value) == -
|
|
32372
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
31574
32373
|
}
|
|
31575
32374
|
|
|
31576
32375
|
/**
|
|
@@ -36912,7 +37711,7 @@ function requireLodash () {
|
|
|
36912
37711
|
* // => false
|
|
36913
37712
|
*/
|
|
36914
37713
|
function isSafeInteger(value) {
|
|
36915
|
-
return isInteger(value) && value >= -
|
|
37714
|
+
return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
|
|
36916
37715
|
}
|
|
36917
37716
|
|
|
36918
37717
|
/**
|
|
@@ -37179,7 +37978,7 @@ function requireLodash () {
|
|
|
37179
37978
|
return value === 0 ? value : 0;
|
|
37180
37979
|
}
|
|
37181
37980
|
value = toNumber(value);
|
|
37182
|
-
if (value === INFINITY || value === -
|
|
37981
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
37183
37982
|
var sign = (value < 0 ? -1 : 1);
|
|
37184
37983
|
return sign * MAX_INTEGER;
|
|
37185
37984
|
}
|
|
@@ -37348,7 +38147,7 @@ function requireLodash () {
|
|
|
37348
38147
|
*/
|
|
37349
38148
|
function toSafeInteger(value) {
|
|
37350
38149
|
return value
|
|
37351
|
-
? baseClamp(toInteger(value), -
|
|
38150
|
+
? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
|
|
37352
38151
|
: (value === 0 ? value : 0);
|
|
37353
38152
|
}
|
|
37354
38153
|
|
|
@@ -42080,23 +42879,23 @@ const getHyperCube = (layout, path) => {
|
|
|
42080
42879
|
return path && utils(layout, path) ? utils(layout, path).qHyperCube : layout.qHyperCube;
|
|
42081
42880
|
};
|
|
42082
42881
|
function setDefaultProperties(self) {
|
|
42083
|
-
var _current$
|
|
42882
|
+
var _current$getDimension, _current$getMeasures, _current$hcProperties, _current$hcProperties2, _current$hcProperties3, _current$getAlternati, _current$getAlternati2;
|
|
42084
42883
|
const current = self;
|
|
42085
|
-
current.hcProperties.qDimensions = (_current$
|
|
42086
|
-
current.hcProperties.qMeasures = (_current$
|
|
42087
|
-
current.hcProperties.qInterColumnSortOrder = (_current$
|
|
42088
|
-
current.hcProperties.qLayoutExclude = (_current$
|
|
42884
|
+
current.hcProperties.qDimensions = (_current$getDimension = current.getDimensions()) !== null && _current$getDimension !== void 0 ? _current$getDimension : [];
|
|
42885
|
+
current.hcProperties.qMeasures = (_current$getMeasures = current.getMeasures()) !== null && _current$getMeasures !== void 0 ? _current$getMeasures : [];
|
|
42886
|
+
current.hcProperties.qInterColumnSortOrder = (_current$hcProperties = current.hcProperties.qInterColumnSortOrder) !== null && _current$hcProperties !== void 0 ? _current$hcProperties : [];
|
|
42887
|
+
current.hcProperties.qLayoutExclude = (_current$hcProperties2 = current.hcProperties.qLayoutExclude) !== null && _current$hcProperties2 !== void 0 ? _current$hcProperties2 : {
|
|
42089
42888
|
qHyperCubeDef: {
|
|
42090
42889
|
qDimensions: [],
|
|
42091
42890
|
qMeasures: []
|
|
42092
42891
|
}
|
|
42093
42892
|
};
|
|
42094
|
-
current.hcProperties.qLayoutExclude.qHyperCubeDef = (_current$
|
|
42893
|
+
current.hcProperties.qLayoutExclude.qHyperCubeDef = (_current$hcProperties3 = current.hcProperties.qLayoutExclude.qHyperCubeDef) !== null && _current$hcProperties3 !== void 0 ? _current$hcProperties3 : {
|
|
42095
42894
|
qDimensions: [],
|
|
42096
42895
|
qMeasures: []
|
|
42097
42896
|
};
|
|
42098
|
-
current.hcProperties.qLayoutExclude.qHyperCubeDef.qDimensions = (_current$
|
|
42099
|
-
current.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures = (_current$
|
|
42897
|
+
current.hcProperties.qLayoutExclude.qHyperCubeDef.qDimensions = (_current$getAlternati = current.getAlternativeDimensions()) !== null && _current$getAlternati !== void 0 ? _current$getAlternati : [];
|
|
42898
|
+
current.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures = (_current$getAlternati2 = current.getAlternativeMeasures()) !== null && _current$getAlternati2 !== void 0 ? _current$getAlternati2 : [];
|
|
42100
42899
|
}
|
|
42101
42900
|
function setPropForLineChartWithForecast(self) {
|
|
42102
42901
|
const current = self;
|
|
@@ -42118,7 +42917,7 @@ function getRemainedFields(fields, indexes) {
|
|
|
42118
42917
|
|
|
42119
42918
|
function addAlternativeDimension(self, dimension) {
|
|
42120
42919
|
let index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
42121
|
-
const dimensions = self.
|
|
42920
|
+
const dimensions = self.getAlternativeDimensions();
|
|
42122
42921
|
const idx = index !== null && index !== void 0 ? index : dimensions.length;
|
|
42123
42922
|
dimensions.splice(idx, 0, dimension);
|
|
42124
42923
|
return Promise.resolve(dimension);
|
|
@@ -42127,27 +42926,50 @@ function addDimensionToColumnSortOrder(self, dimensions, index) {
|
|
|
42127
42926
|
arrayUtil.indexAdded(self.hcProperties.qInterColumnSortOrder, index !== null && index !== void 0 ? index : dimensions.length - 1);
|
|
42128
42927
|
}
|
|
42129
42928
|
function addDimensionToColumnOrder(self, dimension) {
|
|
42130
|
-
if (typeof self.dimensionDefinition.add === 'function') {
|
|
42929
|
+
if (dimension && typeof self.dimensionDefinition.add === 'function') {
|
|
42131
42930
|
return Promise.resolve(self.dimensionDefinition.add.call(null, dimension, self.properties, self)).then(() => dimension);
|
|
42132
42931
|
}
|
|
42133
|
-
return
|
|
42932
|
+
return Promise.resolve(dimension);
|
|
42933
|
+
}
|
|
42934
|
+
function moveDimensionToColumnOrder(self, dimension) {
|
|
42935
|
+
if (typeof self.dimensionDefinition.move === 'function') {
|
|
42936
|
+
return Promise.resolve(self.dimensionDefinition.move.call(self, dimension, self.properties, self)).then(() => dimension);
|
|
42937
|
+
}
|
|
42938
|
+
return Promise.resolve(dimension);
|
|
42939
|
+
}
|
|
42940
|
+
function replaceDimensionOrder(self, index, dimension) {
|
|
42941
|
+
if (!dimension) {
|
|
42942
|
+
return undefined;
|
|
42943
|
+
}
|
|
42944
|
+
const dimensions = self.getDimensions();
|
|
42945
|
+
const replacedDimension = dimensions[index];
|
|
42946
|
+
const newDimension = _objectSpread2(_objectSpread2({}, dimension), {}, {
|
|
42947
|
+
qDef: _objectSpread2(_objectSpread2({}, dimension.qDef), {}, {
|
|
42948
|
+
cId: uid()
|
|
42949
|
+
})
|
|
42950
|
+
});
|
|
42951
|
+
dimensions[index] = newDimension;
|
|
42952
|
+
if (newDimension && typeof self.dimensionDefinition.replace === 'function') {
|
|
42953
|
+
self.dimensionDefinition.replace.call(null, newDimension, replacedDimension, index, self.properties, self);
|
|
42954
|
+
}
|
|
42955
|
+
return newDimension;
|
|
42134
42956
|
}
|
|
42135
42957
|
function removeDimensionFromColumnSortOrder(self, index) {
|
|
42136
42958
|
arrayUtil.indexRemoved(self.hcProperties.qInterColumnSortOrder, index);
|
|
42137
42959
|
}
|
|
42138
42960
|
function removeDimensionFromColumnOrder(self, index) {
|
|
42139
|
-
const [dimension] = self.
|
|
42961
|
+
const [dimension] = self.getDimensions().splice(index, 1);
|
|
42140
42962
|
if (dimension && typeof self.dimensionDefinition.remove === 'function') {
|
|
42141
42963
|
return Promise.resolve(self.dimensionDefinition.remove.call(null, dimension, self.properties, self, index));
|
|
42142
42964
|
}
|
|
42143
|
-
return
|
|
42965
|
+
return Promise.resolve();
|
|
42144
42966
|
}
|
|
42145
42967
|
function isTotalDimensionsExceeded(self, dimensions) {
|
|
42146
42968
|
const altDimensions = self.getAlternativeDimensions();
|
|
42147
42969
|
return altDimensions.length + dimensions.length >= TOTAL_MAX.DIMENSIONS;
|
|
42148
42970
|
}
|
|
42149
42971
|
function isDimensionAlternative(self, alternative) {
|
|
42150
|
-
const dimensions = self.
|
|
42972
|
+
const dimensions = self.getAlternativeDimensions();
|
|
42151
42973
|
return alternative || self.maxDimensions() <= dimensions.length && dimensions.length < TOTAL_MAX.DIMENSIONS;
|
|
42152
42974
|
}
|
|
42153
42975
|
async function addActiveDimension(self, dimension, initialLength, existingDimensions, addedDimensions, addedActive) {
|
|
@@ -42161,6 +42983,19 @@ async function addActiveDimension(self, dimension, initialLength, existingDimens
|
|
|
42161
42983
|
self.dimensionDefinition.add.call(self, dimension, self.properties, self);
|
|
42162
42984
|
}
|
|
42163
42985
|
}
|
|
42986
|
+
function moveDimensionFromMainToAlternative(fromIndex, toIndex, dimensions, altDimensions) {
|
|
42987
|
+
const alternativeToIndex = toIndex - dimensions.length;
|
|
42988
|
+
let [movingDimension] = altDimensions.splice(0, 1);
|
|
42989
|
+
dimensions.push(movingDimension);
|
|
42990
|
+
[movingDimension] = dimensions.splice(fromIndex, 1);
|
|
42991
|
+
altDimensions.splice(alternativeToIndex, 0, movingDimension);
|
|
42992
|
+
return Promise.resolve(movingDimension);
|
|
42993
|
+
}
|
|
42994
|
+
function moveDimensionWithinAlternative(fromIndex, toIndex, dimensions, altDimensions) {
|
|
42995
|
+
const alternativeFromIdx = fromIndex - dimensions.length;
|
|
42996
|
+
const alternativeToIndex = toIndex - dimensions.length;
|
|
42997
|
+
arrayUtil.move(altDimensions, alternativeFromIdx, alternativeToIndex);
|
|
42998
|
+
}
|
|
42164
42999
|
|
|
42165
43000
|
// ----------------------------------
|
|
42166
43001
|
// ------------ MEASURES ------------
|
|
@@ -42168,7 +43003,7 @@ async function addActiveDimension(self, dimension, initialLength, existingDimens
|
|
|
42168
43003
|
|
|
42169
43004
|
function addAlternativeMeasure(self, measure) {
|
|
42170
43005
|
let index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
42171
|
-
const measures = self.
|
|
43006
|
+
const measures = self.getAlternativeMeasures();
|
|
42172
43007
|
const idx = index !== null && index !== void 0 ? index : measures.length;
|
|
42173
43008
|
measures.splice(idx, 0, measure);
|
|
42174
43009
|
return Promise.resolve(measure);
|
|
@@ -42177,10 +43012,16 @@ function addMeasureToColumnSortOrder(self, measures) {
|
|
|
42177
43012
|
arrayUtil.indexAdded(self.hcProperties.qInterColumnSortOrder, self.getDimensions().length + measures.length - 1);
|
|
42178
43013
|
}
|
|
42179
43014
|
function addMeasureToColumnOrder(self, measure) {
|
|
42180
|
-
if (typeof self.measureDefinition.add === 'function') {
|
|
43015
|
+
if (measure && typeof self.measureDefinition.add === 'function') {
|
|
42181
43016
|
return Promise.resolve(self.measureDefinition.add.call(null, measure, self.properties, self));
|
|
42182
43017
|
}
|
|
42183
|
-
return
|
|
43018
|
+
return Promise.resolve();
|
|
43019
|
+
}
|
|
43020
|
+
function moveMeasureColumnOrder(self, measure) {
|
|
43021
|
+
if (typeof self.measureDefinition.move === 'function') {
|
|
43022
|
+
return Promise.resolve(self.measureDefinition.move.call(null, measure, self.properties, self, true)).then(() => measure);
|
|
43023
|
+
}
|
|
43024
|
+
return Promise.resolve(measure);
|
|
42184
43025
|
}
|
|
42185
43026
|
function isTotalMeasureExceeded(self, measures) {
|
|
42186
43027
|
// Adding more measures than TOTAL_MAX_MEASURES is not allowed and we expect this.maxMeasures() to always be <= TOTAL_MAX_MEASURES
|
|
@@ -42209,14 +43050,49 @@ function removeMeasureFromColumnSortOrder(self, index) {
|
|
|
42209
43050
|
arrayUtil.indexRemoved(self.hcProperties.qInterColumnSortOrder, self.getDimensions().length + index);
|
|
42210
43051
|
}
|
|
42211
43052
|
function removeMeasureFromColumnOrder(self, index) {
|
|
42212
|
-
const [measure] = self.
|
|
43053
|
+
const [measure] = self.getMeasures().splice(index, 1);
|
|
42213
43054
|
if (measure && typeof self.measureDefinition.remove === 'function') {
|
|
42214
43055
|
return Promise.resolve(self.measureDefinition.remove.call(null, measure, self.properties, self, index));
|
|
42215
43056
|
}
|
|
42216
|
-
return
|
|
43057
|
+
return Promise.resolve();
|
|
42217
43058
|
}
|
|
42218
43059
|
function removeAltMeasureByIndex(self, index) {
|
|
42219
|
-
return self.
|
|
43060
|
+
return self.getAlternativeMeasures().splice(index, 1);
|
|
43061
|
+
}
|
|
43062
|
+
function replaceMeasureToColumnOrder(self, index, measure) {
|
|
43063
|
+
const measures = self.getMeasures();
|
|
43064
|
+
const replacedMeasure = measures[index];
|
|
43065
|
+
const newMeasure = _objectSpread2(_objectSpread2({}, measure), {}, {
|
|
43066
|
+
qDef: _objectSpread2(_objectSpread2({}, measure.qDef), {}, {
|
|
43067
|
+
cId: uid()
|
|
43068
|
+
})
|
|
43069
|
+
});
|
|
43070
|
+
measures[index] = newMeasure;
|
|
43071
|
+
if (newMeasure && typeof self.measureDefinition.replace === 'function') {
|
|
43072
|
+
self.dimensionDefinition.replace.call(null, newMeasure, replacedMeasure, index, self.properties, self);
|
|
43073
|
+
}
|
|
43074
|
+
return newMeasure;
|
|
43075
|
+
}
|
|
43076
|
+
function moveMeasureFromMainToAlternative(fromIndex, toIndex, measures, altMeasures) {
|
|
43077
|
+
const alternativeToIndex = toIndex - measures.length;
|
|
43078
|
+
let [movingMeasure] = altMeasures.splice(0, 1);
|
|
43079
|
+
measures.push(movingMeasure);
|
|
43080
|
+
[movingMeasure] = measures.splice(fromIndex, 1);
|
|
43081
|
+
altMeasures.splice(alternativeToIndex, 0, movingMeasure);
|
|
43082
|
+
return Promise.resolve(movingMeasure);
|
|
43083
|
+
}
|
|
43084
|
+
function moveMeasureFromAlternativeToMain(fromIndex, toIndex, measures, altMeasures) {
|
|
43085
|
+
const alternativeFromIndex = fromIndex - measures.length;
|
|
43086
|
+
let [movingMeasure] = measures.splice(measures.length - 1, 1);
|
|
43087
|
+
altMeasures.splice(0, 0, movingMeasure);
|
|
43088
|
+
[movingMeasure] = altMeasures.splice(alternativeFromIndex + 1, 1);
|
|
43089
|
+
measures.splice(toIndex, 0, movingMeasure);
|
|
43090
|
+
return Promise.resolve(movingMeasure);
|
|
43091
|
+
}
|
|
43092
|
+
function moveMeasureWithinAlternative(fromIndex, toIndex, measures, altMeasures) {
|
|
43093
|
+
const alternativeFromIndex = fromIndex - measures.length;
|
|
43094
|
+
const alternativeToIndex = toIndex - measures.length;
|
|
43095
|
+
arrayUtil.move(altMeasures, alternativeFromIndex, alternativeToIndex);
|
|
42220
43096
|
}
|
|
42221
43097
|
|
|
42222
43098
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
@@ -42281,9 +43157,17 @@ class DataPropertyHandler {
|
|
|
42281
43157
|
static autoSortDimension() {
|
|
42282
43158
|
throw notSupportedError;
|
|
42283
43159
|
}
|
|
43160
|
+
static replaceDimension() {
|
|
43161
|
+
throw notSupportedError;
|
|
43162
|
+
}
|
|
43163
|
+
static getSorting() {
|
|
43164
|
+
throw notSupportedError;
|
|
43165
|
+
}
|
|
42284
43166
|
createLibraryDimension(id, defaults) {
|
|
42285
|
-
|
|
42286
|
-
dimension =
|
|
43167
|
+
var _dimension$qDef, _dimension$qOtherTota;
|
|
43168
|
+
const dimension = lodashExports.merge({}, this.dimensionProperties || {}, defaults || {});
|
|
43169
|
+
dimension.qDef = (_dimension$qDef = dimension.qDef) !== null && _dimension$qDef !== void 0 ? _dimension$qDef : {};
|
|
43170
|
+
dimension.qOtherTotalSpec = (_dimension$qOtherTota = dimension.qOtherTotalSpec) !== null && _dimension$qOtherTota !== void 0 ? _dimension$qOtherTota : {};
|
|
42287
43171
|
dimension.qLibraryId = id;
|
|
42288
43172
|
dimension.qDef.autoSort = true;
|
|
42289
43173
|
dimension.qDef.qSortCriterias = INITIAL_SORT_CRITERIAS;
|
|
@@ -42292,8 +43176,10 @@ class DataPropertyHandler {
|
|
|
42292
43176
|
return dimension;
|
|
42293
43177
|
}
|
|
42294
43178
|
createFieldDimension(field, label, defaults) {
|
|
42295
|
-
|
|
42296
|
-
dimension =
|
|
43179
|
+
var _dimension$qDef2, _dimension$qOtherTota2;
|
|
43180
|
+
const dimension = lodashExports.merge({}, this.dimensionProperties || {}, defaults || {});
|
|
43181
|
+
dimension.qDef = (_dimension$qDef2 = dimension.qDef) !== null && _dimension$qDef2 !== void 0 ? _dimension$qDef2 : {};
|
|
43182
|
+
dimension.qOtherTotalSpec = (_dimension$qOtherTota2 = dimension.qOtherTotalSpec) !== null && _dimension$qOtherTota2 !== void 0 ? _dimension$qOtherTota2 : {};
|
|
42297
43183
|
if (!field) {
|
|
42298
43184
|
dimension.qDef.qFieldDefs = [];
|
|
42299
43185
|
dimension.qDef.qFieldLabels = [];
|
|
@@ -42361,6 +43247,12 @@ class DataPropertyHandler {
|
|
|
42361
43247
|
const dimension = this.createLibraryDimension(id, defaults);
|
|
42362
43248
|
return this.addDimension(dimension, true);
|
|
42363
43249
|
}
|
|
43250
|
+
minDimensions() {
|
|
43251
|
+
if (typeof this.dimensionDefinition.min === 'function') {
|
|
43252
|
+
return this.dimensionDefinition.min.call(null, this.properties, this);
|
|
43253
|
+
}
|
|
43254
|
+
return this.dimensionDefinition.min || 0;
|
|
43255
|
+
}
|
|
42364
43256
|
maxDimensions() {
|
|
42365
43257
|
let decrement = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
42366
43258
|
const measureLength = this.getMeasures().length - decrement;
|
|
@@ -42371,6 +43263,9 @@ class DataPropertyHandler {
|
|
|
42371
43263
|
}
|
|
42372
43264
|
return Number.isNaN(+this.dimensionDefinition.max) ? 10000 : this.dimensionDefinition.max;
|
|
42373
43265
|
}
|
|
43266
|
+
canAddDimension() {
|
|
43267
|
+
return this.getDimensions().length < this.maxDimensions();
|
|
43268
|
+
}
|
|
42374
43269
|
|
|
42375
43270
|
// ---------------------------------------
|
|
42376
43271
|
// ----------------MEASURE----------------
|
|
@@ -42403,6 +43298,9 @@ class DataPropertyHandler {
|
|
|
42403
43298
|
static autoSortMeasure() {
|
|
42404
43299
|
throw notSupportedError;
|
|
42405
43300
|
}
|
|
43301
|
+
static replaceMeasure() {
|
|
43302
|
+
throw notSupportedError;
|
|
43303
|
+
}
|
|
42406
43304
|
createExpressionMeasure(expression, label, defaults) {
|
|
42407
43305
|
var _measure$qDef, _measure$qDef$qNumFor;
|
|
42408
43306
|
const measure = lodashExports.merge({}, this.measureProperties || {}, defaults || {});
|
|
@@ -42433,7 +43331,7 @@ class DataPropertyHandler {
|
|
|
42433
43331
|
const measure = lodashExports.merge({}, this.measureProperties || {}, defaults || {});
|
|
42434
43332
|
measure.qDef = (_measure$qDef2 = measure.qDef) !== null && _measure$qDef2 !== void 0 ? _measure$qDef2 : {};
|
|
42435
43333
|
measure.qDef.qNumFormat = (_measure$qDef$qNumFor2 = measure.qDef.qNumFormat) !== null && _measure$qDef$qNumFor2 !== void 0 ? _measure$qDef$qNumFor2 : {};
|
|
42436
|
-
if (flagsFn('
|
|
43334
|
+
if (flagsFn('MASTER_measureURE_FORMAT')) {
|
|
42437
43335
|
useMasterNumberFormat(measure.qDef);
|
|
42438
43336
|
}
|
|
42439
43337
|
measure.qLibraryId = id;
|
|
@@ -42482,6 +43380,12 @@ class DataPropertyHandler {
|
|
|
42482
43380
|
const measure = this.createLibraryMeasure(id, defaults);
|
|
42483
43381
|
return this.addMeasure(measure, true);
|
|
42484
43382
|
}
|
|
43383
|
+
minMeasures() {
|
|
43384
|
+
if (typeof this.measureDefinition.min === 'function') {
|
|
43385
|
+
return this.measureDefinition.min.call(null, this.properties, this);
|
|
43386
|
+
}
|
|
43387
|
+
return this.measureDefinition.min || 0;
|
|
43388
|
+
}
|
|
42485
43389
|
maxMeasures() {
|
|
42486
43390
|
let decrement = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
42487
43391
|
if (typeof this.measureDefinition.max === 'function') {
|
|
@@ -42491,6 +43395,26 @@ class DataPropertyHandler {
|
|
|
42491
43395
|
}
|
|
42492
43396
|
return Number.isNaN(+this.measureDefinition.max) ? 10000 : this.measureDefinition.max;
|
|
42493
43397
|
}
|
|
43398
|
+
canAddMeasure() {
|
|
43399
|
+
return this.getMeasures().length < this.maxMeasures();
|
|
43400
|
+
// return this.getMeasures().length < 10000;
|
|
43401
|
+
}
|
|
43402
|
+
|
|
43403
|
+
// ---------------------------------------
|
|
43404
|
+
// ---------------OTHERS------------------
|
|
43405
|
+
// ---------------------------------------
|
|
43406
|
+
|
|
43407
|
+
updateGlobalChangeListeners(layout) {
|
|
43408
|
+
if (this.globalChangeListeners) {
|
|
43409
|
+
(this.globalChangeListeners || []).forEach(func => {
|
|
43410
|
+
if (func && typeof func === 'function') {
|
|
43411
|
+
func(this.properties, this, {
|
|
43412
|
+
layout
|
|
43413
|
+
});
|
|
43414
|
+
}
|
|
43415
|
+
});
|
|
43416
|
+
}
|
|
43417
|
+
}
|
|
42494
43418
|
}
|
|
42495
43419
|
|
|
42496
43420
|
function getAutoSortLibraryDimension(self, dimension) {
|
|
@@ -42619,6 +43543,28 @@ function removeAlternativeDimension(self, index) {
|
|
|
42619
43543
|
return undefined;
|
|
42620
43544
|
}
|
|
42621
43545
|
|
|
43546
|
+
function reinsertMainDimension(self, dimension, index) {
|
|
43547
|
+
const dimensions = self.getDimensions();
|
|
43548
|
+
const idx = index !== null && index !== void 0 ? index : dimensions.length;
|
|
43549
|
+
if (dimensions.length < self.maxDimensions()) {
|
|
43550
|
+
dimensions.splice(idx, 0, dimension);
|
|
43551
|
+
addDimensionToColumnSortOrder(self, dimensions);
|
|
43552
|
+
return moveDimensionToColumnOrder(self, dimension);
|
|
43553
|
+
}
|
|
43554
|
+
return Promise.resolve(dimension);
|
|
43555
|
+
}
|
|
43556
|
+
|
|
43557
|
+
function reinsertMainMeasure(self, measure, index) {
|
|
43558
|
+
const measures = self.getMeasures();
|
|
43559
|
+
const idx = index !== null && index !== void 0 ? index : measures.length;
|
|
43560
|
+
if (measures.length < self.maxMeasures()) {
|
|
43561
|
+
measures.splice(idx, 0, measure);
|
|
43562
|
+
addMeasureToColumnSortOrder(self, measures);
|
|
43563
|
+
return moveMeasureColumnOrder(self, measure);
|
|
43564
|
+
}
|
|
43565
|
+
return Promise.resolve(measure);
|
|
43566
|
+
}
|
|
43567
|
+
|
|
42622
43568
|
class HyperCubeHandler extends DataPropertyHandler {
|
|
42623
43569
|
constructor(opts) {
|
|
42624
43570
|
super(opts);
|
|
@@ -42636,8 +43582,7 @@ class HyperCubeHandler extends DataPropertyHandler {
|
|
|
42636
43582
|
setDefaultProperties(this);
|
|
42637
43583
|
setPropForLineChartWithForecast(this);
|
|
42638
43584
|
|
|
42639
|
-
// Set auto-sort property (compatibility 0.85 -> 0.9),
|
|
42640
|
-
// can probably be removed in 1.0
|
|
43585
|
+
// Set auto-sort property (compatibility 0.85 -> 0.9), can probably be removed in 1.0
|
|
42641
43586
|
this.hcProperties.qDimensions = setFieldProperties(this.hcProperties.qDimensions);
|
|
42642
43587
|
this.hcProperties.qMeasures = setFieldProperties(this.hcProperties.qMeasures);
|
|
42643
43588
|
return {};
|
|
@@ -42784,6 +43729,33 @@ class HyperCubeHandler extends DataPropertyHandler {
|
|
|
42784
43729
|
}
|
|
42785
43730
|
return deletedDimensions;
|
|
42786
43731
|
}
|
|
43732
|
+
replaceDimension(index, dimension) {
|
|
43733
|
+
return this.autoSortDimension(dimension).then(() => replaceDimensionOrder(this, index, dimension));
|
|
43734
|
+
}
|
|
43735
|
+
reinsertDimension(dimension, alternative, idx) {
|
|
43736
|
+
const dim = initializeId(dimension);
|
|
43737
|
+
if (isDimensionAlternative(this, alternative)) {
|
|
43738
|
+
return addAlternativeDimension(this, dim, idx).then(() => {
|
|
43739
|
+
moveDimensionToColumnOrder(this, dim);
|
|
43740
|
+
});
|
|
43741
|
+
}
|
|
43742
|
+
return reinsertMainDimension(this, dim, idx);
|
|
43743
|
+
}
|
|
43744
|
+
moveDimension(fromIndex, toIndex) {
|
|
43745
|
+
const dimensions = this.getDimensions();
|
|
43746
|
+
const altDimensions = this.getAlternativeDimensions();
|
|
43747
|
+
if (fromIndex < dimensions.length && toIndex < dimensions.length) {
|
|
43748
|
+
// Move within main dimensions
|
|
43749
|
+
return Promise.resolve(arrayUtil.move(dimensions, fromIndex, toIndex));
|
|
43750
|
+
}
|
|
43751
|
+
if (fromIndex < dimensions.length && toIndex >= dimensions.length) {
|
|
43752
|
+
return moveDimensionFromMainToAlternative(fromIndex, toIndex, dimensions, altDimensions);
|
|
43753
|
+
}
|
|
43754
|
+
if (fromIndex >= dimensions.length && toIndex < dimensions.length) {
|
|
43755
|
+
return Promise.resolve(moveMeasureFromAlternativeToMain(fromIndex, toIndex, dimensions, altDimensions));
|
|
43756
|
+
}
|
|
43757
|
+
return Promise.resolve(moveDimensionWithinAlternative(fromIndex, toIndex, dimensions, altDimensions));
|
|
43758
|
+
}
|
|
42787
43759
|
autoSortDimension(dimension) {
|
|
42788
43760
|
if (dimension.qLibraryId) {
|
|
42789
43761
|
return getAutoSortLibraryDimension(this, dimension);
|
|
@@ -42810,17 +43782,17 @@ class HyperCubeHandler extends DataPropertyHandler {
|
|
|
42810
43782
|
return this.getMeasureLayouts().filter(item => cId === item.cId)[0];
|
|
42811
43783
|
}
|
|
42812
43784
|
addMeasure(measure, alternative, idx) {
|
|
42813
|
-
const
|
|
42814
|
-
|
|
42815
|
-
|
|
42816
|
-
return addAlternativeMeasure(
|
|
43785
|
+
const measures = this.getAlternativeMeasure();
|
|
43786
|
+
const meas = initializeId(measure);
|
|
43787
|
+
if (isMeasureAlternative(this, measures, alternative)) {
|
|
43788
|
+
return addAlternativeMeasure(this, meas, idx);
|
|
42817
43789
|
}
|
|
42818
43790
|
return addMainMeasure(this, meas, idx);
|
|
42819
43791
|
}
|
|
42820
43792
|
|
|
42821
43793
|
// eslint-disable-next-line class-methods-use-this
|
|
42822
43794
|
autoSortMeasure(measure) {
|
|
42823
|
-
const meas =
|
|
43795
|
+
const meas = measure;
|
|
42824
43796
|
meas.qSortBy = {
|
|
42825
43797
|
qSortByLoadOrder: 1,
|
|
42826
43798
|
qSortByNumeric: -1
|
|
@@ -42896,6 +43868,61 @@ class HyperCubeHandler extends DataPropertyHandler {
|
|
|
42896
43868
|
}
|
|
42897
43869
|
return deletedMeasures;
|
|
42898
43870
|
}
|
|
43871
|
+
replaceMeasure(index, measure) {
|
|
43872
|
+
return this.autoSortMeasure(measure).then(() => replaceMeasureToColumnOrder(this, index, measure));
|
|
43873
|
+
}
|
|
43874
|
+
reinsertMeasure(measure, alternative, idx) {
|
|
43875
|
+
const measures = this.getAlternativeMeasures();
|
|
43876
|
+
const meas = initializeId(measure);
|
|
43877
|
+
if (isMeasureAlternative(this, measures, alternative)) {
|
|
43878
|
+
return addAlternativeMeasure(this, meas, idx);
|
|
43879
|
+
}
|
|
43880
|
+
return reinsertMainMeasure(this, meas, idx);
|
|
43881
|
+
}
|
|
43882
|
+
moveMeasure(fromIndex, toIndex) {
|
|
43883
|
+
const measures = this.getMeasures();
|
|
43884
|
+
const altMeasures = this.getAlternativeMeasures();
|
|
43885
|
+
if (fromIndex < measures.length && toIndex < measures.length) {
|
|
43886
|
+
// Move within main measures
|
|
43887
|
+
return Promise.resolve(arrayUtil.move(measures, fromIndex, toIndex));
|
|
43888
|
+
}
|
|
43889
|
+
if (fromIndex < measures.length && toIndex >= measures.length) {
|
|
43890
|
+
return moveMeasureFromMainToAlternative(fromIndex, toIndex, measures, altMeasures);
|
|
43891
|
+
}
|
|
43892
|
+
if (fromIndex >= measures.length && toIndex < measures.length) {
|
|
43893
|
+
return moveMeasureFromAlternativeToMain(fromIndex, toIndex, measures, altMeasures);
|
|
43894
|
+
}
|
|
43895
|
+
return Promise.resolve(moveMeasureWithinAlternative(fromIndex, toIndex, measures, altMeasures));
|
|
43896
|
+
}
|
|
43897
|
+
|
|
43898
|
+
// ----------------------------------
|
|
43899
|
+
// ------------ OTHERS---- ----------
|
|
43900
|
+
// ----------------------------------
|
|
43901
|
+
|
|
43902
|
+
setSorting(ar) {
|
|
43903
|
+
if (ar && ar.length === this.hcProperties.qInterColumnSortOrder.length) {
|
|
43904
|
+
this.hcProperties.qInterColumnSortOrder = ar;
|
|
43905
|
+
}
|
|
43906
|
+
}
|
|
43907
|
+
getSorting() {
|
|
43908
|
+
return this.hcProperties.qInterColumnSortOrder;
|
|
43909
|
+
}
|
|
43910
|
+
changeSorting(fromIdx, toIdx) {
|
|
43911
|
+
utils.move(this.hcProperties.qInterColumnSortOrder, fromIdx, toIdx);
|
|
43912
|
+
}
|
|
43913
|
+
IsHCInStraightMode() {
|
|
43914
|
+
return this.hcProperties.qMode === 'S';
|
|
43915
|
+
}
|
|
43916
|
+
setHCEnabled(value) {
|
|
43917
|
+
// this flag indicate whether we enabled HC modifier and have at least one script
|
|
43918
|
+
if (this.hcProperties) {
|
|
43919
|
+
this.hcProperties.isHCEnabled = value;
|
|
43920
|
+
}
|
|
43921
|
+
}
|
|
43922
|
+
getDynamicScripts() {
|
|
43923
|
+
var _this$hcProperties3;
|
|
43924
|
+
return ((_this$hcProperties3 = this.hcProperties) === null || _this$hcProperties3 === void 0 ? void 0 : _this$hcProperties3.qDynamicScript) || [];
|
|
43925
|
+
}
|
|
42899
43926
|
}
|
|
42900
43927
|
|
|
42901
43928
|
/* eslint no-param-reassign: 0, no-restricted-globals: 0 */
|
|
@@ -45322,6 +46349,9 @@ function viz() {
|
|
|
45322
46349
|
},
|
|
45323
46350
|
setOnBlurHandler(cb) {
|
|
45324
46351
|
cellRef.current.setOnBlurHandler(cb);
|
|
46352
|
+
},
|
|
46353
|
+
onContextMenu() {
|
|
46354
|
+
return cellRef.current.onContextMenu(...arguments);
|
|
45325
46355
|
}
|
|
45326
46356
|
};
|
|
45327
46357
|
}
|
|
@@ -48131,7 +49161,9 @@ const DEFAULT_CONTEXT = /** @lends Context */{
|
|
|
48131
49161
|
* This type need to be registered as well
|
|
48132
49162
|
* @type {string=}
|
|
48133
49163
|
* */
|
|
48134
|
-
dataViewType: 'sn-table'
|
|
49164
|
+
dataViewType: 'sn-table',
|
|
49165
|
+
/** @type {Navigation=} */
|
|
49166
|
+
navigation: undefined
|
|
48135
49167
|
};
|
|
48136
49168
|
DEFAULT_CONFIG.context = DEFAULT_CONTEXT;
|
|
48137
49169
|
|