@1money/component-ui 0.0.68 → 0.0.69

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.
Files changed (57) hide show
  1. package/es/components/ProForm/interface.d.ts +3 -1
  2. package/es/components/ProForm/layouts/QueryFilter.js +5 -1
  3. package/es/components/ProTable/ProTable.d.ts +5 -0
  4. package/es/components/ProTable/ProTable.js +309 -0
  5. package/es/components/ProTable/constants.d.ts +12 -0
  6. package/es/components/ProTable/constants.js +12 -0
  7. package/es/components/ProTable/core/genColumns.d.ts +10 -0
  8. package/es/components/ProTable/core/genColumns.js +81 -0
  9. package/es/components/ProTable/core/genSearchFields.d.ts +19 -0
  10. package/es/components/ProTable/core/genSearchFields.js +103 -0
  11. package/es/components/ProTable/core/useAwaitableReload.d.ts +17 -0
  12. package/es/components/ProTable/core/useAwaitableReload.js +39 -0
  13. package/es/components/ProTable/core/utils.d.ts +12 -0
  14. package/es/components/ProTable/core/utils.js +21 -0
  15. package/es/components/ProTable/index.d.ts +4 -0
  16. package/es/components/ProTable/index.js +5 -0
  17. package/es/components/ProTable/interface.d.ts +132 -0
  18. package/es/components/ProTable/interface.js +2 -0
  19. package/es/components/ProTable/style/ProTable.css +47 -0
  20. package/es/components/ProTable/style/css.js +6 -0
  21. package/es/components/ProTable/style/index.d.ts +5 -0
  22. package/es/components/ProTable/style/index.js +6 -0
  23. package/es/components/ProTable/useFetchData.d.ts +48 -0
  24. package/es/components/ProTable/useFetchData.js +270 -0
  25. package/es/index.css +1 -1
  26. package/es/index.d.ts +2 -0
  27. package/es/index.js +2 -1
  28. package/lib/components/ProForm/interface.d.ts +3 -1
  29. package/lib/components/ProForm/layouts/QueryFilter.js +5 -1
  30. package/lib/components/ProTable/ProTable.d.ts +5 -0
  31. package/lib/components/ProTable/ProTable.js +316 -0
  32. package/lib/components/ProTable/constants.d.ts +12 -0
  33. package/lib/components/ProTable/constants.js +18 -0
  34. package/lib/components/ProTable/core/genColumns.d.ts +10 -0
  35. package/lib/components/ProTable/core/genColumns.js +87 -0
  36. package/lib/components/ProTable/core/genSearchFields.d.ts +19 -0
  37. package/lib/components/ProTable/core/genSearchFields.js +111 -0
  38. package/lib/components/ProTable/core/useAwaitableReload.d.ts +17 -0
  39. package/lib/components/ProTable/core/useAwaitableReload.js +46 -0
  40. package/lib/components/ProTable/core/utils.d.ts +12 -0
  41. package/lib/components/ProTable/core/utils.js +28 -0
  42. package/lib/components/ProTable/index.d.ts +4 -0
  43. package/lib/components/ProTable/index.js +33 -0
  44. package/lib/components/ProTable/interface.d.ts +132 -0
  45. package/lib/components/ProTable/interface.js +6 -0
  46. package/lib/components/ProTable/style/ProTable.css +47 -0
  47. package/lib/components/ProTable/style/css.js +8 -0
  48. package/lib/components/ProTable/style/index.d.ts +5 -0
  49. package/lib/components/ProTable/style/index.js +8 -0
  50. package/lib/components/ProTable/useFetchData.d.ts +48 -0
  51. package/lib/components/ProTable/useFetchData.js +277 -0
  52. package/lib/index.css +1 -1
  53. package/lib/index.d.ts +2 -0
  54. package/lib/index.js +8 -1
  55. package/package.json +6 -1
  56. package/scripts/mcp-server/examples.generated.json +156 -0
  57. package/scripts/mcp-server/index.generated.json +733 -1
@@ -6101,6 +6101,41 @@
6101
6101
  }
6102
6102
  ]
6103
6103
  },
