1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\system\\build\\generator\\config.js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\system\\build\\generator\\config.js","mtime":1732871026719},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\babel.config.js","mtime":1732871025888},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\eslint-loader\\index.js","mtime":1732872823677}],"contextDependencies":[],"result":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.selectComponents = exports.layoutComponents = exports.inputComponents = exports.formConf = void 0;\n// 表单属性【右面板】\nvar formConf = exports.formConf = {\n formRef: 'elForm',\n formModel: 'formData',\n size: 'medium',\n labelPosition: 'right',\n labelWidth: 100,\n formRules: 'rules',\n gutter: 15,\n disabled: false,\n span: 24,\n formBtns: true\n};\n\n// 输入型组件 【左面板】\nvar inputComponents = exports.inputComponents = [{\n // 组件的自定义配置\n __config__: {\n label: '单行文本',\n labelWidth: null,\n showLabel: true,\n changeTag: true,\n tag: 'el-input',\n tagIcon: 'input',\n defaultValue: undefined,\n required: true,\n layout: 'colFormItem',\n span: 24,\n document: 'https://element.eleme.cn/#/zh-CN/component/input',\n // 正则校验规则\n regList: []\n },\n // 组件的插槽属性\n __slot__: {\n prepend: '',\n append: ''\n },\n // 其余的为可直接写在组件标签上的属性\n placeholder: '请输入',\n style: {\n width: '100%'\n },\n clearable: true,\n 'prefix-icon': '',\n 'suffix-icon': '',\n maxlength: null,\n 'show-word-limit': false,\n readonly: false,\n disabled: false\n}, {\n __config__: {\n label: '多行文本',\n labelWidth: null,\n showLabel: true,\n tag: 'el-input',\n tagIcon: 'textarea',\n defaultValue: undefined,\n required: true,\n layout: 'colFormItem',\n span: 24,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/input'\n },\n type: 'textarea',\n placeholder: '请输入',\n autosize: {\n minRows: 4,\n maxRows: 4\n },\n style: {\n width: '100%'\n },\n maxlength: null,\n 'show-word-limit': false,\n readonly: false,\n disabled: false\n}, {\n __config__: {\n label: '密码',\n showLabel: true,\n labelWidth: null,\n changeTag: true,\n tag: 'el-input',\n tagIcon: 'password',\n defaultValue: undefined,\n layout: 'colFormItem',\n span: 24,\n required: true,\n regList: [],\n document: 'https://element.eleme.cn/#/zh-CN/component/input'\n },\n __slot__: {\n prepend: '',\n append: ''\n },\n placeholder: '请输入',\n 'show-password': true,\n style: {\n width: '100%'\n },\n clearable: true,\n 'prefix-icon': '',\n 'suffix-icon': '',\n maxlength: null,\n 'show-word-limit': false,\n readonly: false,\n disabled: false\n}, {\n __config__: {\n label: '计数器',\n showLabel: true,\n changeTag: true,\n labelWidth: null,\n tag: 'el-input-number',\n tagIcon: 'number',\n defaultValue: undefined,\n span: 24,\n layout: 'colFormItem',\n required: true,\n regList: [],\n document: 'https://element.eleme.cn/#/zh-CN/component/input-number'\n },\n placeholder: '',\n min: undefined,\n max: undefined,\n step: 1,\n 'step-strictly': false,\n precision: undefined,\n 'controls-position': '',\n disabled: false\n}, {\n __config__: {\n label: '编辑器',\n showLabel: true,\n changeTag: true,\n labelWidth: null,\n tag: 'tinymce',\n tagIcon: 'rich-text',\n defaultValue: null,\n span: 24,\n layout: 'colFormItem',\n required: true,\n regList: [],\n document: 'http://tinymce.ax-z.cn'\n },\n placeholder: '请输入',\n height: 300,\n // 编辑器高度\n branding: false // 隐藏右下角品牌烙印\n}];\n\n// 选择型组件 【左面板】\nvar selectComponents = exports.selectComponents = [{\n __config__: {\n label: '下拉选择',\n showLabel: true,\n labelWidth: null,\n tag: 'el-select',\n tagIcon: 'select',\n layout: 'colFormItem',\n span: 24,\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/select'\n },\n __slot__: {\n options: [{\n label: '选项一',\n value: 1\n }, {\n label: '选项二',\n value: 2\n }]\n },\n placeholder: '请选择',\n style: {\n width: '100%'\n },\n clearable: true,\n disabled: false,\n filterable: false,\n multiple: false\n}, {\n __config__: {\n label: '级联选择',\n url: 'https://www.fastmock.site/mock/f8d7a54fb1e60561e2f720d5a810009d/fg/cascaderList',\n method: 'get',\n dataPath: 'list',\n dataConsumer: 'options',\n showLabel: true,\n labelWidth: null,\n tag: 'el-cascader',\n tagIcon: 'cascader',\n layout: 'colFormItem',\n defaultValue: [],\n dataType: 'dynamic',\n span: 24,\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/cascader'\n },\n options: [{\n id: 1,\n value: 1,\n label: '选项1',\n children: [{\n id: 2,\n value: 2,\n label: '选项1-1'\n }]\n }],\n placeholder: '请选择',\n style: {\n width: '100%'\n },\n props: {\n props: {\n multiple: false,\n label: 'label',\n value: 'value',\n children: 'children'\n }\n },\n 'show-all-levels': true,\n disabled: false,\n clearable: true,\n filterable: false,\n separator: '/'\n}, {\n __config__: {\n label: '单选框组',\n labelWidth: null,\n showLabel: true,\n tag: 'el-radio-group',\n tagIcon: 'radio',\n changeTag: true,\n defaultValue: undefined,\n layout: 'colFormItem',\n span: 24,\n optionType: 'default',\n regList: [],\n required: true,\n border: false,\n document: 'https://element.eleme.cn/#/zh-CN/component/radio'\n },\n __slot__: {\n options: [{\n label: '选项一',\n value: 1\n }, {\n label: '选项二',\n value: 2\n }]\n },\n style: {},\n size: 'medium',\n disabled: false\n}, {\n __config__: {\n label: '多选框组',\n tag: 'el-checkbox-group',\n tagIcon: 'checkbox',\n defaultValue: [],\n span: 24,\n showLabel: true,\n labelWidth: null,\n layout: 'colFormItem',\n optionType: 'default',\n required: true,\n regList: [],\n changeTag: true,\n border: false,\n document: 'https://element.eleme.cn/#/zh-CN/component/checkbox'\n },\n __slot__: {\n options: [{\n label: '选项一',\n value: 1\n }, {\n label: '选项二',\n value: 2\n }]\n },\n style: {},\n size: 'medium',\n min: null,\n max: null,\n disabled: false\n}, {\n __config__: {\n label: '开关',\n tag: 'el-switch',\n tagIcon: 'switch',\n defaultValue: false,\n span: 24,\n showLabel: true,\n labelWidth: null,\n layout: 'colFormItem',\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/switch'\n },\n style: {},\n disabled: false,\n 'active-text': '',\n 'inactive-text': '',\n 'active-color': null,\n 'inactive-color': null,\n 'active-value': true,\n 'inactive-value': false\n}, {\n __config__: {\n label: '滑块',\n tag: 'el-slider',\n tagIcon: 'slider',\n defaultValue: null,\n span: 24,\n showLabel: true,\n layout: 'colFormItem',\n labelWidth: null,\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/slider'\n },\n disabled: false,\n min: 0,\n max: 100,\n step: 1,\n 'show-stops': false,\n range: false\n}, {\n __config__: {\n label: '时间选择',\n tag: 'el-time-picker',\n tagIcon: 'time',\n defaultValue: null,\n span: 24,\n showLabel: true,\n layout: 'colFormItem',\n labelWidth: null,\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/time-picker'\n },\n placeholder: '请选择',\n style: {\n width: '100%'\n },\n disabled: false,\n clearable: true,\n 'picker-options': {\n selectableRange: '00:00:00-23:59:59'\n },\n format: 'HH:mm:ss',\n 'value-format': 'HH:mm:ss'\n}, {\n __config__: {\n label: '时间范围',\n tag: 'el-time-picker',\n tagIcon: 'time-range',\n span: 24,\n showLabel: true,\n labelWidth: null,\n layout: 'colFormItem',\n defaultValue: null,\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/time-picker'\n },\n style: {\n width: '100%'\n },\n disabled: false,\n clearable: true,\n 'is-range': true,\n 'range-separator': '至',\n 'start-placeholder': '开始时间',\n 'end-placeholder': '结束时间',\n format: 'HH:mm:ss',\n 'value-format': 'HH:mm:ss'\n}, {\n __config__: {\n label: '日期选择',\n tag: 'el-date-picker',\n tagIcon: 'date',\n defaultValue: null,\n showLabel: true,\n labelWidth: null,\n span: 24,\n layout: 'colFormItem',\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/date-picker'\n },\n placeholder: '请选择',\n type: 'date',\n style: {\n width: '100%'\n },\n disabled: false,\n clearable: true,\n format: 'yyyy-MM-dd',\n 'value-format': 'yyyy-MM-dd',\n readonly: false\n}, {\n __config__: {\n label: '日期范围',\n tag: 'el-date-picker',\n tagIcon: 'date-range',\n defaultValue: null,\n span: 24,\n showLabel: true,\n labelWidth: null,\n required: true,\n layout: 'colFormItem',\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/date-picker'\n },\n style: {\n width: '100%'\n },\n type: 'daterange',\n 'range-separator': '至',\n 'start-placeholder': '开始日期',\n 'end-placeholder': '结束日期',\n disabled: false,\n clearable: true,\n format: 'yyyy-MM-dd',\n 'value-format': 'yyyy-MM-dd',\n readonly: false\n}, {\n __config__: {\n label: '评分',\n tag: 'el-rate',\n tagIcon: 'rate',\n defaultValue: 0,\n span: 24,\n showLabel: true,\n labelWidth: null,\n layout: 'colFormItem',\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/rate'\n },\n style: {},\n max: 5,\n 'allow-half': false,\n 'show-text': false,\n 'show-score': false,\n disabled: false\n}, {\n __config__: {\n label: '颜色选择',\n tag: 'el-color-picker',\n tagIcon: 'color',\n span: 24,\n defaultValue: null,\n showLabel: true,\n labelWidth: null,\n layout: 'colFormItem',\n required: true,\n regList: [],\n changeTag: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/color-picker'\n },\n 'show-alpha': false,\n 'color-format': '',\n disabled: false,\n size: 'medium'\n}, {\n __config__: {\n label: '上传',\n tag: 'el-upload',\n tagIcon: 'upload',\n layout: 'colFormItem',\n defaultValue: null,\n showLabel: true,\n labelWidth: null,\n required: true,\n span: 24,\n showTip: false,\n buttonText: '点击上传',\n regList: [],\n changeTag: true,\n fileSize: 2,\n sizeUnit: 'MB',\n document: 'https://element.eleme.cn/#/zh-CN/component/upload'\n },\n __slot__: {\n 'list-type': true\n },\n // action: process.env.VUE_APP_BASE_API + \"/admin-api/infra/file/upload\", // 请求地址\n action: '/infra/file/upload',\n // 请求地址\n disabled: false,\n accept: '',\n name: 'file',\n 'auto-upload': true,\n 'list-type': 'text',\n multiple: false\n}];\n\n// 布局型组件 【左面板】\nvar layoutComponents = exports.layoutComponents = [{\n __config__: {\n layout: 'rowFormItem',\n tagIcon: 'row',\n label: '行容器',\n layoutTree: true,\n document: 'https://element.eleme.cn/#/zh-CN/component/layout#row-attributes'\n },\n type: 'default',\n justify: 'start',\n align: 'top'\n}, {\n __config__: {\n label: '按钮',\n showLabel: true,\n changeTag: true,\n labelWidth: null,\n tag: 'el-button',\n tagIcon: 'button',\n span: 24,\n layout: 'colFormItem',\n document: 'https://element.eleme.cn/#/zh-CN/component/button'\n },\n __slot__: {\n default: '主要按钮'\n },\n type: 'primary',\n icon: 'el-icon-search',\n round: false,\n size: 'medium',\n plain: false,\n circle: false,\n disabled: false\n}, {\n __config__: {\n layout: 'colFormItem',\n tagIcon: 'table',\n tag: 'el-table',\n document: 'https://element.eleme.cn/#/zh-CN/component/table',\n span: 24,\n formId: 101,\n renderKey: 1595761764203,\n componentName: 'row101',\n showLabel: true,\n changeTag: true,\n labelWidth: null,\n label: '表格[开发中]',\n dataType: 'dynamic',\n method: 'get',\n dataPath: 'list',\n dataConsumer: 'data',\n url: 'https://www.fastmock.site/mock/f8d7a54fb1e60561e2f720d5a810009d/fg/tableData',\n children: [{\n __config__: {\n layout: 'raw',\n tag: 'el-table-column',\n renderKey: 15957617660153\n },\n prop: 'date',\n label: '日期'\n }, {\n __config__: {\n layout: 'raw',\n tag: 'el-table-column',\n renderKey: 15957617660152\n },\n prop: 'address',\n label: '地址'\n }, {\n __config__: {\n layout: 'raw',\n tag: 'el-table-column',\n renderKey: 15957617660151\n },\n prop: 'name',\n label: '名称'\n }, {\n __config__: {\n layout: 'raw',\n tag: 'el-table-column',\n renderKey: 1595774496335,\n children: [{\n __config__: {\n label: '按钮',\n tag: 'el-button',\n tagIcon: 'button',\n layout: 'raw',\n renderKey: 1595779809901\n },\n __slot__: {\n default: '主要按钮'\n },\n type: 'primary',\n icon: 'el-icon-search',\n round: false,\n size: 'medium'\n }]\n },\n label: '操作'\n }]\n },\n data: [],\n directives: [{\n name: 'loading',\n value: true\n }],\n border: true,\n type: 'default',\n justify: 'start',\n align: 'top'\n}];",null]} |