@zydon/common 2.7.29 → 2.7.31
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-KVFE6S5N.js → chunk-3636DUHJ.js} +1 -1
- package/dist/chunk-6MUF35YU.js +3 -0
- package/dist/{chunk-UNSRJCI6.js → chunk-AGOXJVTR.js} +3 -3
- package/dist/{chunk-PRCHWW24.js → chunk-AKCVCO63.js} +1 -1
- package/dist/{chunk-SERSUUWD.js → chunk-ASORGXTP.js} +1 -1
- package/dist/{chunk-DUFPX4QZ.js → chunk-BQDW3DZU.js} +1 -1
- package/dist/{chunk-GZ4UBWZJ.js → chunk-BUWDCQQJ.js} +1 -1
- package/dist/{chunk-LGYLZTOS.js → chunk-C6SRJIBQ.js} +2 -2
- package/dist/{chunk-6HCH7BUB.js → chunk-CQ4SL5DA.js} +2 -2
- package/dist/{chunk-C2JZG45F.js → chunk-IJW4Y26T.js} +1 -1
- package/dist/{chunk-RDX5MYRG.js → chunk-IRLPVLHW.js} +1 -1
- package/dist/chunk-JB4PPJH4.js +9 -0
- package/dist/{chunk-KA6PGKWV.js → chunk-LIQDPSQ4.js} +1 -1
- package/dist/{chunk-NGCNTRMV.js → chunk-PWVRDTDI.js} +1 -1
- package/dist/{chunk-7I3B5CBC.js → chunk-QH2CVLP3.js} +2 -2
- package/dist/{chunk-FCBM4IGE.js → chunk-RVR7UZ7B.js} +1 -1
- package/dist/{chunk-3X7KMUN3.js → chunk-USGR4MNF.js} +1 -1
- package/dist/{chunk-3JOLGWDJ.js → chunk-WEPG5FD2.js} +4 -4
- package/dist/{chunk-DVVFB7RV.js → chunk-WNC63YLI.js} +1 -1
- package/dist/{chunk-URVMF4MW.js → chunk-X2LRK7UM.js} +1 -1
- package/dist/components/ActionButton/index.js +3 -3
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/AvatarButton/index.js +2 -2
- package/dist/components/BuilderLayout/index.js +3 -3
- package/dist/components/BuilderSidebar/index.js +2 -2
- package/dist/components/Common/index.js +2 -2
- package/dist/components/DataView/index.js +3 -3
- package/dist/components/DragButton/index.js +3 -3
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/EasyCropModal/index.js +4 -4
- package/dist/components/Error/index.js +2 -2
- package/dist/components/ExpandableGroup/index.js +2 -2
- package/dist/components/FileUpload/index.js +7 -7
- package/dist/components/FrameSkeleton/index.js +2 -2
- package/dist/components/HelpButton/index.js +3 -3
- package/dist/components/Icon/index.js +2 -2
- package/dist/components/IconButton/index.js +3 -3
- package/dist/components/ImageCropModal/index.js +4 -4
- package/dist/components/Incrementer/index.js +3 -3
- package/dist/components/InfoCircle/index.js +2 -2
- package/dist/components/ListBundles/index.js +3 -3
- package/dist/components/MenuItem/index.js +2 -2
- package/dist/components/Modal/index.js +3 -3
- package/dist/components/MoreMenu/index.js +2 -2
- package/dist/components/PasswordRules/index.js +2 -2
- package/dist/components/PopoverSelect/index.js +2 -2
- package/dist/components/SearchInput/index.js +3 -3
- package/dist/components/SelectableCards/index.js +4 -4
- package/dist/components/SeoPreview/index.js +2 -2
- package/dist/components/StateDisplay/index.js +3 -3
- package/dist/components/Steps/index.js +2 -2
- package/dist/components/StyledTab/index.js +2 -2
- package/dist/components/SwapList/index.js +3 -3
- package/dist/components/WebhookCard/index.js +2 -2
- package/dist/components/carousel/index.js +3 -3
- package/dist/components/form/Address/index.js +4 -4
- package/dist/components/form/Autocomplete/index.js +4 -4
- package/dist/components/form/FileUpload/index.js +7 -7
- package/dist/components/form/Incrementer/index.js +3 -3
- package/dist/components/form/Password/index.js +2 -2
- package/dist/components/form/SelectableCards/index.js +4 -4
- package/dist/components/form/UploadAvatarWithCrop/index.js +5 -5
- package/dist/components/form/UploadWithCrop/index.js +6 -6
- package/dist/components/form/Webhook/index.js +5 -5
- package/dist/components/lightbox/index.js +2 -2
- package/dist/components/table/index.js +3 -3
- package/dist/components/upload/index.js +7 -7
- package/dist/contexts/PushNotifications/index.js +4 -3
- package/dist/index.d.ts +2 -2
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/styles/index.d.ts +13 -13
- package/dist/types/consoleLog.d.ts +19 -0
- package/dist/types/consoleLog.js +1 -0
- package/dist/types/icon.d.ts +1 -0
- package/dist/types/icon.js +1 -1
- package/dist/utils/consoleLog.d.ts +1 -17
- package/dist/utils/consoleLog.js +1 -0
- package/package.json +1 -1
- package/dist/chunk-WIJV4EHZ.js +0 -9
- package/dist/{index-5a5e5dc8.d.ts → index-c8f1e6e7.d.ts} +12 -12
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b } from '../../../chunk-
|
|
1
|
+
import { b } from '../../../chunk-CQ4SL5DA.js';
|
|
2
2
|
import '../../../chunk-3JXE4T4W.js';
|
|
3
|
-
import '../../../chunk-
|
|
3
|
+
import '../../../chunk-C6SRJIBQ.js';
|
|
4
4
|
import '../../../chunk-RQ5Q6X5Y.js';
|
|
5
5
|
import '../../../chunk-ANAHA3L6.js';
|
|
6
|
-
import '../../../chunk-
|
|
7
|
-
import '../../../chunk-
|
|
6
|
+
import '../../../chunk-BUWDCQQJ.js';
|
|
7
|
+
import '../../../chunk-JB4PPJH4.js';
|
|
8
8
|
import '../../../chunk-FO7JCJ76.js';
|
|
9
|
-
import '../../../chunk-
|
|
9
|
+
import '../../../chunk-IJW4Y26T.js';
|
|
10
10
|
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
11
11
|
import '../../../chunk-X24QANPC.js';
|
|
12
12
|
import '../../../chunk-W3MYAMTH.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { e } from '../../../chunk-
|
|
1
|
+
import { e } from '../../../chunk-AGOXJVTR.js';
|
|
2
2
|
import '../../../chunk-3JXE4T4W.js';
|
|
3
|
-
import '../../../chunk-
|
|
3
|
+
import '../../../chunk-C6SRJIBQ.js';
|
|
4
4
|
import '../../../chunk-RQ5Q6X5Y.js';
|
|
5
5
|
import '../../../chunk-H5L4ARDB.js';
|
|
6
6
|
import '../../../chunk-ANAHA3L6.js';
|
|
7
|
-
import '../../../chunk-
|
|
8
|
-
import '../../../chunk-
|
|
7
|
+
import '../../../chunk-BUWDCQQJ.js';
|
|
8
|
+
import '../../../chunk-BQDW3DZU.js';
|
|
9
9
|
import '../../../chunk-2P4CXK3O.js';
|
|
10
10
|
import '../../../chunk-FK7DDO5L.js';
|
|
11
|
-
import '../../../chunk-
|
|
11
|
+
import '../../../chunk-JB4PPJH4.js';
|
|
12
12
|
import '../../../chunk-FO7JCJ76.js';
|
|
13
|
-
import '../../../chunk-
|
|
13
|
+
import '../../../chunk-IJW4Y26T.js';
|
|
14
14
|
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
15
15
|
import '../../../chunk-X24QANPC.js';
|
|
16
16
|
import '../../../chunk-W3MYAMTH.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a } from '../../../chunk-NV2X5CYP.js';
|
|
2
|
-
import { a as a$2 } from '../../../chunk-
|
|
3
|
-
import { a as a$3 } from '../../../chunk-
|
|
4
|
-
import '../../../chunk-
|
|
5
|
-
import { a as a$1 } from '../../../chunk-
|
|
2
|
+
import { a as a$2 } from '../../../chunk-WNC63YLI.js';
|
|
3
|
+
import { a as a$3 } from '../../../chunk-ASORGXTP.js';
|
|
4
|
+
import '../../../chunk-3636DUHJ.js';
|
|
5
|
+
import { a as a$1 } from '../../../chunk-JB4PPJH4.js';
|
|
6
6
|
import '../../../chunk-FO7JCJ76.js';
|
|
7
|
-
import '../../../chunk-
|
|
7
|
+
import '../../../chunk-IJW4Y26T.js';
|
|
8
8
|
import { useFormContext, useFieldArray } from 'react-hook-form';
|
|
9
9
|
import D from '@mui/material/Divider';
|
|
10
10
|
import T from '@mui/material/IconButton';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-JB4PPJH4.js';
|
|
2
2
|
import '../../chunk-FO7JCJ76.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-IJW4Y26T.js';
|
|
4
4
|
import w from '@mui/material/Box';
|
|
5
5
|
import C, { useLightboxState } from 'yet-another-react-lightbox';
|
|
6
6
|
import d from 'yet-another-react-lightbox/plugins/captions';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-RVR7UZ7B.js';
|
|
2
|
+
import '../../chunk-JB4PPJH4.js';
|
|
3
3
|
import '../../chunk-FO7JCJ76.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-IJW4Y26T.js';
|
|
5
5
|
import S from '@mui/material/TableCell';
|
|
6
6
|
import F from '@mui/material/TableRow';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { c as DeleteButton, a as MultiFilePreview, b as SingleFilePreview, d as Upload, e as UploadWithCrop } from '../../chunk-
|
|
2
|
-
export { a as UploadAvatar, b as UploadAvatarWithCrop } from '../../chunk-
|
|
1
|
+
export { c as DeleteButton, a as MultiFilePreview, b as SingleFilePreview, d as Upload, e as UploadWithCrop } from '../../chunk-AGOXJVTR.js';
|
|
2
|
+
export { a as UploadAvatar, b as UploadAvatarWithCrop } from '../../chunk-CQ4SL5DA.js';
|
|
3
3
|
import { o } from '../../chunk-3JXE4T4W.js';
|
|
4
4
|
export { p as RejectionFiles } from '../../chunk-3JXE4T4W.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-C6SRJIBQ.js';
|
|
6
6
|
import '../../chunk-RQ5Q6X5Y.js';
|
|
7
7
|
import '../../chunk-H5L4ARDB.js';
|
|
8
8
|
import '../../chunk-ANAHA3L6.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-BUWDCQQJ.js';
|
|
10
|
+
import '../../chunk-BQDW3DZU.js';
|
|
11
11
|
import '../../chunk-2P4CXK3O.js';
|
|
12
12
|
import '../../chunk-FK7DDO5L.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-JB4PPJH4.js';
|
|
14
14
|
import '../../chunk-FO7JCJ76.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-IJW4Y26T.js';
|
|
16
16
|
import '../../chunk-X24QANPC.js';
|
|
17
17
|
import '../../chunk-W3MYAMTH.js';
|
|
18
18
|
import '../../chunk-DMQW3LDF.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { a as a$1 } from '../../chunk-Q3ADZHO5.js';
|
|
2
|
-
import '../../chunk-IHAHXNLH.js';
|
|
3
2
|
import { a } from '../../chunk-ZR3AIGIM.js';
|
|
3
|
+
import '../../chunk-IHAHXNLH.js';
|
|
4
|
+
import '../../chunk-6MUF35YU.js';
|
|
4
5
|
import { createContext, useState, useRef, useMemo, useEffect, useCallback, useContext } from 'react';
|
|
5
6
|
import { jsx } from 'react/jsx-runtime';
|
|
6
7
|
|
|
7
|
-
var
|
|
8
|
+
var Z=createContext(void 0),le=({children:d,originId:I,originType:C,bearerToken:S,vapidKey:V,serviceWorkerPath:G="/",serviceWorkerFile:H="service-worker.js",pollingInterval:k=1e3,apiAdapters:n,onMessageReceived:m,onError:r})=>{let[t,p]=useState(null),[x,h]=useState(0),[W,M]=useState(!1),[v,b]=useState(!1),[y,O]=useState(!1),[N,ee]=useState(!1),[A,te]=useState({subscriptions:[]}),[B,z]=useState(!1),[R]=useState(new Set),f=useRef(new Map),F=useMemo(()=>!t||B,[t,B]);useEffect(()=>{if(!v||!y||!t||!n.fetchMessages)return;let e=setInterval(async()=>{try{let c=(await n.fetchMessages(t))?.messages?.[0];if(c?.payload){let o=c.id;if(R.has(o))return;R.add(o),h(a=>a+1),m?.(c.payload);try{await n.updateMessageStatus(o,{status:"DELIVERED"});}catch(a$1){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao marcar mensagem como entregue:",data:a$1});}finally{let a=c.topic;f.current.get(a)?.stopPollingOnFirstMessage&&(f.current.delete(a),f.current.size>0||(b(!1),O(!1)));}}}catch(s){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao buscar mensagens:",data:s});}},k);return ()=>clearInterval(e)},[v,y,t,k,n,m,R]);let P=useCallback(async(e,s)=>{try{let c=e?.toJSON().keys,o={origin_type:C,origin_id:I,...s&&e?{endpoint:e.endpoint,auth:c?.auth,p256dh:c?.p256dh}:{}},a=await n.registerClient(o);return p(a.id),M(!1),ee(s),s||O(!0),a.id}catch(c){return a({type:"ERROR",environment:["development","homologation"],message:"Erro ao registrar cliente:",data:c}),M(!0),r?.(c),null}},[n,I,C,r]);useEffect(()=>{let e=!0,s=null;async function c(){if(!("serviceWorker"in navigator)||!("PushManager"in window)){a({type:"WARN",environment:["development","homologation"],message:"Push notifications n\xE3o suportadas, criando cliente ativo com polling"});try{let o=await P(null,!1);e&&o&&(p(o),O(!0));}catch(o){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao registrar cliente ativo:",data:o}),r?.(o);}return}try{let o=await Notification.requestPermission(),a$2=null,g=!1;if(o==="granted")try{let w=await navigator.serviceWorker.register(`${G}${H}`);if(!e||(await navigator.serviceWorker.ready,!e))return;a$2=await w.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:a$1(V)}),s=async j=>{let K=j.data?.payload,Q=j.data?.id;if(K&&(h(T=>T+1),m?.(K)),Q)try{await n.updateMessageStatus(Q,{status:"DELIVERED"});}catch(T){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao atualizar status da mensagem:",data:T}),M(!0),r?.(T);}},navigator.serviceWorker.addEventListener("message",s),g=!0,a({type:"LOG",environment:["development","homologation"],message:"Permiss\xE3o concedida, criando cliente passivo (aguarda webpush)"});}catch(w){a({type:"WARN",environment:["development","homologation"],message:"Falha ao configurar push subscription, criando cliente ativo:",data:w}),g=!1;}else a({type:"WARN",environment:["development","homologation"],message:"Permiss\xE3o de notifica\xE7\xE3o negada, criando cliente ativo com polling"}),g=!1;let L=await P(a$2,g);e&&L&&(p(L),g||O(!0));}catch(o){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao inicializar notifica\xE7\xF5es:",data:o}),r?.(o);try{let a=await P(null,!1);e&&a&&(p(a),O(!0));}catch(a$1){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao criar cliente ativo como fallback:",data:a$1});}}}return S&&c(),()=>{e=!1,s&&"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",s);}},[S,P,n,V,G,H,m,r]);let u=useCallback(async()=>{if(t){z(!0);try{let e=await n.listSubscriptions(t);te(e);}catch(e){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao listar inscri\xE7\xF5es:",data:e}),r?.(e);}finally{z(!1);}}},[t,n,r]);useEffect(()=>{t&&u();},[t]);let _=useCallback(async(e,s)=>{if(!t){a({type:"WARN",environment:["development","homologation"],message:"Cliente n\xE3o registrado"});return}try{s&&f.current.set(e,s),await n.subscribeTopic(t,e),await u(),!N&&(!v||!y)&&(b(!0),O(!0));}catch(c){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao inscrever no t\xF3pico:",data:c}),r?.(c);}},[t,n,u,r,v,y,N]),$=useCallback(async e=>{if(!t){a({type:"WARN",environment:["development","homologation"],message:"Cliente n\xE3o registrado"});return}try{f.current.delete(e),await n.unsubscribeTopic(t,e),await u();}catch(s){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao desinscrever do t\xF3pico:",data:s}),r?.(s);}},[t,n,u,r]),q=useCallback(async e=>{if(!(!t||e.length===0))try{await n.subscribeTopicsBatch(t,e),await u(),N||(b(!0),O(!0));}catch(s){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao inscrever em t\xF3picos:",data:s}),r?.(s);}},[t,n,u,r,N]),J=useCallback(async e=>{if(!(!t||e.length===0))try{await n.unsubscribeTopicsBatch(t,e),await u();}catch(s){a({type:"ERROR",environment:["development","homologation"],message:"Erro ao desinscrever de t\xF3picos:",data:s}),r?.(s);}},[t,n,u,r]),U=useCallback(()=>{h(0);},[]),se=useMemo(()=>({clientId:t,subscribedTopics:A,isLoading:F,newMessageCount:x,isRegisterError:W,subscribeToTopic:_,unsubscribeFromTopic:$,subscribeTopicsBatch:q,unsubscribeTopicsBatch:J,resetMessageCount:U}),[t,A,F,x,W,_,$,q,J,U]);return jsx(Z.Provider,{value:se,children:d})};function Oe(){let d=useContext(Z);if(!d)throw new Error("usePushNotifications precisa estar dentro de PushNotificationProvider");return d}
|
|
8
9
|
|
|
9
|
-
export {
|
|
10
|
+
export { le as PushNotificationProvider, Oe as usePushNotifications };
|
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-c8f1e6e7.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-c8f1e6e7.js';
|
|
3
3
|
export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-4537dcad.js';
|
|
4
4
|
export { THEME_CONFIG, default as ThemeProvider } from './theme/theme-provider.js';
|
|
5
5
|
import { S as SettingsState } from './settings-4d4dc42f.js';
|
|
@@ -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-c8f1e6e7.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
|
@@ -193,7 +193,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
193
193
|
flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
|
|
194
194
|
flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
|
|
195
195
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
196
|
-
fontFamily?: csstype.Property.FontFamily | readonly
|
|
196
|
+
fontFamily?: readonly string[] | csstype.Property.FontFamily | readonly csstype.Property.FontFamily[] | undefined;
|
|
197
197
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
198
198
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
199
199
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -218,7 +218,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
218
218
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
219
219
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
220
220
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
221
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
221
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ("bold" | (string & {}) | csstype.Globals | "normal" | "bolder" | "lighter")[] | undefined;
|
|
222
222
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
223
223
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
224
224
|
gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
|
|
@@ -443,9 +443,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
443
443
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
444
444
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
445
445
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
446
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal"
|
|
446
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ("reset" | (string & {}) | csstype.Globals | "normal")[] | undefined;
|
|
447
447
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
448
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
448
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
449
449
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
450
450
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
451
451
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -454,7 +454,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
454
454
|
borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
|
|
455
455
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
456
456
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
457
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
457
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
458
458
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
459
459
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
460
460
|
borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
|
|
@@ -486,7 +486,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
486
486
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
487
487
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
488
488
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
489
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
489
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
490
490
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
491
491
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
492
492
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -729,8 +729,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
729
729
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
730
730
|
WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
|
|
731
731
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
732
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
733
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
732
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
733
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
734
734
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
735
735
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
736
736
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -741,16 +741,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
741
741
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
742
742
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
743
743
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
744
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
744
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
745
745
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
746
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
746
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
747
747
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
748
748
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
749
749
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
750
750
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
751
751
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
752
752
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
753
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
753
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
754
754
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
755
755
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
756
756
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -831,7 +831,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
831
831
|
MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
|
|
832
832
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
833
833
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
834
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
834
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
835
835
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
836
836
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
837
837
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -841,7 +841,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
841
841
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
842
842
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
843
843
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
844
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
844
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
845
845
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
846
846
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
847
847
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare enum ConsoleType {
|
|
2
|
+
LOG = "LOG",
|
|
3
|
+
WARN = "WARN",
|
|
4
|
+
ERROR = "ERROR"
|
|
5
|
+
}
|
|
6
|
+
declare enum Environment {
|
|
7
|
+
DEVELOPMENT = "development",
|
|
8
|
+
HOMOLOGATION = "homologation",
|
|
9
|
+
PRODUCTION = "production"
|
|
10
|
+
}
|
|
11
|
+
interface ConsoleLogProps {
|
|
12
|
+
type: ConsoleType;
|
|
13
|
+
environment: Environment | Environment[];
|
|
14
|
+
message: string;
|
|
15
|
+
data?: unknown;
|
|
16
|
+
args?: unknown[];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ConsoleLogProps, ConsoleType, Environment };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as ConsoleType, b as Environment } from '../chunk-6MUF35YU.js';
|
package/dist/types/icon.d.ts
CHANGED
|
@@ -422,6 +422,7 @@ declare enum Icon {
|
|
|
422
422
|
ERROR_BELL = "ERROR_BELL",
|
|
423
423
|
WAVE_FILE = "WAVE_FILE",
|
|
424
424
|
WITHDRAW = "WITHDRAW",
|
|
425
|
+
ARTIFICIAL_INTELLIGENCE = "ARTIFICIAL_INTELLIGENCE",
|
|
425
426
|
MEDIA_VIDEO_FILES = "MEDIA_VIDEO_FILES",
|
|
426
427
|
MEDIA_IMAGE_FILES = "MEDIA_IMAGE_FILES",
|
|
427
428
|
MEDIA_PDF_FILES = "MEDIA_PDF_FILES",
|
package/dist/types/icon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as Icon } from '../chunk-
|
|
1
|
+
export { a as Icon } from '../chunk-IJW4Y26T.js';
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
LOG = "LOG",
|
|
3
|
-
WARN = "WARN",
|
|
4
|
-
ERROR = "ERROR"
|
|
5
|
-
}
|
|
6
|
-
declare enum Environment {
|
|
7
|
-
DEVELOPMENT = "development",
|
|
8
|
-
HOMOLOGATION = "homologation",
|
|
9
|
-
PRODUCTION = "production"
|
|
10
|
-
}
|
|
11
|
-
interface ConsoleLogProps {
|
|
12
|
-
type: ConsoleType;
|
|
13
|
-
environment: Environment | Environment[];
|
|
14
|
-
message: string;
|
|
15
|
-
data?: unknown;
|
|
16
|
-
args?: unknown[];
|
|
17
|
-
}
|
|
1
|
+
import { ConsoleLogProps } from '../types/consoleLog.js';
|
|
18
2
|
|
|
19
3
|
declare const consoleLog: ({ type, environment, message, data, args, }: ConsoleLogProps) => void;
|
|
20
4
|
|
package/dist/utils/consoleLog.js
CHANGED