6104
+ {
6105
+ "name": "PageInfo",
6106
+ "kind": "type",
6107
+ "category": "misc",
6108
+ "summary": "",
6109
+ "importPath": "@1money/component-ui",
6110
+ "subpathImport": "@1money/component-ui/ProTable",
6111
+ "sourceFile": "src/components/ProTable/interface.ts",
6112
+ "props": [],
6113
+ "extends": [],
6114
+ "relatedSymbols": [
6115
+ "ProColumnType",
6116
+ "ProColumns",
6117
+ "ProTable",
6118
+ "ProTableActionRef",
6119
+ "ProTableFilterParam",
6120
+ "ProTablePaginationConfig",
6121
+ "ProTableProps",
6122
+ "ProTableRequest",
6123
+ "ProTableRequestOptions",
6124
+ "ProTableSearchConfig",
6125
+ "ProTableSortParam",
6126
+ "ProTableValueType",
6127
+ "RequestData"
6128
+ ],
6129
+ "searchTags": [],
6130
+ "typeText": "interface PageInfo { ... }",
6131
+ "canonicalUsage": "import type { PageInfo } from '@1money/component-ui';",
6132
+ "examples": [
6133
+ {
6134
+ "hash": "33db47be47e69335be15961d8d37e926b1d72728a7448e118e1f45342b5efe90",
6135
+ "source": "canonical"
6136
+ }
6137
+ ]
6138
+ },
6104
6139
  {
6105
6140
  "name": "Pagination",
6106
6141
  "kind": "component",
@@ -6693,6 +6728,76 @@
6693
6728
  }
6694
6729
  ]
6695
6730
  },
6731
+ {
6732
+ "name": "ProColumnType",
6733
+ "kind": "type",
6734
+ "category": "misc",
6735
+ "summary": "",
6736
+ "importPath": "@1money/component-ui",
6737
+ "subpathImport": "@1money/component-ui/ProTable",
6738
+ "sourceFile": "src/components/ProTable/interface.ts",
6739
+ "props": [],
6740
+ "extends": [],
6741
+ "relatedSymbols": [
6742
+ "PageInfo",
6743
+ "ProColumns",
6744
+ "ProTable",
6745
+ "ProTableActionRef",
6746
+ "ProTableFilterParam",
6747
+ "ProTablePaginationConfig",
6748
+ "ProTableProps",
6749
+ "ProTableRequest",
6750
+ "ProTableRequestOptions",
6751
+ "ProTableSearchConfig",
6752
+ "ProTableSortParam",
6753
+ "ProTableValueType",
6754
+ "RequestData"
6755
+ ],
6756
+ "searchTags": [],
6757
+ "typeText": "interface ProColumnType extends TableColumn<T> { ... }",
6758
+ "canonicalUsage": "import type { ProColumnType } from '@1money/component-ui';",
6759
+ "examples": [
6760
+ {
6761
+ "hash": "cd42a4ae26039dd9956fce470d69264a237e0e39e19d90387a230c840b80937e",
6762
+ "source": "canonical"
6763
+ }
6764
+ ]
6765
+ },
6766
+ {
6767
+ "name": "ProColumns",
6768
+ "kind": "type",
6769
+ "category": "misc",
6770
+ "summary": "",
6771
+ "importPath": "@1money/component-ui",
6772
+ "subpathImport": "@1money/component-ui/ProTable",
6773
+ "sourceFile": "src/components/ProTable/interface.ts",
6774
+ "props": [],
6775
+ "extends": [],
6776
+ "relatedSymbols": [
6777
+ "PageInfo",
6778
+ "ProColumnType",
6779
+ "ProTable",
6780
+ "ProTableActionRef",
6781
+ "ProTableFilterParam",
6782
+ "ProTablePaginationConfig",
6783
+ "ProTableProps",
6784
+ "ProTableRequest",
6785
+ "ProTableRequestOptions",
6786
+ "ProTableSearchConfig",
6787
+ "ProTableSortParam",
6788
+ "ProTableValueType",
6789
+ "RequestData"
6790
+ ],
6791
+ "searchTags": [],
6792
+ "typeText": "ProColumnType<T>",
6793
+ "canonicalUsage": "import type { ProColumns } from '@1money/component-ui';",
6794
+ "examples": [
6795
+ {
6796
+ "hash": "57ff1347ba7ccdd496e0d9dd794bac50508a1c5fe6575da91a623939ec2ddaec",
6797
+ "source": "canonical"
6798
+ }
6799
+ ]
6800
+ },
6696
6801
  {
6697
6802
  "name": "ProForm",
6698
6803
  "kind": "module",
@@ -9967,6 +10072,598 @@
9967
10072
  }
9968
10073
  ]
9969
10074
  },
