Skip to content

Commit

Permalink
refactor(module:date-picker): use directive instead of extends class (#…
Browse files Browse the repository at this point in the history
…4898)

* refactor(module:date-picker): use directive instead of extends class

build: fix build

* build: fix build

fix: build error
  • Loading branch information
wenqi73 committed Mar 18, 2020
1 parent a0a191a commit b567539
Show file tree
Hide file tree
Showing 23 changed files with 438 additions and 564 deletions.
313 changes: 0 additions & 313 deletions components/date-picker/abstract-picker.component.ts

This file was deleted.

2 changes: 1 addition & 1 deletion components/date-picker/calendar-footer.component.ts
Expand Up @@ -21,7 +21,7 @@ import {
import { CandyDate, isNonEmptyString, isTemplateRef } from 'ng-zorro-antd/core';
import { DateHelperService, NzCalendarI18nInterface } from 'ng-zorro-antd/i18n';
import { transCompatFormat } from './lib/util';
import { PREFIX_CLASS } from './name';
import { PREFIX_CLASS } from './util';

@Component({
encapsulation: ViewEncapsulation.None,
Expand Down
2 changes: 1 addition & 1 deletion components/date-picker/date-picker.component.spec.ts
Expand Up @@ -11,8 +11,8 @@ import isSameDay from 'date-fns/isSameDay';

import { dispatchKeyboardEvent, dispatchMouseEvent, NgStyleInterface, typeInElement } from 'ng-zorro-antd/core';
import en_US from '../i18n/languages/en_US';
import { PREFIX_CLASS } from './name';
import { getPicker, getPickerAbstract, getPickerInput } from './testing/util';
import { PREFIX_CLASS } from './util';

import { enUS } from 'date-fns/locale';
import { NZ_DATE_LOCALE, NzI18nModule, NzI18nService } from 'ng-zorro-antd/i18n';
Expand Down

0 comments on commit b567539

Please sign in to comment.