123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- System.register(["cc"], function (_export, _context) {
- "use strict";
- var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, Node, Prefab, ScrollView, _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _crd, ccclass, property, Layout_Idioms;
- 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;
- Node = _cc.Node;
- Prefab = _cc.Prefab;
- ScrollView = _cc.ScrollView;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "42de1lm8OtGEJAf8DNtqkZ4", "Layout_Idioms", undefined);
- __checkObsolete__(['_decorator', 'Component', 'Node', 'Prefab', 'ScrollView']);
- ({
- ccclass,
- property
- } = _decorator);
- _export("Layout_Idioms", Layout_Idioms = (_dec = ccclass('Layout_Idioms'), _dec2 = property(Prefab), _dec3 = property(ScrollView), _dec4 = property(Node), _dec(_class = (_class2 = class Layout_Idioms extends Component {
- constructor(...args) {
- super(...args);
- _initializerDefineProperty(this, "idiom_prefab", _descriptor, this);
- _initializerDefineProperty(this, "scrollView", _descriptor2, this);
- _initializerDefineProperty(this, "content", _descriptor3, this);
- }
- }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "idiom_prefab", [_dec2], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: null
- }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "scrollView", [_dec3], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: null
- }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "content", [_dec4], {
- configurable: true,
- enumerable: true,
- writable: true,
- initializer: null
- })), _class2)) || _class));
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=e51dea953313715ef4c0b98973feffeae843dd83.js.map
|