From cfe5e60fa7f63229bf74794772c72b6a53a88e61 Mon Sep 17 00:00:00 2001 From: shao_junye Date: Mon, 11 Dec 2023 10:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86module=E5=90=8D=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BAlibrary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shao_junye --- README.md | 2 +- build-profile.json5 | 4 ++-- entry/oh-package.json5 | 2 +- {vlayout => library}/.gitignore | 0 {vlayout => library}/build-profile.json5 | 0 {vlayout => library}/hvigorfile.ts | 0 {vlayout => library}/index.ets | 0 {vlayout => library}/oh-package.json5 | 0 .../src/main/ets/components/common/BannerLayoutHelper.ets | 0 .../src/main/ets/components/common/ColumnLayoutHelper.ets | 0 .../src/main/ets/components/common/DefaultLayoutHelper.ets | 0 .../src/main/ets/components/common/FixLayoutHelper.ets | 0 .../src/main/ets/components/common/FloatLayoutHelper.ets | 0 .../src/main/ets/components/common/GridLayoutHelper.ets | 0 .../src/main/ets/components/common/JumpBar.ets | 0 .../src/main/ets/components/common/LinearLayoutHelper.ets | 0 .../src/main/ets/components/common/OnePlusNLayoutHelper.ets | 0 .../src/main/ets/components/common/OnePlusNLayoutHelperEx.ets | 0 .../src/main/ets/components/common/RangeGridLayoutHelper.ets | 0 .../src/main/ets/components/common/ScrollFixLayoutHelper.ets | 0 .../src/main/ets/components/common/SingleLayoutHelper.ets | 0 .../main/ets/components/common/StaggeredGridLayoutHelper.ets | 0 .../src/main/ets/components/common/StickyLayoutHelper.ets | 0 .../src/main/ets/components/core/VLayoutAttributes.ets | 0 {vlayout => library}/src/main/module.json5 | 4 ++-- .../src/main/resources/base/element/string.json | 0 .../src/main/resources/en_US/element/string.json | 0 .../src/main/resources/zh_CN/element/string.json | 0 ...73\266\344\275\277\347\224\250\345\243\260\346\230\216.md" | 0 29 files changed, 6 insertions(+), 6 deletions(-) rename {vlayout => library}/.gitignore (100%) rename {vlayout => library}/build-profile.json5 (100%) rename {vlayout => library}/hvigorfile.ts (100%) rename {vlayout => library}/index.ets (100%) rename {vlayout => library}/oh-package.json5 (100%) rename {vlayout => library}/src/main/ets/components/common/BannerLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/ColumnLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/DefaultLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/FixLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/FloatLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/GridLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/JumpBar.ets (100%) rename {vlayout => library}/src/main/ets/components/common/LinearLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/OnePlusNLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/OnePlusNLayoutHelperEx.ets (100%) rename {vlayout => library}/src/main/ets/components/common/RangeGridLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/ScrollFixLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/SingleLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/StaggeredGridLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/common/StickyLayoutHelper.ets (100%) rename {vlayout => library}/src/main/ets/components/core/VLayoutAttributes.ets (100%) rename {vlayout => library}/src/main/module.json5 (79%) rename {vlayout => library}/src/main/resources/base/element/string.json (100%) rename {vlayout => library}/src/main/resources/en_US/element/string.json (100%) rename {vlayout => library}/src/main/resources/zh_CN/element/string.json (100%) rename "vlayout/\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\344\275\277\347\224\250\345\243\260\346\230\216.md" => "library/\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\344\275\277\347\224\250\345\243\260\346\230\216.md" (100%) diff --git a/README.md b/README.md index 98028f3..bbc7a25 100644 --- a/README.md +++ b/README.md @@ -1055,7 +1055,7 @@ build() { ``` |---- vlayout | |---- entry # 示例代码文件夹 -| |---- vlayout # vlayout库文件夹 +| |---- library # vlayout库文件夹 | |---- index.ets # 对外接口 | |---- src | |---- main diff --git a/build-profile.json5 b/build-profile.json5 index 0276dbd..f0668ed 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -34,8 +34,8 @@ ] }, { - "name": "vlayout", - "srcPath": "./vlayout" + "name": "library", + "srcPath": "./library" } ] } \ No newline at end of file diff --git a/entry/oh-package.json5 b/entry/oh-package.json5 index e1925ed..a931f96 100644 --- a/entry/oh-package.json5 +++ b/entry/oh-package.json5 @@ -7,6 +7,6 @@ "main": "", "version": "2.0.0", "dependencies": { - "@ohos/vlayout": "file:../vlayout" + "@ohos/vlayout": "file:../library" } } diff --git a/vlayout/.gitignore b/library/.gitignore similarity index 100% rename from vlayout/.gitignore rename to library/.gitignore diff --git a/vlayout/build-profile.json5 b/library/build-profile.json5 similarity index 100% rename from vlayout/build-profile.json5 rename to library/build-profile.json5 diff --git a/vlayout/hvigorfile.ts b/library/hvigorfile.ts similarity index 100% rename from vlayout/hvigorfile.ts rename to library/hvigorfile.ts diff --git a/vlayout/index.ets b/library/index.ets similarity index 100% rename from vlayout/index.ets rename to library/index.ets diff --git a/vlayout/oh-package.json5 b/library/oh-package.json5 similarity index 100% rename from vlayout/oh-package.json5 rename to library/oh-package.json5 diff --git a/vlayout/src/main/ets/components/common/BannerLayoutHelper.ets b/library/src/main/ets/components/common/BannerLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/BannerLayoutHelper.ets rename to library/src/main/ets/components/common/BannerLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/ColumnLayoutHelper.ets b/library/src/main/ets/components/common/ColumnLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/ColumnLayoutHelper.ets rename to library/src/main/ets/components/common/ColumnLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/DefaultLayoutHelper.ets b/library/src/main/ets/components/common/DefaultLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/DefaultLayoutHelper.ets rename to library/src/main/ets/components/common/DefaultLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/FixLayoutHelper.ets b/library/src/main/ets/components/common/FixLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/FixLayoutHelper.ets rename to library/src/main/ets/components/common/FixLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/FloatLayoutHelper.ets b/library/src/main/ets/components/common/FloatLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/FloatLayoutHelper.ets rename to library/src/main/ets/components/common/FloatLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/GridLayoutHelper.ets b/library/src/main/ets/components/common/GridLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/GridLayoutHelper.ets rename to library/src/main/ets/components/common/GridLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/JumpBar.ets b/library/src/main/ets/components/common/JumpBar.ets similarity index 100% rename from vlayout/src/main/ets/components/common/JumpBar.ets rename to library/src/main/ets/components/common/JumpBar.ets diff --git a/vlayout/src/main/ets/components/common/LinearLayoutHelper.ets b/library/src/main/ets/components/common/LinearLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/LinearLayoutHelper.ets rename to library/src/main/ets/components/common/LinearLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/OnePlusNLayoutHelper.ets b/library/src/main/ets/components/common/OnePlusNLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/OnePlusNLayoutHelper.ets rename to library/src/main/ets/components/common/OnePlusNLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/OnePlusNLayoutHelperEx.ets b/library/src/main/ets/components/common/OnePlusNLayoutHelperEx.ets similarity index 100% rename from vlayout/src/main/ets/components/common/OnePlusNLayoutHelperEx.ets rename to library/src/main/ets/components/common/OnePlusNLayoutHelperEx.ets diff --git a/vlayout/src/main/ets/components/common/RangeGridLayoutHelper.ets b/library/src/main/ets/components/common/RangeGridLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/RangeGridLayoutHelper.ets rename to library/src/main/ets/components/common/RangeGridLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/ScrollFixLayoutHelper.ets b/library/src/main/ets/components/common/ScrollFixLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/ScrollFixLayoutHelper.ets rename to library/src/main/ets/components/common/ScrollFixLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/SingleLayoutHelper.ets b/library/src/main/ets/components/common/SingleLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/SingleLayoutHelper.ets rename to library/src/main/ets/components/common/SingleLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/StaggeredGridLayoutHelper.ets b/library/src/main/ets/components/common/StaggeredGridLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/StaggeredGridLayoutHelper.ets rename to library/src/main/ets/components/common/StaggeredGridLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/common/StickyLayoutHelper.ets b/library/src/main/ets/components/common/StickyLayoutHelper.ets similarity index 100% rename from vlayout/src/main/ets/components/common/StickyLayoutHelper.ets rename to library/src/main/ets/components/common/StickyLayoutHelper.ets diff --git a/vlayout/src/main/ets/components/core/VLayoutAttributes.ets b/library/src/main/ets/components/core/VLayoutAttributes.ets similarity index 100% rename from vlayout/src/main/ets/components/core/VLayoutAttributes.ets rename to library/src/main/ets/components/core/VLayoutAttributes.ets diff --git a/vlayout/src/main/module.json5 b/library/src/main/module.json5 similarity index 79% rename from vlayout/src/main/module.json5 rename to library/src/main/module.json5 index 34e0ea4..0204bcb 100644 --- a/vlayout/src/main/module.json5 +++ b/library/src/main/module.json5 @@ -1,10 +1,10 @@ { "module": { - "name": "vlayout", + "name": "library", "type": "har", "deviceTypes": [ "default", "tablet" ] } -} +} \ No newline at end of file diff --git a/vlayout/src/main/resources/base/element/string.json b/library/src/main/resources/base/element/string.json similarity index 100% rename from vlayout/src/main/resources/base/element/string.json rename to library/src/main/resources/base/element/string.json diff --git a/vlayout/src/main/resources/en_US/element/string.json b/library/src/main/resources/en_US/element/string.json similarity index 100% rename from vlayout/src/main/resources/en_US/element/string.json rename to library/src/main/resources/en_US/element/string.json diff --git a/vlayout/src/main/resources/zh_CN/element/string.json b/library/src/main/resources/zh_CN/element/string.json similarity index 100% rename from vlayout/src/main/resources/zh_CN/element/string.json rename to library/src/main/resources/zh_CN/element/string.json diff --git "a/vlayout/\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\344\275\277\347\224\250\345\243\260\346\230\216.md" "b/library/\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\344\275\277\347\224\250\345\243\260\346\230\216.md" similarity index 100% rename from "vlayout/\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\344\275\277\347\224\250\345\243\260\346\230\216.md" rename to "library/\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\344\275\277\347\224\250\345\243\260\346\230\216.md" -- Gitee