From a8dfab24f299839c56370208ad89a086dd93bd01 Mon Sep 17 00:00:00 2001 From: OpenTiny Date: Wed, 19 Apr 2023 15:21:10 +0800 Subject: [PATCH 1/3] update Match-id-eb3d1923598df96b26ae360ae3be3626d86e6af3 --- CHANGELOG.md | 6 +- README-zh_CN.md | 2 +- README.md | 2 +- src/accordion/lib/package.json | 8 +- src/actionmenu/lib/package.json | 12 +- src/alert/lib/package.json | 10 +- src/anchor/lib/package.json | 4 +- src/autocomplete/lib/package.json | 10 +- src/avatar/lib/package.json | 6 +- src/base/lib/package.json | 4 +- src/button/lib/package.json | 8 +- src/buttongroup/lib/package.json | 12 +- src/buttonselect/lib/package.json | 10 +- src/card/lib/package.json | 6 +- src/cascader/lib/package.json | 16 +- src/checkbox/lib/package.json | 10 +- src/collapse/lib/package.json | 4 +- src/collapsebox/lib/package.json | 10 +- src/collapsebutton/lib/package.json | 10 +- src/collapsetext/lib/package.json | 2 +- src/copy/lib/package.json | 14 +- src/crumb/lib/package.json | 4 +- .../src/app/date/DateCustomizeComponent.ts | 4 +- src/date/lib/package.json | 20 +- src/datebase/lib/package.json | 18 +- src/datedominator/lib/package.json | 10 +- src/dateedit/lib/package.json | 10 +- src/datepanel/lib/package.json | 16 +- .../daterange/DaterangeCustomizeComponent.ts | 6 +- src/daterange/lib/package.json | 20 +- .../datetime/DatetimeCustomizeComponent.ts | 2 +- src/datetime/lib/package.json | 26 +-- src/datetimerange/lib/package.json | 26 +-- src/dominator/lib/package.json | 14 +- src/drag/lib/package.json | 6 +- src/drop/lib/package.json | 6 +- src/droplist/lib/package.json | 12 +- src/dropsearch/lib/package.json | 16 +- src/foldtext/lib/package.json | 10 +- src/formfield/lib/package.json | 10 +- src/grid/lib/package.json | 2 +- src/guides/lib/package.json | 8 +- src/guidesteps/lib/package.json | 4 +- src/halfmodal/lib/package.json | 12 +- src/icon/lib/package.json | 7 +- src/iconaction/lib/package.json | 6 +- src/imagepreview/lib/package.json | 10 +- src/include/lib/package.json | 4 +- src/inputnumber/lib/package.json | 6 +- src/intro/lib/package.json | 18 +- src/ip/lib/package.json | 8 +- src/ipsection/lib/package.json | 10 +- src/labeleditor/lib/package.json | 20 +- src/layout/lib/package.json | 2 +- src/leftmenu/lib/package.json | 12 +- src/linkbutton/lib/package.json | 6 +- src/list/lib/package.json | 14 +- src/loading/lib/package.json | 8 +- src/locale/lib/package.json | 4 +- src/menu/lib/package.json | 12 +- src/message/lib/package.json | 14 +- src/modal/lib/package.json | 16 +- src/nav/lib/package.json | 2 +- src/ng/demo/src/webdoc/introduce.md | 2 +- src/ng/lib/package.json | 204 +++++++++--------- src/notification/lib/package.json | 11 +- src/outline/lib/package.json | 2 +- src/overflow/lib/package.json | 8 +- src/pagination/lib/package.json | 18 +- src/path/lib/package.json | 16 +- src/phonenumber/lib/package.json | 14 +- src/popconfirm/lib/package.json | 14 +- src/popup/lib/package.json | 4 +- src/productpreview/lib/package.json | 14 +- src/progressbar/lib/package.json | 4 +- src/progresspie/lib/package.json | 2 +- src/radio/lib/package.json | 8 +- src/rate/lib/package.json | 6 +- src/renderer/lib/package.json | 2 +- src/rights/lib/package.json | 10 +- src/score/lib/package.json | 8 +- src/scroll/lib/package.json | 4 +- src/searchbox/lib/package.json | 18 +- src/select/lib/package.json | 16 +- src/selectgroup/lib/package.json | 8 +- src/skeleton/lib/package.json | 2 +- src/slider/lib/package.json | 12 +- src/spinner/lib/package.json | 16 +- src/steps/lib/package.json | 12 +- src/subtitle/lib/package.json | 16 +- src/swiper/lib/package.json | 8 +- src/switch/lib/package.json | 4 +- src/tab/lib/package.json | 14 +- src/table/lib/package.json | 38 ++-- src/tag/lib/package.json | 8 +- src/tagsinput/lib/package.json | 12 +- src/text/lib/package.json | 8 +- src/textarea/lib/package.json | 10 +- src/themes/package.json | 2 +- src/time/lib/package.json | 18 +- src/timeline/lib/package.json | 10 +- src/tip/lib/package.json | 8 +- src/transfer/lib/package.json | 26 +-- src/tree/lib/package.json | 20 +- src/treeselect/lib/package.json | 22 +- src/upload/lib/package.json | 28 +-- src/utils/lib/package.json | 2 +- src/utils/lib/src/TiBrowser.ts | 2 +- src/validation/lib/package.json | 18 +- src/zoom/lib/package.json | 4 +- 110 files changed, 659 insertions(+), 661 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2886190..436a696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,8 @@ title: 更新日志 | TinyNG ## 更新日志 -### 14.0.0 +### 1.0.0-beta.1 -*2022-11-15* +*2023-04-19* -1. Initial version +1. Latest version diff --git a/README-zh_CN.md b/README-zh_CN.md index 1adb63e..ce9045d 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -26,7 +26,7 @@ TinyNG ## 支持环境 -* Angular `^14.0.0` +* Angular `>=13.0.0` * 现代浏览器 | Edge | Firefox | Chrome | Safari | diff --git a/README.md b/README.md index b4920b8..aefc389 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ English | [简体中文](README-zh_CN.md) ## Environment Support -* Angular `^14.0.0` +* Angular `>=13.0.0` * Modern browsers | Edge | Firefox | Chrome | Safari | diff --git a/src/accordion/lib/package.json b/src/accordion/lib/package.json index 373d599..71c4aea 100644 --- a/src/accordion/lib/package.json +++ b/src/accordion/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-accordion", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/animations": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0" + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/actionmenu/lib/package.json b/src/actionmenu/lib/package.json index 11cad73..a824069 100644 --- a/src/actionmenu/lib/package.json +++ b/src/actionmenu/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-actionmenu", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-menu": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-menu": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-popconfirm": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-popconfirm": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/alert/lib/package.json b/src/alert/lib/package.json index ec0436c..d991a25 100644 --- a/src/alert/lib/package.json +++ b/src/alert/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-alert", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", "@angular/animations": ">=13.0.0" } } \ No newline at end of file diff --git a/src/anchor/lib/package.json b/src/anchor/lib/package.json index 2c4a305..48cdbff 100644 --- a/src/anchor/lib/package.json +++ b/src/anchor/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-anchor", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/autocomplete/lib/package.json b/src/autocomplete/lib/package.json index bac605b..00bfec5 100644 --- a/src/autocomplete/lib/package.json +++ b/src/autocomplete/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-autocomplete", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0" } diff --git a/src/avatar/lib/package.json b/src/avatar/lib/package.json index b1f54bd..7037dcf 100644 --- a/src/avatar/lib/package.json +++ b/src/avatar/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-avatar", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/base/lib/package.json b/src/base/lib/package.json index 4e3f94b..9ca7a84 100644 --- a/src/base/lib/package.json +++ b/src/base/lib/package.json @@ -1,9 +1,9 @@ { "name": "@opentiny/ng-base", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0" } diff --git a/src/button/lib/package.json b/src/button/lib/package.json index 55a6ac7..0f1eeeb 100644 --- a/src/button/lib/package.json +++ b/src/button/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-button", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-loading": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-loading": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/buttongroup/lib/package.json b/src/buttongroup/lib/package.json index 723297a..ad31d36 100644 --- a/src/buttongroup/lib/package.json +++ b/src/buttongroup/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-buttongroup", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/buttonselect/lib/package.json b/src/buttonselect/lib/package.json index df71393..60d93f5 100644 --- a/src/buttonselect/lib/package.json +++ b/src/buttonselect/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-buttonselect", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/card/lib/package.json b/src/card/lib/package.json index 49b15c3..ccb0933 100644 --- a/src/card/lib/package.json +++ b/src/card/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-card", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/cascader/lib/package.json b/src/cascader/lib/package.json index 15c5a60..abb4798 100644 --- a/src/cascader/lib/package.json +++ b/src/cascader/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-cascader", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-dominator": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", + "@opentiny/ng-dominator": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/checkbox/lib/package.json b/src/checkbox/lib/package.json index 2868d81..79da779 100644 --- a/src/checkbox/lib/package.json +++ b/src/checkbox/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-checkbox", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/collapse/lib/package.json b/src/collapse/lib/package.json index 6487d00..e567aca 100644 --- a/src/collapse/lib/package.json +++ b/src/collapse/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-collapse", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/animations": ">=13.0.0", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/collapsebox/lib/package.json b/src/collapsebox/lib/package.json index acee3d4..d05c9d6 100644 --- a/src/collapsebox/lib/package.json +++ b/src/collapsebox/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-collapsebox", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-collapse": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-collapse": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/collapsebutton/lib/package.json b/src/collapsebutton/lib/package.json index 3473f5d..75ec726 100644 --- a/src/collapsebutton/lib/package.json +++ b/src/collapsebutton/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-collapsebutton", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/collapsetext/lib/package.json b/src/collapsetext/lib/package.json index e7bce86..3e44d51 100644 --- a/src/collapsetext/lib/package.json +++ b/src/collapsetext/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-collapsetext", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0" diff --git a/src/copy/lib/package.json b/src/copy/lib/package.json index 4a81713..0fd66f3 100644 --- a/src/copy/lib/package.json +++ b/src/copy/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-copy", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-popup": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-popup": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0" + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/crumb/lib/package.json b/src/crumb/lib/package.json index 26d8506..c66e827 100644 --- a/src/crumb/lib/package.json +++ b/src/crumb/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-crumb", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/router": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/date/demo/src/app/date/DateCustomizeComponent.ts b/src/date/demo/src/app/date/DateCustomizeComponent.ts index 30f78a2..675d84c 100644 --- a/src/date/demo/src/app/date/DateCustomizeComponent.ts +++ b/src/date/demo/src/app/date/DateCustomizeComponent.ts @@ -14,7 +14,7 @@ export class DateCustomizeComponent { { label: '今天', value: { - begin: this.nowTime + begin: new Date(this.nowYear, this.nowMonth, this.nowDate) } }, { @@ -33,6 +33,6 @@ export class DateCustomizeComponent { myLogs: Array = []; onCustomizeOptionClick(model: Date): void { - this.myLogs = [...this.myLogs, `customizeOptionClick() model = ${JSON.stringify(model)}`]; + this.myLogs = [...this.myLogs, `customizeOptionClick() model = ${model}`]; } } diff --git a/src/date/lib/package.json b/src/date/lib/package.json index ceac4f5..541806e 100644 --- a/src/date/lib/package.json +++ b/src/date/lib/package.json @@ -1,19 +1,19 @@ { "name": "@opentiny/ng-date", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-datepanel": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.0", - "@opentiny/ng-dateedit": "~1.0.0-beta.0", - "@opentiny/ng-datebase": "~1.0.0-beta.0" + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-datepanel": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-datedominator": "~1.0.0-beta.1", + "@opentiny/ng-dateedit": "~1.0.0-beta.1", + "@opentiny/ng-datebase": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/datebase/lib/package.json b/src/datebase/lib/package.json index 3386ee2..ce92c9e 100644 --- a/src/datebase/lib/package.json +++ b/src/datebase/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-datebase", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-dateedit": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-datedominator": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-dateedit": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/datedominator/lib/package.json b/src/datedominator/lib/package.json index 08f1afe..126590c 100644 --- a/src/datedominator/lib/package.json +++ b/src/datedominator/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-datedominator", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/dateedit/lib/package.json b/src/dateedit/lib/package.json index a0b7d5c..70330f8 100644 --- a/src/dateedit/lib/package.json +++ b/src/dateedit/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-dateedit", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/datepanel/lib/package.json b/src/datepanel/lib/package.json index 32fac87..671ba03 100644 --- a/src/datepanel/lib/package.json +++ b/src/datepanel/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-datepanel", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-datebase": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-datebase": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/daterange/demo/src/app/daterange/DaterangeCustomizeComponent.ts b/src/daterange/demo/src/app/daterange/DaterangeCustomizeComponent.ts index bc2e014..7f69a61 100644 --- a/src/daterange/demo/src/app/daterange/DaterangeCustomizeComponent.ts +++ b/src/daterange/demo/src/app/daterange/DaterangeCustomizeComponent.ts @@ -18,21 +18,21 @@ export class DaterangeCustomizeComponent { label: '最近一周', value: { begin: new Date(this.nowYear, this.nowMonth, this.nowDate - 6), - end: this.nowTime + end: new Date(this.nowYear, this.nowMonth, this.nowDate, 23, 59, 59, 999) } }, { label: '最近一个月', value: { begin: new Date(this.nowYear, this.nowMonth - 1, this.nowDate), - end: this.nowTime + end: new Date(this.nowYear, this.nowMonth, this.nowDate, 23, 59, 59, 999) } }, { label: '最近三个月', value: { begin: new Date(this.nowYear, this.nowMonth - 3, this.nowDate), - end: this.nowTime + end: new Date(this.nowYear, this.nowMonth, this.nowDate, 23, 59, 59, 999) } } ]; diff --git a/src/daterange/lib/package.json b/src/daterange/lib/package.json index 27a9686..bd5d2db 100644 --- a/src/daterange/lib/package.json +++ b/src/daterange/lib/package.json @@ -1,19 +1,19 @@ { "name": "@opentiny/ng-daterange", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-datebase": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-datebase": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-datepanel": "~1.0.0-beta.0", - "@opentiny/ng-dateedit": "~1.0.0-beta.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.0" + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-datepanel": "~1.0.0-beta.1", + "@opentiny/ng-dateedit": "~1.0.0-beta.1", + "@opentiny/ng-datedominator": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/datetime/demo/src/app/datetime/DatetimeCustomizeComponent.ts b/src/datetime/demo/src/app/datetime/DatetimeCustomizeComponent.ts index 4fc2609..7c374b1 100644 --- a/src/datetime/demo/src/app/datetime/DatetimeCustomizeComponent.ts +++ b/src/datetime/demo/src/app/datetime/DatetimeCustomizeComponent.ts @@ -35,6 +35,6 @@ export class DatetimeCustomizeComponent { myLogs: Array = []; onCustomizeOptionClick(model: Date): void { - this.myLogs = [...this.myLogs, `customizeOptionClick() model = ${JSON.stringify(model)}`]; + this.myLogs = [...this.myLogs, `customizeOptionClick() model = ${model}`]; } } diff --git a/src/datetime/lib/package.json b/src/datetime/lib/package.json index 11b8f9a..de4b1bf 100644 --- a/src/datetime/lib/package.json +++ b/src/datetime/lib/package.json @@ -1,22 +1,22 @@ { "name": "@opentiny/ng-datetime", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-datebase": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-datebase": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-datepanel": "~1.0.0-beta.0", - "@opentiny/ng-dateedit": "~1.0.0-beta.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-time": "~1.0.0-beta.0", - "@opentiny/ng-select": "~1.0.0-beta.0" + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-datepanel": "~1.0.0-beta.1", + "@opentiny/ng-dateedit": "~1.0.0-beta.1", + "@opentiny/ng-datedominator": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-time": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/datetimerange/lib/package.json b/src/datetimerange/lib/package.json index a5c6eda..5c5dd06 100644 --- a/src/datetimerange/lib/package.json +++ b/src/datetimerange/lib/package.json @@ -1,22 +1,22 @@ { "name": "@opentiny/ng-datetimerange", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-datebase": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-datebase": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-datepanel": "~1.0.0-beta.0", - "@opentiny/ng-dateedit": "~1.0.0-beta.0", - "@opentiny/ng-time": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.0", - "@opentiny/ng-select": "~1.0.0-beta.0" + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-datepanel": "~1.0.0-beta.1", + "@opentiny/ng-dateedit": "~1.0.0-beta.1", + "@opentiny/ng-time": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-datedominator": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/dominator/lib/package.json b/src/dominator/lib/package.json index b1c682d..38c65eb 100644 --- a/src/dominator/lib/package.json +++ b/src/dominator/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-dominator", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-tag": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-tag": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/drag/lib/package.json b/src/drag/lib/package.json index d1e76a8..8bba60b 100644 --- a/src/drag/lib/package.json +++ b/src/drag/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-drag", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/drop/lib/package.json b/src/drop/lib/package.json index 76aa470..bfb4920 100644 --- a/src/drop/lib/package.json +++ b/src/drop/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-drop", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0" } diff --git a/src/droplist/lib/package.json b/src/droplist/lib/package.json index 983c21f..cc990c6 100644 --- a/src/droplist/lib/package.json +++ b/src/droplist/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-droplist", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/dropsearch/lib/package.json b/src/dropsearch/lib/package.json index f8c7085..328299f 100644 --- a/src/dropsearch/lib/package.json +++ b/src/dropsearch/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-dropsearch", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-searchbox": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-searchbox": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-droplist": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/foldtext/lib/package.json b/src/foldtext/lib/package.json index 35eb03f..c766197 100644 --- a/src/foldtext/lib/package.json +++ b/src/foldtext/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-foldtext", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/formfield/lib/package.json b/src/formfield/lib/package.json index a33c374..36f90d0 100644 --- a/src/formfield/lib/package.json +++ b/src/formfield/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-formfield", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-include": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0" + "@opentiny/ng-include": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/grid/lib/package.json b/src/grid/lib/package.json index 98c3450..036c15a 100644 --- a/src/grid/lib/package.json +++ b/src/grid/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-grid", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0" diff --git a/src/guides/lib/package.json b/src/guides/lib/package.json index 98a2ced..4945451 100644 --- a/src/guides/lib/package.json +++ b/src/guides/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-guides", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/guidesteps/lib/package.json b/src/guidesteps/lib/package.json index 613df4a..959f916 100644 --- a/src/guidesteps/lib/package.json +++ b/src/guidesteps/lib/package.json @@ -1,9 +1,9 @@ { "name": "@opentiny/ng-guidesteps", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0" } } \ No newline at end of file diff --git a/src/halfmodal/lib/package.json b/src/halfmodal/lib/package.json index b4ae957..0885b0d 100644 --- a/src/halfmodal/lib/package.json +++ b/src/halfmodal/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-halfmodal", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/animations": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-popup": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0" + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-popup": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/icon/lib/package.json b/src/icon/lib/package.json index 433ce1f..3ebd4fd 100644 --- a/src/icon/lib/package.json +++ b/src/icon/lib/package.json @@ -1,12 +1,11 @@ { "name": "@opentiny/ng-icon", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@angular/common/http": ">=13.0.0" + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/iconaction/lib/package.json b/src/iconaction/lib/package.json index 7242a95..3d5b299 100644 --- a/src/iconaction/lib/package.json +++ b/src/iconaction/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-iconaction", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/imagepreview/lib/package.json b/src/imagepreview/lib/package.json index 2467bff..6712396 100644 --- a/src/imagepreview/lib/package.json +++ b/src/imagepreview/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-imagepreview", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/platform-browser": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-modal": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-modal": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/include/lib/package.json b/src/include/lib/package.json index 78e3594..40430ea 100644 --- a/src/include/lib/package.json +++ b/src/include/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-include", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/inputnumber/lib/package.json b/src/inputnumber/lib/package.json index 3f0f99d..13733ec 100644 --- a/src/inputnumber/lib/package.json +++ b/src/inputnumber/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-inputnumber", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/intro/lib/package.json b/src/intro/lib/package.json index 54cd9c8..b0c87e0 100644 --- a/src/intro/lib/package.json +++ b/src/intro/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-intro", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-modal": "~1.0.0-beta.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-modal": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/ip/lib/package.json b/src/ip/lib/package.json index 2adba1d..41329c7 100644 --- a/src/ip/lib/package.json +++ b/src/ip/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-ip", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/forms": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/ipsection/lib/package.json b/src/ipsection/lib/package.json index 9867542..e54c95a 100644 --- a/src/ipsection/lib/package.json +++ b/src/ipsection/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-ipsection", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-validation": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-validation": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-select": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0" + "@opentiny/ng-select": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/labeleditor/lib/package.json b/src/labeleditor/lib/package.json index cd219b9..221712f 100644 --- a/src/labeleditor/lib/package.json +++ b/src/labeleditor/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-labeleditor", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/forms": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-validation": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-textarea": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-validation": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-textarea": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/layout/lib/package.json b/src/layout/lib/package.json index b0fa160..5c11a82 100644 --- a/src/layout/lib/package.json +++ b/src/layout/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-layout", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/leftmenu/lib/package.json b/src/leftmenu/lib/package.json index 9efac38..fdf3be9 100644 --- a/src/leftmenu/lib/package.json +++ b/src/leftmenu/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-leftmenu", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/router": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/platform-browser": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/linkbutton/lib/package.json b/src/linkbutton/lib/package.json index e119863..aa29bfe 100644 --- a/src/linkbutton/lib/package.json +++ b/src/linkbutton/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-linkbutton", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/list/lib/package.json b/src/list/lib/package.json index f59bd12..b75bdc9 100644 --- a/src/list/lib/package.json +++ b/src/list/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-list", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/cdk": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-loading": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-loading": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/loading/lib/package.json b/src/loading/lib/package.json index 3a1b3f8..0e1b189 100644 --- a/src/loading/lib/package.json +++ b/src/loading/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-loading", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/locale/lib/package.json b/src/locale/lib/package.json index 13fef71..03b36f3 100644 --- a/src/locale/lib/package.json +++ b/src/locale/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-locale", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/menu/lib/package.json b/src/menu/lib/package.json index a8cbb39..b005003 100644 --- a/src/menu/lib/package.json +++ b/src/menu/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-menu", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", - "@opentiny/ng-list": "~1.0.0-beta.0", + "@opentiny/ng-list": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/message/lib/package.json b/src/message/lib/package.json index fd838a5..1d8882c 100644 --- a/src/message/lib/package.json +++ b/src/message/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-message", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-modal": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-modal": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-popup": "~1.0.0-beta.0" + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-popup": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/modal/lib/package.json b/src/modal/lib/package.json index b292be5..9ece63d 100644 --- a/src/modal/lib/package.json +++ b/src/modal/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-modal", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/router": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/animations": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-popup": "~1.0.0-beta.0", - "@opentiny/ng-drag": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-popup": "~1.0.0-beta.1", + "@opentiny/ng-drag": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/nav/lib/package.json b/src/nav/lib/package.json index ec26573..11ae2a7 100644 --- a/src/nav/lib/package.json +++ b/src/nav/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-nav", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/ng/demo/src/webdoc/introduce.md b/src/ng/demo/src/webdoc/introduce.md index 1c7a56b..d4668a9 100644 --- a/src/ng/demo/src/webdoc/introduce.md +++ b/src/ng/demo/src/webdoc/introduce.md @@ -29,6 +29,6 @@ title: 介绍 | TinyNG | last 3 versions | last 3 versions | last 3 versions | last 2 versions | ### 支持 Angular 版本 -目前支持 Angular `^14.0.0`版本。 +目前支持 Angular 版本 `>=13.0.0`。 ### [最新版本](./changelog) \ No newline at end of file diff --git a/src/ng/lib/package.json b/src/ng/lib/package.json index 5936a90..d9d60e2 100644 --- a/src/ng/lib/package.json +++ b/src/ng/lib/package.json @@ -1,110 +1,110 @@ { "name": "@opentiny/ng", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-accordion": "1.0.0-beta.0", - "@opentiny/ng-actionmenu": "1.0.0-beta.0", - "@opentiny/ng-alert": "1.0.0-beta.0", - "@opentiny/ng-anchor": "1.0.0-beta.0", - "@opentiny/ng-autocomplete": "1.0.0-beta.0", - "@opentiny/ng-avatar": "1.0.0-beta.0", - "@opentiny/ng-base": "1.0.0-beta.0", - "@opentiny/ng-button": "1.0.0-beta.0", - "@opentiny/ng-buttongroup": "1.0.0-beta.0", - "@opentiny/ng-card": "1.0.0-beta.0", - "@opentiny/ng-cascader": "1.0.0-beta.0", - "@opentiny/ng-checkbox": "1.0.0-beta.0", - "@opentiny/ng-collapse": "1.0.0-beta.0", - "@opentiny/ng-collapsebox": "1.0.0-beta.0", - "@opentiny/ng-collapsebutton": "1.0.0-beta.0", - "@opentiny/ng-copy": "1.0.0-beta.0", - "@opentiny/ng-crumb": "1.0.0-beta.0", - "@opentiny/ng-date": "1.0.0-beta.0", - "@opentiny/ng-datebase": "1.0.0-beta.0", - "@opentiny/ng-datedominator": "1.0.0-beta.0", - "@opentiny/ng-dateedit": "1.0.0-beta.0", - "@opentiny/ng-datepanel": "1.0.0-beta.0", - "@opentiny/ng-daterange": "1.0.0-beta.0", - "@opentiny/ng-datetime": "1.0.0-beta.0", - "@opentiny/ng-datetimerange": "1.0.0-beta.0", - "@opentiny/ng-dominator": "1.0.0-beta.0", - "@opentiny/ng-drag": "1.0.0-beta.0", - "@opentiny/ng-drop": "1.0.0-beta.0", - "@opentiny/ng-droplist": "1.0.0-beta.0", - "@opentiny/ng-dropsearch": "1.0.0-beta.0", - "@opentiny/ng-formfield": "1.0.0-beta.0", - "@opentiny/ng-foldtext": "1.0.0-beta.0", - "@opentiny/ng-grid": "1.0.0-beta.0", - "@opentiny/ng-halfmodal": "1.0.0-beta.0", - "@opentiny/ng-icon": "1.0.0-beta.0", - "@opentiny/ng-iconaction": "1.0.0-beta.0", - "@opentiny/ng-imagepreview": "1.0.0-beta.0", - "@opentiny/ng-include": "1.0.0-beta.0", - "@opentiny/ng-inputnumber": "1.0.0-beta.0", - "@opentiny/ng-intro": "1.0.0-beta.0", - "@opentiny/ng-ip": "1.0.0-beta.0", - "@opentiny/ng-ipsection": "1.0.0-beta.0", - "@opentiny/ng-layout": "1.0.0-beta.0", - "@opentiny/ng-leftmenu": "1.0.0-beta.0", - "@opentiny/ng-list": "1.0.0-beta.0", - "@opentiny/ng-loading": "1.0.0-beta.0", - "@opentiny/ng-locale": "1.0.0-beta.0", - "@opentiny/ng-linkbutton": "1.0.0-beta.0", - "@opentiny/ng-menu": "1.0.0-beta.0", - "@opentiny/ng-message": "1.0.0-beta.0", - "@opentiny/ng-modal": "1.0.0-beta.0", - "@opentiny/ng-nav": "1.0.0-beta.0", - "@opentiny/ng-notification": "1.0.0-beta.0", - "@opentiny/ng-outline": "1.0.0-beta.0", - "@opentiny/ng-overflow": "1.0.0-beta.0", - "@opentiny/ng-pagination": "1.0.0-beta.0", - "@opentiny/ng-popconfirm": "1.0.0-beta.0", - "@opentiny/ng-popup": "1.0.0-beta.0", - "@opentiny/ng-progressbar": "1.0.0-beta.0", - "@opentiny/ng-progresspie": "1.0.0-beta.0", - "@opentiny/ng-radio": "1.0.0-beta.0", - "@opentiny/ng-rate": "1.0.0-beta.0", - "@opentiny/ng-renderer": "1.0.0-beta.0", - "@opentiny/ng-rights": "1.0.0-beta.0", - "@opentiny/ng-score": "1.0.0-beta.0", - "@opentiny/ng-scroll": "1.0.0-beta.0", - "@opentiny/ng-searchbox": "1.0.0-beta.0", - "@opentiny/ng-select": "1.0.0-beta.0", - "@opentiny/ng-skeleton": "1.0.0-beta.0", - "@opentiny/ng-slider": "1.0.0-beta.0", - "@opentiny/ng-spinner": "1.0.0-beta.0", - "@opentiny/ng-steps": "1.0.0-beta.0", - "@opentiny/ng-subtitle": "1.0.0-beta.0", - "@opentiny/ng-swiper": "1.0.0-beta.0", - "@opentiny/ng-switch": "1.0.0-beta.0", - "@opentiny/ng-tab": "1.0.0-beta.0", - "@opentiny/ng-table": "1.0.0-beta.0", - "@opentiny/ng-tag": "1.0.0-beta.0", - "@opentiny/ng-tagsinput": "1.0.0-beta.0", - "@opentiny/ng-text": "1.0.0-beta.0", - "@opentiny/ng-textarea": "1.0.0-beta.0", - "@opentiny/ng-time": "1.0.0-beta.0", - "@opentiny/ng-timeline": "1.0.0-beta.0", - "@opentiny/ng-tip": "1.0.0-beta.0", - "@opentiny/ng-transfer": "1.0.0-beta.0", - "@opentiny/ng-tree": "1.0.0-beta.0", - "@opentiny/ng-treeselect": "1.0.0-beta.0", - "@opentiny/ng-upload": "1.0.0-beta.0", - "@opentiny/ng-utils": "1.0.0-beta.0", - "@opentiny/ng-validation": "1.0.0-beta.0", - "@opentiny/ng-zoom": "1.0.0-beta.0", - "@opentiny/ng-themes": "1.0.0-beta.0", - "@opentiny/ng-guides": "1.0.0-beta.0", - "@opentiny/ng-labeleditor": "1.0.0-beta.0", - "@opentiny/ng-phonenumber": "1.0.0-beta.0", - "@opentiny/ng-selectgroup": "1.0.0-beta.0", - "@opentiny/ng-productpreview": "1.0.0-beta.0", - "@opentiny/ng-buttonselect": "1.0.0-beta.0", - "@opentiny/ng-collapsetext": "1.0.0-beta.0", - "@opentiny/ng-guidesteps": "1.0.0-beta.0", - "@opentiny/ng-path": "1.0.0-beta.0" + "@opentiny/ng-accordion": "1.0.0-beta.1", + "@opentiny/ng-actionmenu": "1.0.0-beta.1", + "@opentiny/ng-alert": "1.0.0-beta.1", + "@opentiny/ng-anchor": "1.0.0-beta.1", + "@opentiny/ng-autocomplete": "1.0.0-beta.1", + "@opentiny/ng-avatar": "1.0.0-beta.1", + "@opentiny/ng-base": "1.0.0-beta.1", + "@opentiny/ng-button": "1.0.0-beta.1", + "@opentiny/ng-buttongroup": "1.0.0-beta.1", + "@opentiny/ng-card": "1.0.0-beta.1", + "@opentiny/ng-cascader": "1.0.0-beta.1", + "@opentiny/ng-checkbox": "1.0.0-beta.1", + "@opentiny/ng-collapse": "1.0.0-beta.1", + "@opentiny/ng-collapsebox": "1.0.0-beta.1", + "@opentiny/ng-collapsebutton": "1.0.0-beta.1", + "@opentiny/ng-copy": "1.0.0-beta.1", + "@opentiny/ng-crumb": "1.0.0-beta.1", + "@opentiny/ng-date": "1.0.0-beta.1", + "@opentiny/ng-datebase": "1.0.0-beta.1", + "@opentiny/ng-datedominator": "1.0.0-beta.1", + "@opentiny/ng-dateedit": "1.0.0-beta.1", + "@opentiny/ng-datepanel": "1.0.0-beta.1", + "@opentiny/ng-daterange": "1.0.0-beta.1", + "@opentiny/ng-datetime": "1.0.0-beta.1", + "@opentiny/ng-datetimerange": "1.0.0-beta.1", + "@opentiny/ng-dominator": "1.0.0-beta.1", + "@opentiny/ng-drag": "1.0.0-beta.1", + "@opentiny/ng-drop": "1.0.0-beta.1", + "@opentiny/ng-droplist": "1.0.0-beta.1", + "@opentiny/ng-dropsearch": "1.0.0-beta.1", + "@opentiny/ng-formfield": "1.0.0-beta.1", + "@opentiny/ng-foldtext": "1.0.0-beta.1", + "@opentiny/ng-grid": "1.0.0-beta.1", + "@opentiny/ng-halfmodal": "1.0.0-beta.1", + "@opentiny/ng-icon": "1.0.0-beta.1", + "@opentiny/ng-iconaction": "1.0.0-beta.1", + "@opentiny/ng-imagepreview": "1.0.0-beta.1", + "@opentiny/ng-include": "1.0.0-beta.1", + "@opentiny/ng-inputnumber": "1.0.0-beta.1", + "@opentiny/ng-intro": "1.0.0-beta.1", + "@opentiny/ng-ip": "1.0.0-beta.1", + "@opentiny/ng-ipsection": "1.0.0-beta.1", + "@opentiny/ng-layout": "1.0.0-beta.1", + "@opentiny/ng-leftmenu": "1.0.0-beta.1", + "@opentiny/ng-list": "1.0.0-beta.1", + "@opentiny/ng-loading": "1.0.0-beta.1", + "@opentiny/ng-locale": "1.0.0-beta.1", + "@opentiny/ng-linkbutton": "1.0.0-beta.1", + "@opentiny/ng-menu": "1.0.0-beta.1", + "@opentiny/ng-message": "1.0.0-beta.1", + "@opentiny/ng-modal": "1.0.0-beta.1", + "@opentiny/ng-nav": "1.0.0-beta.1", + "@opentiny/ng-notification": "1.0.0-beta.1", + "@opentiny/ng-outline": "1.0.0-beta.1", + "@opentiny/ng-overflow": "1.0.0-beta.1", + "@opentiny/ng-pagination": "1.0.0-beta.1", + "@opentiny/ng-popconfirm": "1.0.0-beta.1", + "@opentiny/ng-popup": "1.0.0-beta.1", + "@opentiny/ng-progressbar": "1.0.0-beta.1", + "@opentiny/ng-progresspie": "1.0.0-beta.1", + "@opentiny/ng-radio": "1.0.0-beta.1", + "@opentiny/ng-rate": "1.0.0-beta.1", + "@opentiny/ng-renderer": "1.0.0-beta.1", + "@opentiny/ng-rights": "1.0.0-beta.1", + "@opentiny/ng-score": "1.0.0-beta.1", + "@opentiny/ng-scroll": "1.0.0-beta.1", + "@opentiny/ng-searchbox": "1.0.0-beta.1", + "@opentiny/ng-select": "1.0.0-beta.1", + "@opentiny/ng-skeleton": "1.0.0-beta.1", + "@opentiny/ng-slider": "1.0.0-beta.1", + "@opentiny/ng-spinner": "1.0.0-beta.1", + "@opentiny/ng-steps": "1.0.0-beta.1", + "@opentiny/ng-subtitle": "1.0.0-beta.1", + "@opentiny/ng-swiper": "1.0.0-beta.1", + "@opentiny/ng-switch": "1.0.0-beta.1", + "@opentiny/ng-tab": "1.0.0-beta.1", + "@opentiny/ng-table": "1.0.0-beta.1", + "@opentiny/ng-tag": "1.0.0-beta.1", + "@opentiny/ng-tagsinput": "1.0.0-beta.1", + "@opentiny/ng-text": "1.0.0-beta.1", + "@opentiny/ng-textarea": "1.0.0-beta.1", + "@opentiny/ng-time": "1.0.0-beta.1", + "@opentiny/ng-timeline": "1.0.0-beta.1", + "@opentiny/ng-tip": "1.0.0-beta.1", + "@opentiny/ng-transfer": "1.0.0-beta.1", + "@opentiny/ng-tree": "1.0.0-beta.1", + "@opentiny/ng-treeselect": "1.0.0-beta.1", + "@opentiny/ng-upload": "1.0.0-beta.1", + "@opentiny/ng-utils": "1.0.0-beta.1", + "@opentiny/ng-validation": "1.0.0-beta.1", + "@opentiny/ng-zoom": "1.0.0-beta.1", + "@opentiny/ng-themes": "1.0.0-beta.1", + "@opentiny/ng-guides": "1.0.0-beta.1", + "@opentiny/ng-labeleditor": "1.0.0-beta.1", + "@opentiny/ng-phonenumber": "1.0.0-beta.1", + "@opentiny/ng-selectgroup": "1.0.0-beta.1", + "@opentiny/ng-productpreview": "1.0.0-beta.1", + "@opentiny/ng-buttonselect": "1.0.0-beta.1", + "@opentiny/ng-collapsetext": "1.0.0-beta.1", + "@opentiny/ng-guidesteps": "1.0.0-beta.1", + "@opentiny/ng-path": "1.0.0-beta.1" } } diff --git a/src/notification/lib/package.json b/src/notification/lib/package.json index cae90dd..92fc423 100644 --- a/src/notification/lib/package.json +++ b/src/notification/lib/package.json @@ -1,15 +1,14 @@ { "name": "@opentiny/ng-notification", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/animations": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@angular/cdk/overlay": ">=13.0.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@angular/cdk": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-alert": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@angular/cdk/portal": ">=13.0.0" + "@opentiny/ng-alert": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/outline/lib/package.json b/src/outline/lib/package.json index fb63c20..37fb72e 100644 --- a/src/outline/lib/package.json +++ b/src/outline/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-outline", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/overflow/lib/package.json b/src/overflow/lib/package.json index 8677ef1..c8251df 100644 --- a/src/overflow/lib/package.json +++ b/src/overflow/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-overflow", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0" + "@opentiny/ng-renderer": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/pagination/lib/package.json b/src/pagination/lib/package.json index ef22cf8..d1645d2 100644 --- a/src/pagination/lib/package.json +++ b/src/pagination/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-pagination", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-table": "~1.0.0-beta.0", - "@opentiny/ng-select": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-table": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/path/lib/package.json b/src/path/lib/package.json index 96b7bde..d0ce764 100644 --- a/src/path/lib/package.json +++ b/src/path/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-path", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/phonenumber/lib/package.json b/src/phonenumber/lib/package.json index 20b7c77..b7239ae 100644 --- a/src/phonenumber/lib/package.json +++ b/src/phonenumber/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-phonenumber", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", - "libphonenumber-js/max": "1.10.7", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-validation": "~1.0.0-beta.0", - "@opentiny/ng-select": "~1.0.0-beta.0", + "libphonenumber-js": "1.10.7", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-validation": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/popconfirm/lib/package.json b/src/popconfirm/lib/package.json index 2d58f06..1f63562 100644 --- a/src/popconfirm/lib/package.json +++ b/src/popconfirm/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-popconfirm", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/popup/lib/package.json b/src/popup/lib/package.json index 78ba411..89656ac 100644 --- a/src/popup/lib/package.json +++ b/src/popup/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-popup", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/platform-browser": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0" } } \ No newline at end of file diff --git a/src/productpreview/lib/package.json b/src/productpreview/lib/package.json index bd6771d..7b4b6a4 100644 --- a/src/productpreview/lib/package.json +++ b/src/productpreview/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-productpreview", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { - "@opentiny/ng-imagepreview": "~1.0.0-beta.0", - "@opentiny/ng-modal": "~1.0.0-beta.0", + "@opentiny/ng-imagepreview": "~1.0.0-beta.1", + "@opentiny/ng-modal": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-zoom": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-zoom": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/progressbar/lib/package.json b/src/progressbar/lib/package.json index fd256b0..f6c9795 100644 --- a/src/progressbar/lib/package.json +++ b/src/progressbar/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-progressbar", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/progresspie/lib/package.json b/src/progresspie/lib/package.json index 06e3288..b5ec370 100644 --- a/src/progresspie/lib/package.json +++ b/src/progresspie/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-progresspie", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0" diff --git a/src/radio/lib/package.json b/src/radio/lib/package.json index 333d75c..1f28dd0 100644 --- a/src/radio/lib/package.json +++ b/src/radio/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-radio", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-checkbox": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-checkbox": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/rate/lib/package.json b/src/rate/lib/package.json index 1b38fae..eb4ee7d 100644 --- a/src/rate/lib/package.json +++ b/src/rate/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-rate", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/renderer/lib/package.json b/src/renderer/lib/package.json index afd4225..97c939e 100644 --- a/src/renderer/lib/package.json +++ b/src/renderer/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-renderer", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0" diff --git a/src/rights/lib/package.json b/src/rights/lib/package.json index 18fc3bb..5a4abf6 100644 --- a/src/rights/lib/package.json +++ b/src/rights/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-rights", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/score/lib/package.json b/src/score/lib/package.json index 02de7cb..49277e7 100644 --- a/src/score/lib/package.json +++ b/src/score/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-score", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/scroll/lib/package.json b/src/scroll/lib/package.json index 1a24b53..2cece76 100644 --- a/src/scroll/lib/package.json +++ b/src/scroll/lib/package.json @@ -1,9 +1,9 @@ { "name": "@opentiny/ng-scroll", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/searchbox/lib/package.json b/src/searchbox/lib/package.json index 69404bb..a2227b9 100644 --- a/src/searchbox/lib/package.json +++ b/src/searchbox/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-searchbox", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-autocomplete": "~1.0.0-beta.0", + "@opentiny/ng-autocomplete": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/select/lib/package.json b/src/select/lib/package.json index fa4f909..6a1246d 100644 --- a/src/select/lib/package.json +++ b/src/select/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-select", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-dominator": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-dominator": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-dropsearch": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/selectgroup/lib/package.json b/src/selectgroup/lib/package.json index 26812fd..2c5d767 100644 --- a/src/selectgroup/lib/package.json +++ b/src/selectgroup/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-selectgroup", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/skeleton/lib/package.json b/src/skeleton/lib/package.json index 7235b21..a9c4653 100644 --- a/src/skeleton/lib/package.json +++ b/src/skeleton/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-skeleton", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/slider/lib/package.json b/src/slider/lib/package.json index 7410874..37ded02 100644 --- a/src/slider/lib/package.json +++ b/src/slider/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-slider", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/platform-browser": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-drag": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-drag": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/spinner/lib/package.json b/src/spinner/lib/package.json index e35a8a1..509fd8f 100644 --- a/src/spinner/lib/package.json +++ b/src/spinner/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-spinner", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-inputnumber": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-inputnumber": "~1.0.0-beta.1", "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-tip": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/steps/lib/package.json b/src/steps/lib/package.json index ded6800..f72106b 100644 --- a/src/steps/lib/package.json +++ b/src/steps/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-steps", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/subtitle/lib/package.json b/src/subtitle/lib/package.json index c526a41..16f1e42 100644 --- a/src/subtitle/lib/package.json +++ b/src/subtitle/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-subtitle", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/router": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-select": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-tip": "~1.0.0-beta.0" + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/swiper/lib/package.json b/src/swiper/lib/package.json index 6c8cda2..1751c01 100644 --- a/src/swiper/lib/package.json +++ b/src/swiper/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-swiper", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/switch/lib/package.json b/src/switch/lib/package.json index ccbe22f..ddc9fed 100644 --- a/src/switch/lib/package.json +++ b/src/switch/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-switch", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/tab/lib/package.json b/src/tab/lib/package.json index 5d8d430..00cd518 100644 --- a/src/tab/lib/package.json +++ b/src/tab/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-tab", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-include": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-droplist": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0" + "@opentiny/ng-include": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/table/lib/package.json b/src/table/lib/package.json index 007c783..c8ea5bd 100644 --- a/src/table/lib/package.json +++ b/src/table/lib/package.json @@ -1,28 +1,28 @@ { "name": "@opentiny/ng-table", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-select": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-datebase": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@angular/cdk/scrolling": ">=13.0.0", + "@opentiny/ng-select": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-dropsearch": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-datebase": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@angular/cdk": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-date": "~1.0.0-beta.0", - "@opentiny/ng-datetime": "~1.0.0-beta.0", - "@opentiny/ng-searchbox": "~1.0.0-beta.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-date": "~1.0.0-beta.1", + "@opentiny/ng-datetime": "~1.0.0-beta.1", + "@opentiny/ng-searchbox": "~1.0.0-beta.1", + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/tag/lib/package.json b/src/tag/lib/package.json index 5b31f1a..6fb27a5 100644 --- a/src/tag/lib/package.json +++ b/src/tag/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-tag", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/tagsinput/lib/package.json b/src/tagsinput/lib/package.json index aa2b6c7..991ab77 100644 --- a/src/tagsinput/lib/package.json +++ b/src/tagsinput/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-tagsinput", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-dominator": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.0", + "@opentiny/ng-dominator": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-dropsearch": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/text/lib/package.json b/src/text/lib/package.json index 0dc62ce..035b51e 100644 --- a/src/text/lib/package.json +++ b/src/text/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-text", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0" } } \ No newline at end of file diff --git a/src/textarea/lib/package.json b/src/textarea/lib/package.json index 3e89886..7024d80 100644 --- a/src/textarea/lib/package.json +++ b/src/textarea/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-textarea", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/forms": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0" + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/themes/package.json b/src/themes/package.json index 9c815b1..b9dca92 100644 --- a/src/themes/package.json +++ b/src/themes/package.json @@ -1,5 +1,5 @@ { "name": "@opentiny/ng-themes", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT" } \ No newline at end of file diff --git a/src/time/lib/package.json b/src/time/lib/package.json index 4bc7df6..b731a70 100644 --- a/src/time/lib/package.json +++ b/src/time/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-time", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0" + "@opentiny/ng-datedominator": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/timeline/lib/package.json b/src/timeline/lib/package.json index 046eab5..ac8202b 100644 --- a/src/timeline/lib/package.json +++ b/src/timeline/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-timeline", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/tip/lib/package.json b/src/tip/lib/package.json index 9baf2b3..9ca37f4 100644 --- a/src/tip/lib/package.json +++ b/src/tip/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-tip", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/router": ">=13.0.0", - "@opentiny/ng-popup": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0" + "@opentiny/ng-popup": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/transfer/lib/package.json b/src/transfer/lib/package.json index 20ba4a3..bb30c80 100644 --- a/src/transfer/lib/package.json +++ b/src/transfer/lib/package.json @@ -1,22 +1,22 @@ { "name": "@opentiny/ng-transfer", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-list": "~1.0.0-beta.0", - "@opentiny/ng-searchbox": "~1.0.0-beta.0", - "@opentiny/ng-table": "~1.0.0-beta.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-checkbox": "~1.0.0-beta.0", - "@opentiny/ng-pagination": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0" + "@opentiny/ng-dropsearch": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-searchbox": "~1.0.0-beta.1", + "@opentiny/ng-table": "~1.0.0-beta.1", + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-checkbox": "~1.0.0-beta.1", + "@opentiny/ng-pagination": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/tree/lib/package.json b/src/tree/lib/package.json index 132c20a..76d1965 100644 --- a/src/tree/lib/package.json +++ b/src/tree/lib/package.json @@ -1,20 +1,20 @@ { "name": "@opentiny/ng-tree", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/cdk": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-checkbox": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-loading": "~1.0.0-beta.0", - "@opentiny/ng-text": "~1.0.0-beta.0", - "@opentiny/ng-validation": "~1.0.0-beta.0" + "@opentiny/ng-checkbox": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-loading": "~1.0.0-beta.1", + "@opentiny/ng-text": "~1.0.0-beta.1", + "@opentiny/ng-validation": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/treeselect/lib/package.json b/src/treeselect/lib/package.json index 6d32b67..b7c078b 100644 --- a/src/treeselect/lib/package.json +++ b/src/treeselect/lib/package.json @@ -1,20 +1,20 @@ { "name": "@opentiny/ng-treeselect", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-tree": "~1.0.0-beta.0", - "@opentiny/ng-dominator": "~1.0.0-beta.0", - "@opentiny/ng-drop": "~1.0.0-beta.0", - "@opentiny/ng-searchbox": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-select": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-tree": "~1.0.0-beta.1", + "@opentiny/ng-dominator": "~1.0.0-beta.1", + "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-searchbox": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.1", "@angular/forms": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.0", - "@opentiny/ng-checkbox": "~1.0.0-beta.0" + "@opentiny/ng-dropsearch": "~1.0.0-beta.1", + "@opentiny/ng-checkbox": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/upload/lib/package.json b/src/upload/lib/package.json index b27c394..3d3877b 100644 --- a/src/upload/lib/package.json +++ b/src/upload/lib/package.json @@ -1,23 +1,23 @@ { "name": "@opentiny/ng-upload", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-utils": "~1.0.0-beta.0", - "@opentiny/ng-overflow": "~1.0.0-beta.0", - "@opentiny/ng-modal": "~1.0.0-beta.0", - "@opentiny/ng-imagepreview": "~1.0.0-beta.0", + "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-overflow": "~1.0.0-beta.1", + "@opentiny/ng-modal": "~1.0.0-beta.1", + "@opentiny/ng-imagepreview": "~1.0.0-beta.1", "@angular/platform-browser": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-progresspie": "~1.0.0-beta.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-validation": "~1.0.0-beta.0", - "@opentiny/ng-progressbar": "~1.0.0-beta.0", - "@opentiny/ng-button": "~1.0.0-beta.0", - "@opentiny/ng-outline": "~1.0.0-beta.0" + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-progresspie": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-validation": "~1.0.0-beta.1", + "@opentiny/ng-progressbar": "~1.0.0-beta.1", + "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-outline": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/utils/lib/package.json b/src/utils/lib/package.json index 7e6b4a4..c559cc0 100644 --- a/src/utils/lib/package.json +++ b/src/utils/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-utils", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/platform-browser-dynamic": ">=13.0.0" diff --git a/src/utils/lib/src/TiBrowser.ts b/src/utils/lib/src/TiBrowser.ts index ca99498..1535c3a 100644 --- a/src/utils/lib/src/TiBrowser.ts +++ b/src/utils/lib/src/TiBrowser.ts @@ -155,7 +155,7 @@ export class TiBrowser { TiBrowser._browser = TiBrowser.OTHER; } // 版本号取整 - TiBrowser._version = aAgentInfo !== null ? parseInt(aAgentInfo[1].split('.')[0], 10) : 0; + TiBrowser._version = aAgentInfo ? parseInt(aAgentInfo[1].split('.')[0], 10) : 0; // 改变初始化值 TiBrowser.isInit = true; } diff --git a/src/validation/lib/package.json b/src/validation/lib/package.json index 3f17f5e..6617eda 100644 --- a/src/validation/lib/package.json +++ b/src/validation/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-validation", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.0", + "@opentiny/ng-utils": "~1.0.0-beta.1", "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0", - "@opentiny/ng-popup": "~1.0.0-beta.0", - "@opentiny/ng-tip": "~1.0.0-beta.0", - "@opentiny/ng-base": "~1.0.0-beta.0", + "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-popup": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.1", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.0", - "@opentiny/ng-loading": "~1.0.0-beta.0" + "@opentiny/ng-icon": "~1.0.0-beta.1", + "@opentiny/ng-loading": "~1.0.0-beta.1" } } \ No newline at end of file diff --git a/src/zoom/lib/package.json b/src/zoom/lib/package.json index 9aebea7..64d9bda 100644 --- a/src/zoom/lib/package.json +++ b/src/zoom/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-zoom", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.0" + "@opentiny/ng-renderer": "~1.0.0-beta.1" } } \ No newline at end of file -- Gitee From 8e1f3bda16e4570db591f8368901b436c3887601 Mon Sep 17 00:00:00 2001 From: OpenTiny Date: Tue, 16 May 2023 10:50:28 +0800 Subject: [PATCH 2/3] update Match-id-a928796682298f37f3a33ed7128ae07950e6ecd6 --- CHANGELOG.md | 5 + angular.json | 2 + build/buildThemes.js | 14 +- package.json | 5 +- src/accordion/lib/ng-package.json | 12 +- src/accordion/lib/package.json | 8 +- src/accordion/lib/project.json | 6 +- src/actionmenu/lib/ng-package.json | 12 +- src/actionmenu/lib/package.json | 12 +- src/actionmenu/lib/project.json | 6 +- src/alert/lib/ng-package.json | 12 +- src/alert/lib/package.json | 10 +- src/alert/lib/project.json | 6 +- src/anchor/lib/ng-package.json | 12 +- src/anchor/lib/package.json | 4 +- src/anchor/lib/project.json | 6 +- .../AutocompleteSuggestComponent.ts | 106 ++++++++ .../autocomplete/AutocompleteTestModule.ts | 8 +- .../autocomplete/autocomplete-suggest.html | 17 ++ .../autocomplete/webdoc/autocomplete-demos.js | 13 + src/autocomplete/lib/ng-package.json | 12 +- src/autocomplete/lib/package.json | 10 +- src/autocomplete/lib/project.json | 6 +- .../lib/src/TiAutocompleteComponent.ts | 45 +++- src/autocomplete/lib/src/autocomplete.html | 1 + src/avatar/lib/ng-package.json | 12 +- src/avatar/lib/package.json | 6 +- src/avatar/lib/project.json | 6 +- src/base/lib/ng-package.json | 12 +- src/base/lib/package.json | 4 +- src/base/lib/project.json | 6 +- src/button/lib/ng-package.json | 12 +- src/button/lib/package.json | 8 +- src/button/lib/project.json | 6 +- src/buttongroup/lib/ng-package.json | 12 +- src/buttongroup/lib/package.json | 12 +- src/buttongroup/lib/project.json | 6 +- src/buttonselect/lib/ng-package.json | 2 +- src/buttonselect/lib/package.json | 10 +- src/buttonselect/lib/project.json | 6 +- src/card/lib/ng-package.json | 12 +- src/card/lib/package.json | 6 +- src/card/lib/project.json | 6 +- src/cascader/lib/ng-package.json | 12 +- src/cascader/lib/package.json | 16 +- src/cascader/lib/project.json | 6 +- src/checkbox/lib/ng-package.json | 12 +- src/checkbox/lib/package.json | 10 +- src/checkbox/lib/project.json | 6 +- src/collapse/lib/ng-package.json | 12 +- src/collapse/lib/package.json | 4 +- src/collapse/lib/project.json | 6 +- src/collapsebox/lib/ng-package.json | 12 +- src/collapsebox/lib/package.json | 10 +- src/collapsebox/lib/project.json | 6 +- src/collapsebutton/lib/ng-package.json | 2 +- src/collapsebutton/lib/package.json | 10 +- src/collapsebutton/lib/project.json | 6 +- src/collapsetext/lib/ng-package.json | 2 +- src/collapsetext/lib/package.json | 2 +- src/collapsetext/lib/project.json | 6 +- src/copy/lib/ng-package.json | 2 +- src/copy/lib/package.json | 14 +- src/copy/lib/project.json | 6 +- src/crumb/lib/ng-package.json | 12 +- src/crumb/lib/package.json | 4 +- src/crumb/lib/project.json | 6 +- src/date/lib/ng-package.json | 12 +- src/date/lib/package.json | 20 +- src/date/lib/project.json | 6 +- src/datebase/lib/ng-package.json | 12 +- src/datebase/lib/package.json | 18 +- src/datebase/lib/project.json | 6 +- src/datedominator/lib/ng-package.json | 12 +- src/datedominator/lib/package.json | 10 +- src/datedominator/lib/project.json | 6 +- src/dateedit/lib/ng-package.json | 12 +- src/dateedit/lib/package.json | 10 +- src/dateedit/lib/project.json | 6 +- src/datepanel/lib/ng-package.json | 12 +- src/datepanel/lib/package.json | 16 +- src/datepanel/lib/project.json | 6 +- src/daterange/lib/ng-package.json | 12 +- src/daterange/lib/package.json | 20 +- src/daterange/lib/project.json | 6 +- src/datetime/lib/ng-package.json | 12 +- src/datetime/lib/package.json | 26 +- src/datetime/lib/project.json | 6 +- src/datetimerange/lib/ng-package.json | 12 +- src/datetimerange/lib/package.json | 26 +- src/datetimerange/lib/project.json | 6 +- src/dominator/lib/ng-package.json | 12 +- src/dominator/lib/package.json | 14 +- src/dominator/lib/project.json | 6 +- src/drag/lib/ng-package.json | 12 +- src/drag/lib/package.json | 6 +- src/drag/lib/project.json | 6 +- src/drop/lib/ng-package.json | 12 +- src/drop/lib/package.json | 6 +- src/drop/lib/project.json | 6 +- src/drop/lib/src/TiDropComponent.ts | 7 +- src/droplist/lib/ng-package.json | 12 +- src/droplist/lib/package.json | 12 +- src/droplist/lib/project.json | 6 +- src/droplist/lib/src/TiDroplistComponent.ts | 9 +- src/droplist/lib/src/droplist.html | 1 + src/dropsearch/lib/ng-package.json | 12 +- src/dropsearch/lib/package.json | 16 +- src/dropsearch/lib/project.json | 6 +- src/foldtext/lib/ng-package.json | 2 +- src/foldtext/lib/package.json | 10 +- src/foldtext/lib/project.json | 6 +- src/formfield/lib/ng-package.json | 12 +- src/formfield/lib/package.json | 10 +- src/formfield/lib/project.json | 6 +- src/grid/lib/ng-package.json | 12 +- src/grid/lib/package.json | 2 +- src/grid/lib/project.json | 6 +- src/guides/lib/ng-package.json | 2 +- src/guides/lib/package.json | 8 +- src/guides/lib/project.json | 6 +- src/guidesteps/lib/ng-package.json | 2 +- src/guidesteps/lib/package.json | 4 +- src/guidesteps/lib/project.json | 6 +- src/halfmodal/lib/ng-package.json | 12 +- src/halfmodal/lib/package.json | 12 +- src/halfmodal/lib/project.json | 6 +- src/icon/lib/ng-package.json | 12 +- src/icon/lib/package.json | 6 +- src/icon/lib/project.json | 6 +- src/iconaction/lib/ng-package.json | 2 +- src/iconaction/lib/package.json | 6 +- src/iconaction/lib/project.json | 6 +- src/imagepreview/lib/ng-package.json | 12 +- src/imagepreview/lib/package.json | 10 +- src/imagepreview/lib/project.json | 6 +- src/include/lib/ng-package.json | 12 +- src/include/lib/package.json | 4 +- src/include/lib/project.json | 6 +- src/inputnumber/lib/ng-package.json | 12 +- src/inputnumber/lib/package.json | 6 +- src/inputnumber/lib/project.json | 6 +- src/intro/lib/ng-package.json | 12 +- src/intro/lib/package.json | 18 +- src/intro/lib/project.json | 6 +- src/ip/lib/ng-package.json | 12 +- src/ip/lib/package.json | 8 +- src/ip/lib/project.json | 6 +- src/ipsection/lib/ng-package.json | 12 +- src/ipsection/lib/package.json | 10 +- src/ipsection/lib/project.json | 6 +- src/labeleditor/lib/ng-package.json | 2 +- src/labeleditor/lib/package.json | 20 +- src/labeleditor/lib/project.json | 6 +- src/layout/lib/ng-package.json | 12 +- src/layout/lib/package.json | 2 +- src/layout/lib/project.json | 6 +- src/leftmenu/lib/ng-package.json | 12 +- src/leftmenu/lib/package.json | 12 +- src/leftmenu/lib/project.json | 6 +- src/leftmenuthin/demo/karma.conf.js | 41 +++ src/leftmenuthin/demo/project.json | 98 +++++++ src/leftmenuthin/demo/src/app/AppComponent.ts | 7 + src/leftmenuthin/demo/src/app/AppModule.ts | 26 ++ .../demo/src/app/IndexComponent.ts | 49 ++++ src/leftmenuthin/demo/src/app/app.html | 3 + .../LeftmenuthinBasicComponent.ts | 42 +++ .../LeftmenuthinParamsComponent.ts | 62 +++++ .../LeftmenuthinRouterlistComponent.ts | 38 +++ .../leftmenuthin/LeftmenuthinTestModule.ts | 98 +++++++ .../src/app/leftmenuthin/Router1Component.ts | 27 ++ .../src/app/leftmenuthin/Router2Component.ts | 27 ++ .../src/app/leftmenuthin/Router3Component.ts | 28 ++ .../src/app/leftmenuthin/Router4Component.ts | 26 ++ .../src/app/leftmenuthin/RouterEComponent.ts | 5 + .../src/app/leftmenuthin/RouterFComponent.ts | 5 + .../app/leftmenuthin/leftmenuthin-basic.html | 13 + .../app/leftmenuthin/leftmenuthin-params.html | 4 + .../leftmenuthin/leftmenuthin-routerlist.html | 5 + .../leftmenuthin/webdoc/leftmenuthin-demos.js | 48 ++++ .../leftmenuthin/webdoc/leftmenuthin.cn.md | 19 ++ .../leftmenuthin/webdoc/leftmenuthin.en.md | 13 + .../LeftmenuthinWebsiteComponent.ts | 30 +++ .../website-lib/LeftmenuthinWebsiteModule.ts | 13 + .../website-lib/leftmenuthin-website.html | 15 ++ .../website-lib/leftmenuthin.less | 43 +++ .../LeftmenuthinBasicWebsiteViewsComponent.ts | 43 +++ ...LeftmenuthinParamsWebsiteViewsComponent.ts | 62 +++++ ...menuthinRouterlistWebsiteViewsComponent.ts | 42 +++ .../website-views/Router1Component.ts | 13 + .../website-views/Router2Component.ts | 13 + .../website-views/Router3Component.ts | 13 + .../website-views/Router4Component.ts | 12 + .../website-views/RouterBaseComponent.ts | 11 + .../website-views/RouterEComponent.ts | 6 + .../website-views/RouterFComponent.ts | 6 + .../leftmenuthin-basic-website-views.html | 27 ++ .../leftmenuthin-params-website-views.html | 18 ++ ...leftmenuthin-routerlist-website-views.html | 25 ++ .../leftmenuthin/website-views/router.less | 6 + src/leftmenuthin/demo/src/favicon.ico | Bin 0 -> 300852 bytes src/leftmenuthin/demo/src/index.html | 16 ++ src/leftmenuthin/demo/src/main.ts | 13 + src/leftmenuthin/demo/test.ts | 24 ++ src/leftmenuthin/demo/tsconfig.app.json | 10 + src/leftmenuthin/demo/tsconfig.spec.json | 15 ++ src/leftmenuthin/lib/index.ts | 2 + src/leftmenuthin/lib/ng-package.json | 7 + src/leftmenuthin/lib/package.json | 8 + src/leftmenuthin/lib/project.json | 51 ++++ .../lib/src/TiLeftmenuthinComponent.ts | 255 ++++++++++++++++++ .../lib/src/TiLeftmenuthinModule.ts | 25 ++ src/leftmenuthin/lib/src/leftmenuthin.html | 15 ++ src/leftmenuthin/lib/src/leftmenuthin.less | 49 ++++ src/linkbutton/lib/ng-package.json | 2 +- src/linkbutton/lib/package.json | 6 +- src/linkbutton/lib/project.json | 6 +- src/list/lib/ng-package.json | 12 +- src/list/lib/package.json | 14 +- src/list/lib/project.json | 6 +- src/list/lib/src/TiListComponent.ts | 4 + src/list/lib/src/list.html | 15 +- src/list/lib/src/list.less | 7 + src/loading/lib/ng-package.json | 12 +- src/loading/lib/package.json | 8 +- src/loading/lib/project.json | 6 +- src/locale/lib/ng-package.json | 2 +- src/locale/lib/package.json | 4 +- src/locale/lib/project.json | 6 +- src/menu/lib/ng-package.json | 12 +- src/menu/lib/package.json | 12 +- src/menu/lib/project.json | 6 +- src/message/lib/ng-package.json | 12 +- src/message/lib/package.json | 14 +- src/message/lib/project.json | 6 +- src/modal/lib/ng-package.json | 12 +- src/modal/lib/package.json | 16 +- src/modal/lib/project.json | 6 +- src/nav/lib/ng-package.json | 12 +- src/nav/lib/package.json | 2 +- src/nav/lib/project.json | 6 +- src/ng/demo/src/app/AppWcModule.ts | 18 ++ src/ng/demo/src/app/DemoModules.ts | 2 + src/ng/demo/src/webdoc/menus.js | 1 + src/ng/lib/index.ts | 1 + src/ng/lib/package.json | 205 +++++++------- src/notification/lib/ng-package.json | 12 +- src/notification/lib/package.json | 8 +- src/notification/lib/project.json | 6 +- src/outline/lib/ng-package.json | 12 +- src/outline/lib/package.json | 2 +- src/outline/lib/project.json | 6 +- src/overflow/lib/ng-package.json | 12 +- src/overflow/lib/package.json | 8 +- src/overflow/lib/project.json | 6 +- src/pagination/lib/ng-package.json | 12 +- src/pagination/lib/package.json | 18 +- src/pagination/lib/project.json | 6 +- src/path/lib/ng-package.json | 2 +- src/path/lib/package.json | 16 +- src/path/lib/project.json | 6 +- src/phonenumber/lib/ng-package.json | 2 +- src/phonenumber/lib/package.json | 12 +- src/phonenumber/lib/project.json | 6 +- src/popconfirm/lib/ng-package.json | 12 +- src/popconfirm/lib/package.json | 14 +- src/popconfirm/lib/project.json | 6 +- src/popup/lib/ng-package.json | 12 +- src/popup/lib/package.json | 4 +- src/popup/lib/project.json | 6 +- src/productpreview/lib/ng-package.json | 2 +- src/productpreview/lib/package.json | 14 +- src/productpreview/lib/project.json | 6 +- src/progressbar/lib/ng-package.json | 12 +- src/progressbar/lib/package.json | 4 +- src/progressbar/lib/project.json | 6 +- src/progresspie/lib/ng-package.json | 12 +- src/progresspie/lib/package.json | 2 +- src/progresspie/lib/project.json | 6 +- src/radio/lib/ng-package.json | 12 +- src/radio/lib/package.json | 8 +- src/radio/lib/project.json | 6 +- src/rate/lib/ng-package.json | 12 +- src/rate/lib/package.json | 6 +- src/rate/lib/project.json | 6 +- src/renderer/lib/ng-package.json | 12 +- src/renderer/lib/package.json | 2 +- src/renderer/lib/project.json | 6 +- src/rights/lib/ng-package.json | 2 +- src/rights/lib/package.json | 10 +- src/rights/lib/project.json | 6 +- src/score/lib/ng-package.json | 12 +- src/score/lib/package.json | 8 +- src/score/lib/project.json | 6 +- src/scroll/lib/ng-package.json | 12 +- src/scroll/lib/package.json | 4 +- src/scroll/lib/project.json | 6 +- .../searchbox/SearchboxSuggestComponent.ts | 93 ++++++- .../src/app/searchbox/searchbox-suggest.html | 14 +- .../app/searchbox/webdoc/searchbox-demos.js | 9 +- src/searchbox/lib/ng-package.json | 12 +- src/searchbox/lib/package.json | 18 +- src/searchbox/lib/project.json | 6 +- src/searchbox/lib/src/searchbox.html | 1 + src/select/lib/ng-package.json | 12 +- src/select/lib/package.json | 16 +- src/select/lib/project.json | 6 +- src/selectgroup/lib/ng-package.json | 2 +- src/selectgroup/lib/package.json | 8 +- src/selectgroup/lib/project.json | 6 +- src/skeleton/lib/ng-package.json | 12 +- src/skeleton/lib/package.json | 2 +- src/skeleton/lib/project.json | 6 +- src/slider/lib/ng-package.json | 12 +- src/slider/lib/package.json | 12 +- src/slider/lib/project.json | 6 +- src/spinner/lib/ng-package.json | 12 +- src/spinner/lib/package.json | 16 +- src/spinner/lib/project.json | 6 +- src/steps/lib/ng-package.json | 12 +- src/steps/lib/package.json | 12 +- src/steps/lib/project.json | 6 +- src/subtitle/lib/ng-package.json | 12 +- src/subtitle/lib/package.json | 16 +- src/subtitle/lib/project.json | 6 +- src/swiper/lib/ng-package.json | 12 +- src/swiper/lib/package.json | 8 +- src/swiper/lib/project.json | 6 +- src/switch/lib/ng-package.json | 12 +- src/switch/lib/package.json | 4 +- src/switch/lib/project.json | 6 +- src/tab/lib/ng-package.json | 12 +- src/tab/lib/package.json | 14 +- src/tab/lib/project.json | 6 +- src/table/lib/ng-package.json | 12 +- src/table/lib/package.json | 36 +-- src/table/lib/project.json | 6 +- src/tag/lib/ng-package.json | 12 +- src/tag/lib/package.json | 8 +- src/tag/lib/project.json | 6 +- src/tagsinput/lib/ng-package.json | 12 +- src/tagsinput/lib/package.json | 12 +- src/tagsinput/lib/project.json | 6 +- src/text/lib/ng-package.json | 12 +- src/text/lib/package.json | 8 +- src/text/lib/project.json | 6 +- src/textarea/lib/ng-package.json | 12 +- src/textarea/lib/package.json | 10 +- src/textarea/lib/project.json | 6 +- src/themes/package.json | 2 +- src/themes/project.json | 4 +- src/time/lib/ng-package.json | 12 +- src/time/lib/package.json | 18 +- src/time/lib/project.json | 6 +- src/timeline/lib/ng-package.json | 12 +- src/timeline/lib/package.json | 10 +- src/timeline/lib/project.json | 6 +- src/tip/lib/ng-package.json | 12 +- src/tip/lib/package.json | 8 +- src/tip/lib/project.json | 6 +- src/transfer/lib/ng-package.json | 12 +- src/transfer/lib/package.json | 26 +- src/transfer/lib/project.json | 6 +- src/tree/lib/ng-package.json | 12 +- src/tree/lib/package.json | 20 +- src/tree/lib/project.json | 6 +- src/treeselect/lib/ng-package.json | 12 +- src/treeselect/lib/package.json | 22 +- src/treeselect/lib/project.json | 6 +- src/upload/lib/ng-package.json | 12 +- src/upload/lib/package.json | 28 +- src/upload/lib/project.json | 6 +- .../src/app/theme/ThemePaletteComponent.ts | 11 + .../demo/src/app/theme/ThemeTestModule.ts | 7 +- .../demo/src/app/theme/theme-palette.html | 3 + .../demo/src/app/theme/webdoc/theme-demos.js | 20 +- src/utils/lib/ng-package.json | 2 +- src/utils/lib/package.json | 2 +- src/utils/lib/project.json | 6 +- src/utils/lib/src/Position.ts | 40 ++- src/utils/lib/src/TiTheme.ts | 81 ++++++ src/validation/lib/ng-package.json | 12 +- src/validation/lib/package.json | 18 +- src/validation/lib/project.json | 6 +- src/zoom/lib/ng-package.json | 12 +- src/zoom/lib/package.json | 4 +- src/zoom/lib/project.json | 6 +- tsconfig.base.json | 1 + 388 files changed, 3548 insertions(+), 1506 deletions(-) create mode 100644 src/autocomplete/demo/src/app/autocomplete/AutocompleteSuggestComponent.ts create mode 100644 src/autocomplete/demo/src/app/autocomplete/autocomplete-suggest.html create mode 100644 src/leftmenuthin/demo/karma.conf.js create mode 100644 src/leftmenuthin/demo/project.json create mode 100644 src/leftmenuthin/demo/src/app/AppComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/AppModule.ts create mode 100644 src/leftmenuthin/demo/src/app/IndexComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/app.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinBasicComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinParamsComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinRouterlistComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinTestModule.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/Router1Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/Router2Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/Router3Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/Router4Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/RouterEComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/RouterFComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-basic.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-params.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-routerlist.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin-demos.js create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.cn.md create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.en.md create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteModule.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin-website.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin.less create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinBasicWebsiteViewsComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinParamsWebsiteViewsComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinRouterlistWebsiteViewsComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router1Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router2Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router3Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router4Component.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterBaseComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterEComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterFComponent.ts create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-basic-website-views.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-params-website-views.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-routerlist-website-views.html create mode 100644 src/leftmenuthin/demo/src/app/leftmenuthin/website-views/router.less create mode 100644 src/leftmenuthin/demo/src/favicon.ico create mode 100644 src/leftmenuthin/demo/src/index.html create mode 100644 src/leftmenuthin/demo/src/main.ts create mode 100644 src/leftmenuthin/demo/test.ts create mode 100644 src/leftmenuthin/demo/tsconfig.app.json create mode 100644 src/leftmenuthin/demo/tsconfig.spec.json create mode 100644 src/leftmenuthin/lib/index.ts create mode 100644 src/leftmenuthin/lib/ng-package.json create mode 100644 src/leftmenuthin/lib/package.json create mode 100644 src/leftmenuthin/lib/project.json create mode 100644 src/leftmenuthin/lib/src/TiLeftmenuthinComponent.ts create mode 100644 src/leftmenuthin/lib/src/TiLeftmenuthinModule.ts create mode 100644 src/leftmenuthin/lib/src/leftmenuthin.html create mode 100644 src/leftmenuthin/lib/src/leftmenuthin.less create mode 100644 src/utils/demo/src/app/theme/ThemePaletteComponent.ts create mode 100644 src/utils/demo/src/app/theme/theme-palette.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 436a696..04912c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ title: 更新日志 | TinyNG --- ## 更新日志 +### 1.0.0-beta.2 + +*2023-05-16* + +1. Latest version ### 1.0.0-beta.1 diff --git a/angular.json b/angular.json index 91f1dd0..93456c2 100644 --- a/angular.json +++ b/angular.json @@ -93,6 +93,8 @@ "layout-demo": "src/layout/demo", "leftmenu": "src/leftmenu/lib", "leftmenu-demo": "src/leftmenu/demo", + "leftmenuthin": "src/leftmenuthin/lib", + "leftmenuthin-demo": "src/leftmenuthin/demo", "linkbutton": "src/linkbutton/lib", "linkbutton-demo": "src/linkbutton/demo", "list": "src/list/lib", diff --git a/build/buildThemes.js b/build/buildThemes.js index 81f1a1a..f480880 100644 --- a/build/buildThemes.js +++ b/build/buildThemes.js @@ -2,12 +2,12 @@ const { execSync } = require('child_process'); const path = require('path'); const fs = require('fs-extra'); -execSync('npx lessc src/themes/basic/build.less dist/libs/themes/styles.css'); +execSync('npx lessc src/themes/basic/build.less dist/libs/ng-themes/styles.css'); -execSync('npx lessc src/themes/theme-default/build.less dist/libs/themes/theme-default.css'); -execSync('npx lessc src/themes/theme-blue/build.less dist/libs/themes/theme-blue.css'); -execSync('npx lessc src/themes/theme-green/build.less dist/libs/themes/theme-green.css'); -execSync('npx lessc src/themes/theme-purple/build.less dist/libs/themes/theme-purple.css'); -execSync('npx lessc src/themes/theme-red/build.less dist/libs/themes/theme-red.css'); +execSync('npx lessc src/themes/theme-default/build.less dist/libs/ng-themes/theme-default.css'); +execSync('npx lessc src/themes/theme-blue/build.less dist/libs/ng-themes/theme-blue.css'); +execSync('npx lessc src/themes/theme-green/build.less dist/libs/ng-themes/theme-green.css'); +execSync('npx lessc src/themes/theme-purple/build.less dist/libs/ng-themes/theme-purple.css'); +execSync('npx lessc src/themes/theme-red/build.less dist/libs/ng-themes/theme-red.css'); -fs.copy(path.resolve(__dirname, '../src/themes/package.json') , path.resolve(__dirname, '../dist/libs/themes/package.json')); \ No newline at end of file +fs.copy(path.resolve(__dirname, '../src/themes/package.json') , path.resolve(__dirname, '../dist/libs/ng-themes/package.json')); \ No newline at end of file diff --git a/package.json b/package.json index 183949e..2c60b47 100644 --- a/package.json +++ b/package.json @@ -33,11 +33,12 @@ "@angular/platform-browser": "~13.3.0", "@angular/platform-browser-dynamic": "~13.3.0", "@angular/router": "~13.3.0", + "libphonenumber-js": "^1.10.7", "rxjs": "^6.5.3 || ^7.4.0", "tslib": "^2.0.0", "web-animations-js": "^2.3.2", - "libphonenumber-js": "1.10.7", - "zone.js": "^0.11.8" + "zone.js": "^0.11.8", + "color":"4.2.3" }, "devDependencies": { "@angular-devkit/build-angular": "~13.3.0", diff --git a/src/accordion/lib/ng-package.json b/src/accordion/lib/ng-package.json index 6d70021..d48e4c9 100644 --- a/src/accordion/lib/ng-package.json +++ b/src/accordion/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/accordion", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-accordion", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/accordion/lib/package.json b/src/accordion/lib/package.json index 71c4aea..a93ead2 100644 --- a/src/accordion/lib/package.json +++ b/src/accordion/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-accordion", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/animations": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/accordion/lib/project.json b/src/accordion/lib/project.json index c6d21a0..43c5d56 100644 --- a/src/accordion/lib/project.json +++ b/src/accordion/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/accordion"], + "outputs": ["dist/libs/ng-accordion"], "options": { "project": "src/accordion/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/accordion"], + "outputs": ["dist/libs/ng-accordion"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/accordion && npm pack" + "command": "cd dist/libs/ng-accordion && npm pack" } ] } diff --git a/src/actionmenu/lib/ng-package.json b/src/actionmenu/lib/ng-package.json index 86956a3..25a20e2 100644 --- a/src/actionmenu/lib/ng-package.json +++ b/src/actionmenu/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/actionmenu", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-actionmenu", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/actionmenu/lib/package.json b/src/actionmenu/lib/package.json index a824069..ad31380 100644 --- a/src/actionmenu/lib/package.json +++ b/src/actionmenu/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-actionmenu", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-menu": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-menu": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-popconfirm": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-popconfirm": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/actionmenu/lib/project.json b/src/actionmenu/lib/project.json index de4840e..076ffe1 100644 --- a/src/actionmenu/lib/project.json +++ b/src/actionmenu/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/actionmenu"], + "outputs": ["dist/libs/ng-actionmenu"], "options": { "project": "src/actionmenu/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/actionmenu"], + "outputs": ["dist/libs/ng-actionmenu"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/actionmenu && npm pack" + "command": "cd dist/libs/ng-actionmenu && npm pack" } ] } diff --git a/src/alert/lib/ng-package.json b/src/alert/lib/ng-package.json index adf546c..8e369f0 100644 --- a/src/alert/lib/ng-package.json +++ b/src/alert/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/alert", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-alert", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/alert/lib/package.json b/src/alert/lib/package.json index d991a25..b263f01 100644 --- a/src/alert/lib/package.json +++ b/src/alert/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-alert", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", "@angular/animations": ">=13.0.0" } } \ No newline at end of file diff --git a/src/alert/lib/project.json b/src/alert/lib/project.json index 951d92a..f96ed1e 100644 --- a/src/alert/lib/project.json +++ b/src/alert/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/alert"], + "outputs": ["dist/libs/ng-alert"], "options": { "project": "src/alert/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/alert"], + "outputs": ["dist/libs/ng-alert"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/alert && npm pack" + "command": "cd dist/libs/ng-alert && npm pack" } ] } diff --git a/src/anchor/lib/ng-package.json b/src/anchor/lib/ng-package.json index 3c5802d..88771fb 100644 --- a/src/anchor/lib/ng-package.json +++ b/src/anchor/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/anchor", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-anchor", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/anchor/lib/package.json b/src/anchor/lib/package.json index 48cdbff..afe74b1 100644 --- a/src/anchor/lib/package.json +++ b/src/anchor/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-anchor", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/anchor/lib/project.json b/src/anchor/lib/project.json index 637fbda..7ddecf0 100644 --- a/src/anchor/lib/project.json +++ b/src/anchor/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/anchor"], + "outputs": ["dist/libs/ng-anchor"], "options": { "project": "src/anchor/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/anchor"], + "outputs": ["dist/libs/ng-anchor"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/anchor && npm pack" + "command": "cd dist/libs/ng-anchor && npm pack" } ] } diff --git a/src/autocomplete/demo/src/app/autocomplete/AutocompleteSuggestComponent.ts b/src/autocomplete/demo/src/app/autocomplete/AutocompleteSuggestComponent.ts new file mode 100644 index 0000000..62fcc11 --- /dev/null +++ b/src/autocomplete/demo/src/app/autocomplete/AutocompleteSuggestComponent.ts @@ -0,0 +1,106 @@ +import { Component, OnDestroy } from '@angular/core'; +import { TiAutocompleteComponent } from '@opentiny/ng'; + +@Component({ + templateUrl: './autocomplete-suggest.html' +}) +export class AutocompleteSuggestComponent implements OnDestroy { + value1: string = ''; + value2: string = ''; + timeout: any; + + // 设置建议项-加载有数据 + onSuggest1(autocomplete: TiAutocompleteComponent): void { + if (this.timeout) { + clearTimeout(this.timeout); + } + autocomplete.setLoading(true); + // 模拟后台异步请求 + this.getData(autocomplete.model).then((result: any) => { + autocomplete.setLoading(false); + autocomplete.setSuggestions(result.data); + }); + } + + // 设置建议项-加载无数据 + onSuggest2(autocomplete: TiAutocompleteComponent): void { + if (this.timeout) { + clearTimeout(this.timeout); + } + autocomplete.setLoading(true); + // 模拟后台异步请求 + this.getNoData(autocomplete.model).then((result: any) => { + autocomplete.setLoading(false); + autocomplete.setSuggestions(result.data); + }); + } + + private getSuggestionData(value: string): Array { + const options: Array = value + ? [ + { + label: value + '@a.com' + }, + { + label: value + '@b.com' + }, + { + label: value + '@c.com' + }, + { + label: value + '@d.com' + }, + { + label: value + '@e.com' + }, + { + label: value + '@f.com' + } + ] + : [ + { + label: '@a.com' + }, + { + label: '@b.com' + }, + { + label: '@c.com' + }, + { + label: '@d.com' + }, + { + label: '@e.com' + }, + { + label: '@f.com' + } + ]; + + return options; + } + + private getData(inputValue: string): Promise { + return new Promise((resolve: any, reject: any): any => { + let result: Array = this.getSuggestionData(inputValue); + this.timeout = setTimeout(() => { + resolve({ data: result }); + }, 1500); + }); + } + + private getNoData(inputValue: string): Promise { + return new Promise((resolve: any, reject: any): any => { + this.timeout = setTimeout(() => { + resolve({ data: [] }); + }, 1500); + }); + } + + ngOnDestroy(): void { + if (this.timeout) { + clearTimeout(this.timeout); + } + } +} diff --git a/src/autocomplete/demo/src/app/autocomplete/AutocompleteTestModule.ts b/src/autocomplete/demo/src/app/autocomplete/AutocompleteTestModule.ts index 60b1736..3524b15 100644 --- a/src/autocomplete/demo/src/app/autocomplete/AutocompleteTestModule.ts +++ b/src/autocomplete/demo/src/app/autocomplete/AutocompleteTestModule.ts @@ -26,6 +26,7 @@ import { AutocompleteTestComponent } from './AutocompleteTestComponent'; import { AutocompleteAppendtobodyComponent } from './AutocompleteAppendtobodyComponent'; import { AutocompleteTemplateComponent } from './AutocompleteTemplateComponent'; import { AutocompleteGroupComponent } from './AutocompleteGroupComponent'; +import { AutocompleteSuggestComponent } from './AutocompleteSuggestComponent'; @NgModule({ imports: [ @@ -53,7 +54,8 @@ import { AutocompleteGroupComponent } from './AutocompleteGroupComponent'; AutocompleteAppendtobodyComponent, AutocompleteTestComponent, AutocompleteTemplateComponent, - AutocompleteGroupComponent + AutocompleteGroupComponent, + AutocompleteSuggestComponent ] }) export class AutocompleteTestModule { @@ -106,6 +108,10 @@ export class AutocompleteTestModule { { path: 'autocomplete/autocomplete-test', component: AutocompleteTestComponent + }, + { + path: 'autocomplete/autocomplete-suggest', + component: AutocompleteSuggestComponent } ]; } diff --git a/src/autocomplete/demo/src/app/autocomplete/autocomplete-suggest.html b/src/autocomplete/demo/src/app/autocomplete/autocomplete-suggest.html new file mode 100644 index 0000000..4d8cb64 --- /dev/null +++ b/src/autocomplete/demo/src/app/autocomplete/autocomplete-suggest.html @@ -0,0 +1,17 @@ +

