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,1308 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import {
|
|
3
|
+
ref,
|
|
4
|
+
watch,
|
|
5
|
+
defineAsyncComponent,
|
|
6
|
+
onMounted,
|
|
7
|
+
reactive,
|
|
8
|
+
computed,
|
|
9
|
+
onBeforeUnmount,
|
|
10
|
+
onActivated,
|
|
11
|
+
nextTick
|
|
12
|
+
} from 'vue';
|
|
13
|
+
import {
|
|
14
|
+
CloseBold,
|
|
15
|
+
SemiSelect,
|
|
16
|
+
Search,
|
|
17
|
+
Setting,
|
|
18
|
+
CircleCloseFilled,
|
|
19
|
+
Folder,
|
|
20
|
+
Operation,
|
|
21
|
+
ArrowDown,
|
|
22
|
+
Orange
|
|
23
|
+
} from '@element-plus/icons-vue';
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import Contextmenu from './components/Contextmenu.vue';
|
|
27
|
+
import useScript from './hooks/useScript';
|
|
28
|
+
import useKeyboard from '../../hooks/useKeyboard';
|
|
29
|
+
import useComponentEditor from './hooks/useComponentEditor'
|
|
30
|
+
import Console from './components/console/Console.vue';
|
|
31
|
+
|
|
32
|
+
import Draggable from '@/libs/vuedraggable/vuedraggable.js'
|
|
33
|
+
import { AnalysisScript } from '@/models/useJavascriptAnalysis'
|
|
34
|
+
import Drag from '@/views/designer/components/drag/index.vue';
|
|
35
|
+
import IbspMonacoCode from '@/components/ibsp/IbspMonacoCode.vue';
|
|
36
|
+
import SvgIcon from '@/components/globals/SvgIcon.vue';
|
|
37
|
+
|
|
38
|
+
const props = defineProps({
|
|
39
|
+
page: {
|
|
40
|
+
type: Object,
|
|
41
|
+
default: () => ({})
|
|
42
|
+
},
|
|
43
|
+
visible: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
scriptExtraLib: {
|
|
48
|
+
type: Object,
|
|
49
|
+
default: () => (null)
|
|
50
|
+
},
|
|
51
|
+
options: {
|
|
52
|
+
type: Object,
|
|
53
|
+
default: () => ({
|
|
54
|
+
defaultType: 'script', // script, method, component, null
|
|
55
|
+
defaultCategory: 'app', // app, platform, null
|
|
56
|
+
minPanel: false // true, false
|
|
57
|
+
})
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
const state = reactive({
|
|
62
|
+
type: props.options.defaultType,
|
|
63
|
+
category: props.options.defaultCategory
|
|
64
|
+
})
|
|
65
|
+
|
|
66
|
+
const ScriptExtraLib = reactive({
|
|
67
|
+
content: useComponentEditor(props.scriptExtraLib.content)
|
|
68
|
+
})
|
|
69
|
+
|
|
70
|
+
watch(() => state.type, () => {
|
|
71
|
+
|
|
72
|
+
const scriptExtraLib = state.type === 'component' ? useComponentEditor(props.scriptExtraLib.content) : props.scriptExtraLib.content;
|
|
73
|
+
ScriptExtraLib.content = scriptExtraLib;
|
|
74
|
+
console.log(ScriptExtraLib);
|
|
75
|
+
})
|
|
76
|
+
const emit = defineEmits(['close', 'switchScreen', 'narrow'])
|
|
77
|
+
|
|
78
|
+
const currentScript = ref({
|
|
79
|
+
value: '',
|
|
80
|
+
temporaryValue: ''
|
|
81
|
+
})
|
|
82
|
+
const analysisScript = new AnalysisScript();
|
|
83
|
+
const currentSelectConsoleTab = ref('question')
|
|
84
|
+
const currentSelectNav = ref('script-list')
|
|
85
|
+
const codeTips = ref([])
|
|
86
|
+
let monacoRef = null
|
|
87
|
+
const scriptPanelData = reactive([])
|
|
88
|
+
const svgList = {
|
|
89
|
+
CSS: '<svg t="1705243713719" class="icon" viewBox="0 0 1028 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17390" width="200" height="200"><path d="M110.592 108.544h808.96v808.96H110.592z" fill="#FFEA00" p-id="17391"></path><path d="M944.128 0H83.968C38.912 0 2.048 36.864 2.048 81.92v143.36h61.44V102.4c0-22.528 18.432-40.96 40.96-40.96h819.2c22.528 0 40.96 18.432 40.96 40.96v122.88h61.44V81.92c0-45.056-36.864-81.92-81.92-81.92z m20.48 921.6c0 22.528-18.432 40.96-40.96 40.96H104.448c-22.528 0-40.96-18.432-40.96-40.96v-122.88H2.048v143.36c0 45.056 36.864 81.92 81.92 81.92h860.16c45.056 0 81.92-36.864 81.92-81.92v-143.36h-61.44v122.88z" fill="" p-id="17392"></path><path d="M63.488 286.72h901.12v450.56H63.488z" fill="#FFEA00" p-id="17393"></path><path d="M38.912 366.592c0 36.864 4.096 61.44 4.096 94.208 0 18.432-10.24 36.864-43.008 38.912v30.72c34.816 0 43.008 20.48 43.008 38.912 0 32.768-4.096 57.344-4.096 94.208 0 53.248 18.432 69.632 61.44 69.632H124.928v-28.672h-10.24c-26.624 0-32.768-10.24-32.768-43.008 0-28.672 2.048-55.296 2.048-88.064 0-34.816-10.24-51.2-32.768-55.296v-2.048c24.576-8.192 32.768-22.528 32.768-57.344 0-32.768-2.048-59.392-2.048-88.064 0-30.72 6.144-43.008 32.768-43.008H124.928v-28.672H100.352c-40.96-2.048-61.44 14.336-61.44 67.584z m534.528 129.024l-45.056-18.432c-26.624-10.24-53.248-22.528-53.248-49.152 0-26.624 22.528-43.008 55.296-43.008 28.672 0 53.248 10.24 73.728 30.72l26.624-32.768c-24.576-26.624-61.44-40.96-100.352-40.96-63.488 0-108.544 38.912-108.544 92.16 0 49.152 34.816 73.728 67.584 86.016l45.056 20.48c30.72 14.336 53.248 22.528 53.248 53.248 0 28.672-22.528 47.104-63.488 47.104-32.768 0-63.488-14.336-88.064-38.912l-26.624 30.72-22.528-26.624c-20.48 22.528-43.008 34.816-73.728 34.816-59.392 0-96.256-49.152-96.256-126.976 0-77.824 38.912-124.928 96.256-124.928 26.624 0 47.104 12.288 65.536 30.72l28.672-32.768c-20.48-22.528-53.248-40.96-94.208-40.96-81.92-8.192-147.456 57.344-147.456 165.888s63.488 169.984 147.456 169.984c40.96 0 73.728-16.384 98.304-43.008 30.72 26.624 69.632 43.008 112.64 43.008 71.68 0 116.736-43.008 116.736-96.256 0-49.152-28.672-71.68-67.584-90.112z m229.376 0l-45.056-18.432c-26.624-10.24-53.248-22.528-53.248-49.152 0-26.624 22.528-43.008 55.296-43.008 28.672 0 53.248 10.24 73.728 30.72l26.624-32.768c-24.576-26.624-61.44-40.96-100.352-40.96-63.488 0-108.544 38.912-108.544 92.16 0 49.152 34.816 73.728 67.584 86.016l45.056 20.48c30.72 14.336 53.248 22.528 53.248 53.248 0 28.672-22.528 47.104-63.488 47.104-32.768 0-63.488-14.336-88.064-38.912L634.88 634.88c30.72 30.72 71.68 49.152 118.784 49.152 71.68 0 116.736-43.008 116.736-96.256 0-51.2-28.672-73.728-67.584-92.16z m182.272-34.816c0-32.768 4.096-57.344 4.096-94.208 0-53.248-18.432-69.632-61.44-69.632H903.168v28.672h12.288c26.624 0 32.768 12.288 32.768 43.008 0 28.672-2.048 55.296-2.048 88.064 0 34.816 8.192 51.2 32.768 55.296v2.048c-26.624 8.192-34.816 24.576-34.816 59.392 0 32.768 2.048 59.392 2.048 88.064 0 30.72-6.144 43.008-32.768 43.008H903.168v28.672h24.576c40.96 0 61.44-16.384 61.44-69.632 0-36.864-4.096-61.44-4.096-94.208 0-18.432 10.24-38.912 43.008-38.912v-30.72c-34.816 0-43.008-20.48-43.008-38.912z" fill="" p-id="17394"></path></svg>',
|
|
90
|
+
JS: '<svg t="1705242101309" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10655" width="200" height="200"><path d="M238.592 155.648H399.36v450.56C399.36 809.984 302.08 880.64 146.432 880.64c-37.888 0-87.04-6.144-118.784-17.408l18.432-130.048c22.528 7.168 51.2 12.288 82.944 12.288 67.584 0 110.592-30.72 110.592-141.312V155.648h-1.024z m301.056 547.84c41.984 22.528 110.592 44.032 179.2 44.032 73.728 0 113.664-30.72 113.664-78.848 0-43.008-33.792-69.632-119.808-99.328-118.784-40.96-197.632-107.52-197.632-211.968C515.072 235.52 617.472 143.36 785.408 143.36c81.92 0 139.264 16.384 182.272 35.84L931.84 308.224c-27.648-13.312-79.872-33.792-148.48-33.792-69.632 0-103.424 32.768-103.424 68.608 0 45.056 38.912 65.536 132.096 101.376 125.952 46.08 184.32 112.64 184.32 214.016 0 119.808-91.136 221.184-286.72 221.184-81.92 0-161.792-22.528-201.728-44.032l31.744-132.096z" fill="#F4DE51" p-id="10656"></path></svg>'
|
|
91
|
+
}
|
|
92
|
+
const visibleScriptConsole = ref(false)
|
|
93
|
+
const drag = reactive({
|
|
94
|
+
x: 0,
|
|
95
|
+
y: 0,
|
|
96
|
+
w: '60%',
|
|
97
|
+
h: 800,
|
|
98
|
+
draggable: true,
|
|
99
|
+
direction: 'center' // left ,center, end
|
|
100
|
+
})
|
|
101
|
+
const dragRef = ref(null)
|
|
102
|
+
let prevPosition = null
|
|
103
|
+
const scriptIndexRef = ref(null)
|
|
104
|
+
const visibleScriptNavTab = ref(true)
|
|
105
|
+
const { save } = useScript()
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
const getScriptPanelWidth = computed(() => {
|
|
109
|
+
if (props.options.minPanel) {
|
|
110
|
+
return '100%'
|
|
111
|
+
}
|
|
112
|
+
if (visibleScriptNavTab.value) {
|
|
113
|
+
return 'calc(100% - 270px)'
|
|
114
|
+
}
|
|
115
|
+
return 'calc(100% - 40px)'
|
|
116
|
+
|
|
117
|
+
})
|
|
118
|
+
|
|
119
|
+
const scriptTypeMap = {
|
|
120
|
+
script: {
|
|
121
|
+
label: '脚本',
|
|
122
|
+
icon: {
|
|
123
|
+
type: 'svg',
|
|
124
|
+
value: '脚本库'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
method: {
|
|
128
|
+
label: '方法',
|
|
129
|
+
icon: {
|
|
130
|
+
type: 'svg',
|
|
131
|
+
value: '方法库'
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
component: {
|
|
135
|
+
label: '组件',
|
|
136
|
+
icon: {
|
|
137
|
+
type: 'svg',
|
|
138
|
+
value: '组件脚本'
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
const headerRightBtn = [
|
|
143
|
+
{
|
|
144
|
+
id: 'narrow',
|
|
145
|
+
icon: {
|
|
146
|
+
type: 'element-plus',
|
|
147
|
+
value: SemiSelect
|
|
148
|
+
},
|
|
149
|
+
click: () => {
|
|
150
|
+
emit('narrow')
|
|
151
|
+
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: 'switchScreen',
|
|
156
|
+
icon: {
|
|
157
|
+
type: 'svg',
|
|
158
|
+
value: '放大'
|
|
159
|
+
},
|
|
160
|
+
click: () => {
|
|
161
|
+
if (drag.w === '100%') {
|
|
162
|
+
drag.w = '60%'
|
|
163
|
+
drag.h = 800
|
|
164
|
+
drag.draggable = true
|
|
165
|
+
if (prevPosition) {
|
|
166
|
+
dragRef.value.setPosition(prevPosition)
|
|
167
|
+
}
|
|
168
|
+
return
|
|
169
|
+
}
|
|
170
|
+
drag.w = '100%'
|
|
171
|
+
drag.h = '100%'
|
|
172
|
+
prevPosition = {
|
|
173
|
+
left: dragRef.value.left,
|
|
174
|
+
top: dragRef.value.top
|
|
175
|
+
}
|
|
176
|
+
dragRef.value.setPosition({
|
|
177
|
+
top: 0,
|
|
178
|
+
left: 0
|
|
179
|
+
})
|
|
180
|
+
console.log(dragRef.value);
|
|
181
|
+
drag.draggable = false
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: 'close',
|
|
188
|
+
icon: {
|
|
189
|
+
type: 'element-plus',
|
|
190
|
+
value: CloseBold
|
|
191
|
+
},
|
|
192
|
+
click: () => {
|
|
193
|
+
emit('switchScreen')
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
|
|
198
|
+
const componentPreview = reactive({
|
|
199
|
+
show: false,
|
|
200
|
+
component: null
|
|
201
|
+
})
|
|
202
|
+
|
|
203
|
+
const scriptTools = reactive([
|
|
204
|
+
{
|
|
205
|
+
id: 'search',
|
|
206
|
+
icon: {
|
|
207
|
+
type: 'element-plus',
|
|
208
|
+
value: Search
|
|
209
|
+
},
|
|
210
|
+
show: true,
|
|
211
|
+
label: '搜索',
|
|
212
|
+
click: () => {
|
|
213
|
+
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
id: 'run',
|
|
218
|
+
icon: {
|
|
219
|
+
type: 'svg',
|
|
220
|
+
value: '运行脚本'
|
|
221
|
+
},
|
|
222
|
+
show: true,
|
|
223
|
+
label: '运行',
|
|
224
|
+
click: () => {
|
|
225
|
+
let remark = null;
|
|
226
|
+
visibleScriptConsole.value = true;
|
|
227
|
+
try {
|
|
228
|
+
remark = JSON.parse(currentScript.value.remark)
|
|
229
|
+
} catch (error) {
|
|
230
|
+
remark = null;
|
|
231
|
+
}
|
|
232
|
+
if (remark && remark?.type === 'component') {
|
|
233
|
+
let componentItem = props.page.store.componentStore.getComponentById(remark.componentId);
|
|
234
|
+
if (componentItem) {
|
|
235
|
+
componentPreview.component = componentItem;
|
|
236
|
+
componentItem?.reload()
|
|
237
|
+
currentSelectConsoleTab.value = 'console';
|
|
238
|
+
}
|
|
239
|
+
} else {
|
|
240
|
+
analysisScript.run(currentScript.value.temporaryValue, {
|
|
241
|
+
page: props.page
|
|
242
|
+
})
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: 'save',
|
|
248
|
+
icon: {
|
|
249
|
+
type: 'svg',
|
|
250
|
+
value: '保存'
|
|
251
|
+
},
|
|
252
|
+
show: computed(() => !props.options.minPanel),
|
|
253
|
+
label: '保存',
|
|
254
|
+
click: () => {
|
|
255
|
+
if (state.type && currentScript.value && !props.options.minPanel) {
|
|
256
|
+
save(currentScript.value, state.type === 'method' ? 'method' : 'script')
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: 'console',
|
|
262
|
+
icon: {
|
|
263
|
+
type: 'svg',
|
|
264
|
+
value: '控制台'
|
|
265
|
+
},
|
|
266
|
+
show: true,
|
|
267
|
+
label: '控制台',
|
|
268
|
+
click: () => {
|
|
269
|
+
visibleScriptConsole.value = !visibleScriptConsole.value
|
|
270
|
+
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
id: 'setting',
|
|
275
|
+
icon: {
|
|
276
|
+
type: 'element-plus',
|
|
277
|
+
value: Setting
|
|
278
|
+
},
|
|
279
|
+
show: true,
|
|
280
|
+
label: '设置',
|
|
281
|
+
click: () => {
|
|
282
|
+
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
])
|
|
286
|
+
|
|
287
|
+
const consoleTabData = [
|
|
288
|
+
{
|
|
289
|
+
id: 'question',
|
|
290
|
+
label: '问题'
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
id: 'console',
|
|
294
|
+
label: '输出'
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
id: 'terminal',
|
|
298
|
+
label: '终端'
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
]
|
|
302
|
+
const leftNavData = [
|
|
303
|
+
{
|
|
304
|
+
id: 'script-list',
|
|
305
|
+
icon: {
|
|
306
|
+
type: 'element-plus',
|
|
307
|
+
value: Folder
|
|
308
|
+
},
|
|
309
|
+
component: defineAsyncComponent(() => import('./components/ScriptList.vue')),
|
|
310
|
+
select(item) {
|
|
311
|
+
nextTick(() => {
|
|
312
|
+
setTimeout(() => {
|
|
313
|
+
document.getElementById(`scriptTab${item.id}`)
|
|
314
|
+
.scrollIntoView({
|
|
315
|
+
behavior: 'smooth',
|
|
316
|
+
block: 'center',
|
|
317
|
+
inline: 'center'
|
|
318
|
+
})
|
|
319
|
+
}, 50);
|
|
320
|
+
})
|
|
321
|
+
const exit = scriptPanelData.find(i => i.id === item.id)
|
|
322
|
+
if (exit) {
|
|
323
|
+
currentScript.value = exit
|
|
324
|
+
monacoRef.setValue(item.scriptContent)
|
|
325
|
+
return
|
|
326
|
+
}
|
|
327
|
+
currentScript.value = item
|
|
328
|
+
currentScript.value.temporaryValue = item.scriptContent
|
|
329
|
+
currentScript.value.value = item.scriptContent
|
|
330
|
+
monacoRef.setValue(item.scriptContent)
|
|
331
|
+
scriptPanelData.push(currentScript.value)
|
|
332
|
+
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
id: 'env-list',
|
|
337
|
+
component: defineAsyncComponent(() => import('./components/EnvData.vue')),
|
|
338
|
+
icon: {
|
|
339
|
+
type: 'element-plus',
|
|
340
|
+
value: Orange
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
const getSvgIcon = (data) => {
|
|
347
|
+
const type = data.scriptType?.split?.('-')
|
|
348
|
+
?.at
|
|
349
|
+
?.(-1) || data.funcType?.split?.('-')
|
|
350
|
+
?.at
|
|
351
|
+
?.(-1)
|
|
352
|
+
if (svgList[type]) {
|
|
353
|
+
return svgList[type]
|
|
354
|
+
}
|
|
355
|
+
return ''
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
const onCreatedIbspMonacoCode = (editor, monaco_Ref) => {
|
|
360
|
+
monacoRef = monaco_Ref
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
const onCodeTips = (tips) => {
|
|
364
|
+
codeTips.value = tips
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
const onClickScriptItem = (item) => {
|
|
368
|
+
currentScript.value = item
|
|
369
|
+
currentScript.value.temporaryValue = item.temporaryValue
|
|
370
|
+
monacoRef.setValue(item.temporaryValue)
|
|
371
|
+
document.getElementById(`scriptTab${item.id}`)
|
|
372
|
+
.scrollIntoView({
|
|
373
|
+
behavior: 'smooth',
|
|
374
|
+
block: 'center',
|
|
375
|
+
inline: 'center'
|
|
376
|
+
})
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
const setValue = (item) => {
|
|
380
|
+
const i = scriptPanelData.findIndex(i => i.id === item.id)
|
|
381
|
+
scriptPanelData.splice(i, 1)
|
|
382
|
+
if (i <= 0) {
|
|
383
|
+
if (scriptPanelData.length > 0) {
|
|
384
|
+
currentScript.value = scriptPanelData[0]
|
|
385
|
+
monacoRef.setValue(scriptPanelData[0].temporaryValue)
|
|
386
|
+
} else {
|
|
387
|
+
currentScript.value = {
|
|
388
|
+
value: '',
|
|
389
|
+
temporaryValue: ''
|
|
390
|
+
}
|
|
391
|
+
monacoRef.setValue('')
|
|
392
|
+
}
|
|
393
|
+
} else {
|
|
394
|
+
currentScript.value = scriptPanelData[i - 1]
|
|
395
|
+
monacoRef.setValue(scriptPanelData[i - 1].temporaryValue)
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
const onClickCloseIcon = (item) => {
|
|
400
|
+
if (item.temporaryValue !== item.value) {
|
|
401
|
+
ElMessageBox.confirm('是否保存当前脚本?', '提示', {
|
|
402
|
+
confirmButtonText: '保存',
|
|
403
|
+
cancelButtonText: '不保存',
|
|
404
|
+
type: 'warning'
|
|
405
|
+
})
|
|
406
|
+
.then((res) => {
|
|
407
|
+
if (res === 'confirm') {
|
|
408
|
+
item.value = item.temporaryValue
|
|
409
|
+
ElMessage.success('保存成功')
|
|
410
|
+
setValue(item)
|
|
411
|
+
}
|
|
412
|
+
})
|
|
413
|
+
.catch(() => {
|
|
414
|
+
setValue(item)
|
|
415
|
+
})
|
|
416
|
+
return
|
|
417
|
+
}
|
|
418
|
+
setValue(item)
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
const shortcutCtrlS = (state) => {
|
|
422
|
+
if (state && !props.options.minPanel) {
|
|
423
|
+
save(currentScript.value, state.type === 'method' ? 'method' : 'script')
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
onMounted(() => {
|
|
429
|
+
useKeyboard()
|
|
430
|
+
.onKey('Ctrl_S', shortcutCtrlS)
|
|
431
|
+
})
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
const onClickClose = () => {
|
|
435
|
+
visibleScriptConsole.value = false
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
const onScriptDragStop = () => {
|
|
439
|
+
const el = scriptIndexRef.value
|
|
440
|
+
// 查看el是否有三分之一在屏幕外
|
|
441
|
+
const { left, width, right } = el.getBoundingClientRect()
|
|
442
|
+
if (left < 0 && Math.abs(left) > width / 3) {
|
|
443
|
+
drag.h = '100%'
|
|
444
|
+
drag.w = 500
|
|
445
|
+
dragRef.value.setPosition({
|
|
446
|
+
left: 0,
|
|
447
|
+
top: 0
|
|
448
|
+
})
|
|
449
|
+
drag.direction = 'left'
|
|
450
|
+
} else if (right > window.innerWidth + (width / 3)) {
|
|
451
|
+
drag.h = '100%'
|
|
452
|
+
drag.w = 500
|
|
453
|
+
dragRef.value.setPosition({
|
|
454
|
+
left: 0,
|
|
455
|
+
top: 0
|
|
456
|
+
})
|
|
457
|
+
drag.direction = 'end'
|
|
458
|
+
} else {
|
|
459
|
+
drag.h = 800
|
|
460
|
+
drag.w = '60%'
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
const onCloseScriptNav = () => {
|
|
465
|
+
visibleScriptNavTab.value = false
|
|
466
|
+
currentSelectNav.value = ''
|
|
467
|
+
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
const onClickScriptNavTab = (id) => {
|
|
471
|
+
if (id !== currentSelectNav.value) {
|
|
472
|
+
currentSelectNav.value = id
|
|
473
|
+
visibleScriptNavTab.value = true;
|
|
474
|
+
} else {
|
|
475
|
+
visibleScriptNavTab.value = !visibleScriptNavTab.value;
|
|
476
|
+
}
|
|
477
|
+
// if (visibleScriptNavTab.value) {
|
|
478
|
+
// visibleScriptNavTab.value = false
|
|
479
|
+
// currentSelectNav.value = ''
|
|
480
|
+
// } else {
|
|
481
|
+
// currentSelectNav.value = id
|
|
482
|
+
// visibleScriptNavTab.value = !visibleScriptNavTab.value
|
|
483
|
+
// }
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
</script>
|
|
488
|
+
|
|
489
|
+
<template>
|
|
490
|
+
<div :style="{
|
|
491
|
+
'justify-content':drag.direction
|
|
492
|
+
}"
|
|
493
|
+
class="script-index-plus">
|
|
494
|
+
<Drag
|
|
495
|
+
ref="dragRef"
|
|
496
|
+
:drag-cancel="'.script-left-panel'"
|
|
497
|
+
:draggable="drag.draggable"
|
|
498
|
+
:h="drag.h"
|
|
499
|
+
:resizable="false"
|
|
500
|
+
:w="drag.w"
|
|
501
|
+
:x="drag.x"
|
|
502
|
+
:y="drag.y"
|
|
503
|
+
:z="98"
|
|
504
|
+
class="script-index-drag"
|
|
505
|
+
@dragging="onDragging"
|
|
506
|
+
@dragstop="onScriptDragStop"
|
|
507
|
+
@drag-start="()=>{}"
|
|
508
|
+
>
|
|
509
|
+
<div ref='scriptIndexRef' class="script-index">
|
|
510
|
+
<!-- --------------------- header -- start -->
|
|
511
|
+
<header>
|
|
512
|
+
<div class="head-left">
|
|
513
|
+
<div class="logo">
|
|
514
|
+
<img :src="page.data.platformInfo?.orgLog" alt=""/>
|
|
515
|
+
</div>
|
|
516
|
+
<template v-if="!options.minPanel">
|
|
517
|
+
<div class="head-menu">
|
|
518
|
+
<el-icon>
|
|
519
|
+
<Operation/>
|
|
520
|
+
</el-icon>
|
|
521
|
+
</div>
|
|
522
|
+
<el-dropdown style="width: auto"
|
|
523
|
+
trigger="click"
|
|
524
|
+
@command="(command) => {state.type = command}">
|
|
525
|
+
<div class="nav-menu" style="height: 100%;outline: none">
|
|
526
|
+
<i>
|
|
527
|
+
<SvgIcon :icon="scriptTypeMap[state.type]?.icon"/>
|
|
528
|
+
</i>
|
|
529
|
+
<span>{{ scriptTypeMap[state.type]?.label }}</span>
|
|
530
|
+
<el-icon>
|
|
531
|
+
<ArrowDown/>
|
|
532
|
+
</el-icon>
|
|
533
|
+
</div>
|
|
534
|
+
<template #dropdown>
|
|
535
|
+
<el-dropdown-menu>
|
|
536
|
+
<el-dropdown-item v-for="(item , key) in scriptTypeMap"
|
|
537
|
+
:key="key"
|
|
538
|
+
:command="key">
|
|
539
|
+
<div style="height: 100%;outline: none;display: flex;align-items: center;">
|
|
540
|
+
<i style="display: flex;">
|
|
541
|
+
<SvgIcon :icon="item.icon"/>
|
|
542
|
+
</i>
|
|
543
|
+
<span style="flex: 1">{{ item.label }}</span>
|
|
544
|
+
</div>
|
|
545
|
+
</el-dropdown-item>
|
|
546
|
+
</el-dropdown-menu>
|
|
547
|
+
</template>
|
|
548
|
+
</el-dropdown>
|
|
549
|
+
<!-- <div ref="scriptNavRef"
|
|
550
|
+
class="nav-menu"
|
|
551
|
+
v-if="state.type"
|
|
552
|
+
@click.stop="onClickScriptNav">
|
|
553
|
+
<i>
|
|
554
|
+
<SvgIcon :icon="scriptTypeMap[state.type]?.icon"></SvgIcon>
|
|
555
|
+
</i>
|
|
556
|
+
<span>{{ scriptTypeMap[state.type]?.label }}</span>
|
|
557
|
+
<el-icon>
|
|
558
|
+
<ArrowDown />
|
|
559
|
+
</el-icon>
|
|
560
|
+
</div> -->
|
|
561
|
+
</template>
|
|
562
|
+
</div>
|
|
563
|
+
<div class="edit-name"
|
|
564
|
+
@dblclick="headerRightBtn[1].click">
|
|
565
|
+
<span>IbspCode</span></div>
|
|
566
|
+
<div class="right-btn">
|
|
567
|
+
<div v-for="item in headerRightBtn"
|
|
568
|
+
:key="item.id"
|
|
569
|
+
@click="item.click">
|
|
570
|
+
<SvgIcon :icon="item.icon">
|
|
571
|
+
</SvgIcon>
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
574
|
+
</header>
|
|
575
|
+
<!-- --------------------- header -- end -->
|
|
576
|
+
|
|
577
|
+
<main class="script-index-main">
|
|
578
|
+
|
|
579
|
+
<!-- ------------------------------ script-nav--- start------------------ -->
|
|
580
|
+
<aside v-if="!options.minPanel"
|
|
581
|
+
:style="{
|
|
582
|
+
width: visibleScriptNavTab ? '270px' : '40px'
|
|
583
|
+
}"
|
|
584
|
+
class="script-container">
|
|
585
|
+
<div class="nav">
|
|
586
|
+
<div v-for="item in leftNavData"
|
|
587
|
+
:key="item.id"
|
|
588
|
+
:class="{
|
|
589
|
+
'active': item.id === currentSelectNav
|
|
590
|
+
}"
|
|
591
|
+
@click="onClickScriptNavTab(item.id)"
|
|
592
|
+
>
|
|
593
|
+
<SvgIcon :icon="item.icon"></SvgIcon>
|
|
594
|
+
</div>
|
|
595
|
+
</div>
|
|
596
|
+
<div v-show="visibleScriptNavTab" class="script-nav-content">
|
|
597
|
+
<template v-for="item in leftNavData"
|
|
598
|
+
:key="item.id"
|
|
599
|
+
>
|
|
600
|
+
<component :is="item.component"
|
|
601
|
+
v-show="item.id === currentSelectNav"
|
|
602
|
+
:item="item"
|
|
603
|
+
:page="page"
|
|
604
|
+
:type="state.type"
|
|
605
|
+
@close="onCloseScriptNav"/>
|
|
606
|
+
</template>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
</div>
|
|
610
|
+
|
|
611
|
+
</aside>
|
|
612
|
+
<!-- ------------------------------ script-nav--- end------------------ -->
|
|
613
|
+
|
|
614
|
+
<section :style="{
|
|
615
|
+
width:getScriptPanelWidth,
|
|
616
|
+
}"
|
|
617
|
+
class="script-panel">
|
|
618
|
+
<div class="script-left-panel">
|
|
619
|
+
<div :style="{
|
|
620
|
+
height:visibleScriptConsole ? 'calc(100% - 200px)' : '100%'
|
|
621
|
+
}"
|
|
622
|
+
class="container"
|
|
623
|
+
>
|
|
624
|
+
<!-- ----------------------------- current-script-list --- start -->
|
|
625
|
+
<div v-if="!options.minPanel" class="script-nav-header">
|
|
626
|
+
<Draggable ref="el"
|
|
627
|
+
:animation="400"
|
|
628
|
+
:list="scriptPanelData"
|
|
629
|
+
class="component-list-container"
|
|
630
|
+
dragClass="component-drag-list"
|
|
631
|
+
ghostClass="component-drag-list"
|
|
632
|
+
group="script-editor">
|
|
633
|
+
<template #item="{ element: item }">
|
|
634
|
+
<div :id="`scriptTab${item.id}`"
|
|
635
|
+
:key="item.id"
|
|
636
|
+
:class="{
|
|
637
|
+
'component-item': true,
|
|
638
|
+
'active': item.id === currentScript?.id
|
|
639
|
+
}"
|
|
640
|
+
@click="onClickScriptItem(item)">
|
|
641
|
+
<i class="svg-icon" v-html="getSvgIcon(item)"></i>
|
|
642
|
+
<span class="name">
|
|
643
|
+
{{ item.showLabel || item.label }}
|
|
644
|
+
</span>
|
|
645
|
+
<i class="close-btn" @click.stop="onClickCloseIcon(item)">
|
|
646
|
+
<el-icon :style="{
|
|
647
|
+
opacity: (item.temporaryValue === item.value) ? 1 : 0
|
|
648
|
+
}">
|
|
649
|
+
<CloseBold/>
|
|
650
|
+
</el-icon>
|
|
651
|
+
<span :style="{
|
|
652
|
+
opacity: !(item.temporaryValue === item.value) ? 1 : 0
|
|
653
|
+
}"
|
|
654
|
+
class="dot"></span>
|
|
655
|
+
</i>
|
|
656
|
+
|
|
657
|
+
</div>
|
|
658
|
+
</template>
|
|
659
|
+
|
|
660
|
+
</Draggable>
|
|
661
|
+
</div>
|
|
662
|
+
<!-- ----------------------------- current-script-list --- end -->
|
|
663
|
+
|
|
664
|
+
<div id="script-edit-container"
|
|
665
|
+
:style="{
|
|
666
|
+
height: options.minPanel ? '100%' : 'calc(100% - 40px)'
|
|
667
|
+
}">
|
|
668
|
+
<IbspMonacoCode ref="IbspMonacoCodeCode"
|
|
669
|
+
v-model="currentScript.temporaryValue"
|
|
670
|
+
:extraLib="ScriptExtraLib"
|
|
671
|
+
@created="onCreatedIbspMonacoCode"
|
|
672
|
+
@tips="onCodeTips"></IbspMonacoCode>
|
|
673
|
+
</div>
|
|
674
|
+
</div>
|
|
675
|
+
|
|
676
|
+
<!-- 组件预览 -->
|
|
677
|
+
<!-- <div v-show="componentPreview.show" class="component-preview">
|
|
678
|
+
|
|
679
|
+
</div> -->
|
|
680
|
+
|
|
681
|
+
<!----------------------------- console --- start --------------------- -->
|
|
682
|
+
<div v-show="visibleScriptConsole" class="script-tools-container">
|
|
683
|
+
<header>
|
|
684
|
+
<el-tabs v-model="currentSelectConsoleTab"
|
|
685
|
+
type="card"
|
|
686
|
+
>
|
|
687
|
+
<el-tab-pane v-for="item in consoleTabData"
|
|
688
|
+
:key="item.id"
|
|
689
|
+
:label="item.label"
|
|
690
|
+
:name="item.id"/>
|
|
691
|
+
</el-tabs>
|
|
692
|
+
<div class="console-operation">
|
|
693
|
+
<el-icon @click="onClickClose">
|
|
694
|
+
<CloseBold/>
|
|
695
|
+
</el-icon>
|
|
696
|
+
</div>
|
|
697
|
+
|
|
698
|
+
</header>
|
|
699
|
+
<main style="width: 100%;">
|
|
700
|
+
<div v-show="currentSelectConsoleTab === 'question'" class="problem-container">
|
|
701
|
+
<p v-for="(item, index) in codeTips" :key="index">
|
|
702
|
+
<el-icon>
|
|
703
|
+
<CircleCloseFilled/>
|
|
704
|
+
</el-icon>
|
|
705
|
+
{{ item.message }} [行 {{ item.startLineNumber }}, 列 {{ item.startColumn }}]
|
|
706
|
+
</p>
|
|
707
|
+
</div>
|
|
708
|
+
<Console v-show="currentSelectConsoleTab === 'console'"></Console>
|
|
709
|
+
|
|
710
|
+
</main>
|
|
711
|
+
|
|
712
|
+
</div>
|
|
713
|
+
<!----------------------------- console --- end --------------------- -->
|
|
714
|
+
</div>
|
|
715
|
+
|
|
716
|
+
<div class="script-tools">
|
|
717
|
+
<div v-for="item in scriptTools"
|
|
718
|
+
v-show="item.show"
|
|
719
|
+
:key="item.id">
|
|
720
|
+
<el-tooltip
|
|
721
|
+
:content="item.label"
|
|
722
|
+
:show-arrow='false'
|
|
723
|
+
class="box-item"
|
|
724
|
+
effect="dark"
|
|
725
|
+
placement="left"
|
|
726
|
+
>
|
|
727
|
+
<SvgIcon :icon="item.icon" @click="item.click"></SvgIcon>
|
|
728
|
+
</el-tooltip>
|
|
729
|
+
</div>
|
|
730
|
+
</div>
|
|
731
|
+
</section>
|
|
732
|
+
</main>
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
<Teleport to="body">
|
|
736
|
+
<Contextmenu/>
|
|
737
|
+
</Teleport>
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
</div>
|
|
741
|
+
</Drag>
|
|
742
|
+
|
|
743
|
+
</div>
|
|
744
|
+
|
|
745
|
+
</template>
|
|
746
|
+
|
|
747
|
+
<style lang="less" scoped>
|
|
748
|
+
.script-index-plus {
|
|
749
|
+
position: fixed;
|
|
750
|
+
inset: 0;
|
|
751
|
+
margin: auto;
|
|
752
|
+
|
|
753
|
+
width: 100%;
|
|
754
|
+
height: 100%;
|
|
755
|
+
z-index: 100;
|
|
756
|
+
pointer-events: none;
|
|
757
|
+
display: flex;
|
|
758
|
+
justify-content: center;
|
|
759
|
+
align-items: center;
|
|
760
|
+
overflow: hidden;
|
|
761
|
+
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.script-index-drag {
|
|
765
|
+
background-color: var(--theme-bg);
|
|
766
|
+
transform: translate(calc(50vw - 30%), calc(50vh - 400px));
|
|
767
|
+
pointer-events: all;
|
|
768
|
+
border: none;
|
|
769
|
+
border-radius: 12px;
|
|
770
|
+
overflow: hidden;
|
|
771
|
+
box-shadow: 0 0 10px 0 var(--theme-border-color);
|
|
772
|
+
backdrop-filter: blur(20px);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.script-index {
|
|
776
|
+
width: 100%;
|
|
777
|
+
height: 100%;
|
|
778
|
+
|
|
779
|
+
header {
|
|
780
|
+
width: 100%;
|
|
781
|
+
height: 40px;
|
|
782
|
+
border-bottom: 1px solid var(--theme-border-color);
|
|
783
|
+
display: flex;
|
|
784
|
+
justify-content: space-between;
|
|
785
|
+
align-items: center;
|
|
786
|
+
user-select: none;
|
|
787
|
+
|
|
788
|
+
.head-left {
|
|
789
|
+
display: flex;
|
|
790
|
+
padding: 0 5px;
|
|
791
|
+
line-height: 40px;
|
|
792
|
+
height: 40px;
|
|
793
|
+
align-items: center;
|
|
794
|
+
|
|
795
|
+
.head-menu {
|
|
796
|
+
display: flex;
|
|
797
|
+
align-items: center;
|
|
798
|
+
border-radius: 5px;
|
|
799
|
+
cursor: pointer;
|
|
800
|
+
margin: 0 10px;
|
|
801
|
+
// margin-right: 10px;
|
|
802
|
+
// margin-left: 10px;
|
|
803
|
+
|
|
804
|
+
&:hover {
|
|
805
|
+
background-color: #414245;
|
|
806
|
+
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
> div {
|
|
811
|
+
height: 30px;
|
|
812
|
+
width: 30px;
|
|
813
|
+
display: flex;
|
|
814
|
+
align-items: center;
|
|
815
|
+
justify-content: center;
|
|
816
|
+
margin-right: 5px;
|
|
817
|
+
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
.nav-menu {
|
|
822
|
+
width: auto;
|
|
823
|
+
display: flex;
|
|
824
|
+
align-items: center;
|
|
825
|
+
border-radius: 5px;
|
|
826
|
+
padding: 0 10px;
|
|
827
|
+
cursor: pointer;
|
|
828
|
+
padding-right: 5px;
|
|
829
|
+
|
|
830
|
+
&:hover {
|
|
831
|
+
background-color: #414245;
|
|
832
|
+
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
> * {
|
|
836
|
+
margin-right: 5px;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.el-icon {
|
|
840
|
+
width: 16px;
|
|
841
|
+
height: 16px;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
i {
|
|
845
|
+
display: flex;
|
|
846
|
+
align-items: center;
|
|
847
|
+
margin-right: 5px;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
:deep(svg),
|
|
852
|
+
.el-icon {
|
|
853
|
+
width: 22px;
|
|
854
|
+
height: 22px;
|
|
855
|
+
object-fit: cover;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
img {
|
|
859
|
+
width: 18px;
|
|
860
|
+
height: 18px;
|
|
861
|
+
object-fit: cover;
|
|
862
|
+
margin-left: 5px
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.edit-name {
|
|
867
|
+
margin-left: 10px;
|
|
868
|
+
font-size: 18px;
|
|
869
|
+
font-family: JetBrains Mono, pinia, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
|
870
|
+
user-select: none;
|
|
871
|
+
flex: 1;
|
|
872
|
+
height: 100%;
|
|
873
|
+
display: flex;
|
|
874
|
+
justify-content: center;
|
|
875
|
+
align-items: center;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.right-btn {
|
|
879
|
+
display: flex;
|
|
880
|
+
align-items: center;
|
|
881
|
+
|
|
882
|
+
.quick-actions {
|
|
883
|
+
width: auto;
|
|
884
|
+
display: flex;
|
|
885
|
+
padding: 0 5px;
|
|
886
|
+
line-height: 30px;
|
|
887
|
+
height: 30px;
|
|
888
|
+
align-items: center;
|
|
889
|
+
|
|
890
|
+
> div {
|
|
891
|
+
height: 30px;
|
|
892
|
+
width: 30px;
|
|
893
|
+
display: flex;
|
|
894
|
+
align-items: center;
|
|
895
|
+
justify-content: center;
|
|
896
|
+
border-radius: 5px;
|
|
897
|
+
margin-right: 8px;
|
|
898
|
+
|
|
899
|
+
&:hover {
|
|
900
|
+
background-color: #414245;
|
|
901
|
+
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
svg,
|
|
905
|
+
.icon,
|
|
906
|
+
.el-icon {
|
|
907
|
+
width: 20px;
|
|
908
|
+
height: 20px;
|
|
909
|
+
object-fit: cover;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
> div {
|
|
916
|
+
width: 50px;
|
|
917
|
+
height: 40px;
|
|
918
|
+
cursor: pointer;
|
|
919
|
+
display: flex;
|
|
920
|
+
align-items: center;
|
|
921
|
+
justify-content: center;
|
|
922
|
+
|
|
923
|
+
&:hover:not(.quick-actions) {
|
|
924
|
+
background-color: var(--theme-gl-bg);
|
|
925
|
+
color: var(--theme-gl-color);
|
|
926
|
+
|
|
927
|
+
path {
|
|
928
|
+
fill: var(--theme-gl-color);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
svg {
|
|
934
|
+
font-size: 20px;
|
|
935
|
+
|
|
936
|
+
flex-shrink: 0;
|
|
937
|
+
cursor: pointer;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.icon {
|
|
941
|
+
width: 20px;
|
|
942
|
+
height: 20px;
|
|
943
|
+
|
|
944
|
+
path {
|
|
945
|
+
fill: var(--theme-font-color);
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.el-icon {
|
|
950
|
+
width: 100%;
|
|
951
|
+
height: 100%;
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
main {
|
|
959
|
+
display: flex;
|
|
960
|
+
height: calc(100% - 40px);
|
|
961
|
+
|
|
962
|
+
.script-container {
|
|
963
|
+
width: 270px;
|
|
964
|
+
height: 100%;
|
|
965
|
+
border-right: 1px solid var(--theme-border-color);
|
|
966
|
+
display: flex;
|
|
967
|
+
|
|
968
|
+
.nav {
|
|
969
|
+
width: 40px;
|
|
970
|
+
height: 100%;
|
|
971
|
+
display: flex;
|
|
972
|
+
flex-direction: column;
|
|
973
|
+
align-items: center;
|
|
974
|
+
border-right: 1px solid var(--theme-border-color);
|
|
975
|
+
|
|
976
|
+
.active {
|
|
977
|
+
background-color: var(--theme-gl-bg);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
> div {
|
|
981
|
+
width: 30px;
|
|
982
|
+
height: 30px;
|
|
983
|
+
display: flex;
|
|
984
|
+
align-items: center;
|
|
985
|
+
justify-content: center;
|
|
986
|
+
cursor: pointer;
|
|
987
|
+
border-radius: 5px;
|
|
988
|
+
margin: 5px 0;
|
|
989
|
+
|
|
990
|
+
&:hover {
|
|
991
|
+
background-color: var(--theme-gl-bg);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
:deep(i) {
|
|
995
|
+
width: 20px;
|
|
996
|
+
height: 20px;
|
|
997
|
+
|
|
998
|
+
> svg {
|
|
999
|
+
width: 100%;
|
|
1000
|
+
height: 100%;
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
//
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
.script-nav-content {
|
|
1010
|
+
flex: 1;
|
|
1011
|
+
height: 100%;
|
|
1012
|
+
display: flex;
|
|
1013
|
+
flex-direction: column;
|
|
1014
|
+
border-right: 1px solid var(--theme-border-color);
|
|
1015
|
+
overflow: auto;
|
|
1016
|
+
|
|
1017
|
+
.script-nav-content-layout {
|
|
1018
|
+
flex: 1;
|
|
1019
|
+
height: 100%;
|
|
1020
|
+
display: flex;
|
|
1021
|
+
flex-direction: column;
|
|
1022
|
+
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.script-panel {
|
|
1028
|
+
width: calc(100% - 270px);
|
|
1029
|
+
height: 100%;
|
|
1030
|
+
display: flex;
|
|
1031
|
+
overflow: hidden;
|
|
1032
|
+
|
|
1033
|
+
.script-left-panel {
|
|
1034
|
+
flex: 1;
|
|
1035
|
+
display: flex;
|
|
1036
|
+
flex-direction: column;
|
|
1037
|
+
overflow: hidden;
|
|
1038
|
+
|
|
1039
|
+
.container {
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
.script-nav-header {
|
|
1043
|
+
overflow: auto;
|
|
1044
|
+
height: 40px;
|
|
1045
|
+
border-bottom: 1px solid var(--theme-border-color);
|
|
1046
|
+
|
|
1047
|
+
.component-list-container {
|
|
1048
|
+
width: 100%;
|
|
1049
|
+
height: 100%;
|
|
1050
|
+
display: flex;
|
|
1051
|
+
overflow: auto;
|
|
1052
|
+
|
|
1053
|
+
// 清除滚动条
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
&::-webkit-scrollbar {
|
|
1057
|
+
display: none;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
.component-item {
|
|
1062
|
+
height: 100%;
|
|
1063
|
+
display: flex;
|
|
1064
|
+
align-items: center;
|
|
1065
|
+
padding: 0 10px;
|
|
1066
|
+
padding-right: 0;
|
|
1067
|
+
border-right: 1px solid var(--theme-border-color);
|
|
1068
|
+
background-color: var(--theme-block-bg);
|
|
1069
|
+
flex-shrink: 0;
|
|
1070
|
+
cursor: pointer;
|
|
1071
|
+
position: relative;
|
|
1072
|
+
|
|
1073
|
+
&::after {
|
|
1074
|
+
content: '';
|
|
1075
|
+
position: absolute;
|
|
1076
|
+
bottom: 0;
|
|
1077
|
+
left: 0;
|
|
1078
|
+
height: 4px;
|
|
1079
|
+
width: 100%;
|
|
1080
|
+
border-radius: 4px;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.svg-icon {
|
|
1084
|
+
display: flex;
|
|
1085
|
+
margin-right: 5px;
|
|
1086
|
+
|
|
1087
|
+
:deep(svg) {
|
|
1088
|
+
width: 14px;
|
|
1089
|
+
height: 14px;
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.name {
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
span {
|
|
1098
|
+
white-space: nowrap;
|
|
1099
|
+
/*超出的空白区域不换行*/
|
|
1100
|
+
overflow: hidden;
|
|
1101
|
+
/*超出隐藏*/
|
|
1102
|
+
text-overflow: ellipsis;
|
|
1103
|
+
/*文本超出显示省略号*/
|
|
1104
|
+
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
.close-btn {
|
|
1109
|
+
width: 30px;
|
|
1110
|
+
display: flex;
|
|
1111
|
+
justify-content: center;
|
|
1112
|
+
position: relative;
|
|
1113
|
+
|
|
1114
|
+
&:hover {
|
|
1115
|
+
.el-icon {
|
|
1116
|
+
opacity: 1 !important;
|
|
1117
|
+
color: var(--theme-gl-bg);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.dot {
|
|
1121
|
+
opacity: 0 !important;
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.el-icon {
|
|
1126
|
+
position: absolute;
|
|
1127
|
+
inset: 0;
|
|
1128
|
+
margin: auto;
|
|
1129
|
+
transition: .3s;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.dot {
|
|
1134
|
+
transition: .3s;
|
|
1135
|
+
background-color: #fff;
|
|
1136
|
+
width: 0.7rem;
|
|
1137
|
+
height: 0.7rem;
|
|
1138
|
+
border-radius: 100%;
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.active {
|
|
1143
|
+
|
|
1144
|
+
// border-bottom: 2px solid var(--theme-gl-bg);
|
|
1145
|
+
// color: var(--theme-gl-bg);
|
|
1146
|
+
&::after {
|
|
1147
|
+
background-color: var(--theme-gl-bg);
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.close-btn {
|
|
1151
|
+
.el-icon {
|
|
1152
|
+
opacity: 1;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
&::-webkit-scrollbar {
|
|
1158
|
+
width: 5px;
|
|
1159
|
+
height: 5px;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
&::-webkit-scrollbar-thumb {
|
|
1163
|
+
border-radius: 5px;
|
|
1164
|
+
background-color: var(--theme-btn-bg);
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
&::-webkit-scrollbar-track {
|
|
1168
|
+
border-radius: 5px;
|
|
1169
|
+
background-color: var(--theme-bg);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
#script-edit-container {
|
|
1176
|
+
height: calc(100% - 48px);
|
|
1177
|
+
width: 100%;
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.script-tools-container {
|
|
1182
|
+
height: 200px;
|
|
1183
|
+
width: 100%;
|
|
1184
|
+
border-top: 1px solid var(--theme-border-color);
|
|
1185
|
+
display: flex;
|
|
1186
|
+
flex-direction: column;
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
header {
|
|
1190
|
+
width: 100%;
|
|
1191
|
+
height: 30px;
|
|
1192
|
+
display: flex;
|
|
1193
|
+
justify-content: space-between;
|
|
1194
|
+
border-bottom: 1px solid var(--theme-border-color);
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
.el-tabs {
|
|
1198
|
+
height: 30px;
|
|
1199
|
+
--el-bg-color: var(--theme-gl-bg);
|
|
1200
|
+
|
|
1201
|
+
--el-tabs-header-height: 30px;
|
|
1202
|
+
--el-border-color-light: var(--theme-border-color);
|
|
1203
|
+
width: 100%;
|
|
1204
|
+
|
|
1205
|
+
:deep(.el-tabs__item) {
|
|
1206
|
+
&.is-active, &:hover {
|
|
1207
|
+
color: var(--theme-gl-bg);
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
:deep(.el-tabs__header) {
|
|
1212
|
+
border-bottom: none;
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.console-operation {
|
|
1217
|
+
width: 100px;
|
|
1218
|
+
height: 30px;
|
|
1219
|
+
display: flex;
|
|
1220
|
+
justify-content: flex-end;
|
|
1221
|
+
align-items: center;
|
|
1222
|
+
padding-right: 10px;
|
|
1223
|
+
|
|
1224
|
+
.el-icon {
|
|
1225
|
+
margin-left: 10px;
|
|
1226
|
+
|
|
1227
|
+
svg {
|
|
1228
|
+
font-size: 20px;
|
|
1229
|
+
cursor: pointer;
|
|
1230
|
+
|
|
1231
|
+
&:hover {
|
|
1232
|
+
color: var(--theme-gl-bg);
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
main {
|
|
1240
|
+
width: 100%;
|
|
1241
|
+
height: calc(100% - 30px);
|
|
1242
|
+
|
|
1243
|
+
.problem-container {
|
|
1244
|
+
height: 100%;
|
|
1245
|
+
overflow: auto;
|
|
1246
|
+
padding: 10px;
|
|
1247
|
+
width: 100%;
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
> p {
|
|
1251
|
+
display: flex;
|
|
1252
|
+
align-items: center;
|
|
1253
|
+
user-select: text;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.el-icon {
|
|
1257
|
+
margin-right: 5px;
|
|
1258
|
+
color: var(--el-color-error);
|
|
1259
|
+
display: flex;
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
.script-tools {
|
|
1269
|
+
width: 40px;
|
|
1270
|
+
height: 100%;
|
|
1271
|
+
border-left: 1px solid var(--theme-border-color);
|
|
1272
|
+
display: flex;
|
|
1273
|
+
flex-direction: column;
|
|
1274
|
+
align-items: center;
|
|
1275
|
+
|
|
1276
|
+
> div {
|
|
1277
|
+
width: 30px;
|
|
1278
|
+
height: 30px;
|
|
1279
|
+
display: flex;
|
|
1280
|
+
align-items: center;
|
|
1281
|
+
justify-content: center;
|
|
1282
|
+
cursor: pointer;
|
|
1283
|
+
border-radius: 6px;
|
|
1284
|
+
margin: 6px 0;
|
|
1285
|
+
// margin-top: 5px;
|
|
1286
|
+
&:hover {
|
|
1287
|
+
background-color: var(--theme-gl-bg);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
:deep(i) {
|
|
1291
|
+
width: 20px;
|
|
1292
|
+
height: 20px;
|
|
1293
|
+
|
|
1294
|
+
> svg {
|
|
1295
|
+
width: 100%;
|
|
1296
|
+
height: 100%;
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
}
|
|
1308
|
+
</style>
|