Skip to content

Commit ac16448

Browse files
chore(release): release next version 10.0.0-beta.1
1 parent e148e6a commit ac16448

File tree

72 files changed

+198
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+198
-264
lines changed
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To see more in [devui.design](https://devui.design/home).
2323

2424
## Angular Support
2525

26-
Now supports Angular <font color=red>`^9.0.0`</font>
26+
Now supports Angular <font color=red>`^10.0.0`</font>
2727

2828
## Getting Started
2929

README_zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ DevUI Design设计系统包含了DevUI规则、设计语言和最佳实践的资
2323

2424
## Angular版本
2525

26-
当前支持的angular版本<font color=red>`^9.0.0`</font>
26+
当前支持的angular版本<font color=red>`^10.0.0`</font>
2727

2828
## 快速开始
2929

devui/accordion/demo/accordion-demo.moudule.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ import { DDemoNavModule } from 'src/app/component/d-demo-nav.module';
4545
ChangeKeyComponent,
4646
],
4747
providers: [],
48-
entryComponents: [
49-
]
48+
5049
})
5150
export class AccordionDemoModule {
5251
}

devui/alert/demo/alert-demo.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ import { DDemoNavModule } from 'src/app/component/d-demo-nav.module';
3434
BasicComponent,
3535
CloseComponent,
3636
],
37-
entryComponents: [
38-
AlertDemoComponent,
39-
],
37+
4038
})
4139
export class AlertDemoModule {
4240
}

devui/anchor/demo/anchor-demo.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ import { ScrollTargetComponent } from './scroll-target/scroll-target.component';
4545
HashComponent,
4646
ScrollTargetComponent
4747
],
48-
entryComponents: [
49-
AnchorDemoComponent,
50-
],
48+
5149
})
5250
export class AnchorDemoModule {
5351
}

devui/auto-complete/auto-complete.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ import { HighlightComponent } from './highlight.component';
1616
exports: [AutoCompleteDirective, AutoCompletePopupComponent, HighlightComponent],
1717
declarations: [AutoCompleteDirective, AutoCompletePopupComponent, HighlightComponent],
1818
providers: [AutoCompleteConfig],
19-
entryComponents: [AutoCompletePopupComponent]
19+
2020
})
2121
export class AutoCompleteModule { }

devui/button/demo/button-demo.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ import { DDemoNavModule } from 'src/app/component/d-demo-nav.module';
5050
AutofocusComponent,
5151
SizeComponent
5252
],
53-
entryComponents: [
54-
ButtonDemoComponent,
55-
],
53+
5654
})
5755
export class ButtonDemoModule {
5856
}

devui/checkbox/demo/checkbox-demo.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ import { CheckboxConditionGroupComponent } from './condition-group/condition-gro
4040
CheckboxConditionChangeComponent,
4141
CheckboxConditionGroupComponent
4242
],
43-
entryComponents: [
44-
CheckBoxDemoComponent,
45-
],
43+
4644
})
4745
export class CheckBoxDemoModule {
4846
}

devui/common/helper-utils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,20 +195,20 @@ export class HelperUtils {
195195
};
196196

197197

198-
httpClient.request(requestMethod, requestUrl, requestOption).subscribe((res: HttpResponse<any>) => {
199-
const disposition = (<HttpHeaders>res.headers).get('content-disposition');
200-
const contentType = (<HttpHeaders>res.headers).get('content-type');
198+
httpClient.request(requestMethod, requestUrl, (<any>requestOption)).subscribe((res) => {
199+
const disposition = (<any>res).headers.get('content-disposition');
200+
const contentType = (<any>res).headers.get('content-type');
201201
if (/^attachment/i.test(disposition) || option.downloadWithoutDispositionHeader ) {
202202
const downloadFilename = option.filename || disposition && getFilenameFromDisposition(disposition) || url ;
203-
downloadFileFromArrayBuffer(res.body, downloadFilename, contentType);
203+
downloadFileFromArrayBuffer((<any>res).body, downloadFilename, contentType);
204204
if (onSuccess) {
205205
onSuccess(res);
206206
}
207207
} else {
208208
if (onError) {
209209
let response;
210210
try {
211-
response = handleResponse(res);
211+
response = handleResponse((<any>res));
212212
} catch (e) {
213213
response = res;
214214
}

0 commit comments

Comments
 (0)