@contractspec/example.marketplace 3.7.6 → 3.8.2

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.
Files changed (86) hide show
  1. package/README.md +64 -131
  2. package/dist/browser/entities/index.js +470 -470
  3. package/dist/browser/index.js +1257 -1019
  4. package/dist/browser/marketplace.feature.js +175 -0
  5. package/dist/browser/order/index.js +155 -155
  6. package/dist/browser/order/order.event.js +1 -1
  7. package/dist/browser/payout/index.js +71 -71
  8. package/dist/browser/payout/payout.event.js +1 -1
  9. package/dist/browser/product/index.js +104 -104
  10. package/dist/browser/product/product.event.js +1 -1
  11. package/dist/browser/review/index.js +75 -75
  12. package/dist/browser/review/review.event.js +1 -1
  13. package/dist/browser/store/index.js +68 -68
  14. package/dist/browser/store/store.event.js +1 -1
  15. package/dist/browser/ui/MarketplaceDashboard.js +328 -110
  16. package/dist/browser/ui/MarketplaceDashboard.visualizations.js +216 -0
  17. package/dist/browser/ui/hooks/index.js +1 -1
  18. package/dist/browser/ui/hooks/useMarketplaceData.js +1 -1
  19. package/dist/browser/ui/index.js +590 -359
  20. package/dist/browser/ui/renderers/index.js +190 -4
  21. package/dist/browser/ui/renderers/marketplace.markdown.js +190 -4
  22. package/dist/browser/visualizations/catalog.js +126 -0
  23. package/dist/browser/visualizations/index.js +183 -0
  24. package/dist/browser/visualizations/selectors.js +177 -0
  25. package/dist/entities/index.d.ts +110 -110
  26. package/dist/entities/index.js +470 -470
  27. package/dist/index.d.ts +4 -3
  28. package/dist/index.js +1257 -1019
  29. package/dist/marketplace.feature.js +175 -0
  30. package/dist/node/entities/index.js +470 -470
  31. package/dist/node/index.js +1257 -1019
  32. package/dist/node/marketplace.feature.js +175 -0
  33. package/dist/node/order/index.js +155 -155
  34. package/dist/node/order/order.event.js +1 -1
  35. package/dist/node/payout/index.js +71 -71
  36. package/dist/node/payout/payout.event.js +1 -1
  37. package/dist/node/product/index.js +104 -104
  38. package/dist/node/product/product.event.js +1 -1
  39. package/dist/node/review/index.js +75 -75
  40. package/dist/node/review/review.event.js +1 -1
  41. package/dist/node/store/index.js +68 -68
  42. package/dist/node/store/store.event.js +1 -1
  43. package/dist/node/ui/MarketplaceDashboard.js +328 -110
  44. package/dist/node/ui/MarketplaceDashboard.visualizations.js +216 -0
  45. package/dist/node/ui/hooks/index.js +1 -1
  46. package/dist/node/ui/hooks/useMarketplaceData.js +1 -1
  47. package/dist/node/ui/index.js +590 -359
  48. package/dist/node/ui/renderers/index.js +190 -4
  49. package/dist/node/ui/renderers/marketplace.markdown.js +190 -4
  50. package/dist/node/visualizations/catalog.js +126 -0
  51. package/dist/node/visualizations/index.js +183 -0
  52. package/dist/node/visualizations/selectors.js +177 -0
  53. package/dist/order/index.d.ts +2 -2
  54. package/dist/order/index.js +155 -155
  55. package/dist/order/order.event.js +1 -1
  56. package/dist/payout/index.d.ts +2 -2
  57. package/dist/payout/index.js +71 -71
  58. package/dist/payout/payout.event.js +1 -1
  59. package/dist/product/index.d.ts +2 -2
  60. package/dist/product/index.js +104 -104
  61. package/dist/product/product.event.js +1 -1
  62. package/dist/review/index.d.ts +2 -2
  63. package/dist/review/index.js +75 -75
  64. package/dist/review/review.event.js +1 -1
  65. package/dist/store/index.d.ts +2 -2
  66. package/dist/store/index.js +68 -68
  67. package/dist/store/store.event.js +1 -1
  68. package/dist/ui/MarketplaceDashboard.js +328 -110
  69. package/dist/ui/MarketplaceDashboard.visualizations.d.ts +5 -0
  70. package/dist/ui/MarketplaceDashboard.visualizations.js +217 -0
  71. package/dist/ui/hooks/index.d.ts +1 -1
  72. package/dist/ui/hooks/index.js +1 -1
  73. package/dist/ui/hooks/useMarketplaceData.js +1 -1
  74. package/dist/ui/index.d.ts +2 -2
  75. package/dist/ui/index.js +590 -359
  76. package/dist/ui/renderers/index.d.ts +1 -1
  77. package/dist/ui/renderers/index.js +190 -4
  78. package/dist/ui/renderers/marketplace.markdown.js +190 -4
  79. package/dist/visualizations/catalog.d.ts +10 -0
  80. package/dist/visualizations/catalog.js +127 -0
  81. package/dist/visualizations/index.d.ts +2 -0
  82. package/dist/visualizations/index.js +184 -0
  83. package/dist/visualizations/selectors.d.ts +11 -0
  84. package/dist/visualizations/selectors.js +178 -0
  85. package/dist/visualizations/selectors.test.d.ts +1 -0
  86. package/package.json +66 -10
