@1money/component-ui 0.0.68 → 0.0.70

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 (69) hide show
  1. package/es/components/Icons/Wrapper.js +6 -4
  2. package/es/components/Icons/constants.d.ts +11 -0
  3. package/es/components/Icons/constants.js +32 -0
  4. package/es/components/Icons/index.d.ts +2 -0
  5. package/es/components/Icons/index.js +2 -1
  6. package/es/components/Icons/interface.d.ts +8 -1
  7. package/es/components/ProForm/interface.d.ts +3 -1
  8. package/es/components/ProForm/layouts/QueryFilter.js +5 -1
  9. package/es/components/ProTable/ProTable.d.ts +5 -0
  10. package/es/components/ProTable/ProTable.js +309 -0
  11. package/es/components/ProTable/constants.d.ts +12 -0
  12. package/es/components/ProTable/constants.js +12 -0
  13. package/es/components/ProTable/core/genColumns.d.ts +10 -0
  14. package/es/components/ProTable/core/genColumns.js +81 -0
  15. package/es/components/ProTable/core/genSearchFields.d.ts +19 -0
  16. package/es/components/ProTable/core/genSearchFields.js +103 -0
  17. package/es/components/ProTable/core/useAwaitableReload.d.ts +17 -0
  18. package/es/components/ProTable/core/useAwaitableReload.js +39 -0
  19. package/es/components/ProTable/core/utils.d.ts +12 -0
  20. package/es/components/ProTable/core/utils.js +21 -0
  21. package/es/components/ProTable/index.d.ts +4 -0
  22. package/es/components/ProTable/index.js +5 -0
  23. package/es/components/ProTable/interface.d.ts +132 -0
  24. package/es/components/ProTable/interface.js +2 -0
  25. package/es/components/ProTable/style/ProTable.css +47 -0
  26. package/es/components/ProTable/style/css.js +6 -0
  27. package/es/components/ProTable/style/index.d.ts +5 -0
  28. package/es/components/ProTable/style/index.js +6 -0
  29. package/es/components/ProTable/useFetchData.d.ts +48 -0
  30. package/es/components/ProTable/useFetchData.js +270 -0
  31. package/es/index.css +1 -1
  32. package/es/index.d.ts +3 -1
  33. package/es/index.js +2 -1
  34. package/lib/components/Icons/Wrapper.js +6 -4
  35. package/lib/components/Icons/constants.d.ts +11 -0
  36. package/lib/components/Icons/constants.js +38 -0
  37. package/lib/components/Icons/index.d.ts +2 -0
  38. package/lib/components/Icons/index.js +10 -2
  39. package/lib/components/Icons/interface.d.ts +8 -1
  40. package/lib/components/ProForm/interface.d.ts +3 -1
  41. package/lib/components/ProForm/layouts/QueryFilter.js +5 -1
  42. package/lib/components/ProTable/ProTable.d.ts +5 -0
  43. package/lib/components/ProTable/ProTable.js +316 -0
  44. package/lib/components/ProTable/constants.d.ts +12 -0
  45. package/lib/components/ProTable/constants.js +18 -0
  46. package/lib/components/ProTable/core/genColumns.d.ts +10 -0
  47. package/lib/components/ProTable/core/genColumns.js +87 -0
  48. package/lib/components/ProTable/core/genSearchFields.d.ts +19 -0
  49. package/lib/components/ProTable/core/genSearchFields.js +111 -0
  50. package/lib/components/ProTable/core/useAwaitableReload.d.ts +17 -0
  51. package/lib/components/ProTable/core/useAwaitableReload.js +46 -0
  52. package/lib/components/ProTable/core/utils.d.ts +12 -0
  53. package/lib/components/ProTable/core/utils.js +28 -0
  54. package/lib/components/ProTable/index.d.ts +4 -0
  55. package/lib/components/ProTable/index.js +33 -0
  56. package/lib/components/ProTable/interface.d.ts +132 -0
  57. package/lib/components/ProTable/interface.js +6 -0
  58. package/lib/components/ProTable/style/ProTable.css +47 -0
  59. package/lib/components/ProTable/style/css.js +8 -0
  60. package/lib/components/ProTable/style/index.d.ts +5 -0
  61. package/lib/components/ProTable/style/index.js +8 -0
  62. package/lib/components/ProTable/useFetchData.d.ts +48 -0
  63. package/lib/components/ProTable/useFetchData.js +277 -0
  64. package/lib/index.css +1 -1
  65. package/lib/index.d.ts +3 -1
  66. package/lib/index.js +8 -1
  67. package/package.json +6 -1
  68. package/scripts/mcp-server/examples.generated.json +168 -6
  69. package/scripts/mcp-server/index.generated.json +778 -4
@@ -4198,6 +4198,36 @@
4198
4198
  }
4199
4199
  ]
4200
4200
  },
