123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- System.register(["cc"], function (_export, _context) {
- "use strict";
- var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, Label, Sprite, _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _crd, ccclass, property, UI_Idiom;
- 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;
- Component = _cc.Component;
- Label = _cc.Label;
- Sprite = _cc.Sprite;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "823150wmWhJ5rmcjzauSE9B", "UI_Idiom", undefined);
- __checkObsolete__(['_decorator', 'Component', 'Label', 'Node', 'Sprite']);
- ({
- ccclass,
- property
- } = _decorator);
- _export("UI_Idiom", UI_Idiom = (_dec = ccclass('UI_Idiom'), _dec2 = property(Sprite), _dec3 = property(Label), _dec(_class = (_class2 = class UI_Idiom extends Component {
- constructor(...args) {
- super(...args);
- _initializerDefineProperty(this, "hud_sp", _descriptor, this);
- _initializerDefineProperty(this, "txt", _descriptor2, this);
- this.piece_1_word = void 0;
- this.piece_2_word = void 0;
- }
- start() {}
- update(deltaTime) {}
- }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "hud_sp", [_dec2], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: function () {
- return null;
- }
- }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "txt", [_dec3], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: function () {
- return null;
- }
- })), _class2)) || _class));
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=f08b1ecc2b97315a99f02a5e6072e9685ea93ef6.js.map
|