@@ -0,0 +1,184 @@
1
+ // @bun
2
+ // src/visualizations/catalog.ts
3
+ import {
4
+ defineVisualization,
5
+ VisualizationRegistry
6
+ } from "@contractspec/lib.contracts-spec/visualizations";
7
+ var ORDER_LIST_REF = {
8
+ key: "marketplace.order.list",
9
+ version: "1.0.0"
10
+ };
11
+ var PRODUCT_LIST_REF = {
12
+ key: "marketplace.product.list",
13
+ version: "1.0.0"
14
+ };
15
+ var META = {
16
+ version: "1.0.0",
17
+ domain: "marketplace",
18
+ stability: "experimental",
19
+ owners: ["@example.marketplace"],
20
+ tags: ["marketplace", "visualization", "commerce"]
21
+ };
22
+ var MarketplaceOrderStatusVisualization = defineVisualization({
23
+ meta: {
24
+ ...META,
25
+ key: "marketplace.visualization.order-status",
26
+ title: "Order Status Breakdown",
27
+ description: "Distribution of current order states.",
28
+ goal: "Expose delivery and backlog mix at a glance.",
29
+ context: "Marketplace operations overview."
30
+ },
31
+ source: { primary: ORDER_LIST_REF, resultPath: "data" },
32
+ visualization: {
33
+ kind: "pie",
34
+ nameDimension: "status",
35
+ valueMeasure: "orders",
36
+ dimensions: [
37
+ { key: "status", label: "Status", dataPath: "status", type: "category" }
38
+ ],
39
+ measures: [
40
+ { key: "orders", label: "Orders", dataPath: "orders", format: "number" }
41
+ ],
42
+ table: { caption: "Order counts by status." }
43
+ }
44
+ });
45
+ var MarketplaceCategoryValueVisualization = defineVisualization({
46
+ meta: {
47
+ ...META,
48
+ key: "marketplace.visualization.category-value",
49
+ title: "Category Value Comparison",
50
+ description: "Catalog value by product category derived from current pricing and stock.",
51
+ goal: "Compare where the marketplace catalog is concentrated.",
52
+ context: "Merchandising overview."
53
+ },
54
+ source: { primary: PRODUCT_LIST_REF, resultPath: "data" },
55
+ visualization: {
56
+ kind: "cartesian",
57
+ variant: "bar",
58
+ xDimension: "category",
59
+ yMeasures: ["catalogValue"],
60
+ dimensions: [
61
+ {
62
+ key: "category",
63
+ label: "Category",
64
+ dataPath: "category",
65
+ type: "category"
66
+ }
67
+ ],
68
+ measures: [
69
+ {
70
+ key: "catalogValue",
71
+ label: "Catalog Value",
72
+ dataPath: "catalogValue",
73
+ format: "currency",
74
+ color: "#1d4ed8"
75
+ }
76
+ ],
77
+ table: { caption: "Catalog value by product category." }
78
+ }
79
+ });
80
+ var MarketplaceOrderActivityVisualization = defineVisualization({
81
+ meta: {
82
+ ...META,
83
+ key: "marketplace.visualization.order-activity",
84
+ title: "Recent Order Activity",
85
+ description: "Daily order volume from recent order creation timestamps.",
86
+ goal: "Show recent order activity trends.",
87
+ context: "Commerce operations trend monitoring."
88
+ },
89
+ source: { primary: ORDER_LIST_REF, resultPath: "data" },
90
+ visualization: {
91
+ kind: "cartesian",
92
+ variant: "line",
93
+ xDimension: "day",
94
+ yMeasures: ["orders"],
95
+ dimensions: [{ key: "day", label: "Day", dataPath: "day", type: "time" }],
96
+ measures: [
97
+ {
98
+ key: "orders",
99
+ label: "Orders",
100
+ dataPath: "orders",
101
+ format: "number",
102
+ color: "#0f766e"
103
+ }
104
+ ],
105
+ table: { caption: "Daily order counts." }
106
+ }
107
+ });
108
+ var MarketplaceVisualizationSpecs = [
109
+ MarketplaceOrderStatusVisualization,
110
+ MarketplaceCategoryValueVisualization,
111
+ MarketplaceOrderActivityVisualization
112
+ ];
113
+ var MarketplaceVisualizationRegistry = new VisualizationRegistry([
114
+ ...MarketplaceVisualizationSpecs
115
+ ]);
116
+ var MarketplaceVisualizationRefs = MarketplaceVisualizationSpecs.map((spec) => ({
117
+ key: spec.meta.key,
118
+ version: spec.meta.version
119
+ }));
120
+
121
+ // src/visualizations/selectors.ts
122
+ function toDayKey(value) {
123
+ const date = value instanceof Date ? value : new Date(value);
124
+ return date.toISOString().slice(0, 10);
125
+ }
126
+ function createMarketplaceVisualizationItems(products, orders) {
127
+ const orderStatus = new Map;
128
+ const orderActivity = new Map;
129
+ const categoryValue = new Map;
130
+ for (const order of orders) {
131
+ orderStatus.set(order.status, (orderStatus.get(order.status) ?? 0) + 1);
132
+ const day = toDayKey(order.createdAt);
133
+ orderActivity.set(day, (orderActivity.get(day) ?? 0) + 1);
134
+ }
135
+ for (const product of products) {
136
+ const category = product.category ?? "Uncategorized";
137
+ categoryValue.set(category, (categoryValue.get(category) ?? 0) + product.price * product.stock);
138
+ }
139
+ return [
140
+ {
141
+ key: "marketplace-order-status",
142
+ spec: MarketplaceOrderStatusVisualization,
143
+ data: {
144
+ data: Array.from(orderStatus.entries()).map(([status, count]) => ({
145
+ status,
146
+ orders: count
147
+ }))
148
+ },
149
+ title: "Order Status Breakdown",
150
+ description: "Status mix across the current order set.",
151
+ height: 260
152
+ },
153
+ {
154
+ key: "marketplace-category-value",
155
+ spec: MarketplaceCategoryValueVisualization,
156
+ data: {
157
+ data: Array.from(categoryValue.entries()).sort(([, left], [, right]) => right - left).map(([category, value]) => ({
158
+ category,
159
+ catalogValue: value
160
+ }))
161
+ },
162
+ title: "Category Value Comparison",
163
+ description: "Derived from current product pricing and stock."
164
+ },
165
+ {
166
+ key: "marketplace-order-activity",
167
+ spec: MarketplaceOrderActivityVisualization,
168
+ data: {
169
+ data: Array.from(orderActivity.entries()).sort(([left], [right]) => left.localeCompare(right)).map(([day, count]) => ({ day, orders: count }))
170
+ },
171
+ title: "Recent Order Activity",
172
+ description: "Daily order count from current order history."
173
+ }
174
+ ];
175
+ }
176
+ export {
177
+ createMarketplaceVisualizationItems,
178
+ MarketplaceVisualizationSpecs,
179
+ MarketplaceVisualizationRegistry,
180
+ MarketplaceVisualizationRefs,
181
+ MarketplaceOrderStatusVisualization,
182
+ MarketplaceOrderActivityVisualization,
183
+ MarketplaceCategoryValueVisualization
184
+ };
@@ -0,0 +1,11 @@
1
+ import type { VisualizationSurfaceItem } from '@contractspec/lib.design-system';
2
+ import type { Order, Product } from '../handlers/marketplace.handlers';
3
+ type DateLike = Date | string;
4
+ interface OrderLike extends Pick<Order, 'status' | 'total'> {
5
+ createdAt: DateLike;
6
+ }
7
+ interface ProductLike extends Pick<Product, 'price' | 'stock'> {
8
+ category?: string | null;
9
+ }
10
+ export declare function createMarketplaceVisualizationItems(products: ProductLike[], orders: OrderLike[]): VisualizationSurfaceItem[];
11
+ export {};
@@ -0,0 +1,178 @@
1
+ // @bun
2
+ // src/visualizations/catalog.ts
3
+ import {
4
+ defineVisualization,
5
+ VisualizationRegistry
6
+ } from "@contractspec/lib.contracts-spec/visualizations";
7
+ var ORDER_LIST_REF = {
8
+ key: "marketplace.order.list",
9
+ version: "1.0.0"
10
+ };
11
+ var PRODUCT_LIST_REF = {
12
+ key: "marketplace.product.list",
13
+ version: "1.0.0"
14
+ };
15
+ var META = {
16
+ version: "1.0.0",
17
+ domain: "marketplace",
18
+ stability: "experimental",
19
+ owners: ["@example.marketplace"],
20
+ tags: ["marketplace", "visualization", "commerce"]
21
+ };
22
+ var MarketplaceOrderStatusVisualization = defineVisualization({
23
+ meta: {
24
+ ...META,
25
+ key: "marketplace.visualization.order-status",
26
+ title: "Order Status Breakdown",
27
+ description: "Distribution of current order states.",
28
+ goal: "Expose delivery and backlog mix at a glance.",
29
+ context: "Marketplace operations overview."
30
+ },
31
+ source: { primary: ORDER_LIST_REF, resultPath: "data" },
32
+ visualization: {
33
+ kind: "pie",
34
+ nameDimension: "status",
35
+ valueMeasure: "orders",
36
+ dimensions: [
37
+ { key: "status", label: "Status", dataPath: "status", type: "category" }
38
+ ],
39
+ measures: [
40
+ { key: "orders", label: "Orders", dataPath: "orders", format: "number" }
41
+ ],
42
+ table: { caption: "Order counts by status." }
43
+ }
44
+ });
45
+ var MarketplaceCategoryValueVisualization = defineVisualization({
46
+ meta: {
47
+ ...META,
48
+ key: "marketplace.visualization.category-value",
49
+ title: "Category Value Comparison",
50
+ description: "Catalog value by product category derived from current pricing and stock.",
51
+ goal: "Compare where the marketplace catalog is concentrated.",
52
+ context: "Merchandising overview."
53
+ },
54
+ source: { primary: PRODUCT_LIST_REF, resultPath: "data" },
55
+ visualization: {
56
+ kind: "cartesian",
57
+ variant: "bar",
58
+ xDimension: "category",
59
+ yMeasures: ["catalogValue"],
60
+ dimensions: [
61
+ {
62
+ key: "category",
63
+ label: "Category",
64
+ dataPath: "category",
65
+ type: "category"
66
+ }
67
+ ],
68
+ measures: [
69
+ {
70
+ key: "catalogValue",
71
+ label: "Catalog Value",
72
+ dataPath: "catalogValue",
73
+ format: "currency",
74
+ color: "#1d4ed8"
75
+ }
76
+ ],
77
+ table: { caption: "Catalog value by product category." }
78
+ }
79
+ });
80
+ var MarketplaceOrderActivityVisualization = defineVisualization({
81
+ meta: {
82
+ ...META,
83
+ key: "marketplace.visualization.order-activity",
84
+ title: "Recent Order Activity",
85
+ description: "Daily order volume from recent order creation timestamps.",
86
+ goal: "Show recent order activity trends.",
87
+ context: "Commerce operations trend monitoring."
88
+ },
89
+ source: { primary: ORDER_LIST_REF, resultPath: "data" },
90
+ visualization: {
91
+ kind: "cartesian",
92
+ variant: "line",
93
+ xDimension: "day",
94
+ yMeasures: ["orders"],
95
+ dimensions: [{ key: "day", label: "Day", dataPath: "day", type: "time" }],
96
+ measures: [
97
+ {
98
+ key: "orders",
99
+ label: "Orders",
100
+ dataPath: "orders",
101
+ format: "number",
102
+ color: "#0f766e"
103
+ }
104
+ ],
105
+ table: { caption: "Daily order counts." }
106
+ }
107
+ });
108
+ var MarketplaceVisualizationSpecs = [
109
+ MarketplaceOrderStatusVisualization,
110
+ MarketplaceCategoryValueVisualization,
111
+ MarketplaceOrderActivityVisualization
112
+ ];
113
+ var MarketplaceVisualizationRegistry = new VisualizationRegistry([
114
+ ...MarketplaceVisualizationSpecs
115
+ ]);
116
+ var MarketplaceVisualizationRefs = MarketplaceVisualizationSpecs.map((spec) => ({
117
+ key: spec.meta.key,
118
+ version: spec.meta.version
119
+ }));
120
+
121
+ // src/visualizations/selectors.ts
122
+ function toDayKey(value) {
123
+ const date = value instanceof Date ? value : new Date(value);
124
+ return date.toISOString().slice(0, 10);
125
+ }
126
+ function createMarketplaceVisualizationItems(products, orders) {
127
+ const orderStatus = new Map;
128
+ const orderActivity = new Map;
129
+ const categoryValue = new Map;
130
+ for (const order of orders) {
131
+ orderStatus.set(order.status, (orderStatus.get(order.status) ?? 0) + 1);
132
+ const day = toDayKey(order.createdAt);
133
+ orderActivity.set(day, (orderActivity.get(day) ?? 0) + 1);
134
+ }
135
+ for (const product of products) {
136
+ const category = product.category ?? "Uncategorized";
137
+ categoryValue.set(category, (categoryValue.get(category) ?? 0) + product.price * product.stock);
138
+ }
139
+ return [
140
+ {
141
+ key: "marketplace-order-status",
142
+ spec: MarketplaceOrderStatusVisualization,
143
+ data: {
144
+ data: Array.from(orderStatus.entries()).map(([status, count]) => ({
145
+ status,
146
+ orders: count
147
+ }))
148
+ },
149
+ title: "Order Status Breakdown",
150
+ description: "Status mix across the current order set.",
151
+ height: 260
152
+ },
153
+ {
154
+ key: "marketplace-category-value",
155
+ spec: MarketplaceCategoryValueVisualization,
156
+ data: {
157
+ data: Array.from(categoryValue.entries()).sort(([, left], [, right]) => right - left).map(([category, value]) => ({
158
+ category,
159
+ catalogValue: value
160
+ }))
161
+ },
162
+ title: "Category Value Comparison",
163
+ description: "Derived from current product pricing and stock."
164
+ },
165
+ {
166
+ key: "marketplace-order-activity",
167
+ spec: MarketplaceOrderActivityVisualization,
168
+ data: {
169
+ data: Array.from(orderActivity.entries()).sort(([left], [right]) => left.localeCompare(right)).map(([day, count]) => ({ day, orders: count }))
170
+ },
171
+ title: "Recent Order Activity",
172
+ description: "Daily order count from current order history."
173
+ }
174
+ ];
175
+ }
176
+ export {
177
+ createMarketplaceVisualizationItems
178
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.marketplace",
3
- "version": "3.7.6",
3
+ "version": "3.8.2",
4
4
  "description": "Marketplace example with orders, payouts, and reviews for ContractSpec",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -13,26 +13,26 @@
13
13
  "dev": "contractspec-bun-build dev",
14
14
  "clean": "rimraf dist .turbo",
15
15
  "lint": "bun lint:fix",
16
- "lint:fix": "eslint src --fix",
17
- "lint:check": "eslint src",
16
+ "lint:fix": "biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .",
17
+ "lint:check": "biome check .",
18
18
  "prebuild": "contractspec-bun-build prebuild",
19
19
  "typecheck": "tsc --noEmit"
20
20
  },
