@zydon/common 2.8.33 → 2.8.36
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/chunk-2W54CJ6E.js +0 -1
- package/dist/{chunk-TS23ND2I.js → chunk-2XYLNHQV.js} +2 -3
- package/dist/chunk-373WGZZL.js +0 -1
- package/dist/chunk-3C7RDPW6.js +0 -1
- package/dist/chunk-3TGBDRKG.js +0 -1
- package/dist/chunk-44ZCB2RS.js +0 -1
- package/dist/chunk-4P2L7UJA.js +0 -1
- package/dist/chunk-57ZSTQXG.js +0 -1
- package/dist/chunk-5EKUS6HX.js +0 -1
- package/dist/chunk-5ORENZHV.js +0 -1
- package/dist/chunk-6U5LS7MP.js +0 -1
- package/dist/chunk-6ZSTKYGL.js +0 -1
- package/dist/chunk-7OV7UPWM.js +0 -1
- package/dist/chunk-A3QLGMSB.js +0 -1
- package/dist/chunk-AVPFUSEB.js +0 -1
- package/dist/chunk-B3RDL4QX.js +0 -1
- package/dist/chunk-BNBE2OMA.js +0 -1
- package/dist/chunk-BX2DSNRV.js +0 -1
- package/dist/chunk-CFNATBO2.js +0 -1
- package/dist/chunk-CO2KQFUN.js +0 -1
- package/dist/{chunk-EDUNXVYV.js → chunk-CWRUW77O.js} +2 -3
- package/dist/chunk-CYWFK4OE.js +0 -1
- package/dist/chunk-E3R7W7GK.js +0 -1
- package/dist/chunk-E5ULJSWF.js +0 -1
- package/dist/chunk-ESFOFEVL.js +0 -1
- package/dist/chunk-ET3WPQIO.js +0 -1
- package/dist/chunk-ET6H3IRG.js +0 -1
- package/dist/chunk-F65ZXAGV.js +0 -1
- package/dist/chunk-F6H765KA.js +0 -1
- package/dist/chunk-FBN7HCBY.js +0 -1
- package/dist/chunk-FG2BVR7Y.js +0 -1
- package/dist/chunk-FPZ25CEJ.js +0 -1
- package/dist/chunk-FTYHXGXC.js +0 -1
- package/dist/chunk-GLRLKFPS.js +0 -1
- package/dist/chunk-GNNZB7DN.js +6 -0
- package/dist/chunk-GNNZB7DN.js.map +1 -0
- package/dist/chunk-GPFANUMT.js +0 -1
- package/dist/chunk-HBOBTNB5.js +0 -1
- package/dist/chunk-HELCCAF2.js +18 -0
- package/dist/chunk-HELCCAF2.js.map +1 -0
- package/dist/chunk-HSJS3HUW.js +0 -1
- package/dist/chunk-I4PPSW36.js +0 -1
- package/dist/chunk-IAOMC4C4.js +0 -1
- package/dist/chunk-ICEDOBLM.js +0 -1
- package/dist/chunk-IDFJFFIV.js +0 -1
- package/dist/chunk-IJZCVZ32.js +0 -1
- package/dist/chunk-IL3EAU5G.js +0 -1
- package/dist/chunk-IPPNUP2X.js +0 -1
- package/dist/chunk-JNDZPNQJ.js +0 -1
- package/dist/chunk-JW3LMT7N.js +0 -1
- package/dist/chunk-KGLU4CR2.js +0 -1
- package/dist/chunk-KKVRDMSE.js +0 -1
- package/dist/chunk-KYV74QIT.js +0 -1
- package/dist/chunk-LFHA3YUV.js +0 -1
- package/dist/chunk-LG2B5RFV.js +0 -1
- package/dist/{chunk-ZLLJ2NCY.js → chunk-LLIJZZMN.js} +3 -4
- package/dist/chunk-LQRRMVFN.js +0 -1
- package/dist/chunk-LRSF3YE6.js +0 -1
- package/dist/chunk-MC44LVZD.js +0 -1
- package/dist/chunk-MCRXKVSY.js +0 -1
- package/dist/chunk-MZN5X6GM.js +0 -1
- package/dist/chunk-N7IK5EUP.js +0 -1
- package/dist/chunk-NIQW2J3M.js +0 -1
- package/dist/chunk-O7SN6FIA.js +0 -1
- package/dist/chunk-OF6623HG.js +0 -1
- package/dist/chunk-OR7BKXIN.js +0 -1
- package/dist/chunk-POTVACYB.js +0 -1
- package/dist/chunk-QSHKTHGM.js +0 -1
- package/dist/chunk-RBTYTONM.js +0 -1
- package/dist/chunk-RFAAH7QG.js +0 -1
- package/dist/chunk-RP7PNTLJ.js +0 -1
- package/dist/chunk-RPO7AI5K.js +0 -1
- package/dist/chunk-RTC7H5E5.js +0 -1
- package/dist/chunk-RUABKHIV.js +0 -1
- package/dist/chunk-SVX7EWV4.js +0 -1
- package/dist/chunk-SY2RHBDJ.js +0 -1
- package/dist/chunk-T6UNWMMX.js +0 -1
- package/dist/chunk-TCZOZ4MN.js +0 -1
- package/dist/{chunk-EUQNIDDO.js → chunk-TGEDZBDY.js} +2 -3
- package/dist/{chunk-X53N7UR5.js → chunk-TLGUGGRI.js} +2 -3
- package/dist/chunk-TVKBRJHF.js +0 -1
- package/dist/chunk-U5YMUW4E.js +0 -1
- package/dist/chunk-UB3AKGVA.js +8 -0
- package/dist/chunk-UB3AKGVA.js.map +1 -0
- package/dist/chunk-UVPQR2Q2.js +0 -1
- package/dist/chunk-VITOOMKK.js +0 -1
- package/dist/chunk-VL4W63YA.js +0 -1
- package/dist/chunk-VR3K2Y2C.js +0 -1
- package/dist/chunk-W3CK33IH.js +0 -1
- package/dist/chunk-WRGRGZEM.js +0 -1
- package/dist/chunk-WUFEPE2G.js +0 -1
- package/dist/chunk-X24L6CUP.js +0 -1
- package/dist/chunk-X2NG6VDB.js +0 -1
- package/dist/chunk-X64QHBVQ.js +0 -1
- package/dist/chunk-XMVYDQSN.js +0 -1
- package/dist/chunk-XNKYJHNL.js +0 -1
- package/dist/chunk-YXRL4O4H.js +0 -1
- package/dist/components/ActionButton/index.js +0 -1
- package/dist/components/Actions/index.js +0 -1
- package/dist/components/Autocomplete/index.js +1 -2
- package/dist/components/AutocompleteDetailed/index.js +0 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.js +0 -1
- package/dist/components/AvatarButton/index.js +1 -2
- package/dist/components/BuilderLayout/index.js +0 -1
- package/dist/components/BuilderSidebar/index.js +0 -1
- package/dist/components/BulkEditModal/index.js +2 -3
- package/dist/components/CardBrand/index.js +0 -1
- package/dist/components/CardBrandText/index.js +0 -1
- package/dist/components/CardFlag/index.js +0 -1
- package/dist/components/CardWithHeader/index.js +0 -1
- package/dist/components/ColorPickerInput/index.js +0 -1
- package/dist/components/ColoredLabel/index.js +0 -1
- package/dist/components/Common/index.js +0 -1
- package/dist/components/Confirm/index.js +0 -1
- package/dist/components/CopyButton/index.js +0 -1
- package/dist/components/CustomAvatar/index.js +0 -1
- package/dist/components/CustomAvatarGroup/index.js +0 -1
- package/dist/components/DashedDivider/index.js +0 -1
- package/dist/components/DataCards/index.js +1 -2
- package/dist/components/DataGrid/index.js +0 -1
- package/dist/components/DataView/index.js +2 -3
- package/dist/components/DateCalendar/index.js +0 -1
- package/dist/components/DatePicker/index.js +0 -1
- package/dist/components/DateRangeCalendar/index.js +0 -1
- package/dist/components/DateRangePicker/index.js +0 -1
- package/dist/components/DateTimePicker/index.js +0 -1
- package/dist/components/Delayed/index.js +0 -1
- package/dist/components/DisplayMode/index.js +0 -1
- package/dist/components/DragButton/index.js +0 -1
- package/dist/components/DragContainer/index.js +0 -1
- package/dist/components/Drawer/index.js +1 -2
- package/dist/components/DrawerActions/index.js +0 -1
- package/dist/components/DynamicDataView/index.js +5 -6
- package/dist/components/EasyCrop/index.js +0 -1
- package/dist/components/EasyCropModal/index.js +2 -3
- package/dist/components/EmptyContent/index.js +0 -1
- package/dist/components/EmptyView/index.js +0 -1
- package/dist/components/Error/index.js +0 -1
- package/dist/components/ExpandableGroup/index.js +0 -1
- package/dist/components/FieldMentions/index.js +0 -1
- package/dist/components/FileUpload/index.js +4 -5
- package/dist/components/FixedProgressBar/index.js +0 -1
- package/dist/components/FrameSkeleton/index.js +3 -4
- package/dist/components/HelpButton/index.js +0 -1
- package/dist/components/Icon/index.js +0 -1
- package/dist/components/IconButton/index.js +0 -1
- package/dist/components/ImageCrop/index.js +0 -1
- package/dist/components/ImageCropModal/index.js +0 -1
- package/dist/components/Incrementer/index.js +0 -1
- package/dist/components/InfoCircle/index.js +0 -1
- package/dist/components/Label/index.js +0 -1
- package/dist/components/ListBundles/index.js +0 -1
- package/dist/components/LoadingScreen/index.js +0 -1
- package/dist/components/MaskedInput/index.js +0 -1
- package/dist/components/MenuItem/index.js +0 -1
- package/dist/components/MenuPopover/index.js +0 -1
- package/dist/components/Modal/index.js +0 -1
- package/dist/components/ModalActions/index.js +0 -1
- package/dist/components/MoreMenu/index.js +0 -1
- package/dist/components/NotFound/index.js +0 -1
- package/dist/components/NumberInput/index.js +0 -1
- package/dist/components/Page/index.js +0 -1
- package/dist/components/PageHeader/index.js +0 -1
- package/dist/components/Panel/index.js +0 -1
- package/dist/components/PasswordRules/index.js +0 -1
- package/dist/components/PopoverSelect/index.js +0 -1
- package/dist/components/Portal/index.js +0 -1
- package/dist/components/ResponsivePopover/index.js +0 -1
- package/dist/components/Result/index.js +0 -1
- package/dist/components/SavedChanges/index.js +0 -1
- package/dist/components/Scrollbar/index.js +0 -1
- package/dist/components/SearchInput/index.js +0 -1
- package/dist/components/SelectList/index.js +0 -1
- package/dist/components/SelectableCards/index.js +2 -3
- package/dist/components/SeoPreview/index.js +0 -1
- package/dist/components/SimpleCard/index.js +0 -1
- package/dist/components/Skeleton/index.js +0 -1
- package/dist/components/SmartText/index.js +0 -1
- package/dist/components/SplashScreen/index.js +0 -1
- package/dist/components/StateDisplay/index.js +0 -1
- package/dist/components/Steps/index.js +0 -1
- package/dist/components/StyledTab/index.js +0 -1
- package/dist/components/StyledTabs/index.js +0 -1
- package/dist/components/Summary/index.js +0 -1
- package/dist/components/SwapList/index.js +1 -2
- package/dist/components/TabPanel/index.js +0 -1
- package/dist/components/TextMaxLine/index.js +0 -1
- package/dist/components/TimePicker/index.js +0 -1
- package/dist/components/ToggleButtonGroup/index.js +0 -1
- package/dist/components/ToggleTheme/index.js +0 -1
- package/dist/components/Tooltip/index.js +0 -1
- package/dist/components/WebhookCard/index.js +0 -1
- package/dist/components/WhiteBox/index.js +0 -1
- package/dist/components/animate/index.js +0 -1
- package/dist/components/carousel/index.js +0 -1
- package/dist/components/form/Address/index.js +2 -3
- package/dist/components/form/Autocomplete/index.d.ts +1 -1
- package/dist/components/form/Autocomplete/index.js +2 -3
- package/dist/components/form/AutocompleteDetailed/index.js +0 -1
- package/dist/components/form/Checkbox/index.js +0 -1
- package/dist/components/form/Codes/index.js +0 -1
- package/dist/components/form/ColorPicker/index.js +0 -1
- package/dist/components/form/DateField/index.js +0 -1
- package/dist/components/form/DatePicker/index.js +0 -1
- package/dist/components/form/DateRangePicker/index.js +0 -1
- package/dist/components/form/DateTimePicker/index.js +0 -1
- package/dist/components/form/Field/index.js +0 -1
- package/dist/components/form/FileUpload/index.js +4 -5
- package/dist/components/form/Form/index.js +0 -1
- package/dist/components/form/Incrementer/index.js +0 -1
- package/dist/components/form/InputTags/index.js +0 -1
- package/dist/components/form/MaskedInput/index.js +0 -1
- package/dist/components/form/MultiCheckbox/index.js +0 -1
- package/dist/components/form/MultiChipField/index.js +0 -1
- package/dist/components/form/NumberInput/index.js +0 -1
- package/dist/components/form/Password/index.js +0 -1
- package/dist/components/form/RadioGroup/index.js +0 -1
- package/dist/components/form/SelectList/index.js +0 -1
- package/dist/components/form/SelectableCards/index.js +2 -3
- package/dist/components/form/Switch/index.js +0 -1
- package/dist/components/form/TimePicker/index.js +0 -1
- package/dist/components/form/Webhook/index.js +2 -3
- package/dist/components/lightbox/index.js +0 -1
- package/dist/components/table/index.js +0 -1
- package/dist/contexts/Messages/index.js +0 -1
- package/dist/contexts/PushNotifications/index.js +0 -1
- package/dist/hooks/useActiveElement.js +0 -1
- package/dist/hooks/useApiMessage.js +0 -1
- package/dist/hooks/useAutocomplete.js +1 -2
- package/dist/hooks/useAutocomplete.js.map +1 -1
- package/dist/hooks/useCollapseSidebarOnMount.js +2 -3
- package/dist/hooks/useCopyToClipboard.js +0 -1
- package/dist/hooks/useDatagrid.js +0 -1
- package/dist/hooks/useDebounceValue.js +1 -6
- package/dist/hooks/useDebounceValue.js.map +1 -1
- package/dist/hooks/useDeepCompareEffect.js +0 -1
- package/dist/hooks/useDynamicAutocomplete.d.ts +33 -0
- package/dist/hooks/useDynamicAutocomplete.js +8 -0
- package/dist/hooks/useDynamicAutocomplete.js.map +1 -0
- package/dist/hooks/useEventCallback.js +0 -1
- package/dist/hooks/useEventListener.js +0 -1
- package/dist/hooks/useIsMounting.js +0 -1
- package/dist/hooks/useIsVisible.js +0 -1
- package/dist/hooks/useIsomorphicLayoutEffect.js +0 -1
- package/dist/hooks/useLocalStorage.js +0 -1
- package/dist/hooks/useMount.js +0 -1
- package/dist/hooks/useOnClickOutside.js +0 -1
- package/dist/hooks/usePagination.js +0 -1
- package/dist/hooks/usePopover.js +0 -1
- package/dist/hooks/useResponsive.js +0 -1
- package/dist/hooks/useScreenSize.js +0 -1
- package/dist/hooks/useScrollOffSetTop.js +0 -1
- package/dist/hooks/useSnackbar.d.ts +1 -1
- package/dist/hooks/useSnackbar.js +0 -1
- package/dist/hooks/useTabs.js +0 -1
- package/dist/hooks/useThemeToggle.js +0 -1
- package/dist/hooks/useToggle.js +0 -1
- package/dist/hooks/useUpload.js +0 -1
- package/dist/hooks/useUploadImage.js +0 -1
- package/dist/hooks/useWindowFocus.js +0 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +0 -1
- package/dist/layouts/Admin/index.js +0 -1
- package/dist/locales/all-langs.js +0 -1
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/core/index.js +0 -1
- package/dist/theme/settings-provider.js +0 -1
- package/dist/theme/styles/index.d.ts +13 -13
- package/dist/theme/styles/index.js +0 -1
- package/dist/theme/theme-provider.js +0 -1
- package/dist/theme/with-settings/index.js +0 -1
- package/dist/types/addressProps.js +0 -1
- package/dist/types/api.js +0 -1
- package/dist/types/autoComplete.d.ts +2 -1
- package/dist/types/autoComplete.js +0 -1
- package/dist/types/autoCompleteProps.js +0 -1
- package/dist/types/baseField.js +0 -1
- package/dist/types/cards.js +0 -1
- package/dist/types/consoleLog.js +0 -1
- package/dist/types/dataGridProps.js +0 -1
- package/dist/types/datagrid.js +0 -1
- package/dist/types/dateFieldProps.js +0 -1
- package/dist/types/datePickerProps.js +0 -1
- package/dist/types/dateRangePickerProps.js +0 -1
- package/dist/types/dateTimePickerProps.js +0 -1
- package/dist/types/entityMetadata.js +0 -1
- package/dist/types/export.js +0 -1
- package/dist/types/fieldMentions.js +0 -1
- package/dist/types/fieldProps.js +0 -1
- package/dist/types/files.js +0 -1
- package/dist/types/filter.js +0 -1
- package/dist/types/icon.js +0 -1
- package/dist/types/iconProps.js +0 -1
- package/dist/types/incrementerProps.js +0 -1
- package/dist/types/item.js +0 -1
- package/dist/types/messages.js +0 -1
- package/dist/types/multiCheckboxProps.js +0 -1
- package/dist/types/numberInputProps.js +0 -1
- package/dist/types/option.js +0 -1
- package/dist/types/pushNotifications.js +0 -1
- package/dist/types/radioGroupProps.js +0 -1
- package/dist/types/searchInputProps.js +0 -1
- package/dist/types/sectionProps.js +0 -1
- package/dist/types/selectList.js +0 -1
- package/dist/types/switchProps.js +0 -1
- package/dist/types/timePickerProps.js +0 -1
- package/dist/types/upload.js +0 -1
- package/dist/types/webhook.js +0 -1
- package/dist/utils/buildExportPayload.js +0 -1
- package/dist/utils/cards.js +0 -1
- package/dist/utils/color.js +0 -1
- package/dist/utils/compare.js +0 -1
- package/dist/utils/consoleLog.js +0 -1
- package/dist/utils/date.js +0 -1
- package/dist/utils/diacritics.js +0 -1
- package/dist/utils/dnd.js +0 -1
- package/dist/utils/execution.js +0 -1
- package/dist/utils/files.js +0 -1
- package/dist/utils/flagCard.js +0 -1
- package/dist/utils/formatNumber.js +0 -1
- package/dist/utils/formatTime.js +0 -1
- package/dist/utils/loadable.js +0 -1
- package/dist/utils/mask.js +0 -1
- package/dist/utils/mobile.js +0 -1
- package/dist/utils/number.js +0 -1
- package/dist/utils/object.js +0 -1
- package/dist/utils/paymentValidators.js +0 -1
- package/dist/utils/popup.js +0 -1
- package/dist/utils/sort.js +0 -1
- package/dist/utils/string.js +0 -1
- package/dist/utils/urlBase64ToUint8Array.js +0 -1
- package/dist/utils/user.js +0 -1
- package/dist/utils/uuidv4.js +0 -1
- package/dist/utils/validators.js +0 -1
- package/package.json +2 -2
- package/dist/chunk-DWSIBYYG.js +0 -9
- package/dist/chunk-DWSIBYYG.js.map +0 -1
- package/dist/chunk-U23ZCGMS.js +0 -19
- package/dist/chunk-U23ZCGMS.js.map +0 -1
- package/dist/{chunk-TS23ND2I.js.map → chunk-2XYLNHQV.js.map} +0 -0
- package/dist/{chunk-EDUNXVYV.js.map → chunk-CWRUW77O.js.map} +0 -0
- package/dist/{chunk-ZLLJ2NCY.js.map → chunk-LLIJZZMN.js.map} +0 -0
- package/dist/{chunk-EUQNIDDO.js.map → chunk-TGEDZBDY.js.map} +0 -0
- package/dist/{chunk-X53N7UR5.js.map → chunk-TLGUGGRI.js.map} +0 -0
- package/dist/{index-c8f1e6e7.d.ts → index-5a5e5dc8.d.ts} +12 -12
|
@@ -3,5 +3,4 @@ import { useRef, useState, useEffect } from 'react';
|
|
|
3
3
|
function d(t=0,s="50px",r=!1){let c=useRef(null),[l,f]=useState(!1),e=useRef(null);return useEffect(()=>{let i=c.current;if(!i||typeof IntersectionObserver>"u")return;e.current?.disconnect();let n=new IntersectionObserver(([u])=>{f(u.isIntersecting),r&&u.isIntersecting&&(n.disconnect(),e.current=null);},{threshold:t,rootMargin:s});return n.observe(i),e.current=n,()=>{e.current?.disconnect(),e.current=null;}},[t,s,r]),[c,l]}var m=d;
|
|
4
4
|
|
|
5
5
|
export { m as default };
|
|
6
|
-
//# sourceMappingURL=out.js.map
|
|
7
6
|
//# sourceMappingURL=useIsVisible.js.map
|
package/dist/hooks/useMount.js
CHANGED
|
@@ -3,5 +3,4 @@ import { useState } from 'react';
|
|
|
3
3
|
function s({items:r,itemsPerPage:n}){let[t,a]=useState(1),o=Math.ceil(r.length/n),g=r.slice((t-1)*n,t*n);return {currentPage:t,totalPages:o,currentItems:g,goToPage:e=>{e>0&&e<=o&&a(e);},nextPage:()=>{t<o&&a(e=>e+1);},prevPage:()=>{t>1&&a(e=>e-1);}}}var f=s;
|
|
4
4
|
|
|
5
5
|
export { f as default };
|
|
6
|
-
//# sourceMappingURL=out.js.map
|
|
7
6
|
//# sourceMappingURL=usePagination.js.map
|
package/dist/hooks/usePopover.js
CHANGED
|
@@ -3,5 +3,4 @@ import { useState, useEffect } from 'react';
|
|
|
3
3
|
var d=()=>{let[i,n]=useState({width:window.innerWidth,height:window.innerHeight});return useEffect(()=>{let e=()=>{n({width:window.innerWidth,height:window.innerHeight});};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e);}},[]),i},o=d;
|
|
4
4
|
|
|
5
5
|
export { o as default };
|
|
6
|
-
//# sourceMappingURL=out.js.map
|
|
7
6
|
//# sourceMappingURL=useScreenSize.js.map
|
|
@@ -4,5 +4,4 @@ import { useScroll, useMotionValueEvent } from 'framer-motion';
|
|
|
4
4
|
var R=(t=0)=>{let e=useRef(null),{scrollY:r}=useScroll(),[o,l]=useState(!1),n=useCallback(c=>{let u=Math.round(c);if(e?.current){let f=e.current.getBoundingClientRect(),a=Math.round(f.top);l(a<t);}else l(u>t);},[e,t]);return useMotionValueEvent(r,"change",useMemo(()=>n,[n])),useMemo(()=>({elementRef:e,offsetTop:o}),[o])},g=R;
|
|
5
5
|
|
|
6
6
|
export { g as default };
|
|
7
|
-
//# sourceMappingURL=out.js.map
|
|
8
7
|
//# sourceMappingURL=useScrollOffSetTop.js.map
|
|
@@ -12,7 +12,6 @@ declare const useSnackbar: () => {
|
|
|
12
12
|
custom: (jsx: (id: string | number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, data?: ExternalToast | undefined) => string | number;
|
|
13
13
|
message: (message: string | number | boolean | react.ReactElement<any, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | react.ReactPortal | (() => ReactNode) | null | undefined, data?: ExternalToast | undefined) => string | number;
|
|
14
14
|
promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
|
|
15
|
-
cancel?: ReactNode | sonner.Action;
|
|
16
15
|
className?: string | undefined;
|
|
17
16
|
style?: react.CSSProperties | undefined;
|
|
18
17
|
position?: ("top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right") | undefined;
|
|
@@ -21,6 +20,7 @@ declare const useSnackbar: () => {
|
|
|
21
20
|
icon?: ReactNode;
|
|
22
21
|
duration?: number | undefined;
|
|
23
22
|
onDismiss?: ((toast: sonner.ToastT) => void) | undefined;
|
|
23
|
+
cancel?: ReactNode | sonner.Action;
|
|
24
24
|
richColors?: boolean | undefined;
|
|
25
25
|
invert?: boolean | undefined;
|
|
26
26
|
closeButton?: boolean | undefined;
|
package/dist/hooks/useTabs.js
CHANGED
package/dist/hooks/useToggle.js
CHANGED
package/dist/hooks/useUpload.js
CHANGED
|
@@ -4,5 +4,4 @@ import { useFormContext } from 'react-hook-form';
|
|
|
4
4
|
function F(t,i){let{watch:r,setValue:n}=useFormContext(),[u,o]=useState(i),l=r(t)||[];return {uploadFile:async e=>{if(!e){n(t,void 0),o(void 0);return}n(t,e),o(Object.assign(e,{preview:URL.createObjectURL(e)}));},uploadFiles:async e=>{n(t,[...l,...e.map(s=>Object.assign(s,{preview:URL.createObjectURL(s)}))]);},handleDeleteFile:()=>{n(t,void 0),o(void 0);},handleRemoveAll:()=>{n(t,void 0);},handleRemove:e=>{let s=l.filter(a=>a!==e);n(t,s);},file:u,setFileValue:o}}var b=F;
|
|
5
5
|
|
|
6
6
|
export { b as default };
|
|
7
|
-
//# sourceMappingURL=out.js.map
|
|
8
7
|
//# sourceMappingURL=useUpload.js.map
|
|
@@ -5,5 +5,4 @@ import I from 'browser-image-compression';
|
|
|
5
5
|
var h=5242880,M=({onFileCropped:n,onImageUploaded:c,onCancel:t})=>{let d=useId(),[e,m]=useState(),[f,o,s]=a(),[u,i]=useState(),[v,p]=useState(!1);return {id:d,setCropModalOpen:s,handleRemove:()=>{n(void 0),c(void 0),s(!1);},toggleCropModalOpen:o,cropModalOpen:f,cancelChanges:()=>{t&&t(),s(!1);},saveChanges:()=>{e!==void 0&&e.getCroppedCanvas().toBlob(async g=>{try{if(!g)return;p(!0);let a=new File([g],"imagem.png",{type:"image/png"});if(a.size>h){let C=await I(a,{maxSizeMB:5});n(C),o();return}n(a),o();}finally{p(!1);}},"image/png",1);},previewImage:()=>{e!==void 0&&i(e.getCroppedCanvas().toDataURL());},setCropper:m,preview:u,closePreviewImage:()=>i(void 0),saving:v}},x=M;
|
|
6
6
|
|
|
7
7
|
export { x as default };
|
|
8
|
-
//# sourceMappingURL=out.js.map
|
|
9
8
|
//# sourceMappingURL=useUploadImage.js.map
|
|
@@ -3,5 +3,4 @@ import { useState, useEffect } from 'react';
|
|
|
3
3
|
function u(){let e=typeof document<"u",[n,i]=useState(()=>e?!document.hidden:!0);return useEffect(()=>{if(!e)return;let t=()=>{i(!document.hidden);};return document.addEventListener("visibilitychange",t),()=>{document.removeEventListener("visibilitychange",t);}},[e]),n}var c=u;
|
|
4
4
|
|
|
5
5
|
export { c as default };
|
|
6
|
-
//# sourceMappingURL=out.js.map
|
|
7
6
|
//# sourceMappingURL=useWindowFocus.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomShadows } from './index-
|
|
2
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-
|
|
1
|
+
import { C as CustomShadows } from './index-5a5e5dc8.js';
|
|
2
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-5a5e5dc8.js';
|
|
3
3
|
export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-38d09283.js';
|
|
4
4
|
export { THEME_CONFIG, default as ThemeProvider } from './theme/theme-provider.js';
|
|
5
5
|
import { S as SettingsState } from './settings-583c107c.js';
|
package/dist/index.js
CHANGED
|
@@ -9,5 +9,4 @@ export { l as action, k as background, m as basePalette, p as colorSchemes, i as
|
|
|
9
9
|
import './chunk-HBOBTNB5.js';
|
|
10
10
|
import './chunk-WUFEPE2G.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 } from './chunk-GLRLKFPS.js';
|
|
12
|
-
//# sourceMappingURL=out.js.map
|
|
13
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -14,5 +14,4 @@ import d1 from '@mui/material/GlobalStyles';
|
|
|
14
14
|
var E=({children:o,isNavHorizontal:t,sx:r,...i})=>jsx(Z,{component:"main",flex:"1 1 auto",bgcolor:"grey.100",sx:{...t&&{"--layout-dashboard-content-pt":"40px"},...r},...i,children:o}),v=E;var u={root:"layout__root",main:"layout__main",header:"layout__header",content:"layout__main__content",hasSidebar:"layout__has__sidebar"};var H=styled("span")(({theme:o})=>({width:1,height:10,flexShrink:0,display:"none",position:"relative",alignItems:"center",flexDirection:"column",marginLeft:o.spacing(2.5),marginRight:o.spacing(2.5),backgroundColor:"currentColor","&::before, &::after":{top:-5,width:3,height:3,content:'""',flexShrink:0,borderRadius:"50%",position:"absolute",backgroundColor:"currentColor"},"&::after":{bottom:-5,top:"auto"}})),k=styled(X)(({theme:o})=>({zIndex:"var(--layout-header-zIndex)",backgroundColor:o.palette.background.paper,"&::before":{content:'""',position:"absolute",bottom:0,left:0,width:"100%",height:"1px",backgroundColor:o.palette.divider,zIndex:1}}));var U=({sx:o,slots:t,slotProps:r,layoutQuery:i="md",...n})=>{let e=useTheme(),d={default:{minHeight:"auto",height:"var(--layout-header-mobile-height)",backgroundColor:e.palette.background.paper,transition:e.transitions.create(["height","background-color"],{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.shorter}),[e.breakpoints.up("sm")]:{minHeight:"auto"},[e.breakpoints.up(i)]:{height:"var(--layout-header-desktop-height)"}}};return jsxs(k,{position:"sticky",sx:o,...n,children:[t?.topArea,jsx(K,{disableGutters:!0,...r?.toolbar,sx:{...d.default,...r?.toolbar?.sx,maxHeight:64},children:jsxs(q,{...r?.container,sx:{height:1,display:"flex",alignItems:"center",...r?.container?.sx},children:[t?.leftArea,jsx(Q,{sx:{display:"flex",flex:"1 1 auto",justifyContent:"center"},children:t?.centerArea}),t?.rightArea]})}),t?.bottomArea]})},w=U;var Y=({sx:o,slots:t,slotProps:r,layoutQuery:i,...n})=>jsx(w,{sx:o,layoutQuery:i,slots:{...t,leftAreaStart:t?.leftAreaStart,leftArea:jsxs(Fragment,{children:[t?.leftAreaStart,jsx(H,{"data-slot":"divider"}),t?.leftAreaEnd]}),rightArea:jsxs(Fragment,{children:[t?.rightAreaStart,t?.rightAreaEnd]}),centerArea:t?.centerArea},slotProps:r,...n}),P=Y;var o1=({variant:o="full",...t})=>jsx(Z,{...t,children:o==="full"?jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"224",height:"56",viewBox:"0 0 224 56",fill:"none",children:[jsx("path",{d:"M33.8104 0.0012207L27.0515 13.7512H0.000488281V0.0012207H33.8104Z",fill:"currentColor"}),jsx("path",{d:"M54.1018 13.7518V27.5018H20.2842L27.0508 13.7518H54.1018Z",fill:"currentColor"}),jsx("path",{d:"M20.2849 27.5001L13.526 41.2501H0.000488281V27.5001H20.2849Z",fill:"currentColor"}),jsx("path",{d:"M54.102 41.2515V55.0015H6.7666L13.5255 41.2515H54.102Z",fill:"currentColor"}),jsx("path",{d:"M102.287 18.077V13.9543H79.585V19.0429H94.6476L79.585 37.2453V41.368H102.287V36.2873H87.2244L102.287 18.077Z",fill:"currentColor"}),jsx("path",{d:"M120.44 39.4362L111.866 13.9543H105.81L115.202 41.368H119.791L118.833 44.2028C118.424 45.3807 118.022 46.1424 117.613 46.48C117.203 46.8177 116.462 46.9905 115.372 46.9905H111.371L111.587 52.079H117.697C118.995 52.079 120.023 51.8591 120.78 51.4115C121.537 50.9639 122.154 50.3043 122.641 49.4326C123.128 48.561 123.653 47.2967 124.217 45.6555L135.077 13.9543H129.022L120.447 39.4362H120.44Z",fill:"currentColor"}),jsx("path",{d:"M157.3 17.7537C156.388 16.4659 155.191 15.4608 153.716 14.7305C152.24 14.0002 150.518 13.6311 148.556 13.6311C146.13 13.6311 143.952 14.2122 142.021 15.3744C140.09 16.5366 138.568 18.1778 137.463 20.298C136.359 22.4261 135.803 24.8761 135.803 27.6638C135.803 30.4515 136.351 33.0114 137.433 35.1317C138.522 37.2597 140.028 38.8774 141.959 40.0082C143.89 41.1311 146.084 41.6965 148.54 41.6965C152.264 41.6965 155.199 40.2123 157.338 37.2519L158.026 41.3745H162.977V3.8938H157.292V17.7616L157.3 17.7537ZM155.191 34.2993C153.754 35.9797 151.854 36.8121 149.498 36.8121C147.142 36.8121 145.25 35.964 143.813 34.2679C142.376 32.5717 141.65 30.3651 141.65 27.6559C141.65 24.9468 142.369 22.7951 143.813 21.099C145.25 19.4028 147.15 18.5547 149.498 18.5547C151.846 18.5547 153.747 19.4028 155.191 21.099C156.628 22.7951 157.354 25.0174 157.354 27.7659C157.354 30.5143 156.636 32.6188 155.191 34.2993Z",fill:"currentColor"}),jsx("path",{d:"M188.152 15.3971C186.059 14.2192 183.664 13.6302 180.96 13.6302C178.257 13.6302 175.862 14.2192 173.769 15.3971C171.676 16.575 170.061 18.2241 168.926 20.3521C167.783 22.4723 167.211 24.9145 167.211 27.663C167.211 30.4114 167.783 32.9007 168.926 35.0287C170.069 37.1489 171.683 38.798 173.769 39.9524C175.862 41.1145 178.257 41.6956 180.96 41.6956C183.664 41.6956 186.059 41.1145 188.152 39.9524C190.245 38.7902 191.86 37.1489 192.995 35.0287C194.138 32.9007 194.71 30.4506 194.71 27.663C194.71 24.8753 194.138 22.4802 192.995 20.3521C191.852 18.2241 190.238 16.575 188.152 15.3971ZM186.731 34.2199C185.271 35.9161 183.347 36.7642 180.96 36.7642C178.574 36.7642 176.658 35.9161 175.221 34.2199C173.784 32.5237 173.058 30.3407 173.058 27.663C173.058 24.9852 173.777 22.8022 175.221 21.106C176.658 19.4098 178.574 18.5617 180.96 18.5617C183.347 18.5617 185.271 19.4098 186.731 21.106C188.191 22.8022 188.917 24.9852 188.917 27.663C188.917 30.3407 188.191 32.5237 186.731 34.2199Z",fill:"currentColor"}),jsx("path",{d:"M220.981 16.63C218.965 14.6275 216.354 13.6302 213.156 13.6302C209.433 13.6302 206.552 14.9338 204.52 17.5409L203.887 13.9522H198.936V41.3658H204.621V27.553C204.621 24.7653 205.262 22.5823 206.544 20.996C207.826 19.4098 209.588 18.6167 211.835 18.6167C213.944 18.6167 215.543 19.292 216.632 20.6505C217.721 22.009 218.262 23.9879 218.262 26.595V41.3737H224.001V26.273C224.001 21.8441 222.989 18.6324 220.973 16.6378L220.981 16.63Z",fill:"currentColor"})]}):jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 36 36",fill:"none",children:[jsx("path",{d:"M22.486 0L17.9456 8.9728H0V0H22.486Z",fill:"currentColor"}),jsx("path",{d:"M35.8916 8.97327V17.9461H13.5137L17.946 8.97327H35.8916Z",fill:"currentColor"}),jsx("path",{d:"M13.5133 17.9457L8.97279 26.9185H0V17.9457H13.5133Z",fill:"currentColor"}),jsx("path",{d:"M35.8908 26.9193V36.0002H4.54004L8.97243 26.9193H35.8908Z",fill:"currentColor"})]})}),h=o1;var I=styled(t1,{shouldForwardProp:o=>o!=="isNavMini"})(({theme:o,isNavMini:t})=>({padding:8,top:15,position:"fixed",color:o.palette.action.active,backgroundColor:o.palette.background.paper,transform:"translateX(-50%)",zIndex:"var(--layout-nav-zIndex)",left:t?"var(--layout-nav-mini-width)":"var(--layout-nav-vertical-width)",border:`1px solid ${o.palette.divider}`,transition:o.transitions.create(["left"],{easing:"var(--layout-transition-easing)",duration:"var(--layout-transition-duration)"}),"&:hover":{color:o.palette.text.primary,backgroundColor:o.palette.background.neutral}}));var e1=({isNavMini:o,...t})=>jsx(I,{size:"small",isNavMini:o,...t,children:jsx(a1,{sx:{width:16,height:16,...o&&{transform:"scaleX(-1)"}},children:jsx("path",{fill:"currentColor",d:"M13.83 19a1 1 0 0 1-.78-.37l-4.83-6a1 1 0 0 1 0-1.27l5-6a1 1 0 0 1 1.54 1.28L10.29 12l4.32 5.36a1 1 0 0 1-.78 1.64"})})}),_=e1;var N=styled(Z)({padding:"12px 16px 24px",svg:{width:125}}),z=styled(Z)({padding:"12px 24px 24px",alignItems:"center",justifyContent:"center",svg:{width:32,height:32}}),T=styled(Q,{shouldForwardProp:o=>o!=="isNavMini"&&o!=="layoutQuery"})(({theme:o,isNavMini:t,layoutQuery:r})=>({top:0,left:0,height:"100%",display:"none",position:"fixed",flexDirection:"column",backgroundColor:o.palette.background.paper,zIndex:"var(--layout-nav-zIndex)",width:t?"var(--layout-nav-mini-width)":"var(--layout-nav-vertical-width)",borderRight:`1px solid ${o.palette.divider}`,transition:o.transitions.create(["width"],{easing:"var(--layout-transition-easing)",duration:"var(--layout-transition-duration)"}),[o.breakpoints.up(r)]:{display:"flex"}}));var p1=({slots:o,isNavMini:t,layoutQuery:r,onToggleNav:i,children:n})=>{let e=useTheme(),d=jsxs(Fragment,{children:[o?.topArea??jsx(N,{children:jsx(h,{variant:"full"})}),jsx(a,{fillContent:!0,sx:{px:2,pb:2},children:n})]}),p=jsxs(Fragment,{children:[o?.topArea??jsx(z,{children:jsx(h,{variant:"mini"})}),jsx(n1,{sx:{mx:3,mb:3}}),jsx(a,{fillContent:!0,sx:{px:2,pb:2},children:n}),o?.bottomArea]});return jsxs(T,{isNavMini:t,layoutQuery:r,children:[jsx(_,{isNavMini:t,onClick:i,sx:{display:"none",[e.breakpoints.up(r)]:{display:"inline-flex"}}}),t?p:d]})},D=p1;var s1=({sx:o,cssVars:t,children:r,footerSection:i,headerSection:n,sidebarSection:e})=>jsxs(Fragment,{children:[jsx(d1,{styles:{body:{"--layout-nav-zIndex":1101,"--layout-nav-mobile-width":"320px","--layout-header-blur":"8px","--layout-header-zIndex":1100,"--layout-header-mobile-height":"64px","--layout-header-desktop-height":"72px",...t}}}),jsx(Q,{id:"root__layout",sx:o,children:e?jsxs(Fragment,{children:[e,jsxs(Q,{display:"flex",flex:"1 1 auto",flexDirection:"column",className:u.hasSidebar,children:[n,r,i]})]}):jsxs(Fragment,{children:[n,r,i]})})]}),R=s1;var m1=({children:o,footerContent:t,headerProps:r,sidebarContent:i,isNavMini:n,onToggleNavMini:e,mainProps:d})=>{let p=useTheme(),s="lg";return jsx(R,{headerSection:jsx(P,{layoutQuery:s,slotProps:{toolbar:{sx:{['& [data-area="right"]']:{gap:{xs:0,sm:.75}}}},container:{maxWidth:!1,sx:{px:{[s]:5}}}},slots:r?.slots}),sidebarSection:jsx(D,{isNavMini:n,layoutQuery:s,onToggleNav:e,children:i}),footerSection:t,cssVars:{"--layout-transition-easing":"linear","--layout-transition-duration":"120ms","--layout-nav-mini-width":"88px","--layout-nav-vertical-width":"300px","--layout-nav-horizontal-height":"64px","--layout-dashboard-content-pt":p.spacing(1),"--layout-dashboard-content-pb":p.spacing(8),"--layout-dashboard-content-px":p.spacing(5)},sx:{[`& .${u.hasSidebar}`]:{[p.breakpoints.up(s)]:{transition:p.transitions.create(["padding-left"],{easing:"var(--layout-transition-easing)",duration:"var(--layout-transition-duration)"}),pl:n?"var(--layout-nav-mini-width)":"var(--layout-nav-vertical-width)"}}},children:jsx(v,{isNavHorizontal:!1,...d,children:o})})},mo=m1;
|
|
15
15
|
|
|
16
16
|
export { mo as default };
|
|
17
|
-
//# sourceMappingURL=out.js.map
|
|
18
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-
|
|
1
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-5a5e5dc8.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
package/dist/theme/core/index.js
CHANGED
|
@@ -2,5 +2,4 @@ export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e
|
|
|
2
2
|
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-LRSF3YE6.js';
|
|
3
3
|
import '../../chunk-HBOBTNB5.js';
|
|
4
4
|
import '../../chunk-GLRLKFPS.js';
|
|
5
|
-
//# sourceMappingURL=out.js.map
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -173,7 +173,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
173
173
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
174
174
|
floodColor?: readonly string[] | csstype.Property.FloodColor | readonly csstype.Property.FloodColor[] | undefined;
|
|
175
175
|
floodOpacity?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FloodOpacity | readonly NonNullable<csstype.Property.FloodOpacity | undefined>[] | undefined;
|
|
176
|
-
fontFamily?:
|
|
176
|
+
fontFamily?: csstype.Property.FontFamily | readonly string[] | readonly csstype.Property.FontFamily[] | undefined;
|
|
177
177
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
178
178
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
179
179
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -197,7 +197,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
197
197
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
198
198
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
199
199
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
200
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly (
|
|
200
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "bold" | "normal" | "bolder" | "lighter")[] | undefined;
|
|
201
201
|
fontWidth?: readonly string[] | csstype.Property.FontWidth | readonly csstype.Property.FontWidth[] | undefined;
|
|
202
202
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
203
203
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
@@ -460,9 +460,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
460
460
|
x?: readonly (string | (string & {}))[] | csstype.Property.X<string | number> | readonly NonNullable<csstype.Property.X<string | number> | undefined>[] | undefined;
|
|
461
461
|
y?: readonly (string | (string & {}))[] | csstype.Property.Y<string | number> | readonly NonNullable<csstype.Property.Y<string | number> | undefined>[] | undefined;
|
|
462
462
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
463
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly (
|
|
463
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reset")[] | undefined;
|
|
464
464
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
465
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly (
|
|
465
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reverse" | "none" | "auto" | "alternate" | "alternate-reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
466
466
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
467
467
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
468
468
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -474,7 +474,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
474
474
|
borderBlockWidth?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockWidth<string | number> | readonly NonNullable<csstype.Property.BorderBlockWidth<string | number> | undefined>[] | undefined;
|
|
475
475
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
476
476
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
477
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
477
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
478
478
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
479
479
|
borderInlineColor?: readonly string[] | csstype.Property.BorderInlineColor | readonly csstype.Property.BorderInlineColor[] | undefined;
|
|
480
480
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
@@ -509,7 +509,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
509
509
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
510
510
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
511
511
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
512
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
512
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
513
513
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
514
514
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
515
515
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -758,8 +758,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
758
758
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
759
759
|
WebkitUserSelect?: csstype.Property.WebkitUserSelect | readonly NonNullable<csstype.Property.WebkitUserSelect | undefined>[] | readonly csstype.Property.WebkitUserSelect[] | undefined;
|
|
760
760
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
761
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly (
|
|
762
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
761
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reverse" | "none" | "auto" | "alternate" | "alternate-reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
762
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
763
763
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
764
764
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
765
765
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -771,16 +771,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
771
771
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
772
772
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
773
773
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
774
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly (
|
|
774
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reverse" | "none" | "auto" | "alternate" | "alternate-reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
775
775
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
776
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
776
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
777
777
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
778
778
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
779
779
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
780
780
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
781
781
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
782
782
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
783
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
783
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
784
784
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
785
785
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
786
786
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -861,7 +861,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
861
861
|
MozUserFocus?: csstype.Property.MozUserFocus | readonly NonNullable<csstype.Property.MozUserFocus | undefined>[] | readonly csstype.Property.MozUserFocus[] | undefined;
|
|
862
862
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
863
863
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
864
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly (
|
|
864
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reverse" | "none" | "auto" | "alternate" | "alternate-reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
865
865
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
866
866
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
867
867
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -871,7 +871,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
871
871
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
872
872
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
873
873
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
874
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
874
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
875
875
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
876
876
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
877
877
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export { 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 } from '../../chunk-GLRLKFPS.js';
|
|
2
|
-
//# sourceMappingURL=out.js.map
|
|
3
2
|
//# sourceMappingURL=index.js.map
|
package/dist/types/api.js
CHANGED
|
@@ -9,7 +9,8 @@ type BaseAutoComplete = {
|
|
|
9
9
|
required?: boolean;
|
|
10
10
|
helperText?: string;
|
|
11
11
|
placeholder?: string;
|
|
12
|
-
onSearch?(value
|
|
12
|
+
onSearch?(value?: string): void;
|
|
13
|
+
onScrollEnd?(): void;
|
|
13
14
|
} & Partial<AutocompleteProps<Option, boolean, boolean, boolean, ElementType>>;
|
|
14
15
|
|
|
15
16
|
export { BaseAutoComplete };
|
package/dist/types/baseField.js
CHANGED
package/dist/types/cards.js
CHANGED
package/dist/types/consoleLog.js
CHANGED
package/dist/types/datagrid.js
CHANGED
package/dist/types/export.js
CHANGED
package/dist/types/fieldProps.js
CHANGED
package/dist/types/files.js
CHANGED
package/dist/types/filter.js
CHANGED
package/dist/types/icon.js
CHANGED
package/dist/types/iconProps.js
CHANGED
package/dist/types/item.js
CHANGED
package/dist/types/messages.js
CHANGED
package/dist/types/option.js
CHANGED
package/dist/types/selectList.js
CHANGED
package/dist/types/upload.js
CHANGED
package/dist/types/webhook.js
CHANGED
|
@@ -4,5 +4,4 @@ import '../chunk-VL4W63YA.js';
|
|
|
4
4
|
var u=(t,e)=>{if(!(!t?.fields||!e))return t.fields.find(r=>r.name===e||r.filter_field_name===e)},i=(t,e)=>{if(!e)return;let r=u(t,e);return t?.fields?r?.filter_field_name||r?.name:e},f=(t,e)=>{if(!(!t?.fields||!e||e.length===0))return e.filter(r=>r!=="ACTIONS")},l=(t,e)=>{let r=e?.trim();if(!r)return;let n=i(t,t?.description_field_name)||i(t,"name");if(n)return {operator:"AND",groups:[{operator:"AND",conditionals:[{fieldName:n,conditional:"LIKE",value:[r]}]}]}},p=(t,e,r)=>{if(!e||!r)return;let n=i(t,e);if(n)return {fieldName:n,sortType:r==="desc"?"DESC":"ASC"}},c=({metadata:t,visibleFieldNames:e,search:r,sort:n,dir:s})=>{let o=f(t,e),d=l(t,r),a=p(t,n,s);return {...o&&{criteria:o},...d&&{filter:d},...a&&{sort:a}}},y=c;
|
|
5
5
|
|
|
6
6
|
export { f as buildCriteria, l as buildFilter, p as buildSort, y as default, u as getFieldByName, i as mapToFilterFieldName };
|
|
7
|
-
//# sourceMappingURL=out.js.map
|
|
8
7
|
//# sourceMappingURL=buildExportPayload.js.map
|
package/dist/utils/cards.js
CHANGED
package/dist/utils/color.js
CHANGED