├── .nvmrc ├── app └── admin │ ├── README.md │ ├── .stylelintignore │ ├── src │ ├── views │ │ └── system │ │ │ ├── home │ │ │ └── index.vue │ │ │ ├── exception │ │ │ └── index.vue │ │ │ ├── model │ │ │ └── index.vue │ │ │ ├── designer │ │ │ └── index.vue │ │ │ └── redirect │ │ │ └── index.vue │ ├── assets │ │ └── img │ │ │ └── login-bg.png │ ├── layout │ │ └── common │ │ │ ├── footer │ │ │ └── index.vue │ │ │ ├── logo │ │ │ └── index.vue │ │ │ ├── menu-top │ │ │ ├── index.vue │ │ │ └── menu-item.vue │ │ │ └── menu-left │ │ │ └── menu-item.vue │ ├── setup │ │ ├── storage.ts │ │ └── codemirror.ts │ ├── store │ │ └── index.ts │ ├── router │ │ ├── routes.ts │ │ ├── modules │ │ │ └── base.ts │ │ └── types.ts │ ├── shims.vue.d.ts │ ├── App.vue │ └── main.ts │ ├── public │ └── logo.png │ ├── postcss.config.js │ ├── stylelint.config.mjs │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── .env.development │ ├── .env.production │ └── index.html ├── packages ├── graphic │ ├── src │ │ ├── style │ │ │ ├── index.css │ │ │ └── tailwind.css │ │ ├── index.ts │ │ └── model │ │ │ └── index.ts │ ├── postcss.config.js │ ├── stylelint.config.mjs │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── markdown │ │ ├── graphic.almodelgraphic.md │ │ ├── index.md │ │ └── graphic.md │ ├── tsconfig.declaration.json │ └── vite.config.ts ├── request │ ├── src │ │ ├── services │ │ │ ├── lowcode │ │ │ │ ├── lowcodePage │ │ │ │ │ ├── types.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── lowcodePageCategory │ │ │ │ │ ├── types.ts │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── oauth2 │ │ │ │ └── index.ts │ │ │ ├── system │ │ │ │ ├── index.ts │ │ │ │ └── sysConfig │ │ │ │ │ ├── types.ts │ │ │ │ │ └── index.ts │ │ │ ├── types.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ └── http │ │ │ └── index.ts │ ├── eslint.config.mjs │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── vite.config.ts │ ├── markdown │ │ ├── request.alhttp.md │ │ ├── request.oauth2api.md │ │ ├── request.sysconfigapi.md │ │ ├── request.lowcodepageapi.md │ │ ├── request.menumeta.id.md │ │ ├── request.baseapi.module.md │ │ ├── request.baseapi.service.md │ │ ├── request.menumeta.remark.md │ │ ├── request.menutype.id.md │ │ ├── request.menumeta.comptype.md │ │ ├── request.menumeta.menucode.md │ │ ├── request.menumeta.menuicon.md │ │ ├── request.menumeta.menuname.md │ │ ├── request.menumeta.menusort.md │ │ ├── request.menumeta.menutype.md │ │ ├── request.menumeta.parentid.md │ │ ├── request.menutype.meta.md │ │ ├── request.menutype.path.md │ │ ├── request.menumeta.isvisible.md │ │ ├── request.menumeta.localfile.md │ │ ├── request.menumeta.menulevel.md │ │ ├── request.menumeta.routepath.md │ │ ├── request.loginparamtype.mode.md │ │ ├── request.menumeta.activemenu.md │ │ ├── request.menumeta.isexternal.md │ │ ├── request.menutype.name.md │ │ ├── request.commonresulttype.data.md │ │ ├── request.commonresulttype.msg.md │ │ ├── request.menumeta.externalurl.md │ │ ├── request.menumeta.iskeepalive.md │ │ ├── request.menumeta.lowcodepage.md │ │ ├── request.menumeta.permissions.md │ │ ├── request.pageresulttype.total.md │ │ ├── request.lowcodepagecategoryapi.md │ │ ├── request.menumeta.systemmodule.md │ │ ├── request.menutype.menucode.md │ │ ├── request.menutype.menuname.md │ │ ├── request.menutype.redirect.md │ │ ├── request.pageresulttype.content.md │ │ ├── request.commonresulttype.code.md │ │ ├── request.loginparamtype.password.md │ │ ├── request.loginparamtype.username.md │ │ ├── request.menumeta.children.md │ │ ├── request.menutype.children.md │ │ ├── request.menutype.component.md │ │ ├── request.loginparamtype.captchakey.md │ │ ├── request.loginparamtype.client_id.md │ │ ├── request.loginparamtype.rememberme.md │ │ ├── request.alaxios.loading.md │ │ ├── request.authtype.access_token.md │ │ ├── request.loginparamtype.grant_type.md │ │ ├── request.loginparamtype.captchavalue.md │ │ ├── request.loginparamtype.redirect_uri.md │ │ ├── request.pageresulttype.totalelements.md │ │ ├── request.loginparamtype.client_secret.md │ │ ├── request.requestoptionstype.withtoken.md │ │ ├── request.requestoptionstype.headers.md │ │ ├── request.requestconfigtype.requestoptions.md │ │ ├── request.alaxios.getaxios.md │ │ ├── request.requestoptionstype.isshowloading.md │ │ ├── index.md │ │ ├── request.createaxiosoptionstype.requestoptions.md │ │ ├── request.requestoptionstype.errormessagetext.md │ │ ├── request.requestoptionstype.joinparamstourl.md │ │ ├── request.requestoptionstype.isshowerrormessage.md │ │ ├── request.requestoptionstype.loadingmessagetext.md │ │ ├── request.requestoptionstype.successmessagetext.md │ │ ├── request.requestoptionstype.isshowsuccessmessage.md │ │ └── request.authtype.md │ └── tsconfig.declaration.json ├── types │ ├── src │ │ ├── index.ts │ │ └── designer │ │ │ └── index.ts │ ├── eslint.config.mjs │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── shims │ │ └── vue.d.ts │ ├── vite.config.ts │ ├── tsconfig.declaration.json │ └── markdown │ │ ├── index.md │ │ ├── types.md │ │ └── types.matertype.md ├── designer │ ├── src │ │ ├── components │ │ │ ├── workspace │ │ │ │ ├── src │ │ │ │ │ └── types │ │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── footer │ │ │ │ └── index.ts │ │ │ ├── header │ │ │ │ └── index.ts │ │ │ ├── attrs-panel │ │ │ │ ├── index.ts │ │ │ │ └── src │ │ │ │ │ ├── schema │ │ │ │ │ └── form.ts │ │ │ │ │ └── types │ │ │ │ │ └── index.ts │ │ │ ├── components-panel │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── global │ │ │ └── index.ts │ │ ├── utils │ │ │ ├── index.ts │ │ │ ├── schema.ts │ │ │ ├── expose-api.ts │ │ │ └── theme-listener.ts │ │ ├── types │ │ │ ├── designer.ts │ │ │ └── index.ts │ │ └── enums │ │ │ └── index.ts │ ├── postcss.config.js │ ├── stylelint.config.mjs │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── markdown │ │ ├── designer.alworkspace.md │ │ ├── designer.menu.list.md │ │ ├── designer.menu.name.md │ │ ├── designer.menu.title.md │ │ ├── designer.design_instance.md │ │ ├── designer.alheader.md │ │ ├── designer.menuitem.icon.md │ │ ├── designer.menuitem.name.md │ │ ├── designer.menuitem.only.md │ │ ├── designer.aldragbox.md │ │ ├── designer.menuitem.label.md │ │ ├── designer.aldesigner.md │ │ ├── designer.alattrspanel.md │ │ ├── designer.menulist.md │ │ ├── designer.alvuedragable.md │ │ ├── designer.alcomponentspanel.md │ │ ├── designer.activecomponentmenu.menu.md │ │ ├── designer.getexposeapi.md │ │ ├── designer.activecomponentmenu.expand.md │ │ ├── designer.designercontext.workspaceref.md │ │ ├── designer.designercontext.selectcomponent.md │ │ ├── index.md │ │ ├── designer.designercontext.changecomponentselect.md │ │ ├── designer.initcomponents.md │ │ ├── designer.recursiveupdateids.md │ │ ├── designer.addeditorthemelistener.md │ │ └── designer.getschemainstancename.md │ ├── tsconfig.declaration.json │ └── vite.config.ts ├── core │ ├── src │ │ ├── utils │ │ │ ├── index.ts │ │ │ └── expose-api.ts │ │ ├── node │ │ │ ├── src │ │ │ │ └── types │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ └── renderer │ │ │ ├── index.ts │ │ │ └── src │ │ │ └── types │ │ │ └── index.ts │ ├── postcss.config.js │ ├── stylelint.config.mjs │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── markdown │ │ ├── core.alnode.md │ │ ├── core.schema.id.md │ │ ├── core.alrenderer.md │ │ ├── core.schema.name.md │ │ ├── core.schema.type.md │ │ ├── core.schema.field.md │ │ ├── core.schema.label.md │ │ ├── core.schema.hidden.md │ │ ├── core.schema.binds.md │ │ ├── core.schema.content.md │ │ ├── core.schema.events.md │ │ ├── core.schema.props.md │ │ ├── core.schema.slotname.md │ │ ├── core.formdatatype.value.md │ │ ├── core.schema.cssstring.md │ │ ├── core.schema.slothidden.md │ │ ├── core.schema.defaultvalue.md │ │ ├── core.schema.lifecycle.md │ │ ├── core.schema.modelfield.md │ │ ├── core.schema.children.md │ │ ├── core.globalinstancetype.value.md │ │ ├── core.formdatatype.getvaluefrompath.md │ │ ├── core.formdatatype.setvalueatpath.md │ │ ├── core.globalinstancetype.setinstance.md │ │ ├── index.md │ │ ├── core.formdatatype.generateobjectfrompath.md │ │ └── core.globalinstancetype.getinstancefromkey.md │ ├── tsconfig.declaration.json │ └── vite.config.ts ├── schemas │ ├── src │ │ ├── dialog │ │ │ └── index.ts │ │ ├── div │ │ │ └── index.ts │ │ ├── input │ │ │ └── index.ts │ │ ├── rate │ │ │ └── index.ts │ │ ├── slider │ │ │ └── index.ts │ │ ├── switch │ │ │ └── index.ts │ │ ├── text │ │ │ └── index.ts │ │ ├── upload │ │ │ └── index.ts │ │ ├── date-picker │ │ │ └── index.ts │ │ ├── mention │ │ │ └── index.ts │ │ ├── pagination │ │ │ └── index.ts │ │ ├── time-picker │ │ │ └── index.ts │ │ ├── time-select │ │ │ └── index.ts │ │ ├── transfer │ │ │ └── index.ts │ │ ├── autocomplete │ │ │ └── index.ts │ │ ├── color-picker │ │ │ └── index.ts │ │ ├── input-number │ │ │ └── index.ts │ │ ├── types │ │ │ ├── index.ts │ │ │ └── schema.ts │ │ ├── utils │ │ │ ├── index.ts │ │ │ ├── expose-api.ts │ │ │ └── drag-box.ts │ │ ├── form │ │ │ └── index.ts │ │ ├── table │ │ │ └── index.ts │ │ ├── query-bar │ │ │ └── index.ts │ │ ├── tabs │ │ │ ├── index.ts │ │ │ └── tabs.vue │ │ ├── tree │ │ │ └── index.ts │ │ ├── action-bar │ │ │ └── index.ts │ │ ├── radio │ │ │ └── index.ts │ │ ├── button │ │ │ ├── index.ts │ │ │ └── button.vue │ │ ├── icon-select │ │ │ └── index.ts │ │ ├── select │ │ │ └── index.ts │ │ ├── cascader │ │ │ ├── index.ts │ │ │ └── cascader.vue │ │ ├── segmented │ │ │ ├── index.ts │ │ │ └── segmented.vue │ │ └── tree-select │ │ │ └── index.ts │ ├── postcss.config.js │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── tsconfig.declaration.json │ ├── markdown │ │ ├── schemas-component-adapter.componentschemalist.md │ │ ├── schemas-component-adapter.compschema.icon.md │ │ ├── schemas-component-adapter.compschema.label.md │ │ ├── schemas-component-adapter.compschema.menu.md │ │ ├── schemas-component-adapter.compschema.name.md │ │ ├── schemas-component-adapter.compschema.schema.md │ │ ├── schemas-component-adapter.compschema.slots.md │ │ ├── index.md │ │ ├── schemas-component-adapter.compschema.events.md │ │ ├── schemas-component-adapter.compschema.children.md │ │ └── schemas-component-adapter.compschema.props.md │ └── vite.config.ts ├── components │ ├── src │ │ ├── avatar │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── badge │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── button │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ ├── button.vue │ │ │ └── config.ts │ │ ├── card │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── cascader │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── checkbox │ │ │ ├── props.ts │ │ │ └── index.ts │ │ ├── collapse │ │ │ ├── props.ts │ │ │ └── index.ts │ │ ├── breadcrumb │ │ │ ├── props.ts │ │ │ └── index.ts │ │ ├── container │ │ │ ├── props.ts │ │ │ └── index.ts │ │ ├── date-picker │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── auto-complete │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── color-picker │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── tag │ │ │ └── index.ts │ │ ├── config-provider │ │ │ ├── props.ts │ │ │ ├── index.ts │ │ │ └── config.ts │ │ ├── empty │ │ │ └── index.ts │ │ ├── link │ │ │ └── index.ts │ │ ├── space │ │ │ └── index.ts │ │ ├── text │ │ │ └── index.ts │ │ ├── tree │ │ │ └── index.ts │ │ ├── element-plus-icon │ │ │ └── index.ts │ │ ├── slider │ │ │ └── index.ts │ │ ├── tooltip │ │ │ └── index.ts │ │ ├── upload │ │ │ └── index.ts │ │ ├── progress │ │ │ └── index.ts │ │ ├── skeleton │ │ │ └── index.ts │ │ ├── transfer │ │ │ └── index.ts │ │ ├── pagination │ │ │ └── index.ts │ │ ├── popconfirm │ │ │ └── index.ts │ │ ├── scrollbar │ │ │ └── index.ts │ │ ├── segmented │ │ │ └── index.ts │ │ ├── time-picker │ │ │ └── index.ts │ │ ├── time-select │ │ │ └── index.ts │ │ ├── tree-select │ │ │ └── index.ts │ │ ├── watermark │ │ │ └── index.ts │ │ ├── input-number │ │ │ └── index.ts │ │ ├── step │ │ │ └── index.ts │ │ ├── utils │ │ │ └── click-outside.ts │ │ ├── message │ │ │ └── index.ts │ │ ├── tabs │ │ │ └── index.ts │ │ ├── image │ │ │ └── index.ts │ │ ├── input │ │ │ └── index.ts │ │ ├── table │ │ │ └── index.ts │ │ ├── popover │ │ │ └── index.ts │ │ ├── loading │ │ │ └── index.ts │ │ ├── common │ │ │ ├── enum.ts │ │ │ └── index.ts │ │ ├── radio │ │ │ └── index.ts │ │ ├── dropdown │ │ │ └── index.ts │ │ ├── form │ │ │ └── index.ts │ │ ├── menu │ │ │ └── index.ts │ │ ├── drawer │ │ │ ├── index.ts │ │ │ ├── props.ts │ │ │ └── config.ts │ │ ├── divider │ │ │ ├── index.ts │ │ │ ├── config.ts │ │ │ └── props.ts │ │ ├── dialog │ │ │ └── index.ts │ │ ├── descriptions │ │ │ └── index.ts │ │ ├── switch │ │ │ └── index.ts │ │ └── icon │ │ │ └── index.ts │ ├── postcss.config.js │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── markdown │ │ ├── component-adapter.albutton.md │ │ ├── index.md │ │ ├── component-adapter.alicon.md │ │ ├── component-adapter.aldrawer.md │ │ ├── component-adapter.aloption.md │ │ ├── component-adapter.alselect.md │ │ ├── component-adapter.alswitch.md │ │ ├── component-adapter.alcolorpicker.md │ │ └── component-adapter.aloptiongroup.md │ ├── tsconfig.declaration.json │ └── vite.config.ts ├── styles │ ├── src │ │ ├── tailwind.css │ │ ├── index.ts │ │ └── postcss.config.ts │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── vite.config.ts │ └── tsconfig.declaration.json ├── atoms │ ├── postcss.config.js │ ├── eslint.config.mjs │ ├── tailwind.config.js │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── markdown │ │ ├── atoms.alarrayatom.md │ │ ├── atoms.alobjectatom.md │ │ ├── atoms.alcodeeditoratom.md │ │ ├── atoms.aldatasourceatom.md │ │ ├── atoms.alvariablebindatom.md │ │ └── index.md │ ├── tsconfig.declaration.json │ ├── src │ │ └── index.ts │ └── vite.config.ts ├── hooks │ ├── eslint.config.mjs │ ├── vitest.config.ts │ ├── src │ │ ├── index.ts │ │ ├── webStorage │ │ │ └── interface.ts │ │ └── hotKeys │ │ │ └── index.ts │ ├── tsconfig.json │ ├── vite.config.ts │ ├── markdown │ │ ├── hooks.webstorage.md │ │ ├── index.md │ │ ├── hooks.localforage.md │ │ └── hooks.useeventbus.md │ └── tsconfig.declaration.json └── utils │ ├── eslint.config.mjs │ ├── vitest.config.ts │ ├── tsconfig.json │ ├── __tests__ │ └── is.test.ts │ ├── vite.config.ts │ ├── tsconfig.declaration.json │ └── markdown │ ├── utils.nprogress.md │ └── index.md ├── .turbo └── daemon │ └── dfcd788a7a4e3577-turbo.log.2024-07-29 ├── .stylelintignore ├── .syncpackrc ├── config ├── vite │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── build.config.ts ├── tsconfig │ ├── package.json │ └── tsconfig.server.json └── lint │ ├── lintstaged.js │ ├── package.json │ └── commitlint.js ├── .commitlintrc.js ├── .lintstagedrc.js ├── tsconfig.json ├── docs ├── public │ └── logo.png └── .vitepress │ ├── theme │ ├── index.ts │ └── style │ │ └── var.css │ └── components │ ├── HeroBefore.vue │ ├── FreeStyle.vue │ └── AnimationTitle.vue ├── .husky ├── pre-commit └── commit-msg ├── stylelint.config.mjs ├── eslint.config.mjs ├── pnpm-workspace.yaml ├── .npmrc ├── .changeset ├── config.json ├── README.md └── pre.json ├── vitest.workspace.ts ├── scripts └── package.json ├── turbo.json └── .github └── workflows └── deploy-admin.yml /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.20.3 2 | -------------------------------------------------------------------------------- /app/admin/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/graphic/src/style/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.turbo/daemon/dfcd788a7a4e3577-turbo.log.2024-07-29: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- 1 | /dist/* 2 | /public/* 3 | public/* 4 | -------------------------------------------------------------------------------- /.syncpackrc: -------------------------------------------------------------------------------- 1 | { 2 | "dependencyTypes": ["prod"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/request/src/services/lowcode/lowcodePage/types.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/types/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './designer' 2 | -------------------------------------------------------------------------------- /config/vite/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './vite.pkg.config' 2 | -------------------------------------------------------------------------------- /packages/designer/src/components/workspace/src/types/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/admin/.stylelintignore: -------------------------------------------------------------------------------- 1 | /dist/* 2 | /public/* 3 | public/* 4 | -------------------------------------------------------------------------------- /packages/core/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './expose-api.ts' 2 | -------------------------------------------------------------------------------- /packages/request/src/services/lowcode/lowcodePageCategory/types.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/schemas/src/dialog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/div/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/input/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/rate/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/slider/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/switch/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/text/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/upload/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/components/src/avatar/props.ts: -------------------------------------------------------------------------------- 1 | export const avatarProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/badge/props.ts: -------------------------------------------------------------------------------- 1 | export const badgeProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/button/props.ts: -------------------------------------------------------------------------------- 1 | export const buttonProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/card/props.ts: -------------------------------------------------------------------------------- 1 | export const cardProps = {} 2 | -------------------------------------------------------------------------------- /packages/core/src/node/src/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/request/src/services/oauth2/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/date-picker/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/mention/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/pagination/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/time-picker/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/time-select/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/transfer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /.commitlintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@al-config/lint/commitlint') 2 | -------------------------------------------------------------------------------- /.lintstagedrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@al-config/lint/lintstaged') 2 | -------------------------------------------------------------------------------- /packages/components/src/cascader/props.ts: -------------------------------------------------------------------------------- 1 | export const cascaderProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/checkbox/props.ts: -------------------------------------------------------------------------------- 1 | export const checkboxProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/collapse/props.ts: -------------------------------------------------------------------------------- 1 | export const collapseProps = {} 2 | -------------------------------------------------------------------------------- /packages/request/src/services/system/index.ts: -------------------------------------------------------------------------------- 1 | export * from './sysConfig' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/autocomplete/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/color-picker/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/input-number/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema.ts' 2 | -------------------------------------------------------------------------------- /packages/components/src/breadcrumb/props.ts: -------------------------------------------------------------------------------- 1 | export const breadcrumbProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/container/props.ts: -------------------------------------------------------------------------------- 1 | export const containerProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/date-picker/props.ts: -------------------------------------------------------------------------------- 1 | export const datePickerProps = {} 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/components/src/auto-complete/props.ts: -------------------------------------------------------------------------------- 1 | export const autoCompleteProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/color-picker/props.ts: -------------------------------------------------------------------------------- 1 | export const colorPickerProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/tag/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTag as AlTag } from 'element-plus' 2 | -------------------------------------------------------------------------------- /docs/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zero-dim/core/HEAD/docs/public/logo.png -------------------------------------------------------------------------------- /packages/components/src/config-provider/props.ts: -------------------------------------------------------------------------------- 1 | export const configProviderProps = {} 2 | -------------------------------------------------------------------------------- /packages/components/src/empty/index.ts: -------------------------------------------------------------------------------- 1 | export { ElEmpty as AlEmpty } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/link/index.ts: -------------------------------------------------------------------------------- 1 | export { ElLink as AlLink } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/space/index.ts: -------------------------------------------------------------------------------- 1 | export { ElSpace as AlSpace } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/text/index.ts: -------------------------------------------------------------------------------- 1 | export { ElText as AlText } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/tree/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTree as AlTree } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/types/index.ts: -------------------------------------------------------------------------------- 1 | // 表单生成器 schema 类型 2 | export * from './schema.ts' 3 | -------------------------------------------------------------------------------- /app/admin/src/views/system/home/index.vue: -------------------------------------------------------------------------------- 1 | 2 | home 3 | 4 | -------------------------------------------------------------------------------- /packages/components/src/element-plus-icon/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@element-plus/icons-vue' 2 | -------------------------------------------------------------------------------- /packages/components/src/slider/index.ts: -------------------------------------------------------------------------------- 1 | export { ElSlider as AlSlider } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/tooltip/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTooltip as AlTooltip } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/upload/index.ts: -------------------------------------------------------------------------------- 1 | export { ElUpload as AlUpload } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/graphic/src/index.ts: -------------------------------------------------------------------------------- 1 | import './style/tailwind.css' 2 | 3 | export * from './model' 4 | -------------------------------------------------------------------------------- /app/admin/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zero-dim/core/HEAD/app/admin/public/logo.png -------------------------------------------------------------------------------- /packages/components/src/progress/index.ts: -------------------------------------------------------------------------------- 1 | export { ElProgress as AlProgress } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/skeleton/index.ts: -------------------------------------------------------------------------------- 1 | export { ElSkeleton as AlSkeleton } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/transfer/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTransfer as AlTransfer } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/styles/src/tailwind.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /packages/components/src/pagination/index.ts: -------------------------------------------------------------------------------- 1 | export { ElPagination as AlPagination } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/popconfirm/index.ts: -------------------------------------------------------------------------------- 1 | export { ElPopconfirm as AlPopconfirm } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/scrollbar/index.ts: -------------------------------------------------------------------------------- 1 | export { ElScrollbar as AlScrollbar } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/segmented/index.ts: -------------------------------------------------------------------------------- 1 | export { ElSegmented as AlSegmented } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/time-picker/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTimePicker as AlTimePicker } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/time-select/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTimeSelect as AlTimeSelect } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/tree-select/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTreeSelect as AlTreeSelect } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/watermark/index.ts: -------------------------------------------------------------------------------- 1 | export { ElWatermark as AlWatermark } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/schemas/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './expose-api.ts' 2 | export * from './drag-box.ts' 3 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx --no-install lint-staged -------------------------------------------------------------------------------- /packages/components/src/input-number/index.ts: -------------------------------------------------------------------------------- 1 | export { ElInputNumber as AlInputNumber } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/step/index.ts: -------------------------------------------------------------------------------- 1 | export { ElStep as AlStep, ElSteps as AlSteps } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/components/src/utils/click-outside.ts: -------------------------------------------------------------------------------- 1 | export { ClickOutside as AlClickOutside } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/graphic/src/style/tailwind.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /packages/schemas/src/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form-schema.ts' 2 | export * from './form-item-schema.ts' 3 | -------------------------------------------------------------------------------- /stylelint.config.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from '@al-config/lint/stylelint.mjs' 2 | 3 | export default stylelint 4 | -------------------------------------------------------------------------------- /app/admin/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /app/admin/src/assets/img/login-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zero-dim/core/HEAD/app/admin/src/assets/img/login-bg.png -------------------------------------------------------------------------------- /app/admin/stylelint.config.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from '@al-config/lint/stylelint.mjs' 2 | 3 | export default stylelint 4 | -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/atoms/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /packages/core/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /packages/request/src/services/lowcode/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lowcodePage' 2 | export * from './lowcodePageCategory' 3 | -------------------------------------------------------------------------------- /packages/components/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /packages/components/src/message/index.ts: -------------------------------------------------------------------------------- 1 | export { ElMessage as AlMessage, ElMessageBox as AlMessageBox } from 'element-plus' 2 | -------------------------------------------------------------------------------- /packages/core/stylelint.config.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from '@al-config/lint/stylelint.mjs' 2 | 3 | export default stylelint 4 | -------------------------------------------------------------------------------- /packages/designer/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /packages/graphic/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /packages/schemas/postcss.config.js: -------------------------------------------------------------------------------- 1 | import { postCssConfig } from '@zero-dim/styles' 2 | 3 | export default postCssConfig 4 | -------------------------------------------------------------------------------- /app/admin/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/core/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- 1 | import '@zero-dim/styles/tailwindCss' 2 | 3 | export * from './node' 4 | export * from './renderer' 5 | -------------------------------------------------------------------------------- /packages/designer/src/components/footer/index.ts: -------------------------------------------------------------------------------- 1 | import Footer from './src/index.vue' 2 | 3 | export const AlFooter = Footer 4 | -------------------------------------------------------------------------------- /packages/designer/src/components/header/index.ts: -------------------------------------------------------------------------------- 1 | import Header from './src/index.vue' 2 | 3 | export const AlHeader = Header 4 | -------------------------------------------------------------------------------- /packages/designer/stylelint.config.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from '@al-config/lint/stylelint.mjs' 2 | 3 | export default stylelint 4 | -------------------------------------------------------------------------------- /packages/graphic/stylelint.config.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from '@al-config/lint/stylelint.mjs' 2 | 3 | export default stylelint 4 | -------------------------------------------------------------------------------- /app/admin/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/atoms/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/designer/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/graphic/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/graphic/src/model/index.ts: -------------------------------------------------------------------------------- 1 | import ModelGraphic from './src/index.vue' 2 | 3 | export const AlModelGraphic = ModelGraphic 4 | -------------------------------------------------------------------------------- /packages/hooks/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/request/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/schemas/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/types/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/utils/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/atoms/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/components/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import esLintConfig from '@al-config/lint/eslint.config.mjs' 2 | 3 | export default esLintConfig 4 | -------------------------------------------------------------------------------- /packages/core/src/node/index.ts: -------------------------------------------------------------------------------- 1 | import Node from './src/index.vue' 2 | 3 | export * from './src/types' 4 | 5 | export const AlNode = Node 6 | -------------------------------------------------------------------------------- /packages/core/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/core/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /app/admin/src/views/system/exception/index.vue: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | qwqww 6 | 7 | -------------------------------------------------------------------------------- /packages/atoms/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/components/src/tabs/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTabs as AlTabs } from 'element-plus' 2 | export { ElTabPane as AlTabPane } from 'element-plus' 3 | -------------------------------------------------------------------------------- /packages/components/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/designer/src/components/attrs-panel/index.ts: -------------------------------------------------------------------------------- 1 | import AttrsPanel from './src/index.vue' 2 | 3 | export const AlAttrsPanel = AttrsPanel 4 | -------------------------------------------------------------------------------- /packages/designer/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/designer/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/graphic/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/graphic/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/hooks/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/request/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/schemas/tailwind.config.js: -------------------------------------------------------------------------------- 1 | import tailwindCssConfig from '@zero-dim/styles/tailwindConfig' 2 | 3 | export default tailwindCssConfig 4 | -------------------------------------------------------------------------------- /packages/schemas/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/styles/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/types/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/utils/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - app/* # 应用 3 | - cli # 命令行工具 4 | - scripts # 脚本工具 5 | - config/* # 基础配置 6 | - packages/* # 基础包 7 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | # registry = 'https://registry.npmjs.org/' 2 | workspace-packages=true 3 | link-workspace-packages=true 4 | strict-peer-dependencies=false 5 | -------------------------------------------------------------------------------- /docs/.vitepress/theme/index.ts: -------------------------------------------------------------------------------- 1 | import Theme from 'vitepress/theme' 2 | 3 | import './style/var.css' 4 | 5 | export default { 6 | ...Theme, 7 | } 8 | -------------------------------------------------------------------------------- /packages/components/vitest.config.ts: -------------------------------------------------------------------------------- 1 | import { defineProject } from 'vitest/config' 2 | 3 | export default defineProject({ 4 | test: {}, 5 | }) 6 | -------------------------------------------------------------------------------- /packages/designer/src/global/index.ts: -------------------------------------------------------------------------------- 1 | // 全局变量 2 | export const DESIGNER_CTX = 'designerCtx' 3 | 4 | // 页面全局变量 5 | export const PAGE_COMP = 'page' 6 | -------------------------------------------------------------------------------- /packages/request/src/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @packageDocumentation 3 | * request请求基础包 4 | */ 5 | export * from './http' 6 | export * from './services' 7 | -------------------------------------------------------------------------------- /packages/components/src/image/index.ts: -------------------------------------------------------------------------------- 1 | export { ElImage as AlImage } from 'element-plus' 2 | export { ElImageViewer as AlImageViewer } from 'element-plus' 3 | -------------------------------------------------------------------------------- /packages/components/src/input/index.ts: -------------------------------------------------------------------------------- 1 | export { ElInput as AlInput } from 'element-plus' 2 | export { ClickOutside as AlClickOutside } from 'element-plus' 3 | -------------------------------------------------------------------------------- /packages/components/src/table/index.ts: -------------------------------------------------------------------------------- 1 | export { ElTable as AlTable } from 'element-plus' 2 | export { ElTableColumn as AlTableColumn } from 'element-plus' 3 | -------------------------------------------------------------------------------- /packages/hooks/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './localforage' 2 | export * from './webStorage' 3 | export * from './eventBus' 4 | export * from './hotKeys' 5 | -------------------------------------------------------------------------------- /packages/schemas/src/table/index.ts: -------------------------------------------------------------------------------- 1 | import Table from './table.vue' 2 | 3 | export * from './table-schema.ts' 4 | 5 | export const AlDataTable = Table 6 | -------------------------------------------------------------------------------- /packages/core/src/renderer/index.ts: -------------------------------------------------------------------------------- 1 | import Renderer from './src/index.vue' 2 | 3 | export * from './src/types' 4 | 5 | export const AlRenderer = Renderer 6 | -------------------------------------------------------------------------------- /packages/schemas/src/query-bar/index.ts: -------------------------------------------------------------------------------- 1 | import QueryBar from './query-bar.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlQueryBar = QueryBar 6 | -------------------------------------------------------------------------------- /packages/schemas/src/tabs/index.ts: -------------------------------------------------------------------------------- 1 | import TabsSchema from './tabs.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlTabsSchema = TabsSchema 6 | -------------------------------------------------------------------------------- /packages/schemas/src/tree/index.ts: -------------------------------------------------------------------------------- 1 | import TreePanel from './tree-panel.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlTreePanel = TreePanel 6 | -------------------------------------------------------------------------------- /packages/components/src/popover/index.ts: -------------------------------------------------------------------------------- 1 | export { ElPopover as AlPopover } from 'element-plus' 2 | export { ClickOutside as AlClickOutside } from 'element-plus' 3 | -------------------------------------------------------------------------------- /packages/designer/src/components/components-panel/index.ts: -------------------------------------------------------------------------------- 1 | import ComponentsPanel from './src/index.vue' 2 | 3 | export const AlComponentsPanel = ComponentsPanel 4 | -------------------------------------------------------------------------------- /packages/schemas/src/action-bar/index.ts: -------------------------------------------------------------------------------- 1 | import ActionBar from './action-bar.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlActionBar = ActionBar 6 | -------------------------------------------------------------------------------- /packages/schemas/src/radio/index.ts: -------------------------------------------------------------------------------- 1 | import RadioSchema from './radio.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlRadioSchema = RadioSchema 6 | -------------------------------------------------------------------------------- /packages/components/src/loading/index.ts: -------------------------------------------------------------------------------- 1 | export { ElLoading as AlLoading } from 'element-plus' 2 | export { ElLoadingService as AlLoadingService } from 'element-plus' 3 | -------------------------------------------------------------------------------- /packages/schemas/src/button/index.ts: -------------------------------------------------------------------------------- 1 | import ButtonSchema from './button.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlButtonSchema = ButtonSchema 6 | -------------------------------------------------------------------------------- /packages/schemas/src/icon-select/index.ts: -------------------------------------------------------------------------------- 1 | import IconSelect from './icon-select.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlIconSelect = IconSelect 6 | -------------------------------------------------------------------------------- /packages/schemas/src/select/index.ts: -------------------------------------------------------------------------------- 1 | import SelectSchema from './select.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlSelectSchema = SelectSchema 6 | -------------------------------------------------------------------------------- /packages/designer/src/components/attrs-panel/src/schema/form.ts: -------------------------------------------------------------------------------- 1 | import type { Schema } from '@zero-dim/core' 2 | 3 | export const FormAttrsSchema = >[ 4 | ] 5 | -------------------------------------------------------------------------------- /packages/designer/src/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './attrs-panel' 2 | export * from './components-panel' 3 | export * from './header' 4 | export * from './workspace' 5 | -------------------------------------------------------------------------------- /config/vite/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "dist" 5 | }, 6 | "include": ["src"] 7 | } 8 | -------------------------------------------------------------------------------- /packages/components/src/button/index.ts: -------------------------------------------------------------------------------- 1 | import Button from './button.vue' 2 | 3 | export { ElButtonGroup as AlButtonGroup } from 'element-plus' 4 | export const AlButton = Button 5 | -------------------------------------------------------------------------------- /packages/schemas/src/cascader/index.ts: -------------------------------------------------------------------------------- 1 | import CascaderSchema from './cascader.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlCascaderSchema = CascaderSchema 6 | -------------------------------------------------------------------------------- /packages/hooks/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "dist" 5 | }, 6 | "include": ["src"] 7 | } 8 | -------------------------------------------------------------------------------- /packages/request/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "dist" 5 | }, 6 | "include": ["src"] 7 | } 8 | -------------------------------------------------------------------------------- /packages/schemas/src/segmented/index.ts: -------------------------------------------------------------------------------- 1 | import SegmentedSchema from './segmented.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlSegmentedSchema = SegmentedSchema 6 | -------------------------------------------------------------------------------- /packages/styles/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "dist" 5 | }, 6 | "include": ["src"] 7 | } 8 | -------------------------------------------------------------------------------- /packages/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "dist" 5 | }, 6 | "include": ["src"] 7 | } 8 | -------------------------------------------------------------------------------- /packages/utils/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "dist" 5 | }, 6 | "include": ["src"] 7 | } 8 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # shellcheck source=./_/husky.sh 4 | . "$(dirname "$0")/_/husky.sh" 5 | 6 | npx --no-install commitlint --config .commitlintrc.js --color --edit $1 7 | -------------------------------------------------------------------------------- /packages/request/src/services/types.ts: -------------------------------------------------------------------------------- 1 | export interface CommonType { 2 | createBy: string 3 | createTime: string 4 | updateBy: string 5 | updateTime: string 6 | id: number 7 | } 8 | -------------------------------------------------------------------------------- /packages/schemas/src/tree-select/index.ts: -------------------------------------------------------------------------------- 1 | import TreeSelectSchema from './tree-select.vue' 2 | 3 | export * from './schema.ts' 4 | 5 | export const AlTreeSelectSchema = TreeSelectSchema 6 | -------------------------------------------------------------------------------- /app/admin/src/layout/common/footer/index.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | Copyright © 2024-2024 4 | ZeroDim NoCode 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/admin/src/views/system/model/index.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/components/src/common/enum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * 组件类型 3 | */ 4 | export enum ComponentType { 5 | ElementPlus = 'element-plus', 6 | ArcoDesign = 'arco-design', 7 | NaiveUi = 'naive-ui', 8 | } 9 | -------------------------------------------------------------------------------- /packages/types/shims/vue.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue' { 2 | import type { DefineComponent } from 'vue' 3 | 4 | const component: DefineComponent 5 | export default component 6 | } 7 | -------------------------------------------------------------------------------- /app/admin/.env.development: -------------------------------------------------------------------------------- 1 | # app 2 | APP_NAME = ZeroDim NoCode Admin 3 | APP_PORT = 9000 4 | APP_BASE_URL = http://localhost:${APP_PORT} 5 | APP_LOCALE = zh-CN 6 | 7 | APP_SERVER_URL = http://localhost:5173/api 8 | -------------------------------------------------------------------------------- /app/admin/.env.production: -------------------------------------------------------------------------------- 1 | # app 2 | APP_NAME = ZeroDim NoCode Admin 3 | APP_PORT = 9000 4 | APP_BASE_URL = http://localhost:${APP_PORT} 5 | APP_LOCALE = zh-CN 6 | 7 | APP_SERVER_URL = https://api.ailowcode.app/api 8 | -------------------------------------------------------------------------------- /app/admin/src/setup/storage.ts: -------------------------------------------------------------------------------- 1 | import { webStorage } from '@zero-dim/hooks' 2 | 3 | export function storage() { 4 | webStorage.setStorage('config', { 5 | SERVER_URL: import.meta.env.APP_SERVER_URL, 6 | }) 7 | } 8 | -------------------------------------------------------------------------------- /packages/components/src/radio/index.ts: -------------------------------------------------------------------------------- 1 | export { ElRadio as AlRadio } from 'element-plus' 2 | export { ElRadioGroup as AlRadioGroup } from 'element-plus' 3 | export { ElRadioButton as AlRadioButton } from 'element-plus' 4 | -------------------------------------------------------------------------------- /packages/designer/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-listener.ts' 2 | export * from './drag-box.ts' 3 | export * from './schema.ts' 4 | export * from './expose-api.ts' 5 | export * from './find-and-modify-by-id.ts' 6 | -------------------------------------------------------------------------------- /packages/designer/src/utils/schema.ts: -------------------------------------------------------------------------------- 1 | import { Schema } from '@zero-dim/core' 2 | 3 | export function getSchemaInstanceName(selectComponent: Schema) { 4 | return `${selectComponent?.name}_${selectComponent?.id}` 5 | } 6 | -------------------------------------------------------------------------------- /packages/hooks/src/webStorage/interface.ts: -------------------------------------------------------------------------------- 1 | interface globalConfig { 2 | type: 'localStorage' | 'sessionStorage' 3 | prefix: string 4 | expire: number 5 | isEncrypt: boolean 6 | } 7 | 8 | export type { globalConfig } 9 | -------------------------------------------------------------------------------- /packages/request/src/services/system/sysConfig/types.ts: -------------------------------------------------------------------------------- 1 | import { CommonType } from '../../types.ts' 2 | 3 | export interface SysConfigType extends CommonType { 4 | config: string 5 | type: number 6 | userId: string 7 | } 8 | -------------------------------------------------------------------------------- /packages/components/src/dropdown/index.ts: -------------------------------------------------------------------------------- 1 | export { ElDropdown as AlDropdown } from 'element-plus' 2 | export { ElDropdownMenu as AlDropdownMenu } from 'element-plus' 3 | export { ElDropdownItem as AlDropdownItem } from 'element-plus' 4 | -------------------------------------------------------------------------------- /packages/request/src/services/index.ts: -------------------------------------------------------------------------------- 1 | // 基础接口类 2 | export * from './base' 3 | 4 | // auth服务 5 | export * from './oauth2' 6 | 7 | // lowcode服务 8 | export * from './lowcode' 9 | 10 | // system服务 11 | export * from './system' 12 | -------------------------------------------------------------------------------- /app/admin/src/views/system/designer/index.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /config/tsconfig/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@al-config/tsconfig", 3 | "version": "1.0.0", 4 | "description": "tsconfig for ZeroDim NoCode", 5 | "files": [ 6 | "tsconfig.base.json", 7 | "tsconfig.server.json" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /packages/components/src/form/index.ts: -------------------------------------------------------------------------------- 1 | export { ElForm as AlForm } from 'element-plus' 2 | export { ElFormItem as AlFormItem } from 'element-plus' 3 | export { ElRow as AlRow } from 'element-plus' 4 | export { ElCol as AlCol } from 'element-plus' 5 | -------------------------------------------------------------------------------- /config/lint/lintstaged.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | '*.{js,jsx,ts,tsx}': ['pnpm lint:fix'], 3 | '*.vue': ['pnpm lint:fix', 'pnpm stylelint --fix --allow-empty-input'], 4 | '*.{scss,less,styl,html}': ['pnpm stylelint --fix --allow-empty-input'], 5 | } 6 | -------------------------------------------------------------------------------- /app/admin/src/store/index.ts: -------------------------------------------------------------------------------- 1 | import { createPinia } from 'pinia' 2 | import type { App } from 'vue' 3 | 4 | const store = createPinia() 5 | 6 | export function setupStore(app: App) { 7 | app.use(store) 8 | } 9 | 10 | export { store } 11 | -------------------------------------------------------------------------------- /config/vite/build.config.ts: -------------------------------------------------------------------------------- 1 | import { defineBuildConfig } from 'unbuild' 2 | 3 | export default defineBuildConfig({ 4 | clean: true, 5 | entries: ['src/index'], 6 | declaration: true, 7 | rollup: { 8 | emitCJS: true, 9 | }, 10 | }) 11 | -------------------------------------------------------------------------------- /packages/components/src/card/index.ts: -------------------------------------------------------------------------------- 1 | import { cardConfig } from '@/card/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlCard = componentFactory('AlCard', { 7 | componentConfig: cardConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/components/src/menu/index.ts: -------------------------------------------------------------------------------- 1 | export { ElSubMenu as AlSubMenu } from 'element-plus' 2 | export { ElMenu as AlMenu } from 'element-plus' 3 | export { ElMenuItem as AlMenuItem } from 'element-plus' 4 | export { ElMenuItemGroup as AlMenuItemGroup } from 'element-plus' 5 | -------------------------------------------------------------------------------- /packages/utils/__tests__/is.test.ts: -------------------------------------------------------------------------------- 1 | import { describe, expect, it } from 'vitest' 2 | 3 | import { isObject } from '../src' 4 | 5 | describe('is', () => { 6 | it('正常渲染', () => { 7 | const res = isObject('') 8 | expect(res).toBe(false) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /app/admin/src/router/routes.ts: -------------------------------------------------------------------------------- 1 | import type { RouteRecordRaw } from 'vue-router' 2 | 3 | import { LOGIN_ROUTE } from './modules/base' 4 | import { HOME_ROUTE } from './modules/home' 5 | 6 | // 路由信息 7 | export const routes: Readonly = [HOME_ROUTE, LOGIN_ROUTE] 8 | -------------------------------------------------------------------------------- /packages/components/src/badge/index.ts: -------------------------------------------------------------------------------- 1 | import { badgeConfig } from '@/badge/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlBadge = componentFactory('AlBadge', { 7 | componentConfig: badgeConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/components/src/avatar/index.ts: -------------------------------------------------------------------------------- 1 | import { avatarConfig } from '@/avatar/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlAvatar = componentFactory('AlAvatar', { 7 | componentConfig: avatarConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/components/src/drawer/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { drawerConfig } from '@/drawer/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlDrawer = componentFactory('AlDrawer', { 7 | componentConfig: drawerConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/designer/src/types/designer.ts: -------------------------------------------------------------------------------- 1 | import type { Schema } from '@zero-dim/core' 2 | import { Ref } from 'vue' 3 | 4 | export interface DesignerContext { 5 | selectComponent?: Ref 6 | changeComponentSelect?: (comp: Schema) => void 7 | workspaceRef?: Ref 8 | } 9 | -------------------------------------------------------------------------------- /packages/styles/src/index.ts: -------------------------------------------------------------------------------- 1 | export * as tailwindCssConfig from './tailwind.config.ts' 2 | export * as postCssConfig from './postcss.config.ts' 3 | export * as resetCss from './reset.scss' 4 | export * as elementPlusCss from './element-plus.scss' 5 | export * from './tailwind.css' 6 | -------------------------------------------------------------------------------- /packages/components/src/divider/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { dividerConfig } from '@/divider/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlDivider = componentFactory('AlDivider', { 7 | componentConfig: dividerConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/components/src/cascader/index.ts: -------------------------------------------------------------------------------- 1 | import { cascaderConfig } from '@/cascader/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlCascader = componentFactory('AlCascader', { 7 | componentConfig: cascaderConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/request/src/services/system/sysConfig/index.ts: -------------------------------------------------------------------------------- 1 | import { BaseApi } from '../../base.ts' 2 | 3 | /** 4 | * sysConfigApi请求 5 | */ 6 | class SysConfigApi extends BaseApi {} 7 | 8 | const sysConfigApi = new SysConfigApi('sys', 'sysConfig') 9 | 10 | export { sysConfigApi } 11 | -------------------------------------------------------------------------------- /packages/hooks/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { definePkgConfig } from '@al-config/vite' 2 | import { defineConfig } from 'vite' 3 | 4 | export default defineConfig(async () => { 5 | return definePkgConfig({ 6 | name: 'ZeroDimHooks', 7 | defaultFormats: ['es', 'cjs'], 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /packages/styles/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { definePkgConfig } from '@al-config/vite' 2 | import { defineConfig } from 'vite' 3 | 4 | export default defineConfig(async () => { 5 | return definePkgConfig({ 6 | name: 'ZeroDimStyles', 7 | defaultFormats: ['es', 'cjs'], 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /packages/request/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { definePkgConfig } from '@al-config/vite' 2 | import { defineConfig } from 'vite' 3 | 4 | export default defineConfig(async () => { 5 | return definePkgConfig({ 6 | name: 'ZeroDimRequest', 7 | defaultFormats: ['es', 'cjs'], 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /packages/components/src/date-picker/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { datePickerConfig } from '@/date-picker/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlDatePicker = componentFactory('AlDatePicker', { 7 | componentConfig: datePickerConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/request/src/services/lowcode/lowcodePage/index.ts: -------------------------------------------------------------------------------- 1 | import { BaseApi } from '../../base.ts' 2 | 3 | /** 4 | * lowcodePage请求 5 | */ 6 | class LowCodePageApi extends BaseApi {} 7 | 8 | const lowCodePageApi = new LowCodePageApi('lowcode', 'lowCodePage') 9 | 10 | export { lowCodePageApi } 11 | -------------------------------------------------------------------------------- /packages/components/src/color-picker/index.ts: -------------------------------------------------------------------------------- 1 | import { colorPickerConfig } from '@/color-picker/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlColorPicker = componentFactory('AlColorPicker', { 7 | componentConfig: colorPickerConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/designer/src/components/attrs-panel/src/types/index.ts: -------------------------------------------------------------------------------- 1 | export interface EventItem { 2 | key: string 3 | label?: string 4 | children?: Array 5 | } 6 | 7 | export interface EventGroup { 8 | label: string 9 | index: number 10 | key: string 11 | children: Array 12 | } 13 | -------------------------------------------------------------------------------- /packages/components/src/auto-complete/index.ts: -------------------------------------------------------------------------------- 1 | import { autoCompleteConfig } from '@/auto-complete/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlAutoComplete = componentFactory('AlAutoComplete', { 7 | componentConfig: autoCompleteConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/types/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { definePkgConfig } from '@al-config/vite' 2 | import { defineConfig } from 'vite' 3 | 4 | export default defineConfig(async () => { 5 | return definePkgConfig({ 6 | name: 'ZeroDimTypes', 7 | defaultFormats: ['es', 'cjs'], 8 | externalDeps: false, 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /packages/utils/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { definePkgConfig } from '@al-config/vite' 2 | import { defineConfig } from 'vite' 3 | 4 | export default defineConfig(async () => { 5 | return definePkgConfig({ 6 | name: 'ZeroDimUtils', 7 | defaultFormats: ['es', 'cjs'], 8 | externalDeps: false, 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /docs/.vitepress/components/HeroBefore.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HeroBefore 6 | 7 | 8 | 9 | 17 | -------------------------------------------------------------------------------- /packages/components/src/config-provider/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { configProviderConfig } from '@/config-provider/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlConfigProvider = componentFactory('AlConfigProvider', { 7 | componentConfig: configProviderConfig, 8 | }) 9 | -------------------------------------------------------------------------------- /packages/types/src/designer/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * 定义物料分组类型。 3 | * 4 | * @remarks 5 | * 菜单类型主要包括以下四种: 6 | * - `'basic'`:基础类型菜单,适用于通用功能 7 | * - `'display'`:显示类型菜单,主要用于数据展示 8 | * - `'form'`:表单类型菜单,用于表单操作 9 | * - `'business'`:业务类型菜单,适用于业务逻辑相关 10 | */ 11 | export type MaterType = 'basic' | 'display' | 'form' | 'business' 12 | -------------------------------------------------------------------------------- /packages/styles/src/postcss.config.ts: -------------------------------------------------------------------------------- 1 | /** @type {import('postcss-load-config').Config} */ 2 | export default { 3 | plugins: { 4 | 'postcss-import': {}, 5 | 'tailwindcss/nesting': {}, 6 | 'tailwindcss': {}, 7 | 'autoprefixer': {}, 8 | ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}), 9 | }, 10 | } 11 | -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "paths": { 6 | "@/*": [ 7 | "src/*" 8 | ] 9 | }, 10 | "types": ["@zero-dim/types/shims/vue.d.ts"], 11 | "outDir": "dist" 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/request/markdown/request.alhttp.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [AlHttp](./request.alhttp.md) 4 | 5 | ## AlHttp variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlHttp: AlAxios 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/atoms/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": "./src", 5 | "paths": { 6 | "@/*": [ 7 | "src/*" 8 | ] 9 | }, 10 | "types": ["@zero-dim/types/shims/vue.d.ts"], 11 | "outDir": "dist" 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/components/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "paths": { 6 | "@/*": [ 7 | "src/*" 8 | ] 9 | }, 10 | "types": ["@zero-dim/types/shims/vue.d.ts"], 11 | "outDir": "dist" 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/designer/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "paths": { 6 | "@/*": [ 7 | "src/*" 8 | ] 9 | }, 10 | "types": ["@zero-dim/types/shims/vue.d.ts"], 11 | "outDir": "dist" 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/graphic/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "paths": { 6 | "@/*": [ 7 | "src/*" 8 | ] 9 | }, 10 | "types": ["@zero-dim/types/shims/vue.d.ts"], 11 | "outDir": "dist" 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/schemas/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "paths": { 6 | "@/*": [ 7 | "src/*" 8 | ] 9 | }, 10 | "types": ["@zero-dim/types/shims/vue.d.ts"], 11 | "outDir": "dist" 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/request/src/services/lowcode/lowcodePageCategory/index.ts: -------------------------------------------------------------------------------- 1 | import { BaseApi } from '../../base.ts' 2 | 3 | /** 4 | * lowcodePageCategory请求 5 | */ 6 | class LowCodePageCategoryApi extends BaseApi {} 7 | 8 | const lowCodePageCategoryApi = new LowCodePageCategoryApi('lowcode', 'lowCodePageCategory') 9 | 10 | export { lowCodePageCategoryApi } 11 | -------------------------------------------------------------------------------- /packages/designer/src/components/workspace/index.ts: -------------------------------------------------------------------------------- 1 | import DragBox from './src/components/drag-box.vue' 2 | 3 | import VueDragAble from './src/components/vuedraggable.vue' 4 | import Workspace from './src/index.vue' 5 | 6 | export const AlDragBox = DragBox 7 | export const AlVueDragAble = VueDragAble 8 | 9 | export const AlWorkspace = Workspace as any 10 | -------------------------------------------------------------------------------- /packages/hooks/markdown/hooks.webstorage.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/hooks](./hooks.md) > [webStorage](./hooks.webstorage.md) 4 | 5 | ## webStorage variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | webStorage: WebStorage 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.oauth2api.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [oauth2Api](./request.oauth2api.md) 4 | 5 | ## oauth2Api variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | oauth2Api: Oauth2Api 11 | ``` 12 | -------------------------------------------------------------------------------- /app/admin/src/shims.vue.d.ts: -------------------------------------------------------------------------------- 1 | declare interface Window { 2 | jsonlint: any 3 | } 4 | 5 | declare interface Document { 6 | msExitFullscreen: any 7 | webkitExitFullscreen: any 8 | mozCancelFullScreen: any 9 | } 10 | 11 | declare interface Element { 12 | msRequestFullscreen: any 13 | webkitRequestFullscreen: any 14 | mozRequestFullScreen: any 15 | } 16 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.alworkspace.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlWorkspace](./designer.alworkspace.md) 4 | 5 | ## AlWorkspace variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlWorkspace: any 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/schemas/src/button/button.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | {{ content }} 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/core/markdown/core.alnode.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [AlNode](./core.alnode.md) 4 | 5 | ## AlNode variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlNode: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/src/utils/expose-api.ts: -------------------------------------------------------------------------------- 1 | export async function getExposeApi() { 2 | const componentAdapter = await import('@zero-dim/component-adapter') 3 | const vue = await import('vue') 4 | const { AlHttp } = await import('@zero-dim/request') 5 | return { 6 | componentAdapter, 7 | vue, 8 | api: { 9 | AlHttp, 10 | }, 11 | } as any 12 | } 13 | -------------------------------------------------------------------------------- /packages/designer/src/utils/expose-api.ts: -------------------------------------------------------------------------------- 1 | export async function getExposeApi() { 2 | const componentAdapter = await import('@zero-dim/component-adapter') 3 | const vue = await import('vue') 4 | const { AlHttp } = await import('@zero-dim/request') 5 | return { 6 | componentAdapter, 7 | vue, 8 | api: { 9 | AlHttp, 10 | }, 11 | } as any 12 | } 13 | -------------------------------------------------------------------------------- /packages/schemas/src/utils/expose-api.ts: -------------------------------------------------------------------------------- 1 | export async function getExposeApi() { 2 | const componentAdapter = await import('@zero-dim/component-adapter') 3 | const vue = await import('vue') 4 | const { AlHttp } = await import('@zero-dim/request') 5 | return { 6 | componentAdapter, 7 | vue, 8 | api: { 9 | AlHttp, 10 | }, 11 | } as any 12 | } 13 | -------------------------------------------------------------------------------- /packages/request/markdown/request.sysconfigapi.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [sysConfigApi](./request.sysconfigapi.md) 4 | 5 | ## sysConfigApi variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | sysConfigApi: SysConfigApi 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.id.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [id](./core.schema.id.md) 4 | 5 | ## Schema.id property 6 | 7 | 组件 id 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | id?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /app/admin/src/App.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menu.list.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [Menu](./designer.menu.md) > [list](./designer.menu.list.md) 4 | 5 | ## Menu.list property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | list: MenuItem[]; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menu.name.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [Menu](./designer.menu.md) > [name](./designer.menu.name.md) 4 | 5 | ## Menu.name property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | name: MaterType; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menu.title.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [Menu](./designer.menu.md) > [title](./designer.menu.title.md) 4 | 5 | ## Menu.title property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | title: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.lowcodepageapi.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [lowCodePageApi](./request.lowcodepageapi.md) 4 | 5 | ## lowCodePageApi variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | lowCodePageApi: LowCodePageApi 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.id.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [id](./request.menumeta.id.md) 4 | 5 | ## MenuMeta.id property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | id: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.alrenderer.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [AlRenderer](./core.alrenderer.md) 4 | 5 | ## AlRenderer variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlRenderer: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.name.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [name](./core.schema.name.md) 4 | 5 | ## Schema.name property 6 | 7 | 组件名称标识 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | name?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.type.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [type](./core.schema.type.md) 4 | 5 | ## Schema.type property 6 | 7 | 组件渲染类型 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | type?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.field.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [field](./core.schema.field.md) 4 | 5 | ## Schema.field property 6 | 7 | 字段绑定的值 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | field?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.label.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [label](./core.schema.label.md) 4 | 5 | ## Schema.label property 6 | 7 | 组件展示名称 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | label?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.design_instance.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [DESIGN\_INSTANCE](./designer.design_instance.md) 4 | 5 | ## DESIGN\_INSTANCE variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | DESIGN_INSTANCE = "designer" 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/atoms/markdown/atoms.alarrayatom.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/atoms](./atoms.md) > [AlArrayAtom](./atoms.alarrayatom.md) 4 | 5 | ## AlArrayAtom variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlArrayAtom: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.hidden.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [hidden](./core.schema.hidden.md) 4 | 5 | ## Schema.hidden property 6 | 7 | 是否隐藏组件 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | hidden?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.alheader.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlHeader](./designer.alheader.md) 4 | 5 | ## AlHeader variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlHeader: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menuitem.icon.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [MenuItem](./designer.menuitem.md) > [icon](./designer.menuitem.icon.md) 4 | 5 | ## MenuItem.icon property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | icon: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menuitem.name.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [MenuItem](./designer.menuitem.md) > [name](./designer.menuitem.name.md) 4 | 5 | ## MenuItem.name property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | name: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menuitem.only.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [MenuItem](./designer.menuitem.md) > [only](./designer.menuitem.only.md) 4 | 5 | ## MenuItem.only property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | only: any; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/hooks/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "declaration": true, 12 | "emitDeclarationOnly": true, 13 | "outDir": "temp", 14 | "stripInternal": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/request/markdown/request.baseapi.module.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [BaseApi](./request.baseapi.md) > [module](./request.baseapi.module.md) 4 | 5 | ## BaseApi.module property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | module: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "declaration": true, 12 | "emitDeclarationOnly": true, 13 | "outDir": "temp", 14 | "stripInternal": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/styles/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "declaration": true, 12 | "emitDeclarationOnly": true, 13 | "outDir": "temp", 14 | "stripInternal": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/types/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "declaration": true, 12 | "emitDeclarationOnly": true, 13 | "outDir": "temp", 14 | "stripInternal": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/utils/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "declaration": true, 12 | "emitDeclarationOnly": true, 13 | "outDir": "temp", 14 | "stripInternal": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/atoms/markdown/atoms.alobjectatom.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/atoms](./atoms.md) > [AlObjectAtom](./atoms.alobjectatom.md) 4 | 5 | ## AlObjectAtom variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlObjectAtom: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.binds.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [binds](./core.schema.binds.md) 4 | 5 | ## Schema.binds property 6 | 7 | 组件绑定参数 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | binds?: Record; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.content.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [content](./core.schema.content.md) 4 | 5 | ## Schema.content property 6 | 7 | 组件文本内容 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | content?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.aldragbox.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlDragBox](./designer.aldragbox.md) 4 | 5 | ## AlDragBox variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlDragBox: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menuitem.label.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [MenuItem](./designer.menuitem.md) > [label](./designer.menuitem.label.md) 4 | 5 | ## MenuItem.label property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | label: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.baseapi.service.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [BaseApi](./request.baseapi.md) > [service](./request.baseapi.service.md) 4 | 5 | ## BaseApi.service property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | service: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.remark.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [remark](./request.menumeta.remark.md) 4 | 5 | ## MenuMeta.remark property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | remark: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.id.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [id](./request.menutype.id.md) 4 | 5 | ## MenuType.id property 6 | 7 | 菜单id 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | id: number; 13 | ``` 14 | -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", 3 | "changelog": [ 4 | "@changesets/changelog-github", 5 | { "repo": "tardis-ksh/demo-turborepo" } 6 | ], 7 | "commit": false, 8 | "fixed": [], 9 | "linked": [], 10 | "access": "public", 11 | "baseBranch": "master", 12 | "updateInternalDependencies": "patch", 13 | "ignore": [] 14 | } 15 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.events.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [events](./core.schema.events.md) 4 | 5 | ## Schema.events property 6 | 7 | 组件事件 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | events?: Record; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.props.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [props](./core.schema.props.md) 4 | 5 | ## Schema.props property 6 | 7 | 组件 props 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | props?: Record; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.slotname.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [slotName](./core.schema.slotname.md) 4 | 5 | ## Schema.slotName property 6 | 7 | 组件所属插槽名称 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | slotName?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.aldesigner.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlDesigner](./designer.aldesigner.md) 4 | 5 | ## AlDesigner variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlDesigner: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /app/admin/src/views/system/redirect/index.vue: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.comptype.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [compType](./request.menumeta.comptype.md) 4 | 5 | ## MenuMeta.compType property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | compType: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.menucode.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [menuCode](./request.menumeta.menucode.md) 4 | 5 | ## MenuMeta.menuCode property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menuCode: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.menuicon.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [menuIcon](./request.menumeta.menuicon.md) 4 | 5 | ## MenuMeta.menuIcon property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menuIcon: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.menuname.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [menuName](./request.menumeta.menuname.md) 4 | 5 | ## MenuMeta.menuName property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menuName: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.menusort.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [menuSort](./request.menumeta.menusort.md) 4 | 5 | ## MenuMeta.menuSort property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menuSort: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.menutype.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [menuType](./request.menumeta.menutype.md) 4 | 5 | ## MenuMeta.menuType property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menuType: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.parentid.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [parentId](./request.menumeta.parentid.md) 4 | 5 | ## MenuMeta.parentId property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | parentId: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.meta.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [meta](./request.menutype.meta.md) 4 | 5 | ## MenuType.meta property 6 | 7 | 菜单信息 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | meta: MenuMeta; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.path.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [path](./request.menutype.path.md) 4 | 5 | ## MenuType.path property 6 | 7 | 菜单路径 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | path: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /app/admin/src/router/modules/base.ts: -------------------------------------------------------------------------------- 1 | import type { RouteRecordRaw } from 'vue-router' 2 | 3 | import { RouteNameEnum } from '@/router/types' 4 | import LoginPage from '@/views/system/login/index.vue' 5 | 6 | /** 7 | * 登录路由 8 | */ 9 | export const LOGIN_ROUTE: RouteRecordRaw = { 10 | path: '/login', 11 | name: RouteNameEnum.LOGIN, 12 | component: LoginPage, 13 | meta: { 14 | title: '登录', 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /packages/components/src/dialog/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { dialogConfig, messageBoxConfig } from '@/dialog/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlDialog = componentFactory('AlDialog', { 7 | componentConfig: dialogConfig, 8 | }) 9 | 10 | export const AlMessageBox = componentFactory('AlMessageBox', { 11 | componentConfig: messageBoxConfig, 12 | }) 13 | -------------------------------------------------------------------------------- /packages/core/markdown/core.formdatatype.value.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [FormDataType](./core.formdatatype.md) > [value](./core.formdatatype.value.md) 4 | 5 | ## FormDataType.value property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | value?: Ref>; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.cssstring.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [cssString](./core.schema.cssstring.md) 4 | 5 | ## Schema.cssString property 6 | 7 | 组件 css 字符串 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | cssString?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.slothidden.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [slotHidden](./core.schema.slothidden.md) 4 | 5 | ## Schema.slotHidden property 6 | 7 | 隐藏插槽 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | slotHidden?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.alattrspanel.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlAttrsPanel](./designer.alattrspanel.md) 4 | 5 | ## AlAttrsPanel variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlAttrsPanel: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.menulist.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [MenuList](./designer.menulist.md) 4 | 5 | ## MenuList type 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | export type MenuList = Menu[]; 11 | ``` 12 | **References:** [Menu](./designer.menu.md) 13 | 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.isvisible.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [isVisible](./request.menumeta.isvisible.md) 4 | 5 | ## MenuMeta.isVisible property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | isVisible: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.localfile.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [localFile](./request.menumeta.localfile.md) 4 | 5 | ## MenuMeta.localFile property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | localFile: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.menulevel.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [menuLevel](./request.menumeta.menulevel.md) 4 | 5 | ## MenuMeta.menuLevel property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menuLevel: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.routepath.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [routePath](./request.menumeta.routepath.md) 4 | 5 | ## MenuMeta.routePath property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | routePath: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /app/admin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | <%- APP_NAME %> 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/atoms/markdown/atoms.alcodeeditoratom.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/atoms](./atoms.md) > [AlCodeEditorAtom](./atoms.alcodeeditoratom.md) 4 | 5 | ## AlCodeEditorAtom variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlCodeEditorAtom: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/atoms/markdown/atoms.aldatasourceatom.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/atoms](./atoms.md) > [AlDataSourceAtom](./atoms.aldatasourceatom.md) 4 | 5 | ## AlDataSourceAtom variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlDataSourceAtom: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.defaultvalue.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [defaultValue](./core.schema.defaultvalue.md) 4 | 5 | ## Schema.defaultValue property 6 | 7 | 输入默认值 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | defaultValue?: any; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.lifecycle.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [lifeCycle](./core.schema.lifecycle.md) 4 | 5 | ## Schema.lifeCycle property 6 | 7 | 组件生命周期 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | lifeCycle?: Record; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.modelfield.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [modelField](./core.schema.modelfield.md) 4 | 5 | ## Schema.modelField property 6 | 7 | v-model 绑定的字段 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | modelField?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.alvuedragable.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlVueDragAble](./designer.alvuedragable.md) 4 | 5 | ## AlVueDragAble variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlVueDragAble: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/graphic/markdown/graphic.almodelgraphic.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/graphic](./graphic.md) > [AlModelGraphic](./graphic.almodelgraphic.md) 4 | 5 | ## AlModelGraphic variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlModelGraphic: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.mode.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [mode](./request.loginparamtype.mode.md) 4 | 5 | ## LoginParamType.mode property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | mode: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.activemenu.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [activeMenu](./request.menumeta.activemenu.md) 4 | 5 | ## MenuMeta.activeMenu property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | activeMenu: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.isexternal.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [isExternal](./request.menumeta.isexternal.md) 4 | 5 | ## MenuMeta.isExternal property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | isExternal: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.name.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [name](./request.menutype.name.md) 4 | 5 | ## MenuType.name property 6 | 7 | 菜单名称 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | name: string | number; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/components/src/common/index.ts: -------------------------------------------------------------------------------- 1 | import zhCn from 'element-plus/es/locale/lang/zh-cn' 2 | 3 | export { useFormSize } from 'element-plus' 4 | export { componentSizeMap } from 'element-plus' 5 | export { withInstall } from 'element-plus/es/utils/vue/install' 6 | export { withNoopInstall } from 'element-plus/es/utils/vue/install' 7 | export { zhCn } 8 | 9 | export * from './componentFactory.ts' 10 | export * from './enum.ts' 11 | -------------------------------------------------------------------------------- /packages/core/markdown/core.schema.children.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [Schema](./core.schema.md) > [children](./core.schema.children.md) 4 | 5 | ## Schema.children property 6 | 7 | 子组件 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | children?: Array; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.commonresulttype.data.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [CommonResultType](./request.commonresulttype.md) > [data](./request.commonresulttype.data.md) 4 | 5 | ## CommonResultType.data property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | data: T; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.commonresulttype.msg.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [CommonResultType](./request.commonresulttype.md) > [msg](./request.commonresulttype.msg.md) 4 | 5 | ## CommonResultType.msg property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | msg: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.externalurl.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [externalUrl](./request.menumeta.externalurl.md) 4 | 5 | ## MenuMeta.externalUrl property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | externalUrl: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.iskeepalive.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [isKeepalive](./request.menumeta.iskeepalive.md) 4 | 5 | ## MenuMeta.isKeepalive property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | isKeepalive: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.lowcodepage.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [lowcodePage](./request.menumeta.lowcodepage.md) 4 | 5 | ## MenuMeta.lowcodePage property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | lowcodePage: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.permissions.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [permissions](./request.menumeta.permissions.md) 4 | 5 | ## MenuMeta.permissions property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | permissions: any; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.pageresulttype.total.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [PageResultType](./request.pageresulttype.md) > [total](./request.pageresulttype.total.md) 4 | 5 | ## PageResultType.total property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | total: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/atoms/markdown/atoms.alvariablebindatom.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/atoms](./atoms.md) > [AlVariableBindAtom](./atoms.alvariablebindatom.md) 4 | 5 | ## AlVariableBindAtom variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlVariableBindAtom: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.albutton.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlButton](./component-adapter.albutton.md) 4 | 5 | ## AlButton variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlButton: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.lowcodepagecategoryapi.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [lowCodePageCategoryApi](./request.lowcodepagecategoryapi.md) 4 | 5 | ## lowCodePageCategoryApi variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | lowCodePageCategoryApi: LowCodePageCategoryApi 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.systemmodule.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [systemModule](./request.menumeta.systemmodule.md) 4 | 5 | ## MenuMeta.systemModule property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | systemModule: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.menucode.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [menuCode](./request.menutype.menucode.md) 4 | 5 | ## MenuType.menuCode property 6 | 7 | 菜单代码 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | menuCode: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.menuname.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [menuName](./request.menutype.menuname.md) 4 | 5 | ## MenuType.menuName property 6 | 7 | 菜单名称 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | menuName: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.redirect.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [redirect](./request.menutype.redirect.md) 4 | 5 | ## MenuType.redirect property 6 | 7 | 菜单重定向地址 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | redirect: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/components/src/collapse/index.ts: -------------------------------------------------------------------------------- 1 | import { collapseConfig, collapseItemConfig } from '@/collapse/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlCollapse = componentFactory('AlCollapse', { 7 | componentConfig: collapseConfig, 8 | }) 9 | 10 | export const AlCollapseItem = componentFactory('AlCollapseItem', { 11 | componentConfig: collapseItemConfig, 12 | }) 13 | -------------------------------------------------------------------------------- /packages/request/markdown/request.pageresulttype.content.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [PageResultType](./request.pageresulttype.md) > [content](./request.pageresulttype.content.md) 4 | 5 | ## PageResultType.content property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | content: T[]; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/components/src/checkbox/index.ts: -------------------------------------------------------------------------------- 1 | import { checkboxConfig, checkboxGroupConfig } from '@/checkbox/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlCheckbox = componentFactory('AlCheckbox', { 7 | componentConfig: checkboxConfig, 8 | }) 9 | 10 | export const AlCheckboxGroup = componentFactory('AlCheckboxGroup', { 11 | componentConfig: checkboxGroupConfig, 12 | }) 13 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.alcomponentspanel.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [AlComponentsPanel](./designer.alcomponentspanel.md) 4 | 5 | ## AlComponentsPanel variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlComponentsPanel: import("vue").DefineComponent 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.commonresulttype.code.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [CommonResultType](./request.commonresulttype.md) > [code](./request.commonresulttype.code.md) 4 | 5 | ## CommonResultType.code property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | code: ResponseCodeEnum; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.password.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [password](./request.loginparamtype.password.md) 4 | 5 | ## LoginParamType.password property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | password: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.username.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [username](./request.loginparamtype.username.md) 4 | 5 | ## LoginParamType.username property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | username: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menumeta.children.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuMeta](./request.menumeta.md) > [children](./request.menumeta.children.md) 4 | 5 | ## MenuMeta.children property 6 | 7 | 子菜单 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | children?: Array; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.children.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [children](./request.menutype.children.md) 4 | 5 | ## MenuType.children property 6 | 7 | 子菜单 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | children?: Array; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.menutype.component.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [MenuType](./request.menutype.md) > [component](./request.menutype.component.md) 4 | 5 | ## MenuType.component property 6 | 7 | 菜单组件 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | component: string | any; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.globalinstancetype.value.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [GlobalInstanceType](./core.globalinstancetype.md) > [value](./core.globalinstancetype.value.md) 4 | 5 | ## GlobalInstanceType.value property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | value?: Ref>; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "types": ["@zero-dim/types/shims/vue.d.ts"], 12 | "declaration": true, 13 | "emitDeclarationOnly": true, 14 | "outDir": "temp", 15 | "stripInternal": true 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/designer/src/enums/index.ts: -------------------------------------------------------------------------------- 1 | export const DESIGN_INSTANCE = 'designer' 2 | 3 | // 设备枚举 4 | export enum DeviceEnum { 5 | PC = 'pc', 6 | PAD = 'pad', 7 | MOBILE = 'mobile', 8 | } 9 | 10 | // 组件菜单枚举 11 | export enum ComponentMenu { 12 | COMPONENT = 'component', 13 | OUTLINE = 'outline', 14 | CODE = 'code', 15 | AICHAT = 'aiChat', 16 | RESOURCE_LIBRARY = 'resourceLibrary', 17 | API = 'api', 18 | VARIABLE = 'variable', 19 | } 20 | -------------------------------------------------------------------------------- /packages/atoms/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": "./src", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "types": ["@zero-dim/types/shims/vue.d.ts"], 12 | "declaration": true, 13 | "emitDeclarationOnly": true, 14 | "outDir": "temp", 15 | "stripInternal": true 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/components/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "types": ["@zero-dim/types/shims/vue.d.ts"], 12 | "declaration": true, 13 | "emitDeclarationOnly": true, 14 | "outDir": "temp", 15 | "stripInternal": true 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/designer/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "types": ["@zero-dim/types/shims/vue.d.ts"], 12 | "declaration": true, 13 | "emitDeclarationOnly": true, 14 | "outDir": "temp", 15 | "stripInternal": true 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/graphic/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "types": ["@zero-dim/types/shims/vue.d.ts"], 12 | "declaration": true, 13 | "emitDeclarationOnly": true, 14 | "outDir": "temp", 15 | "stripInternal": true 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.captchakey.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [captchaKey](./request.loginparamtype.captchakey.md) 4 | 5 | ## LoginParamType.captchaKey property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | captchaKey: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.client_id.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [client\_id](./request.loginparamtype.client_id.md) 4 | 5 | ## LoginParamType.client\_id property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | client_id: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.rememberme.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [rememberMe](./request.loginparamtype.rememberme.md) 4 | 5 | ## LoginParamType.rememberMe property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | rememberMe: boolean; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/schemas/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@al-config/tsconfig/tsconfig.base.json", 3 | "compilerOptions": { 4 | "baseUrl": ".", 5 | "rootDir": ".", 6 | "paths": { 7 | "@/*": [ 8 | "src/*" 9 | ] 10 | }, 11 | "types": ["@zero-dim/types/shims/vue.d.ts"], 12 | "declaration": true, 13 | "emitDeclarationOnly": true, 14 | "outDir": "temp", 15 | "stripInternal": true 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/components/src/breadcrumb/index.ts: -------------------------------------------------------------------------------- 1 | import { breadcrumbConfig, breadcrumbItemConfig } from '@/breadcrumb/config.ts' 2 | import { componentFactory } from '@/common' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlBreadcrumb = componentFactory('AlBreadcrumb', { 7 | componentConfig: breadcrumbConfig, 8 | }) 9 | 10 | export const AlBreadcrumbItem = componentFactory('AlBreadcrumbItem', { 11 | componentConfig: breadcrumbItemConfig, 12 | }) 13 | -------------------------------------------------------------------------------- /packages/request/markdown/request.alaxios.loading.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [AlAxios](./request.alaxios.md) > [loading](./request.alaxios.loading.md) 4 | 5 | ## AlAxios.loading property 6 | 7 | 加载动画实例 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | loading: ReturnType | null; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.authtype.access_token.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [AuthType](./request.authtype.md) > [access\_token](./request.authtype.access_token.md) 4 | 5 | ## AuthType.access\_token property 6 | 7 | 访问token 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | access_token: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.grant_type.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [grant\_type](./request.loginparamtype.grant_type.md) 4 | 5 | ## LoginParamType.grant\_type property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | grant_type: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.activecomponentmenu.menu.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [ActiveComponentMenu](./designer.activecomponentmenu.md) > [menu](./designer.activecomponentmenu.menu.md) 4 | 5 | ## ActiveComponentMenu.menu property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | menu: ComponentMenu; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.getexposeapi.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [getExposeApi](./designer.getexposeapi.md) 4 | 5 | ## getExposeApi() function 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | export declare function getExposeApi(): Promise; 11 | ``` 12 | **Returns:** 13 | 14 | Promise<any> 15 | 16 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.captchavalue.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [captchaValue](./request.loginparamtype.captchavalue.md) 4 | 5 | ## LoginParamType.captchaValue property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | captchaValue: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.activecomponentmenu.expand.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [ActiveComponentMenu](./designer.activecomponentmenu.md) > [expand](./designer.activecomponentmenu.expand.md) 4 | 5 | ## ActiveComponentMenu.expand property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | expand: boolean; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.redirect_uri.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [redirect\_uri](./request.loginparamtype.redirect_uri.md) 4 | 5 | ## LoginParamType.redirect\_uri property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | redirect_uri: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.pageresulttype.totalelements.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [PageResultType](./request.pageresulttype.md) > [totalElements](./request.pageresulttype.totalelements.md) 4 | 5 | ## PageResultType.totalElements property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | totalElements: number; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/core.formdatatype.getvaluefrompath.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [FormDataType](./core.formdatatype.md) > [getValueFromPath](./core.formdatatype.getvaluefrompath.md) 4 | 5 | ## FormDataType.getValueFromPath property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | getValueFromPath: (path?: string) => void; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.loginparamtype.client_secret.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [LoginParamType](./request.loginparamtype.md) > [client\_secret](./request.loginparamtype.client_secret.md) 4 | 5 | ## LoginParamType.client\_secret property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | client_secret: string; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/schemas/src/tabs/tabs.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /packages/components/src/descriptions/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { descriptionsConfig, descriptionsItemConfig } from '@/descriptions/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlDescriptions = componentFactory('AlDescriptions', { 7 | componentConfig: descriptionsConfig, 8 | }) 9 | 10 | export const AlDescriptionsItem = componentFactory('AlDescriptionsItem', { 11 | componentConfig: descriptionsItemConfig, 12 | }) 13 | -------------------------------------------------------------------------------- /packages/core/markdown/core.formdatatype.setvalueatpath.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [FormDataType](./core.formdatatype.md) > [setValueAtPath](./core.formdatatype.setvalueatpath.md) 4 | 5 | ## FormDataType.setValueAtPath property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | setValueAtPath: (path?: string, newValue?: any) => void; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.designercontext.workspaceref.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [DesignerContext](./designer.designercontext.md) > [workspaceRef](./designer.designercontext.workspaceref.md) 4 | 5 | ## DesignerContext.workspaceRef property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | workspaceRef?: Ref; 11 | ``` 12 | -------------------------------------------------------------------------------- /app/admin/src/layout/common/logo/index.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.componentschemalist.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [componentSchemaList](./schemas-component-adapter.componentschemalist.md) 4 | 5 | ## componentSchemaList variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | componentSchemaList: Array 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/utils/markdown/utils.nprogress.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/utils](./utils.md) > [nProgress](./utils.nprogress.md) 4 | 5 | ## nProgress variable 6 | 7 | 导出配置好的进度条实例 提供以下主要方法: - start(): 开始进度 - done(): 结束进度 - set(n): 设置指定进度,n介于0-1 - inc(): 稍微增加一点进度 - remove(): 移除进度条 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | nProgress: NProgress.NProgress 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/atoms/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/atoms](./atoms.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/core/markdown/core.globalinstancetype.setinstance.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [GlobalInstanceType](./core.globalinstancetype.md) > [setInstance](./core.globalinstancetype.setinstance.md) 4 | 5 | ## GlobalInstanceType.setInstance property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | setInstance: (key: string, value: any) => void; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/core/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/core](./core.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/hooks/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/hooks](./hooks.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/hooks/src/hotKeys/index.ts: -------------------------------------------------------------------------------- 1 | import type { KeyHandler } from 'hotkeys-js' 2 | import hotkeys from 'hotkeys-js' 3 | import { onMounted, onUnmounted } from 'vue' 4 | 5 | /** 6 | * 绑定热键 7 | * @param keys 8 | * @param callback 9 | */ 10 | function useHotKey(keys: string, callback: KeyHandler) { 11 | onMounted(() => { 12 | hotkeys(keys, callback) 13 | }) 14 | onUnmounted(() => { 15 | hotkeys.unbind(keys, callback) 16 | }) 17 | } 18 | 19 | export default useHotKey 20 | -------------------------------------------------------------------------------- /packages/types/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/types](./types.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/graphic/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/graphic](./graphic.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.withtoken.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [withToken](./request.requestoptionstype.withtoken.md) 4 | 5 | ## RequestOptionsType.withToken property 6 | 7 | 是否携带token 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | withToken?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.designercontext.selectcomponent.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [DesignerContext](./designer.designercontext.md) > [selectComponent](./designer.designercontext.selectcomponent.md) 4 | 5 | ## DesignerContext.selectComponent property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | selectComponent?: Ref; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/designer](./designer.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.headers.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [headers](./request.requestoptionstype.headers.md) 4 | 5 | ## RequestOptionsType.headers property 6 | 7 | 请求头 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | headers?: Partial; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/core/markdown/core.formdatatype.generateobjectfrompath.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [FormDataType](./core.formdatatype.md) > [generateObjectFromPath](./core.formdatatype.generateobjectfrompath.md) 4 | 5 | ## FormDataType.generateObjectFromPath property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | generateObjectFromPath: (path?: string) => void; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestconfigtype.requestoptions.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestConfigType](./request.requestconfigtype.md) > [requestOptions](./request.requestconfigtype.requestoptions.md) 4 | 5 | ## RequestConfigType.requestOptions property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | requestOptions?: RequestOptionsType; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/hooks/markdown/hooks.localforage.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/hooks](./hooks.md) > [localForage](./hooks.localforage.md) 4 | 5 | ## localForage() function 6 | 7 | 二次封装 \[localforage\](https://localforage.docschina.org/) 支持设置过期时间,提供完整的类型提示 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | localForage: () => StorageProxy 13 | ``` 14 | **Returns:** 15 | 16 | StorageProxy 17 | 18 | -------------------------------------------------------------------------------- /packages/core/markdown/core.globalinstancetype.getinstancefromkey.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/core](./core.md) > [GlobalInstanceType](./core.globalinstancetype.md) > [getInstanceFromKey](./core.globalinstancetype.getinstancefromkey.md) 4 | 5 | ## GlobalInstanceType.getInstanceFromKey property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | getInstanceFromKey: (key: string) => void; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.icon.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [icon](./schemas-component-adapter.compschema.icon.md) 4 | 5 | ## CompSchema.icon property 6 | 7 | 组件图标 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | icon?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /config/tsconfig/tsconfig.server.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/tsconfig", 3 | "display": "Server", 4 | "extends": "./tsconfig.base.json", 5 | "compilerOptions": { 6 | "target": "esnext", 7 | "lib": ["ESNext", "DOM"], 8 | "emitDecoratorMetadata": true, 9 | "experimentalDecorators": true, 10 | "module": "commonjs", 11 | "typeRoots": ["node_modules/@types/", "types"], 12 | "types": ["node"], 13 | "declaration": true, 14 | "sourceMap": false 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/components/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/component-adapter](./component-adapter.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/request/markdown/request.alaxios.getaxios.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [AlAxios](./request.alaxios.md) > [getAxios](./request.alaxios.getaxios.md) 4 | 5 | ## AlAxios.getAxios() method 6 | 7 | 获取 Axios 实例 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | getAxios(): AxiosInstance; 13 | ``` 14 | **Returns:** 15 | 16 | AxiosInstance 17 | 18 | Axios 实例 19 | 20 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.isshowloading.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [isShowLoading](./request.requestoptionstype.isshowloading.md) 4 | 5 | ## RequestOptionsType.isShowLoading property 6 | 7 | 是否展示loading 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | isShowLoading?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.label.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [label](./schemas-component-adapter.compschema.label.md) 4 | 5 | ## CompSchema.label property 6 | 7 | 组件名称 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | label?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.menu.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [menu](./schemas-component-adapter.compschema.menu.md) 4 | 5 | ## CompSchema.menu property 6 | 7 | 组件分类 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | menu?: MaterType; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.name.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [name](./schemas-component-adapter.compschema.name.md) 4 | 5 | ## CompSchema.name property 6 | 7 | 组件 id 不能重复 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | name: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/request](./request.md) 23 | 24 | 25 | 26 | 27 | request请求基础包 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /packages/request/markdown/request.createaxiosoptionstype.requestoptions.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [CreateAxiosOptionsType](./request.createaxiosoptionstype.md) > [requestOptions](./request.createaxiosoptionstype.requestoptions.md) 4 | 5 | ## CreateAxiosOptionsType.requestOptions property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | requestOptions: RequestOptionsType; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.errormessagetext.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [errorMessageText](./request.requestoptionstype.errormessagetext.md) 4 | 5 | ## RequestOptionsType.errorMessageText property 6 | 7 | 错误的文本信息 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | errorMessageText?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.schema.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [schema](./schemas-component-adapter.compschema.schema.md) 4 | 5 | ## CompSchema.schema property 6 | 7 | 组件生产规则 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | schema: () => Schema; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.slots.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [slots](./schemas-component-adapter.compschema.slots.md) 4 | 5 | ## CompSchema.slots property 6 | 7 | 组件插槽 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | slots?: () => Array; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.joinparamstourl.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [joinParamsToUrl](./request.requestoptionstype.joinparamstourl.md) 4 | 5 | ## RequestOptionsType.joinParamsToUrl property 6 | 7 | 请求参数拼接到url Params形式 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | joinParamsToUrl?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.events.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [events](./schemas-component-adapter.compschema.events.md) 4 | 5 | ## CompSchema.events property 6 | 7 | 组件绑定事件 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | events?: () => Array; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/atoms/src/index.ts: -------------------------------------------------------------------------------- 1 | import ArrayAtom from './array/index.vue' 2 | import CodeEditorAtom from './code-editor/index.vue' 3 | import DataSourceAtom from './data-source/index.vue' 4 | import ObjectAtom from './object/index.vue' 5 | import VariableBindAtom from './variable-bind/index.vue' 6 | 7 | export const AlArrayAtom = ArrayAtom 8 | export const AlObjectAtom = ObjectAtom 9 | export const AlDataSourceAtom = DataSourceAtom 10 | export const AlCodeEditorAtom = CodeEditorAtom 11 | export const AlVariableBindAtom = VariableBindAtom 12 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.designercontext.changecomponentselect.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [DesignerContext](./designer.designercontext.md) > [changeComponentSelect](./designer.designercontext.changecomponentselect.md) 4 | 5 | ## DesignerContext.changeComponentSelect property 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | changeComponentSelect?: (comp: Schema) => void; 11 | ``` 12 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.isshowerrormessage.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [isShowErrorMessage](./request.requestoptionstype.isshowerrormessage.md) 4 | 5 | ## RequestOptionsType.isShowErrorMessage property 6 | 7 | 是否显示失败信息 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | isShowErrorMessage?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.loadingmessagetext.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [loadingMessageText](./request.requestoptionstype.loadingmessagetext.md) 4 | 5 | ## RequestOptionsType.loadingMessageText property 6 | 7 | loading文本信息 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | loadingMessageText?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.successmessagetext.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [successMessageText](./request.requestoptionstype.successmessagetext.md) 4 | 5 | ## RequestOptionsType.successMessageText property 6 | 7 | 成功的文本信息 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | successMessageText?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/utils/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) 4 | 5 | ## API Reference 6 | 7 | ## Packages 8 | 9 | 10 | 11 | Package 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [@zero-dim/utils](./utils.md) 23 | 24 | 25 | 26 | 27 | @zero-dim/utils - 前端通用工具函数库 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /.changeset/README.md: -------------------------------------------------------------------------------- 1 | # Changesets 2 | 3 | Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works 4 | with multi-package repos, or single-package repos to help you version and publish your code. You can 5 | find the full documentation for it [in our repository](https://github.com/changesets/changesets) 6 | 7 | We have a quick list of common questions to get you started engaging with this project in 8 | [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) 9 | -------------------------------------------------------------------------------- /packages/request/markdown/request.requestoptionstype.isshowsuccessmessage.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [RequestOptionsType](./request.requestoptionstype.md) > [isShowSuccessMessage](./request.requestoptionstype.isshowsuccessmessage.md) 4 | 5 | ## RequestOptionsType.isShowSuccessMessage property 6 | 7 | 是否显示成功信息 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | isShowSuccessMessage?: boolean; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.children.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [children](./schemas-component-adapter.compschema.children.md) 4 | 5 | ## CompSchema.children property 6 | 7 | 是否配有子组件,例如 row,col 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | children?: string; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/graphic/markdown/graphic.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/graphic](./graphic.md) 4 | 5 | ## graphic package 6 | 7 | ## Variables 8 | 9 | 10 | 11 | Variable 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [AlModelGraphic](./graphic.almodelgraphic.md) 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/schemas/markdown/schemas-component-adapter.compschema.props.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/schemas-component-adapter](./schemas-component-adapter.md) > [CompSchema](./schemas-component-adapter.compschema.md) > [props](./schemas-component-adapter.compschema.props.md) 4 | 5 | ## CompSchema.props property 6 | 7 | 组件属性配置规则 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | props: (changePropsData?: Function) => Schema[]; 13 | ``` 14 | -------------------------------------------------------------------------------- /packages/types/markdown/types.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/types](./types.md) 4 | 5 | ## types package 6 | 7 | ## Type Aliases 8 | 9 | 10 | 11 | Type Alias 12 | 13 | 14 | 15 | 16 | Description 17 | 18 | 19 | 20 | 21 | 22 | [MaterType](./types.matertype.md) 23 | 24 | 25 | 26 | 27 | 定义物料分组类型。 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /vitest.workspace.ts: -------------------------------------------------------------------------------- 1 | import { defineWorkspace } from 'vitest/config' 2 | 3 | // defineWorkspace 会提供一个很好的类型提示开发体验 4 | export default defineWorkspace([ 5 | 'packages/*/vitest.config.{e2e,unit}.ts', 6 | { 7 | test: { 8 | include: ['__tests__/**/*.{browser}.test.{ts,js}'], 9 | // 在使用内联配置的时候,建议定义一个名称 10 | name: 'happy-dom', 11 | environment: 'happy-dom', 12 | }, 13 | }, 14 | { 15 | test: { 16 | include: ['__tests__/**/*.{node}.test.{ts,js}'], 17 | name: 'node', 18 | environment: 'node', 19 | }, 20 | }, 21 | ]) 22 | -------------------------------------------------------------------------------- /packages/components/src/switch/index.ts: -------------------------------------------------------------------------------- 1 | import { Switch } from '@arco-design/web-vue' 2 | import { ElSwitch } from 'element-plus' 3 | import { NSwitch } from 'naive-ui' 4 | 5 | import { ComponentType, componentFactory } from '@/common' 6 | 7 | export const AlSwitch = componentFactory('AlSwitch', { 8 | componentConfig: { 9 | [ComponentType.ElementPlus]: { 10 | component: ElSwitch, 11 | }, 12 | [ComponentType.ArcoDesign]: { 13 | component: Switch, 14 | }, 15 | [ComponentType.NaiveUi]: { 16 | component: NSwitch, 17 | }, 18 | }, 19 | }) 20 | -------------------------------------------------------------------------------- /app/admin/src/router/types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * 路由枚举常量 3 | */ 4 | export enum RouteNameEnum { 5 | /** 6 | * 首页 7 | */ 8 | HOME = 'home', 9 | /** 10 | * LAYOUT 11 | */ 12 | LAYOUT = 'layout', 13 | /** 14 | * 登录页 15 | */ 16 | LOGIN = 'login', 17 | /** 18 | * 重定向页 19 | */ 20 | REDIRECT = 'redirect', 21 | /** 22 | * 404 23 | */ 24 | NOT_FOUND = 'notfound', 25 | /** 26 | * pathMatch 27 | */ 28 | PATH_MATCH = 'pathMatch', 29 | } 30 | 31 | /** 32 | * 路由白名单 33 | */ 34 | export const ROUTER_WHITE_LIST = [ 35 | RouteNameEnum.LOGIN, 36 | ] 37 | -------------------------------------------------------------------------------- /packages/core/src/renderer/src/types/index.ts: -------------------------------------------------------------------------------- 1 | import { Ref } from 'vue' 2 | 3 | /** 4 | * 全局formData 类型 5 | */ 6 | export interface FormDataType { 7 | value?: Ref> 8 | getValueFromPath: (path?: string) => void 9 | generateObjectFromPath: (path?: string) => void 10 | setValueAtPath: (path?: string, newValue?: any) => void 11 | } 12 | 13 | /** 14 | * 全局实例类型 15 | */ 16 | export interface GlobalInstanceType { 17 | value?: Ref> 18 | getInstanceFromKey: (key: string) => void 19 | setInstance: (key: string, value: any) => void 20 | } 21 | -------------------------------------------------------------------------------- /scripts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@al-config/scripts", 3 | "type": "module", 4 | "private": true, 5 | "bin": { 6 | "rollup-dts": "rollup-dts.js", 7 | "build-pkg": "build.js", 8 | "packages-init": "package-init.js" 9 | }, 10 | "scripts": { 11 | "clean": "rimraf node_modules" 12 | }, 13 | "dependencies": { 14 | "@inquirer/prompts": "^5.3.6" 15 | }, 16 | "devDependencies": { 17 | "@microsoft/api-extractor": "^7.47.4", 18 | "@pnpm/workspace.find-packages": "^1.1.12", 19 | "execa": "^8.0.1", 20 | "minimist": "^1.2.8" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /docs/.vitepress/components/FreeStyle.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 我就是FreeStyle组件 Yoo 13 | 14 | 15 | {{ num }} 16 | 17 | 18 | 19 | 32 | -------------------------------------------------------------------------------- /packages/components/src/drawer/props.ts: -------------------------------------------------------------------------------- 1 | import { dialogProps } from '@/dialog' 2 | 3 | export const drawerProps = { 4 | ...dialogProps, 5 | direction: { 6 | type: String, 7 | default: 'rtl', 8 | values: ['ltr', 'rtl', 'ttb', 'btt'], 9 | }, 10 | size: { 11 | type: [String, Number], 12 | default: '30%', 13 | }, 14 | withHeader: { 15 | type: Boolean, 16 | default: true, 17 | }, 18 | modalFade: { 19 | type: Boolean, 20 | default: true, 21 | }, 22 | headerAriaLevel: { 23 | type: String, 24 | default: '2', 25 | }, 26 | } as const 27 | -------------------------------------------------------------------------------- /packages/components/src/icon/index.ts: -------------------------------------------------------------------------------- 1 | import { Icon } from '@arco-design/web-vue' 2 | import { ElIcon } from 'element-plus' 3 | import { NIcon } from 'naive-ui' 4 | 5 | import { ComponentType } from '@/common' 6 | import { componentFactory } from '@/common/componentFactory.ts' 7 | 8 | export const AlIcon = componentFactory('AlIcon', { 9 | componentConfig: { 10 | [ComponentType.ElementPlus]: { 11 | component: ElIcon, 12 | }, 13 | [ComponentType.ArcoDesign]: { 14 | component: Icon, 15 | }, 16 | [ComponentType.NaiveUi]: { 17 | component: NIcon, 18 | }, 19 | }, 20 | }) 21 | -------------------------------------------------------------------------------- /packages/types/markdown/types.matertype.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/types](./types.md) > [MaterType](./types.matertype.md) 4 | 5 | ## MaterType type 6 | 7 | 定义物料分组类型。 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | export type MaterType = 'basic' | 'display' | 'form' | 'business'; 13 | ``` 14 | 15 | ## Remarks 16 | 17 | 菜单类型主要包括以下四种: - `'basic'`:基础类型菜单,适用于通用功能 - `'display'`:显示类型菜单,主要用于数据展示 - `'form'`:表单类型菜单,用于表单操作 - `'business'`:业务类型菜单,适用于业务逻辑相关 18 | 19 | -------------------------------------------------------------------------------- /packages/components/src/card/config.ts: -------------------------------------------------------------------------------- 1 | import { Card } from '@arco-design/web-vue' 2 | import { ElCard } from 'element-plus' 3 | 4 | import { NCard } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const cardConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElCard, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Card, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NCard, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/badge/config.ts: -------------------------------------------------------------------------------- 1 | import { Badge } from '@arco-design/web-vue' 2 | import { ElBadge } from 'element-plus' 3 | 4 | import { NBadge } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const badgeConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElBadge, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Badge, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NBadge, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/avatar/config.ts: -------------------------------------------------------------------------------- 1 | import { Avatar } from '@arco-design/web-vue' 2 | import { ElAvatar } from 'element-plus' 3 | 4 | import { NAvatar } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const avatarConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElAvatar, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Avatar, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NAvatar, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/button/button.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /packages/components/src/button/config.ts: -------------------------------------------------------------------------------- 1 | import { Drawer } from '@arco-design/web-vue' 2 | import { ElDrawer } from 'element-plus' 3 | 4 | import { NDrawer } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const drawerConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElDrawer, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Drawer, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NDrawer, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/drawer/config.ts: -------------------------------------------------------------------------------- 1 | import { Drawer } from '@arco-design/web-vue' 2 | import { ElDrawer } from 'element-plus' 3 | 4 | import { NDrawer } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const drawerConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElDrawer, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Drawer, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NDrawer, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/divider/config.ts: -------------------------------------------------------------------------------- 1 | import { Divider } from '@arco-design/web-vue' 2 | import { ElDivider } from 'element-plus' 3 | 4 | import { NDivider } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const dividerConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElDivider, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Divider, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NDivider, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/cascader/config.ts: -------------------------------------------------------------------------------- 1 | import { Cascader } from '@arco-design/web-vue' 2 | import { ElCascader } from 'element-plus' 3 | 4 | import { NCascader } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const cascaderConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElCascader, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: Cascader, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NCascader, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/designer/src/types/index.ts: -------------------------------------------------------------------------------- 1 | // 基础类型 2 | import { MaterType } from '@zero-dim/types' 3 | 4 | import { ComponentMenu } from '@/enums' 5 | // 设计器类型 6 | export * from './designer.ts' 7 | 8 | // 拖拽组件 9 | export interface MenuItem { 10 | // 拖拽组件名 11 | label: string 12 | // 拖拽组件id 13 | name: string 14 | // 拖拽组件图标 15 | icon: string 16 | only: any 17 | } 18 | 19 | // 菜单 20 | export interface Menu { 21 | // 菜单名 22 | title: string 23 | // 菜单id 24 | name: MaterType 25 | // 拖拽组件列表 26 | list: MenuItem[] 27 | } 28 | 29 | export type MenuList = Menu[] 30 | 31 | export interface ActiveComponentMenu { 32 | menu: ComponentMenu 33 | expand: boolean 34 | } 35 | -------------------------------------------------------------------------------- /packages/components/src/divider/props.ts: -------------------------------------------------------------------------------- 1 | export const dividerProps = { 2 | /** 3 | * @description Set divider's direction 4 | */ 5 | direction: { 6 | type: String, 7 | values: ['horizontal', 'vertical'], 8 | default: 'horizontal', 9 | }, 10 | /** 11 | * @description Set the style of divider 12 | */ 13 | contentPosition: { 14 | type: String, 15 | values: ['left', 'center', 'right'], 16 | default: 'center', 17 | }, 18 | /** 19 | * @description the position of the customized content on the divider line 20 | */ 21 | borderStyle: { 22 | type: definePropType(String), 23 | default: 'solid', 24 | }, 25 | } as const 26 | -------------------------------------------------------------------------------- /packages/components/src/date-picker/config.ts: -------------------------------------------------------------------------------- 1 | import { DatePicker } from '@arco-design/web-vue' 2 | import { ElDatePicker } from 'element-plus' 3 | 4 | import { NDatePicker } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const datePickerConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElDatePicker, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: DatePicker, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NDatePicker, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /packages/components/src/color-picker/config.ts: -------------------------------------------------------------------------------- 1 | import { ColorPicker } from '@arco-design/web-vue' 2 | import { ElColorPicker } from 'element-plus' 3 | 4 | import { NColorPicker } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const colorPickerConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElColorPicker, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: ColorPicker, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NColorPicker, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /config/lint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@al-config/lint", 3 | "version": "1.0.0", 4 | "description": "lint for ZeroDim NoCode", 5 | "files": [ 6 | "commitlint.js", 7 | "eslint.config.mjs", 8 | "lintstaged.js", 9 | "stylelint.mjs" 10 | ], 11 | "scripts": { 12 | "clean": "rimraf node_modules" 13 | }, 14 | "devDependencies": { 15 | "@antfu/eslint-config": "^2.24.0", 16 | "@commitlint/config-conventional": "^19.2.2", 17 | "eslint-plugin-tsdoc": "^0.3.0", 18 | "stylelint-config-recess-order": "^5.0.1", 19 | "stylelint-config-recommended-vue": "^1.5.0", 20 | "stylelint-config-standard-scss": "^13.1.0", 21 | "stylelint-prettier": "^5.0.2" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /packages/components/src/auto-complete/config.ts: -------------------------------------------------------------------------------- 1 | import { AutoComplete } from '@arco-design/web-vue' 2 | import { ElAutocomplete } from 'element-plus' 3 | 4 | import { NAutoComplete } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const autoCompleteConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElAutocomplete, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: AutoComplete, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NAutoComplete, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /app/admin/src/main.ts: -------------------------------------------------------------------------------- 1 | import '@zero-dim/component-adapter/css' 2 | import { initComponents } from '@zero-dim/designer' 3 | import '@zero-dim/designer/css' 4 | import '@zero-dim/graphic/css' 5 | import '@zero-dim/styles/css' 6 | import '@zero-dim/styles/tailwindCss' 7 | import { createApp } from 'vue' 8 | 9 | import App from './App.vue' 10 | import './setup/codemirror' 11 | 12 | import { setupRouter } from '@/router' 13 | import { storage } from '@/setup/storage' 14 | import { setupStore } from '@/store' 15 | 16 | const app = createApp(App) 17 | 18 | function setupApp() { 19 | setupStore(app) 20 | setupRouter(app) 21 | initComponents(app) 22 | storage() 23 | app.mount('#app') 24 | } 25 | 26 | setupApp() 27 | -------------------------------------------------------------------------------- /packages/components/src/config-provider/config.ts: -------------------------------------------------------------------------------- 1 | import { ConfigProvider } from '@arco-design/web-vue' 2 | import { ElConfigProvider } from 'element-plus' 3 | 4 | import { NConfigProvider } from 'naive-ui' 5 | 6 | import { ComponentType } from '@/common' 7 | 8 | export const configProviderConfig = { 9 | [ComponentType.ElementPlus]: { 10 | modelValue: 'modelValue', 11 | component: ElConfigProvider, 12 | bindMapping: {}, 13 | }, 14 | [ComponentType.ArcoDesign]: { 15 | modelValue: 'visible', 16 | component: ConfigProvider, 17 | bindMapping: {}, 18 | }, 19 | [ComponentType.NaiveUi]: { 20 | modelValue: 'show', 21 | component: NConfigProvider, 22 | bindMapping: {}, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /config/lint/commitlint.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | rules: { 4 | // header最大94字符 5 | 'header-max-length': [0, 'always', 94], 6 | 7 | // subject不能为空 8 | 'subject-empty': [2, 'never'], 9 | 10 | // type必须在指定范围内 11 | 'type-enum': [ 12 | 2, 13 | 'always', 14 | ['feat', 'fix', 'docs', 'style', 'chore', 'ci', 'perf', 'refactor', 'test', 'build', 'init'], 15 | ], 16 | // type不能为空 17 | 'type-empty': [2, 'never'], 18 | 19 | // type必须小写 20 | 'type-case': [2, 'always', 'lowerCase'], 21 | 22 | 'scope-empty': [0], 23 | 'scope-case': [0], 24 | 'subject-full-stop': [0], 25 | 'subject-case': [0], 26 | }, 27 | } 28 | -------------------------------------------------------------------------------- /packages/request/src/http/index.ts: -------------------------------------------------------------------------------- 1 | import { AlAxios } from './axios' 2 | import { CreateAxiosOptionsType } from './types.ts' 3 | 4 | // 全局请求默认配置 5 | const defaultOptions: CreateAxiosOptionsType = { 6 | timeout: 100000, 7 | requestOptions: { 8 | withToken: true, 9 | }, 10 | } 11 | 12 | /** 13 | * 创建请求实例 14 | * @param {Partial} options 请求配置 15 | * @returns 请求实例 16 | */ 17 | function createAxios(options: Partial = {}) { 18 | return new AlAxios(Object.assign(defaultOptions, options)) 19 | } 20 | 21 | const AlHttp = createAxios() 22 | 23 | export { AlHttp, createAxios } 24 | export * from './types.ts' 25 | export * from './enums.ts' 26 | export * from './axios.ts' 27 | -------------------------------------------------------------------------------- /packages/components/src/container/index.ts: -------------------------------------------------------------------------------- 1 | import { componentFactory } from '@/common' 2 | import { asideConfig, containerConfig, footerConfig, headerConfig, mainConfig } from '@/container/config.ts' 3 | 4 | export * from './props.ts' 5 | 6 | export const AlFooter = componentFactory('AlFooter', { 7 | componentConfig: footerConfig, 8 | }) 9 | 10 | export const AlMain = componentFactory('AlMain', { 11 | componentConfig: mainConfig, 12 | }) 13 | 14 | export const AlAside = componentFactory('AlAside', { 15 | componentConfig: asideConfig, 16 | }) 17 | 18 | export const AlHeader = componentFactory('AlHeader', { 19 | componentConfig: headerConfig, 20 | }) 21 | 22 | export const AlContainer = componentFactory('AlContainer', { 23 | componentConfig: containerConfig, 24 | }) 25 | -------------------------------------------------------------------------------- /packages/schemas/src/utils/drag-box.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * 删除类型为AlDragBox,AlVueDragAble的盒子,且不改变数据结构 3 | * @param nodes 4 | */ 5 | export function removeAlDragBoxAndPromoteChildren(nodes: Array): Array { 6 | return nodes?.flatMap((node: any) => { 7 | // 检查是否需要删除 AlDragBox 或 AlVueDragAble 且 id 不为 'page' 的节点 8 | if ( 9 | node.type === 'AlDragBox' 10 | || (node.type === 'AlVueDragAble') 11 | ) { 12 | // 递归处理需要删除节点的子节点,并将它们提升 13 | return removeAlDragBoxAndPromoteChildren(node.children as Array) 14 | } 15 | else if (node.children && node.children.length > 0) { 16 | // 如果节点有子节点,递归处理子节点 17 | node.children = removeAlDragBoxAndPromoteChildren(node.children as Array) 18 | } 19 | // 返回当前节点 20 | return node 21 | }) 22 | } 23 | -------------------------------------------------------------------------------- /packages/atoms/vite.config.ts: -------------------------------------------------------------------------------- 1 | import path from 'node:path' 2 | 3 | import { definePkgConfig } from '@al-config/vite' 4 | import vue from '@vitejs/plugin-vue' 5 | import autoprefixer from 'autoprefixer' 6 | import tailwindcss from 'tailwindcss' 7 | import { defineConfig } from 'vite' 8 | 9 | export default defineConfig(async () => { 10 | return definePkgConfig({ 11 | name: 'ZeroDimAtoms', 12 | defaultFormats: ['es'], 13 | options: { 14 | resolve: { 15 | alias: { 16 | '@': path.resolve(__dirname, 'src'), 17 | }, 18 | }, 19 | css: { 20 | postcss: { 21 | plugins: [ 22 | tailwindcss, 23 | autoprefixer, 24 | ], 25 | }, 26 | }, 27 | plugins: [vue()], 28 | }, 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /packages/core/vite.config.ts: -------------------------------------------------------------------------------- 1 | import path from 'node:path' 2 | 3 | import { definePkgConfig } from '@al-config/vite' 4 | import vue from '@vitejs/plugin-vue' 5 | import autoprefixer from 'autoprefixer' 6 | import tailwindcss from 'tailwindcss' 7 | import { defineConfig } from 'vite' 8 | 9 | export default defineConfig(async () => { 10 | return definePkgConfig({ 11 | name: 'ZeroDimCore', 12 | defaultFormats: ['es'], 13 | options: { 14 | resolve: { 15 | alias: { 16 | '@': path.resolve(__dirname, 'src'), 17 | }, 18 | }, 19 | css: { 20 | postcss: { 21 | plugins: [ 22 | tailwindcss, 23 | autoprefixer, 24 | ], 25 | }, 26 | }, 27 | plugins: [vue()], 28 | }, 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /.changeset/pre.json: -------------------------------------------------------------------------------- 1 | { 2 | "mode": "pre", 3 | "tag": "beta", 4 | "initialVersions": { 5 | "zero-dim-admin": "1.0.0", 6 | "@al-config/lint": "1.0.0", 7 | "@al-config/tsconfig": "1.0.0", 8 | "@al-config/vite": "1.0.0", 9 | "@zero-dim/atoms": "1.0.0", 10 | "@zero-dim/component-adapter": "1.0.0", 11 | "@zero-dim/components-pc": "1.0.0", 12 | "@zero-dim/core": "1.0.0", 13 | "@zero-dim/designer": "1.0.0", 14 | "@zero-dim/graphic": "1.0.0", 15 | "@zero-dim/hooks": "1.0.0", 16 | "@zero-dim/request": "1.0.0", 17 | "@zero-dim/schemas-component-adapter": "1.0.0", 18 | "@zero-dim/schemas-naive-ui": "1.0.0", 19 | "@zero-dim/styles": "1.0.0", 20 | "@zero-dim/types": "1.0.0", 21 | "@zero-dim/utils": "1.0.0" 22 | }, 23 | "changesets": [] 24 | } 25 | -------------------------------------------------------------------------------- /packages/designer/vite.config.ts: -------------------------------------------------------------------------------- 1 | import path from 'node:path' 2 | 3 | import { definePkgConfig } from '@al-config/vite' 4 | import vue from '@vitejs/plugin-vue' 5 | import autoprefixer from 'autoprefixer' 6 | import tailwindcss from 'tailwindcss' 7 | import { defineConfig } from 'vite' 8 | 9 | export default defineConfig(async () => { 10 | return definePkgConfig({ 11 | name: 'ZeroDimDesigner', 12 | defaultFormats: ['es'], 13 | options: { 14 | resolve: { 15 | alias: { 16 | '@': path.resolve(__dirname, 'src'), 17 | }, 18 | }, 19 | css: { 20 | postcss: { 21 | plugins: [ 22 | tailwindcss, 23 | autoprefixer, 24 | ], 25 | }, 26 | }, 27 | plugins: [vue()], 28 | }, 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /packages/graphic/vite.config.ts: -------------------------------------------------------------------------------- 1 | import path from 'node:path' 2 | 3 | import { definePkgConfig } from '@al-config/vite' 4 | import vue from '@vitejs/plugin-vue' 5 | import autoprefixer from 'autoprefixer' 6 | import tailwindcss from 'tailwindcss' 7 | import { defineConfig } from 'vite' 8 | 9 | export default defineConfig(async () => { 10 | return definePkgConfig({ 11 | name: 'ZeroDimGraphic', 12 | defaultFormats: ['es'], 13 | options: { 14 | resolve: { 15 | alias: { 16 | '@': path.resolve(__dirname, 'src'), 17 | }, 18 | }, 19 | css: { 20 | postcss: { 21 | plugins: [ 22 | tailwindcss, 23 | autoprefixer, 24 | ], 25 | }, 26 | }, 27 | plugins: [vue()], 28 | }, 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /app/admin/src/layout/common/menu-top/index.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /packages/components/vite.config.ts: -------------------------------------------------------------------------------- 1 | import path from 'node:path' 2 | 3 | import { definePkgConfig } from '@al-config/vite' 4 | import vue from '@vitejs/plugin-vue' 5 | import autoprefixer from 'autoprefixer' 6 | import tailwindcss from 'tailwindcss' 7 | import { defineConfig } from 'vite' 8 | 9 | export default defineConfig(async () => { 10 | return definePkgConfig({ 11 | name: 'ZeroDimComponentAdapter', 12 | defaultFormats: ['es'], 13 | options: { 14 | resolve: { 15 | alias: { 16 | '@': path.resolve(__dirname, 'src'), 17 | }, 18 | }, 19 | css: { 20 | postcss: { 21 | plugins: [ 22 | tailwindcss, 23 | autoprefixer, 24 | ], 25 | }, 26 | }, 27 | plugins: [vue()], 28 | }, 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /packages/schemas/vite.config.ts: -------------------------------------------------------------------------------- 1 | import path from 'node:path' 2 | 3 | import { definePkgConfig } from '@al-config/vite' 4 | import vue from '@vitejs/plugin-vue' 5 | import autoprefixer from 'autoprefixer' 6 | import tailwindcss from 'tailwindcss' 7 | import { defineConfig } from 'vite' 8 | 9 | export default defineConfig(async () => { 10 | return definePkgConfig({ 11 | name: 'ZeroDimSchemasComponentAdapter', 12 | defaultFormats: ['es'], 13 | options: { 14 | resolve: { 15 | alias: { 16 | '@': path.resolve(__dirname, 'src'), 17 | }, 18 | }, 19 | css: { 20 | postcss: { 21 | plugins: [ 22 | tailwindcss, 23 | autoprefixer, 24 | ], 25 | }, 26 | }, 27 | plugins: [vue()], 28 | }, 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://turbo.build/schema.json", 3 | "tasks": { 4 | "dev": { 5 | "cache": false, 6 | "persistent": true, 7 | "dependsOn": [ 8 | "^build:all" 9 | ] 10 | }, 11 | "build:all": { 12 | "dependsOn": [ 13 | "^build:all" 14 | ], 15 | "outputs": ["dist/**"] 16 | }, 17 | "build:dts": { 18 | "dependsOn": [ 19 | "^build:dts" 20 | ], 21 | "outputs": ["dist/**"] 22 | }, 23 | "build:watch": { 24 | "cache": false, 25 | "persistent": true, 26 | "dependsOn": [ 27 | "^build:all" 28 | ], 29 | "outputs": ["dist/**"] 30 | }, 31 | "clean": { 32 | "cache": false 33 | }, 34 | "clean:dist": { 35 | "cache": false 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /.github/workflows/deploy-admin.yml: -------------------------------------------------------------------------------- 1 | name: Deploy Admin 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | 7 | workflow_dispatch: 8 | 9 | jobs: 10 | deploy: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Deploy Admin to remote server 14 | uses: appleboy/ssh-action@master 15 | with: 16 | host: ${{ secrets.REMOTE_HOST }} 17 | username: ${{ secrets.REMOTE_USERNAME }} 18 | password: ${{ secrets.REMOTE_PASSWORD }} 19 | port: ${{ secrets.REMOTE_PORT }} 20 | script: | 21 | export NVM_DIR="$HOME/.nvm" 22 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 23 | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 24 | cd /opt && bash deploy-admin.sh 25 | -------------------------------------------------------------------------------- /packages/schemas/src/types/schema.ts: -------------------------------------------------------------------------------- 1 | import type { Schema } from '@zero-dim/core' 2 | import { MaterType } from '@zero-dim/types' 3 | /** 4 | * 拖拽组件描述规则结构 5 | */ 6 | export interface CompSchema { 7 | /** 8 | * 组件 id 不能重复 9 | */ 10 | name: string 11 | /** 12 | * 组件名称 13 | */ 14 | label?: string 15 | /** 16 | * 组件图标 17 | */ 18 | icon?: string 19 | /** 20 | * 组件分类 21 | */ 22 | menu?: MaterType 23 | /** 24 | * 组件生产规则 25 | */ 26 | schema: () => Schema 27 | /** 28 | * 组件属性配置规则 29 | * @param changePropsData 测试 30 | */ 31 | props: (changePropsData?: Function) => Schema[] 32 | /** 33 | * 组件插槽 34 | */ 35 | slots?: () => Array 36 | /** 37 | * 组件绑定事件 38 | */ 39 | events?: () => Array 40 | /** 41 | * 是否配有子组件,例如 row,col 42 | */ 43 | children?: string 44 | } 45 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.initcomponents.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [initComponents](./designer.initcomponents.md) 4 | 5 | ## initComponents() function 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | export declare function initComponents(app: App): void; 11 | ``` 12 | 13 | ## Parameters 14 | 15 | 16 | 17 | Parameter 18 | 19 | 20 | 21 | 22 | Type 23 | 24 | 25 | 26 | 27 | Description 28 | 29 | 30 | 31 | 32 | 33 | app 34 | 35 | 36 | 37 | 38 | App 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | **Returns:** 47 | 48 | void 49 | 50 | -------------------------------------------------------------------------------- /app/admin/src/setup/codemirror.ts: -------------------------------------------------------------------------------- 1 | // language 2 | import 'codemirror/addon/edit/closebrackets.js' 3 | import 'codemirror/addon/edit/matchbrackets.js' 4 | import 'codemirror/addon/fold/brace-fold.js' 5 | import 'codemirror/addon/fold/foldcode.js' 6 | import 'codemirror/addon/fold/foldgutter.css' 7 | import 'codemirror/addon/fold/foldgutter.js' 8 | import 'codemirror/addon/hint/javascript-hint.js' 9 | import 'codemirror/addon/hint/show-hint.css' 10 | // 代码校验 lint 11 | // 自动提示 12 | import 'codemirror/addon/hint/show-hint.js' 13 | import 'codemirror/addon/lint/json-lint' 14 | import 'codemirror/addon/lint/lint.css' 15 | import 'codemirror/addon/lint/lint.js' 16 | import 'codemirror/mode/javascript/javascript.js' 17 | // theme 18 | import 'codemirror/theme/dracula.css' 19 | // 折叠功能 20 | import jsonlint from 'jsonlint-mod' 21 | 22 | window.jsonlint = jsonlint 23 | -------------------------------------------------------------------------------- /packages/hooks/markdown/hooks.useeventbus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/hooks](./hooks.md) > [useEventBus](./hooks.useeventbus.md) 4 | 5 | ## useEventBus() function 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | export declare function useEventBus(eventNames?: string[]): any; 11 | ``` 12 | 13 | ## Parameters 14 | 15 | 16 | 17 | Parameter 18 | 19 | 20 | 21 | 22 | Type 23 | 24 | 25 | 26 | 27 | Description 28 | 29 | 30 | 31 | 32 | 33 | eventNames 34 | 35 | 36 | 37 | 38 | string\[\] 39 | 40 | 41 | 42 | 43 | _(Optional)_ 44 | 45 | 46 | 47 | 48 | **Returns:** 49 | 50 | any 51 | 52 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.alicon.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlIcon](./component-adapter.alicon.md) 4 | 5 | ## AlIcon variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlIcon: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.aldrawer.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlDrawer](./component-adapter.aldrawer.md) 4 | 5 | ## AlDrawer variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlDrawer: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.aloption.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlOption](./component-adapter.aloption.md) 4 | 5 | ## AlOption variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlOption: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.alselect.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlSelect](./component-adapter.alselect.md) 4 | 5 | ## AlSelect variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlSelect: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.alswitch.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlSwitch](./component-adapter.alswitch.md) 4 | 5 | ## AlSwitch variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlSwitch: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/designer/src/utils/theme-listener.ts: -------------------------------------------------------------------------------- 1 | import { webStorage } from '@zero-dim/hooks' 2 | 3 | export function addEditorThemeListener(callbackListener: any) { 4 | callbackListener(webStorage.getStorageFromKey('settingConfig')?.globalStyle === 'sun') 5 | // 选择要观察的最外层元素 6 | const targetNode = document.documentElement // 选择 标签 7 | 8 | // 配置观察选项 9 | const config = { attributes: true, attributeFilter: ['class'] } // 只观察 class 属性的变化 10 | 11 | // 回调函数,当观察到变化时执行 12 | const callback = function (mutationsList: any) { 13 | for (const mutation of mutationsList) { 14 | if (mutation.type === 'attributes') { 15 | callbackListener(mutation.target.className === 'dark') 16 | } 17 | } 18 | } 19 | 20 | // 创建一个 MutationObserver 实例 21 | const observer = new MutationObserver(callback) 22 | 23 | // 开始观察 24 | observer.observe(targetNode, config) 25 | } 26 | -------------------------------------------------------------------------------- /docs/.vitepress/components/AnimationTitle.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Vitepress Fun Animation Title 6 | 7 | 8 | 9 | 42 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.recursiveupdateids.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [recursiveUpdateIds](./designer.recursiveupdateids.md) 4 | 5 | ## recursiveUpdateIds() function 6 | 7 | 递归更新 id 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | export declare function recursiveUpdateIds(node: Schema): Schema; 13 | ``` 14 | 15 | ## Parameters 16 | 17 | 18 | 19 | Parameter 20 | 21 | 22 | 23 | 24 | Type 25 | 26 | 27 | 28 | 29 | Description 30 | 31 | 32 | 33 | 34 | 35 | node 36 | 37 | 38 | 39 | 40 | Schema 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | **Returns:** 49 | 50 | Schema 51 | 52 | -------------------------------------------------------------------------------- /app/admin/src/layout/common/menu-top/menu-item.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | {{ menu?.menuName }} 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.addeditorthemelistener.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [addEditorThemeListener](./designer.addeditorthemelistener.md) 4 | 5 | ## addEditorThemeListener() function 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | export declare function addEditorThemeListener(callbackListener: any): void; 11 | ``` 12 | 13 | ## Parameters 14 | 15 | 16 | 17 | Parameter 18 | 19 | 20 | 21 | 22 | Type 23 | 24 | 25 | 26 | 27 | Description 28 | 29 | 30 | 31 | 32 | 33 | callbackListener 34 | 35 | 36 | 37 | 38 | any 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | **Returns:** 47 | 48 | void 49 | 50 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.alcolorpicker.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlColorPicker](./component-adapter.alcolorpicker.md) 4 | 5 | ## AlColorPicker variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlColorPicker: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/components/markdown/component-adapter.aloptiongroup.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/component-adapter](./component-adapter.md) > [AlOptionGroup](./component-adapter.aloptiongroup.md) 4 | 5 | ## AlOptionGroup variable 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | AlOptionGroup: import("vue").DefineComponent<{}, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").PublicProps, Readonly<{}> & Readonly<{ 13 | [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; 14 | }>, {} | { 15 | [x: string]: any; 16 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/designer/markdown/designer.getschemainstancename.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/designer](./designer.md) > [getSchemaInstanceName](./designer.getschemainstancename.md) 4 | 5 | ## getSchemaInstanceName() function 6 | 7 | **Signature:** 8 | 9 | ```typescript 10 | export declare function getSchemaInstanceName(selectComponent: Schema): string; 11 | ``` 12 | 13 | ## Parameters 14 | 15 | 16 | 17 | Parameter 18 | 19 | 20 | 21 | 22 | Type 23 | 24 | 25 | 26 | 27 | Description 28 | 29 | 30 | 31 | 32 | 33 | selectComponent 34 | 35 | 36 | 37 | 38 | Schema 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | **Returns:** 47 | 48 | string 49 | 50 | -------------------------------------------------------------------------------- /packages/request/markdown/request.authtype.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Home](./index.md) > [@zero-dim/request](./request.md) > [AuthType](./request.authtype.md) 4 | 5 | ## AuthType interface 6 | 7 | Auth类型 8 | 9 | **Signature:** 10 | 11 | ```typescript 12 | export interface AuthType 13 | ``` 14 | 15 | ## Properties 16 | 17 | 18 | 19 | Property 20 | 21 | 22 | 23 | 24 | Modifiers 25 | 26 | 27 | 28 | 29 | Type 30 | 31 | 32 | 33 | 34 | Description 35 | 36 | 37 | 38 | 39 | 40 | [access\_token](./request.authtype.access_token.md) 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | string 49 | 50 | 51 | 52 | 53 | 访问token 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /app/admin/src/layout/common/menu-left/menu-item.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | {{ menu?.menuName }} 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /packages/schemas/src/segmented/segmented.vue: -------------------------------------------------------------------------------- 1 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/.vitepress/theme/style/var.css: -------------------------------------------------------------------------------- 1 | :root { 2 | /* 标题 */ 3 | --vp-home-hero-name-color: transparent; 4 | --vp-home-hero-name-background: linear-gradient(135deg, #9b80ff 10%, #D939CD 100%); 5 | 6 | /* 图标背景 */ 7 | --vp-home-hero-image-background-image: linear-gradient(135deg, #8050ff 10%, #D939CD 100%); 8 | --vp-home-hero-image-filter: blur(150px); 9 | 10 | /* brand按钮 */ 11 | --vp-button-brand-border: #F6CEEC; 12 | --vp-button-brand-text: #F6CEEC; 13 | --vp-button-brand-bg: #8d39d9; 14 | 15 | --vp-button-brand-hover-border: #F6CEEC; 16 | --vp-button-brand-hover-text: #fff; 17 | --vp-button-brand-hover-bg: #D939CD; 18 | 19 | --vp-button-brand-active-border: #F6CEEC; 20 | 21 | /* 主题基色 */ 22 | --vp-c-brand: #D939CD; 23 | --vp-c-brand-light: #D939CD; 24 | --vp-c-brand-dark: #D939CD; 25 | 26 | /* 代码块背景色 */ 27 | --vp-code-block-bg: rgba(125,125,125,.04); 28 | } 29 | -------------------------------------------------------------------------------- /packages/schemas/src/cascader/cascader.vue: -------------------------------------------------------------------------------- 1 | 30 | 31 | 32 | 33 | 34 | --------------------------------------------------------------------------------