@zydon/common 2.9.33 → 2.9.34
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 +49 -0
- package/dist/{chunk-KDPEIATK.js → chunk-3GERPUNO.js} +6 -6
- package/dist/{chunk-QSIIIIKG.js → chunk-4FRN4I7H.js} +2 -2
- package/dist/{chunk-Y5SAYYIA.js → chunk-5N6Y3FIM.js} +2 -2
- package/dist/{chunk-YE3UBL3Z.js → chunk-772DOKEN.js} +2 -2
- package/dist/{chunk-WRS6EB73.js → chunk-7CMID2IK.js} +5 -5
- package/dist/{chunk-PLYIMNOS.js → chunk-7IHZRIIU.js} +2 -2
- package/dist/chunk-7WUAJEER.js +6 -0
- package/dist/chunk-7WUAJEER.js.map +1 -0
- package/dist/{chunk-E6RRGP5Y.js → chunk-A2LPDSRW.js} +2 -2
- package/dist/{chunk-5B4FRLG6.js → chunk-ALVCWIRN.js} +3 -3
- package/dist/chunk-AZJ3VCNL.js +8 -0
- package/dist/chunk-AZJ3VCNL.js.map +1 -0
- package/dist/chunk-BBVOF2BY.js +6 -0
- package/dist/chunk-BBVOF2BY.js.map +1 -0
- package/dist/{chunk-PG76IVYS.js → chunk-BUDIH7D2.js} +2 -2
- package/dist/{chunk-IR7WWQME.js → chunk-C3JTGVAS.js} +2 -2
- package/dist/{chunk-PNLLFNVS.js → chunk-CK6Q4FGI.js} +2 -2
- package/dist/{chunk-GAAYQZRY.js → chunk-FCC5IEAW.js} +2 -2
- package/dist/chunk-GGJJ3II3.js +7 -0
- package/dist/chunk-GGJJ3II3.js.map +1 -0
- package/dist/chunk-HE2LUROB.js +8 -0
- package/dist/chunk-HE2LUROB.js.map +1 -0
- package/dist/chunk-HLJGNOJN.js +9 -0
- package/dist/chunk-HLJGNOJN.js.map +1 -0
- package/dist/{chunk-3L7PD6OE.js → chunk-HPBLOHGU.js} +2 -2
- package/dist/{chunk-YZTQD6VN.js → chunk-IFYEQTIR.js} +2 -2
- package/dist/{chunk-3U2WJUM4.js → chunk-IWNQZ4DU.js} +2 -2
- package/dist/{chunk-TAA5KCEG.js → chunk-K6O5RVKC.js} +3 -3
- package/dist/{chunk-P7525QZK.js → chunk-LKX2OZSP.js} +3 -3
- package/dist/chunk-PTIGK5PS.js +6 -0
- package/dist/chunk-PTIGK5PS.js.map +1 -0
- package/dist/chunk-QGXT2AUD.js +4 -0
- package/dist/chunk-QGXT2AUD.js.map +1 -0
- package/dist/{chunk-YX5SZL5S.js → chunk-QZVNKHIE.js} +2 -2
- package/dist/{chunk-XUD7JMEF.js → chunk-SB7J43ND.js} +2 -2
- package/dist/chunk-TQFKLNTU.js +8 -0
- package/dist/chunk-TQFKLNTU.js.map +1 -0
- package/dist/chunk-U2XWJMVE.js +11 -0
- package/dist/chunk-U2XWJMVE.js.map +1 -0
- package/dist/{chunk-YAS6LE4A.js → chunk-W6J37DOS.js} +2 -2
- package/dist/{chunk-ZEOLXISU.js → chunk-XA36N32L.js} +2 -2
- package/dist/{chunk-SE6SCSOB.js → chunk-XECFL7W6.js} +2 -2
- package/dist/{chunk-VJW7L44O.js → chunk-XT2AH5G2.js} +1 -1
- package/dist/{chunk-7UJSGCXL.js → chunk-ZYFY6BCA.js} +2 -2
- package/dist/components/Accordion/index.d.ts +37 -0
- package/dist/components/Accordion/index.js +4 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/ActionButton/index.js +2 -2
- package/dist/components/Analytics/OrderProjection/index.d.ts +96 -0
- package/dist/components/Analytics/OrderProjection/index.js +62 -0
- package/dist/components/Analytics/OrderProjection/index.js.map +1 -0
- package/dist/components/Analytics/OverviewAnalytics/index.js +13 -13
- package/dist/components/Analytics/PartnerAnalysis/index.js +11 -11
- package/dist/components/Analytics/index.js +7 -7
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/AvatarButton/index.js +4 -4
- package/dist/components/BuilderLayout/index.js +2 -2
- package/dist/components/BuilderSidebar/index.js +1 -1
- package/dist/components/BulkEditModal/index.js +4 -4
- package/dist/components/CardBrand/index.js +1 -1
- package/dist/components/ColorPickerInput/index.js +2 -2
- package/dist/components/ColoredLabel/index.js +1 -7
- package/dist/components/ColoredLabel/index.js.map +1 -1
- package/dist/components/ColumnResizeHandle/index.d.ts +11 -0
- package/dist/components/ColumnResizeHandle/index.js +2 -0
- package/dist/components/ColumnResizeHandle/index.js.map +1 -0
- package/dist/components/Common/index.js +4 -4
- package/dist/components/CopyButton/index.js +2 -2
- package/dist/components/DataCards/index.js +1 -1
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataView/index.js +7 -7
- package/dist/components/DateCalendar/index.js +1 -7
- package/dist/components/DateCalendar/index.js.map +1 -1
- package/dist/components/DragButton/index.js +2 -2
- package/dist/components/Drawer/index.js +3 -3
- package/dist/components/DynamicDataView/index.js +11 -11
- package/dist/components/EasyCropModal/index.js +3 -3
- package/dist/components/Error/index.js +1 -1
- package/dist/components/ExpandableGroup/index.js +1 -1
- package/dist/components/FileUpload/index.js +8 -8
- package/dist/components/Filters/index.js +4 -4
- package/dist/components/FrameSkeleton/index.js +2 -2
- package/dist/components/HelpButton/index.js +2 -2
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/IconButton/index.js +2 -2
- package/dist/components/ImageCropModal/index.js +2 -2
- package/dist/components/Incrementer/index.js +2 -2
- package/dist/components/InfoCircle/index.js +2 -2
- package/dist/components/ListBundles/index.js +2 -2
- package/dist/components/MenuItem/index.js +1 -1
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/MoreMenu/index.js +1 -1
- package/dist/components/NotFound/index.js +1 -1
- package/dist/components/PasswordRules/index.js +1 -1
- package/dist/components/PopoverSelect/index.js +1 -1
- package/dist/components/PortalBrandImage/index.js +1 -1
- package/dist/components/SearchInput/index.js +2 -2
- package/dist/components/SelectList/index.js +4 -4
- package/dist/components/SelectableCards/index.js +4 -4
- package/dist/components/SeoPreview/index.js +1 -1
- package/dist/components/StateDisplay/index.js +2 -2
- package/dist/components/StepUpDialog/index.js +2 -2
- package/dist/components/Steps/index.js +1 -1
- package/dist/components/StyledTab/index.js +1 -1
- package/dist/components/SwapList/index.js +3 -3
- package/dist/components/ToggleTheme/index.js +3 -3
- package/dist/components/WebhookCard/index.js +1 -1
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/form/Address/index.js +3 -3
- package/dist/components/form/Autocomplete/index.js +3 -3
- package/dist/components/form/ColorPicker/index.js +2 -2
- package/dist/components/form/FileUpload/index.js +8 -8
- package/dist/components/form/Incrementer/index.js +2 -2
- package/dist/components/form/Password/index.js +1 -1
- package/dist/components/form/SelectList/index.js +4 -4
- package/dist/components/form/SelectableCards/index.js +4 -4
- package/dist/components/form/Webhook/index.js +4 -4
- package/dist/components/lightbox/index.js +1 -1
- package/dist/components/table/index.js +2 -2
- package/dist/hooks/useAutocomplete.js +1 -6
- package/dist/hooks/useAutocomplete.js.map +1 -1
- package/dist/hooks/useOrderProjectionFilters.d.ts +60 -0
- package/dist/hooks/useOrderProjectionFilters.js +6 -0
- package/dist/hooks/useOrderProjectionFilters.js.map +1 -0
- package/dist/hooks/useResizableColumns.d.ts +11 -0
- package/dist/hooks/useResizableColumns.js +2 -0
- package/dist/hooks/useResizableColumns.js.map +1 -0
- package/dist/hooks/useThemeToggle.js +3 -3
- package/dist/index.js +3 -3
- package/dist/theme/theme-provider.js +3 -3
- package/dist/types/orderProjection.d.ts +126 -1
- package/dist/types/orderProjection.js +1 -3
- package/dist/types/orderProjection.js.map +1 -1
- package/dist/useResizableColumns.types-6611ee0b.d.ts +24 -0
- package/dist/utils/buildExportPayload.js +1 -1
- package/dist/utils/mask.js +2 -5
- package/dist/utils/mask.js.map +1 -1
- package/dist/utils/orderProjection.d.ts +27 -0
- package/dist/utils/orderProjection.js +4 -0
- package/dist/utils/orderProjection.js.map +1 -0
- package/package.json +7 -1
- /package/dist/{chunk-KDPEIATK.js.map → chunk-3GERPUNO.js.map} +0 -0
- /package/dist/{chunk-QSIIIIKG.js.map → chunk-4FRN4I7H.js.map} +0 -0
- /package/dist/{chunk-Y5SAYYIA.js.map → chunk-5N6Y3FIM.js.map} +0 -0
- /package/dist/{chunk-YE3UBL3Z.js.map → chunk-772DOKEN.js.map} +0 -0
- /package/dist/{chunk-WRS6EB73.js.map → chunk-7CMID2IK.js.map} +0 -0
- /package/dist/{chunk-PLYIMNOS.js.map → chunk-7IHZRIIU.js.map} +0 -0
- /package/dist/{chunk-E6RRGP5Y.js.map → chunk-A2LPDSRW.js.map} +0 -0
- /package/dist/{chunk-5B4FRLG6.js.map → chunk-ALVCWIRN.js.map} +0 -0
- /package/dist/{chunk-PG76IVYS.js.map → chunk-BUDIH7D2.js.map} +0 -0
- /package/dist/{chunk-IR7WWQME.js.map → chunk-C3JTGVAS.js.map} +0 -0
- /package/dist/{chunk-PNLLFNVS.js.map → chunk-CK6Q4FGI.js.map} +0 -0
- /package/dist/{chunk-GAAYQZRY.js.map → chunk-FCC5IEAW.js.map} +0 -0
- /package/dist/{chunk-3L7PD6OE.js.map → chunk-HPBLOHGU.js.map} +0 -0
- /package/dist/{chunk-YZTQD6VN.js.map → chunk-IFYEQTIR.js.map} +0 -0
- /package/dist/{chunk-3U2WJUM4.js.map → chunk-IWNQZ4DU.js.map} +0 -0
- /package/dist/{chunk-TAA5KCEG.js.map → chunk-K6O5RVKC.js.map} +0 -0
- /package/dist/{chunk-P7525QZK.js.map → chunk-LKX2OZSP.js.map} +0 -0
- /package/dist/{chunk-YX5SZL5S.js.map → chunk-QZVNKHIE.js.map} +0 -0
- /package/dist/{chunk-XUD7JMEF.js.map → chunk-SB7J43ND.js.map} +0 -0
- /package/dist/{chunk-YAS6LE4A.js.map → chunk-W6J37DOS.js.map} +0 -0
- /package/dist/{chunk-ZEOLXISU.js.map → chunk-XA36N32L.js.map} +0 -0
- /package/dist/{chunk-SE6SCSOB.js.map → chunk-XECFL7W6.js.map} +0 -0
- /package/dist/{chunk-VJW7L44O.js.map → chunk-XT2AH5G2.js.map} +0 -0
- /package/dist/{chunk-7UJSGCXL.js.map → chunk-ZYFY6BCA.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-LKX2OZSP.js';
|
|
2
2
|
import '../../chunk-RUABKHIV.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-C3JTGVAS.js';
|
|
4
4
|
import '../../chunk-4F2NKGF6.js';
|
|
5
5
|
import '../../chunk-6U5LS7MP.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-W6J37DOS.js';
|
|
7
|
+
import '../../chunk-XT2AH5G2.js';
|
|
8
8
|
import '../../chunk-Z6YXPKWP.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-ALVCWIRN.js';
|
|
2
2
|
import '../../chunk-6ZSTKYGL.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-C3JTGVAS.js';
|
|
4
4
|
import '../../chunk-4F2NKGF6.js';
|
|
5
5
|
import '../../chunk-NIQW2J3M.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-VJW7L44O.js';
|
|
6
|
+
import '../../chunk-XT2AH5G2.js';
|
|
8
7
|
import '../../chunk-Z6YXPKWP.js';
|
|
8
|
+
import '../../chunk-F65ZXAGV.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as a$3 } from '../../chunk-P2QZJ57W.js';
|
|
2
1
|
import { a as a$4 } from '../../chunk-BT3FTBTT.js';
|
|
2
|
+
import { a as a$3 } from '../../chunk-P2QZJ57W.js';
|
|
3
3
|
import { a as a$2 } from '../../chunk-XAPSXJZO.js';
|
|
4
|
-
import { a as a$1 } from '../../chunk-
|
|
4
|
+
import { a as a$1 } from '../../chunk-XT2AH5G2.js';
|
|
5
5
|
import '../../chunk-Z6YXPKWP.js';
|
|
6
6
|
import '../../chunk-FJBC6QA5.js';
|
|
7
7
|
import '../../chunk-POTVACYB.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as a$2 } from '../../chunk-6ZSTKYGL.js';
|
|
2
|
-
import { a } from '../../chunk-
|
|
2
|
+
import { a } from '../../chunk-C3JTGVAS.js';
|
|
3
3
|
import { a as a$1 } from '../../chunk-4F2NKGF6.js';
|
|
4
4
|
import '../../chunk-NIQW2J3M.js';
|
|
5
|
-
import { a as a$
|
|
6
|
-
import { a as a$4 } from '../../chunk-VJW7L44O.js';
|
|
5
|
+
import { a as a$4 } from '../../chunk-XT2AH5G2.js';
|
|
7
6
|
import '../../chunk-Z6YXPKWP.js';
|
|
7
|
+
import { a as a$3 } from '../../chunk-F65ZXAGV.js';
|
|
8
8
|
import { useState } from 'react';
|
|
9
9
|
import h from '@mui/material/Checkbox';
|
|
10
10
|
import T from '@mui/material/CircularProgress';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { a as default } from '../../chunk-A7AOWJKX.js';
|
|
2
2
|
import '../../chunk-5KEVIB7P.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-K6O5RVKC.js';
|
|
4
4
|
import '../../chunk-373WGZZL.js';
|
|
5
|
-
import '../../chunk-WUFEPE2G.js';
|
|
6
|
-
import '../../chunk-BX2DSNRV.js';
|
|
7
5
|
import '../../chunk-BKL525ZD.js';
|
|
8
6
|
import '../../chunk-7GJMLPJV.js';
|
|
9
7
|
import '../../chunk-LNESYSHP.js';
|
|
10
8
|
import '../../chunk-4734QSYC.js';
|
|
11
9
|
import '../../chunk-HBOBTNB5.js';
|
|
10
|
+
import '../../chunk-WUFEPE2G.js';
|
|
11
|
+
import '../../chunk-BX2DSNRV.js';
|
|
12
12
|
import '../../chunk-Y66XXBB3.js';
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@ import { d } from '../../chunk-JNDZPNQJ.js';
|
|
|
2
2
|
import { a as a$3 } from '../../chunk-PUMCHXCD.js';
|
|
3
3
|
import { a as a$2 } from '../../chunk-UVPQR2Q2.js';
|
|
4
4
|
import { a } from '../../chunk-CO2KQFUN.js';
|
|
5
|
-
import { a as a$4 } from '../../chunk-
|
|
5
|
+
import { a as a$4 } from '../../chunk-XT2AH5G2.js';
|
|
6
6
|
import '../../chunk-Z6YXPKWP.js';
|
|
7
7
|
import { a as a$1 } from '../../chunk-LQRRMVFN.js';
|
|
8
8
|
import '../../chunk-Y66XXBB3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { j as ArrowButton, f as Carousel, g as CarouselArrowBasicButtons, i as CarouselArrowFloatButtons, h as CarouselArrowNumberButtons, k as CarouselDotButtons, l as CarouselProgressBar, c as CarouselSlide, n as CarouselThumb, m as CarouselThumbs, e as StyledContainer, d as StyledRoot, a as carouselBreakpoints, b as carouselClasses, o as useCarousel } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { j as ArrowButton, f as Carousel, g as CarouselArrowBasicButtons, i as CarouselArrowFloatButtons, h as CarouselArrowNumberButtons, k as CarouselDotButtons, l as CarouselProgressBar, c as CarouselSlide, n as CarouselThumb, m as CarouselThumbs, e as StyledContainer, d as StyledRoot, a as carouselBreakpoints, b as carouselClasses, o as useCarousel } from '../../chunk-XECFL7W6.js';
|
|
2
|
+
import '../../chunk-XT2AH5G2.js';
|
|
3
3
|
import '../../chunk-Z6YXPKWP.js';
|
|
4
4
|
import '../../chunk-Y66XXBB3.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,9 +2,9 @@ import { a as a$3 } from '../../../chunk-MSCOIJQ5.js';
|
|
|
2
2
|
import { a } from '../../../chunk-X64QHBVQ.js';
|
|
3
3
|
import { a as a$1 } from '../../../chunk-P2QZJ57W.js';
|
|
4
4
|
import '../../../chunk-RTC7H5E5.js';
|
|
5
|
-
import { a as a$2 } from '../../../chunk-
|
|
6
|
-
import '../../../chunk-
|
|
7
|
-
import '../../../chunk-
|
|
5
|
+
import { a as a$2 } from '../../../chunk-A2LPDSRW.js';
|
|
6
|
+
import '../../../chunk-ZYFY6BCA.js';
|
|
7
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
8
8
|
import '../../../chunk-Z6YXPKWP.js';
|
|
9
9
|
import L from '@mui/material/CircularProgress';
|
|
10
10
|
import g from '@mui/material/InputAdornment';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as default } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
1
|
+
export { a as default } from '../../../chunk-A2LPDSRW.js';
|
|
2
|
+
import '../../../chunk-ZYFY6BCA.js';
|
|
3
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
4
4
|
import '../../../chunk-Z6YXPKWP.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
import { a } from '../../../chunk-XA36N32L.js';
|
|
2
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
3
3
|
import '../../../chunk-Z6YXPKWP.js';
|
|
4
4
|
import '../../../chunk-LQRRMVFN.js';
|
|
5
5
|
import { useFormContext, Controller } from 'react-hook-form';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { x, u, v, w } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
4
|
-
import '../../../chunk-
|
|
1
|
+
import { x, u, v, w } from '../../../chunk-3GERPUNO.js';
|
|
2
|
+
import '../../../chunk-772DOKEN.js';
|
|
3
|
+
import '../../../chunk-HPBLOHGU.js';
|
|
4
|
+
import '../../../chunk-7IHZRIIU.js';
|
|
5
5
|
import '../../../chunk-KGLU4CR2.js';
|
|
6
6
|
import '../../../chunk-OF6623HG.js';
|
|
7
|
-
import '../../../chunk-
|
|
8
|
-
import '../../../chunk-6U5LS7MP.js';
|
|
7
|
+
import '../../../chunk-IFYEQTIR.js';
|
|
9
8
|
import '../../../chunk-5J35UAV6.js';
|
|
10
|
-
import '../../../chunk-
|
|
11
|
-
import '../../../chunk-
|
|
9
|
+
import '../../../chunk-6U5LS7MP.js';
|
|
10
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
12
11
|
import '../../../chunk-Z6YXPKWP.js';
|
|
12
|
+
import '../../../chunk-HW6M33F3.js';
|
|
13
13
|
import '../../../chunk-XNKYJHNL.js';
|
|
14
14
|
import '../../../chunk-TXJ45CNA.js';
|
|
15
15
|
import '../../../chunk-SVX7EWV4.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
1
|
+
import { a } from '../../../chunk-CK6Q4FGI.js';
|
|
2
2
|
import '../../../chunk-I3HQNMR3.js';
|
|
3
3
|
import '../../../chunk-OF6623HG.js';
|
|
4
|
-
import '../../../chunk-
|
|
4
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
5
5
|
import '../../../chunk-Z6YXPKWP.js';
|
|
6
6
|
import { useFormContext, Controller } from 'react-hook-form';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a } from '../../../chunk-P2QZJ57W.js';
|
|
2
2
|
import { n } from '../../../chunk-55XSPNSX.js';
|
|
3
|
-
import { a as a$1 } from '../../../chunk-
|
|
3
|
+
import { a as a$1 } from '../../../chunk-XT2AH5G2.js';
|
|
4
4
|
import '../../../chunk-Z6YXPKWP.js';
|
|
5
5
|
import { useState } from 'react';
|
|
6
6
|
import { useFormContext } from 'react-hook-form';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
1
|
+
import { a } from '../../../chunk-LKX2OZSP.js';
|
|
2
2
|
import '../../../chunk-RUABKHIV.js';
|
|
3
|
-
import '../../../chunk-
|
|
3
|
+
import '../../../chunk-C3JTGVAS.js';
|
|
4
4
|
import '../../../chunk-4F2NKGF6.js';
|
|
5
5
|
import '../../../chunk-6U5LS7MP.js';
|
|
6
|
-
import '../../../chunk-
|
|
7
|
-
import '../../../chunk-
|
|
6
|
+
import '../../../chunk-W6J37DOS.js';
|
|
7
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
8
8
|
import '../../../chunk-Z6YXPKWP.js';
|
|
9
9
|
import { useFormContext, Controller } from 'react-hook-form';
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
1
|
+
import { a } from '../../../chunk-ALVCWIRN.js';
|
|
2
2
|
import '../../../chunk-6ZSTKYGL.js';
|
|
3
|
-
import '../../../chunk-
|
|
3
|
+
import '../../../chunk-C3JTGVAS.js';
|
|
4
4
|
import '../../../chunk-4F2NKGF6.js';
|
|
5
5
|
import '../../../chunk-NIQW2J3M.js';
|
|
6
|
-
import '../../../chunk-
|
|
7
|
-
import '../../../chunk-VJW7L44O.js';
|
|
6
|
+
import '../../../chunk-XT2AH5G2.js';
|
|
8
7
|
import '../../../chunk-Z6YXPKWP.js';
|
|
8
|
+
import '../../../chunk-F65ZXAGV.js';
|
|
9
9
|
import { useFormContext, Controller } from 'react-hook-form';
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as a$1 } from '../../../chunk-P2QZJ57W.js';
|
|
2
|
-
import { a as a$
|
|
3
|
-
import { a as a$
|
|
4
|
-
import '../../../chunk-
|
|
5
|
-
import { a } from '../../../chunk-
|
|
2
|
+
import { a as a$3 } from '../../../chunk-W6J37DOS.js';
|
|
3
|
+
import { a as a$2 } from '../../../chunk-A2LPDSRW.js';
|
|
4
|
+
import '../../../chunk-ZYFY6BCA.js';
|
|
5
|
+
import { a } from '../../../chunk-XT2AH5G2.js';
|
|
6
6
|
import '../../../chunk-Z6YXPKWP.js';
|
|
7
7
|
import { useCallback, useMemo } from 'react';
|
|
8
8
|
import { useFormContext, useFieldArray } from 'react-hook-form';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-BUDIH7D2.js';
|
|
2
|
+
import '../../chunk-XT2AH5G2.js';
|
|
3
3
|
import '../../chunk-Z6YXPKWP.js';
|
|
4
4
|
import S from '@mui/material/TableCell';
|
|
5
5
|
import F from '@mui/material/TableRow';
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { debounce } from '@mui/material/utils';
|
|
3
|
-
|
|
4
|
-
var k=c=>{let[u,i]=useState(!1),[l,d]=useState(),[m,s]=useState(),p=useMemo(()=>debounce(n=>{d(n),i(!1);},500),[]),O=useCallback(n=>{n&&i(!0),p(n);},[p]),o=useCallback(()=>{i(!1),d(void 0);},[]),S=useCallback((n=[],r=!1)=>{let t=m||c;if(!t||l!==void 0)return n.filter(e=>e.value!==null&&e.value!==void 0);let v=Array.isArray(t)?t:[t];if((u||r)&&n.length===0)return v.filter(e=>e?.value!==null&&e?.value!==void 0);let h=[...v,...n];return Array.from(new Set(h.map(e=>e.value))).map(e=>h.find(g=>g.value===e)).filter(e=>e.value!==null&&e.value!==void 0)},[m,c,l,u]),A=useCallback((n=[],r)=>{if(!r||Array.isArray(r)&&r.length===0){s(void 0);return}Array.isArray(r)?s(n.filter(t=>r.includes(t.value))):s(n.find(t=>t.value===r)),o();},[o]);return {search:l,searching:u,buildOptions:S,onSearch:O,onSelectValue:A,finishSearch:o}},x=k;
|
|
5
|
-
|
|
6
|
-
export { x as default };
|
|
1
|
+
export { a as default } from '../chunk-GGJJ3II3.js';
|
|
7
2
|
//# sourceMappingURL=useAutocomplete.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { FilterDateState } from '../types/analytics.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import dayjs__default from 'dayjs';
|
|
4
|
+
import { ViewMode } from '../types/orderProjection.js';
|
|
5
|
+
import '../utils/analytics.js';
|
|
6
|
+
import '../utils/partnerAnalysis.js';
|
|
7
|
+
|
|
8
|
+
interface SelectedFilterOption {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
interface OrderProjectionRequest {
|
|
13
|
+
last_seek_id?: string;
|
|
14
|
+
last_seek_name?: string;
|
|
15
|
+
limit?: number;
|
|
16
|
+
start_date: string | null;
|
|
17
|
+
end_date: string | null;
|
|
18
|
+
partner_ids?: string[];
|
|
19
|
+
event_types?: string[];
|
|
20
|
+
profile_ids?: string[];
|
|
21
|
+
classifications?: string[];
|
|
22
|
+
ascending?: boolean;
|
|
23
|
+
}
|
|
24
|
+
interface OrderProjectionSummaryRequest {
|
|
25
|
+
start_date: string | null;
|
|
26
|
+
end_date: string | null;
|
|
27
|
+
partner_ids?: string[];
|
|
28
|
+
event_types?: string[];
|
|
29
|
+
profile_ids?: string[];
|
|
30
|
+
classifications?: string[];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare const useOrderProjectionFilters: () => {
|
|
34
|
+
scrollRef: react.RefObject<HTMLDivElement>;
|
|
35
|
+
baseDate: dayjs__default.Dayjs;
|
|
36
|
+
dateRange: FilterDateState;
|
|
37
|
+
visibleDays: number;
|
|
38
|
+
handleBaseDateChange: (date: dayjs__default.Dayjs) => void;
|
|
39
|
+
handlePreviousWeek: () => void;
|
|
40
|
+
handleNextWeek: () => void;
|
|
41
|
+
handleToday: () => void;
|
|
42
|
+
selectedPartners: SelectedFilterOption[];
|
|
43
|
+
setSelectedPartners: (value: SelectedFilterOption[]) => void;
|
|
44
|
+
selectedEventTypes: string[];
|
|
45
|
+
setSelectedEventTypes: (value: string[]) => void;
|
|
46
|
+
selectedProfiles: SelectedFilterOption[];
|
|
47
|
+
setSelectedProfiles: (value: SelectedFilterOption[]) => void;
|
|
48
|
+
selectedClassifications: string[];
|
|
49
|
+
setSelectedClassifications: (value: string[]) => void;
|
|
50
|
+
ascending: boolean;
|
|
51
|
+
setAscending: (value: boolean) => void;
|
|
52
|
+
viewMode: ViewMode;
|
|
53
|
+
setViewMode: react.Dispatch<react.SetStateAction<ViewMode>>;
|
|
54
|
+
params: OrderProjectionRequest;
|
|
55
|
+
summaryParams: OrderProjectionSummaryRequest;
|
|
56
|
+
scrollToTop: () => void;
|
|
57
|
+
};
|
|
58
|
+
type UseOrderProjectionFiltersReturn = ReturnType<typeof useOrderProjectionFilters>;
|
|
59
|
+
|
|
60
|
+
export { UseOrderProjectionFiltersReturn, useOrderProjectionFilters as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { U as UseResizableColumnsProps, R as ResizableColumnWidth, C as ColumnResizeProps } from '../useResizableColumns.types-6611ee0b.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
|
|
4
|
+
declare const useResizableColumns: ({ columns, containerRef, enabled, }: UseResizableColumnsProps) => {
|
|
5
|
+
columnWidths: ResizableColumnWidth[];
|
|
6
|
+
totalWidth: number;
|
|
7
|
+
isResizing: boolean;
|
|
8
|
+
getColumnResizeProps: (key: string) => ColumnResizeProps | undefined;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { useResizableColumns as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { a as useThemeToggle } from '../chunk-5KEVIB7P.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-K6O5RVKC.js';
|
|
3
3
|
import '../chunk-373WGZZL.js';
|
|
4
|
-
import '../chunk-WUFEPE2G.js';
|
|
5
|
-
import '../chunk-BX2DSNRV.js';
|
|
6
4
|
import '../chunk-BKL525ZD.js';
|
|
7
5
|
import '../chunk-7GJMLPJV.js';
|
|
8
6
|
import '../chunk-LNESYSHP.js';
|
|
9
7
|
import '../chunk-4734QSYC.js';
|
|
10
8
|
import '../chunk-HBOBTNB5.js';
|
|
9
|
+
import '../chunk-WUFEPE2G.js';
|
|
10
|
+
import '../chunk-BX2DSNRV.js';
|
|
11
11
|
import '../chunk-Y66XXBB3.js';
|
|
12
12
|
//# sourceMappingURL=useThemeToggle.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { a as useThemeToggle } from './chunk-5KEVIB7P.js';
|
|
2
|
-
export { b as ThemeProvider, a as createTheme } from './chunk-
|
|
2
|
+
export { b as ThemeProvider, a as createTheme } from './chunk-K6O5RVKC.js';
|
|
3
3
|
import './chunk-373WGZZL.js';
|
|
4
|
-
import './chunk-WUFEPE2G.js';
|
|
5
|
-
export { c as SettingsProvider, b as useSettingsContext } from './chunk-BX2DSNRV.js';
|
|
6
4
|
export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from './chunk-BKL525ZD.js';
|
|
7
5
|
import './chunk-7GJMLPJV.js';
|
|
8
6
|
import './chunk-LNESYSHP.js';
|
|
9
7
|
export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from './chunk-4734QSYC.js';
|
|
10
8
|
import './chunk-HBOBTNB5.js';
|
|
9
|
+
import './chunk-WUFEPE2G.js';
|
|
10
|
+
export { c as SettingsProvider, b as useSettingsContext } from './chunk-BX2DSNRV.js';
|
|
11
11
|
export { a as THEME_CONFIG, q as bgBlur, p as bgGradient, o as borderGradient, j as createPaletteChannel, h as hexToRgbChannel, i as hexToRgbaChannel, l as hideScrollX, m as hideScrollY, r as maxLine, c as mediaQueries, t as menuItem, s as paper, f as pxToRem, e as remToPx, g as responsiveFontSizes, d as setFont, b as stylesMode, n as textGradient, k as varAlpha, u as whenAutoFilled } from './chunk-Y66XXBB3.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { b as default } from '../chunk-
|
|
1
|
+
export { b as default } from '../chunk-K6O5RVKC.js';
|
|
2
2
|
import '../chunk-373WGZZL.js';
|
|
3
|
-
import '../chunk-WUFEPE2G.js';
|
|
4
|
-
export { b as useSettingsContext } from '../chunk-BX2DSNRV.js';
|
|
5
3
|
import '../chunk-BKL525ZD.js';
|
|
6
4
|
import '../chunk-7GJMLPJV.js';
|
|
7
5
|
import '../chunk-LNESYSHP.js';
|
|
8
6
|
import '../chunk-4734QSYC.js';
|
|
9
7
|
import '../chunk-HBOBTNB5.js';
|
|
8
|
+
import '../chunk-WUFEPE2G.js';
|
|
9
|
+
export { b as useSettingsContext } from '../chunk-BX2DSNRV.js';
|
|
10
10
|
export { a as THEME_CONFIG } from '../chunk-Y66XXBB3.js';
|
|
11
11
|
//# sourceMappingURL=theme-provider.js.map
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Status } from '../utils/partnerAnalysis.js';
|
|
2
|
+
|
|
1
3
|
declare enum Frequency {
|
|
2
4
|
DAILY = "DAILY",
|
|
3
5
|
WEEKLY = "WEEKLY",
|
|
@@ -31,5 +33,128 @@ interface Recurrence {
|
|
|
31
33
|
occurrence: number;
|
|
32
34
|
custom_unit: CustomUnit;
|
|
33
35
|
}
|
|
36
|
+
declare enum EventType {
|
|
37
|
+
ORDER_PLACED = "ORDER_PLACED",
|
|
38
|
+
ORDER_UNPLANNED = "ORDER_UNPLANNED",
|
|
39
|
+
ORDER_PLANNED = "ORDER_PLANNED",
|
|
40
|
+
SHOPPING_CART_ACTIVE = "SHOPPING_CART_ACTIVE",
|
|
41
|
+
SHOPPING_CART_ABANDONED = "SHOPPING_CART_ABANDONED"
|
|
42
|
+
}
|
|
43
|
+
declare enum ExternalOrigin {
|
|
44
|
+
SALE = "SALE",
|
|
45
|
+
ORDER = "ORDER",
|
|
46
|
+
SHOPPING_CART = "SHOPPING_CART",
|
|
47
|
+
ORDER_PROJECTION = "ORDER_PROJECTION"
|
|
48
|
+
}
|
|
49
|
+
declare enum Period {
|
|
50
|
+
PAST = "PAST",
|
|
51
|
+
TODAY = "TODAY",
|
|
52
|
+
FUTURE = "FUTURE"
|
|
53
|
+
}
|
|
54
|
+
declare enum ViewMode {
|
|
55
|
+
DAY = "DAY",
|
|
56
|
+
WEEK = "WEEK"
|
|
57
|
+
}
|
|
58
|
+
interface SaleAnalysis {
|
|
59
|
+
sale_count: number;
|
|
60
|
+
last_sale_external_id: string;
|
|
61
|
+
last_sale_sale_external_id?: string | null;
|
|
62
|
+
last_sale_negotiation_date: Date;
|
|
63
|
+
}
|
|
64
|
+
interface Event {
|
|
65
|
+
id: string;
|
|
66
|
+
type: EventType;
|
|
67
|
+
external_id: string;
|
|
68
|
+
sale_external_id?: string | null;
|
|
69
|
+
external_origin: ExternalOrigin;
|
|
70
|
+
reference_date: Date;
|
|
71
|
+
amount_value: number;
|
|
72
|
+
}
|
|
73
|
+
interface Partner {
|
|
74
|
+
external_id: string;
|
|
75
|
+
name: string;
|
|
76
|
+
tax_id: string;
|
|
77
|
+
phone: string;
|
|
78
|
+
classification: Status;
|
|
79
|
+
recurrence: Recurrence;
|
|
80
|
+
sale_analysis: SaleAnalysis;
|
|
81
|
+
events: Event[];
|
|
82
|
+
}
|
|
83
|
+
interface Day {
|
|
84
|
+
date: string;
|
|
85
|
+
order_placed: number;
|
|
86
|
+
order_unplanned: number;
|
|
87
|
+
order_planned: number;
|
|
88
|
+
shopping_cart_active: number;
|
|
89
|
+
shopping_cart_abandoned: number;
|
|
90
|
+
}
|
|
91
|
+
interface OrderProjectionSummary {
|
|
92
|
+
days: Day[];
|
|
93
|
+
partner_count: number;
|
|
94
|
+
}
|
|
95
|
+
interface EventStyles {
|
|
96
|
+
label: string;
|
|
97
|
+
labelPlural: string;
|
|
98
|
+
background: string;
|
|
99
|
+
color: string;
|
|
100
|
+
backgroundHover: string;
|
|
101
|
+
iconBadgeColor?: string;
|
|
102
|
+
}
|
|
103
|
+
interface GroupedEvent {
|
|
104
|
+
count: number;
|
|
105
|
+
config: EventStyles;
|
|
106
|
+
events: Event[];
|
|
107
|
+
}
|
|
108
|
+
interface PartnerAddress {
|
|
109
|
+
street?: string;
|
|
110
|
+
number?: string;
|
|
111
|
+
complement?: string;
|
|
112
|
+
neighborhood?: string;
|
|
113
|
+
city?: string;
|
|
114
|
+
state?: string;
|
|
115
|
+
postal_code?: string;
|
|
116
|
+
}
|
|
117
|
+
interface PartnerSaleSummary {
|
|
118
|
+
order_quantity: number;
|
|
119
|
+
total_value: number;
|
|
120
|
+
average_ticket: number;
|
|
121
|
+
}
|
|
122
|
+
interface PartnerOrder {
|
|
123
|
+
id: string;
|
|
124
|
+
external_id?: string;
|
|
125
|
+
sale_external_id?: string | null;
|
|
126
|
+
negotiation_date: Date;
|
|
127
|
+
total_value: number;
|
|
128
|
+
}
|
|
129
|
+
interface OrderProjectionEvent {
|
|
130
|
+
id: string;
|
|
131
|
+
partner: Omit<Partner, 'events'>;
|
|
132
|
+
type: EventType;
|
|
133
|
+
external_origin: ExternalOrigin;
|
|
134
|
+
reference_date: Date;
|
|
135
|
+
amount_value: number;
|
|
136
|
+
detail: Record<string, any>;
|
|
137
|
+
}
|
|
138
|
+
interface PartnerProfile {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
}
|
|
142
|
+
interface PartnerSeller {
|
|
143
|
+
id: string;
|
|
144
|
+
name: string;
|
|
145
|
+
}
|
|
146
|
+
interface PartnerDetails {
|
|
147
|
+
id: string;
|
|
148
|
+
external_id?: string;
|
|
149
|
+
name: string;
|
|
150
|
+
trade_name?: string;
|
|
151
|
+
fiscal_registration_number?: string;
|
|
152
|
+
email?: string;
|
|
153
|
+
phone?: string;
|
|
154
|
+
mobile?: string;
|
|
155
|
+
profile?: PartnerProfile;
|
|
156
|
+
main_seller?: PartnerSeller;
|
|
157
|
+
address?: PartnerAddress;
|
|
158
|
+
}
|
|
34
159
|
|
|
35
|
-
export { CustomUnit, DayOfWeek, Frequency, MontlhyStrategy, Recurrence };
|
|
160
|
+
export { CustomUnit, Day, DayOfWeek, Event, EventStyles, EventType, ExternalOrigin, Frequency, GroupedEvent, MontlhyStrategy, OrderProjectionEvent, OrderProjectionSummary, Partner, PartnerAddress, PartnerDetails, PartnerOrder, PartnerProfile, PartnerSaleSummary, PartnerSeller, Period, Recurrence, SaleAnalysis, ViewMode };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { I as CustomUnit, r as DayOfWeek, E as Frequency, T as MontlhyStrategy };
|
|
1
|
+
export { d as CustomUnit, b as DayOfWeek, e as EventType, f as ExternalOrigin, a as Frequency, c as MontlhyStrategy, g as Period, h as ViewMode } from '../chunk-QGXT2AUD.js';
|
|
4
2
|
//# sourceMappingURL=orderProjection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ResizableColumn {
|
|
4
|
+
key: string;
|
|
5
|
+
minWidth: number;
|
|
6
|
+
defaultWidth?: number;
|
|
7
|
+
}
|
|
8
|
+
interface ResizableColumnWidth {
|
|
9
|
+
key: string;
|
|
10
|
+
width: number;
|
|
11
|
+
}
|
|
12
|
+
interface ColumnResizeProps {
|
|
13
|
+
onResizeStart: () => void;
|
|
14
|
+
onResize: (offset: number) => void;
|
|
15
|
+
onResizeEnd: () => void;
|
|
16
|
+
onReset: () => void;
|
|
17
|
+
}
|
|
18
|
+
interface UseResizableColumnsProps {
|
|
19
|
+
columns: ResizableColumn[];
|
|
20
|
+
containerRef: RefObject<HTMLElement>;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { ColumnResizeProps as C, ResizableColumnWidth as R, UseResizableColumnsProps as U };
|