empty.js 1.3 KB

123456789101112131415161718192021222324252627282930
  1. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  2. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  3. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  4. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  5. return c > 3 && r && Object.defineProperty(target, key, r), r;
  6. };
  7. import { SuperComponent, wxComponent } from '../common/src/index';
  8. import props from './props';
  9. import config from '../common/config';
  10. const { prefix } = config;
  11. const name = `${prefix}-empty`;
  12. let default_1 = class extends SuperComponent {
  13. constructor() {
  14. super(...arguments);
  15. this.options = {
  16. multipleSlots: true, // 在组件定义时的选项中启用多slot支持
  17. };
  18. this.externalClasses = ['t-class', 't-class-description', 't-class-image'];
  19. this.properties = props;
  20. this.data = {
  21. classPrefix: name,
  22. };
  23. }
  24. };
  25. default_1 = __decorate([
  26. wxComponent()
  27. ], default_1);
  28. export default default_1;
  29. //# sourceMappingURL=empty.js.map