@tbox.cn/app-module-shopping-guide 0.9.1 → 0.9.3

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.
@@ -1,5 +1,5 @@
1
1
  // src/client/index.ts
2
- import "./shopping-guide-EGRHPEDA.css";
2
+ import "./shopping-guide-62BDCPW5.css";
3
3
 
4
4
  // src/client/cards/product-list/index.tsx
5
5
  import { useState as useState2 } from "react";
@@ -53,7 +53,9 @@ var meta = {
53
53
  ],
54
54
  refinements: []
55
55
  },
56
- schemaVersion: 1
56
+ schemaVersion: 1,
57
+ // 暂停型不出卡:search-products 工具暂停(provider 暂无商品目录接口),恢复时移除本标记
58
+ hidden: true
57
59
  };
58
60
  var meta_default = meta;
59
61
 
@@ -78,7 +80,9 @@ var meta2 = {
78
80
  humanGuideAvailable: false,
79
81
  itemActions: []
80
82
  },
81
- schemaVersion: 1
83
+ schemaVersion: 1,
84
+ // 暂停型不出卡:get-product 工具暂停(provider 暂无商品详情接口),恢复时移除本标记
85
+ hidden: true
82
86
  };
83
87
  var meta_default2 = meta2;
84
88
 
@@ -344,7 +348,9 @@ var meta5 = {
344
348
  categories: [{ code: "c1", name: "\u9910\u996E", merchantCount: 42 }],
345
349
  observedAt: nowIso()
346
350
  },
347
- schemaVersion: 1
351
+ schemaVersion: 1,
352
+ // 暂停型不出卡:list-categories 工具 2026-09-02 下线(业态浏览统一 shop-list),恢复时移除本标记
353
+ hidden: true
348
354
  };
349
355
  var meta_default5 = meta5;
350
356
 
@@ -369,7 +375,9 @@ var meta6 = {
369
375
  ],
370
376
  observedAt: nowIso()
371
377
  },
372
- schemaVersion: 1
378
+ schemaVersion: 1,
379
+ // 暂停型不出卡:compare-products 工具暂停(provider 暂无商品接口),恢复时移除本标记
380
+ hidden: true
373
381
  };
374
382
  var meta_default6 = meta6;
375
383
 
@@ -392,7 +400,9 @@ var meta7 = {
392
400
  ],
393
401
  observedAt: nowIso()
394
402
  },
395
- schemaVersion: 1
403
+ schemaVersion: 1,
404
+ // 暂停型不出卡:mall-directory 工具 2026-09-02 下线(楼层分布走 mall-context 正文),恢复时移除本标记
405
+ hidden: true
396
406
  };
397
407
  var meta_default7 = meta7;
398
408
 
@@ -406,7 +416,9 @@ var meta8 = {
406
416
  sampleData: {
407
417
  malls: [{ mallId: "mall-1", name: "\u793A\u4F8B\u5546\u573A", address: "\u793A\u4F8B\u5730\u5740", status: { code: "open", label: "\u8425\u4E1A\u4E2D" }, itemActions: [] }]
408
418
  },
409
- schemaVersion: 1
419
+ schemaVersion: 1,
420
+ // 暂停型不出卡:list-nearby-malls 工具暂停(周边商场暂不涉及),恢复时移除本标记
421
+ hidden: true
410
422
  };
411
423
  var meta_default8 = meta8;
412
424
 
@@ -422,7 +434,9 @@ var meta9 = {
422
434
  merchantName: "\u793A\u4F8B\u95E8\u5E97",
423
435
  guides: [{ guideId: "g1", name: "\u5C0F\u5BFC", available: true, itemActions: [] }]
424
436
  },
425
- schemaVersion: 1
437
+ schemaVersion: 1,
438
+ // 暂停型不出卡:list-human-guides 工具暂停(provider 暂无导购员接口),恢复时移除本标记
439
+ hidden: true
426
440
  };
