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/hardwareErrorTip/types.ts
var types_exports = {};
__export(types_exports, {
  ErrorTypeTheme: () => ErrorTypeTheme,
  errorTypes: () => errorTypes,
  prefix: () => prefix
});
module.exports = __toCommonJS(types_exports);
var import_icons = require("@ant-design/icons");
var import_locales = require("../../locales");
var prefix = "pisell-lowcode";
var ErrorTypeTheme = {
  fatal: {
    iconColor: "#cf1322",
    backgroundColor: "#fff1f0",
    shadowColor: "#ffa39e",
    badgeColor: "#fee2e1"
  },
  critical: {
    iconColor: "#d4380d",
    backgroundColor: "#fff2e8",
    shadowColor: "#ffbb96",
    badgeColor: "#ffedd5"
  },
  normal: {
    iconColor: "#0958d9",
    backgroundColor: "#e6f4ff",
    shadowColor: "#91caff",
    badgeColor: "#d2eafd"
  },
  info: {
    iconColor: "#389e0d",
    backgroundColor: "#f6ffed",
    shadowColor: "#b7eb8f",
    badgeColor: "#dcfce7"
  }
};
var errorTypes = [
  {
    type: "fatal",
    title: () => (0, import_locales.getText)("pisell2.text.hardware-error.fatal"),
    icon: import_icons.CloseCircleOutlined
  },
  {
    type: "critical",
    title: () => (0, import_locales.getText)("pisell2.text.hardware-error.critical"),
    icon: import_icons.ExclamationCircleOutlined
  },
  {
    type: "normal",
    title: () => (0, import_locales.getText)("pisell2.text.hardware-error.normal"),
    icon: import_icons.ExclamationCircleOutlined
  },
  {
    type: "info",
    title: () => (0, import_locales.getText)("pisell2.text.hardware-error.info"),
    icon: import_icons.ExclamationCircleOutlined
  }
];
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ErrorTypeTheme,
  errorTypes,
  prefix
});
