const require_rolldown_runtime = require('../../../../../../../../_virtual/rolldown_runtime.js');
const require_ValidateBy$1 = require('../common/ValidateBy.js');
const require_isFullWidth$1 = require('../../../../../../validator@13.12.0/node_modules/validator/lib/isFullWidth.js');

//#region ../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/decorator/string/IsFullWidth.js
var require_IsFullWidth = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/decorator/string/IsFullWidth.js": ((exports) => {
	var __importDefault = exports && exports.__importDefault || function(mod) {
		return mod && mod.__esModule ? mod : { "default": mod };
	};
	Object.defineProperty(exports, "__esModule", { value: true });
	exports.IsFullWidth = exports.isFullWidth = exports.IS_FULL_WIDTH = void 0;
	const ValidateBy_1 = require_ValidateBy$1.require_ValidateBy();
	const isFullWidth_1 = __importDefault(require_isFullWidth$1.require_isFullWidth());
	exports.IS_FULL_WIDTH = "isFullWidth";
	/**
	* Checks if the string contains any full-width chars.
	* If given value is not a string, then it returns false.
	*/
	function isFullWidth(value) {
		return typeof value === "string" && (0, isFullWidth_1.default)(value);
	}
	exports.isFullWidth = isFullWidth;
	/**
	* Checks if the string contains any full-width chars.
	* If given value is not a string, then it returns false.
	*/
	function IsFullWidth(validationOptions) {
		return (0, ValidateBy_1.ValidateBy)({
			name: exports.IS_FULL_WIDTH,
			validator: {
				validate: (value, args) => isFullWidth(value),
				defaultMessage: (0, ValidateBy_1.buildMessage)((eachPrefix) => eachPrefix + "$property must contain a full-width characters", validationOptions)
			}
		}, validationOptions);
	}
	exports.IsFullWidth = IsFullWidth;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_IsFullWidth();
  }
});