ibsp-fg-page 4.0.2
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/.babelrc +5 -0
- package/.cz-config.cjs +60 -0
- package/.vite/deps_temp_029120a0/package.json +3 -0
- package/.vscode/extensions.json +3 -0
- package/.zed/settings.json +14 -0
- package/README.md +1 -0
- package/config/.env.dev +21 -0
- package/config/.env.fat +21 -0
- package/config/.env.pro +21 -0
- package/config/.env.sit +21 -0
- package/config/.env.template +1 -0
- package/config/.env.test +21 -0
- package/config/.env.uat +21 -0
- package/config/.env.zsdev +21 -0
- package/config/.env.zspro +21 -0
- package/env.d.ts +6 -0
- package/eslint.config.js +202 -0
- package/index.html +84 -0
- package/jsconfig.json +43 -0
- package/package.json +85 -0
- package/packages/README.md +1 -0
- package/packages/config.d.ts +97 -0
- package/packages/index.d.ts +49 -0
- package/packages/index.js +16 -0
- package/packages/package.json +87 -0
- package/public/1.json +1612 -0
- package/public/assets/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.de.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.es.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.fr.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.it.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.ja.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.ko.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.ru.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.zh-cn.js +8 -0
- package/public/assets/vs/base/common/worker/simpleWorker.nls.zh-tw.js +8 -0
- package/public/assets/vs/base/worker/workerMain.js +30 -0
- package/public/assets/vs/basic-languages/abap/abap.js +10 -0
- package/public/assets/vs/basic-languages/apex/apex.js +10 -0
- package/public/assets/vs/basic-languages/azcli/azcli.js +10 -0
- package/public/assets/vs/basic-languages/bat/bat.js +10 -0
- package/public/assets/vs/basic-languages/bicep/bicep.js +11 -0
- package/public/assets/vs/basic-languages/cameligo/cameligo.js +10 -0
- package/public/assets/vs/basic-languages/clojure/clojure.js +10 -0
- package/public/assets/vs/basic-languages/coffee/coffee.js +10 -0
- package/public/assets/vs/basic-languages/cpp/cpp.js +10 -0
- package/public/assets/vs/basic-languages/csharp/csharp.js +10 -0
- package/public/assets/vs/basic-languages/csp/csp.js +10 -0
- package/public/assets/vs/basic-languages/css/css.js +12 -0
- package/public/assets/vs/basic-languages/cypher/cypher.js +10 -0
- package/public/assets/vs/basic-languages/dart/dart.js +10 -0
- package/public/assets/vs/basic-languages/dockerfile/dockerfile.js +10 -0
- package/public/assets/vs/basic-languages/ecl/ecl.js +10 -0
- package/public/assets/vs/basic-languages/elixir/elixir.js +10 -0
- package/public/assets/vs/basic-languages/flow9/flow9.js +10 -0
- package/public/assets/vs/basic-languages/freemarker2/freemarker2.js +12 -0
- package/public/assets/vs/basic-languages/fsharp/fsharp.js +10 -0
- package/public/assets/vs/basic-languages/go/go.js +10 -0
- package/public/assets/vs/basic-languages/graphql/graphql.js +10 -0
- package/public/assets/vs/basic-languages/handlebars/handlebars.js +10 -0
- package/public/assets/vs/basic-languages/hcl/hcl.js +10 -0
- package/public/assets/vs/basic-languages/html/html.js +10 -0
- package/public/assets/vs/basic-languages/ini/ini.js +10 -0
- package/public/assets/vs/basic-languages/java/java.js +10 -0
- package/public/assets/vs/basic-languages/javascript/javascript.js +10 -0
- package/public/assets/vs/basic-languages/julia/julia.js +10 -0
- package/public/assets/vs/basic-languages/kotlin/kotlin.js +10 -0
- package/public/assets/vs/basic-languages/less/less.js +11 -0
- package/public/assets/vs/basic-languages/lexon/lexon.js +10 -0
- package/public/assets/vs/basic-languages/liquid/liquid.js +10 -0
- package/public/assets/vs/basic-languages/lua/lua.js +10 -0
- package/public/assets/vs/basic-languages/m3/m3.js +10 -0
- package/public/assets/vs/basic-languages/markdown/markdown.js +10 -0
- package/public/assets/vs/basic-languages/mdx/mdx.js +10 -0
- package/public/assets/vs/basic-languages/mips/mips.js +10 -0
- package/public/assets/vs/basic-languages/msdax/msdax.js +10 -0
- package/public/assets/vs/basic-languages/mysql/mysql.js +10 -0
- package/public/assets/vs/basic-languages/objective-c/objective-c.js +10 -0
- package/public/assets/vs/basic-languages/pascal/pascal.js +10 -0
- package/public/assets/vs/basic-languages/pascaligo/pascaligo.js +10 -0
- package/public/assets/vs/basic-languages/perl/perl.js +10 -0
- package/public/assets/vs/basic-languages/pgsql/pgsql.js +10 -0
- package/public/assets/vs/basic-languages/php/php.js +10 -0
- package/public/assets/vs/basic-languages/pla/pla.js +10 -0
- package/public/assets/vs/basic-languages/postiats/postiats.js +10 -0
- package/public/assets/vs/basic-languages/powerquery/powerquery.js +10 -0
- package/public/assets/vs/basic-languages/powershell/powershell.js +10 -0
- package/public/assets/vs/basic-languages/protobuf/protobuf.js +11 -0
- package/public/assets/vs/basic-languages/pug/pug.js +10 -0
- package/public/assets/vs/basic-languages/python/python.js +10 -0
- package/public/assets/vs/basic-languages/qsharp/qsharp.js +10 -0
- package/public/assets/vs/basic-languages/r/r.js +10 -0
- package/public/assets/vs/basic-languages/razor/razor.js +10 -0
- package/public/assets/vs/basic-languages/redis/redis.js +10 -0
- package/public/assets/vs/basic-languages/redshift/redshift.js +10 -0
- package/public/assets/vs/basic-languages/restructuredtext/restructuredtext.js +10 -0
- package/public/assets/vs/basic-languages/ruby/ruby.js +10 -0
- package/public/assets/vs/basic-languages/rust/rust.js +10 -0
- package/public/assets/vs/basic-languages/sb/sb.js +10 -0
- package/public/assets/vs/basic-languages/scala/scala.js +10 -0
- package/public/assets/vs/basic-languages/scheme/scheme.js +10 -0
- package/public/assets/vs/basic-languages/scss/scss.js +12 -0
- package/public/assets/vs/basic-languages/shell/shell.js +10 -0
- package/public/assets/vs/basic-languages/solidity/solidity.js +10 -0
- package/public/assets/vs/basic-languages/sophia/sophia.js +10 -0
- package/public/assets/vs/basic-languages/sparql/sparql.js +10 -0
- package/public/assets/vs/basic-languages/sql/sql.js +10 -0
- package/public/assets/vs/basic-languages/st/st.js +10 -0
- package/public/assets/vs/basic-languages/swift/swift.js +13 -0
- package/public/assets/vs/basic-languages/systemverilog/systemverilog.js +10 -0
- package/public/assets/vs/basic-languages/tcl/tcl.js +10 -0
- package/public/assets/vs/basic-languages/twig/twig.js +10 -0
- package/public/assets/vs/basic-languages/typescript/typescript.js +10 -0
- package/public/assets/vs/basic-languages/typespec/typespec.js +10 -0
- package/public/assets/vs/basic-languages/vb/vb.js +10 -0
- package/public/assets/vs/basic-languages/wgsl/wgsl.js +307 -0
- package/public/assets/vs/basic-languages/xml/xml.js +10 -0
- package/public/assets/vs/basic-languages/yaml/yaml.js +10 -0
- package/public/assets/vs/editor/editor.main.css +8 -0
- package/public/assets/vs/editor/editor.main.js +768 -0
- package/public/assets/vs/editor/editor.main.nls.de.js +17 -0
- package/public/assets/vs/editor/editor.main.nls.es.js +17 -0
- package/public/assets/vs/editor/editor.main.nls.fr.js +15 -0
- package/public/assets/vs/editor/editor.main.nls.it.js +15 -0
- package/public/assets/vs/editor/editor.main.nls.ja.js +17 -0
- package/public/assets/vs/editor/editor.main.nls.js +15 -0
- package/public/assets/vs/editor/editor.main.nls.ko.js +15 -0
- package/public/assets/vs/editor/editor.main.nls.ru.js +17 -0
- package/public/assets/vs/editor/editor.main.nls.zh-cn.js +17 -0
- package/public/assets/vs/editor/editor.main.nls.zh-tw.js +15 -0
- package/public/assets/vs/language/css/cssMode.js +13 -0
- package/public/assets/vs/language/css/cssWorker.js +77 -0
- package/public/assets/vs/language/html/htmlMode.js +13 -0
- package/public/assets/vs/language/html/htmlWorker.js +454 -0
- package/public/assets/vs/language/json/jsonMode.js +19 -0
- package/public/assets/vs/language/json/jsonWorker.js +42 -0
- package/public/assets/vs/language/typescript/tsMode.js +20 -0
- package/public/assets/vs/language/typescript/tsWorker.js +51328 -0
- package/public/assets/vs/loader.js +11 -0
- package/public/data-model-item.json +33 -0
- package/public/data-model.json +402 -0
- package/public/favicon.ico +0 -0
- package/public/form-data.json +78 -0
- package/public/form-json-schema.ts +33 -0
- package/public/form-json.schema.json +79 -0
- package/public/image/logo.png +0 -0
- package/public/loading.png +0 -0
- package/public/logo.svg +3 -0
- package/scripts/autoImportServiceTypes.js +40 -0
- package/src/App.vue +29 -0
- package/src/api/ibsp-bg-app.js +489 -0
- package/src/api/ibsp-bg-auth.js +24 -0
- package/src/api/ibsp-bg-counter.js +25 -0
- package/src/api/ibsp-bg-dataview.js +124 -0
- package/src/api/ibsp-bg-form.js +167 -0
- package/src/api/ibsp-bg-oss.js +33 -0
- package/src/api/ibsp-bg-page.js +158 -0
- package/src/api/ibsp-bg-problem.js +13 -0
- package/src/api/ibsp-bg-resource.js +30 -0
- package/src/api/ibsp-bg-sif.js +24 -0
- package/src/api/ibsp-bg-user.js +59 -0
- package/src/assets/font/pinia.ttf +0 -0
- package/src/assets/img/bg2.jpeg +0 -0
- package/src/assets/img/bg3.jpeg +0 -0
- package/src/assets/img/haederBg.png +0 -0
- package/src/assets/img/haederName.png +0 -0
- package/src/assets/img/login-bg.jpg +0 -0
- package/src/assets/img/logo.png +0 -0
- package/src/assets/img/logo.svg +1 -0
- package/src/assets/img/newLogo.png +0 -0
- package/src/assets/img/project.jpg +0 -0
- package/src/assets/img/wenjian1.png +0 -0
- package/src/assets/img/wenjian2.png +0 -0
- package/src/assets/img/wenjianjia.png +0 -0
- package/src/assets/img//345/272/225/351/203/250.png +0 -0
- package/src/assets/img//351/227/201/347/250/277/347/271/210/351/215/224/346/210/246/345/264/225/347/200/265/351/225/220/346/262/252/351/226/272/345/233/251/345/201/237/347/272/276/347/261/2032x.png +0 -0
- package/src/assets/img//351/227/201/347/250/277/347/271/210/351/215/224/346/210/246/345/264/225/351/216/276/356/206/274/347/273/251/351/226/270/346/222/262/350/203/266/347/273/261/346/254/2572x.png +0 -0
- package/src/assets/video//347/231/273/345/275/225/350/203/214/346/231/257.mp4 +0 -0
- package/src/bootstrap.ts +26 -0
- package/src/components/common/CascaderContextMenu.vue +82 -0
- package/src/components/common/ContextMenuPlus.vue +103 -0
- package/src/components/common/DragNavMenu.vue +248 -0
- package/src/components/common/NavMenu.vue +203 -0
- package/src/components/common/NavMenuId.vue +140 -0
- package/src/components/common/PageDrawerPopup.vue +329 -0
- package/src/components/common/PageMenuDrag.vue +245 -0
- package/src/components/common/SelectAllIcon.vue +202 -0
- package/src/components/globals/ColorPicker.vue +261 -0
- package/src/components/globals/ContextMenu.vue +143 -0
- package/src/components/globals/FormContainer.vue +122 -0
- package/src/components/globals/IbspIcon.vue +21 -0
- package/src/components/globals/LoginDialog.vue +365 -0
- package/src/components/globals/Message.vue +10 -0
- package/src/components/globals/SvgIcon.vue +122 -0
- package/src/components/ibsp/Cascader.vue +40 -0
- package/src/components/ibsp/FromPage.vue +118 -0
- package/src/components/ibsp/IbspAddTag.vue +143 -0
- package/src/components/ibsp/IbspButton.vue +27 -0
- package/src/components/ibsp/IbspColorPicker.vue +252 -0
- package/src/components/ibsp/IbspColorSelect.vue +14 -0
- package/src/components/ibsp/IbspContextmenu.vue +176 -0
- package/src/components/ibsp/IbspDialog.vue +52 -0
- package/src/components/ibsp/IbspDrawer.vue +44 -0
- package/src/components/ibsp/IbspInput.vue +29 -0
- package/src/components/ibsp/IbspMonacoCode.vue +213 -0
- package/src/components/ibsp/IbspSearchInput.vue +48 -0
- package/src/components/ibsp/IbspSelect.vue +101 -0
- package/src/components/ibsp/IbspSlotEvent.ts +64 -0
- package/src/components/ibsp/IbspTextInput.vue +41 -0
- package/src/components/ibsp/IbspTree.vue +265 -0
- package/src/components/ibsp/IbspTree2.vue +118 -0
- package/src/components/nextui/BoxSelection/hooks/useBoxSelection.ts +165 -0
- package/src/components/nextui/BoxSelection/index.ts +11 -0
- package/src/components/nextui/BoxSelection/index.vue +40 -0
- package/src/components/nextui/BoxSelection/types.ts +50 -0
- package/src/components/nextui/BoxSelection/utils.ts +35 -0
- package/src/components/nextui/Contextmenu/index.ts +230 -0
- package/src/components/nextui/Contextmenu/menu.vue +256 -0
- package/src/components/nextui/DragNode/hooks/useDrag.ts +222 -0
- package/src/components/nextui/DragNode/hooks/useRefLine.ts +878 -0
- package/src/components/nextui/DragNode/hooks/useResize.ts +182 -0
- package/src/components/nextui/DragNode/hooks/useStyle.ts +31 -0
- package/src/components/nextui/DragNode/index.ts +11 -0
- package/src/components/nextui/DragNode/index.vue +140 -0
- package/src/components/nextui/DragNode/types.ts +158 -0
- package/src/components/nextui/DragNode/util.ts +135 -0
- package/src/components/nextui/SketchRule/SketchRule.vue +176 -0
- package/src/components/nextui/SketchRule/components/RulerCanvas.vue +167 -0
- package/src/components/nextui/SketchRule/components/RulerLine.vue +150 -0
- package/src/components/nextui/SketchRule/hooks/useCanvas.ts +232 -0
- package/src/components/nextui/SketchRule/hooks/useRuler.ts +229 -0
- package/src/components/nextui/SketchRule/index.ts +10 -0
- package/src/components/nextui/SketchRule/props.ts +62 -0
- package/src/components/nextui/_utils/index.ts +2 -0
- package/src/components/nextui/_utils/tools.ts +12 -0
- package/src/components/nextui/_utils/vue/install.ts +11 -0
- package/src/components/nextui/button/Button.vue +78 -0
- package/src/components/nextui/button/index.ts +8 -0
- package/src/components/nextui/drag-grid/index.ts +1 -0
- package/src/components/nextui/drag-grid/src/hooks/useDragGrid.ts +219 -0
- package/src/components/nextui/drag-grid/src/hooks/useGridSize.ts +3 -0
- package/src/components/nextui/drag-grid/src/index.vue +213 -0
- package/src/components/nextui/drag-grid/src/props.ts +3 -0
- package/src/components/nextui/index.ts +11 -0
- package/src/components/nextui/modal/index.ts +8 -0
- package/src/components/nextui/modal/index.vue +336 -0
- package/src/components/nextui/monacoCode/MonacoCode.vue +71 -0
- package/src/components/nextui/monacoCode/config.ts +51 -0
- package/src/components/nextui/monacoCode/index.ts +1 -0
- package/src/components/nextui/monacoCode/monacoCode.ts +31 -0
- package/src/components/nextui/monacoCode/useMonacoCode.ts +116 -0
- package/src/components/nextui/nextIcon/Icon.vue +50 -0
- package/src/components/nextui/nextIcon/index.ts +7 -0
- package/src/components/nextui/tabs/Tabs.vue +170 -0
- package/src/components/nextui/tabs/index.ts +8 -0
- package/src/components/nextui/verticalMenu/VerticalMenu.vue +100 -0
- package/src/components/nextui/verticalMenu/index.ts +8 -0
- package/src/components/production/ibsp-icon/index.vue +52 -0
- package/src/components/production/index.ts +1 -0
- package/src/directives/index.js +21 -0
- package/src/directives/modules/v-drag.js +177 -0
- package/src/directives/modules/v-resize.js +277 -0
- package/src/hooks/useApp.ts +4 -0
- package/src/hooks/useClipboard.ts +56 -0
- package/src/hooks/useEnv.ts +13 -0
- package/src/hooks/useForm.ts +8 -0
- package/src/hooks/useKeyboard.ts +188 -0
- package/src/hooks/usePage.ts +11 -0
- package/src/icons/iconFont/antd/demo.css +539 -0
- package/src/icons/iconFont/antd/demo_index.html +13965 -0
- package/src/icons/iconFont/antd/iconfont.css +2411 -0
- package/src/icons/iconFont/antd/iconfont.js +27 -0
- package/src/icons/iconFont/antd/iconfont.json +4202 -0
- package/src/icons/iconFont/antd/iconfont.ttf +0 -0
- package/src/icons/iconFont/antd/iconfont.woff +0 -0
- package/src/icons/iconFont/antd/iconfont.woff2 +0 -0
- package/src/icons/iconFont/import.css +1 -0
- package/src/icons/iconFont/index.js +10 -0
- package/src/icons/svg/default_file.svg +1 -0
- package/src/icons/svg/default_folder.svg +1 -0
- package/src/icons/svg/default_folder_opened.svg +1 -0
- package/src/icons/svg/file_type_css.svg +1 -0
- package/src/icons/svg/file_type_js.svg +1 -0
- package/src/icons/svg/file_type_json.svg +1 -0
- package/src/icons/svg/file_type_vue.svg +1 -0
- package/src/icons/svg/if.svg +1 -0
- package/src/icons/svg/logo.svg +14 -0
- package/src/icons/svg/softLogo.svg +42 -0
- package/src/icons/svg//344/270/212/346/217/222/345/205/245/350/241/214.svg +7 -0
- package/src/icons/svg//344/270/212/346/254/241.svg +1 -0
- package/src/icons/svg//344/270/212/347/247/273.svg +4 -0
- package/src/icons/svg//344/270/213/346/213/211/351/200/211/346/213/251.svg +3 -0
- package/src/icons/svg//344/270/213/346/217/222/345/205/245/350/241/214.svg +7 -0
- package/src/icons/svg//344/270/213/347/247/273.svg +4 -0
- package/src/icons/svg//344/270/273/350/246/201/346/214/211/351/222/256.svg +3 -0
- package/src/icons/svg//344/272/244/344/272/222/351/205/215/347/275/256.svg +1 -0
- package/src/icons/svg//344/277/235/345/255/230.svg +16 -0
- package/src/icons/svg//344/277/235/345/255/2302.svg +1 -0
- package/src/icons/svg//344/277/241/346/201/257/346/214/211/351/222/256.svg +3 -0
- package/src/icons/svg//345/201/234/346/234/272/345/205/254/345/221/212.svg +5 -0
- package/src/icons/svg//345/205/263/344/272/216/346/210/221/344/273/254.svg +5 -0
- package/src/icons/svg//345/205/266/344/273/226.svg +3 -0
- package/src/icons/svg//345/206/205/350/201/224/346/241/206/346/236/266.svg +6 -0
- package/src/icons/svg//345/210/206/346/224/257.svg +1 -0
- package/src/icons/svg//345/210/207/346/215/242.svg +1 -0
- package/src/icons/svg//345/210/240/351/231/244.svg +1 -0
- package/src/icons/svg//345/210/240/351/231/244/345/270/203/345/261/200.svg +1 -0
- package/src/icons/svg//345/210/240/351/231/244/345/275/223/345/211/215/345/210/227.svg +7 -0
- package/src/icons/svg//345/210/240/351/231/244/345/275/223/345/211/215/350/241/214.svg +7 -0
- package/src/icons/svg//345/211/252/345/210/207.svg +1 -0
- package/src/icons/svg//345/215/225/350/241/214/350/276/223/345/205/245.svg +3 -0
- package/src/icons/svg//345/215/225/351/200/211.svg +4 -0
- package/src/icons/svg//345/215/241/347/211/207/345/256/271/345/231/250.svg +7 -0
- package/src/icons/svg//345/215/241/347/211/207/345/270/203/345/261/200.svg +3 -0
- package/src/icons/svg//345/215/261/351/231/251/346/214/211/351/222/256.svg +3 -0
- package/src/icons/svg//345/216/206/345/217/262/346/223/215/344/275/234.svg +1 -0
- package/src/icons/svg//345/217/226/346/266/210/347/273/204/345/220/210.svg +3 -0
- package/src/icons/svg//345/217/260/350/264/246/344/277/241/346/201/257.svg +1 -0
- package/src/icons/svg//345/217/263/346/217/222/345/205/245/345/210/227.svg +7 -0
- package/src/icons/svg//345/220/221/344/270/213/345/220/210/345/271/266.svg +6 -0
- package/src/icons/svg//345/220/221/345/217/263/345/220/210/345/271/266.svg +6 -0
- package/src/icons/svg//345/233/276/345/261/202.svg +1 -0
- package/src/icons/svg//345/233/276/347/211/207.svg +3 -0
- package/src/icons/svg//345/233/276/350/241/250.svg +3 -0
- package/src/icons/svg//345/237/272/347/241/200.svg +7 -0
- package/src/icons/svg//345/244/215/345/210/266.svg +1 -0
- package/src/icons/svg//345/244/215/351/200/211.svg +3 -0
- package/src/icons/svg//345/244/232/350/241/214/350/276/223/345/205/245.svg +5 -0
- package/src/icons/svg//345/244/247/347/272/262.svg +1 -0
- package/src/icons/svg//345/255/220/350/241/250/345/215/225.svg +13 -0
- package/src/icons/svg//345/256/253/346/240/274/345/270/203/345/261/200.svg +9 -0
- package/src/icons/svg//345/256/271/345/231/250.svg +3 -0
- package/src/icons/svg//345/257/206/347/240/201.svg +3 -0
- package/src/icons/svg//345/257/274/350/210/252/346/241/206/346/236/266.svg +9 -0
- package/src/icons/svg//345/261/236/346/200/247.svg +1 -0
- package/src/icons/svg//345/267/246/346/217/222/345/205/245/345/210/227.svg +7 -0
- package/src/icons/svg//345/270/203/345/261/200.svg +5 -0
- package/src/icons/svg//345/271/263/345/217/260/347/272/247.svg +1 -0
- package/src/icons/svg//345/272/224/347/224/250.svg +1 -0
- package/src/icons/svg//345/272/224/347/224/250/347/272/247.svg +12 -0
- package/src/icons/svg//345/272/225/351/203/250.png +0 -0
- package/src/icons/svg//345/274/200/345/205/263.svg +3 -0
- package/src/icons/svg//345/274/200/345/217/221/344/270/255.svg +133 -0
- package/src/icons/svg//345/274/271/346/200/247/345/270/203/345/261/200.svg +6 -0
- package/src/icons/svg//345/274/271/347/252/227.svg +3 -0
- package/src/icons/svg//346/210/220/345/212/237/346/214/211/351/222/256.svg +3 -0
- package/src/icons/svg//346/211/223/347/240/201/351/230/237/345/210/227.svg +14 -0
- package/src/icons/svg//346/212/230/345/217/240/351/235/242/346/235/277.svg +3 -0
- package/src/icons/svg//346/213/206/345/210/206/346/210/220/345/210/227.svg +8 -0
- package/src/icons/svg//346/213/206/345/210/206/346/210/220/350/241/214.svg +8 -0
- package/src/icons/svg//346/216/247/345/210/266/345/217/260.svg +13 -0
- package/src/icons/svg//346/217/217/350/277/260/345/210/227/350/241/250.svg +3 -0
- package/src/icons/svg//346/224/276/345/244/247.svg +12 -0
- package/src/icons/svg//346/225/260/346/215/256.svg +3 -0
- package/src/icons/svg//346/225/260/346/215/256/346/272/220/346/250/241/345/236/213.svg +1 -0
- package/src/icons/svg//346/225/260/346/215/256/351/205/215/347/275/256.svg +1 -0
- package/src/icons/svg//346/226/207/344/273/266/344/270/212/344/274/240.svg +3 -0
- package/src/icons/svg//346/226/207/346/234/254.svg +3 -0
- package/src/icons/svg//346/226/207/346/234/254/346/214/211/351/222/256.svg +3 -0
- package/src/icons/svg//346/226/260/345/242/236/345/270/203/345/261/200.svg +1 -0
- package/src/icons/svg//346/226/260/345/242/236/351/241/265/351/235/242.svg +1 -0
- package/src/icons/svg//346/226/271/346/263/225/345/272/223.svg +9 -0
- package/src/icons/svg//346/227/245/346/234/237/350/214/203/345/233/264.svg +3 -0
- package/src/icons/svg//346/227/245/346/234/237/351/200/211/346/213/251.svg +3 -0
- package/src/icons/svg//346/227/266/351/227/264/350/214/203/345/233/264.svg +3 -0
- package/src/icons/svg//346/227/266/351/227/264/351/200/211/346/213/251.svg +3 -0
- package/src/icons/svg//346/230/276/347/244/272.svg +1 -0
- package/src/icons/svg//346/234/215/345/212/241/345/231/250.svg +12 -0
- package/src/icons/svg//346/235/203/351/231/220.svg +13 -0
- package/src/icons/svg//346/240/205/346/240/274/345/270/203/345/261/200.svg +6 -0
- package/src/icons/svg//346/240/207/347/255/276/351/241/265.svg +6 -0
- package/src/icons/svg//346/240/207/351/242/230.svg +3 -0
- package/src/icons/svg//346/240/221/345/275/242.svg +3 -0
- package/src/icons/svg//346/243/200/346/265/213/346/217/220/351/206/222.svg +12 -0
- package/src/icons/svg//346/250/241/345/236/213/344/273/223/345/272/223.svg +1 -0
- package/src/icons/svg//346/250/241/345/236/213/345/217/202/346/225/260.svg +1 -0
- package/src/icons/svg//346/250/241/346/235/277/345/272/223.svg +1 -0
- package/src/icons/svg//346/255/245/351/252/244/346/235/241.svg +3 -0
- package/src/icons/svg//346/267/273/345/212/240/344/270/200/345/210/227.svg +7 -0
- package/src/icons/svg//346/267/273/345/212/240/344/270/200/350/241/214.svg +7 -0
- package/src/icons/svg//346/270/205/347/251/272.svg +1 -0
- package/src/icons/svg//346/273/221/345/235/227.svg +3 -0
- package/src/icons/svg//347/202/271/345/207/273.svg +13 -0
- package/src/icons/svg//347/211/210/346/234/254.svg +11 -0
- package/src/icons/svg//347/211/210/346/234/254/346/233/264/346/226/260.svg +5 -0
- package/src/icons/svg//347/247/273/345/212/250/347/253/257/345/257/274/350/210/252/346/241/206/346/236/266.svg +12 -0
- package/src/icons/svg//347/251/272/346/225/260/346/215/2562.svg +1 -0
- package/src/icons/svg//347/251/277/346/242/255/346/241/206.svg +3 -0
- package/src/icons/svg//347/262/230/350/264/264.svg +1 -0
- package/src/icons/svg//347/272/247/350/201/224/351/200/211/346/213/251.svg +3 -0
- package/src/icons/svg//347/273/204/344/273/266/345/272/223.svg +1 -0
- package/src/icons/svg//347/273/204/344/273/266/350/204/232/346/234/254.svg +9 -0
- package/src/icons/svg//347/273/204/345/220/210.svg +4 -0
- package/src/icons/svg//347/273/223/346/236/234.svg +10 -0
- package/src/icons/svg//347/273/230/345/210/266.svg +1 -0
- package/src/icons/svg//347/275/256/345/272/225.svg +4 -0
- package/src/icons/svg//347/275/256/351/241/266.svg +4 -0
- package/src/icons/svg//350/204/232/346/234/254.svg +1 -0
- package/src/icons/svg//350/204/232/346/234/2542.svg +1 -0
- package/src/icons/svg//350/204/232/346/234/254/345/272/223.svg +9 -0
- package/src/icons/svg//350/204/232/346/234/254/351/205/215/347/275/256.svg +1 -0
- package/src/icons/svg//350/204/232/346/234/254/351/235/242/346/235/277.svg +13 -0
- package/src/icons/svg//350/207/252/347/224/261/345/270/203/345/261/200.svg +7 -0
- package/src/icons/svg//350/241/250/345/215/225.svg +3 -0
- package/src/icons/svg//350/241/250/345/215/225/345/256/271/345/231/250.svg +9 -0
- package/src/icons/svg//350/241/250/345/215/225/347/273/204/344/273/266.svg +1 -0
- package/src/icons/svg//350/241/250/345/215/225/351/207/215/345/244/215/350/212/202.svg +10 -0
- package/src/icons/svg//350/241/250/346/240/274.svg +7 -0
- package/src/icons/svg//350/241/250/346/240/274/345/210/227.svg +8 -0
- package/src/icons/svg//350/241/250/346/240/274/345/270/203/345/261/200.svg +8 -0
- package/src/icons/svg//350/241/250/346/240/274/350/241/214.svg +8 -0
- package/src/icons/svg//350/241/250/350/276/276/345/274/217.svg +1 -0
- package/src/icons/svg//350/247/206/351/242/221.svg +3 -0
- package/src/icons/svg//350/255/246/345/221/212/346/214/211/351/222/256.svg +3 -0
- package/src/icons/svg//350/257/204/345/210/206.svg +3 -0
- package/src/icons/svg//350/257/246/347/273/206.svg +1 -0
- package/src/icons/svg//350/264/246/345/217/267.svg +3 -0
- package/src/icons/svg//350/264/246/345/217/267/345/256/211/345/205/250.svg +12 -0
- package/src/icons/svg//350/275/256/346/222/255.svg +3 -0
- package/src/icons/svg//350/277/220/350/241/214/350/204/232/346/234/254.svg +12 -0
- package/src/icons/svg//350/277/233/345/272/246/346/235/241.svg +3 -0
- package/src/icons/svg//351/200/232/347/224/250.svg +11 -0
- package/src/icons/svg//351/203/250/351/227/250.svg +3 -0
- package/src/icons/svg//351/207/215/345/244/215/350/212/202.svg +3 -0
- package/src/icons/svg//351/207/215/345/244/215/350/241/250.svg +3 -0
- package/src/icons/svg//351/232/220/350/227/217.svg +1 -0
- package/src/icons/svg//351/241/265/351/235/242.svg +1 -0
- package/src/icons/svg//351/241/265/351/235/2421.svg +3 -0
- package/src/icons/svg//351/241/265/351/235/2422.svg +3 -0
- package/src/icons/svg//351/241/265/351/235/2423.svg +1 -0
- package/src/icons/svg//351/241/265/351/235/242/345/256/271/345/231/250.svg +7 -0
- package/src/icons/svg//351/241/265/351/235/242/351/205/215/347/275/256.svg +1 -0
- package/src/icons/svg//351/242/204/350/247/210.svg +1 -0
- package/src/icons/svg//351/273/230/350/256/244/346/214/211/351/222/256.svg +3 -0
- package/src/libs/drag/index.vue +1546 -0
- package/src/libs/drag/utils/dom.js +60 -0
- package/src/libs/drag/utils/fns.js +39 -0
- package/src/libs/drag/vue-draggable-resizable.css +102 -0
- package/src/libs/ibspForm/FormMaking.common.js +29452 -0
- package/src/libs/ibspForm/FormMaking.css +10 -0
- package/src/libs/ibspForm/FormMaking.umd.js +29456 -0
- package/src/libs/ibspForm/FormMaking.umd.min.js +29441 -0
- package/src/libs/ibspForm/demo.html +10 -0
- package/src/libs/ibspForm/fonts/iconfont.122c3730.woff2 +0 -0
- package/src/libs/ibspForm/fonts/iconfont.2a264583.woff +0 -0
- package/src/libs/ibspForm/fonts/iconfont.3e777971.ttf +0 -0
- package/src/libs/uni/uni.webview.1.5.5.js +58 -0
- package/src/libs/vanilla-js-wheel-zoom/calculator.js +103 -0
- package/src/libs/vanilla-js-wheel-zoom/default-options.js +52 -0
- package/src/libs/vanilla-js-wheel-zoom/observers/AbstractObserver.js +51 -0
- package/src/libs/vanilla-js-wheel-zoom/observers/DragScrollableObserver.js +103 -0
- package/src/libs/vanilla-js-wheel-zoom/observers/InteractionObserver.js +122 -0
- package/src/libs/vanilla-js-wheel-zoom/observers/PinchToZoomObserver.js +86 -0
- package/src/libs/vanilla-js-wheel-zoom/toolkit.js +121 -0
- package/src/libs/vanilla-js-wheel-zoom/wheel-zoom.js +446 -0
- package/src/libs/vuedraggable/core/componentBuilderHelper.js +47 -0
- package/src/libs/vuedraggable/core/componentStructure.js +69 -0
- package/src/libs/vuedraggable/core/renderHelper.js +57 -0
- package/src/libs/vuedraggable/core/sortableEvents.js +18 -0
- package/src/libs/vuedraggable/util/console.js +9 -0
- package/src/libs/vuedraggable/util/htmlHelper.js +15 -0
- package/src/libs/vuedraggable/util/string.js +12 -0
- package/src/libs/vuedraggable/util/tags.js +138 -0
- package/src/libs/vuedraggable/vuedraggable.js +317 -0
- package/src/libs/vuejs-loadmore/icon/index.js +3 -0
- package/src/libs/vuejs-loadmore/icon/loading.scss +59 -0
- package/src/libs/vuejs-loadmore/icon/loading.vue +21 -0
- package/src/libs/vuejs-loadmore/index.js +18 -0
- package/src/libs/vuejs-loadmore/locale/index.js +32 -0
- package/src/libs/vuejs-loadmore/locale/lang/en-US.js +13 -0
- package/src/libs/vuejs-loadmore/locale/lang/zh-CN.js +13 -0
- package/src/libs/vuejs-loadmore/mixins/bind-event.js +21 -0
- package/src/libs/vuejs-loadmore/mixins/timer.js +22 -0
- package/src/libs/vuejs-loadmore/mixins/touch.js +58 -0
- package/src/libs/vuejs-loadmore/style/var.scss +23 -0
- package/src/libs/vuejs-loadmore/utils/event.js +20 -0
- package/src/libs/vuejs-loadmore/utils/getDeepValByKey.js +14 -0
- package/src/libs/vuejs-loadmore/utils/scroll.js +30 -0
- package/src/libs/vuejs-loadmore/utils/throttle.js +39 -0
- package/src/libs/vuejs-loadmore/vuejs-loadmore/index.scss +39 -0
- package/src/libs/vuejs-loadmore/vuejs-loadmore/index.vue +317 -0
- package/src/main.ts +85 -0
- package/src/models/app/ComponentLib.ts +189 -0
- package/src/models/app/IbspApp.ts +362 -0
- package/src/models/app/_utils.ts +38 -0
- package/src/models/app/app.d.ts +118 -0
- package/src/models/app/index.ts +2 -0
- package/src/models/app/uni/index.ts +1 -0
- package/src/models/app/uni/useUniAction.ts +174 -0
- package/src/models/command/CommandTypes.d.ts +24 -0
- package/src/models/command/index.ts +40 -0
- package/src/models/component/index.ts +56 -0
- package/src/models/dataModel/index.ts +243 -0
- package/src/models/dataModel/models/CategoryDict.ts +35 -0
- package/src/models/dataModel/models/DataSource.ts +181 -0
- package/src/models/dataModel/models/DataView.ts +132 -0
- package/src/models/dataModel/models/Script.ts +15 -0
- package/src/models/dataModel/models/ServiceInterface.ts +114 -0
- package/src/models/dataModel/models/Static.ts +24 -0
- package/src/models/dataModel/types/DataSource.d.ts +70 -0
- package/src/models/disabledState/StateTypes.d.ts +12 -0
- package/src/models/disabledState/index.ts +45 -0
- package/src/models/dynamicValues/index.ts +1 -0
- package/src/models/index.ts +6 -0
- package/src/models/page/IbspForm.ts +67 -0
- package/src/models/page/IbspPage.ts +571 -0
- package/src/models/page/data/api.ts +24 -0
- package/src/models/page/data/utils.ts +214 -0
- package/src/models/page/index.ts +3 -0
- package/src/models/script/index.ts +1 -0
- package/src/models/service/index.ts +35 -0
- package/src/models/tools/ComponentEvent.ts +42 -0
- package/src/models/tools/IbspEvents.ts +40 -0
- package/src/models/tools/IbspPageTools.ts +35 -0
- package/src/models/useComponentModel.js +1271 -0
- package/src/models/useConsole.ts +135 -0
- package/src/models/useDynamicValueModel.js +576 -0
- package/src/models/useEditorEnv.ts +55 -0
- package/src/models/useGlobalEvents.ts +44 -0
- package/src/models/useHistoryStackModel.ts +949 -0
- package/src/models/useJavascriptAnalysis.js +501 -0
- package/src/models/usePageModel.js +1087 -0
- package/src/models/useStack.ts +41 -0
- package/src/prodModels/index.ts +1 -0
- package/src/prodModels/useGlobalEvent/events.ts +7 -0
- package/src/prodModels/useGlobalEvent/index.ts +54 -0
- package/src/router/hooks/useGuard.ts +16 -0
- package/src/router/hooks/useJumpTo.ts +39 -0
- package/src/router/index.ts +62 -0
- package/src/router/meta.d.ts +7 -0
- package/src/stores/index.ts +3 -0
- package/src/stores/useComponentStore.ts +250 -0
- package/src/stores/usePlatformLibStore.js +212 -0
- package/src/stores/usePlatformStore.js +299 -0
- package/src/styles/global.less +516 -0
- package/src/styles/index-preview.ts +2 -0
- package/src/styles/index.ts +4 -0
- package/src/styles/reset.css +142 -0
- package/src/styles/theme/antdui.less +12 -0
- package/src/styles/theme/default-ui.less +9 -0
- package/src/styles/theme/elementui.less +178 -0
- package/src/styles/theme/index.less +4 -0
- package/src/styles/theme/nextui.less +550 -0
- package/src/types/config.d.ts +107 -0
- package/src/types/config2.d.ts +97 -0
- package/src/types/global.d.ts +90 -0
- package/src/types/ibsp.d.ts +112 -0
- package/src/types/index.ts +1 -0
- package/src/types/module.d.ts +105 -0
- package/src/types/platform.ts +19 -0
- package/src/types/service.d.ts +28 -0
- package/src/utils/config.ts +54 -0
- package/src/utils/configData.js +170 -0
- package/src/utils/dataProcess.js +0 -0
- package/src/utils/index.js +558 -0
- package/src/utils/request.js +82 -0
- package/src/utils/toolFuns.ts +11 -0
- package/src/views/builtins/components/message/Index.vue +104 -0
- package/src/views/builtins/error/404.vue +527 -0
- package/src/views/builtins/index.ts +136 -0
- package/src/views/builtins/login/MobileIndex.vue +496 -0
- package/src/views/builtins/login/MobileIndex_v1.vue +259 -0
- package/src/views/builtins/login/MobileIndex_v2.vue +421 -0
- package/src/views/builtins/login/WindowIndex.vue +288 -0
- package/src/views/builtins/login/mobile/svgData.js +67 -0
- package/src/views/builtins/login/useLogin.ts +63 -0
- package/src/views/builtins/message/MobileIndex.vue +309 -0
- package/src/views/builtins/message/mobile/svgData.js +28 -0
- package/src/views/builtins/my/MobileIndex.vue +508 -0
- package/src/views/builtins/my/index.vue +69 -0
- package/src/views/builtins/my/mobile/about/index.vue +16 -0
- package/src/views/builtins/my/mobile/account/Index.vue +129 -0
- package/src/views/builtins/my/mobile/auth/index.vue +16 -0
- package/src/views/builtins/my/mobile/password/Index.vue +352 -0
- package/src/views/builtins/my/mobile/password/svgData.js +67 -0
- package/src/views/builtins/my/mobile/problem/Index.vue +573 -0
- package/src/views/builtins/my/mobile/problem/svgData.js +26 -0
- package/src/views/builtins/my/mobile/server/Server.vue +152 -0
- package/src/views/builtins/my/mobile/setting/index.vue +16 -0
- package/src/views/builtins/my/mobile/svgData.js +263 -0
- package/src/views/builtins/my/mobile/switch-account/component/UserAvatar.vue +95 -0
- package/src/views/builtins/my/mobile/switch-account/index.vue +107 -0
- package/src/views/builtins/util/userAccout.ts +33 -0
- package/src/views/designer/components/BindValueConfig/components/Component.vue +38 -0
- package/src/views/designer/components/BindValueConfig/components/Const.vue +36 -0
- package/src/views/designer/components/BindValueConfig/components/Var.vue +38 -0
- package/src/views/designer/components/BindValueConfig/index.vue +115 -0
- package/src/views/designer/components/DragMenu.vue +135 -0
- package/src/views/designer/components/DrawerLodding.vue +69 -0
- package/src/views/designer/components/FloatModuleCard.vue +136 -0
- package/src/views/designer/components/PlatformLibLayout.vue +238 -0
- package/src/views/designer/components/ScriptPopup.vue +8 -0
- package/src/views/designer/components/drag/index.vue +1546 -0
- package/src/views/designer/components/drag/utils/dom.js +60 -0
- package/src/views/designer/components/drag/utils/fns.js +39 -0
- package/src/views/designer/components/drag/vue-draggable-resizable.css +102 -0
- package/src/views/designer/hooks/keyboardModule/index.js +43 -0
- package/src/views/designer/hooks/keyboardModule/modules/cvx.js +543 -0
- package/src/views/designer/hooks/keyboardModule/modules/del.js +47 -0
- package/src/views/designer/hooks/keyboardModule/modules/direction.js +38 -0
- package/src/views/designer/hooks/keyboardModule/modules/redo.js +22 -0
- package/src/views/designer/hooks/keyboardModule/modules/undo.js +12 -0
- package/src/views/designer/hooks/useConfigComponent.js +28 -0
- package/src/views/designer/hooks/useInitPage.ts +60 -0
- package/src/views/designer/hooks/useKeyboard.js +51 -0
- package/src/views/designer/hooks/usePageFloatMenu.js +137 -0
- package/src/views/designer/hooks/usePageValueData.js +92 -0
- package/src/views/designer/hooks/usePullDrag.js +160 -0
- package/src/views/designer/hooks/useRegisterKeyboard.js +328 -0
- package/src/views/designer/index.ts +3 -0
- package/src/views/designer/index.vue +121 -0
- package/src/views/designer/layout/FrameworkLayout.vue +542 -0
- package/src/views/designer/layout/LayoutDefault.vue +299 -0
- package/src/views/designer/layout/LayoutNextUi.vue +18 -0
- package/src/views/designer/layout/index.vue +54 -0
- package/src/views/designer/modules/canvas/canvas.service.ts +62 -0
- package/src/views/designer/modules/canvas/index.ts +4 -0
- package/src/views/designer/modules/canvas/src/CanvasHeaderTools.vue +409 -0
- package/src/views/designer/modules/canvas/src/components/AliginButtons.vue +120 -0
- package/src/views/designer/modules/canvas/src/components/GroupButton.vue +76 -0
- package/src/views/designer/modules/canvas/src/components/HistoryButton.vue +80 -0
- package/src/views/designer/modules/canvas/src/components/SortIndex.vue +86 -0
- package/src/views/designer/modules/canvas/src/components/toolbarPanel.vue +194 -0
- package/src/views/designer/modules/canvas/src/hooks/commonDisabledState.ts +42 -0
- package/src/views/designer/modules/canvas/src/hooks/commonMethods.ts +167 -0
- package/src/views/designer/modules/canvas/src/hooks/useAligin.ts +239 -0
- package/src/views/designer/modules/canvas/src/hooks/useCanvas copy.ts +117 -0
- package/src/views/designer/modules/canvas/src/hooks/useCanvas.ts +39 -0
- package/src/views/designer/modules/canvas/src/hooks/useGroup.ts +121 -0
- package/src/views/designer/modules/canvas/src/hooks/useHistory.ts +37 -0
- package/src/views/designer/modules/canvas/src/hooks/useSketchRuler.ts +167 -0
- package/src/views/designer/modules/canvas/src/hooks/useSortIndex.ts +147 -0
- package/src/views/designer/modules/canvas/src/hooks/useTranslate.ts +20 -0
- package/src/views/designer/modules/canvas/src/index.vue +600 -0
- package/src/views/designer/modules/canvas/src/scroll/index.vue +46 -0
- package/src/views/designer/modules/canvas/src/scroll/scroll.ts +230 -0
- package/src/views/designer/modules/config-data/dataConfig.service.ts +3 -0
- package/src/views/designer/modules/config-data/index.ts +3 -0
- package/src/views/designer/modules/config-data/src/index.vue +49 -0
- package/src/views/designer/modules/config-interactive/index.ts +4 -0
- package/src/views/designer/modules/config-interactive/interactive.service.ts +459 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/componentAction/RefreshComponent.js +46 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/componentAction/RefreshData.js +33 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/componentAction/SaveForm.js +130 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/componentAction/ShowHidden.js +60 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/formAction/ChangeFormMode.js +64 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/formAction/GetFormModel.js +40 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/formAction/SaveFormModel.js +40 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/formAction/SetFormModel.js +91 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/index.js +52 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/linkAction/AppOpenLink.js +110 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/linkAction/FrameOpenLink.js +117 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/linkAction/PlatformOutsideLink.js +119 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/linkAction/PlatformWithinLink.js +107 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/ClosePopup.js +31 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/ExecuteScript.js +37 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/GetCounterValue.js +67 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/ModalOpen.js +115 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/OpenMessage.js +95 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/RequestInterface.js +57 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/SetComponentValue.js +83 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/TriggerEvent.js +54 -0
- package/src/views/designer/modules/config-interactive/src/actionConfig/outerAction/VariableAssignment.js +145 -0
- package/src/views/designer/modules/config-interactive/src/components/ConditionPopup.vue +880 -0
- package/src/views/designer/modules/config-interactive/src/components/ConfigActionIndex.vue +218 -0
- package/src/views/designer/modules/config-interactive/src/components/IbspActionConfig.vue +210 -0
- package/src/views/designer/modules/config-interactive/src/components/IbspInteractivceList.vue +553 -0
- package/src/views/designer/modules/config-interactive/src/components/IbspInteractivePanel.vue +253 -0
- package/src/views/designer/modules/config-interactive/src/components/PopUpContainer.vue +61 -0
- package/src/views/designer/modules/config-interactive/src/components/SelectInteractiveList.vue +112 -0
- package/src/views/designer/modules/config-interactive/src/hooks/useEventAction.js +61 -0
- package/src/views/designer/modules/config-interactive/src/hooks/useInteractiveContext.ts +77 -0
- package/src/views/designer/modules/config-interactive/src/index.vue +382 -0
- package/src/views/designer/modules/config-interactive/src/stores/interactiveData.js +106 -0
- package/src/views/designer/modules/config-interactive/src/stores/interactiveDataPlus.js +36 -0
- package/src/views/designer/modules/config-page/index.ts +3 -0
- package/src/views/designer/modules/config-page/pageConfig.service.ts +1 -0
- package/src/views/designer/modules/config-page/src/config.js +652 -0
- package/src/views/designer/modules/config-page/src/index.vue +120 -0
- package/src/views/designer/modules/config-props/index.ts +3 -0
- package/src/views/designer/modules/config-props/propsConfig.service.ts +1 -0
- package/src/views/designer/modules/config-props/src/CommonConfig.vue +576 -0
- package/src/views/designer/modules/config-props/src/ScriptConfig.vue +67 -0
- package/src/views/designer/modules/config-props/src/components/Background.vue +372 -0
- package/src/views/designer/modules/config-props/src/components/BorderPlus.vue +128 -0
- package/src/views/designer/modules/config-props/src/components/Collapse.vue +137 -0
- package/src/views/designer/modules/config-props/src/components/Input.vue +262 -0
- package/src/views/designer/modules/config-props/src/components/Radio.vue +108 -0
- package/src/views/designer/modules/config-props/src/components/Switch.vue +57 -0
- package/src/views/designer/modules/config-props/src/index.vue +82 -0
- package/src/views/designer/modules/data-model/index.ts +3 -0
- package/src/views/designer/modules/data-model/src/components/CategoryDict.vue +144 -0
- package/src/views/designer/modules/data-model/src/components/DataModel.vue +638 -0
- package/src/views/designer/modules/data-model/src/components/DataModel2.vue +583 -0
- package/src/views/designer/modules/data-model/src/components/DataView.vue +169 -0
- package/src/views/designer/modules/data-model/src/components/EditScript.vue +83 -0
- package/src/views/designer/modules/data-model/src/components/EditTable.vue +208 -0
- package/src/views/designer/modules/data-model/src/components/FieldsGroup.vue +199 -0
- package/src/views/designer/modules/data-model/src/components/ParamSelect.vue +64 -0
- package/src/views/designer/modules/data-model/src/components/ScriptConfig.vue +53 -0
- package/src/views/designer/modules/data-model/src/components/ScriptData.vue +62 -0
- package/src/views/designer/modules/data-model/src/components/ServiceInterface.vue +248 -0
- package/src/views/designer/modules/data-model/src/components/Static.vue +236 -0
- package/src/views/designer/modules/data-model/src/components/TestData.vue +39 -0
- package/src/views/designer/modules/data-model/src/components/filter-data/components/MoreConfig.vue +121 -0
- package/src/views/designer/modules/data-model/src/components/filter-data/components/select-field/index.vue +337 -0
- package/src/views/designer/modules/data-model/src/components/filter-data/components/select-field/useSelectField.ts +104 -0
- package/src/views/designer/modules/data-model/src/components/filter-data/index.vue +140 -0
- package/src/views/designer/modules/data-model/src/hooks/useModelConfig.ts +98 -0
- package/src/views/designer/modules/data-model/src/hooks/useModelDefaultValue.ts +153 -0
- package/src/views/designer/modules/data-model/src/index.vue +374 -0
- package/src/views/designer/modules/data-model/src/types/model.d.ts +144 -0
- package/src/views/designer/modules/headerWidgetModule/HeaderWidgetIndex.vue +937 -0
- package/src/views/designer/modules/headerWidgetModule/components/CodeEditor.vue +315 -0
- package/src/views/designer/modules/headerWidgetModule/components/DirectionTooltip.vue +164 -0
- package/src/views/designer/modules/headerWidgetModule/components/DirectionTooltipComponent.vue +164 -0
- package/src/views/designer/modules/headerWidgetModule/components/MirrorTextArea.vue +73 -0
- package/src/views/designer/modules/headerWidgetModule/components/PlatformLibLayout.vue +238 -0
- package/src/views/designer/modules/headerWidgetModule/components/quoteConfig/components/configCenter.vue +51 -0
- package/src/views/designer/modules/headerWidgetModule/components/quoteConfig/index.vue +89 -0
- package/src/views/designer/modules/headerWidgetModule/constantLib/index.vue +433 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/CategoryDict.vue +141 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/DataModel.vue +638 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/DataModel2.vue +455 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/DataView.vue +233 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/EditTable.vue +208 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/FieldsGroup.vue +199 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/ScriptConfig.vue +53 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/ScriptData.vue +63 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/ServiceInterface.vue +287 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/Static.vue +170 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/components/TestData.vue +33 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/hooks/useLeaveParams.ts +26 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/hooks/useUtils.js +53 -0
- package/src/views/designer/modules/headerWidgetModule/dataSource/index.vue +471 -0
- package/src/views/designer/modules/headerWidgetModule/designerConfig/index.vue +15 -0
- package/src/views/designer/modules/headerWidgetModule/globalVarLib/index.vue +471 -0
- package/src/views/designer/modules/headerWidgetModule/iconLib/index.vue +346 -0
- package/src/views/designer/modules/headerWidgetModule/materialLib/index.vue +901 -0
- package/src/views/designer/modules/headerWidgetModule/methodLib/index.vue +551 -0
- package/src/views/designer/modules/headerWidgetModule/scriptLib/index.vue +415 -0
- package/src/views/designer/modules/ibsp-component-lib/componentLib.service.ts +17 -0
- package/src/views/designer/modules/ibsp-component-lib/index.ts +5 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/components/index.ts +5 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/components/middleware/ComponentDes.vue +175 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/components/middleware/ComponentPre.vue +84 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/components/middleware/FormItemComponent.vue +314 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/components/middleware/FormItemComponentPre.vue +154 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/components/middleware/useContextModel.ts +30 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/hooks/useCommonFuns.ts +91 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/hooks/useComponentContext.ts +304 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/hooks/useFormDropComponent.ts +69 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/hooks/useFromItemDnD.ts +264 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/index.js +47 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/content-container/ContentContainerDes.vue +56 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/content-container/ContentContainerPre.vue +32 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/content-container/index.vue +33 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/drag-container/index.vue +80 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/drag-container/vueDrag/index.vue +1362 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/drag-container/vueDrag/utils/dom.js +60 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/drag-container/vueDrag/utils/fns.js +39 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/drag-container/vueDrag/vue-draggable-resizable.css +125 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/builtinContainer/index.ts +4 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/card/Template.vue +214 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/card/config/config.js +37 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/card/config/data.js +191 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/card/config/props.js +150 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/card/index.vue +32 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/data/config.js +49 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/data/index.vue +205 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/data/utils.ts +20 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/RenderComponent.vue +33 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/config.ts +25 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/form-item/config.ts +25 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/form-item/index.vue +72 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/index.vue +248 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/sub-form/RenderComponent.vue +328 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/sub-form/config.ts +30 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/formContainer/sub-form/index.vue +217 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/mobileNavFrame/components/MobileMenu.vue +107 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/mobileNavFrame/config.js +151 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/mobileNavFrame/index.vue +789 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/mobileNavFrame/utils/uni.webview.1.5.5.js +58 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/components/AddMenuConfig.vue +320 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/components/Header.vue +139 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/components/IMenu.vue +65 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/config/config.ts +25 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/config/prop/aside.ts +41 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/config/prop/header.ts +139 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/config/prop/index.ts +12 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/config/prop/nav.ts +143 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/hooks/useAppMenus.js +164 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigation-framework-v2/index.vue +100 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigationFrame/SystemNavComponent.vue +810 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigationFrame/components/AddMenuConfig.vue +322 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigationFrame/components/MyElMenu.vue +59 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigationFrame/config.js +283 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigationFrame/hooks/useAppMenus.js +164 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/navigationFrame/index.vue +74 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/pageContainer/config.js +127 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/container/pageContainer/index.vue +135 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/core/BaseContainer.vue +90 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/core/hooks/useAddComponent.ts +69 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/core/hooks/useContainerDnD.ts +79 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/core/index.ts +3 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/core/types/containerProps.ts +46 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/core/types/dnd.ts +17 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/flexLayout/RenderComponent.vue +33 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/flexLayout/config.js +691 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/flexLayout/index.vue +344 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/grid-drag-layout/config.js +26 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/grid-drag-layout/hooks/useDragGrid.ts +3 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/grid-drag-layout/index.vue +40 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/config.ts +36 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/gird-row/config.ts +37 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/gird-row/index.vue +173 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/gird-row/render.vue +56 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/grid-col/config.ts +51 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/grid-col/index.vue +105 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/grid-col/render.vue +34 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/index.vue +154 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/render.vue +65 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/types/grid.ts +15 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/gridLayout/types/gridProps.ts +126 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/PreviewComponent.vue +101 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/PreviewGroup.vue +71 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/SectionGroup.vue +627 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/SectionGroup4_back.vue +388 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/SectionGroup_back.vue +503 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/components/MergeBox.vue +294 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/components/SectionTools.vue +0 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/components/vueDrag/index.vue +1360 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/components/vueDrag/utils/dom.js +60 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/components/vueDrag/utils/fns.js +39 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/components/vueDrag/vue-draggable-resizable.css +125 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/config.js +117 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/group-config.js +26 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/index.vue +1200 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/section.js +67 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/sectionLayout/section.service.ts +7 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/config.ts +28 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/hooks/useColActions.ts +244 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/index.vue +218 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/render.vue +97 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/table-col/config.ts +41 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/table-col/index.vue +69 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/table-col/render.vue +47 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/table-row/config.ts +25 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/table-row/index.vue +78 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/table-row/render.vue +38 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/types/table.ts +15 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/modules/layout/tableLayout/types/tableProps.ts +87 -0
- package/src/views/designer/modules/ibsp-component-lib/src/componentLibs/types/props.d.ts +12 -0
- package/src/views/designer/modules/ibsp-component-lib/src/components/ColorPalette.vue +394 -0
- package/src/views/designer/modules/ibsp-component-lib/src/index.vue +530 -0
- package/src/views/designer/modules/ibsp-config/ConfigIndex.vue +222 -0
- package/src/views/designer/modules/ibsp-config/builtinComponents/DataModel.jsx +65 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/batchGroup.ts +8 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/selectComponents.ts +22 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/selectDataModel.ts +9 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/selectForms.ts +14 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/selectPages.ts +14 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/selectScript.ts +46 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs/selectVars.ts +32 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/configs.d.ts +5 -0
- package/src/views/designer/modules/ibsp-config/commonlyConfig/index.ts +7 -0
- package/src/views/designer/modules/ibsp-config/components/BuiltinFormItems.vue +82 -0
- package/src/views/designer/modules/ibsp-config/components/CollapseItem.vue +23 -0
- package/src/views/designer/modules/ibsp-config/components/ExpressionPopup.vue +357 -0
- package/src/views/designer/modules/ibsp-config/components/FormItem.vue +201 -0
- package/src/views/designer/modules/ibsp-config/components/InterfaceParam.vue +714 -0
- package/src/views/designer/modules/ibsp-config/components/ResourcePopup.vue +319 -0
- package/src/views/designer/modules/ibsp-config/components/dynamicValueBindingModule/DynamicValuePlusIndex.vue +283 -0
- package/src/views/designer/modules/ibsp-config/components/dynamicValueBindingModule/index.vue +266 -0
- package/src/views/designer/modules/ibsp-config/components/staticTable/ContextMenu.vue +107 -0
- package/src/views/designer/modules/ibsp-config/components/staticTable/index.vue +264 -0
- package/src/views/designer/modules/ibsp-config/components/staticTable/upload.vue +60 -0
- package/src/views/designer/modules/ibsp-config/config.service.ts +17 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Button.vue +56 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/CascaderSelect.vue +83 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/CateTreeList.vue +571 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Checkbox.vue +57 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Collapse.vue +163 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Color.vue +57 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ControlConfig/RadioConfig.vue +11 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ControlConfig/RegionalSelectionConfig.vue +159 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ControlConfig/SelectConfig.vue +599 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ControlConfig/components/table.vue +51 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ControlConfig/index.vue +62 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataColumns.vue +171 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/components/CategoryDict.vue +67 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/components/DataView.vue +124 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/components/EditTable.vue +209 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/components/ScriptConfig.vue +48 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/components/ServiceInterface.vue +130 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/components/Static.vue +141 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DataSource/index.vue +122 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Dialog.vue +147 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DragTabs.vue +836 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Drawer.vue +61 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/DynamicDataValue.vue +120 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Expression/hooks/useWhere.ts +67 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Expression/index.vue +679 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/FormItem.vue +133 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Input.vue +205 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/InputNumber.vue +101 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/InterfaceParamConfig.vue +51 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Modal.vue +84 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/MonacoEditor.vue +108 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ParamConfig.vue +501 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Position.vue +94 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Radio.vue +182 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/ScriptData.vue +55 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Select.vue +148 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/SelectExpression.vue +94 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/SelectIcon.vue +107 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/SelectResource.vue +117 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/SetParamSource.vue +181 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Slider.vue +55 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/StaticTable.vue +42 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Switch.vue +40 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Tab.vue +221 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Tabs.vue +91 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Tabs2.vue +546 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/Title.vue +86 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/TreeSelect.vue +142 -0
- package/src/views/designer/modules/ibsp-config/configComponentLibs/TreeSelectPlus.vue +70 -0
- package/src/views/designer/modules/ibsp-config/configGroups/BaseData.js +60 -0
- package/src/views/designer/modules/ibsp-config/hooks/useModelValue.ts +22 -0
- package/src/views/designer/modules/ibsp-config/index.ts +44 -0
- package/src/views/designer/modules/ibsp-config/utils.ts +6 -0
- package/src/views/designer/modules/ibsp-form-domain/index.ts +3 -0
- package/src/views/designer/modules/ibsp-form-domain/src/index.vue +178 -0
- package/src/views/designer/modules/ibsp-history/history.service.ts +3 -0
- package/src/views/designer/modules/ibsp-history/index.ts +3 -0
- package/src/views/designer/modules/ibsp-history/src/index.vue +126 -0
- package/src/views/designer/modules/ibsp-outline/index.ts +3 -0
- package/src/views/designer/modules/ibsp-outline/outline.service.ts +1 -0
- package/src/views/designer/modules/ibsp-outline/src/index.vue +256 -0
- package/src/views/designer/modules/ibsp-page/index.ts +4 -0
- package/src/views/designer/modules/ibsp-page/pageList.service.ts +3 -0
- package/src/views/designer/modules/ibsp-page/src/index.vue +393 -0
- package/src/views/designer/modules/ibsp-script/index.ts +3 -0
- package/src/views/designer/modules/ibsp-script/script.service.ts +161 -0
- package/src/views/designer/modules/ibsp-script/src/ScriptIndex.vue +408 -0
- package/src/views/designer/modules/ibsp-script/src/components/Contextmenu.vue +104 -0
- package/src/views/designer/modules/ibsp-script/src/components/ScriptData.vue +518 -0
- package/src/views/designer/modules/ibsp-script/src/components/ScriptPanel.vue +415 -0
- package/src/views/designer/modules/ibsp-script/src/components/ScriptSetting.vue +48 -0
- package/src/views/designer/modules/ibsp-script/src/components/console/Console.vue +53 -0
- package/src/views/designer/modules/ibsp-script/src/components/console/components/ConsoleError.vue +33 -0
- package/src/views/designer/modules/ibsp-script/src/components/console/components/ConsoleLine.vue +53 -0
- package/src/views/designer/modules/ibsp-script/src/components/console/components/ConsoleLog.vue +93 -0
- package/src/views/designer/modules/ibsp-script/src/components/console/console.ts +11 -0
- package/src/views/designer/modules/ibsp-script/src/hooks/useComponentEditor.ts +21 -0
- package/src/views/designer/modules/ibsp-script/src/hooks/useContextmenu.js +70 -0
- package/src/views/designer/modules/ibsp-script/src/hooks/useScriptData.ts +73 -0
- package/src/views/designer/modules/ibsp-script/src/index.vue +114 -0
- package/src/views/designer/modules/ibsp-template/index.ts +3 -0
- package/src/views/designer/modules/ibsp-template/src/index.vue +19 -0
- package/src/views/designer/modules/ibsp-template/template.service.ts +1 -0
- package/src/views/designer/modules/index.ts +198 -0
- package/src/views/designer/modules/platform-const/const.service.ts +1 -0
- package/src/views/designer/modules/platform-const/index.ts +4 -0
- package/src/views/designer/modules/platform-const/src/index.vue +432 -0
- package/src/views/designer/modules/platform-icon/icon.service.ts +1 -0
- package/src/views/designer/modules/platform-icon/index.ts +4 -0
- package/src/views/designer/modules/platform-icon/src/index.vue +346 -0
- package/src/views/designer/modules/platform-material/index.ts +3 -0
- package/src/views/designer/modules/platform-material/material.service.ts +1 -0
- package/src/views/designer/modules/platform-material/src/index.vue +901 -0
- package/src/views/designer/modules/platform-method/index.ts +4 -0
- package/src/views/designer/modules/platform-method/method.service.ts +1 -0
- package/src/views/designer/modules/platform-method/src/index.vue +14 -0
- package/src/views/designer/modules/platform-script/index.ts +4 -0
- package/src/views/designer/modules/platform-script/script.service.ts +1 -0
- package/src/views/designer/modules/platform-script/src/index.vue +14 -0
- package/src/views/designer/modules/platform-var/index.ts +6 -0
- package/src/views/designer/modules/platform-var/src/index.vue +450 -0
- package/src/views/designer/modules/platform-var/var.service.ts +1 -0
- package/src/views/designer/modules/scriptModule/ScriptIndex.vue +686 -0
- package/src/views/designer/modules/scriptModule/ScriptIndexPlus.vue +1308 -0
- package/src/views/designer/modules/scriptModule/components/Contextmenu.vue +100 -0
- package/src/views/designer/modules/scriptModule/components/EnvData.vue +78 -0
- package/src/views/designer/modules/scriptModule/components/ScriptData.vue +541 -0
- package/src/views/designer/modules/scriptModule/components/ScriptEditPanel.vue +658 -0
- package/src/views/designer/modules/scriptModule/components/ScriptList.vue +365 -0
- package/src/views/designer/modules/scriptModule/components/ScriptNavContentLayout.vue +66 -0
- package/src/views/designer/modules/scriptModule/components/console/Console.vue +53 -0
- package/src/views/designer/modules/scriptModule/components/console/components/ConsoleError.vue +33 -0
- package/src/views/designer/modules/scriptModule/components/console/components/ConsoleLine.vue +53 -0
- package/src/views/designer/modules/scriptModule/components/console/components/ConsoleLog.vue +93 -0
- package/src/views/designer/modules/scriptModule/components/console/console.ts +11 -0
- package/src/views/designer/modules/scriptModule/components/scriptManagement.vue +78 -0
- package/src/views/designer/modules/scriptModule/hooks/useComponentEditor.ts +22 -0
- package/src/views/designer/modules/scriptModule/hooks/useContextmenu.js +70 -0
- package/src/views/designer/modules/scriptModule/hooks/useIbspScript.js +95 -0
- package/src/views/designer/modules/scriptModule/hooks/useIbspScriptPlus.js +38 -0
- package/src/views/designer/modules/scriptModule/hooks/useScript.js +27 -0
- package/src/views/designer/modules/scriptModule/useScriptStore.js +142 -0
- package/src/views/designer/modules/shortcut-keys/index.ts +2 -0
- package/src/views/designer/modules/shortcut-keys/shortcutKey.service.ts +1 -0
- package/src/views/doc/index.ts +3 -0
- package/src/views/doc/src/index.vue +40 -0
- package/src/views/home/hooks/useApp.ts +127 -0
- package/src/views/home/index.vue +397 -0
- package/src/views/preview/index.ts +6 -0
- package/src/views/preview/src/PreviewPage.vue +215 -0
- package/src/views/preview/src/action-parse-lib/componentAction/RefreshComponent.js +10 -0
- package/src/views/preview/src/action-parse-lib/componentAction/RefreshData.js +8 -0
- package/src/views/preview/src/action-parse-lib/componentAction/SaveForm.js +111 -0
- package/src/views/preview/src/action-parse-lib/componentAction/ShowHidden.js +20 -0
- package/src/views/preview/src/action-parse-lib/formAction/ChangeFormMode.js +86 -0
- package/src/views/preview/src/action-parse-lib/formAction/GetFormModel.js +42 -0
- package/src/views/preview/src/action-parse-lib/formAction/SaveFormModel.js +47 -0
- package/src/views/preview/src/action-parse-lib/formAction/SetFormModel.js +28 -0
- package/src/views/preview/src/action-parse-lib/index.js +23 -0
- package/src/views/preview/src/action-parse-lib/linkAction/AppOpenLink.js +34 -0
- package/src/views/preview/src/action-parse-lib/linkAction/FrameOpenLink.js +33 -0
- package/src/views/preview/src/action-parse-lib/linkAction/PlatformOutsideLink.js +34 -0
- package/src/views/preview/src/action-parse-lib/linkAction/PlatformWithinLink.js +51 -0
- package/src/views/preview/src/action-parse-lib/outerAction/ClosePopup.js +8 -0
- package/src/views/preview/src/action-parse-lib/outerAction/ExecuteScript.js +22 -0
- package/src/views/preview/src/action-parse-lib/outerAction/GetCounterValue.js +7 -0
- package/src/views/preview/src/action-parse-lib/outerAction/ModalOpen.js +48 -0
- package/src/views/preview/src/action-parse-lib/outerAction/OpenMessage.js +14 -0
- package/src/views/preview/src/action-parse-lib/outerAction/RequestInterface.js +135 -0
- package/src/views/preview/src/action-parse-lib/outerAction/SetComponentValue.js +41 -0
- package/src/views/preview/src/action-parse-lib/outerAction/TriggerEvent.js +6 -0
- package/src/views/preview/src/action-parse-lib/outerAction/VariableAssignment.js +12 -0
- package/src/views/preview/src/hooks/useHandleParams.js +13 -0
- package/src/views/preview/src/index.vue +113 -0
- package/src/views/preview/src/index_back.vue +149 -0
- package/src/views/preview/src/interaction-model/Interaction.ts +280 -0
- package/src/views/preview/src/preview.ts +42 -0
- package/src/views/template/index.ts +4 -0
- package/src/views/template/src/PreviewIndex.vue +36 -0
- package/src/views/template/src/TemplateDesignerIndex.vue +492 -0
- package/src/views/template/src/index.vue +15 -0
- package/tsconfig.json +63 -0
- package/vite.config.js +106 -0
- package/vite.config.template.js +31 -0
|
@@ -0,0 +1,789 @@
|
|
|
1
|
+
<script lang='ts'>
|
|
2
|
+
import { computed, defineComponent, reactive, watch, ref, defineAsyncComponent } from 'vue'
|
|
3
|
+
import { ArrowLeftBold, RefreshRight, Camera, MoreFilled, Back, HomeFilled, House } from '@element-plus/icons-vue';
|
|
4
|
+
import { useRouter, useRoute } from 'vue-router';
|
|
5
|
+
import { ElMessage } from 'element-plus'
|
|
6
|
+
import { builtinPages } from '@/views/builtins/index'
|
|
7
|
+
import MobileMenu from './components/MobileMenu.vue';
|
|
8
|
+
import useAppMenus from '../navigationFrame/hooks/useAppMenus';
|
|
9
|
+
import { MyNavigationDrawer } from '@/views/builtins/index';
|
|
10
|
+
import './utils/uni.webview.1.5.5.js'
|
|
11
|
+
import { eventManager } from '@/prodModels'
|
|
12
|
+
import { getPageInfoApi } from '@/api/ibsp-bg-page';
|
|
13
|
+
|
|
14
|
+
import RenderIndex from '@preview/src/index.vue';
|
|
15
|
+
|
|
16
|
+
export default defineComponent({
|
|
17
|
+
name: 'IBSPMobileNavFrame',
|
|
18
|
+
components: {
|
|
19
|
+
MobileMenu,
|
|
20
|
+
RenderIndex,
|
|
21
|
+
ArrowLeftBold,
|
|
22
|
+
RefreshRight,
|
|
23
|
+
Camera,
|
|
24
|
+
MoreFilled,
|
|
25
|
+
House,
|
|
26
|
+
MyNavigationDrawer
|
|
27
|
+
},
|
|
28
|
+
props: ['propsValues', 'component', 'page', 'app', 'eventValues'],
|
|
29
|
+
setup(props) {
|
|
30
|
+
const currentNav = ref<any>({})
|
|
31
|
+
const cacheIdList = ref<string[]>([])
|
|
32
|
+
const loading = ref(false)
|
|
33
|
+
const historyInnerPageIds = ref<any[]>([])
|
|
34
|
+
const _refresh_key = ref<string>('')
|
|
35
|
+
const previewPage_keepalive_ref = ref<any>(null)
|
|
36
|
+
const previewPage_ref = ref<any>(null)
|
|
37
|
+
const mobileTop = ref(0)
|
|
38
|
+
const mobileBottom = ref(0)
|
|
39
|
+
const currentJumpToHistory = ref<any[]>([])
|
|
40
|
+
const _pageName = ref<string>('')
|
|
41
|
+
const currentDownLoadProgress = ref<number>(0)
|
|
42
|
+
const currentProgressState = ref<boolean>(false)
|
|
43
|
+
const exportData = reactive({
|
|
44
|
+
config: [
|
|
45
|
+
{
|
|
46
|
+
label: '扫一扫结果',
|
|
47
|
+
value: 'currentScanRes'
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
values: {
|
|
51
|
+
currentScanRes: ''
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
props.app.mobileParams.top = mobileTop
|
|
57
|
+
props.app.mobileParams.bottom = mobileBottom
|
|
58
|
+
|
|
59
|
+
const { updateData } = useAppMenus(props.component, props.page)
|
|
60
|
+
updateData(props.propsValues.navConfig.navMenus || [])
|
|
61
|
+
const router = useRouter()
|
|
62
|
+
const route = useRoute()
|
|
63
|
+
const renderedCacheIds = ref<string[]>([])
|
|
64
|
+
|
|
65
|
+
const loadPage = reactive({
|
|
66
|
+
id: '',
|
|
67
|
+
cache: false,
|
|
68
|
+
name: '',
|
|
69
|
+
inner: false,
|
|
70
|
+
builtinInner: false,
|
|
71
|
+
mainPage: false,
|
|
72
|
+
pageType: 2 // 2:构建页面 1:内置页面
|
|
73
|
+
})
|
|
74
|
+
|
|
75
|
+
watch(() => loadPage.id, (val) => {
|
|
76
|
+
if (window.uni?.postMessage) {
|
|
77
|
+
window.uni.postMessage({
|
|
78
|
+
data: {
|
|
79
|
+
type: 'isTopPage', params: {
|
|
80
|
+
state: val === currentNav.value?.page?.id
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
})
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
})
|
|
87
|
+
|
|
88
|
+
const setJumpToRecord = (page: typeof loadPage) => {
|
|
89
|
+
|
|
90
|
+
if (page.mainPage) {
|
|
91
|
+
currentJumpToHistory.value = [page]
|
|
92
|
+
return
|
|
93
|
+
}
|
|
94
|
+
const isExitIndex = currentJumpToHistory.value.findIndex((item) => item.id === page.id)
|
|
95
|
+
|
|
96
|
+
if (isExitIndex > -1) {
|
|
97
|
+
currentJumpToHistory.value = currentJumpToHistory.value.slice(0, isExitIndex + 1)
|
|
98
|
+
|
|
99
|
+
return
|
|
100
|
+
}
|
|
101
|
+
currentJumpToHistory.value.push(page)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const navMenusPlatList = computed<any[]>(() => {
|
|
105
|
+
const result: any[] = []
|
|
106
|
+
const loop = (menus: any[]) => {
|
|
107
|
+
menus.forEach((item) => {
|
|
108
|
+
result.push(item)
|
|
109
|
+
if (item.children) {
|
|
110
|
+
loop(item.children)
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
}
|
|
114
|
+
loop(props.component.data.navMenus || [])
|
|
115
|
+
return result
|
|
116
|
+
})
|
|
117
|
+
|
|
118
|
+
const navMenus = computed<any[]>(() => {
|
|
119
|
+
return props.component.data.navMenus || []
|
|
120
|
+
})
|
|
121
|
+
const headerStyle = computed(() => {
|
|
122
|
+
return {
|
|
123
|
+
backgroundColor: props.propsValues.navConfig.headerBackgroundColor,
|
|
124
|
+
height: props.propsValues.navConfig.headerHeight + 'px',
|
|
125
|
+
color: props.propsValues.navConfig.headerColor,
|
|
126
|
+
marginTop: mobileTop.value + 'px'
|
|
127
|
+
}
|
|
128
|
+
})
|
|
129
|
+
|
|
130
|
+
// 监听路由变化
|
|
131
|
+
router.afterEach((to, from) => {
|
|
132
|
+
const id = to.params.childId || to.params.id
|
|
133
|
+
|
|
134
|
+
if (id) {
|
|
135
|
+
const menu = navMenusPlatList.value.find((item: any) => item.page.id === id)
|
|
136
|
+
if (menu) {
|
|
137
|
+
currentNav.value = menu
|
|
138
|
+
loadPage.cache = menu.cache
|
|
139
|
+
loadPage.id = menu.page.id
|
|
140
|
+
loadPage.pageType = menu.page.pageType
|
|
141
|
+
loadPage.name = menu.title
|
|
142
|
+
loadPage.inner = false
|
|
143
|
+
return
|
|
144
|
+
}
|
|
145
|
+
const innerPage = historyInnerPageIds.value.find((item) => item.id === id)
|
|
146
|
+
if (innerPage) {
|
|
147
|
+
loadPage.id = innerPage.id
|
|
148
|
+
loadPage.pageType = innerPage.pageType
|
|
149
|
+
loadPage.cache = innerPage.cache
|
|
150
|
+
loadPage.name = innerPage.name
|
|
151
|
+
loadPage.inner = innerPage.inner
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
loading.value = false
|
|
155
|
+
})
|
|
156
|
+
|
|
157
|
+
const innerPageId = computed(() => props.page.getDynamicValue(props.propsValues.navConfig.innerPageId))
|
|
158
|
+
const innerPageName = computed(() => props.page.getDynamicValue(props.propsValues.navConfig.innerPageName))
|
|
159
|
+
|
|
160
|
+
const goInnerPage = async (id: string) => {
|
|
161
|
+
loadPage.id = id
|
|
162
|
+
loadPage.cache = false
|
|
163
|
+
loadPage.name = innerPageName.value
|
|
164
|
+
loadPage.inner = true
|
|
165
|
+
loadPage.mainPage = false
|
|
166
|
+
router.push({
|
|
167
|
+
name: 'PreviewChild',
|
|
168
|
+
params: {
|
|
169
|
+
childId: id
|
|
170
|
+
}
|
|
171
|
+
})
|
|
172
|
+
historyInnerPageIds.value.push(JSON.parse(JSON.stringify(loadPage)))
|
|
173
|
+
setJumpToRecord({ ...loadPage })
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
const goBuiltinPage = async (page: typeof loadPage) => {
|
|
178
|
+
loadPage.id = page.id
|
|
179
|
+
loadPage.name = page.name
|
|
180
|
+
loadPage.inner = true
|
|
181
|
+
loadPage.pageType = 1
|
|
182
|
+
loadPage.mainPage = false
|
|
183
|
+
loadPage.builtinInner = page.builtinInner
|
|
184
|
+
historyInnerPageIds.value.push(JSON.parse(JSON.stringify(loadPage)))
|
|
185
|
+
setJumpToRecord({ ...loadPage })
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
return {
|
|
190
|
+
navMenus,
|
|
191
|
+
currentNav,
|
|
192
|
+
cacheIdList,
|
|
193
|
+
headerStyle,
|
|
194
|
+
navMenusPlatList,
|
|
195
|
+
router,
|
|
196
|
+
route,
|
|
197
|
+
loading,
|
|
198
|
+
renderedCacheIds,
|
|
199
|
+
goInnerPage,
|
|
200
|
+
historyInnerPageIds,
|
|
201
|
+
innerPageId,
|
|
202
|
+
loadPage,
|
|
203
|
+
innerPageName,
|
|
204
|
+
_refresh_key,
|
|
205
|
+
previewPage_keepalive_ref,
|
|
206
|
+
previewPage_ref,
|
|
207
|
+
goBuiltinPage,
|
|
208
|
+
mobileTop,
|
|
209
|
+
mobileBottom,
|
|
210
|
+
currentJumpToHistory,
|
|
211
|
+
setJumpToRecord,
|
|
212
|
+
_pageName,
|
|
213
|
+
currentDownLoadProgress,
|
|
214
|
+
currentProgressState,
|
|
215
|
+
exportData
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
},
|
|
220
|
+
watch: {
|
|
221
|
+
navMenus: {
|
|
222
|
+
async handler(val) {
|
|
223
|
+
if (this.component.mode === 'Design') {
|
|
224
|
+
return
|
|
225
|
+
}
|
|
226
|
+
// 处理初始加载内置页面
|
|
227
|
+
const childId = this.route.params.childId as string
|
|
228
|
+
if (childId && !(this.navMenusPlatList.find((item) => item.page.id === childId))) {
|
|
229
|
+
this.loadPage.id = childId
|
|
230
|
+
this.loadPage.cache = false
|
|
231
|
+
this.loadPage.name = this.innerPageName
|
|
232
|
+
this.loadPage.inner = true
|
|
233
|
+
return
|
|
234
|
+
}
|
|
235
|
+
// 处理初始加载菜单页面
|
|
236
|
+
const menu = val[0]
|
|
237
|
+
if (menu && menu.page?.id) {
|
|
238
|
+
this.router.push({
|
|
239
|
+
name: 'PreviewChild',
|
|
240
|
+
params: {
|
|
241
|
+
childId: menu.page.id
|
|
242
|
+
}
|
|
243
|
+
})
|
|
244
|
+
this.currentNav = menu
|
|
245
|
+
const pageId = this.currentNav.page.id
|
|
246
|
+
this.loadPage.id = pageId
|
|
247
|
+
this.loadPage.pageType = this.currentNav.page.pageType
|
|
248
|
+
this.loadPage.cache = this.currentNav.cache
|
|
249
|
+
this.loadPage.name = this.currentNav.title
|
|
250
|
+
this.loadPage.inner = false
|
|
251
|
+
this.loadPage.mainPage = true
|
|
252
|
+
this.loading = !this.renderedCacheIds.includes(pageId)
|
|
253
|
+
}
|
|
254
|
+
this.setJumpToRecord({ ...this.loadPage })
|
|
255
|
+
},
|
|
256
|
+
deep: true
|
|
257
|
+
},
|
|
258
|
+
async innerPageId(val) {
|
|
259
|
+
if (val && this.component.mode !== 'Design') {
|
|
260
|
+
let id = val
|
|
261
|
+
if (val?.startsWith?.('#ibspstart{')) {
|
|
262
|
+
const reg = /^#ibspstart{(.*?)}#ibspend(.*?)$/
|
|
263
|
+
const regRes = val.match(reg, val)
|
|
264
|
+
id = regRes[1]
|
|
265
|
+
}
|
|
266
|
+
const versionId = await this.getPageVersionId(id)
|
|
267
|
+
this.goInnerPage(versionId || id)
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
},
|
|
272
|
+
methods: {
|
|
273
|
+
getBuiltinPage(value:any) {
|
|
274
|
+
const c = builtinPages.find((i:any) => i.value === value)?.component as ()=>Promise<any>
|
|
275
|
+
if (c) {
|
|
276
|
+
return defineAsyncComponent(c)
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
onSelectMenu(id: string, item: any, refresh: boolean = false) {
|
|
280
|
+
if (this.currentNav.id === item.id && !refresh) {
|
|
281
|
+
return
|
|
282
|
+
}
|
|
283
|
+
this.currentNav = item
|
|
284
|
+
if (this.currentNav?.page?.id) {
|
|
285
|
+
this.loading = !this.renderedCacheIds.includes(item.page.id)
|
|
286
|
+
} else {
|
|
287
|
+
this.loading = false
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
this.loadPage.id = item.page.id
|
|
291
|
+
this.loadPage.pageType = item.page.pageType
|
|
292
|
+
this.loadPage.cache = item.cache
|
|
293
|
+
this.loadPage.name = item.title
|
|
294
|
+
this.loadPage.inner = false
|
|
295
|
+
this.loadPage.mainPage = true
|
|
296
|
+
|
|
297
|
+
this.setJumpToRecord({ ...this.loadPage })
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
this.historyInnerPageIds.push(JSON.parse(JSON.stringify(this.loadPage)))
|
|
301
|
+
|
|
302
|
+
// 去重 相同的id
|
|
303
|
+
const ids = this.historyInnerPageIds.map((item) => item.id)
|
|
304
|
+
const uniqueIds = Array.from(new Set(ids))
|
|
305
|
+
this.historyInnerPageIds = uniqueIds.map((id) => this.historyInnerPageIds.find((item) => item.id === id))
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
this.router.push({
|
|
309
|
+
name: 'PreviewChild',
|
|
310
|
+
params: {
|
|
311
|
+
childId: item.page.id
|
|
312
|
+
}
|
|
313
|
+
})
|
|
314
|
+
|
|
315
|
+
},
|
|
316
|
+
loadedCallback() {
|
|
317
|
+
this.loading = false
|
|
318
|
+
if (this.currentNav.cache) {
|
|
319
|
+
this.renderedCacheIds.push(this.currentNav.page.id)
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
onClickGoInnerPageReturn() {
|
|
323
|
+
const currentIndex = this.currentJumpToHistory.findIndex((item) => item.id === this.loadPage.id)
|
|
324
|
+
if (currentIndex > 0) {
|
|
325
|
+
const page = this.currentJumpToHistory[currentIndex - 1]
|
|
326
|
+
if (page) {
|
|
327
|
+
this.loadPage.id = page.id
|
|
328
|
+
this.loadPage.cache = page.cache
|
|
329
|
+
this.loadPage.name = page.name
|
|
330
|
+
this.loadPage.inner = page.inner
|
|
331
|
+
this.loadPage.pageType = page.pageType
|
|
332
|
+
this.loadPage.mainPage = page.mainPage
|
|
333
|
+
this.historyInnerPageIds.pop()
|
|
334
|
+
this.setJumpToRecord({ ...this.loadPage })
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
async getPageVersionId(id: string) {
|
|
339
|
+
const res = await getPageInfoApi(id)
|
|
340
|
+
return res?.data?.idPageVersion
|
|
341
|
+
},
|
|
342
|
+
onClickClose() {
|
|
343
|
+
if (this.currentNav?.page?.id) {
|
|
344
|
+
this.onSelectMenu('', this.currentNav, true)
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
},
|
|
348
|
+
onPageCreated(page: any) {
|
|
349
|
+
if (!page?.name) {
|
|
350
|
+
this.loading = false
|
|
351
|
+
return
|
|
352
|
+
}
|
|
353
|
+
const target = this.currentJumpToHistory.find((item: any) => item.id === this.loadPage.id)
|
|
354
|
+
this._pageName = page.name
|
|
355
|
+
if (!target?.name) {
|
|
356
|
+
target.name = page.name
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (!this.loadPage?.name) {
|
|
360
|
+
this.loadPage.name = page.name
|
|
361
|
+
}
|
|
362
|
+
this.loading = false
|
|
363
|
+
|
|
364
|
+
},
|
|
365
|
+
onCLickRefresh() {
|
|
366
|
+
if (this.loadPage.cache) {
|
|
367
|
+
this.previewPage_keepalive_ref.refresh()
|
|
368
|
+
} else {
|
|
369
|
+
this.previewPage_ref.refresh()
|
|
370
|
+
}
|
|
371
|
+
this.loading = true
|
|
372
|
+
},
|
|
373
|
+
onWatchMobileBack() {
|
|
374
|
+
(window as any).msgFromUniapp = (arg: any) => {
|
|
375
|
+
if (arg.back) {
|
|
376
|
+
this.onClickGoInnerPageReturn()
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
onClickAvatar() {
|
|
381
|
+
eventManager.notify('onOpenMyNavigation')
|
|
382
|
+
},
|
|
383
|
+
onClickScan() {
|
|
384
|
+
window._uni.emitScanCode((res: string) => {
|
|
385
|
+
this.exportData.values.currentScanRes = res;
|
|
386
|
+
this.$props.eventValues.scan?.()
|
|
387
|
+
})
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
errorCaptured(err, vm, info) {
|
|
391
|
+
if (vm?.$.type.__name === 'PreviewPage') {
|
|
392
|
+
ElMessage.error('页面加载失败,请检查页面是否存于移动端')
|
|
393
|
+
this.loadPage.id = ''
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
mounted() {
|
|
397
|
+
// 监听其他地方要跳转到的内置页面
|
|
398
|
+
eventManager.subscribe('onMobileFramePage', async (val: string) => {
|
|
399
|
+
if (val && this.component.mode !== 'Design') {
|
|
400
|
+
let id = val
|
|
401
|
+
if (val?.startsWith?.('#ibspstart{')) {
|
|
402
|
+
const reg = /^#ibspstart{(.*?)}#ibspend(.*?)$/
|
|
403
|
+
const regRes = val.match(reg)
|
|
404
|
+
id = regRes![1]
|
|
405
|
+
}
|
|
406
|
+
const versionId = await this.getPageVersionId(id)
|
|
407
|
+
this.goInnerPage(versionId || id)
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
// 监听下载进度
|
|
411
|
+
eventManager.subscribe('downloadProgress', (val: number) => {
|
|
412
|
+
this.currentDownLoadProgress = val
|
|
413
|
+
this.currentProgressState = true
|
|
414
|
+
if (val >= 100) {
|
|
415
|
+
setTimeout(() => {
|
|
416
|
+
this.currentProgressState = false
|
|
417
|
+
}, 1000);
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
421
|
+
this.onWatchMobileBack()
|
|
422
|
+
|
|
423
|
+
this.component.data.exportDataOptions = this.exportData.config
|
|
424
|
+
this.component.data.exportDataValues = this.exportData.values
|
|
425
|
+
|
|
426
|
+
setTimeout(() => {
|
|
427
|
+
window.uni.postMessage({ data: { type: 'initPage' } })
|
|
428
|
+
}, 100);
|
|
429
|
+
},
|
|
430
|
+
beforeMount() {
|
|
431
|
+
// @ts-ignore
|
|
432
|
+
window.setMobileHeight = (top: number, bottom: number = 0) => {
|
|
433
|
+
this.mobileTop = top
|
|
434
|
+
this.mobileBottom = bottom
|
|
435
|
+
}
|
|
436
|
+
window.uni.postMessage({ data: { type: 'initPage' } })
|
|
437
|
+
}
|
|
438
|
+
})
|
|
439
|
+
</script>
|
|
440
|
+
|
|
441
|
+
<template>
|
|
442
|
+
<div class="ibsp-mobile-nav-frame">
|
|
443
|
+
<header class="nav-header" :style="headerStyle">
|
|
444
|
+
<div class="return-title">
|
|
445
|
+
<template v-if="loadPage.inner">
|
|
446
|
+
<span class="return" @click="onClickGoInnerPageReturn">
|
|
447
|
+
<el-icon>
|
|
448
|
+
<svg width="20"
|
|
449
|
+
height="20"
|
|
450
|
+
viewBox="0 0 20 20"
|
|
451
|
+
fill="none"
|
|
452
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
453
|
+
<path fill-rule="evenodd"
|
|
454
|
+
clip-rule="evenodd"
|
|
455
|
+
d="M5.9224 10.1605C5.858 9.88852 5.93185 9.59049 6.14398 9.37836L12.8222 2.70013C13.1476 2.3747 13.6753 2.3747 14.0007 2.70013C14.3262 3.02557 14.3262 3.55321 14.0007 3.87864L7.91019 9.96917L14.0017 16.0607C14.3271 16.3861 14.3271 16.9137 14.0017 17.2392C13.6762 17.5646 13.1486 17.5646 12.8232 17.2392L6.14493 10.5609C6.03056 10.4466 5.95639 10.3072 5.9224 10.1605Z"
|
|
456
|
+
fill="#1D2129" />
|
|
457
|
+
</svg>
|
|
458
|
+
|
|
459
|
+
</el-icon>
|
|
460
|
+
</span>
|
|
461
|
+
<span class="close" @click.stop="onClickClose">
|
|
462
|
+
<svg width="20"
|
|
463
|
+
height="20"
|
|
464
|
+
viewBox="0 0 20 20"
|
|
465
|
+
fill="none"
|
|
466
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
467
|
+
<path fill-rule="evenodd"
|
|
468
|
+
clip-rule="evenodd"
|
|
469
|
+
d="M16.535 6.91604L11.535 3.02687C10.6325 2.32438 9.36833 2.32438 8.465 3.02687L3.465 6.91604C2.85583 7.38938 2.5 8.11771 2.5 8.88937V15.0002C2.5 16.381 3.61917 17.5002 5 17.5002H15C16.3808 17.5002 17.5 16.381 17.5 15.0002V8.88937C17.5 8.11771 17.1442 7.38938 16.535 6.91604Z"
|
|
470
|
+
stroke="#323232"
|
|
471
|
+
stroke-width="1.5" />
|
|
472
|
+
<path d="M7.5 17V13C7.5 12.4477 7.94772 12 8.5 12H11.5C12.0523 12 12.5 12.4477 12.5 13V17"
|
|
473
|
+
stroke="#323232"
|
|
474
|
+
stroke-width="1.5" />
|
|
475
|
+
</svg>
|
|
476
|
+
|
|
477
|
+
</span>
|
|
478
|
+
</template>
|
|
479
|
+
<template v-if="!loadPage.inner">
|
|
480
|
+
|
|
481
|
+
<div class="user-avatar" @click="onClickAvatar">
|
|
482
|
+
<el-progress type="circle"
|
|
483
|
+
:percentage="currentDownLoadProgress"
|
|
484
|
+
:width="40"
|
|
485
|
+
v-if="currentProgressState"
|
|
486
|
+
status="success">
|
|
487
|
+
<el-avatar v-if="page.data.userInfo?.personImage"
|
|
488
|
+
:src="page.data.userInfo?.personImage"
|
|
489
|
+
:size="32"
|
|
490
|
+
style="margin-right: 8px"></el-avatar>
|
|
491
|
+
<div v-else class="avatar-back">
|
|
492
|
+
<span>{{ page.data.userInfo?.username.split?.('')?.slice?.(-2)?.join?.('') }}</span>
|
|
493
|
+
</div>
|
|
494
|
+
</el-progress>
|
|
495
|
+
|
|
496
|
+
<template v-else>
|
|
497
|
+
<el-avatar v-if="page.data.userInfo?.personImage"
|
|
498
|
+
:src="page.data.userInfo?.personImage"
|
|
499
|
+
:size="32"
|
|
500
|
+
style="margin-right: 8px"></el-avatar>
|
|
501
|
+
<div v-else class="avatar-back">
|
|
502
|
+
<span>{{ page.data.userInfo?.username.split?.('')?.slice?.(-2)?.join?.('') }}</span>
|
|
503
|
+
</div>
|
|
504
|
+
</template>
|
|
505
|
+
|
|
506
|
+
</div>
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
</template>
|
|
510
|
+
</div>
|
|
511
|
+
<div class="nav-title">
|
|
512
|
+
<span>{{ loadPage.name || _pageName }}</span>
|
|
513
|
+
</div>
|
|
514
|
+
<div class="nav-btn">
|
|
515
|
+
<el-icon style="font-size: 1.2rem" @click="onClickScan">
|
|
516
|
+
<svg width="20"
|
|
517
|
+
height="20"
|
|
518
|
+
viewBox="0 0 20 20"
|
|
519
|
+
fill="none"
|
|
520
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
521
|
+
<path d="M17.5 6.66667V4.16667C17.5 3.24583 16.7542 2.5 15.8333 2.5H13.3333"
|
|
522
|
+
stroke="#1D2129"
|
|
523
|
+
stroke-width="1.66667"
|
|
524
|
+
stroke-linecap="round"
|
|
525
|
+
stroke-linejoin="round"/>
|
|
526
|
+
<path d="M6.66667 2.5H4.16667C3.24583 2.5 2.5 3.24583 2.5 4.16667V6.66667"
|
|
527
|
+
stroke="#1D2129"
|
|
528
|
+
stroke-width="1.66667"
|
|
529
|
+
stroke-linecap="round"
|
|
530
|
+
stroke-linejoin="round"/>
|
|
531
|
+
<path d="M2.5 13.3333V15.8333C2.5 16.7542 3.24583 17.5 4.16667 17.5H6.66667"
|
|
532
|
+
stroke="#1D2129"
|
|
533
|
+
stroke-width="1.66667"
|
|
534
|
+
stroke-linecap="round"
|
|
535
|
+
stroke-linejoin="round"/>
|
|
536
|
+
<path d="M13.3333 17.5H15.8333C16.7542 17.5 17.5 16.7542 17.5 15.8333V13.3333"
|
|
537
|
+
stroke="#1D2129"
|
|
538
|
+
stroke-width="1.66667"
|
|
539
|
+
stroke-linecap="round"
|
|
540
|
+
stroke-linejoin="round"/>
|
|
541
|
+
<path d="M2.5 10H17.5"
|
|
542
|
+
stroke="#1D2129"
|
|
543
|
+
stroke-width="1.66667"
|
|
544
|
+
stroke-linecap="round"
|
|
545
|
+
stroke-linejoin="round"/>
|
|
546
|
+
</svg>
|
|
547
|
+
</el-icon>
|
|
548
|
+
</div>
|
|
549
|
+
|
|
550
|
+
</header>
|
|
551
|
+
<main v-loading="loading && propsValues.navConfig?.loading"
|
|
552
|
+
:style="{
|
|
553
|
+
height: `calc(100% - ${mobileTop}px - ${mobileBottom}px - ${loadPage.inner ? '0px' : '50px'} - ${propsValues.navConfig.headerHeight}px)`,
|
|
554
|
+
backgroundColor: propsValues.navConfig.backgroundColor
|
|
555
|
+
}">
|
|
556
|
+
<template v-if="loadPage?.id">
|
|
557
|
+
<router-view v-if="loadPage.pageType === 2">
|
|
558
|
+
<KeepAlive>
|
|
559
|
+
<RenderIndex v-if="loadPage?.cache"
|
|
560
|
+
:cacheLevel="1"
|
|
561
|
+
ref="previewPage_keepalive_ref"
|
|
562
|
+
:key="loadPage?.id"
|
|
563
|
+
:loaded="loadedCallback"
|
|
564
|
+
:created="onPageCreated"
|
|
565
|
+
:id="loadPage?.id" />
|
|
566
|
+
</KeepAlive>
|
|
567
|
+
<RenderIndex v-if="!loadPage?.cache"
|
|
568
|
+
:cacheLevel="1"
|
|
569
|
+
ref="previewPage_ref"
|
|
570
|
+
:key="loadPage?.id"
|
|
571
|
+
:id="loadPage?.id"
|
|
572
|
+
:loaded="loadedCallback"
|
|
573
|
+
:created="onPageCreated" />
|
|
574
|
+
</router-view>
|
|
575
|
+
<router-view v-else-if="getBuiltinPage(loadPage.id)">
|
|
576
|
+
<component :is="getBuiltinPage(loadPage.id)"
|
|
577
|
+
:app="app"
|
|
578
|
+
:loaded="loadedCallback"
|
|
579
|
+
:created="onPageCreated"
|
|
580
|
+
:goBuiltinPage="goBuiltinPage" />
|
|
581
|
+
</router-view>
|
|
582
|
+
</template>
|
|
583
|
+
</main>
|
|
584
|
+
|
|
585
|
+
<footer v-if="!loadPage.inner"
|
|
586
|
+
:style="{
|
|
587
|
+
'pointer-events': component.mode === 'Design' ? 'none' : 'auto',
|
|
588
|
+
}">
|
|
589
|
+
<MobileMenu @onSelect="onSelectMenu"
|
|
590
|
+
:menu="navMenus || []"
|
|
591
|
+
:currentActionId="currentNav?.id" />
|
|
592
|
+
<div :style="{
|
|
593
|
+
height: mobileBottom + 'px',
|
|
594
|
+
background: '#fff'
|
|
595
|
+
}"></div>
|
|
596
|
+
</footer>
|
|
597
|
+
|
|
598
|
+
<MyNavigationDrawer :app="app"
|
|
599
|
+
:page="page"
|
|
600
|
+
:loadPage="loadPage"
|
|
601
|
+
:goBuiltinPage="goBuiltinPage" />
|
|
602
|
+
|
|
603
|
+
</div>
|
|
604
|
+
|
|
605
|
+
</template>
|
|
606
|
+
|
|
607
|
+
<style lang="less" scoped>
|
|
608
|
+
.ibsp-mobile-nav-frame {
|
|
609
|
+
width: 100vw;
|
|
610
|
+
height: 100vh;
|
|
611
|
+
overflow: hidden;
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
header {
|
|
615
|
+
height: 50px;
|
|
616
|
+
display: flex;
|
|
617
|
+
align-items: center;
|
|
618
|
+
padding: 0 10px;
|
|
619
|
+
position: sticky;
|
|
620
|
+
top: 0;
|
|
621
|
+
z-index: 1;
|
|
622
|
+
width: 100%;
|
|
623
|
+
|
|
624
|
+
.el-icon {
|
|
625
|
+
color: #1D2129;
|
|
626
|
+
width: 20px;
|
|
627
|
+
height: 20px;
|
|
628
|
+
|
|
629
|
+
:deep(svg) {
|
|
630
|
+
width: 20px;
|
|
631
|
+
height: 20px;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.return-title {
|
|
636
|
+
display: flex;
|
|
637
|
+
align-items: center;
|
|
638
|
+
width: 100px;
|
|
639
|
+
font-size: 1.2rem;
|
|
640
|
+
color: #1D2129;
|
|
641
|
+
|
|
642
|
+
.user-avatar {
|
|
643
|
+
|
|
644
|
+
.el-progress {
|
|
645
|
+
:deep(.el-progress__text) {
|
|
646
|
+
left: 4px;
|
|
647
|
+
|
|
648
|
+
>* {
|
|
649
|
+
border: 2px solid #fff;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
:deep(.el-progress-circle__track) {
|
|
654
|
+
stroke: #BEC9DB;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
:deep(.el-progress-circle__path) {
|
|
658
|
+
stroke-linecap: butt;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.avatar-back {
|
|
664
|
+
width: 32px;
|
|
665
|
+
height: 32px;
|
|
666
|
+
background: #1989FA;
|
|
667
|
+
color: #fff;
|
|
668
|
+
border-radius: 32px;
|
|
669
|
+
font-size: 13px;
|
|
670
|
+
display: flex;
|
|
671
|
+
justify-content: center;
|
|
672
|
+
align-items: center;
|
|
673
|
+
|
|
674
|
+
span {
|
|
675
|
+
margin-right: 0;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
span {
|
|
680
|
+
margin-right: 8px;
|
|
681
|
+
cursor: pointer;
|
|
682
|
+
display: flex;
|
|
683
|
+
align-items: center;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.close {
|
|
687
|
+
svg {
|
|
688
|
+
width: 20px;
|
|
689
|
+
height: 20px;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.nav-title {
|
|
696
|
+
flex: 1;
|
|
697
|
+
text-align: center;
|
|
698
|
+
color: #1D2129;
|
|
699
|
+
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.nav-btn {
|
|
703
|
+
width: 100px;
|
|
704
|
+
display: flex;
|
|
705
|
+
align-items: center;
|
|
706
|
+
justify-content: flex-end;
|
|
707
|
+
font-size: 1.2rem;
|
|
708
|
+
|
|
709
|
+
.el-icon {
|
|
710
|
+
color: #1D2129;
|
|
711
|
+
width: 20px;
|
|
712
|
+
height: 20px;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
main {
|
|
718
|
+
background-color: inherit;
|
|
719
|
+
display: flex;
|
|
720
|
+
align-items: center;
|
|
721
|
+
justify-content: center;
|
|
722
|
+
overflow: hidden;
|
|
723
|
+
position: relative;
|
|
724
|
+
|
|
725
|
+
:deep(.content-wrap) {
|
|
726
|
+
position: absolute !important;
|
|
727
|
+
top: 0;
|
|
728
|
+
left: 0;
|
|
729
|
+
height: calc(100% - 154px);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
footer {
|
|
734
|
+
|
|
735
|
+
width: 100%;
|
|
736
|
+
height: 50px;
|
|
737
|
+
background-color: inherit;
|
|
738
|
+
border-top: 1px solid #f0f0f0;
|
|
739
|
+
|
|
740
|
+
:deep(.el-menu--horizontal>.el-menu-item) {
|
|
741
|
+
flex: 1;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
:deep(.el-menu--horizontal) {
|
|
745
|
+
>.el-menu-item {
|
|
746
|
+
flex-direction: column;
|
|
747
|
+
align-items: center;
|
|
748
|
+
justify-content: center;
|
|
749
|
+
font-size: 12px;
|
|
750
|
+
color: #000;
|
|
751
|
+
|
|
752
|
+
>i {
|
|
753
|
+
margin-right: 0 !important;
|
|
754
|
+
height: 20px;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.iconfont,
|
|
758
|
+
svg {
|
|
759
|
+
font-size: 24px;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
:deep(.el-menu-item) {
|
|
767
|
+
padding: 0;
|
|
768
|
+
// &.is-active{
|
|
769
|
+
// background-color: var(--el-menu-hover-bg-color);
|
|
770
|
+
// color: var(--el-menu-hover-text-color);
|
|
771
|
+
// ibsp-outline: none;
|
|
772
|
+
// }
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
</style>
|
|
777
|
+
|
|
778
|
+
<style lang="less">
|
|
779
|
+
#app>#app-preview-wrap {
|
|
780
|
+
width: 100vw;
|
|
781
|
+
height: 100vh;
|
|
782
|
+
position: relative;
|
|
783
|
+
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.el-message {
|
|
787
|
+
top: 50px !important;
|
|
788
|
+
}
|
|
789
|
+
</style>
|