• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / d9ae709b-3c27-4b69-b125-b8b80b54f90b

pending completion
d9ae709b-3c27-4b69-b125-b8b80b54f90b

Pull #2757

circleci

mengshuicmq
fix: fix code review
Pull Request #2757: feat(color-picker): color-picker support disabled (#INFR-8645)

98 of 6315 branches covered (1.55%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

2392 of 13661 relevant lines covered (17.51%)

83.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/form/module.ts
1
import { ThyAlertModule } from 'ngx-tethys/alert';
2
import { ThyIconModule } from 'ngx-tethys/icon';
3
import { ThyInputModule } from 'ngx-tethys/input';
4
import { ThyTooltipModule } from 'ngx-tethys/tooltip';
5

6
import { CommonModule } from '@angular/common';
7
import { ModuleWithProviders, NgModule } from '@angular/core';
8
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
9

10
import { ThyFormGroupErrorComponent } from './form-group-error/form-group-error.component';
11
import { ThyFormGroupLabelDirective } from './form-group-label.directive';
12
import { ThyFormGroupComponent } from './form-group.component';
13
import { ThyFormSubmitDirective } from './form-submit.directive';
14
import { ThyFormValidatorLoader } from './form-validator-loader';
15
import { ThyFormValidatorGlobalConfig, THY_FORM_CONFIG_PROVIDER, THY_VALIDATOR_CONFIG } from './form.class';
16
import { ThyFormDirective } from './form.directive';
17
import { ThyFormGroupFooterComponent } from './from-group-footer/form-group-footer.component';
18
import { ThyConfirmValidatorDirective, ThyMaxDirective, ThyMinDirective, ThyUniqueCheckValidator } from './validator/index';
19

1✔
20
@NgModule({
21
    imports: [
×
22
        CommonModule,
23
        FormsModule,
24
        ReactiveFormsModule,
25
        ThyInputModule,
26
        ThyAlertModule,
27
        ThyIconModule,
28
        ThyTooltipModule,
29
        ThyFormDirective,
30
        ThyFormGroupComponent,
31
        ThyFormGroupLabelDirective,
32
        ThyFormSubmitDirective,
1✔
33
        ThyFormGroupFooterComponent,
34
        ThyUniqueCheckValidator,
35
        ThyFormGroupErrorComponent,
36
        ThyMinDirective,
37
        ThyMaxDirective,
38
        ThyConfirmValidatorDirective
39
    ],
40
    exports: [
41
        ThyFormDirective,
42
        ThyFormGroupComponent,
43
        ThyFormGroupLabelDirective,
44
        ThyFormSubmitDirective,
45
        ThyFormGroupFooterComponent,
46
        ThyUniqueCheckValidator,
47
        ThyFormGroupErrorComponent,
48
        ThyMinDirective,
49
        ThyMaxDirective,
50
        ThyConfirmValidatorDirective
51
    ],
52
    providers: [ThyFormValidatorLoader, THY_FORM_CONFIG_PROVIDER]
53
})
54
export class ThyFormModule {
55
    static forRoot(config: ThyFormValidatorGlobalConfig): ModuleWithProviders<ThyFormModule> {
56
        return {
57
            ngModule: ThyFormModule,
58
            providers: [
59
                {
60
                    provide: THY_VALIDATOR_CONFIG,
61
                    useValue: config
62
                }
63
            ]
64
        };
65
    }
66
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc