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/plus/saleDetail/components/DetailActions/configs/index.ts
var configs_exports = {};
__export(configs_exports, {
  DEFAULT_ACTION_CONFIG: () => DEFAULT_ACTION_CONFIG,
  TEMPLATE_A_ACTIONS: () => TEMPLATE_A_ACTIONS,
  TEMPLATE_B_PAY_ACTIONS: () => TEMPLATE_B_PAY_ACTIONS,
  TEMPLATE_B_SUMMARY_ACTIONS: () => TEMPLATE_B_SUMMARY_ACTIONS
});
module.exports = __toCommonJS(configs_exports);
var DEFAULT_ACTION_CONFIG = {
  note: {
    row: 1,
    order: 10,
    slot: "footer-muted",
    buttonProps: {
      size: "large"
    }
  },
  "select-floor-resource": {
    row: 1,
    order: 11,
    slot: "footer-muted",
    buttonProps: {
      size: "large"
    }
  },
  save: {
    row: 1,
    order: 20,
    slot: "footer-secondary",
    buttonProps: {
      size: "large"
    }
  },
  checkout: {
    row: 1,
    order: 30,
    slot: "footer-primary",
    buttonProps: {
      size: "large"
    }
  },
  "checkout-cart": {
    row: 1,
    order: 30,
    slot: "footer-primary",
    buttonProps: {
      size: "large"
    }
  },
  refund: {
    row: 1,
    order: 10,
    slot: "footer-secondary",
    buttonProps: {
      size: "large"
    }
  },
  return: {
    row: 1,
    order: 20,
    slot: "footer-secondary",
    buttonProps: {
      size: "large"
    }
  },
  edit: {
    row: 1,
    order: 30,
    slot: "footer-secondary",
    buttonProps: {
      size: "large"
    }
  },
  print: {
    row: 1,
    order: 20,
    slot: "footer-secondary",
    buttonProps: {
      size: "large"
    }
  },
  "print-receipts": {
    row: 3,
    order: 30,
    slot: "menu-item",
    buttonProps: {
      size: "large"
    }
  },
  "print-wristband": {
    row: 3,
    order: 20,
    slot: "menu-item",
    buttonProps: {
      size: "large"
    }
  },
  "print-wallet": {
    row: 3,
    order: 10,
    slot: "menu-item",
    buttonProps: {
      size: "large"
    }
  },
  cancel: {
    row: 3,
    order: 30,
    slot: "footer-muted",
    buttonProps: {
      size: "large"
    }
  },
  more: {
    row: 2,
    order: 10,
    slot: "footer-secondary",
    buttonProps: {
      size: "large"
    }
  }
};
var TEMPLATE_A_ACTIONS = [
  {
    key: "note",
    row: 1,
    order: 10,
    slot: "footer-muted"
  },
  {
    key: "save",
    row: 1,
    order: 20,
    slot: "footer-secondary",
    buttonProps: {
      icon: null
    }
  },
  {
    key: "checkout-cart",
    row: 1,
    order: 30,
    slot: "footer-primary"
  }
];
var TEMPLATE_B_SUMMARY_ACTIONS = [
  {
    key: "edit",
    row: 1,
    order: 10,
    slot: "footer-secondary"
  },
  {
    key: "print",
    row: 1,
    order: 20,
    slot: "footer-secondary",
    children: [
      {
        key: "print-wallet",
        order: 10,
        slot: "menu-item"
      },
      {
        key: "print-wristband",
        order: 20,
        slot: "menu-item"
      },
      {
        key: "print-receipts",
        order: 30,
        slot: "menu-item"
      }
    ]
  },
  {
    key: "cancel",
    row: 1,
    order: 30,
    slot: "footer-muted"
  },
  {
    key: "return",
    row: 2,
    order: 10,
    slot: "footer-secondary"
  },
  {
    key: "refund",
    row: 2,
    order: 20,
    slot: "footer-secondary"
  },
  {
    key: "checkout",
    row: 2,
    order: 30,
    slot: "footer-primary"
  }
];
var TEMPLATE_B_PAY_ACTIONS = [
  {
    key: "refund",
    row: 1,
    order: 10,
    slot: "footer-secondary"
  },
  {
    key: "checkout",
    row: 1,
    order: 20,
    slot: "footer-primary"
  }
];
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  DEFAULT_ACTION_CONFIG,
  TEMPLATE_A_ACTIONS,
  TEMPLATE_B_PAY_ACTIONS,
  TEMPLATE_B_SUMMARY_ACTIONS
});
