chowa
Version:
UI component library based on React
105 lines (104 loc) • 2.91 kB
JavaScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Common = {
confirm: 'OK',
cancel: 'Cancel',
clear: 'Clear'
};
exports.Calendar = {
year: 'Year',
month: 'Month',
week: 'Week',
day: 'Day',
yearFormat: 'YYYY',
monthFormat: 'MM/YYYY',
weeksFormat: '{{weeks}} weeks',
dayFormat: 'DD/MM/YYYY',
weeks: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
date: 'Date',
time: 'Time',
today: 'Today',
now: 'Now',
contextmenu: {
createEvent: 'Create a new event here',
editEvent: 'Edit event',
removeEvent: 'Delete this event'
},
editModal: {
createTitle: 'Create Event',
editTitle: 'Edit Event',
startTime: 'Start time',
startTimePlaceholder: 'Select the start time',
startTimeNotice: 'The start time is required',
finishTime: 'Finish time',
finishTimePlaceholder: 'Select the finish time',
finishTimeNotice: 'The finish time is required',
type: 'Type',
typeNotice: 'The event type is required',
category: 'Category',
categoryPlaceholder: 'Select the event category',
categoryNotice: 'The event category is required',
content: 'Content',
contentPlaceholder: 'Event content',
contentNotice: 'The event content is required'
}
};
exports.Cascader = {
placeholder: 'Select',
noDataDescription: 'No match data'
};
exports.DatePicker = {
datePlaceholder: 'Select date',
dateFormat: 'DD/MM/YYYY',
monthPlaceholder: 'Select month',
monthFormat: 'MM/YYYY',
yearPlaceholder: 'Select year',
yearFormat: 'YYYY',
weeksPlaceholder: 'Select weeks',
weeksFormat: '{{weeks}}weeks {{year}}',
rangePlaceholder: 'Select start ~ end date',
rangeFormat: '{{start}} ~ {{end}}'
};
exports.Modal = {
alertTitle: 'Attention',
confirmTitle: 'Please confirm',
promptTitle: 'Please enter'
};
exports.NoData = {
description: 'No data'
};
exports.Pagination = {
pageSizeUnit: '/page'
};
exports.Rate = {
valueUnit: 'points'
};
exports.Select = {
placeholder: 'Select',
noDataDescription: 'No match data'
};
exports.TimePicker = {
placehoder: 'Select time'
};
exports.Transfer = {
searchPlaceholder: 'Search',
noDataDescription: 'No match Data',
titles: ['Source', 'Target']
};
exports.Table = {
expandedOpenNode: 'Open',
expandedCloseNode: 'Close'
};
exports.Upload = {
select: 'Upload files',
drag: 'Click or drag files here to upload'
};