@ywfe/materials-design
Version:
YwDesign for lowcode
135 lines (134 loc) • 3.05 kB
JavaScript
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var YwContainerMeta = {
componentName: 'YwContainer',
title: 'YwContainer',
docUrl: '',
screenshot: '',
devMode: 'proCode',
npm: {
"package": '@ywfe/materials-design',
version: '0.0.28',
exportName: 'YwContainer',
main: 'src/index.tsx',
destructuring: true,
subName: ''
},
configure: {
props: [{
title: {
label: {
type: 'i18n',
'en-US': 'linkages',
'zh-CN': '联动逻辑'
},
tip: 'linkages | 联动逻辑'
},
name: 'linkages',
description: '联动逻辑',
setter: {
componentName: 'ArraySetter',
props: {
itemSetter: {
componentName: 'ObjectSetter',
props: {
config: {
extraSetter: {
componentName: 'MixedSetter',
isRequired: false,
props: {}
}
}
},
isRequired: false,
initialValue: {}
}
},
initialValue: []
}
}, {
title: {
label: {
type: 'i18n',
'en-US': 'loading',
'zh-CN': '加载状态'
},
tip: 'loading | 加载状态'
},
name: 'loading',
description: '加载状态',
setter: {
componentName: 'BoolSetter',
isRequired: false,
initialValue: false
}
}, {
title: {
label: {
type: 'i18n',
'en-US': 'error',
'zh-CN': '数据错误'
},
tip: 'error | 数据错误'
},
name: 'error',
description: '数据错误',
setter: {
componentName: 'BoolSetter',
isRequired: false,
initialValue: false
}
}, {
title: {
label: {
type: 'i18n',
'en-US': 'empty',
'zh-CN': '数据为空'
},
tip: 'empty | 数据为空'
},
name: 'empty',
description: '数据为空',
setter: {
componentName: 'BoolSetter',
isRequired: false,
initialValue: false
}
}, {
title: {
label: {
type: 'i18n',
'en-US': 'title',
'zh-CN': '标题'
},
tip: 'title | 标题'
},
name: 'title',
description: '标题',
setter: {
componentName: 'StringSetter',
isRequired: false,
initialValue: ''
}
}],
supports: {
style: true,
className: true
},
component: {}
}
};
var snippets = [{
title: 'YwContainer',
screenshot: '',
schema: {
componentName: 'YwContainer',
props: {}
}
}];
var _default = exports["default"] = (0, _extends2["default"])({}, YwContainerMeta, {
snippets: snippets
});