21
21
  "dependencies": {
22
- "@contractspec/lib.schema": "3.7.6",
23
- "@contractspec/lib.contracts-spec": "3.7.6",
24
- "@contractspec/lib.example-shared-ui": "6.0.6",
25
- "@contractspec/lib.design-system": "3.7.6",
26
- "@contractspec/lib.runtime-sandbox": "2.7.6",
22
+ "@contractspec/lib.schema": "3.7.8",
23
+ "@contractspec/lib.contracts-spec": "4.1.2",
24
+ "@contractspec/lib.example-shared-ui": "6.0.10",
25
+ "@contractspec/lib.design-system": "3.8.3",
26
+ "@contractspec/lib.runtime-sandbox": "2.7.9",
27
27
  "react": "19.2.0",
28
28
  "react-dom": "19.2.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@contractspec/tool.typescript": "3.7.6",
31
+ "@contractspec/tool.typescript": "3.7.8",
32
32
  "typescript": "^5.9.3",
33
33
  "@types/react": "^19.2.14",
34
34
  "@types/react-dom": "^19.2.2",
35
- "@contractspec/tool.bun": "3.7.6"
35
+ "@contractspec/tool.bun": "3.7.8"
36
36
  },
37
37
  "exports": {
38
38
  ".": {
@@ -385,6 +385,13 @@
385
385
  "node": "./dist/node/ui/MarketplaceDashboard.js",
386
386
  "default": "./dist/ui/MarketplaceDashboard.js"
387
387
  },
388
+ "./ui/MarketplaceDashboard.visualizations": {
389
+ "types": "./dist/ui/MarketplaceDashboard.visualizations.d.ts",
390
+ "browser": "./dist/browser/ui/MarketplaceDashboard.visualizations.js",
391
+ "bun": "./dist/ui/MarketplaceDashboard.visualizations.js",
392
+ "node": "./dist/node/ui/MarketplaceDashboard.visualizations.js",
393
+ "default": "./dist/ui/MarketplaceDashboard.visualizations.js"
394
+ },
388
395
  "./ui/renderers": {
389
396
  "types": "./dist/ui/renderers/index.d.ts",
390
397
  "browser": "./dist/browser/ui/renderers/index.js",
@@ -398,6 +405,27 @@
398
405
  "bun": "./dist/ui/renderers/marketplace.markdown.js",
399
406
  "node": "./dist/node/ui/renderers/marketplace.markdown.js",
400
407
  "default": "./dist/ui/renderers/marketplace.markdown.js"
408
+ },
409
+ "./visualizations": {
410
+ "types": "./dist/visualizations/index.d.ts",
411
+ "browser": "./dist/browser/visualizations/index.js",
412
+ "bun": "./dist/visualizations/index.js",
413
+ "node": "./dist/node/visualizations/index.js",
414
+ "default": "./dist/visualizations/index.js"
415
+ },
416
+ "./visualizations/catalog": {
417
+ "types": "./dist/visualizations/catalog.d.ts",
418
+ "browser": "./dist/browser/visualizations/catalog.js",
419
+ "bun": "./dist/visualizations/catalog.js",
420
+ "node": "./dist/node/visualizations/catalog.js",
421
+ "default": "./dist/visualizations/catalog.js"
422
+ },
423
+ "./visualizations/selectors": {
424
+ "types": "./dist/visualizations/selectors.d.ts",
425
+ "browser": "./dist/browser/visualizations/selectors.js",
426
+ "bun": "./dist/visualizations/selectors.js",
427
+ "node": "./dist/node/visualizations/selectors.js",
428
+ "default": "./dist/visualizations/selectors.js"
401
429
  }
402
430
  },
