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/pisellShellFrame/PisellShellFrame.stories.tsx
var PisellShellFrame_stories_exports = {};
__export(PisellShellFrame_stories_exports, {
  Full: () => Full,
  TitleOnly: () => TitleOnly,
  WithScrollBatchAndStatus: () => WithScrollBatchAndStatus,
  WithStatisticCollapsible: () => WithStatisticCollapsible,
  WithToolbar: () => WithToolbar,
  default: () => PisellShellFrame_stories_default
});
module.exports = __toCommonJS(PisellShellFrame_stories_exports);
var import_antd = require("antd");
var import_PisellShellFrame = require("./PisellShellFrame");
var meta = {
  title: "Pro Components/PisellShellFrame",
  component: import_PisellShellFrame.PisellShellFrame,
  parameters: {
    layout: "padded",
    docs: {
      description: {
        component: "通用壳层布局组件，通过 config 控制各区域显隐，支持标题区、工具区、统计区（可折叠）、滚动内容、批量操作条、状态提示区。"
      }
    }
  },
  tags: ["autodocs"],
  argTypes: {
    config: {
      description: "各区域显隐与行为配置"
    }
  }
};
var PisellShellFrame_stories_default = meta;
var TitleOnly = {
  args: {
    config: { showTitle: true },
    title: "页面标题",
    subtitle: "副标题",
    titleExtra: /* @__PURE__ */ React.createElement(import_antd.Button, { type: "primary" }, "操作"),
    children: /* @__PURE__ */ React.createElement("div", { style: { padding: 24 } }, "主内容区域")
  }
};
var WithToolbar = {
  args: {
    config: { showTitle: true, showToolbar: true },
    title: "列表页",
    subtitle: "通过工具栏筛选与排序",
    toolbar: /* @__PURE__ */ React.createElement(import_antd.Space, null, /* @__PURE__ */ React.createElement(import_antd.Button, null, "筛选"), /* @__PURE__ */ React.createElement(import_antd.Button, null, "排序"), /* @__PURE__ */ React.createElement(import_antd.Button, { type: "primary" }, "新建")),
    children: /* @__PURE__ */ React.createElement("div", { style: { padding: 24 } }, Array.from({ length: 5 }, (_, i) => /* @__PURE__ */ React.createElement(import_antd.Card, { key: i, size: "small", style: { marginBottom: 8 } }, "列表项 ", i + 1)))
  }
};
var WithStatisticCollapsible = {
  args: {
    config: {
      showTitle: true,
      showStatistic: true,
      statisticCollapsible: true
    },
    title: "数据概览",
    statisticList: /* @__PURE__ */ React.createElement(import_antd.Space, { size: "large" }, /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "总数", value: 1234 }), /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "今日", value: 56 }), /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "待处理", value: 12 })),
    children: /* @__PURE__ */ React.createElement("div", { style: { padding: 24 } }, /* @__PURE__ */ React.createElement("p", null, "中间为主内容插槽，统计区可点击「展开统计」/「收起统计」折叠（文案已国际化）。"))
  }
};
var WithScrollBatchAndStatus = {
  args: {
    config: {
      showTitle: true,
      showToolbar: true,
      showStatistic: true,
      statisticCollapsible: true,
      scroll: true,
      showBatchActionBar: true,
      showStatusArea: true
    },
    title: "完整壳层示例",
    subtitle: "含滚动、批量条、状态区",
    toolbar: /* @__PURE__ */ React.createElement(import_antd.Space, null, /* @__PURE__ */ React.createElement(import_antd.Button, null, "刷新"), /* @__PURE__ */ React.createElement(import_antd.Button, { type: "primary" }, "导出")),
    statisticList: /* @__PURE__ */ React.createElement(import_antd.Space, { size: "large" }, /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "已选", value: 3 }), /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "合计", value: 999 })),
    batchActionBar: /* @__PURE__ */ React.createElement(import_antd.Space, null, /* @__PURE__ */ React.createElement("span", null, "已选 3 项"), /* @__PURE__ */ React.createElement(import_antd.Button, { size: "small" }, "批量删除"), /* @__PURE__ */ React.createElement(import_antd.Button, { size: "small" }, "取消选择")),
    statusArea: /* @__PURE__ */ React.createElement(import_antd.Spin, { size: "small" }),
    children: /* @__PURE__ */ React.createElement("div", { style: { padding: 24, minHeight: 200 } }, Array.from({ length: 12 }, (_, i) => /* @__PURE__ */ React.createElement(import_antd.Card, { key: i, size: "small", style: { marginBottom: 12 } }, "可滚动内容块 ", i + 1)))
  }
};
var Full = {
  args: {
    config: {
      showTitle: true,
      showToolbar: true,
      showStatistic: true,
      statisticCollapsible: true,
      scroll: true,
      showBatchActionBar: true,
      showStatusArea: true
    },
    title: "壳层全区域",
    subtitle: "标题 / 工具 / 统计(可折叠) / 滚动内容 / 批量条 / 状态区",
    titleExtra: /* @__PURE__ */ React.createElement(import_antd.Button, null, "辅助操作"),
    toolbar: /* @__PURE__ */ React.createElement(import_antd.Space, null, /* @__PURE__ */ React.createElement(import_antd.Button, null, "工具 A"), /* @__PURE__ */ React.createElement(import_antd.Button, null, "工具 B")),
    statisticList: /* @__PURE__ */ React.createElement(import_antd.Space, { size: "large" }, /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "指标 A", value: 100 }), /* @__PURE__ */ React.createElement(import_antd.Statistic, { title: "指标 B", value: 200 })),
    batchActionBar: /* @__PURE__ */ React.createElement("div", { style: { padding: "4px 0" } }, "批量操作条占位"),
    statusArea: /* @__PURE__ */ React.createElement("span", { style: { fontSize: 12, color: "#666" } }, "已同步 · 刚刚"),
    children: /* @__PURE__ */ React.createElement("div", { style: { padding: 24 } }, /* @__PURE__ */ React.createElement("p", null, "Layout 插槽：此处可放置表格、看板、日历、楼层图等。"))
  }
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  Full,
  TitleOnly,
  WithScrollBatchAndStatus,
  WithStatisticCollapsible,
  WithToolbar
});
