8dda8d3885eabf4ac3ab9b98d12694798a8db102.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
  2. "use strict";
  3. var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, Component, find, Label, Node, Container_Manager, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _crd, ccclass, property, Layout_Main;
  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. function _reportPossibleCrUseOfContainer_Manager(extras) {
  8. _reporterNs.report("Container_Manager", "../../game/Container_Manager", _context.meta, extras);
  9. }
  10. return {
  11. setters: [function (_unresolved_) {
  12. _reporterNs = _unresolved_;
  13. }, function (_cc) {
  14. _cclegacy = _cc.cclegacy;
  15. __checkObsolete__ = _cc.__checkObsolete__;
  16. __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
  17. _decorator = _cc._decorator;
  18. Button = _cc.Button;
  19. Component = _cc.Component;
  20. find = _cc.find;
  21. Label = _cc.Label;
  22. Node = _cc.Node;
  23. }, function (_unresolved_2) {
  24. Container_Manager = _unresolved_2.Container_Manager;
  25. }],
  26. execute: function () {
  27. _crd = true;
  28. _cclegacy._RF.push({}, "e3f72nzJUVGJo/WY8fbriTs", "Layout_Main", undefined);
  29. __checkObsolete__(['_decorator', 'Button', 'Component', 'find', 'Label', 'Node']);
  30. ({
  31. ccclass,
  32. property
  33. } = _decorator);
  34. _export("Layout_Main", Layout_Main = (_dec = ccclass('Layout_Main'), _dec2 = property(Button), _dec3 = property(Button), _dec4 = property(Label), _dec5 = property(Label), _dec6 = property(Label), _dec7 = property(Button), _dec8 = property(Button), _dec9 = property(Button), _dec10 = property([Node]), _dec(_class = (_class2 = class Layout_Main extends Component {
  35. constructor() {
  36. super(...arguments);
  37. _initializerDefineProperty(this, "Pause_Btn", _descriptor, this);
  38. _initializerDefineProperty(this, "Rules_Btn", _descriptor2, this);
  39. _initializerDefineProperty(this, "Level", _descriptor3, this);
  40. _initializerDefineProperty(this, "Remain_Cube_Des", _descriptor4, this);
  41. _initializerDefineProperty(this, "Count_Down_Des", _descriptor5, this);
  42. _initializerDefineProperty(this, "Eliminate_Btn", _descriptor6, this);
  43. _initializerDefineProperty(this, "Shuffle_Btn", _descriptor7, this);
  44. _initializerDefineProperty(this, "Empty_Btn", _descriptor8, this);
  45. _initializerDefineProperty(this, "Hands", _descriptor9, this);
  46. this.time = void 0;
  47. this.Container = void 0;
  48. }
  49. start() {
  50. this.Container = find('Container').getComponent(_crd && Container_Manager === void 0 ? (_reportPossibleCrUseOfContainer_Manager({
  51. error: Error()
  52. }), Container_Manager) : Container_Manager);
  53. }
  54. }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "Pause_Btn", [_dec2], {
  55. configurable: true,
  56. enumerable: true,
  57. writable: true,
  58. initializer: function initializer() {
  59. return null;
  60. }
  61. }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "Rules_Btn", [_dec3], {
  62. configurable: true,
  63. enumerable: true,
  64. writable: true,
  65. initializer: function initializer() {
  66. return null;
  67. }
  68. }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "Level", [_dec4], {
  69. configurable: true,
  70. enumerable: true,
  71. writable: true,
  72. initializer: function initializer() {
  73. return null;
  74. }
  75. }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "Remain_Cube_Des", [_dec5], {
  76. configurable: true,
  77. enumerable: true,
  78. writable: true,
  79. initializer: function initializer() {
  80. return null;
  81. }
  82. }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "Count_Down_Des", [_dec6], {
  83. configurable: true,
  84. enumerable: true,
  85. writable: true,
  86. initializer: function initializer() {
  87. return null;
  88. }
  89. }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "Eliminate_Btn", [_dec7], {
  90. configurable: true,
  91. enumerable: true,
  92. writable: true,
  93. initializer: function initializer() {
  94. return null;
  95. }
  96. }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "Shuffle_Btn", [_dec8], {
  97. configurable: true,
  98. enumerable: true,
  99. writable: true,
  100. initializer: function initializer() {
  101. return null;
  102. }
  103. }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "Empty_Btn", [_dec9], {
  104. configurable: true,
  105. enumerable: true,
  106. writable: true,
  107. initializer: function initializer() {
  108. return null;
  109. }
  110. }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "Hands", [_dec10], {
  111. configurable: true,
  112. enumerable: true,
  113. writable: true,
  114. initializer: function initializer() {
  115. return [];
  116. }
  117. })), _class2)) || _class));
  118. _cclegacy._RF.pop();
  119. _crd = false;
  120. }
  121. };
  122. });
  123. //# sourceMappingURL=8dda8d3885eabf4ac3ab9b98d12694798a8db102.js.map