427
441
  var meta_default9 = meta9;
428
442
 
@@ -439,7 +453,9 @@ var meta10 = {
439
453
  location: { displayText: "A \u680B 3 \u697C 301" },
440
454
  itemActions: []
441
455
  },
442
- schemaVersion: 1
456
+ schemaVersion: 1,
457
+ // 暂停型不出卡:get-location 工具暂停(provider 暂无导航接口),恢复时移除本标记
458
+ hidden: true
443
459
  };
444
460
  var meta_default10 = meta10;
445
461
 
@@ -650,7 +666,9 @@ var meta11 = {
650
666
  observedAt: nowIso()
651
667
  },
652
668
  samples: samples3,
653
- schemaVersion: 1
669
+ schemaVersion: 1,
670
+ // 暂停型不出卡:recommend 工具暂停(知识库未接入,KB 召回路径未通),恢复时移除本标记
671
+ hidden: true
654
672
  };
655
673
  var meta_default11 = meta11;
656
674
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clientModule
3
- } from "../chunk-XJIDKUIG.js";
3
+ } from "../chunk-PAYDOSCV.js";
4
4
  export {
5
5
  clientModule
6
6
  };
package/dist/index.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  resolveShoppingGuidePorts,
4
4
  serverModule,
5
5
  shoppingGuideCards
6
- } from "./chunk-HWPVP7N5.js";
6
+ } from "./chunk-PLOZSOYG.js";
7
7
  import {
8
8
  clientModule
9
- } from "./chunk-XJIDKUIG.js";
9
+ } from "./chunk-PAYDOSCV.js";
10
10
  export {
11
11
  clientModule,
12
12
  createShoppingGuideTools,
@@ -3,7 +3,7 @@ import {
3
3
  resolveShoppingGuidePorts,
4
4
  serverModule,
5
5
  shoppingGuideCards
6
- } from "../chunk-HWPVP7N5.js";
6
+ } from "../chunk-PLOZSOYG.js";
7
7
  export {
8
8
  createShoppingGuideTools,
9
9
  resolveShoppingGuidePorts,
@@ -1859,6 +1859,8 @@
1859
1859
  width: 136px;
1860
1860
  height: 136px;
1861
1861
  border-radius: 18px;
1862
+ object-fit: contain;
1863
+ background: var(--tbox-bg-card);
1862
1864
  }
1863
1865
  .sg-merchant-row .sg-rm-item-meta {
1864
1866
  gap: 8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbox.cn/app-module-shopping-guide",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "type": "module",
5
5
  "description": "商圈导购模块:商品/商户搜索、推荐、对比、商场目录、人工导购、位置导航。",
6
6
  "exports": {
@@ -19,10 +19,10 @@
19
19
  "./package.json": "./package.json"
20
20
  },
21
21
  "dependencies": {
22
- "@tbox.cn/app-contracts": "0.12.0",
23
- "@tbox.cn/app-contracts-mall": "0.12.0",
24
- "@tbox.cn/app-agent-sdk-client": "0.1.0",
25
- "@tbox.cn/app-agent-sdk-server": "0.1.0"
22
+ "@tbox.cn/app-contracts": "0.12.1",
23
+ "@tbox.cn/app-contracts-mall": "0.12.1",
24
+ "@tbox.cn/app-agent-sdk-client": "0.1.1",
25
+ "@tbox.cn/app-agent-sdk-server": "0.1.2"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "zod": "3.25.76",
@@ -1859,6 +1859,8 @@
1859
1859
  width: 136px;
1860
1860
  height: 136px;
1861
1861
  border-radius: 18px;
1862
+ object-fit: contain;
1863
+ background: var(--tbox-bg-card);
1862
1864
  }
1863
1865
  .sg-merchant-row .sg-rm-item-meta {
1864
1866
  gap: 8px;
@@ -12,6 +12,8 @@ const meta: CardMeta<typeof categoryListCardDataSchema> = {
12
12
  observedAt: nowIso(),
13
13
  },
14
14
  schemaVersion: 1,
15
+ // 暂停型不出卡:list-categories 工具 2026-09-02 下线(业态浏览统一 shop-list),恢复时移除本标记
16
+ hidden: true,
15
17
  };
16
18
 
17
19
  export default meta;
@@ -12,6 +12,8 @@ const meta: CardMeta<typeof humanGuideListCardDataSchema> = {
12
12
  guides: [{ guideId: 'g1', name: '小导', available: true, itemActions: [] }],
13
13
  },
14
14
  schemaVersion: 1,
15
+ // 暂停型不出卡:list-human-guides 工具暂停(provider 暂无导购员接口),恢复时移除本标记
16
+ hidden: true,
15
17
  };
