@tesouro/embedded-components-react 0.7.47 → 0.7.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +0 -23
- package/dist/lib/monite-sdk.d.ts +51 -182
- package/dist/lib/monite-sdk.js +71 -77
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsTable.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/counterparts.js +233 -88
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +75 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +10 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +102 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +51 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +49 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +1 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +53 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +151 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +70 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +68 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +172 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +73 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +76 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +33 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +1 -446
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +55 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +565 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +156 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +26 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +5 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +37 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +48 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +54 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +28 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +78 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +79 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +121 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +121 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +17 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +120 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +55 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +71 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +57 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +30 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +31 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +10 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +13 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +15 -564
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +114 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +62 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +195 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +17 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +5 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +359 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +89 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +182 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +98 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +54 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +49 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +85 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +7 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +304 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +157 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +101 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +186 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +131 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +208 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +238 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +131 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +165 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +19 -356
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +16 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +9 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +22 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +83 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +101 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +171 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +11 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +4 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +210 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +87 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +154 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +42 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +69 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +5 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +11 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +130 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +6 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +219 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +31 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +32 -238
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +179 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +194 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +102 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +64 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +91 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +83 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +1 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +15 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +87 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +70 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +5 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +72 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +49 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +51 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +71 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +80 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +8 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +3 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +55 -53
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +0 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +0 -97
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import { Scope as e } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
2
2
|
import "../../../../shared/data-access/dist/index.js";
|
|
3
|
-
import { AN_INVOICE_LINE_ITEM as t,
|
|
4
|
-
import { SCENARIO_LABELS as
|
|
5
|
-
import { FINOPS as
|
|
3
|
+
import { AN_INVOICE_LINE_ITEM as t, AN_ORGANIZATION_ID as n, AN_OUTSTANDING_INVOICE as r, A_COUNTERPART_ADDRESS as i, A_CUSTOMER_COUNTERPART as a } from "../../../../shared/data-access-mocks/dist/lib/fixtures.js";
|
|
4
|
+
import { SCENARIO_LABELS as o } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/labels.js";
|
|
5
|
+
import { FINOPS as s, bodyOf as c, endpoint as l, initRoute as ee, json as u, noContent as d, problem as f } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/scenario.js";
|
|
6
6
|
import { COUNTERPARTS_LABELS as p } from "./labels.js";
|
|
7
7
|
import { MintKind as m, contains as h, finopsOffsetPage as g, listOverride as _, minter as v, notFound as y, sortRows as b } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/worlds.js";
|
|
8
8
|
//#region ../../libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/counterparts.js
|
|
9
|
-
var x = (e) => `00000000-0000-4000-8000-000000000${e}`, { organization:
|
|
10
|
-
...
|
|
9
|
+
var x = (e) => `00000000-0000-4000-8000-000000000${e}`, { organization: te, ...ne } = a, S = (e, t, n, r = {}) => ({
|
|
10
|
+
...a,
|
|
11
11
|
id: e,
|
|
12
12
|
organization: {
|
|
13
13
|
legal_name: t,
|
|
14
14
|
email: n
|
|
15
15
|
},
|
|
16
16
|
...r
|
|
17
|
-
}),
|
|
18
|
-
...
|
|
17
|
+
}), C = (e, t, n = {}) => ({
|
|
18
|
+
...ne,
|
|
19
19
|
id: e,
|
|
20
20
|
type: "individual",
|
|
21
21
|
individual: t,
|
|
22
22
|
...n
|
|
23
|
-
}),
|
|
24
|
-
...
|
|
23
|
+
}), w = (e) => "organization" in e ? e.organization.legal_name : `${e.individual.first_name} ${e.individual.last_name}`, T = {
|
|
24
|
+
...a,
|
|
25
25
|
tax_id: "93-1234567",
|
|
26
26
|
reminders_enabled: !0,
|
|
27
27
|
organization: {
|
|
28
|
-
...
|
|
28
|
+
...a.organization,
|
|
29
29
|
phone: "5035550142"
|
|
30
30
|
}
|
|
31
|
-
},
|
|
31
|
+
}, E = S(x(280), "Harbor & Pine Studio", "billing@harborpine.example", { created_at: "2026-02-03T10:00:00.000Z" }), D = C(x(281), {
|
|
32
32
|
first_name: "Maya",
|
|
33
33
|
last_name: "Chen",
|
|
34
34
|
email: "maya@chen.example"
|
|
35
35
|
}, {
|
|
36
36
|
created_at: "2026-03-12T10:00:00.000Z",
|
|
37
37
|
tax_id: "123-45-6789"
|
|
38
|
-
}),
|
|
38
|
+
}), O = S(x(282), "Lakeside Dental Group", "accounts@lakesidedental.example", { created_at: "2026-04-20T10:00:00.000Z" }), k = C(x(283), {
|
|
39
39
|
first_name: "Daniel",
|
|
40
40
|
last_name: "Okafor",
|
|
41
41
|
email: "dan@okafor.example"
|
|
42
|
-
}, { created_at: "2026-05-02T10:00:00.000Z" }),
|
|
42
|
+
}, { created_at: "2026-05-02T10:00:00.000Z" }), A = S(x(284), "Brightline Events LLC", "finance@brightline.example", { created_at: "2026-06-18T10:00:00.000Z" }), j = [
|
|
43
|
+
T,
|
|
43
44
|
E,
|
|
44
45
|
D,
|
|
45
46
|
O,
|
|
46
47
|
k,
|
|
47
|
-
A
|
|
48
|
-
|
|
49
|
-
], N = [
|
|
48
|
+
A
|
|
49
|
+
], M = [
|
|
50
50
|
"Cedar Row Bakery",
|
|
51
51
|
"Summit Bike Works",
|
|
52
52
|
"Oakline Architects",
|
|
@@ -55,45 +55,154 @@ var x = (e) => `00000000-0000-4000-8000-000000000${e}`, { organization: ee, ...S
|
|
|
55
55
|
"Copperleaf Cafe",
|
|
56
56
|
"Meridian Tutoring",
|
|
57
57
|
"Tidewater Marine Supply"
|
|
58
|
-
].map((e, t) =>
|
|
59
|
-
...
|
|
58
|
+
].map((e, t) => S(x(300 + t), e, `ap@${e.split(" ")[0]?.toLowerCase()}.example`)), N = (e, t, n) => ({
|
|
59
|
+
...i,
|
|
60
60
|
id: x(e),
|
|
61
61
|
counterpart_id: t.id,
|
|
62
62
|
line2: null,
|
|
63
63
|
...n
|
|
64
|
-
}),
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
}), P = [
|
|
65
|
+
i,
|
|
66
|
+
N(311, E, {
|
|
67
67
|
line1: "88 Pier Street",
|
|
68
68
|
city: "Seattle",
|
|
69
69
|
state: "WA",
|
|
70
70
|
postal_code: "98101"
|
|
71
71
|
}),
|
|
72
|
-
|
|
72
|
+
N(312, D, {
|
|
73
73
|
line1: "1402 Elm Avenue",
|
|
74
74
|
city: "Austin",
|
|
75
75
|
state: "TX",
|
|
76
76
|
postal_code: "78701"
|
|
77
77
|
}),
|
|
78
|
-
|
|
78
|
+
N(313, O, {
|
|
79
79
|
line1: "5 Lakeshore Drive",
|
|
80
80
|
city: "Chicago",
|
|
81
81
|
state: "IL",
|
|
82
82
|
postal_code: "60601"
|
|
83
83
|
}),
|
|
84
|
-
|
|
84
|
+
N(314, A, {
|
|
85
85
|
line1: "740 Market Street",
|
|
86
86
|
city: "Denver",
|
|
87
87
|
state: "CO",
|
|
88
88
|
postal_code: "80202"
|
|
89
89
|
})
|
|
90
|
-
],
|
|
90
|
+
], F = {
|
|
91
|
+
is_customer: !1,
|
|
92
|
+
is_vendor: !0
|
|
93
|
+
}, I = S(x(340), "Northwind Office Supply", "ap@northwind.example", {
|
|
94
|
+
...F,
|
|
95
|
+
created_at: "2026-01-20T10:00:00.000Z"
|
|
96
|
+
}), L = C(x(341), {
|
|
97
|
+
first_name: "Priya",
|
|
98
|
+
last_name: "Raman",
|
|
99
|
+
email: "priya@raman.example"
|
|
100
|
+
}, {
|
|
101
|
+
...F,
|
|
102
|
+
created_at: "2026-03-04T10:00:00.000Z"
|
|
103
|
+
}), R = S(x(342), "Cedar Print Co.", "orders@cedarprint.example", {
|
|
104
|
+
...F,
|
|
105
|
+
created_at: "2026-05-11T10:00:00.000Z"
|
|
106
|
+
}), re = [
|
|
107
|
+
I,
|
|
108
|
+
L,
|
|
109
|
+
R
|
|
110
|
+
], ie = [
|
|
111
|
+
N(343, I, {
|
|
112
|
+
line1: "12 Harbor Way",
|
|
113
|
+
city: "Oakland",
|
|
114
|
+
state: "CA",
|
|
115
|
+
postal_code: "94607"
|
|
116
|
+
}),
|
|
117
|
+
N(344, L, {
|
|
118
|
+
line1: "77 Birch Lane",
|
|
119
|
+
city: "Madison",
|
|
120
|
+
state: "WI",
|
|
121
|
+
postal_code: "53703"
|
|
122
|
+
}),
|
|
123
|
+
N(345, R, {
|
|
124
|
+
line1: "300 Cedar Street",
|
|
125
|
+
city: "Boise",
|
|
126
|
+
state: "ID",
|
|
127
|
+
postal_code: "83702"
|
|
128
|
+
})
|
|
129
|
+
], ae = [{
|
|
130
|
+
id: x(346),
|
|
131
|
+
counterpart_id: I.id,
|
|
132
|
+
account_holder_name: "Northwind Office Supply",
|
|
133
|
+
account_number: "000123456789",
|
|
134
|
+
routing_number: "123456780",
|
|
135
|
+
country: "US",
|
|
136
|
+
currency: "USD",
|
|
137
|
+
is_default_for_currency: !0
|
|
138
|
+
}];
|
|
139
|
+
function z(e, t, r) {
|
|
140
|
+
let { total: i, paid: a = 0, ...o } = r, s = `${r.issued_at}T09:00:00.000Z`;
|
|
141
|
+
return {
|
|
142
|
+
id: x(e),
|
|
143
|
+
created_at: s,
|
|
144
|
+
updated_at: s,
|
|
145
|
+
entity_id: n,
|
|
146
|
+
credit_notes: [],
|
|
147
|
+
payable_origin: "upload",
|
|
148
|
+
source_of_payable_data: "user_specified",
|
|
149
|
+
currency: "USD",
|
|
150
|
+
counterpart_id: t.id,
|
|
151
|
+
counterpart_raw_data: { name: w(t) },
|
|
152
|
+
subtotal: i,
|
|
153
|
+
tax: 0,
|
|
154
|
+
total_amount: i,
|
|
155
|
+
amount_paid: a,
|
|
156
|
+
amount_due: i - a,
|
|
157
|
+
amount_to_pay: i - a,
|
|
158
|
+
...o
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
var oe = [
|
|
162
|
+
z(347, I, {
|
|
163
|
+
document_id: "BILL-2041",
|
|
164
|
+
status: "new",
|
|
165
|
+
issued_at: "2026-09-01",
|
|
166
|
+
due_date: "2026-10-01",
|
|
167
|
+
total: 245e3
|
|
168
|
+
}),
|
|
169
|
+
z(348, I, {
|
|
170
|
+
document_id: "BILL-2044",
|
|
171
|
+
status: "partially_paid",
|
|
172
|
+
issued_at: "2026-08-12",
|
|
173
|
+
due_date: "2026-09-11",
|
|
174
|
+
total: 8e4,
|
|
175
|
+
paid: 3e4
|
|
176
|
+
}),
|
|
177
|
+
z(349, I, {
|
|
178
|
+
document_id: "BILL-2036",
|
|
179
|
+
status: "paid",
|
|
180
|
+
issued_at: "2026-06-20",
|
|
181
|
+
due_date: "2026-07-20",
|
|
182
|
+
total: 12e4,
|
|
183
|
+
paid: 12e4
|
|
184
|
+
}),
|
|
185
|
+
z(352, I, {
|
|
186
|
+
document_id: "BILL-2039",
|
|
187
|
+
status: "rejected",
|
|
188
|
+
issued_at: "2026-07-08",
|
|
189
|
+
due_date: "2026-08-07",
|
|
190
|
+
total: 15e3
|
|
191
|
+
}),
|
|
192
|
+
z(353, L, {
|
|
193
|
+
document_id: "BILL-2046",
|
|
194
|
+
status: "waiting_to_be_paid",
|
|
195
|
+
issued_at: "2026-09-18",
|
|
196
|
+
due_date: "2026-10-18",
|
|
197
|
+
total: 64e3
|
|
198
|
+
})
|
|
199
|
+
], se = M.map((e, t) => N(315 + t, e, {
|
|
91
200
|
line1: `${10 + t} Main Street`,
|
|
92
201
|
city: "Springfield",
|
|
93
202
|
state: "IL",
|
|
94
203
|
postal_code: "62701"
|
|
95
204
|
}));
|
|
96
|
-
function
|
|
205
|
+
function B(e, n, r, i, a, o = 0) {
|
|
97
206
|
let s = typeof e == "string" ? e : x(e), c = r * i;
|
|
98
207
|
return {
|
|
99
208
|
...t,
|
|
@@ -123,9 +232,9 @@ function L(e, n, r, i, a, o = 0) {
|
|
|
123
232
|
}
|
|
124
233
|
};
|
|
125
234
|
}
|
|
126
|
-
var
|
|
235
|
+
var V = (e) => ({
|
|
127
236
|
counterpart_id: e.id,
|
|
128
|
-
counterpart_name:
|
|
237
|
+
counterpart_name: w(e),
|
|
129
238
|
counterpart_type: e.type,
|
|
130
239
|
counterpart_contact: "organization" in e ? {
|
|
131
240
|
first_name: "Accounts",
|
|
@@ -133,34 +242,34 @@ var R = (e) => ({
|
|
|
133
242
|
email: e.organization.email
|
|
134
243
|
} : { ...e.individual }
|
|
135
244
|
});
|
|
136
|
-
function
|
|
137
|
-
let a =
|
|
245
|
+
function H(e, t, n, i = {}) {
|
|
246
|
+
let a = n.reduce((e, t) => e + t.total_after_tax, 0), o = n.reduce((e, t) => e + t.total_before_tax, 0), s = i.amount_paid ?? 0;
|
|
138
247
|
return {
|
|
139
|
-
...
|
|
248
|
+
...r,
|
|
140
249
|
id: typeof e == "string" ? e : x(e),
|
|
141
|
-
...
|
|
142
|
-
line_items:
|
|
250
|
+
...V(t),
|
|
251
|
+
line_items: n,
|
|
143
252
|
subtotal: o,
|
|
144
253
|
total_amount: a,
|
|
145
254
|
total_amount_with_credit_notes: a,
|
|
146
255
|
total_tax_amount: a - o,
|
|
147
256
|
amount_paid: s,
|
|
148
257
|
amount_due: a - s,
|
|
149
|
-
updated_at: i.created_at ??
|
|
258
|
+
updated_at: i.created_at ?? r.updated_at,
|
|
150
259
|
...i
|
|
151
260
|
};
|
|
152
261
|
}
|
|
153
|
-
var
|
|
262
|
+
var U = [
|
|
154
263
|
{
|
|
155
|
-
...
|
|
156
|
-
...
|
|
157
|
-
line_items: [
|
|
264
|
+
...r,
|
|
265
|
+
...V(T),
|
|
266
|
+
line_items: [B(323, "Pallet racking install", 1, 128500, "item")],
|
|
158
267
|
issue_date: "2026-08-14",
|
|
159
268
|
due_date: "2026-10-14",
|
|
160
269
|
created_at: "2026-08-14T09:00:00.000Z",
|
|
161
270
|
updated_at: "2026-08-14T09:00:00.000Z"
|
|
162
271
|
},
|
|
163
|
-
|
|
272
|
+
H(285, T, [B(324, "Warehouse audit", 16, 15e3, "hour")], {
|
|
164
273
|
document_id: "INV-1038",
|
|
165
274
|
status: "paid",
|
|
166
275
|
amount_paid: 24e4,
|
|
@@ -169,7 +278,7 @@ var B = [
|
|
|
169
278
|
paid_at: "2026-06-28T12:00:00.000Z",
|
|
170
279
|
created_at: "2026-06-02T09:00:00.000Z"
|
|
171
280
|
}),
|
|
172
|
-
|
|
281
|
+
H(286, E, [B(325, "Brand identity package", 1, 25e4, "item"), B(326, "Design consultation", 5, 14e3, "hour")], {
|
|
173
282
|
document_id: "INV-1045",
|
|
174
283
|
status: "partially_paid",
|
|
175
284
|
amount_paid: 12e4,
|
|
@@ -177,28 +286,28 @@ var B = [
|
|
|
177
286
|
due_date: "2026-09-20",
|
|
178
287
|
created_at: "2026-08-21T09:00:00.000Z"
|
|
179
288
|
}),
|
|
180
|
-
|
|
289
|
+
H(287, D, [B(327, "Portrait session", 1, 45e3, "item")], {
|
|
181
290
|
document_id: "INV-1047",
|
|
182
291
|
status: "overdue",
|
|
183
292
|
issue_date: "2026-08-01",
|
|
184
293
|
due_date: "2026-08-31",
|
|
185
294
|
created_at: "2026-08-01T09:00:00.000Z"
|
|
186
295
|
}),
|
|
187
|
-
|
|
296
|
+
H(288, O, [B(328, "Clinic signage", 4, 13e4, "item", 825)], {
|
|
188
297
|
document_id: "INV-1049",
|
|
189
298
|
status: "issued",
|
|
190
299
|
issue_date: "2026-09-15",
|
|
191
300
|
due_date: "2026-10-15",
|
|
192
301
|
created_at: "2026-09-15T09:00:00.000Z"
|
|
193
302
|
}),
|
|
194
|
-
|
|
303
|
+
H(289, A, [B(329, "Event staffing", 35, 5e3, "hour")], {
|
|
195
304
|
document_id: null,
|
|
196
305
|
status: "draft",
|
|
197
306
|
issue_date: null,
|
|
198
307
|
due_date: "2026-10-30",
|
|
199
308
|
created_at: "2026-09-24T09:00:00.000Z"
|
|
200
309
|
}),
|
|
201
|
-
|
|
310
|
+
H(290, O, [B(330, "Window lettering", 1, 98e3, "item")], {
|
|
202
311
|
document_id: "INV-1036",
|
|
203
312
|
status: "paid",
|
|
204
313
|
amount_paid: 98e3,
|
|
@@ -207,7 +316,7 @@ var B = [
|
|
|
207
316
|
paid_at: "2026-06-01T12:00:00.000Z",
|
|
208
317
|
created_at: "2026-05-10T09:00:00.000Z"
|
|
209
318
|
}),
|
|
210
|
-
|
|
319
|
+
H(291, E, [B(331, "Photo retouching", 12, 5e3, "hour")], {
|
|
211
320
|
document_id: "INV-1033",
|
|
212
321
|
status: "canceled",
|
|
213
322
|
issue_date: "2026-04-11",
|
|
@@ -215,7 +324,7 @@ var B = [
|
|
|
215
324
|
created_at: "2026-04-11T09:00:00.000Z"
|
|
216
325
|
})
|
|
217
326
|
];
|
|
218
|
-
function
|
|
327
|
+
function W(e, t) {
|
|
219
328
|
let n = t.get("type"), r = t.get("status"), i = t.getAll("status__in"), a = t.get("counterpart_id"), o = t.get("search_text"), s = e.filter((e) => (!n || e.type === n) && (!r || e.status === r) && (!i.length || i.includes(e.status)) && (!a || e.counterpart_id === a) && (!o || h(e.document_id, o) || h(e.counterpart_name, o))), c = t.get("sort");
|
|
220
329
|
return c ? b(s, (e) => {
|
|
221
330
|
switch (c) {
|
|
@@ -229,32 +338,38 @@ function V(e, t) {
|
|
|
229
338
|
}
|
|
230
339
|
}, t.get("order")) : s;
|
|
231
340
|
}
|
|
232
|
-
function
|
|
341
|
+
function G(e, t) {
|
|
233
342
|
let n = t.getAll("counterpart_id__in"), r = t.getAll("status__in"), i = t.get("type"), a = t.get("metric") === "amount_due" ? "amount_due" : "total", o = /* @__PURE__ */ new Map();
|
|
234
343
|
for (let t of e) {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
344
|
+
let e = t.counterpart_id;
|
|
345
|
+
if (!e || n.length && !n.includes(e) || r.length && !r.includes(t.status) || i && t.type !== i) continue;
|
|
346
|
+
let s = (a === "amount_due" ? t.amount_due : t.total_amount) ?? 0;
|
|
347
|
+
o.set(e, (o.get(e) ?? 0) + s);
|
|
238
348
|
}
|
|
239
349
|
return { data: [...o].map(([e, t]) => ({
|
|
240
350
|
dimension_value: e,
|
|
241
351
|
metric_value: t
|
|
242
352
|
})) };
|
|
243
353
|
}
|
|
244
|
-
function
|
|
354
|
+
function ce(e, t) {
|
|
355
|
+
let n = t.get("counterpart_id"), r = t.getAll("status__in"), i = e.filter((e) => (!n || e.counterpart_id === n) && (!r.length || r.includes(e.status)));
|
|
356
|
+
return t.get("sort") === "created_at" ? b(i, (e) => e.created_at, t.get("order")) : i;
|
|
357
|
+
}
|
|
358
|
+
function K(e, t, n, r = v(), i = []) {
|
|
245
359
|
return {
|
|
246
360
|
customers: [...e],
|
|
247
361
|
addresses: [...t],
|
|
362
|
+
bankAccounts: [...i],
|
|
248
363
|
invoices: n,
|
|
249
364
|
mint: r
|
|
250
365
|
};
|
|
251
366
|
}
|
|
252
|
-
var
|
|
253
|
-
function
|
|
254
|
-
let n = t.getAll("id__in"), r = t.get("counterpart_name__icontains"), i = t.get("type"), a = e.filter((e) => (t.get("is_customer") !== "true" || e.is_customer) && (t.get("is_vendor") !== "true" || e.is_vendor) && (!n.length || n.includes(e.id)) && (!r || h(
|
|
255
|
-
return t.get("sort") === "counterpart_name" ? b(a,
|
|
367
|
+
var q = `${s}/counterparts`;
|
|
368
|
+
function le(e, t) {
|
|
369
|
+
let n = t.getAll("id__in"), r = t.get("counterpart_name__icontains"), i = t.get("type"), a = e.filter((e) => (t.get("is_customer") !== "true" || e.is_customer) && (t.get("is_vendor") !== "true" || e.is_vendor) && (!n.length || n.includes(e.id)) && (!r || h(w(e), r)) && (!i || e.type === i));
|
|
370
|
+
return t.get("sort") === "counterpart_name" ? b(a, w, t.get("order")) : a;
|
|
256
371
|
}
|
|
257
|
-
function
|
|
372
|
+
function J(e, t, n) {
|
|
258
373
|
return {
|
|
259
374
|
id: e.mint(m.Address),
|
|
260
375
|
counterpart_id: t,
|
|
@@ -266,24 +381,26 @@ function K(e, t, n) {
|
|
|
266
381
|
country: n.country ?? "US"
|
|
267
382
|
};
|
|
268
383
|
}
|
|
269
|
-
function
|
|
384
|
+
function ue(e, t) {
|
|
270
385
|
let n = (/* @__PURE__ */ new Date()).toISOString(), r = {
|
|
271
386
|
id: e.mint(m.Customer),
|
|
272
387
|
created_at: n,
|
|
273
388
|
updated_at: n,
|
|
389
|
+
is_customer: t.is_customer ?? !0,
|
|
390
|
+
is_vendor: t.is_vendor ?? !1,
|
|
274
391
|
tax_id: t.tax_id ?? null,
|
|
275
392
|
reminders_enabled: t.reminders_enabled ?? !1
|
|
276
393
|
}, i, a;
|
|
277
394
|
if (t.type === "individual") {
|
|
278
395
|
let { address: e, ...n } = t.individual ?? {};
|
|
279
|
-
a = e, i =
|
|
396
|
+
a = e, i = C(r.id, {
|
|
280
397
|
first_name: "",
|
|
281
398
|
last_name: "",
|
|
282
399
|
...n
|
|
283
400
|
}, r);
|
|
284
401
|
} else {
|
|
285
402
|
let { address: e, ...n } = t.organization ?? {};
|
|
286
|
-
a = e, i =
|
|
403
|
+
a = e, i = S(r.id, n.legal_name ?? "", n.email ?? "", {
|
|
287
404
|
...r,
|
|
288
405
|
organization: {
|
|
289
406
|
legal_name: "",
|
|
@@ -292,12 +409,18 @@ function q(e, t) {
|
|
|
292
409
|
});
|
|
293
410
|
}
|
|
294
411
|
if (e.customers.unshift(i), a) {
|
|
295
|
-
let t =
|
|
412
|
+
let t = J(e, i.id, a);
|
|
296
413
|
e.addresses.push(t), i.default_billing_address_id = t.id;
|
|
297
414
|
}
|
|
298
415
|
return i;
|
|
299
416
|
}
|
|
300
|
-
function
|
|
417
|
+
function Y(e, t) {
|
|
418
|
+
t.is_default_for_currency && (e.bankAccounts = e.bankAccounts.map((e) => e.counterpart_id === t.counterpart_id && e.currency === t.currency && e.id !== t.id ? {
|
|
419
|
+
...e,
|
|
420
|
+
is_default_for_currency: !1
|
|
421
|
+
} : e));
|
|
422
|
+
}
|
|
423
|
+
function de(e, t) {
|
|
301
424
|
let n = {
|
|
302
425
|
updated_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
303
426
|
...t.tax_id === void 0 ? {} : { tax_id: t.tax_id || null },
|
|
@@ -319,65 +442,87 @@ function J(e, t) {
|
|
|
319
442
|
}
|
|
320
443
|
};
|
|
321
444
|
}
|
|
322
|
-
function
|
|
445
|
+
function X(e, { list: t, analyticsFail: n = !1 } = {}) {
|
|
323
446
|
let r = (t) => e.customers.find((e) => e.id === t), i = (t) => {
|
|
324
447
|
e.customers = e.customers.map((e) => e.id === t.id ? t : e);
|
|
325
448
|
};
|
|
326
449
|
return [
|
|
327
|
-
...t ? [_(t,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
450
|
+
...t ? [_(t, q, () => e.customers)] : [],
|
|
451
|
+
l("GET", q, ({ query: t }) => u(g(le(e.customers, t), t))),
|
|
452
|
+
l("POST", q, (t) => u(ue(e, c(t)), 201)),
|
|
453
|
+
l("GET", `${q}/:id`, (e, { id: t }) => {
|
|
331
454
|
let n = r(t);
|
|
332
455
|
return n ? u(n) : y();
|
|
333
456
|
}),
|
|
334
|
-
|
|
457
|
+
l("PATCH", `${q}/:id`, (e, { id: t }) => {
|
|
335
458
|
let n = r(t);
|
|
336
459
|
if (!n) return y();
|
|
337
|
-
let a =
|
|
460
|
+
let a = de(n, c(e));
|
|
338
461
|
return i(a), u(a);
|
|
339
462
|
}),
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
let r =
|
|
463
|
+
l("DELETE", `${q}/:id`, (t, { id: n }) => (e.customers = e.customers.filter((e) => e.id !== n), d())),
|
|
464
|
+
l("GET", `${q}/:id/addresses`, (t, { id: n }) => u({ data: e.addresses.filter((e) => e.counterpart_id === n) })),
|
|
465
|
+
l("POST", `${q}/:id/addresses`, (t, { id: n }) => {
|
|
466
|
+
let r = J(e, n, c(t));
|
|
344
467
|
return e.addresses.push(r), u(r, 201);
|
|
345
468
|
}),
|
|
346
|
-
|
|
469
|
+
l("PATCH", `${q}/:id/addresses/:addressId`, (t, { addressId: n }) => {
|
|
347
470
|
let r = e.addresses.find((e) => e.id === n);
|
|
348
471
|
if (!r) return y();
|
|
349
472
|
let i = {
|
|
350
473
|
...r,
|
|
351
|
-
...
|
|
474
|
+
...c(t)
|
|
352
475
|
};
|
|
353
476
|
return e.addresses = e.addresses.map((e) => e.id === n ? i : e), u(i);
|
|
354
477
|
}),
|
|
355
|
-
|
|
356
|
-
|
|
478
|
+
l("GET", `${q}/:id/bank-accounts`, (t, { id: n }) => u({ data: e.bankAccounts.filter((e) => e.counterpart_id === n) })),
|
|
479
|
+
l("POST", `${q}/:id/bank-accounts`, (t, { id: n }) => {
|
|
480
|
+
let r = {
|
|
481
|
+
country: "US",
|
|
482
|
+
currency: "USD",
|
|
483
|
+
...c(t),
|
|
484
|
+
id: e.mint(m.BankAccount),
|
|
485
|
+
counterpart_id: n
|
|
486
|
+
};
|
|
487
|
+
return e.bankAccounts.push(r), Y(e, r), u(r, 201);
|
|
488
|
+
}),
|
|
489
|
+
l("PATCH", `${q}/:id/bank-accounts/:bankAccountId`, (t, { bankAccountId: n }) => {
|
|
490
|
+
let r = e.bankAccounts.find((e) => e.id === n);
|
|
491
|
+
if (!r) return y();
|
|
492
|
+
let i = {
|
|
493
|
+
...r,
|
|
494
|
+
...c(t)
|
|
495
|
+
};
|
|
496
|
+
return e.bankAccounts = e.bankAccounts.map((e) => e.id === n ? i : e), Y(e, i), u(i);
|
|
497
|
+
}),
|
|
498
|
+
l("DELETE", `${q}/:id/bank-accounts/:bankAccountId`, (t, { bankAccountId: n }) => (e.bankAccounts = e.bankAccounts.filter((e) => e.id !== n), d())),
|
|
499
|
+
l("GET", `${s}/analytics/receivables`, ({ query: t }) => n ? f(500, "Internal Server Error", "Something went wrong.") : u(G(e.invoices(), t)))
|
|
357
500
|
];
|
|
358
501
|
}
|
|
359
|
-
var
|
|
360
|
-
function Z(e, t, {
|
|
502
|
+
var fe = [e.CounterpartReadOrg, e.CounterpartWriteOrg];
|
|
503
|
+
function Z(e, t, { counterparts: n = [...j, ...re], addresses: r = [...P, ...ie], scopes: i = fe, ...a } = {}) {
|
|
361
504
|
return {
|
|
362
505
|
key: e,
|
|
363
506
|
...t,
|
|
364
507
|
routes: () => {
|
|
365
|
-
let e =
|
|
508
|
+
let e = oe.filter((e) => n.some((t) => t.id === e.counterpart_id)), t = K(n, r, () => U, v(), ae.filter((e) => n.some((t) => t.id === e.counterpart_id)));
|
|
366
509
|
return [
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
510
|
+
ee(i),
|
|
511
|
+
l("GET", `${s}/receivables`, ({ query: e }) => u(g(W(t.invoices(), e), e))),
|
|
512
|
+
l("GET", `${s}/payables`, ({ query: t }) => u(g(ce(e, t), t))),
|
|
513
|
+
l("GET", `${s}/analytics/payables`, ({ query: t }) => a.analyticsFail ? f(500, "Internal Server Error", "Something went wrong.") : u(G(e, t))),
|
|
514
|
+
...X(t, a)
|
|
370
515
|
];
|
|
371
516
|
}
|
|
372
517
|
};
|
|
373
518
|
}
|
|
374
519
|
var Q = (e, t = {}) => Z(e, {
|
|
375
|
-
label:
|
|
520
|
+
label: o[e].label,
|
|
376
521
|
blurb: p.blurbs[e]
|
|
377
|
-
}, t), $ = (e, t) => Z(e, p.scenarios[e], t),
|
|
522
|
+
}, t), $ = (e, t) => Z(e, p.scenarios[e], t), pe = [
|
|
378
523
|
Q("populated"),
|
|
379
524
|
Q("empty", {
|
|
380
|
-
|
|
525
|
+
counterparts: [],
|
|
381
526
|
addresses: []
|
|
382
527
|
}),
|
|
383
528
|
Q("loading", { list: "held" }),
|
|
@@ -385,10 +530,10 @@ var Q = (e, t = {}) => Z(e, {
|
|
|
385
530
|
Q("control-hidden", { scopes: [e.CounterpartReadOrg] }),
|
|
386
531
|
$("access-restricted", { scopes: [] }),
|
|
387
532
|
Q("paginated", {
|
|
388
|
-
|
|
389
|
-
addresses: [...
|
|
533
|
+
counterparts: [...j, ...M],
|
|
534
|
+
addresses: [...P, ...se]
|
|
390
535
|
}),
|
|
391
536
|
$("amounts-unavailable", { analyticsFail: !0 })
|
|
392
537
|
];
|
|
393
538
|
//#endregion
|
|
394
|
-
export {
|
|
539
|
+
export { j as CUSTOMERS, P as CUSTOMER_ADDRESSES, U as CUSTOMER_INVOICES, k as DANIEL_OKAFOR, T as RIVERMILL, V as billTo, pe as counterpartsScenarios, w as customerName, X as customerRoutes, K as customerWorld, W as filterInvoices, x as id, H as invoice, B as lineItem };
|
package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js
|
|
2
2
|
var e = {
|
|
3
3
|
blurbs: {
|
|
4
|
-
populated: "Six customers with their billed, received and due totals. Search by name, filter by type, sort by name, or click a row to open the customer. Create new adds a customer, and the sheet edits, deletes and adds an address; changes last until you switch scenario.",
|
|
4
|
+
populated: "Six customers with their billed, received and due totals. Search by name, filter by type, sort by name, or click a row to open the customer. Create new adds a customer, and the sheet edits, deletes and adds an address; changes last until you switch scenario. In vendor mode, three vendors with their bills and bank accounts.",
|
|
5
5
|
empty: "The organization has no customers yet. Press Create new, fill in a name and email, and save: the customer opens in its sheet and joins the list.",
|
|
6
6
|
loading: "The customers read is held open, so the table skeleton stays on screen.",
|
|
7
7
|
error: "The customers read fails with a 500, so the table shows Failed to load Customer. Reload re-issues the read, which fails again.",
|