@happyvertical/smrt-analytics 0.43.9 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/manifest.json +141 -5
- package/dist/smrt-knowledge.json +91 -7
- package/dist/svelte/AnalyticsSummary.svelte +1 -0
- package/dist/svelte/AnalyticsSummary.svelte.d.ts +1 -0
- package/dist/svelte/AnalyticsSummary.svelte.d.ts.map +1 -1
- package/dist/svelte/EventsTable.svelte +2 -0
- package/dist/svelte/EventsTable.svelte.d.ts +2 -0
- package/dist/svelte/EventsTable.svelte.d.ts.map +1 -1
- package/dist/svelte/PropertyInfo.svelte +6 -0
- package/dist/svelte/PropertyInfo.svelte.d.ts +6 -0
- package/dist/svelte/PropertyInfo.svelte.d.ts.map +1 -1
- package/dist/svelte/PropertyStatusBadge.svelte +1 -0
- package/dist/svelte/PropertyStatusBadge.svelte.d.ts +1 -0
- package/dist/svelte/PropertyStatusBadge.svelte.d.ts.map +1 -1
- package/dist/svelte/StatCard.svelte +5 -2
- package/dist/svelte/StatCard.svelte.d.ts +5 -0
- package/dist/svelte/StatCard.svelte.d.ts.map +1 -1
- package/dist/svelte/TrendBadge.svelte +2 -2
- package/dist/svelte/TrendBadge.svelte.d.ts +2 -0
- package/dist/svelte/TrendBadge.svelte.d.ts.map +1 -1
- package/package.json +8 -7
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-analytics",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.44.0",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-analytics:AnalyticsDataStreamCollection": {
|
|
8
8
|
"name": "analyticsdatastreamcollection",
|
|
@@ -1051,6 +1051,20 @@
|
|
|
1051
1051
|
"isStatic": false,
|
|
1052
1052
|
"isPublic": true
|
|
1053
1053
|
},
|
|
1054
|
+
"withTransaction": {
|
|
1055
|
+
"name": "withTransaction",
|
|
1056
|
+
"async": true,
|
|
1057
|
+
"parameters": [
|
|
1058
|
+
{
|
|
1059
|
+
"name": "operation",
|
|
1060
|
+
"type": "Function",
|
|
1061
|
+
"optional": false
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"returnType": "Promise<T>",
|
|
1065
|
+
"isStatic": false,
|
|
1066
|
+
"isPublic": true
|
|
1067
|
+
},
|
|
1054
1068
|
"initialize": {
|
|
1055
1069
|
"name": "initialize",
|
|
1056
1070
|
"async": true,
|
|
@@ -1146,11 +1160,31 @@
|
|
|
1146
1160
|
"save": {
|
|
1147
1161
|
"name": "save",
|
|
1148
1162
|
"async": true,
|
|
1149
|
-
"parameters": [
|
|
1163
|
+
"parameters": [
|
|
1164
|
+
{
|
|
1165
|
+
"name": "options",
|
|
1166
|
+
"type": "SmrtSaveOptions",
|
|
1167
|
+
"optional": true
|
|
1168
|
+
}
|
|
1169
|
+
],
|
|
1150
1170
|
"returnType": "any",
|
|
1151
1171
|
"isStatic": false,
|
|
1152
1172
|
"isPublic": true
|
|
1153
1173
|
},
|
|
1174
|
+
"claimRevision": {
|
|
1175
|
+
"name": "claimRevision",
|
|
1176
|
+
"async": true,
|
|
1177
|
+
"parameters": [
|
|
1178
|
+
{
|
|
1179
|
+
"name": "expectedUpdatedAt",
|
|
1180
|
+
"type": "Date | string",
|
|
1181
|
+
"optional": false
|
|
1182
|
+
}
|
|
1183
|
+
],
|
|
1184
|
+
"returnType": "Promise",
|
|
1185
|
+
"isStatic": false,
|
|
1186
|
+
"isPublic": true
|
|
1187
|
+
},
|
|
1154
1188
|
"classifyConstraintError": {
|
|
1155
1189
|
"name": "classifyConstraintError",
|
|
1156
1190
|
"async": false,
|
|
@@ -1879,6 +1913,20 @@
|
|
|
1879
1913
|
"isStatic": false,
|
|
1880
1914
|
"isPublic": true
|
|
1881
1915
|
},
|
|
1916
|
+
"withTransaction": {
|
|
1917
|
+
"name": "withTransaction",
|
|
1918
|
+
"async": true,
|
|
1919
|
+
"parameters": [
|
|
1920
|
+
{
|
|
1921
|
+
"name": "operation",
|
|
1922
|
+
"type": "Function",
|
|
1923
|
+
"optional": false
|
|
1924
|
+
}
|
|
1925
|
+
],
|
|
1926
|
+
"returnType": "Promise<T>",
|
|
1927
|
+
"isStatic": false,
|
|
1928
|
+
"isPublic": true
|
|
1929
|
+
},
|
|
1882
1930
|
"initialize": {
|
|
1883
1931
|
"name": "initialize",
|
|
1884
1932
|
"async": true,
|
|
@@ -1974,11 +2022,31 @@
|
|
|
1974
2022
|
"save": {
|
|
1975
2023
|
"name": "save",
|
|
1976
2024
|
"async": true,
|
|
1977
|
-
"parameters": [
|
|
2025
|
+
"parameters": [
|
|
2026
|
+
{
|
|
2027
|
+
"name": "options",
|
|
2028
|
+
"type": "SmrtSaveOptions",
|
|
2029
|
+
"optional": true
|
|
2030
|
+
}
|
|
2031
|
+
],
|
|
1978
2032
|
"returnType": "any",
|
|
1979
2033
|
"isStatic": false,
|
|
1980
2034
|
"isPublic": true
|
|
1981
2035
|
},
|
|
2036
|
+
"claimRevision": {
|
|
2037
|
+
"name": "claimRevision",
|
|
2038
|
+
"async": true,
|
|
2039
|
+
"parameters": [
|
|
2040
|
+
{
|
|
2041
|
+
"name": "expectedUpdatedAt",
|
|
2042
|
+
"type": "Date | string",
|
|
2043
|
+
"optional": false
|
|
2044
|
+
}
|
|
2045
|
+
],
|
|
2046
|
+
"returnType": "Promise",
|
|
2047
|
+
"isStatic": false,
|
|
2048
|
+
"isPublic": true
|
|
2049
|
+
},
|
|
1982
2050
|
"classifyConstraintError": {
|
|
1983
2051
|
"name": "classifyConstraintError",
|
|
1984
2052
|
"async": false,
|
|
@@ -2798,6 +2866,20 @@
|
|
|
2798
2866
|
"isStatic": false,
|
|
2799
2867
|
"isPublic": true
|
|
2800
2868
|
},
|
|
2869
|
+
"withTransaction": {
|
|
2870
|
+
"name": "withTransaction",
|
|
2871
|
+
"async": true,
|
|
2872
|
+
"parameters": [
|
|
2873
|
+
{
|
|
2874
|
+
"name": "operation",
|
|
2875
|
+
"type": "Function",
|
|
2876
|
+
"optional": false
|
|
2877
|
+
}
|
|
2878
|
+
],
|
|
2879
|
+
"returnType": "Promise<T>",
|
|
2880
|
+
"isStatic": false,
|
|
2881
|
+
"isPublic": true
|
|
2882
|
+
},
|
|
2801
2883
|
"initialize": {
|
|
2802
2884
|
"name": "initialize",
|
|
2803
2885
|
"async": true,
|
|
@@ -2893,11 +2975,31 @@
|
|
|
2893
2975
|
"save": {
|
|
2894
2976
|
"name": "save",
|
|
2895
2977
|
"async": true,
|
|
2896
|
-
"parameters": [
|
|
2978
|
+
"parameters": [
|
|
2979
|
+
{
|
|
2980
|
+
"name": "options",
|
|
2981
|
+
"type": "SmrtSaveOptions",
|
|
2982
|
+
"optional": true
|
|
2983
|
+
}
|
|
2984
|
+
],
|
|
2897
2985
|
"returnType": "any",
|
|
2898
2986
|
"isStatic": false,
|
|
2899
2987
|
"isPublic": true
|
|
2900
2988
|
},
|
|
2989
|
+
"claimRevision": {
|
|
2990
|
+
"name": "claimRevision",
|
|
2991
|
+
"async": true,
|
|
2992
|
+
"parameters": [
|
|
2993
|
+
{
|
|
2994
|
+
"name": "expectedUpdatedAt",
|
|
2995
|
+
"type": "Date | string",
|
|
2996
|
+
"optional": false
|
|
2997
|
+
}
|
|
2998
|
+
],
|
|
2999
|
+
"returnType": "Promise",
|
|
3000
|
+
"isStatic": false,
|
|
3001
|
+
"isPublic": true
|
|
3002
|
+
},
|
|
2901
3003
|
"classifyConstraintError": {
|
|
2902
3004
|
"name": "classifyConstraintError",
|
|
2903
3005
|
"async": false,
|
|
@@ -3675,6 +3777,20 @@
|
|
|
3675
3777
|
"isStatic": false,
|
|
3676
3778
|
"isPublic": true
|
|
3677
3779
|
},
|
|
3780
|
+
"withTransaction": {
|
|
3781
|
+
"name": "withTransaction",
|
|
3782
|
+
"async": true,
|
|
3783
|
+
"parameters": [
|
|
3784
|
+
{
|
|
3785
|
+
"name": "operation",
|
|
3786
|
+
"type": "Function",
|
|
3787
|
+
"optional": false
|
|
3788
|
+
}
|
|
3789
|
+
],
|
|
3790
|
+
"returnType": "Promise<T>",
|
|
3791
|
+
"isStatic": false,
|
|
3792
|
+
"isPublic": true
|
|
3793
|
+
},
|
|
3678
3794
|
"initialize": {
|
|
3679
3795
|
"name": "initialize",
|
|
3680
3796
|
"async": true,
|
|
@@ -3770,11 +3886,31 @@
|
|
|
3770
3886
|
"save": {
|
|
3771
3887
|
"name": "save",
|
|
3772
3888
|
"async": true,
|
|
3773
|
-
"parameters": [
|
|
3889
|
+
"parameters": [
|
|
3890
|
+
{
|
|
3891
|
+
"name": "options",
|
|
3892
|
+
"type": "SmrtSaveOptions",
|
|
3893
|
+
"optional": true
|
|
3894
|
+
}
|
|
3895
|
+
],
|
|
3774
3896
|
"returnType": "any",
|
|
3775
3897
|
"isStatic": false,
|
|
3776
3898
|
"isPublic": true
|
|
3777
3899
|
},
|
|
3900
|
+
"claimRevision": {
|
|
3901
|
+
"name": "claimRevision",
|
|
3902
|
+
"async": true,
|
|
3903
|
+
"parameters": [
|
|
3904
|
+
{
|
|
3905
|
+
"name": "expectedUpdatedAt",
|
|
3906
|
+
"type": "Date | string",
|
|
3907
|
+
"optional": false
|
|
3908
|
+
}
|
|
3909
|
+
],
|
|
3910
|
+
"returnType": "Promise",
|
|
3911
|
+
"isStatic": false,
|
|
3912
|
+
"isPublic": true
|
|
3913
|
+
},
|
|
3778
3914
|
"classifyConstraintError": {
|
|
3779
3915
|
"name": "classifyConstraintError",
|
|
3780
3916
|
"async": false,
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-analytics",
|
|
6
|
-
"packageVersion": "0.
|
|
6
|
+
"packageVersion": "0.44.0",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "c68a3f2268cbec77f9c4a6986bc62b22980ce9d93cadc98f11362436e5580ad8",
|
|
11
|
+
"packageJson": "b430cfa6f78a8405e44ae78b4198bfffc8ba0659bb32619a67c883741b5c10a5",
|
|
12
12
|
"agents": "baaeb44320f95dc5dc86925318e791369681ad80acfbb82a0f667f2aed0e511c"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -637,6 +637,7 @@
|
|
|
637
637
|
],
|
|
638
638
|
"methods": [
|
|
639
639
|
"_setLoadedRelationship",
|
|
640
|
+
"claimRevision",
|
|
640
641
|
"classifyConstraintError",
|
|
641
642
|
"clearEmbeddings",
|
|
642
643
|
"delete",
|
|
@@ -682,7 +683,8 @@
|
|
|
682
683
|
"toJSON",
|
|
683
684
|
"toPlainObject",
|
|
684
685
|
"toPublicJSON",
|
|
685
|
-
"withDatabase"
|
|
686
|
+
"withDatabase",
|
|
687
|
+
"withTransaction"
|
|
686
688
|
],
|
|
687
689
|
"methodSignatures": [
|
|
688
690
|
{
|
|
@@ -693,6 +695,14 @@
|
|
|
693
695
|
],
|
|
694
696
|
"returns": "void"
|
|
695
697
|
},
|
|
698
|
+
{
|
|
699
|
+
"name": "claimRevision",
|
|
700
|
+
"async": true,
|
|
701
|
+
"params": [
|
|
702
|
+
"expectedUpdatedAt: Date | string"
|
|
703
|
+
],
|
|
704
|
+
"returns": "Promise"
|
|
705
|
+
},
|
|
696
706
|
{
|
|
697
707
|
"name": "classifyConstraintError",
|
|
698
708
|
"static": true,
|
|
@@ -944,6 +954,9 @@
|
|
|
944
954
|
{
|
|
945
955
|
"name": "save",
|
|
946
956
|
"async": true,
|
|
957
|
+
"params": [
|
|
958
|
+
"options?: SmrtSaveOptions"
|
|
959
|
+
],
|
|
947
960
|
"returns": "any"
|
|
948
961
|
},
|
|
949
962
|
{
|
|
@@ -977,6 +990,14 @@
|
|
|
977
990
|
"operation: Function"
|
|
978
991
|
],
|
|
979
992
|
"returns": "Promise<T>"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "withTransaction",
|
|
996
|
+
"async": true,
|
|
997
|
+
"params": [
|
|
998
|
+
"operation: Function"
|
|
999
|
+
],
|
|
1000
|
+
"returns": "Promise<T>"
|
|
980
1001
|
}
|
|
981
1002
|
],
|
|
982
1003
|
"tenant": {
|
|
@@ -1222,6 +1243,7 @@
|
|
|
1222
1243
|
"methods": [
|
|
1223
1244
|
"_setLoadedRelationship",
|
|
1224
1245
|
"addParam",
|
|
1246
|
+
"claimRevision",
|
|
1225
1247
|
"classifyConstraintError",
|
|
1226
1248
|
"clearEmbeddings",
|
|
1227
1249
|
"delete",
|
|
@@ -1271,7 +1293,8 @@
|
|
|
1271
1293
|
"toPlainObject",
|
|
1272
1294
|
"toPublicJSON",
|
|
1273
1295
|
"toTrackEvent",
|
|
1274
|
-
"withDatabase"
|
|
1296
|
+
"withDatabase",
|
|
1297
|
+
"withTransaction"
|
|
1275
1298
|
],
|
|
1276
1299
|
"methodSignatures": [
|
|
1277
1300
|
{
|
|
@@ -1290,6 +1313,14 @@
|
|
|
1290
1313
|
],
|
|
1291
1314
|
"returns": "void"
|
|
1292
1315
|
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "claimRevision",
|
|
1318
|
+
"async": true,
|
|
1319
|
+
"params": [
|
|
1320
|
+
"expectedUpdatedAt: Date | string"
|
|
1321
|
+
],
|
|
1322
|
+
"returns": "Promise"
|
|
1323
|
+
},
|
|
1293
1324
|
{
|
|
1294
1325
|
"name": "classifyConstraintError",
|
|
1295
1326
|
"static": true,
|
|
@@ -1548,6 +1579,9 @@
|
|
|
1548
1579
|
{
|
|
1549
1580
|
"name": "save",
|
|
1550
1581
|
"async": true,
|
|
1582
|
+
"params": [
|
|
1583
|
+
"options?: SmrtSaveOptions"
|
|
1584
|
+
],
|
|
1551
1585
|
"returns": "any"
|
|
1552
1586
|
},
|
|
1553
1587
|
{
|
|
@@ -1599,6 +1633,14 @@
|
|
|
1599
1633
|
"operation: Function"
|
|
1600
1634
|
],
|
|
1601
1635
|
"returns": "Promise<T>"
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"name": "withTransaction",
|
|
1639
|
+
"async": true,
|
|
1640
|
+
"params": [
|
|
1641
|
+
"operation: Function"
|
|
1642
|
+
],
|
|
1643
|
+
"returns": "Promise<T>"
|
|
1602
1644
|
}
|
|
1603
1645
|
],
|
|
1604
1646
|
"tenant": {
|
|
@@ -1806,6 +1848,7 @@
|
|
|
1806
1848
|
"methods": [
|
|
1807
1849
|
"_setLoadedRelationship",
|
|
1808
1850
|
"analyzePerformance",
|
|
1851
|
+
"claimRevision",
|
|
1809
1852
|
"classifyConstraintError",
|
|
1810
1853
|
"clearEmbeddings",
|
|
1811
1854
|
"delete",
|
|
@@ -1853,7 +1896,8 @@
|
|
|
1853
1896
|
"toJSON",
|
|
1854
1897
|
"toPlainObject",
|
|
1855
1898
|
"toPublicJSON",
|
|
1856
|
-
"withDatabase"
|
|
1899
|
+
"withDatabase",
|
|
1900
|
+
"withTransaction"
|
|
1857
1901
|
],
|
|
1858
1902
|
"methodSignatures": [
|
|
1859
1903
|
{
|
|
@@ -1872,6 +1916,14 @@
|
|
|
1872
1916
|
],
|
|
1873
1917
|
"returns": "Promise<object>"
|
|
1874
1918
|
},
|
|
1919
|
+
{
|
|
1920
|
+
"name": "claimRevision",
|
|
1921
|
+
"async": true,
|
|
1922
|
+
"params": [
|
|
1923
|
+
"expectedUpdatedAt: Date | string"
|
|
1924
|
+
],
|
|
1925
|
+
"returns": "Promise"
|
|
1926
|
+
},
|
|
1875
1927
|
{
|
|
1876
1928
|
"name": "classifyConstraintError",
|
|
1877
1929
|
"static": true,
|
|
@@ -2128,6 +2180,9 @@
|
|
|
2128
2180
|
{
|
|
2129
2181
|
"name": "save",
|
|
2130
2182
|
"async": true,
|
|
2183
|
+
"params": [
|
|
2184
|
+
"options?: SmrtSaveOptions"
|
|
2185
|
+
],
|
|
2131
2186
|
"returns": "any"
|
|
2132
2187
|
},
|
|
2133
2188
|
{
|
|
@@ -2168,6 +2223,14 @@
|
|
|
2168
2223
|
"operation: Function"
|
|
2169
2224
|
],
|
|
2170
2225
|
"returns": "Promise<T>"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "withTransaction",
|
|
2229
|
+
"async": true,
|
|
2230
|
+
"params": [
|
|
2231
|
+
"operation: Function"
|
|
2232
|
+
],
|
|
2233
|
+
"returns": "Promise<T>"
|
|
2171
2234
|
}
|
|
2172
2235
|
],
|
|
2173
2236
|
"tenant": {
|
|
@@ -2438,6 +2501,7 @@
|
|
|
2438
2501
|
"_setLoadedRelationship",
|
|
2439
2502
|
"analyzeResults",
|
|
2440
2503
|
"calculateNextRun",
|
|
2504
|
+
"claimRevision",
|
|
2441
2505
|
"classifyConstraintError",
|
|
2442
2506
|
"clearEmbeddings",
|
|
2443
2507
|
"delete",
|
|
@@ -2489,7 +2553,8 @@
|
|
|
2489
2553
|
"toJSON",
|
|
2490
2554
|
"toPlainObject",
|
|
2491
2555
|
"toPublicJSON",
|
|
2492
|
-
"withDatabase"
|
|
2556
|
+
"withDatabase",
|
|
2557
|
+
"withTransaction"
|
|
2493
2558
|
],
|
|
2494
2559
|
"methodSignatures": [
|
|
2495
2560
|
{
|
|
@@ -2512,6 +2577,14 @@
|
|
|
2512
2577
|
"name": "calculateNextRun",
|
|
2513
2578
|
"returns": "void"
|
|
2514
2579
|
},
|
|
2580
|
+
{
|
|
2581
|
+
"name": "claimRevision",
|
|
2582
|
+
"async": true,
|
|
2583
|
+
"params": [
|
|
2584
|
+
"expectedUpdatedAt: Date | string"
|
|
2585
|
+
],
|
|
2586
|
+
"returns": "Promise"
|
|
2587
|
+
},
|
|
2515
2588
|
{
|
|
2516
2589
|
"name": "classifyConstraintError",
|
|
2517
2590
|
"static": true,
|
|
@@ -2782,6 +2855,9 @@
|
|
|
2782
2855
|
{
|
|
2783
2856
|
"name": "save",
|
|
2784
2857
|
"async": true,
|
|
2858
|
+
"params": [
|
|
2859
|
+
"options?: SmrtSaveOptions"
|
|
2860
|
+
],
|
|
2785
2861
|
"returns": "any"
|
|
2786
2862
|
},
|
|
2787
2863
|
{
|
|
@@ -2836,6 +2912,14 @@
|
|
|
2836
2912
|
"operation: Function"
|
|
2837
2913
|
],
|
|
2838
2914
|
"returns": "Promise<T>"
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"name": "withTransaction",
|
|
2918
|
+
"async": true,
|
|
2919
|
+
"params": [
|
|
2920
|
+
"operation: Function"
|
|
2921
|
+
],
|
|
2922
|
+
"returns": "Promise<T>"
|
|
2839
2923
|
}
|
|
2840
2924
|
],
|
|
2841
2925
|
"tenant": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PropertyStatsWithTrend } from '../index.js';
|
|
2
2
|
interface Props {
|
|
3
|
+
/** Analytics data including pageview and user counts with trend comparison. */
|
|
3
4
|
stats: PropertyStatsWithTrend | null;
|
|
4
5
|
}
|
|
5
6
|
declare const AnalyticsSummary: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsSummary.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/AnalyticsSummary.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAK1D,UAAU,KAAK;IACb,KAAK,EAAE,sBAAsB,GAAG,IAAI,CAAC;CACtC;AA8BD,QAAA,MAAM,gBAAgB,2CAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"AnalyticsSummary.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/AnalyticsSummary.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAK1D,UAAU,KAAK;IACb,+EAA+E;IAC/E,KAAK,EAAE,sBAAsB,GAAG,IAAI,CAAC;CACtC;AA8BD,QAAA,MAAM,gBAAgB,2CAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
|
|
@@ -7,7 +7,9 @@ interface EventRow {
|
|
|
7
7
|
status: string;
|
|
8
8
|
}
|
|
9
9
|
interface Props {
|
|
10
|
+
/** Array of event records to display in the table. */
|
|
10
11
|
events: EventRow[];
|
|
12
|
+
/** Maximum number of events to show; excess events are truncated. */
|
|
11
13
|
maxRows?: number;
|
|
12
14
|
}
|
|
13
15
|
declare const EventsTable: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventsTable.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/EventsTable.svelte.ts"],"names":[],"mappings":"AAOA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,KAAK;IACb,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AA+DD,QAAA,MAAM,WAAW,2CAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"EventsTable.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/EventsTable.svelte.ts"],"names":[],"mappings":"AAOA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,KAAK;IACb,sDAAsD;IACtD,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AA+DD,QAAA,MAAM,WAAW,2CAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
@@ -6,11 +6,17 @@ import PropertyStatusBadge from './PropertyStatusBadge.svelte';
|
|
|
6
6
|
const { t } = useI18n();
|
|
7
7
|
|
|
8
8
|
interface Props {
|
|
9
|
+
/** Identifier for the analytics property; empty state is shown if null. */
|
|
9
10
|
propertyId: string | null;
|
|
11
|
+
/** Tracking ID or measurement identifier for the analytics platform. */
|
|
10
12
|
measurementId: string | null;
|
|
13
|
+
/** Analytics provider type (e.g., 'ga4', 'plausible', 'matomo'). */
|
|
11
14
|
provider: string | null;
|
|
15
|
+
/** Current status of the property connection. */
|
|
12
16
|
status: 'active' | 'inactive' | 'pending';
|
|
17
|
+
/** ISO timestamp of the most recent data synchronization. */
|
|
13
18
|
lastSyncAt: string | null;
|
|
19
|
+
/** Website domain associated with the analytics property. */
|
|
14
20
|
siteDomain?: string;
|
|
15
21
|
}
|
|
16
22
|
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
+
/** Identifier for the analytics property; empty state is shown if null. */
|
|
2
3
|
propertyId: string | null;
|
|
4
|
+
/** Tracking ID or measurement identifier for the analytics platform. */
|
|
3
5
|
measurementId: string | null;
|
|
6
|
+
/** Analytics provider type (e.g., 'ga4', 'plausible', 'matomo'). */
|
|
4
7
|
provider: string | null;
|
|
8
|
+
/** Current status of the property connection. */
|
|
5
9
|
status: 'active' | 'inactive' | 'pending';
|
|
10
|
+
/** ISO timestamp of the most recent data synchronization. */
|
|
6
11
|
lastSyncAt: string | null;
|
|
12
|
+
/** Website domain associated with the analytics property. */
|
|
7
13
|
siteDomain?: string;
|
|
8
14
|
}
|
|
9
15
|
declare const PropertyInfo: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyInfo.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/PropertyInfo.svelte.ts"],"names":[],"mappings":"AAQA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA0ED,QAAA,MAAM,YAAY,2CAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"PropertyInfo.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/PropertyInfo.svelte.ts"],"names":[],"mappings":"AAQA,UAAU,KAAK;IACb,2EAA2E;IAC3E,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,wEAAwE;IACxE,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,oEAAoE;IACpE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,iDAAiD;IACjD,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1C,6DAA6D;IAC7D,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA0ED,QAAA,MAAM,YAAY,2CAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyStatusBadge.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/PropertyStatusBadge.svelte.ts"],"names":[],"mappings":"AAGA,UAAU,KAAK;IACb,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;CAC3C;AAwBD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"PropertyStatusBadge.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/PropertyStatusBadge.svelte.ts"],"names":[],"mappings":"AAGA,UAAU,KAAK;IACb,mDAAmD;IACnD,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;CAC3C;AAwBD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
import TrendBadge from './TrendBadge.svelte';
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
|
+
/** Descriptive label displayed at the top of the card. */
|
|
5
6
|
label: string;
|
|
7
|
+
/** Numeric value or text displayed prominently. */
|
|
6
8
|
value: number | string;
|
|
9
|
+
/** Direction indicator: up, down, or flat growth. */
|
|
7
10
|
trend?: 'up' | 'down' | 'flat';
|
|
8
|
-
|
|
9
|
-
// "new"); only `undefined` suppresses the trend badge.
|
|
11
|
+
/** Percent change; null is a zero baseline shown as 'new', undefined hides the badge. */
|
|
10
12
|
trendPercent?: number | null;
|
|
13
|
+
/** Secondary text displayed below the value. */
|
|
11
14
|
subtitle?: string;
|
|
12
15
|
}
|
|
13
16
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
+
/** Descriptive label displayed at the top of the card. */
|
|
2
3
|
label: string;
|
|
4
|
+
/** Numeric value or text displayed prominently. */
|
|
3
5
|
value: number | string;
|
|
6
|
+
/** Direction indicator: up, down, or flat growth. */
|
|
4
7
|
trend?: 'up' | 'down' | 'flat';
|
|
8
|
+
/** Percent change; null is a zero baseline shown as 'new', undefined hides the badge. */
|
|
5
9
|
trendPercent?: number | null;
|
|
10
|
+
/** Secondary text displayed below the value. */
|
|
6
11
|
subtitle?: string;
|
|
7
12
|
}
|
|
8
13
|
declare const StatCard: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatCard.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/StatCard.svelte.ts"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"StatCard.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/StatCard.svelte.ts"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACb,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,qDAAqD;IACrD,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/B,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAyBD,QAAA,MAAM,QAAQ,2CAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
interface Props {
|
|
3
|
+
/** Direction of change: up, down, or flat. */
|
|
3
4
|
trend: 'up' | 'down' | 'flat';
|
|
4
|
-
|
|
5
|
-
// the badge shows "new" instead of a misleading 0%.
|
|
5
|
+
/** Percent change; null means a zero baseline, shown as 'new' rather than 0%. */
|
|
6
6
|
percent: number | null;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
+
/** Direction of change: up, down, or flat. */
|
|
2
3
|
trend: 'up' | 'down' | 'flat';
|
|
4
|
+
/** Percent change; null means a zero baseline, shown as 'new' rather than 0%. */
|
|
3
5
|
percent: number | null;
|
|
4
6
|
}
|
|
5
7
|
declare const TrendBadge: import("svelte").Component<Props, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrendBadge.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/TrendBadge.svelte.ts"],"names":[],"mappings":"AAGA,UAAU,KAAK;IACb,KAAK,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"TrendBadge.svelte.d.ts","sourceRoot":"","sources":["../../src/svelte/TrendBadge.svelte.ts"],"names":[],"mappings":"AAGA,UAAU,KAAK;IACb,8CAA8C;IAC9C,KAAK,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9B,iFAAiF;IACjF,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAsBD,QAAA,MAAM,UAAU,2CAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
|