16
18
 
17
19
  export default meta;
@@ -13,6 +13,8 @@ const meta: CardMeta<typeof locationHandoffCardDataSchema> = {
13
13
  itemActions: [],
14
14
  },
15
15
  schemaVersion: 1,
16
+ // 暂停型不出卡:get-location 工具暂停(provider 暂无导航接口),恢复时移除本标记
17
+ hidden: true,
16
18
  };
17
19
 
18
20
  export default meta;
@@ -20,6 +20,8 @@ const meta: CardMeta<typeof mallDirectoryCardDataSchema> = {
20
20
  observedAt: nowIso(),
21
21
  },
22
22
  schemaVersion: 1,
23
+ // 暂停型不出卡:mall-directory 工具 2026-09-02 下线(楼层分布走 mall-context 正文),恢复时移除本标记
24
+ hidden: true,
23
25
  };
24
26
 
25
27
  export default meta;
@@ -10,6 +10,8 @@ const meta: CardMeta<typeof nearbyMallListCardDataSchema> = {
10
10
  malls: [{ mallId: 'mall-1', name: '示例商场', address: '示例地址', status: { code: 'open', label: '营业中' }, itemActions: [] }],
11
11
  },
12
12
  schemaVersion: 1,
13
+ // 暂停型不出卡:list-nearby-malls 工具暂停(周边商场暂不涉及),恢复时移除本标记
14
+ hidden: true,
13
15
  };
14
16
 
15
17
  export default meta;
@@ -22,6 +22,8 @@ const meta: CardMeta<typeof productComparisonCardDataSchema> = {
22
22
  observedAt: nowIso(),
23
23
  },
24
24
  schemaVersion: 1,
25
+ // 暂停型不出卡:compare-products 工具暂停(provider 暂无商品接口),恢复时移除本标记
26
+ hidden: true,
25
27
  };
26
28
 
27
29
  export default meta;
@@ -22,6 +22,8 @@ const meta: CardMeta<typeof productDetailCardDataSchema> = {
22
22
  itemActions: [],
23
23
  },
24
24
  schemaVersion: 1,
25
+ // 暂停型不出卡:get-product 工具暂停(provider 暂无商品详情接口),恢复时移除本标记
26
+ hidden: true,
25
27
  };
26
28
 
27
29
  export default meta;
@@ -25,6 +25,8 @@ const meta: CardMeta<typeof productListCardDataSchema> = {
25
25
  refinements: [],
26
26
  },
27
27
  schemaVersion: 1,
28
+ // 暂停型不出卡:search-products 工具暂停(provider 暂无商品目录接口),恢复时移除本标记
29
+ hidden: true,
28
30
  };
29
31
 
30
32
  export default meta;
@@ -32,6 +32,8 @@ const meta: CardMeta<typeof recommendMerchantsCardDataSchema> = {
32
32
  },
33
33
  samples,
34
34
  schemaVersion: 1,
35
+ // 暂停型不出卡:recommend 工具暂停(知识库未接入,KB 召回路径未通),恢复时移除本标记
36
+ hidden: true,
35
37
  };
36
38
 
37
39
  export default meta;