UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

42 lines (36 loc) 1.03 kB
/** * xdesign v1.0.6 * (c) 2023 xdesign * @license MIT */ import { _ as _typeof } from './dep-82805301.mjs'; function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } export { _defineProperty as _, _toPropertyKey as a }; //# sourceMappingURL=dep-f9e836af.mjs.map