@tesouro/embedded-components-react 0.2.127 → 0.2.130
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/README.md +10 -0
- package/dist/index.d.ts +48 -31
- package/dist/index.js +104 -100
- package/dist/lib/AcceptDisclosuresWidget.d.ts +587 -0
- package/dist/lib/AcceptDisclosuresWidget.js +7 -0
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index2.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index3.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/index2.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/index3.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +60 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +397 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +25 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +97 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +57 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +76 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +26 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +25 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +116 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +217 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +10 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +46 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +42 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +15 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +152 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +70 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +27 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +64 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +39 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +79 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +9 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +42 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +74 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +53 -430
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +23 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +77 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +41 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +116 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +68 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +190 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +31 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +108 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +137 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +17 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +19 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +183 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +50 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +35 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +6 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +47 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +197 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +432 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +27 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +10 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +18 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +19 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +17 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +116 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +69 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +146 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +15 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +243 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +11 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +18 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +23 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +40 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +56 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +45 -484
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +28 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +96 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +107 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +490 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +160 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +30 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +38 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +61 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +90 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +109 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +60 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +30 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +114 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +41 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +56 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +94 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +210 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +63 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +149 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +9 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +17 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +13 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +76 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +41 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +73 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +21 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +17 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +161 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +133 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +155 -278
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +60 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +64 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +59 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +62 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +24 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +30 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +125 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +22 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +27 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +60 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +158 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +27 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +78 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +39 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +62 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +62 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +41 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +137 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +80 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +285 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +83 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +224 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +37 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +11 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +8 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +6 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +2 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +90 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +82 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +17 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +48 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +50 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +32 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +122 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +255 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +71 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +45 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +35 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +40 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +74 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +90 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +27 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +10 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +95 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +36 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +31 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +126 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +18 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +62 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +20 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +7 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +18 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +49 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +38 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +46 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +81 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +50 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +51 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +55 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +70 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +20 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +45 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +26 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +72 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +64 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +34 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +32 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +22 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +101 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +107 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +12 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +28 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +23 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +29 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +68 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +39 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +42 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +35 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +13 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +17 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +48 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +56 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +6 -3
|
@@ -1,35 +1,1273 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import { getTheme as f } from "./index223.js";
|
|
2
|
+
import { getPrimaryColors as x } from "./index224.js";
|
|
3
|
+
import { getSecondaryColors as M } from "./index225.js";
|
|
4
|
+
import { getNeutralColors as u } from "./index226.js";
|
|
5
|
+
import { getSeverityColors as C } from "./index227.js";
|
|
6
|
+
import { getTextColors as v } from "./index228.js";
|
|
7
|
+
import { getFormControlStyles as S } from "./index229.js";
|
|
8
|
+
import { getErrorColors as k } from "./index230.js";
|
|
9
|
+
import { getSuccessColors as w } from "./index231.js";
|
|
10
|
+
import { getWarningColors as I } from "./index232.js";
|
|
11
|
+
import { getButtonStateStyles as i, getButtonStyles as p } from "./index138.js";
|
|
12
|
+
import { isPlainObject as R } from "@mui/utils";
|
|
13
|
+
import "@mui/x-data-grid/themeAugmentation";
|
|
14
|
+
import d from "chroma-js";
|
|
15
|
+
function B(a, o) {
|
|
16
|
+
if (a.includes(".")) {
|
|
17
|
+
let e = o;
|
|
18
|
+
if (a.split(".").forEach((n) => {
|
|
19
|
+
e = e && e[n];
|
|
20
|
+
}), e && typeof e == "string") return e;
|
|
21
|
+
} else if (typeof o[a] == "string") return o[a];
|
|
22
|
+
return a;
|
|
23
|
+
}
|
|
24
|
+
const O = ["color", "backgroundColor", "bgcolor", "borderColor", "borderRightColor", "borderLeftColor", "borderTopColor", "borderBottomColor", "fill", "--DataGrid-rowBorderColor"];
|
|
25
|
+
function c(a, o) {
|
|
26
|
+
const e = Array.isArray(a) ? [] : {};
|
|
27
|
+
return Object.keys(a).forEach((n) => {
|
|
28
|
+
const r = n;
|
|
29
|
+
if (!a.hasOwnProperty(r)) return;
|
|
30
|
+
const t = a[r];
|
|
31
|
+
typeof t == "string" && O.includes(n) ? e[r] = B(t, o) : R(t) || Array.isArray(t) ? e[r] = c(t, o) : e[r] = t;
|
|
32
|
+
}), e;
|
|
33
|
+
}
|
|
34
|
+
const q = (a) => {
|
|
35
|
+
const o = f(a), e = o.components.styles?.payables?.button, n = {
|
|
36
|
+
draft: "#000",
|
|
37
|
+
new: "#3737FF",
|
|
38
|
+
approve_in_progress: "#3737FF",
|
|
39
|
+
paid: "#007F33",
|
|
40
|
+
waiting_to_be_paid: "#3737FF",
|
|
41
|
+
rejected: "#CC394B",
|
|
42
|
+
partially_paid: "#9033D9",
|
|
43
|
+
canceled: "#E75300",
|
|
44
|
+
all: "#F4F4FE"
|
|
45
|
+
}, r = {
|
|
46
|
+
primary: x(o.colors.primary, o.colors.primaryForeground),
|
|
47
|
+
secondary: M(o.colors.secondary),
|
|
48
|
+
neutral: u(o.colors.neutral),
|
|
49
|
+
info: C(o.colors.info),
|
|
50
|
+
success: w(o.colors.success),
|
|
51
|
+
warning: I(o.colors.warning),
|
|
52
|
+
error: k(o.colors.error),
|
|
53
|
+
background: {
|
|
54
|
+
default: o.colors.background,
|
|
55
|
+
paper: "#ffffff"
|
|
56
|
+
},
|
|
57
|
+
text: v(o.colors.text),
|
|
58
|
+
status: n,
|
|
59
|
+
divider: u(o.colors.neutral)[80]
|
|
60
|
+
}, t = {
|
|
61
|
+
black: {
|
|
62
|
+
color: "#292929",
|
|
63
|
+
backgroundColor: "#F2F2F2"
|
|
64
|
+
},
|
|
65
|
+
blue: {
|
|
66
|
+
color: "#3737FF",
|
|
67
|
+
backgroundColor: "#F4F4FE"
|
|
68
|
+
},
|
|
69
|
+
violet: {
|
|
70
|
+
color: "#A06DC8",
|
|
71
|
+
backgroundColor: "#FBF1FC"
|
|
72
|
+
},
|
|
73
|
+
green: {
|
|
74
|
+
color: "#0DAA8E",
|
|
75
|
+
backgroundColor: "#EEFBF9"
|
|
76
|
+
},
|
|
77
|
+
orange: {
|
|
78
|
+
color: "#E27E46",
|
|
79
|
+
backgroundColor: "#FFF5EB"
|
|
80
|
+
},
|
|
81
|
+
red: {
|
|
82
|
+
color: "#CC394B",
|
|
83
|
+
backgroundColor: "#FFE0E4"
|
|
84
|
+
}
|
|
85
|
+
}, l = ["rgba(0,0,255,0.05)", "rgba(255,0,32,0.05)", "rgba(0,255,220,0.05)", "rgba(225,1,251,0.05)", "rgba(255,123,0,0.05)"], g = {
|
|
86
|
+
fontFamily: o.typography.fontFamily,
|
|
87
|
+
fontSize: o.typography.fontSize,
|
|
88
|
+
fontWeightMedium: 400,
|
|
89
|
+
fontWeightBold: 500,
|
|
90
|
+
h1: {
|
|
91
|
+
fontSize: o.typography.h1.fontSize,
|
|
92
|
+
fontWeight: o.typography.h1.fontWeight,
|
|
93
|
+
lineHeight: o.typography.h1.lineHeight,
|
|
94
|
+
textTransform: o.typography.h1.textTransform,
|
|
95
|
+
color: r.text.primary
|
|
96
|
+
},
|
|
97
|
+
h2: {
|
|
98
|
+
fontSize: o.typography.h2.fontSize,
|
|
99
|
+
fontWeight: o.typography.h2.fontWeight,
|
|
100
|
+
lineHeight: o.typography.h2.lineHeight,
|
|
101
|
+
textTransform: o.typography.h2.textTransform,
|
|
102
|
+
color: r.text.primary
|
|
103
|
+
},
|
|
104
|
+
h3: {
|
|
105
|
+
fontSize: o.typography.h3.fontSize,
|
|
106
|
+
fontWeight: o.typography.h3.fontWeight,
|
|
107
|
+
lineHeight: o.typography.h3.lineHeight,
|
|
108
|
+
textTransform: o.typography.h3.textTransform,
|
|
109
|
+
color: r.text.primary
|
|
110
|
+
},
|
|
111
|
+
subtitle1: {
|
|
112
|
+
fontSize: o.typography.subtitle1.fontSize,
|
|
113
|
+
fontWeight: o.typography.subtitle1.fontWeight,
|
|
114
|
+
lineHeight: o.typography.subtitle1.lineHeight,
|
|
115
|
+
textTransform: o.typography.subtitle1.textTransform
|
|
116
|
+
},
|
|
117
|
+
subtitle2: {
|
|
118
|
+
fontSize: o.typography.subtitle2.fontSize,
|
|
119
|
+
fontWeight: o.typography.subtitle2.fontWeight,
|
|
120
|
+
lineHeight: o.typography.subtitle2.lineHeight,
|
|
121
|
+
textTransform: o.typography.subtitle2.textTransform
|
|
122
|
+
},
|
|
123
|
+
body1: {
|
|
124
|
+
fontSize: o.typography.body1?.fontSize,
|
|
125
|
+
fontWeight: o.typography.body1?.fontWeight,
|
|
126
|
+
lineHeight: o.typography.body1?.lineHeight
|
|
127
|
+
},
|
|
128
|
+
body2: {
|
|
129
|
+
fontSize: o.typography.body2?.fontSize,
|
|
130
|
+
fontWeight: o.typography.body2?.fontWeight,
|
|
131
|
+
lineHeight: o.typography.body2?.lineHeight,
|
|
132
|
+
color: "rgba(0, 0, 0, 0.56)"
|
|
133
|
+
},
|
|
134
|
+
caption: {
|
|
135
|
+
fontSize: "1rem",
|
|
136
|
+
fontWeight: 500
|
|
137
|
+
},
|
|
138
|
+
overline: {
|
|
139
|
+
fontSize: "1.5rem",
|
|
140
|
+
lineHeight: 1
|
|
141
|
+
},
|
|
142
|
+
button: {
|
|
143
|
+
textTransform: "none",
|
|
144
|
+
fontWeight: 500
|
|
145
|
+
}
|
|
146
|
+
}, b = Object.assign({}, g, {}), s = "160px", h = {
|
|
147
|
+
MuiAlert: {
|
|
148
|
+
styleOverrides: {
|
|
149
|
+
root: {
|
|
150
|
+
borderRadius: ".5em",
|
|
151
|
+
"&.MuiAlert-colorInfo": {
|
|
152
|
+
backgroundColor: d(r.info.main).alpha(0.05).hex(),
|
|
153
|
+
".MuiAlert-icon, .MuiAlert-message": {
|
|
154
|
+
color: r.info.main
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"&.MuiAlert-colorSuccess": {
|
|
158
|
+
backgroundColor: d(r.success.main).alpha(0.05).hex(),
|
|
159
|
+
".MuiAlert-icon, .MuiAlert-message": {
|
|
160
|
+
color: r.success.main
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"&.MuiAlert-colorWarning": {
|
|
164
|
+
backgroundColor: d(r.warning.main).alpha(0.05).hex(),
|
|
165
|
+
".MuiAlert-icon, .MuiAlert-message": {
|
|
166
|
+
color: r.warning.main
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"&.MuiAlert-colorError": {
|
|
170
|
+
backgroundColor: d(r.error.main).alpha(0.05).hex(),
|
|
171
|
+
".MuiAlert-icon, .MuiAlert-message": {
|
|
172
|
+
color: r.error.main
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
MuiTypography: {
|
|
179
|
+
styleOverrides: {
|
|
180
|
+
root: {
|
|
181
|
+
"&.Monite-SummaryCard-StatusTypography": {
|
|
182
|
+
fontSize: 14
|
|
183
|
+
},
|
|
184
|
+
"&.Monite-SummaryCard-AmountTypography": {
|
|
185
|
+
fontSize: 20,
|
|
186
|
+
marginTop: 4
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
MuiFormLabel: {
|
|
192
|
+
styleOverrides: {
|
|
193
|
+
root: {
|
|
194
|
+
"&.Mui-disabled": {
|
|
195
|
+
color: "black"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
MuiInputLabel: {
|
|
201
|
+
defaultProps: {
|
|
202
|
+
shrink: !0
|
|
203
|
+
},
|
|
204
|
+
styleOverrides: {
|
|
205
|
+
root: {
|
|
206
|
+
fontSize: "14px",
|
|
207
|
+
transform: "none",
|
|
208
|
+
position: "static",
|
|
209
|
+
color: "black",
|
|
210
|
+
minHeight: "28px",
|
|
211
|
+
"&.Mui-disabled": {
|
|
212
|
+
color: "black"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
asterisk: {
|
|
216
|
+
color: t.red.color,
|
|
217
|
+
transform: "scale(2) translate(6px, 2px)",
|
|
218
|
+
display: "inline-block",
|
|
219
|
+
width: "20px"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
MuiInputBase: {
|
|
224
|
+
styleOverrides: {
|
|
225
|
+
root: {
|
|
226
|
+
fontWeight: 400,
|
|
227
|
+
borderRadius: o.borderRadius * 2.67,
|
|
228
|
+
minHeight: "40px",
|
|
229
|
+
border: "1px solid transparent",
|
|
230
|
+
"&:before, &:after": {
|
|
231
|
+
display: "none",
|
|
232
|
+
content: "none",
|
|
233
|
+
visibility: "hidden"
|
|
234
|
+
},
|
|
235
|
+
"& .MuiInputBase-input": {
|
|
236
|
+
height: "40px",
|
|
237
|
+
lineHeight: "40px",
|
|
238
|
+
padding: "0 14px",
|
|
239
|
+
// Adjust padding if needed
|
|
240
|
+
boxSizing: "border-box"
|
|
241
|
+
},
|
|
242
|
+
"& .MuiInputBase-inputAdornedStart": {
|
|
243
|
+
display: "flex",
|
|
244
|
+
alignItems: "center"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
MuiOutlinedInput: {
|
|
250
|
+
styleOverrides: {
|
|
251
|
+
// Editor borders
|
|
252
|
+
notchedOutline: {
|
|
253
|
+
borderColor: "neutral.80"
|
|
254
|
+
},
|
|
255
|
+
root: {
|
|
256
|
+
"&.Mui-disabled .MuiOutlinedInput-notchedOutline, .MuiOutlinedInput-notchedOutline": {
|
|
257
|
+
borderColor: "neutral.80"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
MuiFormControl: S(r, a, s),
|
|
263
|
+
MuiSelect: {
|
|
264
|
+
styleOverrides: {
|
|
265
|
+
root: {
|
|
266
|
+
"&.Monite-NakedField": {
|
|
267
|
+
"& .MuiSelect-select": {
|
|
268
|
+
paddingLeft: "0"
|
|
269
|
+
},
|
|
270
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
271
|
+
borderStyle: "none"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"&.Monite-RecipientSelector": {
|
|
275
|
+
"& .MuiChip-root": {
|
|
276
|
+
backgroundColor: "transparent",
|
|
277
|
+
borderColor: "divider",
|
|
278
|
+
borderWidth: "1px",
|
|
279
|
+
borderStyle: "solid",
|
|
280
|
+
padding: "7px 8px",
|
|
281
|
+
"& .MuiChip-label": {
|
|
282
|
+
color: "text.primary"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"& .MuiSelect-icon": {
|
|
286
|
+
backgroundColor: "primary.80",
|
|
287
|
+
borderRadius: o.borderRadius * 2.67,
|
|
288
|
+
width: "32px",
|
|
289
|
+
height: "32px",
|
|
290
|
+
transform: "translate(7px, -2px)",
|
|
291
|
+
path: {
|
|
292
|
+
fill: "primary.main",
|
|
293
|
+
transform: "scale(0.6) translate(8px, 8px)"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
MuiStack: {
|
|
301
|
+
styleOverrides: {
|
|
302
|
+
root: {
|
|
303
|
+
"&.Monite-Filters": {
|
|
304
|
+
backgroundColor: o.colors.background,
|
|
305
|
+
padding: o.spacing * 1.8,
|
|
306
|
+
marginBottom: 0,
|
|
307
|
+
"& > *": {
|
|
308
|
+
flexBasis: "fit-content",
|
|
309
|
+
flexGrow: 1
|
|
310
|
+
},
|
|
311
|
+
"& .Monite-Filters-Group": {
|
|
312
|
+
marginLeft: "16px"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
MuiFormControlLabel: {
|
|
319
|
+
styleOverrides: {
|
|
320
|
+
root: {
|
|
321
|
+
// Align checkbox with the label next to if the label occupies multiple lines
|
|
322
|
+
"&.MuiFormControlLabel-labelPlacementEnd": {
|
|
323
|
+
alignItems: "flex-start",
|
|
324
|
+
".MuiFormControlLabel-label": {
|
|
325
|
+
padding: "9px 0"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"&.Monite-FilterControl": {
|
|
329
|
+
marginLeft: 0,
|
|
330
|
+
marginRight: 0,
|
|
331
|
+
alignItems: "center",
|
|
332
|
+
width: "auto",
|
|
333
|
+
"& .MuiTypography-root": {
|
|
334
|
+
fontSize: "14px",
|
|
335
|
+
lineHeight: "20px"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
label: {
|
|
340
|
+
fontWeight: 400,
|
|
341
|
+
fontSize: "16px",
|
|
342
|
+
lineHeight: "24px"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
MuiAutocomplete: {
|
|
347
|
+
styleOverrides: {
|
|
348
|
+
root: {
|
|
349
|
+
"& > .MuiFormControl-root > .MuiInputBase-root": {
|
|
350
|
+
paddingTop: 0,
|
|
351
|
+
paddingBottom: 0
|
|
352
|
+
},
|
|
353
|
+
"& .MuiInput-root .MuiInput-input, & .MuiInput-root.MuiInputBase-sizeSmall": {
|
|
354
|
+
padding: "0 14px"
|
|
355
|
+
},
|
|
356
|
+
"& > .Monite-Selector": {
|
|
357
|
+
"& > .MuiInputBase-root": {
|
|
358
|
+
border: "1px solid transparent",
|
|
359
|
+
"&:hover": {
|
|
360
|
+
"&:not(.Mui-disabled):not(.Mui-focused)": {
|
|
361
|
+
boxShadow: `0 0 0 4px ${d(r.primary.main).alpha(0.24).hex()}`
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"& > .MuiInputAdornment-root": {
|
|
365
|
+
"&.MuiInputAdornment-positionStart": {
|
|
366
|
+
marginRight: "16px"
|
|
367
|
+
},
|
|
368
|
+
"&.MuiInputAdornment-positionEnd": {
|
|
369
|
+
marginLeft: "0",
|
|
370
|
+
"& + input:not(:placeholder-shown)": {
|
|
371
|
+
opacity: 0
|
|
372
|
+
},
|
|
373
|
+
"& + input::placeholder": {
|
|
374
|
+
color: "rgba(184, 184, 184, 1)"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"&.MuiInputBase-adornedStart.MuiInputBase-formControl": {
|
|
379
|
+
padding: "16px",
|
|
380
|
+
height: "70px",
|
|
381
|
+
lineHeight: "70px",
|
|
382
|
+
backgroundColor: "transparent",
|
|
383
|
+
"&.Mui-focused > .MuiOutlinedInput-notchedOutline": {
|
|
384
|
+
borderColor: "transparent"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"&:hover > .MuiOutlinedInput-notchedOutline": {
|
|
388
|
+
borderColor: "#dedede"
|
|
389
|
+
},
|
|
390
|
+
"& > .MuiOutlinedInput-notchedOutline": {
|
|
391
|
+
top: 0,
|
|
392
|
+
"> legend": {
|
|
393
|
+
display: "none"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"& > .MuiFormLabel-root": {
|
|
398
|
+
fontSize: "1.25rem",
|
|
399
|
+
paddingBottom: "1rem",
|
|
400
|
+
"& > .MuiInputLabel-asterisk": {
|
|
401
|
+
display: "none"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"&.isSimplified": {
|
|
405
|
+
marginBottom: "2rem",
|
|
406
|
+
background: "transparent",
|
|
407
|
+
"& > .MuiInputBase-root": {
|
|
408
|
+
paddingRight: "1rem"
|
|
409
|
+
},
|
|
410
|
+
"& > .MuiInputLabel-root": {
|
|
411
|
+
fontSize: "14px",
|
|
412
|
+
color: "rgba(112, 112, 112, 1)",
|
|
413
|
+
paddingBottom: "0",
|
|
414
|
+
"&::after": {
|
|
415
|
+
content: '"●"',
|
|
416
|
+
position: "relative",
|
|
417
|
+
bottom: "2px",
|
|
418
|
+
left: "4px",
|
|
419
|
+
color: "rgba(255, 71, 93, 1)"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"& > .MuiInputLabel-root > .MuiFormLabel-asterisk": {
|
|
423
|
+
display: "none"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"& > .Item-Selector > .MuiInputBase-root.MuiInputBase-formControl.MuiAutocomplete-inputRoot": {
|
|
428
|
+
paddingRight: "1em",
|
|
429
|
+
"&.MuiInputBase-adornedStart.MuiInputBase-formControl": {
|
|
430
|
+
padding: "8px 12px",
|
|
431
|
+
height: "40px",
|
|
432
|
+
lineHeight: "40px"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"&.Monite-FilterControl": {
|
|
436
|
+
height: "40px",
|
|
437
|
+
minHeight: "40px",
|
|
438
|
+
maxHeight: "40px",
|
|
439
|
+
maxWidth: s,
|
|
440
|
+
width: "100%"
|
|
441
|
+
},
|
|
442
|
+
"&.Monite-Label-Hidden .MuiInputLabel-root.MuiFormLabel-root": {
|
|
443
|
+
display: "none"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
popper: {
|
|
447
|
+
paddingTop: "0.5rem"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
MuiTextField: {
|
|
452
|
+
defaultProps: {
|
|
453
|
+
InputLabelProps: {
|
|
454
|
+
shrink: !0
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
styleOverrides: {
|
|
458
|
+
root: {
|
|
459
|
+
"&.Monite-NakedField": {
|
|
460
|
+
"& .MuiInputBase-root": {
|
|
461
|
+
minHeight: "32px",
|
|
462
|
+
padding: 0,
|
|
463
|
+
"& .MuiInputBase-input": {
|
|
464
|
+
height: "32px",
|
|
465
|
+
lineHeight: "32px",
|
|
466
|
+
padding: 0
|
|
467
|
+
},
|
|
468
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
469
|
+
borderStyle: "none"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"& .MuiFormHelperText-root.Mui-error": {
|
|
473
|
+
marginLeft: 0
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"&.Monite-AiSearchField": {
|
|
477
|
+
"& .MuiInputBase-root": {
|
|
478
|
+
paddingRight: "12px",
|
|
479
|
+
"& .MuiInputBase-input": {
|
|
480
|
+
"&::placeholder": {
|
|
481
|
+
opacity: 0.88,
|
|
482
|
+
fontWeight: 500,
|
|
483
|
+
fontSize: "14px",
|
|
484
|
+
lineHeight: "16px",
|
|
485
|
+
padding: "16px 10px"
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
489
|
+
borderStyle: "none"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
MuiDrawer: {
|
|
497
|
+
variants: [{
|
|
498
|
+
props: {
|
|
499
|
+
variant: "permanent"
|
|
500
|
+
},
|
|
501
|
+
style: {
|
|
502
|
+
backgroundColor: "menu.background",
|
|
503
|
+
"& .MuiPaper-root": {
|
|
504
|
+
backgroundColor: "menu.background",
|
|
505
|
+
borderRight: 0
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}]
|
|
509
|
+
},
|
|
510
|
+
MuiList: {
|
|
511
|
+
styleOverrides: {
|
|
512
|
+
root: {
|
|
513
|
+
"&.NavigationList": {
|
|
514
|
+
margin: "0px 12px",
|
|
515
|
+
"& .MuiListItem-root": {
|
|
516
|
+
marginTop: 8,
|
|
517
|
+
"& .Mui-selected": {
|
|
518
|
+
"& span": {
|
|
519
|
+
color: "secondary.dark"
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
".MuiListItemButton-root": {
|
|
524
|
+
borderRadius: o.borderRadius * 2,
|
|
525
|
+
padding: "8px 12px"
|
|
526
|
+
},
|
|
527
|
+
".MuiListItemIcon-root": {
|
|
528
|
+
minWidth: 25
|
|
529
|
+
},
|
|
530
|
+
".MuiListItemIcon-root .MuiSvgIcon-root": {
|
|
531
|
+
width: "20px",
|
|
532
|
+
height: "20px",
|
|
533
|
+
marginRight: "5px"
|
|
534
|
+
},
|
|
535
|
+
".MuiCollapse-root": {
|
|
536
|
+
marginTop: -8,
|
|
537
|
+
marginLeft: 12
|
|
538
|
+
},
|
|
539
|
+
"& .MuiSvgIcon-root": {
|
|
540
|
+
color: "secondary.dark",
|
|
541
|
+
"& > path": {
|
|
542
|
+
color: "secondary.dark"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
MuiButtonBase: {
|
|
550
|
+
defaultProps: {
|
|
551
|
+
disableRipple: !0
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
MuiButton: {
|
|
555
|
+
styleOverrides: {
|
|
556
|
+
root: {
|
|
557
|
+
// Button shouldn't grow inside containers that force it to grow
|
|
558
|
+
maxHeight: "48px",
|
|
559
|
+
"&.ThemeSelect": {
|
|
560
|
+
borderRadius: o.borderRadius
|
|
561
|
+
},
|
|
562
|
+
"&.ThemeSelect .ThemeSelect-modeLabel": {
|
|
563
|
+
display: "flex"
|
|
564
|
+
},
|
|
565
|
+
"&.MuiButton-sizeSmall": {
|
|
566
|
+
fontSize: "14px"
|
|
567
|
+
},
|
|
568
|
+
"&.Monite-withShadow, &.Monite-withShadow:hover": {
|
|
569
|
+
boxShadow: "0px 1px 1px 0px rgba(0, 0, 0, 0.1)"
|
|
570
|
+
},
|
|
571
|
+
".Monite-Payables &.MuiButton-contained:not(.MuiButton-colorError)": {
|
|
572
|
+
...p(e?.primary),
|
|
573
|
+
"&:hover": i("hover", e?.primary),
|
|
574
|
+
"&:active": i("active", e?.primary),
|
|
575
|
+
"&:focus": i("focus", e?.primary),
|
|
576
|
+
"&:disabled": i("disabled", e?.primary)
|
|
577
|
+
},
|
|
578
|
+
".Monite-Payables &.MuiButton-outlined:not(.MuiButton-colorError)": {
|
|
579
|
+
...p(e?.secondary),
|
|
580
|
+
"&:hover": i("hover", e?.secondary),
|
|
581
|
+
"&:active": i("active", e?.secondary),
|
|
582
|
+
"&:focus": i("focus", e?.secondary),
|
|
583
|
+
"&:disabled": i("disabled", e?.secondary)
|
|
584
|
+
},
|
|
585
|
+
".Monite-Payables &.MuiButton-text:not(.MuiButton-colorError)": {
|
|
586
|
+
...p(e?.tertiary),
|
|
587
|
+
"&:hover": i("hover", e?.tertiary),
|
|
588
|
+
"&:active": i("active", e?.tertiary),
|
|
589
|
+
"&:focus": i("focus", e?.tertiary),
|
|
590
|
+
"&:disabled": i("disabled", e?.tertiary)
|
|
591
|
+
},
|
|
592
|
+
".Monite-Payables &.MuiButton-contained.MuiButton-colorError": {
|
|
593
|
+
...p(e?.destructive),
|
|
594
|
+
"&:hover": i("hover", e?.destructive),
|
|
595
|
+
"&:active": i("active", e?.destructive),
|
|
596
|
+
"&:focus": i("focus", e?.destructive),
|
|
597
|
+
"&:disabled": i("disabled", e?.destructive)
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
containedPrimary: {
|
|
601
|
+
padding: ".75em 1.25em",
|
|
602
|
+
backgroundColor: "primary.main",
|
|
603
|
+
lineHeight: "1.4",
|
|
604
|
+
borderRadius: o.buttonBorderRadius,
|
|
605
|
+
boxShadow: "none",
|
|
606
|
+
"&:hover": {
|
|
607
|
+
backgroundColor: "primary.60",
|
|
608
|
+
borderRadius: o.buttonBorderRadius,
|
|
609
|
+
boxShadow: "none"
|
|
610
|
+
},
|
|
611
|
+
"&:active": {
|
|
612
|
+
backgroundColor: "primary.dark",
|
|
613
|
+
borderRadius: o.buttonBorderRadius,
|
|
614
|
+
boxShadow: "none"
|
|
615
|
+
},
|
|
616
|
+
"&:disabled": {
|
|
617
|
+
color: "neutral.70",
|
|
618
|
+
backgroundColor: "neutral.90",
|
|
619
|
+
borderColor: "neutral.90",
|
|
620
|
+
boxShadow: "none"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
outlinedPrimary: {
|
|
624
|
+
padding: ".75em 1.25em",
|
|
625
|
+
color: "primary.30",
|
|
626
|
+
backgroundColor: "primary.90",
|
|
627
|
+
border: "none",
|
|
628
|
+
borderRadius: o.buttonBorderRadius,
|
|
629
|
+
boxShadow: "none",
|
|
630
|
+
"&:hover": {
|
|
631
|
+
backgroundColor: "primary.80",
|
|
632
|
+
border: "none",
|
|
633
|
+
boxShadow: "none"
|
|
634
|
+
},
|
|
635
|
+
"&:active": {
|
|
636
|
+
backgroundColor: "primary.70",
|
|
637
|
+
border: "none",
|
|
638
|
+
boxShadow: "none"
|
|
639
|
+
},
|
|
640
|
+
"&:disabled": {
|
|
641
|
+
color: "neutral.70",
|
|
642
|
+
backgroundColor: "neutral.90",
|
|
643
|
+
border: "none",
|
|
644
|
+
boxShadow: "none"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
textPrimary: {
|
|
648
|
+
padding: ".75em 1.25em",
|
|
649
|
+
color: "primary.30",
|
|
650
|
+
backgroundColor: "transparent",
|
|
651
|
+
border: "none",
|
|
652
|
+
boxShadow: "none",
|
|
653
|
+
"&:hover": {
|
|
654
|
+
backgroundColor: "primary.90",
|
|
655
|
+
border: "none",
|
|
656
|
+
boxShadow: "none"
|
|
657
|
+
},
|
|
658
|
+
"&:active": {
|
|
659
|
+
backgroundColor: "primary.70",
|
|
660
|
+
border: "none",
|
|
661
|
+
boxShadow: "none"
|
|
662
|
+
},
|
|
663
|
+
"&:disabled": {
|
|
664
|
+
color: "neutral.70",
|
|
665
|
+
backgroundColor: "neutral.90",
|
|
666
|
+
border: "none",
|
|
667
|
+
boxShadow: "none"
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
MuiPopover: {
|
|
673
|
+
styleOverrides: {
|
|
674
|
+
paper: {
|
|
675
|
+
border: "none",
|
|
676
|
+
width: 240
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
MuiPopper: {
|
|
681
|
+
defaultProps: {
|
|
682
|
+
disablePortal: !0
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
MuiAvatar: {
|
|
686
|
+
styleOverrides: {
|
|
687
|
+
root: {
|
|
688
|
+
"&.MuiAvatar-colored": {
|
|
689
|
+
margin: 0,
|
|
690
|
+
color: "text.primary",
|
|
691
|
+
fontSize: "16px",
|
|
692
|
+
fontWeight: 600,
|
|
693
|
+
lineHeight: "40px",
|
|
694
|
+
width: "40px",
|
|
695
|
+
height: "40px",
|
|
696
|
+
"&.MuiAvatar-0": {
|
|
697
|
+
backgroundColor: l[0]
|
|
698
|
+
},
|
|
699
|
+
"&.MuiAvatar-1": {
|
|
700
|
+
backgroundColor: l[1]
|
|
701
|
+
},
|
|
702
|
+
"&.MuiAvatar-2": {
|
|
703
|
+
backgroundColor: l[2]
|
|
704
|
+
},
|
|
705
|
+
"&.MuiAvatar-3": {
|
|
706
|
+
backgroundColor: l[3]
|
|
707
|
+
},
|
|
708
|
+
"&.MuiAvatar-4": {
|
|
709
|
+
backgroundColor: l[4]
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
MuiChip: {
|
|
716
|
+
styleOverrides: {
|
|
717
|
+
root: {
|
|
718
|
+
backgroundColor: "primary.light",
|
|
719
|
+
borderRadius: o.borderRadius * 1.33,
|
|
720
|
+
color: "primary.main",
|
|
721
|
+
fontSize: "14px",
|
|
722
|
+
lineHeight: "16px",
|
|
723
|
+
fontWeight: 500,
|
|
724
|
+
padding: "7px 8px",
|
|
725
|
+
"& .MuiChip-avatar": {
|
|
726
|
+
marginLeft: 0,
|
|
727
|
+
marginRight: "4px"
|
|
728
|
+
},
|
|
729
|
+
gap: 8
|
|
730
|
+
},
|
|
731
|
+
label: {
|
|
732
|
+
padding: "0"
|
|
733
|
+
},
|
|
734
|
+
deleteIcon: {
|
|
735
|
+
margin: "0 -2px 0 6px"
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
MuiDataGrid: {
|
|
740
|
+
defaultProps: {
|
|
741
|
+
columnHeaderHeight: 55,
|
|
742
|
+
rowHeight: 48,
|
|
743
|
+
density: "standard"
|
|
744
|
+
},
|
|
745
|
+
styleOverrides: {
|
|
746
|
+
root: {
|
|
747
|
+
color: r.text.primary,
|
|
748
|
+
backgroundColor: r.background.default,
|
|
749
|
+
borderTopLeftRadius: 0,
|
|
750
|
+
borderTopRightRadius: 0,
|
|
751
|
+
borderWidth: 0,
|
|
752
|
+
borderBottomLeftRadius: o.borderRadius * 2,
|
|
753
|
+
borderBottomRightRadius: o.borderRadius * 2,
|
|
754
|
+
"--DataGrid-rowBorderColor": o.colors.rowBorder,
|
|
755
|
+
"--DataGrid-containerBackground": o.colors.background,
|
|
756
|
+
"& .MuiDataGrid-withBorderColor": {
|
|
757
|
+
borderColor: "divider"
|
|
758
|
+
},
|
|
759
|
+
"&.MuiDataGrid-withBorderColor": {
|
|
760
|
+
borderColor: "divider"
|
|
761
|
+
},
|
|
762
|
+
'& div[role="presentation"] + .MuiDataGrid-cell, & div[role="presentation"] + .MuiDataGrid-columnHeader': {
|
|
763
|
+
borderLeftStyle: "none",
|
|
764
|
+
borderLeftWidth: "0"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
columnHeader: {
|
|
768
|
+
overflow: "visible",
|
|
769
|
+
borderLeftStyle: "solid",
|
|
770
|
+
borderLeftWidth: "0px",
|
|
771
|
+
borderLeftColor: "divider",
|
|
772
|
+
padding: "0 15.5px",
|
|
773
|
+
background: o.colors.background,
|
|
774
|
+
"& .MuiDataGrid-columnHeaderTitle": {
|
|
775
|
+
color: r.text,
|
|
776
|
+
fontWeight: 600,
|
|
777
|
+
fontSize: "14px",
|
|
778
|
+
lineHeight: "17.57px"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
columnSeparator: {
|
|
782
|
+
border: 0
|
|
783
|
+
},
|
|
784
|
+
cell: {
|
|
785
|
+
'&[role="gridcell"]': {
|
|
786
|
+
borderLeftStyle: "solid",
|
|
787
|
+
borderLeftWidth: "0px",
|
|
788
|
+
borderLeftColor: "divider"
|
|
789
|
+
},
|
|
790
|
+
"&.Monite-Cell-Highlight": {
|
|
791
|
+
color: "neutral.10"
|
|
792
|
+
},
|
|
793
|
+
".MuiDataGrid-cellOffsetLeft + &": {
|
|
794
|
+
borderLeftStyle: "none",
|
|
795
|
+
borderLeftWidth: "0"
|
|
796
|
+
},
|
|
797
|
+
padding: "0 12px",
|
|
798
|
+
fontWeight: 400,
|
|
799
|
+
fontSize: "15px",
|
|
800
|
+
"& span.Monite-DueDateCell-OverdueDays": {
|
|
801
|
+
fontSize: "12px"
|
|
802
|
+
},
|
|
803
|
+
// Align counterpart avatar with the cell header
|
|
804
|
+
'&[data-field="counterpart_id"], &[data-field="counterpart_name"], &[data-field="was_created_by_user_id"]': {
|
|
805
|
+
".MuiChip-root": {
|
|
806
|
+
paddingLeft: 0
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
'&[data-field="actions"]': {
|
|
810
|
+
textOverflow: "clip"
|
|
811
|
+
// Hide ... after action buttons
|
|
812
|
+
},
|
|
813
|
+
"& .Monite-TextOverflowContainer": {
|
|
814
|
+
display: "block",
|
|
815
|
+
whiteSpace: "nowrap",
|
|
816
|
+
overflow: "hidden",
|
|
817
|
+
textOverflow: "ellipsis"
|
|
818
|
+
},
|
|
819
|
+
"&:focus": {
|
|
820
|
+
outline: "none"
|
|
821
|
+
},
|
|
822
|
+
"& .MuiChip-label": {
|
|
823
|
+
fontWeight: 600,
|
|
824
|
+
fontSize: "13px",
|
|
825
|
+
letterSpacing: "0.098px"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
footerContainer: {
|
|
829
|
+
padding: "8px 0",
|
|
830
|
+
'& .Monite-RowsPerPageSelector div[role="combobox"]': {
|
|
831
|
+
lineHeight: "40px",
|
|
832
|
+
fontSize: "13px",
|
|
833
|
+
color: "text.secondary"
|
|
834
|
+
},
|
|
835
|
+
"& .Monite-TablePagination-PreviousPageButton": {
|
|
836
|
+
padding: "8px",
|
|
837
|
+
border: "1px solid",
|
|
838
|
+
borderColor: "neutral.80",
|
|
839
|
+
borderRadius: "4px",
|
|
840
|
+
marginRight: "6px"
|
|
841
|
+
},
|
|
842
|
+
"& .Monite-TablePagination-NextPageButton": {
|
|
843
|
+
padding: "8px",
|
|
844
|
+
border: "1px solid",
|
|
845
|
+
borderColor: "neutral.80",
|
|
846
|
+
borderRadius: "4px"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
MuiTableHead: {
|
|
852
|
+
styleOverrides: {
|
|
853
|
+
root: {
|
|
854
|
+
"& .MuiTableCell-head": {
|
|
855
|
+
fontWeight: 500,
|
|
856
|
+
color: "neutral.50",
|
|
857
|
+
verticalAlign: "bottom"
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
MuiTableRow: {
|
|
863
|
+
styleOverrides: {
|
|
864
|
+
root: {
|
|
865
|
+
"&:not(.Monite-CreateReceivable-ItemsSection-Table) .MuiTableCell-root": {
|
|
866
|
+
borderColor: "neutral.80"
|
|
867
|
+
},
|
|
868
|
+
"&.Monite-CreateReceivable-ItemsSection-Table": {
|
|
869
|
+
".MuiTableCell-root": {
|
|
870
|
+
borderBottom: "none",
|
|
871
|
+
padding: "8px 12px 8px 0",
|
|
872
|
+
"& .MuiFormControl-root .MuiInputBase-root": {
|
|
873
|
+
backgroundColor: "#fff"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"th.MuiTableCell-root": {
|
|
877
|
+
padding: "0 12px 0 0"
|
|
878
|
+
},
|
|
879
|
+
"+ .MuiTableRow-root .MuiTableCell-root": {
|
|
880
|
+
paddingLeft: 0
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"&:last-child .MuiTableCell-body": {
|
|
884
|
+
borderBottom: "none"
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
MuiTabs: {
|
|
890
|
+
styleOverrides: {
|
|
891
|
+
root: {
|
|
892
|
+
borderBottom: "1px solid",
|
|
893
|
+
borderColor: "neutral.80",
|
|
894
|
+
minHeight: "unset",
|
|
895
|
+
"& .MuiTab-root": {
|
|
896
|
+
backgroundColor: "transparent",
|
|
897
|
+
color: "text.primary",
|
|
898
|
+
padding: "16px",
|
|
899
|
+
minHeight: "unset",
|
|
900
|
+
boxSizing: "border-box",
|
|
901
|
+
textTransform: "none",
|
|
902
|
+
"&:hover": {
|
|
903
|
+
backgroundColor: "transparent"
|
|
904
|
+
},
|
|
905
|
+
"&:active": {
|
|
906
|
+
backgroundColor: "transparent"
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
"& .MuiTab-root.Mui-selected": {
|
|
910
|
+
backgroundColor: "transparent",
|
|
911
|
+
color: "text.primary",
|
|
912
|
+
"&:hover": {
|
|
913
|
+
backgroundColor: "transparent"
|
|
914
|
+
},
|
|
915
|
+
"&:active": {
|
|
916
|
+
backgroundColor: "transparent"
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
indicator: {
|
|
921
|
+
borderRadius: 10,
|
|
922
|
+
backgroundColor: r.primary.main,
|
|
923
|
+
height: "4px"
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
MuiCard: {
|
|
928
|
+
styleOverrides: {
|
|
929
|
+
root: {
|
|
930
|
+
"&.Monite-SummaryCard": {
|
|
931
|
+
display: "flex",
|
|
932
|
+
borderRadius: o.borderRadius * 1.67,
|
|
933
|
+
//10px
|
|
934
|
+
backgroundColor: r.background.default,
|
|
935
|
+
outline: "3px solid",
|
|
936
|
+
outlineColor: "transparent",
|
|
937
|
+
border: "1px solid",
|
|
938
|
+
borderColor: r.neutral[90],
|
|
939
|
+
transition: "border-color 0.1s ease-in-out, outline-color 0.2s ease-in-out",
|
|
940
|
+
boxShadow: "none"
|
|
941
|
+
},
|
|
942
|
+
"&.Monite-SummaryCard-selected, &.Monite-SummaryCard:hover, &.Monite-SummaryCard:active, &.Monite-SummaryCard:focus": {
|
|
943
|
+
borderColor: r.primary.main,
|
|
944
|
+
borderWidth: "1px",
|
|
945
|
+
outlineColor: r.primary[80]
|
|
946
|
+
},
|
|
947
|
+
"&.Monite-SummaryCard-all": {
|
|
948
|
+
minWidth: "118px"
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
MuiCardContent: {
|
|
954
|
+
styleOverrides: {
|
|
955
|
+
root: {
|
|
956
|
+
padding: "24px 32px"
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
MuiPaper: {
|
|
961
|
+
styleOverrides: {
|
|
962
|
+
root: {
|
|
963
|
+
backgroundImage: "none",
|
|
964
|
+
borderRadius: o.borderRadius * 2.67,
|
|
965
|
+
borderColor: "neutral.80"
|
|
966
|
+
},
|
|
967
|
+
elevation: {
|
|
968
|
+
"&.MuiTableContainer-root": {
|
|
969
|
+
boxShadow: "none"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
rounded: {
|
|
973
|
+
"&.Monite-PayableDetailsForm-Items": {
|
|
974
|
+
// Align delete button with the editor
|
|
975
|
+
'button[aria-label="delete"]': {
|
|
976
|
+
width: "40px",
|
|
977
|
+
height: "40px",
|
|
978
|
+
marginTop: "24px",
|
|
979
|
+
svg: {
|
|
980
|
+
width: "20px",
|
|
981
|
+
height: "auto"
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
// Align total with the editor right side
|
|
985
|
+
".Monite-PayableDetailsForm-Item .Monite-PayableDetailsForm-Item-Total": {
|
|
986
|
+
marginRight: "10.8%"
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
MuiDialog: {
|
|
993
|
+
styleOverrides: {
|
|
994
|
+
root: {
|
|
995
|
+
backgroundImage: "none"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
defaultProps: {
|
|
999
|
+
classes: {
|
|
1000
|
+
container: "Monite-Payables",
|
|
1001
|
+
paper: "Monite-Payables"
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
MuiDialogActions: {
|
|
1006
|
+
styleOverrides: {
|
|
1007
|
+
root: {
|
|
1008
|
+
padding: "1em 1.5em"
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
MuiDialogTitle: {
|
|
1013
|
+
styleOverrides: {
|
|
1014
|
+
root: {
|
|
1015
|
+
"&.MuiTypography-h6": {
|
|
1016
|
+
padding: "12px 24px",
|
|
1017
|
+
".MuiToolbar-root": {
|
|
1018
|
+
padding: "0 0 0 16px"
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
MuiDialogContent: {
|
|
1025
|
+
styleOverrides: {
|
|
1026
|
+
root: {
|
|
1027
|
+
margin: 0,
|
|
1028
|
+
padding: "24px 32px 40px",
|
|
1029
|
+
"> form": {
|
|
1030
|
+
maxWidth: "min(940px, 100%)",
|
|
1031
|
+
margin: "0 auto"
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
MuiFormHelperText: {
|
|
1037
|
+
styleOverrides: {
|
|
1038
|
+
root: {
|
|
1039
|
+
fontSize: "12px",
|
|
1040
|
+
maxWidth: "100%",
|
|
1041
|
+
overflow: "hidden",
|
|
1042
|
+
textOverflow: "ellipsis"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
MuiSwitch: {
|
|
1047
|
+
styleOverrides: {
|
|
1048
|
+
root: {
|
|
1049
|
+
width: "55px",
|
|
1050
|
+
height: "40px",
|
|
1051
|
+
"& > .MuiButtonBase-root.Mui-checked": {
|
|
1052
|
+
left: "-10px"
|
|
1053
|
+
},
|
|
1054
|
+
"& > .MuiSwitch-track": {
|
|
1055
|
+
height: "20px",
|
|
1056
|
+
position: "relative",
|
|
1057
|
+
bottom: "3px",
|
|
1058
|
+
width: "40px",
|
|
1059
|
+
left: "-2px",
|
|
1060
|
+
borderRadius: "12px"
|
|
1061
|
+
},
|
|
1062
|
+
"& > .MuiSwitch-switchBase.Mui-checked": {
|
|
1063
|
+
transform: "translateX(25px)",
|
|
1064
|
+
"&::after": {
|
|
1065
|
+
content: '""',
|
|
1066
|
+
position: "absolute",
|
|
1067
|
+
top: "12px",
|
|
1068
|
+
left: "11px",
|
|
1069
|
+
width: "16px",
|
|
1070
|
+
height: "16px",
|
|
1071
|
+
color: "#fff",
|
|
1072
|
+
backgroundImage: `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='${encodeURIComponent("#fff")}'><path d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>")`,
|
|
1073
|
+
backgroundSize: "contain",
|
|
1074
|
+
backgroundRepeat: "no-repeat"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
"& > .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track": {
|
|
1078
|
+
background: "rgba(203, 203, 254, 1)",
|
|
1079
|
+
opacity: 1
|
|
1080
|
+
},
|
|
1081
|
+
"& > .MuiSwitch-input": {
|
|
1082
|
+
left: 0
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
MoniteTablePagination: {
|
|
1088
|
+
defaultProps: {
|
|
1089
|
+
paginationLayout: "default"
|
|
1090
|
+
},
|
|
1091
|
+
styleOverrides: {
|
|
1092
|
+
root: {}
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
MoniteApprovalRequestStatusChip: {
|
|
1096
|
+
defaultProps: {
|
|
1097
|
+
icon: o.components.approvalRequestStatusChip.icon,
|
|
1098
|
+
size: o.components.approvalRequestStatusChip.size,
|
|
1099
|
+
variant: o.components.approvalRequestStatusChip.variant
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
MoniteInvoiceRecurrenceStatusChip: {
|
|
1103
|
+
defaultProps: {
|
|
1104
|
+
icon: o.components.invoiceRecurrenceStatusChip.icon,
|
|
1105
|
+
size: o.components.invoiceRecurrenceStatusChip.size,
|
|
1106
|
+
variant: o.components.invoiceRecurrenceStatusChip.variant
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
MoniteInvoiceRecurrenceIterationStatusChip: {
|
|
1110
|
+
defaultProps: {
|
|
1111
|
+
icon: o.components.invoiceRecurrenceIterationStatusChip.icon,
|
|
1112
|
+
size: o.components.invoiceRecurrenceIterationStatusChip.size,
|
|
1113
|
+
variant: o.components.invoiceRecurrenceIterationStatusChip.variant
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
MoniteInvoiceStatusChip: {
|
|
1117
|
+
defaultProps: {
|
|
1118
|
+
icon: o.components.invoiceStatusChip.icon,
|
|
1119
|
+
size: o.components.invoiceStatusChip.size,
|
|
1120
|
+
variant: o.components.invoiceStatusChip.variant
|
|
1121
|
+
},
|
|
1122
|
+
styleOverrides: {
|
|
1123
|
+
root: {
|
|
1124
|
+
fontSize: "13px"
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
variants: [{
|
|
1128
|
+
props: {
|
|
1129
|
+
status: "draft"
|
|
1130
|
+
},
|
|
1131
|
+
style: t.black
|
|
1132
|
+
}, {
|
|
1133
|
+
props: {
|
|
1134
|
+
status: "issued"
|
|
1135
|
+
},
|
|
1136
|
+
style: t.blue
|
|
1137
|
+
}, {
|
|
1138
|
+
props: {
|
|
1139
|
+
status: "accepted"
|
|
1140
|
+
},
|
|
1141
|
+
style: t.green
|
|
1142
|
+
}, {
|
|
1143
|
+
props: {
|
|
1144
|
+
status: "expired"
|
|
1145
|
+
},
|
|
1146
|
+
style: t.red
|
|
1147
|
+
}, {
|
|
1148
|
+
props: {
|
|
1149
|
+
status: "declined"
|
|
1150
|
+
},
|
|
1151
|
+
style: t.red
|
|
1152
|
+
}, {
|
|
1153
|
+
props: {
|
|
1154
|
+
status: "recurring"
|
|
1155
|
+
},
|
|
1156
|
+
style: t.green
|
|
1157
|
+
}, {
|
|
1158
|
+
props: {
|
|
1159
|
+
status: "partially_paid"
|
|
1160
|
+
},
|
|
1161
|
+
style: t.violet
|
|
1162
|
+
}, {
|
|
1163
|
+
props: {
|
|
1164
|
+
status: "paid"
|
|
1165
|
+
},
|
|
1166
|
+
style: t.green
|
|
1167
|
+
}, {
|
|
1168
|
+
props: {
|
|
1169
|
+
status: "overdue"
|
|
1170
|
+
},
|
|
1171
|
+
style: t.orange
|
|
1172
|
+
}, {
|
|
1173
|
+
props: {
|
|
1174
|
+
status: "uncollectible"
|
|
1175
|
+
},
|
|
1176
|
+
style: t.red
|
|
1177
|
+
}, {
|
|
1178
|
+
props: {
|
|
1179
|
+
status: "canceled"
|
|
1180
|
+
},
|
|
1181
|
+
style: t.orange
|
|
1182
|
+
}, {
|
|
1183
|
+
props: {
|
|
1184
|
+
status: "deleted"
|
|
1185
|
+
},
|
|
1186
|
+
style: t.black
|
|
1187
|
+
}]
|
|
1188
|
+
},
|
|
1189
|
+
MonitePayableStatusChip: {
|
|
1190
|
+
defaultProps: {
|
|
1191
|
+
icon: o.components.payableStatusChip.icon,
|
|
1192
|
+
size: o.components.payableStatusChip.size,
|
|
1193
|
+
variant: o.components.payableStatusChip.variant,
|
|
1194
|
+
colors: o.components.payableStatusChip.colors
|
|
1195
|
+
},
|
|
1196
|
+
styleOverrides: {
|
|
1197
|
+
root: {
|
|
1198
|
+
fontSize: "13px"
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
variants: [{
|
|
1202
|
+
props: {
|
|
1203
|
+
status: "draft"
|
|
1204
|
+
},
|
|
1205
|
+
style: t.black
|
|
1206
|
+
}, {
|
|
1207
|
+
props: {
|
|
1208
|
+
status: "new"
|
|
1209
|
+
},
|
|
1210
|
+
style: t.blue
|
|
1211
|
+
}, {
|
|
1212
|
+
props: {
|
|
1213
|
+
status: "approve_in_progress"
|
|
1214
|
+
},
|
|
1215
|
+
style: t.orange
|
|
1216
|
+
}, {
|
|
1217
|
+
props: {
|
|
1218
|
+
status: "waiting_to_be_paid"
|
|
1219
|
+
},
|
|
1220
|
+
style: t.blue
|
|
1221
|
+
}, {
|
|
1222
|
+
props: {
|
|
1223
|
+
status: "partially_paid"
|
|
1224
|
+
},
|
|
1225
|
+
style: t.violet
|
|
1226
|
+
}, {
|
|
1227
|
+
props: {
|
|
1228
|
+
status: "paid"
|
|
1229
|
+
},
|
|
1230
|
+
style: t.green
|
|
1231
|
+
}, {
|
|
1232
|
+
props: {
|
|
1233
|
+
status: "canceled"
|
|
1234
|
+
},
|
|
1235
|
+
style: t.orange
|
|
1236
|
+
}, {
|
|
1237
|
+
props: {
|
|
1238
|
+
status: "rejected"
|
|
1239
|
+
},
|
|
1240
|
+
style: t.red
|
|
1241
|
+
}]
|
|
1242
|
+
},
|
|
1243
|
+
MoniteCounterpartStatusChip: {
|
|
1244
|
+
defaultProps: {},
|
|
1245
|
+
styleOverrides: {
|
|
1246
|
+
root: {
|
|
1247
|
+
height: "24px",
|
|
1248
|
+
padding: "7px 8px",
|
|
1249
|
+
backgroundColor: "transparent",
|
|
1250
|
+
color: "text.primary",
|
|
1251
|
+
borderColor: "neutral.80"
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
}, m = c(h, r), y = {
|
|
1256
|
+
spacing: o.spacing,
|
|
1257
|
+
palette: {
|
|
1258
|
+
...r,
|
|
1259
|
+
status: n
|
|
1260
|
+
},
|
|
1261
|
+
shape: {
|
|
1262
|
+
borderRadius: o.borderRadius
|
|
1263
|
+
},
|
|
1264
|
+
typography: b,
|
|
1265
|
+
components: m
|
|
1266
|
+
};
|
|
1267
|
+
return Object.assign(y, {
|
|
1268
|
+
customStyles: o.components?.styles
|
|
1269
|
+
});
|
|
32
1270
|
};
|
|
33
1271
|
export {
|
|
34
|
-
|
|
1272
|
+
q as getTheme
|
|
35
1273
|
};
|