10075
+ {
10076
+ "name": "ProTable",
10077
+ "kind": "component",
10078
+ "category": "misc",
10079
+ "summary": "",
10080
+ "importPath": "@1money/component-ui",
10081
+ "subpathImport": "@1money/component-ui/ProTable",
10082
+ "sourceFile": "src/components/ProTable/ProTable.tsx",
10083
+ "props": [
10084
+ {
10085
+ "name": "prefixCls",
10086
+ "type": "string",
10087
+ "optional": true,
10088
+ "default": null,
10089
+ "description": "",
10090
+ "inheritedFrom": null
10091
+ },
10092
+ {
10093
+ "name": "className",
10094
+ "type": "string",
10095
+ "optional": true,
10096
+ "default": null,
10097
+ "description": "",
10098
+ "inheritedFrom": null
10099
+ },
10100
+ {
10101
+ "name": "columns",
10102
+ "type": "ProColumns<T>[]",
10103
+ "optional": false,
10104
+ "default": null,
10105
+ "description": "Column definitions.",
10106
+ "inheritedFrom": null
10107
+ },
10108
+ {
10109
+ "name": "request",
10110
+ "type": "ProTableRequest<T, Params>",
10111
+ "optional": true,
10112
+ "default": null,
10113
+ "description": "Server data source.",
10114
+ "inheritedFrom": null
10115
+ },
10116
+ {
10117
+ "name": "params",
10118
+ "type": "Params",
10119
+ "optional": true,
10120
+ "default": null,
10121
+ "description": "Extra params merged into every request; a change triggers a refetch (resets to page 1).",
10122
+ "inheritedFrom": null
10123
+ },
10124
+ {
10125
+ "name": "dataSource",
10126
+ "type": "T[]",
10127
+ "optional": true,
10128
+ "default": null,
10129
+ "description": "Controlled data — when provided, `request` is ignored (presentational mode).",
10130
+ "inheritedFrom": null
10131
+ },
10132
+ {
10133
+ "name": "loading",
10134
+ "type": "boolean",
10135
+ "optional": true,
10136
+ "default": null,
10137
+ "description": "Controlled loading — overrides the internal request loading.",
10138
+ "inheritedFrom": null
10139
+ },
10140
+ {
10141
+ "name": "defaultData",
10142
+ "type": "T[]",
10143
+ "optional": true,
10144
+ "default": null,
10145
+ "description": "Initial data before the first request resolves.",
10146
+ "inheritedFrom": null
10147
+ },
10148
+ {
10149
+ "name": "manualRequest",
10150
+ "type": "boolean",
10151
+ "optional": true,
10152
+ "default": null,
10153
+ "description": "Skip the initial auto request; only fetch after the first search / `reload`.",
10154
+ "inheritedFrom": null
10155
+ },
10156
+ {
10157
+ "name": "debounceTime",
10158
+ "type": "number",
10159
+ "optional": true,
10160
+ "default": null,
10161
+ "description": "Debounce (ms) applied to every request trigger.",
10162
+ "inheritedFrom": null
10163
+ },
10164
+ {
10165
+ "name": "postData",
10166
+ "type": "(data: T[]) => T[]",
10167
+ "optional": true,
10168
+ "default": null,
10169
+ "description": "Transform the response rows before they are rendered.",
10170
+ "inheritedFrom": null
10171
+ },
10172
+ {
10173
+ "name": "beforeSearchSubmit",
10174
+ "type": "(params: Record<string, unknown>) => Record<string, unknown>",
10175
+ "optional": true,
10176
+ "default": null,
10177
+ "description": "Transform the whole search-param set before it is sent to `request`.",
10178
+ "inheritedFrom": null
10179
+ },
10180
+ {
10181
+ "name": "columnEmptyText",
10182
+ "type": "ReactNode",
10183
+ "optional": true,
10184
+ "default": null,
10185
+ "description": "Placeholder rendered for empty cell values (defaults to `'-'`).",
10186
+ "inheritedFrom": null
10187
+ },
10188
+ {
10189
+ "name": "polling",
10190
+ "type": "number | ((data: T[]) => number)",
10191
+ "optional": true,
10192
+ "default": null,
10193
+ "description": "Poll interval (ms), or a function of the current rows.",
10194
+ "inheritedFrom": null
10195
+ },
10196
+ {
10197
+ "name": "searchFormRender",
10198
+ "type": "(defaultDom: ReactNode) => ReactNode",
10199
+ "optional": true,
10200
+ "default": null,
10201
+ "description": "Customize the rendered search form; receives the default QueryFilter node.",
10202
+ "inheritedFrom": null
10203
+ },
10204
+ {
10205
+ "name": "pagination",
10206
+ "type": "false | ProTablePaginationConfig",
10207
+ "optional": true,
10208
+ "default": null,
10209
+ "description": "",
10210
+ "inheritedFrom": null
10211
+ },
10212
+ {
10213
+ "name": "search",
10214
+ "type": "false | SearchConfig",
10215
+ "optional": true,
10216
+ "default": null,
10217
+ "description": "",
10218
+ "inheritedFrom": null
10219
+ },
10220
+ {
10221
+ "name": "rowSelection",
10222
+ "type": "TableRowSelection<T>",
10223
+ "optional": true,
10224
+ "default": null,
10225
+ "description": "",
10226
+ "inheritedFrom": null
10227
+ },
10228
+ {
10229
+ "name": "size",
10230
+ "type": "TableSize",
10231
+ "optional": true,
10232
+ "default": null,
10233
+ "description": "",
10234
+ "inheritedFrom": null
10235
+ },
10236
+ {
10237
+ "name": "actionRef",
10238
+ "type": "Ref<ProTableActionRef>",
10239
+ "optional": true,
10240
+ "default": null,
10241
+ "description": "",
10242
+ "inheritedFrom": null
10243
+ },
10244
+ {
10245
+ "name": "onLoad",
10246
+ "type": "(data: T[]) => void",
10247
+ "optional": true,
10248
+ "default": null,
10249
+ "description": "",
10250
+ "inheritedFrom": null
10251
+ },
10252
+ {
10253
+ "name": "onLoadingChange",
10254
+ "type": "(loading: boolean) => void",
10255
+ "optional": true,
10256
+ "default": null,
10257
+ "description": "",
10258
+ "inheritedFrom": null
10259
+ },
10260
+ {
10261
+ "name": "onRequestError",
10262
+ "type": "(error: Error) => void",
10263
+ "optional": true,
10264
+ "default": null,
10265
+ "description": "",
10266
+ "inheritedFrom": null
10267
+ },
10268
+ {
10269
+ "name": "onChange",
10270
+ "type": "(meta: TableChangeMeta<T>) => void",
10271
+ "optional": true,
10272
+ "default": null,
10273
+ "description": "Forwarded from the base Table (sort/filter changes).",
10274
+ "inheritedFrom": null
10275
+ }
10276
+ ],
10277
+ "extends": [
10278
+ "Pick<\n TableProps<T>,\n | 'rowKey'\n | 'rowSelection'\n | 'variant'\n | 'bordered'\n | 'scroll'\n | 'sticky'\n | 'expandable'\n | 'empty'\n | 'tableLayout'\n | 'rowClassName'\n | 'onRow'\n | 'size'\n | 'summary'\n | 'footer'\n >"
10279
+ ],
10280
+ "relatedSymbols": [
10281
+ "PageInfo",
10282
+ "ProColumnType",
10283
+ "ProColumns",
10284
+ "ProTableActionRef",
10285
+ "ProTableFilterParam",
10286
+ "ProTablePaginationConfig",
10287
+ "ProTableProps",
10288
+ "ProTableRequest",
10289
+ "ProTableRequestOptions",
10290
+ "ProTableSearchConfig",
10291
+ "ProTableSortParam",
10292
+ "ProTableValueType",
10293
+ "RequestData"
10294
+ ],
10295
+ "searchTags": [],
10296
+ "canonicalUsage": "<ProTable columns={[]} />",
10297
+ "examples": [
10298
+ {
10299
+ "hash": "fe6a0fb4c4a94f2cf1df34a21ae14ebf73d8ad996a9488188024ca97ab48779d",
10300
+ "source": "canonical"
10301
+ },
10302
+ {
10303
+ "hash": "74f5da9a09e06d9d070a4672ca86016fd56695dd053d8b5bfb5f5f4388eadd32",
10304
+ "source": "readme"
10305
+ },
10306
+ {
10307
+ "hash": "abaf53378348a997d22cd4e9abbef98299cae2f9597be56cb07ed01f22fc9873",
10308
+ "source": "stories"
10309
+ },
10310
+ {
10311
+ "hash": "0cb8c4fd00efb76a91510af0a0dc73e9b8038f72e83e2d744fc6f93a335d3360",
10312
+ "source": "stories"
10313
+ },
10314
+ {
10315
+ "hash": "e024315a2f1dcf7cf465a191a64d32d97dca2a5d2fb8acaa9c26d879110e58a7",
10316
+ "source": "stories"
10317
+ },
10318
+ {
10319
+ "hash": "7b6838321be00522ecf9f40b6a75b74937c56c30c616018c27cefe71bbfeae6b",
10320
+ "source": "stories"
10321
+ },
10322
+ {
10323
+ "hash": "d59cf6cbe1b9a6cd4f989c2114ed6f88b58903941b2e534a11b7c7ec938035f3",
10324
+ "source": "stories"
10325
+ },
10326
+ {
10327
+ "hash": "b4959de742e716f15722071418612f6199039230674bd43f140761890c5beab3",
10328
+ "source": "stories"
10329
+ },
10330
+ {
10331
+ "hash": "abde9464db22ebc8e64aa1fc4696356f1163eb4efa8494e20988f66b8944bd93",
10332
+ "source": "stories"
10333
+ },
10334
+ {
10335
+ "hash": "417ba559da5a9cffb123502c6d2d2bac88a5282e9dd11211972658acff60e732",
10336
+ "source": "stories"
10337
+ },
10338
+ {
10339
+ "hash": "c03e0ad464929830ceaf5846eecf67594ec4fc4b2ad5ef6ab1371b7aa3861bd5",
10340
+ "source": "stories"
10341
+ },
10342
+ {
10343
+ "hash": "4c3c2187c625bbe7dc5cab33734e2af943114c2ca2a04823b5de1bb409ee0ef8",
10344
+ "source": "stories"
10345
+ },
10346
+ {
10347
+ "hash": "25079aa08d416f7e61ef7464a2eb602c607c747fbb4918c8a86721c025d7ecc3",
10348
+ "source": "stories"
10349
+ }
10350
+ ]
10351
+ },
10352
+ {
10353
+ "name": "ProTableActionRef",
10354
+ "kind": "type",
10355
+ "category": "misc",
10356
+ "summary": "",
10357
+ "importPath": "@1money/component-ui",
10358
+ "subpathImport": "@1money/component-ui/ProTable",
10359
+ "sourceFile": "src/components/ProTable/interface.ts",
10360
+ "props": [],
10361
+ "extends": [],
10362
+ "relatedSymbols": [
10363
+ "PageInfo",
10364
+ "ProColumnType",
10365
+ "ProColumns",
10366
+ "ProTable",
10367
+ "ProTableFilterParam",
10368
+ "ProTablePaginationConfig",
10369
+ "ProTableProps",
10370
+ "ProTableRequest",
10371
+ "ProTableRequestOptions",
10372
+ "ProTableSearchConfig",
10373
+ "ProTableSortParam",
10374
+ "ProTableValueType",
10375
+ "RequestData"
10376
+ ],
10377
+ "searchTags": [],
10378
+ "typeText": "interface ProTableActionRef { ... }",
10379
+ "canonicalUsage": "import type { ProTableActionRef } from '@1money/component-ui';",
10380
+ "examples": [
10381
+ {
10382
+ "hash": "7a0e4785288364faa77b47c711d9cb8bb29a6e0cd2f660fc8f072e2105e4de19",
10383
+ "source": "canonical"
10384
+ }
10385
+ ]
10386
+ },
10387
+ {
10388
+ "name": "ProTableFilterParam",
10389
+ "kind": "type",
10390
+ "category": "misc",
10391
+ "summary": "Filter params handed to `request`, keyed by column key.",
10392
+ "importPath": "@1money/component-ui",
10393
+ "subpathImport": "@1money/component-ui/ProTable",
10394
+ "sourceFile": "src/components/ProTable/interface.ts",
10395
+ "props": [],
10396
+ "extends": [],
10397
+ "relatedSymbols": [
10398
+ "PageInfo",
10399
+ "ProColumnType",
10400
+ "ProColumns",
10401
+ "ProTable",
10402
+ "ProTableActionRef",
10403
+ "ProTablePaginationConfig",
10404
+ "ProTableProps",
10405
+ "ProTableRequest",
10406
+ "ProTableRequestOptions",
10407
+ "ProTableSearchConfig",
10408
+ "ProTableSortParam",
10409
+ "ProTableValueType",
10410
+ "RequestData"
10411
+ ],
10412
+ "searchTags": [],
10413
+ "typeText": "Record<string, (string | number | boolean)[] | null>",
10414
+ "canonicalUsage": "import type { ProTableFilterParam } from '@1money/component-ui';",
10415
+ "examples": [
10416
+ {
10417
+ "hash": "8e19de5738263b5509de14bb45dcd068219a4616fe239b90d94ab63f7b49f309",
10418
+ "source": "canonical"
10419
+ }
10420
+ ]
10421
+ },
10422
+ {
10423
+ "name": "ProTablePaginationConfig",
10424
+ "kind": "type",
10425
+ "category": "misc",
10426
+ "summary": "",
10427
+ "importPath": "@1money/component-ui",
10428
+ "subpathImport": "@1money/component-ui/ProTable",
10429
+ "sourceFile": "src/components/ProTable/interface.ts",
10430
+ "props": [],
10431
+ "extends": [],
10432
+ "relatedSymbols": [
10433
+ "PageInfo",
10434
+ "ProColumnType",
10435
+ "ProColumns",
10436
+ "ProTable",
10437
+ "ProTableActionRef",
10438
+ "ProTableFilterParam",
10439
+ "ProTableProps",
10440
+ "ProTableRequest",
10441
+ "ProTableRequestOptions",
10442
+ "ProTableSearchConfig",
10443
+ "ProTableSortParam",
10444
+ "ProTableValueType",
10445
+ "RequestData"
10446
+ ],
10447
+ "searchTags": [],
10448
+ "typeText": "interface ProTablePaginationConfig { ... }",
10449
+ "canonicalUsage": "import type { ProTablePaginationConfig } from '@1money/component-ui';",
10450
+ "examples": [
10451
+ {
10452
+ "hash": "751ee5b4feccc294aea6b8d34c65c5fd940f001fe46471a26cbb7d67f971aa48",
10453
+ "source": "canonical"
10454
+ }
10455
+ ]
10456
+ },
10457
+ {
10458
+ "name": "ProTableProps",
10459
+ "kind": "type",
10460
+ "category": "misc",
10461
+ "summary": "",
10462
+ "importPath": "@1money/component-ui",
10463
+ "subpathImport": "@1money/component-ui/ProTable",
10464
+ "sourceFile": "src/components/ProTable/interface.ts",
10465
+ "props": [],
10466
+ "extends": [],
10467
+ "relatedSymbols": [
10468
+ "PageInfo",
10469
+ "ProColumnType",
10470
+ "ProColumns",
10471
+ "ProTable",
10472
+ "ProTableActionRef",
10473
+ "ProTableFilterParam",
10474
+ "ProTablePaginationConfig",
10475
+ "ProTableRequest",
10476
+ "ProTableRequestOptions",
10477
+ "ProTableSearchConfig",
10478
+ "ProTableSortParam",
10479
+ "ProTableValueType",
10480
+ "RequestData"
10481
+ ],
10482
+ "searchTags": [],
10483
+ "typeText": "interface ProTableProps extends Pick<\n TableProps<T>,\n | 'rowKey'\n | 'rowSelection'\n | 'variant'\n | 'bordered'\n | 'scroll'\n | 'sticky'\n | 'expandable'\n | 'empty'\n | 'tableLayout'\n | 'rowClassName'\n | 'onRow'\n | 'size'\n | 'summary'\n | 'footer'\n > { ... }",
10484
+ "canonicalUsage": "import type { ProTableProps } from '@1money/component-ui';",
10485
+ "examples": [
10486
+ {
10487
+ "hash": "8979fef9d9b73e44acb11c0dc4a8f1f792c8e29db2f24d5613e196f9c69414e4",
10488
+ "source": "canonical"
10489
+ }
10490
+ ]
10491
+ },
10492
+ {
10493
+ "name": "ProTableRequest",
10494
+ "kind": "type",
10495
+ "category": "misc",
10496
+ "summary": "The `request` contract.",
10497
+ "importPath": "@1money/component-ui",
10498
+ "subpathImport": "@1money/component-ui/ProTable",
10499
+ "sourceFile": "src/components/ProTable/interface.ts",
10500
+ "props": [],
10501
+ "extends": [],
10502
+ "relatedSymbols": [
10503
+ "PageInfo",
10504
+ "ProColumnType",
10505
+ "ProColumns",
10506
+ "ProTable",
10507
+ "ProTableActionRef",
10508
+ "ProTableFilterParam",
10509
+ "ProTablePaginationConfig",
10510
+ "ProTableProps",
10511
+ "ProTableRequestOptions",
10512
+ "ProTableSearchConfig",
10513
+ "ProTableSortParam",
10514
+ "ProTableValueType",
10515
+ "RequestData"
10516
+ ],
10517
+ "searchTags": [],
10518
+ "typeText": "(\n params: Params & { current?: number; pageSize?: number },\n sort: ProTableSortParam,\n filter: ProTableFilterParam,\n options?: ProTableRequestOptions,\n) => Promise<RequestData<T>>",
10519
+ "canonicalUsage": "import type { ProTableRequest } from '@1money/component-ui';",
10520
+ "examples": [
10521
+ {
10522
+ "hash": "91b867963c8770d8b5e23b0323c47c0d4e3b5b166eb238a1041701349dfc9001",
10523
+ "source": "canonical"
10524
+ }
10525
+ ]
10526
+ },
10527
+ {
10528
+ "name": "ProTableRequestOptions",
10529
+ "kind": "type",
10530
+ "category": "misc",
10531
+ "summary": "Extra options passed to `request` — notably an `AbortSignal` for cancellation.",
10532
+ "importPath": "@1money/component-ui",
10533
+ "subpathImport": "@1money/component-ui/ProTable",
10534
+ "sourceFile": "src/components/ProTable/interface.ts",
10535
+ "props": [],
10536
+ "extends": [],
10537
+ "relatedSymbols": [
10538
+ "PageInfo",
10539
+ "ProColumnType",
10540
+ "ProColumns",
10541
+ "ProTable",
10542
+ "ProTableActionRef",
10543
+ "ProTableFilterParam",
10544
+ "ProTablePaginationConfig",
10545
+ "ProTableProps",
10546
+ "ProTableRequest",
10547
+ "ProTableSearchConfig",
10548
+ "ProTableSortParam",
10549
+ "ProTableValueType",
10550
+ "RequestData"
10551
+ ],
10552
+ "searchTags": [],
10553
+ "typeText": "interface ProTableRequestOptions { ... }",
10554
+ "canonicalUsage": "import type { ProTableRequestOptions } from '@1money/component-ui';",
10555
+ "examples": [
10556
+ {
10557
+ "hash": "4b9a57dbde427ffd194787644e0091864371e1f35991edeace439d33370041f5",
10558
+ "source": "canonical"
10559
+ }
10560
+ ]
10561
+ },
10562
+ {
10563
+ "name": "ProTableSearchConfig",
10564
+ "kind": "type",
10565
+ "category": "misc",
10566
+ "summary": "",
10567
+ "importPath": "@1money/component-ui",
10568
+ "subpathImport": "@1money/component-ui/ProTable",
10569
+ "sourceFile": "src/components/ProTable/interface.ts",
10570
+ "props": [],
10571
+ "extends": [],
10572
+ "relatedSymbols": [
10573
+ "PageInfo",
10574
+ "ProColumnType",
10575
+ "ProColumns",
10576
+ "ProTable",
10577
+ "ProTableActionRef",
10578
+ "ProTableFilterParam",
10579
+ "ProTablePaginationConfig",
10580
+ "ProTableProps",
10581
+ "ProTableRequest",
10582
+ "ProTableRequestOptions",
10583
+ "ProTableSortParam",
10584
+ "ProTableValueType",
10585
+ "RequestData"
10586
+ ],
10587
+ "searchTags": [],
10588
+ "typeText": "interface SearchConfig { ... }",
10589
+ "canonicalUsage": "import type { ProTableSearchConfig } from '@1money/component-ui';",
10590
+ "examples": [
10591
+ {
10592
+ "hash": "5e4a1e7f42117899a1f06f5dcf4469d63fece4188872c96a30a2c83155f54149",
10593
+ "source": "canonical"
10594
+ }
10595
+ ]
10596
+ },
10597
+ {
10598
+ "name": "ProTableSortParam",
10599
+ "kind": "type",
10600
+ "category": "misc",
10601
+ "summary": "Sort params handed to `request` — `{ [columnKey]: 'ascend' | 'descend' }`.",
10602
+ "importPath": "@1money/component-ui",
10603
+ "subpathImport": "@1money/component-ui/ProTable",
10604
+ "sourceFile": "src/components/ProTable/interface.ts",
10605
+ "props": [],
10606
+ "extends": [],
10607
+ "relatedSymbols": [
10608
+ "PageInfo",
10609
+ "ProColumnType",
10610
+ "ProColumns",
10611
+ "ProTable",
10612
+ "ProTableActionRef",
10613
+ "ProTableFilterParam",
10614
+ "ProTablePaginationConfig",
10615
+ "ProTableProps",
10616
+ "ProTableRequest",
10617
+ "ProTableRequestOptions",
10618
+ "ProTableSearchConfig",
10619
+ "ProTableValueType",
10620
+ "RequestData"
10621
+ ],
10622
+ "searchTags": [],
10623
+ "typeText": "Record<string, Exclude<TableSortOrder, null>>",
10624
+ "canonicalUsage": "import type { ProTableSortParam } from '@1money/component-ui';",
10625
+ "examples": [
10626
+ {
10627
+ "hash": "a3c04ea8f222c29b0830d8a5764e0417ef35ac0040c3306ad6cbd3e891721678",
10628
+ "source": "canonical"
10629
+ }
10630
+ ]
10631
+ },
10632
+ {
10633
+ "name": "ProTableValueType",
10634
+ "kind": "type",
10635
+ "category": "misc",
10636
+ "summary": "",
10637
+ "importPath": "@1money/component-ui",
10638
+ "subpathImport": "@1money/component-ui/ProTable",
10639
+ "sourceFile": "src/components/ProTable/constants.ts",
10640
+ "props": [],
10641
+ "extends": [],
10642
+ "relatedSymbols": [
10643
+ "PageInfo",
10644
+ "ProColumnType",
10645
+ "ProColumns",
10646
+ "ProTable",
10647
+ "ProTableActionRef",
10648
+ "ProTableFilterParam",
10649
+ "ProTablePaginationConfig",
10650
+ "ProTableProps",
10651
+ "ProTableRequest",
10652
+ "ProTableRequestOptions",
10653
+ "ProTableSearchConfig",
10654
+ "ProTableSortParam",
10655
+ "RequestData"
10656
+ ],
10657
+ "searchTags": [],
10658
+ "typeText": "(typeof VALUE_TYPES)[number]",
10659
+ "canonicalUsage": "import type { ProTableValueType } from '@1money/component-ui';",
10660
+ "examples": [
10661
+ {
10662
+ "hash": "f474abaf6391f2f1dd676b737fafef015afe1934991cb063aef209566001ec42",
10663
+ "source": "canonical"
10664
+ }
10665
+ ]
10666
+ },
9970
10667
  {
9971
10668
  "name": "Progress",
9972
10669
  "kind": "component",
@@ -10278,7 +10975,7 @@
10278
10975
  },
