skhj-variant 2.1.12
Sign up to get free protection for your applications and to get access to all the features.
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/package.iml +12 -0
- package/README.md +180 -0
- package/babel.config.js +5 -0
- package/dist/build/css/app.9b74af27.css +1 -0
- package/dist/build/css/chunk-vendors.a16c4353.css +1 -0
- package/dist/build/favicon.ico +0 -0
- package/dist/build/fonts/element-icons.535877f5.woff +0 -0
- package/dist/build/fonts/element-icons.732389de.ttf +0 -0
- package/dist/build/img/t1.21b2c158.png +0 -0
- package/dist/build/img/t2.6991670f.png +0 -0
- package/dist/build/img/t3.49724600.png +0 -0
- package/dist/build/img/t4.4acb1808.png +0 -0
- package/dist/build/img/t5.e5e1948c.png +0 -0
- package/dist/build/img/t6.40836551.png +0 -0
- package/dist/build/img/t7.94cf1cc9.png +0 -0
- package/dist/build/img/t8.9291e9c1.png +0 -0
- package/dist/build/index.html +1 -0
- package/dist/build/js/app.dbcf7751.js +1 -0
- package/dist/build/js/chunk-1d66e3dd.7d669272.js +23 -0
- package/dist/build/js/chunk-vendors.be32fc27.js +24 -0
- package/dist/build/report.html +53 -0
- package/dist/lib/VFormDesigner.common-report.html +53 -0
- package/dist/lib/VFormDesigner.common.1.js +14583 -0
- package/dist/lib/VFormDesigner.common.1.js.map +1 -0
- package/dist/lib/VFormDesigner.common.js +71232 -0
- package/dist/lib/VFormDesigner.common.js.map +1 -0
- package/dist/lib/VFormDesigner.css +1 -0
- package/dist/lib/VFormDesigner.umd-report.html +53 -0
- package/dist/lib/VFormDesigner.umd.1.js +14583 -0
- package/dist/lib/VFormDesigner.umd.1.js.map +1 -0
- package/dist/lib/VFormDesigner.umd.js +71242 -0
- package/dist/lib/VFormDesigner.umd.js.map +1 -0
- package/dist/lib/VFormDesigner.umd.min-report.html +53 -0
- package/dist/lib/VFormDesigner.umd.min.1.js +23 -0
- package/dist/lib/VFormDesigner.umd.min.js +19 -0
- package/dist/lib/demo.html +10 -0
- package/dist/lib/img/t1.21b2c158.png +0 -0
- package/dist/lib/img/t2.6991670f.png +0 -0
- package/dist/lib/img/t3.49724600.png +0 -0
- package/dist/lib/img/t4.4acb1808.png +0 -0
- package/dist/lib/img/t5.e5e1948c.png +0 -0
- package/dist/lib/img/t6.40836551.png +0 -0
- package/dist/lib/img/t7.94cf1cc9.png +0 -0
- package/dist/lib/img/t8.9291e9c1.png +0 -0
- package/dist/lib-render/VFormRender.common-report.html +53 -0
- package/dist/lib-render/VFormRender.common.1.js +14583 -0
- package/dist/lib-render/VFormRender.common.1.js.map +1 -0
- package/dist/lib-render/VFormRender.common.js +32421 -0
- package/dist/lib-render/VFormRender.common.js.map +1 -0
- package/dist/lib-render/VFormRender.css +1 -0
- package/dist/lib-render/VFormRender.umd-report.html +53 -0
- package/dist/lib-render/VFormRender.umd.1.js +14583 -0
- package/dist/lib-render/VFormRender.umd.1.js.map +1 -0
- package/dist/lib-render/VFormRender.umd.js +32431 -0
- package/dist/lib-render/VFormRender.umd.js.map +1 -0
- package/dist/lib-render/VFormRender.umd.min-report.html +53 -0
- package/dist/lib-render/VFormRender.umd.min.1.js +23 -0
- package/dist/lib-render/VFormRender.umd.min.js +15 -0
- package/dist/lib-render/demo.html +10 -0
- package/index_template/index_dev.html +19 -0
- package/index_template/index_prod.html +28 -0
- package/index_template/vform_demo.gif +0 -0
- package/install-render.js +29 -0
- package/install.js +41 -0
- package/jsconfig.json +10 -0
- package/license.txt +8 -0
- package/package.json +58 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +28 -0
- package/src/App.vue +22 -0
- package/src/assets/ft-images/t1.png +0 -0
- package/src/assets/ft-images/t2.png +0 -0
- package/src/assets/ft-images/t3.png +0 -0
- package/src/assets/ft-images/t4.png +0 -0
- package/src/assets/ft-images/t5.png +0 -0
- package/src/assets/ft-images/t6.png +0 -0
- package/src/assets/ft-images/t7.png +0 -0
- package/src/assets/ft-images/t8.png +0 -0
- package/src/assets/style.scss +92 -0
- package/src/assets/vform-logo.png +0 -0
- package/src/components/code-editor/index.vue +130 -0
- package/src/components/form-designer/designer.js +926 -0
- package/src/components/form-designer/form-widget/container-widget/container-wrapper.vue +107 -0
- package/src/components/form-designer/form-widget/container-widget/containerMixin.js +85 -0
- package/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue +310 -0
- package/src/components/form-designer/form-widget/container-widget/grid-widget.vue +89 -0
- package/src/components/form-designer/form-widget/container-widget/index.js +24 -0
- package/src/components/form-designer/form-widget/container-widget/tab-widget.vue +119 -0
- package/src/components/form-designer/form-widget/container-widget/table-cell-widget.vue +341 -0
- package/src/components/form-designer/form-widget/container-widget/table-widget.vue +111 -0
- package/src/components/form-designer/form-widget/field-widget/button-widget.vue +87 -0
- package/src/components/form-designer/form-widget/field-widget/cascader-widget.vue +104 -0
- package/src/components/form-designer/form-widget/field-widget/checkbox-widget.vue +105 -0
- package/src/components/form-designer/form-widget/field-widget/color-widget.vue +99 -0
- package/src/components/form-designer/form-widget/field-widget/date-range-widget.vue +104 -0
- package/src/components/form-designer/form-widget/field-widget/date-widget.vue +103 -0
- package/src/components/form-designer/form-widget/field-widget/divider-widget.vue +83 -0
- package/src/components/form-designer/form-widget/field-widget/fieldMixin.js +535 -0
- package/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue +271 -0
- package/src/components/form-designer/form-widget/field-widget/form-item-wrapper.vue +331 -0
- package/src/components/form-designer/form-widget/field-widget/html-text-widget.vue +82 -0
- package/src/components/form-designer/form-widget/field-widget/index.js +10 -0
- package/src/components/form-designer/form-widget/field-widget/input-widget.vue +112 -0
- package/src/components/form-designer/form-widget/field-widget/number-widget.vue +103 -0
- package/src/components/form-designer/form-widget/field-widget/picture-upload-widget.vue +226 -0
- package/src/components/form-designer/form-widget/field-widget/radio-widget.vue +105 -0
- package/src/components/form-designer/form-widget/field-widget/rate-widget.vue +102 -0
- package/src/components/form-designer/form-widget/field-widget/rich-editor-widget.vue +122 -0
- package/src/components/form-designer/form-widget/field-widget/select-widget.vue +115 -0
- package/src/components/form-designer/form-widget/field-widget/slider-widget.vue +100 -0
- package/src/components/form-designer/form-widget/field-widget/static-content-wrapper.vue +189 -0
- package/src/components/form-designer/form-widget/field-widget/static-text-widget.vue +82 -0
- package/src/components/form-designer/form-widget/field-widget/switch-widget.vue +101 -0
- package/src/components/form-designer/form-widget/field-widget/textarea-widget.vue +99 -0
- package/src/components/form-designer/form-widget/field-widget/time-range-widget.vue +104 -0
- package/src/components/form-designer/form-widget/field-widget/time-widget.vue +103 -0
- package/src/components/form-designer/form-widget/index.vue +260 -0
- package/src/components/form-designer/index.vue +448 -0
- package/src/components/form-designer/setting-panel/form-setting.vue +324 -0
- package/src/components/form-designer/setting-panel/index.vue +328 -0
- package/src/components/form-designer/setting-panel/option-items-setting.vue +234 -0
- package/src/components/form-designer/setting-panel/property-editor/allowCreate-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/appendButton-editor.vue +28 -0
- package/src/components/form-designer/setting-panel/property-editor/appendButtonDisabled-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/automaticDropdown-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/border-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/buttonIcon-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/buttonStyle-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/clearable-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/columnWidth-editor.vue +40 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid/colHeight-editor.vue +28 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +81 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid-col/grid-col-responsive-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/container-grid-col/grid-col-span-editor.vue +48 -0
- package/src/components/form-designer/setting-panel/property-editor/container-sub-form/showBlankRow-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/container-sub-form/showRowNumber-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/container-sub-form/sub-form-labelAlign-editor.vue +36 -0
- package/src/components/form-designer/setting-panel/property-editor/container-tab/tab-customClass-editor.vue +119 -0
- package/src/components/form-designer/setting-panel/property-editor/container-table-cell/cellHeight-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/container-table-cell/cellWidth-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/customClass-editor.vue +40 -0
- package/src/components/form-designer/setting-panel/property-editor/defaultValue-editor.vue +25 -0
- package/src/components/form-designer/setting-panel/property-editor/disabled-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/displayStyle-editor.vue +26 -0
- package/src/components/form-designer/setting-panel/property-editor/editable-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/endPlaceholder-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +12 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onBeforeUpload-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onBlur-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onChange-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onCreated-editor.vue +31 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onFocus-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onInput-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onMounted-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onRemoteQuery-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onSubFormRowAdd-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onSubFormRowChange-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onSubFormRowDelete-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onSubFormRowInsert-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onUploadError-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onUploadSuccess-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/event-handler/onValidate-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/field-button/button-type-editor.vue +32 -0
- package/src/components/form-designer/setting-panel/property-editor/field-button/circle-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-button/icon-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-button/plain-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-button/round-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-color/color-defaultValue-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-type-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-valueFormat-editor.vue +26 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-type-editor.vue +27 -0
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-valueFormat-editor.vue +26 -0
- package/src/components/form-designer/setting-panel/property-editor/field-divider/contentPosition-editor.vue +27 -0
- package/src/components/form-designer/setting-panel/property-editor/field-file-upload/file-upload-fileTypes-editor.vue +44 -0
- package/src/components/form-designer/setting-panel/property-editor/field-html-text/htmlContent-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-number/controlsPosition-editor.vue +27 -0
- package/src/components/form-designer/setting-panel/property-editor/field-picture-upload/picture-upload-fileTypes-editor.vue +43 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/allowHalf-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/highThreshold-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/lowThreshold-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +26 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/rate-max-editor.vue +25 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/showScore-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-rate/showText-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-slider/range-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-slider/showStops-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-slider/vertical-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-switch/activeColor-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-switch/activeText-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-switch/inactiveColor-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-switch/inactiveText-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-switch/switch-defaultValue-editor.vue +25 -0
- package/src/components/form-designer/setting-panel/property-editor/field-switch/switchWidth-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue +27 -0
- package/src/components/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue +27 -0
- package/src/components/form-designer/setting-panel/property-editor/fileMaxSize-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/filterable-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/hidden-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/index.js +10 -0
- package/src/components/form-designer/setting-panel/property-editor/label-editor.vue +30 -0
- package/src/components/form-designer/setting-panel/property-editor/labelAlign-editor.vue +42 -0
- package/src/components/form-designer/setting-panel/property-editor/labelHidden-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +28 -0
- package/src/components/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +37 -0
- package/src/components/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/labelWidth-editor.vue +25 -0
- package/src/components/form-designer/setting-panel/property-editor/limit-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/max-editor.vue +39 -0
- package/src/components/form-designer/setting-panel/property-editor/maxLength-editor.vue +40 -0
- package/src/components/form-designer/setting-panel/property-editor/min-editor.vue +40 -0
- package/src/components/form-designer/setting-panel/property-editor/minLength-editor.vue +41 -0
- package/src/components/form-designer/setting-panel/property-editor/multiple-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/multipleSelect-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/name-editor.vue +80 -0
- package/src/components/form-designer/setting-panel/property-editor/optionItems-editor.vue +28 -0
- package/src/components/form-designer/setting-panel/property-editor/placeholder-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/precision-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/prefixIcon-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/propertyMixin.js +47 -0
- package/src/components/form-designer/setting-panel/property-editor/readonly-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/remote-editor.vue +25 -0
- package/src/components/form-designer/setting-panel/property-editor/required-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/rows-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/showFileList-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/showPassword-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/showWordLimit-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/size-editor.vue +38 -0
- package/src/components/form-designer/setting-panel/property-editor/startPlaceholder-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/step-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/suffixIcon-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/type-editor.vue +33 -0
- package/src/components/form-designer/setting-panel/property-editor/uploadTip-editor.vue +24 -0
- package/src/components/form-designer/setting-panel/property-editor/uploadURL-editor.vue +28 -0
- package/src/components/form-designer/setting-panel/property-editor/validation-editor.vue +48 -0
- package/src/components/form-designer/setting-panel/property-editor/validationHint-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor/withCredentials-editor.vue +23 -0
- package/src/components/form-designer/setting-panel/property-editor-factory.js +173 -0
- package/src/components/form-designer/setting-panel/propertyRegister.js +198 -0
- package/src/components/form-designer/toolbar-panel/index.vue +1070 -0
- package/src/components/form-designer/widget-panel/index.vue +530 -0
- package/src/components/form-designer/widget-panel/templatesConfig.js +58 -0
- package/src/components/form-designer/widget-panel/widgetsConfig.js +966 -0
- package/src/components/form-render/container-item/container-item-wrapper.vue +34 -0
- package/src/components/form-render/container-item/containerItemMixin.js +136 -0
- package/src/components/form-render/container-item/grid-col-item.vue +115 -0
- package/src/components/form-render/container-item/grid-item.vue +54 -0
- package/src/components/form-render/container-item/index.js +24 -0
- package/src/components/form-render/container-item/sub-form-item.vue +405 -0
- package/src/components/form-render/container-item/tab-item.vue +89 -0
- package/src/components/form-render/container-item/table-cell-item.vue +61 -0
- package/src/components/form-render/container-item/table-item.vue +65 -0
- package/src/components/form-render/index.vue +712 -0
- package/src/components/form-render/refMixin.js +22 -0
- package/src/components/svg-icon/index.vue +49 -0
- package/src/components/v-table/index.vue +106 -0
- package/src/extension/extension-helper.js +23 -0
- package/src/extension/extension-loader.js +112 -0
- package/src/extension/samples/alert/alert-widget.vue +72 -0
- package/src/extension/samples/card/card-item.vue +90 -0
- package/src/extension/samples/card/card-widget.vue +119 -0
- package/src/extension/samples/extension-schema.js +36 -0
- package/src/extension/samples/extension-sfc-generator.js +50 -0
- package/src/iconfont/iconfont.css +29 -0
- package/src/iconfont/iconfont.eot +0 -0
- package/src/iconfont/iconfont.js +1 -0
- package/src/iconfont/iconfont.json +37 -0
- package/src/iconfont/iconfont.svg +35 -0
- package/src/iconfont/iconfont.ttf +0 -0
- package/src/iconfont/iconfont.woff +0 -0
- package/src/iconfont/iconfont.woff2 +0 -0
- package/src/icons/index.js +9 -0
- package/src/icons/svg/alert.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/checkbox-field.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/custom-component.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/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/html-text.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/picture-upload-field.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/section.svg +1 -0
- package/src/icons/svg/select-field.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/static-text.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/textarea-field.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/undo.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/index.js +41 -0
- package/src/lang/en-US.js +321 -0
- package/src/lang/en-US_extension.js +26 -0
- package/src/lang/en-US_render.js +38 -0
- package/src/lang/zh-CN.js +321 -0
- package/src/lang/zh-CN_extension.js +26 -0
- package/src/lang/zh-CN_render.js +38 -0
- package/src/main.js +29 -0
- package/src/styles/global.scss +103 -0
- package/src/styles/index.scss +15 -0
- package/src/utils/beautifierLoader.js +77 -0
- package/src/utils/code-generator.js +91 -0
- package/src/utils/config.js +19 -0
- package/src/utils/debug-console.js +7 -0
- package/src/utils/directive.js +74 -0
- package/src/utils/i18n.js +70 -0
- package/src/utils/sfc-generator.js +583 -0
- package/src/utils/util.js +232 -0
- package/src/utils/validators.js +127 -0
- package/src/utils/vue2js-generator.js +144 -0
- package/src/utils/vue3js-generator.js +70 -0
- package/vue.config.js +92 -0
@@ -0,0 +1,321 @@
|
|
1
|
+
export default {
|
2
|
+
application: {
|
3
|
+
'zh-CN': '简体中文',
|
4
|
+
'en-US': 'English',
|
5
|
+
productTitle: 'Online Form Designer',
|
6
|
+
github: 'GitHub',
|
7
|
+
document: 'Docs',
|
8
|
+
qqGroup: 'WeChat Group',
|
9
|
+
deployment: 'Deployment',
|
10
|
+
subscription: 'Subscription',
|
11
|
+
},
|
12
|
+
|
13
|
+
designer: {
|
14
|
+
componentLib: 'Components',
|
15
|
+
formLib: 'Templates',
|
16
|
+
containerTitle: 'Container',
|
17
|
+
dragHandlerHint: 'drag container or field to layout center',
|
18
|
+
dragAction: 'drag',
|
19
|
+
basicFieldTitle: 'Basic Field',
|
20
|
+
advancedFieldTitle: 'Advanced Field',
|
21
|
+
customFieldTitle: 'Customized Field',
|
22
|
+
|
23
|
+
noWidgetHint: 'Please select a widget from the left list, drag and drop to this container.',
|
24
|
+
|
25
|
+
widgetLabel: {
|
26
|
+
grid: 'Grid',
|
27
|
+
table: 'Table',
|
28
|
+
tab: 'Tab',
|
29
|
+
section: 'Section',
|
30
|
+
'sub-form': 'SubForm',
|
31
|
+
'grid-col': 'GridCol',
|
32
|
+
'table-cell': 'TableCell',
|
33
|
+
'tab-pane': 'TabPane',
|
34
|
+
'data-table': 'DataTable',
|
35
|
+
|
36
|
+
input: 'Input',
|
37
|
+
textarea: 'Textarea',
|
38
|
+
number: 'InputNumber',
|
39
|
+
radio: 'Radio',
|
40
|
+
checkbox: 'Checkbox',
|
41
|
+
select: 'Select',
|
42
|
+
time: 'Time',
|
43
|
+
'time-range': 'Time range',
|
44
|
+
date: 'Date',
|
45
|
+
'date-range': 'Date range',
|
46
|
+
switch: 'Switch',
|
47
|
+
rate: 'Rate',
|
48
|
+
color: 'ColorPicker',
|
49
|
+
slider: 'Slider',
|
50
|
+
'static-text': 'Text',
|
51
|
+
'html-text': 'HTML',
|
52
|
+
button: 'Button',
|
53
|
+
divider: 'Divider',
|
54
|
+
|
55
|
+
'picture-upload': 'Picture',
|
56
|
+
'file-upload': 'File',
|
57
|
+
'rich-editor': 'Rich Editor',
|
58
|
+
cascader: 'Cascader',
|
59
|
+
|
60
|
+
custom: 'Custom Component',
|
61
|
+
slot: 'Slot'
|
62
|
+
},
|
63
|
+
|
64
|
+
hint: {
|
65
|
+
selectParentWidget: 'Select parent of this widget',
|
66
|
+
moveUpWidget: 'Move up this widget',
|
67
|
+
moveDownWidget: 'Move down this widget',
|
68
|
+
cloneWidget: 'Clone this widget',
|
69
|
+
insertRow: 'Insert new row',
|
70
|
+
insertColumn: 'Insert new column',
|
71
|
+
remove: 'Remove this widget',
|
72
|
+
cellSetting: 'Cell setting',
|
73
|
+
dragHandler: 'Drag handler',
|
74
|
+
copyField: 'Copy field widget',
|
75
|
+
onlyFieldWidgetAcceptable: 'Only field widget can be dragged into sub-form',
|
76
|
+
moveUpFirstChildHint: 'First child can not be move up',
|
77
|
+
moveDownLastChildHint: 'Last child can not be move down',
|
78
|
+
|
79
|
+
closePreview: 'Close',
|
80
|
+
copyJson: 'Copy',
|
81
|
+
saveFormJson: 'Save As File',
|
82
|
+
copyVueCode: 'Copy Vue Code',
|
83
|
+
copyHtmlCode: 'Copy HTML Code',
|
84
|
+
copyJsonSuccess: 'Copy succeed',
|
85
|
+
importJsonSuccess: 'Import succeed',
|
86
|
+
copyJsonFail: 'Copy failed',
|
87
|
+
copyVueCodeSuccess: 'Copy succeed',
|
88
|
+
copyVueCodeFail: 'Copy failed',
|
89
|
+
copyHtmlCodeSuccess: 'Copy succeed',
|
90
|
+
copyHtmlCodeFail: 'Copy failed',
|
91
|
+
saveVueCode: 'Save Vue File',
|
92
|
+
saveHtmlCode: 'Save Html File',
|
93
|
+
getFormData: 'Get Data',
|
94
|
+
resetForm: 'Reset',
|
95
|
+
disableForm: 'Disable',
|
96
|
+
enableForm: 'Enable',
|
97
|
+
exportFormData: 'Form Data',
|
98
|
+
copyFormData: 'Copy',
|
99
|
+
saveFormData: 'Save As File',
|
100
|
+
copyVue2SFC: 'Copy Vue2',
|
101
|
+
copyVue3SFC: 'Copy Vue3',
|
102
|
+
copySFCFail: 'Copy failed',
|
103
|
+
copySFCSuccess: 'Copy succeed',
|
104
|
+
saveVue2SFC: 'Save As Vue2',
|
105
|
+
saveVue3SFC: 'Save As Vue3',
|
106
|
+
fileNameForSave: 'File name:',
|
107
|
+
saveFileTitle: 'Save as File',
|
108
|
+
fileNameInputPlaceholder: 'Enter the file name',
|
109
|
+
sampleLoadedSuccess: 'Example loaded successfully',
|
110
|
+
sampleLoadedFail: 'Sample load failed',
|
111
|
+
loadFormTemplate: 'Load This',
|
112
|
+
loadFormTemplateHint: 'Are you sure to load this template?',
|
113
|
+
loadFormTemplateSuccess: 'Load form template success!',
|
114
|
+
loadFormTemplateFailed: 'Load form template failed.',
|
115
|
+
currentNodeCannotBeSelected: 'The current node cannot be selected.',
|
116
|
+
|
117
|
+
widgetSetting: 'Widget Config',
|
118
|
+
formSetting: 'Form Config',
|
119
|
+
|
120
|
+
prompt: 'Prompt',
|
121
|
+
confirm: 'OK',
|
122
|
+
cancel: 'Cancel',
|
123
|
+
import: 'Import',
|
124
|
+
importJsonHint: 'The code to be imported should have the following JSON format.',
|
125
|
+
invalidOptionsData: 'Invalid data of options:',
|
126
|
+
lastPaneCannotBeDeleted: 'The last pane cannot be deleted.',
|
127
|
+
duplicateName: 'Duplicate name: ',
|
128
|
+
nameRequired: 'Name required.',
|
129
|
+
|
130
|
+
numberValidator: 'Number',
|
131
|
+
letterValidator: 'Letter',
|
132
|
+
letterAndNumberValidator: 'LetterAndNumber',
|
133
|
+
mobilePhoneValidator: 'MobilePhone',
|
134
|
+
emailValidator: 'Email',
|
135
|
+
urlValidator: 'URL',
|
136
|
+
noChineseValidator: 'Non-Chinese',
|
137
|
+
chineseValidator: 'Chinese',
|
138
|
+
|
139
|
+
rowspanNotConsistentForMergeEntireRow: 'Cells in this row don\'t have the same rowspan, operation failed.',
|
140
|
+
colspanNotConsistentForMergeEntireColumn: 'Cells in this column don\'t have the same colspan, operation failed.',
|
141
|
+
rowspanNotConsistentForDeleteEntireRow: 'Cells in this row don\'t have the same rowspan, operation failed.',
|
142
|
+
colspanNotConsistentForDeleteEntireColumn: 'Cells in this column don\'t have the same colspan, operation failed.',
|
143
|
+
lastColCannotBeDeleted: 'The last col cannot be deleted.',
|
144
|
+
lastRowCannotBeDeleted: 'The last row cannot be deleted.',
|
145
|
+
},
|
146
|
+
|
147
|
+
toolbar: {
|
148
|
+
undoHint: 'Undo',
|
149
|
+
redoHint: 'Redo',
|
150
|
+
pcLayout: 'PC',
|
151
|
+
padLayout: 'Pad',
|
152
|
+
mobileLayout: 'H5',
|
153
|
+
nodeTreeHint: 'Tree View Of Component Hierarchy',
|
154
|
+
nodeTreeTitle: 'Tree View Of Component Hierarchy',
|
155
|
+
clear: 'Clear',
|
156
|
+
preview: 'Preview',
|
157
|
+
importJson: 'Import JSON',
|
158
|
+
exportJson: 'Export JSON',
|
159
|
+
exportCode: 'Export Code',
|
160
|
+
generateCode: 'Generate Code',
|
161
|
+
generateSFC: 'Generate SFC',
|
162
|
+
},
|
163
|
+
|
164
|
+
setting: {
|
165
|
+
basicSetting: 'Basic Setting',
|
166
|
+
attributeSetting: 'Attribute Setting',
|
167
|
+
commonSetting: 'Common Setting',
|
168
|
+
advancedSetting: 'Advanced Setting',
|
169
|
+
eventSetting: 'Event Setting',
|
170
|
+
uniqueName: 'Unique Name',
|
171
|
+
editNameHelp: 'Press enter to confirm the modification',
|
172
|
+
label: 'Label',
|
173
|
+
displayType: 'Type',
|
174
|
+
defaultValue: 'Default Value',
|
175
|
+
placeholder: 'Placeholder',
|
176
|
+
startPlaceholder: 'Start Placeholder',
|
177
|
+
endPlaceholder: 'End Placeholder',
|
178
|
+
widgetColumnWidth: 'Width',
|
179
|
+
widgetSize: 'Size',
|
180
|
+
showStops: 'Show Stops',
|
181
|
+
displayStyle: 'Display Style',
|
182
|
+
inlineLayout: 'inline',
|
183
|
+
blockLayout: 'block',
|
184
|
+
buttonStyle: 'Show As Button',
|
185
|
+
border: 'Show Border',
|
186
|
+
labelWidth: 'Width Of Label',
|
187
|
+
rows: 'Rows',
|
188
|
+
labelHidden: 'Hide Label',
|
189
|
+
required: 'Required',
|
190
|
+
validation: 'Validation',
|
191
|
+
validationHelp: 'Regular expressions supported',
|
192
|
+
validationHint: 'Validation Hint',
|
193
|
+
readonly: 'Readonly',
|
194
|
+
disabled: 'Disabled',
|
195
|
+
hidden: 'Hidden',
|
196
|
+
textContent: 'Text',
|
197
|
+
htmlContent: 'HTML',
|
198
|
+
clearable: 'Clearable',
|
199
|
+
editable: 'Editable',
|
200
|
+
format: 'Format',
|
201
|
+
valueFormat: 'Value Format',
|
202
|
+
showPassword: 'Show Reveal',
|
203
|
+
filterable: 'Filterable',
|
204
|
+
allowCreate: 'Allow Create',
|
205
|
+
remote: 'Remote Query',
|
206
|
+
automaticDropdown: 'Automatic Dropdown',
|
207
|
+
multiple: 'Multiple',
|
208
|
+
multipleLimit: 'Multiple Limit',
|
209
|
+
contentPosition: 'Content Position',
|
210
|
+
plain: 'Plain',
|
211
|
+
round: 'Round',
|
212
|
+
circle: 'Circle',
|
213
|
+
icon: 'Icon',
|
214
|
+
optionsSetting: 'Options Setting',
|
215
|
+
addOption: 'Add Option',
|
216
|
+
importOptions: 'Import Options',
|
217
|
+
resetDefault: 'Reset Default',
|
218
|
+
uploadSetting: 'Upload Setting',
|
219
|
+
uploadURL: 'Upload URL',
|
220
|
+
uploadTip: 'Tip Content',
|
221
|
+
withCredentials: 'Send Cookie',
|
222
|
+
multipleSelect: 'File Multi-select',
|
223
|
+
showFileList: 'Show File List',
|
224
|
+
limit: 'Max Upload Number',
|
225
|
+
fileMaxSize: 'Max Size(MB)',
|
226
|
+
fileTypes: 'Upload File Types',
|
227
|
+
fileTypesHelp: 'Allows to add more file types',
|
228
|
+
headers: 'Request Headers',
|
229
|
+
|
230
|
+
cellWidth: 'Width',
|
231
|
+
cellHeight: 'Height',
|
232
|
+
gridColHeight: 'Height Of Col(px)',
|
233
|
+
gutter: 'Gutter(px)',
|
234
|
+
columnSetting: 'Cols Setting',
|
235
|
+
colsOfGrid: 'Cols Of Grid:',
|
236
|
+
colSpanTitle: 'Spans Of Col',
|
237
|
+
colOffsetTitle: 'Offset Of Col',
|
238
|
+
colPushTitle: 'Push Of Col',
|
239
|
+
colPullTitle: 'Pull Of Col',
|
240
|
+
addColumn: 'Add Column',
|
241
|
+
responsive: 'Responsive',
|
242
|
+
|
243
|
+
tabPaneSetting: 'Tab Panes',
|
244
|
+
addTabPane: 'Add Tab Pane',
|
245
|
+
paneActive: 'Active',
|
246
|
+
|
247
|
+
customLabelIcon: 'Custom Label',
|
248
|
+
labelIconClass: 'Label Icon Class',
|
249
|
+
labelIconPosition: 'Label Icon Position',
|
250
|
+
labelTooltip: 'Label Tooltip',
|
251
|
+
minValue: 'Min Value',
|
252
|
+
maxValue: 'Max Value',
|
253
|
+
precision: 'Precision',
|
254
|
+
step: 'Step',
|
255
|
+
controlsPosition: 'Controls Position',
|
256
|
+
minLength: 'Min Length',
|
257
|
+
maxLength: 'Max Length',
|
258
|
+
showWordLimit: 'Show Word Limit',
|
259
|
+
prefixIcon: 'Prefix Icon',
|
260
|
+
suffixIcon: 'Suffix Icon',
|
261
|
+
inputButton: 'Input Button Setting',
|
262
|
+
appendButton: 'Append Button',
|
263
|
+
appendButtonDisabled: 'Button Disabled',
|
264
|
+
appendButtonIcon: 'Append Button Icon',
|
265
|
+
buttonIcon: 'Button Icon',
|
266
|
+
switchWidth: 'Width of Switch(px)',
|
267
|
+
activeText: 'Active Text',
|
268
|
+
inactiveText: 'Inactive Text',
|
269
|
+
activeColor: 'Active Color',
|
270
|
+
inactiveColor: 'Inactive Color',
|
271
|
+
maxStars: 'Stars Max Number',
|
272
|
+
lowThreshold: 'Low Threshold',
|
273
|
+
highThreshold: 'High Threshold',
|
274
|
+
allowHalf: 'Allow Half',
|
275
|
+
showText: 'Show Text',
|
276
|
+
showScore: 'Show Score',
|
277
|
+
range: 'Range',
|
278
|
+
vertical: 'Vertical',
|
279
|
+
showBlankRow: 'Show Blank Row',
|
280
|
+
showRowNumber: 'Show Row Number',
|
281
|
+
|
282
|
+
insertColumnToLeft: 'insert column to left',
|
283
|
+
insertColumnToRight: 'insert column to right',
|
284
|
+
insertRowAbove: 'insert row above',
|
285
|
+
insertRowBelow: 'insert row below',
|
286
|
+
mergeLeftColumn: 'merge left cell',
|
287
|
+
mergeRightColumn: 'merge right cell',
|
288
|
+
mergeEntireRow: 'merge entire row',
|
289
|
+
mergeRowAbove: 'merge cell above',
|
290
|
+
mergeRowBelow: 'merge cell below',
|
291
|
+
mergeEntireColumn: 'merge entire column',
|
292
|
+
undoMergeCol: 'undo merge column',
|
293
|
+
undoMergeRow: 'undo merge row',
|
294
|
+
deleteEntireCol: 'delete entire column',
|
295
|
+
deleteEntireRow: 'delete entire row',
|
296
|
+
|
297
|
+
widgetName: 'Unique Name',
|
298
|
+
formSize: 'Size',
|
299
|
+
labelPosition: 'Position Of Label',
|
300
|
+
topPosition: 'Top',
|
301
|
+
leftPosition: 'Left',
|
302
|
+
labelAlign: 'Label Align',
|
303
|
+
leftAlign: 'Left',
|
304
|
+
centerAlign: 'Center',
|
305
|
+
rightAlign: 'Right',
|
306
|
+
formCss: 'Form CSS',
|
307
|
+
addCss: 'Edit',
|
308
|
+
customClass: 'Custom Class',
|
309
|
+
globalFunctions: 'Global Functions',
|
310
|
+
addEventHandler: 'Edit',
|
311
|
+
editWidgetEventHandler: 'Edit Widget Event Handler',
|
312
|
+
editFormEventHandler: 'Edit Form Event Handler',
|
313
|
+
formSFCSetting: 'SFC Setting',
|
314
|
+
formModelName: 'Model Name',
|
315
|
+
formRefName: 'Ref Name',
|
316
|
+
formRulesName: 'Rules Name',
|
317
|
+
|
318
|
+
}
|
319
|
+
|
320
|
+
}
|
321
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export default {
|
2
|
+
extension: {
|
3
|
+
widgetLabel: {
|
4
|
+
card: 'Card',
|
5
|
+
alert: 'Alert',
|
6
|
+
},
|
7
|
+
|
8
|
+
setting: {
|
9
|
+
cardFolded: 'Folded',
|
10
|
+
cardShowFold: 'Show Fold',
|
11
|
+
cardWidth: 'Width Of Card',
|
12
|
+
cardShadow: 'Shadow',
|
13
|
+
|
14
|
+
alertTitle: 'Title',
|
15
|
+
alertType: 'Type',
|
16
|
+
description: 'Description',
|
17
|
+
closable: 'Closable',
|
18
|
+
closeText: 'Text On Close Btn',
|
19
|
+
center: 'Center',
|
20
|
+
showIcon: 'Show Icon',
|
21
|
+
effect: 'Effect',
|
22
|
+
|
23
|
+
},
|
24
|
+
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
export default {
|
2
|
+
render: {
|
3
|
+
|
4
|
+
hint: {
|
5
|
+
prompt: 'Prompt',
|
6
|
+
confirm: 'OK',
|
7
|
+
cancel: 'Cancel',
|
8
|
+
|
9
|
+
selectPlaceholder: 'Pick some item',
|
10
|
+
timePlaceholder: 'Select time',
|
11
|
+
startTimePlaceholder: 'Start time',
|
12
|
+
endTimePlaceholder: 'End time',
|
13
|
+
datePlaceholder: 'Select date',
|
14
|
+
startDatePlaceholder: 'Start date',
|
15
|
+
endDatePlaceholder: 'End date',
|
16
|
+
blankCellContent: '--',
|
17
|
+
|
18
|
+
uploadError: 'Upload error: ',
|
19
|
+
uploadExceed: 'The maximum number(${uploadLimit}) of file uploads has been exceeded.',
|
20
|
+
unsupportedFileType: 'Unsupported format: ',
|
21
|
+
fileSizeExceed: 'File size out of limit: ',
|
22
|
+
refNotFound: 'Ref not found: ',
|
23
|
+
fieldRequired: 'Input value should be not null.',
|
24
|
+
invalidNumber: 'Invalid number format',
|
25
|
+
selectFile: ' File...',
|
26
|
+
downloadFile: 'Download',
|
27
|
+
removeFile: 'Remove',
|
28
|
+
validationFailed: 'Form validation failed',
|
29
|
+
|
30
|
+
subFormAction: 'Action',
|
31
|
+
subFormAddAction: 'Add',
|
32
|
+
subFormAddActionHint: 'add new row',
|
33
|
+
insertSubFormRow: 'insert new row',
|
34
|
+
deleteSubFormRow: 'delete this row',
|
35
|
+
nonSubFormType: 'The type of widget don\'t match sub-form',
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|