403
431
  "files": [
@@ -757,6 +785,13 @@
757
785
  "node": "./dist/node/ui/MarketplaceDashboard.js",
758
786
  "default": "./dist/ui/MarketplaceDashboard.js"
759
787
  },
788
+ "./ui/MarketplaceDashboard.visualizations": {
789
+ "types": "./dist/ui/MarketplaceDashboard.visualizations.d.ts",
790
+ "browser": "./dist/browser/ui/MarketplaceDashboard.visualizations.js",
791
+ "bun": "./dist/ui/MarketplaceDashboard.visualizations.js",
792
+ "node": "./dist/node/ui/MarketplaceDashboard.visualizations.js",
793
+ "default": "./dist/ui/MarketplaceDashboard.visualizations.js"
794
+ },
760
795
  "./ui/renderers": {
761
796
  "types": "./dist/ui/renderers/index.d.ts",
762
797
  "browser": "./dist/browser/ui/renderers/index.js",
@@ -770,6 +805,27 @@
770
805
  "bun": "./dist/ui/renderers/marketplace.markdown.js",
771
806
  "node": "./dist/node/ui/renderers/marketplace.markdown.js",
772
807
  "default": "./dist/ui/renderers/marketplace.markdown.js"
808
+ },
809
+ "./visualizations": {
810
+ "types": "./dist/visualizations/index.d.ts",
811
+ "browser": "./dist/browser/visualizations/index.js",
812
+ "bun": "./dist/visualizations/index.js",
813
+ "node": "./dist/node/visualizations/index.js",
814
+ "default": "./dist/visualizations/index.js"
815
+ },
816
+ "./visualizations/catalog": {
817
+ "types": "./dist/visualizations/catalog.d.ts",
818
+ "browser": "./dist/browser/visualizations/catalog.js",
819
+ "bun": "./dist/visualizations/catalog.js",
820
+ "node": "./dist/node/visualizations/catalog.js",
821
+ "default": "./dist/visualizations/catalog.js"
822
+ },
823
+ "./visualizations/selectors": {
824
+ "types": "./dist/visualizations/selectors.d.ts",
825
+ "browser": "./dist/browser/visualizations/selectors.js",
826
+ "bun": "./dist/visualizations/selectors.js",
827
+ "node": "./dist/node/visualizations/selectors.js",
828
+ "default": "./dist/visualizations/selectors.js"
773
829
  }
774
830
  },
775
831
  "registry": "https://registry.npmjs.org/"