66b818648aa0b951fd14a8fd3474165795e7314b.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. System.register(["cc"], function (_export, _context) {
  2. "use strict";
  3. var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, Label, Sprite, _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _crd, ccclass, property, UI_Idiom;
  4. function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
  5. function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
  6. function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
  7. return {
  8. setters: [function (_cc) {
  9. _cclegacy = _cc.cclegacy;
  10. __checkObsolete__ = _cc.__checkObsolete__;
  11. __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
  12. _decorator = _cc._decorator;
  13. Component = _cc.Component;
  14. Label = _cc.Label;
  15. Sprite = _cc.Sprite;
  16. }],
  17. execute: function () {
  18. _crd = true;
  19. _cclegacy._RF.push({}, "823150wmWhJ5rmcjzauSE9B", "UI_Idiom", undefined);
  20. __checkObsolete__(['_decorator', 'Component', 'Label', 'Node', 'Sprite']);
  21. ({
  22. ccclass,
  23. property
  24. } = _decorator);
  25. _export("UI_Idiom", UI_Idiom = (_dec = ccclass('UI_Idiom'), _dec2 = property(Sprite), _dec3 = property(Label), _dec(_class = (_class2 = class UI_Idiom extends Component {
  26. constructor() {
  27. super(...arguments);
  28. _initializerDefineProperty(this, "hud_sp", _descriptor, this);
  29. _initializerDefineProperty(this, "txt", _descriptor2, this);
  30. this.piece_1_word = void 0;
  31. this.piece_2_word = void 0;
  32. }
  33. start() {}
  34. update(deltaTime) {}
  35. }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "hud_sp", [_dec2], {
  36. configurable: true,
  37. enumerable: true,
  38. writable: true,
  39. initializer: function initializer() {
  40. return null;
  41. }
  42. }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "txt", [_dec3], {
  43. configurable: true,
  44. enumerable: true,
  45. writable: true,
  46. initializer: function initializer() {
  47. return null;
  48. }
  49. })), _class2)) || _class));
  50. _cclegacy._RF.pop();
  51. _crd = false;
  52. }
  53. };
  54. });
  55. //# sourceMappingURL=66b818648aa0b951fd14a8fd3474165795e7314b.js.map