4201
+ {
4202
+ "name": "IconColor",
4203
+ "kind": "type",
4204
+ "category": "display",
4205
+ "summary": "",
4206
+ "importPath": "@1money/component-ui",
4207
+ "subpathImport": "@1money/component-ui/Icons",
4208
+ "sourceFile": "src/components/Icons/constants.ts",
4209
+ "props": [],
4210
+ "extends": [],
4211
+ "relatedSymbols": [
4212
+ "IconHover",
4213
+ "IconHoverProps",
4214
+ "IconName",
4215
+ "IconWrapper",
4216
+ "IconWrapperProps",
4217
+ "Icons",
4218
+ "IconsProps",
4219
+ "SortIconStatus"
4220
+ ],
4221
+ "searchTags": [],
4222
+ "typeText": "(typeof ICON_COLORS)[number]",
4223
+ "canonicalUsage": "import { Icons, IconWrapper, IconHover } from '@1money/component-ui';\n// or\nimport { Icons, IconWrapper, IconHover } from '@1money/component-ui/Icons';\n\n// Type imports\nimport type { IconName, SortIconStatus } from '@1money/component-ui';",
4224
+ "examples": [
4225
+ {
4226
+ "hash": "920c6084b0c74e8e6ccd8e98e3afd2477bffb820950ef10b1e933c2597cd446f",
4227
+ "source": "canonical"
4228
+ }
4229
+ ]
4230
+ },
4201
4231
  {
4202
4232
  "name": "IconHover",
4203
4233
  "kind": "component",
@@ -4236,6 +4266,7 @@
4236
4266
  "Omit<HTMLAttributes<HTMLDivElement>, 'prefix'>"
4237
4267
  ],
4238
4268
  "relatedSymbols": [
4269
+ "IconColor",
4239
4270
  "IconHoverProps",
4240
4271
  "IconName",
4241
4272
  "IconWrapper",
@@ -4264,6 +4295,7 @@
4264
4295
  "props": [],
4265
4296
  "extends": [],
4266
4297
  "relatedSymbols": [
4298
+ "IconColor",
4267
4299
  "IconHover",
4268
4300
  "IconName",
4269
4301
  "IconWrapper",
@@ -4293,6 +4325,7 @@
4293
4325
  "props": [],
4294
4326
  "extends": [],
4295
4327
  "relatedSymbols": [
4328
+ "IconColor",
4296
4329
  "IconHover",
4297
4330
  "IconHoverProps",
4298
4331
  "IconWrapper",
@@ -4386,10 +4419,10 @@
4386
4419
  },
4387
4420
  {
4388
4421
  "name": "color",
4389
- "type": "string",
4422
+ "type": "IconColor | (string & {})",
4390
4423
  "optional": true,
4391
4424
  "default": null,
4392
- "description": "",
4425
+ "description": "Icon color.",
4393
4426
  "inheritedFrom": null
4394
4427
  },
4395
4428
  {
@@ -4451,6 +4484,7 @@
4451
4484
  ],
4452
4485
  "extends": [],
4453
4486
  "relatedSymbols": [
4487
+ "IconColor",
4454
4488
  "IconHover",
4455
4489
  "IconHoverProps",
4456
4490
  "IconName",
@@ -4479,6 +4513,7 @@
4479
4513
  "props": [],
4480
4514
  "extends": [],
4481
4515
  "relatedSymbols": [
4516
+ "IconColor",
4482
4517
  "IconHover",
4483
4518
  "IconHoverProps",
4484
4519
  "IconName",
@@ -4519,6 +4554,7 @@
4519
4554
  "IconWrapperProps"
4520
4555
  ],
4521
4556
  "relatedSymbols": [
4557
+ "IconColor",
4522
4558
  "IconHover",
4523
4559
  "IconHoverProps",
4524
4560
  "IconName",
@@ -4542,13 +4578,17 @@
4542
4578
  "source": "readme"
4543
4579
  },
4544
4580
  {
4545
- "hash": "4f5fdd8a79c7852bdaed287804732ad6fa022ac45f139a22e6e5b025cba9e945",
4581
+ "hash": "18b5babb008fa311cca1db58d27cf8305ceba1d3555adb4eaaa0fdf18270bee8",
4546
4582
  "source": "readme"
4547
4583
  },
4548
4584
  {
4549
4585
  "hash": "b2c3325448f12418ef1b7e0fdabadbd1b6d8eb991cfd3c0b126919566721c209",
4550
4586
  "source": "stories"
4551
4587
  },
4588
+ {
4589
+ "hash": "cc1b63c5e648261537f386cf08fda7df5794949f9b27ab6931cd87204c52b538",
4590
+ "source": "stories"
4591
+ },
4552
4592
  {
4553
4593
  "hash": "a56b698411c5aa0624871fc60a5699dc1b9226f3ce9553b8fc9f1bbe7a3e4be7",
4554
4594
  "source": "stories"
@@ -4578,6 +4618,7 @@
4578
4618
  "props": [],
4579
4619
  "extends": [],
4580
4620
  "relatedSymbols": [
4621
+ "IconColor",
4581
4622
  "IconHover",
4582
4623
  "IconHoverProps",
4583
4624
  "IconName",
@@ -6101,6 +6142,41 @@
6101
6142
  }
6102
6143
  ]
6103
6144
  },
6145
+ {
6146
+ "name": "PageInfo",
6147
+ "kind": "type",
6148
+ "category": "misc",
6149
+ "summary": "",
6150
+ "importPath": "@1money/component-ui",
6151
+ "subpathImport": "@1money/component-ui/ProTable",
6152
+ "sourceFile": "src/components/ProTable/interface.ts",
6153
+ "props": [],
6154
+ "extends": [],
6155
+ "relatedSymbols": [
6156
+ "ProColumnType",
6157
+ "ProColumns",
6158
+ "ProTable",
6159
+ "ProTableActionRef",
6160
+ "ProTableFilterParam",
6161
+ "ProTablePaginationConfig",
6162
+ "ProTableProps",
6163
+ "ProTableRequest",
6164
+ "ProTableRequestOptions",
6165
+ "ProTableSearchConfig",
6166
+ "ProTableSortParam",
6167
+ "ProTableValueType",
6168
+ "RequestData"
6169
+ ],
6170
+ "searchTags": [],
6171
+ "typeText": "interface PageInfo { ... }",
6172
+ "canonicalUsage": "import type { PageInfo } from '@1money/component-ui';",
6173
+ "examples": [
6174
+ {
6175
+ "hash": "33db47be47e69335be15961d8d37e926b1d72728a7448e118e1f45342b5efe90",
6176
+ "source": "canonical"
6177
+ }
6178
+ ]
6179
+ },
6104
6180
  {
6105
6181
  "name": "Pagination",
6106
6182
  "kind": "component",
@@ -6693,6 +6769,76 @@
6693
6769
  }
6694
6770
  ]
6695
6771
  },
