@tbox.cn/app-module-mall-core 1.0.0-alpha.18 → 1.0.0-alpha.19

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.
@@ -9,7 +9,7 @@ import { readMallIdFromUrl } from "@tbox.cn/app-contracts-mall";
9
9
 
10
10
  // src/client/components/MemberGateSheet/index.tsx
11
11
  import { useEffect, useRef, useState } from "react";
12
- import { X } from "@phosphor-icons/react";
12
+ import { XIcon as X } from "@phosphor-icons/react/X";
13
13
  import { Overlay } from "@tbox.cn/app-agent-ui-kit/overlay";
14
14
  import { jsx, jsxs } from "react/jsx-runtime";
15
15
  var DEFAULT_TITLE = {
@@ -605,7 +605,7 @@ function MemberGateOverlay() {
605
605
 
606
606
  // src/client/cards/overrides/BumpInActivityChatCard.tsx
607
607
  import { useCallback as useCallback2, useRef as useRef3, useState as useState3 } from "react";
608
- import { CaretRight } from "@phosphor-icons/react";
608
+ import { CaretRightIcon as CaretRight } from "@phosphor-icons/react/CaretRight";
609
609
 
610
610
  // src/client/components/ActivityDetailPresentation/index.tsx
611
611
  import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -727,7 +727,7 @@ import {
727
727
  useState as useState2
728
728
  } from "react";
729
729
  import { createPortal } from "react-dom";
730
- import { X as X2 } from "@phosphor-icons/react";
730
+ import { XIcon as X2 } from "@phosphor-icons/react/X";
731
731
  import { OVERLAY_LAYER_CLASS, useOverlay } from "@tbox.cn/app-agent-ui-kit/overlay";
732
732
  import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
733
733
  var MORPH_DURATION_MS = 300;
@@ -926,23 +926,21 @@ var BumpInActivityChatCard = (props) => {
926
926
 
927
927
  // src/client/MallHome.tsx
928
928
  import { useCallback as useCallback3, useEffect as useEffect4, useRef as useRef4, useState as useState4 } from "react";
929
- import {
930
- BookOpen,
931
- Buildings,
932
- Car,
933
- CaretRight as CaretRight2,
934
- Check,
935
- Coins,
936
- Gift,
937
- Headset,
938
- IdentificationCard,
939
- LockSimple,
940
- SignIn,
941
- Sparkle,
942
- Storefront,
943
- Ticket,
944
- UserPlus
945
- } from "@phosphor-icons/react";
929
+ import { BookOpenIcon as BookOpen } from "@phosphor-icons/react/BookOpen";
930
+ import { BuildingsIcon as Buildings } from "@phosphor-icons/react/Buildings";
931
+ import { CarIcon as Car } from "@phosphor-icons/react/Car";
932
+ import { CaretRightIcon as CaretRight2 } from "@phosphor-icons/react/CaretRight";
933
+ import { CheckIcon as Check } from "@phosphor-icons/react/Check";
934
+ import { CoinsIcon as Coins } from "@phosphor-icons/react/Coins";
935
+ import { GiftIcon as Gift } from "@phosphor-icons/react/Gift";
936
+ import { HeadsetIcon as Headset } from "@phosphor-icons/react/Headset";
937
+ import { IdentificationCardIcon as IdentificationCard } from "@phosphor-icons/react/IdentificationCard";
938
+ import { LockSimpleIcon as LockSimple } from "@phosphor-icons/react/LockSimple";
939
+ import { SignInIcon as SignIn } from "@phosphor-icons/react/SignIn";
940
+ import { SparkleIcon as Sparkle } from "@phosphor-icons/react/Sparkle";
941
+ import { StorefrontIcon as Storefront } from "@phosphor-icons/react/Storefront";
942
+ import { TicketIcon as Ticket } from "@phosphor-icons/react/Ticket";
943
+ import { UserPlusIcon as UserPlus } from "@phosphor-icons/react/UserPlus";
946
944
  import memberServiceIcon from "./member-service-icon-SIGSRKE3.svg";
947
945
  import parkingServiceIcon from "./parking-service-icon-3A2TGUUM.svg";
948
946
  import welcomeSparkle from "./welcome-sparkle-transparent-v07-75RL4QUU.png";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clientModule,
3
3
  client_default
4
- } from "../chunk-EV7G52P5.js";
4
+ } from "../chunk-MH4EXIN2.js";
5
5
  export {
6
6
  clientModule,
7
7
  client_default as default
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZVXAPBVE.js";
13
13
  import {
14
14
  clientModule
15
- } from "./chunk-EV7G52P5.js";
15
+ } from "./chunk-MH4EXIN2.js";
16
16
  export {
17
17
  bindMallInfoContext,
18
18
  buildDefaultMallContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbox.cn/app-module-mall-core",
3
- "version": "1.0.0-alpha.18",
3
+ "version": "1.0.0-alpha.19",
4
4
  "type": "module",
5
5
  "description": "商圈基础模块:scope 域装配注册 + mall-info 工具链 + mall-directory 服务 + 会员会话浮层(conversationOverlay 槽)+ MallHome 保留组件+ 首页预览卡。",
6
6
  "exports": {
@@ -19,10 +19,10 @@
19
19
  "./package.json": "./package.json"
20
20
  },
21
21
  "dependencies": {
22
- "@tbox.cn/app-contracts": "1.0.0-alpha.18",
23
- "@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.18",
24
- "@tbox.cn/app-contracts-mall": "1.0.0-alpha.18",
25
- "@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.18"
22
+ "@tbox.cn/app-contracts-mall": "1.0.0-alpha.19",
23
+ "@tbox.cn/app-contracts": "1.0.0-alpha.19",
24
+ "@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.19",
25
+ "@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.19"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "18.3.1",
@@ -30,7 +30,7 @@
30
30
  "@phosphor-icons/react": "2.1.10",
31
31
  "express": "4.22.2",
32
32
  "zod": "3.25.76",
33
- "@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.18"
33
+ "@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.19"
34
34
  },
35
35
  "peerDependenciesMeta": {
36
36
  "@tbox.cn/app-agent-ui-kit": {
@@ -9,7 +9,7 @@ import {
9
9
  type RefObject,
10
10
  } from 'react';
11
11
  import { createPortal } from 'react-dom';
12
- import { X } from '@phosphor-icons/react';
12
+ import { XIcon as X } from '@phosphor-icons/react/X';
13
13
  import { OVERLAY_LAYER_CLASS, useOverlay } from '@tbox.cn/app-agent-ui-kit/overlay';
14
14
  import type { TboxCardPayload } from '@tbox.cn/app-contracts';
15
15
  import { ActivityDetailPresentation } from './components/ActivityDetailPresentation';
@@ -1,22 +1,20 @@
1
1
  import { useCallback, useEffect, useRef, useState, type ReactNode } from 'react';
2
- import {
3
- BookOpen,
4
- Buildings,
5
- Car,
6
- CaretRight,
7
- Check,
8
- Coins,
9
- Gift,
10
- Headset,
11
- IdentificationCard,
12
- LockSimple,
13
- SignIn,
14
- Sparkle,
15
- Storefront,
16
- Ticket,
17
- UserPlus,
18
- type Icon,
19
- } from '@phosphor-icons/react';
2
+ import { BookOpenIcon as BookOpen } from '@phosphor-icons/react/BookOpen';
3
+ import { BuildingsIcon as Buildings } from '@phosphor-icons/react/Buildings';
4
+ import { CarIcon as Car } from '@phosphor-icons/react/Car';
5
+ import { CaretRightIcon as CaretRight } from '@phosphor-icons/react/CaretRight';
6
+ import { CheckIcon as Check } from '@phosphor-icons/react/Check';
7
+ import { CoinsIcon as Coins } from '@phosphor-icons/react/Coins';
8
+ import { GiftIcon as Gift } from '@phosphor-icons/react/Gift';
9
+ import { HeadsetIcon as Headset } from '@phosphor-icons/react/Headset';
10
+ import { IdentificationCardIcon as IdentificationCard } from '@phosphor-icons/react/IdentificationCard';
11
+ import { LockSimpleIcon as LockSimple } from '@phosphor-icons/react/LockSimple';
12
+ import { SignInIcon as SignIn } from '@phosphor-icons/react/SignIn';
13
+ import { SparkleIcon as Sparkle } from '@phosphor-icons/react/Sparkle';
14
+ import { StorefrontIcon as Storefront } from '@phosphor-icons/react/Storefront';
15
+ import { TicketIcon as Ticket } from '@phosphor-icons/react/Ticket';
16
+ import { UserPlusIcon as UserPlus } from '@phosphor-icons/react/UserPlus';
17
+ import type { Icon } from '@phosphor-icons/react/lib';
20
18
 
21
19
  import memberServiceIcon from './assets/home/member-service-icon.svg';
22
20
  import parkingServiceIcon from './assets/home/parking-service-icon.svg';
@@ -3,7 +3,7 @@
3
3
  * 摘要隐藏规则,通过本地只读入口复用全屏详情 Dialog。
4
4
  */
5
5
  import { useCallback, useRef, useState } from 'react';
6
- import { CaretRight } from '@phosphor-icons/react';
6
+ import { CaretRightIcon as CaretRight } from '@phosphor-icons/react/CaretRight';
7
7
  import type { CardComponent } from '@tbox.cn/app-contracts';
8
8
  import { ActivityDetailPresentation } from '../../components/ActivityDetailPresentation';
9
9
  import {
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useRef, useState } from 'react';
2
- import { X } from '@phosphor-icons/react';
2
+ import { XIcon as X } from '@phosphor-icons/react/X';
3
3
  import { Overlay } from '@tbox.cn/app-agent-ui-kit/overlay';
4
4
  import type { GateCardContext, GatePhase } from '../../member-gate';
5
5
  const DEFAULT_TITLE: Record<GateCardContext['kind'], string> = {