123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- System.register(["cc"], function (_export, _context) {
- "use strict";
- 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;
- 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 }); }
- 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; }
- 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.'); }
- return {
- setters: [function (_cc) {
- _cclegacy = _cc.cclegacy;
- __checkObsolete__ = _cc.__checkObsolete__;
- __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
- _decorator = _cc._decorator;
- Button = _cc.Button;
- Component = _cc.Component;
- Sprite = _cc.Sprite;
- SpriteFrame = _cc.SpriteFrame;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "71db0Dfd1dNiLKKSZRT/O0i", "Layout_SideBar", undefined);
- __checkObsolete__(['_decorator', 'Button', 'Component', 'Node', 'Sprite', 'SpriteFrame']);
- ({
- ccclass,
- property
- } = _decorator);
- _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 {
- constructor(...args) {
- super(...args);
- _initializerDefineProperty(this, "Close_Btn", _descriptor, this);
- _initializerDefineProperty(this, "Go_SideBar", _descriptor2, this);
- _initializerDefineProperty(this, "Logo", _descriptor3, this);
- _initializerDefineProperty(this, "Logos", _descriptor4, this);
- }
- }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "Close_Btn", [_dec2], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: null
- }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "Go_SideBar", [_dec3], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: null
- }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "Logo", [_dec4], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: null
- }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "Logos", [_dec5], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: function () {
- return [];
- }
- })), _class2)) || _class));
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=a59d8099545685d191f1183a0f3bc7f3602b80cf.js.map
|