6772
+ {
6773
+ "name": "ProColumnType",
6774
+ "kind": "type",
6775
+ "category": "misc",
6776
+ "summary": "",
6777
+ "importPath": "@1money/component-ui",
6778
+ "subpathImport": "@1money/component-ui/ProTable",
6779
+ "sourceFile": "src/components/ProTable/interface.ts",
6780
+ "props": [],
6781
+ "extends": [],
6782
+ "relatedSymbols": [
6783
+ "PageInfo",
6784
+ "ProColumns",
6785
+ "ProTable",
6786
+ "ProTableActionRef",
6787
+ "ProTableFilterParam",
6788
+ "ProTablePaginationConfig",
6789
+ "ProTableProps",
6790
+ "ProTableRequest",
6791
+ "ProTableRequestOptions",
6792
+ "ProTableSearchConfig",
6793
+ "ProTableSortParam",
6794
+ "ProTableValueType",
6795
+ "RequestData"
6796
+ ],
6797
+ "searchTags": [],
6798
+ "typeText": "interface ProColumnType extends TableColumn<T> { ... }",
6799
+ "canonicalUsage": "import type { ProColumnType } from '@1money/component-ui';",
6800
+ "examples": [
6801
+ {
6802
+ "hash": "cd42a4ae26039dd9956fce470d69264a237e0e39e19d90387a230c840b80937e",
6803
+ "source": "canonical"
6804
+ }
6805
+ ]
6806
+ },
6807
+ {
6808
+ "name": "ProColumns",
6809
+ "kind": "type",
6810
+ "category": "misc",
6811
+ "summary": "",
6812
+ "importPath": "@1money/component-ui",
6813
+ "subpathImport": "@1money/component-ui/ProTable",
6814
+ "sourceFile": "src/components/ProTable/interface.ts",
6815
+ "props": [],
6816
+ "extends": [],
6817
+ "relatedSymbols": [
6818
+ "PageInfo",
6819
+ "ProColumnType",
6820
+ "ProTable",
6821
+ "ProTableActionRef",
6822
+ "ProTableFilterParam",
6823
+ "ProTablePaginationConfig",
6824
+ "ProTableProps",
6825
+ "ProTableRequest",
6826
+ "ProTableRequestOptions",
6827
+ "ProTableSearchConfig",
6828
+ "ProTableSortParam",
6829
+ "ProTableValueType",
6830
+ "RequestData"
6831
+ ],
6832
+ "searchTags": [],
6833
+ "typeText": "ProColumnType<T>",
6834
+ "canonicalUsage": "import type { ProColumns } from '@1money/component-ui';",
6835
+ "examples": [
6836
+ {
6837
+ "hash": "57ff1347ba7ccdd496e0d9dd794bac50508a1c5fe6575da91a623939ec2ddaec",
6838
+ "source": "canonical"
6839
+ }
6840
+ ]
6841
+ },
6696
6842
  {
6697
6843
  "name": "ProForm",
6698
6844
  "kind": "module",
@@ -9967,6 +10113,598 @@
9967
10113
  }
9968
10114
  ]
9969
10115
  },
