30148fb61fef14f86e2cda463a167887dbf8cde4.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2"], function (_export, _context) {
  2. "use strict";
  3. var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, Component, Toggle, List, UI_Rank_Item, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _crd, ccclass, property, Layout_Rank;
  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 _reportPossibleCrUseOfList(extras) {
  8. _reporterNs.report("List", "db://assets/core/util_comp/List", _context.meta, extras);
  9. }
  10. function _reportPossibleCrUseOfUI_Rank_Item(extras) {
  11. _reporterNs.report("UI_Rank_Item", "./UI_Rank_Item", _context.meta, extras);
  12. }
  13. return {
  14. setters: [function (_unresolved_) {
  15. _reporterNs = _unresolved_;
  16. }, function (_cc) {
  17. _cclegacy = _cc.cclegacy;
  18. __checkObsolete__ = _cc.__checkObsolete__;
  19. __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
  20. _decorator = _cc._decorator;
  21. Button = _cc.Button;
  22. Component = _cc.Component;
  23. Toggle = _cc.Toggle;
  24. }, function (_unresolved_2) {
  25. List = _unresolved_2.default;
  26. }, function (_unresolved_3) {
  27. UI_Rank_Item = _unresolved_3.UI_Rank_Item;
  28. }],
  29. execute: function () {
  30. _crd = true;
  31. _cclegacy._RF.push({}, "2eda949TxVMN7XvpxY3t5gw", "Layout_Rank", undefined);
  32. __checkObsolete__(['_decorator', 'Button', 'Component', 'Node', 'Toggle']);
  33. ({
  34. ccclass,
  35. property
  36. } = _decorator);
  37. _export("Layout_Rank", Layout_Rank = (_dec = ccclass('Layout_Rank'), _dec2 = property(Button), _dec3 = property(Toggle), _dec4 = property(Toggle), _dec5 = property(_crd && List === void 0 ? (_reportPossibleCrUseOfList({
  38. error: Error()
  39. }), List) : List), _dec6 = property(_crd && List === void 0 ? (_reportPossibleCrUseOfList({
  40. error: Error()
  41. }), List) : List), _dec7 = property(_crd && UI_Rank_Item === void 0 ? (_reportPossibleCrUseOfUI_Rank_Item({
  42. error: Error()
  43. }), UI_Rank_Item) : UI_Rank_Item), _dec8 = property(_crd && UI_Rank_Item === void 0 ? (_reportPossibleCrUseOfUI_Rank_Item({
  44. error: Error()
  45. }), UI_Rank_Item) : UI_Rank_Item), _dec(_class = (_class2 = class Layout_Rank extends Component {
  46. constructor(...args) {
  47. super(...args);
  48. _initializerDefineProperty(this, "Close_Btn", _descriptor, this);
  49. _initializerDefineProperty(this, "Rank_Toggle_1", _descriptor2, this);
  50. _initializerDefineProperty(this, "Rank_Toggle_2", _descriptor3, this);
  51. //列表
  52. _initializerDefineProperty(this, "list1", _descriptor4, this);
  53. //列表
  54. _initializerDefineProperty(this, "list2", _descriptor5, this);
  55. _initializerDefineProperty(this, "own1_item", _descriptor6, this);
  56. _initializerDefineProperty(this, "own2_item", _descriptor7, this);
  57. this.onList1 = void 0;
  58. this.onList2 = void 0;
  59. }
  60. onListRender1(item, idx) {
  61. var _this$onList;
  62. (_this$onList = this.onList1) == null || _this$onList.call(this, item, idx);
  63. }
  64. onListRender2(item, idx) {
  65. var _this$onList2;
  66. (_this$onList2 = this.onList2) == null || _this$onList2.call(this, item, idx);
  67. }
  68. onDestroy() {
  69. this.onList1 = null;
  70. this.onList2 = null;
  71. }
  72. }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "Close_Btn", [_dec2], {
  73. configurable: true,
  74. enumerable: true,
  75. writable: true,
  76. initializer: null
  77. }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "Rank_Toggle_1", [_dec3], {
  78. configurable: true,
  79. enumerable: true,
  80. writable: true,
  81. initializer: null
  82. }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "Rank_Toggle_2", [_dec4], {
  83. configurable: true,
  84. enumerable: true,
  85. writable: true,
  86. initializer: null
  87. }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "list1", [_dec5], {
  88. configurable: true,
  89. enumerable: true,
  90. writable: true,
  91. initializer: function () {
  92. return null;
  93. }
  94. }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "list2", [_dec6], {
  95. configurable: true,
  96. enumerable: true,
  97. writable: true,
  98. initializer: function () {
  99. return null;
  100. }
  101. }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "own1_item", [_dec7], {
  102. configurable: true,
  103. enumerable: true,
  104. writable: true,
  105. initializer: null
  106. }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "own2_item", [_dec8], {
  107. configurable: true,
  108. enumerable: true,
  109. writable: true,
  110. initializer: null
  111. })), _class2)) || _class));
  112. _cclegacy._RF.pop();
  113. _crd = false;
  114. }
  115. };
  116. });
  117. //# sourceMappingURL=30148fb61fef14f86e2cda463a167887dbf8cde4.js.map