@tesouro/embedded-components-react 0.8.8 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -15
- package/dist/index.css +0 -826
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -28
- package/dist/lib/monite-sdk.d.ts +0 -72191
- package/dist/lib/monite-sdk.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +0 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +0 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +0 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +0 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +0 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +0 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +0 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +0 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +0 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +0 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +0 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +0 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +0 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +0 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +0 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +0 -828
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +0 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +0 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +0 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +0 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +0 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +0 -2314
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +0 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +0 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index7.js +0 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +0 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +0 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +0 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +0 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +0 -1224
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { cn as e } from "./index49.js";
|
|
2
|
-
import { Button as t } from "./index110.js";
|
|
3
|
-
import { Input as n } from "./index111.js";
|
|
4
|
-
import "./index112.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { cva as i } from "class-variance-authority";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js
|
|
9
|
-
function a({ className: t, ...n }) {
|
|
10
|
-
return /* @__PURE__ */ r("div", {
|
|
11
|
-
"data-slot": "input-group",
|
|
12
|
-
role: "group",
|
|
13
|
-
className: e("ttw:group/input-group ttw:relative ttw:flex ttw:w-full ttw:items-center ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:dark:bg-input/30", "ttw:h-9 ttw:min-w-0 ttw:has-[>textarea]:h-auto", "ttw:has-[>[data-align=inline-start]]:[&>input]:pl-2", "ttw:has-[>[data-align=inline-end]]:[&>input]:pr-2", "ttw:has-[>[data-align=block-start]]:h-auto ttw:has-[>[data-align=block-start]]:flex-col ttw:has-[>[data-align=block-start]]:[&>input]:pb-3", "ttw:has-[>[data-align=block-end]]:h-auto ttw:has-[>[data-align=block-end]]:flex-col ttw:has-[>[data-align=block-end]]:[&>input]:pt-3", "ttw:has-[[data-slot=input-group-control]:focus-visible]:border-ring ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20 ttw:dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", t),
|
|
14
|
-
...n
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
var o = i("ttw:flex ttw:h-auto ttw:cursor-text ttw:items-center ttw:justify-center ttw:gap-2 ttw:py-1.5 ttw:text-sm ttw:font-medium ttw:text-muted-foreground ttw:select-none ttw:group-data-[disabled=true]/input-group:opacity-50 ttw:[&>kbd]:rounded-[calc(var(--radius)-5px)] ttw:[&>svg:not([class*=size-])]:size-4", {
|
|
18
|
-
variants: { align: {
|
|
19
|
-
"inline-start": "ttw:order-first ttw:pl-3 ttw:has-[>button]:ml-[-0.45rem] ttw:has-[>kbd]:ml-[-0.35rem]",
|
|
20
|
-
"inline-end": "ttw:order-last ttw:pr-3 ttw:has-[>button]:mr-[-0.45rem] ttw:has-[>kbd]:mr-[-0.35rem]",
|
|
21
|
-
"block-start": "ttw:order-first ttw:w-full ttw:justify-start ttw:px-3 ttw:pt-3 ttw:group-has-[>input]/input-group:pt-2.5 ttw:[.border-b]:pb-3",
|
|
22
|
-
"block-end": "ttw:order-last ttw:w-full ttw:justify-start ttw:px-3 ttw:pb-3 ttw:group-has-[>input]/input-group:pb-2.5 ttw:[.border-t]:pt-3"
|
|
23
|
-
} },
|
|
24
|
-
defaultVariants: { align: "inline-start" }
|
|
25
|
-
});
|
|
26
|
-
function s({ className: t, align: n = "inline-start", ...i }) {
|
|
27
|
-
return /* @__PURE__ */ r("div", {
|
|
28
|
-
role: "group",
|
|
29
|
-
"data-slot": "input-group-addon",
|
|
30
|
-
"data-align": n,
|
|
31
|
-
className: e(o({ align: n }), t),
|
|
32
|
-
onClick: (e) => {
|
|
33
|
-
e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
34
|
-
},
|
|
35
|
-
...i
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
var c = i("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:shadow-none", {
|
|
39
|
-
variants: { size: {
|
|
40
|
-
xs: "ttw:h-6 ttw:gap-1 ttw:rounded-[calc(var(--radius)-5px)] ttw:px-2 ttw:has-[>svg]:px-2 ttw:[&>svg:not([class*=size-])]:size-3.5",
|
|
41
|
-
sm: "ttw:h-8 ttw:gap-1.5 ttw:rounded-md ttw:px-2.5 ttw:has-[>svg]:px-2.5",
|
|
42
|
-
"icon-xs": "ttw:size-6 ttw:rounded-[calc(var(--radius)-5px)] ttw:p-0 ttw:has-[>svg]:p-0",
|
|
43
|
-
"icon-sm": "ttw:size-8 ttw:p-0 ttw:has-[>svg]:p-0"
|
|
44
|
-
} },
|
|
45
|
-
defaultVariants: { size: "xs" }
|
|
46
|
-
});
|
|
47
|
-
function l({ className: n, type: i = "button", variant: a = "ghost", size: o = "xs", ...s }) {
|
|
48
|
-
return /* @__PURE__ */ r(t, {
|
|
49
|
-
type: i,
|
|
50
|
-
"data-size": o,
|
|
51
|
-
variant: a,
|
|
52
|
-
className: e(c({ size: o }), n),
|
|
53
|
-
...s
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function u({ className: t, ...i }) {
|
|
57
|
-
return /* @__PURE__ */ r(n, {
|
|
58
|
-
"data-slot": "input-group-control",
|
|
59
|
-
className: e("ttw:flex-1 ttw:rounded-none ttw:border-0 ttw:bg-transparent ttw:shadow-none ttw:focus-visible:ring-0 ttw:dark:bg-transparent", t),
|
|
60
|
-
...i
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
//#endregion
|
|
64
|
-
export { a as InputGroup, s as InputGroupAddon, l as InputGroupButton, u as InputGroupInput };
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { useRootElements as e } from "./index63.js";
|
|
2
|
-
import "./index64.js";
|
|
3
|
-
import { cn as t } from "./index49.js";
|
|
4
|
-
import { Button as n } from "./index110.js";
|
|
5
|
-
import { InputGroup as r, InputGroupAddon as i, InputGroupButton as a, InputGroupInput as o } from "./index113.js";
|
|
6
|
-
import * as s from "react";
|
|
7
|
-
import { CheckIcon as c, ChevronDownIcon as l, XIcon as u } from "lucide-react";
|
|
8
|
-
import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
9
|
-
import { Combobox as p } from "@base-ui/react";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js
|
|
11
|
-
var m = p.Root;
|
|
12
|
-
function h({ ...e }) {
|
|
13
|
-
return /* @__PURE__ */ d(p.Value, {
|
|
14
|
-
"data-slot": "combobox-value",
|
|
15
|
-
...e
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function g({ className: e, children: n, ...r }) {
|
|
19
|
-
return /* @__PURE__ */ f(p.Trigger, {
|
|
20
|
-
"data-slot": "combobox-trigger",
|
|
21
|
-
className: t("ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
22
|
-
...r,
|
|
23
|
-
children: [n, /* @__PURE__ */ d(l, {
|
|
24
|
-
"data-slot": "combobox-trigger-icon",
|
|
25
|
-
className: "ttw:pointer-events-none ttw:size-4 ttw:text-muted-foreground"
|
|
26
|
-
})]
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
function _({ className: e, ...n }) {
|
|
30
|
-
return /* @__PURE__ */ d(p.Clear, {
|
|
31
|
-
"data-slot": "combobox-clear",
|
|
32
|
-
render: /* @__PURE__ */ d(a, {
|
|
33
|
-
variant: "ghost",
|
|
34
|
-
size: "icon-xs"
|
|
35
|
-
}),
|
|
36
|
-
className: t(e),
|
|
37
|
-
...n,
|
|
38
|
-
children: /* @__PURE__ */ d(u, { className: "ttw:pointer-events-none" })
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function v({ className: e, children: n, disabled: s = !1, showTrigger: c = !0, showClear: l = !1, ...u }) {
|
|
42
|
-
return /* @__PURE__ */ f(r, {
|
|
43
|
-
className: t("ttw:w-auto", e),
|
|
44
|
-
children: [
|
|
45
|
-
/* @__PURE__ */ d(p.Input, {
|
|
46
|
-
render: /* @__PURE__ */ d(o, { disabled: s }),
|
|
47
|
-
...u
|
|
48
|
-
}),
|
|
49
|
-
/* @__PURE__ */ f(i, {
|
|
50
|
-
align: "inline-end",
|
|
51
|
-
children: [c && /* @__PURE__ */ d(a, {
|
|
52
|
-
size: "icon-xs",
|
|
53
|
-
variant: "ghost",
|
|
54
|
-
asChild: !0,
|
|
55
|
-
"data-slot": "input-group-button",
|
|
56
|
-
className: "ttw:group-has-data-[slot=combobox-clear]/input-group:hidden ttw:data-pressed:bg-transparent",
|
|
57
|
-
disabled: s,
|
|
58
|
-
children: /* @__PURE__ */ d(g, {})
|
|
59
|
-
}), l && /* @__PURE__ */ d(_, { disabled: s })]
|
|
60
|
-
}),
|
|
61
|
-
n
|
|
62
|
-
]
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function y({ className: n, side: r = "bottom", sideOffset: i = 6, align: a = "start", alignOffset: o = 0, anchor: s, container: c, ...l }) {
|
|
66
|
-
let { root: u } = e();
|
|
67
|
-
return /* @__PURE__ */ d(p.Portal, {
|
|
68
|
-
container: c ?? u,
|
|
69
|
-
children: /* @__PURE__ */ d(p.Positioner, {
|
|
70
|
-
side: r,
|
|
71
|
-
sideOffset: i,
|
|
72
|
-
align: a,
|
|
73
|
-
alignOffset: o,
|
|
74
|
-
anchor: s,
|
|
75
|
-
className: "ttw:isolate ttw:z-1300",
|
|
76
|
-
children: /* @__PURE__ */ d(p.Popup, {
|
|
77
|
-
"data-slot": "combobox-content",
|
|
78
|
-
"data-chips": !!s,
|
|
79
|
-
className: t("ttw:group/combobox-content ttw:relative ttw:max-h-96 ttw:w-(--anchor-width) ttw:max-w-(--available-width) ttw:min-w-[calc(var(--anchor-width)+--spacing(7))] ttw:origin-(--transform-origin) ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10 ttw:duration-100 ttw:data-[chips=true]:min-w-(--anchor-width) 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:*:data-[slot=input-group]:m-1 ttw:*:data-[slot=input-group]:mb-0 ttw:*:data-[slot=input-group]:h-8 ttw:*:data-[slot=input-group]:border-input/30 ttw:*:data-[slot=input-group]:bg-input/30 ttw:*:data-[slot=input-group]:shadow-none ttw:data-open:animate-in ttw:data-open:fade-in-0 ttw:data-open:zoom-in-95 ttw:data-closed:animate-out ttw:data-closed:fade-out-0 ttw:data-closed:zoom-out-95", n),
|
|
80
|
-
...l
|
|
81
|
-
})
|
|
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
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
function A() {
|
|
169
|
-
return s.useRef(null);
|
|
170
|
-
}
|
|
171
|
-
//#endregion
|
|
172
|
-
export { m as Combobox, O as ComboboxChip, D as ComboboxChips, k as ComboboxChipsInput, w as ComboboxCollection, y as ComboboxContent, T as ComboboxEmpty, S as ComboboxGroup, v as ComboboxInput, x as ComboboxItem, C as ComboboxLabel, b as ComboboxList, E as ComboboxSeparator, g as ComboboxTrigger, h as ComboboxValue, A as useComboboxAnchor };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ScopedCssBaselineContainerClassName as e } from "./index21.js";
|
|
2
|
-
import { useRootElements as t } from "./index63.js";
|
|
3
|
-
import "./index64.js";
|
|
4
|
-
import { createContext as n, forwardRef as r, useContext as i } from "react";
|
|
5
|
-
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { Dialog as o, Fade as s, Slide as c } from "@mui/material";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js
|
|
8
|
-
var l = r(function(e, t) {
|
|
9
|
-
let { alignDialog: n, ...r } = e;
|
|
10
|
-
if (n) {
|
|
11
|
-
let e;
|
|
12
|
-
switch (n) {
|
|
13
|
-
case "left":
|
|
14
|
-
e = "right";
|
|
15
|
-
break;
|
|
16
|
-
case "right": e = "left";
|
|
17
|
-
}
|
|
18
|
-
return /* @__PURE__ */ a(c, {
|
|
19
|
-
direction: e,
|
|
20
|
-
ref: t,
|
|
21
|
-
...r
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return /* @__PURE__ */ a(s, {
|
|
25
|
-
ref: t,
|
|
26
|
-
...r
|
|
27
|
-
});
|
|
28
|
-
}), u = n(void 0), d = () => i(u), f = ({ ref: n, ...r }) => {
|
|
29
|
-
let { alignDialog: i, onClosed: s, ...c } = r, { root: f } = t(), p = d(), m = (e, t) => {
|
|
30
|
-
t !== "backdropClick" && (t === "escapeKeyDown" && p && e.stopPropagation?.(), r.onClose?.(e, t));
|
|
31
|
-
};
|
|
32
|
-
return /* @__PURE__ */ a(u.Provider, {
|
|
33
|
-
value: {
|
|
34
|
-
isDialogContent: !0,
|
|
35
|
-
onClose: m
|
|
36
|
-
},
|
|
37
|
-
children: /* @__PURE__ */ a(o, {
|
|
38
|
-
ref: n,
|
|
39
|
-
...c,
|
|
40
|
-
open: r.open,
|
|
41
|
-
container: f,
|
|
42
|
-
TransitionComponent: l,
|
|
43
|
-
TransitionProps: {
|
|
44
|
-
alignDialog: i,
|
|
45
|
-
onExited: s
|
|
46
|
-
},
|
|
47
|
-
onClose: m,
|
|
48
|
-
classes: {
|
|
49
|
-
container: [e, i && `MuiDialog-container__align-${i}`].filter(Boolean).join(" "),
|
|
50
|
-
paper: [i && `MuiDialog-paper__align-${i}`].filter(Boolean).join(" ")
|
|
51
|
-
},
|
|
52
|
-
sx: {
|
|
53
|
-
".MuiDialog-container__align-right": { justifyContent: "right" },
|
|
54
|
-
".MuiDialog-container__align-left": { justifyContent: "left" },
|
|
55
|
-
".MuiDialog-paper__align-left, .MuiDialog-paper__align-right": {
|
|
56
|
-
width: "50%",
|
|
57
|
-
height: "100%",
|
|
58
|
-
maxHeight: "none",
|
|
59
|
-
margin: 0,
|
|
60
|
-
borderRadius: 0
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
slotProps: r.fullScreen ? { backdrop: { style: { background: "none" } } } : {},
|
|
64
|
-
children: r.children
|
|
65
|
-
})
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
//#endregion
|
|
69
|
-
export { f as Dialog, d as useDialog };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index117.js";
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { useDialog as e } from "./index117.js";
|
|
2
|
-
import "./index118.js";
|
|
3
|
-
import { Fragment as t, jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { Button as i, CircularProgress as a, DialogActions as o, Divider as s, Stack as c } from "@mui/material";
|
|
5
|
-
import { useLingui as l } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js
|
|
7
|
-
var u = ({ deleteButton: u, primaryButton: d, secondaryButton: f, cancelButton: p, showDivider: m = !0 }) => {
|
|
8
|
-
let { i18n: h } = l(), g = e();
|
|
9
|
-
return /* @__PURE__ */ r(t, { children: [m && /* @__PURE__ */ n(s, {}), /* @__PURE__ */ r(o, {
|
|
10
|
-
sx: {
|
|
11
|
-
display: "flex",
|
|
12
|
-
justifyContent: "space-between",
|
|
13
|
-
width: "100%"
|
|
14
|
-
},
|
|
15
|
-
children: [/* @__PURE__ */ r(c, {
|
|
16
|
-
direction: "row",
|
|
17
|
-
spacing: 2,
|
|
18
|
-
children: [u && /* @__PURE__ */ n(i, {
|
|
19
|
-
variant: "text",
|
|
20
|
-
color: "error",
|
|
21
|
-
onClick: u.onClick,
|
|
22
|
-
disabled: u.isDisabled || u.isLoading,
|
|
23
|
-
children: u.isLoading ? /* @__PURE__ */ n(a, {
|
|
24
|
-
color: "inherit",
|
|
25
|
-
size: 20
|
|
26
|
-
}) : u.label || h._("Delete")
|
|
27
|
-
}), f?.onTheLeft && /* @__PURE__ */ n(i, {
|
|
28
|
-
variant: "text",
|
|
29
|
-
color: "primary",
|
|
30
|
-
onClick: f.onClick,
|
|
31
|
-
disabled: f.isDisabled || f.isLoading,
|
|
32
|
-
children: f.isLoading ? /* @__PURE__ */ n(a, {
|
|
33
|
-
color: "inherit",
|
|
34
|
-
size: 20
|
|
35
|
-
}) : f.label
|
|
36
|
-
})]
|
|
37
|
-
}), /* @__PURE__ */ r(c, {
|
|
38
|
-
direction: "row",
|
|
39
|
-
spacing: 2,
|
|
40
|
-
children: [
|
|
41
|
-
!p?.hideCancel && /* @__PURE__ */ n(i, {
|
|
42
|
-
variant: "text",
|
|
43
|
-
color: "primary",
|
|
44
|
-
onClick: p?.onClick || g?.onClose,
|
|
45
|
-
disabled: d?.isLoading || f?.isLoading || u?.isLoading,
|
|
46
|
-
children: p?.label || h._("Cancel")
|
|
47
|
-
}),
|
|
48
|
-
f && !f.onTheLeft && /* @__PURE__ */ n(i, {
|
|
49
|
-
variant: "text",
|
|
50
|
-
color: "primary",
|
|
51
|
-
onClick: f.onClick,
|
|
52
|
-
disabled: f.isDisabled || f.isLoading,
|
|
53
|
-
children: f.isLoading ? /* @__PURE__ */ n(a, {
|
|
54
|
-
color: "inherit",
|
|
55
|
-
size: 20
|
|
56
|
-
}) : f.label
|
|
57
|
-
}),
|
|
58
|
-
d && /* @__PURE__ */ n(i, {
|
|
59
|
-
variant: "contained",
|
|
60
|
-
color: "primary",
|
|
61
|
-
...((e) => "formId" in e)(d) ? {
|
|
62
|
-
type: "submit",
|
|
63
|
-
form: d.formId
|
|
64
|
-
} : {
|
|
65
|
-
type: "button",
|
|
66
|
-
onClick: d.onClick
|
|
67
|
-
},
|
|
68
|
-
disabled: d.isDisabled || d.isLoading,
|
|
69
|
-
children: d.isLoading ? /* @__PURE__ */ n(a, {
|
|
70
|
-
color: "inherit",
|
|
71
|
-
size: 20
|
|
72
|
-
}) : d.label
|
|
73
|
-
})
|
|
74
|
-
]
|
|
75
|
-
})]
|
|
76
|
-
})] });
|
|
77
|
-
};
|
|
78
|
-
//#endregion
|
|
79
|
-
export { u as DialogFooter };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js
|
|
2
|
-
var e = [10, 25], t = (t, n) => ({
|
|
3
|
-
general: { iconWrapper: {
|
|
4
|
-
showCloseIcon: !0,
|
|
5
|
-
...n?.general?.iconWrapper
|
|
6
|
-
} },
|
|
7
|
-
approvalPolicies: {
|
|
8
|
-
pageSizeOptions: n?.approvalPolicies?.pageSizeOptions || e,
|
|
9
|
-
paginationLayout: n?.approvalPolicies?.paginationLayout,
|
|
10
|
-
navigationPosition: n?.approvalPolicies?.navigationPosition,
|
|
11
|
-
pageSizePosition: n?.approvalPolicies?.pageSizePosition
|
|
12
|
-
},
|
|
13
|
-
approvalRequests: {
|
|
14
|
-
pageSizeOptions: n?.approvalRequests?.pageSizeOptions || e,
|
|
15
|
-
paginationLayout: n?.approvalRequests?.paginationLayout,
|
|
16
|
-
navigationPosition: n?.approvalRequests?.navigationPosition,
|
|
17
|
-
pageSizePosition: n?.approvalRequests?.pageSizePosition
|
|
18
|
-
},
|
|
19
|
-
products: {
|
|
20
|
-
pageSizeOptions: n?.products?.pageSizeOptions || e,
|
|
21
|
-
paginationLayout: n?.products?.paginationLayout,
|
|
22
|
-
navigationPosition: n?.products?.navigationPosition,
|
|
23
|
-
pageSizePosition: n?.products?.pageSizePosition
|
|
24
|
-
},
|
|
25
|
-
receivables: {
|
|
26
|
-
pageSizeOptions: n?.receivables?.pageSizeOptions || e,
|
|
27
|
-
paginationLayout: n?.receivables?.paginationLayout,
|
|
28
|
-
navigationPosition: n?.receivables?.navigationPosition,
|
|
29
|
-
pageSizePosition: n?.receivables?.pageSizePosition
|
|
30
|
-
},
|
|
31
|
-
userRoles: {
|
|
32
|
-
pageSizeOptions: n?.userRoles?.pageSizeOptions || e,
|
|
33
|
-
paginationLayout: n?.userRoles?.paginationLayout,
|
|
34
|
-
navigationPosition: n?.userRoles?.navigationPosition,
|
|
35
|
-
pageSizePosition: n?.userRoles?.pageSizePosition
|
|
36
|
-
},
|
|
37
|
-
onboarding: {
|
|
38
|
-
footerLogoUrl: n?.onboarding?.footerLogoUrl,
|
|
39
|
-
footerWebsiteUrl: n?.onboarding?.footerWebsiteUrl,
|
|
40
|
-
hideFooter: n?.onboarding?.hideFooter,
|
|
41
|
-
showContinueButton: n?.onboarding?.showContinueButton,
|
|
42
|
-
allowedCurrencies: n?.onboarding?.allowedCurrencies,
|
|
43
|
-
allowedCountries: n?.onboarding?.allowedCountries,
|
|
44
|
-
onComplete: n?.onboarding?.onComplete,
|
|
45
|
-
onContinue: n?.onboarding?.onContinue,
|
|
46
|
-
onWorkingCapitalOnboardingComplete: n?.onboarding?.onWorkingCapitalOnboardingComplete,
|
|
47
|
-
onPaymentsOnboardingComplete: n?.onboarding?.onPaymentsOnboardingComplete
|
|
48
|
-
},
|
|
49
|
-
financing: n?.financing ?? {}
|
|
50
|
-
});
|
|
51
|
-
//#endregion
|
|
52
|
-
export { t as getDefaultComponentSettings };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index119.js";
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
-
import { useEffect as t, useState as n } from "react";
|
|
3
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import i from "@mui/icons-material/ArrowBack";
|
|
5
|
-
import a from "@mui/icons-material/Close";
|
|
6
|
-
import o from "@mui/material/IconButton";
|
|
7
|
-
import s from "@mui/material/Tooltip";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js
|
|
9
|
-
var c = ({ icon: c, fallbackIcon: l, tooltip: u, onClick: d = () => {}, onHover: f, onFocus: p, onBlur: m, ariaLabelOverride: h, isDynamic: g = !1, ref: _, ...v }) => {
|
|
10
|
-
let { componentSettings: y } = e(), b = y?.general?.iconWrapper, [x, S] = n(b.icon || b.fallbackIcon || /* @__PURE__ */ r(a, {}));
|
|
11
|
-
t(() => {
|
|
12
|
-
S(b.icon || b.fallbackIcon || /* @__PURE__ */ r(a, {}));
|
|
13
|
-
}, [b.icon, b.fallbackIcon]);
|
|
14
|
-
let C = (e) => {
|
|
15
|
-
f?.(e), g && S(/* @__PURE__ */ r(i, {}));
|
|
16
|
-
}, w = () => {
|
|
17
|
-
S(b.icon || b.fallbackIcon || /* @__PURE__ */ r(a, {}));
|
|
18
|
-
}, T = h || "Icon button", E = () => /* @__PURE__ */ r(o, {
|
|
19
|
-
ref: _,
|
|
20
|
-
onClick: d,
|
|
21
|
-
onMouseEnter: C,
|
|
22
|
-
onMouseLeave: w,
|
|
23
|
-
onFocus: (e) => p?.(e),
|
|
24
|
-
onBlur: (e) => m?.(e),
|
|
25
|
-
"aria-label": T,
|
|
26
|
-
...v,
|
|
27
|
-
children: x
|
|
28
|
-
});
|
|
29
|
-
return u ? /* @__PURE__ */ r(s, {
|
|
30
|
-
title: u,
|
|
31
|
-
children: E()
|
|
32
|
-
}) : E();
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { c as IconWrapper };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index121.js";
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { useDialog as e } from "./index117.js";
|
|
2
|
-
import "./index118.js";
|
|
3
|
-
import { IconWrapper as t } from "./index121.js";
|
|
4
|
-
import "./index122.js";
|
|
5
|
-
import { memo as n } from "react";
|
|
6
|
-
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { Breadcrumbs as o, DialogTitle as s, Divider as c, Grid as l, Typography as u, styled as d } from "@mui/material";
|
|
8
|
-
import { useLingui as f } from "@lingui/react";
|
|
9
|
-
import p from "@mui/icons-material/Close";
|
|
10
|
-
import m from "@mui/icons-material/ArrowForward";
|
|
11
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js
|
|
12
|
-
var h = n(({ previousLevelTitle: e, onPreviousLevelClick: t, title: n }) => /* @__PURE__ */ a(o, {
|
|
13
|
-
color: "inherit",
|
|
14
|
-
separator: /* @__PURE__ */ i(m, {
|
|
15
|
-
fontSize: "small",
|
|
16
|
-
color: "disabled"
|
|
17
|
-
}),
|
|
18
|
-
sx: { padding: 3 },
|
|
19
|
-
"aria-label": "breadcrumb",
|
|
20
|
-
children: [/* @__PURE__ */ i(u, {
|
|
21
|
-
onClick: t,
|
|
22
|
-
sx: { cursor: t ? "pointer" : "default" },
|
|
23
|
-
children: e
|
|
24
|
-
}), /* @__PURE__ */ i(u, { children: n })]
|
|
25
|
-
})), g = n(({ title: n, secondaryLevel: o = !1, previousLevelTitle: s, closeButtonTooltip: u, showDivider: d = !0, closeSecondaryLevelDialog: m }) => {
|
|
26
|
-
let { i18n: g } = f(), v = e(), y = v?.isDialogContent && !o, b = u || g._("Close dialog");
|
|
27
|
-
return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a(l, {
|
|
28
|
-
container: !0,
|
|
29
|
-
alignItems: "center",
|
|
30
|
-
children: [/* @__PURE__ */ i(l, {
|
|
31
|
-
item: !0,
|
|
32
|
-
xs: 11,
|
|
33
|
-
children: o && s ? /* @__PURE__ */ i(h, {
|
|
34
|
-
previousLevelTitle: s,
|
|
35
|
-
title: n,
|
|
36
|
-
onPreviousLevelClick: m
|
|
37
|
-
}) : /* @__PURE__ */ i(_, {
|
|
38
|
-
variant: "h3",
|
|
39
|
-
children: n
|
|
40
|
-
})
|
|
41
|
-
}), /* @__PURE__ */ i(l, {
|
|
42
|
-
item: !0,
|
|
43
|
-
xs: 1,
|
|
44
|
-
children: y && /* @__PURE__ */ i(t, {
|
|
45
|
-
color: "inherit",
|
|
46
|
-
onClick: v.onClose,
|
|
47
|
-
ariaLabelOverride: b,
|
|
48
|
-
tooltip: b,
|
|
49
|
-
children: /* @__PURE__ */ i(p, {})
|
|
50
|
-
})
|
|
51
|
-
})]
|
|
52
|
-
}), d && /* @__PURE__ */ i(c, {})] });
|
|
53
|
-
}), _ = d(s)(({ theme: e }) => ({ "&.MuiDialogTitle-root.MuiTypography-root": {
|
|
54
|
-
...e.typography.h3,
|
|
55
|
-
padding: e.spacing(3)
|
|
56
|
-
} }));
|
|
57
|
-
//#endregion
|
|
58
|
-
export { g as DialogHeader };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { useRootElements as e } from "./index63.js";
|
|
2
|
-
import "./index64.js";
|
|
3
|
-
import { Fragment as t, jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { Alert as i, TextField as a } from "@mui/material";
|
|
5
|
-
import { Controller as o } from "react-hook-form";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js
|
|
7
|
-
var s = ({ control: s, name: c, SelectProps: l, type: u, ...d }) => {
|
|
8
|
-
let f = (e) => e?.type === "custom", { root: p } = e();
|
|
9
|
-
return /* @__PURE__ */ n(o, {
|
|
10
|
-
control: s,
|
|
11
|
-
name: c,
|
|
12
|
-
render: ({ field: e, fieldState: { error: o, isTouched: s }, formState: { isValid: m } }) => {
|
|
13
|
-
let h = (s || !m) && !f(o), g = (t) => {
|
|
14
|
-
let n = t.target.value;
|
|
15
|
-
u === "number" ? e.onChange(n === "" ? void 0 : Number(n)) : e.onChange(n);
|
|
16
|
-
};
|
|
17
|
-
return /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n(a, {
|
|
18
|
-
...e,
|
|
19
|
-
...d,
|
|
20
|
-
id: c,
|
|
21
|
-
variant: "standard",
|
|
22
|
-
type: u,
|
|
23
|
-
value: e.value ?? "",
|
|
24
|
-
onChange: g,
|
|
25
|
-
error: h && !!o?.message,
|
|
26
|
-
helperText: h && o?.message,
|
|
27
|
-
SelectProps: {
|
|
28
|
-
...l,
|
|
29
|
-
MenuProps: {
|
|
30
|
-
...l?.MenuProps,
|
|
31
|
-
container: p
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}), f(o) && /* @__PURE__ */ n(i, {
|
|
35
|
-
severity: "error",
|
|
36
|
-
icon: !1,
|
|
37
|
-
sx: { marginTop: -2 },
|
|
38
|
-
children: o?.message
|
|
39
|
-
})] });
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
//#endregion
|
|
44
|
-
export { s as RHFTextField };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index124.js";
|