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/salesSdk/demo/fixtures.ts
var fixtures_exports = {};
__export(fixtures_exports, {
  FIXTURE_CREATE: () => FIXTURE_CREATE,
  FIXTURE_DETAIL: () => FIXTURE_DETAIL,
  FIXTURE_EDIT: () => FIXTURE_EDIT,
  mergeDetailFixture: () => mergeDetailFixture,
  mergeMutableFixture: () => mergeMutableFixture
});
module.exports = __toCommonJS(fixtures_exports);
var DEFAULT_LOAD_PRODUCTS_PARAMS = {
  schedule_date: "2026-05-13",
  menu_list_ids: [44858],
  schedule_datetime: "2026-05-13 16:05:05"
};
var FIXTURE_DETAIL = {
  orderId: 97807
};
var FIXTURE_CREATE = {
  loadProductsParams: { ...DEFAULT_LOAD_PRODUCTS_PARAMS },
  customerId: void 0,
  productPicker: { variantIndex: 0, num: 1 }
};
var FIXTURE_EDIT = {
  orderId: FIXTURE_DETAIL.orderId,
  loadProductsParams: { ...DEFAULT_LOAD_PRODUCTS_PARAMS },
  customerId: void 0,
  productPicker: { variantIndex: 0, num: 1 }
};
function mergeMutableFixture(base, override) {
  if (!override) return base;
  return {
    ...base,
    ...override,
    loadProductsParams: {
      ...base.loadProductsParams,
      ...override.loadProductsParams || {}
    },
    productPicker: {
      ...base.productPicker,
      ...override.productPicker || {}
    }
  };
}
function mergeDetailFixture(base, override) {
  if (!override) return base;
  return { ...base, ...override };
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  FIXTURE_CREATE,
  FIXTURE_DETAIL,
  FIXTURE_EDIT,
  mergeDetailFixture,
  mergeMutableFixture
});
