├── server ├── README.md ├── src │ ├── controller │ │ ├── public │ │ │ └── readme.md │ │ └── api │ │ │ ├── base.ts │ │ │ └── department.ts │ ├── library │ │ ├── event │ │ │ └── index.ts │ │ ├── email │ │ │ └── index.ts │ │ ├── utils │ │ │ └── modules │ │ │ │ └── network.ts │ │ └── mysql │ │ │ └── index.ts │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ ├── config │ │ ├── superAdmin.ts │ │ ├── login.ts │ │ ├── _prod.ts │ │ ├── log.ts │ │ ├── env.ts │ │ ├── email.ts │ │ ├── redis.ts │ │ ├── mysql_env.ts │ │ ├── mysql.ts │ │ └── app.ts │ ├── model │ │ ├── validator.ts │ │ ├── base.ts │ │ └── department.ts │ ├── middleware │ │ ├── multi-form.ts │ │ ├── login.ts │ │ └── errorHandler.ts │ └── task.ts ├── typings.d.ts ├── .prettierrc └── copy_static_assets.js ├── plugin ├── src │ ├── components │ │ ├── Field │ │ │ ├── components │ │ │ │ ├── Alert │ │ │ │ │ ├── index.less │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ ├── index.md │ │ │ │ │ └── demo │ │ │ │ │ │ └── basic.md │ │ │ │ ├── Steps │ │ │ │ │ ├── index.less │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ ├── demo │ │ │ │ │ │ ├── basic.md │ │ │ │ │ │ └── description.md │ │ │ │ │ └── index.md │ │ │ │ ├── Input │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ │ ├── demo │ │ │ │ │ │ └── basic.md │ │ │ │ │ └── index.md │ │ │ │ ├── Text │ │ │ │ │ ├── index.less │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ └── index.md │ │ │ │ ├── InputNumber │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ │ ├── demo │ │ │ │ │ │ └── basic.md │ │ │ │ │ └── index.md │ │ │ │ ├── Checkbox │ │ │ │ │ ├── ModalAddOption │ │ │ │ │ │ ├── index.less │ │ │ │ │ │ └── interface.d.ts │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── JsonEditor │ │ │ │ │ ├── index.less │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ └── index.md │ │ │ │ ├── PickerDate │ │ │ │ │ ├── index.less │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── Divider │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ ├── index.md │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── demo │ │ │ │ │ │ └── basic.md │ │ │ │ │ └── __tests__ │ │ │ │ │ │ └── index.test.tsx │ │ │ │ ├── Radio │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ └── demo │ │ │ │ │ │ └── basic.md │ │ │ │ ├── Select │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── Upload │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.less │ │ │ │ │ └── utils.ts │ │ │ │ ├── PickerMonth │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── PickerRange │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── PickerTime │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── PickerWeek │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── SelectTree │ │ │ │ │ └── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── SelectTrees │ │ │ │ │ └── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── TableEditor │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.less │ │ │ │ ├── InputPassword │ │ │ │ │ └── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ ├── InputTextarea │ │ │ │ │ └── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── properties.ts │ │ │ │ ├── PickerDateTime │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.tsx │ │ │ │ ├── SelectCascade │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── SelectMultiple │ │ │ │ │ ├── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── demo │ │ │ │ │ │ └── basic.md │ │ │ │ └── _EditableTable │ │ │ │ │ ├── context.ts │ │ │ │ │ ├── EditableCell │ │ │ │ │ └── interface.d.ts │ │ │ │ │ └── interface.ts │ │ │ ├── index.less │ │ │ ├── interface.d.ts │ │ │ ├── types │ │ │ │ └── baseProperty.ts │ │ │ └── rules.ts │ │ ├── Card │ │ │ ├── index.less │ │ │ ├── __editor__ │ │ │ │ ├── defaultConfig.ts │ │ │ │ ├── index.ts │ │ │ │ └── properties.ts │ │ │ ├── components │ │ │ │ └── Primary │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ └── index.tsx │ │ │ ├── _index.md_ │ │ │ └── interface.d.ts │ │ ├── ModalForm │ │ │ ├── index.less │ │ │ ├── __editor__ │ │ │ │ ├── index.ts │ │ │ │ ├── additableProperties.ts │ │ │ │ └── defaultConfig.ts │ │ │ ├── demo │ │ │ │ └── basic.md │ │ │ └── interface.d.ts │ │ ├── BChart │ │ │ ├── index.less │ │ │ ├── __editor__ │ │ │ │ ├── additableProperties.ts │ │ │ │ ├── properties.ts │ │ │ │ └── index.ts │ │ │ ├── ChartPie │ │ │ │ └── index.md │ │ │ ├── ChartBar │ │ │ │ └── index.md │ │ │ ├── ChartLine │ │ │ │ └── index.md │ │ │ └── shapes.ts │ │ ├── Button │ │ │ ├── __editor__ │ │ │ │ ├── additableProperties.ts │ │ │ │ ├── defaultConfig.ts │ │ │ │ └── index.ts │ │ │ ├── interface.d.ts │ │ │ └── index.md │ │ ├── Divider │ │ │ ├── __editor__ │ │ │ │ ├── additableProperties.ts │ │ │ │ ├── defaultConfig.ts │ │ │ │ ├── index.ts │ │ │ │ └── properties.ts │ │ │ ├── interface.d.ts │ │ │ ├── index.md │ │ │ ├── demo │ │ │ │ └── basic.md │ │ │ ├── index.tsx │ │ │ └── __tests__ │ │ │ │ └── index.test.tsx │ │ ├── Container │ │ │ ├── interface.d.ts │ │ │ ├── index.tsx │ │ │ └── __editor__ │ │ │ │ ├── defaultConfig.ts │ │ │ │ ├── properties.ts │ │ │ │ └── index.ts │ │ ├── List │ │ │ ├── components │ │ │ │ ├── Column │ │ │ │ │ └── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── ActionColumn │ │ │ │ │ └── __editor__ │ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ │ └── index.ts │ │ │ │ └── ActionColumn2 │ │ │ │ │ └── __editor__ │ │ │ │ │ ├── additableProperties.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.less │ │ │ ├── __editor__ │ │ │ │ ├── index.ts │ │ │ │ ├── additableProperties │ │ │ │ │ ├── extra │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── default_value.ts │ │ │ │ │ ├── sections │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── columns │ │ │ │ │ │ └── index.ts │ │ │ │ └── defaultConfig.ts │ │ │ └── interface.d.ts │ │ ├── Exception │ │ │ ├── 403.tsx │ │ │ ├── 404.tsx │ │ │ ├── 500.tsx │ │ │ ├── interface.d.ts │ │ │ └── typeConfig.ts │ │ ├── Form │ │ │ ├── index.less │ │ │ ├── __editor__ │ │ │ │ ├── index.ts │ │ │ │ └── additableProperties │ │ │ │ │ ├── extra │ │ │ │ │ ├── index.ts │ │ │ │ │ └── default_value.ts │ │ │ │ │ └── index.ts │ │ │ └── demo │ │ │ │ ├── buttons.md │ │ │ │ ├── alias.md │ │ │ │ ├── edit.md │ │ │ │ └── transform.md │ │ ├── Steps │ │ │ ├── index.less │ │ │ ├── __editor__ │ │ │ │ ├── index.ts │ │ │ │ └── defaultConfig.ts │ │ │ ├── interface.d.ts │ │ │ ├── index._md │ │ │ └── demo │ │ │ │ ├── container.md │ │ │ │ └── basic.md │ │ ├── Tabs │ │ │ ├── __editor__ │ │ │ │ └── index.ts │ │ │ ├── interface.d.ts │ │ │ └── index.md │ │ └── HtmlFragment │ │ │ └── index.tsx │ ├── utils │ │ ├── events.ts │ │ └── __tests__ │ │ │ ├── valid.test.ts │ │ │ └── event.test.ts │ ├── templates │ │ └── custom │ │ │ └── empty.ts │ ├── types │ │ └── index.d.ts │ └── index.ts ├── site │ ├── theme │ │ ├── style │ │ │ ├── index.jsx │ │ │ ├── themes │ │ │ │ └── index.less │ │ │ ├── v2-compatible-reset.jsx │ │ │ ├── index.less │ │ │ ├── core │ │ │ │ ├── index.less │ │ │ │ ├── iconfont.less │ │ │ │ ├── motion │ │ │ │ │ ├── fade.less │ │ │ │ │ └── swing.less │ │ │ │ └── motion.less │ │ │ ├── mixins │ │ │ │ ├── size.less │ │ │ │ ├── clearfix.less │ │ │ │ ├── index.less │ │ │ │ ├── reset.less │ │ │ │ ├── operation-unit.less │ │ │ │ └── compatibility.less │ │ │ └── v2-compatible-reset.less │ │ ├── static │ │ │ ├── favicon.ico │ │ │ ├── style.js │ │ │ ├── theme.less │ │ │ ├── nprogress.less │ │ │ ├── docsearch.less │ │ │ ├── new-version-info-modal.less │ │ │ ├── index.less │ │ │ ├── not-found.less │ │ │ └── motion.less │ │ └── template │ │ │ ├── BrowserFrame.jsx │ │ │ ├── AppShell.jsx │ │ │ ├── Color │ │ │ ├── ColorPatterns.jsx │ │ │ └── ColorBlock.jsx │ │ │ ├── FormattedMessage │ │ │ └── index.jsx │ │ │ ├── Content │ │ │ ├── PrevAndNext.jsx │ │ │ ├── ErrorBoundary.js │ │ │ └── EditButton.jsx │ │ │ ├── Redirect.jsx │ │ │ ├── Layout │ │ │ └── SentryBoundary.jsx │ │ │ ├── NotFound.jsx │ │ │ ├── Home │ │ │ └── util.jsx │ │ │ └── IconDisplay │ │ │ └── CopyableIcon.jsx │ ├── utils │ │ └── index.js │ ├── favicon.ico │ ├── docs │ │ └── editor │ │ │ ├── _04-json-actions.md_ │ │ │ ├── changeLog.md │ │ │ ├── 03-page-publish.md │ │ │ ├── 02-scenarios.md │ │ │ ├── 03-page-debug.md │ │ │ ├── 06-senior-formdata.md │ │ │ ├── 03-page-build.md │ │ │ ├── 05-json-syntax.md │ │ │ ├── 03-project-whitelist.md │ │ │ └── 01-introduce.md │ ├── hetu.ts │ └── template.html ├── __mocks__ │ ├── axios.ts │ └── moment.ts ├── gulpfile.js │ ├── index.js │ ├── copy-types.js │ └── copy-docs.js ├── test │ ├── utils │ │ └── index.ts │ └── setup.ts ├── .eslintignore ├── .gitignore ├── .babelrc └── README.md ├── client ├── src │ ├── routes │ │ ├── Admin │ │ │ ├── Login │ │ │ │ └── index.less │ │ │ ├── Register │ │ │ │ └── index.less │ │ │ ├── ModifyPassword │ │ │ │ └── index.less │ │ │ ├── Layout │ │ │ │ ├── index.less │ │ │ │ └── index.tsx │ │ │ └── Card │ │ │ │ ├── index.tsx │ │ │ │ └── index.less │ │ ├── GuiEditor │ │ │ ├── components │ │ │ │ ├── Header │ │ │ │ │ ├── ThePublishModal │ │ │ │ │ │ ├── index.module.less │ │ │ │ │ │ └── interface.d.ts │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── SiderRight │ │ │ │ │ ├── FormEditor │ │ │ │ │ │ ├── compontent │ │ │ │ │ │ │ ├── readme.md │ │ │ │ │ │ │ ├── FormItem │ │ │ │ │ │ │ │ └── index.less │ │ │ │ │ │ │ └── input │ │ │ │ │ │ │ │ └── index.less │ │ │ │ │ │ └── interface.d.ts │ │ │ │ │ ├── JSONEditor │ │ │ │ │ │ ├── index.module.less │ │ │ │ │ │ └── interface.d.ts │ │ │ │ │ ├── interface.ts │ │ │ │ │ └── index.module.less │ │ │ │ ├── Content │ │ │ │ │ ├── index.less │ │ │ │ │ └── interface.d.ts │ │ │ │ ├── Stage │ │ │ │ │ ├── index.module.less │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ ├── HoverOverlay │ │ │ │ │ │ ├── DropTargetWrapper │ │ │ │ │ │ │ └── interface.d.ts │ │ │ │ │ │ ├── index.module.less │ │ │ │ │ │ └── interface.d.ts │ │ │ │ │ └── SelectedOverlay │ │ │ │ │ │ └── interface.d.ts │ │ │ │ └── SiderLeft │ │ │ │ │ └── interface.d.ts │ │ │ ├── interface.ts │ │ │ └── index.less │ │ ├── Home │ │ │ ├── Layout │ │ │ │ ├── index.ts │ │ │ │ ├── Blank │ │ │ │ │ └── index.tsx │ │ │ │ └── Basic │ │ │ │ │ ├── Header │ │ │ │ │ └── interface.d.ts │ │ │ │ │ ├── index.module.less │ │ │ │ │ ├── interface.d.ts │ │ │ │ │ └── SiderMenu │ │ │ │ │ └── interface.d.ts │ │ │ ├── ModalClone │ │ │ │ └── interface.d.ts │ │ │ ├── interface.d.ts │ │ │ └── index.less │ │ ├── Exception │ │ │ ├── 403.tsx │ │ │ ├── 404.tsx │ │ │ └── 500.tsx │ │ ├── Preview │ │ │ └── index.tsx │ │ └── Templates │ │ │ ├── index.less │ │ │ ├── interface.d.ts │ │ │ └── components │ │ │ └── Card │ │ │ └── interface.d.ts │ ├── utils │ │ ├── events.ts │ │ ├── apis.ts │ │ └── valid.ts │ ├── favicon.ico │ ├── assets │ │ ├── ke.ico │ │ ├── head.png │ │ ├── logo.png │ │ └── button-add.png │ ├── components │ │ ├── Iframe │ │ │ ├── index.less │ │ │ └── interface.d.ts │ │ ├── JsonEditor │ │ │ ├── index.less │ │ │ ├── interface.d.ts │ │ │ └── Controled.d.ts │ │ ├── Exception │ │ │ ├── 404.tsx │ │ │ ├── 500.tsx │ │ │ ├── 403.tsx │ │ │ └── typeConfig.ts │ │ ├── _utils │ │ │ └── pathTools.ts │ │ └── HtmlFragment │ │ │ └── index.tsx │ ├── constant │ │ ├── state.ts │ │ ├── submodule.ts │ │ └── env.ts │ ├── apis │ │ ├── index.ts │ │ └── user.ts │ └── types │ │ ├── components │ │ ├── interfaceBaseCompontentProps.ts │ │ └── editConfig.ts │ │ └── models │ │ ├── connect.d.ts │ │ └── guiEditor.d.ts ├── public │ ├── favicon.ico │ └── index.html ├── .prettierrc ├── .eslintrc ├── jsconfig.json ├── scripts │ └── utils.js ├── tsconfig.json ├── .jest.js ├── config │ └── setupProxy.js ├── .babelrc ├── README.md └── typings.d.ts ├── .prettierrc ├── CHANGELOG.md ├── scripts ├── online_client.sh ├── online_plugin.sh ├── util.sh ├── online_server.sh └── online_docs.sh └── .gitignore /server/README.md: -------------------------------------------------------------------------------- 1 | # node 2 | -------------------------------------------------------------------------------- /plugin/src/components/Field/components/Alert/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugin/src/components/Field/components/Steps/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/src/controller/public/readme.md: -------------------------------------------------------------------------------- 1 | ## 供第三方使用的接口 2 | -------------------------------------------------------------------------------- /server/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '@adonisjs/ace' 2 | -------------------------------------------------------------------------------- /plugin/site/theme/style/index.jsx: -------------------------------------------------------------------------------- 1 | import './index.less'; 2 | -------------------------------------------------------------------------------- /client/src/routes/Admin/Login/index.less: -------------------------------------------------------------------------------- 1 | .login-container {} 2 | -------------------------------------------------------------------------------- /client/src/routes/Admin/Register/index.less: -------------------------------------------------------------------------------- 1 | .register-container {} 2 | -------------------------------------------------------------------------------- /plugin/site/theme/style/themes/index.less: -------------------------------------------------------------------------------- 1 | @import './default.less'; 2 | -------------------------------------------------------------------------------- /client/src/routes/Admin/ModifyPassword/index.less: -------------------------------------------------------------------------------- 1 | .modify-password-container {} 2 | -------------------------------------------------------------------------------- /client/src/routes/GuiEditor/components/Header/ThePublishModal/index.module.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugin/site/utils/index.js: -------------------------------------------------------------------------------- 1 | export const FormattedMessage = () => { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /plugin/site/theme/style/v2-compatible-reset.jsx: -------------------------------------------------------------------------------- 1 | import './v2-compatible-reset.less'; 2 | -------------------------------------------------------------------------------- /client/src/utils/events.ts: -------------------------------------------------------------------------------- 1 | import mitt from 'mitt' 2 | 3 | export const emitter = mitt() 4 | -------------------------------------------------------------------------------- /plugin/site/theme/style/index.less: -------------------------------------------------------------------------------- 1 | @import './themes/index'; 2 | @import './core/index'; 3 | -------------------------------------------------------------------------------- /server/src/library/event/index.ts: -------------------------------------------------------------------------------- 1 | import mitt from 'mitt' 2 | 3 | export default mitt() 4 | -------------------------------------------------------------------------------- /client/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/client/src/favicon.ico -------------------------------------------------------------------------------- /plugin/site/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/plugin/site/favicon.ico -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/src/assets/ke.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/client/src/assets/ke.ico -------------------------------------------------------------------------------- /client/src/routes/GuiEditor/components/SiderRight/FormEditor/compontent/readme.md: -------------------------------------------------------------------------------- 1 | 该文件夹中存放为可视化编辑器专门订制的组件 -------------------------------------------------------------------------------- /plugin/__mocks__/axios.ts: -------------------------------------------------------------------------------- 1 | import mockAxios from 'jest-mock-axios' 2 | 3 | export default mockAxios 4 | -------------------------------------------------------------------------------- /client/src/assets/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/client/src/assets/head.png -------------------------------------------------------------------------------- /client/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/client/src/assets/logo.png -------------------------------------------------------------------------------- /server/src/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/server/src/public/favicon.ico -------------------------------------------------------------------------------- /client/src/assets/button-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/client/src/assets/button-add.png -------------------------------------------------------------------------------- /plugin/src/components/Field/components/Input/index.tsx: -------------------------------------------------------------------------------- 1 | import { Input } from 'antd' 2 | 3 | export default Input 4 | -------------------------------------------------------------------------------- /plugin/src/components/Card/index.less: -------------------------------------------------------------------------------- 1 | .ht-card-extra-button + .ht-card-extra-button { 2 | margin-left: 8px; 3 | } 4 | -------------------------------------------------------------------------------- /plugin/src/components/ModalForm/index.less: -------------------------------------------------------------------------------- 1 | .ht-modal-trigger-btn+.ht-modal-trigger-btn { 2 | margin-left: 8px; 3 | } 4 | -------------------------------------------------------------------------------- /plugin/site/theme/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LianjiaTech/hetu/HEAD/plugin/site/theme/static/favicon.ico -------------------------------------------------------------------------------- /client/src/routes/Home/Layout/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Basic } from './Basic' 2 | export { default as Blank } from './Blank' 3 | -------------------------------------------------------------------------------- /plugin/src/components/Field/components/Text/index.less: -------------------------------------------------------------------------------- 1 | .ht-text-jsonEditor { 2 | border: none; 3 | padding: 10px 2px; 4 | } 5 | -------------------------------------------------------------------------------- /plugin/site/theme/style/core/index.less: -------------------------------------------------------------------------------- 1 | @import '../mixins/index'; 2 | @import 'base'; 3 | @import 'iconfont'; 4 | @import 'motion'; 5 | -------------------------------------------------------------------------------- /plugin/src/components/Field/components/InputNumber/index.tsx: -------------------------------------------------------------------------------- 1 | import { InputNumber } from 'antd' 2 | 3 | export default InputNumber 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 240, 3 | "tabWidth": 2, 4 | "semi": false, 5 | "singleQuote": true, 6 | "trailingComma": "all" 7 | } 8 | -------------------------------------------------------------------------------- /plugin/src/components/BChart/index.less: -------------------------------------------------------------------------------- 1 | .ht-bchart-title { 2 | font-size: 16px; 3 | letter-spacing: 5px; 4 | text-align: center; 5 | } 6 | -------------------------------------------------------------------------------- /client/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 240, 3 | "tabWidth": 2, 4 | "semi": false, 5 | "singleQuote": true, 6 | "trailingComma": "all" 7 | } 8 | -------------------------------------------------------------------------------- /plugin/src/utils/events.ts: -------------------------------------------------------------------------------- 1 | import mitt from 'mitt' 2 | 3 | export let EventHandlerMap = {} 4 | 5 | export const emitter = mitt(EventHandlerMap) 6 | -------------------------------------------------------------------------------- /server/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "tabWidth": 2, 4 | "semi": false, 5 | "singleQuote": true, 6 | "trailingComma": "all" 7 | } 8 | -------------------------------------------------------------------------------- /client/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "parserOptions": { 4 | "ecmaFeatures": { 5 | "legacyDecorators": true 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /client/src/components/Iframe/index.less: -------------------------------------------------------------------------------- 1 | .base-iframe { 2 | display: block; 3 | width: 100%; 4 | height: 100%; 5 | overflow: hidden; 6 | border: 0; 7 | } 8 | -------------------------------------------------------------------------------- /plugin/site/docs/editor/_04-json-actions.md_: -------------------------------------------------------------------------------- 1 | --- 2 | category: 底层概念 3 | order: 3 4 | title: actions 5 | subtitle: actions 6 | --- 7 | 8 | ...待完善 9 | 10 | -------------------------------------------------------------------------------- /plugin/src/components/Field/components/Checkbox/ModalAddOption/index.less: -------------------------------------------------------------------------------- 1 | .ht-add-option-modal { 2 | .ht-form-container { 3 | margin-top: 12px; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /plugin/site/theme/static/style.js: -------------------------------------------------------------------------------- 1 | import 'rc-drawer/assets/index.css' 2 | import 'docsearch.js/dist/cdn/docsearch.css' 3 | import './index.less' 4 | import 'hetu.css' 5 | -------------------------------------------------------------------------------- /plugin/src/components/Field/components/JsonEditor/index.less: -------------------------------------------------------------------------------- 1 | .ht-json-editor { 2 | padding: 10px 2px; 3 | border: 1px solid #d9d9d9; 4 | border-radius: 4px; 5 | } 6 | -------------------------------------------------------------------------------- /server/src/controller/api/base.ts: -------------------------------------------------------------------------------- 1 | import Base from '~/src/controller/proxy/base' 2 | 3 | class BaseController extends Base {} 4 | 5 | export default BaseController 6 | -------------------------------------------------------------------------------- /client/src/components/JsonEditor/index.less: -------------------------------------------------------------------------------- 1 | .ht-json-editor { 2 | padding: 10px 2px; 3 | border: 1px solid #d9d9d9; 4 | border-radius: 4px; 5 | height: 100%; 6 | } 7 | -------------------------------------------------------------------------------- /plugin/site/theme/template/BrowserFrame.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default ({ children }) =>
11 | 你要找的页面不存在 12 | 13 | 返回首页 14 | 15 |
16 |