@tesouro/embedded-components-react 0.2.74 → 0.2.76
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/lib/ReceivablesWidget.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- 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 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -9
- 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 +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +60 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -6
- 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 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +73 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +30 -10
- 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 +12 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +116 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +48 -10
- 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 +44 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +43 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +11 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +152 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +55 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +68 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +3 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +79 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +76 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +54 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +195 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +80 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +28 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +7 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +114 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +70 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +190 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +29 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +110 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +134 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +23 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +26 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +20 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +21 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +183 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +18 -133
- 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 +48 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +4 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +88 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +8 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +46 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +386 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +99 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +13 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +18 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +10 -392
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +107 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +65 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +99 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +17 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +13 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +34 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +42 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +29 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +113 -29
- 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 +21 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +41 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +51 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +483 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +163 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +8 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +42 -54
- 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 +62 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +62 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +343 -34
- 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 +2 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +31 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +35 -56
- 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 +15 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +244 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +179 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +37 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +58 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +49 -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 +30 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +93 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +47 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +44 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +5 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +75 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +32 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +19 -16
- 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 +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +75 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +76 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +43 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +158 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +28 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +78 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +21 -7
- 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 +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +17 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +168 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +125 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +162 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +60 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +62 -339
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +55 -298
- 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 +6 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +8 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +55 -260
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +26 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +126 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +62 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +44 -78
- 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 +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +189 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +104 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +82 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +280 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +45 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +15 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +86 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +218 -484
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +34 -163
- 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 +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +338 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +301 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +101 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +161 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +264 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +23 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +18 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +93 -22
- 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 +95 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +189 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +66 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +149 -285
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +19 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +96 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +72 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +48 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +12 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +46 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +30 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +22 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +54 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +57 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +123 -11
- 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 +18 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +72 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +11 -104
- 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 +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +255 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +32 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +53 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +23 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +92 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -36
- 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 +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +85 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +105 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +112 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +66 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +67 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +17 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +18 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +28 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +39 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +45 -20
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +34 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +6 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +28 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +39 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +73 -31
- 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 +68 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +38 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +97 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +31 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +57 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +43 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +97 -16
- 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 +9 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +7 -54
- 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 +51 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +68 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +43 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +27 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +11 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +50 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +29 -19
- 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 +74 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +81 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +50 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +50 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +34 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +45 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +56 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +69 -13
- 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 +21 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +83 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +51 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +41 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +34 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +95 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -51
- 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 +75 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +15 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +57 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +29 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +51 -52
- 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 +14 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +64 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +19 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +36 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +48 -43
- 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 +9 -9
- 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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,12 +1,75 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx as t, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "./index100.js";
|
|
3
|
+
import * as a from "@radix-ui/react-select";
|
|
4
|
+
import { ChevronDownIcon as i, CheckIcon as w, ChevronUpIcon as d } from "lucide-react";
|
|
5
|
+
function g({
|
|
6
6
|
...e
|
|
7
7
|
}) {
|
|
8
|
-
return /* @__PURE__ */ a
|
|
8
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "select", ...e });
|
|
9
|
+
}
|
|
10
|
+
function h({
|
|
11
|
+
...e
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ t(a.Value, { "data-slot": "select-value", ...e });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
className: e,
|
|
17
|
+
size: s = "default",
|
|
18
|
+
children: o,
|
|
19
|
+
...r
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ l(a.Trigger, { "data-slot": "select-trigger", "data-size": s, className: n("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e), ...r, children: [
|
|
22
|
+
o,
|
|
23
|
+
/* @__PURE__ */ t(a.Icon, { asChild: !0, children: /* @__PURE__ */ t(i, { className: "ttw:size-4 ttw:opacity-50" }) })
|
|
24
|
+
] });
|
|
25
|
+
}
|
|
26
|
+
function x({
|
|
27
|
+
className: e,
|
|
28
|
+
children: s,
|
|
29
|
+
position: o = "popper",
|
|
30
|
+
...r
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("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:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
|
|
33
|
+
/* @__PURE__ */ t(c, {}),
|
|
34
|
+
/* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
|
|
35
|
+
/* @__PURE__ */ t(u, {})
|
|
36
|
+
] }) });
|
|
37
|
+
}
|
|
38
|
+
function b({
|
|
39
|
+
className: e,
|
|
40
|
+
children: s,
|
|
41
|
+
...o
|
|
42
|
+
}) {
|
|
43
|
+
return /* @__PURE__ */ l(a.Item, { "data-slot": "select-item", className: n("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e), ...o, children: [
|
|
44
|
+
/* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
|
|
45
|
+
/* @__PURE__ */ t(a.ItemText, { children: s })
|
|
46
|
+
] });
|
|
47
|
+
}
|
|
48
|
+
function N({
|
|
49
|
+
className: e,
|
|
50
|
+
...s
|
|
51
|
+
}) {
|
|
52
|
+
return /* @__PURE__ */ t(a.Separator, { "data-slot": "select-separator", className: n("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e), ...s });
|
|
53
|
+
}
|
|
54
|
+
function c({
|
|
55
|
+
className: e,
|
|
56
|
+
...s
|
|
57
|
+
}) {
|
|
58
|
+
return /* @__PURE__ */ t(a.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(d, { className: "ttw:size-4" }) });
|
|
59
|
+
}
|
|
60
|
+
function u({
|
|
61
|
+
className: e,
|
|
62
|
+
...s
|
|
63
|
+
}) {
|
|
64
|
+
return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
|
|
9
65
|
}
|
|
10
66
|
export {
|
|
11
|
-
|
|
67
|
+
g as Select,
|
|
68
|
+
x as SelectContent,
|
|
69
|
+
b as SelectItem,
|
|
70
|
+
u as SelectScrollDownButton,
|
|
71
|
+
c as SelectScrollUpButton,
|
|
72
|
+
N as SelectSeparator,
|
|
73
|
+
v as SelectTrigger,
|
|
74
|
+
h as SelectValue
|
|
12
75
|
};
|
|
@@ -1,75 +1,46 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
...e
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index100.js";
|
|
3
|
+
function r({
|
|
4
|
+
className: t,
|
|
5
|
+
...a
|
|
7
6
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ e("div", { "data-slot": "table-container", className: "ttw:flex-1 ttw:relative ttw:w-0 ttw:min-w-full ttw:overflow-x-auto", children: /* @__PURE__ */ e("table", { "data-slot": "table", className: l("ttw:w-full ttw:caption-bottom ttw:text-sm", t), ...a }) });
|
|
9
8
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
9
|
+
function w({
|
|
10
|
+
className: t,
|
|
11
|
+
...a
|
|
12
12
|
}) {
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ e("thead", { "data-slot": "table-header", className: l("ttw:[&_tr]:border-b", t), ...a });
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
className:
|
|
17
|
-
|
|
18
|
-
children: o,
|
|
19
|
-
...r
|
|
20
|
-
}) {
|
|
21
|
-
return /* @__PURE__ */ l(a.Trigger, { "data-slot": "select-trigger", "data-size": s, className: n("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e), ...r, children: [
|
|
22
|
-
o,
|
|
23
|
-
/* @__PURE__ */ t(a.Icon, { asChild: !0, children: /* @__PURE__ */ t(i, { className: "ttw:size-4 ttw:opacity-50" }) })
|
|
24
|
-
] });
|
|
25
|
-
}
|
|
26
|
-
function x({
|
|
27
|
-
className: e,
|
|
28
|
-
children: s,
|
|
29
|
-
position: o = "popper",
|
|
30
|
-
...r
|
|
31
|
-
}) {
|
|
32
|
-
return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("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:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
|
|
33
|
-
/* @__PURE__ */ t(c, {}),
|
|
34
|
-
/* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
|
|
35
|
-
/* @__PURE__ */ t(u, {})
|
|
36
|
-
] }) });
|
|
37
|
-
}
|
|
38
|
-
function b({
|
|
39
|
-
className: e,
|
|
40
|
-
children: s,
|
|
41
|
-
...o
|
|
15
|
+
function c({
|
|
16
|
+
className: t,
|
|
17
|
+
...a
|
|
42
18
|
}) {
|
|
43
|
-
return /* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
|
|
45
|
-
/* @__PURE__ */ t(a.ItemText, { children: s })
|
|
46
|
-
] });
|
|
19
|
+
return /* @__PURE__ */ e("tbody", { "data-slot": "table-body", className: l("ttw:[&_tr:last-child]:border-0", t), ...a });
|
|
47
20
|
}
|
|
48
|
-
function
|
|
49
|
-
className:
|
|
50
|
-
...
|
|
21
|
+
function n({
|
|
22
|
+
className: t,
|
|
23
|
+
...a
|
|
51
24
|
}) {
|
|
52
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ e("tr", { "data-slot": "table-row", className: l("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", t), ...a });
|
|
53
26
|
}
|
|
54
|
-
function
|
|
55
|
-
className:
|
|
56
|
-
...
|
|
27
|
+
function d({
|
|
28
|
+
className: t,
|
|
29
|
+
...a
|
|
57
30
|
}) {
|
|
58
|
-
return /* @__PURE__ */
|
|
31
|
+
return /* @__PURE__ */ e("th", { "data-slot": "table-head", className: l("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]", t), ...a });
|
|
59
32
|
}
|
|
60
|
-
function
|
|
61
|
-
className:
|
|
62
|
-
...
|
|
33
|
+
function b({
|
|
34
|
+
className: t,
|
|
35
|
+
...a
|
|
63
36
|
}) {
|
|
64
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ e("td", { "data-slot": "table-cell", className: l("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
65
38
|
}
|
|
66
39
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
b as
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
v as SelectTrigger,
|
|
74
|
-
h as SelectValue
|
|
40
|
+
r as Table,
|
|
41
|
+
c as TableBody,
|
|
42
|
+
b as TableCell,
|
|
43
|
+
d as TableHead,
|
|
44
|
+
w as TableHeader,
|
|
45
|
+
n as TableRow
|
|
75
46
|
};
|
|
@@ -1,46 +1,44 @@
|
|
|
1
|
-
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
}
|
|
1
|
+
import { jsx as i, jsxs as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useApprovalPolicyScript as o } from "./index365.js";
|
|
3
|
+
import { UListUiAlt as a } from "./index366.js";
|
|
4
|
+
import { UUserCircle as c } from "./index364.js";
|
|
5
|
+
import { UUsersAlt as m } from "./index367.js";
|
|
6
|
+
import { UUserSquare as p } from "./index368.js";
|
|
7
|
+
import { ColumnList as n } from "./index360.js";
|
|
8
|
+
const v = ({
|
|
9
|
+
approvalPolicy: l
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
rules: t,
|
|
13
|
+
getRuleName: s
|
|
14
|
+
} = o({
|
|
15
|
+
approvalPolicy: l
|
|
16
|
+
});
|
|
17
|
+
return l ? /* @__PURE__ */ i(n, { children: t && Object.keys(t).map((r) => {
|
|
18
|
+
switch (r) {
|
|
19
|
+
case "single_user":
|
|
20
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
21
|
+
/* @__PURE__ */ i(c, { width: 18 }),
|
|
22
|
+
s(r)
|
|
23
|
+
] }, r);
|
|
24
|
+
case "users_from_list":
|
|
25
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
26
|
+
/* @__PURE__ */ i(m, { width: 18 }),
|
|
27
|
+
s(r)
|
|
28
|
+
] }, r);
|
|
29
|
+
case "roles_from_list":
|
|
30
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
31
|
+
/* @__PURE__ */ i(p, { width: 18 }),
|
|
32
|
+
s(r)
|
|
33
|
+
] }, r);
|
|
34
|
+
case "approval_chain":
|
|
35
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
36
|
+
/* @__PURE__ */ i(a, { width: 18 }),
|
|
37
|
+
s(r)
|
|
38
|
+
] }, r);
|
|
39
|
+
}
|
|
40
|
+
}) }) : null;
|
|
41
|
+
};
|
|
39
42
|
export {
|
|
40
|
-
|
|
41
|
-
c as TableBody,
|
|
42
|
-
b as TableCell,
|
|
43
|
-
d as TableHead,
|
|
44
|
-
w as TableHeader,
|
|
45
|
-
n as TableRow
|
|
43
|
+
v as ApprovalPoliciesRules
|
|
46
44
|
};
|
|
@@ -1,22 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { jsx as s, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import "./index57.js";
|
|
3
|
+
import "@tanstack/react-query";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { useEntityUserById as U } from "./index75.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-hot-toast";
|
|
8
|
+
import "@lingui/react";
|
|
9
|
+
import { Avatar as b, AvatarFallback as k } from "./index348.js";
|
|
10
|
+
import { Badge as p } from "./index254.js";
|
|
11
|
+
import { Skeleton as B } from "./index137.js";
|
|
12
|
+
import { getVariantProps as d } from "./index452.js";
|
|
13
|
+
const q = ({
|
|
14
|
+
userId: t,
|
|
15
|
+
user: e,
|
|
16
|
+
variant: m = "text",
|
|
17
|
+
showUsersAsEmail: i = !1,
|
|
18
|
+
showAvatar: f = !1,
|
|
19
|
+
className: o = ""
|
|
20
|
+
}) => {
|
|
5
21
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
22
|
+
data: u,
|
|
23
|
+
isLoading: r,
|
|
24
|
+
isError: N
|
|
25
|
+
} = U(e ? void 0 : t), a = e || u;
|
|
26
|
+
if (!a && !r && N && t) {
|
|
27
|
+
const {
|
|
28
|
+
useBadge: x,
|
|
29
|
+
badgeVariant: E,
|
|
30
|
+
className: c
|
|
31
|
+
} = d({
|
|
32
|
+
variant: m,
|
|
33
|
+
isError: !0,
|
|
34
|
+
componentType: "user",
|
|
35
|
+
className: o
|
|
36
|
+
});
|
|
37
|
+
return x ? /* @__PURE__ */ s(p, { variant: E, className: c, children: "N/A" }) : /* @__PURE__ */ s("span", { className: c, children: "N/A" });
|
|
38
|
+
}
|
|
39
|
+
if (!a && !r)
|
|
40
|
+
return null;
|
|
41
|
+
const h = a ? `${a.first_name ?? ""} ${a.last_name ?? ""}`.trim() : "", w = a ? `${a.first_name?.[0] ?? ""}${a.last_name?.[0] ?? ""}`.toUpperCase() : "", n = i && a?.email ? a.email : h || a?.email || "";
|
|
42
|
+
if (r)
|
|
43
|
+
return /* @__PURE__ */ s(B, { className: "ttw:h-4 ttw:w-20" });
|
|
44
|
+
const {
|
|
45
|
+
useBadge: v,
|
|
46
|
+
badgeVariant: A,
|
|
47
|
+
className: l,
|
|
48
|
+
showAvatar: g
|
|
49
|
+
} = d({
|
|
50
|
+
variant: m,
|
|
51
|
+
isError: !1,
|
|
52
|
+
componentType: "user",
|
|
53
|
+
showAvatar: f,
|
|
54
|
+
showUsersAsEmail: i,
|
|
55
|
+
className: o
|
|
18
56
|
});
|
|
57
|
+
return v ? /* @__PURE__ */ y(p, { variant: A, className: l, children: [
|
|
58
|
+
g && /* @__PURE__ */ s(b, { className: "ttw:w-4 ttw:h-4", children: /* @__PURE__ */ s(k, { className: "ttw:text-xs ttw:font-medium", children: w }) }),
|
|
59
|
+
n
|
|
60
|
+
] }) : /* @__PURE__ */ s("span", { className: l, children: n });
|
|
19
61
|
};
|
|
20
62
|
export {
|
|
21
|
-
|
|
63
|
+
q as User
|
|
22
64
|
};
|
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
children: c,
|
|
11
|
-
confirmLabel: d,
|
|
12
|
-
cancelLabel: m,
|
|
13
|
-
onClose: a,
|
|
14
|
-
onConfirm: p,
|
|
15
|
-
container: g,
|
|
16
|
-
isLoading: r = !1
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ROW_TO_STATUS_MUI_MAP as n, getRowToStatusTextMap as l, APPROVAL_STATUS_TO_MUI_ICON_MAP as u } from "./index240.js";
|
|
3
|
+
import { useLingui as S } from "@lingui/react";
|
|
4
|
+
import f from "@mui/icons-material/Circle";
|
|
5
|
+
import { Chip as A } from "@mui/material";
|
|
6
|
+
import { styled as _, useThemeProps as T } from "@mui/material/styles";
|
|
7
|
+
const d = ({
|
|
8
|
+
ref: s,
|
|
9
|
+
...a
|
|
17
10
|
}) => {
|
|
18
11
|
const {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
12
|
+
status: o,
|
|
13
|
+
icon: i,
|
|
14
|
+
size: p,
|
|
15
|
+
variant: e
|
|
16
|
+
} = T({
|
|
17
|
+
props: a,
|
|
18
|
+
name: "MoniteApprovalStatusChip"
|
|
19
|
+
}), {
|
|
20
|
+
i18n: m
|
|
21
|
+
} = S(), r = u[o];
|
|
22
|
+
return /* @__PURE__ */ t(h, { className: "Monite-ApprovalStatusChip", ref: s, color: n[o], icon: i && r ? /* @__PURE__ */ t(r, { fontSize: "small" }) : /* @__PURE__ */ t(f, { sx: {
|
|
23
|
+
fontSize: "10px"
|
|
24
|
+
} }), label: l(m)[o], size: p, status: o, variant: e ?? "filled" });
|
|
25
|
+
}, h = _(A, {
|
|
26
|
+
name: "MoniteApprovalStatusChip",
|
|
27
|
+
slot: "root",
|
|
28
|
+
shouldForwardProp: () => !0
|
|
29
|
+
})({});
|
|
37
30
|
export {
|
|
38
|
-
|
|
31
|
+
d as ApprovalStatusChip,
|
|
32
|
+
h as StyledChip
|
|
39
33
|
};
|
|
@@ -1,32 +1,116 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { getSharedApprovalRuleLabel as c, getUsersFromListLabel as R } from "./index369.js";
|
|
2
|
+
const d = {
|
|
3
|
+
REQUEST_APPROVAL_BY_USERS: "ApprovalRequests.request_approval_by_users",
|
|
4
|
+
REQUEST_APPROVAL_BY_ROLES: "ApprovalRequests.request_approval_by_roles"
|
|
5
|
+
}, v = (e) => {
|
|
6
|
+
switch (e) {
|
|
7
|
+
case "approved":
|
|
8
|
+
return "waiting_to_be_paid";
|
|
9
|
+
case "rejected":
|
|
10
|
+
return "rejected";
|
|
11
|
+
case "canceled":
|
|
12
|
+
return "canceled";
|
|
13
|
+
default:
|
|
14
|
+
return "approve_in_progress";
|
|
15
|
+
}
|
|
16
|
+
}, m = (e) => e.find((a) => a.call === d.REQUEST_APPROVAL_BY_USERS), q = (e) => e.find((a) => a.call === d.REQUEST_APPROVAL_BY_ROLES), f = (e, a, s = !1) => e.filter((r) => r.user_ids?.length ? s ? r.user_ids.some((t) => a.includes(t)) : a.every((t) => r.user_ids.includes(t)) : !1), b = (e, a, s) => {
|
|
17
|
+
if (e?.params) {
|
|
18
|
+
const {
|
|
19
|
+
user_ids: r,
|
|
20
|
+
required_approval_count: t
|
|
21
|
+
} = e.params;
|
|
22
|
+
return r?.length === 1 ? c.singleUser(s) : R(s, t);
|
|
23
|
+
}
|
|
24
|
+
return a?.params ? c.anyUserWithRole(s) : "";
|
|
25
|
+
}, o = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(o) : e.if ? o(e.if) : [] : [], h = (e) => e.flatMap(o), j = (e) => {
|
|
26
|
+
const a = [];
|
|
27
|
+
if (e.all)
|
|
28
|
+
a.push(...e.all);
|
|
29
|
+
else if (e.if) {
|
|
30
|
+
const s = e.if;
|
|
31
|
+
s.all ? a.push(...s.all) : a.push(s);
|
|
32
|
+
}
|
|
33
|
+
return a;
|
|
34
|
+
}, _ = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(_) : Array.isArray(e) ? e.flatMap(_) : [] : [], y = (e) => e.length === 0 || e.some((a) => a.status === "waiting") ? "waiting" : e.every((a) => a.status === "approved") ? "approved" : e.some((a) => a.status === "rejected") ? "rejected" : "waiting", E = (e, a, s) => ({
|
|
35
|
+
stepNumber: a,
|
|
36
|
+
type: s,
|
|
37
|
+
assignee: void 0,
|
|
38
|
+
assignees: e.assignees,
|
|
39
|
+
status: e.stepStatus,
|
|
40
|
+
payableStatus: v(e.stepStatus),
|
|
41
|
+
actualAssignees: e.actualAssignees,
|
|
42
|
+
hasActiveRequests: e.relatedRequests.length > 0,
|
|
43
|
+
requestIds: e.relatedRequests.map((r) => r.id),
|
|
44
|
+
approvalRequestId: e.approvalRequestId,
|
|
45
|
+
approvedBy: e.approvedBy,
|
|
46
|
+
objectId: e.objectId,
|
|
47
|
+
rejectedBy: e.rejectedBy,
|
|
48
|
+
requiredApprovalCount: e.requiredApprovalCount
|
|
49
|
+
}), B = (e, a, s, r) => {
|
|
50
|
+
const t = y(a);
|
|
51
|
+
return {
|
|
52
|
+
stepNumber: s,
|
|
53
|
+
type: r,
|
|
54
|
+
assignee: void 0,
|
|
55
|
+
assignees: e,
|
|
56
|
+
status: t,
|
|
57
|
+
payableStatus: v(t),
|
|
58
|
+
actualAssignees: e,
|
|
59
|
+
hasActiveRequests: a.length > 0,
|
|
60
|
+
requestIds: a.map((l) => l.id),
|
|
61
|
+
approvalRequestId: a[0]?.id,
|
|
62
|
+
approvedBy: a.flatMap((l) => l.approved_by || []),
|
|
63
|
+
objectId: a[0]?.object_id,
|
|
64
|
+
rejectedBy: a.find((l) => l.rejected_by)?.rejected_by,
|
|
65
|
+
requiredApprovalCount: a.reduce((l, i) => l + i.required_approval_count, 0)
|
|
66
|
+
};
|
|
67
|
+
}, C = (e, a) => {
|
|
68
|
+
const s = e.flatMap((t) => t.params?.user_ids || []), r = a.filter((t) => t.user_ids?.length && s.some((l) => t.user_ids.includes(l)));
|
|
69
|
+
return {
|
|
70
|
+
allChainUserIds: s,
|
|
71
|
+
allChainRequests: r
|
|
72
|
+
};
|
|
73
|
+
}, I = (e) => {
|
|
74
|
+
const a = [];
|
|
75
|
+
if (e.all)
|
|
76
|
+
a.push(...e.all);
|
|
77
|
+
else if (e.if) {
|
|
78
|
+
const s = e.if;
|
|
79
|
+
s.all ? a.push(...s.all) : a.push(s);
|
|
80
|
+
}
|
|
81
|
+
return a;
|
|
82
|
+
}, L = (e, a) => {
|
|
83
|
+
const s = e.call === d.REQUEST_APPROVAL_BY_USERS ? e : void 0;
|
|
84
|
+
let r = [];
|
|
85
|
+
s?.params?.user_ids && (r = s.params.user_ids);
|
|
86
|
+
const t = f(a, r, !0), l = t.flatMap((p) => p.user_ids || []), i = [...new Set(l)], A = t.length ? t[0].status : "waiting", u = t.find((p) => p.status !== "waiting"), S = t.flatMap((p) => p.approved_by || []), n = [...new Set(S)];
|
|
87
|
+
return {
|
|
88
|
+
assignees: r,
|
|
89
|
+
actualAssignees: i,
|
|
90
|
+
relatedRequests: t,
|
|
91
|
+
stepStatus: A,
|
|
92
|
+
approvalRequestId: u?.id,
|
|
93
|
+
approvedBy: n.length > 0 ? n : void 0,
|
|
94
|
+
objectId: u?.object_id || e.params?.object_id,
|
|
95
|
+
rejectedBy: u?.rejected_by,
|
|
96
|
+
requiredApprovalCount: e.params?.required_approval_count || u?.required_approval_count || 1
|
|
97
|
+
};
|
|
29
98
|
};
|
|
30
99
|
export {
|
|
31
|
-
|
|
100
|
+
d as APPROVAL_CALL_TYPES,
|
|
101
|
+
y as calculateIntegralStatus,
|
|
102
|
+
E as createBaseApprovalStep,
|
|
103
|
+
B as createChainApprovalStep,
|
|
104
|
+
o as extractApprovalCalls,
|
|
105
|
+
_ as extractApprovalCallsForTable,
|
|
106
|
+
I as extractItemsFromScriptStep,
|
|
107
|
+
j as extractStructureItemsFromScriptStep,
|
|
108
|
+
f as filterRequestsByUsers,
|
|
109
|
+
q as findRoleApprovalCall,
|
|
110
|
+
m as findUserApprovalCall,
|
|
111
|
+
b as getApprovalRuleLabel,
|
|
112
|
+
v as mapApprovalStatusToPayableStatus,
|
|
113
|
+
h as processApprovalStructure,
|
|
114
|
+
C as processChainApprovalCalls,
|
|
115
|
+
L as resolveStepForCall
|
|
32
116
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as s } from "./
|
|
2
|
+
import { getAPIErrorMessage as s } from "./index120.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
4
|
import { toast as i } from "react-hot-toast";
|
|
5
5
|
const f = () => {
|