a59d8099545685d191f1183a0f3bc7f3602b80cf.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. System.register(["cc"], function (_export, _context) {
  2. "use strict";
  3. var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, Component, Sprite, SpriteFrame, _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _crd, ccclass, property, Layout_SideBar;
  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. Sprite = _cc.Sprite;
  16. SpriteFrame = _cc.SpriteFrame;
  17. }],
  18. execute: function () {
  19. _crd = true;
  20. _cclegacy._RF.push({}, "71db0Dfd1dNiLKKSZRT/O0i", "Layout_SideBar", undefined);
  21. __checkObsolete__(['_decorator', 'Button', 'Component', 'Node', 'Sprite', 'SpriteFrame']);
  22. ({
  23. ccclass,
  24. property
  25. } = _decorator);
  26. _export("Layout_SideBar", Layout_SideBar = (_dec = ccclass('Layout_SideBar'), _dec2 = property(Button), _dec3 = property(Button), _dec4 = property(Sprite), _dec5 = property([SpriteFrame]), _dec(_class = (_class2 = class Layout_SideBar extends Component {
  27. constructor(...args) {
  28. super(...args);
  29. _initializerDefineProperty(this, "Close_Btn", _descriptor, this);
  30. _initializerDefineProperty(this, "Go_SideBar", _descriptor2, this);
  31. _initializerDefineProperty(this, "Logo", _descriptor3, this);
  32. _initializerDefineProperty(this, "Logos", _descriptor4, this);
  33. }
  34. }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "Close_Btn", [_dec2], {
  35. configurable: true,
  36. enumerable: true,
  37. writable: true,
  38. initializer: null
  39. }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "Go_SideBar", [_dec3], {
  40. configurable: true,
  41. enumerable: true,
  42. writable: true,
  43. initializer: null
  44. }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "Logo", [_dec4], {
  45. configurable: true,
  46. enumerable: true,
  47. writable: true,
  48. initializer: null
  49. }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "Logos", [_dec5], {
  50. configurable: true,
  51. enumerable: true,
  52. writable: true,
  53. initializer: function () {
  54. return [];
  55. }
  56. })), _class2)) || _class));
  57. _cclegacy._RF.pop();
  58. _crd = false;
  59. }
  60. };
  61. });
  62. //# sourceMappingURL=a59d8099545685d191f1183a0f3bc7f3602b80cf.js.map