Files
weiguang-jewelry-ledger/新账系统/web/src/shared/index.ts
T
黄健铭andClaude Opus 5.5 ec5889075f 新版界面(React + TypeScript + Vite + Ant Design):登录页与开单页
共用计算经构建插件直接导入 public/ 下的 UMD 源文件;请求客户端沿用旧界面的重试、
同一操作号自动确认、恢复原操作与账号切换约定;附 vitest 单元与组件测试。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 18:58:31 -08:00

18 lines
794 B
TypeScript

// 共用计算模块的唯一入口:与旧界面、服务端读取同一份源文件(../public/*.js),不复制业务算法。
import LedgerCalc from '@public/calculations.js';
import CreditCardFees from '@public/credit-card-fees.js';
import FeeEstimates from '@public/fee-estimates.js';
import OrderFormula from '@public/order-formula.js';
import OrderTemplates from '@public/order-templates.js';
import OrderCopy from '@public/order-copy.js';
import OrderEntryModel from '@public/order-entry-model.js';
export const Calc = LedgerCalc;
export const Cards = CreditCardFees;
export const Fees = FeeEstimates;
export const Formula = OrderFormula;
export const Templates = OrderTemplates;
export const Copy = OrderCopy;
export const Model = OrderEntryModel;
export type * from './types';