@tesouro/embedded-components-react 0.7.47 → 0.7.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +0 -23
- package/dist/lib/monite-sdk.d.ts +51 -182
- package/dist/lib/monite-sdk.js +71 -77
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsTable.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/counterparts.js +233 -88
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +75 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +10 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +102 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +51 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +49 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +1 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +53 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +151 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +70 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +68 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +172 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +73 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +76 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +33 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +1 -446
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +55 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +565 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +156 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +26 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +5 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +37 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +48 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +54 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +28 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +78 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +79 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +121 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +121 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +17 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +120 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +55 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +71 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +57 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +30 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +31 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +10 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +13 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +15 -564
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +114 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +62 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +195 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +17 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +5 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +359 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +89 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +182 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +98 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +54 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +49 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +85 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +7 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +304 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +157 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +101 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +186 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +131 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +208 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +238 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +131 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +165 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +19 -356
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +16 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +9 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +22 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +83 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +101 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +171 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +11 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +4 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +210 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +87 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +154 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +42 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +69 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +5 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +11 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +130 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +6 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +219 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +31 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +32 -238
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +179 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +194 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +102 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +64 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +91 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +83 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +1 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +15 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +87 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +70 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +5 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +72 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +49 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +51 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +71 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +80 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +8 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +3 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +55 -53
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +0 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +0 -97
|
@@ -1,172 +1,106 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { User as e } from "./index74.js";
|
|
2
|
+
import "./index75.js";
|
|
3
|
+
import { useApprovalPolicyScript as t } from "./index99.js";
|
|
4
|
+
import { Role as n } from "./index101.js";
|
|
5
|
+
import "./index102.js";
|
|
6
|
+
import { useMemo as r } from "react";
|
|
7
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { Button as o, IconButton as s, Paper as c, Stack as l, Table as u, TableBody as d, TableCell as f, TableHead as p, TableRow as m } from "@mui/material";
|
|
9
|
+
import { useLingui as h } from "@lingui/react";
|
|
10
|
+
import g from "@mui/icons-material/AddCircleOutline";
|
|
11
|
+
import _ from "@mui/icons-material/Delete";
|
|
10
12
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js
|
|
11
|
-
var
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
13
|
+
var v = ({ rules: v, usersFromListCount: y, rolesFromListCount: b, onAddRule: x, onEditRule: S, onDeleteRule: C }) => {
|
|
14
|
+
let { i18n: w } = h(), { getRuleLabel: T } = t({}), E = r(() => Object.keys(v).map((t) => {
|
|
15
|
+
let r, a;
|
|
16
|
+
switch (t) {
|
|
17
|
+
case "users_from_list":
|
|
18
|
+
r = T(t, (typeof y == "string" ? parseInt(y) : y) || 0);
|
|
19
|
+
break;
|
|
20
|
+
case "roles_from_list":
|
|
21
|
+
r = T(t, typeof b == "string" ? parseInt(b) : b || 0);
|
|
22
|
+
break;
|
|
23
|
+
default: r = T(t);
|
|
24
|
+
}
|
|
25
|
+
switch (t) {
|
|
26
|
+
case "single_user":
|
|
27
|
+
a = /* @__PURE__ */ i(l, {
|
|
28
|
+
direction: "column",
|
|
29
|
+
spacing: .5,
|
|
30
|
+
sx: { overflow: "hidden" },
|
|
31
|
+
children: v.single_user?.id && /* @__PURE__ */ i(e, { userId: v.single_user?.id }, v.single_user?.id)
|
|
32
|
+
});
|
|
33
|
+
break;
|
|
34
|
+
case "users_from_list":
|
|
35
|
+
a = /* @__PURE__ */ i(l, {
|
|
36
|
+
direction: "column",
|
|
37
|
+
spacing: .5,
|
|
38
|
+
sx: { overflow: "hidden" },
|
|
39
|
+
children: v?.users_from_list?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
40
|
+
});
|
|
41
|
+
break;
|
|
42
|
+
case "roles_from_list":
|
|
43
|
+
a = /* @__PURE__ */ i(l, {
|
|
44
|
+
direction: "row",
|
|
45
|
+
gap: 1,
|
|
46
|
+
flexWrap: "wrap",
|
|
47
|
+
useFlexGap: !0,
|
|
48
|
+
sx: { "& > *": { flexShrink: 0 } },
|
|
49
|
+
children: v.roles_from_list?.map((e) => /* @__PURE__ */ i(n, { roleId: e.id }, e.id))
|
|
50
|
+
});
|
|
51
|
+
break;
|
|
52
|
+
case "approval_chain": a = /* @__PURE__ */ i(l, {
|
|
53
|
+
direction: "column",
|
|
54
|
+
spacing: .5,
|
|
55
|
+
sx: { overflow: "hidden" },
|
|
56
|
+
children: v?.approval_chain?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
key: t,
|
|
61
|
+
label: r,
|
|
62
|
+
value: a
|
|
63
|
+
};
|
|
64
|
+
}), [
|
|
65
|
+
v,
|
|
66
|
+
y,
|
|
67
|
+
T,
|
|
68
|
+
b
|
|
69
|
+
]);
|
|
70
|
+
return /* @__PURE__ */ i(c, {
|
|
71
|
+
variant: "outlined",
|
|
72
|
+
children: /* @__PURE__ */ a(u, { children: [/* @__PURE__ */ i(p, { children: /* @__PURE__ */ a(m, { children: [
|
|
73
|
+
/* @__PURE__ */ i(f, { children: w._("Condition") }),
|
|
74
|
+
/* @__PURE__ */ i(f, { children: w._("Criteria") }),
|
|
75
|
+
/* @__PURE__ */ i(f, {})
|
|
76
|
+
] }) }), /* @__PURE__ */ a(d, { children: [E.length > 0 ? E.map((e) => /* @__PURE__ */ a(m, {
|
|
77
|
+
hover: !0,
|
|
78
|
+
sx: { "&.MuiTableRow-root": { cursor: "pointer" } },
|
|
79
|
+
onClick: () => S(e.key),
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ i(f, { children: e.label }),
|
|
82
|
+
/* @__PURE__ */ i(f, { children: e.value }),
|
|
83
|
+
/* @__PURE__ */ i(f, { children: /* @__PURE__ */ i(s, {
|
|
84
|
+
"aria-label": w._("Delete trigger"),
|
|
85
|
+
onClick: (t) => {
|
|
86
|
+
t.stopPropagation(), C(e.key);
|
|
87
|
+
},
|
|
88
|
+
children: /* @__PURE__ */ i(_, {})
|
|
89
|
+
}) })
|
|
90
|
+
]
|
|
91
|
+
}, e.label)) : /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
92
|
+
colSpan: 3,
|
|
93
|
+
children: w._("No rules")
|
|
94
|
+
}) }), /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
95
|
+
colSpan: 3,
|
|
96
|
+
children: /* @__PURE__ */ i(o, {
|
|
97
|
+
startIcon: /* @__PURE__ */ i(g, {}),
|
|
98
|
+
onClick: x,
|
|
99
|
+
disabled: !!v.single_user && (v.users_from_list?.length ?? 0) > 0 && (v.roles_from_list?.length ?? 0) > 0 && (v.approval_chain?.length ?? 0) > 0,
|
|
100
|
+
children: w._("Add new rule")
|
|
81
101
|
})
|
|
82
|
-
})
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
function b({ className: e, ...n }) {
|
|
86
|
-
return /* @__PURE__ */ d(p.List, {
|
|
87
|
-
"data-slot": "combobox-list",
|
|
88
|
-
className: t("ttw:max-h-[min(calc(--spacing(96)---spacing(9)),calc(var(--available-height)---spacing(9)))] ttw:scroll-py-1 ttw:overflow-y-auto ttw:p-1 ttw:data-empty:p-0", e),
|
|
89
|
-
...n
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
function x({ className: e, children: n, ...r }) {
|
|
93
|
-
return /* @__PURE__ */ f(p.Item, {
|
|
94
|
-
"data-slot": "combobox-item",
|
|
95
|
-
className: t("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-highlighted:bg-accent ttw:data-highlighted:text-accent-foreground 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", e),
|
|
96
|
-
...r,
|
|
97
|
-
children: [n, /* @__PURE__ */ d(p.ItemIndicator, {
|
|
98
|
-
"data-slot": "combobox-item-indicator",
|
|
99
|
-
render: /* @__PURE__ */ d("span", { className: "ttw:pointer-events-none ttw:absolute ttw:right-2 ttw:flex ttw:size-4 ttw:items-center ttw:justify-center" }),
|
|
100
|
-
children: /* @__PURE__ */ d(c, { className: "ttw:pointer-events-none ttw:size-4 ttw:pointer-coarse:size-5" })
|
|
101
|
-
})]
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
function S({ className: e, ...n }) {
|
|
105
|
-
return /* @__PURE__ */ d(p.Group, {
|
|
106
|
-
"data-slot": "combobox-group",
|
|
107
|
-
className: t(e),
|
|
108
|
-
...n
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
function C({ className: e, ...n }) {
|
|
112
|
-
return /* @__PURE__ */ d(p.GroupLabel, {
|
|
113
|
-
"data-slot": "combobox-label",
|
|
114
|
-
className: t("ttw:px-2 ttw:py-1.5 ttw:text-xs ttw:text-muted-foreground ttw:pointer-coarse:px-3 ttw:pointer-coarse:py-2 ttw:pointer-coarse:text-sm", e),
|
|
115
|
-
...n
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function w({ ...e }) {
|
|
119
|
-
return /* @__PURE__ */ d(p.Collection, {
|
|
120
|
-
"data-slot": "combobox-collection",
|
|
121
|
-
...e
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
function T({ className: e, ...n }) {
|
|
125
|
-
return /* @__PURE__ */ d(p.Empty, {
|
|
126
|
-
"data-slot": "combobox-empty",
|
|
127
|
-
className: t("ttw:hidden ttw:w-full ttw:justify-center ttw:py-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground ttw:group-data-empty/combobox-content:flex", e),
|
|
128
|
-
...n
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
function E({ className: e, ...n }) {
|
|
132
|
-
return /* @__PURE__ */ d(p.Separator, {
|
|
133
|
-
"data-slot": "combobox-separator",
|
|
134
|
-
className: t("ttw:-mx-1 ttw:my-1 ttw:h-px ttw:bg-border", e),
|
|
135
|
-
...n
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
function D({ className: e, ...n }) {
|
|
139
|
-
return /* @__PURE__ */ d(p.Chips, {
|
|
140
|
-
"data-slot": "combobox-chips",
|
|
141
|
-
className: t("ttw:flex ttw:min-h-9 ttw:flex-wrap ttw:items-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-input ttw:bg-transparent ttw:bg-clip-padding ttw:px-2.5 ttw:py-1.5 ttw:text-sm ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50 ttw:has-aria-invalid:border-destructive ttw:has-aria-invalid:ring-[3px] ttw:has-aria-invalid:ring-destructive/20 ttw:has-data-[slot=combobox-chip]:px-1.5 ttw:dark:bg-input/30 ttw:dark:has-aria-invalid:border-destructive/50 ttw:dark:has-aria-invalid:ring-destructive/40", e),
|
|
142
|
-
...n
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
function O({ className: e, children: r, showRemove: i = !0, ...a }) {
|
|
146
|
-
return /* @__PURE__ */ f(p.Chip, {
|
|
147
|
-
"data-slot": "combobox-chip",
|
|
148
|
-
className: t("ttw:flex ttw:h-[calc(--spacing(5.5))] ttw:w-fit ttw:items-center ttw:justify-center ttw:gap-1 ttw:rounded-sm ttw:bg-muted ttw:px-1.5 ttw:text-xs ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:has-disabled:pointer-events-none ttw:has-disabled:cursor-not-allowed ttw:has-disabled:opacity-50 ttw:has-data-[slot=combobox-chip-remove]:pr-0", e),
|
|
149
|
-
...a,
|
|
150
|
-
children: [r, i && /* @__PURE__ */ d(p.ChipRemove, {
|
|
151
|
-
render: /* @__PURE__ */ d(n, {
|
|
152
|
-
variant: "ghost",
|
|
153
|
-
className: "ttw:size-6"
|
|
154
|
-
}),
|
|
155
|
-
className: "ttw:-ml-1 ttw:opacity-50 ttw:hover:opacity-100",
|
|
156
|
-
"data-slot": "combobox-chip-remove",
|
|
157
|
-
children: /* @__PURE__ */ d(u, { className: "ttw:pointer-events-none" })
|
|
158
|
-
})]
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
function k({ className: e, children: n, ...r }) {
|
|
162
|
-
return /* @__PURE__ */ d(p.Input, {
|
|
163
|
-
"data-slot": "combobox-chip-input",
|
|
164
|
-
className: t("ttw:min-w-16 ttw:flex-1 ttw:outline-none", e),
|
|
165
|
-
...r
|
|
102
|
+
}) })] })] })
|
|
166
103
|
});
|
|
167
|
-
}
|
|
168
|
-
function A() {
|
|
169
|
-
return s.useRef(null);
|
|
170
|
-
}
|
|
104
|
+
};
|
|
171
105
|
//#endregion
|
|
172
|
-
export {
|
|
106
|
+
export { v as RulesTable };
|
|
@@ -1,41 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Combobox as t, ComboboxCollection as n, ComboboxContent as r, ComboboxEmpty as i, ComboboxInput as a, ComboboxItem as o, ComboboxList as s } from "./index103.js";
|
|
3
|
-
import { useMemo as c } from "react";
|
|
4
|
-
import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import { useLingui as d } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js
|
|
7
|
-
var f = ({ value: f, onChange: p, disabled: m, invalid: h, allowedCountries: g, showClearButton: _ = !0, className: v, container: y }) => {
|
|
8
|
-
let { i18n: b } = d(), x = c(() => {
|
|
9
|
-
let t = e(b);
|
|
10
|
-
return g ? t.filter((e) => g.includes(e.code)) : t;
|
|
11
|
-
}, [g, b]), S = c(() => new Map(x.map((e) => [e.code, e])), [x]), C = m || x.length === 1;
|
|
12
|
-
return /* @__PURE__ */ u(t, {
|
|
13
|
-
value: f ?? null,
|
|
14
|
-
onValueChange: (e) => p?.(e ?? void 0),
|
|
15
|
-
items: x.map((e) => e.code),
|
|
16
|
-
itemToStringLabel: (e) => S.get(e)?.label ?? e,
|
|
17
|
-
filter: (e, t, n) => {
|
|
18
|
-
let r = t.toLowerCase().trim();
|
|
19
|
-
return !r || e.toLowerCase().includes(r) || (n?.(e) ?? "").toLowerCase().includes(r);
|
|
20
|
-
},
|
|
21
|
-
disabled: C,
|
|
22
|
-
children: [/* @__PURE__ */ l(a, {
|
|
23
|
-
showClear: _,
|
|
24
|
-
disabled: C,
|
|
25
|
-
className: v,
|
|
26
|
-
placeholder: b._("Country"),
|
|
27
|
-
"aria-invalid": h || void 0
|
|
28
|
-
}), /* @__PURE__ */ l(r, {
|
|
29
|
-
container: y,
|
|
30
|
-
children: /* @__PURE__ */ u(s, { children: [/* @__PURE__ */ l(i, { children: b._("No countries found") }), /* @__PURE__ */ l(n, { children: (e) => /* @__PURE__ */ u(o, {
|
|
31
|
-
value: e,
|
|
32
|
-
children: [/* @__PURE__ */ l("span", { children: S.get(e)?.label ?? e }), /* @__PURE__ */ l("span", {
|
|
33
|
-
className: "ttw:ml-auto ttw:text-xs ttw:text-muted-foreground",
|
|
34
|
-
children: e
|
|
35
|
-
})]
|
|
36
|
-
}, e) })] })
|
|
37
|
-
})]
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
//#endregion
|
|
41
|
-
export { f as MoniteCountryShadcn };
|
|
1
|
+
import "./index103.js";
|
|
@@ -1,190 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { useLingui as v } from "@lingui/react";
|
|
11
|
-
import { Controller as y, useFormContext as b } from "react-hook-form";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useRootElements as t } from "./index78.js";
|
|
3
|
+
import "./index79.js";
|
|
4
|
+
import { useDebounce as n } from "./index85.js";
|
|
5
|
+
import { useState as r } from "react";
|
|
6
|
+
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
+
import { useLingui as d } from "@lingui/react";
|
|
9
|
+
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
12
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js
|
|
13
|
-
var
|
|
14
|
-
let { i18n:
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
children: [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}),
|
|
51
|
-
/* @__PURE__ */ g(e, {
|
|
52
|
-
id: t.name,
|
|
53
|
-
...t,
|
|
54
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
55
|
-
disabled: S,
|
|
56
|
-
"aria-invalid": !!o || void 0
|
|
57
|
-
}),
|
|
58
|
-
/* @__PURE__ */ g(i, { errors: [o] })
|
|
59
|
-
] }) })
|
|
60
|
-
}), /* @__PURE__ */ g(y, {
|
|
61
|
-
name: "line2",
|
|
62
|
-
control: D,
|
|
63
|
-
render: ({ field: o, fieldState: { error: s } }) => /* @__PURE__ */ g(n, { children: /* @__PURE__ */ _(r, { children: [
|
|
64
|
-
/* @__PURE__ */ _(a, {
|
|
65
|
-
htmlFor: o.name,
|
|
66
|
-
className: "ttw:gap-1",
|
|
67
|
-
children: [T._("Apt, suite, floor, etc."), k && /* @__PURE__ */ g(t, {
|
|
68
|
-
variant: "body2",
|
|
69
|
-
color: "muted",
|
|
70
|
-
className: "ttw:leading-snug",
|
|
71
|
-
children: T._("(optional)")
|
|
72
|
-
})]
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ g(e, {
|
|
75
|
-
id: o.name,
|
|
76
|
-
...o,
|
|
77
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
78
|
-
disabled: S,
|
|
79
|
-
"aria-invalid": !!s || void 0
|
|
80
|
-
}),
|
|
81
|
-
/* @__PURE__ */ g(i, { errors: [s] })
|
|
82
|
-
] }) })
|
|
83
|
-
})]
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ _("div", {
|
|
86
|
-
className: "ttw:flex ttw:gap-4",
|
|
87
|
-
children: [/* @__PURE__ */ g(y, {
|
|
88
|
-
name: "city",
|
|
89
|
-
control: D,
|
|
90
|
-
render: ({ field: t, fieldState: { error: o } }) => /* @__PURE__ */ g(n, { children: /* @__PURE__ */ _(r, { children: [
|
|
91
|
-
/* @__PURE__ */ g(a, {
|
|
92
|
-
htmlFor: t.name,
|
|
93
|
-
children: T._("City")
|
|
94
|
-
}),
|
|
95
|
-
/* @__PURE__ */ g(e, {
|
|
96
|
-
id: t.name,
|
|
97
|
-
...t,
|
|
98
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
99
|
-
disabled: S,
|
|
100
|
-
"aria-invalid": !!o || void 0
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ g(i, { errors: [o] })
|
|
103
|
-
] }) })
|
|
104
|
-
}), /* @__PURE__ */ g(y, {
|
|
105
|
-
name: "state",
|
|
106
|
-
control: D,
|
|
107
|
-
render: ({ field: t, fieldState: { error: f } }) => E("country") === "US" ? /* @__PURE__ */ g(n, { children: /* @__PURE__ */ _(r, { children: [
|
|
108
|
-
/* @__PURE__ */ g(a, {
|
|
109
|
-
htmlFor: t.name,
|
|
110
|
-
children: T._("State")
|
|
111
|
-
}),
|
|
112
|
-
/* @__PURE__ */ _(s, {
|
|
113
|
-
value: t.value ?? void 0,
|
|
114
|
-
onValueChange: t.onChange,
|
|
115
|
-
disabled: S,
|
|
116
|
-
children: [/* @__PURE__ */ g(u, {
|
|
117
|
-
ref: t.ref,
|
|
118
|
-
onBlur: t.onBlur,
|
|
119
|
-
"aria-invalid": !!f || void 0,
|
|
120
|
-
className: m("ttw:w-full", (C || k) && "ttw:bg-white"),
|
|
121
|
-
disabled: S,
|
|
122
|
-
children: /* @__PURE__ */ g(d, { placeholder: T._("Select a state") })
|
|
123
|
-
}), /* @__PURE__ */ g(c, { children: Object.entries(o).map(([e, t]) => /* @__PURE__ */ _(l, {
|
|
124
|
-
value: e,
|
|
125
|
-
children: [
|
|
126
|
-
t,
|
|
127
|
-
" — ",
|
|
128
|
-
e
|
|
129
|
-
]
|
|
130
|
-
}, e)) })]
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ g(i, { errors: [f] })
|
|
133
|
-
] }) }) : /* @__PURE__ */ g(n, { children: /* @__PURE__ */ _(r, { children: [
|
|
134
|
-
/* @__PURE__ */ g(a, {
|
|
135
|
-
htmlFor: t.name,
|
|
136
|
-
children: T._("State")
|
|
137
|
-
}),
|
|
138
|
-
/* @__PURE__ */ g(e, {
|
|
139
|
-
id: t.name,
|
|
140
|
-
...t,
|
|
141
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
142
|
-
disabled: S,
|
|
143
|
-
"aria-invalid": !!f || void 0
|
|
144
|
-
}),
|
|
145
|
-
/* @__PURE__ */ g(i, { errors: [f] })
|
|
146
|
-
] }) })
|
|
147
|
-
})]
|
|
148
|
-
}),
|
|
149
|
-
/* @__PURE__ */ _("div", {
|
|
150
|
-
className: "ttw:flex ttw:gap-4",
|
|
151
|
-
children: [/* @__PURE__ */ g(y, {
|
|
152
|
-
name: "postalCode",
|
|
153
|
-
control: D,
|
|
154
|
-
render: ({ field: t, fieldState: { error: o } }) => /* @__PURE__ */ g(n, { children: /* @__PURE__ */ _(r, { children: [
|
|
155
|
-
/* @__PURE__ */ g(a, {
|
|
156
|
-
htmlFor: t.name,
|
|
157
|
-
children: T._("Postal code")
|
|
158
|
-
}),
|
|
159
|
-
/* @__PURE__ */ g(e, {
|
|
160
|
-
id: t.name,
|
|
161
|
-
...t,
|
|
162
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
163
|
-
disabled: S,
|
|
164
|
-
"aria-invalid": !!o || void 0
|
|
165
|
-
}),
|
|
166
|
-
/* @__PURE__ */ g(i, { errors: [o] })
|
|
167
|
-
] }) })
|
|
168
|
-
}), /* @__PURE__ */ g(y, {
|
|
169
|
-
name: "country",
|
|
170
|
-
control: D,
|
|
171
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ g(n, { children: /* @__PURE__ */ _(r, { children: [
|
|
172
|
-
/* @__PURE__ */ g(a, { children: T._("Country") }),
|
|
173
|
-
/* @__PURE__ */ g(f, {
|
|
174
|
-
value: e.value,
|
|
175
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
176
|
-
onChange: e.onChange,
|
|
177
|
-
invalid: !!t,
|
|
178
|
-
disabled: S,
|
|
179
|
-
container: O?.current,
|
|
180
|
-
allowedCountries: ["US"]
|
|
181
|
-
}),
|
|
182
|
-
/* @__PURE__ */ g(i, { errors: [t] })
|
|
183
|
-
] }) })
|
|
184
|
-
})]
|
|
11
|
+
var m = ({ control: m, name: h, label: g }) => {
|
|
12
|
+
let { i18n: _ } = d(), { api: v } = e(), { root: y } = t(), { setValue: b } = p(), [x, S] = r(""), C = n(x, 300), { data: w, isLoading: T, refetch: E } = v.finops.getEntityUsers.useQuery({ query: { name__istartswith: C || void 0 } });
|
|
13
|
+
return /* @__PURE__ */ a(f, {
|
|
14
|
+
control: m,
|
|
15
|
+
name: h,
|
|
16
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
17
|
+
...e,
|
|
18
|
+
id: e.name,
|
|
19
|
+
multiple: !0,
|
|
20
|
+
autoComplete: !0,
|
|
21
|
+
includeInputInList: !0,
|
|
22
|
+
filterSelectedOptions: !0,
|
|
23
|
+
noOptionsText: _._("No users found"),
|
|
24
|
+
slotProps: { popper: { container: y } },
|
|
25
|
+
loading: T,
|
|
26
|
+
options: w?.data || [],
|
|
27
|
+
getOptionKey: (e) => e.id,
|
|
28
|
+
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
29
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
30
|
+
filterOptions: (e) => e,
|
|
31
|
+
onInputChange: (e, t) => {
|
|
32
|
+
S(t);
|
|
33
|
+
},
|
|
34
|
+
onChange: (e, t) => {
|
|
35
|
+
b(h, t), E();
|
|
36
|
+
},
|
|
37
|
+
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
38
|
+
...e,
|
|
39
|
+
label: g,
|
|
40
|
+
error: !!t,
|
|
41
|
+
InputProps: {
|
|
42
|
+
...e.InputProps,
|
|
43
|
+
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
44
|
+
color: "inherit",
|
|
45
|
+
size: 20
|
|
46
|
+
}) : null, e.InputProps.endAdornment] })
|
|
47
|
+
}
|
|
185
48
|
})
|
|
186
|
-
|
|
49
|
+
}), t && /* @__PURE__ */ a(l, {
|
|
50
|
+
error: !0,
|
|
51
|
+
children: t.message
|
|
52
|
+
})] })
|
|
187
53
|
});
|
|
188
54
|
};
|
|
189
55
|
//#endregion
|
|
190
|
-
export {
|
|
56
|
+
export { m as AutocompleteUsers };
|
|
@@ -1,94 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Button as t } from "./index56.js";
|
|
3
|
-
import { LoadingSpinner as n } from "./index51.js";
|
|
4
|
-
import "./index52.js";
|
|
5
|
-
import { useUpdateCounterpartAddress as r } from "./index79.js";
|
|
6
|
-
import { useCreateCounterpartAddress as i } from "./index84.js";
|
|
7
|
-
import "./index86.js";
|
|
8
|
-
import { getAddressValidationSchema as a } from "./index95.js";
|
|
9
|
-
import { CounterpartAddressFormContent as o } from "./index105.js";
|
|
10
|
-
import { useCallback as s, useId as c, useMemo as l } from "react";
|
|
11
|
-
import { jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
12
|
-
import { toast as f } from "react-hot-toast";
|
|
13
|
-
import { useLingui as p } from "@lingui/react";
|
|
14
|
-
import { FormProvider as m, useForm as h } from "react-hook-form";
|
|
15
|
-
import { zodResolver as g } from "@hookform/resolvers/zod";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js
|
|
17
|
-
var _ = ({ counterpartId: _, isStandalone: v, address: y, customerType: b, handleClose: x, onUpdate: S, onCreate: C }) => {
|
|
18
|
-
let { i18n: w } = p(), T = `counterpart-address-form-${c()}`, E = !!y, { mutate: D, isPending: O } = r({
|
|
19
|
-
counterpartId: _,
|
|
20
|
-
addressId: y?.id ?? ""
|
|
21
|
-
}), { mutate: k, isPending: A } = i(), j = O || A, M = l(() => ({
|
|
22
|
-
line1: y?.line1 ?? "",
|
|
23
|
-
line2: y?.line2 ?? "",
|
|
24
|
-
city: y?.city ?? "",
|
|
25
|
-
state: y?.state ?? "",
|
|
26
|
-
country: y?.country ?? "US",
|
|
27
|
-
postalCode: y?.postal_code ?? ""
|
|
28
|
-
}), [y]), { resetField: N, ...P } = h({
|
|
29
|
-
resolver: g(a(w, b === "vendor")),
|
|
30
|
-
defaultValues: M
|
|
31
|
-
}), F = s((e) => {
|
|
32
|
-
e.preventDefault(), e.stopPropagation(), P.handleSubmit((e) => {
|
|
33
|
-
let t = {
|
|
34
|
-
line1: e.line1 ?? "",
|
|
35
|
-
line2: e.line2,
|
|
36
|
-
city: e.city ?? "",
|
|
37
|
-
state: e.state ?? "",
|
|
38
|
-
country: e.country,
|
|
39
|
-
postal_code: e.postalCode ?? ""
|
|
40
|
-
};
|
|
41
|
-
return y ? D(t, { onSuccess: () => {
|
|
42
|
-
f.success(w._("Address has been updated.")), S && S();
|
|
43
|
-
} }) : k({
|
|
44
|
-
path: { counterpart_id: _ },
|
|
45
|
-
body: t
|
|
46
|
-
}, { onSuccess: () => {
|
|
47
|
-
f.success(w._("Address has been added.")), C && C();
|
|
48
|
-
} });
|
|
49
|
-
})(e);
|
|
50
|
-
}, [
|
|
51
|
-
f,
|
|
52
|
-
D,
|
|
53
|
-
k,
|
|
54
|
-
e,
|
|
55
|
-
S,
|
|
56
|
-
C,
|
|
57
|
-
P.handleSubmit,
|
|
58
|
-
w
|
|
59
|
-
]);
|
|
60
|
-
return /* @__PURE__ */ u(m, {
|
|
61
|
-
resetField: N,
|
|
62
|
-
...P,
|
|
63
|
-
children: /* @__PURE__ */ d("form", {
|
|
64
|
-
id: T,
|
|
65
|
-
onSubmit: F,
|
|
66
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100",
|
|
67
|
-
children: [/* @__PURE__ */ u(o, {
|
|
68
|
-
hasExistingAddress: E,
|
|
69
|
-
isLoading: j,
|
|
70
|
-
isStandalone: v,
|
|
71
|
-
customerType: b
|
|
72
|
-
}), /* @__PURE__ */ d("div", {
|
|
73
|
-
className: "ttw:flex ttw:gap-4 ttw:pt-6",
|
|
74
|
-
children: [/* @__PURE__ */ u(t, {
|
|
75
|
-
type: "button",
|
|
76
|
-
variant: "outline",
|
|
77
|
-
className: "ttw:border-border ttw:flex-1",
|
|
78
|
-
disabled: j,
|
|
79
|
-
onClick: () => {
|
|
80
|
-
N("line1"), N("line2"), N("city"), N("state"), N("postalCode"), N("country"), x();
|
|
81
|
-
},
|
|
82
|
-
children: w._("Cancel")
|
|
83
|
-
}), /* @__PURE__ */ d(t, {
|
|
84
|
-
type: "submit",
|
|
85
|
-
className: "ttw:flex-1",
|
|
86
|
-
disabled: j || !P.formState.isDirty,
|
|
87
|
-
children: [j && /* @__PURE__ */ u(n, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }), w._("Save")]
|
|
88
|
-
})]
|
|
89
|
-
})]
|
|
90
|
-
})
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
//#endregion
|
|
94
|
-
export { _ as CounterpartAddressForm };
|
|
1
|
+
import "./index105.js";
|