@tesouro/embedded-components-react 0.7.46 → 0.7.49
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/index.d.ts +4 -0
- package/dist/lib/CounterpartsWidget.d.ts +4 -0
- package/dist/lib/CounterpartsWidgetPublic.d.ts +4 -0
- package/dist/lib/CustomersWidget.d.ts +2 -0
- package/dist/lib/ReceivablesWidget.d.ts +2 -0
- package/dist/lib/monite-sdk.d.ts +51 -182
- package/dist/lib/monite-sdk.js +71 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +40 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +44 -44
- 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/counterpart-management/feature/dist/lib/helpers.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +85 -84
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +238 -241
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index11.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index5.js +2 -0
- 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 +1,93 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { getSharedApprovalRuleLabel as e, getUsersFromListLabel as t } from "./index94.js";
|
|
2
|
+
import { isRoleApprovalCall as n } from "./index97.js";
|
|
3
|
+
import "./index98.js";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js
|
|
5
|
+
var r = {
|
|
6
|
+
REQUEST_APPROVAL_BY_USERS: "ApprovalRequests.request_approval_by_users",
|
|
7
|
+
REQUEST_APPROVAL_BY_ROLES: "ApprovalRequests.request_approval_by_roles"
|
|
8
|
+
}, i = (e) => {
|
|
9
|
+
switch (e) {
|
|
10
|
+
case "approved": return "waiting_to_be_paid";
|
|
11
|
+
case "rejected": return "rejected";
|
|
12
|
+
case "canceled": return "canceled";
|
|
13
|
+
default: return "approve_in_progress";
|
|
14
|
+
}
|
|
15
|
+
}, a = (e) => e.find((e) => e.call === r.REQUEST_APPROVAL_BY_USERS), o = (e) => e.find((e) => n(e.call)), s = (e, t, n = !1) => e.filter((e) => e.user_ids?.length ? n ? e.user_ids.some((e) => t.includes(e)) : t.every((t) => e.user_ids.includes(t)) : !1), c = (e, t) => e.filter((e) => e.role_ids?.some((e) => t.includes(e))), l = (n, r, i) => {
|
|
16
|
+
if (n?.params) {
|
|
17
|
+
let { user_ids: r, required_approval_count: a } = n.params;
|
|
18
|
+
return r?.length === 1 ? e.singleUser(i) : t(i, a);
|
|
19
|
+
}
|
|
20
|
+
return r?.params ? e.anyUserWithRole(i) : "";
|
|
21
|
+
}, u = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(u) : e.if ? u(e.if) : [] : [], d = (e) => e.flatMap(u), f = (e) => {
|
|
22
|
+
let t = [];
|
|
23
|
+
if (e.all) t.push(...e.all);
|
|
24
|
+
else if (e.if) {
|
|
25
|
+
let n = e.if;
|
|
26
|
+
n.all ? t.push(...n.all) : t.push(n);
|
|
27
|
+
}
|
|
28
|
+
return t;
|
|
29
|
+
}, p = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(p) : Array.isArray(e) ? e.flatMap(p) : [] : [], m = (e) => e.length === 0 || e.some((e) => e.status === "waiting") ? "waiting" : e.every((e) => e.status === "approved") ? "approved" : e.some((e) => e.status === "rejected") ? "rejected" : "waiting", h = (e, t, n) => ({
|
|
30
|
+
stepNumber: t,
|
|
31
|
+
type: n,
|
|
32
|
+
assignee: void 0,
|
|
33
|
+
assignees: e.assignees,
|
|
34
|
+
status: e.stepStatus,
|
|
35
|
+
payableStatus: i(e.stepStatus),
|
|
36
|
+
actualAssignees: e.actualAssignees,
|
|
37
|
+
hasActiveRequests: e.relatedRequests.length > 0,
|
|
38
|
+
requestIds: e.relatedRequests.map((e) => e.id),
|
|
39
|
+
approvalRequestId: e.approvalRequestId,
|
|
40
|
+
approvedBy: e.approvedBy,
|
|
41
|
+
objectId: e.objectId,
|
|
42
|
+
rejectedBy: e.rejectedBy,
|
|
43
|
+
requiredApprovalCount: e.requiredApprovalCount
|
|
44
|
+
}), g = (e, t, n, r) => {
|
|
45
|
+
let a = m(t);
|
|
46
|
+
return {
|
|
47
|
+
stepNumber: n,
|
|
48
|
+
type: r,
|
|
49
|
+
assignee: void 0,
|
|
50
|
+
assignees: e,
|
|
51
|
+
status: a,
|
|
52
|
+
payableStatus: i(a),
|
|
53
|
+
actualAssignees: e,
|
|
54
|
+
hasActiveRequests: t.length > 0,
|
|
55
|
+
requestIds: t.map((e) => e.id),
|
|
56
|
+
approvalRequestId: t[0]?.id,
|
|
57
|
+
approvedBy: t.flatMap((e) => e.approved_by || []),
|
|
58
|
+
objectId: t[0]?.object_id,
|
|
59
|
+
rejectedBy: t.find((e) => e.rejected_by)?.rejected_by,
|
|
60
|
+
requiredApprovalCount: t.reduce((e, t) => e + t.required_approval_count, 0)
|
|
61
|
+
};
|
|
62
|
+
}, _ = (e, t) => {
|
|
63
|
+
let n = e.flatMap((e) => e.params?.user_ids || []);
|
|
64
|
+
return {
|
|
65
|
+
allChainUserIds: n,
|
|
66
|
+
allChainRequests: t.filter((e) => e.user_ids?.length && n.some((t) => e.user_ids.includes(t)))
|
|
67
|
+
};
|
|
68
|
+
}, v = (e) => {
|
|
69
|
+
let t = [];
|
|
70
|
+
if (e.all) t.push(...e.all);
|
|
71
|
+
else if (e.if) {
|
|
72
|
+
let n = e.if;
|
|
73
|
+
n.all ? t.push(...n.all) : t.push(n);
|
|
74
|
+
}
|
|
75
|
+
return t;
|
|
76
|
+
}, y = (e, t) => {
|
|
77
|
+
let i = e.call === r.REQUEST_APPROVAL_BY_USERS ? e : void 0, a = [];
|
|
78
|
+
i?.params?.user_ids && (a = i.params.user_ids);
|
|
79
|
+
let o = n(e.call) ? c(t, e.params?.role_ids ?? []) : s(t, a, !0), l = o.flatMap((e) => e.user_ids || []), u = [...new Set(l)], d = o.length ? o[0].status : "waiting", f = o.find((e) => e.status !== "waiting"), p = o.flatMap((e) => e.approved_by || []), m = [...new Set(p)];
|
|
80
|
+
return {
|
|
81
|
+
assignees: a,
|
|
82
|
+
actualAssignees: u,
|
|
83
|
+
relatedRequests: o,
|
|
84
|
+
stepStatus: d,
|
|
85
|
+
approvalRequestId: f?.id,
|
|
86
|
+
approvedBy: m.length > 0 ? m : void 0,
|
|
87
|
+
objectId: f?.object_id || e.params?.object_id,
|
|
88
|
+
rejectedBy: f?.rejected_by,
|
|
89
|
+
requiredApprovalCount: e.params?.required_approval_count || f?.required_approval_count || 1
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
//#endregion
|
|
93
|
+
export { r as APPROVAL_CALL_TYPES, m as calculateIntegralStatus, h as createBaseApprovalStep, g as createChainApprovalStep, u as extractApprovalCalls, p as extractApprovalCallsForTable, v as extractItemsFromScriptStep, f as extractStructureItemsFromScriptStep, c as filterRequestsByRoles, s as filterRequestsByUsers, o as findRoleApprovalCall, a as findUserApprovalCall, l as getApprovalRuleLabel, i as mapApprovalStatusToPayableStatus, d as processApprovalStructure, _ as processChainApprovalCalls, y as resolveStepForCall };
|
|
@@ -1,31 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { useRootElements as e } from "./index78.js";
|
|
2
|
+
import "./index79.js";
|
|
3
|
+
import { useState as t } from "react";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { CacheProvider as r } from "@emotion/react";
|
|
6
|
+
import i from "@emotion/cache";
|
|
5
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js
|
|
6
|
-
var
|
|
7
|
-
let
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}) : s ? /* @__PURE__ */ t(e, {
|
|
23
|
-
title: y._("Failed to load {entityName}", { entityName: u }),
|
|
24
|
-
descriptionLine1: y._("There was an error loading {entityName}.", { entityName: u.toLowerCase() }),
|
|
25
|
-
actionButtonLabel: y._("Reload"),
|
|
26
|
-
onAction: l,
|
|
27
|
-
type: "error"
|
|
28
|
-
}) : null;
|
|
8
|
+
var a = ({ cacheKey: e, container: t, prebuiltStylesheet: n = !1 }) => {
|
|
9
|
+
let r = i({
|
|
10
|
+
key: e,
|
|
11
|
+
container: t
|
|
12
|
+
});
|
|
13
|
+
return n && (r.compat = !0), r;
|
|
14
|
+
}, o = ({ cacheKey: i, prebuiltStylesheet: o = !1, children: s }) => {
|
|
15
|
+
let c = e(), [l] = t(() => a({
|
|
16
|
+
cacheKey: i,
|
|
17
|
+
container: c.styles,
|
|
18
|
+
prebuiltStylesheet: o
|
|
19
|
+
}));
|
|
20
|
+
return /* @__PURE__ */ n(r, {
|
|
21
|
+
value: l,
|
|
22
|
+
children: s
|
|
23
|
+
});
|
|
29
24
|
};
|
|
30
25
|
//#endregion
|
|
31
|
-
export {
|
|
26
|
+
export { o as EmotionCacheProvider, a as createEmotionCache };
|
|
@@ -1,43 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import "./index127.js";
|
|
7
|
-
import { LockKeyhole as r, X as i } from "lucide-react";
|
|
8
|
-
import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
9
|
-
import { useLingui as c } from "@lingui/react";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { I18nProvider as n } from "@lingui/react";
|
|
4
|
+
import { LocalizationProvider as r } from "@mui/x-date-pickers";
|
|
5
|
+
import { AdapterDateFns as i } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
10
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js
|
|
11
|
-
var
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
children: /* @__PURE__ */ o(n, {
|
|
20
|
-
onClick: d.onClose,
|
|
21
|
-
color: "inherit",
|
|
22
|
-
"aria-label": "close",
|
|
23
|
-
children: /* @__PURE__ */ o(i, {})
|
|
7
|
+
var a = ({ children: a }) => {
|
|
8
|
+
let { i18n: o, dateFnsLocale: s } = e();
|
|
9
|
+
return /* @__PURE__ */ t(n, {
|
|
10
|
+
i18n: o,
|
|
11
|
+
children: /* @__PURE__ */ t(r, {
|
|
12
|
+
dateAdapter: i,
|
|
13
|
+
adapterLocale: s,
|
|
14
|
+
children: a
|
|
24
15
|
})
|
|
25
|
-
}
|
|
26
|
-
className: u + "-Content",
|
|
27
|
-
children: /* @__PURE__ */ s("div", {
|
|
28
|
-
className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-4",
|
|
29
|
-
children: [/* @__PURE__ */ o(r, { className: "ttw:w-8 ttw:h-8 ttw:text-primary" }), /* @__PURE__ */ s("div", {
|
|
30
|
-
className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-2",
|
|
31
|
-
children: [/* @__PURE__ */ o("h3", {
|
|
32
|
-
className: "ttw:text-2xl ttw:font-semibold",
|
|
33
|
-
children: p
|
|
34
|
-
}), /* @__PURE__ */ o("p", {
|
|
35
|
-
className: "ttw:text-center",
|
|
36
|
-
children: m
|
|
37
|
-
})]
|
|
38
|
-
})]
|
|
39
|
-
})
|
|
40
|
-
})] });
|
|
16
|
+
}, o.locale);
|
|
41
17
|
};
|
|
42
18
|
//#endregion
|
|
43
|
-
export {
|
|
19
|
+
export { a as MoniteI18nProvider };
|
|
@@ -1,4 +1,71 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
1
|
+
import { useDialog as e } from "./index128.js";
|
|
2
|
+
import { CenteredContentBox as t } from "./index65.js";
|
|
3
|
+
import "./index66.js";
|
|
4
|
+
import "./index129.js";
|
|
5
|
+
import { IconWrapper as n } from "./index132.js";
|
|
6
|
+
import "./index133.js";
|
|
7
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { Box as o, Button as s, Grid as c, Stack as l, Typography as u } from "@mui/material";
|
|
9
|
+
import { useLingui as d } from "@lingui/react";
|
|
10
|
+
import f from "@mui/icons-material/Close";
|
|
11
|
+
import p from "@mui/icons-material/Cached";
|
|
12
|
+
import m from "@mui/icons-material/OpenInNew";
|
|
13
|
+
import h from "@mui/icons-material/SearchOff";
|
|
14
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js
|
|
15
|
+
var g = (g) => {
|
|
16
|
+
let _ = e(), { i18n: v } = d(), y = v._("Something went wrong"), b = String(g.error);
|
|
17
|
+
return /* @__PURE__ */ a(r, { children: [_ && /* @__PURE__ */ a(c, {
|
|
18
|
+
container: !0,
|
|
19
|
+
padding: 2,
|
|
20
|
+
children: [/* @__PURE__ */ i(c, {
|
|
21
|
+
item: !0,
|
|
22
|
+
xs: 11
|
|
23
|
+
}), /* @__PURE__ */ i(c, {
|
|
24
|
+
item: !0,
|
|
25
|
+
xs: 1,
|
|
26
|
+
children: /* @__PURE__ */ i(n, {
|
|
27
|
+
onClick: _.onClose,
|
|
28
|
+
color: "inherit",
|
|
29
|
+
"aria-label": "close",
|
|
30
|
+
children: /* @__PURE__ */ i(f, {})
|
|
31
|
+
})
|
|
32
|
+
})]
|
|
33
|
+
}), /* @__PURE__ */ i(t, { children: /* @__PURE__ */ a(l, {
|
|
34
|
+
alignItems: "center",
|
|
35
|
+
spacing: 2,
|
|
36
|
+
children: [/* @__PURE__ */ i(o, { children: /* @__PURE__ */ i(h, {
|
|
37
|
+
fontSize: "large",
|
|
38
|
+
color: "error"
|
|
39
|
+
}) }), /* @__PURE__ */ a(l, {
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
spacing: 1,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ i(u, {
|
|
44
|
+
variant: "h3",
|
|
45
|
+
children: y
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ i(u, {
|
|
48
|
+
variant: "body2",
|
|
49
|
+
children: b
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ a(l, {
|
|
52
|
+
spacing: 2,
|
|
53
|
+
direction: "row",
|
|
54
|
+
children: [/* @__PURE__ */ i(s, {
|
|
55
|
+
variant: "contained",
|
|
56
|
+
onClick: g.resetErrorBoundary,
|
|
57
|
+
endIcon: /* @__PURE__ */ i(p, { fontSize: "small" }),
|
|
58
|
+
children: v._("Try again")
|
|
59
|
+
}), /* @__PURE__ */ i(s, {
|
|
60
|
+
variant: "outlined",
|
|
61
|
+
href: "https://docs.monite.com/docs/support",
|
|
62
|
+
endIcon: /* @__PURE__ */ i(m, { fontSize: "small" }),
|
|
63
|
+
children: v._("Contact support")
|
|
64
|
+
})]
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
})]
|
|
68
|
+
}) })] });
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
export { g as Error };
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { EmotionCacheProvider as t } from "./index152.js";
|
|
3
|
+
import { MoniteI18nProvider as n } from "./index153.js";
|
|
4
|
+
import { Error as r } from "./index154.js";
|
|
5
|
+
import { createContext as i, useContext as a } from "react";
|
|
6
|
+
import { ErrorBoundary as o } from "react-error-boundary";
|
|
7
|
+
import { Fragment as s, jsx as c } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { ThemeProvider as l } from "@mui/material";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js
|
|
10
|
+
var u = ({ children: i }) => {
|
|
11
|
+
let u = a(d), { theme: f } = e();
|
|
12
|
+
return u ? /* @__PURE__ */ c(s, { children: i }) : /* @__PURE__ */ c(d.Provider, {
|
|
13
|
+
value: !0,
|
|
14
|
+
children: /* @__PURE__ */ c(t, {
|
|
15
|
+
cacheKey: "monite-css",
|
|
16
|
+
children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c(l, {
|
|
17
|
+
theme: f,
|
|
18
|
+
children: /* @__PURE__ */ c(o, {
|
|
19
|
+
FallbackComponent: r,
|
|
20
|
+
children: i
|
|
21
|
+
})
|
|
22
|
+
}) })
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
}, d = i(!1);
|
|
26
|
+
//#endregion
|
|
27
|
+
export { u as MoniteScopedProviders };
|
|
@@ -1,52 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
4
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
className: "ttw:flex-1 ttw:relative ttw:w-0 ttw:min-w-full ttw:overflow-x-auto",
|
|
9
|
-
children: /* @__PURE__ */ t("table", {
|
|
10
|
-
"data-slot": "table",
|
|
11
|
-
className: e("ttw:w-full ttw:caption-bottom ttw:text-sm", n),
|
|
12
|
-
...r
|
|
13
|
-
})
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function r({ className: n, ...r }) {
|
|
17
|
-
return /* @__PURE__ */ t("thead", {
|
|
18
|
-
"data-slot": "table-header",
|
|
19
|
-
className: e("ttw:[&_tr]:border-b", n),
|
|
20
|
-
...r
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function i({ className: n, ...r }) {
|
|
24
|
-
return /* @__PURE__ */ t("tbody", {
|
|
25
|
-
"data-slot": "table-body",
|
|
26
|
-
className: e("ttw:[&_tr:last-child]:border-0", n),
|
|
27
|
-
...r
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function a({ className: n, ...r }) {
|
|
31
|
-
return /* @__PURE__ */ t("tr", {
|
|
32
|
-
"data-slot": "table-row",
|
|
33
|
-
className: e("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", n),
|
|
34
|
-
...r
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function o({ className: n, ...r }) {
|
|
38
|
-
return /* @__PURE__ */ t("th", {
|
|
39
|
-
"data-slot": "table-head",
|
|
40
|
-
className: e("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", n),
|
|
41
|
-
...r
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function s({ className: n, ...r }) {
|
|
45
|
-
return /* @__PURE__ */ t("td", {
|
|
46
|
-
"data-slot": "table-cell",
|
|
47
|
-
className: e("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", n),
|
|
48
|
-
...r
|
|
49
|
-
});
|
|
3
|
+
function t() {
|
|
4
|
+
let { userPermissions: t } = e();
|
|
5
|
+
return t;
|
|
50
6
|
}
|
|
51
7
|
//#endregion
|
|
52
|
-
export {
|
|
8
|
+
export { t as useUserPermissions };
|
|
@@ -1,125 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
9
|
-
import { useLingui as E } from "@lingui/react";
|
|
1
|
+
import { useRootElements as e } from "./index78.js";
|
|
2
|
+
import "./index79.js";
|
|
3
|
+
import { cn as t } from "./index64.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "lucide-react";
|
|
6
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import * as r from "@radix-ui/react-dropdown-menu";
|
|
10
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, [j, R]);
|
|
16
|
-
let B = v.length === 0 ? 0 : R + 1, V = R + v.length, H = I ? `${B}-${V} ${I}` : `${B}-${V}`, U = g({
|
|
17
|
-
data: v,
|
|
18
|
-
columns: _,
|
|
19
|
-
getCoreRowModel: h(),
|
|
20
|
-
manualPagination: !0,
|
|
21
|
-
manualSorting: !0,
|
|
22
|
-
enableMultiSort: !1,
|
|
23
|
-
onSortingChange: D,
|
|
24
|
-
state: {
|
|
25
|
-
sorting: y,
|
|
26
|
-
pagination: {
|
|
27
|
-
pageIndex: 0,
|
|
28
|
-
pageSize: O
|
|
29
|
-
}
|
|
30
|
-
}
|
|
9
|
+
function i({ ...e }) {
|
|
10
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
11
|
+
"data-slot": "dropdown-menu",
|
|
12
|
+
...e
|
|
31
13
|
});
|
|
32
|
-
return /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ T("div", {
|
|
33
|
-
className: S("ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125 ttw:gap-4 ttw:border ttw:border-zinc-100 ttw:rounded-xl ttw:bg-white", P && "ttw:pt-4"),
|
|
34
|
-
children: [P, /* @__PURE__ */ T(o, {
|
|
35
|
-
className: "ttw:border-none",
|
|
36
|
-
children: [/* @__PURE__ */ w(u, { children: U.getHeaderGroups().map((e) => /* @__PURE__ */ w(d, { children: e.headers.map((e) => /* @__PURE__ */ w(l, {
|
|
37
|
-
className: "ttw:p-3 ttw:text-xs ttw:text-zinc-950 ttw:border-b ttw:border-zinc-100 ttw:w-44.5",
|
|
38
|
-
children: e.isPlaceholder ? null : m(e.column.columnDef.header, e.getContext())
|
|
39
|
-
}, e.id)) }, e.id)) }), /* @__PURE__ */ w(s, { children: U.getRowModel().rows?.length ? U.getRowModel().rows.map((e) => /* @__PURE__ */ w(d, {
|
|
40
|
-
onClick: () => N(e.original),
|
|
41
|
-
"data-state": e.getIsSelected() && "selected",
|
|
42
|
-
children: e.getVisibleCells().map((e) => /* @__PURE__ */ w(c, {
|
|
43
|
-
className: "ttw:px-3 ttw:h-13 ttw:font-medium ttw:border-zinc-100 ttw:border-b",
|
|
44
|
-
children: m(e.column.columnDef.cell, e.getContext())
|
|
45
|
-
}, e.id))
|
|
46
|
-
}, e.id)) : /* @__PURE__ */ w(d, { children: /* @__PURE__ */ w(c, {
|
|
47
|
-
colSpan: _.length,
|
|
48
|
-
className: "ttw:min-h-24 ttw:text-center",
|
|
49
|
-
children: F || L._("No results.")
|
|
50
|
-
}) }) })]
|
|
51
|
-
})]
|
|
52
|
-
}), /* @__PURE__ */ T("div", {
|
|
53
|
-
className: "ttw:flex ttw:items-center ttw:justify-end ttw:space-x-6.5 ttw:py-3 ttw:bg-transparent",
|
|
54
|
-
children: [
|
|
55
|
-
/* @__PURE__ */ T("span", {
|
|
56
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
57
|
-
children: [L._("Rows per page:"), /* @__PURE__ */ T(t, {
|
|
58
|
-
value: String(O),
|
|
59
|
-
onValueChange: (e) => {
|
|
60
|
-
k(Number(e)), M(void 0), z(0);
|
|
61
|
-
},
|
|
62
|
-
children: [/* @__PURE__ */ w(i, {
|
|
63
|
-
size: "sm",
|
|
64
|
-
children: /* @__PURE__ */ w(a, {})
|
|
65
|
-
}), /* @__PURE__ */ T(n, { children: [
|
|
66
|
-
/* @__PURE__ */ w(r, {
|
|
67
|
-
value: "10",
|
|
68
|
-
children: "10"
|
|
69
|
-
}),
|
|
70
|
-
/* @__PURE__ */ w(r, {
|
|
71
|
-
value: "25",
|
|
72
|
-
children: "25"
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ w(r, {
|
|
75
|
-
value: "50",
|
|
76
|
-
children: "50"
|
|
77
|
-
}),
|
|
78
|
-
/* @__PURE__ */ w(r, {
|
|
79
|
-
value: "100",
|
|
80
|
-
children: "100"
|
|
81
|
-
})
|
|
82
|
-
] })]
|
|
83
|
-
})]
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ w("span", {
|
|
86
|
-
className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
87
|
-
children: H
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ T("div", {
|
|
90
|
-
className: "ttw:flex ttw:items-center ttw:space-x-3",
|
|
91
|
-
children: [/* @__PURE__ */ w(e, {
|
|
92
|
-
variant: "ghost",
|
|
93
|
-
className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg",
|
|
94
|
-
onClick: () => {
|
|
95
|
-
M(j), z((e) => e - O);
|
|
96
|
-
},
|
|
97
|
-
disabled: !j,
|
|
98
|
-
children: /* @__PURE__ */ w(b, {})
|
|
99
|
-
}), /* @__PURE__ */ w(e, {
|
|
100
|
-
variant: "ghost",
|
|
101
|
-
className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg",
|
|
102
|
-
onClick: () => {
|
|
103
|
-
M(A), z((e) => e + O);
|
|
104
|
-
},
|
|
105
|
-
disabled: !A,
|
|
106
|
-
children: /* @__PURE__ */ w(x, {})
|
|
107
|
-
})]
|
|
108
|
-
})
|
|
109
|
-
]
|
|
110
|
-
})] });
|
|
111
14
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
15
|
+
function a({ ...e }) {
|
|
16
|
+
return /* @__PURE__ */ n(r.Trigger, {
|
|
17
|
+
"data-slot": "dropdown-menu-trigger",
|
|
18
|
+
...e
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function o({ className: i, sideOffset: a = 4, ...o }) {
|
|
22
|
+
let { root: s } = e();
|
|
23
|
+
return /* @__PURE__ */ n(r.Portal, {
|
|
24
|
+
container: s,
|
|
25
|
+
children: /* @__PURE__ */ n(r.Content, {
|
|
26
|
+
"data-slot": "dropdown-menu-content",
|
|
27
|
+
sideOffset: a,
|
|
28
|
+
className: t("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:max-h-(--radix-dropdown-menu-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-dropdown-menu-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:p-1 ttw:shadow-md", i),
|
|
29
|
+
...o
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function s({ className: e, inset: i, variant: a = "default", ...o }) {
|
|
34
|
+
return /* @__PURE__ */ n(r.Item, {
|
|
35
|
+
"data-slot": "dropdown-menu-item",
|
|
36
|
+
"data-inset": i,
|
|
37
|
+
"data-variant": a,
|
|
38
|
+
className: t("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:data-[variant=destructive]:text-destructive ttw:data-[variant=destructive]:focus:bg-destructive/10 ttw:dark:data-[variant=destructive]:focus:bg-destructive/20 ttw:data-[variant=destructive]:focus:text-destructive ttw:data-[variant=destructive]:*:[svg]:!text-destructive ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:cursor-pointer ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:px-2 ttw:py-1.5 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:data-[inset]:pl-8 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
39
|
+
...o
|
|
122
40
|
});
|
|
123
41
|
}
|
|
124
42
|
//#endregion
|
|
125
|
-
export {
|
|
43
|
+
export { i as DropdownMenu, o as DropdownMenuContent, s as DropdownMenuItem, a as DropdownMenuTrigger };
|
|
@@ -1,7 +1,51 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { cva as t } from "class-variance-authority";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var n = t(void 0, {
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {
|
|
7
|
+
h1: "ttw:scroll-m-20 ttw:text-4xl ttw:font-extrabold ttw:tracking-tight",
|
|
8
|
+
h2: "ttw:scroll-m-20 ttw:text-3xl ttw:font-semibold ttw:tracking-tight",
|
|
9
|
+
h3: "ttw:scroll-m-20 ttw:text-2xl ttw:font-semibold ttw:tracking-tight",
|
|
10
|
+
h4: "ttw:scroll-m-20 ttw:text-xl ttw:font-semibold ttw:tracking-tight",
|
|
11
|
+
h5: "ttw:scroll-m-20 ttw:text-lg ttw:font-semibold ttw:tracking-tight",
|
|
12
|
+
h6: "ttw:scroll-m-20 ttw:text-base ttw:font-semibold ttw:tracking-tight",
|
|
13
|
+
body1: "ttw:text-base ttw:leading-7",
|
|
14
|
+
body2: "ttw:text-sm ttw:leading-6",
|
|
15
|
+
caption: "ttw:text-xs ttw:leading-5"
|
|
16
|
+
},
|
|
17
|
+
color: {
|
|
18
|
+
default: "ttw:text-foreground",
|
|
19
|
+
muted: "ttw:text-muted-foreground",
|
|
20
|
+
primary: "ttw:text-primary",
|
|
21
|
+
destructive: "ttw:text-destructive"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
variant: "body1",
|
|
26
|
+
color: "default"
|
|
27
|
+
}
|
|
28
|
+
}), r = {
|
|
29
|
+
h1: "h1",
|
|
30
|
+
h2: "h2",
|
|
31
|
+
h3: "h3",
|
|
32
|
+
h4: "h4",
|
|
33
|
+
h5: "h5",
|
|
34
|
+
h6: "h6",
|
|
35
|
+
body1: "p",
|
|
36
|
+
body2: "p",
|
|
37
|
+
caption: "span"
|
|
38
|
+
};
|
|
39
|
+
function i({ className: t, variant: i = "body1", color: a = "default", component: o, children: s, ...c }) {
|
|
40
|
+
let l = o || r[i ?? "body1"];
|
|
41
|
+
return e.createElement(l, {
|
|
42
|
+
className: n({
|
|
43
|
+
variant: i,
|
|
44
|
+
color: a,
|
|
45
|
+
className: t
|
|
46
|
+
}),
|
|
47
|
+
...c
|
|
48
|
+
}, s);
|
|
5
49
|
}
|
|
6
50
|
//#endregion
|
|
7
|
-
export {
|
|
51
|
+
export { i as Typography, n as typographyVariants };
|