@fbkworks/adapter-core 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -353,6 +353,14 @@ interface DrawerProps {
|
|
|
353
353
|
showClose?: boolean;
|
|
354
354
|
}
|
|
355
355
|
interface PaginationProps {
|
|
356
|
+
/**
|
|
357
|
+
* 分页形态。默认值由各适配器自己决定,但**必须与它的
|
|
358
|
+
* `capabilities.pagination.mode` 一致** —— 能力位说 infinite、原语默认却是页码时,
|
|
359
|
+
* 「只通过 primitives.* 使用」的业务方会拿到与能力声明相反的东西。
|
|
360
|
+
*
|
|
361
|
+
* 移动端适配器(vant)默认 `'infinite'`,桌面端默认 `'pages'`。
|
|
362
|
+
*/
|
|
363
|
+
mode?: 'pages' | 'infinite';
|
|
356
364
|
page: number;
|
|
357
365
|
pageSize: number;
|
|
358
366
|
total: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -353,6 +353,14 @@ interface DrawerProps {
|
|
|
353
353
|
showClose?: boolean;
|
|
354
354
|
}
|
|
355
355
|
interface PaginationProps {
|
|
356
|
+
/**
|
|
357
|
+
* 分页形态。默认值由各适配器自己决定,但**必须与它的
|
|
358
|
+
* `capabilities.pagination.mode` 一致** —— 能力位说 infinite、原语默认却是页码时,
|
|
359
|
+
* 「只通过 primitives.* 使用」的业务方会拿到与能力声明相反的东西。
|
|
360
|
+
*
|
|
361
|
+
* 移动端适配器(vant)默认 `'infinite'`,桌面端默认 `'pages'`。
|
|
362
|
+
*/
|
|
363
|
+
mode?: 'pages' | 'infinite';
|
|
356
364
|
page: number;
|
|
357
365
|
pageSize: number;
|
|
358
366
|
total: number;
|