setSearch(e.target.value)}
- placeholder="Search icons… (e.g. FaHome, FcSettings)"
+ placeholder="Search icons… (FaHome, FcSettings)"
className="flex-1 px-2 py-1.5 text-sm rounded border border-gray-200 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-100 outline-none focus:border-indigo-400"
/>
{filtered.length} icons
@@ -761,7 +762,7 @@ const WizardStep1 = ({
onWizardNameChange(e.target.value.replace(/\s/g, ''))}
@@ -851,7 +852,7 @@ const WizardStep1 = ({
type="text"
autoComplete="off"
name="menuCode"
- placeholder="e.g. App.Wizard.Routes, App.Wizard.Products, App.Wizard.Orders"
+ placeholder="App.Wizard.Routes, App.Wizard.Products, App.Wizard.Orders"
component={Input}
disabled={true}
/>
@@ -886,7 +887,7 @@ const WizardStep1 = ({
type="text"
autoComplete="off"
name="languageTextMenuEn"
- placeholder={translate('::ListForms.Wizard.Step1.EnglishMenuTextPlaceholder') || 'English Menu Text'}
+ placeholder={translate('::ListForms.Wizard.Step1.DisplayNameEnglish') || 'English Menu Text'}
component={Input}
/>
@@ -902,7 +903,7 @@ const WizardStep1 = ({
type="text"
autoComplete="off"
name="languageTextMenuTr"
- placeholder={translate('::ListForms.Wizard.Step1.TurkishMenuTextPlaceholder') || 'Turkish Menu Text'}
+ placeholder={translate('::ListForms.Wizard.Step1.DisplayNameTurkish') || 'Turkish Menu Text'}
component={Input}
/>
diff --git a/ui/src/views/admin/listForm/WizardStep2.tsx b/ui/src/views/admin/listForm/WizardStep2.tsx
index a745694..cc7122e 100644
--- a/ui/src/views/admin/listForm/WizardStep2.tsx
+++ b/ui/src/views/admin/listForm/WizardStep2.tsx
@@ -70,7 +70,8 @@ const WizardStep2 = ({
!values.languageTextDescTr && translate('::ListForms.Wizard.Step2.DescriptionTextTurkish'),
!values.languageTextTitleEn && translate('::ListForms.Wizard.Step2.TitleTextEnglish'),
!values.languageTextTitleTr && translate('::ListForms.Wizard.Step2.TitleTextTurkish'),
- selectedColumns.size === 0 && (translate('::ListForms.Wizard.Step2.ColumnSelection') || 'Sütun seçimi'),
+ selectedColumns.size === 0 &&
+ (translate('::ListForms.Wizard.Step2.ColumnSelection') || 'Sütun seçimi'),
].filter(Boolean) as string[]
const step2CanGo = step2Missing.length === 0
@@ -85,7 +86,8 @@ const WizardStep2 = ({
asterisk={true}
extra={
- {translate('::ListForms.Wizard.Step2.ListFormCodeHint') || 'Auto-derived from Wizard Name, editable'}
+ {translate('::ListForms.Wizard.Step2.ListFormCodeHint') ||
+ 'Auto-derived from Wizard Name, editable'}
}
>
@@ -93,7 +95,7 @@ const WizardStep2 = ({
type="text"
autoComplete="off"
name="listFormCode"
- placeholder="e.g. App.Wizard.Routes"
+ placeholder="App.Wizard.Routes"
component={Input}
disabled={true}
/>
@@ -126,9 +128,7 @@ const WizardStep2 = ({
const val = option?.value ?? ''
form.setFieldValue(field.name, val)
onDataSourceSelect(val)
- onDataSourceNewChange(
- !!val && !dataSourceList.some((a) => a.value === val),
- )
+ onDataSourceNewChange(!!val && !dataSourceList.some((a) => a.value === val))
}}
/>
)}
@@ -162,9 +162,8 @@ const WizardStep2 = ({
extra={
values.selectCommandType ? (
- {selectCommandTypeOptions.find(
- (o: any) => o.value === values.selectCommandType,
- )?.label ?? String(values.selectCommandType)}
+ {selectCommandTypeOptions.find((o: any) => o.value === values.selectCommandType)
+ ?.label ?? String(values.selectCommandType)}
) : null
}
@@ -184,7 +183,9 @@ const WizardStep2 = ({
})),
},
{
- label: translate('::ListForms.Wizard.Step2.StoredProcedures') || 'Stored Procedures',
+ label:
+ translate('::ListForms.Wizard.Step2.StoredProcedures') ||
+ 'Stored Procedures',
options: dbObjects.storedProcedures.map((p) => ({
label: p.procedureName,
value: p.procedureName,
@@ -222,7 +223,12 @@ const WizardStep2 = ({
isClearable
isLoading={isLoadingDbObjects}
options={grouped}
- placeholder={isLoadingDbObjects ? (translate('::ListForms.Wizard.Step2.Loading') || 'Loading…') : (translate('::ListForms.Wizard.Step2.SelectCommandPlaceholder') || 'Tablo/View/SP seç veya SQL yaz…')}
+ placeholder={
+ isLoadingDbObjects
+ ? translate('::ListForms.Wizard.Step2.Loading') || 'Loading…'
+ : translate('::ListForms.Wizard.Step2.SelectCommand') ||
+ 'Tablo/View/SP seç veya SQL yaz…'
+ }
value={field.value ? { label: field.value, value: field.value } : null}
onChange={(option: any) => {
if (!option) {
@@ -282,7 +288,11 @@ const WizardStep2 = ({
form={form}
isClearable
isLoading={isLoadingColumns}
- placeholder={isLoadingColumns ? (translate('::ListForms.Wizard.Step2.ColumnsLoading') || 'Sütunlar yükleniyor…') : (translate('::ListForms.Wizard.Step2.SelectKeyColumn') || 'Key sütunu seç…')}
+ placeholder={
+ isLoadingColumns
+ ? translate('::ListForms.Wizard.Step2.ColumnsLoading') || 'Sütunlar yükleniyor…'
+ : translate('::ListForms.Wizard.Step2.SelectKeyColumn') || 'Key sütunu seç…'
+ }
options={selectCommandColumns.map((c) => ({
label: `${c.columnName} (${c.dataType})`,
value: c.columnName,
@@ -309,32 +319,80 @@ const WizardStep2 = ({
)}
+
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -348,7 +406,9 @@ const WizardStep2 = ({
type="text"
autoComplete="off"
name="languageTextTitleEn"
- placeholder={translate('::ListForms.Wizard.Step2.EnglishTitlePlaceholder') || 'English Title Text'}
+ placeholder={
+ translate('::ListForms.Wizard.Step2.TitleTextEnglish') || 'English Title Text'
+ }
component={Input}
/>
@@ -363,7 +423,9 @@ const WizardStep2 = ({
type="text"
autoComplete="off"
name="languageTextTitleTr"
- placeholder={translate('::ListForms.Wizard.Step2.TurkishTitlePlaceholder') || 'Turkish Title Text'}
+ placeholder={
+ translate('::ListForms.Wizard.Step2.TitleTextTurkish') || 'Turkish Title Text'
+ }
component={Input}
/>
@@ -378,7 +440,10 @@ const WizardStep2 = ({
type="text"
autoComplete="off"
name="languageTextDescEn"
- placeholder={translate('::ListForms.Wizard.Step2.EnglishDescPlaceholder') || 'English Description Text'}
+ placeholder={
+ translate('::ListForms.Wizard.Step2.DescriptionTextEnglish') ||
+ 'English Description Text'
+ }
component={Input}
/>
@@ -393,7 +458,10 @@ const WizardStep2 = ({
type="text"
autoComplete="off"
name="languageTextDescTr"
- placeholder={translate('::ListForms.Wizard.Step2.TurkishDescPlaceholder') || 'Turkish Description Text'}
+ placeholder={
+ translate('::ListForms.Wizard.Step2.DescriptionTextTurkish') ||
+ 'Turkish Description Text'
+ }
component={Input}
/>
@@ -420,7 +488,8 @@ const WizardStep2 = ({
{translate('::ListForms.Wizard.Step2.ClearAll') || 'Tümünü Kaldır'}
- {selectedColumns.size}/{selectCommandColumns.length} {translate('::ListForms.Wizard.Step4.StatColumn')}
+ {selectedColumns.size}/{selectCommandColumns.length}{' '}
+ {translate('::ListForms.Wizard.Step4.StatColumn')}
) : null
@@ -428,10 +497,13 @@ const WizardStep2 = ({
>
{isLoadingColumns ? (
-
{translate('::ListForms.Wizard.Step2.ColumnsLoading') || 'Sütunlar yükleniyor…'}
+
+ {translate('::ListForms.Wizard.Step2.ColumnsLoading') || 'Sütunlar yükleniyor…'}
+
) : selectCommandColumns.length === 0 ? (
- {translate('::ListForms.Wizard.Step2.ColumnsWillAppear') || 'Select Command seçilince sütunlar burada görünecek'}
+ {translate('::ListForms.Wizard.Step2.ColumnsWillAppear') ||
+ 'Select Command seçilince sütunlar burada görünecek'}
) : (
@@ -476,7 +548,13 @@ const WizardStep2 = ({
⚠ Zorunlu: {step2Missing.join(', ')}
)}
- } disabled={!step2CanGo} onClick={onNext}>
+ }
+ disabled={!step2CanGo}
+ onClick={onNext}
+ >
{translate('::Next') || 'Next'}