{{ v }}
15 |{{ time }}
18 |12 | {{ {{ value }} | cny }} = {{ value | cny }} 13 |
14 |${getCode(node)}`;
12 | }
13 | ];
14 | }
15 |
--------------------------------------------------------------------------------
/packages/theme/system/widgets/_form.less:
--------------------------------------------------------------------------------
1 | .search__form-mixin(@enabled) when(@enabled = true) {
2 | /**
3 | * Search form, [Demo](https://ng-alain.surge.sh/#/pro/list/table-list)
4 | *
5 | * 搜索表单, [示例](https://ng-alain.gitee.io/#/pro/list/table-list)
6 | */
7 | .search__form {
8 | .@{ant-prefix}-form-item {
9 | margin-right: 0;
10 | margin-bottom: @form-item-margin-bottom;
11 | }
12 | .@{ant-prefix}-form-item-control {
13 | flex: 1;
14 | }
15 | }
16 | }
17 | .search__form-mixin(@search__form-enabled);
18 |
--------------------------------------------------------------------------------
/packages/util/pipes/currency/cny.pipe.ts:
--------------------------------------------------------------------------------
1 | import { Pipe, PipeTransform } from '@angular/core';
2 |
3 | import { CurrencyCNYOptions, CurrencyService } from '@delon/util/format';
4 |
5 | @Pipe({ name: 'cny' })
6 | export class CurrencyCNYPipe implements PipeTransform {
7 | constructor(private srv: CurrencyService) {}
8 |
9 | /**
10 | * Converted into RMB notation.
11 | *
12 | * 转化成人民币表示法
13 | */
14 | transform(value: number | string, options?: CurrencyCNYOptions): string {
15 | return this.srv.cny(value, options);
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/packages/abc/down-file/style/index.less:
--------------------------------------------------------------------------------
1 | @import '../../../theme/theme-default.less';
2 | @down-file-prefix: ~'.down-file';
3 |
4 | @{down-file-prefix} {
5 | &__not-support {
6 | // @down-file-not-support-behavior
7 | .down-file-not-support-behavior-mixin(@value) when (@value = 'disabled') {
8 | pointer-events: none;
9 | }
10 | .down-file-not-support-behavior-mixin(@value) when (@value = 'hidden') {
11 | display: none;
12 | }
13 | .down-file-not-support-behavior-mixin(@down-file-not-support-behavior);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/packages/abc/loading/loading.component.html:
--------------------------------------------------------------------------------
1 |