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/components/pisellCustomerBrief/PisellCustomerBrief.stories.tsx
var PisellCustomerBrief_stories_exports = {};
__export(PisellCustomerBrief_stories_exports, {
  B5Extended: () => B5Extended,
  Clickable: () => Clickable,
  Default: () => Default,
  Disabled: () => Disabled,
  NoAvatar: () => NoAvatar,
  SwipeToDelete: () => SwipeToDelete,
  VerticalLayout: () => VerticalLayout,
  WithActions: () => WithActions,
  WithAvatar: () => WithAvatar,
  default: () => PisellCustomerBrief_stories_default
});
module.exports = __toCommonJS(PisellCustomerBrief_stories_exports);
var import_icons = require("@ant-design/icons");
var import_PisellCustomerBrief = require("./PisellCustomerBrief");
var meta = {
  title: "Data Display/PisellCustomerBrief",
  component: import_PisellCustomerBrief.PisellCustomerBrief,
  tags: ["autodocs"],
  decorators: [
    (Story) => /* @__PURE__ */ React.createElement("div", { style: { width: 340 } }, /* @__PURE__ */ React.createElement(Story, null))
  ],
  argTypes: {
    density: {
      description: "信息密度",
      control: "select",
      options: ["B1", "B2", "B5", "B9"]
    },
    layout: {
      description: "布局方向",
      control: "radio",
      options: ["horizontal", "vertical"]
    },
    showAvatar: { description: "显示头像", control: "boolean" },
    showExtended: { description: "显示扩展信息", control: "boolean" },
    showTags: { description: "显示标签", control: "boolean" },
    showActions: { description: "显示操作区", control: "boolean" }
  },
  args: {
    name: "某某科技有限公司"
  }
};
var PisellCustomerBrief_stories_default = meta;
var Default = {
  args: {
    name: "某某科技有限公司",
    subtitle: "+86 138 0000 0000",
    email: "contact@company.com",
    company: "某某科技有限公司",
    tags: [{ text: "VIP" }, { text: "已签约" }],
    density: "B2",
    layout: "horizontal"
  }
};
var NoAvatar = {
  args: {
    name: "新客户",
    subtitle: "待完善信息"
  }
};
var WithAvatar = {
  args: {
    name: "某某科技有限公司",
    subtitle: "客户编号 C001",
    avatar: "https://ui-avatars.com/api/?name=Company&background=4a90d9&color=fff&size=40",
    email: "contact@company.com",
    company: "某某科技有限公司",
    tags: [{ text: "VIP" }]
  }
};
var B5Extended = {
  args: {
    name: "某某科技有限公司",
    subtitle: "+86 138 0000 0000",
    email: "contact@company.com",
    address: "浙江省杭州市余杭区",
    company: "某某科技有限公司",
    date: "2024-01-15 创建",
    extendedFields: [
      { text: "自定义属性 A" },
      { text: "自定义属性 B", showTooltip: true }
    ],
    tags: [{ text: "VIP" }, { text: "已签约" }],
    density: "B5",
    layout: "horizontal"
  }
};
var WithActions = {
  args: {
    name: "某某科技有限公司",
    subtitle: "contact@company.com",
    email: "contact@company.com",
    company: "某某科技有限公司",
    tags: [{ text: "VIP" }],
    showActions: true,
    actions: [
      { type: "icon", icon: /* @__PURE__ */ React.createElement(import_icons.EditOutlined, null), onClick: () => console.log("编辑") },
      { type: "text", label: "查看详情", onClick: () => console.log("查看详情") },
      { type: "button", label: "选择", onClick: () => console.log("选择") }
    ]
  }
};
var VerticalLayout = {
  args: {
    name: "某某科技有限公司",
    subtitle: "客户编号 C001",
    avatar: "https://ui-avatars.com/api/?name=Company&background=4a90d9&color=fff&size=64",
    email: "contact@company.com",
    company: "某某科技有限公司",
    tags: [{ text: "VIP" }],
    density: "B2",
    layout: "vertical"
  }
};
var SwipeToDelete = {
  args: {
    name: "某某科技有限公司",
    subtitle: "+86 138 0000 0000",
    email: "contact@company.com",
    swipeToDelete: true,
    onDelete: () => console.log("onDelete")
  }
};
var Clickable = {
  args: {
    name: "某某科技有限公司",
    subtitle: "点击整卡",
    email: "contact@company.com",
    onClick: () => console.log("卡片被点击")
  }
};
var Disabled = {
  args: {
    name: "某某科技有限公司",
    subtitle: "+86 138 0000 0000",
    email: "contact@company.com",
    disabled: true
  }
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  B5Extended,
  Clickable,
  Default,
  Disabled,
  NoAvatar,
  SwipeToDelete,
  VerticalLayout,
  WithActions,
  WithAvatar
});
