| + } + onClick={async (e) => { + e.preventDefault() + setData({ + tabName: + ListFormEditTabs.Database.Delete.DeleteFieldsDefaultValuesJsonRow, + operation: 'create', + id: initialValues.id ?? '', + index: -1, + }) + setIsOpen(true) + }} + /> + | +{translate('::ListForms.ListFormFieldEdit.FieldName')} | +{translate('::ListForms.ListFormEdit.FieldDbType')} | +{translate('::ListForms.ListFormEdit.CustomValueType')} | +{translate('::ListForms.ListFormEdit.Value')} | +{translate('::ListForms.ListFormEdit.SqlQuery')} | +
|---|---|---|---|---|---|
|
+
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Delete
+ .DeleteFieldsDefaultValuesJsonRow,
+ operation: 'update',
+ id: initialValues.id ?? '',
+ index,
+ crudValues: initialValues.deleteFieldsDefaultValueDto[index],
+ })
+ setIsOpen(true)
+ }}
+ />
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Delete
+ .DeleteFieldsDefaultValuesJsonRow,
+ operation: 'delete',
+ id: initialValues.id ?? '',
+ index,
+ })
+ setIsOpen(true)
+ }}
+ />
+
+ |
+ {row.fieldName} | ++ {dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} + | +{FieldCustomValueTypeEnum[row.customValueType]} | +{row.value} | +{row.sqlQuery} | +
| - } - onClick={async (e) => { - e.preventDefault() - setData({ - tabName: ListFormEditTabs.Database.Delete.DeleteFieldsDefaultValuesJsonRow, - operation: 'create', - id: initialValues.id ?? '', - index: -1, - }) - setIsOpen(true) - }} - /> - | -{translate('::ListForms.ListFormFieldEdit.FieldName')} | -{translate('::ListForms.ListFormEdit.FieldDbType')} | -{translate('::ListForms.ListFormEdit.CustomValueType')} | -{translate('::ListForms.ListFormEdit.Value')} | -{translate('::ListForms.ListFormEdit.SqlQuery')} | -
|---|---|---|---|---|---|
|
-
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Delete.DeleteFieldsDefaultValuesJsonRow,
- operation: 'update',
- id: initialValues.id ?? '',
- index,
- crudValues: initialValues.deleteFieldsDefaultValueDto[index],
- })
- setIsOpen(true)
- }}
- />
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Delete.DeleteFieldsDefaultValuesJsonRow,
- operation: 'delete',
- id: initialValues.id ?? '',
- index,
- })
- setIsOpen(true)
- }}
- />
-
- |
- {row.fieldName} | -{dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} | -{FieldCustomValueTypeEnum[row.customValueType]} | -{row.value} | -{row.sqlQuery} | -
| + } + onClick={async (e) => { + e.preventDefault() + setData({ + tabName: + ListFormEditTabs.Database.Insert.InsertFieldsDefaultValuesJsonRow, + operation: 'create', + id: initialValues.id ?? '', + index: -1, + }) + setIsOpen(true) + }} + /> + | +{translate('::ListForms.ListFormFieldEdit.FieldName')} | +{translate('::ListForms.ListFormEdit.FieldDbType')} | +{translate('::ListForms.ListFormEdit.CustomValueType')} | +{translate('::ListForms.ListFormEdit.Value')} | +{translate('::ListForms.ListFormEdit.SqlQuery')} | +
|---|---|---|---|---|---|
|
+
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Insert
+ .InsertFieldsDefaultValuesJsonRow,
+ operation: 'update',
+ id: initialValues.id ?? '',
+ index,
+ crudValues: initialValues.insertFieldsDefaultValueDto[index],
+ })
+ setIsOpen(true)
+ }}
+ />
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Insert
+ .InsertFieldsDefaultValuesJsonRow,
+ operation: 'delete',
+ id: initialValues.id ?? '',
+ index,
+ })
+ setIsOpen(true)
+ }}
+ />
+
+ |
+ {row.fieldName} | ++ {dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} + | +{FieldCustomValueTypeEnum[row.customValueType]} | +{row.value} | +{row.sqlQuery} | +
| + } + onClick={async (e) => { + e.preventDefault() + setData({ + tabName: + ListFormEditTabs.Database.Insert.FormFieldsDefaultValuesJsonRow, + operation: 'create', + id: initialValues.id ?? '', + index: -1, + }) + setIsOpen(true) + }} + /> + | +{translate('::ListForms.ListFormFieldEdit.FieldName')} | +{translate('::ListForms.ListFormEdit.FieldDbType')} | +{translate('::ListForms.ListFormEdit.CustomValueType')} | +{translate('::ListForms.ListFormEdit.Value')} | +{translate('::ListForms.ListFormEdit.SqlQuery')} | +
|---|---|---|---|---|---|
|
+
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Insert.FormFieldsDefaultValuesJsonRow,
+ operation: 'update',
+ id: initialValues.id ?? '',
+ index,
+ crudValues: initialValues.formFieldsDefaultValueDto[index],
+ })
+ setIsOpen(true)
+ }}
+ />
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Insert.FormFieldsDefaultValuesJsonRow,
+ operation: 'delete',
+ id: initialValues.id ?? '',
+ index,
+ })
+ setIsOpen(true)
+ }}
+ />
+
+ |
+ {row.fieldName} | ++ {dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} + | +{FieldCustomValueTypeEnum[row.customValueType]} | +{row.value} | +{row.sqlQuery} | +
| - } - onClick={async (e) => { - e.preventDefault() - setData({ - tabName: ListFormEditTabs.Database.Insert.InsertFieldsDefaultValuesJsonRow, - operation: 'create', - id: initialValues.id ?? '', - index: -1, - }) - setIsOpen(true) - }} - /> - | -{translate('::ListForms.ListFormFieldEdit.FieldName')} | -{translate('::ListForms.ListFormEdit.FieldDbType')} | -{translate('::ListForms.ListFormEdit.CustomValueType')} | -{translate('::ListForms.ListFormEdit.Value')} | -{translate('::ListForms.ListFormEdit.SqlQuery')} | -
|---|---|---|---|---|---|
|
-
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Insert.InsertFieldsDefaultValuesJsonRow,
- operation: 'update',
- id: initialValues.id ?? '',
- index,
- crudValues: initialValues.insertFieldsDefaultValueDto[index],
- })
- setIsOpen(true)
- }}
- />
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Insert.InsertFieldsDefaultValuesJsonRow,
- operation: 'delete',
- id: initialValues.id ?? '',
- index,
- })
- setIsOpen(true)
- }}
- />
-
- |
- {row.fieldName} | -{dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} | -{FieldCustomValueTypeEnum[row.customValueType]} | -{row.value} | -{row.sqlQuery} | -
| - } - onClick={async (e) => { - e.preventDefault() - setData({ - tabName: ListFormEditTabs.Database.Insert.FormFieldsDefaultValuesJsonRow, - operation: 'create', - id: initialValues.id ?? '', - index: -1, - }) - setIsOpen(true) - }} - /> - | -{translate('::ListForms.ListFormFieldEdit.FieldName')} | -{translate('::ListForms.ListFormEdit.FieldDbType')} | -{translate('::ListForms.ListFormEdit.CustomValueType')} | -{translate('::ListForms.ListFormEdit.Value')} | -{translate('::ListForms.ListFormEdit.SqlQuery')} | -
|---|---|---|---|---|---|
|
-
- }
- onClick={() => {
- setData({
- tabName: ListFormEditTabs.Database.Insert.FormFieldsDefaultValuesJsonRow,
- operation: 'update',
- id: initialValues.id ?? '',
- index,
- crudValues: initialValues.formFieldsDefaultValueDto[index],
- })
- setIsOpen(true)
- }}
- />
- }
- onClick={() => {
- setData({
- tabName: ListFormEditTabs.Database.Insert.FormFieldsDefaultValuesJsonRow,
- operation: 'delete',
- id: initialValues.id ?? '',
- index,
- })
- setIsOpen(true)
- }}
- />
-
- |
- {row.fieldName} | -{dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} | -{FieldCustomValueTypeEnum[row.customValueType]} | -{row.value} | -{row.sqlQuery} | -
| + } + onClick={async (e) => { + e.preventDefault() + setData({ + tabName: + ListFormEditTabs.Database.Select.SelectFieldsDefaultValuesJsonRow, + operation: 'create', + id: initialValues.id ?? '', + index: -1, + }) + setIsOpen(true) + }} + /> + | +{translate('::ListForms.ListFormFieldEdit.FieldName')} | +{translate('::ListForms.ListFormEdit.FieldDbType')} | +{translate('::ListForms.ListFormEdit.CustomValueType')} | +{translate('::ListForms.ListFormEdit.Value')} | +{translate('::ListForms.ListFormEdit.SqlQuery')} | +
|---|---|---|---|---|---|
|
+
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Select
+ .SelectFieldsDefaultValuesJsonRow,
+ operation: 'update',
+ id: initialValues.id ?? '',
+ index,
+ crudValues: initialValues.selectFieldsDefaultValueDto[index],
+ })
+ setIsOpen(true)
+ }}
+ />
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Select
+ .SelectFieldsDefaultValuesJsonRow,
+ operation: 'delete',
+ id: initialValues.id ?? '',
+ index,
+ })
+ setIsOpen(true)
+ }}
+ />
+
+ |
+ {row.fieldName} | ++ {dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} + | +{FieldCustomValueTypeEnum[row.customValueType]} | +{row.value} | +{row.sqlQuery} | +
| - } - onClick={async (e) => { - e.preventDefault() - setData({ - tabName: ListFormEditTabs.Database.Select.SelectFieldsDefaultValuesJsonRow, - operation: 'create', - id: initialValues.id ?? '', - index: -1, - }) - setIsOpen(true) - }} - /> - | -{translate('::ListForms.ListFormFieldEdit.FieldName')} | -{translate('::ListForms.ListFormEdit.FieldDbType')} | -{translate('::ListForms.ListFormEdit.CustomValueType')} | -{translate('::ListForms.ListFormEdit.Value')} | -{translate('::ListForms.ListFormEdit.SqlQuery')} | -
|---|---|---|---|---|---|
|
-
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Select.SelectFieldsDefaultValuesJsonRow,
- operation: 'update',
- id: initialValues.id ?? '',
- index,
- crudValues: initialValues.selectFieldsDefaultValueDto[index],
- })
- setIsOpen(true)
- }}
- />
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Select.SelectFieldsDefaultValuesJsonRow,
- operation: 'delete',
- id: initialValues.id ?? '',
- index,
- })
- setIsOpen(true)
- }}
- />
-
- |
- {row.fieldName} | -{dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} | -{FieldCustomValueTypeEnum[row.customValueType]} | -{row.value} | -{row.sqlQuery} | -
| + } + onClick={async (e) => { + e.preventDefault() + setData({ + tabName: + ListFormEditTabs.Database.Update.UpdateFieldsDefaultValuesJsonRow, + operation: 'create', + id: initialValues.id ?? '', + index: -1, + }) + setIsOpen(true) + }} + /> + | +{translate('::ListForms.ListFormFieldEdit.FieldName')} | +{translate('::ListForms.ListFormEdit.FieldDbType')} | +{translate('::ListForms.ListFormEdit.CustomValueType')} | +{translate('::ListForms.ListFormEdit.Value')} | +{translate('::ListForms.ListFormEdit.SqlQuery')} | +
|---|---|---|---|---|---|
|
+
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Update
+ .UpdateFieldsDefaultValuesJsonRow,
+ operation: 'update',
+ id: initialValues.id ?? '',
+ index,
+ crudValues: initialValues.updateFieldsDefaultValueDto[index],
+ })
+ setIsOpen(true)
+ }}
+ />
+ }
+ onClick={() => {
+ setData({
+ tabName:
+ ListFormEditTabs.Database.Update
+ .UpdateFieldsDefaultValuesJsonRow,
+ operation: 'delete',
+ id: initialValues.id ?? '',
+ index,
+ })
+ setIsOpen(true)
+ }}
+ />
+
+ |
+ {row.fieldName} | ++ {dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} + | +{FieldCustomValueTypeEnum[row.customValueType]} | +{row.value} | +{row.sqlQuery} | +
| - } - onClick={async (e) => { - e.preventDefault() - setData({ - tabName: ListFormEditTabs.Database.Update.UpdateFieldsDefaultValuesJsonRow, - operation: 'create', - id: initialValues.id ?? '', - index: -1, - }) - setIsOpen(true) - }} - /> - | -{translate('::ListForms.ListFormFieldEdit.FieldName')} | -{translate('::ListForms.ListFormEdit.FieldDbType')} | -{translate('::ListForms.ListFormEdit.CustomValueType')} | -{translate('::ListForms.ListFormEdit.Value')} | -{translate('::ListForms.ListFormEdit.SqlQuery')} | -
|---|---|---|---|---|---|
|
-
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Update.UpdateFieldsDefaultValuesJsonRow,
- operation: 'update',
- id: initialValues.id ?? '',
- index,
- crudValues: initialValues.updateFieldsDefaultValueDto[index],
- })
- setIsOpen(true)
- }}
- />
- }
- onClick={() => {
- setData({
- tabName:
- ListFormEditTabs.Database.Update.UpdateFieldsDefaultValuesJsonRow,
- operation: 'delete',
- id: initialValues.id ?? '',
- index,
- })
- setIsOpen(true)
- }}
- />
-
- |
- {row.fieldName} | -{dbSourceTypeOptions.find((a: any) => a.value === row.fieldDbType)?.label} | -{FieldCustomValueTypeEnum[row.customValueType]} | -{row.value} | -{row.sqlQuery} | -