10279
10976
  {
10280
10977
  "name": "searchConfig",
10281
- "type": "{\n searchText?: ReactNode;\n resetText?: ReactNode;\n }",
10978
+ "type": "{\n searchText?: ReactNode;\n resetText?: ReactNode;\n /** Size of the search / reset / collapse buttons. Defaults to the Button default. */\n size?: ButtonSize;\n }",
10282
10979
  "optional": true,
10283
10980
  "default": null,
10284
10981
  "description": "",
@@ -11093,6 +11790,41 @@
11093
11790
  }
11094
11791
  ]
11095
11792
  },
11793
+ {
11794
+ "name": "RequestData",
11795
+ "kind": "type",
11796
+ "category": "misc",
11797
+ "summary": "Shape returned by the `request` prop.",
11798
+ "importPath": "@1money/component-ui",
11799
+ "subpathImport": "@1money/component-ui/ProTable",
11800
+ "sourceFile": "src/components/ProTable/interface.ts",
11801
+ "props": [],
11802
+ "extends": [],
11803
+ "relatedSymbols": [
11804
+ "PageInfo",
11805
+ "ProColumnType",
11806
+ "ProColumns",
11807
+ "ProTable",
11808
+ "ProTableActionRef",
11809
+ "ProTableFilterParam",
11810
+ "ProTablePaginationConfig",
11811
+ "ProTableProps",
11812
+ "ProTableRequest",
11813
+ "ProTableRequestOptions",
11814
+ "ProTableSearchConfig",
11815
+ "ProTableSortParam",
11816
+ "ProTableValueType"
11817
+ ],
11818
+ "searchTags": [],
11819
+ "typeText": "interface RequestData { ... }",
11820
+ "canonicalUsage": "import type { RequestData } from '@1money/component-ui';",
11821
+ "examples": [
11822
+ {
11823
+ "hash": "f93334b3d2b00ea0b4a1821a8c537eb851f5bd212f364700b7b238898a59948e",
11824
+ "source": "canonical"
11825
+ }
11826
+ ]
11827
+ },
11096
11828
  {
11097
11829
  "name": "ResizeObserver",
11098
11830
  "kind": "component",