10116
+ {
10117
+ "name": "ProTable",
10118
+ "kind": "component",
10119
+ "category": "misc",
10120
+ "summary": "",
10121
+ "importPath": "@1money/component-ui",
10122
+ "subpathImport": "@1money/component-ui/ProTable",
10123
+ "sourceFile": "src/components/ProTable/ProTable.tsx",
10124
+ "props": [
10125
+ {
10126
+ "name": "prefixCls",
10127
+ "type": "string",
10128
+ "optional": true,
10129
+ "default": null,
10130
+ "description": "",
10131
+ "inheritedFrom": null
10132
+ },
10133
+ {
10134
+ "name": "className",
10135
+ "type": "string",
10136
+ "optional": true,
10137
+ "default": null,
10138
+ "description": "",
10139
+ "inheritedFrom": null
10140
+ },
10141
+ {
10142
+ "name": "columns",
10143
+ "type": "ProColumns<T>[]",
10144
+ "optional": false,
10145
+ "default": null,
10146
+ "description": "Column definitions.",
10147
+ "inheritedFrom": null
10148
+ },
10149
+ {
10150
+ "name": "request",
10151
+ "type": "ProTableRequest<T, Params>",
10152
+ "optional": true,
10153
+ "default": null,
10154
+ "description": "Server data source.",
10155
+ "inheritedFrom": null
10156
+ },
10157
+ {
10158
+ "name": "params",
10159
+ "type": "Params",
10160
+ "optional": true,
10161
+ "default": null,
10162
+ "description": "Extra params merged into every request; a change triggers a refetch (resets to page 1).",
10163
+ "inheritedFrom": null
10164
+ },
10165
+ {
10166
+ "name": "dataSource",
10167
+ "type": "T[]",
10168
+ "optional": true,
10169
+ "default": null,
10170
+ "description": "Controlled data — when provided, `request` is ignored (presentational mode).",
10171
+ "inheritedFrom": null
10172
+ },
10173
+ {
10174
+ "name": "loading",
10175
+ "type": "boolean",
10176
+ "optional": true,
10177
+ "default": null,
10178
+ "description": "Controlled loading — overrides the internal request loading.",
10179
+ "inheritedFrom": null
10180
+ },
10181
+ {
10182
+ "name": "defaultData",
10183
+ "type": "T[]",
10184
+ "optional": true,
10185
+ "default": null,
10186
+ "description": "Initial data before the first request resolves.",
10187
+ "inheritedFrom": null
10188
+ },
10189
+ {
10190
+ "name": "manualRequest",
10191
+ "type": "boolean",
10192
+ "optional": true,
10193
+ "default": null,
10194
+ "description": "Skip the initial auto request; only fetch after the first search / `reload`.",
10195
+ "inheritedFrom": null
10196
+ },
10197
+ {
10198
+ "name": "debounceTime",
10199
+ "type": "number",
10200
+ "optional": true,
10201
+ "default": null,
10202
+ "description": "Debounce (ms) applied to every request trigger.",
10203
+ "inheritedFrom": null
10204
+ },
10205
+ {
10206
+ "name": "postData",
10207
+ "type": "(data: T[]) => T[]",
10208
+ "optional": true,
10209
+ "default": null,
10210
+ "description": "Transform the response rows before they are rendered.",
10211
+ "inheritedFrom": null
10212
+ },
10213
+ {
10214
+ "name": "beforeSearchSubmit",
10215
+ "type": "(params: Record<string, unknown>) => Record<string, unknown>",
10216
+ "optional": true,
10217
+ "default": null,
10218
+ "description": "Transform the whole search-param set before it is sent to `request`.",
10219
+ "inheritedFrom": null
10220
+ },
10221
+ {
10222
+ "name": "columnEmptyText",
10223
+ "type": "ReactNode",
10224
+ "optional": true,
10225
+ "default": null,
10226
+ "description": "Placeholder rendered for empty cell values (defaults to `'-'`).",
10227
+ "inheritedFrom": null
10228
+ },
10229
+ {
10230
+ "name": "polling",
10231
+ "type": "number | ((data: T[]) => number)",
10232
+ "optional": true,
10233
+ "default": null,
10234
+ "description": "Poll interval (ms), or a function of the current rows.",
10235
+ "inheritedFrom": null
10236
+ },
10237
+ {
10238
+ "name": "searchFormRender",
10239
+ "type": "(defaultDom: ReactNode) => ReactNode",
10240
+ "optional": true,
10241
+ "default": null,
10242
+ "description": "Customize the rendered search form; receives the default QueryFilter node.",
10243
+ "inheritedFrom": null
10244
+ },
10245
+ {
10246
+ "name": "pagination",
10247
+ "type": "false | ProTablePaginationConfig",
10248
+ "optional": true,
10249
+ "default": null,
10250
+ "description": "",
10251
+ "inheritedFrom": null
10252
+ },
10253
+ {
10254
+ "name": "search",
10255
+ "type": "false | SearchConfig",
10256
+ "optional": true,
10257
+ "default": null,
10258
+ "description": "",
10259
+ "inheritedFrom": null
10260
+ },
10261
+ {
10262
+ "name": "rowSelection",
10263
+ "type": "TableRowSelection<T>",
10264
+ "optional": true,
10265
+ "default": null,
10266
+ "description": "",
10267
+ "inheritedFrom": null
10268
+ },
10269
+ {
10270
+ "name": "size",
10271
+ "type": "TableSize",
10272
+ "optional": true,
10273
+ "default": null,
10274
+ "description": "",
10275
+ "inheritedFrom": null
10276
+ },
10277
+ {
10278
+ "name": "actionRef",
10279
+ "type": "Ref<ProTableActionRef>",
10280
+ "optional": true,
10281
+ "default": null,
10282
+ "description": "",
10283
+ "inheritedFrom": null
10284
+ },
10285
+ {
10286
+ "name": "onLoad",
10287
+ "type": "(data: T[]) => void",
10288
+ "optional": true,
10289
+ "default": null,
10290
+ "description": "",
10291
+ "inheritedFrom": null
10292
+ },
10293
+ {
10294
+ "name": "onLoadingChange",
10295
+ "type": "(loading: boolean) => void",
10296
+ "optional": true,
10297
+ "default": null,
10298
+ "description": "",
10299
+ "inheritedFrom": null
10300
+ },
10301
+ {
10302
+ "name": "onRequestError",
10303
+ "type": "(error: Error) => void",
10304
+ "optional": true,
10305
+ "default": null,
10306
+ "description": "",
10307
+ "inheritedFrom": null
10308
+ },
10309
+ {
10310
+ "name": "onChange",
10311
+ "type": "(meta: TableChangeMeta<T>) => void",
10312
+ "optional": true,
10313
+ "default": null,
10314
+ "description": "Forwarded from the base Table (sort/filter changes).",
10315
+ "inheritedFrom": null
10316
+ }
10317
+ ],
10318
+ "extends": [
10319
+ "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 >"
10320
+ ],
10321
+ "relatedSymbols": [
10322
+ "PageInfo",
10323
+ "ProColumnType",
10324
+ "ProColumns",
10325
+ "ProTableActionRef",
10326
+ "ProTableFilterParam",
10327
+ "ProTablePaginationConfig",
10328
+ "ProTableProps",
10329
+ "ProTableRequest",
10330
+ "ProTableRequestOptions",
10331
+ "ProTableSearchConfig",
10332
+ "ProTableSortParam",
10333
+ "ProTableValueType",
10334
+ "RequestData"
10335
+ ],
10336
+ "searchTags": [],
10337
+ "canonicalUsage": "<ProTable columns={[]} />",
10338
+ "examples": [
10339
+ {
10340
+ "hash": "fe6a0fb4c4a94f2cf1df34a21ae14ebf73d8ad996a9488188024ca97ab48779d",
10341
+ "source": "canonical"
10342
+ },
10343
+ {
10344
+ "hash": "74f5da9a09e06d9d070a4672ca86016fd56695dd053d8b5bfb5f5f4388eadd32",
10345
+ "source": "readme"
10346
+ },
10347
+ {
10348
+ "hash": "abaf53378348a997d22cd4e9abbef98299cae2f9597be56cb07ed01f22fc9873",
10349
+ "source": "stories"
10350
+ },
10351
+ {
10352
+ "hash": "0cb8c4fd00efb76a91510af0a0dc73e9b8038f72e83e2d744fc6f93a335d3360",
10353
+ "source": "stories"
10354
+ },
10355
+ {
10356
+ "hash": "e024315a2f1dcf7cf465a191a64d32d97dca2a5d2fb8acaa9c26d879110e58a7",
10357
+ "source": "stories"
10358
+ },
10359
+ {
10360
+ "hash": "7b6838321be00522ecf9f40b6a75b74937c56c30c616018c27cefe71bbfeae6b",
10361
+ "source": "stories"
10362
+ },
10363
+ {
10364
+ "hash": "d59cf6cbe1b9a6cd4f989c2114ed6f88b58903941b2e534a11b7c7ec938035f3",
10365
+ "source": "stories"
10366
+ },
10367
+ {
10368
+ "hash": "b4959de742e716f15722071418612f6199039230674bd43f140761890c5beab3",
10369
+ "source": "stories"
10370
+ },
10371
+ {
10372
+ "hash": "abde9464db22ebc8e64aa1fc4696356f1163eb4efa8494e20988f66b8944bd93",
10373
+ "source": "stories"
10374
+ },
10375
+ {
10376
+ "hash": "417ba559da5a9cffb123502c6d2d2bac88a5282e9dd11211972658acff60e732",
10377
+ "source": "stories"
10378
+ },
10379
+ {
10380
+ "hash": "c03e0ad464929830ceaf5846eecf67594ec4fc4b2ad5ef6ab1371b7aa3861bd5",
10381
+ "source": "stories"
10382
+ },
10383
+ {
10384
+ "hash": "4c3c2187c625bbe7dc5cab33734e2af943114c2ca2a04823b5de1bb409ee0ef8",
10385
+ "source": "stories"
10386
+ },
10387
+ {
10388
+ "hash": "25079aa08d416f7e61ef7464a2eb602c607c747fbb4918c8a86721c025d7ecc3",
10389
+ "source": "stories"
10390
+ }
10391
+ ]
10392
+ },
10393
+ {
10394
+ "name": "ProTableActionRef",
10395
+ "kind": "type",
10396
+ "category": "misc",
10397
+ "summary": "",
10398
+ "importPath": "@1money/component-ui",
10399
+ "subpathImport": "@1money/component-ui/ProTable",
10400
+ "sourceFile": "src/components/ProTable/interface.ts",
10401
+ "props": [],
10402
+ "extends": [],
10403
+ "relatedSymbols": [
10404
+ "PageInfo",
10405
+ "ProColumnType",
10406
+ "ProColumns",
10407
+ "ProTable",
10408
+ "ProTableFilterParam",
10409
+ "ProTablePaginationConfig",
10410
+ "ProTableProps",
10411
+ "ProTableRequest",
10412
+ "ProTableRequestOptions",
10413
+ "ProTableSearchConfig",
10414
+ "ProTableSortParam",
10415
+ "ProTableValueType",
10416
+ "RequestData"
10417
+ ],
10418
+ "searchTags": [],
10419
+ "typeText": "interface ProTableActionRef { ... }",
10420
+ "canonicalUsage": "import type { ProTableActionRef } from '@1money/component-ui';",
10421
+ "examples": [
10422
+ {
10423
+ "hash": "7a0e4785288364faa77b47c711d9cb8bb29a6e0cd2f660fc8f072e2105e4de19",
10424
+ "source": "canonical"
10425
+ }
10426
+ ]
10427
+ },
10428
+ {
10429
+ "name": "ProTableFilterParam",
10430
+ "kind": "type",
10431
+ "category": "misc",
10432
+ "summary": "Filter params handed to `request`, keyed by column key.",
10433
+ "importPath": "@1money/component-ui",
10434
+ "subpathImport": "@1money/component-ui/ProTable",
10435
+ "sourceFile": "src/components/ProTable/interface.ts",
10436
+ "props": [],
10437
+ "extends": [],
10438
+ "relatedSymbols": [
10439
+ "PageInfo",
10440
+ "ProColumnType",
10441
+ "ProColumns",
10442
+ "ProTable",
10443
+ "ProTableActionRef",
10444
+ "ProTablePaginationConfig",
10445
+ "ProTableProps",
10446
+ "ProTableRequest",
10447
+ "ProTableRequestOptions",
10448
+ "ProTableSearchConfig",
10449
+ "ProTableSortParam",
10450
+ "ProTableValueType",
10451
+ "RequestData"
10452
+ ],
10453
+ "searchTags": [],
10454
+ "typeText": "Record<string, (string | number | boolean)[] | null>",
10455
+ "canonicalUsage": "import type { ProTableFilterParam } from '@1money/component-ui';",
10456
+ "examples": [
10457
+ {
10458
+ "hash": "8e19de5738263b5509de14bb45dcd068219a4616fe239b90d94ab63f7b49f309",
10459
+ "source": "canonical"
10460
+ }
10461
+ ]
10462
+ },
10463
+ {
10464
+ "name": "ProTablePaginationConfig",
10465
+ "kind": "type",
10466
+ "category": "misc",
10467
+ "summary": "",
10468
+ "importPath": "@1money/component-ui",
10469
+ "subpathImport": "@1money/component-ui/ProTable",
10470
+ "sourceFile": "src/components/ProTable/interface.ts",
10471
+ "props": [],
10472
+ "extends": [],
10473
+ "relatedSymbols": [
10474
+ "PageInfo",
10475
+ "ProColumnType",
10476
+ "ProColumns",
10477
+ "ProTable",
10478
+ "ProTableActionRef",
10479
+ "ProTableFilterParam",
10480
+ "ProTableProps",
10481
+ "ProTableRequest",
10482
+ "ProTableRequestOptions",
10483
+ "ProTableSearchConfig",
10484
+ "ProTableSortParam",
10485
+ "ProTableValueType",
10486
+ "RequestData"
10487
+ ],
10488
+ "searchTags": [],
10489
+ "typeText": "interface ProTablePaginationConfig { ... }",
10490
+ "canonicalUsage": "import type { ProTablePaginationConfig } from '@1money/component-ui';",
10491
+ "examples": [
10492
+ {
10493
+ "hash": "751ee5b4feccc294aea6b8d34c65c5fd940f001fe46471a26cbb7d67f971aa48",
10494
+ "source": "canonical"
10495
+ }
10496
+ ]
10497
+ },
10498
+ {
10499
+ "name": "ProTableProps",
10500
+ "kind": "type",
10501
+ "category": "misc",
10502
+ "summary": "",
10503
+ "importPath": "@1money/component-ui",
10504
+ "subpathImport": "@1money/component-ui/ProTable",
10505
+ "sourceFile": "src/components/ProTable/interface.ts",
10506
+ "props": [],
10507
+ "extends": [],
10508
+ "relatedSymbols": [
10509
+ "PageInfo",
10510
+ "ProColumnType",
10511
+ "ProColumns",
10512
+ "ProTable",
10513
+ "ProTableActionRef",
10514
+ "ProTableFilterParam",
10515
+ "ProTablePaginationConfig",
10516
+ "ProTableRequest",
10517
+ "ProTableRequestOptions",
10518
+ "ProTableSearchConfig",
10519
+ "ProTableSortParam",
10520
+ "ProTableValueType",
10521
+ "RequestData"
10522
+ ],
10523
+ "searchTags": [],
10524
+ "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 > { ... }",
10525
+ "canonicalUsage": "import type { ProTableProps } from '@1money/component-ui';",
10526
+ "examples": [
10527
+ {
10528
+ "hash": "8979fef9d9b73e44acb11c0dc4a8f1f792c8e29db2f24d5613e196f9c69414e4",
10529
+ "source": "canonical"
10530
+ }
10531
+ ]
10532
+ },
10533
+ {
10534
+ "name": "ProTableRequest",
10535
+ "kind": "type",
10536
+ "category": "misc",
10537
+ "summary": "The `request` contract.",
10538
+ "importPath": "@1money/component-ui",
10539
+ "subpathImport": "@1money/component-ui/ProTable",
10540
+ "sourceFile": "src/components/ProTable/interface.ts",
10541
+ "props": [],
10542
+ "extends": [],
10543
+ "relatedSymbols": [
10544
+ "PageInfo",
10545
+ "ProColumnType",
10546
+ "ProColumns",
10547
+ "ProTable",
10548
+ "ProTableActionRef",
10549
+ "ProTableFilterParam",
10550
+ "ProTablePaginationConfig",
10551
+ "ProTableProps",
10552
+ "ProTableRequestOptions",
10553
+ "ProTableSearchConfig",
10554
+ "ProTableSortParam",
10555
+ "ProTableValueType",
10556
+ "RequestData"
10557
+ ],
10558
+ "searchTags": [],
10559
+ "typeText": "(\n params: Params & { current?: number; pageSize?: number },\n sort: ProTableSortParam,\n filter: ProTableFilterParam,\n options?: ProTableRequestOptions,\n) => Promise<RequestData<T>>",
10560
+ "canonicalUsage": "import type { ProTableRequest } from '@1money/component-ui';",
10561
+ "examples": [
10562
+ {
10563
+ "hash": "91b867963c8770d8b5e23b0323c47c0d4e3b5b166eb238a1041701349dfc9001",
10564
+ "source": "canonical"
10565
+ }
10566
+ ]
10567
+ },
10568
+ {
10569
+ "name": "ProTableRequestOptions",
10570
+ "kind": "type",
10571
+ "category": "misc",
10572
+ "summary": "Extra options passed to `request` — notably an `AbortSignal` for cancellation.",
10573
+ "importPath": "@1money/component-ui",
10574
+ "subpathImport": "@1money/component-ui/ProTable",
10575
+ "sourceFile": "src/components/ProTable/interface.ts",
10576
+ "props": [],
10577
+ "extends": [],
10578
+ "relatedSymbols": [
10579
+ "PageInfo",
10580
+ "ProColumnType",
10581
+ "ProColumns",
10582
+ "ProTable",
10583
+ "ProTableActionRef",
10584
+ "ProTableFilterParam",
10585
+ "ProTablePaginationConfig",
10586
+ "ProTableProps",
10587
+ "ProTableRequest",
10588
+ "ProTableSearchConfig",
10589
+ "ProTableSortParam",
10590
+ "ProTableValueType",
10591
+ "RequestData"
10592
+ ],
10593
+ "searchTags": [],
10594
+ "typeText": "interface ProTableRequestOptions { ... }",
10595
+ "canonicalUsage": "import type { ProTableRequestOptions } from '@1money/component-ui';",
10596
+ "examples": [
10597
+ {
10598
+ "hash": "4b9a57dbde427ffd194787644e0091864371e1f35991edeace439d33370041f5",
10599
+ "source": "canonical"
10600
+ }
10601
+ ]
10602
+ },
10603
+ {
10604
+ "name": "ProTableSearchConfig",
10605
+ "kind": "type",
10606
+ "category": "misc",
10607
+ "summary": "",
10608
+ "importPath": "@1money/component-ui",
10609
+ "subpathImport": "@1money/component-ui/ProTable",
10610
+ "sourceFile": "src/components/ProTable/interface.ts",
10611
+ "props": [],
10612
+ "extends": [],
10613
+ "relatedSymbols": [
10614
+ "PageInfo",
10615
+ "ProColumnType",
10616
+ "ProColumns",
10617
+ "ProTable",
10618
+ "ProTableActionRef",
10619
+ "ProTableFilterParam",
10620
+ "ProTablePaginationConfig",
10621
+ "ProTableProps",
10622
+ "ProTableRequest",
10623
+ "ProTableRequestOptions",
10624
+ "ProTableSortParam",
10625
+ "ProTableValueType",
10626
+ "RequestData"
10627
+ ],
10628
+ "searchTags": [],
10629
+ "typeText": "interface SearchConfig { ... }",
10630
+ "canonicalUsage": "import type { ProTableSearchConfig } from '@1money/component-ui';",
10631
+ "examples": [
10632
+ {
10633
+ "hash": "5e4a1e7f42117899a1f06f5dcf4469d63fece4188872c96a30a2c83155f54149",
10634
+ "source": "canonical"
10635
+ }
10636
+ ]
10637
+ },
10638
+ {
10639
+ "name": "ProTableSortParam",
10640
+ "kind": "type",
10641
+ "category": "misc",
10642
+ "summary": "Sort params handed to `request` — `{ [columnKey]: 'ascend' | 'descend' }`.",
10643
+ "importPath": "@1money/component-ui",
10644
+ "subpathImport": "@1money/component-ui/ProTable",
10645
+ "sourceFile": "src/components/ProTable/interface.ts",
10646
+ "props": [],
10647
+ "extends": [],
10648
+ "relatedSymbols": [
10649
+ "PageInfo",
10650
+ "ProColumnType",
10651
+ "ProColumns",
10652
+ "ProTable",
10653
+ "ProTableActionRef",
10654
+ "ProTableFilterParam",
10655
+ "ProTablePaginationConfig",
10656
+ "ProTableProps",
10657
+ "ProTableRequest",
10658
+ "ProTableRequestOptions",
10659
+ "ProTableSearchConfig",
10660
+ "ProTableValueType",
10661
+ "RequestData"
10662
+ ],
10663
+ "searchTags": [],
10664
+ "typeText": "Record<string, Exclude<TableSortOrder, null>>",
10665
+ "canonicalUsage": "import type { ProTableSortParam } from '@1money/component-ui';",
10666
+ "examples": [
10667
+ {
10668
+ "hash": "a3c04ea8f222c29b0830d8a5764e0417ef35ac0040c3306ad6cbd3e891721678",
10669
+ "source": "canonical"
10670
+ }
10671
+ ]
10672
+ },
10673
+ {
10674
+ "name": "ProTableValueType",
10675
+ "kind": "type",
10676
+ "category": "misc",
10677
+ "summary": "",
10678
+ "importPath": "@1money/component-ui",
10679
+ "subpathImport": "@1money/component-ui/ProTable",
10680
+ "sourceFile": "src/components/ProTable/constants.ts",
10681
+ "props": [],
10682
+ "extends": [],
10683
+ "relatedSymbols": [
10684
+ "PageInfo",
10685
+ "ProColumnType",
10686
+ "ProColumns",
10687
+ "ProTable",
10688
+ "ProTableActionRef",
10689
+ "ProTableFilterParam",
10690
+ "ProTablePaginationConfig",
10691
+ "ProTableProps",
10692
+ "ProTableRequest",
10693
+ "ProTableRequestOptions",
10694
+ "ProTableSearchConfig",
10695
+ "ProTableSortParam",
10696
+ "RequestData"
10697
+ ],
10698
+ "searchTags": [],
10699
+ "typeText": "(typeof VALUE_TYPES)[number]",
10700
+ "canonicalUsage": "import type { ProTableValueType } from '@1money/component-ui';",
10701
+ "examples": [
10702
+ {
10703
+ "hash": "f474abaf6391f2f1dd676b737fafef015afe1934991cb063aef209566001ec42",
10704
+ "source": "canonical"
10705
+ }
10706
+ ]
10707
+ },
9970
10708
  {
9971
10709
  "name": "Progress",
9972
10710
  "kind": "component",
@@ -10278,7 +11016,7 @@
10278
11016
  },
