mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:29:16 +00:00
Merge branch 'main' into next
This commit is contained in:
commit
34ab7fb349
@ -35,7 +35,7 @@ export const array = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("contains")}}',
|
label: '{{t("is any of")}}',
|
||||||
value: '$anyOf',
|
value: '$anyOf',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'Select',
|
'x-component': 'Select',
|
||||||
@ -43,7 +43,7 @@ export const array = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("does not contain")}}',
|
label: '{{t("is none of")}}',
|
||||||
value: '$noneOf',
|
value: '$noneOf',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'Select',
|
'x-component': 'Select',
|
||||||
@ -102,7 +102,7 @@ export const enumType = [
|
|||||||
schema: { 'x-component': 'Select' },
|
schema: { 'x-component': 'Select' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("contains")}}',
|
label: '{{t("is any of")}}',
|
||||||
value: '$in',
|
value: '$in',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'Select',
|
'x-component': 'Select',
|
||||||
@ -110,7 +110,7 @@ export const enumType = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("does not contain")}}',
|
label: '{{t("is none of")}}',
|
||||||
value: '$notIn',
|
value: '$notIn',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'Select',
|
'x-component': 'Select',
|
||||||
@ -135,7 +135,7 @@ export const boolean = [
|
|||||||
|
|
||||||
export const tableoid = [
|
export const tableoid = [
|
||||||
{
|
{
|
||||||
label: '{{t("contains")}}',
|
label: '{{t("is any of")}}',
|
||||||
value: '$childIn',
|
value: '$childIn',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'CollectionSelect',
|
'x-component': 'CollectionSelect',
|
||||||
@ -143,7 +143,7 @@ export const tableoid = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("does not contain")}}',
|
label: '{{t("is none of")}}',
|
||||||
value: '$childNotIn',
|
value: '$childNotIn',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'CollectionSelect',
|
'x-component': 'CollectionSelect',
|
||||||
@ -165,7 +165,7 @@ export const collection = [
|
|||||||
schema: { 'x-component': 'CollectionSelect' },
|
schema: { 'x-component': 'CollectionSelect' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("contains")}}',
|
label: '{{t("is any of")}}',
|
||||||
value: '$in',
|
value: '$in',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'CollectionSelect',
|
'x-component': 'CollectionSelect',
|
||||||
@ -173,7 +173,7 @@ export const collection = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '{{t("does not contain")}}',
|
label: '{{t("is none of")}}',
|
||||||
value: '$notIn',
|
value: '$notIn',
|
||||||
schema: {
|
schema: {
|
||||||
'x-component': 'CollectionSelect',
|
'x-component': 'CollectionSelect',
|
||||||
|
@ -836,5 +836,7 @@
|
|||||||
"Search": "Search",
|
"Search": "Search",
|
||||||
"Clear default value": "Clear default value",
|
"Clear default value": "Clear default value",
|
||||||
"Open in new window": "Open in new window",
|
"Open in new window": "Open in new window",
|
||||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist."
|
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||||
|
"is none of": "is none of",
|
||||||
|
"is any of": "is any of"
|
||||||
}
|
}
|
||||||
|
@ -966,6 +966,8 @@
|
|||||||
"Search": "搜索",
|
"Search": "搜索",
|
||||||
"Clear default value": "清除默认值",
|
"Clear default value": "清除默认值",
|
||||||
"Open in new window": "新窗口打开",
|
"Open in new window": "新窗口打开",
|
||||||
|
"is none of": "不包含任何一个",
|
||||||
|
"is any of": "包含任何一个",
|
||||||
"Paging mode": "分页模式",
|
"Paging mode": "分页模式",
|
||||||
"Simple Paginate": "简单分页",
|
"Simple Paginate": "简单分页",
|
||||||
"Sorry, the page you visited does not exist.": "抱歉,你访问的页面不存在。",
|
"Sorry, the page you visited does not exist.": "抱歉,你访问的页面不存在。",
|
||||||
|
@ -631,8 +631,9 @@ export const Table: any = withDynamicSchemaProps(
|
|||||||
if (!dragSort && !showIndex) {
|
if (!dragSort && !showIndex) {
|
||||||
return originNode;
|
return originNode;
|
||||||
}
|
}
|
||||||
const current = props?.pagination?.current;
|
const current = paginationProps?.current;
|
||||||
const pageSize = props?.pagination?.pageSize || 20;
|
|
||||||
|
const pageSize = paginationProps?.pageSize || 20;
|
||||||
if (current) {
|
if (current) {
|
||||||
index = index + (current - 1) * pageSize + 1;
|
index = index + (current - 1) * pageSize + 1;
|
||||||
} else {
|
} else {
|
||||||
@ -681,6 +682,7 @@ export const Table: any = withDynamicSchemaProps(
|
|||||||
getRowKey,
|
getRowKey,
|
||||||
isRowSelect,
|
isRowSelect,
|
||||||
memoizedRowSelection,
|
memoizedRowSelection,
|
||||||
|
paginationProps,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user