-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert adapters and port to TS, remove Evented from port (#2617)
- Loading branch information
1 parent
6408d35
commit 0f4fdaf
Showing
12 changed files
with
211 additions
and
184 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
app/components/date-property-field.js → app/components/date-property-field.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { scheduleOnce } from '@ember/runloop'; | ||
import { action } from '@ember/object'; | ||
import DatePicker from 'ember-inspector/components/ember-flatpickr'; | ||
import DatePicker from 'ember-flatpickr/components/ember-flatpickr'; | ||
|
||
export default class DatePropertyFieldComponent extends DatePicker { | ||
@action | ||
onInsert(element) { | ||
onInsert(element: HTMLInputElement) { | ||
super.onInsert(element); | ||
|
||
scheduleOnce('afterRender', this, this._openFlatpickr); | ||
} | ||
|
||
_openFlatpickr() { | ||
this.flatpickrRef.open(); | ||
this.flatpickrRef?.open(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 9 additions & 6 deletions
15
app/services/adapters/websocket.js → app/services/adapters/websocket.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.