SchedulerView değiştirldi.
This commit is contained in:
parent
6dfe8d22a8
commit
3d2b38407b
2 changed files with 6 additions and 7 deletions
|
|
@ -19,7 +19,7 @@ public static class PlatformConsts
|
|||
{
|
||||
public static string Disabled = "{ \"disabled\" : true }";
|
||||
public static string ShowClearButton = "{ \"showClearButton\" : true }";
|
||||
public static string HtmlEditorOptions = "{ \"mediaResizing\": { \"enabled\": true }, \"imageUpload\": { \"tabs\": [\"file\", \"url\"], \"fileUploadMode\": \"base64\" }, \"toolbar\": { \"multiline\": true, \"items\": [ { \"name\": \"undo\" }, { \"name\": \"redo\" }, { \"name\": \"separator\" }, { \"name\": \"size\", \"acceptedValues\": [\"8pt\", \"10pt\", \"12pt\", \"14pt\", \"18pt\", \"24pt\", \"36pt\"], \"options\": { \"inputAttr\": { \"aria-label\": \"Font size\" } } }, { \"name\": \"font\", \"acceptedValues\": [\"Arial\", \"Courier New\", \"Georgia\", \"Impact\", \"Lucida Console\", \"Tahoma\", \"Times New Roman\", \"Verdana\"], \"options\": { \"inputAttr\": { \"aria-label\": \"Font family\" } } }, { \"name\": \"separator\" }, { \"name\": \"bold\" }, { \"name\": \"italic\" }, { \"name\": \"strike\" }, { \"name\": \"underline\" }, { \"name\": \"separator\" }, { \"name\": \"alignLeft\" }, { \"name\": \"alignCenter\" }, { \"name\": \"alignRight\" }, { \"name\": \"alignJustify\" }, { \"name\": \"separator\" }, { \"name\": \"orderedList\" }, { \"name\": \"bulletList\" }, { \"name\": \"separator\" }, { \"name\": \"header\", \"acceptedValues\": [false, 1, 2, 3, 4, 5] }, { \"name\": \"separator\" }, { \"name\": \"color\" }, { \"name\": \"background\" }, { \"name\": \"separator\" }, { \"name\": \"link\" }, { \"name\": \"image\" }, { \"name\": \"separator\" }, { \"name\": \"clear\" }, { \"name\": \"codeBlock\" }, { \"name\": \"blockquote\" }, { \"name\": \"separator\" }, { \"name\": \"insertTable\" }, { \"name\": \"deleteTable\" }, { \"name\": \"insertRowAbove\" }, { \"name\": \"insertRowBelow\" }, { \"name\": \"deleteRow\" }, { \"name\": \"insertColumnLeft\" }, { \"name\": \"insertColumnRight\" }, { \"name\": \"deleteColumn\" }, { \"name\": \"cellProperties\" }, { \"name\": \"tableProperties\" } ] } }, \"encodeHtml\": true }";
|
||||
public static string HtmlEditorOptions = """{"mediaResizing":{"enabled":true},"imageUpload":{"tabs":["file","url"],"fileUploadMode":"base64"},"toolbar":{"multiline":true,"items":[{"name":"undo"},{"name":"redo"},{"name":"separator"},{"name":"size","acceptedValues":["8pt","10pt","12pt","14pt","18pt","24pt","36pt"],"options":{"inputAttr":{"aria-label":"Font size"}}},{"name":"font","acceptedValues":["Arial","Courier New","Georgia","Impact","Lucida Console","Tahoma","Times New Roman","Verdana"],"options":{"inputAttr":{"aria-label":"Font family"}}},{"name":"separator"},{"name":"bold"},{"name":"italic"},{"name":"strike"},{"name":"underline"},{"name":"separator"},{"name":"alignLeft"},{"name":"alignCenter"},{"name":"alignRight"},{"name":"alignJustify"},{"name":"separator"},{"name":"orderedList"},{"name":"bulletList"},{"name":"separator"},{"name":"header","acceptedValues":[false,1,2,3,4,5]},{"name":"separator"},{"name":"color"},{"name":"background"},{"name":"separator"},{"name":"link"},{"name":"image"},{"name":"separator"},{"name":"clear"},{"name":"codeBlock"},{"name":"blockquote"},{"name":"separator"},{"name":"insertTable"},{"name":"deleteTable"},{"name":"insertRowAbove"},{"name":"insertRowBelow"},{"name":"deleteRow"},{"name":"insertColumnLeft"},{"name":"insertColumnRight"},{"name":"deleteColumn"},{"name":"cellProperties"},{"name":"tableProperties"}]},"encodeHtml":true}""";
|
||||
public static string PhoneEditorOptions = "{\"format\": \"phoneGlobal\", \"mask\":\"(000) 000-0000\", \"maskInvalidMessage\":\"Lütfen geçerli bir telefon numarası girin\", \"useMaskedValue\":false, \"maskRules\": { \"X\": \"[0-9]\" }, \"placeholder\": \"(555) 123-4567\" }";
|
||||
public static string TimeSpanOptions = "{\"type\":\"time\",\"pickerType\":\"list\",\"displayFormat\":\"HH:mm\",\"dateSerializationFormat\":\"yyyy-MM-ddTHH:mm:ss\",\"interval\":5,\"width\":\"100%\"}";
|
||||
public static string NumberStandartFormat(int precision = 2) => "{ \"format\": { \"type\": \"fixedPoint\", \"precision\": " + precision + " }, \"useMaskBehavior\": true, \"showSpinButtons\": true }";
|
||||
|
|
|
|||
|
|
@ -317,7 +317,6 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
size={18}
|
||||
src={previewDetails.avatarUrl ?? '/img/others/default-profile.png'}
|
||||
/>
|
||||
<span className="uppercase opacity-70">User:</span>
|
||||
<span className="truncate">{previewDetails.userName}</span>
|
||||
</div>
|
||||
)}
|
||||
|
|
@ -325,7 +324,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
<div className="min-w-0">
|
||||
<div className="flex items-center gap-1 text-[9px] font-semibold uppercase opacity-70">
|
||||
<FaHeading className="shrink-0" />
|
||||
<span>Text</span>
|
||||
<span>{translate('::App.Listform.ListformField.Text')}</span>
|
||||
</div>
|
||||
<div
|
||||
className="dx-scheduler-appointment-title scheduler-appointment-text line-clamp-2 whitespace-normal font-semibold leading-tight"
|
||||
|
|
@ -337,7 +336,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
<div className="min-w-0">
|
||||
<div className="flex items-center gap-1 text-[9px] font-semibold uppercase opacity-70">
|
||||
<FaAlignLeft className="shrink-0" />
|
||||
<span>Description</span>
|
||||
<span>{translate('::App.Platform.Description')}</span>
|
||||
</div>
|
||||
<div
|
||||
className="line-clamp-2 whitespace-normal text-[11px] leading-tight"
|
||||
|
|
@ -377,7 +376,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
/>
|
||||
<div className="min-w-0">
|
||||
<div className="text-[10px] font-semibold uppercase text-gray-500 dark:text-gray-400">
|
||||
User Name
|
||||
{translate('::App.Listform.ListformField.UserId')}
|
||||
</div>
|
||||
<div className="truncate text-sm font-semibold text-gray-900 dark:text-gray-100">
|
||||
{previewDetails.userName}
|
||||
|
|
@ -389,7 +388,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
<div className="rounded-lg border border-gray-200 bg-gray-50 p-3 dark:border-gray-700 dark:bg-gray-800">
|
||||
<div className="mb-1 flex items-center gap-1.5 text-[10px] font-semibold uppercase text-gray-500 dark:text-gray-400">
|
||||
<FaHeading />
|
||||
<span>Text</span>
|
||||
<span>{translate('::App.Listform.ListformField.Text')}</span>
|
||||
</div>
|
||||
<div
|
||||
className="scheduler-appointment-preview-text text-base font-semibold leading-snug text-gray-900 dark:text-gray-100"
|
||||
|
|
@ -401,7 +400,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
<div className="rounded-lg border border-gray-200 bg-gray-50 p-3 dark:border-gray-700 dark:bg-gray-800">
|
||||
<div className="mb-1 flex items-center gap-1.5 text-[10px] font-semibold uppercase text-gray-500 dark:text-gray-400">
|
||||
<FaAlignLeft />
|
||||
<span>Description</span>
|
||||
<span>{translate('::App.Platform.Description')}</span>
|
||||
</div>
|
||||
<div className="max-h-32 overflow-y-auto whitespace-pre-wrap pr-1 text-sm leading-relaxed text-gray-700 dark:text-gray-300">
|
||||
{previewDetails.description}
|
||||
|
|
|
|||
Loading…
Reference in a new issue