var t = require; var e = module; var i = exports; var s = (this && this.__decorate) || function (t, e, i, s) { var o, a = arguments.length, n = a < 3 ? e : null === s ? (s = Object.getOwnPropertyDescriptor(e, i)) : s; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) n = Reflect.decorate(t, e, i, s); else for (var r = t.length - 1; 0 <= r; r--) (o = t[r]) && (n = (a < 3 ? o(n) : 3 < a ? o(e, i, n) : o(e, i)) || n); return 3 < a && n && Object.defineProperty(e, i, n), n; }; Object.defineProperty(i, "__esModule", {value: !0}), (i.MoneyLabel = i.NotEnoughColor = i.EnoughColor = void 0); const {ccclass: o, property: a} = cc._decorator; (i.EnoughColor = cc.color().fromHEX("#8D5301")), (i.NotEnoughColor = cc.color().fromHEX("#FF5301")); e = class extends cc.Component { constructor() { super(...arguments), (this.icon = null), (this.lab = null), (this.outLine = null); } onLoad() { this.outLine = this.lab.getComponent(cc.LabelOutline); } setStyle(t) {} setText(t) { this.lab.string = t; } setTextColor(t) {} setIconGold() {} setIsEnough(t) { this.outLine.color = t ? i.EnoughColor : i.NotEnoughColor; } setIconStar() {} }; s([a(cc.Sprite)], e.prototype, "icon", void 0), s([a(cc.Label)], e.prototype, "lab", void 0), (e = s([o], e)), (i.MoneyLabel = e);