@tesouro/embedded-components-react 0.8.1 → 0.8.4
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 -61
- package/dist/index.d.ts +1 -3
- package/dist/lib/ProductsWidget.d.ts +1 -3
- package/dist/lib/ReceivablesWidget.d.ts +1 -3
- package/dist/lib/monite-sdk.d.ts +6 -59
- package/dist/lib/monite-sdk.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +10 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +73 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +129 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +218 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +33 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +73 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +180 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +203 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +53 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +89 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +75 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +82 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +17 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +4 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +17 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +15 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +28 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +28 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index2.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +1 -1
- package/package.json +1 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +0 -2
package/dist/index.css
CHANGED
|
@@ -1215,9 +1215,6 @@
|
|
|
1215
1215
|
.ttw\:w-110 {
|
|
1216
1216
|
width: calc(var(--ttw-spacing) * 110);
|
|
1217
1217
|
}
|
|
1218
|
-
.ttw\:w-120 {
|
|
1219
|
-
width: calc(var(--ttw-spacing) * 120);
|
|
1220
|
-
}
|
|
1221
1218
|
.ttw\:w-140 {
|
|
1222
1219
|
width: calc(var(--ttw-spacing) * 140);
|
|
1223
1220
|
}
|
|
@@ -1236,9 +1233,6 @@
|
|
|
1236
1233
|
.ttw\:w-\[4\.5rem\] {
|
|
1237
1234
|
width: 4.5rem;
|
|
1238
1235
|
}
|
|
1239
|
-
.ttw\:w-\[10\%\] {
|
|
1240
|
-
width: 10%;
|
|
1241
|
-
}
|
|
1242
1236
|
.ttw\:w-\[12\%\] {
|
|
1243
1237
|
width: 12%;
|
|
1244
1238
|
}
|
|
@@ -1269,27 +1263,18 @@
|
|
|
1269
1263
|
.ttw\:w-\[32rem\] {
|
|
1270
1264
|
width: 32rem;
|
|
1271
1265
|
}
|
|
1272
|
-
.ttw\:w-\[35\%\] {
|
|
1273
|
-
width: 35%;
|
|
1274
|
-
}
|
|
1275
1266
|
.ttw\:w-\[42px\] {
|
|
1276
1267
|
width: 42px;
|
|
1277
1268
|
}
|
|
1278
1269
|
.ttw\:w-\[50\%\] {
|
|
1279
1270
|
width: 50%;
|
|
1280
1271
|
}
|
|
1281
|
-
.ttw\:w-\[55\%\] {
|
|
1282
|
-
width: 55%;
|
|
1283
|
-
}
|
|
1284
1272
|
.ttw\:w-\[60\%\] {
|
|
1285
1273
|
width: 60%;
|
|
1286
1274
|
}
|
|
1287
1275
|
.ttw\:w-\[82\%\] {
|
|
1288
1276
|
width: 82%;
|
|
1289
1277
|
}
|
|
1290
|
-
.ttw\:w-\[85\%\] {
|
|
1291
|
-
width: 85%;
|
|
1292
|
-
}
|
|
1293
1278
|
.ttw\:w-\[90\%\] {
|
|
1294
1279
|
width: 90%;
|
|
1295
1280
|
}
|
|
@@ -2788,9 +2773,6 @@
|
|
|
2788
2773
|
.ttw\:bg-primary {
|
|
2789
2774
|
background-color: var(--ttw-primary);
|
|
2790
2775
|
}
|
|
2791
|
-
.ttw\:bg-primary-foreground {
|
|
2792
|
-
background-color: var(--ttw-primary-foreground);
|
|
2793
|
-
}
|
|
2794
2776
|
.ttw\:bg-primary\/5 {
|
|
2795
2777
|
background-color: var(--ttw-primary);
|
|
2796
2778
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2875,12 +2857,6 @@
|
|
|
2875
2857
|
.ttw\:bg-white {
|
|
2876
2858
|
background-color: var(--ttw-color-white);
|
|
2877
2859
|
}
|
|
2878
|
-
.ttw\:bg-white\/70 {
|
|
2879
|
-
background-color: var(--ttw-color-white);
|
|
2880
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2881
|
-
background-color: color-mix(in oklab, var(--ttw-color-white) 70%, transparent);
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2884
2860
|
.ttw\:bg-white\/90 {
|
|
2885
2861
|
background-color: var(--ttw-color-white);
|
|
2886
2862
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3025,9 +3001,6 @@
|
|
|
3025
3001
|
fill: color-mix(in oklab, var(--ttw-primary) 25%, transparent);
|
|
3026
3002
|
}
|
|
3027
3003
|
}
|
|
3028
|
-
.ttw\:fill-white {
|
|
3029
|
-
fill: var(--ttw-color-white);
|
|
3030
|
-
}
|
|
3031
3004
|
.ttw\:stroke-primary\/10 {
|
|
3032
3005
|
stroke: var(--ttw-primary);
|
|
3033
3006
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3253,9 +3226,6 @@
|
|
|
3253
3226
|
.ttw\:pt-12 {
|
|
3254
3227
|
padding-top: calc(var(--ttw-spacing) * 12);
|
|
3255
3228
|
}
|
|
3256
|
-
.ttw\:pr-0 {
|
|
3257
|
-
padding-right: 0px;
|
|
3258
|
-
}
|
|
3259
3229
|
.ttw\:pr-0\.5 {
|
|
3260
3230
|
padding-right: calc(var(--ttw-spacing) * 0.5);
|
|
3261
3231
|
}
|
|
@@ -3478,10 +3448,6 @@
|
|
|
3478
3448
|
.ttw\:text-\[length\:inherit\] {
|
|
3479
3449
|
font-size: inherit;
|
|
3480
3450
|
}
|
|
3481
|
-
.ttw\:leading-3\.5 {
|
|
3482
|
-
--tw-leading: calc(var(--ttw-spacing) * 3.5);
|
|
3483
|
-
line-height: calc(var(--ttw-spacing) * 3.5);
|
|
3484
|
-
}
|
|
3485
3451
|
.ttw\:leading-4 {
|
|
3486
3452
|
--tw-leading: calc(var(--ttw-spacing) * 4);
|
|
3487
3453
|
line-height: calc(var(--ttw-spacing) * 4);
|
|
@@ -4666,14 +4632,6 @@
|
|
|
4666
4632
|
.ttw\:hover\:border-primary:hover {
|
|
4667
4633
|
border-color: var(--ttw-primary);
|
|
4668
4634
|
}
|
|
4669
|
-
.ttw\:hover\:border-primary\/30:hover {
|
|
4670
|
-
border-color: var(--ttw-primary);
|
|
4671
|
-
}
|
|
4672
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4673
|
-
.ttw\:hover\:border-primary\/30:hover {
|
|
4674
|
-
border-color: color-mix(in oklab, var(--ttw-primary) 30%, transparent);
|
|
4675
|
-
}
|
|
4676
|
-
}
|
|
4677
4635
|
.ttw\:hover\:\!bg-sidebar-accent:hover {
|
|
4678
4636
|
background-color: var(--ttw-sidebar-accent) !important;
|
|
4679
4637
|
}
|
|
@@ -4793,14 +4751,6 @@
|
|
|
4793
4751
|
.ttw\:hover\:bg-primary:hover {
|
|
4794
4752
|
background-color: var(--ttw-primary);
|
|
4795
4753
|
}
|
|
4796
|
-
.ttw\:hover\:bg-primary-foreground\/80:hover {
|
|
4797
|
-
background-color: var(--ttw-primary-foreground);
|
|
4798
|
-
}
|
|
4799
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4800
|
-
.ttw\:hover\:bg-primary-foreground\/80:hover {
|
|
4801
|
-
background-color: color-mix(in oklab, var(--ttw-primary-foreground) 80%, transparent);
|
|
4802
|
-
}
|
|
4803
|
-
}
|
|
4804
4754
|
.ttw\:hover\:bg-primary\/10:hover {
|
|
4805
4755
|
background-color: var(--ttw-primary);
|
|
4806
4756
|
}
|
|
@@ -5219,13 +5169,6 @@
|
|
|
5219
5169
|
.ttw\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:border-ring:has(:is([data-slot=input-group-control]:focus-visible)) {
|
|
5220
5170
|
border-color: var(--ttw-ring);
|
|
5221
5171
|
}
|
|
5222
|
-
.ttw\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:border-transparent:has(:is([data-slot=input-group-control]:focus-visible)) {
|
|
5223
|
-
border-color: transparent;
|
|
5224
|
-
}
|
|
5225
|
-
.ttw\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-0:has(:is([data-slot=input-group-control]:focus-visible)) {
|
|
5226
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
5227
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5228
|
-
}
|
|
5229
5172
|
.ttw\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-\[3px\]:has(:is([data-slot=input-group-control]:focus-visible)) {
|
|
5230
5173
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
5231
5174
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -5239,10 +5182,6 @@
|
|
|
5239
5182
|
.ttw\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has(:is([data-slot][aria-invalid=true])) {
|
|
5240
5183
|
border-color: var(--ttw-destructive);
|
|
5241
5184
|
}
|
|
5242
|
-
.ttw\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-\[3px\]:has(:is([data-slot][aria-invalid=true])) {
|
|
5243
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
5244
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5245
|
-
}
|
|
5246
5185
|
.ttw\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has(:is([data-slot][aria-invalid=true])) {
|
|
5247
5186
|
--tw-ring-color: var(--ttw-destructive);
|
|
5248
5187
|
@supports (color: color-mix(in lab, red, red)) {
|
package/dist/index.d.ts
CHANGED
|
@@ -5211,9 +5211,7 @@ interface MeasureUnitsManagerLabels {
|
|
|
5211
5211
|
}
|
|
5212
5212
|
interface MeasureUnitDeleteDialogLabels {
|
|
5213
5213
|
/** `{name}` is replaced with the unit name. */
|
|
5214
|
-
|
|
5215
|
-
/** `{name}` is replaced with the unit name. */
|
|
5216
|
-
titleWithItems: string;
|
|
5214
|
+
title: string;
|
|
5217
5215
|
messageNoItems: string;
|
|
5218
5216
|
messageNoItemsHint: string;
|
|
5219
5217
|
messageWithItems: string;
|
|
@@ -678,9 +678,7 @@ interface MeasureUnitsManagerLabels {
|
|
|
678
678
|
}
|
|
679
679
|
interface MeasureUnitDeleteDialogLabels {
|
|
680
680
|
/** `{name}` is replaced with the unit name. */
|
|
681
|
-
|
|
682
|
-
/** `{name}` is replaced with the unit name. */
|
|
683
|
-
titleWithItems: string;
|
|
681
|
+
title: string;
|
|
684
682
|
messageNoItems: string;
|
|
685
683
|
messageNoItemsHint: string;
|
|
686
684
|
messageWithItems: string;
|
|
@@ -900,9 +900,7 @@ interface MeasureUnitsManagerLabels {
|
|
|
900
900
|
}
|
|
901
901
|
interface MeasureUnitDeleteDialogLabels {
|
|
902
902
|
/** `{name}` is replaced with the unit name. */
|
|
903
|
-
|
|
904
|
-
/** `{name}` is replaced with the unit name. */
|
|
905
|
-
titleWithItems: string;
|
|
903
|
+
title: string;
|
|
906
904
|
messageNoItems: string;
|
|
907
905
|
messageNoItemsHint: string;
|
|
908
906
|
messageWithItems: string;
|
package/dist/lib/monite-sdk.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ReactNode, ComponentProps, Ref, MouseEvent, FocusEvent, ContextType, Context, SyntheticEvent } from 'react';
|
|
4
|
-
import { SortDirection } from '@tanstack/react-table';
|
|
5
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
import { DialogProps } from '@mui/material/Dialog';
|
|
@@ -69875,20 +69874,20 @@ type Services = {
|
|
|
69875
69874
|
identity: IdentityService;
|
|
69876
69875
|
};
|
|
69877
69876
|
|
|
69878
|
-
declare const FILTER_TYPE_SEARCH
|
|
69877
|
+
declare const FILTER_TYPE_SEARCH = "search";
|
|
69879
69878
|
declare const FILTER_TYPE_CREATED_AT = "created_at";
|
|
69880
69879
|
declare const FILTER_TYPE_CREATED_BY = "created_by";
|
|
69881
69880
|
|
|
69882
69881
|
type FilterTypes = {
|
|
69883
|
-
[FILTER_TYPE_SEARCH
|
|
69882
|
+
[FILTER_TYPE_SEARCH]?: string | null;
|
|
69884
69883
|
[FILTER_TYPE_CREATED_AT]?: Date | null;
|
|
69885
69884
|
[FILTER_TYPE_CREATED_BY]?: string | null;
|
|
69886
69885
|
};
|
|
69887
|
-
type FilterValue
|
|
69886
|
+
type FilterValue = Date | string | null;
|
|
69888
69887
|
|
|
69889
69888
|
interface onFilterChangeParams {
|
|
69890
69889
|
field: keyof FilterTypes;
|
|
69891
|
-
value: FilterValue
|
|
69890
|
+
value: FilterValue;
|
|
69892
69891
|
}
|
|
69893
69892
|
interface ApprovalPoliciesTableProps {
|
|
69894
69893
|
onChangeFilter?: (filter: onFilterChangeParams) => void;
|
|
@@ -69938,58 +69937,6 @@ interface ApprovalRequestsTableBaseProps {
|
|
|
69938
69937
|
type ApprovalRequestsTableProps = ApprovalRequestsTableBaseProps | (ApprovalRequestsTableBaseProps & UseApprovalRequestActionsCellProps);
|
|
69939
69938
|
declare const ApprovalRequestsTable: (props: ApprovalRequestsTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69940
69939
|
|
|
69941
|
-
type ProductsProps = {
|
|
69942
|
-
pageTitleComponent: (children: ReactNode) => ReactNode;
|
|
69943
|
-
};
|
|
69944
|
-
declare const Products: (props: ProductsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69945
|
-
|
|
69946
|
-
declare const FILTER_TYPE_SEARCH = "search";
|
|
69947
|
-
declare const FILTER_TYPE_TYPE = "type";
|
|
69948
|
-
declare const FILTER_TYPE_UNITS = "units";
|
|
69949
|
-
|
|
69950
|
-
type Filters = {
|
|
69951
|
-
[FILTER_TYPE_SEARCH]?: string | null;
|
|
69952
|
-
[FILTER_TYPE_TYPE]?: ProductServiceTypeEnum | null;
|
|
69953
|
-
[FILTER_TYPE_UNITS]?: string | null;
|
|
69954
|
-
};
|
|
69955
|
-
type FilterValue = ProductServiceTypeEnum | 'all' | string | null;
|
|
69956
|
-
type ProductServiceTypeEnum = components['schemas']['ProductServiceTypeEnum'];
|
|
69957
|
-
type ProductServiceResponse = components['schemas']['ProductServiceResponse'];
|
|
69958
|
-
|
|
69959
|
-
type ProductCursorFields = components['schemas']['ProductCursorFields'];
|
|
69960
|
-
interface ProductsTableSortModel {
|
|
69961
|
-
field: ProductCursorFields;
|
|
69962
|
-
sort: NonNullable<SortDirection>;
|
|
69963
|
-
}
|
|
69964
|
-
interface ProductTableProps {
|
|
69965
|
-
onFilterChanged?: (filter: {
|
|
69966
|
-
field: keyof Filters;
|
|
69967
|
-
value: FilterValue;
|
|
69968
|
-
}) => void;
|
|
69969
|
-
onSortChanged?: (params: ProductsTableSortModel) => void;
|
|
69970
|
-
onRowClick?: (id: string) => void;
|
|
69971
|
-
onDeleted?: (productId: string) => void;
|
|
69972
|
-
openCreateModal?: () => void;
|
|
69973
|
-
}
|
|
69974
|
-
declare const ProductsTable: (props: ProductTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69975
|
-
|
|
69976
|
-
interface CreateProductProps {
|
|
69977
|
-
open: boolean;
|
|
69978
|
-
onClose: () => void;
|
|
69979
|
-
onCreated?: (product: ProductServiceResponse) => void;
|
|
69980
|
-
}
|
|
69981
|
-
declare const CreateProduct: (props: CreateProductProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69982
|
-
|
|
69983
|
-
interface ProductDetailsProps {
|
|
69984
|
-
id: string;
|
|
69985
|
-
open: boolean;
|
|
69986
|
-
onClose: () => void;
|
|
69987
|
-
onUpdated?: (product: ProductServiceResponse) => void;
|
|
69988
|
-
onDeleted?: (productId: ProductServiceResponse['id']) => void;
|
|
69989
|
-
showActionsMenu?: boolean;
|
|
69990
|
-
}
|
|
69991
|
-
declare const ProductDetails: (props: ProductDetailsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69992
|
-
|
|
69993
69940
|
declare const typographyVariants: (props?: ({
|
|
69994
69941
|
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "caption" | null | undefined;
|
|
69995
69942
|
color?: "default" | "primary" | "muted" | "destructive" | null | undefined;
|
|
@@ -72240,5 +72187,5 @@ declare const MoniteAPIProvider: ({ children, APIContext, }: {
|
|
|
72240
72187
|
APIContext: Context<QraftContextValue>;
|
|
72241
72188
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
72242
72189
|
|
|
72243
|
-
export { schema_d as APISchema, ApprovalPolicies, ApprovalPoliciesTable, ApprovalPolicyDetails, ApprovalRequests, ApprovalRequestsTable, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue,
|
|
72244
|
-
export type { ApprovalPolicyDetailsProps, ComponentSettings, CounterpartResponse, CountriesType, CountryType, CreateMoniteAPIClientOptions, CreateMoniteAPIClientResult,
|
|
72190
|
+
export { schema_d as APISchema, ApprovalPolicies, ApprovalPoliciesTable, ApprovalPolicyDetails, ApprovalRequests, ApprovalRequestsTable, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Dialog, FinanceBanner, FinanceIntegrationCard, FinanceInvoice, FinanceTab, Integrations, MoniteAPIProvider, MoniteProvider, MoniteScopedProviders, PageHeader, RootElementsProvider, breakpoints, countryCurrencyList, createAPIClient, defaultAvailableCountries, defaultAvailableCurrencies, defaultCounterpartColumnWidth, filterOptions, getCountries, getCountriesArray, getCurrencies, getCurrenciesArray, getEntityName, getGroupTitleForOption, getIndividualName, getIndividualNameWithFallback, getUserDisplayName, rateMajorToMinor, rateMinorToMajor, sortCurrencyOptionsByGroup, useApprovalPolicyById, useAreCounterpartsLoading, useAutosizeGridColumns, useComboboxAnchor, useComponentSettings, useCounterpartAddresses, useCounterpartById, useCounterpartList, useCounterpartVatList, useCurrencies, useDebounce, useDebounceCallback, useDialog, useEntitySettings, useEntityUserByAuthToken, useEntityUserById, useEntityUserNames, useFileById, useFormPersist, useGetReceivableById, useIsDesktopScreen, useIsExtraLargeDesktopScreen, useIsLargeDesktopScreen, useIsLargerThan, useIsMobile, useIsMobileScreen, useIsMounted, useIsSmallerThan, useIsTabletScreen, useLocalStorageFields, useMe, useMediaQuery, useMenuButton, useMoniteContext, useMyEntity, usePatchEntitiesIdSettings, useRootElements };
|
|
72191
|
+
export type { ApprovalPolicyDetailsProps, ComponentSettings, CounterpartResponse, CountriesType, CountryType, CreateMoniteAPIClientOptions, CreateMoniteAPIClientResult, CurrenciesType, CurrencyGroup, CurrencyType, MoniteApprovalRequestStatusChipProps, MoniteApprovalStatusChipProps, MoniteDialogProps, MoniteInvoiceRecurrenceIterationStatusChipProps, MoniteInvoiceRecurrenceStatusChipProps, MoniteInvoiceStatusChipProps, MoniteSettings, PaginationLayout, PaginationPosition, UseEntityUserNamesParams };
|
package/dist/lib/monite-sdk.js
CHANGED
|
@@ -33,17 +33,13 @@ import { PageHeader as Se } from "../libs/tesouro-embedded-components-react/moni
|
|
|
33
33
|
import { ApprovalPolicies as Ce } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js";
|
|
34
34
|
import { ApprovalRequestsTable as we } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js";
|
|
35
35
|
import { ApprovalRequests as Te } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js";
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { Integrations as Pe } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js";
|
|
45
|
-
import { MoniteAPIProvider as Fe } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js";
|
|
46
|
-
import { MoniteProvider as Ie } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js";
|
|
47
|
-
import { toast as Le } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js";
|
|
36
|
+
import { FinanceBanner as Ee } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js";
|
|
37
|
+
import { FinanceIntegrationCard as De } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js";
|
|
38
|
+
import { FinanceInvoice as Oe } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js";
|
|
39
|
+
import { FinanceTab as ke } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js";
|
|
40
|
+
import { Integrations as Ae } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js";
|
|
41
|
+
import { MoniteAPIProvider as je } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js";
|
|
42
|
+
import { MoniteProvider as Me } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js";
|
|
43
|
+
import { toast as Ne } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js";
|
|
48
44
|
import "../libs/tesouro-embedded-components-react/monite-sdk/dist/index.js";
|
|
49
|
-
export { Ce as ApprovalPolicies, xe as ApprovalPoliciesTable, ye as ApprovalPolicyDetails, Te as ApprovalRequests, we as ApprovalRequestsTable, te as Combobox, ne as ComboboxChip, re as ComboboxChips, ie as ComboboxChipsInput, ae as ComboboxCollection, oe as ComboboxContent, se as ComboboxEmpty, ce as ComboboxGroup, le as ComboboxInput, ue as ComboboxItem, de as ComboboxLabel, fe as ComboboxList, pe as ComboboxSeparator, me as ComboboxTrigger, he as ComboboxValue,
|
|
45
|
+
export { Ce as ApprovalPolicies, xe as ApprovalPoliciesTable, ye as ApprovalPolicyDetails, Te as ApprovalRequests, we as ApprovalRequestsTable, te as Combobox, ne as ComboboxChip, re as ComboboxChips, ie as ComboboxChipsInput, ae as ComboboxCollection, oe as ComboboxContent, se as ComboboxEmpty, ce as ComboboxGroup, le as ComboboxInput, ue as ComboboxItem, de as ComboboxLabel, fe as ComboboxList, pe as ComboboxSeparator, me as ComboboxTrigger, he as ComboboxValue, _e as Dialog, Ee as FinanceBanner, De as FinanceIntegrationCard, Oe as FinanceInvoice, ke as FinanceTab, Ae as Integrations, je as MoniteAPIProvider, Me as MoniteProvider, be as MoniteScopedProviders, Se as PageHeader, y as RootElementsProvider, j as breakpoints, U as countryCurrencyList, e as createAPIClient, W as defaultAvailableCountries, q as defaultAvailableCurrencies, S as defaultCounterpartColumnWidth, J as filterOptions, G as getCountries, K as getCountriesArray, Y as getCurrencies, X as getCurrenciesArray, f as getEntityName, Z as getGroupTitleForOption, B as getIndividualName, V as getIndividualNameWithFallback, H as getUserDisplayName, Q as rateMajorToMinor, $ as rateMinorToMajor, ee as sortCurrencyOptionsByGroup, Ne as toast, u as useApprovalPolicyById, C as useAreCounterpartsLoading, w as useAutosizeGridColumns, ge as useComboboxAnchor, A as useComponentSettings, a as useCounterpartAddresses, r as useCounterpartById, i as useCounterpartList, o as useCounterpartVatList, v as useCurrencies, D as useDebounce, O as useDebounceCallback, ve as useDialog, h as useEntitySettings, s as useEntityUserByAuthToken, c as useEntityUserById, l as useEntityUserNames, d as useFileById, T as useFormPersist, _ as useGetReceivableById, M as useIsDesktopScreen, N as useIsExtraLargeDesktopScreen, P as useIsLargeDesktopScreen, F as useIsLargerThan, k as useIsMobile, I as useIsMobileScreen, t as useIsMounted, L as useIsSmallerThan, R as useIsTabletScreen, E as useLocalStorageFields, p as useMe, z as useMediaQuery, x as useMenuButton, n as useMoniteContext, m as useMyEntity, g as usePatchEntitiesIdSettings, b as useRootElements };
|
|
@@ -36,17 +36,13 @@ import { PageHeader as Se } from "./index165.js";
|
|
|
36
36
|
import { ApprovalPolicies as Ce } from "./index166.js";
|
|
37
37
|
import { ApprovalRequestsTable as we } from "./index183.js";
|
|
38
38
|
import { ApprovalRequests as Te } from "./index185.js";
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
|
|
49
|
-
import { MoniteAPIProvider as Fe } from "./index266.js";
|
|
50
|
-
import { MoniteProvider as Ie } from "./index267.js";
|
|
51
|
-
import { toast as Le } from "./index268.js";
|
|
52
|
-
export { Ce as ApprovalPolicies, xe as ApprovalPoliciesTable, ye as ApprovalPolicyDetails, Te as ApprovalRequests, we as ApprovalRequestsTable, te as Combobox, ne as ComboboxChip, re as ComboboxChips, ie as ComboboxChipsInput, ae as ComboboxCollection, oe as ComboboxContent, se as ComboboxEmpty, ce as ComboboxGroup, le as ComboboxInput, ue as ComboboxItem, de as ComboboxLabel, fe as ComboboxList, pe as ComboboxSeparator, me as ComboboxTrigger, he as ComboboxValue, Oe as CreateProduct, _e as Dialog, Ae as FinanceBanner, je as FinanceIntegrationCard, Me as FinanceInvoice, Ne as FinanceTab, Pe as Integrations, Fe as MoniteAPIProvider, Ie as MoniteProvider, be as MoniteScopedProviders, Se as PageHeader, De as ProductDetails, ke as Products, Ee as ProductsTable, y as RootElementsProvider, j as breakpoints, U as countryCurrencyList, e as createAPIClient, W as defaultAvailableCountries, q as defaultAvailableCurrencies, S as defaultCounterpartColumnWidth, J as filterOptions, G as getCountries, K as getCountriesArray, Y as getCurrencies, X as getCurrenciesArray, f as getEntityName, Z as getGroupTitleForOption, B as getIndividualName, V as getIndividualNameWithFallback, H as getUserDisplayName, Q as rateMajorToMinor, $ as rateMinorToMajor, ee as sortCurrencyOptionsByGroup, Le as toast, u as useApprovalPolicyById, C as useAreCounterpartsLoading, w as useAutosizeGridColumns, ge as useComboboxAnchor, A as useComponentSettings, a as useCounterpartAddresses, r as useCounterpartById, i as useCounterpartList, o as useCounterpartVatList, v as useCurrencies, D as useDebounce, O as useDebounceCallback, ve as useDialog, h as useEntitySettings, s as useEntityUserByAuthToken, c as useEntityUserById, l as useEntityUserNames, d as useFileById, T as useFormPersist, _ as useGetReceivableById, M as useIsDesktopScreen, N as useIsExtraLargeDesktopScreen, P as useIsLargeDesktopScreen, F as useIsLargerThan, k as useIsMobile, I as useIsMobileScreen, t as useIsMounted, L as useIsSmallerThan, R as useIsTabletScreen, E as useLocalStorageFields, p as useMe, z as useMediaQuery, x as useMenuButton, n as useMoniteContext, m as useMyEntity, g as usePatchEntitiesIdSettings, b as useRootElements };
|
|
39
|
+
import { FinanceBanner as Ee } from "./index198.js";
|
|
40
|
+
import { FinanceIntegrationCard as De } from "./index208.js";
|
|
41
|
+
import { FinanceInvoice as Oe } from "./index210.js";
|
|
42
|
+
import { FinanceTab as ke } from "./index215.js";
|
|
43
|
+
import { Integrations as Ae } from "./index218.js";
|
|
44
|
+
import "./index220.js";
|
|
45
|
+
import { MoniteAPIProvider as je } from "./index225.js";
|
|
46
|
+
import { MoniteProvider as Me } from "./index226.js";
|
|
47
|
+
import { toast as Ne } from "./index227.js";
|
|
48
|
+
export { Ce as ApprovalPolicies, xe as ApprovalPoliciesTable, ye as ApprovalPolicyDetails, Te as ApprovalRequests, we as ApprovalRequestsTable, te as Combobox, ne as ComboboxChip, re as ComboboxChips, ie as ComboboxChipsInput, ae as ComboboxCollection, oe as ComboboxContent, se as ComboboxEmpty, ce as ComboboxGroup, le as ComboboxInput, ue as ComboboxItem, de as ComboboxLabel, fe as ComboboxList, pe as ComboboxSeparator, me as ComboboxTrigger, he as ComboboxValue, _e as Dialog, Ee as FinanceBanner, De as FinanceIntegrationCard, Oe as FinanceInvoice, ke as FinanceTab, Ae as Integrations, je as MoniteAPIProvider, Me as MoniteProvider, be as MoniteScopedProviders, Se as PageHeader, y as RootElementsProvider, j as breakpoints, U as countryCurrencyList, e as createAPIClient, W as defaultAvailableCountries, q as defaultAvailableCurrencies, S as defaultCounterpartColumnWidth, J as filterOptions, G as getCountries, K as getCountriesArray, Y as getCurrencies, X as getCurrenciesArray, f as getEntityName, Z as getGroupTitleForOption, B as getIndividualName, V as getIndividualNameWithFallback, H as getUserDisplayName, Q as rateMajorToMinor, $ as rateMinorToMajor, ee as sortCurrencyOptionsByGroup, Ne as toast, u as useApprovalPolicyById, C as useAreCounterpartsLoading, w as useAutosizeGridColumns, ge as useComboboxAnchor, A as useComponentSettings, a as useCounterpartAddresses, r as useCounterpartById, i as useCounterpartList, o as useCounterpartVatList, v as useCurrencies, D as useDebounce, O as useDebounceCallback, ve as useDialog, h as useEntitySettings, s as useEntityUserByAuthToken, c as useEntityUserById, l as useEntityUserNames, d as useFileById, T as useFormPersist, _ as useGetReceivableById, M as useIsDesktopScreen, N as useIsExtraLargeDesktopScreen, P as useIsLargeDesktopScreen, F as useIsLargerThan, k as useIsMobile, I as useIsMobileScreen, t as useIsMounted, L as useIsSmallerThan, R as useIsTabletScreen, E as useLocalStorageFields, p as useMe, z as useMediaQuery, x as useMenuButton, n as useMoniteContext, m as useMyEntity, g as usePatchEntitiesIdSettings, b as useRootElements };
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./index49.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js
|
|
5
|
-
function n({ className: n, ...r }) {
|
|
6
|
-
return /* @__PURE__ */ t("textarea", {
|
|
7
|
-
"data-slot": "textarea",
|
|
8
|
-
className: e("ttw:border-input ttw:placeholder:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:flex ttw:field-sizing-content ttw:min-h-16 ttw:w-full ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-base ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:md:text-sm", n),
|
|
9
|
-
...r
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as Textarea };
|
|
3
|
+
import "@emotion/react/jsx-runtime";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { cn as e } from "./index49.js";
|
|
2
2
|
import { Button as t } from "./index110.js";
|
|
3
3
|
import { Input as n } from "./index111.js";
|
|
4
|
-
import
|
|
4
|
+
import "./index112.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import { jsx as
|
|
7
|
-
import { cva as
|
|
6
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { cva as i } from "class-variance-authority";
|
|
8
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js
|
|
9
|
-
function
|
|
10
|
-
return /* @__PURE__ */
|
|
9
|
+
function a({ className: t, ...n }) {
|
|
10
|
+
return /* @__PURE__ */ r("div", {
|
|
11
11
|
"data-slot": "input-group",
|
|
12
12
|
role: "group",
|
|
13
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
14
|
...n
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
var
|
|
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
18
|
variants: { align: {
|
|
19
19
|
"inline-start": "ttw:order-first ttw:pl-3 ttw:has-[>button]:ml-[-0.45rem] ttw:has-[>kbd]:ml-[-0.35rem]",
|
|
20
20
|
"inline-end": "ttw:order-last ttw:pr-3 ttw:has-[>button]:mr-[-0.45rem] ttw:has-[>kbd]:mr-[-0.35rem]",
|
|
@@ -23,19 +23,19 @@ var s = a("ttw:flex ttw:h-auto ttw:cursor-text ttw:items-center ttw:justify-cent
|
|
|
23
23
|
} },
|
|
24
24
|
defaultVariants: { align: "inline-start" }
|
|
25
25
|
});
|
|
26
|
-
function
|
|
27
|
-
return /* @__PURE__ */
|
|
26
|
+
function s({ className: t, align: n = "inline-start", ...i }) {
|
|
27
|
+
return /* @__PURE__ */ r("div", {
|
|
28
28
|
role: "group",
|
|
29
29
|
"data-slot": "input-group-addon",
|
|
30
30
|
"data-align": n,
|
|
31
|
-
className: e(
|
|
31
|
+
className: e(o({ align: n }), t),
|
|
32
32
|
onClick: (e) => {
|
|
33
33
|
e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
34
34
|
},
|
|
35
|
-
...
|
|
35
|
+
...i
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var c = i("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:shadow-none", {
|
|
39
39
|
variants: { size: {
|
|
40
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
41
|
sm: "ttw:h-8 ttw:gap-1.5 ttw:rounded-md ttw:px-2.5 ttw:has-[>svg]:px-2.5",
|
|
@@ -44,28 +44,21 @@ var l = a("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:shadow-none", {
|
|
|
44
44
|
} },
|
|
45
45
|
defaultVariants: { size: "xs" }
|
|
46
46
|
});
|
|
47
|
-
function
|
|
48
|
-
return /* @__PURE__ */
|
|
49
|
-
type:
|
|
47
|
+
function l({ className: n, type: i = "button", variant: a = "ghost", size: o = "xs", ...s }) {
|
|
48
|
+
return /* @__PURE__ */ r(t, {
|
|
49
|
+
type: i,
|
|
50
50
|
"data-size": o,
|
|
51
51
|
variant: a,
|
|
52
|
-
className: e(
|
|
52
|
+
className: e(c({ size: o }), n),
|
|
53
53
|
...s
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return /* @__PURE__ */
|
|
56
|
+
function u({ className: t, ...i }) {
|
|
57
|
+
return /* @__PURE__ */ r(n, {
|
|
58
58
|
"data-slot": "input-group-control",
|
|
59
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
|
-
...
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
function f({ className: t, ...n }) {
|
|
64
|
-
return /* @__PURE__ */ i(r, {
|
|
65
|
-
"data-slot": "input-group-control",
|
|
66
|
-
className: e("ttw:flex-1 ttw:resize-none ttw:rounded-none ttw:border-0 ttw:bg-transparent ttw:py-3 ttw:shadow-none ttw:focus-visible:ring-0 ttw:dark:bg-transparent", t),
|
|
67
|
-
...n
|
|
60
|
+
...i
|
|
68
61
|
});
|
|
69
62
|
}
|
|
70
63
|
//#endregion
|
|
71
|
-
export {
|
|
64
|
+
export { a as InputGroup, s as InputGroupAddon, l as InputGroupButton, u as InputGroupInput };
|
|
@@ -1,80 +1,6 @@
|
|
|
1
|
-
import { useRootElements as e } from "./index63.js";
|
|
2
1
|
import "./index64.js";
|
|
3
|
-
import
|
|
2
|
+
import "./index49.js";
|
|
4
3
|
import "react";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js
|
|
9
|
-
function o({ ...e }) {
|
|
10
|
-
return /* @__PURE__ */ r(a.Root, {
|
|
11
|
-
"data-slot": "dialog",
|
|
12
|
-
...e
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function s({ ...e }) {
|
|
16
|
-
return /* @__PURE__ */ r(a.Portal, {
|
|
17
|
-
"data-slot": "dialog-portal",
|
|
18
|
-
...e
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
function c({ className: e, ...n }) {
|
|
22
|
-
return /* @__PURE__ */ r(a.Overlay, {
|
|
23
|
-
"data-slot": "dialog-overlay",
|
|
24
|
-
className: t("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", e),
|
|
25
|
-
...n
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function l({ className: o, children: l, showCloseButton: u = !0, fullScreen: d = !1, container: f, ...p }) {
|
|
29
|
-
let { root: m } = e();
|
|
30
|
-
return /* @__PURE__ */ i(s, {
|
|
31
|
-
container: f ?? m,
|
|
32
|
-
"data-slot": "dialog-portal",
|
|
33
|
-
children: [/* @__PURE__ */ r(c, {}), /* @__PURE__ */ i(a.Content, {
|
|
34
|
-
"data-slot": "dialog-content",
|
|
35
|
-
className: t("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", d && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", o),
|
|
36
|
-
...p,
|
|
37
|
-
onCloseAutoFocus: (e) => {
|
|
38
|
-
e.preventDefault(), (f ?? document.body).style.pointerEvents = "";
|
|
39
|
-
},
|
|
40
|
-
children: [l, u && /* @__PURE__ */ i(a.Close, {
|
|
41
|
-
"data-slot": "dialog-close",
|
|
42
|
-
className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4",
|
|
43
|
-
children: [/* @__PURE__ */ r(n, {}), /* @__PURE__ */ r("span", {
|
|
44
|
-
className: "ttw:sr-only",
|
|
45
|
-
children: "Close"
|
|
46
|
-
})]
|
|
47
|
-
})]
|
|
48
|
-
})]
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function u({ className: e, ...n }) {
|
|
52
|
-
return /* @__PURE__ */ r("div", {
|
|
53
|
-
"data-slot": "dialog-header",
|
|
54
|
-
className: t("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", e),
|
|
55
|
-
...n
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function d({ className: e, ...n }) {
|
|
59
|
-
return /* @__PURE__ */ r("div", {
|
|
60
|
-
"data-slot": "dialog-footer",
|
|
61
|
-
className: t("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", e),
|
|
62
|
-
...n
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function f({ className: e, ...n }) {
|
|
66
|
-
return /* @__PURE__ */ r(a.Title, {
|
|
67
|
-
"data-slot": "dialog-title",
|
|
68
|
-
className: t("ttw:text-lg ttw:leading-none ttw:font-semibold", e),
|
|
69
|
-
...n
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function p({ className: e, ...n }) {
|
|
73
|
-
return /* @__PURE__ */ r(a.Description, {
|
|
74
|
-
"data-slot": "dialog-description",
|
|
75
|
-
className: t("ttw:text-muted-foreground ttw:text-sm", e),
|
|
76
|
-
...n
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
//#endregion
|
|
80
|
-
export { o as Dialog, l as DialogContent, p as DialogDescription, d as DialogFooter, u as DialogHeader, c as DialogOverlay, s as DialogPortal, f as DialogTitle };
|
|
4
|
+
import "lucide-react";
|
|
5
|
+
import "@emotion/react/jsx-runtime";
|
|
6
|
+
import "@radix-ui/react-dialog";
|
|
@@ -31,34 +31,15 @@ function s(t, { irrelevantVariants: n = [] } = {}) {
|
|
|
31
31
|
}
|
|
32
32
|
return r;
|
|
33
33
|
}
|
|
34
|
-
var c =
|
|
35
|
-
|
|
36
|
-
return e.split(".").map((e) => e === "*" ? r[i++] ?? e : e).join(".");
|
|
37
|
-
};
|
|
38
|
-
function d(e, t, { fieldMap: n, normalizePath: r }) {
|
|
39
|
-
let i = [], a = /* @__PURE__ */ new Map();
|
|
40
|
-
for (let { path: e, msg: o } of t) {
|
|
41
|
-
if (!e) continue;
|
|
42
|
-
let t = r ? r(e) : e, s = n[l(t)];
|
|
43
|
-
if (!s) continue;
|
|
44
|
-
let c = u(s, t);
|
|
45
|
-
a.has(c) || i.push(c), a.set(c, o);
|
|
46
|
-
}
|
|
47
|
-
let o = [...i].sort((e, t) => Number(c(t)) - Number(c(e)));
|
|
48
|
-
for (let t of o) e(t, {
|
|
49
|
-
type: "server",
|
|
50
|
-
message: a.get(t)
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
var f = 3;
|
|
54
|
-
function p(e, t) {
|
|
34
|
+
var c = 3;
|
|
35
|
+
function l(e, t) {
|
|
55
36
|
let n = [...new Set(t.map(({ msg: e }) => e))];
|
|
56
37
|
if (!n.length) return "";
|
|
57
|
-
let r = n.slice(0,
|
|
38
|
+
let r = n.slice(0, c).join("; "), i = n.length - c;
|
|
58
39
|
return i > 0 ? e._("{message} (+{count} more)", {
|
|
59
40
|
message: r,
|
|
60
41
|
count: i
|
|
61
42
|
}) : r;
|
|
62
43
|
}
|
|
63
44
|
//#endregion
|
|
64
|
-
export {
|
|
45
|
+
export { e as isHTTPValidationError, s as parseAPIValidationErrors, l as summarizeAPIValidationErrors };
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as t, useTheme as n } from "@mui/material";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js
|
|
4
|
+
var r = ({ children: r, shouldApplyFinanceStyles: i = !1 }) => {
|
|
5
|
+
let a = n();
|
|
6
|
+
return /* @__PURE__ */ e(t, {
|
|
7
|
+
sx: {
|
|
8
|
+
background: `linear-gradient(180deg, ${a.palette.primary.light} 0%, ${a.palette.background.paper} 100%)`,
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexDirection: "column",
|
|
11
|
+
gap: 1,
|
|
12
|
+
px: 3,
|
|
13
|
+
py: i ? 3 : 2.5,
|
|
14
|
+
width: "100%",
|
|
15
|
+
minHeight: "auto",
|
|
16
|
+
borderRadius: "16px",
|
|
17
|
+
boxShadow: "0 16px 24px 0 rgba(0, 0, 0, 0.02)",
|
|
18
|
+
border: i ? "none" : `1px solid ${a.palette.divider}`
|
|
19
|
+
},
|
|
20
|
+
children: r
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { r as FinanceBannerWrapper };
|