From 450c232c0a48d26864b0b7e846799c31da80d89c Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Tue, 20 Apr 2021 14:49:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20export=20=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=EF=BC=8C=E6=B7=BB=E5=8A=A0=20crud=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/crud.code-snippets | 2 +- package.json | 3 +- src/cool/index.ts | 4 + .../modules/base/components/dept/tree.vue | 2 +- .../modules/base/components/process/index.vue | 2 +- src/cool/modules/base/views/log.vue | 2 +- src/cool/modules/base/views/menu.vue | 2 +- src/cool/modules/base/views/param.vue | 2 +- src/cool/modules/base/views/plugin.vue | 2 +- src/cool/modules/base/views/role.vue | 2 +- src/cool/modules/base/views/user.vue | 2 +- src/cool/modules/chat/components/session.vue | 2 +- src/cool/modules/crud/components/add-btn.tsx | 30 - src/cool/modules/crud/components/adv-btn.tsx | 30 - .../modules/crud/components/adv-search.tsx | 283 --------- .../components/context-menu/context-menu.tsx | 216 ------- .../crud/components/context-menu/index.ts | 16 - src/cool/modules/crud/components/crud/app.ts | 53 -- .../modules/crud/components/crud/helper.ts | 205 ------ .../modules/crud/components/crud/index.tsx | 120 ---- .../modules/crud/components/dialog/helper.ts | 139 ---- .../modules/crud/components/dialog/index.tsx | 296 --------- .../modules/crud/components/error-message.tsx | 15 - src/cool/modules/crud/components/filter.tsx | 21 - src/cool/modules/crud/components/flex1.tsx | 11 - .../modules/crud/components/form-tabs.tsx | 119 ---- .../modules/crud/components/form/helper.tsx | 131 ---- .../modules/crud/components/form/index.tsx | 517 --------------- src/cool/modules/crud/components/index.tsx | 39 -- .../crud/components/multi-delete-btn.tsx | 26 - .../modules/crud/components/pagination.tsx | 84 --- src/cool/modules/crud/components/query.tsx | 118 ---- .../modules/crud/components/refresh-btn.tsx | 23 - .../modules/crud/components/search-key.tsx | 129 ---- .../modules/crud/components/table/helper.tsx | 67 -- .../modules/crud/components/table/index.tsx | 543 ---------------- .../modules/crud/components/upsert/helper.tsx | 26 - .../modules/crud/components/upsert/index.tsx | 293 --------- src/cool/modules/crud/hooks/core.ts | 41 -- src/cool/modules/crud/hooks/form.ts | 74 --- src/cool/modules/crud/index.ts | 58 -- src/cool/modules/crud/static/index.scss | 596 ------------------ src/cool/modules/crud/types/adv-search.d.ts | 3 - src/cool/modules/crud/types/browser.d.ts | 4 - src/cool/modules/crud/types/context-menu.d.ts | 15 - src/cool/modules/crud/types/crud.d.ts | 108 ---- src/cool/modules/crud/types/form.d.ts | 84 --- src/cool/modules/crud/types/hook.ts | 14 - src/cool/modules/crud/types/index.d.ts | 10 - src/cool/modules/crud/types/op.d.ts | 111 ---- src/cool/modules/crud/types/query.d.ts | 4 - src/cool/modules/crud/types/render.d.ts | 12 - src/cool/modules/crud/types/table.d.ts | 66 -- src/cool/modules/crud/types/upsert.d.ts | 7 - src/cool/modules/crud/utils/index.ts | 115 ---- src/cool/modules/crud/utils/mitt.ts | 29 - src/cool/modules/crud/utils/parse.ts | 33 - src/cool/modules/crud/utils/vnode.tsx | 153 ----- .../demo/components/crud/adv-search.vue | 2 +- .../demo/components/crud/context-menu.vue | 2 +- .../modules/demo/components/crud/form.vue | 2 +- .../modules/demo/components/crud/query.vue | 2 +- .../modules/demo/components/crud/table.vue | 2 +- .../modules/demo/components/crud/upsert.vue | 2 +- src/cool/modules/demo/views/crud.vue | 2 +- src/cool/modules/task/views/task.vue | 2 +- .../upload/components/space/category.vue | 4 +- .../upload/components/space/file-item.vue | 2 +- src/shims-vue.d.ts | 11 + yarn.lock | 30 +- 70 files changed, 66 insertions(+), 5111 deletions(-) delete mode 100644 src/cool/modules/crud/components/add-btn.tsx delete mode 100644 src/cool/modules/crud/components/adv-btn.tsx delete mode 100644 src/cool/modules/crud/components/adv-search.tsx delete mode 100644 src/cool/modules/crud/components/context-menu/context-menu.tsx delete mode 100644 src/cool/modules/crud/components/context-menu/index.ts delete mode 100644 src/cool/modules/crud/components/crud/app.ts delete mode 100644 src/cool/modules/crud/components/crud/helper.ts delete mode 100644 src/cool/modules/crud/components/crud/index.tsx delete mode 100644 src/cool/modules/crud/components/dialog/helper.ts delete mode 100644 src/cool/modules/crud/components/dialog/index.tsx delete mode 100644 src/cool/modules/crud/components/error-message.tsx delete mode 100644 src/cool/modules/crud/components/filter.tsx delete mode 100644 src/cool/modules/crud/components/flex1.tsx delete mode 100644 src/cool/modules/crud/components/form-tabs.tsx delete mode 100644 src/cool/modules/crud/components/form/helper.tsx delete mode 100644 src/cool/modules/crud/components/form/index.tsx delete mode 100644 src/cool/modules/crud/components/index.tsx delete mode 100644 src/cool/modules/crud/components/multi-delete-btn.tsx delete mode 100644 src/cool/modules/crud/components/pagination.tsx delete mode 100644 src/cool/modules/crud/components/query.tsx delete mode 100644 src/cool/modules/crud/components/refresh-btn.tsx delete mode 100644 src/cool/modules/crud/components/search-key.tsx delete mode 100644 src/cool/modules/crud/components/table/helper.tsx delete mode 100644 src/cool/modules/crud/components/table/index.tsx delete mode 100644 src/cool/modules/crud/components/upsert/helper.tsx delete mode 100644 src/cool/modules/crud/components/upsert/index.tsx delete mode 100644 src/cool/modules/crud/hooks/core.ts delete mode 100644 src/cool/modules/crud/hooks/form.ts delete mode 100644 src/cool/modules/crud/index.ts delete mode 100644 src/cool/modules/crud/static/index.scss delete mode 100644 src/cool/modules/crud/types/adv-search.d.ts delete mode 100644 src/cool/modules/crud/types/browser.d.ts delete mode 100644 src/cool/modules/crud/types/context-menu.d.ts delete mode 100644 src/cool/modules/crud/types/crud.d.ts delete mode 100644 src/cool/modules/crud/types/form.d.ts delete mode 100644 src/cool/modules/crud/types/hook.ts delete mode 100644 src/cool/modules/crud/types/index.d.ts delete mode 100644 src/cool/modules/crud/types/op.d.ts delete mode 100644 src/cool/modules/crud/types/query.d.ts delete mode 100644 src/cool/modules/crud/types/render.d.ts delete mode 100644 src/cool/modules/crud/types/table.d.ts delete mode 100644 src/cool/modules/crud/types/upsert.d.ts delete mode 100644 src/cool/modules/crud/utils/index.ts delete mode 100644 src/cool/modules/crud/utils/mitt.ts delete mode 100644 src/cool/modules/crud/utils/parse.ts delete mode 100644 src/cool/modules/crud/utils/vnode.tsx diff --git a/.vscode/crud.code-snippets b/.vscode/crud.code-snippets index 360a9f8..9bd0526 100644 --- a/.vscode/crud.code-snippets +++ b/.vscode/crud.code-snippets @@ -34,7 +34,7 @@ "", "