Gibson C
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
51 changed files with
155 additions and
50 deletions
-
components/time-picker/index.tsx
-
components/time-picker/locale/ar_EG.tsx
-
components/time-picker/locale/az_AZ.tsx
-
components/time-picker/locale/bg_BG.tsx
-
components/time-picker/locale/ca_ES.tsx
-
components/time-picker/locale/cs_CZ.tsx
-
components/time-picker/locale/da_DK.tsx
-
components/time-picker/locale/de_DE.tsx
-
components/time-picker/locale/el_GR.tsx
-
components/time-picker/locale/en_GB.tsx
-
components/time-picker/locale/en_US.tsx
-
components/time-picker/locale/es_ES.tsx
-
components/time-picker/locale/et_EE.tsx
-
components/time-picker/locale/fa_IR.tsx
-
components/time-picker/locale/fi_FI.tsx
-
components/time-picker/locale/fr_BE.tsx
-
components/time-picker/locale/fr_FR.tsx
-
components/time-picker/locale/he_IL.tsx
-
components/time-picker/locale/hi_IN.tsx
-
components/time-picker/locale/hr_HR.tsx
-
components/time-picker/locale/hu_HU.tsx
-
components/time-picker/locale/id_ID.tsx
-
components/time-picker/locale/is_IS.tsx
-
components/time-picker/locale/it_IT.tsx
-
components/time-picker/locale/ja_JP.tsx
-
components/time-picker/locale/kn_IN.tsx
-
components/time-picker/locale/ko_KR.tsx
-
components/time-picker/locale/ku_IQ.tsx
-
components/time-picker/locale/lv_LV.tsx
-
components/time-picker/locale/mk_MK.tsx
-
components/time-picker/locale/mn_MN.tsx
-
components/time-picker/locale/ms_MY.tsx
-
components/time-picker/locale/nb_NO.tsx
-
components/time-picker/locale/nl_BE.tsx
-
components/time-picker/locale/nl_NL.tsx
-
components/time-picker/locale/pl_PL.tsx
-
components/time-picker/locale/pt_BR.tsx
-
components/time-picker/locale/pt_PT.tsx
-
components/time-picker/locale/ro_RO.tsx
-
components/time-picker/locale/ru_RU.tsx
-
components/time-picker/locale/sk_SK.tsx
-
components/time-picker/locale/sl_SI.tsx
-
components/time-picker/locale/sr_RS.tsx
-
components/time-picker/locale/sv_SE.tsx
-
components/time-picker/locale/ta_IN.tsx
-
components/time-picker/locale/th_TH.tsx
-
components/time-picker/locale/tr_TR.tsx
-
components/time-picker/locale/uk_UA.tsx
-
components/time-picker/locale/vi_VN.tsx
-
components/time-picker/locale/zh_CN.tsx
-
components/time-picker/locale/zh_TW.tsx
|
|
@ -7,6 +7,11 @@ import { Omit } from '../_util/type'; |
|
|
|
|
|
|
|
const { TimePicker: InternalTimePicker, RangePicker: InternalRangePicker } = DatePicker; |
|
|
|
|
|
|
|
export interface TimePickerLocale { |
|
|
|
placeholder?: string; |
|
|
|
rangePlaceholder?: [string, string]; |
|
|
|
} |
|
|
|
|
|
|
|
export interface TimeRangePickerProps extends RangePickerTimeProps<Moment> {} |
|
|
|
|
|
|
|
const RangePicker = React.forwardRef<any, TimeRangePickerProps>((props, ref) => { |
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'اختيار الوقت', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Vaxtı seç', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Избор на час', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Seleccionar hora', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Vybrat čas', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Vælg tid', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Zeit auswählen', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Επιλέξτε ώρα', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Select time', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Select time', |
|
|
|
rangePlaceholder: ['Start time', 'End time'], |
|
|
|
}; |
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Seleccionar hora', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Vali aeg', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'انتخاب زمان', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Valitse aika', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: "Sélectionner l'heure", |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: "Sélectionner l'heure", |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'בחר שעה', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'समय का चयन करें', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Odaberite vrijeme', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Válasszon időt', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Pilih waktu', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Velja tíma', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: "Selezionare l'orario", |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: '時刻を選択', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'ಸಮಯ ಆಯ್ಕೆಮಾಡಿ', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: '날짜 선택', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Demê hilbijêre', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Izvēlieties laiku', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Избери време', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Цаг сонгох', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Sila pilih masa', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Velg tid', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Selecteer tijd', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Selecteer tijd', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Wybierz godzinę', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Hora', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Hora', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Selectează ora', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,7 +1,9 @@ |
|
|
|
/** |
|
|
|
* Created by Andrey Gayvoronsky on 13/04/16. |
|
|
|
*/ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Выберите время', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Vybrať čas', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Izberite čas', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Izaberite vreme', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Välj tid', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'நேரத்தைத் தேர்ந்தெடுக்கவும்', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'เลือกเวลา', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Zaman Seç', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Оберіть час', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: 'Chọn thời gian', |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: '请选择时间', |
|
|
|
rangePlaceholder: ['开始时间', '结束时间'], |
|
|
|
}; |
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
const locale = { |
|
|
|
import { TimePickerLocale } from '../index'; |
|
|
|
|
|
|
|
const locale: TimePickerLocale = { |
|
|
|
placeholder: '請選擇時間', |
|
|
|
}; |
|
|
|
|
|
|
|