UNPKG

@pisell/pisellos

Version:

一个可扩展的前端模块化SDK框架,支持插件系统

54 lines (52 loc) 2.12 kB
var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/modules/Cart/types.ts var types_exports = {}; __export(types_exports, { CartHooks: () => CartHooks, ECartItemCheckType: () => ECartItemCheckType, ECartItemInfoType: () => ECartItemInfoType }); module.exports = __toCommonJS(types_exports); var CartHooks = /* @__PURE__ */ ((CartHooks2) => { CartHooks2["OnAddItem"] = "card:onAddItem"; CartHooks2["OnCartChange"] = "card:onCartChange"; CartHooks2["OnCartUpdateItem"] = "card:onCartUpdateItem"; CartHooks2["OnCartRemove"] = "card:onCartRemove"; return CartHooks2; })(CartHooks || {}); var ECartItemInfoType = /* @__PURE__ */ ((ECartItemInfoType2) => { ECartItemInfoType2["Resource"] = "resource"; ECartItemInfoType2["Time"] = "time"; ECartItemInfoType2["RelationForms"] = "relationForms"; ECartItemInfoType2["Holder"] = "holder"; return ECartItemInfoType2; })(ECartItemInfoType || {}); var ECartItemCheckType = /* @__PURE__ */ ((ECartItemCheckType2) => { ECartItemCheckType2["Account"] = "account"; ECartItemCheckType2["Resources"] = "resources"; ECartItemCheckType2["Date"] = "date"; ECartItemCheckType2["RelationForms"] = "relationForms"; return ECartItemCheckType2; })(ECartItemCheckType || {}); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { CartHooks, ECartItemCheckType, ECartItemInfoType });