cloud-web-corejs 1.1.0-dev.4 → 1.1.0-dev.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -0
- package/bin/core-resources.js +16 -0
- package/bin/create-child-app.js +34 -0
- package/docs/child-app/README.md +95 -0
- package/docs/child-app/activiti-resources.md +63 -0
- package/docs/child-app/generate-prompt.md +55 -0
- package/docs/child-app/luckysheet-resources.md +80 -0
- package/docs/child-app/public-resources-plan.md +288 -0
- package/docs/child-app/resources-implementation.md +101 -0
- package/docs/child-app/tinymce-resources.md +88 -0
- package/docs/child-app/validation.md +34 -0
- package/docs/qiankun/346/216/245/345/205/245/345/215/217/350/256/256.md +298 -0
- package/docs/qiankun/350/257/246/346/203/205/346/211/277/350/275/275/345/255/220/345/272/224/347/224/250/345/257/271/346/216/245/346/270/205/345/215/225.md +111 -0
- package/package.json +27 -4
- package/resource-tools/index.js +126 -0
- package/src/app-bootstrap.js +530 -0
- package/src/boot-assets.legacy.js +7 -0
- package/src/boot-assets.next.js +7 -0
- package/src/components/Tinymce/dynamicLoadScript.js +51 -59
- package/src/components/Tinymce/index.vue +382 -336
- package/src/components/Tinymce/mce-chrome.scss +150 -0
- package/src/components/VabUpload/image-viewer.vue +18 -10
- package/src/components/VabUpload/index.vue +1 -1
- package/src/components/VabUpload/style.scss +282 -0
- package/src/components/VabUpload/view.vue +19 -18
- package/src/components/baseArea/index.vue +2 -2
- package/src/components/baseInputExport/mixins.js +0 -6
- package/src/components/bizTab/BizTabListPage.vue +66 -33
- package/src/components/bizTab/README.md +3 -1
- package/src/components/bizTab/bizBillDetailMixin.js +2 -0
- package/src/components/code-editor/ace-chrome.scss +17 -0
- package/src/components/code-editor/index.vue +361 -340
- package/src/components/errorMsg/index.vue +4 -4
- package/src/components/excelExport/conditionExportConfig.js +112 -0
- package/src/components/excelExport/exportColumnMemory.js +118 -0
- package/src/components/excelExport/exportFieldDialog.vue +50 -38
- package/src/components/excelExport/exportType.js +8 -0
- package/src/components/excelExport/index.js +30 -13
- package/src/components/excelExport/index.vue +7 -1
- package/src/components/excelExport/mixins.js +782 -293
- package/src/components/excelImport/index.vue +156 -156
- package/src/components/excelImport/mixins.js +888 -834
- package/src/components/fileLibrary/style.scss +579 -0
- package/src/components/hiprint/style.scss +188 -0
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/jsonImport/mixins.js +6 -10
- package/src/components/langImport/index.vue +1 -1
- package/src/components/langImport/mixins.js +6 -10
- package/src/components/luckysheet/loadResources.js +64 -0
- package/src/components/luckysheet/view.vue +239 -210
- package/src/components/mobile/buttonGroup/index.vue +1 -1
- package/src/components/mobile/wf/addTaskUserdialog.vue +100 -80
- package/src/components/mobile/wf/content.vue +141 -69
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +73 -54
- package/src/components/mobile/wf/selectUserDialog.vue +118 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +69 -48
- package/src/components/mobile/wf/urgingDialog.vue +75 -52
- package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/onlineTalk/index.vue +4 -4
- package/src/components/table/index.js +22 -3
- package/src/components/table/plugins/cell-area/index.js +10 -3
- package/src/components/table/style.scss +1399 -0
- package/src/components/table/vxeFilter/mixin.js +28 -18
- package/src/components/wf/content.vue +3 -2
- package/src/components/wf/content2.vue +1 -1
- package/src/components/wf/style.scss +265 -0
- package/src/components/wf/wf.js +7 -0
- package/src/components/wf/wfActionItems.js +3 -0
- package/src/components/wf/wfStartDialog.vue +1 -0
- package/src/components/wf/wfTransferEnabled.js +54 -0
- package/src/components/wf/wfUtil.js +47 -29
- package/src/components/wf/wfVisibility.js +6 -0
- package/src/components/xform/docs/2026-07 table/344/270/216excelExport/344/277/256/345/244/215/345/217/212/345/257/274/345/207/272/344/274/230/345/214/226.md" +64 -57
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +1 -1
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +1 -1
- package/src/components/xform/docs/2026-09 /345/212/250/346/200/201/345/255/227/346/256/265/350/247/204/345/210/231/344/270/216/346/265/201/347/250/213/346/216/247/345/210/266/346/211/247/350/241/214/351/241/272/345/272/217/350/220/275/345/234/260/346/226/271/346/241/210.md" +409 -0
- package/src/components/xform/docs/2026-09 /346/235/241/344/273/266/345/257/274/345/207/272/345/244/247/346/225/260/346/215/256/351/207/217/345/264/251/346/272/203/346/216/222/346/237/245.md" +389 -0
- package/src/components/xform/docs/2026-09 /347/274/226/350/276/221/350/241/250/350/241/214/345/206/205/344/277/235/345/255/230/346/240/241/351/252/214/350/214/203/345/233/264/344/270/216/345/210/227/345/277/205/345/241/253/350/247/243/346/236/220/344/277/256/345/244/215.md" +233 -0
- package/src/components/xform/docs/2026-09 /350/241/250/345/215/225/345/257/274/345/205/245/351/200/232/351/201/223/346/242/263/347/220/206/344/270/216/350/220/275/345/234/260/346/226/271/346/241/210.md" +745 -0
- package/src/components/xform/form-designer/designer.js +2132 -2100
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +7 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +3 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-h5-widget.vue +243 -227
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-pane-widget.vue +228 -207
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-widget.vue +165 -136
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +190 -185
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2656 -1774
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +35 -4
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +38 -2
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +19 -6
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/index.js +10 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +64 -0
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -145
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +1 -1
- package/src/components/xform/form-designer/indexMixin.js +35 -1
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +687 -602
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +88 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +335 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +23 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +846 -860
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +62 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +142 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/empty-number-input.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +27 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +33 -3
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +9 -1
- package/src/components/xform/form-designer/toolbar-panel/index.vue +884 -874
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +14 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +30 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +142 -9
- package/src/components/xform/form-render/container-item/data-table-item.vue +347 -342
- package/src/components/xform/form-render/container-item/data-table-mixin.js +6874 -5985
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +48 -19
- package/src/components/xform/form-render/container-item/detail-item.vue +350 -446
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +55 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +152 -140
- package/src/components/xform/form-render/container-item/tab-item.vue +138 -129
- package/src/components/xform/form-render/fieldControlEngine.js +218 -0
- package/src/components/xform/form-render/fieldControlMixin.js +536 -0
- package/src/components/xform/form-render/index.vue +164 -153
- package/src/components/xform/form-render/indexMixin.js +5425 -5311
- package/src/components/xform/lang/en-US.js +4 -0
- package/src/components/xform/lang/zh-CN.js +5 -0
- package/src/components/xform/mixins/businessLock.js +59 -0
- package/src/components/xform/mixins/defaultHandle.js +713 -707
- package/src/components/xform/mixins/scriptHttp.js +29 -8
- package/src/components/xform/mixins/wfStart.js +105 -0
- package/src/components/xform/mixins/wfVisibility.js +33 -0
- package/src/components/xform/styles/census.scss +288 -0
- package/src/components/xform/styles/containers.scss +208 -0
- package/src/components/xform/styles/designer.scss +904 -0
- package/src/components/xform/styles/detail-temp.scss +71 -0
- package/src/components/xform/styles/h5-designer.scss +191 -0
- package/src/components/xform/styles/h5.scss +831 -514
- package/src/components/xform/styles/skins.scss +398 -0
- package/src/components/xform/styles/table-layout.scss +91 -0
- package/src/components/xform/styles/titles.scss +255 -0
- package/src/components/xform/utils/dynamicSchemaUtil.js +385 -361
- package/src/components/xform/utils/tableColumnHelper.js +46 -4
- package/src/components/xform/utils/util.js +1732 -1708
- package/src/core-resources/css/h5.scss +548 -0
- package/src/core-resources/css/iconfont.css +1447 -0
- package/src/core-resources/font/iconfont.ttf +0 -0
- package/src/core-resources/font/iconfont.woff +0 -0
- package/src/core-resources/font/iconfont.woff2 +0 -0
- package/src/core-resources/images/default-header.png +0 -0
- package/src/core-resources/images/ico-default_wenjian.svg +1 -0
- package/src/core-resources/images/ico-excel.svg +1 -0
- package/src/core-resources/images/ico-ftl.svg +7 -0
- package/src/core-resources/images/ico-html.svg +1 -0
- package/src/core-resources/images/ico-java.svg +1 -0
- package/src/core-resources/images/ico-music.svg +1 -0
- package/src/core-resources/images/ico-pdf.svg +1 -0
- package/src/core-resources/images/ico-photo.svg +1 -0
- package/src/core-resources/images/ico-ppt.svg +1 -0
- package/src/core-resources/images/ico-psd.svg +1 -0
- package/src/core-resources/images/ico-service.png +0 -0
- package/src/core-resources/images/ico-txt.svg +1 -0
- package/src/core-resources/images/ico-video.svg +1 -0
- package/src/core-resources/images/ico-vue.svg +8 -0
- package/src/core-resources/images/ico-wenjianjia.svg +1 -0
- package/src/core-resources/images/ico-wrod.svg +1 -0
- package/src/core-resources/images/ico-xml.svg +1 -0
- package/src/core-resources/images/ico-yasuobao.svg +1 -0
- package/src/core-resources/images/icon-error.png +0 -0
- package/src/core-resources/images/icon-tips.png +0 -0
- package/src/core-resources/images/nodata.png +0 -0
- package/src/core-resources/images/nodata2.png +0 -0
- package/src/directive/append-to-body/index.js +48 -0
- package/src/icons/index.js +9 -0
- package/src/icons/svg/404.svg +1 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/bug.svg +1 -0
- package/src/icons/svg/button.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/cascader-field.svg +1 -0
- package/src/icons/svg/census.svg +1 -0
- package/src/icons/svg/chart.svg +1 -0
- package/src/icons/svg/checkbox-field.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/component.svg +1 -0
- package/src/icons/svg/custom-component.svg +1 -0
- package/src/icons/svg/dashboard.svg +1 -0
- package/src/icons/svg/data-table.svg +1 -0
- package/src/icons/svg/date-field.svg +1 -0
- package/src/icons/svg/date-range-field.svg +1 -0
- package/src/icons/svg/descriptions.svg +1 -0
- package/src/icons/svg/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/echart-category.svg +1 -0
- package/src/icons/svg/echart-pie.svg +1 -0
- package/src/icons/svg/echart.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/education.svg +1 -0
- package/src/icons/svg/email.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/excel.svg +1 -0
- package/src/icons/svg/exit-fullscreen.svg +1 -0
- package/src/icons/svg/eye-open.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/fullscreen.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/guide.svg +1 -0
- package/src/icons/svg/html-text.svg +1 -0
- package/src/icons/svg/ico-more.svg +1 -0
- package/src/icons/svg/ico-wenjianjia.svg +1 -0
- package/src/icons/svg/icon.svg +1 -0
- package/src/icons/svg/input-batch.svg +1 -0
- package/src/icons/svg/international.svg +1 -0
- package/src/icons/svg/language.svg +1 -0
- package/src/icons/svg/link.svg +1 -0
- package/src/icons/svg/list-export.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/message.svg +1 -0
- package/src/icons/svg/money.svg +1 -0
- package/src/icons/svg/nested.svg +1 -0
- package/src/icons/svg/news-list.svg +1 -0
- package/src/icons/svg/node-tree.svg +1 -0
- package/src/icons/svg/number-field.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/pdf.svg +1 -0
- package/src/icons/svg/people.svg +1 -0
- package/src/icons/svg/peoples.svg +1 -0
- package/src/icons/svg/picture-upload-field.svg +1 -0
- package/src/icons/svg/qq.svg +1 -0
- package/src/icons/svg/query.svg +1 -0
- package/src/icons/svg/radio-field.svg +1 -0
- package/src/icons/svg/rate-field.svg +1 -0
- package/src/icons/svg/redo.svg +1 -0
- package/src/icons/svg/rich-editor-field.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/searchbox.svg +1 -0
- package/src/icons/svg/section.svg +1 -0
- package/src/icons/svg/select-field.svg +1 -0
- package/src/icons/svg/shopping.svg +1 -0
- package/src/icons/svg/size.svg +1 -0
- package/src/icons/svg/skill.svg +1 -0
- package/src/icons/svg/slider-field.svg +1 -0
- package/src/icons/svg/slot-component.svg +1 -0
- package/src/icons/svg/slot-field.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/static-text.svg +1 -0
- package/src/icons/svg/status.svg +1 -0
- package/src/icons/svg/sub-form.svg +1 -0
- package/src/icons/svg/switch-field.svg +1 -0
- package/src/icons/svg/tab.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/text-field.svg +1 -0
- package/src/icons/svg/text.svg +1 -0
- package/src/icons/svg/textarea-field.svg +1 -0
- package/src/icons/svg/theme.svg +1 -0
- package/src/icons/svg/time-field.svg +1 -0
- package/src/icons/svg/time-range-field.svg +1 -0
- package/src/icons/svg/tips-text.svg +1 -0
- package/src/icons/svg/title-head.svg +1 -0
- package/src/icons/svg/tree-pane.svg +1 -0
- package/src/icons/svg/tree-table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/undo.svg +1 -0
- package/src/icons/svg/uploadbox.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/vf-box.svg +1 -0
- package/src/icons/svg/vf-dialog.svg +1 -0
- package/src/icons/svg/vf-drawer.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/icons/svg/wechat.svg +1 -0
- package/src/icons/svg/zip.svg +1 -0
- package/src/index.js +2 -510
- package/src/index.next.js +5 -0
- package/src/layout/components/Sidebar/default.vue +1656 -1655
- package/src/layout/components/TagsView/index.vue +325 -323
- package/src/layout/defaultLayout.vue +2 -2
- package/src/router/index.js +43 -48
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +241 -217
- package/src/styles/btn.scss +104 -0
- package/src/styles/element-ui.scss +155 -0
- package/src/styles/element-variables.scss +31 -0
- package/src/styles/global.scss +115 -0
- package/src/styles/index.scss +200 -0
- package/src/styles/menu-icons.scss +75 -0
- package/src/styles/mixin.scss +72 -0
- package/src/styles/nprogress.scss +14 -0
- package/src/styles/sidebar.scss +281 -0
- package/src/styles/split-handle.scss +52 -0
- package/src/styles/theme-variables.scss +7 -0
- package/src/styles/transition.scss +48 -0
- package/src/styles/utilities.scss +137 -0
- package/src/styles/variables.scss +44 -0
- package/src/utils/assetUrl.js +19 -0
- package/src/utils/chunkLoadError.js +24 -0
- package/src/utils/featureResources.js +57 -0
- package/src/utils/importLimit.js +72 -0
- package/src/utils/pdfUtil.js +6 -1
- package/src/utils/request.js +24 -2
- package/src/utils/runtimeRecovery.js +105 -0
- package/src/utils/swiperLoader.js +20 -0
- package/src/utils/vab.js +1299 -1273
- package/src/utils/xlsxLoader.js +29 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +1 -1
- package/src/views/bd/setting/form_template/edit.vue +378 -356
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
- package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
- package/src/views/bd/setting/form_template/list.vue +304 -303
- package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
- package/src/views/bd/setting/form_template/mixins/list.js +749 -721
- package/src/views/bd/setting/form_template/mixins/list2.js +412 -411
- package/src/views/bd/setting/form_template/mixins/wf_list.js +431 -430
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/user/bill_setting/mixins/wf.js +8 -0
- package/src/views/user/bill_setting/render.vue +1 -1
- package/src/views/user/commMenu/index.vue +3 -1
- package/src/views/user/commMenu/style.scss +123 -0
- package/src/views/user/file_view_ins/list.vue +970 -970
- package/src/views/user/form/form_template/list.vue +527 -506
- package/src/views/user/form/vform/designer.vue +823 -821
- package/src/views/user/home/default.vue +1120 -1117
- package/src/views/user/home/default2.vue +2 -2
- package/src/views/user/home/index.vue +102 -102
- package/src/views/user/menuFallback/index.vue +23 -0
- package/src/views/user/notify_message/dialog.vue +139 -139
- package/src/views/user/outLink/form_view.vue +202 -202
- package/src/views/user/outLink/index.vue +110 -110
- package/src/views/user/role/edit.vue +4 -0
- package/src/views/user/role/role-box.scss +83 -0
- package/src/views/user/role/voc_edit.vue +4 -0
- package/src/views/user/wf/iframe/index.vue +51 -51
- package/src/views/user/wf/iframe/index2.vue +64 -64
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list2.vue +871 -871
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +177 -126
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +134 -133
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list.vue +747 -746
- package/src/views/user/wf/wf_obj_config/list_form.vue +374 -373
- package/templates/child-app/.env +3 -0
- package/templates/child-app/README.md +49 -0
- package/templates/child-app/app.config.js +6 -0
- package/templates/child-app/babel.config.js +1 -0
- package/templates/child-app/core-resources.config.js +15 -0
- package/templates/child-app/gitignore +7 -0
- package/templates/child-app/package.json +34 -0
- package/templates/child-app/public/index.html +12 -0
- package/templates/child-app/src/assets/401_images/401.gif +0 -0
- package/templates/child-app/src/assets/404_images/404.png +0 -0
- package/templates/child-app/src/assets/404_images/404_cloud.png +0 -0
- package/templates/child-app/src/assets/logo.png +0 -0
- package/templates/child-app/src/corejsConfig.js +2 -0
- package/templates/child-app/src/icons/index.js +2 -0
- package/templates/child-app/src/icons/svg/child-demo.svg +1 -0
- package/templates/child-app/src/layout/index.vue +4 -0
- package/templates/child-app/src/main.js +5 -0
- package/templates/child-app/src/prefixConfig.js +13 -0
- package/templates/child-app/src/resources/css/login.scss +29 -0
- package/templates/child-app/src/resources/images/bg-login5.jpg +0 -0
- package/templates/child-app/src/resources/images/home-img.png +0 -0
- package/templates/child-app/src/router/modules/customer.js +3 -0
- package/templates/child-app/src/settings.js +24 -0
- package/templates/child-app/src/styles/app.scss +2 -0
- package/templates/child-app/src/views/demo/detail.vue +19 -0
- package/templates/child-app/src/views/demo/list.vue +38 -0
- package/templates/child-app/src/views/user/login/index.vue +18 -0
- package/templates/child-app/vue.config.js +107 -0
- package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +0 -285
- package/src/components/xform/form-render/formDynamicFieldMixin.js +0 -131
- package/src/views/demo/bizTab/bill/billConfig.js +0 -41
- package/src/views/demo/bizTab/bill/detail.vue +0 -436
- package/src/views/demo/bizTab/bill/list.vue +0 -288
- package/src/views/demo/bizTab/bill/productDialog.vue +0 -176
- package/src/views/demo/bizTab/simple/billApi.js +0 -123
- package/src/views/demo/bizTab/simple/detail.vue +0 -407
- package/src/views/demo/bizTab/simple/list.vue +0 -217
- package/src/views/demo/bizTab/standalone/index.vue +0 -121
- package/src/views/demo/bizTab/wf/billConfig.js +0 -44
- package/src/views/demo/bizTab/wf/detail.vue +0 -661
- package/src/views/demo/bizTab/wf/list.vue +0 -242
- package/src/views/user/home/wjl/content.vue +0 -1569
- package/src/views/user/outLink/cc_form_view.vue +0 -188
- /package/src/{resources → core-resources}/js/base/common.js +0 -0
|
@@ -36,6 +36,7 @@ modules = {
|
|
|
36
36
|
},
|
|
37
37
|
inject: [
|
|
38
38
|
"getDesignerConfig",
|
|
39
|
+
"getLayoutTypeLocked",
|
|
39
40
|
"saveReportTemplate",
|
|
40
41
|
"getReportTemplate",
|
|
41
42
|
"getFormTemplateTableDTOs",
|
|
@@ -105,6 +106,15 @@ modules = {
|
|
|
105
106
|
layoutType() {
|
|
106
107
|
return this.designer.getLayoutType();
|
|
107
108
|
},
|
|
109
|
+
|
|
110
|
+
/* 布局模式由入口(表单模板类型)锁定时,PC/移动端按钮只回显不可切换 */
|
|
111
|
+
layoutTypeLocked() {
|
|
112
|
+
return !!this.getLayoutTypeLocked();
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
layoutTypeLockedTip() {
|
|
116
|
+
return this.$t1("模板类型由表单模板维护,设计器内不可切换");
|
|
117
|
+
},
|
|
108
118
|
},
|
|
109
119
|
watch: {
|
|
110
120
|
"designer.widgetList": {
|
|
@@ -281,6 +291,9 @@ modules = {
|
|
|
281
291
|
},
|
|
282
292
|
|
|
283
293
|
changeLayoutType(newType) {
|
|
294
|
+
if (this.layoutTypeLocked) {
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
284
297
|
this.designer.changeLayoutType(newType);
|
|
285
298
|
this.$emit("loadWidgets");
|
|
286
299
|
},
|
|
@@ -354,6 +367,7 @@ modules = {
|
|
|
354
367
|
let importObj = JSON.parse(this.importTemplate);
|
|
355
368
|
this.designer.handleImportJson(importObj);
|
|
356
369
|
this.designer.loadFormJson(importObj);
|
|
370
|
+
this.$emit("loadWidgets");
|
|
357
371
|
|
|
358
372
|
this.showImportJsonDialogFlag = false;
|
|
359
373
|
this.$message.success(this.i18nt("designer.hint.importJsonSuccess"));
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<el-tab-pane v-if="showComponentLib" name="componentLib">
|
|
7
7
|
<span slot="label"><i class="el-icon-set-up"></i> {{ i18nt('designer.componentLib') }}</span>
|
|
8
8
|
|
|
9
|
-
<el-collapse v-model="activeNames" class="widget-collapse">
|
|
9
|
+
<el-collapse v-model="activeNames" class="widget-collapse" :key="currentLayoutType">
|
|
10
10
|
<el-collapse-item name="1" :title="i18nt('designer.containerTitle')">
|
|
11
11
|
<draggable tag="ul" :list="containers" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
12
12
|
:clone="handleContainerWidgetClone" ghost-class="ghost" :sort="false"
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
</draggable>
|
|
35
35
|
</el-collapse-item>
|
|
36
36
|
|
|
37
|
+
<template v-if="advancedFields.length">
|
|
37
38
|
<el-collapse-item name="3" :title="i18nt('designer.advancedFieldTitle')">
|
|
38
39
|
<draggable tag="ul" :list="advancedFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
39
40
|
:move="checkFieldMove"
|
|
@@ -47,8 +48,9 @@
|
|
|
47
48
|
</li>
|
|
48
49
|
</draggable>
|
|
49
50
|
</el-collapse-item>
|
|
51
|
+
</template>
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
<template v-if="customFields.length">
|
|
52
54
|
<el-collapse-item name="4" :title="i18nt('designer.customFieldTitle')">
|
|
53
55
|
<draggable tag="ul" :list="customFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
54
56
|
:move="checkFieldMove"
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
</li>
|
|
63
65
|
</draggable>
|
|
64
66
|
</el-collapse-item>
|
|
65
|
-
|
|
67
|
+
</template>
|
|
66
68
|
|
|
67
69
|
|
|
68
70
|
</el-collapse>
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
<el-tab-pane v-if="showMetadataLib" name="metadataLib">
|
|
72
74
|
<span slot="label"><i class="el-icon-set-up"></i> {{ i18nt('designer.metadataLib') }}</span>
|
|
73
75
|
|
|
74
|
-
<el-collapse v-model="metadataActiveNames" class="widget-collapse">
|
|
76
|
+
<el-collapse v-model="metadataActiveNames" class="widget-collapse" :key="currentLayoutType">
|
|
75
77
|
<el-collapse-item name="0" :title="i18nt('designer.containerTitle')">
|
|
76
78
|
<draggable tag="ul" :list="commonContainers" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
77
79
|
:clone="handleContainerWidgetClone" ghost-class="ghost" :sort="false"
|
|
@@ -97,6 +99,7 @@
|
|
|
97
99
|
</li>
|
|
98
100
|
</draggable>
|
|
99
101
|
</el-collapse-item>
|
|
102
|
+
<template v-if="commonAdvancedFields.length">
|
|
100
103
|
<el-collapse-item name="3" :title="i18nt('designer.advancedFieldTitle')">
|
|
101
104
|
<draggable tag="ul" :list="commonAdvancedFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
102
105
|
:move="checkFieldMove"
|
|
@@ -110,6 +113,7 @@
|
|
|
110
113
|
</li>
|
|
111
114
|
</draggable>
|
|
112
115
|
</el-collapse-item>
|
|
116
|
+
</template>
|
|
113
117
|
|
|
114
118
|
|
|
115
119
|
|
|
@@ -160,7 +164,7 @@
|
|
|
160
164
|
</li>
|
|
161
165
|
</draggable>
|
|
162
166
|
</el-collapse-item>
|
|
163
|
-
<el-collapse-item name="compare" :title="i18nt('对比组件')">
|
|
167
|
+
<el-collapse-item v-if="currentLayoutType !== 'H5'" name="compare" :title="i18nt('对比组件')">
|
|
164
168
|
<draggable tag="ul" :list="compareFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
165
169
|
:move="checkFieldMove"
|
|
166
170
|
:clone="handleFieldWidgetClone" ghost-class="ghost" :sort="false">
|
|
@@ -311,8 +315,8 @@ export default {
|
|
|
311
315
|
background: #f1f2f3;
|
|
312
316
|
font-size: 12px;
|
|
313
317
|
padding-left: 12px;
|
|
314
|
-
> span{
|
|
315
|
-
display: flex;align-items: center;white-space: normal;line-height: 1.2;height: 35px;
|
|
318
|
+
> span{
|
|
319
|
+
display: flex;align-items: center;white-space: normal;line-height: 1.2;height: 35px;
|
|
316
320
|
}
|
|
317
321
|
svg {
|
|
318
322
|
display: inline-block;
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
advancedFields,
|
|
7
7
|
customFields,
|
|
8
8
|
businessFields,
|
|
9
|
-
widgetPanelOrder
|
|
9
|
+
widgetPanelOrder,
|
|
10
|
+
h5PanelAllowTypes
|
|
10
11
|
} from "./widgetsConfig"
|
|
11
12
|
import {
|
|
12
13
|
formTemplates
|
|
@@ -115,6 +116,16 @@ modules = {
|
|
|
115
116
|
? !1
|
|
116
117
|
: !!this.designerConfig.metadataLib;
|
|
117
118
|
},
|
|
119
|
+
currentLayoutType() {
|
|
120
|
+
return (this.designer && this.designer.formConfig && this.designer.formConfig.layoutType) || "PC";
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
watch: {
|
|
124
|
+
/* 打开 H5 模板是 setFormJson 后才写入 layoutType;面板 mounted 时仍是默认 PC。
|
|
125
|
+
版式变化后必须按新 layoutType 重筛,否则左侧一直停在 PC 组件列表。 */
|
|
126
|
+
currentLayoutType() {
|
|
127
|
+
this.loadWidgets();
|
|
128
|
+
},
|
|
118
129
|
},
|
|
119
130
|
mounted() {
|
|
120
131
|
this.designerConfig.chartLib && (this.firstTab = "chartLib"),
|
|
@@ -181,7 +192,8 @@ modules = {
|
|
|
181
192
|
|
|
182
193
|
this.commonContainers = this.containers.filter(con => !!con.commonFlag && this.getIsShow(con));
|
|
183
194
|
|
|
184
|
-
|
|
195
|
+
/* 每次从 widgetsConfig 原表筛,不能拿 this.xxx(已被上次 layoutType 滤过)再滤一遍 */
|
|
196
|
+
this.basicFields = basicFields.map(fld => {
|
|
185
197
|
return {
|
|
186
198
|
...fld,
|
|
187
199
|
displayName: this.i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
@@ -190,13 +202,13 @@ modules = {
|
|
|
190
202
|
return !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
191
203
|
});
|
|
192
204
|
|
|
193
|
-
this.advancedFields =
|
|
205
|
+
this.advancedFields = advancedFields.map(fld => {
|
|
194
206
|
return {
|
|
195
207
|
...fld,
|
|
196
208
|
displayName: this.i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
197
209
|
};
|
|
198
210
|
}).filter(fld => {
|
|
199
|
-
return !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
211
|
+
return !fld.internal && !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
200
212
|
});
|
|
201
213
|
|
|
202
214
|
/* 面板分组归一:表单数据字段(搜索框/自动完成/级联/凭证/状态等)展示在基础字段分组 */
|
|
@@ -209,7 +221,7 @@ modules = {
|
|
|
209
221
|
);
|
|
210
222
|
this.advancedFields = this.sortByPanelOrder(this.advancedFields, widgetPanelOrder.advancedFields);
|
|
211
223
|
|
|
212
|
-
this.businessFields =
|
|
224
|
+
this.businessFields = businessFields.map(fld => {
|
|
213
225
|
return {
|
|
214
226
|
...fld,
|
|
215
227
|
displayName: this.i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
@@ -229,7 +241,7 @@ modules = {
|
|
|
229
241
|
&& moveTypes.indexOf(fld.type) === -1;
|
|
230
242
|
}), widgetPanelOrder.advancedFields);
|
|
231
243
|
|
|
232
|
-
this.customFields =
|
|
244
|
+
this.customFields = customFields.map(fld => {
|
|
233
245
|
return {
|
|
234
246
|
...fld,
|
|
235
247
|
displayName: this.i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
@@ -257,6 +269,14 @@ modules = {
|
|
|
257
269
|
return !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
258
270
|
});
|
|
259
271
|
|
|
272
|
+
/* 空分组不渲染(见 index.vue 的 v-if),展开项按当前版式重算:
|
|
273
|
+
不能只做减法,否则从 H5 切回 PC 时分组回来了却是收起状态 */
|
|
274
|
+
this.activeNames = ["1", "2"]
|
|
275
|
+
.concat(this.advancedFields.length ? ["3"] : [])
|
|
276
|
+
.concat(this.customFields.length ? ["4"] : []);
|
|
277
|
+
this.metadataActiveNames = ["0", "1", "2", "4"]
|
|
278
|
+
.concat(this.commonAdvancedFields.length ? ["3"] : []);
|
|
279
|
+
|
|
260
280
|
},
|
|
261
281
|
|
|
262
282
|
/* 按 widgetPanelOrder 排序面板展示列表;未列出的类型(含扩展组件)排在末尾,保持原有相对顺序 */
|
|
@@ -343,6 +363,10 @@ modules = {
|
|
|
343
363
|
let flag = !ftd.layoutType || ftd.layoutType === layoutType;
|
|
344
364
|
let flag2 = this.checkColumnFlag(ftd)
|
|
345
365
|
let flag3 = !!ftd.commonFlag
|
|
366
|
+
/* H5 面板按白名单收口,PC 不受影响 */
|
|
367
|
+
if (layoutType === "H5") {
|
|
368
|
+
flag = flag && h5PanelAllowTypes.indexOf(ftd.type) > -1;
|
|
369
|
+
}
|
|
346
370
|
return flag && flag2 && flag3;
|
|
347
371
|
}
|
|
348
372
|
}
|
|
@@ -51,6 +51,7 @@ export const containers = [
|
|
|
51
51
|
category: "container",
|
|
52
52
|
icon: "table",
|
|
53
53
|
commonFlag: !0,
|
|
54
|
+
layoutType: "PC",
|
|
54
55
|
columnFlag: true,
|
|
55
56
|
rows: [],
|
|
56
57
|
options: {
|
|
@@ -122,7 +123,7 @@ export const containers = [
|
|
|
122
123
|
}, {
|
|
123
124
|
type: "grid-sub-form",
|
|
124
125
|
category: "container",
|
|
125
|
-
icon: "
|
|
126
|
+
icon: "sub-form",
|
|
126
127
|
widgetList: [],
|
|
127
128
|
options: {
|
|
128
129
|
name: "",
|
|
@@ -140,7 +141,7 @@ export const containers = [
|
|
|
140
141
|
{
|
|
141
142
|
type: "grid-col",
|
|
142
143
|
category: "container",
|
|
143
|
-
icon: "grid
|
|
144
|
+
icon: "grid",
|
|
144
145
|
internal: !0,
|
|
145
146
|
widgetList: [],
|
|
146
147
|
options: {
|
|
@@ -162,7 +163,7 @@ export const containers = [
|
|
|
162
163
|
{
|
|
163
164
|
type: "table-cell",
|
|
164
165
|
category: "container",
|
|
165
|
-
icon: "table
|
|
166
|
+
icon: "table",
|
|
166
167
|
internal: !0,
|
|
167
168
|
widgetList: [],
|
|
168
169
|
merged: !1,
|
|
@@ -178,7 +179,7 @@ export const containers = [
|
|
|
178
179
|
{
|
|
179
180
|
type: "tab-pane",
|
|
180
181
|
category: "container",
|
|
181
|
-
icon: "tab
|
|
182
|
+
icon: "tab",
|
|
182
183
|
internal: !0,
|
|
183
184
|
widgetList: [],
|
|
184
185
|
options: {
|
|
@@ -319,6 +320,53 @@ export const containers = [
|
|
|
319
320
|
tableConfig: null,
|
|
320
321
|
isEditTable: false,
|
|
321
322
|
isTreeTable: false,
|
|
323
|
+
mergeRowEnabled: false,
|
|
324
|
+
mergeRowKey: null,
|
|
325
|
+
showGridFooter: false,
|
|
326
|
+
editDefaultRow: null,
|
|
327
|
+
rowEditableScript: null,
|
|
328
|
+
rowAddableScript: null,
|
|
329
|
+
rowDeletableScript: null,
|
|
330
|
+
rowSaveScriptCode: null,
|
|
331
|
+
beforeRowSave: null,
|
|
332
|
+
afterRowSave: null,
|
|
333
|
+
onRowSaveError: null,
|
|
334
|
+
clipboardEnabled: false,
|
|
335
|
+
clipboardRowIncrementEnabled: false,
|
|
336
|
+
clipboardAttachmentEnabled: false,
|
|
337
|
+
clipboardExcludeFields: [],
|
|
338
|
+
clipboardInvalidValueStrategy: "ignore",
|
|
339
|
+
clipboardAutoSaveEnabled: false,
|
|
340
|
+
autoSaveEnabled: false,
|
|
341
|
+
autoSaveTrigger: ["blur", "change", "paste"],
|
|
342
|
+
autoSaveDelay: 200,
|
|
343
|
+
treeConfig: {
|
|
344
|
+
rowField: "id",
|
|
345
|
+
parentField: "f_parent",
|
|
346
|
+
children: "f_children",
|
|
347
|
+
mapChildren: "_X_ROW_CHILD",
|
|
348
|
+
hasChild: "f_has_child",
|
|
349
|
+
lazy: false,
|
|
350
|
+
expandAll: true,
|
|
351
|
+
reserve: true,
|
|
352
|
+
},
|
|
353
|
+
treeIdentityConfig: {
|
|
354
|
+
physicalIdField: "id",
|
|
355
|
+
rootParentValue: 0,
|
|
356
|
+
serverGeneratesRowField: true,
|
|
357
|
+
persistedRowFieldChangeStrategy: "reject",
|
|
358
|
+
},
|
|
359
|
+
treeCopyConfig: {
|
|
360
|
+
rowFieldStrategy: "regenerate",
|
|
361
|
+
orphanParentStrategy: "detach",
|
|
362
|
+
lazyStrategy: "reject",
|
|
363
|
+
},
|
|
364
|
+
treeSubmitConfig: {
|
|
365
|
+
orphanParentStrategy: "preserve",
|
|
366
|
+
unloadedChildrenStrategy: "reject",
|
|
367
|
+
successReconcileStrategy: "reload",
|
|
368
|
+
},
|
|
369
|
+
treePasteInsertMode: "root",
|
|
322
370
|
wbsEnabled: false,
|
|
323
371
|
sortScriptCode: null,
|
|
324
372
|
importTemplateFile: null,
|
|
@@ -329,6 +377,7 @@ export const containers = [
|
|
|
329
377
|
showRules: [],
|
|
330
378
|
hideGridCheckBox: false,
|
|
331
379
|
isNotQueryAllPage: false,
|
|
380
|
+
isNotReadQueryAllPage: false,
|
|
332
381
|
isNotShowQueryButton: false,
|
|
333
382
|
|
|
334
383
|
exportItemColumns: [],
|
|
@@ -341,6 +390,7 @@ export const containers = [
|
|
|
341
390
|
category: "container",
|
|
342
391
|
icon: "text-field",
|
|
343
392
|
commonFlag: !0,
|
|
393
|
+
layoutType: "PC",
|
|
344
394
|
formItemFlag: !0,
|
|
345
395
|
widgetList: [],
|
|
346
396
|
options: {
|
|
@@ -459,6 +509,8 @@ export const containers = [
|
|
|
459
509
|
label: "模板模块",
|
|
460
510
|
detailTempContainer: true,
|
|
461
511
|
styleTempClass: 'd-temp-1',
|
|
512
|
+
// 默认栅格行列数:1=一行一列 2=一行两列 3=一行三列
|
|
513
|
+
rowColCount: 3,
|
|
462
514
|
customClass: "",
|
|
463
515
|
wfEnabled: false,
|
|
464
516
|
onCreated: "",
|
|
@@ -538,7 +590,7 @@ export const containers = [
|
|
|
538
590
|
* 直接拖进 tab-pane(见 docs/详情模块标签承载方案.md) */
|
|
539
591
|
type: "detail-pane",
|
|
540
592
|
category: "container",
|
|
541
|
-
icon: "grid
|
|
593
|
+
icon: "grid",
|
|
542
594
|
buttonWidgetList: [],
|
|
543
595
|
widgetList: [],
|
|
544
596
|
options: {
|
|
@@ -716,6 +768,7 @@ export const containers = [
|
|
|
716
768
|
category: "container",
|
|
717
769
|
icon: "tree-pane",
|
|
718
770
|
commonFlag: !0,
|
|
771
|
+
layoutType: "PC",
|
|
719
772
|
leftWidgetList: [],
|
|
720
773
|
widgetList: [],
|
|
721
774
|
options: {
|
|
@@ -747,7 +800,7 @@ export const containers = [
|
|
|
747
800
|
{
|
|
748
801
|
type: "h5-card-pane",
|
|
749
802
|
category: "container",
|
|
750
|
-
icon: "tab
|
|
803
|
+
icon: "tab",
|
|
751
804
|
internal: !0,
|
|
752
805
|
buttonWidgetList: [],
|
|
753
806
|
widgetList: [],
|
|
@@ -771,13 +824,13 @@ export const containers = [
|
|
|
771
824
|
name: "",
|
|
772
825
|
hidden: !1,
|
|
773
826
|
customClass: "",
|
|
774
|
-
fullWidth:
|
|
827
|
+
fullWidth: true,
|
|
775
828
|
},
|
|
776
829
|
},
|
|
777
830
|
{
|
|
778
831
|
type: "h5-table-cell",
|
|
779
832
|
category: "container",
|
|
780
|
-
icon: "table
|
|
833
|
+
icon: "table",
|
|
781
834
|
internal: !0,
|
|
782
835
|
widgetList: [],
|
|
783
836
|
merged: !1,
|
|
@@ -795,6 +848,7 @@ export const containers = [
|
|
|
795
848
|
icon: "tree",
|
|
796
849
|
category: "container",
|
|
797
850
|
commonFlag: !0,
|
|
851
|
+
layoutType: "PC",
|
|
798
852
|
widgetList: [],
|
|
799
853
|
options: {
|
|
800
854
|
name: "tree",
|
|
@@ -1174,6 +1228,7 @@ export const basicFields = [
|
|
|
1174
1228
|
type: "input-batch",
|
|
1175
1229
|
icon: "input-batch",
|
|
1176
1230
|
commonFlag: !0,
|
|
1231
|
+
layoutType: "PC",
|
|
1177
1232
|
formItemFlag: !0,
|
|
1178
1233
|
columnFlag: true,
|
|
1179
1234
|
tableField: null,
|
|
@@ -2071,6 +2126,7 @@ export const basicFields = [
|
|
|
2071
2126
|
type: "html-text",
|
|
2072
2127
|
icon: "html-text",
|
|
2073
2128
|
commonFlag: !0,
|
|
2129
|
+
layoutType: "PC",
|
|
2074
2130
|
formItemFlag: !1,
|
|
2075
2131
|
columnFlag: false,
|
|
2076
2132
|
options: {
|
|
@@ -2397,6 +2453,7 @@ export const advancedFields = [
|
|
|
2397
2453
|
type: "echart-pie",
|
|
2398
2454
|
icon: "echart-pie",
|
|
2399
2455
|
commonFlag: !0,
|
|
2456
|
+
layoutType: "PC",
|
|
2400
2457
|
formItemFlag: false,
|
|
2401
2458
|
options: {
|
|
2402
2459
|
name: "",
|
|
@@ -2501,6 +2558,7 @@ export const advancedFields = [
|
|
|
2501
2558
|
type: "echart-bar",
|
|
2502
2559
|
icon: "echart",
|
|
2503
2560
|
commonFlag: !0,
|
|
2561
|
+
layoutType: "PC",
|
|
2504
2562
|
formItemFlag: false,
|
|
2505
2563
|
options: {
|
|
2506
2564
|
name: "",
|
|
@@ -2691,6 +2749,7 @@ export const advancedFields = [
|
|
|
2691
2749
|
type: "echart-category",
|
|
2692
2750
|
icon: "echart-category",
|
|
2693
2751
|
commonFlag: !0,
|
|
2752
|
+
layoutType: "PC",
|
|
2694
2753
|
formItemFlag: false,
|
|
2695
2754
|
options: {
|
|
2696
2755
|
name: "",
|
|
@@ -3264,6 +3323,7 @@ export const advancedFields = [
|
|
|
3264
3323
|
icon: "el-icon-upload",
|
|
3265
3324
|
formItemFlag: !1,
|
|
3266
3325
|
commonFlag: !0,
|
|
3326
|
+
layoutType: "PC",
|
|
3267
3327
|
columnFlag: true,
|
|
3268
3328
|
tableField: null,
|
|
3269
3329
|
options: {
|
|
@@ -3277,6 +3337,9 @@ export const advancedFields = [
|
|
|
3277
3337
|
tableRef: "",
|
|
3278
3338
|
tableExportParam: "",
|
|
3279
3339
|
showImageAtTable: false,
|
|
3340
|
+
exportPageSize: null,
|
|
3341
|
+
maxQueryTotal: null,
|
|
3342
|
+
limitFileSize: null,
|
|
3280
3343
|
tableExportFlag: 1,
|
|
3281
3344
|
|
|
3282
3345
|
onCreated: "",
|
|
@@ -3293,6 +3356,7 @@ export const advancedFields = [
|
|
|
3293
3356
|
icon: "el-icon-upload",
|
|
3294
3357
|
formItemFlag: !1,
|
|
3295
3358
|
commonFlag: !0,
|
|
3359
|
+
layoutType: "PC",
|
|
3296
3360
|
columnFlag: true,
|
|
3297
3361
|
options: {
|
|
3298
3362
|
name: "",
|
|
@@ -3324,6 +3388,7 @@ export const advancedFields = [
|
|
|
3324
3388
|
icon: "el-icon-upload",
|
|
3325
3389
|
formItemFlag: !1,
|
|
3326
3390
|
commonFlag: !0,
|
|
3391
|
+
layoutType: "PC",
|
|
3327
3392
|
columnFlag: true,
|
|
3328
3393
|
options: {
|
|
3329
3394
|
name: "",
|
|
@@ -3339,6 +3404,9 @@ export const advancedFields = [
|
|
|
3339
3404
|
tableRef: "",
|
|
3340
3405
|
tableExportParam: "",
|
|
3341
3406
|
showImageAtTable: false,
|
|
3407
|
+
exportPageSize: null,
|
|
3408
|
+
maxQueryTotal: null,
|
|
3409
|
+
limitFileSize: null,
|
|
3342
3410
|
selectExportItemFlag: 1,
|
|
3343
3411
|
exportItemConditionEnabled: !1,
|
|
3344
3412
|
// 按钮级明细导出配置:三项各自独立,留空的那项沿用数据表格属性上维护的
|
|
@@ -3396,6 +3464,7 @@ export const advancedFields = [
|
|
|
3396
3464
|
type: "import-button",
|
|
3397
3465
|
icon: "el-icon-download",
|
|
3398
3466
|
commonFlag: !0,
|
|
3467
|
+
layoutType: "PC",
|
|
3399
3468
|
columnFlag: true,
|
|
3400
3469
|
formItemFlag: !1,
|
|
3401
3470
|
options: {
|
|
@@ -3426,12 +3495,19 @@ export const advancedFields = [
|
|
|
3426
3495
|
...defaultWidgetShowRuleConfig,
|
|
3427
3496
|
importMultiple: false,
|
|
3428
3497
|
importMultiSize: 1,
|
|
3498
|
+
// 批量导入时给每行补一层实体信封以承载附件列;默认关=仍发裸行数组
|
|
3499
|
+
importMultiAttachEnvelope: false,
|
|
3429
3500
|
importFileLimitSize: 200,
|
|
3430
3501
|
importEntity: "",
|
|
3431
3502
|
importAttachCode: "",
|
|
3432
3503
|
importAttachName: "",
|
|
3433
3504
|
importScriptCode: "",
|
|
3434
3505
|
onBeforeImport: "",
|
|
3506
|
+
// 逐行补默认值脚本:返回对象,Object.assign 到该行后再发包
|
|
3507
|
+
importDefaultValue: "",
|
|
3508
|
+
onValidateRow: "",
|
|
3509
|
+
// 必填校验方式:"" 默认(逐行标记失败)/ "strict" 解析期整批硬拦 / "off" 不校验
|
|
3510
|
+
requiredCheckMode: "",
|
|
3435
3511
|
enabledImportPreHandle: false,
|
|
3436
3512
|
tableRef: "",
|
|
3437
3513
|
onSuccessImport: "",
|
|
@@ -3448,6 +3524,7 @@ export const advancedFields = [
|
|
|
3448
3524
|
type: "import2-button",
|
|
3449
3525
|
icon: "el-icon-download",
|
|
3450
3526
|
commonFlag: !0,
|
|
3527
|
+
layoutType: "PC",
|
|
3451
3528
|
columnFlag: true,
|
|
3452
3529
|
formItemFlag: !1,
|
|
3453
3530
|
options: {
|
|
@@ -3481,6 +3558,24 @@ export const advancedFields = [
|
|
|
3481
3558
|
importAttachCode: "",
|
|
3482
3559
|
importAttachName: "",
|
|
3483
3560
|
tableRef: "",
|
|
3561
|
+
// 进度框形态:逐行校验 + 成功/失败计数 + 结果表。
|
|
3562
|
+
// 默认关闭 —— 关闭时是"全屏 loading + 整批入表"的老链路,存量表单无感知。
|
|
3563
|
+
showProgressDialog: false,
|
|
3564
|
+
// 进度框形态下每行怎么处理:"table" 塞入关联表格;"script" 交给 onImportRow 逐行脚本
|
|
3565
|
+
importMode: "table",
|
|
3566
|
+
// 前台校验通过后,整批一次送给后台校验并补字段;默认关=不发请求
|
|
3567
|
+
backendValidateEnabled: false,
|
|
3568
|
+
importScriptCode: "",
|
|
3569
|
+
onImportParams: "",
|
|
3570
|
+
// 内嵌图片三段式:把 Excel 里贴的图取回来填进 attachments_ 列。
|
|
3571
|
+
// 依赖进度框,仅在 showProgressDialog 打开时生效
|
|
3572
|
+
enabledImportPreHandle: false,
|
|
3573
|
+
onImportRow: "",
|
|
3574
|
+
onValidateRow: "",
|
|
3575
|
+
// 入表前按该字段去重,空则不去重
|
|
3576
|
+
dedupField: "",
|
|
3577
|
+
// 必填校验方式:"" 默认(有逐行通道就逐行标记,否则整批拦)/ "strict" 整批硬拦 / "off" 不校验
|
|
3578
|
+
requiredCheckMode: "",
|
|
3484
3579
|
onConfirmImportEnabled: false,
|
|
3485
3580
|
onConfirmImport: "",
|
|
3486
3581
|
onSuccessImport: "",
|
|
@@ -3496,6 +3591,7 @@ export const advancedFields = [
|
|
|
3496
3591
|
type: "print-button",
|
|
3497
3592
|
icon: "el-icon-printer",
|
|
3498
3593
|
commonFlag: !0,
|
|
3594
|
+
layoutType: "PC",
|
|
3499
3595
|
columnFlag: true,
|
|
3500
3596
|
formItemFlag: !1,
|
|
3501
3597
|
options: {
|
|
@@ -3537,6 +3633,7 @@ export const advancedFields = [
|
|
|
3537
3633
|
type: "print-detail-button",
|
|
3538
3634
|
icon: "el-icon-printer",
|
|
3539
3635
|
commonFlag: !0,
|
|
3636
|
+
layoutType: "PC",
|
|
3540
3637
|
columnFlag: false,
|
|
3541
3638
|
formItemFlag: !1,
|
|
3542
3639
|
options: {
|
|
@@ -3654,6 +3751,7 @@ export const advancedFields = [
|
|
|
3654
3751
|
type: "census",
|
|
3655
3752
|
icon: "census",
|
|
3656
3753
|
commonFlag: !0,
|
|
3754
|
+
layoutType: "PC",
|
|
3657
3755
|
formItemFlag: false,
|
|
3658
3756
|
options: {
|
|
3659
3757
|
name: "",
|
|
@@ -3720,6 +3818,7 @@ export const advancedFields = [
|
|
|
3720
3818
|
category: "container",
|
|
3721
3819
|
icon: "tree-table",
|
|
3722
3820
|
commonFlag: !0,
|
|
3821
|
+
layoutType: "PC",
|
|
3723
3822
|
formItemFlag: !0,
|
|
3724
3823
|
rows: [],
|
|
3725
3824
|
options: {
|
|
@@ -3764,7 +3863,7 @@ export const advancedFields = [
|
|
|
3764
3863
|
},
|
|
3765
3864
|
{
|
|
3766
3865
|
type: "dropdown-item",
|
|
3767
|
-
icon: "tab
|
|
3866
|
+
icon: "tab",
|
|
3768
3867
|
internal: !0,
|
|
3769
3868
|
options: {
|
|
3770
3869
|
name: "",
|
|
@@ -3796,6 +3895,7 @@ export const advancedFields = [
|
|
|
3796
3895
|
type: "gantt",
|
|
3797
3896
|
icon: "chart",
|
|
3798
3897
|
commonFlag: !0,
|
|
3898
|
+
layoutType: "PC",
|
|
3799
3899
|
formItemFlag: !1,
|
|
3800
3900
|
options: {
|
|
3801
3901
|
name: "",
|
|
@@ -3818,6 +3918,7 @@ export const advancedFields = [
|
|
|
3818
3918
|
type: "download-button",
|
|
3819
3919
|
icon: "el-icon-download",
|
|
3820
3920
|
commonFlag: !0,
|
|
3921
|
+
layoutType: "PC",
|
|
3821
3922
|
columnFlag: true,
|
|
3822
3923
|
formItemFlag: !1,
|
|
3823
3924
|
options: {
|
|
@@ -3856,6 +3957,7 @@ export const advancedFields = [
|
|
|
3856
3957
|
type: "vue-page",
|
|
3857
3958
|
icon: "vue-sfc",
|
|
3858
3959
|
commonFlag: !0,
|
|
3960
|
+
layoutType: "PC",
|
|
3859
3961
|
formItemFlag: !1,
|
|
3860
3962
|
columnFlag: false,
|
|
3861
3963
|
options: {
|
|
@@ -4104,6 +4206,8 @@ export const businessFields = [
|
|
|
4104
4206
|
commonFlag: !0,
|
|
4105
4207
|
columnFlag: true,
|
|
4106
4208
|
formItemFlag: !0,
|
|
4209
|
+
/* H5 业务组件只保留创建人/更新人/创建时间/更新时间 */
|
|
4210
|
+
layoutType: "PC",
|
|
4107
4211
|
tableField: null,
|
|
4108
4212
|
options: {
|
|
4109
4213
|
...vabsearchConfig,
|
|
@@ -4127,6 +4231,7 @@ export const businessFields = [
|
|
|
4127
4231
|
commonFlag: !0,
|
|
4128
4232
|
columnFlag: true,
|
|
4129
4233
|
formItemFlag: !0,
|
|
4234
|
+
layoutType: "PC",
|
|
4130
4235
|
tableField: null,
|
|
4131
4236
|
options: {
|
|
4132
4237
|
...vabsearchConfig,
|
|
@@ -4151,6 +4256,7 @@ export const businessFields = [
|
|
|
4151
4256
|
commonFlag: !0,
|
|
4152
4257
|
columnFlag: true,
|
|
4153
4258
|
formItemFlag: !0,
|
|
4259
|
+
layoutType: "PC",
|
|
4154
4260
|
tableField: null,
|
|
4155
4261
|
options: {
|
|
4156
4262
|
...projectTagConfig,
|
|
@@ -4172,6 +4278,7 @@ export const businessFields = [
|
|
|
4172
4278
|
commonFlag: !0,
|
|
4173
4279
|
columnFlag: true,
|
|
4174
4280
|
formItemFlag: !0,
|
|
4281
|
+
layoutType: "PC",
|
|
4175
4282
|
tableField: null,
|
|
4176
4283
|
options: {
|
|
4177
4284
|
...projectTagConfig,
|
|
@@ -4234,6 +4341,7 @@ export const businessFields = [
|
|
|
4234
4341
|
commonFlag: !0,
|
|
4235
4342
|
columnFlag: true,
|
|
4236
4343
|
formItemFlag: !1,
|
|
4344
|
+
layoutType: "PC",
|
|
4237
4345
|
options: {
|
|
4238
4346
|
name: "",
|
|
4239
4347
|
label: "复制",
|
|
@@ -4264,6 +4372,7 @@ export const businessFields = [
|
|
|
4264
4372
|
commonFlag: !0,
|
|
4265
4373
|
columnFlag: true,
|
|
4266
4374
|
formItemFlag: !1,
|
|
4375
|
+
layoutType: "PC",
|
|
4267
4376
|
options: {
|
|
4268
4377
|
name: "",
|
|
4269
4378
|
// label: "暂存",
|
|
@@ -4286,6 +4395,7 @@ export const businessFields = [
|
|
|
4286
4395
|
type: "oplog",
|
|
4287
4396
|
icon: "list",
|
|
4288
4397
|
commonFlag: !0,
|
|
4398
|
+
layoutType: "PC",
|
|
4289
4399
|
formItemFlag: !1,
|
|
4290
4400
|
options: {
|
|
4291
4401
|
name: "",
|
|
@@ -4308,6 +4418,7 @@ export const businessFields = [
|
|
|
4308
4418
|
icon: "file-upload-field",
|
|
4309
4419
|
commonFlag: !0,
|
|
4310
4420
|
formItemFlag: !0,
|
|
4421
|
+
layoutType: "PC",
|
|
4311
4422
|
tableField: null,
|
|
4312
4423
|
options: {
|
|
4313
4424
|
name: "",
|
|
@@ -4653,6 +4764,28 @@ export const widgetPanelOrder = {
|
|
|
4653
4764
|
],
|
|
4654
4765
|
};
|
|
4655
4766
|
|
|
4767
|
+
/**
|
|
4768
|
+
* H5 版式左侧组件面板白名单(仅影响面板展示,不影响已有模板渲染与按 type 查找)。
|
|
4769
|
+
* 容器:H5详情 / H5列表 / H5卡片 / h5表格
|
|
4770
|
+
* 基础字段:文本、状态、凭证、下拉选项
|
|
4771
|
+
* (status / vabUpload 定义在 advancedFields,面板会归入基础字段)
|
|
4772
|
+
* 业务组件:创建人、更新人、创建时间、更新时间
|
|
4773
|
+
*/
|
|
4774
|
+
export const h5PanelAllowTypes = [
|
|
4775
|
+
"detail-h5",
|
|
4776
|
+
"list-h5",
|
|
4777
|
+
"h5-card",
|
|
4778
|
+
"h5-table",
|
|
4779
|
+
"text",
|
|
4780
|
+
"status",
|
|
4781
|
+
"vabUpload",
|
|
4782
|
+
"select",
|
|
4783
|
+
"create_by-text",
|
|
4784
|
+
"modify_by-text",
|
|
4785
|
+
"create_date-text",
|
|
4786
|
+
"modify_date-text",
|
|
4787
|
+
];
|
|
4788
|
+
|
|
4656
4789
|
/**
|
|
4657
4790
|
* H5 版式:所有表单字段统一具备 h5Span(整宽/半宽)。
|
|
4658
4791
|
*
|