diff --git a/examples/sites/demos/apis/grid.js b/examples/sites/demos/apis/grid.js index dc5d37aea..731c70269 100644 --- a/examples/sites/demos/apis/grid.js +++ b/examples/sites/demos/apis/grid.js @@ -4082,7 +4082,7 @@ interface IPagerConfig { pageSize: number pageSizes: number[] total: number - // 分页组件布局默认值:'total, prev, pager, next, jumper, sizes' + // 分页组件布局默认值:'total, prev, pager, next, jumper' layout: string } } @@ -4435,7 +4435,7 @@ interface IPageChangeArgs { $grid: Component // 当前页码 currentPage: number - //当前分页组件布局信息 'total, prev, pager, next, jumper, sizes' + //当前分页组件布局信息 'total, prev, pager, next, jumper' layout: string // 当前每页显示条数 pageSize: number diff --git a/examples/sites/demos/apis/transfer.js b/examples/sites/demos/apis/transfer.js index 35aaa0d95..9b87e4e44 100644 --- a/examples/sites/demos/apis/transfer.js +++ b/examples/sites/demos/apis/transfer.js @@ -440,7 +440,7 @@ interface IPagerOp { currentPage: number pageSize: number pageSizes: number[] - layout: string // 分页组件布局默认值:'total, prev, pager, next, jumper, sizes' + layout: string // 分页组件布局默认值:'total, prev, pager, next, jumper' } } ` diff --git a/examples/sites/demos/mobile-first/app/grid/basic-usage.vue b/examples/sites/demos/mobile-first/app/grid/basic-usage.vue index b4c9a2d09..822876b00 100644 --- a/examples/sites/demos/mobile-first/app/grid/basic-usage.vue +++ b/examples/sites/demos/mobile-first/app/grid/basic-usage.vue @@ -146,7 +146,7 @@ export default { pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/mobile-first/app/grid/height-auto.vue b/examples/sites/demos/mobile-first/app/grid/height-auto.vue index 4c06a934c..7789271aa 100644 --- a/examples/sites/demos/mobile-first/app/grid/height-auto.vue +++ b/examples/sites/demos/mobile-first/app/grid/height-auto.vue @@ -77,7 +77,7 @@ export default { pageSize: 60, pageSizes: [5, 10, 60], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote-composition-api.vue b/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote-composition-api.vue index 312805347..7b7e65795 100644 --- a/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote-composition-api.vue @@ -31,7 +31,7 @@ const pager = ref({ pageSize: 3, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote.vue b/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote.vue index c50a764dc..616c9335d 100644 --- a/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote.vue +++ b/examples/sites/demos/pc/app/grid/custom/ordercolumn-remote.vue @@ -39,7 +39,7 @@ export default { pageSize: 3, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/custom/page-size-composition-api.vue b/examples/sites/demos/pc/app/grid/custom/page-size-composition-api.vue index 711de7b34..9bd5ea1e5 100644 --- a/examples/sites/demos/pc/app/grid/custom/page-size-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/custom/page-size-composition-api.vue @@ -24,7 +24,7 @@ const pager = ref({ pageSize: 10, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/custom/page-size.vue b/examples/sites/demos/pc/app/grid/custom/page-size.vue index 6a019b9fc..60df10bf4 100644 --- a/examples/sites/demos/pc/app/grid/custom/page-size.vue +++ b/examples/sites/demos/pc/app/grid/custom/page-size.vue @@ -31,7 +31,7 @@ export default { pageSize: 10, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/custom/reset-method-composition-api.vue b/examples/sites/demos/pc/app/grid/custom/reset-method-composition-api.vue index 3ac076b92..fa3ad9b62 100644 --- a/examples/sites/demos/pc/app/grid/custom/reset-method-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/custom/reset-method-composition-api.vue @@ -29,7 +29,7 @@ const pager = ref({ pageSize: 10, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/custom/reset-method.vue b/examples/sites/demos/pc/app/grid/custom/reset-method.vue index dcb6ca3e8..88c65e134 100644 --- a/examples/sites/demos/pc/app/grid/custom/reset-method.vue +++ b/examples/sites/demos/pc/app/grid/custom/reset-method.vue @@ -65,7 +65,7 @@ export default { pageSize: 10, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/custom/server-storage-composition-api.vue b/examples/sites/demos/pc/app/grid/custom/server-storage-composition-api.vue index e76e1c058..e07554207 100644 --- a/examples/sites/demos/pc/app/grid/custom/server-storage-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/custom/server-storage-composition-api.vue @@ -29,7 +29,7 @@ const pager = ref({ pageSize: 3, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/custom/server-storage.vue b/examples/sites/demos/pc/app/grid/custom/server-storage.vue index 4f10dacdf..ddda31cd2 100644 --- a/examples/sites/demos/pc/app/grid/custom/server-storage.vue +++ b/examples/sites/demos/pc/app/grid/custom/server-storage.vue @@ -36,7 +36,7 @@ export default { pageSize: 3, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/custom/sort-type-composition-api.vue b/examples/sites/demos/pc/app/grid/custom/sort-type-composition-api.vue index d12367395..2c5b72eb4 100644 --- a/examples/sites/demos/pc/app/grid/custom/sort-type-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/custom/sort-type-composition-api.vue @@ -24,7 +24,7 @@ const pager = ref({ pageSize: 10, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/custom/sort-type.vue b/examples/sites/demos/pc/app/grid/custom/sort-type.vue index 217c96008..3b7a3bd03 100644 --- a/examples/sites/demos/pc/app/grid/custom/sort-type.vue +++ b/examples/sites/demos/pc/app/grid/custom/sort-type.vue @@ -31,7 +31,7 @@ export default { pageSize: 10, total: 0, pageSizes: [3, 5, 10, 20], - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/data-source/auto-load-composition-api.vue b/examples/sites/demos/pc/app/grid/data-source/auto-load-composition-api.vue index 9bd93c1e2..034f5484d 100644 --- a/examples/sites/demos/pc/app/grid/data-source/auto-load-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/data-source/auto-load-composition-api.vue @@ -21,7 +21,7 @@ const pagerConfig = ref({ pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/data-source/auto-load.vue b/examples/sites/demos/pc/app/grid/data-source/auto-load.vue index 842cd063b..bedc150be 100644 --- a/examples/sites/demos/pc/app/grid/data-source/auto-load.vue +++ b/examples/sites/demos/pc/app/grid/data-source/auto-load.vue @@ -27,7 +27,7 @@ export default { pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering-composition-api.vue b/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering-composition-api.vue index c84a3159f..75aebe96c 100644 --- a/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering-composition-api.vue @@ -24,7 +24,7 @@ const pagerConfig = ref({ pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering.vue b/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering.vue index 8a9918a80..ca89725ff 100644 --- a/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering.vue +++ b/examples/sites/demos/pc/app/grid/data-source/column-asyn-rendering.vue @@ -30,7 +30,7 @@ export default { pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch-composition-api.vue b/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch-composition-api.vue index eabaa4486..a07b4bcd5 100644 --- a/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch-composition-api.vue @@ -23,7 +23,7 @@ const pagerConfig = ref({ pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch.vue b/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch.vue index 5e6825607..f3504c0ae 100644 --- a/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch.vue +++ b/examples/sites/demos/pc/app/grid/data-source/defslot-protochain-fetch.vue @@ -29,7 +29,7 @@ export default { pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/data-source/request-service-composition-api.vue b/examples/sites/demos/pc/app/grid/data-source/request-service-composition-api.vue index 1a15fc8ba..fc3b67cfa 100644 --- a/examples/sites/demos/pc/app/grid/data-source/request-service-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/data-source/request-service-composition-api.vue @@ -24,7 +24,7 @@ const pagerConfig = ref({ pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const fetchData = ref({ diff --git a/examples/sites/demos/pc/app/grid/data-source/request-service.vue b/examples/sites/demos/pc/app/grid/data-source/request-service.vue index 6e32df8c4..d46d3cc1b 100644 --- a/examples/sites/demos/pc/app/grid/data-source/request-service.vue +++ b/examples/sites/demos/pc/app/grid/data-source/request-service.vue @@ -31,7 +31,7 @@ export default { pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, fetchData: { diff --git a/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns-composition-api.vue b/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns-composition-api.vue index 301eea43b..db30f049a 100644 --- a/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns-composition-api.vue @@ -38,7 +38,7 @@ const pagerConfig = ref({ pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }) const value = ref([new Date(2020, 1), new Date()]) diff --git a/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns.vue b/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns.vue index efe1227e2..21dc5488d 100644 --- a/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns.vue +++ b/examples/sites/demos/pc/app/grid/dynamically-columns/dynamically-columns.vue @@ -45,7 +45,7 @@ export default { pageSize: 5, pageSizes: [5, 10], total: 0, - layout: 'total, prev, pager, next, jumper, sizes' + layout: 'total, sizes, prev, pager, next, jumper' } }, value: [new Date(2020, 1), new Date()], diff --git a/examples/sites/demos/pc/app/grid/empty/empty-data-default-tip-composition-api.vue b/examples/sites/demos/pc/app/grid/empty/empty-data-default-tip-composition-api.vue index 3018010c9..d98c1b2a5 100644 --- a/examples/sites/demos/pc/app/grid/empty/empty-data-default-tip-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/empty/empty-data-default-tip-composition-api.vue @@ -1,6 +1,5 @@