1.加载有数据

+ + +

2.加载无数据

+ diff --git a/src/autocomplete/demo/src/app/autocomplete/webdoc/autocomplete-demos.js b/src/autocomplete/demo/src/app/autocomplete/webdoc/autocomplete-demos.js index 246b5b2..7b8d1a4 100644 --- a/src/autocomplete/demo/src/app/autocomplete/webdoc/autocomplete-demos.js +++ b/src/autocomplete/demo/src/app/autocomplete/webdoc/autocomplete-demos.js @@ -159,6 +159,19 @@ export default { 'en-US': '' }, apis: ['TiAutocompleteComponent.properties.options'] + }, + { + demoId: 'autocomplete-suggest', + name: { + 'zh-CN': '动态加载下拉项', + 'en-US': 'suggest' + }, + desc: { + 'zh-CN': + '

通过suggest事件配置当聚焦或值改变时触发事件,为开发者提供设置建议项的时机。通过setLoading()方法设置加载状态。

', + 'en-US': '' + }, + apis: ['TiAutocompleteComponent.methods.setLoading'] } ] }; diff --git a/src/autocomplete/lib/ng-package.json b/src/autocomplete/lib/ng-package.json index 424e693..58c53e6 100644 --- a/src/autocomplete/lib/ng-package.json +++ b/src/autocomplete/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/autocomplete", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-autocomplete", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/autocomplete/lib/package.json b/src/autocomplete/lib/package.json index 00bfec5..74f4972 100644 --- a/src/autocomplete/lib/package.json +++ b/src/autocomplete/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-autocomplete", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-droplist": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-droplist": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0" } diff --git a/src/autocomplete/lib/project.json b/src/autocomplete/lib/project.json index fc677b4..600a689 100644 --- a/src/autocomplete/lib/project.json +++ b/src/autocomplete/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/autocomplete"], + "outputs": ["dist/libs/ng-autocomplete"], "options": { "project": "src/autocomplete/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/autocomplete"], + "outputs": ["dist/libs/ng-autocomplete"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/autocomplete && npm pack" + "command": "cd dist/libs/ng-autocomplete && npm pack" } ] } diff --git a/src/autocomplete/lib/src/TiAutocompleteComponent.ts b/src/autocomplete/lib/src/TiAutocompleteComponent.ts index 31c640f..55420a1 100644 --- a/src/autocomplete/lib/src/TiAutocompleteComponent.ts +++ b/src/autocomplete/lib/src/TiAutocompleteComponent.ts @@ -12,11 +12,10 @@ import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Input, Output, TemplateRef, ViewChild } from '@angular/core'; import { TiFormComponent } from '@opentiny/ng-base'; import { TiDroplistComponent } from '@opentiny/ng-droplist'; -import { debounceTime, switchMap } from 'rxjs/operators'; +import { debounceTime, switchMap, tap } from 'rxjs/operators'; import { TiTextComponent } from '@opentiny/ng-text'; import { empty, Subject, Subscription } from 'rxjs'; -import { Util } from '@opentiny/ng-utils'; -import { TiPositionType } from '@opentiny/ng-utils'; +import { Util, TiPositionType } from '@opentiny/ng-utils'; import packageInfo from '../package.json'; /** @@ -122,6 +121,11 @@ export class TiAutocompleteComponent extends TiFormComponent { * 是否聚焦的标志位 */ public isFocused: boolean = false; + /** + * @ignore + * 控制loading状态 + */ + public loading: boolean; /** * 最后一次下拉建议项 */ @@ -162,7 +166,7 @@ export class TiAutocompleteComponent extends TiFormComponent { ngOnDestroy(): void { // 修正SSR报错:TypeError: Cannot read property 'unsubscribe' of undefined - this.inputChangeSub && this.inputChangeSub.unsubscribe(); + this.inputChangeSub?.unsubscribe(); } // 组件交互方法集合--start @@ -211,7 +215,7 @@ export class TiAutocompleteComponent extends TiFormComponent { // 问题根因:以上操作中当点击组件以外的地方,组件会有快速的聚焦再失焦的过程;聚焦时打开面板添加了延时处理,组件再失焦后时机早于聚焦,导致下拉面板无法隐藏; // 解决方案:失焦时也添加延时处理; setTimeout(() => { - this.dropListComp && this.dropListComp.hide(); + this.dropListComp?.hide(); this.isFocused = false; }, 0); } @@ -253,7 +257,7 @@ export class TiAutocompleteComponent extends TiFormComponent { * 防止原生input框select(选中文本)事件触发时,冒泡到ti-autocomplete的select(选中选项)事件 * */ - inputSelect(event: Event) { + inputSelect(event: Event): void { event.stopPropagation(); } @@ -267,6 +271,15 @@ export class TiAutocompleteComponent extends TiFormComponent { private createInputChangeObserve(): void { this.inputChangeSub = this.inputChangeObserve .pipe( + // 下拉建议项固定时,第一项即时更新 + tap((value: string) => { + if (this.isFocused && this.suggest.observers.length === 0 && this.options && this.options.length > 0) { + if (value) { + this.suggestions = [{ id: value, [this.labelKey]: value }]; + } + this.show(); + } + }), debounceTime(200), // 200ms延迟执行,解决请求太频繁问题 // TODO: 在点击清除按钮或者快捷键删除时数据不准确,可能导致在这些操作时触发不了下面的逻辑 // distinctUntilChanged(),避免前后两次相同数据重复处理,只有上次数据和200ms后的数据不相等时才触发后续动作。 @@ -277,10 +290,8 @@ export class TiAutocompleteComponent extends TiFormComponent { if (this.suggest.observers.length === 0) { this.lastSuggestions = this.suggestions; this.suggestions = this.filter(value); - if (this.suggestions.length > 0) { - this.show(); - } else { - this.dropListComp && this.dropListComp.hide(); + if (this.suggestions.length === 0) { + this.dropListComp?.hide(); } } else { this.suggest.emit(this); @@ -294,6 +305,18 @@ export class TiAutocompleteComponent extends TiFormComponent { ) .subscribe(); } + /** + * 设置加载状态 + * + * @param state true:加载中;false:加载结束 + */ + public setLoading(state: boolean): void { + this.loading = state; + if (state) { + this.suggestions = []; + this.show(); + } + } /** * 设置下拉建议项数据 * @@ -302,7 +325,7 @@ export class TiAutocompleteComponent extends TiFormComponent { public setSuggestions(value: Array): void { this.lastSuggestions = this.suggestions; this.suggestions = value; - if (this.suggestions.length > 0) { + if (this.suggestions.length > 0 || !Util.isUndefined(this.loading)) { this.show(); } else { this.dropListComp.hide(); diff --git a/src/autocomplete/lib/src/autocomplete.html b/src/autocomplete/lib/src/autocomplete.html index 1b23c08..bf9336b 100644 --- a/src/autocomplete/lib/src/autocomplete.html +++ b/src/autocomplete/lib/src/autocomplete.html @@ -24,6 +24,7 @@ [tipPosition]="tipPosition" [tipMaxWidth]="tipMaxWidth" [referElem]="appendToBody ? undefined : nativeElement" + [loading]="loading" (ngModelChange)="onDroplistChange($event)" (select)="onSelect($event)" [id]="appendId('droplist')" diff --git a/src/avatar/lib/ng-package.json b/src/avatar/lib/ng-package.json index 4271267..8cc45dd 100644 --- a/src/avatar/lib/ng-package.json +++ b/src/avatar/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/avatar", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-avatar", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/avatar/lib/package.json b/src/avatar/lib/package.json index 7037dcf..4335a92 100644 --- a/src/avatar/lib/package.json +++ b/src/avatar/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-avatar", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/avatar/lib/project.json b/src/avatar/lib/project.json index e299415..6292435 100644 --- a/src/avatar/lib/project.json +++ b/src/avatar/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/avatar"], + "outputs": ["dist/libs/ng-avatar"], "options": { "project": "src/avatar/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/avatar"], + "outputs": ["dist/libs/ng-avatar"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/avatar && npm pack" + "command": "cd dist/libs/ng-avatar && npm pack" } ] } diff --git a/src/base/lib/ng-package.json b/src/base/lib/ng-package.json index d8ff706..ab33337 100644 --- a/src/base/lib/ng-package.json +++ b/src/base/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/base", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-base", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/base/lib/package.json b/src/base/lib/package.json index 9ca7a84..81407b4 100644 --- a/src/base/lib/package.json +++ b/src/base/lib/package.json @@ -1,9 +1,9 @@ { "name": "@opentiny/ng-base", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0" } diff --git a/src/base/lib/project.json b/src/base/lib/project.json index 9d5dfd5..eb37722 100644 --- a/src/base/lib/project.json +++ b/src/base/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/base"], + "outputs": ["dist/libs/ng-base"], "options": { "project": "src/base/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/base"], + "outputs": ["dist/libs/ng-base"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/base && npm pack" + "command": "cd dist/libs/ng-base && npm pack" } ] } diff --git a/src/button/lib/ng-package.json b/src/button/lib/ng-package.json index 573743f..f8b5626 100644 --- a/src/button/lib/ng-package.json +++ b/src/button/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/button", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-button", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/button/lib/package.json b/src/button/lib/package.json index 0f1eeeb..e1dcd37 100644 --- a/src/button/lib/package.json +++ b/src/button/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-button", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-loading": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-loading": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/button/lib/project.json b/src/button/lib/project.json index 93ea6a8..c213892 100644 --- a/src/button/lib/project.json +++ b/src/button/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/button"], + "outputs": ["dist/libs/ng-button"], "options": { "project": "src/button/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/button"], + "outputs": ["dist/libs/ng-button"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/button && npm pack" + "command": "cd dist/libs/ng-button && npm pack" } ] } diff --git a/src/buttongroup/lib/ng-package.json b/src/buttongroup/lib/ng-package.json index 6233b97..019916a 100644 --- a/src/buttongroup/lib/ng-package.json +++ b/src/buttongroup/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/buttongroup", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-buttongroup", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/buttongroup/lib/package.json b/src/buttongroup/lib/package.json index ad31d36..37f9575 100644 --- a/src/buttongroup/lib/package.json +++ b/src/buttongroup/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-buttongroup", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/buttongroup/lib/project.json b/src/buttongroup/lib/project.json index 68c6e9f..8226f69 100644 --- a/src/buttongroup/lib/project.json +++ b/src/buttongroup/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/buttongroup"], + "outputs": ["dist/libs/ng-buttongroup"], "options": { "project": "src/buttongroup/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/buttongroup"], + "outputs": ["dist/libs/ng-buttongroup"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/buttongroup && npm pack" + "command": "cd dist/libs/ng-buttongroup && npm pack" } ] } diff --git a/src/buttonselect/lib/ng-package.json b/src/buttonselect/lib/ng-package.json index 51b93cc..9deff39 100644 --- a/src/buttonselect/lib/ng-package.json +++ b/src/buttonselect/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/buttonselect", + "dest": "../../../dist/libs/ng-buttonselect", "lib": { "entryFile": "./index.ts" } diff --git a/src/buttonselect/lib/package.json b/src/buttonselect/lib/package.json index 60d93f5..b59b2bb 100644 --- a/src/buttonselect/lib/package.json +++ b/src/buttonselect/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-buttonselect", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-droplist": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-droplist": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/buttonselect/lib/project.json b/src/buttonselect/lib/project.json index 3e6aba8..097a48b 100644 --- a/src/buttonselect/lib/project.json +++ b/src/buttonselect/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/buttonselect"], + "outputs": ["dist/libs/ng-buttonselect"], "options": { "project": "src/buttonselect/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/buttonselect"], + "outputs": ["dist/libs/ng-buttonselect"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/buttonselect && npm pack" + "command": "cd dist/libs/ng-buttonselect && npm pack" } ] } diff --git a/src/card/lib/ng-package.json b/src/card/lib/ng-package.json index 166205f..03ccce4 100644 --- a/src/card/lib/ng-package.json +++ b/src/card/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/card", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-card", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/card/lib/package.json b/src/card/lib/package.json index ccb0933..6d97f7e 100644 --- a/src/card/lib/package.json +++ b/src/card/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-card", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/card/lib/project.json b/src/card/lib/project.json index c3583c6..899c4ff 100644 --- a/src/card/lib/project.json +++ b/src/card/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/card"], + "outputs": ["dist/libs/ng-card"], "options": { "project": "src/card/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/card"], + "outputs": ["dist/libs/ng-card"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/card && npm pack" + "command": "cd dist/libs/ng-card && npm pack" } ] } diff --git a/src/cascader/lib/ng-package.json b/src/cascader/lib/ng-package.json index a094507..ebeba8d 100644 --- a/src/cascader/lib/ng-package.json +++ b/src/cascader/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/cascader", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-cascader", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/cascader/lib/package.json b/src/cascader/lib/package.json index abb4798..284e8de 100644 --- a/src/cascader/lib/package.json +++ b/src/cascader/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-cascader", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-dominator": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-droplist": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-dominator": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-droplist": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/cascader/lib/project.json b/src/cascader/lib/project.json index 4d41657..3dcf8f4 100644 --- a/src/cascader/lib/project.json +++ b/src/cascader/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/cascader"], + "outputs": ["dist/libs/ng-cascader"], "options": { "project": "src/cascader/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/cascader"], + "outputs": ["dist/libs/ng-cascader"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/cascader && npm pack" + "command": "cd dist/libs/ng-cascader && npm pack" } ] } diff --git a/src/checkbox/lib/ng-package.json b/src/checkbox/lib/ng-package.json index 8987233..5754115 100644 --- a/src/checkbox/lib/ng-package.json +++ b/src/checkbox/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/checkbox", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-checkbox", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/checkbox/lib/package.json b/src/checkbox/lib/package.json index 79da779..710620d 100644 --- a/src/checkbox/lib/package.json +++ b/src/checkbox/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-checkbox", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/checkbox/lib/project.json b/src/checkbox/lib/project.json index 48ecd3c..f13ff6e 100644 --- a/src/checkbox/lib/project.json +++ b/src/checkbox/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/checkbox"], + "outputs": ["dist/libs/ng-checkbox"], "options": { "project": "src/checkbox/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/checkbox"], + "outputs": ["dist/libs/ng-checkbox"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/checkbox && npm pack" + "command": "cd dist/libs/ng-checkbox && npm pack" } ] } diff --git a/src/collapse/lib/ng-package.json b/src/collapse/lib/ng-package.json index 2b899ff..ef7b23a 100644 --- a/src/collapse/lib/ng-package.json +++ b/src/collapse/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/collapse", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-collapse", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/collapse/lib/package.json b/src/collapse/lib/package.json index e567aca..24e914f 100644 --- a/src/collapse/lib/package.json +++ b/src/collapse/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-collapse", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/animations": ">=13.0.0", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/collapse/lib/project.json b/src/collapse/lib/project.json index 21a7651..d3bff1e 100644 --- a/src/collapse/lib/project.json +++ b/src/collapse/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/collapse"], + "outputs": ["dist/libs/ng-collapse"], "options": { "project": "src/collapse/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/collapse"], + "outputs": ["dist/libs/ng-collapse"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/collapse && npm pack" + "command": "cd dist/libs/ng-collapse && npm pack" } ] } diff --git a/src/collapsebox/lib/ng-package.json b/src/collapsebox/lib/ng-package.json index dc857d0..6f41915 100644 --- a/src/collapsebox/lib/ng-package.json +++ b/src/collapsebox/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/collapsebox", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-collapsebox", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/collapsebox/lib/package.json b/src/collapsebox/lib/package.json index d05c9d6..23c3721 100644 --- a/src/collapsebox/lib/package.json +++ b/src/collapsebox/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-collapsebox", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-collapse": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-collapse": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/collapsebox/lib/project.json b/src/collapsebox/lib/project.json index 18426dd..fd4493f 100644 --- a/src/collapsebox/lib/project.json +++ b/src/collapsebox/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/collapsebox"], + "outputs": ["dist/libs/ng-collapsebox"], "options": { "project": "src/collapsebox/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/collapsebox"], + "outputs": ["dist/libs/ng-collapsebox"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/collapsebox && npm pack" + "command": "cd dist/libs/ng-collapsebox && npm pack" } ] } diff --git a/src/collapsebutton/lib/ng-package.json b/src/collapsebutton/lib/ng-package.json index 39ff511..0827233 100644 --- a/src/collapsebutton/lib/ng-package.json +++ b/src/collapsebutton/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/collapsebutton", + "dest": "../../../dist/libs/ng-collapsebutton", "lib": { "entryFile": "index.ts" } diff --git a/src/collapsebutton/lib/package.json b/src/collapsebutton/lib/package.json index 75ec726..1f17b3d 100644 --- a/src/collapsebutton/lib/package.json +++ b/src/collapsebutton/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-collapsebutton", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/collapsebutton/lib/project.json b/src/collapsebutton/lib/project.json index 3ae1ee5..2decef8 100644 --- a/src/collapsebutton/lib/project.json +++ b/src/collapsebutton/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/collapsebutton"], + "outputs": ["dist/libs/ng-collapsebutton"], "options": { "project": "src/collapsebutton/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/collapsebutton"], + "outputs": ["dist/libs/ng-collapsebutton"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/collapsebutton && npm pack" + "command": "cd dist/libs/ng-collapsebutton && npm pack" } ] } diff --git a/src/collapsetext/lib/ng-package.json b/src/collapsetext/lib/ng-package.json index 0431727..9296ed8 100644 --- a/src/collapsetext/lib/ng-package.json +++ b/src/collapsetext/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/collapsetext", + "dest": "../../../dist/libs/ng-collapsetext", "lib": { "entryFile": "./index.ts" } diff --git a/src/collapsetext/lib/package.json b/src/collapsetext/lib/package.json index 3e44d51..7282dfe 100644 --- a/src/collapsetext/lib/package.json +++ b/src/collapsetext/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-collapsetext", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0" diff --git a/src/collapsetext/lib/project.json b/src/collapsetext/lib/project.json index 47d2cda..08094a9 100644 --- a/src/collapsetext/lib/project.json +++ b/src/collapsetext/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/collapsetext"], + "outputs": ["dist/libs/ng-collapsetext"], "options": { "project": "src/collapsetext/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/collapsetext"], + "outputs": ["dist/libs/ng-collapsetext"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/collapsetext && npm pack" + "command": "cd dist/libs/ng-collapsetext && npm pack" } ] } diff --git a/src/copy/lib/ng-package.json b/src/copy/lib/ng-package.json index 130c397..1be7aed 100644 --- a/src/copy/lib/ng-package.json +++ b/src/copy/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/copy", + "dest": "../../../dist/libs/ng-copy", "lib": { "entryFile": "index.ts" } diff --git a/src/copy/lib/package.json b/src/copy/lib/package.json index 0fd66f3..ed69f86 100644 --- a/src/copy/lib/package.json +++ b/src/copy/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-copy", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-popup": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-popup": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/copy/lib/project.json b/src/copy/lib/project.json index 7b5f1cc..fb7e909 100644 --- a/src/copy/lib/project.json +++ b/src/copy/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/copy"], + "outputs": ["dist/libs/ng-copy"], "options": { "project": "src/copy/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/copy"], + "outputs": ["dist/libs/ng-copy"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/copy && npm pack" + "command": "cd dist/libs/ng-copy && npm pack" } ] } diff --git a/src/crumb/lib/ng-package.json b/src/crumb/lib/ng-package.json index f63bb21..d3d0218 100644 --- a/src/crumb/lib/ng-package.json +++ b/src/crumb/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/crumb", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-crumb", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/crumb/lib/package.json b/src/crumb/lib/package.json index c66e827..0a5d447 100644 --- a/src/crumb/lib/package.json +++ b/src/crumb/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-crumb", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/router": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/crumb/lib/project.json b/src/crumb/lib/project.json index dbdbbb6..f27196b 100644 --- a/src/crumb/lib/project.json +++ b/src/crumb/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/crumb"], + "outputs": ["dist/libs/ng-crumb"], "options": { "project": "src/crumb/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/crumb"], + "outputs": ["dist/libs/ng-crumb"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/crumb && npm pack" + "command": "cd dist/libs/ng-crumb && npm pack" } ] } diff --git a/src/date/lib/ng-package.json b/src/date/lib/ng-package.json index 5ec3516..d892462 100644 --- a/src/date/lib/ng-package.json +++ b/src/date/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/date", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-date", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/date/lib/package.json b/src/date/lib/package.json index 541806e..5cd569c 100644 --- a/src/date/lib/package.json +++ b/src/date/lib/package.json @@ -1,19 +1,19 @@ { "name": "@opentiny/ng-date", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-datepanel": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-datedominator": "~1.0.0-beta.1", - "@opentiny/ng-dateedit": "~1.0.0-beta.1", - "@opentiny/ng-datebase": "~1.0.0-beta.1" + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-datepanel": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-datedominator": "~1.0.0-beta.2", + "@opentiny/ng-dateedit": "~1.0.0-beta.2", + "@opentiny/ng-datebase": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/date/lib/project.json b/src/date/lib/project.json index d576dc1..4e3e594 100644 --- a/src/date/lib/project.json +++ b/src/date/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/date"], + "outputs": ["dist/libs/ng-date"], "options": { "project": "src/date/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/date"], + "outputs": ["dist/libs/ng-date"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/date && npm pack" + "command": "cd dist/libs/ng-date && npm pack" } ] } diff --git a/src/datebase/lib/ng-package.json b/src/datebase/lib/ng-package.json index 85eb656..107bb89 100644 --- a/src/datebase/lib/ng-package.json +++ b/src/datebase/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/datebase", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-datebase", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/datebase/lib/package.json b/src/datebase/lib/package.json index ce92c9e..a6fbbee 100644 --- a/src/datebase/lib/package.json +++ b/src/datebase/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-datebase", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-datedominator": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-dateedit": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-datedominator": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-dateedit": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/datebase/lib/project.json b/src/datebase/lib/project.json index a1f0c97..1e16bb2 100644 --- a/src/datebase/lib/project.json +++ b/src/datebase/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/datebase"], + "outputs": ["dist/libs/ng-datebase"], "options": { "project": "src/datebase/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/datebase"], + "outputs": ["dist/libs/ng-datebase"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/datebase && npm pack" + "command": "cd dist/libs/ng-datebase && npm pack" } ] } diff --git a/src/datedominator/lib/ng-package.json b/src/datedominator/lib/ng-package.json index 8a84427..2290fa9 100644 --- a/src/datedominator/lib/ng-package.json +++ b/src/datedominator/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/datedominator", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-datedominator", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/datedominator/lib/package.json b/src/datedominator/lib/package.json index 126590c..4fa4ba2 100644 --- a/src/datedominator/lib/package.json +++ b/src/datedominator/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-datedominator", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/datedominator/lib/project.json b/src/datedominator/lib/project.json index 821799f..d45dddb 100644 --- a/src/datedominator/lib/project.json +++ b/src/datedominator/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/datedominator"], + "outputs": ["dist/libs/ng-datedominator"], "options": { "project": "src/datedominator/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/datedominator"], + "outputs": ["dist/libs/ng-datedominator"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/datedominator && npm pack" + "command": "cd dist/libs/ng-datedominator && npm pack" } ] } diff --git a/src/dateedit/lib/ng-package.json b/src/dateedit/lib/ng-package.json index 2fad220..572a50b 100644 --- a/src/dateedit/lib/ng-package.json +++ b/src/dateedit/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/dateedit", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-dateedit", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/dateedit/lib/package.json b/src/dateedit/lib/package.json index 70330f8..3adb44f 100644 --- a/src/dateedit/lib/package.json +++ b/src/dateedit/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-dateedit", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/dateedit/lib/project.json b/src/dateedit/lib/project.json index 76ec3f6..f70bb54 100644 --- a/src/dateedit/lib/project.json +++ b/src/dateedit/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/dateedit"], + "outputs": ["dist/libs/ng-dateedit"], "options": { "project": "src/dateedit/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/dateedit"], + "outputs": ["dist/libs/ng-dateedit"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/dateedit && npm pack" + "command": "cd dist/libs/ng-dateedit && npm pack" } ] } diff --git a/src/datepanel/lib/ng-package.json b/src/datepanel/lib/ng-package.json index d1dfec2..b922d29 100644 --- a/src/datepanel/lib/ng-package.json +++ b/src/datepanel/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/datepanel", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-datepanel", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/datepanel/lib/package.json b/src/datepanel/lib/package.json index 671ba03..5f72638 100644 --- a/src/datepanel/lib/package.json +++ b/src/datepanel/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-datepanel", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-datebase": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-datebase": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/datepanel/lib/project.json b/src/datepanel/lib/project.json index b6e6e65..0673633 100644 --- a/src/datepanel/lib/project.json +++ b/src/datepanel/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/datepanel"], + "outputs": ["dist/libs/ng-datepanel"], "options": { "project": "src/datepanel/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/datepanel"], + "outputs": ["dist/libs/ng-datepanel"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/datepanel && npm pack" + "command": "cd dist/libs/ng-datepanel && npm pack" } ] } diff --git a/src/daterange/lib/ng-package.json b/src/daterange/lib/ng-package.json index 94683d7..924f5ac 100644 --- a/src/daterange/lib/ng-package.json +++ b/src/daterange/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/daterange", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-daterange", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/daterange/lib/package.json b/src/daterange/lib/package.json index bd5d2db..5568c16 100644 --- a/src/daterange/lib/package.json +++ b/src/daterange/lib/package.json @@ -1,19 +1,19 @@ { "name": "@opentiny/ng-daterange", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-datebase": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-datebase": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-datepanel": "~1.0.0-beta.1", - "@opentiny/ng-dateedit": "~1.0.0-beta.1", - "@opentiny/ng-datedominator": "~1.0.0-beta.1" + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-datepanel": "~1.0.0-beta.2", + "@opentiny/ng-dateedit": "~1.0.0-beta.2", + "@opentiny/ng-datedominator": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/daterange/lib/project.json b/src/daterange/lib/project.json index c1c6ea0..89691cc 100644 --- a/src/daterange/lib/project.json +++ b/src/daterange/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/daterange"], + "outputs": ["dist/libs/ng-daterange"], "options": { "project": "src/daterange/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/daterange"], + "outputs": ["dist/libs/ng-daterange"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/daterange && npm pack" + "command": "cd dist/libs/ng-daterange && npm pack" } ] } diff --git a/src/datetime/lib/ng-package.json b/src/datetime/lib/ng-package.json index b6c465d..db0a56a 100644 --- a/src/datetime/lib/ng-package.json +++ b/src/datetime/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/datetime", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-datetime", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/datetime/lib/package.json b/src/datetime/lib/package.json index de4b1bf..711d617 100644 --- a/src/datetime/lib/package.json +++ b/src/datetime/lib/package.json @@ -1,22 +1,22 @@ { "name": "@opentiny/ng-datetime", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-datebase": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-datebase": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-datepanel": "~1.0.0-beta.1", - "@opentiny/ng-dateedit": "~1.0.0-beta.1", - "@opentiny/ng-datedominator": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-time": "~1.0.0-beta.1", - "@opentiny/ng-select": "~1.0.0-beta.1" + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-datepanel": "~1.0.0-beta.2", + "@opentiny/ng-dateedit": "~1.0.0-beta.2", + "@opentiny/ng-datedominator": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-time": "~1.0.0-beta.2", + "@opentiny/ng-select": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/datetime/lib/project.json b/src/datetime/lib/project.json index f032296..e37d763 100644 --- a/src/datetime/lib/project.json +++ b/src/datetime/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/datetime"], + "outputs": ["dist/libs/ng-datetime"], "options": { "project": "src/datetime/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/datetime"], + "outputs": ["dist/libs/ng-datetime"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/datetime && npm pack" + "command": "cd dist/libs/ng-datetime && npm pack" } ] } diff --git a/src/datetimerange/lib/ng-package.json b/src/datetimerange/lib/ng-package.json index 48e3c1d..1bce08d 100644 --- a/src/datetimerange/lib/ng-package.json +++ b/src/datetimerange/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/datetimerange", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-datetimerange", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/datetimerange/lib/package.json b/src/datetimerange/lib/package.json index 5c5dd06..d1f9530 100644 --- a/src/datetimerange/lib/package.json +++ b/src/datetimerange/lib/package.json @@ -1,22 +1,22 @@ { "name": "@opentiny/ng-datetimerange", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-datebase": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-datebase": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-datepanel": "~1.0.0-beta.1", - "@opentiny/ng-dateedit": "~1.0.0-beta.1", - "@opentiny/ng-time": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-datedominator": "~1.0.0-beta.1", - "@opentiny/ng-select": "~1.0.0-beta.1" + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-datepanel": "~1.0.0-beta.2", + "@opentiny/ng-dateedit": "~1.0.0-beta.2", + "@opentiny/ng-time": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-datedominator": "~1.0.0-beta.2", + "@opentiny/ng-select": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/datetimerange/lib/project.json b/src/datetimerange/lib/project.json index 8c8f6a5..1fc8620 100644 --- a/src/datetimerange/lib/project.json +++ b/src/datetimerange/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/datetimerange"], + "outputs": ["dist/libs/ng-datetimerange"], "options": { "project": "src/datetimerange/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/datetimerange"], + "outputs": ["dist/libs/ng-datetimerange"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/datetimerange && npm pack" + "command": "cd dist/libs/ng-datetimerange && npm pack" } ] } diff --git a/src/dominator/lib/ng-package.json b/src/dominator/lib/ng-package.json index 7d99456..13e647a 100644 --- a/src/dominator/lib/ng-package.json +++ b/src/dominator/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/dominator", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-dominator", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/dominator/lib/package.json b/src/dominator/lib/package.json index 38c65eb..c08b429 100644 --- a/src/dominator/lib/package.json +++ b/src/dominator/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-dominator", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-tag": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-tag": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/dominator/lib/project.json b/src/dominator/lib/project.json index 869d3db..6af3681 100644 --- a/src/dominator/lib/project.json +++ b/src/dominator/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/dominator"], + "outputs": ["dist/libs/ng-dominator"], "options": { "project": "src/dominator/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/dominator"], + "outputs": ["dist/libs/ng-dominator"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/dominator && npm pack" + "command": "cd dist/libs/ng-dominator && npm pack" } ] } diff --git a/src/drag/lib/ng-package.json b/src/drag/lib/ng-package.json index 1f90190..4164db3 100644 --- a/src/drag/lib/ng-package.json +++ b/src/drag/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/drag", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-drag", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/drag/lib/package.json b/src/drag/lib/package.json index 8bba60b..7e6d4c8 100644 --- a/src/drag/lib/package.json +++ b/src/drag/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-drag", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/drag/lib/project.json b/src/drag/lib/project.json index 5f0f9f4..5a8f633 100644 --- a/src/drag/lib/project.json +++ b/src/drag/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/drag"], + "outputs": ["dist/libs/ng-drag"], "options": { "project": "src/drag/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/drag"], + "outputs": ["dist/libs/ng-drag"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/drag && npm pack" + "command": "cd dist/libs/ng-drag && npm pack" } ] } diff --git a/src/drop/lib/ng-package.json b/src/drop/lib/ng-package.json index cf4312f..217063d 100644 --- a/src/drop/lib/ng-package.json +++ b/src/drop/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/drop", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-drop", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/drop/lib/package.json b/src/drop/lib/package.json index bfb4920..be1a156 100644 --- a/src/drop/lib/package.json +++ b/src/drop/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-drop", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0" } diff --git a/src/drop/lib/project.json b/src/drop/lib/project.json index 46d3e8b..cf8b764 100644 --- a/src/drop/lib/project.json +++ b/src/drop/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/drop"], + "outputs": ["dist/libs/ng-drop"], "options": { "project": "src/drop/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/drop"], + "outputs": ["dist/libs/ng-drop"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/drop && npm pack" + "command": "cd dist/libs/ng-drop && npm pack" } ] } diff --git a/src/drop/lib/src/TiDropComponent.ts b/src/drop/lib/src/TiDropComponent.ts index 59723e1..69d1160 100644 --- a/src/drop/lib/src/TiDropComponent.ts +++ b/src/drop/lib/src/TiDropComponent.ts @@ -172,7 +172,11 @@ export class TiDropComponent extends TiBaseComponent { * 切换面板状态:打开/关闭 */ public toggle(): void { - this.isShow ? this.hide() : this.show(); + if (this.isShow) { + this.hide(); + } else { + this.show(); + } } /** * 打开面板 @@ -279,6 +283,7 @@ export class TiDropComponent extends TiBaseComponent { consoleHeaderHeight: this.consoleHeaderHeight, fixMaxHeight: this.fixMaxHeight, hOffset: this.hOffset, + bottomPostion: true, determinPositionFn }); this.position = result.position; diff --git a/src/droplist/lib/ng-package.json b/src/droplist/lib/ng-package.json index 645a9fa..eba9791 100644 --- a/src/droplist/lib/ng-package.json +++ b/src/droplist/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/droplist", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-droplist", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/droplist/lib/package.json b/src/droplist/lib/package.json index cc990c6..45fbd62 100644 --- a/src/droplist/lib/package.json +++ b/src/droplist/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-droplist", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/droplist/lib/project.json b/src/droplist/lib/project.json index fb27df4..001bfa2 100644 --- a/src/droplist/lib/project.json +++ b/src/droplist/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/droplist"], + "outputs": ["dist/libs/ng-droplist"], "options": { "project": "src/droplist/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/droplist"], + "outputs": ["dist/libs/ng-droplist"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/droplist && npm pack" + "command": "cd dist/libs/ng-droplist && npm pack" } ] } diff --git a/src/droplist/lib/src/TiDroplistComponent.ts b/src/droplist/lib/src/TiDroplistComponent.ts index 789aa41..d83ae92 100644 --- a/src/droplist/lib/src/TiDroplistComponent.ts +++ b/src/droplist/lib/src/TiDroplistComponent.ts @@ -16,7 +16,6 @@ import { ContentChild, ElementRef, EventEmitter, - HostListener, Input, NgZone, Output, @@ -28,8 +27,7 @@ import { import { TiFormComponent } from '@opentiny/ng-base'; import { TiDropComponent } from '@opentiny/ng-drop'; import { TiListComponent, TiListScrollLoad } from '@opentiny/ng-list'; -import { TiKeymap } from '@opentiny/ng-utils'; -import { TiPositionType } from '@opentiny/ng-utils'; +import { TiKeymap, TiPositionType } from '@opentiny/ng-utils'; import { TiLocale } from '@opentiny/ng-locale'; import packageInfo from '../package.json'; @@ -135,6 +133,11 @@ export class TiDroplistComponent extends TiFormComponent { * 用于定位的参照元素,如果该接口有值,表示drop不添加在body上,而是跟随宿主元素 */ @Input() referElem: Element; + /** + * @ignore + * 控制loading状态 + */ + @Input() loading: boolean = false; /** * 选中事件,向外通知option数据 diff --git a/src/droplist/lib/src/droplist.html b/src/droplist/lib/src/droplist.html index e5f66c7..50dd4e5 100644 --- a/src/droplist/lib/src/droplist.html +++ b/src/droplist/lib/src/droplist.html @@ -19,6 +19,7 @@ [tipMaxWidth]="tipMaxWidth" [noDataText]="noDataText" [virtual]="virtual" + [loading]="loading" [itemSize]="itemSize" [labelKey]="labelKey" [idKey]="idKey" diff --git a/src/dropsearch/lib/ng-package.json b/src/dropsearch/lib/ng-package.json index cee34e5..8a5fad1 100644 --- a/src/dropsearch/lib/ng-package.json +++ b/src/dropsearch/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/dropsearch", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-dropsearch", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/dropsearch/lib/package.json b/src/dropsearch/lib/package.json index 328299f..387135d 100644 --- a/src/dropsearch/lib/package.json +++ b/src/dropsearch/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-dropsearch", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-searchbox": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-droplist": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-searchbox": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-droplist": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/dropsearch/lib/project.json b/src/dropsearch/lib/project.json index cdd0ec9..ce85415 100644 --- a/src/dropsearch/lib/project.json +++ b/src/dropsearch/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/dropsearch"], + "outputs": ["dist/libs/ng-dropsearch"], "options": { "project": "src/dropsearch/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/dropsearch"], + "outputs": ["dist/libs/ng-dropsearch"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/dropsearch && npm pack" + "command": "cd dist/libs/ng-dropsearch && npm pack" } ] } diff --git a/src/foldtext/lib/ng-package.json b/src/foldtext/lib/ng-package.json index fe01211..bcbe4d4 100644 --- a/src/foldtext/lib/ng-package.json +++ b/src/foldtext/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/foldtext", + "dest": "../../../dist/libs/ng-foldtext", "lib": { "entryFile": "./index.ts" } diff --git a/src/foldtext/lib/package.json b/src/foldtext/lib/package.json index c766197..56a5ac4 100644 --- a/src/foldtext/lib/package.json +++ b/src/foldtext/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-foldtext", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/foldtext/lib/project.json b/src/foldtext/lib/project.json index 59f7e55..195972d 100644 --- a/src/foldtext/lib/project.json +++ b/src/foldtext/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/foldtext"], + "outputs": ["dist/libs/ng-foldtext"], "options": { "project": "src/foldtext/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/foldtext"], + "outputs": ["dist/libs/ng-foldtext"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/foldtext && npm pack" + "command": "cd dist/libs/ng-foldtext && npm pack" } ] } diff --git a/src/formfield/lib/ng-package.json b/src/formfield/lib/ng-package.json index f01efce..895f620 100644 --- a/src/formfield/lib/ng-package.json +++ b/src/formfield/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/formfield", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-formfield", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/formfield/lib/package.json b/src/formfield/lib/package.json index 36f90d0..a2ae05d 100644 --- a/src/formfield/lib/package.json +++ b/src/formfield/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-formfield", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-include": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-include": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/formfield/lib/project.json b/src/formfield/lib/project.json index ac94284..971d7bb 100644 --- a/src/formfield/lib/project.json +++ b/src/formfield/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/formfield"], + "outputs": ["dist/libs/ng-formfield"], "options": { "project": "src/formfield/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/formfield"], + "outputs": ["dist/libs/ng-formfield"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/formfield && npm pack" + "command": "cd dist/libs/ng-formfield && npm pack" } ] } diff --git a/src/grid/lib/ng-package.json b/src/grid/lib/ng-package.json index a7b0227..914e301 100644 --- a/src/grid/lib/ng-package.json +++ b/src/grid/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/grid", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-grid", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/grid/lib/package.json b/src/grid/lib/package.json index 036c15a..c6328a3 100644 --- a/src/grid/lib/package.json +++ b/src/grid/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-grid", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0" diff --git a/src/grid/lib/project.json b/src/grid/lib/project.json index 27460e1..f1fbf70 100644 --- a/src/grid/lib/project.json +++ b/src/grid/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/grid"], + "outputs": ["dist/libs/ng-grid"], "options": { "project": "src/grid/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/grid"], + "outputs": ["dist/libs/ng-grid"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/grid && npm pack" + "command": "cd dist/libs/ng-grid && npm pack" } ] } diff --git a/src/guides/lib/ng-package.json b/src/guides/lib/ng-package.json index 52deb1e..2891edd 100644 --- a/src/guides/lib/ng-package.json +++ b/src/guides/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/guides", + "dest": "../../../dist/libs/ng-guides", "lib": { "entryFile": "./index.ts" } diff --git a/src/guides/lib/package.json b/src/guides/lib/package.json index 4945451..c5e68eb 100644 --- a/src/guides/lib/package.json +++ b/src/guides/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-guides", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/guides/lib/project.json b/src/guides/lib/project.json index e980d24..7e1039c 100644 --- a/src/guides/lib/project.json +++ b/src/guides/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/guides"], + "outputs": ["dist/libs/ng-guides"], "options": { "project": "src/guides/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/guides"], + "outputs": ["dist/libs/ng-guides"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/guides && npm pack" + "command": "cd dist/libs/ng-guides && npm pack" } ] } diff --git a/src/guidesteps/lib/ng-package.json b/src/guidesteps/lib/ng-package.json index 4f228ef..5572700 100644 --- a/src/guidesteps/lib/ng-package.json +++ b/src/guidesteps/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/guidesteps", + "dest": "../../../dist/libs/ng-guidesteps", "lib": { "entryFile": "./index.ts" } diff --git a/src/guidesteps/lib/package.json b/src/guidesteps/lib/package.json index 959f916..8e9f984 100644 --- a/src/guidesteps/lib/package.json +++ b/src/guidesteps/lib/package.json @@ -1,9 +1,9 @@ { "name": "@opentiny/ng-guidesteps", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0" } } \ No newline at end of file diff --git a/src/guidesteps/lib/project.json b/src/guidesteps/lib/project.json index dc53501..4accd3a 100644 --- a/src/guidesteps/lib/project.json +++ b/src/guidesteps/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/guidesteps"], + "outputs": ["dist/libs/ng-guidesteps"], "options": { "project": "src/guidesteps/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/guidesteps"], + "outputs": ["dist/libs/ng-guidesteps"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/guidesteps && npm pack" + "command": "cd dist/libs/ng-guidesteps && npm pack" } ] } diff --git a/src/halfmodal/lib/ng-package.json b/src/halfmodal/lib/ng-package.json index 6e46960..dc0d958 100644 --- a/src/halfmodal/lib/ng-package.json +++ b/src/halfmodal/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/halfmodal", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-halfmodal", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/halfmodal/lib/package.json b/src/halfmodal/lib/package.json index 0885b0d..869a9fc 100644 --- a/src/halfmodal/lib/package.json +++ b/src/halfmodal/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-halfmodal", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/animations": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-popup": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-popup": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/halfmodal/lib/project.json b/src/halfmodal/lib/project.json index 06be0f7..6bff439 100644 --- a/src/halfmodal/lib/project.json +++ b/src/halfmodal/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/halfmodal"], + "outputs": ["dist/libs/ng-halfmodal"], "options": { "project": "src/halfmodal/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/halfmodal"], + "outputs": ["dist/libs/ng-halfmodal"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/halfmodal && npm pack" + "command": "cd dist/libs/ng-halfmodal && npm pack" } ] } diff --git a/src/icon/lib/ng-package.json b/src/icon/lib/ng-package.json index 7c72e63..dc0b8f4 100644 --- a/src/icon/lib/ng-package.json +++ b/src/icon/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/icon", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-icon", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/icon/lib/package.json b/src/icon/lib/package.json index 3ebd4fd..11499f1 100644 --- a/src/icon/lib/package.json +++ b/src/icon/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-icon", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/icon/lib/project.json b/src/icon/lib/project.json index 2728696..643f8dd 100644 --- a/src/icon/lib/project.json +++ b/src/icon/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/icon"], + "outputs": ["dist/libs/ng-icon"], "options": { "project": "src/icon/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/icon"], + "outputs": ["dist/libs/ng-icon"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/icon && npm pack" + "command": "cd dist/libs/ng-icon && npm pack" } ] } diff --git a/src/iconaction/lib/ng-package.json b/src/iconaction/lib/ng-package.json index a010466..e598181 100644 --- a/src/iconaction/lib/ng-package.json +++ b/src/iconaction/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/iconaction", + "dest": "../../../dist/libs/ng-iconaction", "lib": { "entryFile": "./index.ts" } diff --git a/src/iconaction/lib/package.json b/src/iconaction/lib/package.json index 3d5b299..f1d1302 100644 --- a/src/iconaction/lib/package.json +++ b/src/iconaction/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-iconaction", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/iconaction/lib/project.json b/src/iconaction/lib/project.json index f8d98ba..50b63d5 100644 --- a/src/iconaction/lib/project.json +++ b/src/iconaction/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/iconaction"], + "outputs": ["dist/libs/ng-iconaction"], "options": { "project": "src/iconaction/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/iconaction"], + "outputs": ["dist/libs/ng-iconaction"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/iconaction && npm pack" + "command": "cd dist/libs/ng-iconaction && npm pack" } ] } diff --git a/src/imagepreview/lib/ng-package.json b/src/imagepreview/lib/ng-package.json index 2ea7169..c80b9b6 100644 --- a/src/imagepreview/lib/ng-package.json +++ b/src/imagepreview/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/imagepreview", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-imagepreview", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/imagepreview/lib/package.json b/src/imagepreview/lib/package.json index 6712396..071511e 100644 --- a/src/imagepreview/lib/package.json +++ b/src/imagepreview/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-imagepreview", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/platform-browser": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-modal": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-modal": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/imagepreview/lib/project.json b/src/imagepreview/lib/project.json index 2c98be6..8e173b1 100644 --- a/src/imagepreview/lib/project.json +++ b/src/imagepreview/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/imagepreview"], + "outputs": ["dist/libs/ng-imagepreview"], "options": { "project": "src/imagepreview/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/imagepreview"], + "outputs": ["dist/libs/ng-imagepreview"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/imagepreview && npm pack" + "command": "cd dist/libs/ng-imagepreview && npm pack" } ] } diff --git a/src/include/lib/ng-package.json b/src/include/lib/ng-package.json index 8b7bb53..9c9bd73 100644 --- a/src/include/lib/ng-package.json +++ b/src/include/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/include", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-include", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/include/lib/package.json b/src/include/lib/package.json index 40430ea..62811aa 100644 --- a/src/include/lib/package.json +++ b/src/include/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-include", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/include/lib/project.json b/src/include/lib/project.json index 7b0e259..8006a9b 100644 --- a/src/include/lib/project.json +++ b/src/include/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/include"], + "outputs": ["dist/libs/ng-include"], "options": { "project": "src/include/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/include"], + "outputs": ["dist/libs/ng-include"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/include && npm pack" + "command": "cd dist/libs/ng-include && npm pack" } ] } diff --git a/src/inputnumber/lib/ng-package.json b/src/inputnumber/lib/ng-package.json index a6816eb..f6cb6b0 100644 --- a/src/inputnumber/lib/ng-package.json +++ b/src/inputnumber/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/inputnumber", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-inputnumber", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/inputnumber/lib/package.json b/src/inputnumber/lib/package.json index 13733ec..63d8dcc 100644 --- a/src/inputnumber/lib/package.json +++ b/src/inputnumber/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-inputnumber", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/inputnumber/lib/project.json b/src/inputnumber/lib/project.json index df423c9..5b26c4a 100644 --- a/src/inputnumber/lib/project.json +++ b/src/inputnumber/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/inputnumber"], + "outputs": ["dist/libs/ng-inputnumber"], "options": { "project": "src/inputnumber/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/inputnumber"], + "outputs": ["dist/libs/ng-inputnumber"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/inputnumber && npm pack" + "command": "cd dist/libs/ng-inputnumber && npm pack" } ] } diff --git a/src/intro/lib/ng-package.json b/src/intro/lib/ng-package.json index ddd4a1f..f2eed91 100644 --- a/src/intro/lib/ng-package.json +++ b/src/intro/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/intro", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-intro", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/intro/lib/package.json b/src/intro/lib/package.json index b0c87e0..0ab330a 100644 --- a/src/intro/lib/package.json +++ b/src/intro/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-intro", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-modal": "~1.0.0-beta.1", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-modal": "~1.0.0-beta.2", + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/intro/lib/project.json b/src/intro/lib/project.json index 82a424b..bb9ce90 100644 --- a/src/intro/lib/project.json +++ b/src/intro/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/intro"], + "outputs": ["dist/libs/ng-intro"], "options": { "project": "src/intro/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/intro"], + "outputs": ["dist/libs/ng-intro"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/intro && npm pack" + "command": "cd dist/libs/ng-intro && npm pack" } ] } diff --git a/src/ip/lib/ng-package.json b/src/ip/lib/ng-package.json index 353978f..2a1edd5 100644 --- a/src/ip/lib/ng-package.json +++ b/src/ip/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/ip", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-ip", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/ip/lib/package.json b/src/ip/lib/package.json index 41329c7..0c9ab13 100644 --- a/src/ip/lib/package.json +++ b/src/ip/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-ip", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/forms": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/ip/lib/project.json b/src/ip/lib/project.json index 2f88f7f..25a1ebf 100644 --- a/src/ip/lib/project.json +++ b/src/ip/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/ip"], + "outputs": ["dist/libs/ng-ip"], "options": { "project": "src/ip/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/ip"], + "outputs": ["dist/libs/ng-ip"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/ip && npm pack" + "command": "cd dist/libs/ng-ip && npm pack" } ] } diff --git a/src/ipsection/lib/ng-package.json b/src/ipsection/lib/ng-package.json index bd5016c..9a6956a 100644 --- a/src/ipsection/lib/ng-package.json +++ b/src/ipsection/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/ipsection", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-ipsection", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/ipsection/lib/package.json b/src/ipsection/lib/package.json index e54c95a..22d0a56 100644 --- a/src/ipsection/lib/package.json +++ b/src/ipsection/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-ipsection", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-validation": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-validation": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-select": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1" + "@opentiny/ng-select": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/ipsection/lib/project.json b/src/ipsection/lib/project.json index 884285d..7d7b5d3 100644 --- a/src/ipsection/lib/project.json +++ b/src/ipsection/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/ipsection"], + "outputs": ["dist/libs/ng-ipsection"], "options": { "project": "src/ipsection/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/ipsection"], + "outputs": ["dist/libs/ng-ipsection"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/ipsection && npm pack" + "command": "cd dist/libs/ng-ipsection && npm pack" } ] } diff --git a/src/labeleditor/lib/ng-package.json b/src/labeleditor/lib/ng-package.json index 306040f..078fe21 100644 --- a/src/labeleditor/lib/ng-package.json +++ b/src/labeleditor/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/labeleditor", + "dest": "../../../dist/libs/ng-labeleditor", "lib": { "entryFile": "./index.ts" } diff --git a/src/labeleditor/lib/package.json b/src/labeleditor/lib/package.json index 221712f..9f1b374 100644 --- a/src/labeleditor/lib/package.json +++ b/src/labeleditor/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-labeleditor", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/forms": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-validation": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-textarea": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-validation": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-textarea": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/labeleditor/lib/project.json b/src/labeleditor/lib/project.json index 1e236a3..c0aebdf 100644 --- a/src/labeleditor/lib/project.json +++ b/src/labeleditor/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/labeleditor"], + "outputs": ["dist/libs/ng-labeleditor"], "options": { "project": "src/labeleditor/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/labeleditor"], + "outputs": ["dist/libs/ng-labeleditor"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/labeleditor && npm pack" + "command": "cd dist/libs/ng-labeleditor && npm pack" } ] } diff --git a/src/layout/lib/ng-package.json b/src/layout/lib/ng-package.json index 7dde01e..d078ed1 100644 --- a/src/layout/lib/ng-package.json +++ b/src/layout/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/layout", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-layout", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/layout/lib/package.json b/src/layout/lib/package.json index 5c11a82..8db5dd0 100644 --- a/src/layout/lib/package.json +++ b/src/layout/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-layout", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/layout/lib/project.json b/src/layout/lib/project.json index d45109d..a13b3bf 100644 --- a/src/layout/lib/project.json +++ b/src/layout/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/layout"], + "outputs": ["dist/libs/ng-layout"], "options": { "project": "src/layout/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/layout"], + "outputs": ["dist/libs/ng-layout"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/layout && npm pack" + "command": "cd dist/libs/ng-layout && npm pack" } ] } diff --git a/src/leftmenu/lib/ng-package.json b/src/leftmenu/lib/ng-package.json index 64970cd..cd496d4 100644 --- a/src/leftmenu/lib/ng-package.json +++ b/src/leftmenu/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/leftmenu", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-leftmenu", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/leftmenu/lib/package.json b/src/leftmenu/lib/package.json index fdf3be9..c7b7e07 100644 --- a/src/leftmenu/lib/package.json +++ b/src/leftmenu/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-leftmenu", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/router": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/platform-browser": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/leftmenu/lib/project.json b/src/leftmenu/lib/project.json index 8964023..f89f86c 100644 --- a/src/leftmenu/lib/project.json +++ b/src/leftmenu/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/leftmenu"], + "outputs": ["dist/libs/ng-leftmenu"], "options": { "project": "src/leftmenu/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/leftmenu"], + "outputs": ["dist/libs/ng-leftmenu"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/leftmenu && npm pack" + "command": "cd dist/libs/ng-leftmenu && npm pack" } ] } diff --git a/src/leftmenuthin/demo/karma.conf.js b/src/leftmenuthin/demo/karma.conf.js new file mode 100644 index 0000000..22d9d1a --- /dev/null +++ b/src/leftmenuthin/demo/karma.conf.js @@ -0,0 +1,41 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + jasmine: { + // you can add configuration options for Jasmine here + // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html + // for example, you can disable the random execution with `random: false` + // or set a specific seed with `seed: 4321` + }, + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, + coverageReporter: { + dir: require('path').join(__dirname, './coverage'), + subdir: '.', + reporters: [{ type: 'html' }, { type: 'text-summary' }] + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['Chrome'], + singleRun: false, + restartOnFileChange: true + }); +}; diff --git a/src/leftmenuthin/demo/project.json b/src/leftmenuthin/demo/project.json new file mode 100644 index 0000000..6915474 --- /dev/null +++ b/src/leftmenuthin/demo/project.json @@ -0,0 +1,98 @@ +{ + "projectType": "application", + "root": "src/leftmenuthin/demo", + "sourceRoot": "src/leftmenuthin/demo/src", + "generators": { + "@schematics/angular:component": { + "style": "less" + } + }, + "targets": { + "build": { + "executor": "@angular-devkit/build-angular:browser", + "dependsOn": [], + "options": { + "outputPath": "dist/apps/leftmenuthin", + "index": "src/leftmenuthin/demo/src/index.html", + "main": "src/leftmenuthin/demo/src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/leftmenuthin/demo/tsconfig.app.json", + "assets": [ + "src/leftmenuthin/demo/src/favicon.ico", + "src/leftmenuthin/demo/src/assets", + { + "glob": "**/*", + "input": "node_modules/ionicons/dist/ionicons/svg", + "output": "/assets/ionicons/" + } + ], + "styles": ["src/themes/basic/build.less", "src/themes/theme-default/build.less", "src/styles.less"], + "scripts": [] + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "budgets": [ + { + "type": "initial", + "maximumWarning": "2mb", + "maximumError": "10mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "6kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "executor": "@angular-devkit/build-angular:dev-server", + "configurations": { + "production": { + "browserTarget": "leftmenuthin-demo:build:production" + }, + "development": { + "browserTarget": "leftmenuthin-demo:build:development" + } + }, + "defaultConfiguration": "development" + }, + "preview": { + "executor": "@nrwl/workspace:run-commands", + "options": { + "commands": [ + { + "command": "node build/preview-demo.js leftmenuthin" + } + ] + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/leftmenuthin/demo/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/leftmenuthin/demo/tsconfig.spec.json", + "karmaConfig": "src/leftmenuthin/demo/karma.conf.js", + "inlineStyleLanguage": "less", + "styles": ["src/styles.less"], + "scripts": [] + } + } + } +} diff --git a/src/leftmenuthin/demo/src/app/AppComponent.ts b/src/leftmenuthin/demo/src/app/AppComponent.ts new file mode 100644 index 0000000..76c5465 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/AppComponent.ts @@ -0,0 +1,7 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-root', + templateUrl: './app.html' +}) +export class AppComponent {} diff --git a/src/leftmenuthin/demo/src/app/AppModule.ts b/src/leftmenuthin/demo/src/app/AppModule.ts new file mode 100644 index 0000000..d4233b3 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/AppModule.ts @@ -0,0 +1,26 @@ +import { BrowserModule } from '@angular/platform-browser'; +import { NgModule } from '@angular/core'; +import { RouterModule } from '@angular/router'; +import { HttpClientModule } from '@angular/common/http'; + +import { AppComponent } from './AppComponent'; +import { IndexComponent } from './IndexComponent'; +import { LeftmenuthinTestModule } from './leftmenuthin/LeftmenuthinTestModule'; + +@NgModule({ + imports: [ + LeftmenuthinTestModule, + HttpClientModule, + BrowserModule.withServerTransition({ appId: 'serverApp' }), + RouterModule.forRoot( + [ + { path: '', component: IndexComponent }, // 路由地址为空 + { path: '**', component: IndexComponent } // 路由地址找不到。注意:放在数组最后 + ], + { useHash: true } // 使用#路由 + ) + ], + declarations: [AppComponent, IndexComponent], + bootstrap: [AppComponent] +}) +export class AppModule {} diff --git a/src/leftmenuthin/demo/src/app/IndexComponent.ts b/src/leftmenuthin/demo/src/app/IndexComponent.ts new file mode 100644 index 0000000..9f593ef --- /dev/null +++ b/src/leftmenuthin/demo/src/app/IndexComponent.ts @@ -0,0 +1,49 @@ +import { Component } from '@angular/core'; +import { LeftmenuthinTestModule } from './leftmenuthin/LeftmenuthinTestModule'; + +@Component({ + template: ` + + + + + + + +
{{ routes[0]?.path.split('/')[0] }} demo
+ + {{ path2name(route.path) }} + +
` +}) +export class IndexComponent { + routes: any = LeftmenuthinTestModule.ROUTES; + + path2name(path: string): string | undefined { + return path.split('/').pop(); + } +} diff --git a/src/leftmenuthin/demo/src/app/app.html b/src/leftmenuthin/demo/src/app/app.html new file mode 100644 index 0000000..fb12cdb --- /dev/null +++ b/src/leftmenuthin/demo/src/app/app.html @@ -0,0 +1,3 @@ +
+ +
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinBasicComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinBasicComponent.ts new file mode 100644 index 0000000..ad012ce --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinBasicComponent.ts @@ -0,0 +1,42 @@ +import { Component } from '@angular/core'; +import { TiLeftmenuthinItem } from '@opentiny/ng'; + +@Component({ + templateUrl: './leftmenuthin-basic.html' +}) +export class LeftmenuthinBasicComponent { + myLogs: Array = []; + items: Array = [ + { + router: ['./home'], + label: '主页', + iconName: 'home' + }, + { + router: ['./cart'], + label: '购物车', + iconName: 'cart' + }, + { + router: ['./favorite'], + label: '收藏', + iconName: 'star' + }, + { + router: ['./setting'], + label: '设置', + iconName: 'settings' + } + ]; + reloadState: boolean = true; + active: TiLeftmenuthinItem = this.items[2]; + onSelect(event: any): void { + this.myLogs = [...this.myLogs, `select => ${JSON.stringify(event)}`]; + } + onActiveChange(event: any): void { + this.myLogs = [...this.myLogs, `activeChange => ${JSON.stringify(event)}`]; + } + onReloadStateChange(event: any) { + this.myLogs = [...this.myLogs, `reloadStateChange => ${JSON.stringify(event)}`]; + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinParamsComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinParamsComponent.ts new file mode 100644 index 0000000..23c0d3b --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinParamsComponent.ts @@ -0,0 +1,62 @@ +import { Component } from '@angular/core'; +import { TiLeftmenuthinItem } from '@opentiny/ng'; + +@Component({ + templateUrl: './leftmenuthin-params.html' +}) +export class LeftmenuthinParamsComponent { + public items: Array = [ + { + router: ['./home'], + label: '主页', + iconName: 'home', + params: 'ddd', + routerExtras: { + queryParams: { + local: 'zh-cn' + } + } + }, + { + router: ['./cart'], + label: '购物车', + iconName: 'cart', + routerExtras: { + queryParams: { + local: 'zh-cn', + size: 'large' + } + } + }, + { + router: ['./favorite'], + label: '收藏', + iconName: 'star', + routerExtras: { + queryParams: { + size: 'middle', + color: 'red' + }, + fragment: 'top' + } + }, + { + router: ['./setting'], + label: '设置', + iconName: 'settings', + routerExtras: { + queryParams: { + local: 'en-us', + color: 'red' + }, + fragment: 'top' + } + } + ]; + reloadState: boolean = true; + active: TiLeftmenuthinItem = this.items[3]; + myLogs: Array = []; + onSelect(event: any): void { + this.myLogs = [...this.myLogs, JSON.stringify(event)]; + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinRouterlistComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinRouterlistComponent.ts new file mode 100644 index 0000000..83ec3c4 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinRouterlistComponent.ts @@ -0,0 +1,38 @@ +import { Component } from '@angular/core'; +import { TiLeftmenuthinItem } from '@opentiny/ng'; + +@Component({ + templateUrl: './leftmenuthin-routerlist.html' +}) +export class LeftmenuthinRouterlistComponent { + public items: Array = [ + { + router: ['./home'], + label: '主页', + iconName: 'home' + }, + { + router: ['./cart'], + label: '购物车', + iconName: 'cart', + routerList: [['routerE']] + }, + { + router: ['./favorite'], + label: '收藏', + iconName: 'star', + routerList: [['routerF']] + }, + { + router: ['./setting'], + label: '设置', + iconName: 'settings' + } + ]; + public reloadState: boolean = true; + public active: TiLeftmenuthinItem = this.items[3]; + public myLogs: Array = []; + onSelect(event: any): void { + this.myLogs = [...this.myLogs, JSON.stringify(event)]; + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinTestModule.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinTestModule.ts new file mode 100644 index 0000000..8c4975c --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinTestModule.ts @@ -0,0 +1,98 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { RouterModule, Routes } from '@angular/router'; + +import { TiLeftmenuthinModule, TiSvgComponent } from '@opentiny/ng'; +import { DemoLogModule } from '../../../../../ng/demolog/DemoLogModule'; +import { LeftmenuthinBasicWebsiteViewsComponent } from './website-views/LeftmenuthinBasicWebsiteViewsComponent'; +import { LeftmenuthinRouterlistComponent } from './LeftmenuthinRouterlistComponent'; +import { LeftmenuthinParamsComponent } from './LeftmenuthinParamsComponent'; + +import { Router1Component } from './Router1Component'; +import { Router2Component } from './Router2Component'; +import { Router3Component } from './Router3Component'; +import { Router4Component } from './Router4Component'; +import { LeftmenuthinBasicComponent } from './LeftmenuthinBasicComponent'; +import { LeftmenuthinWebsiteModule } from './website-lib/LeftmenuthinWebsiteModule'; +import { LeftmenuthinParamsWebsiteViewsComponent } from './website-views/LeftmenuthinParamsWebsiteViewsComponent'; +import { LeftmenuthinRouterlistWebsiteViewsComponent } from './website-views/LeftmenuthinRouterlistWebsiteViewsComponent'; +import { RouterEComponent } from './RouterEComponent'; +import { RouterFComponent } from './RouterFComponent'; +import { Router1WebsiteViewsComponent } from './website-views/Router1Component'; +import { Router2WebsiteViewsComponent } from './website-views/Router2Component'; +import { Router3WebsiteViewsComponent } from './website-views/Router3Component'; +import { Router4WebsiteViewsComponent } from './website-views/Router4Component'; +import { RouterEWebsiteViewsComponent } from './website-views/RouterEComponent'; +import { RouterFWebsiteViewsComponent } from './website-views/RouterFComponent'; + +@NgModule({ + imports: [ + CommonModule, + LeftmenuthinWebsiteModule, + DemoLogModule, + TiLeftmenuthinModule, + RouterModule.forChild(LeftmenuthinTestModule.ROUTES) + ], + declarations: [ + LeftmenuthinBasicComponent, + LeftmenuthinParamsComponent, + LeftmenuthinRouterlistComponent, + LeftmenuthinBasicWebsiteViewsComponent, + LeftmenuthinParamsWebsiteViewsComponent, + LeftmenuthinRouterlistWebsiteViewsComponent, + Router1Component, + Router2Component, + Router3Component, + Router4Component, + RouterEComponent, + RouterFComponent, + Router1WebsiteViewsComponent, + Router2WebsiteViewsComponent, + Router3WebsiteViewsComponent, + Router4WebsiteViewsComponent, + RouterEWebsiteViewsComponent, + RouterFWebsiteViewsComponent + ] +}) +export class LeftmenuthinTestModule { + constructor() { + TiSvgComponent.setPath('/assets/ionicons/'); + } + static childrenRouter: Routes = [ + { path: 'home', component: Router1Component }, + { path: 'cart', component: Router2Component }, + { path: 'favorite', component: Router3Component }, + { path: 'setting', component: Router4Component }, + { path: 'routerE', component: RouterEComponent }, + { path: 'routerF', component: RouterFComponent } + ]; + static readonly ROUTES: Routes = [ + { + path: 'leftmenuthin/leftmenuthin-basic-test', + component: LeftmenuthinBasicComponent, + children: LeftmenuthinTestModule.childrenRouter + }, + { + path: 'leftmenuthin/leftmenuthin-params-test', + component: LeftmenuthinParamsComponent, + children: LeftmenuthinTestModule.childrenRouter + }, + { + path: 'leftmenuthin/leftmenuthin-routerlist-test', + component: LeftmenuthinRouterlistComponent, + children: LeftmenuthinTestModule.childrenRouter + }, + { + path: 'leftmenuthin/leftmenuthin-basic', + component: LeftmenuthinBasicWebsiteViewsComponent + }, + { + path: 'leftmenuthin/leftmenuthin-params', + component: LeftmenuthinParamsWebsiteViewsComponent + }, + { + path: 'leftmenuthin/leftmenuthin-routerlist', + component: LeftmenuthinRouterlistWebsiteViewsComponent + } + ]; +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/Router1Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/Router1Component.ts new file mode 100644 index 0000000..a2cf3b8 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/Router1Component.ts @@ -0,0 +1,27 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; + +@Component({ + template: ` +
Welcome to {{ label }}页面!
+
参数token: {{ token }}
+
查询参数: {{ queryParams }}
+ ` +}) +export class Router1Component implements OnInit { + constructor(private activeRoute: ActivatedRoute) {} + label: string; + token: string; + queryParams: string; + ngOnInit(): void { + this.label = 'Home'; + this.activeRoute.paramMap.subscribe((paramMap: any) => { + this.token = JSON.stringify(paramMap.params); + }); + + // 直接获取queryParam + this.activeRoute.queryParamMap.subscribe((res: any) => { + this.queryParams = JSON.stringify(res.params); + }); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/Router2Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/Router2Component.ts new file mode 100644 index 0000000..8a36841 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/Router2Component.ts @@ -0,0 +1,27 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +@Component({ + template: ` +
Welcome to {{ label }} 页面!
+ 跳转至routerE(在当前路由的routerList中) +
参数token: {{ token }}
+
查询参数: {{ queryParams }}
+ ` +}) +export class Router2Component implements OnInit { + constructor(private activeRoute: ActivatedRoute) {} + label: string; + token: string; + queryParams: string; + ngOnInit(): void { + this.label = 'Cart'; + this.activeRoute.paramMap.subscribe((paramMap: any) => { + this.token = JSON.stringify(paramMap.params); + }); + + // 直接获取queryParam + this.activeRoute.queryParamMap.subscribe((res: any) => { + this.queryParams = JSON.stringify(res.params); + }); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/Router3Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/Router3Component.ts new file mode 100644 index 0000000..4abc268 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/Router3Component.ts @@ -0,0 +1,28 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; + +@Component({ + template: ` +
Welcome to {{ label }}页面!
+ 跳转至routerF(在当前路由的routerList中) +
参数token: {{ token }}
+
查询参数: {{ queryParams }}
+ ` +}) +export class Router3Component implements OnInit { + public label: string; + public token: string; + public queryParams: string; + constructor(private activeRoute: ActivatedRoute) {} + ngOnInit(): void { + this.label = 'Star'; + this.activeRoute.paramMap.subscribe((paramMap: any) => { + this.token = JSON.stringify(paramMap.params); + }); + + // 直接获取queryParam + this.activeRoute.queryParamMap.subscribe((res: any) => { + this.queryParams = JSON.stringify(res.params); + }); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/Router4Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/Router4Component.ts new file mode 100644 index 0000000..98ee415 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/Router4Component.ts @@ -0,0 +1,26 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +@Component({ + template: ` +
Welcome to {{ label }}页面!
+
参数token: {{ token }}
+
查询参数: {{ queryParams }}
+ ` +}) +export class Router4Component implements OnInit { + constructor(private activeRoute: ActivatedRoute) {} + label: string; + token: string; + queryParams: string; + ngOnInit(): void { + this.label = 'Setting'; + this.activeRoute.paramMap.subscribe((paramMap: any) => { + this.token = JSON.stringify(paramMap.params); + }); + + // 直接获取queryParam + this.activeRoute.queryParamMap.subscribe((res: any) => { + this.queryParams = JSON.stringify(res.params); + }); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/RouterEComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/RouterEComponent.ts new file mode 100644 index 0000000..487aceb --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/RouterEComponent.ts @@ -0,0 +1,5 @@ +import { Component } from '@angular/core'; +@Component({ + template: `
Welcome to router E!
` +}) +export class RouterEComponent {} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/RouterFComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/RouterFComponent.ts new file mode 100644 index 0000000..fa99f9a --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/RouterFComponent.ts @@ -0,0 +1,5 @@ +import { Component } from '@angular/core'; +@Component({ + template: `
Welcome to router F!
` +}) +export class RouterFComponent {} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-basic.html b/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-basic.html new file mode 100644 index 0000000..8094d9d --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-basic.html @@ -0,0 +1,13 @@ + +
+ +

事件日志:

+ +
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-params.html b/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-params.html new file mode 100644 index 0000000..85bd612 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-params.html @@ -0,0 +1,4 @@ + +
+ +
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-routerlist.html b/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-routerlist.html new file mode 100644 index 0000000..94d70d3 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/leftmenuthin-routerlist.html @@ -0,0 +1,5 @@ + + +
+ +
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin-demos.js b/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin-demos.js new file mode 100644 index 0000000..a544f50 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin-demos.js @@ -0,0 +1,48 @@ +export default { + column: '1', + demos: [ + { + demoId: 'leftmenuthin-basic', + name: { + 'zh-CN': '基本用法', + 'en-US': 'Basic usage' + }, + desc: { + 'zh-CN': 'Leftmenuthin 组件的最简用法。', + 'en-US': '' + }, + apis: [ + 'TiLeftmenuthinComponent.properties.active', + 'TiLeftmenuthinComponent.properties.items', + 'TiLeftmenuthinComponent.properties.reloadState', + 'TiLeftmenuthinComponent.events.select', + 'TiLeftmenuthinComponent.events.activeChange', + 'TiLeftmenuthinComponent.events.reloadStateChange' + ] + }, + { + demoId: 'leftmenuthin-params', + name: { + 'zh-CN': '路由携带参数', + 'en-US': '' + }, + desc: { + 'zh-CN': '给路由添加参数。', + 'en-US': '' + }, + apis: [] + }, + { + demoId: 'leftmenuthin-routerlist', + name: { + 'zh-CN': '对应多个路由', + 'en-US': '' + }, + desc: { + 'zh-CN': '一个路由对应多个路径。', + 'en-US': '' + }, + apis: [] + } + ] +}; diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.cn.md b/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.cn.md new file mode 100644 index 0000000..57ad2fc --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.cn.md @@ -0,0 +1,19 @@ +--- +title: Leftmenuthin 左侧图标菜单 +--- + +# Leftmenuthin 左侧图标菜单 + +
+ +组件功能与leftMenu组件相似,支持配置图标。 + +- 宽度变窄。 + +- 可以配置图标。 + +```typescript +import { TiLeftmenuthinModule } from '@opentiny/ng'; +``` + +
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.en.md b/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.en.md new file mode 100644 index 0000000..a6e2b76 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/webdoc/leftmenuthin.en.md @@ -0,0 +1,13 @@ +--- +title: Leftmenuthin +--- + +# Leftmenuthin + +
+ +```typescript +import { TiLeftmenuthinModule } from '@opentiny/ng'; +``` + +
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteComponent.ts new file mode 100644 index 0000000..443c19d --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteComponent.ts @@ -0,0 +1,30 @@ +import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; +import { TiBaseComponent, TiLeftmenuthinItem } from '@opentiny/ng'; +/** + * 原组件依赖router变化,新官网多个示例路由冲突,复写一个简单的组件去完成新官网展示 + */ +@Component({ + templateUrl: './leftmenuthin-website.html', + styleUrls: ['./leftmenuthin.less'], + selector: 'website-leftmenuthin', + changeDetection: ChangeDetectionStrategy.OnPush +}) +export class LeftmenuthinWebsiteComponent extends TiBaseComponent { + @Input() active: TiLeftmenuthinItem; + @Output() readonly activeChange: EventEmitter = new EventEmitter(); + @Output() readonly select: EventEmitter = new EventEmitter(); + @Input() reloadState: boolean = true; + @Input() items: Array; + @Output() readonly reloadStateChange: EventEmitter = new EventEmitter(); + selectFn(item: TiLeftmenuthinItem) { + if (this.active !== item) { + this.activeChange.emit(item); + } else if (this.active === item) { + this.reloadStateChange.emit(false); + setTimeout(() => { + this.reloadStateChange.emit(true); + }, 500); + } + this.select.emit(this.active); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteModule.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteModule.ts new file mode 100644 index 0000000..8eae904 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/LeftmenuthinWebsiteModule.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { LeftmenuthinWebsiteComponent } from './LeftmenuthinWebsiteComponent'; +import { TiIconModule } from '@opentiny/ng-icon'; +import { TiOutlineModule } from '@opentiny/ng-outline'; + +@NgModule({ + imports: [CommonModule, TiIconModule, TiOutlineModule], + exports: [LeftmenuthinWebsiteComponent], + declarations: [LeftmenuthinWebsiteComponent] +}) +export class LeftmenuthinWebsiteModule {} +export { LeftmenuthinWebsiteComponent } from './LeftmenuthinWebsiteComponent'; diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin-website.html b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin-website.html new file mode 100644 index 0000000..78d3beb --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin-website.html @@ -0,0 +1,15 @@ +
+
+ +
{{item.label}}
+
+
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin.less b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin.less new file mode 100644 index 0000000..ea59db2 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-lib/leftmenuthin.less @@ -0,0 +1,43 @@ +.web-leftmenuthin-content { + position: fixed; + top: 0; + bottom: 0; + z-index: 1000; + width: 80px; + background-color: #ffffff; +} + +.web-leftmenuthin-level { + width: 80px; + height: 78px; + padding-top: 12px; + text-align: center; + color: #575d6c; + cursor: pointer; + box-sizing: border-box; + + .web-leftmenuthin-icon { + font-size: 32px; + line-height: 1; + } + + .web-leftmenuthin-level-text { + font-size: 12px; + line-height: 1.5; + text-align: center; + margin-top: 4px; + } + + &:hover { + background-color: #f2f5fc; + color: #5e7ce0; + } +} + +.web-leftmenuthin-level.web-leftmenuthin-level-active { + color: #ffffff; + background-color: #5e7ce0; + .web-leftmenuthin-icon { + color: #ffffff; + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinBasicWebsiteViewsComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinBasicWebsiteViewsComponent.ts new file mode 100644 index 0000000..c8e0ce6 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinBasicWebsiteViewsComponent.ts @@ -0,0 +1,43 @@ +import { Component } from '@angular/core'; +import { TiLeftmenuthinItem } from '@opentiny/ng'; + +@Component({ + templateUrl: './leftmenuthin-basic-website-views.html', + styleUrls: ['./router.less'] +}) +export class LeftmenuthinBasicWebsiteViewsComponent { + myLogs: Array = []; + items: Array = [ + { + router: ['./home'], + label: '主页', + iconName: 'home' + }, + { + router: ['./cart'], + label: '购物车', + iconName: 'cart' + }, + { + router: ['./favorite'], + label: '收藏', + iconName: 'star' + }, + { + router: ['./setting'], + label: '设置', + iconName: 'settings' + } + ]; + reloadState: boolean = true; + active: TiLeftmenuthinItem = this.items[0]; + onSelect(event: any): void { + this.myLogs = [...this.myLogs, `select => ${JSON.stringify(event)}`]; + } + onActiveChange(event: any): void { + this.myLogs = [...this.myLogs, `activeChange => ${JSON.stringify(event)}`]; + } + onReloadStateChange(event: any) { + this.myLogs = [...this.myLogs, `reloadStateChange => ${JSON.stringify(event)}`]; + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinParamsWebsiteViewsComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinParamsWebsiteViewsComponent.ts new file mode 100644 index 0000000..da524af --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinParamsWebsiteViewsComponent.ts @@ -0,0 +1,62 @@ +import { Component } from '@angular/core'; +import { TiLeftmenuthinItem } from '@opentiny/ng'; + +@Component({ + templateUrl: './leftmenuthin-params-website-views.html', + styleUrls: ['./router.less'] +}) +export class LeftmenuthinParamsWebsiteViewsComponent { + items: Array = [ + { + router: ['./home'], + label: '主页', + iconName: 'home', + params: 'ddd', + routerExtras: { + queryParams: { + local: 'zh-cn' + } + } + }, + { + router: ['./cart'], + label: '购物车', + iconName: 'cart', + routerExtras: { + queryParams: { + local: 'zh-cn', + size: 'large' + } + } + }, + { + router: ['./favorite'], + label: '收藏', + iconName: 'star', + routerExtras: { + queryParams: { + size: 'middle', + color: 'red' + }, + fragment: 'top' + } + }, + { + router: ['./setting'], + label: '设置', + iconName: 'settings', + routerExtras: { + queryParams: { + local: 'en-us', + color: 'red' + }, + fragment: 'top' + } + } + ]; + reloadState: boolean = true; + active: TiLeftmenuthinItem = this.items[0]; + toJson(obj: Object): string { + return JSON.stringify(obj); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinRouterlistWebsiteViewsComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinRouterlistWebsiteViewsComponent.ts new file mode 100644 index 0000000..629f1cb --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinRouterlistWebsiteViewsComponent.ts @@ -0,0 +1,42 @@ +import { Component } from '@angular/core'; +import { TiLeftmenuthinItem } from '@opentiny/ng'; + +@Component({ + templateUrl: './leftmenuthin-routerlist-website-views.html', + styleUrls: ['./router.less'] +}) +export class LeftmenuthinRouterlistWebsiteViewsComponent { + items: Array = [ + { + router: ['./home'], + label: '主页', + iconName: 'home' + }, + { + router: ['./cart'], + label: '购物车', + iconName: 'cart', + routerList: [['routerE']] + }, + { + router: ['./favorite'], + label: '收藏', + iconName: 'star', + routerList: [['routerF']] + }, + { + router: ['./setting'], + label: '设置', + iconName: 'settings' + } + ]; + reloadState: boolean = true; + active: TiLeftmenuthinItem = this.items[1]; + childRouter: boolean = false; + onSelect(event: TiLeftmenuthinItem) { + this.childRouter = false; + } + childChange() { + this.childRouter = true; + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router1Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router1Component.ts new file mode 100644 index 0000000..b37965e --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router1Component.ts @@ -0,0 +1,13 @@ +import { Component } from '@angular/core'; +import { RouterBaseWebsiteViewsComponent } from './RouterBaseComponent'; + +@Component({ + template: ` +
Welcome to {{ label }}页面!
+
查询参数: {{ queryParams }}
+ `, + selector: 'web-home' +}) +export class Router1WebsiteViewsComponent extends RouterBaseWebsiteViewsComponent { + label: string = 'home'; +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router2Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router2Component.ts new file mode 100644 index 0000000..5983853 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router2Component.ts @@ -0,0 +1,13 @@ +import { Component } from '@angular/core'; +import { RouterBaseWebsiteViewsComponent } from './RouterBaseComponent'; +@Component({ + template: ` +
Welcome to {{ label }} 页面!
+ 跳转至routerE(在当前路由的routerList中) +
查询参数: {{ queryParams }}
+ `, + selector: 'web-cart' +}) +export class Router2WebsiteViewsComponent extends RouterBaseWebsiteViewsComponent { + label: string = 'cart'; +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router3Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router3Component.ts new file mode 100644 index 0000000..c39e978 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router3Component.ts @@ -0,0 +1,13 @@ +import { Component } from '@angular/core'; +import { RouterBaseWebsiteViewsComponent } from './RouterBaseComponent'; +@Component({ + template: ` +
Welcome to {{ label }}页面!
+ 跳转至routerF(在当前路由的routerList中) +
查询参数: {{ queryParams }}
+ `, + selector: 'web-star' +}) +export class Router3WebsiteViewsComponent extends RouterBaseWebsiteViewsComponent { + public label: string = 'star'; +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router4Component.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router4Component.ts new file mode 100644 index 0000000..440b005 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/Router4Component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; +import { RouterBaseWebsiteViewsComponent } from './RouterBaseComponent'; +@Component({ + template: ` +
Welcome to {{ label }}页面!
+
查询参数: {{ queryParams }}
+ `, + selector: 'web-setting' +}) +export class Router4WebsiteViewsComponent extends RouterBaseWebsiteViewsComponent { + public label: string = 'setting'; +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterBaseComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterBaseComponent.ts new file mode 100644 index 0000000..3881e0d --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterBaseComponent.ts @@ -0,0 +1,11 @@ +import { Component, EventEmitter, Input, Output } from '@angular/core'; +@Component({ + template: '' +}) +export class RouterBaseWebsiteViewsComponent { + @Input() queryParams: string; + @Output() readonly routerChange: EventEmitter = new EventEmitter(); + onClick(): void { + this.routerChange.emit(); + } +} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterEComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterEComponent.ts new file mode 100644 index 0000000..74d988f --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterEComponent.ts @@ -0,0 +1,6 @@ +import { Component } from '@angular/core'; +@Component({ + template: `
Welcome to router E!
`, + selector: 'web-router-e' +}) +export class RouterEWebsiteViewsComponent {} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterFComponent.ts b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterFComponent.ts new file mode 100644 index 0000000..a5e48b9 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/RouterFComponent.ts @@ -0,0 +1,6 @@ +import { Component } from '@angular/core'; +@Component({ + template: `
Welcome to router F!
`, + selector: 'web-router-f' +}) +export class RouterFWebsiteViewsComponent {} diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-basic-website-views.html b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-basic-website-views.html new file mode 100644 index 0000000..88f4a33 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-basic-website-views.html @@ -0,0 +1,27 @@ +
+ {{reloadState}} + +
+ + + + + + + + + + + + +

事件日志:

+ +
+
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-params-website-views.html b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-params-website-views.html new file mode 100644 index 0000000..6a246b9 --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-params-website-views.html @@ -0,0 +1,18 @@ +
+ {{reloadState}} + +
+ + + + + + + + + + + + +
+
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-routerlist-website-views.html b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-routerlist-website-views.html new file mode 100644 index 0000000..4d63f7f --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/leftmenuthin-routerlist-website-views.html @@ -0,0 +1,25 @@ +
+ {{reloadState}} + +
+ + + + + + + + + + + + + + +
+
diff --git a/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/router.less b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/router.less new file mode 100644 index 0000000..a1f6e0e --- /dev/null +++ b/src/leftmenuthin/demo/src/app/leftmenuthin/website-views/router.less @@ -0,0 +1,6 @@ +.clear-transform { + background-color: #f5f2f0; + transform: scale(1, 1); + height: 460px; + overflow: auto; +} diff --git a/src/leftmenuthin/demo/src/favicon.ico b/src/leftmenuthin/demo/src/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7a7af634ee6d643ac81d81feadff569ac25de3d GIT binary patch literal 300852 zcmeI5dzahBd53A)j_bCm*oPyQz#o9PpFseI(tzA||I%|Y_te8wLNpa2S>01BW03ZMWA zpa2S>01BW03ZMWApa2S>01BW03ZMWApa2S>01BW03ZMWApa2S>01BW03ZMWApa2S> z01BW03ZMWA#HfHg8FTdES7rL}qqk&wc=&XTrKC(K&;|u0g6`jcMy5NzYlByy!l1_`lCb*u@5>~sJ1i^ELqEq5$}z5oSB*nI`0x#x z?(96-;~LAM*QkKhwjy0}p{|g%-qbA~Ui*95H^5CCkIxguh<4yf%)9t7Jb#(Qg^8Bo8msY-C`SVR0^Haw=y7p5MrL)&@INVZ)Q>Qz* zAtzs6$2*nZkRf|1T1)-)^*dc3jm)<^j7R2sk>x>^g(&BPOa+W?2~T`&`#RrQC&c-J zoKGE4({?yvUbIe~QUYFHws&fBz=NTyobld^B2}KWeO*2^%7<5fCOWnDk`ZHE%NW%l zHSLB`7LDe~Pz`k?PYAt|=_VatU`5z^D)CEmF;R;-l)Pn&PXbxnI-` z{O*F;4p#Z)x-Ph{afspXtf5U&ExW#cw2q6z*5a`0w3_0$>o{&vmze2y5D&8*x$+GF zZE|KQH$zWl)|IIfKivL6)NSnA7w1i!S8pRv2iLvZiqtWyN^#;cqpPSxXRU8N@8Xj` zh|#N!Cy%}%)2!0-xrnoYK8<;FY@Y1OqaImz+LR~zUXMp_5>3syk@=~%#&0;YR>Y`V zZM3=^{;8q1=ze_F+=N~E6?SZ{o%PsH#h=IG*0^^&-P#&u9xayldQT4Cwwuee@?TGo zec1iwm6hdT=QLEO%AFl2Z=^TcckIx4uFJdZ^m(o@-@AVAwX(Wu#Iw#0pED*uEZ4sB z4v6LRdQa{C;YT0IqKz-)vG-Ql`^imPA2h}8`)v1l?x?@kJszE}O9H8G40gs;$2KMa zj^Ap>SLfFh0>l)Zd5+xZ@}dk7@4xq&Ot_cZUUW5j^2~YgzG!8Ng5&M0vOKpjfc1CE z`V|41f&x&m=n}qbB=eyt5LY=od^+(So{kLEc8OCjJqH!6C->8uGb=e~5CH;ongB|I zQ`b!d5g221*4@p#yZ-u+<=jI3DiEv?)(xzvVJ%%829Z#;&#H&~+wg%b_(bg_2qb%7UyE zM!<+bclTQmh6)F-!-meX(Pu^1837yYwFaz!34u(=a(`uoEZ1>o^TaY&^ESe|s>8*d zKQU)s4)SQ*bpBLE40@JU_bk=addMP$eopHGk_5WG^Nq>=yW$&*PeOOwH@nJ%(BrC% z8*ri(oKRkznyzMfo!$H!y@ISNmA!=4PS(SH;ds39GNs4KH8a$@cB=zgw2~G|4Naj3 zZWXUvaWxUw)x_HLfEJygg;GOP=m9;T2b2n=)bNj8&*jl|)9Ies_J9_hq=iyLQ|JLb zpa=BWkRH&YU9@oH?Mi`lQ|JLbpa=9QN{^FmGjOWUIMkK4=6+dy{w|WcqWsbBb!p*m z2R)z%^nf05(gRx9^OCy1wi!ZGcW;#M`en^S59k3sphr=99N+l3!nQ|isL}DZMIL3K z2lRj*&?Af<7k9tsM$OBm2eeqTjZtyi0(w9P=l~tU=#Zz=lpZJ7Z*9=_fEMkfh0^3q zpBB8$(}K8bo@=nY9QSRzj_c9`T6BaKrn^#JXPQC}QKRiqP5EuDMu%#3n9}2T`?l;V z>s~8pVb4S1(e8$Oq88c~N{Or#ddP{!b*gn8^zDYeS@eJwJ)wn95$FLupr`kH*w8M6 zcKd(iM$J!d?8+(&)X?V~Vo7^`Pn5PLveIt{e9_y?Lk3wg+>w3@w zdO#28QIH;|H_QzbCxP?`c7JG*oQL!q(6cBI`nkINhN;rRPcJ_Hk?F~-@(*{$opI+d zcaB}BwC8FyJ)nh{p1ew>ODLm_mYrUx(qCcwmAD(C6o!K3sR2C#@47Cuyf2k-zMd8Wy73zrlgr#C;5 zPd0`JuxJ%5&dsk$%1cw=0X%>QaImhBr^BZ302Z~tV$<#@zlEW&@KfLcJb*`@X|mkG z<=}N4^tf?PKFV!+K#SG1(2?+l2QNZt0X?7vw15U-O^pSe^5_u>Ejs^%-iAZn>(T;x zKo97#;EFZhx76DGr}Q}8`T1O7kBu2#P!Xzte|X5KER_{^KQDHr0_W1ITR&| zj(Gr!mcl|u+!Y#{0uMQ%O$R0W@3$$p<@^_fN7rFd*W=vj6~CHzU8zDMD+M0F19;LM z7j_f!@KrZres=TUByRksN3^tP`QzNR(IblzS)W4>=n+g0`mK82M9QE?wA5(nmw!Y{ z3!fs;19}A0qb(gQl(QnrrSv%e_}^t0wg2dmwjr`oXpyubGwI{I|EBZM1A0IYdaerg zTtz|;Xi+aMeA++{=n+hhF)kbCvR%~ai^q3g(NT|`|7fD+0V|qi1?+$o!L0E6e_)4H zp1#(f`q=?1;$j8t=xgkA+-oz_XJ{|yXV`Ii>p!J7l|JGDE8=Da?7%~ddnjM1+u!zv z#!LC^fE7WkIQKof>G?gW67u2+^WOGBs3(M^jveEntu?*8?hetZi{l)6+%xPr`}n`) z)57fzSh1QF`s`oRZ1DH5tngFD$~87fv)d!EgLa3+$9V5$9W4)|M@h8k{gd3jn^!&W zQzB~~dO(eAYIONZn)6=xyie(Iy7S+nUuN5*Bx>aT%#qtq?s|GnA4^)b`xnhWiw-%T zpY6V5t|qGdBT5TLDg8oHX{a~R)tgLuK#SEqQbpao>h*J|a1pp1df-ywUk%Bfy8Wiw zlpbfd?u!)KqqJ_C+h(9`kx=PkQ}^+hQg@>19V zJ77nv+XHp6r#yDVa>uM+4)y3*(#TkGdB?I+Q`iAJU-61h{wgP&t#L} zmWS`svCPLp2`xwDv`}hj3O%3)^vH8fmRq_MrbjH4&~m6t$C9>;7D^3Gp$GJU9?+p^ z+vEK9gJo?Gb?I2rSSX?8XgMvE8k#~6=m9;T$C~trg%Vm0b?I2rj?qG?p(*r$9?%1N z6s5<-t%s)Vp|0Ij8Ve<~937{HQbSYd0X?7x^a!KJoo}Xt=8eEZO*)peXRuIcXbL=l z2k-zM1>teNdsIiuBNj+#IeHEYg@&fU19$)r;1LHr)TCocV}pe&kD7PWDewRuzyo*` zgvZ70<1$(vu|UEvM{LmWp3rL=8khUFx{OEsrU&MUd4`#1-*uXfd29v`->jRS2Nubf zzh^?p!9t;-De$1>Q2?IqM``U({%9n4=vWCg*G`frRgD2 z&{sDoeB96@iMqnNb>v5VgX!VBb<^|Eq8wT%H8h1D&?A?g{EQ$STc(XZrN_nYsm!O3 zdNfT3fB(>;8d@kdG=(0}1A26%ZBTWa$frl;Ka1y6A!{C5)I$rUhNjR1dgRihYF8qE zse~=4hxcC8VUN8tDQ;u%02a-_LZP84@MuBMVy^8l*RG$Zrr-fA;(&!hLsQ@ZJZO2) zZxz(?N#Sv^dtPPB16Ztvg+BY?Ok8iD)pV@pUUdpQfJZJo#zU_B+t964b<3wJc*F(^ zSDwsgAJn|-PMd~>4;l z)mMzq8k$0nGNP*M?#yH6(8t8d0zIHbuV|sv z&=h(=kNmIrf*#Ogo*w7BW7GC1i5{0OpTcS0sB_)RTQ+W?6j(Qf9?&D79$jx+aeM)E z{NnN57t%5FP1sSG5z3ajS&+BCp0UDb%!E6xBy8}G0PjGje%F&3c3kW|lG+g3?tm3G zx+;5qZ|L%`IDO>u*A#Zp?tqQQWcl5M^R?>$kF=kj?ORxR@mC^wKGzNI5&VDup{5|U`N1pdDqz?$9K8=hdSbs z&;wf7dQp0Blyhx=grV&Dlm=Op(9bij9ia#G$frlAuc&+A`emKJDLpQBe`#o<u(P=_OlnXEoy07W&i^F4en~bo^cC zD^E=kP5CNL+tT+`w5E>_{?^ojD*xo{6fG6&+ggnd=wRHf`g-ubd~4NjmE{6bV#}1< zFUs4=!5cCikKQrU;fKleP^OO*9j@a`JHXV+)8%UIuBoTX%SyXy?S7@HscF#X2Dz!# z96ud1HP(Yg7u=D(pYJ_imYJ84kCbR75H9yk)Lib{)``58*McoOTudAe(&ZfsIBdF} zD;`(NI#zqYPqXJ$$7Lo5<`Q@O$xCI}XH0p>QCTa$xBS|Ea$q9r(a2bNYSkG*ref7y zX|Y%=mMitTqptY=5)V0eJ0|;!r7WhqMjSTBgg;HJSSBk{--IUzKdSm5SCpoBC0TuR z^)fK4uMCb+0H?QogWNYpZn`E-z_ri@^<#7QOh;0n0l3_6;MCNu-axs^mE4_mAxq8rq<(Iky;XIs3p-k+>1c# z;z3T$!`>G6wtQe8b_uy5uC3OgS6kE6G%e2#pX=f&=9o|*O96K~mfY`a;(qj(GJQ1q zz)TN5nNBMjDVau}>`GqNaqhjCRaibpfj%o>0&>GpRA9SKiQ%h#){|pLflvhs#on}Q z$bDH!=w4V41yEoxFwr)YiM+-Kk7PO-{m{;CJ%v6ffC4Ch0w{n2D1ZVefC4Ch0w{n2 zD1ZVefC4DcdIfBU=S!wDR9+vr^vI>3x%93}uetQcE`7_TuevmQ)z()LYUL8Ml^ZkhU?j2=O z595nmdKvr;9JKWtWv8;WdlASHCC#)JbEK$;miDtN4MZiotU>|nbx*q(&~}5iD{zRm zI|OGi{xewA#pxHU!U^lj(>m_+UTaqC0Pz}symF2>M`nB{rh1_Mp;vC&YV~`BUvs{r zt=r^>dF!&iUhcNt<=1OMuye^KwL_i@yFC8^#kq3*A(55IM&Bz%Q@pSbje;I_Oi#dB^u?I+Od4qE9bt z&wxJvtmC|2&LzFoT6@ZML;xSchwveMsHhL&8~6skv951qQT+FEDL%V`-TTX~%|3J~ zkx66{nd?R-(L?kQJw(sq_3$qoUq5o`n=UQJ>{)*2y|-uKS+^f;x$9l<+DES~dF>I< zdj;sb$IJ0@yc{oI^m3dbR%gg+8MpfvXXi<--vyCJbf4s^4YfDc+RK^Y%y7kF-HurJ z_2=r?+BVZRn|><<-^Ni+8(5$F(zdWqPU<4Qj4$KM?Q03@lf3G1N)EpJB99z(Ew@n> z+Dofs((_6$Eo_F(ZDq4YG45QK+s3$`2_OIjXgdM2e6YRWD-)y7P$sLu za=*>;S?znnZ`;@UT}Fm1uc`jKFNi-Bs6v5xKkMV@upiUv<@w@i)?o0fLYb|~ z>B$mu8c2x-FNbHeygW%R%NH%pdikn0muHr4vH0PtJO)A4X=M&URcJ{L1A7#MfJ(D! z>%3~Ra@(Bx8q2m)^GxkCe+5e{TWp!l_c*qE66$gI6( zCh|A4l^;_f+sxO%pe^PMDQJrs>zS^flzuCj&K-q(lG?z`JG0`JnaJPFF;C}$)=dsK zY)x~RVQUWl+O3xqE~AuYnLCxqYFo+FKNj<0BWt2lVX)xx~ravv<#c(;HxR0x-DxfI2$5a{75giFu^J(gYjs4CPCRl=s| zfgZ$*)`4C{gKO2>W6!*vn(J>g>t?O#cM@nDA#44)jP1&9lZ-9qx(8-ASbT4f$xVYg z^W3gyHY~6^*?4Bdu-?PjLQgj?w$n6^G=nAGLg`AmZ)`3>J(sKVN;2B0C~5wZRS5-} z$*!DY*$lNyCCz@rH#4!dVNR}mrQ|Z3iR(j}{b + + + + + + Tiny + + + + + + + + + diff --git a/src/leftmenuthin/demo/src/main.ts b/src/leftmenuthin/demo/src/main.ts new file mode 100644 index 0000000..67a86e9 --- /dev/null +++ b/src/leftmenuthin/demo/src/main.ts @@ -0,0 +1,13 @@ +import { enableProdMode } from '@angular/core'; + +import { AppModule } from './app/AppModule'; +import { environment } from '../../../environments/environment'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +if (environment.production) { + enableProdMode(); +} + +platformBrowserDynamic() + .bootstrapModule(AppModule) + .catch((err: any) => console.error(err)); diff --git a/src/leftmenuthin/demo/test.ts b/src/leftmenuthin/demo/test.ts new file mode 100644 index 0000000..1822c8b --- /dev/null +++ b/src/leftmenuthin/demo/test.ts @@ -0,0 +1,24 @@ +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/testing'; +import { getTestBed } from '@angular/core/testing'; +import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; + +declare const require: { + context( + path: string, + deep?: boolean, + filter?: RegExp + ): { + (id: string): T; + keys(): string[]; + }; +}; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting()); + +// Then we find all the tests. +const context = require.context('./src/app/', true, /\.spec\.ts$/); +// And load the modules. +context.keys().forEach(context); diff --git a/src/leftmenuthin/demo/tsconfig.app.json b/src/leftmenuthin/demo/tsconfig.app.json new file mode 100644 index 0000000..36c60b6 --- /dev/null +++ b/src/leftmenuthin/demo/tsconfig.app.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../../dist/out-tsc", + "moduleResolution": "node", + "types": [] + }, + "files": ["src/main.ts", "../../polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/src/leftmenuthin/demo/tsconfig.spec.json b/src/leftmenuthin/demo/tsconfig.spec.json new file mode 100644 index 0000000..e12f108 --- /dev/null +++ b/src/leftmenuthin/demo/tsconfig.spec.json @@ -0,0 +1,15 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.app.json", + "compilerOptions": { + "outDir": "../../../dist/out-tsc/spec", + "types": ["jasmine"] + }, + "files": ["./test.ts", "../../polyfills.ts"], + "include": [ + "./src/**/*.spec.ts", + "./src/**/*.d.ts", + "../../../node_modules/@types/jasmine/index.d.ts", + "../../../node_modules/karma-viewport/dist/index.d.ts" + ] +} diff --git a/src/leftmenuthin/lib/index.ts b/src/leftmenuthin/lib/index.ts new file mode 100644 index 0000000..69ef82f --- /dev/null +++ b/src/leftmenuthin/lib/index.ts @@ -0,0 +1,2 @@ +export * from './src/TiLeftmenuthinModule'; +export * from './src/TiLeftmenuthinComponent'; diff --git a/src/leftmenuthin/lib/ng-package.json b/src/leftmenuthin/lib/ng-package.json new file mode 100644 index 0000000..5698906 --- /dev/null +++ b/src/leftmenuthin/lib/ng-package.json @@ -0,0 +1,7 @@ +{ + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/leftmenuthin", + "lib": { + "entryFile": "./index.ts" + } +} diff --git a/src/leftmenuthin/lib/package.json b/src/leftmenuthin/lib/package.json new file mode 100644 index 0000000..e4339ba --- /dev/null +++ b/src/leftmenuthin/lib/package.json @@ -0,0 +1,8 @@ +{ + "name": "@opentiny/ng-leftmenuthin", + "version": "1.0.0-beta.2", + "peerDependencies": { + "@angular/common": ">=13.0.0", + "@angular/core": ">=13.0.0" + } +} diff --git a/src/leftmenuthin/lib/project.json b/src/leftmenuthin/lib/project.json new file mode 100644 index 0000000..275af69 --- /dev/null +++ b/src/leftmenuthin/lib/project.json @@ -0,0 +1,51 @@ +{ + "projectType": "library", + "root": "src/leftmenuthin/lib", + "sourceRoot": "src/leftmenuthin/lib/src", + "targets": { + "default-build": { + "executor": "@nrwl/angular:package", + "outputs": ["dist/libs/leftmenuthin"], + "options": { + "project": "src/leftmenuthin/lib/ng-package.json" + }, + "configurations": { + "production": { + "tsConfig": "src/tsconfig.lib.prod.json" + }, + "development": { + "tsConfig": "src/tsconfig.lib.json" + } + }, + "defaultConfiguration": "production" + }, + "build": { + "executor": "@nrwl/workspace:run-commands", + "outputs": ["dist/libs/leftmenuthin"], + "options": { + "commands": [ + { + "command": "node build/add-default-theme.js leftmenuthin" + }, + { + "command": "ng default-build leftmenuthin" + }, + { + "command": "node build/clear-default-theme.js leftmenuthin" + } + ], + "parallel": false + } + }, + "pack": { + "executor": "@nrwl/workspace:run-commands", + "options": { + "commands": [ + { + "command": "cd dist/libs/leftmenuthin && npm pack" + } + ] + } + } + } +} diff --git a/src/leftmenuthin/lib/src/TiLeftmenuthinComponent.ts b/src/leftmenuthin/lib/src/TiLeftmenuthinComponent.ts new file mode 100644 index 0000000..5f5ce06 --- /dev/null +++ b/src/leftmenuthin/lib/src/TiLeftmenuthinComponent.ts @@ -0,0 +1,255 @@ +/** + * Copyright (c) 2022 - present TinyUI Authors. + * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. + * + * Use of this source code is governed by an MIT-style license. + * + * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, + * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR + * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. + * + */ + +import { + ChangeDetectionStrategy, + Component, + EventEmitter, + Input, + Output, + SimpleChange, + SimpleChanges, + ElementRef, + Renderer2, + Optional +} from '@angular/core'; +import { Util } from '@opentiny/ng-utils'; +import { TiBaseComponent } from '@opentiny/ng-base'; +import { ActivatedRoute, NavigationEnd, NavigationExtras, Router, UrlTree } from '@angular/router'; +import { Subscription } from 'rxjs'; + +export interface TiLeftmenuthinItem { + /** + * 设置当前菜单项对应的路由,与 Router.navigate方法的第一个参数一致 + */ + router: Array; + // routerExtras?: { relativeTo?: string, queryParams?: Object, fragment?: string }; + /** + * 设置当前菜单项对应路由的配置信息,与 Router.navigate方法的第二个参数一致 + */ + routerExtras?: NavigationExtras; + /** + * 设置一个router路由列表,当该列表中的路由被激活时,其对应的菜单项被激活处于高亮状态。 + * 其使用场景为多个路由对应同一个左侧菜单项。 + * + * routerList 数组中每一个元素与 Router.navigate方法的第一个参数一致 + */ + routerList?: Array>; + /** + * 选项label + */ + label: string; + /** + * 选项图标名称 + */ + iconName?: string; + /** + * 允许有多余的属性字段 + */ + [propName: string]: any; +} +/** + * 组件功能与leftmenu组件相似,可以配置图标。 + * + */ +@Component({ + selector: 'ti-leftmenuthin', + templateUrl: './leftmenuthin.html', + styleUrls: ['./leftmenuthin.less'], + changeDetection: ChangeDetectionStrategy.OnPush +}) +export class TiLeftmenuthinComponent extends TiBaseComponent { + /** + * 设置激活菜单项。 + * + * 此接口是双向绑定的,设置时中括号“[]”和圆括号“()”要同时使用 + */ + @Input() active: TiLeftmenuthinItem; + /** + * 激活菜单项改变时向外通知 + */ + @Output() readonly activeChange: EventEmitter = new EventEmitter(); + /** + * 点击菜单项触发此事件 + */ + @Output() readonly select: EventEmitter = new EventEmitter(); + /** + * 当重复点击当前激活菜单项时,是否刷新右侧内容区; + * + * 该接口是双向绑定的,当重复点击当前激活菜单项时,reloadState的值会经历 true(上次的值) -> false -> true + * 的变化过程,开发者给该接口与其右侧区域容器上ngIf接口绑定的是同一个变量,所以ngIf的值也会经历同样的变化, + * 从而做到右侧内容区的刷新。 + */ + @Input() reloadState: boolean = true; + /** + * 菜单数据列表 + */ + @Input() items: Array; + /** + * 右侧内容区是否需要刷新的状态值改变时向外通知 + */ + @Output() readonly reloadStateChange: EventEmitter = new EventEmitter(); + /** + * @ignore + */ + public readonly resolvedPromise: Promise = Promise.resolve(null); + /** + * 标志量,是否为url改变(需要去改变active) + */ + private isUrlChange: boolean = false; + private navigationSubscription: Subscription; + constructor( + @Optional() private router: Router, + @Optional() private activeRoute: ActivatedRoute, + protected hostRef: ElementRef, + protected renderer: Renderer2 + ) { + super(hostRef, renderer); + } + ngOnInit(): void { + super.ngOnInit(); + // 初始时右侧内容区默认显示,需使外部用户的reloadState值为true。 + // 双向绑定数据时,对初始传入的值立即修改并传出时会报错, + // 此处参考ngModel源码setValue的处理,使用promise延后执行时序 + this.resolvedPromise.then(() => { + this.reloadStateChange.emit(true); + }); + } + ngAfterViewInit(): void { + // 直接输入url(刷新页面)改变状态时,leftmenu能同步修改激活状态 + const urlActiveItem: TiLeftmenuthinItem = this.getActiveItemByUrl(this.items); + if (urlActiveItem) { + // 双向绑定数据时,对初始传入的值立即修改并传出时会报错, + // 此处参考ngModel源码setValue的处理,使用promise延后执行时序 + this.resolvedPromise.then(() => { + if (urlActiveItem !== this.active) { + this.isUrlChange = true; + this.active = urlActiveItem; + this.activeChange.emit(this.active); + } + }); + } else { + this.link(); + } + // 从非leftMenu处跳转改变状态时,leftmenu能同步修改激活状态 + this.navigationSubscription = this.router.events.subscribe((evt: any) => { + if (evt instanceof NavigationEnd) { + const newActiveItem: TiLeftmenuthinItem = this.getActiveItemByUrl(this.items); + if (newActiveItem && newActiveItem !== this.active) { + this.active = newActiveItem; + this.activeChange.emit(this.active); + this.isUrlChange = true; + } + } + }); + } + ngOnChanges(changes: SimpleChanges): void { + const activeObj: SimpleChange = changes['active']; + if (activeObj && !activeObj.firstChange) { + if (!this.isUrlChange) { + this.link(); + this.isUrlChange = false; + } else { + this.navigate(activeObj.currentValue); + } + } + } + ngOnDestroy(): void { + if (this.navigationSubscription) { + this.navigationSubscription.unsubscribe(); + } + } + /** + * @ignore + * 模板中使用 + */ + public selectFn(item: any): void { + const oldactive: TiLeftmenuthinItem = this.active; + const newactive: TiLeftmenuthinItem = item; + // 点击当前已经激活的item时,刷新对应路由 + if (newactive === oldactive) { + this.triggerReload(item); + } else if (newactive !== oldactive) { + this.active = newactive; + this.navigate(item); + this.activeChange.emit(this.active); + } + this.select.emit(item); + } + /** + * @ignore + * 点击当前选中项时,触发内容区重载 + * @param item 当前点击项 + */ + public triggerReload(item: TiLeftmenuthinItem): void { + // 使reloadState由false变为true,配合内容区的ngIf做到内容区的重载 + this.reloadStateChange.emit(false); + setTimeout(() => { + this.reloadStateChange.emit(true); + this.navigate(item); + }, 0); + } + private navigate(item: TiLeftmenuthinItem): void { + this.router.navigate(item.router, this.getNavigationExtras(item.routerExtras)); + } + private getNavigationExtras(routerExtras: Object): Object { + return { relativeTo: this.activeRoute, ...routerExtras }; + } + private getActiveItemByUrl(arr: Array): TiLeftmenuthinItem { + let resultItem: TiLeftmenuthinItem; + for (const item of arr) { + if (this.isActived(item)) { + resultItem = item; + + return resultItem; + } + } + + return resultItem; + } + private isActived(item: TiLeftmenuthinItem): boolean { + const relativeRoute: NavigationExtras = this.getRelativeRoute(item.routerExtras); + if (this.isMatchCurrentUrl(item.router, relativeRoute)) { + return true; + } + + if (Util.isArray(item.routerList) && item.routerList.length > 0) { + for (const router of item.routerList) { + if (this.isMatchCurrentUrl(router, relativeRoute)) { + return true; + } + } + } + + return false; + } + private getRelativeRoute(routerExtras: Object): NavigationExtras { + if (!routerExtras || !routerExtras['relativeTo']) { + return { relativeTo: this.activeRoute }; + } + + return { relativeTo: routerExtras['relativeTo'] }; + } + private isMatchCurrentUrl(router: Array, relativeRoute: NavigationExtras): boolean { + if (!Util.isArray(router)) { + return false; + } + const itemUrlTree: UrlTree = this.router.createUrlTree(router, relativeRoute); + + return this.router.isActive(itemUrlTree, false); + } + private link(): void { + if (this.active) { + this.navigate(this.active); + } + } +} diff --git a/src/leftmenuthin/lib/src/TiLeftmenuthinModule.ts b/src/leftmenuthin/lib/src/TiLeftmenuthinModule.ts new file mode 100644 index 0000000..d8335f3 --- /dev/null +++ b/src/leftmenuthin/lib/src/TiLeftmenuthinModule.ts @@ -0,0 +1,25 @@ +/** + * Copyright (c) 2022 - present TinyUI Authors. + * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. + * + * Use of this source code is governed by an MIT-style license. + * + * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, + * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR + * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. + * + */ + +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { TiLeftmenuthinComponent } from './TiLeftmenuthinComponent'; +import { TiIconModule } from '@opentiny/ng-icon'; +import { TiOutlineModule } from '@opentiny/ng-outline'; + +@NgModule({ + imports: [CommonModule, TiIconModule, TiOutlineModule], + exports: [TiLeftmenuthinComponent], + declarations: [TiLeftmenuthinComponent] +}) +export class TiLeftmenuthinModule {} +export { TiLeftmenuthinComponent, TiLeftmenuthinItem } from './TiLeftmenuthinComponent'; diff --git a/src/leftmenuthin/lib/src/leftmenuthin.html b/src/leftmenuthin/lib/src/leftmenuthin.html new file mode 100644 index 0000000..ba96cc5 --- /dev/null +++ b/src/leftmenuthin/lib/src/leftmenuthin.html @@ -0,0 +1,15 @@ +
+
+ +
{{item.label}}
+
+
diff --git a/src/leftmenuthin/lib/src/leftmenuthin.less b/src/leftmenuthin/lib/src/leftmenuthin.less new file mode 100644 index 0000000..c39ff3d --- /dev/null +++ b/src/leftmenuthin/lib/src/leftmenuthin.less @@ -0,0 +1,49 @@ +@import '../../../themes/basic/base-all.less'; + +:host { + --ti-leftmenuthin-level-width: 80px; + --ti-leftmenuthin-level-height: 78px; +} +.ti-leftmenuthin-content { + position: fixed; + top: 0; + bottom: 0; + z-index: 1000; + width: var(--ti-leftmenuthin-level-width); + background-color: var(--ti-common-color-bg-white-normal); +} + +.ti-leftmenuthin-level { + width: var(--ti-leftmenuthin-level-width); + height: var(--ti-leftmenuthin-level-height); + padding-top: var(--ti-common-space-3x); + text-align: center; + color: var(--ti-common-color-text-secondary); + cursor: pointer; + box-sizing: border-box; + + .ti-leftmenuthin-icon { + font-size: var(--ti-common-font-size-6); + line-height: 1; + } + + .ti-leftmenuthin-level-text { + font-size: var(--ti-common-font-size-base); + line-height: var(--ti-common-line-height-number); + text-align: center; + margin-top: var(--ti-common-space-base); + } + + &:hover { + background-color: var(--ti-common-color-bg-white-emphasize); + color: var(--ti-common-color-icon-hover); + } +} + +.ti-leftmenuthin-level.ti-leftmenuthin-level-active { + color: var(--ti-common-color-text-white); + background-color: var(--ti-common-color-bg-emphasize); + .ti-leftmenuthin-icon { + color: var(--ti-common-color-icon-white); + } +} diff --git a/src/linkbutton/lib/ng-package.json b/src/linkbutton/lib/ng-package.json index 51cc62e..0aa040a 100644 --- a/src/linkbutton/lib/ng-package.json +++ b/src/linkbutton/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/linkbutton", + "dest": "../../../dist/libs/ng-linkbutton", "lib": { "entryFile": "index.ts" } diff --git a/src/linkbutton/lib/package.json b/src/linkbutton/lib/package.json index aa29bfe..5eb066b 100644 --- a/src/linkbutton/lib/package.json +++ b/src/linkbutton/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-linkbutton", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/linkbutton/lib/project.json b/src/linkbutton/lib/project.json index 0cf7638..d819a3c 100644 --- a/src/linkbutton/lib/project.json +++ b/src/linkbutton/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/linkbutton"], + "outputs": ["dist/libs/ng-linkbutton"], "options": { "project": "src/linkbutton/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/linkbutton"], + "outputs": ["dist/libs/ng-linkbutton"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/linkbutton && npm pack" + "command": "cd dist/libs/ng-linkbutton && npm pack" } ] } diff --git a/src/list/lib/ng-package.json b/src/list/lib/ng-package.json index f48833c..7d5e717 100644 --- a/src/list/lib/ng-package.json +++ b/src/list/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/list", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-list", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/list/lib/package.json b/src/list/lib/package.json index b75bdc9..2a97ab3 100644 --- a/src/list/lib/package.json +++ b/src/list/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-list", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/cdk": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-loading": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-loading": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/list/lib/project.json b/src/list/lib/project.json index aec2ef0..3b0029d 100644 --- a/src/list/lib/project.json +++ b/src/list/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/list"], + "outputs": ["dist/libs/ng-list"], "options": { "project": "src/list/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/list"], + "outputs": ["dist/libs/ng-list"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/list && npm pack" + "command": "cd dist/libs/ng-list && npm pack" } ] } diff --git a/src/list/lib/src/TiListComponent.ts b/src/list/lib/src/TiListComponent.ts index ba7865b..4c15a34 100644 --- a/src/list/lib/src/TiListComponent.ts +++ b/src/list/lib/src/TiListComponent.ts @@ -108,6 +108,10 @@ export class TiListComponent extends TiFormComponent { * 该接口暂不对外开放,后续如果业务场景labelKey对应的值确实有重复时,再对外开放该接口。 */ @Input() idKey: string; + /** + * 控制加载状态 + */ + @Input() loading: boolean = false; /** * 选中事件,向外通知option数据 diff --git a/src/list/lib/src/list.html b/src/list/lib/src/list.html index e4a28a4..1c771e6 100644 --- a/src/list/lib/src/list.html +++ b/src/list/lib/src/list.html @@ -2,6 +2,7 @@
+ + +
+ + + + + +
+ + + diff --git a/src/list/lib/src/list.less b/src/list/lib/src/list.less index 65b3fc9..4fe7ce2 100644 --- a/src/list/lib/src/list.less +++ b/src/list/lib/src/list.less @@ -147,3 +147,10 @@ ::ng-deep .ti3-virtual-scroll-list-viewport.ti3-virtual-scroll-list-viewport-with-selectall .cdk-virtual-scroll-spacer { top: calc(var(--ti-list-container-vertical-padding) * 2 + 30px); } +.ti3-list-loading { + display: flex; + padding: var(--ti-common-space-6) var(--ti-common-space-10); +} +::ng-deep .ti3-virtual-scroll-list .ti3-list-loading { + padding: var(--ti-common-space-10); +} diff --git a/src/loading/lib/ng-package.json b/src/loading/lib/ng-package.json index 6c0c0ea..703cf41 100644 --- a/src/loading/lib/ng-package.json +++ b/src/loading/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/loading", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-loading", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/loading/lib/package.json b/src/loading/lib/package.json index 0e1b189..8933710 100644 --- a/src/loading/lib/package.json +++ b/src/loading/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-loading", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/loading/lib/project.json b/src/loading/lib/project.json index 660828d..e3c637b 100644 --- a/src/loading/lib/project.json +++ b/src/loading/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/loading"], + "outputs": ["dist/libs/ng-loading"], "options": { "project": "src/loading/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/loading"], + "outputs": ["dist/libs/ng-loading"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/loading && npm pack" + "command": "cd dist/libs/ng-loading && npm pack" } ] } diff --git a/src/locale/lib/ng-package.json b/src/locale/lib/ng-package.json index e2df576..8b426dc 100644 --- a/src/locale/lib/ng-package.json +++ b/src/locale/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/locale", + "dest": "../../../dist/libs/ng-locale", "lib": { "entryFile": "index.ts" } diff --git a/src/locale/lib/package.json b/src/locale/lib/package.json index 03b36f3..8e8e106 100644 --- a/src/locale/lib/package.json +++ b/src/locale/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-locale", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/locale/lib/project.json b/src/locale/lib/project.json index 6aca8a8..fc32e64 100644 --- a/src/locale/lib/project.json +++ b/src/locale/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/locale"], + "outputs": ["dist/libs/ng-locale"], "options": { "project": "src/locale/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/locale"], + "outputs": ["dist/libs/ng-locale"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/locale && npm pack" + "command": "cd dist/libs/ng-locale && npm pack" } ] } diff --git a/src/menu/lib/ng-package.json b/src/menu/lib/ng-package.json index 448e7b0..54e5116 100644 --- a/src/menu/lib/ng-package.json +++ b/src/menu/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/menu", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-menu", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/menu/lib/package.json b/src/menu/lib/package.json index b005003..2926f86 100644 --- a/src/menu/lib/package.json +++ b/src/menu/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-menu", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", - "@opentiny/ng-list": "~1.0.0-beta.1", + "@opentiny/ng-list": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/menu/lib/project.json b/src/menu/lib/project.json index c45abc4..dd34517 100644 --- a/src/menu/lib/project.json +++ b/src/menu/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/menu"], + "outputs": ["dist/libs/ng-menu"], "options": { "project": "src/menu/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/menu"], + "outputs": ["dist/libs/ng-menu"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/menu && npm pack" + "command": "cd dist/libs/ng-menu && npm pack" } ] } diff --git a/src/message/lib/ng-package.json b/src/message/lib/ng-package.json index d393c26..e9b7b55 100644 --- a/src/message/lib/ng-package.json +++ b/src/message/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/message", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-message", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/message/lib/package.json b/src/message/lib/package.json index 1d8882c..c1dbb2b 100644 --- a/src/message/lib/package.json +++ b/src/message/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-message", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-modal": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-modal": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-popup": "~1.0.0-beta.1" + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-popup": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/message/lib/project.json b/src/message/lib/project.json index 72b0a13..0806090 100644 --- a/src/message/lib/project.json +++ b/src/message/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/message"], + "outputs": ["dist/libs/ng-message"], "options": { "project": "src/message/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/message"], + "outputs": ["dist/libs/ng-message"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/message && npm pack" + "command": "cd dist/libs/ng-message && npm pack" } ] } diff --git a/src/modal/lib/ng-package.json b/src/modal/lib/ng-package.json index e042faa..6cabb77 100644 --- a/src/modal/lib/ng-package.json +++ b/src/modal/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/modal", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-modal", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/modal/lib/package.json b/src/modal/lib/package.json index 9ece63d..0e2b4aa 100644 --- a/src/modal/lib/package.json +++ b/src/modal/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-modal", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/router": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/animations": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-popup": "~1.0.0-beta.1", - "@opentiny/ng-drag": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-popup": "~1.0.0-beta.2", + "@opentiny/ng-drag": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/modal/lib/project.json b/src/modal/lib/project.json index b975f65..6ad98a1 100644 --- a/src/modal/lib/project.json +++ b/src/modal/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/modal"], + "outputs": ["dist/libs/ng-modal"], "options": { "project": "src/modal/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/modal"], + "outputs": ["dist/libs/ng-modal"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/modal && npm pack" + "command": "cd dist/libs/ng-modal && npm pack" } ] } diff --git a/src/nav/lib/ng-package.json b/src/nav/lib/ng-package.json index cab05b2..dc211c8 100644 --- a/src/nav/lib/ng-package.json +++ b/src/nav/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/nav", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-nav", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/nav/lib/package.json b/src/nav/lib/package.json index 11ae2a7..da32e36 100644 --- a/src/nav/lib/package.json +++ b/src/nav/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-nav", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/nav/lib/project.json b/src/nav/lib/project.json index cc49048..4742526 100644 --- a/src/nav/lib/project.json +++ b/src/nav/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/nav"], + "outputs": ["dist/libs/ng-nav"], "options": { "project": "src/nav/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/nav"], + "outputs": ["dist/libs/ng-nav"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/nav && npm pack" + "command": "cd dist/libs/ng-nav && npm pack" } ] } diff --git a/src/ng/demo/src/app/AppWcModule.ts b/src/ng/demo/src/app/AppWcModule.ts index 86c26ec..eb8e5e1 100644 --- a/src/ng/demo/src/app/AppWcModule.ts +++ b/src/ng/demo/src/app/AppWcModule.ts @@ -125,6 +125,8 @@ import { AutocompleteValidComponent } from './../../../../autocomplete/demo/src/ import { AutocompleteGroupComponent } from './../../../../autocomplete/demo/src/app/autocomplete/AutocompleteGroupComponent'; +import { AutocompleteSuggestComponent } from './../../../../autocomplete/demo/src/app/autocomplete/AutocompleteSuggestComponent'; + import { AvatarImageErrorTestComponent } from './../../../../avatar/demo/src/app/avatar/AvatarImageErrorTestComponent'; import { AvatarImageComponent } from './../../../../avatar/demo/src/app/avatar/AvatarImageComponent'; @@ -680,6 +682,11 @@ import { LeftmenuRouterlistWebsiteViewComponent } from './../../../../leftmenu/d import { LeftmenuToggleableWebsiteViewComponent } from './../../../../leftmenu/demo/src/app/leftmenu/website-views/LeftmenuToggleableWebsiteViewComponent'; +import { LeftmenuthinBasicWebsiteViewsComponent } from './../../../../leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinBasicWebsiteViewsComponent'; + +import { LeftmenuthinParamsWebsiteViewsComponent } from './../../../../leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinParamsWebsiteViewsComponent'; + +import { LeftmenuthinRouterlistWebsiteViewsComponent } from './../../../../leftmenuthin/demo/src/app/leftmenuthin/website-views/LeftmenuthinRouterlistWebsiteViewsComponent'; import { LoadingAreaComponent } from './../../../../loading/demo/src/app/loading/LoadingAreaComponent'; import { LoadingBasicComponent } from './../../../../loading/demo/src/app/loading/LoadingBasicComponent'; @@ -1748,6 +1755,8 @@ import { LogUsageComponent } from './../../../../utils/demo/src/app/log/LogUsage import { ThemeBasicComponent } from './../../../../utils/demo/src/app/theme/ThemeBasicComponent'; +import { ThemePaletteComponent } from './../../../../utils/demo/src/app/theme/ThemePaletteComponent'; + import { ValidationAsyncCheckTestComponent } from './../../../../validation/demo/src/app/validation/ValidationAsyncCheckTestComponent'; import { ValidationAsyncCheckComponent } from './../../../../validation/demo/src/app/validation/ValidationAsyncCheckComponent'; @@ -2047,6 +2056,8 @@ const WCS: any = [ { selector: 'website-tiny-autocomplete-group', component: AutocompleteGroupComponent }, + { selector: 'website-tiny-autocomplete-suggest', component: AutocompleteSuggestComponent }, + { selector: 'website-tiny-avatar-image-error-test', component: AvatarImageErrorTestComponent @@ -3216,6 +3227,11 @@ const WCS: any = [ component: LeftmenuToggleableWebsiteViewComponent }, + { selector: 'website-tiny-leftmenuthin-basic', component: LeftmenuthinBasicWebsiteViewsComponent }, + + { selector: 'website-tiny-leftmenuthin-params', component: LeftmenuthinParamsWebsiteViewsComponent }, + + { selector: 'website-tiny-leftmenuthin-routerlist', component: LeftmenuthinRouterlistWebsiteViewsComponent }, { selector: 'website-tiny-loading-area', component: LoadingAreaComponent }, { selector: 'website-tiny-loading-basic', component: LoadingBasicComponent }, @@ -5279,6 +5295,8 @@ const WCS: any = [ { selector: 'website-tiny-theme-basic', component: ThemeBasicComponent }, + { selector: 'website-tiny-theme-palette', component: ThemePaletteComponent }, + { selector: 'website-tiny-validation-async-check-test', component: ValidationAsyncCheckTestComponent diff --git a/src/ng/demo/src/app/DemoModules.ts b/src/ng/demo/src/app/DemoModules.ts index 95ae083..026a79b 100644 --- a/src/ng/demo/src/app/DemoModules.ts +++ b/src/ng/demo/src/app/DemoModules.ts @@ -44,6 +44,7 @@ import { IpsectionTestModule } from '../../../../ipsection/demo/src/app/ipsectio import { LabeleditorTestModule } from '../../../../labeleditor/demo/src/app/labeleditor/LabeleditorTestModule'; import { LayoutTestModule } from '../../../../layout/demo/src/app/layout/LayoutTestModule'; import { LeftmenuTestModule } from '../../../../leftmenu/demo/src/app/leftmenu/LeftmenuTestModule'; +import { LeftmenuthinTestModule } from '../../../../leftmenuthin/demo/src/app/leftmenuthin/LeftmenuthinTestModule'; import { ListTestModule } from '../../../../list/demo/src/app/list/ListTestModule'; import { LoadingTestModule } from '../../../../loading/demo/src/app/loading/LoadingTestModule'; import { LocaleTestModule } from '../../../../locale/demo/src/app/locale/LocaleTestModule'; @@ -147,6 +148,7 @@ export class DemoModules { LabeleditorTestModule, LayoutTestModule, LeftmenuTestModule, + LeftmenuthinTestModule, ListTestModule, LoadingTestModule, LocaleTestModule, diff --git a/src/ng/demo/src/webdoc/menus.js b/src/ng/demo/src/webdoc/menus.js index 9e63ded..dae3c51 100644 --- a/src/ng/demo/src/webdoc/menus.js +++ b/src/ng/demo/src/webdoc/menus.js @@ -118,6 +118,7 @@ export const cmpMenus = [ key: 'cmp_nav', children: [ { name: 'Leftmenu', nameCn: '左侧菜单', key: 'leftmenu' }, + { name: 'Leftmenuthin', nameCn: '左侧图标菜单', key: 'leftmenuthin' }, { name: 'Menu', nameCn: '下拉菜单', key: 'menu' }, { name: 'Nav', nameCn: '顶部导航', key: 'nav' }, { name: 'Actionmenu', nameCn: '菜单按钮', key: 'actionmenu' }, diff --git a/src/ng/lib/index.ts b/src/ng/lib/index.ts index ff297b4..0e84cd0 100644 --- a/src/ng/lib/index.ts +++ b/src/ng/lib/index.ts @@ -91,6 +91,7 @@ export * from '@opentiny/ng-validation'; export * from '@opentiny/ng-zoom'; export * from '@opentiny/ng-guides'; export * from '@opentiny/ng-labeleditor'; +export * from '@opentiny/ng-leftmenuthin'; export * from '@opentiny/ng-phonenumber'; export * from '@opentiny/ng-selectgroup'; export * from '@opentiny/ng-productpreview'; diff --git a/src/ng/lib/package.json b/src/ng/lib/package.json index d9d60e2..2b62a03 100644 --- a/src/ng/lib/package.json +++ b/src/ng/lib/package.json @@ -1,110 +1,111 @@ { "name": "@opentiny/ng", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-accordion": "1.0.0-beta.1", - "@opentiny/ng-actionmenu": "1.0.0-beta.1", - "@opentiny/ng-alert": "1.0.0-beta.1", - "@opentiny/ng-anchor": "1.0.0-beta.1", - "@opentiny/ng-autocomplete": "1.0.0-beta.1", - "@opentiny/ng-avatar": "1.0.0-beta.1", - "@opentiny/ng-base": "1.0.0-beta.1", - "@opentiny/ng-button": "1.0.0-beta.1", - "@opentiny/ng-buttongroup": "1.0.0-beta.1", - "@opentiny/ng-card": "1.0.0-beta.1", - "@opentiny/ng-cascader": "1.0.0-beta.1", - "@opentiny/ng-checkbox": "1.0.0-beta.1", - "@opentiny/ng-collapse": "1.0.0-beta.1", - "@opentiny/ng-collapsebox": "1.0.0-beta.1", - "@opentiny/ng-collapsebutton": "1.0.0-beta.1", - "@opentiny/ng-copy": "1.0.0-beta.1", - "@opentiny/ng-crumb": "1.0.0-beta.1", - "@opentiny/ng-date": "1.0.0-beta.1", - "@opentiny/ng-datebase": "1.0.0-beta.1", - "@opentiny/ng-datedominator": "1.0.0-beta.1", - "@opentiny/ng-dateedit": "1.0.0-beta.1", - "@opentiny/ng-datepanel": "1.0.0-beta.1", - "@opentiny/ng-daterange": "1.0.0-beta.1", - "@opentiny/ng-datetime": "1.0.0-beta.1", - "@opentiny/ng-datetimerange": "1.0.0-beta.1", - "@opentiny/ng-dominator": "1.0.0-beta.1", - "@opentiny/ng-drag": "1.0.0-beta.1", - "@opentiny/ng-drop": "1.0.0-beta.1", - "@opentiny/ng-droplist": "1.0.0-beta.1", - "@opentiny/ng-dropsearch": "1.0.0-beta.1", - "@opentiny/ng-formfield": "1.0.0-beta.1", - "@opentiny/ng-foldtext": "1.0.0-beta.1", - "@opentiny/ng-grid": "1.0.0-beta.1", - "@opentiny/ng-halfmodal": "1.0.0-beta.1", - "@opentiny/ng-icon": "1.0.0-beta.1", - "@opentiny/ng-iconaction": "1.0.0-beta.1", - "@opentiny/ng-imagepreview": "1.0.0-beta.1", - "@opentiny/ng-include": "1.0.0-beta.1", - "@opentiny/ng-inputnumber": "1.0.0-beta.1", - "@opentiny/ng-intro": "1.0.0-beta.1", - "@opentiny/ng-ip": "1.0.0-beta.1", - "@opentiny/ng-ipsection": "1.0.0-beta.1", - "@opentiny/ng-layout": "1.0.0-beta.1", - "@opentiny/ng-leftmenu": "1.0.0-beta.1", - "@opentiny/ng-list": "1.0.0-beta.1", - "@opentiny/ng-loading": "1.0.0-beta.1", - "@opentiny/ng-locale": "1.0.0-beta.1", - "@opentiny/ng-linkbutton": "1.0.0-beta.1", - "@opentiny/ng-menu": "1.0.0-beta.1", - "@opentiny/ng-message": "1.0.0-beta.1", - "@opentiny/ng-modal": "1.0.0-beta.1", - "@opentiny/ng-nav": "1.0.0-beta.1", - "@opentiny/ng-notification": "1.0.0-beta.1", - "@opentiny/ng-outline": "1.0.0-beta.1", - "@opentiny/ng-overflow": "1.0.0-beta.1", - "@opentiny/ng-pagination": "1.0.0-beta.1", - "@opentiny/ng-popconfirm": "1.0.0-beta.1", - "@opentiny/ng-popup": "1.0.0-beta.1", - "@opentiny/ng-progressbar": "1.0.0-beta.1", - "@opentiny/ng-progresspie": "1.0.0-beta.1", - "@opentiny/ng-radio": "1.0.0-beta.1", - "@opentiny/ng-rate": "1.0.0-beta.1", - "@opentiny/ng-renderer": "1.0.0-beta.1", - "@opentiny/ng-rights": "1.0.0-beta.1", - "@opentiny/ng-score": "1.0.0-beta.1", - "@opentiny/ng-scroll": "1.0.0-beta.1", - "@opentiny/ng-searchbox": "1.0.0-beta.1", - "@opentiny/ng-select": "1.0.0-beta.1", - "@opentiny/ng-skeleton": "1.0.0-beta.1", - "@opentiny/ng-slider": "1.0.0-beta.1", - "@opentiny/ng-spinner": "1.0.0-beta.1", - "@opentiny/ng-steps": "1.0.0-beta.1", - "@opentiny/ng-subtitle": "1.0.0-beta.1", - "@opentiny/ng-swiper": "1.0.0-beta.1", - "@opentiny/ng-switch": "1.0.0-beta.1", - "@opentiny/ng-tab": "1.0.0-beta.1", - "@opentiny/ng-table": "1.0.0-beta.1", - "@opentiny/ng-tag": "1.0.0-beta.1", - "@opentiny/ng-tagsinput": "1.0.0-beta.1", - "@opentiny/ng-text": "1.0.0-beta.1", - "@opentiny/ng-textarea": "1.0.0-beta.1", - "@opentiny/ng-time": "1.0.0-beta.1", - "@opentiny/ng-timeline": "1.0.0-beta.1", - "@opentiny/ng-tip": "1.0.0-beta.1", - "@opentiny/ng-transfer": "1.0.0-beta.1", - "@opentiny/ng-tree": "1.0.0-beta.1", - "@opentiny/ng-treeselect": "1.0.0-beta.1", - "@opentiny/ng-upload": "1.0.0-beta.1", - "@opentiny/ng-utils": "1.0.0-beta.1", - "@opentiny/ng-validation": "1.0.0-beta.1", - "@opentiny/ng-zoom": "1.0.0-beta.1", - "@opentiny/ng-themes": "1.0.0-beta.1", - "@opentiny/ng-guides": "1.0.0-beta.1", - "@opentiny/ng-labeleditor": "1.0.0-beta.1", - "@opentiny/ng-phonenumber": "1.0.0-beta.1", - "@opentiny/ng-selectgroup": "1.0.0-beta.1", - "@opentiny/ng-productpreview": "1.0.0-beta.1", - "@opentiny/ng-buttonselect": "1.0.0-beta.1", - "@opentiny/ng-collapsetext": "1.0.0-beta.1", - "@opentiny/ng-guidesteps": "1.0.0-beta.1", - "@opentiny/ng-path": "1.0.0-beta.1" + "@opentiny/ng-accordion": "1.0.0-beta.2", + "@opentiny/ng-actionmenu": "1.0.0-beta.2", + "@opentiny/ng-alert": "1.0.0-beta.2", + "@opentiny/ng-anchor": "1.0.0-beta.2", + "@opentiny/ng-autocomplete": "1.0.0-beta.2", + "@opentiny/ng-avatar": "1.0.0-beta.2", + "@opentiny/ng-base": "1.0.0-beta.2", + "@opentiny/ng-button": "1.0.0-beta.2", + "@opentiny/ng-buttongroup": "1.0.0-beta.2", + "@opentiny/ng-card": "1.0.0-beta.2", + "@opentiny/ng-cascader": "1.0.0-beta.2", + "@opentiny/ng-checkbox": "1.0.0-beta.2", + "@opentiny/ng-collapse": "1.0.0-beta.2", + "@opentiny/ng-collapsebox": "1.0.0-beta.2", + "@opentiny/ng-collapsebutton": "1.0.0-beta.2", + "@opentiny/ng-copy": "1.0.0-beta.2", + "@opentiny/ng-crumb": "1.0.0-beta.2", + "@opentiny/ng-date": "1.0.0-beta.2", + "@opentiny/ng-datebase": "1.0.0-beta.2", + "@opentiny/ng-datedominator": "1.0.0-beta.2", + "@opentiny/ng-dateedit": "1.0.0-beta.2", + "@opentiny/ng-datepanel": "1.0.0-beta.2", + "@opentiny/ng-daterange": "1.0.0-beta.2", + "@opentiny/ng-datetime": "1.0.0-beta.2", + "@opentiny/ng-datetimerange": "1.0.0-beta.2", + "@opentiny/ng-dominator": "1.0.0-beta.2", + "@opentiny/ng-drag": "1.0.0-beta.2", + "@opentiny/ng-drop": "1.0.0-beta.2", + "@opentiny/ng-droplist": "1.0.0-beta.2", + "@opentiny/ng-dropsearch": "1.0.0-beta.2", + "@opentiny/ng-formfield": "1.0.0-beta.2", + "@opentiny/ng-foldtext": "1.0.0-beta.2", + "@opentiny/ng-grid": "1.0.0-beta.2", + "@opentiny/ng-halfmodal": "1.0.0-beta.2", + "@opentiny/ng-icon": "1.0.0-beta.2", + "@opentiny/ng-iconaction": "1.0.0-beta.2", + "@opentiny/ng-imagepreview": "1.0.0-beta.2", + "@opentiny/ng-include": "1.0.0-beta.2", + "@opentiny/ng-inputnumber": "1.0.0-beta.2", + "@opentiny/ng-intro": "1.0.0-beta.2", + "@opentiny/ng-ip": "1.0.0-beta.2", + "@opentiny/ng-ipsection": "1.0.0-beta.2", + "@opentiny/ng-layout": "1.0.0-beta.2", + "@opentiny/ng-leftmenu": "1.0.0-beta.2", + "@opentiny/ng-leftmenuthin": "1.0.0-beta.2", + "@opentiny/ng-list": "1.0.0-beta.2", + "@opentiny/ng-loading": "1.0.0-beta.2", + "@opentiny/ng-locale": "1.0.0-beta.2", + "@opentiny/ng-linkbutton": "1.0.0-beta.2", + "@opentiny/ng-menu": "1.0.0-beta.2", + "@opentiny/ng-message": "1.0.0-beta.2", + "@opentiny/ng-modal": "1.0.0-beta.2", + "@opentiny/ng-nav": "1.0.0-beta.2", + "@opentiny/ng-notification": "1.0.0-beta.2", + "@opentiny/ng-outline": "1.0.0-beta.2", + "@opentiny/ng-overflow": "1.0.0-beta.2", + "@opentiny/ng-pagination": "1.0.0-beta.2", + "@opentiny/ng-popconfirm": "1.0.0-beta.2", + "@opentiny/ng-popup": "1.0.0-beta.2", + "@opentiny/ng-progressbar": "1.0.0-beta.2", + "@opentiny/ng-progresspie": "1.0.0-beta.2", + "@opentiny/ng-radio": "1.0.0-beta.2", + "@opentiny/ng-rate": "1.0.0-beta.2", + "@opentiny/ng-renderer": "1.0.0-beta.2", + "@opentiny/ng-rights": "1.0.0-beta.2", + "@opentiny/ng-score": "1.0.0-beta.2", + "@opentiny/ng-scroll": "1.0.0-beta.2", + "@opentiny/ng-searchbox": "1.0.0-beta.2", + "@opentiny/ng-select": "1.0.0-beta.2", + "@opentiny/ng-skeleton": "1.0.0-beta.2", + "@opentiny/ng-slider": "1.0.0-beta.2", + "@opentiny/ng-spinner": "1.0.0-beta.2", + "@opentiny/ng-steps": "1.0.0-beta.2", + "@opentiny/ng-subtitle": "1.0.0-beta.2", + "@opentiny/ng-swiper": "1.0.0-beta.2", + "@opentiny/ng-switch": "1.0.0-beta.2", + "@opentiny/ng-tab": "1.0.0-beta.2", + "@opentiny/ng-table": "1.0.0-beta.2", + "@opentiny/ng-tag": "1.0.0-beta.2", + "@opentiny/ng-tagsinput": "1.0.0-beta.2", + "@opentiny/ng-text": "1.0.0-beta.2", + "@opentiny/ng-textarea": "1.0.0-beta.2", + "@opentiny/ng-time": "1.0.0-beta.2", + "@opentiny/ng-timeline": "1.0.0-beta.2", + "@opentiny/ng-tip": "1.0.0-beta.2", + "@opentiny/ng-transfer": "1.0.0-beta.2", + "@opentiny/ng-tree": "1.0.0-beta.2", + "@opentiny/ng-treeselect": "1.0.0-beta.2", + "@opentiny/ng-upload": "1.0.0-beta.2", + "@opentiny/ng-utils": "1.0.0-beta.2", + "@opentiny/ng-validation": "1.0.0-beta.2", + "@opentiny/ng-zoom": "1.0.0-beta.2", + "@opentiny/ng-themes": "1.0.0-beta.2", + "@opentiny/ng-guides": "1.0.0-beta.2", + "@opentiny/ng-labeleditor": "1.0.0-beta.2", + "@opentiny/ng-phonenumber": "1.0.0-beta.2", + "@opentiny/ng-selectgroup": "1.0.0-beta.2", + "@opentiny/ng-productpreview": "1.0.0-beta.2", + "@opentiny/ng-buttonselect": "1.0.0-beta.2", + "@opentiny/ng-collapsetext": "1.0.0-beta.2", + "@opentiny/ng-guidesteps": "1.0.0-beta.2", + "@opentiny/ng-path": "1.0.0-beta.2" } } diff --git a/src/notification/lib/ng-package.json b/src/notification/lib/ng-package.json index f701fe4..704d31a 100644 --- a/src/notification/lib/ng-package.json +++ b/src/notification/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/notification", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-notification", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/notification/lib/package.json b/src/notification/lib/package.json index 92fc423..b16d198 100644 --- a/src/notification/lib/package.json +++ b/src/notification/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-notification", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/animations": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/cdk": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-alert": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1" + "@opentiny/ng-alert": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/notification/lib/project.json b/src/notification/lib/project.json index 2498b39..57f5569 100644 --- a/src/notification/lib/project.json +++ b/src/notification/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/notification"], + "outputs": ["dist/libs/ng-notification"], "options": { "project": "src/notification/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/notification"], + "outputs": ["dist/libs/ng-notification"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/notification && npm pack" + "command": "cd dist/libs/ng-notification && npm pack" } ] } diff --git a/src/outline/lib/ng-package.json b/src/outline/lib/ng-package.json index f47b6dd..368f943 100644 --- a/src/outline/lib/ng-package.json +++ b/src/outline/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/outline", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-outline", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/outline/lib/package.json b/src/outline/lib/package.json index 37fb72e..3637073 100644 --- a/src/outline/lib/package.json +++ b/src/outline/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-outline", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/outline/lib/project.json b/src/outline/lib/project.json index 50de636..88ecb39 100644 --- a/src/outline/lib/project.json +++ b/src/outline/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/outline"], + "outputs": ["dist/libs/ng-outline"], "options": { "project": "src/outline/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/outline"], + "outputs": ["dist/libs/ng-outline"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/outline && npm pack" + "command": "cd dist/libs/ng-outline && npm pack" } ] } diff --git a/src/overflow/lib/ng-package.json b/src/overflow/lib/ng-package.json index 4117011..4adcb37 100644 --- a/src/overflow/lib/ng-package.json +++ b/src/overflow/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/overflow", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-overflow", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/overflow/lib/package.json b/src/overflow/lib/package.json index c8251df..4430cef 100644 --- a/src/overflow/lib/package.json +++ b/src/overflow/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-overflow", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.1" + "@opentiny/ng-renderer": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/overflow/lib/project.json b/src/overflow/lib/project.json index 9a3e6a6..6f75cbe 100644 --- a/src/overflow/lib/project.json +++ b/src/overflow/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/overflow"], + "outputs": ["dist/libs/ng-overflow"], "options": { "project": "src/overflow/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/overflow"], + "outputs": ["dist/libs/ng-overflow"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/overflow && npm pack" + "command": "cd dist/libs/ng-overflow && npm pack" } ] } diff --git a/src/pagination/lib/ng-package.json b/src/pagination/lib/ng-package.json index 35c4d3b..cb21738 100644 --- a/src/pagination/lib/ng-package.json +++ b/src/pagination/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/pagination", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-pagination", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/pagination/lib/package.json b/src/pagination/lib/package.json index d1645d2..021f797 100644 --- a/src/pagination/lib/package.json +++ b/src/pagination/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-pagination", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-table": "~1.0.0-beta.1", - "@opentiny/ng-select": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-table": "~1.0.0-beta.2", + "@opentiny/ng-select": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/pagination/lib/project.json b/src/pagination/lib/project.json index 0299b31..868f65a 100644 --- a/src/pagination/lib/project.json +++ b/src/pagination/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/pagination"], + "outputs": ["dist/libs/ng-pagination"], "options": { "project": "src/pagination/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/pagination"], + "outputs": ["dist/libs/ng-pagination"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/pagination && npm pack" + "command": "cd dist/libs/ng-pagination && npm pack" } ] } diff --git a/src/path/lib/ng-package.json b/src/path/lib/ng-package.json index 86ac57b..e4ef499 100644 --- a/src/path/lib/ng-package.json +++ b/src/path/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/path", + "dest": "../../../dist/libs/ng-path", "lib": { "entryFile": "./index.ts" } diff --git a/src/path/lib/package.json b/src/path/lib/package.json index d0ce764..0de57f8 100644 --- a/src/path/lib/package.json +++ b/src/path/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-path", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-droplist": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-droplist": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/path/lib/project.json b/src/path/lib/project.json index 2b5569b..7c2a362 100644 --- a/src/path/lib/project.json +++ b/src/path/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/path"], + "outputs": ["dist/libs/ng-path"], "options": { "project": "src/path/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/path"], + "outputs": ["dist/libs/ng-path"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/path && npm pack" + "command": "cd dist/libs/ng-path && npm pack" } ] } diff --git a/src/phonenumber/lib/ng-package.json b/src/phonenumber/lib/ng-package.json index 019c0af..23e112d 100644 --- a/src/phonenumber/lib/ng-package.json +++ b/src/phonenumber/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/phonenumber", + "dest": "../../../dist/libs/ng-phonenumber", "lib": { "entryFile": "./index.ts" } diff --git a/src/phonenumber/lib/package.json b/src/phonenumber/lib/package.json index b7239ae..a91cd84 100644 --- a/src/phonenumber/lib/package.json +++ b/src/phonenumber/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-phonenumber", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", "libphonenumber-js": "1.10.7", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-validation": "~1.0.0-beta.1", - "@opentiny/ng-select": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-validation": "~1.0.0-beta.2", + "@opentiny/ng-select": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/phonenumber/lib/project.json b/src/phonenumber/lib/project.json index 47299b2..ea957b4 100644 --- a/src/phonenumber/lib/project.json +++ b/src/phonenumber/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/phonenumber"], + "outputs": ["dist/libs/ng-phonenumber"], "options": { "project": "src/phonenumber/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/phonenumber"], + "outputs": ["dist/libs/ng-phonenumber"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/phonenumber && npm pack" + "command": "cd dist/libs/ng-phonenumber && npm pack" } ] } diff --git a/src/popconfirm/lib/ng-package.json b/src/popconfirm/lib/ng-package.json index 8fcc727..a6eaaf6 100644 --- a/src/popconfirm/lib/ng-package.json +++ b/src/popconfirm/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/popconfirm", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-popconfirm", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/popconfirm/lib/package.json b/src/popconfirm/lib/package.json index 1f63562..8647566 100644 --- a/src/popconfirm/lib/package.json +++ b/src/popconfirm/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-popconfirm", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/popconfirm/lib/project.json b/src/popconfirm/lib/project.json index f7e0e52..b5edaa7 100644 --- a/src/popconfirm/lib/project.json +++ b/src/popconfirm/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/popconfirm"], + "outputs": ["dist/libs/ng-popconfirm"], "options": { "project": "src/popconfirm/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/popconfirm"], + "outputs": ["dist/libs/ng-popconfirm"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/popconfirm && npm pack" + "command": "cd dist/libs/ng-popconfirm && npm pack" } ] } diff --git a/src/popup/lib/ng-package.json b/src/popup/lib/ng-package.json index 731317e..511c2ba 100644 --- a/src/popup/lib/ng-package.json +++ b/src/popup/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/popup", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-popup", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/popup/lib/package.json b/src/popup/lib/package.json index 89656ac..7668c68 100644 --- a/src/popup/lib/package.json +++ b/src/popup/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-popup", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/platform-browser": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0" } } \ No newline at end of file diff --git a/src/popup/lib/project.json b/src/popup/lib/project.json index eff9f4c..64ed198 100644 --- a/src/popup/lib/project.json +++ b/src/popup/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/popup"], + "outputs": ["dist/libs/ng-popup"], "options": { "project": "src/popup/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/popup"], + "outputs": ["dist/libs/ng-popup"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/popup && npm pack" + "command": "cd dist/libs/ng-popup && npm pack" } ] } diff --git a/src/productpreview/lib/ng-package.json b/src/productpreview/lib/ng-package.json index bd96695..535c0ba 100644 --- a/src/productpreview/lib/ng-package.json +++ b/src/productpreview/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/productpreview", + "dest": "../../../dist/libs/ng-productpreview", "lib": { "entryFile": "./index.ts" } diff --git a/src/productpreview/lib/package.json b/src/productpreview/lib/package.json index 7b4b6a4..7a5cf53 100644 --- a/src/productpreview/lib/package.json +++ b/src/productpreview/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-productpreview", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { - "@opentiny/ng-imagepreview": "~1.0.0-beta.1", - "@opentiny/ng-modal": "~1.0.0-beta.1", + "@opentiny/ng-imagepreview": "~1.0.0-beta.2", + "@opentiny/ng-modal": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-zoom": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-zoom": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/productpreview/lib/project.json b/src/productpreview/lib/project.json index 7d8414b..548be4d 100644 --- a/src/productpreview/lib/project.json +++ b/src/productpreview/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/productpreview"], + "outputs": ["dist/libs/ng-productpreview"], "options": { "project": "src/productpreview/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/productpreview"], + "outputs": ["dist/libs/ng-productpreview"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/productpreview && npm pack" + "command": "cd dist/libs/ng-productpreview && npm pack" } ] } diff --git a/src/progressbar/lib/ng-package.json b/src/progressbar/lib/ng-package.json index ccd2053..8ea9cf8 100644 --- a/src/progressbar/lib/ng-package.json +++ b/src/progressbar/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/progressbar", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-progressbar", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/progressbar/lib/package.json b/src/progressbar/lib/package.json index f6c9795..4afb54c 100644 --- a/src/progressbar/lib/package.json +++ b/src/progressbar/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-progressbar", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/progressbar/lib/project.json b/src/progressbar/lib/project.json index be0dfb4..758824e 100644 --- a/src/progressbar/lib/project.json +++ b/src/progressbar/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/progressbar"], + "outputs": ["dist/libs/ng-progressbar"], "options": { "project": "src/progressbar/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/progressbar"], + "outputs": ["dist/libs/ng-progressbar"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/progressbar && npm pack" + "command": "cd dist/libs/ng-progressbar && npm pack" } ] } diff --git a/src/progresspie/lib/ng-package.json b/src/progresspie/lib/ng-package.json index e9da007..1000236 100644 --- a/src/progresspie/lib/ng-package.json +++ b/src/progresspie/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/progresspie", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-progresspie", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/progresspie/lib/package.json b/src/progresspie/lib/package.json index b5ec370..54b5edc 100644 --- a/src/progresspie/lib/package.json +++ b/src/progresspie/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-progresspie", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0" diff --git a/src/progresspie/lib/project.json b/src/progresspie/lib/project.json index 88e228a..195cbaa 100644 --- a/src/progresspie/lib/project.json +++ b/src/progresspie/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/progresspie"], + "outputs": ["dist/libs/ng-progresspie"], "options": { "project": "src/progresspie/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/progresspie"], + "outputs": ["dist/libs/ng-progresspie"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/progresspie && npm pack" + "command": "cd dist/libs/ng-progresspie && npm pack" } ] } diff --git a/src/radio/lib/ng-package.json b/src/radio/lib/ng-package.json index 791d024..958605d 100644 --- a/src/radio/lib/ng-package.json +++ b/src/radio/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/radio", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-radio", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/radio/lib/package.json b/src/radio/lib/package.json index 1f28dd0..925af4d 100644 --- a/src/radio/lib/package.json +++ b/src/radio/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-radio", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-checkbox": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-checkbox": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/radio/lib/project.json b/src/radio/lib/project.json index 0cdae96..e781b24 100644 --- a/src/radio/lib/project.json +++ b/src/radio/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/radio"], + "outputs": ["dist/libs/ng-radio"], "options": { "project": "src/radio/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/radio"], + "outputs": ["dist/libs/ng-radio"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/radio && npm pack" + "command": "cd dist/libs/ng-radio && npm pack" } ] } diff --git a/src/rate/lib/ng-package.json b/src/rate/lib/ng-package.json index 235478f..1974870 100644 --- a/src/rate/lib/ng-package.json +++ b/src/rate/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/rate", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-rate", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/rate/lib/package.json b/src/rate/lib/package.json index eb4ee7d..000feb9 100644 --- a/src/rate/lib/package.json +++ b/src/rate/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-rate", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/rate/lib/project.json b/src/rate/lib/project.json index 3b46d04..63b0def 100644 --- a/src/rate/lib/project.json +++ b/src/rate/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/rate"], + "outputs": ["dist/libs/ng-rate"], "options": { "project": "src/rate/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/rate"], + "outputs": ["dist/libs/ng-rate"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/rate && npm pack" + "command": "cd dist/libs/ng-rate && npm pack" } ] } diff --git a/src/renderer/lib/ng-package.json b/src/renderer/lib/ng-package.json index 2a54afc..472c846 100644 --- a/src/renderer/lib/ng-package.json +++ b/src/renderer/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/renderer", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-renderer", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/renderer/lib/package.json b/src/renderer/lib/package.json index 97c939e..9fba5f0 100644 --- a/src/renderer/lib/package.json +++ b/src/renderer/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-renderer", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0" diff --git a/src/renderer/lib/project.json b/src/renderer/lib/project.json index 8ea699a..7af85bc 100644 --- a/src/renderer/lib/project.json +++ b/src/renderer/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/renderer"], + "outputs": ["dist/libs/ng-renderer"], "options": { "project": "src/renderer/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/renderer"], + "outputs": ["dist/libs/ng-renderer"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/renderer && npm pack" + "command": "cd dist/libs/ng-renderer && npm pack" } ] } diff --git a/src/rights/lib/ng-package.json b/src/rights/lib/ng-package.json index d403c5f..0782a52 100644 --- a/src/rights/lib/ng-package.json +++ b/src/rights/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/rights", + "dest": "../../../dist/libs/ng-rights", "lib": { "entryFile": "./index.ts" } diff --git a/src/rights/lib/package.json b/src/rights/lib/package.json index 5a4abf6..07880f4 100644 --- a/src/rights/lib/package.json +++ b/src/rights/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-rights", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/rights/lib/project.json b/src/rights/lib/project.json index 71fa8d8..7708d8f 100644 --- a/src/rights/lib/project.json +++ b/src/rights/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/rights"], + "outputs": ["dist/libs/ng-rights"], "options": { "project": "src/rights/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/rights"], + "outputs": ["dist/libs/ng-rights"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/rights && npm pack" + "command": "cd dist/libs/ng-rights && npm pack" } ] } diff --git a/src/score/lib/ng-package.json b/src/score/lib/ng-package.json index da4d0a7..af76987 100644 --- a/src/score/lib/ng-package.json +++ b/src/score/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/score", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-score", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/score/lib/package.json b/src/score/lib/package.json index 49277e7..5e7d5fb 100644 --- a/src/score/lib/package.json +++ b/src/score/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-score", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/score/lib/project.json b/src/score/lib/project.json index da34bcf..3ac3c51 100644 --- a/src/score/lib/project.json +++ b/src/score/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/score"], + "outputs": ["dist/libs/ng-score"], "options": { "project": "src/score/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/score"], + "outputs": ["dist/libs/ng-score"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/score && npm pack" + "command": "cd dist/libs/ng-score && npm pack" } ] } diff --git a/src/scroll/lib/ng-package.json b/src/scroll/lib/ng-package.json index f1d85f4..a280353 100644 --- a/src/scroll/lib/ng-package.json +++ b/src/scroll/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/scroll", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-scroll", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/scroll/lib/package.json b/src/scroll/lib/package.json index 2cece76..9c28505 100644 --- a/src/scroll/lib/package.json +++ b/src/scroll/lib/package.json @@ -1,9 +1,9 @@ { "name": "@opentiny/ng-scroll", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/scroll/lib/project.json b/src/scroll/lib/project.json index 5913177..3ab7001 100644 --- a/src/scroll/lib/project.json +++ b/src/scroll/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/scroll"], + "outputs": ["dist/libs/ng-scroll"], "options": { "project": "src/scroll/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/scroll"], + "outputs": ["dist/libs/ng-scroll"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/scroll && npm pack" + "command": "cd dist/libs/ng-scroll && npm pack" } ] } diff --git a/src/searchbox/demo/src/app/searchbox/SearchboxSuggestComponent.ts b/src/searchbox/demo/src/app/searchbox/SearchboxSuggestComponent.ts index dbf505a..a98b9e2 100644 --- a/src/searchbox/demo/src/app/searchbox/SearchboxSuggestComponent.ts +++ b/src/searchbox/demo/src/app/searchbox/SearchboxSuggestComponent.ts @@ -1,31 +1,112 @@ -import { Component } from '@angular/core'; +import { Component, OnDestroy } from '@angular/core'; import { TiSearchboxComponent } from '@opentiny/ng'; @Component({ templateUrl: './searchbox-suggest.html' }) -export class SearchboxSuggestComponent { +export class SearchboxSuggestComponent implements OnDestroy { value: string = ''; + value1: string = ''; + value2: string = '3345266'; + timeout: any; onSuggest(searchbox: TiSearchboxComponent): void { + if (this.timeout) { + clearTimeout(this.timeout); + } searchbox.setSuggestions(this.getSuggestion(searchbox.model)); } + onSuggest1(searchbox: TiSearchboxComponent): void { + if (this.timeout) { + clearTimeout(this.timeout); + } + searchbox.setLoading(true); + // 模拟后台异步请求 + this.getData(searchbox.model).then((result: any) => { + searchbox.setLoading(false); + searchbox.setSuggestions(result.data); + }); + } + + onSuggest2(searchbox: TiSearchboxComponent): void { + if (this.timeout) { + clearTimeout(this.timeout); + } + searchbox.setLoading(true); + // 模拟后台异步请求 + this.getNoData(searchbox.model).then((result: any) => { + searchbox.setLoading(false); + searchbox.setSuggestions(result.data); + }); + } + private getSuggestion(value: string): Array { const options: Array = value ? [ { - label: value + '@example.com' + label: value + '@a.com' + }, + { + label: value + '@b.com' + }, + { + label: value + '@c.com' + }, + { + label: value + '@d.com' }, { - label: value + '@example.com' + label: value + '@e.com' }, { - label: value + '@example.com' + label: value + '@f.com' } ] - : []; + : [ + { + label: '@a.com' + }, + { + label: '@b.com' + }, + { + label: '@c.com' + }, + { + label: '@d.com' + }, + { + label: '@e.com' + }, + { + label: '@f.com' + } + ]; return options; } + + private getData(searchWord: string): Promise { + return new Promise((resolve: any, reject: any): any => { + let result: Array = this.getSuggestion(searchWord); + this.timeout = setTimeout(() => { + resolve({ data: result }); + }, 1500); + }); + } + + private getNoData(searchWord: string): Promise { + return new Promise((resolve: any, reject: any): any => { + this.timeout = setTimeout(() => { + resolve({ data: [] }); + }, 1500); + }); + } + + ngOnDestroy(): void { + if (this.timeout) { + clearTimeout(this.timeout); + } + } } diff --git a/src/searchbox/demo/src/app/searchbox/searchbox-suggest.html b/src/searchbox/demo/src/app/searchbox/searchbox-suggest.html index 6ff5730..bc73cac 100644 --- a/src/searchbox/demo/src/app/searchbox/searchbox-suggest.html +++ b/src/searchbox/demo/src/app/searchbox/searchbox-suggest.html @@ -1,5 +1,17 @@ +

1.无加载状态

-
Current Value: {{ value }}
+ +

2.加载有数据

+ +
+
Current Value: {{ value1 }}
+
+ +

3.加载无数据

+ +
+
Current Value: {{ value2 }}
+
diff --git a/src/searchbox/demo/src/app/searchbox/webdoc/searchbox-demos.js b/src/searchbox/demo/src/app/searchbox/webdoc/searchbox-demos.js index ae1fc9a..3398513 100644 --- a/src/searchbox/demo/src/app/searchbox/webdoc/searchbox-demos.js +++ b/src/searchbox/demo/src/app/searchbox/webdoc/searchbox-demos.js @@ -70,10 +70,15 @@ export default { 'en-US': 'item' }, desc: { - 'zh-CN': '

通过suggest事件配置当聚焦或值改变时触发事件,为开发者提供设置建议项的时机。

', + 'zh-CN': + '

通过suggest事件配置当聚焦或值改变时触发事件,为开发者提供设置建议项的时机。通过setLoading()方法设置加载状态。

', 'en-US': '

item

' }, - apis: ['TiSearchboxComponent.events.suggest', 'TiSearchboxComponent.methods.setSuggestions'] + apis: [ + 'TiSearchboxComponent.events.suggest', + 'TiSearchboxComponent.methods.setSuggestions', + 'TiSearchboxComponent.methods.setLoading' + ] }, { demoId: 'searchbox-maxlength', diff --git a/src/searchbox/lib/ng-package.json b/src/searchbox/lib/ng-package.json index 5f866fa..700f538 100644 --- a/src/searchbox/lib/ng-package.json +++ b/src/searchbox/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/searchbox", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-searchbox", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/searchbox/lib/package.json b/src/searchbox/lib/package.json index a2227b9..4234f0f 100644 --- a/src/searchbox/lib/package.json +++ b/src/searchbox/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-searchbox", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-autocomplete": "~1.0.0-beta.1", + "@opentiny/ng-autocomplete": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-droplist": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-droplist": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/searchbox/lib/project.json b/src/searchbox/lib/project.json index 9f7088d..7f47a7e 100644 --- a/src/searchbox/lib/project.json +++ b/src/searchbox/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/searchbox"], + "outputs": ["dist/libs/ng-searchbox"], "options": { "project": "src/searchbox/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/searchbox"], + "outputs": ["dist/libs/ng-searchbox"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/searchbox && npm pack" + "command": "cd dist/libs/ng-searchbox && npm pack" } ] } diff --git a/src/searchbox/lib/src/searchbox.html b/src/searchbox/lib/src/searchbox.html index 5781f0f..d848cba 100644 --- a/src/searchbox/lib/src/searchbox.html +++ b/src/searchbox/lib/src/searchbox.html @@ -34,6 +34,7 @@ [panelWidth]="panelWidth" [referElem]="appendToBody ? undefined : nativeElement" [virtual]="virtual" + [loading]="loading" (ngModelChange)="onDroplistChange($event)" (select)="onSelect($event)" [id]="appendId('droplist')" diff --git a/src/select/lib/ng-package.json b/src/select/lib/ng-package.json index cbc5c84..0c4c591 100644 --- a/src/select/lib/ng-package.json +++ b/src/select/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/select", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-select", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/select/lib/package.json b/src/select/lib/package.json index 6a1246d..e747d0f 100644 --- a/src/select/lib/package.json +++ b/src/select/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-select", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-dominator": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-dropsearch": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-dominator": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-dropsearch": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/select/lib/project.json b/src/select/lib/project.json index 785d86f..3b5b9b0 100644 --- a/src/select/lib/project.json +++ b/src/select/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/select"], + "outputs": ["dist/libs/ng-select"], "options": { "project": "src/select/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/select"], + "outputs": ["dist/libs/ng-select"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/select && npm pack" + "command": "cd dist/libs/ng-select && npm pack" } ] } diff --git a/src/selectgroup/lib/ng-package.json b/src/selectgroup/lib/ng-package.json index 34516a0..3f6b62b 100644 --- a/src/selectgroup/lib/ng-package.json +++ b/src/selectgroup/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/selectgroup", + "dest": "../../../dist/libs/ng-selectgroup", "lib": { "entryFile": "./index.ts" } diff --git a/src/selectgroup/lib/package.json b/src/selectgroup/lib/package.json index 2c5d767..3342dc9 100644 --- a/src/selectgroup/lib/package.json +++ b/src/selectgroup/lib/package.json @@ -1,11 +1,11 @@ { "name": "@opentiny/ng-selectgroup", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/selectgroup/lib/project.json b/src/selectgroup/lib/project.json index 50567fb..2ea1ee6 100644 --- a/src/selectgroup/lib/project.json +++ b/src/selectgroup/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/selectgroup"], + "outputs": ["dist/libs/ng-selectgroup"], "options": { "project": "src/selectgroup/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/selectgroup"], + "outputs": ["dist/libs/ng-selectgroup"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/selectgroup && npm pack" + "command": "cd dist/libs/ng-selectgroup && npm pack" } ] } diff --git a/src/skeleton/lib/ng-package.json b/src/skeleton/lib/ng-package.json index 0037f39..7be0385 100644 --- a/src/skeleton/lib/ng-package.json +++ b/src/skeleton/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/skeleton", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-skeleton", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/skeleton/lib/package.json b/src/skeleton/lib/package.json index a9c4653..58e8cdb 100644 --- a/src/skeleton/lib/package.json +++ b/src/skeleton/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-skeleton", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", diff --git a/src/skeleton/lib/project.json b/src/skeleton/lib/project.json index fac4d71..e991756 100644 --- a/src/skeleton/lib/project.json +++ b/src/skeleton/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/skeleton"], + "outputs": ["dist/libs/ng-skeleton"], "options": { "project": "src/skeleton/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/skeleton"], + "outputs": ["dist/libs/ng-skeleton"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/skeleton && npm pack" + "command": "cd dist/libs/ng-skeleton && npm pack" } ] } diff --git a/src/slider/lib/ng-package.json b/src/slider/lib/ng-package.json index 6d1f158..53157a7 100644 --- a/src/slider/lib/ng-package.json +++ b/src/slider/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/slider", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-slider", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/slider/lib/package.json b/src/slider/lib/package.json index 37ded02..df6bcdc 100644 --- a/src/slider/lib/package.json +++ b/src/slider/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-slider", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/platform-browser": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-drag": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-drag": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/slider/lib/project.json b/src/slider/lib/project.json index f341207..f886483 100644 --- a/src/slider/lib/project.json +++ b/src/slider/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/slider"], + "outputs": ["dist/libs/ng-slider"], "options": { "project": "src/slider/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/slider"], + "outputs": ["dist/libs/ng-slider"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/slider && npm pack" + "command": "cd dist/libs/ng-slider && npm pack" } ] } diff --git a/src/spinner/lib/ng-package.json b/src/spinner/lib/ng-package.json index 5ce85f5..7af472b 100644 --- a/src/spinner/lib/ng-package.json +++ b/src/spinner/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/spinner", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-spinner", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/spinner/lib/package.json b/src/spinner/lib/package.json index 509fd8f..4bd6e63 100644 --- a/src/spinner/lib/package.json +++ b/src/spinner/lib/package.json @@ -1,17 +1,17 @@ { "name": "@opentiny/ng-spinner", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-inputnumber": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-inputnumber": "~1.0.0-beta.2", "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-tip": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-tip": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/spinner/lib/project.json b/src/spinner/lib/project.json index f49d9c2..a6e4882 100644 --- a/src/spinner/lib/project.json +++ b/src/spinner/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/spinner"], + "outputs": ["dist/libs/ng-spinner"], "options": { "project": "src/spinner/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/spinner"], + "outputs": ["dist/libs/ng-spinner"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/spinner && npm pack" + "command": "cd dist/libs/ng-spinner && npm pack" } ] } diff --git a/src/steps/lib/ng-package.json b/src/steps/lib/ng-package.json index ad914a3..6845a1e 100644 --- a/src/steps/lib/ng-package.json +++ b/src/steps/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/steps", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-steps", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/steps/lib/package.json b/src/steps/lib/package.json index f72106b..12596e8 100644 --- a/src/steps/lib/package.json +++ b/src/steps/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-steps", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/steps/lib/project.json b/src/steps/lib/project.json index 065c173..2f01d5c 100644 --- a/src/steps/lib/project.json +++ b/src/steps/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/steps"], + "outputs": ["dist/libs/ng-steps"], "options": { "project": "src/steps/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/steps"], + "outputs": ["dist/libs/ng-steps"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/steps && npm pack" + "command": "cd dist/libs/ng-steps && npm pack" } ] } diff --git a/src/subtitle/lib/ng-package.json b/src/subtitle/lib/ng-package.json index ab082c8..ef431e6 100644 --- a/src/subtitle/lib/ng-package.json +++ b/src/subtitle/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/subtitle", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-subtitle", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/subtitle/lib/package.json b/src/subtitle/lib/package.json index 16f1e42..ba770bc 100644 --- a/src/subtitle/lib/package.json +++ b/src/subtitle/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-subtitle", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/router": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-select": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-select": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-tip": "~1.0.0-beta.1" + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-tip": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/subtitle/lib/project.json b/src/subtitle/lib/project.json index 7da3405..34d32cd 100644 --- a/src/subtitle/lib/project.json +++ b/src/subtitle/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/subtitle"], + "outputs": ["dist/libs/ng-subtitle"], "options": { "project": "src/subtitle/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/subtitle"], + "outputs": ["dist/libs/ng-subtitle"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/subtitle && npm pack" + "command": "cd dist/libs/ng-subtitle && npm pack" } ] } diff --git a/src/swiper/lib/ng-package.json b/src/swiper/lib/ng-package.json index 723dd15..8e3ce3d 100644 --- a/src/swiper/lib/ng-package.json +++ b/src/swiper/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/swiper", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-swiper", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/swiper/lib/package.json b/src/swiper/lib/package.json index 1751c01..fe6b127 100644 --- a/src/swiper/lib/package.json +++ b/src/swiper/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-swiper", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/swiper/lib/project.json b/src/swiper/lib/project.json index 4742d17..f8d0943 100644 --- a/src/swiper/lib/project.json +++ b/src/swiper/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/swiper"], + "outputs": ["dist/libs/ng-swiper"], "options": { "project": "src/swiper/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/swiper"], + "outputs": ["dist/libs/ng-swiper"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/swiper && npm pack" + "command": "cd dist/libs/ng-swiper && npm pack" } ] } diff --git a/src/switch/lib/ng-package.json b/src/switch/lib/ng-package.json index 66797dd..52549d2 100644 --- a/src/switch/lib/ng-package.json +++ b/src/switch/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/switch", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-switch", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/switch/lib/package.json b/src/switch/lib/package.json index ddc9fed..3b3e61a 100644 --- a/src/switch/lib/package.json +++ b/src/switch/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-switch", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/switch/lib/project.json b/src/switch/lib/project.json index eb9a670..bb5b8a5 100644 --- a/src/switch/lib/project.json +++ b/src/switch/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/switch"], + "outputs": ["dist/libs/ng-switch"], "options": { "project": "src/switch/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/switch"], + "outputs": ["dist/libs/ng-switch"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/switch && npm pack" + "command": "cd dist/libs/ng-switch && npm pack" } ] } diff --git a/src/tab/lib/ng-package.json b/src/tab/lib/ng-package.json index 5116880..8705a26 100644 --- a/src/tab/lib/ng-package.json +++ b/src/tab/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/tab", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-tab", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/tab/lib/package.json b/src/tab/lib/package.json index 00cd518..164ba8e 100644 --- a/src/tab/lib/package.json +++ b/src/tab/lib/package.json @@ -1,16 +1,16 @@ { "name": "@opentiny/ng-tab", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-include": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-droplist": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1" + "@opentiny/ng-include": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-droplist": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/tab/lib/project.json b/src/tab/lib/project.json index fa1fa59..e37e50a 100644 --- a/src/tab/lib/project.json +++ b/src/tab/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/tab"], + "outputs": ["dist/libs/ng-tab"], "options": { "project": "src/tab/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/tab"], + "outputs": ["dist/libs/ng-tab"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/tab && npm pack" + "command": "cd dist/libs/ng-tab && npm pack" } ] } diff --git a/src/table/lib/ng-package.json b/src/table/lib/ng-package.json index 973474d..70bdd20 100644 --- a/src/table/lib/ng-package.json +++ b/src/table/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/table", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-table", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/table/lib/package.json b/src/table/lib/package.json index c8ea5bd..389e0c7 100644 --- a/src/table/lib/package.json +++ b/src/table/lib/package.json @@ -1,28 +1,28 @@ { "name": "@opentiny/ng-table", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-select": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-dropsearch": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-datebase": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-select": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-dropsearch": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-datebase": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", "@angular/cdk": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-date": "~1.0.0-beta.1", - "@opentiny/ng-datetime": "~1.0.0-beta.1", - "@opentiny/ng-searchbox": "~1.0.0-beta.1", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-date": "~1.0.0-beta.2", + "@opentiny/ng-datetime": "~1.0.0-beta.2", + "@opentiny/ng-searchbox": "~1.0.0-beta.2", + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/table/lib/project.json b/src/table/lib/project.json index 76cc3d8..9d8f532 100644 --- a/src/table/lib/project.json +++ b/src/table/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/table"], + "outputs": ["dist/libs/ng-table"], "options": { "project": "src/table/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/table"], + "outputs": ["dist/libs/ng-table"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/table && npm pack" + "command": "cd dist/libs/ng-table && npm pack" } ] } diff --git a/src/tag/lib/ng-package.json b/src/tag/lib/ng-package.json index 6c45b6c..7f0fcb3 100644 --- a/src/tag/lib/ng-package.json +++ b/src/tag/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/tag", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-tag", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/tag/lib/package.json b/src/tag/lib/package.json index 6fb27a5..ab449a3 100644 --- a/src/tag/lib/package.json +++ b/src/tag/lib/package.json @@ -1,12 +1,12 @@ { "name": "@opentiny/ng-tag", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/tag/lib/project.json b/src/tag/lib/project.json index cc0dd91..f3ea55a 100644 --- a/src/tag/lib/project.json +++ b/src/tag/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/tag"], + "outputs": ["dist/libs/ng-tag"], "options": { "project": "src/tag/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/tag"], + "outputs": ["dist/libs/ng-tag"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/tag && npm pack" + "command": "cd dist/libs/ng-tag && npm pack" } ] } diff --git a/src/tagsinput/lib/ng-package.json b/src/tagsinput/lib/ng-package.json index 8fed06b..7ee79bf 100644 --- a/src/tagsinput/lib/ng-package.json +++ b/src/tagsinput/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/tagsinput", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-tagsinput", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/tagsinput/lib/package.json b/src/tagsinput/lib/package.json index 991ab77..56202c3 100644 --- a/src/tagsinput/lib/package.json +++ b/src/tagsinput/lib/package.json @@ -1,15 +1,15 @@ { "name": "@opentiny/ng-tagsinput", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-dominator": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-dropsearch": "~1.0.0-beta.1", + "@opentiny/ng-dominator": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-dropsearch": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/tagsinput/lib/project.json b/src/tagsinput/lib/project.json index 0947c6e..dcf9749 100644 --- a/src/tagsinput/lib/project.json +++ b/src/tagsinput/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/tagsinput"], + "outputs": ["dist/libs/ng-tagsinput"], "options": { "project": "src/tagsinput/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/tagsinput"], + "outputs": ["dist/libs/ng-tagsinput"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/tagsinput && npm pack" + "command": "cd dist/libs/ng-tagsinput && npm pack" } ] } diff --git a/src/text/lib/ng-package.json b/src/text/lib/ng-package.json index 3b60e57..d35d12a 100644 --- a/src/text/lib/ng-package.json +++ b/src/text/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/text", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-text", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/text/lib/package.json b/src/text/lib/package.json index 035b51e..1f851ba 100644 --- a/src/text/lib/package.json +++ b/src/text/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-text", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0" } } \ No newline at end of file diff --git a/src/text/lib/project.json b/src/text/lib/project.json index cdf1fff..b17450a 100644 --- a/src/text/lib/project.json +++ b/src/text/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/text"], + "outputs": ["dist/libs/ng-text"], "options": { "project": "src/text/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/text"], + "outputs": ["dist/libs/ng-text"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/text && npm pack" + "command": "cd dist/libs/ng-text && npm pack" } ] } diff --git a/src/textarea/lib/ng-package.json b/src/textarea/lib/ng-package.json index 4aad4e8..0557e7c 100644 --- a/src/textarea/lib/ng-package.json +++ b/src/textarea/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/textarea", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-textarea", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/textarea/lib/package.json b/src/textarea/lib/package.json index 7024d80..05c1edc 100644 --- a/src/textarea/lib/package.json +++ b/src/textarea/lib/package.json @@ -1,14 +1,14 @@ { "name": "@opentiny/ng-textarea", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/forms": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1" + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/textarea/lib/project.json b/src/textarea/lib/project.json index 78e16a6..267b68a 100644 --- a/src/textarea/lib/project.json +++ b/src/textarea/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/textarea"], + "outputs": ["dist/libs/ng-textarea"], "options": { "project": "src/textarea/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/textarea"], + "outputs": ["dist/libs/ng-textarea"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/textarea && npm pack" + "command": "cd dist/libs/ng-textarea && npm pack" } ] } diff --git a/src/themes/package.json b/src/themes/package.json index b9dca92..043c965 100644 --- a/src/themes/package.json +++ b/src/themes/package.json @@ -1,5 +1,5 @@ { "name": "@opentiny/ng-themes", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT" } \ No newline at end of file diff --git a/src/themes/project.json b/src/themes/project.json index f1b81dd..008ba99 100644 --- a/src/themes/project.json +++ b/src/themes/project.json @@ -5,7 +5,7 @@ "targets": { "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/themes"], + "outputs": ["dist/libs/ng-themes"], "options": { "commands": [ { @@ -19,7 +19,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/themes && npm pack" + "command": "cd dist/libs/ng-themes && npm pack" } ] } diff --git a/src/time/lib/ng-package.json b/src/time/lib/ng-package.json index 5802f0c..335bd5a 100644 --- a/src/time/lib/ng-package.json +++ b/src/time/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/time", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-time", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/time/lib/package.json b/src/time/lib/package.json index b731a70..dcb350a 100644 --- a/src/time/lib/package.json +++ b/src/time/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-time", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-datedominator": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1" + "@opentiny/ng-datedominator": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/time/lib/project.json b/src/time/lib/project.json index 7c99349..2eebf71 100644 --- a/src/time/lib/project.json +++ b/src/time/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/time"], + "outputs": ["dist/libs/ng-time"], "options": { "project": "src/time/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/time"], + "outputs": ["dist/libs/ng-time"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/time && npm pack" + "command": "cd dist/libs/ng-time && npm pack" } ] } diff --git a/src/timeline/lib/ng-package.json b/src/timeline/lib/ng-package.json index bfd1328..8edea9a 100644 --- a/src/timeline/lib/ng-package.json +++ b/src/timeline/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/timeline", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-timeline", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/timeline/lib/package.json b/src/timeline/lib/package.json index ac8202b..b7e8720 100644 --- a/src/timeline/lib/package.json +++ b/src/timeline/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-timeline", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/timeline/lib/project.json b/src/timeline/lib/project.json index 8f6d71c..11c281d 100644 --- a/src/timeline/lib/project.json +++ b/src/timeline/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/timeline"], + "outputs": ["dist/libs/ng-timeline"], "options": { "project": "src/timeline/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/timeline"], + "outputs": ["dist/libs/ng-timeline"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/timeline && npm pack" + "command": "cd dist/libs/ng-timeline && npm pack" } ] } diff --git a/src/tip/lib/ng-package.json b/src/tip/lib/ng-package.json index 371691b..6412d74 100644 --- a/src/tip/lib/ng-package.json +++ b/src/tip/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/tip", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-tip", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/tip/lib/package.json b/src/tip/lib/package.json index 9ca37f4..8d3cf63 100644 --- a/src/tip/lib/package.json +++ b/src/tip/lib/package.json @@ -1,13 +1,13 @@ { "name": "@opentiny/ng-tip", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/router": ">=13.0.0", - "@opentiny/ng-popup": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1" + "@opentiny/ng-popup": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/tip/lib/project.json b/src/tip/lib/project.json index 18e5ef4..5d57a73 100644 --- a/src/tip/lib/project.json +++ b/src/tip/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/tip"], + "outputs": ["dist/libs/ng-tip"], "options": { "project": "src/tip/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/tip"], + "outputs": ["dist/libs/ng-tip"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/tip && npm pack" + "command": "cd dist/libs/ng-tip && npm pack" } ] } diff --git a/src/transfer/lib/ng-package.json b/src/transfer/lib/ng-package.json index b1d24dd..57c4c65 100644 --- a/src/transfer/lib/ng-package.json +++ b/src/transfer/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/transfer", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-transfer", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/transfer/lib/package.json b/src/transfer/lib/package.json index bb30c80..8284d5c 100644 --- a/src/transfer/lib/package.json +++ b/src/transfer/lib/package.json @@ -1,22 +1,22 @@ { "name": "@opentiny/ng-transfer", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-list": "~1.0.0-beta.1", - "@opentiny/ng-searchbox": "~1.0.0-beta.1", - "@opentiny/ng-table": "~1.0.0-beta.1", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-checkbox": "~1.0.0-beta.1", - "@opentiny/ng-pagination": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1" + "@opentiny/ng-dropsearch": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-list": "~1.0.0-beta.2", + "@opentiny/ng-searchbox": "~1.0.0-beta.2", + "@opentiny/ng-table": "~1.0.0-beta.2", + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-checkbox": "~1.0.0-beta.2", + "@opentiny/ng-pagination": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/transfer/lib/project.json b/src/transfer/lib/project.json index 264feaf..d838d8a 100644 --- a/src/transfer/lib/project.json +++ b/src/transfer/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/transfer"], + "outputs": ["dist/libs/ng-transfer"], "options": { "project": "src/transfer/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/transfer"], + "outputs": ["dist/libs/ng-transfer"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/transfer && npm pack" + "command": "cd dist/libs/ng-transfer && npm pack" } ] } diff --git a/src/tree/lib/ng-package.json b/src/tree/lib/ng-package.json index 550b1e2..8084202 100644 --- a/src/tree/lib/ng-package.json +++ b/src/tree/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/tree", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-tree", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/tree/lib/package.json b/src/tree/lib/package.json index 76d1965..c602a21 100644 --- a/src/tree/lib/package.json +++ b/src/tree/lib/package.json @@ -1,20 +1,20 @@ { "name": "@opentiny/ng-tree", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/cdk": ">=13.0.0", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", "@angular/forms": ">=13.0.0", - "@opentiny/ng-checkbox": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-loading": "~1.0.0-beta.1", - "@opentiny/ng-text": "~1.0.0-beta.1", - "@opentiny/ng-validation": "~1.0.0-beta.1" + "@opentiny/ng-checkbox": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-loading": "~1.0.0-beta.2", + "@opentiny/ng-text": "~1.0.0-beta.2", + "@opentiny/ng-validation": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/tree/lib/project.json b/src/tree/lib/project.json index 0bfa362..b68ec06 100644 --- a/src/tree/lib/project.json +++ b/src/tree/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/tree"], + "outputs": ["dist/libs/ng-tree"], "options": { "project": "src/tree/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/tree"], + "outputs": ["dist/libs/ng-tree"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/tree && npm pack" + "command": "cd dist/libs/ng-tree && npm pack" } ] } diff --git a/src/treeselect/lib/ng-package.json b/src/treeselect/lib/ng-package.json index 74219ad..6778914 100644 --- a/src/treeselect/lib/ng-package.json +++ b/src/treeselect/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/treeselect", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-treeselect", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/treeselect/lib/package.json b/src/treeselect/lib/package.json index b7c078b..233ce33 100644 --- a/src/treeselect/lib/package.json +++ b/src/treeselect/lib/package.json @@ -1,20 +1,20 @@ { "name": "@opentiny/ng-treeselect", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-tree": "~1.0.0-beta.1", - "@opentiny/ng-dominator": "~1.0.0-beta.1", - "@opentiny/ng-drop": "~1.0.0-beta.1", - "@opentiny/ng-searchbox": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-select": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-tree": "~1.0.0-beta.2", + "@opentiny/ng-dominator": "~1.0.0-beta.2", + "@opentiny/ng-drop": "~1.0.0-beta.2", + "@opentiny/ng-searchbox": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-select": "~1.0.0-beta.2", "@angular/forms": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-dropsearch": "~1.0.0-beta.1", - "@opentiny/ng-checkbox": "~1.0.0-beta.1" + "@opentiny/ng-dropsearch": "~1.0.0-beta.2", + "@opentiny/ng-checkbox": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/treeselect/lib/project.json b/src/treeselect/lib/project.json index 9cfb9ca..778cc4e 100644 --- a/src/treeselect/lib/project.json +++ b/src/treeselect/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/treeselect"], + "outputs": ["dist/libs/ng-treeselect"], "options": { "project": "src/treeselect/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/treeselect"], + "outputs": ["dist/libs/ng-treeselect"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/treeselect && npm pack" + "command": "cd dist/libs/ng-treeselect && npm pack" } ] } diff --git a/src/upload/lib/ng-package.json b/src/upload/lib/ng-package.json index 9c9092e..c26a543 100644 --- a/src/upload/lib/ng-package.json +++ b/src/upload/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/upload", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-upload", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/upload/lib/package.json b/src/upload/lib/package.json index 3d3877b..72720ea 100644 --- a/src/upload/lib/package.json +++ b/src/upload/lib/package.json @@ -1,23 +1,23 @@ { "name": "@opentiny/ng-upload", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", - "@opentiny/ng-base": "~1.0.0-beta.1", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-utils": "~1.0.0-beta.1", - "@opentiny/ng-overflow": "~1.0.0-beta.1", - "@opentiny/ng-modal": "~1.0.0-beta.1", - "@opentiny/ng-imagepreview": "~1.0.0-beta.1", + "@opentiny/ng-base": "~1.0.0-beta.2", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-utils": "~1.0.0-beta.2", + "@opentiny/ng-overflow": "~1.0.0-beta.2", + "@opentiny/ng-modal": "~1.0.0-beta.2", + "@opentiny/ng-imagepreview": "~1.0.0-beta.2", "@angular/platform-browser": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-progresspie": "~1.0.0-beta.1", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-validation": "~1.0.0-beta.1", - "@opentiny/ng-progressbar": "~1.0.0-beta.1", - "@opentiny/ng-button": "~1.0.0-beta.1", - "@opentiny/ng-outline": "~1.0.0-beta.1" + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-progresspie": "~1.0.0-beta.2", + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-validation": "~1.0.0-beta.2", + "@opentiny/ng-progressbar": "~1.0.0-beta.2", + "@opentiny/ng-button": "~1.0.0-beta.2", + "@opentiny/ng-outline": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/upload/lib/project.json b/src/upload/lib/project.json index 11ddb62..7106742 100644 --- a/src/upload/lib/project.json +++ b/src/upload/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/upload"], + "outputs": ["dist/libs/ng-upload"], "options": { "project": "src/upload/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/upload"], + "outputs": ["dist/libs/ng-upload"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/upload && npm pack" + "command": "cd dist/libs/ng-upload && npm pack" } ] } diff --git a/src/utils/demo/src/app/theme/ThemePaletteComponent.ts b/src/utils/demo/src/app/theme/ThemePaletteComponent.ts new file mode 100644 index 0000000..8a0ce91 --- /dev/null +++ b/src/utils/demo/src/app/theme/ThemePaletteComponent.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; +import { TiTheme } from '@opentiny/ng'; +@Component({ + templateUrl: './theme-palette.html' +}) +export class ThemePaletteComponent { + tiBaseColorBrand6: any = '#3b9656'; + ngModelChange(): void { + TiTheme.setBrandColor(this.tiBaseColorBrand6); + } +} diff --git a/src/utils/demo/src/app/theme/ThemeTestModule.ts b/src/utils/demo/src/app/theme/ThemeTestModule.ts index 16e360c..862778f 100644 --- a/src/utils/demo/src/app/theme/ThemeTestModule.ts +++ b/src/utils/demo/src/app/theme/ThemeTestModule.ts @@ -6,10 +6,11 @@ import { FormsModule } from '@angular/forms'; import { TiButtonModule, TiSwitchModule } from '@opentiny/ng'; import { ThemeBasicComponent } from './ThemeBasicComponent'; +import { ThemePaletteComponent } from './ThemePaletteComponent'; @NgModule({ imports: [CommonModule, FormsModule, TiButtonModule, TiSwitchModule, RouterModule.forChild(ThemeTestModule.ROUTES)], - declarations: [ThemeBasicComponent] + declarations: [ThemeBasicComponent, ThemePaletteComponent] }) export class ThemeTestModule { static readonly LINKS: Array = [{ href: 'classes/TiThemeUtil.html', label: 'Theme' }]; @@ -17,6 +18,10 @@ export class ThemeTestModule { { path: 'theme/theme-basic', component: ThemeBasicComponent + }, + { + path: 'theme/theme-palette', + component: ThemePaletteComponent } ]; } diff --git a/src/utils/demo/src/app/theme/theme-palette.html b/src/utils/demo/src/app/theme/theme-palette.html new file mode 100644 index 0000000..062920f --- /dev/null +++ b/src/utils/demo/src/app/theme/theme-palette.html @@ -0,0 +1,3 @@ +
+ + diff --git a/src/utils/demo/src/app/theme/webdoc/theme-demos.js b/src/utils/demo/src/app/theme/webdoc/theme-demos.js index 61e1c88..6692e53 100644 --- a/src/utils/demo/src/app/theme/webdoc/theme-demos.js +++ b/src/utils/demo/src/app/theme/webdoc/theme-demos.js @@ -5,13 +5,25 @@ export default { demoId: 'theme-basic', name: { 'zh-CN': '基本用法', - 'en-US': 'theme-basic', + 'en-US': 'theme-basic' }, desc: { 'zh-CN': '在线换肤能力展示。(仅支持生产环境,不支持调试环境)', - 'en-US': '

theme basic

', + 'en-US': '

theme basic

' }, - apis: ['TiTheme.methods.loadCss'], + apis: ['TiTheme.methods.loadCss'] }, - ], + { + demoId: 'theme-palette', + name: { + 'zh-CN': '自动生成调色板', + 'en-US': 'theme-palette' + }, + desc: { + 'zh-CN': '根据一个色值,生成调色板。', + 'en-US': '

theme basic

' + }, + apis: ['TiTheme.methods.setBrandColors'] + } + ] }; diff --git a/src/utils/lib/ng-package.json b/src/utils/lib/ng-package.json index be81921..4ff6bf8 100644 --- a/src/utils/lib/ng-package.json +++ b/src/utils/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/utils", + "dest": "../../../dist/libs/ng-utils", "lib": { "entryFile": "index.ts" } diff --git a/src/utils/lib/package.json b/src/utils/lib/package.json index c559cc0..47dd1f0 100644 --- a/src/utils/lib/package.json +++ b/src/utils/lib/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/ng-utils", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/platform-browser-dynamic": ">=13.0.0" diff --git a/src/utils/lib/project.json b/src/utils/lib/project.json index c67be66..7b4933c 100644 --- a/src/utils/lib/project.json +++ b/src/utils/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/utils"], + "outputs": ["dist/libs/ng-utils"], "options": { "project": "src/utils/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/utils"], + "outputs": ["dist/libs/ng-utils"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/utils && npm pack" + "command": "cd dist/libs/ng-utils && npm pack" } ] } diff --git a/src/utils/lib/src/Position.ts b/src/utils/lib/src/Position.ts index 96d20d8..8f2526a 100644 --- a/src/utils/lib/src/Position.ts +++ b/src/utils/lib/src/Position.ts @@ -71,11 +71,13 @@ export interface TiPositionResult { interface TiLayoutParams { left: number; top: number; + bottom?: number; avilableHeight: number; } interface TiVerticalParams { avilableHeight: number; top: number; + bottom?: number; } /** * @ignore @@ -132,6 +134,7 @@ export class Position { hOffset?: number; // 自定义水平方向的偏移(在定位基础上的水平偏移,向左偏移为负值,向右偏移为正值) fixMaxHeight?: boolean; // 定位元素最大高度是否固定不变(显示不下时不用压缩高度) hasOffsetFix?: boolean; // 是否存在定位偏差量(针对 tip 组件:当被提示元素尺寸较小时,保证 tip 的箭头在被提示元素的中间) + bottomPostion?: boolean; // 计算位置的结果在上方时,以bottom属性定位,不用top定位,只在定位drop时使用 determinPositionFn?(layout: any): string; }): TiPositionResult { // 入参非有效元素情况下,不做处理 @@ -160,6 +163,7 @@ export class Position { const elePos: TiLayoutParams = Position.getLayoutParam( curLayout, position, + options.bottomPostion, hostSpace, options.browserSpace || 0, options.hasOffsetFix || false @@ -472,11 +476,17 @@ export class Position { // fixed定位情况下,滚动条对其不受影响,因此此处需要减掉滚动条的位置影响 // 如果是跟随宿主元素,也不能改为fixed定位,会脱离文档流,定位偏离 ele.style.position = 'fixed'; + const top: string = position.top !== undefined ? `${position.top - window.pageYOffset}px` : ''; + const bottom: string = position.bottom !== undefined ? `${position.bottom + window.pageYOffset}px` : ''; ele.style.left = `${position.left - window.pageXOffset + hOffset}px`; - ele.style.top = `${position.top - window.pageYOffset}px`; + ele.style.top = top; + ele.style.bottom = bottom; } else { + const top: string = position.top !== undefined ? `${position.top}px` : ''; + const bottom: string = position.bottom !== undefined ? `${position.bottom}px` : ''; ele.style.left = `${position.left + hOffset}px`; - ele.style.top = `${position.top}px`; + ele.style.top = top; + ele.style.bottom = bottom; } } // 设置提示弹窗的MaxHeight @@ -597,17 +607,26 @@ export class Position { private static getLayoutParam( layout: TiPositionLayout, position: string, + bottomPostion: boolean, hostSpace: number, browserSpace: number, hasOffsetFix: boolean ): TiLayoutParams { const positionArr: Array = position.split('-'); // 跟上面静态变量重名,最好改一下 const left: number = Position.getHorizionParam(layout, positionArr, hostSpace, hasOffsetFix); - const verticalParam: TiVerticalParams = Position.getVerticalParam(layout, positionArr, hostSpace, browserSpace, hasOffsetFix); + const verticalParam: TiVerticalParams = Position.getVerticalParam( + layout, + positionArr, + bottomPostion, + hostSpace, + browserSpace, + hasOffsetFix + ); return { left, top: verticalParam.top, + bottom: verticalParam.bottom, avilableHeight: verticalParam.avilableHeight }; } @@ -654,6 +673,7 @@ export class Position { private static getVerticalParam( curLayout: TiPositionLayout, posArr: Array, + bottomPostion: boolean, hostSpace: number, browserSpace: number, hasOffsetFix: boolean @@ -671,12 +691,20 @@ export class Position { // 弹出元素下边线与宿主元素上边线相接后,弹出元素向上延伸情况,对应位置包含'top', 'top-left', 'top-right' if (posArr[0] === 'top') { const avilableHeight: number = avilableLayout.top - hostSpace - browserSpace; - const top: number = - avilableHeight >= targetLayout.height ? hostTop - targetLayout.height - hostSpace : hostTop - avilableLayout.top + browserSpace; + let bottom: number; + let top: number; + if (bottomPostion) { + // 有hostOffsetLayout,target跟随宿主元素定位 否则target插入body; + bottom = hostOffsetLayout ? hostHeight + hostSpace : avilableLayout.bottom + hostHeight + hostSpace - window.scrollY; + } else { + top = + avilableHeight >= targetLayout.height ? hostTop - targetLayout.height - hostSpace : hostTop - avilableLayout.top + browserSpace; + } return { avilableHeight, - top + top, + bottom }; } // 弹出元素上边线与宿主元素下边线相接后,弹出元素向下延伸情况,对应位置包含'bottom', 'bottom-left', 'bottom-right' diff --git a/src/utils/lib/src/TiTheme.ts b/src/utils/lib/src/TiTheme.ts index 8ce6648..39c2691 100644 --- a/src/utils/lib/src/TiTheme.ts +++ b/src/utils/lib/src/TiTheme.ts @@ -10,6 +10,7 @@ * */ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; +import Color from 'color'; export class TiTheme { /** * 加载CSS文件,挂在head link @@ -59,4 +60,84 @@ export class TiTheme { .bootstrapModule(app) .catch((err: any) => console.error(err)); } + + public static formats: Array = ['hex', 'rgb', 'hsl']; + public static setBrandColor(tiBaseColorBrand6: string): any { + const listA: any = []; + const func: any = TiTheme.colorPalette; + for (let i: number = 1; i <= 8; i++) { + listA.push(func(tiBaseColorBrand6, i)); + } + + for (let i: number = 0; i < listA.length + 1; i++) { + document.documentElement.style.setProperty(`--ti-base-color-brand-${i + 1}`, listA[i]); + } + } + + private static getNewHue(color, isLight, i): number { + const h = color.hue(); + const hueStep: number = 2; + let hue; + if (h >= 60 && h <= 240) { + hue = isLight ? h - hueStep * i : h + hueStep * i; + } else { + hue = isLight ? h + hueStep * i : h - hueStep * i; + } + if (hue < 0) { + hue += 360; + } else if (hue >= 360) { + hue -= 360; + } + return Math.round(hue); // 取整:获取最近的整数 + } + + private static getNewSaturation(color, isLight, i) { + let newSaturation; + const maxSaturationStep = 100; + const minSaturationStep = 9; + + const s = color.saturationv(); + if (isLight) { + newSaturation = s <= minSaturationStep ? s : s - ((s - minSaturationStep) / 5) * i; + } else { + newSaturation = s + ((maxSaturationStep - s) / 4) * i; + } + return newSaturation; + } + + private static getNewValue(color, isLight, i) { + const maxValue = 100; + const minValue = 30; + const v = color.value(); + return isLight ? v + ((maxValue - v) / 5) * i : v <= minValue ? v : v - ((v - minValue) / 4) * i; + } + + private static getColorString(color, format): string { + const innerFormat = TiTheme.getFormat(format); + + if (innerFormat === 'hex') { + return color[innerFormat](); + } + return color[innerFormat]().round().string(); + } + + private static getFormat(format?: string): string { + if (!format || TiTheme.formats.indexOf(format) < 0) { + return 'hex'; + } + return format; + } + + private static colorPalette(originColor, i, format?): string { + const color = Color(originColor); + + const isLight = i < 6; + const index = isLight ? 6 - i : i - 6; + const h = TiTheme.getNewHue(color, isLight, index); + const s = TiTheme.getNewSaturation(color, isLight, index); + const v = TiTheme.getNewValue(color, isLight, index); + const retColor = i === 6 ? color : Color({ h, s, v }); + + return TiTheme.getColorString(retColor, format); + } } diff --git a/src/validation/lib/ng-package.json b/src/validation/lib/ng-package.json index 15d4be9..282fe71 100644 --- a/src/validation/lib/ng-package.json +++ b/src/validation/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/validation", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-validation", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/validation/lib/package.json b/src/validation/lib/package.json index 6617eda..93c808c 100644 --- a/src/validation/lib/package.json +++ b/src/validation/lib/package.json @@ -1,18 +1,18 @@ { "name": "@opentiny/ng-validation", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { - "@opentiny/ng-utils": "~1.0.0-beta.1", + "@opentiny/ng-utils": "~1.0.0-beta.2", "@angular/forms": ">=13.0.0", "@angular/core": ">=13.0.0", - "@opentiny/ng-locale": "~1.0.0-beta.1", - "@opentiny/ng-renderer": "~1.0.0-beta.1", - "@opentiny/ng-popup": "~1.0.0-beta.1", - "@opentiny/ng-tip": "~1.0.0-beta.1", - "@opentiny/ng-base": "~1.0.0-beta.1", + "@opentiny/ng-locale": "~1.0.0-beta.2", + "@opentiny/ng-renderer": "~1.0.0-beta.2", + "@opentiny/ng-popup": "~1.0.0-beta.2", + "@opentiny/ng-tip": "~1.0.0-beta.2", + "@opentiny/ng-base": "~1.0.0-beta.2", "@angular/common": ">=13.0.0", - "@opentiny/ng-icon": "~1.0.0-beta.1", - "@opentiny/ng-loading": "~1.0.0-beta.1" + "@opentiny/ng-icon": "~1.0.0-beta.2", + "@opentiny/ng-loading": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/validation/lib/project.json b/src/validation/lib/project.json index 348a21d..8af8730 100644 --- a/src/validation/lib/project.json +++ b/src/validation/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/validation"], + "outputs": ["dist/libs/ng-validation"], "options": { "project": "src/validation/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/validation"], + "outputs": ["dist/libs/ng-validation"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/validation && npm pack" + "command": "cd dist/libs/ng-validation && npm pack" } ] } diff --git a/src/zoom/lib/ng-package.json b/src/zoom/lib/ng-package.json index 6f5e1d0..42a62d5 100644 --- a/src/zoom/lib/ng-package.json +++ b/src/zoom/lib/ng-package.json @@ -1,7 +1,7 @@ { - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/zoom", - "lib": { - "entryFile": "index.ts" - } -} \ No newline at end of file + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../../dist/libs/ng-zoom", + "lib": { + "entryFile": "index.ts" + } +} diff --git a/src/zoom/lib/package.json b/src/zoom/lib/package.json index 64d9bda..f9965f6 100644 --- a/src/zoom/lib/package.json +++ b/src/zoom/lib/package.json @@ -1,10 +1,10 @@ { "name": "@opentiny/ng-zoom", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "license": "MIT", "peerDependencies": { "@angular/core": ">=13.0.0", "@angular/common": ">=13.0.0", - "@opentiny/ng-renderer": "~1.0.0-beta.1" + "@opentiny/ng-renderer": "~1.0.0-beta.2" } } \ No newline at end of file diff --git a/src/zoom/lib/project.json b/src/zoom/lib/project.json index 99c8fab..6d2c4e6 100644 --- a/src/zoom/lib/project.json +++ b/src/zoom/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/zoom"], + "outputs": ["dist/libs/ng-zoom"], "options": { "project": "src/zoom/lib/ng-package.json", "updateBuildableProjectDepsInPackageJson": false @@ -22,7 +22,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/zoom"], + "outputs": ["dist/libs/ng-zoom"], "options": { "commands": [ { @@ -43,7 +43,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/zoom && npm pack" + "command": "cd dist/libs/ng-zoom && npm pack" } ] } diff --git a/tsconfig.base.json b/tsconfig.base.json index e38d1d3..77e5031 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -68,6 +68,7 @@ "@opentiny/ng-labeleditor": ["src/labeleditor/lib/index.ts"], "@opentiny/ng-layout": ["src/layout/lib/index.ts"], "@opentiny/ng-leftmenu": ["src/leftmenu/lib/index.ts"], + "@opentiny/ng-leftmenuthin": ["src/leftmenuthin/lib/index.ts"], "@opentiny/ng-linkbutton": ["src/linkbutton/lib/index.ts"], "@opentiny/ng-list": ["src/list/lib/index.ts"], "@opentiny/ng-loading": ["src/loading/lib/index.ts"], -- Gitee From 86af2d9a2856ea7ee9073a5077ca073d14eded89 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 16 May 2023 00:59:09 -0700 Subject: [PATCH 3/3] merge in.open --- src/leftmenuthin/lib/ng-package.json | 2 +- src/leftmenuthin/lib/project.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/leftmenuthin/lib/ng-package.json b/src/leftmenuthin/lib/ng-package.json index 5698906..8696c7a 100644 --- a/src/leftmenuthin/lib/ng-package.json +++ b/src/leftmenuthin/lib/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../../dist/libs/leftmenuthin", + "dest": "../../../dist/libs/ng-leftmenuthin", "lib": { "entryFile": "./index.ts" } diff --git a/src/leftmenuthin/lib/project.json b/src/leftmenuthin/lib/project.json index 275af69..e5ca0b8 100644 --- a/src/leftmenuthin/lib/project.json +++ b/src/leftmenuthin/lib/project.json @@ -5,7 +5,7 @@ "targets": { "default-build": { "executor": "@nrwl/angular:package", - "outputs": ["dist/libs/leftmenuthin"], + "outputs": ["dist/libs/ng-leftmenuthin"], "options": { "project": "src/leftmenuthin/lib/ng-package.json" }, @@ -21,7 +21,7 @@ }, "build": { "executor": "@nrwl/workspace:run-commands", - "outputs": ["dist/libs/leftmenuthin"], + "outputs": ["dist/libs/ng-leftmenuthin"], "options": { "commands": [ { @@ -42,7 +42,7 @@ "options": { "commands": [ { - "command": "cd dist/libs/leftmenuthin && npm pack" + "command": "cd dist/libs/ng-leftmenuthin && npm pack" } ] } -- Gitee