@mittwald/flow-react-components 0.2.0-alpha.527 → 0.2.0-alpha.529
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/CHANGELOG.md +12 -0
- package/dist/assets/doc-properties.json +402 -460
- package/dist/js/components/src/components/List/model/loading/IncrementalLoader.mjs +18 -12
- package/dist/js/components/src/components/List/model/loading/IncrementalLoader.mjs.map +1 -1
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.529](https://github.com/mittwald/flow/compare/0.2.0-alpha.528...0.2.0-alpha.529) (2025-10-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **List:** fix not loading with LoaderStaticData ([e78ae9c](https://github.com/mittwald/flow/commit/e78ae9c892680deafed0379c9829b852c1f842e2))
|
|
11
|
+
|
|
12
|
+
# [0.2.0-alpha.528](https://github.com/mittwald/flow/compare/0.2.0-alpha.527...0.2.0-alpha.528) (2025-10-21)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **List:** fix MaxUpdateDepth error with LoaderAsyncResource ([8ead588](https://github.com/mittwald/flow/commit/8ead588901878889e55e2409c1ba2fe4f6dc7323))
|
|
17
|
+
|
|
6
18
|
# [0.2.0-alpha.527](https://github.com/mittwald/flow/compare/0.2.0-alpha.526...0.2.0-alpha.527) (2025-10-21)
|
|
7
19
|
|
|
8
20
|
### Features
|
|
@@ -54,65 +54,7 @@
|
|
|
54
54
|
"description": "",
|
|
55
55
|
"displayName": "TunnelEntry",
|
|
56
56
|
"methods": [],
|
|
57
|
-
"props": {
|
|
58
|
-
"id": {
|
|
59
|
-
"defaultValue": null,
|
|
60
|
-
"description": "",
|
|
61
|
-
"name": "id",
|
|
62
|
-
"parent": {
|
|
63
|
-
"fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
|
|
64
|
-
"name": "TunnelEntryProps"
|
|
65
|
-
},
|
|
66
|
-
"declarations": [
|
|
67
|
-
{
|
|
68
|
-
"fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
|
|
69
|
-
"name": "TunnelEntryProps"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"required": false,
|
|
73
|
-
"type": {
|
|
74
|
-
"name": "string"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"children": {
|
|
78
|
-
"defaultValue": null,
|
|
79
|
-
"description": "",
|
|
80
|
-
"name": "children",
|
|
81
|
-
"parent": {
|
|
82
|
-
"fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
|
|
83
|
-
"name": "TunnelEntryProps"
|
|
84
|
-
},
|
|
85
|
-
"declarations": [
|
|
86
|
-
{
|
|
87
|
-
"fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
|
|
88
|
-
"name": "TunnelEntryProps"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"required": false,
|
|
92
|
-
"type": {
|
|
93
|
-
"name": "TunnelEntryChildren"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"staticEntryId": {
|
|
97
|
-
"defaultValue": null,
|
|
98
|
-
"description": "Static entry ID instead of generated ID by `useId`",
|
|
99
|
-
"name": "staticEntryId",
|
|
100
|
-
"parent": {
|
|
101
|
-
"fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
|
|
102
|
-
"name": "TunnelEntryProps"
|
|
103
|
-
},
|
|
104
|
-
"declarations": [
|
|
105
|
-
{
|
|
106
|
-
"fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
|
|
107
|
-
"name": "TunnelEntryProps"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"required": false,
|
|
111
|
-
"type": {
|
|
112
|
-
"name": "string"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
57
|
+
"props": {}
|
|
116
58
|
},
|
|
117
59
|
{
|
|
118
60
|
"tags": {},
|
|
@@ -222333,51 +222275,6 @@
|
|
|
222333
222275
|
}
|
|
222334
222276
|
}
|
|
222335
222277
|
},
|
|
222336
|
-
{
|
|
222337
|
-
"tags": {
|
|
222338
|
-
"flr-generate": "all"
|
|
222339
|
-
},
|
|
222340
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/BigNumber/BigNumber.tsx",
|
|
222341
|
-
"description": "",
|
|
222342
|
-
"displayName": "BigNumber",
|
|
222343
|
-
"methods": [],
|
|
222344
|
-
"props": {
|
|
222345
|
-
"children": {
|
|
222346
|
-
"defaultValue": null,
|
|
222347
|
-
"description": "",
|
|
222348
|
-
"name": "children",
|
|
222349
|
-
"declarations": [
|
|
222350
|
-
{
|
|
222351
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222352
|
-
"name": "TypeLiteral"
|
|
222353
|
-
}
|
|
222354
|
-
],
|
|
222355
|
-
"required": false,
|
|
222356
|
-
"type": {
|
|
222357
|
-
"name": "ReactNode"
|
|
222358
|
-
}
|
|
222359
|
-
},
|
|
222360
|
-
"className": {
|
|
222361
|
-
"defaultValue": null,
|
|
222362
|
-
"description": "The elements class name.",
|
|
222363
|
-
"name": "className",
|
|
222364
|
-
"parent": {
|
|
222365
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
222366
|
-
"name": "PropsWithClassName"
|
|
222367
|
-
},
|
|
222368
|
-
"declarations": [
|
|
222369
|
-
{
|
|
222370
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
222371
|
-
"name": "PropsWithClassName"
|
|
222372
|
-
}
|
|
222373
|
-
],
|
|
222374
|
-
"required": false,
|
|
222375
|
-
"type": {
|
|
222376
|
-
"name": "string"
|
|
222377
|
-
}
|
|
222378
|
-
}
|
|
222379
|
-
}
|
|
222380
|
-
},
|
|
222381
222278
|
{
|
|
222382
222279
|
"tags": {
|
|
222383
222280
|
"flr-generate": "all"
|
|
@@ -222685,70 +222582,11 @@
|
|
|
222685
222582
|
"tags": {
|
|
222686
222583
|
"flr-generate": "all"
|
|
222687
222584
|
},
|
|
222688
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/
|
|
222585
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/BigNumber/BigNumber.tsx",
|
|
222689
222586
|
"description": "",
|
|
222690
|
-
"displayName": "
|
|
222587
|
+
"displayName": "BigNumber",
|
|
222691
222588
|
"methods": [],
|
|
222692
222589
|
"props": {
|
|
222693
|
-
"size": {
|
|
222694
|
-
"defaultValue": {
|
|
222695
|
-
"value": "\"m\""
|
|
222696
|
-
},
|
|
222697
|
-
"description": "The size of the avatar.",
|
|
222698
|
-
"name": "size",
|
|
222699
|
-
"parent": {
|
|
222700
|
-
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222701
|
-
"name": "AvatarProps"
|
|
222702
|
-
},
|
|
222703
|
-
"declarations": [
|
|
222704
|
-
{
|
|
222705
|
-
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222706
|
-
"name": "AvatarProps"
|
|
222707
|
-
}
|
|
222708
|
-
],
|
|
222709
|
-
"required": false,
|
|
222710
|
-
"type": {
|
|
222711
|
-
"name": "\"s\" | \"xs\" | \"m\" | \"l\""
|
|
222712
|
-
}
|
|
222713
|
-
},
|
|
222714
|
-
"color": {
|
|
222715
|
-
"defaultValue": null,
|
|
222716
|
-
"description": "The color of icons and initials inside the avatar.",
|
|
222717
|
-
"name": "color",
|
|
222718
|
-
"parent": {
|
|
222719
|
-
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222720
|
-
"name": "AvatarProps"
|
|
222721
|
-
},
|
|
222722
|
-
"declarations": [
|
|
222723
|
-
{
|
|
222724
|
-
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222725
|
-
"name": "AvatarProps"
|
|
222726
|
-
}
|
|
222727
|
-
],
|
|
222728
|
-
"required": false,
|
|
222729
|
-
"type": {
|
|
222730
|
-
"name": "\"violet\" | \"green\" | \"blue\" | \"teal\" | \"lilac\""
|
|
222731
|
-
}
|
|
222732
|
-
},
|
|
222733
|
-
"status": {
|
|
222734
|
-
"defaultValue": null,
|
|
222735
|
-
"description": "Adds status icon and color to the avatar. May only be used if the status is\nexplained by an element (like text or label) nearby.",
|
|
222736
|
-
"name": "status",
|
|
222737
|
-
"parent": {
|
|
222738
|
-
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222739
|
-
"name": "AvatarProps"
|
|
222740
|
-
},
|
|
222741
|
-
"declarations": [
|
|
222742
|
-
{
|
|
222743
|
-
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222744
|
-
"name": "AvatarProps"
|
|
222745
|
-
}
|
|
222746
|
-
],
|
|
222747
|
-
"required": false,
|
|
222748
|
-
"type": {
|
|
222749
|
-
"name": "Status"
|
|
222750
|
-
}
|
|
222751
|
-
},
|
|
222752
222590
|
"children": {
|
|
222753
222591
|
"defaultValue": null,
|
|
222754
222592
|
"description": "",
|
|
@@ -222782,111 +222620,215 @@
|
|
|
222782
222620
|
"type": {
|
|
222783
222621
|
"name": "string"
|
|
222784
222622
|
}
|
|
222785
|
-
}
|
|
222786
|
-
|
|
222787
|
-
|
|
222788
|
-
|
|
222789
|
-
|
|
222790
|
-
|
|
222791
|
-
|
|
222792
|
-
|
|
222623
|
+
}
|
|
222624
|
+
}
|
|
222625
|
+
},
|
|
222626
|
+
{
|
|
222627
|
+
"tags": {
|
|
222628
|
+
"flr-generate": "all"
|
|
222629
|
+
},
|
|
222630
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Avatar/Avatar.tsx",
|
|
222631
|
+
"description": "",
|
|
222632
|
+
"displayName": "Avatar",
|
|
222633
|
+
"methods": [],
|
|
222634
|
+
"props": {
|
|
222635
|
+
"size": {
|
|
222636
|
+
"defaultValue": {
|
|
222637
|
+
"value": "\"m\""
|
|
222793
222638
|
},
|
|
222794
|
-
"
|
|
222795
|
-
|
|
222796
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
222797
|
-
"name": "FlowComponentProps"
|
|
222798
|
-
}
|
|
222799
|
-
],
|
|
222800
|
-
"required": false,
|
|
222801
|
-
"type": {
|
|
222802
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
222803
|
-
}
|
|
222804
|
-
},
|
|
222805
|
-
"tunnelId": {
|
|
222806
|
-
"defaultValue": null,
|
|
222807
|
-
"description": "@internal",
|
|
222808
|
-
"name": "tunnelId",
|
|
222639
|
+
"description": "The size of the avatar.",
|
|
222640
|
+
"name": "size",
|
|
222809
222641
|
"parent": {
|
|
222810
|
-
"fileName": "components/src/
|
|
222811
|
-
"name": "
|
|
222642
|
+
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222643
|
+
"name": "AvatarProps"
|
|
222812
222644
|
},
|
|
222813
222645
|
"declarations": [
|
|
222814
222646
|
{
|
|
222815
|
-
"fileName": "components/src/
|
|
222816
|
-
"name": "
|
|
222647
|
+
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222648
|
+
"name": "AvatarProps"
|
|
222817
222649
|
}
|
|
222818
222650
|
],
|
|
222819
222651
|
"required": false,
|
|
222820
222652
|
"type": {
|
|
222821
|
-
"name": "
|
|
222653
|
+
"name": "\"s\" | \"xs\" | \"m\" | \"l\""
|
|
222822
222654
|
}
|
|
222823
222655
|
},
|
|
222824
|
-
"
|
|
222656
|
+
"color": {
|
|
222825
222657
|
"defaultValue": null,
|
|
222826
|
-
"description": "
|
|
222827
|
-
"name": "
|
|
222658
|
+
"description": "The color of icons and initials inside the avatar.",
|
|
222659
|
+
"name": "color",
|
|
222828
222660
|
"parent": {
|
|
222829
|
-
"fileName": "
|
|
222830
|
-
"name": "
|
|
222661
|
+
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222662
|
+
"name": "AvatarProps"
|
|
222831
222663
|
},
|
|
222832
222664
|
"declarations": [
|
|
222833
222665
|
{
|
|
222834
|
-
"fileName": "
|
|
222835
|
-
"name": "
|
|
222666
|
+
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222667
|
+
"name": "AvatarProps"
|
|
222836
222668
|
}
|
|
222837
222669
|
],
|
|
222838
222670
|
"required": false,
|
|
222839
222671
|
"type": {
|
|
222840
|
-
"name": "
|
|
222672
|
+
"name": "\"violet\" | \"green\" | \"blue\" | \"teal\" | \"lilac\""
|
|
222841
222673
|
}
|
|
222842
222674
|
},
|
|
222843
|
-
"
|
|
222844
|
-
"defaultValue": null,
|
|
222845
|
-
"description": "",
|
|
222846
|
-
"name": "key",
|
|
222847
|
-
"parent": {
|
|
222848
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222849
|
-
"name": "Attributes"
|
|
222850
|
-
},
|
|
222851
|
-
"declarations": [
|
|
222852
|
-
{
|
|
222853
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222854
|
-
"name": "Attributes"
|
|
222855
|
-
}
|
|
222856
|
-
],
|
|
222857
|
-
"required": false,
|
|
222858
|
-
"type": {
|
|
222859
|
-
"name": "Key | null"
|
|
222860
|
-
}
|
|
222861
|
-
}
|
|
222862
|
-
}
|
|
222863
|
-
},
|
|
222864
|
-
{
|
|
222865
|
-
"tags": {
|
|
222866
|
-
"flr-generate": "all"
|
|
222867
|
-
},
|
|
222868
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Autocomplete/Autocomplete.tsx",
|
|
222869
|
-
"description": "",
|
|
222870
|
-
"displayName": "Autocomplete",
|
|
222871
|
-
"methods": [],
|
|
222872
|
-
"props": {
|
|
222873
|
-
"isInvalid": {
|
|
222675
|
+
"status": {
|
|
222874
222676
|
"defaultValue": null,
|
|
222875
|
-
"description": "",
|
|
222876
|
-
"name": "
|
|
222677
|
+
"description": "Adds status icon and color to the avatar. May only be used if the status is\nexplained by an element (like text or label) nearby.",
|
|
222678
|
+
"name": "status",
|
|
222877
222679
|
"parent": {
|
|
222878
|
-
"fileName": "components/src/components/
|
|
222879
|
-
"name": "
|
|
222680
|
+
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222681
|
+
"name": "AvatarProps"
|
|
222880
222682
|
},
|
|
222881
222683
|
"declarations": [
|
|
222882
222684
|
{
|
|
222883
|
-
"fileName": "components/src/components/
|
|
222884
|
-
"name": "
|
|
222685
|
+
"fileName": "components/src/components/Avatar/Avatar.tsx",
|
|
222686
|
+
"name": "AvatarProps"
|
|
222885
222687
|
}
|
|
222886
222688
|
],
|
|
222887
222689
|
"required": false,
|
|
222888
222690
|
"type": {
|
|
222889
|
-
"name": "
|
|
222691
|
+
"name": "Status"
|
|
222692
|
+
}
|
|
222693
|
+
},
|
|
222694
|
+
"children": {
|
|
222695
|
+
"defaultValue": null,
|
|
222696
|
+
"description": "",
|
|
222697
|
+
"name": "children",
|
|
222698
|
+
"declarations": [
|
|
222699
|
+
{
|
|
222700
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222701
|
+
"name": "TypeLiteral"
|
|
222702
|
+
}
|
|
222703
|
+
],
|
|
222704
|
+
"required": false,
|
|
222705
|
+
"type": {
|
|
222706
|
+
"name": "ReactNode"
|
|
222707
|
+
}
|
|
222708
|
+
},
|
|
222709
|
+
"className": {
|
|
222710
|
+
"defaultValue": null,
|
|
222711
|
+
"description": "The elements class name.",
|
|
222712
|
+
"name": "className",
|
|
222713
|
+
"parent": {
|
|
222714
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
222715
|
+
"name": "PropsWithClassName"
|
|
222716
|
+
},
|
|
222717
|
+
"declarations": [
|
|
222718
|
+
{
|
|
222719
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
222720
|
+
"name": "PropsWithClassName"
|
|
222721
|
+
}
|
|
222722
|
+
],
|
|
222723
|
+
"required": false,
|
|
222724
|
+
"type": {
|
|
222725
|
+
"name": "string"
|
|
222726
|
+
}
|
|
222727
|
+
},
|
|
222728
|
+
"wrapWith": {
|
|
222729
|
+
"defaultValue": null,
|
|
222730
|
+
"description": "",
|
|
222731
|
+
"name": "wrapWith",
|
|
222732
|
+
"parent": {
|
|
222733
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
222734
|
+
"name": "FlowComponentProps"
|
|
222735
|
+
},
|
|
222736
|
+
"declarations": [
|
|
222737
|
+
{
|
|
222738
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
222739
|
+
"name": "FlowComponentProps"
|
|
222740
|
+
}
|
|
222741
|
+
],
|
|
222742
|
+
"required": false,
|
|
222743
|
+
"type": {
|
|
222744
|
+
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
222745
|
+
}
|
|
222746
|
+
},
|
|
222747
|
+
"tunnelId": {
|
|
222748
|
+
"defaultValue": null,
|
|
222749
|
+
"description": "@internal",
|
|
222750
|
+
"name": "tunnelId",
|
|
222751
|
+
"parent": {
|
|
222752
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
222753
|
+
"name": "PropsWithTunnel"
|
|
222754
|
+
},
|
|
222755
|
+
"declarations": [
|
|
222756
|
+
{
|
|
222757
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
222758
|
+
"name": "PropsWithTunnel"
|
|
222759
|
+
}
|
|
222760
|
+
],
|
|
222761
|
+
"required": false,
|
|
222762
|
+
"type": {
|
|
222763
|
+
"name": "string | null"
|
|
222764
|
+
}
|
|
222765
|
+
},
|
|
222766
|
+
"ref": {
|
|
222767
|
+
"defaultValue": null,
|
|
222768
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
|
|
222769
|
+
"name": "ref",
|
|
222770
|
+
"parent": {
|
|
222771
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222772
|
+
"name": "RefAttributes"
|
|
222773
|
+
},
|
|
222774
|
+
"declarations": [
|
|
222775
|
+
{
|
|
222776
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222777
|
+
"name": "RefAttributes"
|
|
222778
|
+
}
|
|
222779
|
+
],
|
|
222780
|
+
"required": false,
|
|
222781
|
+
"type": {
|
|
222782
|
+
"name": "Ref<HTMLInputElement>"
|
|
222783
|
+
}
|
|
222784
|
+
},
|
|
222785
|
+
"key": {
|
|
222786
|
+
"defaultValue": null,
|
|
222787
|
+
"description": "",
|
|
222788
|
+
"name": "key",
|
|
222789
|
+
"parent": {
|
|
222790
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222791
|
+
"name": "Attributes"
|
|
222792
|
+
},
|
|
222793
|
+
"declarations": [
|
|
222794
|
+
{
|
|
222795
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
222796
|
+
"name": "Attributes"
|
|
222797
|
+
}
|
|
222798
|
+
],
|
|
222799
|
+
"required": false,
|
|
222800
|
+
"type": {
|
|
222801
|
+
"name": "Key | null"
|
|
222802
|
+
}
|
|
222803
|
+
}
|
|
222804
|
+
}
|
|
222805
|
+
},
|
|
222806
|
+
{
|
|
222807
|
+
"tags": {
|
|
222808
|
+
"flr-generate": "all"
|
|
222809
|
+
},
|
|
222810
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Autocomplete/Autocomplete.tsx",
|
|
222811
|
+
"description": "",
|
|
222812
|
+
"displayName": "Autocomplete",
|
|
222813
|
+
"methods": [],
|
|
222814
|
+
"props": {
|
|
222815
|
+
"isInvalid": {
|
|
222816
|
+
"defaultValue": null,
|
|
222817
|
+
"description": "",
|
|
222818
|
+
"name": "isInvalid",
|
|
222819
|
+
"parent": {
|
|
222820
|
+
"fileName": "components/src/components/Autocomplete/Autocomplete.tsx",
|
|
222821
|
+
"name": "AutocompleteProps"
|
|
222822
|
+
},
|
|
222823
|
+
"declarations": [
|
|
222824
|
+
{
|
|
222825
|
+
"fileName": "components/src/components/Autocomplete/Autocomplete.tsx",
|
|
222826
|
+
"name": "AutocompleteProps"
|
|
222827
|
+
}
|
|
222828
|
+
],
|
|
222829
|
+
"required": false,
|
|
222830
|
+
"type": {
|
|
222831
|
+
"name": "boolean"
|
|
222890
222832
|
}
|
|
222891
222833
|
},
|
|
222892
222834
|
"children": {
|
|
@@ -256422,10 +256364,10 @@
|
|
|
256422
256364
|
"name": "() => ArrayIterator<any>"
|
|
256423
256365
|
}
|
|
256424
256366
|
},
|
|
256425
|
-
"__@unscopables@
|
|
256367
|
+
"__@unscopables@3159": {
|
|
256426
256368
|
"defaultValue": null,
|
|
256427
256369
|
"description": "Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",
|
|
256428
|
-
"name": "__@unscopables@
|
|
256370
|
+
"name": "__@unscopables@3159",
|
|
256429
256371
|
"parent": {
|
|
256430
256372
|
"fileName": "flow/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
|
|
256431
256373
|
"name": "Array"
|
|
@@ -257258,10 +257200,10 @@
|
|
|
257258
257200
|
"name": "() => ArrayIterator<any>"
|
|
257259
257201
|
}
|
|
257260
257202
|
},
|
|
257261
|
-
"__@unscopables@
|
|
257203
|
+
"__@unscopables@3159": {
|
|
257262
257204
|
"defaultValue": null,
|
|
257263
257205
|
"description": "Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",
|
|
257264
|
-
"name": "__@unscopables@
|
|
257206
|
+
"name": "__@unscopables@3159",
|
|
257265
257207
|
"parent": {
|
|
257266
257208
|
"fileName": "flow/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
|
|
257267
257209
|
"name": "Array"
|
|
@@ -258094,10 +258036,10 @@
|
|
|
258094
258036
|
"name": "() => ArrayIterator<any>"
|
|
258095
258037
|
}
|
|
258096
258038
|
},
|
|
258097
|
-
"__@unscopables@
|
|
258039
|
+
"__@unscopables@3159": {
|
|
258098
258040
|
"defaultValue": null,
|
|
258099
258041
|
"description": "Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",
|
|
258100
|
-
"name": "__@unscopables@
|
|
258042
|
+
"name": "__@unscopables@3159",
|
|
258101
258043
|
"parent": {
|
|
258102
258044
|
"fileName": "flow/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
|
|
258103
258045
|
"name": "Array"
|
|
@@ -291835,6 +291777,204 @@
|
|
|
291835
291777
|
}
|
|
291836
291778
|
}
|
|
291837
291779
|
},
|
|
291780
|
+
{
|
|
291781
|
+
"tags": {},
|
|
291782
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/ChartTooltip/TooltipContent.tsx",
|
|
291783
|
+
"description": "",
|
|
291784
|
+
"displayName": "TooltipContent",
|
|
291785
|
+
"methods": [],
|
|
291786
|
+
"props": {
|
|
291787
|
+
"label": {
|
|
291788
|
+
"defaultValue": null,
|
|
291789
|
+
"description": "",
|
|
291790
|
+
"name": "label",
|
|
291791
|
+
"declarations": [
|
|
291792
|
+
{
|
|
291793
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
291794
|
+
"name": "TypeLiteral"
|
|
291795
|
+
}
|
|
291796
|
+
],
|
|
291797
|
+
"required": false,
|
|
291798
|
+
"type": {
|
|
291799
|
+
"name": "string | number"
|
|
291800
|
+
}
|
|
291801
|
+
},
|
|
291802
|
+
"active": {
|
|
291803
|
+
"defaultValue": null,
|
|
291804
|
+
"description": "If true, then Tooltip is always displayed, once an activeIndex is set by mouse over, or programmatically.\nIf false, then Tooltip is never displayed.\nIf active is undefined, Recharts will control when the Tooltip displays. This includes mouse and keyboard controls.",
|
|
291805
|
+
"name": "active",
|
|
291806
|
+
"declarations": [
|
|
291807
|
+
{
|
|
291808
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
291809
|
+
"name": "TypeLiteral"
|
|
291810
|
+
},
|
|
291811
|
+
{
|
|
291812
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
291813
|
+
"name": "TypeLiteral"
|
|
291814
|
+
}
|
|
291815
|
+
],
|
|
291816
|
+
"required": false,
|
|
291817
|
+
"type": {
|
|
291818
|
+
"name": "boolean"
|
|
291819
|
+
}
|
|
291820
|
+
},
|
|
291821
|
+
"payload": {
|
|
291822
|
+
"defaultValue": null,
|
|
291823
|
+
"description": "",
|
|
291824
|
+
"name": "payload",
|
|
291825
|
+
"declarations": [
|
|
291826
|
+
{
|
|
291827
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
291828
|
+
"name": "TypeLiteral"
|
|
291829
|
+
}
|
|
291830
|
+
],
|
|
291831
|
+
"required": true,
|
|
291832
|
+
"type": {
|
|
291833
|
+
"name": "any[]"
|
|
291834
|
+
}
|
|
291835
|
+
},
|
|
291836
|
+
"wrapperClassName": {
|
|
291837
|
+
"defaultValue": null,
|
|
291838
|
+
"description": "",
|
|
291839
|
+
"name": "wrapperClassName",
|
|
291840
|
+
"parent": {
|
|
291841
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
291842
|
+
"name": "Props"
|
|
291843
|
+
},
|
|
291844
|
+
"declarations": [
|
|
291845
|
+
{
|
|
291846
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
291847
|
+
"name": "Props"
|
|
291848
|
+
}
|
|
291849
|
+
],
|
|
291850
|
+
"required": false,
|
|
291851
|
+
"type": {
|
|
291852
|
+
"name": "string"
|
|
291853
|
+
}
|
|
291854
|
+
},
|
|
291855
|
+
"formatter": {
|
|
291856
|
+
"defaultValue": null,
|
|
291857
|
+
"description": "A formatter function for the lines in the tooltip. Can be used for purposes\nlike translations.",
|
|
291858
|
+
"name": "formatter",
|
|
291859
|
+
"parent": {
|
|
291860
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291861
|
+
"name": "WithTooltipFormatters"
|
|
291862
|
+
},
|
|
291863
|
+
"declarations": [
|
|
291864
|
+
{
|
|
291865
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291866
|
+
"name": "WithTooltipFormatters"
|
|
291867
|
+
}
|
|
291868
|
+
],
|
|
291869
|
+
"required": false,
|
|
291870
|
+
"type": {
|
|
291871
|
+
"name": "TooltipLineFormatter"
|
|
291872
|
+
}
|
|
291873
|
+
},
|
|
291874
|
+
"headingFormatter": {
|
|
291875
|
+
"defaultValue": null,
|
|
291876
|
+
"description": "A formatter function for the heading of the tooltip. Can be used for\npurposes like translations.",
|
|
291877
|
+
"name": "headingFormatter",
|
|
291878
|
+
"parent": {
|
|
291879
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291880
|
+
"name": "WithTooltipFormatters"
|
|
291881
|
+
},
|
|
291882
|
+
"declarations": [
|
|
291883
|
+
{
|
|
291884
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291885
|
+
"name": "WithTooltipFormatters"
|
|
291886
|
+
}
|
|
291887
|
+
],
|
|
291888
|
+
"required": false,
|
|
291889
|
+
"type": {
|
|
291890
|
+
"name": "TooltipHeadingFormatter"
|
|
291891
|
+
}
|
|
291892
|
+
}
|
|
291893
|
+
}
|
|
291894
|
+
},
|
|
291895
|
+
{
|
|
291896
|
+
"tags": {
|
|
291897
|
+
"flr-generate": "all"
|
|
291898
|
+
},
|
|
291899
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291900
|
+
"description": "",
|
|
291901
|
+
"displayName": "ChartTooltip",
|
|
291902
|
+
"methods": [],
|
|
291903
|
+
"props": {
|
|
291904
|
+
"wrapperClassName": {
|
|
291905
|
+
"defaultValue": null,
|
|
291906
|
+
"description": "",
|
|
291907
|
+
"name": "wrapperClassName",
|
|
291908
|
+
"parent": {
|
|
291909
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
291910
|
+
"name": "Props"
|
|
291911
|
+
},
|
|
291912
|
+
"declarations": [
|
|
291913
|
+
{
|
|
291914
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
291915
|
+
"name": "Props"
|
|
291916
|
+
}
|
|
291917
|
+
],
|
|
291918
|
+
"required": false,
|
|
291919
|
+
"type": {
|
|
291920
|
+
"name": "string"
|
|
291921
|
+
}
|
|
291922
|
+
},
|
|
291923
|
+
"allowEscapeViewBox": {
|
|
291924
|
+
"defaultValue": null,
|
|
291925
|
+
"description": "",
|
|
291926
|
+
"name": "allowEscapeViewBox",
|
|
291927
|
+
"declarations": [
|
|
291928
|
+
{
|
|
291929
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
291930
|
+
"name": "TypeLiteral"
|
|
291931
|
+
}
|
|
291932
|
+
],
|
|
291933
|
+
"required": false,
|
|
291934
|
+
"type": {
|
|
291935
|
+
"name": "AllowInDimension"
|
|
291936
|
+
}
|
|
291937
|
+
},
|
|
291938
|
+
"formatter": {
|
|
291939
|
+
"defaultValue": null,
|
|
291940
|
+
"description": "A formatter function for the lines in the tooltip. Can be used for purposes\nlike translations.",
|
|
291941
|
+
"name": "formatter",
|
|
291942
|
+
"parent": {
|
|
291943
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291944
|
+
"name": "WithTooltipFormatters"
|
|
291945
|
+
},
|
|
291946
|
+
"declarations": [
|
|
291947
|
+
{
|
|
291948
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291949
|
+
"name": "WithTooltipFormatters"
|
|
291950
|
+
}
|
|
291951
|
+
],
|
|
291952
|
+
"required": false,
|
|
291953
|
+
"type": {
|
|
291954
|
+
"name": "TooltipLineFormatter"
|
|
291955
|
+
}
|
|
291956
|
+
},
|
|
291957
|
+
"headingFormatter": {
|
|
291958
|
+
"defaultValue": null,
|
|
291959
|
+
"description": "A formatter function for the heading of the tooltip. Can be used for\npurposes like translations.",
|
|
291960
|
+
"name": "headingFormatter",
|
|
291961
|
+
"parent": {
|
|
291962
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291963
|
+
"name": "WithTooltipFormatters"
|
|
291964
|
+
},
|
|
291965
|
+
"declarations": [
|
|
291966
|
+
{
|
|
291967
|
+
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
291968
|
+
"name": "WithTooltipFormatters"
|
|
291969
|
+
}
|
|
291970
|
+
],
|
|
291971
|
+
"required": false,
|
|
291972
|
+
"type": {
|
|
291973
|
+
"name": "TooltipHeadingFormatter"
|
|
291974
|
+
}
|
|
291975
|
+
}
|
|
291976
|
+
}
|
|
291977
|
+
},
|
|
291838
291978
|
{
|
|
291839
291979
|
"tags": {},
|
|
291840
291980
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/ChartLegend/LegendContent.tsx",
|
|
@@ -300535,10 +300675,10 @@
|
|
|
300535
300675
|
"name": "AdaptChildPointerEventHandler<any, ReactElement<unknown, string | JSXElementConstructor<any>>>"
|
|
300536
300676
|
}
|
|
300537
300677
|
},
|
|
300538
|
-
"
|
|
300678
|
+
"payload": {
|
|
300539
300679
|
"defaultValue": null,
|
|
300540
|
-
"description": "",
|
|
300541
|
-
"name": "
|
|
300680
|
+
"description": "DefaultLegendContent.payload is omitted from Legend props.\nA custom payload can be passed here if desired or it can be passed from the Legend \"content\" callback.",
|
|
300681
|
+
"name": "payload",
|
|
300542
300682
|
"parent": {
|
|
300543
300683
|
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultLegendContent.d.ts",
|
|
300544
300684
|
"name": "InternalProps"
|
|
@@ -300551,13 +300691,13 @@
|
|
|
300551
300691
|
],
|
|
300552
300692
|
"required": false,
|
|
300553
300693
|
"type": {
|
|
300554
|
-
"name": "
|
|
300694
|
+
"name": "readonly LegendPayload[]"
|
|
300555
300695
|
}
|
|
300556
300696
|
},
|
|
300557
|
-
"
|
|
300697
|
+
"itemSorter": {
|
|
300558
300698
|
"defaultValue": null,
|
|
300559
300699
|
"description": "",
|
|
300560
|
-
"name": "
|
|
300700
|
+
"name": "itemSorter",
|
|
300561
300701
|
"parent": {
|
|
300562
300702
|
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultLegendContent.d.ts",
|
|
300563
300703
|
"name": "InternalProps"
|
|
@@ -300570,13 +300710,13 @@
|
|
|
300570
300710
|
],
|
|
300571
300711
|
"required": false,
|
|
300572
300712
|
"type": {
|
|
300573
|
-
"name": "
|
|
300713
|
+
"name": "\"value\" | \"dataKey\" | ((item: LegendPayload) => string | number)"
|
|
300574
300714
|
}
|
|
300575
300715
|
},
|
|
300576
|
-
"
|
|
300716
|
+
"iconSize": {
|
|
300577
300717
|
"defaultValue": null,
|
|
300578
300718
|
"description": "",
|
|
300579
|
-
"name": "
|
|
300719
|
+
"name": "iconSize",
|
|
300580
300720
|
"parent": {
|
|
300581
300721
|
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultLegendContent.d.ts",
|
|
300582
300722
|
"name": "InternalProps"
|
|
@@ -300589,13 +300729,13 @@
|
|
|
300589
300729
|
],
|
|
300590
300730
|
"required": false,
|
|
300591
300731
|
"type": {
|
|
300592
|
-
"name": "
|
|
300732
|
+
"name": "number"
|
|
300593
300733
|
}
|
|
300594
300734
|
},
|
|
300595
|
-
"
|
|
300735
|
+
"iconType": {
|
|
300596
300736
|
"defaultValue": null,
|
|
300597
|
-
"description": "
|
|
300598
|
-
"name": "
|
|
300737
|
+
"description": "",
|
|
300738
|
+
"name": "iconType",
|
|
300599
300739
|
"parent": {
|
|
300600
300740
|
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultLegendContent.d.ts",
|
|
300601
300741
|
"name": "InternalProps"
|
|
@@ -300608,13 +300748,13 @@
|
|
|
300608
300748
|
],
|
|
300609
300749
|
"required": false,
|
|
300610
300750
|
"type": {
|
|
300611
|
-
"name": "
|
|
300751
|
+
"name": "IconType"
|
|
300612
300752
|
}
|
|
300613
300753
|
},
|
|
300614
|
-
"
|
|
300754
|
+
"inactiveColor": {
|
|
300615
300755
|
"defaultValue": null,
|
|
300616
300756
|
"description": "",
|
|
300617
|
-
"name": "
|
|
300757
|
+
"name": "inactiveColor",
|
|
300618
300758
|
"parent": {
|
|
300619
300759
|
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultLegendContent.d.ts",
|
|
300620
300760
|
"name": "InternalProps"
|
|
@@ -300627,7 +300767,7 @@
|
|
|
300627
300767
|
],
|
|
300628
300768
|
"required": false,
|
|
300629
300769
|
"type": {
|
|
300630
|
-
"name": "
|
|
300770
|
+
"name": "string"
|
|
300631
300771
|
}
|
|
300632
300772
|
},
|
|
300633
300773
|
"formatter": {
|
|
@@ -300719,204 +300859,6 @@
|
|
|
300719
300859
|
}
|
|
300720
300860
|
}
|
|
300721
300861
|
},
|
|
300722
|
-
{
|
|
300723
|
-
"tags": {},
|
|
300724
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/ChartTooltip/TooltipContent.tsx",
|
|
300725
|
-
"description": "",
|
|
300726
|
-
"displayName": "TooltipContent",
|
|
300727
|
-
"methods": [],
|
|
300728
|
-
"props": {
|
|
300729
|
-
"label": {
|
|
300730
|
-
"defaultValue": null,
|
|
300731
|
-
"description": "",
|
|
300732
|
-
"name": "label",
|
|
300733
|
-
"declarations": [
|
|
300734
|
-
{
|
|
300735
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
300736
|
-
"name": "TypeLiteral"
|
|
300737
|
-
}
|
|
300738
|
-
],
|
|
300739
|
-
"required": false,
|
|
300740
|
-
"type": {
|
|
300741
|
-
"name": "string | number"
|
|
300742
|
-
}
|
|
300743
|
-
},
|
|
300744
|
-
"payload": {
|
|
300745
|
-
"defaultValue": null,
|
|
300746
|
-
"description": "",
|
|
300747
|
-
"name": "payload",
|
|
300748
|
-
"declarations": [
|
|
300749
|
-
{
|
|
300750
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
300751
|
-
"name": "TypeLiteral"
|
|
300752
|
-
}
|
|
300753
|
-
],
|
|
300754
|
-
"required": true,
|
|
300755
|
-
"type": {
|
|
300756
|
-
"name": "any[]"
|
|
300757
|
-
}
|
|
300758
|
-
},
|
|
300759
|
-
"active": {
|
|
300760
|
-
"defaultValue": null,
|
|
300761
|
-
"description": "If true, then Tooltip is always displayed, once an activeIndex is set by mouse over, or programmatically.\nIf false, then Tooltip is never displayed.\nIf active is undefined, Recharts will control when the Tooltip displays. This includes mouse and keyboard controls.",
|
|
300762
|
-
"name": "active",
|
|
300763
|
-
"declarations": [
|
|
300764
|
-
{
|
|
300765
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
300766
|
-
"name": "TypeLiteral"
|
|
300767
|
-
},
|
|
300768
|
-
{
|
|
300769
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
300770
|
-
"name": "TypeLiteral"
|
|
300771
|
-
}
|
|
300772
|
-
],
|
|
300773
|
-
"required": false,
|
|
300774
|
-
"type": {
|
|
300775
|
-
"name": "boolean"
|
|
300776
|
-
}
|
|
300777
|
-
},
|
|
300778
|
-
"wrapperClassName": {
|
|
300779
|
-
"defaultValue": null,
|
|
300780
|
-
"description": "",
|
|
300781
|
-
"name": "wrapperClassName",
|
|
300782
|
-
"parent": {
|
|
300783
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
300784
|
-
"name": "Props"
|
|
300785
|
-
},
|
|
300786
|
-
"declarations": [
|
|
300787
|
-
{
|
|
300788
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
300789
|
-
"name": "Props"
|
|
300790
|
-
}
|
|
300791
|
-
],
|
|
300792
|
-
"required": false,
|
|
300793
|
-
"type": {
|
|
300794
|
-
"name": "string"
|
|
300795
|
-
}
|
|
300796
|
-
},
|
|
300797
|
-
"formatter": {
|
|
300798
|
-
"defaultValue": null,
|
|
300799
|
-
"description": "A formatter function for the lines in the tooltip. Can be used for purposes\nlike translations.",
|
|
300800
|
-
"name": "formatter",
|
|
300801
|
-
"parent": {
|
|
300802
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300803
|
-
"name": "WithTooltipFormatters"
|
|
300804
|
-
},
|
|
300805
|
-
"declarations": [
|
|
300806
|
-
{
|
|
300807
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300808
|
-
"name": "WithTooltipFormatters"
|
|
300809
|
-
}
|
|
300810
|
-
],
|
|
300811
|
-
"required": false,
|
|
300812
|
-
"type": {
|
|
300813
|
-
"name": "TooltipLineFormatter"
|
|
300814
|
-
}
|
|
300815
|
-
},
|
|
300816
|
-
"headingFormatter": {
|
|
300817
|
-
"defaultValue": null,
|
|
300818
|
-
"description": "A formatter function for the heading of the tooltip. Can be used for\npurposes like translations.",
|
|
300819
|
-
"name": "headingFormatter",
|
|
300820
|
-
"parent": {
|
|
300821
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300822
|
-
"name": "WithTooltipFormatters"
|
|
300823
|
-
},
|
|
300824
|
-
"declarations": [
|
|
300825
|
-
{
|
|
300826
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300827
|
-
"name": "WithTooltipFormatters"
|
|
300828
|
-
}
|
|
300829
|
-
],
|
|
300830
|
-
"required": false,
|
|
300831
|
-
"type": {
|
|
300832
|
-
"name": "TooltipHeadingFormatter"
|
|
300833
|
-
}
|
|
300834
|
-
}
|
|
300835
|
-
}
|
|
300836
|
-
},
|
|
300837
|
-
{
|
|
300838
|
-
"tags": {
|
|
300839
|
-
"flr-generate": "all"
|
|
300840
|
-
},
|
|
300841
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300842
|
-
"description": "",
|
|
300843
|
-
"displayName": "ChartTooltip",
|
|
300844
|
-
"methods": [],
|
|
300845
|
-
"props": {
|
|
300846
|
-
"wrapperClassName": {
|
|
300847
|
-
"defaultValue": null,
|
|
300848
|
-
"description": "",
|
|
300849
|
-
"name": "wrapperClassName",
|
|
300850
|
-
"parent": {
|
|
300851
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
300852
|
-
"name": "Props"
|
|
300853
|
-
},
|
|
300854
|
-
"declarations": [
|
|
300855
|
-
{
|
|
300856
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/DefaultTooltipContent.d.ts",
|
|
300857
|
-
"name": "Props"
|
|
300858
|
-
}
|
|
300859
|
-
],
|
|
300860
|
-
"required": false,
|
|
300861
|
-
"type": {
|
|
300862
|
-
"name": "string"
|
|
300863
|
-
}
|
|
300864
|
-
},
|
|
300865
|
-
"allowEscapeViewBox": {
|
|
300866
|
-
"defaultValue": null,
|
|
300867
|
-
"description": "",
|
|
300868
|
-
"name": "allowEscapeViewBox",
|
|
300869
|
-
"declarations": [
|
|
300870
|
-
{
|
|
300871
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.2.2_redux@5.0.1/node_modules/recharts/types/component/Tooltip.d.ts",
|
|
300872
|
-
"name": "TypeLiteral"
|
|
300873
|
-
}
|
|
300874
|
-
],
|
|
300875
|
-
"required": false,
|
|
300876
|
-
"type": {
|
|
300877
|
-
"name": "AllowInDimension"
|
|
300878
|
-
}
|
|
300879
|
-
},
|
|
300880
|
-
"formatter": {
|
|
300881
|
-
"defaultValue": null,
|
|
300882
|
-
"description": "A formatter function for the lines in the tooltip. Can be used for purposes\nlike translations.",
|
|
300883
|
-
"name": "formatter",
|
|
300884
|
-
"parent": {
|
|
300885
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300886
|
-
"name": "WithTooltipFormatters"
|
|
300887
|
-
},
|
|
300888
|
-
"declarations": [
|
|
300889
|
-
{
|
|
300890
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300891
|
-
"name": "WithTooltipFormatters"
|
|
300892
|
-
}
|
|
300893
|
-
],
|
|
300894
|
-
"required": false,
|
|
300895
|
-
"type": {
|
|
300896
|
-
"name": "TooltipLineFormatter"
|
|
300897
|
-
}
|
|
300898
|
-
},
|
|
300899
|
-
"headingFormatter": {
|
|
300900
|
-
"defaultValue": null,
|
|
300901
|
-
"description": "A formatter function for the heading of the tooltip. Can be used for\npurposes like translations.",
|
|
300902
|
-
"name": "headingFormatter",
|
|
300903
|
-
"parent": {
|
|
300904
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300905
|
-
"name": "WithTooltipFormatters"
|
|
300906
|
-
},
|
|
300907
|
-
"declarations": [
|
|
300908
|
-
{
|
|
300909
|
-
"fileName": "components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx",
|
|
300910
|
-
"name": "WithTooltipFormatters"
|
|
300911
|
-
}
|
|
300912
|
-
],
|
|
300913
|
-
"required": false,
|
|
300914
|
-
"type": {
|
|
300915
|
-
"name": "TooltipHeadingFormatter"
|
|
300916
|
-
}
|
|
300917
|
-
}
|
|
300918
|
-
}
|
|
300919
|
-
},
|
|
300920
300862
|
{
|
|
300921
300863
|
"tags": {
|
|
300922
300864
|
"flr-generate": "all"
|
|
@@ -61,6 +61,15 @@ class IncrementalLoader {
|
|
|
61
61
|
getUseData() {
|
|
62
62
|
const dataSource = this.dataSource;
|
|
63
63
|
return (options) => {
|
|
64
|
+
if ("staticData" in dataSource) {
|
|
65
|
+
return useMemo(
|
|
66
|
+
() => ({
|
|
67
|
+
data: dataSource.staticData,
|
|
68
|
+
itemTotalCount: dataSource.staticData.length
|
|
69
|
+
}),
|
|
70
|
+
[dataSource.staticData]
|
|
71
|
+
);
|
|
72
|
+
}
|
|
64
73
|
if ("useData" in dataSource) {
|
|
65
74
|
return dataSource.useData(options);
|
|
66
75
|
}
|
|
@@ -72,19 +81,16 @@ class IncrementalLoader {
|
|
|
72
81
|
loaderId
|
|
73
82
|
});
|
|
74
83
|
}
|
|
75
|
-
if ("
|
|
76
|
-
return
|
|
77
|
-
() => ({
|
|
78
|
-
data: dataSource.staticData,
|
|
79
|
-
itemTotalCount: dataSource.staticData.length
|
|
80
|
-
}),
|
|
81
|
-
[dataSource.staticData]
|
|
82
|
-
);
|
|
84
|
+
if ("asyncResourceFactory" in dataSource) {
|
|
85
|
+
return dataSource.asyncResourceFactory(options).use();
|
|
83
86
|
}
|
|
84
|
-
return
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
return useMemo(
|
|
88
|
+
() => ({
|
|
89
|
+
data: [],
|
|
90
|
+
itemTotalCount: 0
|
|
91
|
+
}),
|
|
92
|
+
[]
|
|
93
|
+
);
|
|
88
94
|
};
|
|
89
95
|
}
|
|
90
96
|
getLoaderInvocationHooks() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncrementalLoader.mjs","sources":["../../../../../../../../src/components/List/model/loading/IncrementalLoader.ts"],"sourcesContent":["import type List from \"@/components/List/model/List\";\nimport type {\n DataLoaderOptions,\n DataLoaderResult,\n DataSource,\n IncrementalLoaderShape,\n LoaderInvocationHook,\n} from \"@/components/List/model/loading/types\";\nimport type { AsyncResource } from \"@mittwald/react-use-promise\";\nimport { getAsyncResource, usePromise } from \"@mittwald/react-use-promise\";\nimport { useEffect } from \"react\";\nimport { times } from \"remeda\";\nimport { IncrementalLoaderState } from \"@/components/List/model/loading/IncrementalLoaderState\";\nimport { hash } from \"object-code\";\nimport type { PropertyName } from \"@/components/List/model/types\";\nimport { useMemo } from \"react\";\n\nconst emptyData: never[] = [];\n\nexport class IncrementalLoader<T> {\n private readonly list: List<T>;\n private readonly dataSource: DataSource<T>;\n public readonly manualSorting: boolean;\n public readonly manualFiltering: boolean;\n public readonly manualPagination: boolean;\n public readonly loaderState: IncrementalLoaderState<T>;\n public readonly staticDataProperties: PropertyName<T>[] = [];\n\n private constructor(list: List<T>, shape: IncrementalLoaderShape<T> = {}) {\n const { source } = shape;\n\n this.dataSource = source ?? { staticData: emptyData };\n\n const manualPagination =\n \"manualPagination\" in this.dataSource\n ? this.dataSource.manualPagination\n : undefined;\n\n const manualFiltering =\n \"manualFiltering\" in this.dataSource\n ? this.dataSource.manualFiltering\n : undefined;\n\n const manualSorting =\n \"manualSorting\" in this.dataSource\n ? this.dataSource.manualSorting\n : undefined;\n\n this.list = list;\n this.loaderState = IncrementalLoaderState.useNew<T>();\n\n this.manualPagination = manualPagination ?? false;\n this.manualFiltering = manualFiltering ?? this.manualPagination;\n this.manualSorting = manualSorting ?? this.manualPagination;\n this.list.filters.forEach((f) => f.onFilterUpdated(() => this.reset()));\n this.list.search?.onUpdated(() => this.reset());\n\n this.initStaticDataProperties();\n }\n\n public static useNew<T>(\n list: List<T>,\n shape: IncrementalLoaderShape<T> = {},\n ): IncrementalLoader<T> {\n return new IncrementalLoader(list, shape);\n }\n\n private initStaticDataProperties() {\n const addPropertiesOfDataEntry = (data: unknown) => {\n if (typeof data !== \"object\" || data === null) {\n return;\n }\n\n (Object.keys(data) as PropertyName<T>[])\n .filter((p) => !this.staticDataProperties.includes(p))\n .forEach((p) => {\n this.staticDataProperties.push(p);\n });\n };\n\n if (\"staticData\" in this.dataSource) {\n this.dataSource.staticData\n // collect properties from just the first 100 items\n .slice(0, 100)\n .forEach(addPropertiesOfDataEntry);\n }\n }\n\n private reset(): void {\n this.loaderState.reset();\n }\n\n public useIsLoading(): boolean {\n return this.loaderState.useIsLoading();\n }\n\n public useIsInitiallyLoading(): boolean {\n return this.useIsLoading() && this.list.batches.getBatchIndex() === 0;\n }\n\n public useData(): T[] {\n return this.loaderState.useMergedData();\n }\n\n private getUseData(): (options: DataLoaderOptions<T>) => DataLoaderResult<T> {\n const dataSource = this.dataSource;\n\n return (options: DataLoaderOptions<T>) => {\n if (\"useData\" in dataSource) {\n return dataSource.useData(options);\n }\n\n if (\"asyncLoader\" in dataSource) {\n const asyncLoader = dataSource.asyncLoader;\n const dependencies = dataSource.dependencies;\n const loaderId = dependencies\n ? hash(dependencies).toString()\n : undefined;\n\n return usePromise(asyncLoader, [options], {\n loaderId,\n });\n }\n\n if (\"staticData\" in dataSource) {\n return useMemo(\n () => ({\n data: dataSource.staticData,\n itemTotalCount: dataSource.staticData.length,\n }),\n [dataSource.staticData],\n );\n }\n\n return {\n data: [],\n itemTotalCount: 0,\n };\n };\n }\n\n public getLoaderInvocationHooks(): LoaderInvocationHook[] {\n const batchesCount = times(this.list.batches.getBatchIndex() + 1, (i) => i);\n const useData = this.getUseData();\n\n return batchesCount.map((batchIndex) => ({\n useLoadBatch: () => {\n const loaderOptions = this.getDataLoaderOptions(batchIndex);\n const loaderResult = useData(loaderOptions);\n const { data, itemTotalCount } = loaderResult;\n\n useEffect(() => {\n this.loaderState.setDataBatch(batchIndex, data);\n\n if (itemTotalCount !== undefined) {\n this.list.batches.updateItemTotalCount(itemTotalCount);\n }\n\n this.loaderState.setBatchLoadingState(batchIndex, \"loaded\");\n }, [loaderResult]);\n },\n\n useRenderSuspense: () => {\n useEffect(() => {\n this.loaderState.setBatchLoadingState(batchIndex, \"loading\");\n }, [batchIndex]);\n },\n }));\n }\n\n private getDataLoaderOptions(batchIndex: number): DataLoaderOptions<T> {\n return {\n pagination: this.manualPagination\n ? {\n limit: this.list.batches.batchSize,\n offset: this.list.batches.batchSize * batchIndex,\n }\n : undefined,\n\n sorting: this.manualSorting\n ? (Object.fromEntries(\n this.list.sorting\n .filter((s) => s.isSorted())\n .map((s) => [s.property, s.direction]),\n ) as DataLoaderOptions<T>[\"sorting\"])\n : undefined,\n\n filtering: this.manualFiltering\n ? (Object.fromEntries(\n this.list.filters\n .filter((f) => f.getValue() !== null)\n .map((f) => [\n f.property,\n {\n mode: f.mode,\n values: f.getArrayValue().map((v) => v.value),\n },\n ]),\n ) as DataLoaderOptions<T>[\"filtering\"])\n : undefined,\n\n searchString: this.manualFiltering\n ? this.list.reactTable.searchString\n : undefined,\n };\n }\n\n private getBatchDataAsyncResource(\n batchIndex: number,\n ): AsyncResource<DataLoaderResult<T>> {\n const dataSource = this.dataSource;\n const loaderOptions = this.getDataLoaderOptions(batchIndex);\n\n if (\"staticData\" in dataSource) {\n return getAsyncResource(\n async (staticData) => ({\n data: staticData as T[],\n itemTotalCount: staticData.length,\n }),\n [dataSource.staticData],\n );\n }\n\n if (\"asyncLoader\" in dataSource) {\n const asyncLoader = dataSource.asyncLoader;\n const dependencies = dataSource.dependencies;\n const loaderId = dependencies ? hash(dependencies).toString() : undefined;\n return getAsyncResource(asyncLoader, [loaderOptions], {\n loaderId,\n });\n }\n\n if (\"asyncResourceFactory\" in dataSource) {\n const asyncResourceFactory = dataSource.asyncResourceFactory;\n return asyncResourceFactory(loaderOptions);\n }\n\n throw new Error(\"Unknown data source\");\n }\n}\n"],"names":[],"mappings":";;;;;;AAiBA,MAAM,YAAqB,EAAC;AAErB,MAAM,iBAAA,CAAqB;AAAA,EACf,IAAA;AAAA,EACA,UAAA;AAAA,EACD,aAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,WAAA;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alLoader.ts"],"sourcesContent":["import type List from \"@/components/List/model/List\";\nimport type {\n DataLoaderOptions,\n DataLoaderResult,\n DataSource,\n IncrementalLoaderShape,\n LoaderInvocationHook,\n} from \"@/components/List/model/loading/types\";\nimport type { AsyncResource } from \"@mittwald/react-use-promise\";\nimport { getAsyncResource, usePromise } from \"@mittwald/react-use-promise\";\nimport { useEffect } from \"react\";\nimport { times } from \"remeda\";\nimport { IncrementalLoaderState } from \"@/components/List/model/loading/IncrementalLoaderState\";\nimport { hash } from \"object-code\";\nimport type { PropertyName } from \"@/components/List/model/types\";\nimport { useMemo } from \"react\";\n\nconst emptyData: never[] = [];\n\nexport class IncrementalLoader<T> {\n private readonly list: List<T>;\n private readonly dataSource: DataSource<T>;\n public readonly manualSorting: boolean;\n public readonly manualFiltering: boolean;\n public readonly manualPagination: boolean;\n public readonly loaderState: IncrementalLoaderState<T>;\n public readonly staticDataProperties: PropertyName<T>[] = [];\n\n private constructor(list: List<T>, shape: IncrementalLoaderShape<T> = {}) {\n const { source } = shape;\n\n this.dataSource = source ?? { staticData: emptyData };\n\n const manualPagination =\n \"manualPagination\" in this.dataSource\n ? this.dataSource.manualPagination\n : undefined;\n\n const manualFiltering =\n \"manualFiltering\" in this.dataSource\n ? this.dataSource.manualFiltering\n : undefined;\n\n const manualSorting =\n \"manualSorting\" in this.dataSource\n ? this.dataSource.manualSorting\n : undefined;\n\n this.list = list;\n this.loaderState = IncrementalLoaderState.useNew<T>();\n\n this.manualPagination = manualPagination ?? false;\n this.manualFiltering = manualFiltering ?? this.manualPagination;\n this.manualSorting = manualSorting ?? this.manualPagination;\n this.list.filters.forEach((f) => f.onFilterUpdated(() => this.reset()));\n this.list.search?.onUpdated(() => this.reset());\n\n this.initStaticDataProperties();\n }\n\n public static useNew<T>(\n list: List<T>,\n shape: IncrementalLoaderShape<T> = {},\n ): IncrementalLoader<T> {\n return new IncrementalLoader(list, shape);\n }\n\n private initStaticDataProperties() {\n const addPropertiesOfDataEntry = (data: unknown) => {\n if (typeof data !== \"object\" || data === null) {\n return;\n }\n\n (Object.keys(data) as PropertyName<T>[])\n .filter((p) => !this.staticDataProperties.includes(p))\n .forEach((p) => {\n this.staticDataProperties.push(p);\n });\n };\n\n if (\"staticData\" in this.dataSource) {\n this.dataSource.staticData\n // collect properties from just the first 100 items\n .slice(0, 100)\n .forEach(addPropertiesOfDataEntry);\n }\n }\n\n private reset(): void {\n this.loaderState.reset();\n }\n\n public useIsLoading(): boolean {\n return this.loaderState.useIsLoading();\n }\n\n public useIsInitiallyLoading(): boolean {\n return this.useIsLoading() && this.list.batches.getBatchIndex() === 0;\n }\n\n public useData(): T[] {\n return this.loaderState.useMergedData();\n }\n\n private getUseData(): (options: DataLoaderOptions<T>) => DataLoaderResult<T> {\n const dataSource = this.dataSource;\n\n return (options: DataLoaderOptions<T>) => {\n if (\"staticData\" in dataSource) {\n return useMemo(\n () => ({\n data: dataSource.staticData,\n itemTotalCount: dataSource.staticData.length,\n }),\n [dataSource.staticData],\n );\n }\n\n if (\"useData\" in dataSource) {\n return dataSource.useData(options);\n }\n\n if (\"asyncLoader\" in dataSource) {\n const asyncLoader = dataSource.asyncLoader;\n const dependencies = dataSource.dependencies;\n const loaderId = dependencies\n ? hash(dependencies).toString()\n : undefined;\n\n return usePromise(asyncLoader, [options], {\n loaderId,\n });\n }\n\n if (\"asyncResourceFactory\" in dataSource) {\n return dataSource.asyncResourceFactory(options).use();\n }\n\n return useMemo(\n () => ({\n data: [],\n itemTotalCount: 0,\n }),\n [],\n );\n };\n }\n\n public getLoaderInvocationHooks(): LoaderInvocationHook[] {\n const batchesCount = times(this.list.batches.getBatchIndex() + 1, (i) => i);\n const useData = this.getUseData();\n\n return batchesCount.map((batchIndex) => ({\n useLoadBatch: () => {\n const loaderOptions = this.getDataLoaderOptions(batchIndex);\n const loaderResult = useData(loaderOptions);\n const { data, itemTotalCount } = loaderResult;\n\n useEffect(() => {\n this.loaderState.setDataBatch(batchIndex, data);\n\n if (itemTotalCount !== undefined) {\n this.list.batches.updateItemTotalCount(itemTotalCount);\n }\n\n this.loaderState.setBatchLoadingState(batchIndex, \"loaded\");\n }, [loaderResult]);\n },\n\n useRenderSuspense: () => {\n useEffect(() => {\n this.loaderState.setBatchLoadingState(batchIndex, \"loading\");\n }, [batchIndex]);\n },\n }));\n }\n\n private getDataLoaderOptions(batchIndex: number): DataLoaderOptions<T> {\n return {\n pagination: this.manualPagination\n ? {\n limit: this.list.batches.batchSize,\n offset: this.list.batches.batchSize * batchIndex,\n }\n : undefined,\n\n sorting: this.manualSorting\n ? (Object.fromEntries(\n this.list.sorting\n .filter((s) => s.isSorted())\n .map((s) => [s.property, s.direction]),\n ) as DataLoaderOptions<T>[\"sorting\"])\n : undefined,\n\n filtering: this.manualFiltering\n ? (Object.fromEntries(\n this.list.filters\n .filter((f) => f.getValue() !== null)\n .map((f) => [\n f.property,\n {\n mode: f.mode,\n values: f.getArrayValue().map((v) => v.value),\n },\n ]),\n ) as DataLoaderOptions<T>[\"filtering\"])\n : undefined,\n\n searchString: this.manualFiltering\n ? this.list.reactTable.searchString\n : undefined,\n };\n }\n\n private getBatchDataAsyncResource(\n batchIndex: number,\n ): AsyncResource<DataLoaderResult<T>> {\n const dataSource = this.dataSource;\n const loaderOptions = this.getDataLoaderOptions(batchIndex);\n\n if (\"staticData\" in dataSource) {\n return getAsyncResource(\n async (staticData) => ({\n data: staticData as T[],\n itemTotalCount: staticData.length,\n }),\n [dataSource.staticData],\n );\n }\n\n if (\"asyncLoader\" in dataSource) {\n const asyncLoader = dataSource.asyncLoader;\n const dependencies = dataSource.dependencies;\n const loaderId = dependencies ? hash(dependencies).toString() : undefined;\n return getAsyncResource(asyncLoader, [loaderOptions], {\n loaderId,\n });\n }\n\n if (\"asyncResourceFactory\" in dataSource) {\n const asyncResourceFactory = dataSource.asyncResourceFactory;\n return asyncResourceFactory(loaderOptions);\n }\n\n throw new Error(\"Unknown data source\");\n }\n}\n"],"names":[],"mappings":";;;;;;AAiBA,MAAM,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;AAAA,QACpD;AAAA,OACD,CAAA;AAAA,IACH;AAEA,IAAA,IAAI,0BAA0B,UAAA,EAAY;AACxC,MAAA,MAAM,uBAAuB,UAAA,CAAW,oBAAA;AACxC,MAAA,OAAO,qBAAqB,aAAa,CAAA;AAAA,IAC3C;AAEA,IAAA,MAAM,IAAI,MAAM,qBAAqB,CAAA;AAAA,EACvC;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncrementalLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/IncrementalLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAIV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAKlE,qBAAa,iBAAiB,CAAC,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAU;IAC/B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAC3C,SAAgB,aAAa,EAAE,OAAO,CAAC;IACvC,SAAgB,eAAe,EAAE,OAAO,CAAC;IACzC,SAAgB,gBAAgB,EAAE,OAAO,CAAC;IAC1C,SAAgB,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvD,SAAgB,oBAAoB,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAM;IAE7D,OAAO;WAgCO,MAAM,CAAC,CAAC,EACpB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EACb,KAAK,GAAE,sBAAsB,CAAC,CAAC,CAAM,GACpC,iBAAiB,CAAC,CAAC,CAAC;IAIvB,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,KAAK;IAIN,YAAY,IAAI,OAAO;IAIvB,qBAAqB,IAAI,OAAO;IAIhC,OAAO,IAAI,CAAC,EAAE;IAIrB,OAAO,CAAC,UAAU;
|
|
1
|
+
{"version":3,"file":"IncrementalLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/IncrementalLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAIV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAKlE,qBAAa,iBAAiB,CAAC,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAU;IAC/B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAC3C,SAAgB,aAAa,EAAE,OAAO,CAAC;IACvC,SAAgB,eAAe,EAAE,OAAO,CAAC;IACzC,SAAgB,gBAAgB,EAAE,OAAO,CAAC;IAC1C,SAAgB,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvD,SAAgB,oBAAoB,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAM;IAE7D,OAAO;WAgCO,MAAM,CAAC,CAAC,EACpB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EACb,KAAK,GAAE,sBAAsB,CAAC,CAAC,CAAM,GACpC,iBAAiB,CAAC,CAAC,CAAC;IAIvB,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,KAAK;IAIN,YAAY,IAAI,OAAO;IAIvB,qBAAqB,IAAI,OAAO;IAIhC,OAAO,IAAI,CAAC,EAAE;IAIrB,OAAO,CAAC,UAAU;IA4CX,wBAAwB,IAAI,oBAAoB,EAAE;IA6BzD,OAAO,CAAC,oBAAoB;IAqC5B,OAAO,CAAC,yBAAyB;CAgClC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.529",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@internationalized/string-compiler": "^3.2.6",
|
|
60
60
|
"@mittwald/password-tools-js": "3.0.0-alpha.18",
|
|
61
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
61
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.529",
|
|
62
62
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
63
63
|
"@react-aria/form": "^3.1.2",
|
|
64
64
|
"@react-aria/live-announcer": "^3.4.4",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@faker-js/faker": "^10.1.0",
|
|
102
102
|
"@internationalized/date": "^3.10.0",
|
|
103
103
|
"@mittwald/flow-core": "",
|
|
104
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
104
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.529",
|
|
105
105
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
106
106
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
107
107
|
"@mittwald/typescript-config": "",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"optional": true
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "a5cea8d7870345ef45907f77307e05e62fc28da1"
|
|
178
178
|
}
|