dgz-ui-shared 1.1.20 → 1.1.21
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/{Actions-1AyyAnYT.js → Actions-CKVu3P3q.js} +6 -6
- package/dist/Actions-uGf1oq7E.cjs +1 -0
- package/dist/{DateRangePicker-kaBfJaKY.cjs → DateRangePicker-C1c1mofH.cjs} +3 -3
- package/dist/{DateRangePicker-D57HSCpq.js → DateRangePicker-DFsQ10c7.js} +5 -5
- package/dist/{ExportData-dSwR1N1v.js → ExportData-1xS2UAoq.js} +6 -6
- package/dist/ExportData-ApStkEWC.cjs +1 -0
- package/dist/{FilterWrapper-BYTeNMOP.js → FilterWrapper-Dk18nVPy.js} +26 -26
- package/dist/FilterWrapper-DvNjUQih.cjs +21 -0
- package/dist/{MyInput-xQAtNQfv.cjs → MyInput-9MnlVZ4h.cjs} +1 -1
- package/dist/{MyInput-DfwJGqEz.js → MyInput-B-QCpehg.js} +14 -14
- package/dist/{MyLimitSelect-BSZcXwK_.cjs → MyLimitSelect-BU1FClXt.cjs} +2 -2
- package/dist/{MyLimitSelect-B8aFncMj.js → MyLimitSelect-D5ZWDY-s.js} +7 -7
- package/dist/{MySelect-B09FshOo.js → MySelect-C5uWRVJh.js} +6 -6
- package/dist/MySelect-DNK997Bi.cjs +1 -0
- package/dist/{button-2punbuN6-BBVynxVj.cjs → button-CdZDBhmr-3yMPCRDo.cjs} +1 -1
- package/dist/{button-2punbuN6-Bxlf8sMg.js → button-CdZDBhmr-BT_j3ig5.js} +7 -7
- package/dist/{chevron-right-HWBijj-I-Bdcofm_0.cjs → chevron-right-HWBijj-I-CZBu0GKg.cjs} +1 -1
- package/dist/{chevron-right-HWBijj-I-Bkp_tbGM.js → chevron-right-HWBijj-I-DsFUufdU.js} +1 -1
- package/dist/components/actions/index.cjs.js +1 -1
- package/dist/components/actions/index.es.js +1 -1
- package/dist/components/confirm/index.cjs.js +1 -1
- package/dist/components/confirm/index.es.js +1 -1
- package/dist/components/datatable/index.cjs.js +5 -5
- package/dist/components/datatable/index.es.js +166 -166
- package/dist/components/datepicker/index.cjs.js +1 -1
- package/dist/components/datepicker/index.es.js +1 -1
- package/dist/components/export/index.cjs.js +1 -1
- package/dist/components/export/index.es.js +1 -1
- package/dist/components/filters/index.cjs.js +1 -1
- package/dist/components/filters/index.es.js +3 -3
- package/dist/components/form/index.cjs.js +2 -2
- package/dist/components/form/index.es.js +12 -12
- package/dist/components/modal/index.cjs.js +2 -2
- package/dist/components/modal/index.es.js +7 -7
- package/dist/components/pagination/index.cjs.js +1 -1
- package/dist/components/pagination/index.es.js +1 -1
- package/dist/components/theme/index.cjs.js +3 -3
- package/dist/components/theme/index.es.js +4 -4
- package/dist/components/tooltip/index.cjs.js +1 -1
- package/dist/components/tooltip/index.es.js +44 -44
- package/dist/{createLucideIcon-B950nf2d-Brk4LIHH.js → createLucideIcon-B950nf2d-9wLYOF5y.js} +1 -1
- package/dist/{createLucideIcon-B950nf2d-BaIaB_Fz.cjs → createLucideIcon-B950nf2d-DrrWmvZU.cjs} +4 -4
- package/dist/dropdown-menu-TWRSm6RK-DQ03CnVw.cjs +1 -0
- package/dist/{dropdown-menu-lArmcWbC-jIg7CHSO.js → dropdown-menu-TWRSm6RK-D_FJpI4C.js} +83 -83
- package/dist/hooks/index.cjs.js +1 -1
- package/dist/hooks/index.es.js +1 -1
- package/dist/{index-CiR6yUKf-BEMUeikM.js → index-BL59b1Bz-C9bJE_xn.js} +90 -90
- package/dist/{index-CiR6yUKf-B1h5S0LB.cjs → index-BL59b1Bz-COeLljOH.cjs} +4 -4
- package/dist/{index-DUK8Bn0m-Clp83x2_.js → index-C4qYhCZt-BZQduTld.js} +29 -29
- package/dist/index-C4qYhCZt-DWBiWQ93.cjs +5 -0
- package/dist/index-CbK6da4c-QXbo5Vgb.cjs +1 -0
- package/dist/{index-Dp0y0FJw-B42jTfO0.js → index-CbK6da4c-d_6FdYZH.js} +1 -1
- package/dist/{index-GjjxAtgk-Dl4JPPHK.js → index-Cths1nBq-BUfZy21E.js} +71 -71
- package/dist/index-Cths1nBq-DzDn15YE.cjs +11 -0
- package/dist/{index-CMHo7s91-D6S6dZoG.cjs → index-ZsCkaYy6-Bjyf2SZs.cjs} +1 -1
- package/dist/{index-CMHo7s91-BRFfxKgJ.js → index-ZsCkaYy6-Cw9HUeiu.js} +1 -1
- package/dist/{input-mask-DBDaFFnm-CwBTZF0M.js → input-mask-DBLFIvhN-BBxoZxnd.js} +341 -341
- package/dist/{input-mask-DBDaFFnm-Dmv3bbE0.cjs → input-mask-DBLFIvhN-C_0RAR2l.cjs} +32 -32
- package/dist/{popover-Dvg-QyCn-CJ3lAD8Q.js → popover-OZcfKDD9-C2PVWPLS.js} +17 -17
- package/dist/popover-OZcfKDD9-KUWOsIOs.cjs +1 -0
- package/dist/{react-select-CKazfTiF-1EhjhhlL.js → react-select-DVPHHTAP-D2u3DqGr.js} +2 -2
- package/dist/{react-select-CKazfTiF-Bb-Uf4tM.cjs → react-select-DVPHHTAP-DKDInFsM.cjs} +9 -9
- package/dist/{unstyled-BcD9hmh4.cjs → unstyled-BFCMBSGZ.cjs} +2 -2
- package/dist/{unstyled-BRWVVWRl.js → unstyled-BMbrfzye.js} +5 -5
- package/package.json +2 -2
- package/dist/Actions-Dg5LYo56.cjs +0 -1
- package/dist/ExportData-DUuHYzA-.cjs +0 -1
- package/dist/FilterWrapper-DXKousYF.cjs +0 -21
- package/dist/MySelect-Dps9WQfz.cjs +0 -1
- package/dist/dropdown-menu-lArmcWbC-DCwGoXng.cjs +0 -1
- package/dist/index-DUK8Bn0m-BIulOZIQ.cjs +0 -5
- package/dist/index-Dp0y0FJw-DVwS4FcV.cjs +0 -1
- package/dist/index-GjjxAtgk-DaxZek3n.cjs +0 -11
- package/dist/popover-Dvg-QyCn-Dr2o9oAG.cjs +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";const _=require("./createLucideIcon-B950nf2d-BaIaB_Fz.cjs"),b=require("react"),t=require("./index-CiR6yUKf-B1h5S0LB.cjs");function H(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const n=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(r,c,n.get?n:{enumerable:!0,get:()=>e[c]})}}return r.default=e,Object.freeze(r)}const i=H(b);function $(e){const r=e+"CollectionProvider",[c,n]=t.j(r),[F,y]=c(r,{collectionRef:{current:null},itemMap:new Map}),v=d=>{const{scope:o,children:u}=d,a=b.useRef(null),l=b.useRef(new Map).current;return t.ae.jsx(F,{scope:o,itemMap:l,collectionRef:a,children:u})};v.displayName=r;const g=e+"CollectionSlot",I=t.g$1(g),m=b.forwardRef((d,o)=>{const{scope:u,children:a}=d,l=y(g,u),p=t.x(o,l.collectionRef);return t.ae.jsx(I,{ref:p,children:a})});m.displayName=g;const s=e+"CollectionItemSlot",h="data-radix-collection-item",x=t.g$1(s),w=b.forwardRef((d,o)=>{const{scope:u,children:a,...l}=d,p=b.useRef(null),C=t.x(o,p),A=y(s,u);return b.useEffect(()=>(A.itemMap.set(p,{ref:p,...l}),()=>void A.itemMap.delete(p))),t.ae.jsx(x,{[h]:"",ref:C,children:a})});w.displayName=s;function S(d){const o=y(e+"CollectionConsumer",d);return b.useCallback(()=>{const u=o.collectionRef.current;if(!u)return[];const a=Array.from(u.querySelectorAll(`[${h}]`));return Array.from(o.itemMap.values()).sort((l,p)=>a.indexOf(l.ref.current)-a.indexOf(p.ref.current))},[o.collectionRef,o.itemMap])}return[{Provider:v,Slot:m,ItemSlot:w},S,n]}var X=i.createContext(void 0);function O(e){const r=i.useContext(X);return e||r||"ltr"}/**
|
|
2
|
-
* @license lucide-react v0.511.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const Y=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Z=_.k("check",Y);/**
|
|
7
|
-
* @license lucide-react v0.511.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const J=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Q=_.k("circle",J);var E="rovingFocusGroup.onEntryFocus",V={bubbles:!1,cancelable:!0},T="RovingFocusGroup",[M,P,W]=$(T),[ee,te]=t.j(T,[W]),[oe,re]=ee(T),K=i.forwardRef((e,r)=>t.ae.jsx(M.Provider,{scope:e.__scopeRovingFocusGroup,children:t.ae.jsx(M.Slot,{scope:e.__scopeRovingFocusGroup,children:t.ae.jsx(ne,{...e,ref:r})})}));K.displayName=T;var ne=i.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,orientation:n,loop:F=!1,dir:y,currentTabStopId:v,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:I,onEntryFocus:m,preventScrollOnEntryFocus:s=!1,...h}=e,x=i.useRef(null),w=t.x(r,x),S=O(y),[d,o]=t.y({prop:v,defaultProp:g??null,onChange:I,caller:T}),[u,a]=i.useState(!1),l=t.n(m),p=P(c),C=i.useRef(!1),[A,k]=i.useState(0);return i.useEffect(()=>{const f=x.current;if(f)return f.addEventListener(E,l),()=>f.removeEventListener(E,l)},[l]),t.ae.jsx(oe,{scope:c,orientation:n,dir:S,loop:F,currentTabStopId:d,onItemFocus:i.useCallback(f=>o(f),[o]),onItemShiftTab:i.useCallback(()=>a(!0),[]),onFocusableItemAdd:i.useCallback(()=>k(f=>f+1),[]),onFocusableItemRemove:i.useCallback(()=>k(f=>f-1),[]),children:t.ae.jsx(t.h.div,{tabIndex:u||A===0?-1:0,"data-orientation":n,...h,ref:w,style:{outline:"none",...e.style},onMouseDown:t.y$1(e.onMouseDown,()=>{C.current=!0}),onFocus:t.y$1(e.onFocus,f=>{const B=!C.current;if(f.target===f.currentTarget&&B&&!u){const D=new CustomEvent(E,V);if(f.currentTarget.dispatchEvent(D),!D.defaultPrevented){const j=p().filter(R=>R.focusable),U=j.find(R=>R.active),q=j.find(R=>R.id===d),z=[U,q,...j].filter(Boolean).map(R=>R.ref.current);G(z,s)}}C.current=!1}),onBlur:t.y$1(e.onBlur,()=>a(!1))})})}),L="RovingFocusGroupItem",N=i.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,focusable:n=!0,active:F=!1,tabStopId:y,children:v,...g}=e,I=t.g(),m=y||I,s=re(L,c),h=s.currentTabStopId===m,x=P(c),{onFocusableItemAdd:w,onFocusableItemRemove:S,currentTabStopId:d}=s;return i.useEffect(()=>{if(n)return w(),()=>S()},[n,w,S]),t.ae.jsx(M.ItemSlot,{scope:c,id:m,focusable:n,active:F,children:t.ae.jsx(t.h.span,{tabIndex:h?0:-1,"data-orientation":s.orientation,...g,ref:r,onMouseDown:t.y$1(e.onMouseDown,o=>{n?s.onItemFocus(m):o.preventDefault()}),onFocus:t.y$1(e.onFocus,()=>s.onItemFocus(m)),onKeyDown:t.y$1(e.onKeyDown,o=>{if(o.key==="Tab"&&o.shiftKey){s.onItemShiftTab();return}if(o.target!==o.currentTarget)return;const u=le(o,s.orientation,s.dir);if(u!==void 0){if(o.metaKey||o.ctrlKey||o.altKey||o.shiftKey)return;o.preventDefault();let a=x().filter(l=>l.focusable).map(l=>l.ref.current);if(u==="last")a.reverse();else if(u==="prev"||u==="next"){u==="prev"&&a.reverse();const l=a.indexOf(o.currentTarget);a=s.loop?ue(a,l+1):a.slice(l+1)}setTimeout(()=>G(a))}}),children:typeof v=="function"?v({isCurrentTabStop:h,hasTabStop:d!=null}):v})})});N.displayName=L;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ae(e,r){return r!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function le(e,r,c){const n=ae(e.key,c);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return ce[n]}function G(e,r=!1){const c=document.activeElement;for(const n of e)if(n===c||(n.focus({preventScroll:r}),document.activeElement!==c))return}function ue(e,r){return e.map((c,n)=>e[(r+n)%e.length])}var se=K,ie=N;exports.Fe=se;exports.a=Q;exports.be=te;exports.ge=ie;exports.h=$;exports.n=O;exports.t=Z;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./index-CiR6yUKf-B1h5S0LB.cjs"),I=require("react"),g=require("./createLucideIcon-B950nf2d-BaIaB_Fz.cjs"),f=require("./index-CMHo7s91-D6S6dZoG.cjs"),q=require("./utils-B6fNqzRf-BNysSCt9.cjs");function S(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const l=S(I);var C="Popover",[R,W]=o.j(C,[f.oo]),m=f.oo(),[$,c]=R(C),b=e=>{const{__scopePopover:n,children:t,open:a,defaultOpen:r,onOpenChange:s,modal:i=!1}=e,u=m(n),d=l.useRef(null),[h,x]=l.useState(!1),[P,p]=o.y({prop:a,defaultProp:r??!1,onChange:s,caller:C});return o.ae.jsx(f.io,{...u,children:o.ae.jsx($,{scope:n,contentId:o.g(),triggerRef:d,open:P,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(O=>!O),[p]),hasCustomAnchor:h,onCustomAnchorAdd:l.useCallback(()=>x(!0),[]),onCustomAnchorRemove:l.useCallback(()=>x(!1),[]),modal:i,children:t})})};b.displayName=C;var j="PopoverAnchor",z=l.forwardRef((e,n)=>{const{__scopePopover:t,...a}=e,r=c(j,t),s=m(t),{onCustomAnchorAdd:i,onCustomAnchorRemove:u}=r;return l.useEffect(()=>(i(),()=>u()),[i,u]),o.ae.jsx(f.ro,{...s,...a,ref:n})});z.displayName=j;var _="PopoverTrigger",w=l.forwardRef((e,n)=>{const{__scopePopover:t,...a}=e,r=c(_,t),s=m(t),i=o.x(n,r.triggerRef),u=o.ae.jsx(o.h.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":E(r.open),...a,ref:i,onClick:o.y$1(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?u:o.ae.jsx(f.ro,{asChild:!0,...s,children:u})});w.displayName=_;var y="PopoverPortal",[T,K]=R(y,{forceMount:void 0}),A=e=>{const{__scopePopover:n,forceMount:t,children:a,container:r}=e,s=c(y,n);return o.ae.jsx(T,{scope:n,forceMount:t,children:o.ae.jsx(o.R,{present:t||s.open,children:o.ae.jsx(g.Me,{asChild:!0,container:r,children:a})})})};A.displayName=y;var v="PopoverContent",F=l.forwardRef((e,n)=>{const t=K(v,e.__scopePopover),{forceMount:a=t.forceMount,...r}=e,s=c(v,e.__scopePopover);return o.ae.jsx(o.R,{present:a||s.open,children:s.modal?o.ae.jsx(U,{...r,ref:n}):o.ae.jsx(H,{...r,ref:n})})});F.displayName=v;var B=o.g$1("PopoverContent.RemoveScroll"),U=l.forwardRef((e,n)=>{const t=c(v,e.__scopePopover),a=l.useRef(null),r=o.x(n,a),s=l.useRef(!1);return l.useEffect(()=>{const i=a.current;if(i)return g.Rt(i)},[]),o.ae.jsx(g.dt,{as:B,allowPinchZoom:!0,children:o.ae.jsx(D,{...e,ref:r,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:o.y$1(e.onCloseAutoFocus,i=>{var u;i.preventDefault(),s.current||(u=t.triggerRef.current)==null||u.focus()}),onPointerDownOutside:o.y$1(e.onPointerDownOutside,i=>{const u=i.detail.originalEvent,d=u.button===0&&u.ctrlKey===!0,h=u.button===2||d;s.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:o.y$1(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),H=l.forwardRef((e,n)=>{const t=c(v,e.__scopePopover),a=l.useRef(!1),r=l.useRef(!1);return o.ae.jsx(D,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,u;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(a.current||(u=t.triggerRef.current)==null||u.focus(),s.preventDefault()),a.current=!1,r.current=!1},onInteractOutside:s=>{var i,u;(i=e.onInteractOutside)==null||i.call(e,s),s.defaultPrevented||(a.current=!0,s.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const d=s.target;(u=t.triggerRef.current)!=null&&u.contains(d)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&r.current&&s.preventDefault()}})}),D=l.forwardRef((e,n)=>{const{__scopePopover:t,trapFocus:a,onOpenAutoFocus:r,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:x,...P}=e,p=c(v,t),O=m(t);return g.Ct(),o.ae.jsx(g.Se,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:r,onUnmountAutoFocus:s,children:o.ae.jsx(o.M,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:x,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>p.onOpenChange(!1),children:o.ae.jsx(f.so,{"data-state":E(p.open),role:"dialog",id:p.contentId,...O,...P,ref:n,style:{...P.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),N="PopoverClose",L=l.forwardRef((e,n)=>{const{__scopePopover:t,...a}=e,r=c(N,t);return o.ae.jsx(o.h.button,{type:"button",...a,ref:n,onClick:o.y$1(e.onClick,()=>r.onOpenChange(!1))})});L.displayName=N;var X="PopoverArrow",Y=l.forwardRef((e,n)=>{const{__scopePopover:t,...a}=e,r=m(t);return o.ae.jsx(f.co,{...r,...a,ref:n})});Y.displayName=X;function E(e){return e?"open":"closed"}var Z=b,G=w,J=A,k=F;const Q=Z,V=G,M=l.forwardRef(({className:e,align:n="center",sideOffset:t=4,...a},r)=>o.ae.jsx(J,{children:o.ae.jsx(k,{ref:r,align:n,sideOffset:t,className:q.mo("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md outline-none",e),...a})}));M.displayName=k.displayName;exports.Oe=Q;exports._e=V;exports.ue=M;
|