10279
11017
  {
10280
11018
  "name": "searchConfig",
10281
- "type": "{\n searchText?: ReactNode;\n resetText?: ReactNode;\n }",
11019
+ "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
11020
  "optional": true,
10283
11021
  "default": null,
10284
11022
  "description": "",
@@ -11093,6 +11831,41 @@
11093
11831
  }
11094
11832
  ]
11095
11833
  },
11834
+ {
11835
+ "name": "RequestData",
11836
+ "kind": "type",
11837
+ "category": "misc",
11838
+ "summary": "Shape returned by the `request` prop.",
11839
+ "importPath": "@1money/component-ui",
11840
+ "subpathImport": "@1money/component-ui/ProTable",
11841
+ "sourceFile": "src/components/ProTable/interface.ts",
11842
+ "props": [],
11843
+ "extends": [],
11844
+ "relatedSymbols": [
11845
+ "PageInfo",
11846
+ "ProColumnType",
11847
+ "ProColumns",
11848
+ "ProTable",
11849
+ "ProTableActionRef",
11850
+ "ProTableFilterParam",
11851
+ "ProTablePaginationConfig",
11852
+ "ProTableProps",
11853
+ "ProTableRequest",
11854
+ "ProTableRequestOptions",
11855
+ "ProTableSearchConfig",
11856
+ "ProTableSortParam",
11857
+ "ProTableValueType"
11858
+ ],
11859
+ "searchTags": [],
11860
+ "typeText": "interface RequestData { ... }",
11861
+ "canonicalUsage": "import type { RequestData } from '@1money/component-ui';",
11862
+ "examples": [
11863
+ {
11864
+ "hash": "f93334b3d2b00ea0b4a1821a8c537eb851f5bd212f364700b7b238898a59948e",
11865
+ "source": "canonical"
11866
+ }
11867
+ ]
11868
+ },
11096
11869
  {
11097
11870
  "name": "ResizeObserver",
11098
11871
  "kind": "component",
@@ -12853,6 +13626,7 @@
12853
13626
  "props": [],
12854
13627
  "extends": [],
12855
13628
  "relatedSymbols": [
13629
+ "IconColor",
12856
13630
  "IconHover",
12857
13631
  "IconHoverProps",
12858
13632
  "IconName",