a889dd41a2883937bf1dd781eb347a674f70b3c6.js 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. System.register(["cc"], function (_export, _context) {
  2. "use strict";
  3. var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, Component, Toggle, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _crd, ccclass, property, Layout_Set;
  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. Button = _cc.Button;
  14. Component = _cc.Component;
  15. Toggle = _cc.Toggle;
  16. }],
  17. execute: function () {
  18. _crd = true;
  19. _cclegacy._RF.push({}, "448c8wfEQtFVYA0eAXgzWbR", "Layout_Set", undefined);
  20. __checkObsolete__(['_decorator', 'Button', 'Component', 'Label', 'Node', 'Toggle', 'UITransform']);
  21. ({
  22. ccclass,
  23. property
  24. } = _decorator);
  25. _export("Layout_Set", Layout_Set = (_dec = ccclass('Layout_Set'), _dec2 = property(Button), _dec3 = property(Toggle), _dec4 = property(Toggle), _dec5 = property(Button), _dec6 = property(Button), _dec(_class = (_class2 = class Layout_Set extends Component {
  26. constructor() {
  27. super(...arguments);
  28. _initializerDefineProperty(this, "btnClose", _descriptor, this);
  29. _initializerDefineProperty(this, "toogleMusic", _descriptor2, this);
  30. _initializerDefineProperty(this, "toogleSound", _descriptor3, this);
  31. _initializerDefineProperty(this, "btnMain", _descriptor4, this);
  32. _initializerDefineProperty(this, "btnRestart", _descriptor5, this);
  33. }
  34. }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "btnClose", [_dec2], {
  35. configurable: true,
  36. enumerable: true,
  37. writable: true,
  38. initializer: null
  39. }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "toogleMusic", [_dec3], {
  40. configurable: true,
  41. enumerable: true,
  42. writable: true,
  43. initializer: null
  44. }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "toogleSound", [_dec4], {
  45. configurable: true,
  46. enumerable: true,
  47. writable: true,
  48. initializer: null
  49. }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "btnMain", [_dec5], {
  50. configurable: true,
  51. enumerable: true,
  52. writable: true,
  53. initializer: null
  54. }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "btnRestart", [_dec6], {
  55. configurable: true,
  56. enumerable: true,
  57. writable: true,
  58. initializer: null
  59. })), _class2)) || _class));
  60. _cclegacy._RF.pop();
  61. _crd = false;
  62. }
  63. };
  64. });
  65. //# sourceMappingURL=a889dd41a2883937bf1dd781eb347a674f70b3c6.js.map