@lanaco/lnc-react-ui 4.0.88 → 4.0.89
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/Accordion.cjs +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +1 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +4 -4
- package/dist/BlogCardsSponsoredSection.js +8 -8
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.cjs +3 -3
- package/dist/BlogListSection.js +16 -16
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +3 -3
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +3 -3
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +6 -6
- package/dist/BlogsSectionWithFilters.js +102 -97
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +1 -1
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-DSaRbYZg.js → CustomStyles-CQawr7oF.js} +1 -1
- package/dist/{CustomStyles-DzChCA5c.cjs → CustomStyles-Uqkz9jDo.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +2 -2
- package/dist/DetailedProductsSection.js +5 -5
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
- package/dist/FieldOfInterestsMasonrySection.js +67 -63
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +2 -3
- package/dist/GeneralWithTagsCardsSection.js +4 -5
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +2 -2
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.cjs +2 -2
- package/dist/Kanban.js +84 -82
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +2 -2
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +23 -23
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +3 -3
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-DG7qQq8L.cjs → index-66FyQgVV.cjs} +1 -1
- package/dist/{index-Yh18uk_f.js → index-B68jh2kW.js} +2 -2
- package/dist/{index-BVaZWq6y.cjs → index-BRgZcjpI.cjs} +1 -1
- package/dist/{index-BBPnKoi6.js → index-BT4FT6f0.js} +2 -2
- package/dist/{index-Db8wvLXS.js → index-Chju-CHz.js} +1 -1
- package/dist/{index-Ca38iPjf.js → index-Cpd68IKh.js} +1 -1
- package/dist/{index-B9HSHvhH.cjs → index-D8lR_JKg.cjs} +1 -1
- package/dist/{index-iSD5jNBk.js → index-DHQc2df3.js} +98 -46
- package/dist/{index-Ccw8sLnK.cjs → index-DMysapsB.cjs} +1 -1
- package/dist/{index-Cx4KvZ9L.cjs → index-DZDz9qZP.cjs} +47 -9
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-DALCB1S7.js → skeleton-BbYMdJpz.js} +1 -1
- package/dist/{skeleton-BBSBZ4JV.cjs → skeleton-BcaMeKFQ.cjs} +1 -1
- package/dist/{skeleton-C_Jypl8r.cjs → skeleton-DwZzdFei.cjs} +5 -5
- package/dist/{skeleton-wfDIalr3.js → skeleton-oa1ux_Zp.js} +6 -6
- package/dist/{style-xvwWn3Zv.cjs → style-B8wrlDzY.cjs} +13 -7
- package/dist/{style-sLF37aOA.js → style-R2KgPcrd.js} +17 -10
- package/dist/{suspense-categories-card-simple-5JZtz7wj.cjs → suspense-categories-card-simple-B2swGa6t.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-BTFqzXyn.js → suspense-categories-card-simple-Dkm0oojD.js} +1 -1
- package/dist/{suspense-large-DFlSJhGG.js → suspense-large-B2lY_x-y.js} +1 -1
- package/dist/{suspense-large-BtfvnzWh.cjs → suspense-large-DMhn-lIG.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-CwdbxJrY.js → suspense-product-card-detailed-5A3zYKqj.js} +2 -2
- package/dist/{suspense-product-card-detailed-DBNlkFiP.cjs → suspense-product-card-detailed-CuExvgd_.cjs} +1 -1
- package/dist/{suspense-product-card-simple--ExcEpD-.js → suspense-product-card-simple-C4qtjWg_.js} +1 -1
- package/dist/{suspense-product-card-simple-0x5sc47a.cjs → suspense-product-card-simple-zYdZVLRz.cjs} +1 -1
- package/dist/{utils-DhRHf5Ed.cjs → utils-BWzf4vLl.cjs} +1 -1
- package/dist/{utils-BE-UlkKf.js → utils-BhG1dImS.js} +4 -4
- package/package.json +1 -1
- package/dist/useEffectOnce-DFrzfNzT.cjs +0 -1
- package/dist/useEffectOnce-guOKBPuL.js +0 -7
package/dist/Kanban.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const oe=require("react/jsx-runtime"),d=require("react"),Vt=require("./index-EeoArxOx.cjs"),Q=require("./index-BPVoEhTF.cjs"),we=require("./utils-
|
|
1
|
+
"use strict";const oe=require("react/jsx-runtime"),d=require("react"),Vt=require("./index-EeoArxOx.cjs"),Q=require("./index-BPVoEhTF.cjs"),we=require("./utils-BWzf4vLl.cjs"),Zr=require("./index-gY9e_8LL.cjs"),en=require("./emotion-styled.browser.esm-BtEseadx.cjs"),zr=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),bo=require("./KanbanCard-CXRQQu4S.cjs"),Dt=require("./_commonjsHelpers-DKOUU3wS.cjs"),ii=require("./KanbanHeader.cjs"),si=require("./useUpdateEffect-BtMgpgIV.cjs");var ai=function(e){d.useEffect(e,[])};function ci(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Un=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tn(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Hr(e){return"nodeType"in e}function Ke(e){var t,n;return e?tn(e)?e:Hr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Kr(e){const{Document:t}=Ke(e);return e instanceof t}function hn(e){return tn(e)?!1:e instanceof Ke(e).HTMLElement}function yo(e){return e instanceof Ke(e).SVGElement}function nn(e){return e?tn(e)?e.document:Hr(e)?Kr(e)?e:hn(e)||yo(e)?e.ownerDocument:document:document:document}const bt=Un?d.useLayoutEffect:d.useEffect;function kn(e){const t=d.useRef(e);return bt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function li(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function gn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return bt(()=>{n.current!==e&&(n.current=e)},t),n}function pn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function jn(e){const t=kn(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function $n(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Tr={};function vn(e,t){return d.useMemo(()=>{if(t)return t;const n=Tr[e]==null?0:Tr[e]+1;return Tr[e]=n,e+"-"+n},[e,t])}function mo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const b=c[h];b!=null&&(c[h]=b+e*f)}return c},{...t})}}const Zt=mo(1),Bn=mo(-1);function ui(e){return"clientX"in e&&"clientY"in e}function Xn(e){if(!e)return!1;const{KeyboardEvent:t}=Ke(e.target);return t&&e instanceof t}function di(e){if(!e)return!1;const{TouchEvent:t}=Ke(e.target);return t&&e instanceof t}function Fn(e){if(di(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ui(e)?{x:e.clientX,y:e.clientY}:null}const Gt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Gt.Translate.toString(e),Gt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Qr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function fi(e){return e.matches(Qr)?e:e.querySelector(Qr)}const gi={display:"none"};function hi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:gi},n)}function pi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function vi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const xo=d.createContext(null);function bi(e){const t=d.useContext(xo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function yi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const mi={draggable:`
|
|
2
2
|
To pick up a draggable item, press the space bar.
|
|
3
3
|
While dragging, use the arrow keys to move the item.
|
|
4
4
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
@@ -82,4 +82,4 @@
|
|
|
82
82
|
flex-direction: ${e=>e.verticalDisplay?"column":"row"};
|
|
83
83
|
${e=>e.horizontalDisplay==!1&&"flex-wrap: wrap;"}
|
|
84
84
|
overflow: auto;
|
|
85
|
-
`,va=e=>ko({...e,wasDragging:!0}),ba={sideEffects:Ho({styles:{active:{opacity:"0.5"}}})},ya=()=>{const[e,t]=d.useState(!1);return d.useEffect(()=>{const n=setTimeout(()=>t(!0),500);return()=>clearTimeout(n)},[]),e},Fr=(e,t)=>{if(e)return we.getColorRgbaValue(t,"KanbanCard",e,"enabled","highlight")},ma=({children:e,containerId:t,columns:n=1,disabled:o,id:s,items:c,className:l,renderFooterContent:u,maxContainerHeight:h,style:f,...b})=>{var O;const{active:v,attributes:_,isDragging:w,listeners:I,over:x,setNodeRef:D,transition:A,transform:M}=Yo({id:s,data:{type:"container",children:c},animateLayoutChanges:va}),T=x?s===x.id&&((O=v==null?void 0:v.data.current)==null?void 0:O.type)!=="container"||c.includes(x.id):!1;return oe.jsx(Wo,{ref:o?void 0:D,style:{...f,transition:A,transform:Gt.Translate.toString(M),opacity:w?.5:void 0},className:l,hover:T,handleProps:{..._,...I},containerId:t,renderFooterContent:u,maxContainerHeight:h,...b,children:e})},xa=({disabled:e,id:t,item:n,index:o,renderItem:s,style:c={},containerId:l,getIndex:u,wrapperStyle:h,cardProps:f,theme:b,renderContent:v,color:_})=>{const{setNodeRef:w,setActivatorNodeRef:I,listeners:x,isDragging:D,isSorting:A,over:M,overIndex:T,transform:O,transition:L,attributes:N}=Yo({id:t}),P=ya(),$=D&&!P;return oe.jsx(Br,{ref:e?void 0:w,cardProps:f,value:t,dragging:D,sorting:A,handle:(f==null?void 0:f.handle)!==!1,handleProps:{...N,...x},index:o,wrapperStyle:h({index:o}),style:{...c,index:o,value:t,isDragging:D,isSorting:A,overIndex:M?u(M.id):T,containerId:l},color:Fr(n==null?void 0:n.color,b),transition:L,transform:O,fadeIn:$,listeners:x,renderItem:s,children:v(n==null?void 0:n.content,t,{...f,handleProps:{...N,...x},item:n,containerId:l})})},qo=d.forwardRef((e,t)=>{const{horizontalDisplay:n=!1,verticalDisplay:o=!1,adjustScale:s=!1,itemCount:c=5,cancelDrop:l,columns:u,handle:h=!1,containerStyle:f,coordinateGetter:b=Vs,getItemStyles:v=m=>({...m}),wrapperStyle:_=m=>({...m}),minimal:w=!1,modifiers:I,renderItem:x,strategy:D=ho,scrollable:A,maxContainerHeight:M,cardProps:T,headerProps:O,footerProps:L,data:N=[],columnInfo:P={},onColumnMoved:$=()=>{},onCardMoved:Y=()=>{},onCardChangedColumns:W=()=>{},color:K="primary",size:ie="small",children:ee,...Se}=e,Ge=zr.useTheme(),[k,te]=d.useState(()=>N??{A:vo(c,m=>`A${m+1}`),B:vo(c,m=>`B${m+1}`)}),[Ue,_e]=d.useState(Object.keys(N)),[B,ke]=d.useState(null),ne=d.useRef(null),Z=d.useRef(!1),Xe=B?Ue.includes(B):!1,nt=d.useCallback(m=>{var U;if(B&&B in k)return to({...m,droppableContainers:m.droppableContainers.filter(re=>re.id in k)});const C=Ai(m),F=C.length>0?C:wo(m);let V=kr(F,"id");if(V!=null){if(V in k){const re=k[V];re.length>0&&(V=(U=to({...m,droppableContainers:m.droppableContainers.filter(ae=>ae.id!==V&&re.map(ce=>ce.id).includes(ae.id))})[0])==null?void 0:U.id)}return ne.current=V,[{id:V}]}return Z.current&&(ne.current=B),ne.current?[{id:ne.current}]:[]},[B,k]),[se,dt]=d.useState([]),Ye=Ci(Or(No),Or(Po),Or(Wr,{coordinateGetter:b}));
|
|
85
|
+
`,va=e=>ko({...e,wasDragging:!0}),ba={sideEffects:Ho({styles:{active:{opacity:"0.5"}}})},ya=()=>{const[e,t]=d.useState(!1);return d.useEffect(()=>{const n=setTimeout(()=>t(!0),500);return()=>clearTimeout(n)},[]),e},Fr=(e,t)=>{if(e)return we.getColorRgbaValue(t,"KanbanCard",e,"enabled","highlight")},ma=({children:e,containerId:t,columns:n=1,disabled:o,id:s,items:c,className:l,renderFooterContent:u,maxContainerHeight:h,style:f,...b})=>{var O;const{active:v,attributes:_,isDragging:w,listeners:I,over:x,setNodeRef:D,transition:A,transform:M}=Yo({id:s,data:{type:"container",children:c},animateLayoutChanges:va}),T=x?s===x.id&&((O=v==null?void 0:v.data.current)==null?void 0:O.type)!=="container"||c.includes(x.id):!1;return oe.jsx(Wo,{ref:o?void 0:D,style:{...f,transition:A,transform:Gt.Translate.toString(M),opacity:w?.5:void 0},className:l,hover:T,handleProps:{..._,...I},containerId:t,renderFooterContent:u,maxContainerHeight:h,...b,children:e})},xa=({disabled:e,id:t,item:n,index:o,renderItem:s,style:c={},containerId:l,getIndex:u,wrapperStyle:h,cardProps:f,theme:b,renderContent:v,color:_})=>{const{setNodeRef:w,setActivatorNodeRef:I,listeners:x,isDragging:D,isSorting:A,over:M,overIndex:T,transform:O,transition:L,attributes:N}=Yo({id:t}),P=ya(),$=D&&!P;return oe.jsx(Br,{ref:e?void 0:w,cardProps:f,value:t,dragging:D,sorting:A,handle:(f==null?void 0:f.handle)!==!1,handleProps:{...N,...x},index:o,wrapperStyle:h({index:o}),style:{...c,index:o,value:t,isDragging:D,isSorting:A,overIndex:M?u(M.id):T,containerId:l},color:Fr(n==null?void 0:n.color,b),transition:L,transform:O,fadeIn:$,listeners:x,renderItem:s,children:v(n==null?void 0:n.content,t,{...f,handleProps:{...N,...x},item:n,containerId:l})})},qo=d.forwardRef((e,t)=>{const{horizontalDisplay:n=!1,verticalDisplay:o=!1,adjustScale:s=!1,itemCount:c=5,cancelDrop:l,columns:u,handle:h=!1,containerStyle:f,coordinateGetter:b=Vs,getItemStyles:v=m=>({...m}),wrapperStyle:_=m=>({...m}),minimal:w=!1,modifiers:I,renderItem:x,strategy:D=ho,scrollable:A,maxContainerHeight:M,cardProps:T,headerProps:O,footerProps:L,data:N=[],columnInfo:P={},onColumnMoved:$=()=>{},onCardMoved:Y=()=>{},onCardChangedColumns:W=()=>{},color:K="primary",size:ie="small",children:ee,...Se}=e,Ge=zr.useTheme(),[k,te]=d.useState(()=>N??{A:vo(c,m=>`A${m+1}`),B:vo(c,m=>`B${m+1}`)}),[Ue,_e]=d.useState(Object.keys(N)),[B,ke]=d.useState(null),ne=d.useRef(null),Z=d.useRef(!1),Xe=B?Ue.includes(B):!1,nt=d.useCallback(m=>{var U;if(B&&B in k)return to({...m,droppableContainers:m.droppableContainers.filter(re=>re.id in k)});const C=Ai(m),F=C.length>0?C:wo(m);let V=kr(F,"id");if(V!=null){if(V in k){const re=k[V];re.length>0&&(V=(U=to({...m,droppableContainers:m.droppableContainers.filter(ae=>ae.id!==V&&re.map(ce=>ce.id).includes(ae.id))})[0])==null?void 0:U.id)}return ne.current=V,[{id:V}]}return Z.current&&(ne.current=B),ne.current?[{id:ne.current}]:[]},[B,k]),[se,dt]=d.useState([]),Ye=Ci(Or(No),Or(Po),Or(Wr,{coordinateGetter:b}));ai(()=>{te(N),_e(Object.keys(N))}),si.useUpdateEffect(()=>{te(N),_e(Object.keys(N))},[N]),d.useEffect(()=>{requestAnimationFrame(()=>{Z.current=!1})},[k]);const fe=m=>m in k?m:Object.keys(k).find(C=>k[C].map(F=>F.id).includes(m)),G=m=>{const C=fe(m);return C?Xt(k[C],F=>F.id==m):-1},rt=()=>{se&&te(se),ke(null),dt(null)},Te=m=>{ke(m.active.id),dt(k)},ot=m=>{const{active:C,over:F}=m,V=F==null?void 0:F.id;if(V==null||C.id in k)return;const U=fe(V),re=fe(C.id);!U||!re||re!==U&&te(ae=>{const ce=ae[re],ge=ae[U],pe=Xt(ge,je=>je.id==V),ft=Xt(ce,je=>je.id==C.id);let le;if(V in ae)le=ge.length+1;else{const Rt=F&&C.rect.current.translated&&C.rect.current.translated.top>F.rect.top+F.rect.height?1:0;le=pe>=0?pe+Rt:ge.length+1}return W(C.id),Z.current=!0,{...ae,[re]:ae[re].filter(je=>je.id!=C.id),[U]:[...ae[U].slice(0,le),ae[re][ft],...ae[U].slice(le,ae[U].length)]}})},z=m=>{const{active:C,over:F}=m;var V=!1,U=fa(k);C.id in k&&(F!=null&&F.id)&&_e(ue=>{V=!0;const de=ue.indexOf(C.id),$e=ue.indexOf(F.id);var Ze=fn(ue,de,$e);return C.id!==F.id&&$(m,Ze),Ze});const re=fe(C.id);if(!re){ke(null);return}const ae=F==null?void 0:F.id;if(ae==null){ke(null);return}const ce=fe(ae);if(ce){const ue=Xt(k[re],$e=>$e.id==C.id),de=Xt(k[ce],$e=>$e.id==ae);ue!==de&&(U={...U,[ce]:fn(U[ce],ue,de)},te($e=>({...$e,[ce]:fn($e[ce],ue,de)})))}if(!V){var ge,pe=null,ft,le=-1,je=Object.keys(se),Rt=Object.keys(U);je.forEach(ue=>{if(se[ue].map(de=>de.id.toString()).includes(C.id.toString())){ge=ue,ft=Xt(se[ue],de=>de.id==C.id);return}}),Rt.forEach(ue=>{if(U[ue].map(de=>de.id.toString()).includes(C.id.toString())){pe=ue,le=Xt(U[ue],de=>de.id==C.id);return}}),ge===pe&&ft!==le&&Y(m,U,pe),ge!==pe&&W(m,U,pe,ge)}ke(null)},Ve=m=>{var C=null;return Ue.forEach(F=>{k[F].forEach(V=>{if(V.id==m){C=V;return}})}),oe.jsx(Br,{value:m,handle:h,cardProps:T,style:v({containerId:fe(m),overIndex:-1,index:G(m),value:m,isSorting:!0,isDragging:!0,isDragOverlay:!0}),color:Fr(C==null?void 0:C.color,Ge),wrapperStyle:_({index:0}),renderItem:x,dragOverlay:!0,children:it(C==null?void 0:C.content,m,{...T,item:C})||{name:m}})},Le=m=>oe.jsx(Wo,{label:mt(m),columns:u,style:{height:"100%"},shadow:!0,unstyled:!1,containerId:m,renderFooterContent:Oe,children:k[m].map((C,F)=>oe.jsx(Br,{cardProps:T,value:C.id,handle:h,style:v({containerId:m,overIndex:-1,index:G(C),value:C,isDragging:!1,isSorting:!1,isDragOverlay:!1}),color:Fr(C==null?void 0:C.color,Ge),wrapperStyle:_({index:F}),renderItem:x,children:it(C==null?void 0:C.content,C==null?void 0:C.id,{...T,item:C,containerId:m})},C.id))}),mt=m=>{let C=u==null?void 0:u.find(F=>F.id==(m==null?void 0:m.toString()));return we.renderCustomElement(we.getCustomRenderById("KANBAN_HEADER",m,ee),{...O,item:{[m]:k[m]},column:C},C==null?void 0:C.header,!0)||we.renderCustomElement(we.getCustomRenderById("KANBAN_HEADER",null,ee),{...O,item:{[m]:k[m]},column:C},C==null?void 0:C.header,!0)||oe.jsx(ii,{id:m,color:K,size:ie,item:{[m]:k[m]},column:C,...O,children:C==null?void 0:C.header})},Oe=m=>we.renderCustomElement(we.getCustomRenderById("KANBAN_FOOTER",m,ee),{...L,id:m},null)||we.renderCustomElement(we.getCustomRenderById("KANBAN_FOOTER",null,ee),{...L,id:m},null),it=(m,C,F)=>we.renderCustomElement(we.getCustomRenderById("KANBAN_CARD",C,ee),{...F},m,!0)||we.renderCustomElement(we.getCustomRenderById("KANBAN_CARD",null,ee),{...F},m,!0)||oe.jsx(bo.KanbanCard,{color:K,size:ie,...F,children:m});return oe.jsx(ha,{ref:t,...Se,children:oe.jsxs(ys,{measuring:{droppable:{strategy:Qt.Always}},sensors:Ye,collisionDetection:nt,modifiers:I,cancelDrop:l,onDragCancel:rt,onDragStart:Te,onDragOver:ot,onDragEnd:z,children:[oe.jsx(pa,{horizontalDisplay:n,verticalDisplay:o,children:oe.jsx(po,{items:[...Ue],strategy:o?ho:zs,children:Ue.map(m=>oe.jsx(ma,{id:m,label:w?void 0:mt(m),items:k[m],color:K,scrollable:A,style:f,unstyled:w,containerId:m,renderFooterContent:Oe,maxContainerHeight:M,...O,children:oe.jsx(po,{items:k[m],strategy:D,children:k[m].map((C,F)=>oe.jsx(xa,{disabled:Xe||(C==null?void 0:C.disabled),id:C.id,item:C,index:F,style:v,wrapperStyle:_,renderItem:x,containerId:m,getIndex:G,cardProps:T,theme:Ge,renderContent:it},C.id))})},m))})}),Vt.reactDomExports.createPortal(oe.jsx(js,{adjustScale:s,dropAnimation:ba,children:B?Ue.includes(B)?Le(B):Ve(B):null}),document.body)]})})});qo.propTypes={horizontalDisplay:Q.PropTypes.bool,verticalDisplay:Q.PropTypes.bool,adjustScale:Q.PropTypes.bool,itemCount:Q.PropTypes.bool,cancelDrop:Q.PropTypes.func,columns:Q.PropTypes.array,handle:Q.PropTypes.bool,getItemStyles:Q.PropTypes.func,wrapperStyle:Q.PropTypes.func,minimal:Q.PropTypes.bool,renderItem:Q.PropTypes.func,scrollable:Q.PropTypes.bool,cardProps:Q.PropTypes.any,headerProps:Q.PropTypes.any,footerProps:Q.PropTypes.any,data:Q.PropTypes.object,columnInfo:Q.PropTypes.object,onColumnMoved:Q.PropTypes.func,onCardMoved:Q.PropTypes.func,onCardChangedColumns:Q.PropTypes.func,maxContainerHeight:Q.PropTypes.string,className:Q.PropTypes.string,style:Q.PropTypes.object,color:Q.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:Q.PropTypes.oneOf(["small","medium","large"])};module.exports=qo;
|
package/dist/Kanban.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { jsx as xe, jsxs as Xn } from "react/jsx-runtime";
|
|
2
|
-
import ae, {
|
|
2
|
+
import ae, { useEffect as k, useLayoutEffect as vi, useRef as V, useMemo as Q, useCallback as Ne, useState as be, createContext as Cn, memo as Oo, useReducer as bi, useContext as Wt, forwardRef as er, cloneElement as yi } from "react";
|
|
3
3
|
import { r as on } from "./index-64mXPFBC.js";
|
|
4
4
|
import { P as te } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import { b as sn, r as nn, z as rn } from "./utils-
|
|
5
|
+
import { b as sn, r as nn, z as rn } from "./utils-BhG1dImS.js";
|
|
6
6
|
import { c as lo } from "./index-Bq3leL2e.js";
|
|
7
7
|
import { s as ln } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
8
|
import { u as Vr } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
import { H as mi, K as wi } from "./KanbanCard-CIscpYlR.js";
|
|
10
10
|
import { c as Yt, g as Eo } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
11
11
|
import xi from "./KanbanHeader.js";
|
|
12
|
-
import { u as Ci } from "./
|
|
13
|
-
|
|
12
|
+
import { u as Ci } from "./useUpdateEffect-CuYWz7EA.js";
|
|
13
|
+
var _i = function(e) {
|
|
14
|
+
k(e, []);
|
|
15
|
+
};
|
|
14
16
|
function Si() {
|
|
15
17
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
16
18
|
t[n] = arguments[n];
|
|
@@ -50,7 +52,7 @@ function To(e) {
|
|
|
50
52
|
function dn(e) {
|
|
51
53
|
return e ? un(e) ? e.document : Zr(e) ? Qr(e) ? e : _n(e) || To(e) ? e.ownerDocument : document : document : document;
|
|
52
54
|
}
|
|
53
|
-
const xt = tr ? vi :
|
|
55
|
+
const xt = tr ? vi : k;
|
|
54
56
|
function nr(e) {
|
|
55
57
|
const t = V(e);
|
|
56
58
|
return xt(() => {
|
|
@@ -99,7 +101,7 @@ function Yn(e) {
|
|
|
99
101
|
}
|
|
100
102
|
function Wn(e) {
|
|
101
103
|
const t = V();
|
|
102
|
-
return
|
|
104
|
+
return k(() => {
|
|
103
105
|
t.current = e;
|
|
104
106
|
}, [e]), t.current;
|
|
105
107
|
}
|
|
@@ -271,7 +273,7 @@ function Ni() {
|
|
|
271
273
|
const No = /* @__PURE__ */ Cn(null);
|
|
272
274
|
function Mi(e) {
|
|
273
275
|
const t = Wt(No);
|
|
274
|
-
|
|
276
|
+
k(() => {
|
|
275
277
|
if (!t)
|
|
276
278
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
277
279
|
return t(e);
|
|
@@ -335,7 +337,7 @@ function Bi(e) {
|
|
|
335
337
|
announce: c,
|
|
336
338
|
announcement: l
|
|
337
339
|
} = Ni(), u = Dn("DndLiveRegion"), [g, d] = be(!1);
|
|
338
|
-
if (
|
|
340
|
+
if (k(() => {
|
|
339
341
|
d(!0);
|
|
340
342
|
}, []), Mi(Q(() => ({
|
|
341
343
|
onDragStart(p) {
|
|
@@ -1396,7 +1398,7 @@ function ua(e) {
|
|
|
1396
1398
|
const M = S.current.x * R.current.x, $ = S.current.y * R.current.y;
|
|
1397
1399
|
N.scrollBy(M, $);
|
|
1398
1400
|
}, []), P = Q(() => u === Vn.TreeOrder ? [...d].reverse() : d, [u, d]);
|
|
1399
|
-
|
|
1401
|
+
k(
|
|
1400
1402
|
() => {
|
|
1401
1403
|
if (!c || !d.length || !I) {
|
|
1402
1404
|
m();
|
|
@@ -1541,21 +1543,21 @@ function pa(e, t) {
|
|
|
1541
1543
|
}
|
|
1542
1544
|
return R;
|
|
1543
1545
|
}, [e, c, n, p, g]);
|
|
1544
|
-
return
|
|
1546
|
+
return k(() => {
|
|
1545
1547
|
v.current = e;
|
|
1546
|
-
}, [e]),
|
|
1548
|
+
}, [e]), k(
|
|
1547
1549
|
() => {
|
|
1548
1550
|
p || w();
|
|
1549
1551
|
},
|
|
1550
1552
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1551
1553
|
[n, p]
|
|
1552
|
-
),
|
|
1554
|
+
), k(
|
|
1553
1555
|
() => {
|
|
1554
1556
|
c && c.length > 0 && l(null);
|
|
1555
1557
|
},
|
|
1556
1558
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1557
1559
|
[JSON.stringify(c)]
|
|
1558
|
-
),
|
|
1560
|
+
), k(
|
|
1559
1561
|
() => {
|
|
1560
1562
|
p || typeof u != "number" || T.current !== null || (T.current = setTimeout(() => {
|
|
1561
1563
|
w(), T.current = null;
|
|
@@ -1598,7 +1600,7 @@ function ba(e) {
|
|
|
1598
1600
|
} = window;
|
|
1599
1601
|
return new c(o);
|
|
1600
1602
|
}, [o, n]);
|
|
1601
|
-
return
|
|
1603
|
+
return k(() => () => a == null ? void 0 : a.disconnect(), [a]), a;
|
|
1602
1604
|
}
|
|
1603
1605
|
function or(e) {
|
|
1604
1606
|
let {
|
|
@@ -1617,7 +1619,7 @@ function or(e) {
|
|
|
1617
1619
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1618
1620
|
[n]
|
|
1619
1621
|
);
|
|
1620
|
-
return
|
|
1622
|
+
return k(() => () => a == null ? void 0 : a.disconnect(), [a]), a;
|
|
1621
1623
|
}
|
|
1622
1624
|
function ya(e) {
|
|
1623
1625
|
return new oo(fn(e), e);
|
|
@@ -1668,7 +1670,7 @@ function ma(e) {
|
|
|
1668
1670
|
const wo = [];
|
|
1669
1671
|
function wa(e) {
|
|
1670
1672
|
const t = V(e), n = Sn((o) => e ? o && o !== wo && e && t.current && e.parentNode === t.current.parentNode ? o : ro(e) : wo, [e]);
|
|
1671
|
-
return
|
|
1673
|
+
return k(() => {
|
|
1672
1674
|
t.current = e;
|
|
1673
1675
|
}, [e]), n;
|
|
1674
1676
|
}
|
|
@@ -1677,7 +1679,7 @@ function xa(e) {
|
|
|
1677
1679
|
const l = Kr(c.target);
|
|
1678
1680
|
l && n((u) => u ? (u.set(l, Yr(l)), new Map(u)) : null);
|
|
1679
1681
|
}, []);
|
|
1680
|
-
return
|
|
1682
|
+
return k(() => {
|
|
1681
1683
|
const c = o.current;
|
|
1682
1684
|
if (e !== c) {
|
|
1683
1685
|
l(c);
|
|
@@ -1703,19 +1705,19 @@ function xa(e) {
|
|
|
1703
1705
|
function xo(e, t) {
|
|
1704
1706
|
t === void 0 && (t = []);
|
|
1705
1707
|
const n = V(null);
|
|
1706
|
-
return
|
|
1708
|
+
return k(
|
|
1707
1709
|
() => {
|
|
1708
1710
|
n.current = null;
|
|
1709
1711
|
},
|
|
1710
1712
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1711
1713
|
t
|
|
1712
|
-
),
|
|
1714
|
+
), k(() => {
|
|
1713
1715
|
const o = e !== Ct;
|
|
1714
1716
|
o && !n.current && (n.current = e), !o && n.current && (n.current = null);
|
|
1715
1717
|
}, [e]), n.current ? kn(e, n.current) : Ct;
|
|
1716
1718
|
}
|
|
1717
1719
|
function Ca(e) {
|
|
1718
|
-
|
|
1720
|
+
k(
|
|
1719
1721
|
() => {
|
|
1720
1722
|
if (!tr)
|
|
1721
1723
|
return;
|
|
@@ -2007,7 +2009,7 @@ function Ia(e) {
|
|
|
2007
2009
|
activatorEvent: o,
|
|
2008
2010
|
draggableNodes: a
|
|
2009
2011
|
} = Wt(An), c = Wn(o), l = Wn(n == null ? void 0 : n.id);
|
|
2010
|
-
return
|
|
2012
|
+
return k(() => {
|
|
2011
2013
|
if (!t && !o && c && l != null) {
|
|
2012
2014
|
if (!rr(c) || document.activeElement === c.target)
|
|
2013
2015
|
return;
|
|
@@ -2133,11 +2135,11 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2133
2135
|
initial: null,
|
|
2134
2136
|
translated: null
|
|
2135
2137
|
}), ne = Q(() => {
|
|
2136
|
-
var
|
|
2138
|
+
var q;
|
|
2137
2139
|
return M != null ? {
|
|
2138
2140
|
id: M,
|
|
2139
2141
|
// It's possible for the active node to unmount while dragging
|
|
2140
|
-
data: (
|
|
2142
|
+
data: (q = H == null ? void 0 : H.data) != null ? q : Ra,
|
|
2141
2143
|
rect: se
|
|
2142
2144
|
} : null;
|
|
2143
2145
|
}, [M, H]), Ae = V(null), [We, G] = be(null), [re, ke] = be(null), Re = xn(T, Object.values(T)), B = Dn("DndDescribedBy", l), qe = Q(() => W.getEnabled(), [W]), oe = Na(_), {
|
|
@@ -2195,7 +2197,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2195
2197
|
droppableContainers: qe,
|
|
2196
2198
|
pointerCoordinates: Z
|
|
2197
2199
|
}) : null, vt = no(ye, "id"), [de, ze] = be(null), Et = _t ? j : an(j, le), fe = Xi(Et, (c = de == null ? void 0 : de.rect) != null ? c : null, K), ge = V(null), He = Ne(
|
|
2198
|
-
(
|
|
2200
|
+
(q, Oe) => {
|
|
2199
2201
|
let {
|
|
2200
2202
|
sensor: _e,
|
|
2201
2203
|
options: rt
|
|
@@ -2205,7 +2207,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2205
2207
|
const Le = $.get(Ae.current);
|
|
2206
2208
|
if (!Le)
|
|
2207
2209
|
return;
|
|
2208
|
-
const Ee =
|
|
2210
|
+
const Ee = q.nativeEvent, Ue = new _e({
|
|
2209
2211
|
active: Ae.current,
|
|
2210
2212
|
activeNode: Le,
|
|
2211
2213
|
event: Ee,
|
|
@@ -2213,26 +2215,26 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2213
2215
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
2214
2216
|
// otherwise they are frozen in time with the stale arguments
|
|
2215
2217
|
context: Me,
|
|
2216
|
-
onAbort(
|
|
2217
|
-
if (!$.get(
|
|
2218
|
+
onAbort(J) {
|
|
2219
|
+
if (!$.get(J))
|
|
2218
2220
|
return;
|
|
2219
2221
|
const {
|
|
2220
2222
|
onDragAbort: Be
|
|
2221
2223
|
} = Re.current, Ge = {
|
|
2222
|
-
id:
|
|
2224
|
+
id: J
|
|
2223
2225
|
};
|
|
2224
2226
|
Be == null || Be(Ge), I({
|
|
2225
2227
|
type: "onDragAbort",
|
|
2226
2228
|
event: Ge
|
|
2227
2229
|
});
|
|
2228
2230
|
},
|
|
2229
|
-
onPending(
|
|
2230
|
-
if (!$.get(
|
|
2231
|
+
onPending(J, $e, Be, Ge) {
|
|
2232
|
+
if (!$.get(J))
|
|
2231
2233
|
return;
|
|
2232
2234
|
const {
|
|
2233
2235
|
onDragPending: ot
|
|
2234
2236
|
} = Re.current, ve = {
|
|
2235
|
-
id:
|
|
2237
|
+
id: J,
|
|
2236
2238
|
constraint: $e,
|
|
2237
2239
|
initialCoordinates: Be,
|
|
2238
2240
|
offset: Ge
|
|
@@ -2242,7 +2244,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2242
2244
|
event: ve
|
|
2243
2245
|
});
|
|
2244
2246
|
},
|
|
2245
|
-
onStart(
|
|
2247
|
+
onStart(J) {
|
|
2246
2248
|
const $e = Ae.current;
|
|
2247
2249
|
if ($e == null)
|
|
2248
2250
|
return;
|
|
@@ -2262,7 +2264,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2262
2264
|
on.unstable_batchedUpdates(() => {
|
|
2263
2265
|
Ge == null || Ge(yt), P(Xt.Initializing), R({
|
|
2264
2266
|
type: Ce.DragStart,
|
|
2265
|
-
initialCoordinates:
|
|
2267
|
+
initialCoordinates: J,
|
|
2266
2268
|
active: $e
|
|
2267
2269
|
}), I({
|
|
2268
2270
|
type: "onDragStart",
|
|
@@ -2270,17 +2272,17 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2270
2272
|
}), G(ge.current), ke(Ee);
|
|
2271
2273
|
});
|
|
2272
2274
|
},
|
|
2273
|
-
onMove(
|
|
2275
|
+
onMove(J) {
|
|
2274
2276
|
R({
|
|
2275
2277
|
type: Ce.DragMove,
|
|
2276
|
-
coordinates:
|
|
2278
|
+
coordinates: J
|
|
2277
2279
|
});
|
|
2278
2280
|
},
|
|
2279
2281
|
onEnd: bt(Ce.DragEnd),
|
|
2280
2282
|
onCancel: bt(Ce.DragCancel)
|
|
2281
2283
|
});
|
|
2282
2284
|
ge.current = Ue;
|
|
2283
|
-
function bt(
|
|
2285
|
+
function bt(J) {
|
|
2284
2286
|
return async function() {
|
|
2285
2287
|
const {
|
|
2286
2288
|
active: Be,
|
|
@@ -2299,13 +2301,13 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2299
2301
|
collisions: Ge,
|
|
2300
2302
|
delta: ot,
|
|
2301
2303
|
over: yt
|
|
2302
|
-
},
|
|
2304
|
+
}, J === Ce.DragEnd && typeof Tt == "function" && await Promise.resolve(Tt(ve)) && (J = Ce.DragCancel);
|
|
2303
2305
|
}
|
|
2304
2306
|
Ae.current = null, on.unstable_batchedUpdates(() => {
|
|
2305
2307
|
R({
|
|
2306
|
-
type:
|
|
2308
|
+
type: J
|
|
2307
2309
|
}), P(Xt.Uninitialized), ze(null), G(null), ke(null), ge.current = null;
|
|
2308
|
-
const Tt =
|
|
2310
|
+
const Tt = J === Ce.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2309
2311
|
if (ve) {
|
|
2310
2312
|
const qt = Re.current[Tt];
|
|
2311
2313
|
qt == null || qt(ve), I({
|
|
@@ -2319,7 +2321,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2319
2321
|
},
|
|
2320
2322
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2321
2323
|
[$]
|
|
2322
|
-
), nt = Ne((
|
|
2324
|
+
), nt = Ne((q, Oe) => (_e, rt) => {
|
|
2323
2325
|
const Le = _e.nativeEvent, Ee = $.get(rt);
|
|
2324
2326
|
if (
|
|
2325
2327
|
// Another sensor is already instantiating
|
|
@@ -2331,16 +2333,16 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2331
2333
|
const Ue = {
|
|
2332
2334
|
active: Ee
|
|
2333
2335
|
};
|
|
2334
|
-
|
|
2336
|
+
q(_e, Oe.options, Ue) === !0 && (Le.dndKit = {
|
|
2335
2337
|
capturedBy: Oe.sensor
|
|
2336
2338
|
}, Ae.current = rt, He(_e, Oe));
|
|
2337
2339
|
}, [$, He]), ut = ha(v, nt);
|
|
2338
2340
|
Ca(v), xt(() => {
|
|
2339
2341
|
K && E === Xt.Initializing && P(Xt.Initialized);
|
|
2340
|
-
}, [K, E]),
|
|
2342
|
+
}, [K, E]), k(
|
|
2341
2343
|
() => {
|
|
2342
2344
|
const {
|
|
2343
|
-
onDragMove:
|
|
2345
|
+
onDragMove: q
|
|
2344
2346
|
} = Re.current, {
|
|
2345
2347
|
active: Oe,
|
|
2346
2348
|
activatorEvent: _e,
|
|
@@ -2360,7 +2362,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2360
2362
|
over: Le
|
|
2361
2363
|
};
|
|
2362
2364
|
on.unstable_batchedUpdates(() => {
|
|
2363
|
-
|
|
2365
|
+
q == null || q(Ee), I({
|
|
2364
2366
|
type: "onDragMove",
|
|
2365
2367
|
event: Ee
|
|
2366
2368
|
});
|
|
@@ -2368,16 +2370,16 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2368
2370
|
},
|
|
2369
2371
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2370
2372
|
[ue.x, ue.y]
|
|
2371
|
-
),
|
|
2373
|
+
), k(
|
|
2372
2374
|
() => {
|
|
2373
2375
|
const {
|
|
2374
|
-
active:
|
|
2376
|
+
active: q,
|
|
2375
2377
|
activatorEvent: Oe,
|
|
2376
2378
|
collisions: _e,
|
|
2377
2379
|
droppableContainers: rt,
|
|
2378
2380
|
scrollAdjustedTranslate: Le
|
|
2379
2381
|
} = Me.current;
|
|
2380
|
-
if (!
|
|
2382
|
+
if (!q || Ae.current == null || !Oe || !Le)
|
|
2381
2383
|
return;
|
|
2382
2384
|
const {
|
|
2383
2385
|
onDragOver: Ee
|
|
@@ -2386,8 +2388,8 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2386
2388
|
rect: Ue.rect.current,
|
|
2387
2389
|
data: Ue.data,
|
|
2388
2390
|
disabled: Ue.disabled
|
|
2389
|
-
} : null,
|
|
2390
|
-
active:
|
|
2391
|
+
} : null, J = {
|
|
2392
|
+
active: q,
|
|
2391
2393
|
activatorEvent: Oe,
|
|
2392
2394
|
collisions: _e,
|
|
2393
2395
|
delta: {
|
|
@@ -2397,9 +2399,9 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2397
2399
|
over: bt
|
|
2398
2400
|
};
|
|
2399
2401
|
on.unstable_batchedUpdates(() => {
|
|
2400
|
-
ze(bt), Ee == null || Ee(
|
|
2402
|
+
ze(bt), Ee == null || Ee(J), I({
|
|
2401
2403
|
type: "onDragOver",
|
|
2402
|
-
event:
|
|
2404
|
+
event: J
|
|
2403
2405
|
});
|
|
2404
2406
|
});
|
|
2405
2407
|
},
|
|
@@ -2478,7 +2480,7 @@ const Pa = /* @__PURE__ */ Oo(function(t) {
|
|
|
2478
2480
|
hiddenTextDescribedById: B
|
|
2479
2481
|
}));
|
|
2480
2482
|
function Ke() {
|
|
2481
|
-
const
|
|
2483
|
+
const q = (We == null ? void 0 : We.autoScrollEnabled) === !1, Oe = typeof g == "object" ? g.enabled === !1 : g === !1, _e = N && !q && !Oe;
|
|
2482
2484
|
return typeof g == "object" ? {
|
|
2483
2485
|
...g,
|
|
2484
2486
|
enabled: _e
|
|
@@ -2588,9 +2590,9 @@ function za(e) {
|
|
|
2588
2590
|
}), E = Ne(($, Y) => {
|
|
2589
2591
|
O && (Y && (O.unobserve(Y), p.current = !1), $ && O.observe($));
|
|
2590
2592
|
}, [O]), [P, N] = Yn(E), M = xn(t);
|
|
2591
|
-
return
|
|
2593
|
+
return k(() => {
|
|
2592
2594
|
!O || !P.current || (O.disconnect(), p.current = !1, O.observe(P.current));
|
|
2593
|
-
}, [P, O]),
|
|
2595
|
+
}, [P, O]), k(
|
|
2594
2596
|
() => (u({
|
|
2595
2597
|
type: Ce.RegisterDroppable,
|
|
2596
2598
|
element: {
|
|
@@ -2608,7 +2610,7 @@ function za(e) {
|
|
|
2608
2610
|
})),
|
|
2609
2611
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2610
2612
|
[o]
|
|
2611
|
-
),
|
|
2613
|
+
), k(() => {
|
|
2612
2614
|
n !== v.current.disabled && (u({
|
|
2613
2615
|
type: Ce.SetDroppableDisabled,
|
|
2614
2616
|
id: o,
|
|
@@ -3068,7 +3070,7 @@ function Ao(e) {
|
|
|
3068
3070
|
} = Zo(), p = Dn(ti, n), _ = u.rect !== null, w = Q(() => o.map((N) => typeof N == "object" && "id" in N ? N.id : N), [o]), T = l != null, m = l ? w.indexOf(l.id) : -1, S = d ? w.indexOf(d.id) : -1, R = V(w), I = !es(w, R.current), O = S !== -1 && m === -1 || I, E = ts(c);
|
|
3069
3071
|
xt(() => {
|
|
3070
3072
|
I && T && v(w);
|
|
3071
|
-
}, [I, w, T, v]),
|
|
3073
|
+
}, [I, w, T, v]), k(() => {
|
|
3072
3074
|
R.current = w;
|
|
3073
3075
|
}, [w]);
|
|
3074
3076
|
const P = Q(
|
|
@@ -3145,7 +3147,7 @@ function ls(e) {
|
|
|
3145
3147
|
}
|
|
3146
3148
|
}
|
|
3147
3149
|
n !== u.current && (u.current = n);
|
|
3148
|
-
}, [t, n, o, a]),
|
|
3150
|
+
}, [t, n, o, a]), k(() => {
|
|
3149
3151
|
c && l(null);
|
|
3150
3152
|
}, [c]), c;
|
|
3151
3153
|
}
|
|
@@ -3245,9 +3247,9 @@ function ii(e) {
|
|
|
3245
3247
|
node: $,
|
|
3246
3248
|
rect: M
|
|
3247
3249
|
});
|
|
3248
|
-
return
|
|
3250
|
+
return k(() => {
|
|
3249
3251
|
oe && K.current.newIndex !== Ve && (K.current.newIndex = Ve), p !== K.current.containerId && (K.current.containerId = p), v !== K.current.items && (K.current.items = v);
|
|
3250
|
-
}, [oe, Ve, p, v]),
|
|
3252
|
+
}, [oe, Ve, p, v]), k(() => {
|
|
3251
3253
|
if (he === K.current.activeId)
|
|
3252
3254
|
return;
|
|
3253
3255
|
if (he && !K.current.activeId) {
|
|
@@ -3429,7 +3431,7 @@ const fs = [
|
|
|
3429
3431
|
...P
|
|
3430
3432
|
}, N) => {
|
|
3431
3433
|
const M = Vr();
|
|
3432
|
-
return
|
|
3434
|
+
return k(() => {
|
|
3433
3435
|
if (n)
|
|
3434
3436
|
return document.body.style.cursor = "grabbing", () => {
|
|
3435
3437
|
document.body.style.cursor = "";
|
|
@@ -3697,8 +3699,8 @@ Zn.exports;
|
|
|
3697
3699
|
return i ? "Symbol(src)_1." + i : "";
|
|
3698
3700
|
}(), Z = lt.toString, U = y.hasOwnProperty, ie = y.toString, le = RegExp(
|
|
3699
3701
|
"^" + Z.call(U).replace(G, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3700
|
-
), ue = ce ? ee.Buffer : void 0, pe = ee.Symbol, ye = ee.Uint8Array, vt = Fe(Object.getPrototypeOf, Object), de = Object.create, ze = y.propertyIsEnumerable, Et = Pe.splice, fe = Object.getOwnPropertySymbols, ge = ue ? ue.isBuffer : void 0, He = Fe(Object.keys, Object), nt = Ht(ee, "DataView"), ut = Ht(ee, "Map"), Bt = Ht(ee, "Promise"), jt = Ht(ee, "Set"), Ke = Ht(ee, "WeakMap"),
|
|
3701
|
-
function
|
|
3702
|
+
), ue = ce ? ee.Buffer : void 0, pe = ee.Symbol, ye = ee.Uint8Array, vt = Fe(Object.getPrototypeOf, Object), de = Object.create, ze = y.propertyIsEnumerable, Et = Pe.splice, fe = Object.getOwnPropertySymbols, ge = ue ? ue.isBuffer : void 0, He = Fe(Object.keys, Object), nt = Ht(ee, "DataView"), ut = Ht(ee, "Map"), Bt = Ht(ee, "Promise"), jt = Ht(ee, "Set"), Ke = Ht(ee, "WeakMap"), q = Ht(Object, "create"), Oe = Dt(nt), _e = Dt(ut), rt = Dt(Bt), Le = Dt(jt), Ee = Dt(Ke), Ue = pe ? pe.prototype : void 0, bt = Ue ? Ue.valueOf : void 0;
|
|
3703
|
+
function J(i) {
|
|
3702
3704
|
var f = -1, b = i ? i.length : 0;
|
|
3703
3705
|
for (this.clear(); ++f < b; ) {
|
|
3704
3706
|
var D = i[f];
|
|
@@ -3706,14 +3708,14 @@ Zn.exports;
|
|
|
3706
3708
|
}
|
|
3707
3709
|
}
|
|
3708
3710
|
function $e() {
|
|
3709
|
-
this.__data__ =
|
|
3711
|
+
this.__data__ = q ? q(null) : {};
|
|
3710
3712
|
}
|
|
3711
3713
|
function Be(i) {
|
|
3712
3714
|
return this.has(i) && delete this.__data__[i];
|
|
3713
3715
|
}
|
|
3714
3716
|
function Ge(i) {
|
|
3715
3717
|
var f = this.__data__;
|
|
3716
|
-
if (
|
|
3718
|
+
if (q) {
|
|
3717
3719
|
var b = f[i];
|
|
3718
3720
|
return b === o ? void 0 : b;
|
|
3719
3721
|
}
|
|
@@ -3721,13 +3723,13 @@ Zn.exports;
|
|
|
3721
3723
|
}
|
|
3722
3724
|
function yt(i) {
|
|
3723
3725
|
var f = this.__data__;
|
|
3724
|
-
return
|
|
3726
|
+
return q ? f[i] !== void 0 : U.call(f, i);
|
|
3725
3727
|
}
|
|
3726
3728
|
function ot(i, f) {
|
|
3727
3729
|
var b = this.__data__;
|
|
3728
|
-
return b[i] =
|
|
3730
|
+
return b[i] = q && f === void 0 ? o : f, this;
|
|
3729
3731
|
}
|
|
3730
|
-
|
|
3732
|
+
J.prototype.clear = $e, J.prototype.delete = Be, J.prototype.get = Ge, J.prototype.has = yt, J.prototype.set = ot;
|
|
3731
3733
|
function ve(i) {
|
|
3732
3734
|
var f = -1, b = i ? i.length : 0;
|
|
3733
3735
|
for (this.clear(); ++f < b; ) {
|
|
@@ -3766,9 +3768,9 @@ Zn.exports;
|
|
|
3766
3768
|
}
|
|
3767
3769
|
function Rn() {
|
|
3768
3770
|
this.__data__ = {
|
|
3769
|
-
hash: new
|
|
3771
|
+
hash: new J(),
|
|
3770
3772
|
map: new (ut || ve)(),
|
|
3771
|
-
string: new
|
|
3773
|
+
string: new J()
|
|
3772
3774
|
};
|
|
3773
3775
|
}
|
|
3774
3776
|
function It(i) {
|
|
@@ -4148,9 +4150,9 @@ Qn.exports;
|
|
|
4148
4150
|
var ge = Array.prototype, He = Function.prototype, nt = Object.prototype, ut = Pe["__core-js_shared__"], Bt = function() {
|
|
4149
4151
|
var r = /[^.]+$/.exec(ut && ut.keys && ut.keys.IE_PROTO || "");
|
|
4150
4152
|
return r ? "Symbol(src)_1." + r : "";
|
|
4151
|
-
}(), jt = He.toString, Ke = nt.hasOwnProperty,
|
|
4153
|
+
}(), jt = He.toString, Ke = nt.hasOwnProperty, q = nt.toString, Oe = RegExp(
|
|
4152
4154
|
"^" + jt.call(Ke).replace(ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
4153
|
-
), _e = Pe.Symbol, rt = Pe.Uint8Array, Le = nt.propertyIsEnumerable, Ee = ge.splice, Ue = Et(Object.keys, Object), bt = Math.max,
|
|
4155
|
+
), _e = Pe.Symbol, rt = Pe.Uint8Array, Le = nt.propertyIsEnumerable, Ee = ge.splice, Ue = Et(Object.keys, Object), bt = Math.max, J = Ut(Pe, "DataView"), $e = Ut(Pe, "Map"), Be = Ut(Pe, "Promise"), Ge = Ut(Pe, "Set"), yt = Ut(Pe, "WeakMap"), ot = Ut(Object, "create"), ve = D(J), Tt = D($e), qt = D(Be), ar = D(Ge), sr = D(yt), Zt = _e ? _e.prototype : void 0, St = Zt ? Zt.valueOf : void 0, Rn = Zt ? Zt.toString : void 0;
|
|
4154
4156
|
function It(r) {
|
|
4155
4157
|
var s = -1, h = r ? r.length : 0;
|
|
4156
4158
|
for (this.clear(); ++s < h; ) {
|
|
@@ -4294,7 +4296,7 @@ Qn.exports;
|
|
|
4294
4296
|
return h && h == C ? r : void 0;
|
|
4295
4297
|
}
|
|
4296
4298
|
function Or(r) {
|
|
4297
|
-
return
|
|
4299
|
+
return q.call(r);
|
|
4298
4300
|
}
|
|
4299
4301
|
function Er(r, s) {
|
|
4300
4302
|
return r != null && s in Object(r);
|
|
@@ -4347,7 +4349,7 @@ Qn.exports;
|
|
|
4347
4349
|
return s.test(D(r));
|
|
4348
4350
|
}
|
|
4349
4351
|
function Tr(r) {
|
|
4350
|
-
return Lt(r) && tn(r.length) && !!F[
|
|
4352
|
+
return Lt(r) && tn(r.length) && !!F[q.call(r)];
|
|
4351
4353
|
}
|
|
4352
4354
|
function Ir(r) {
|
|
4353
4355
|
return typeof r == "function" ? r : r == null ? hi : typeof r == "object" ? Rt(r) ? Pr(r[0], r[1]) : Mr(r) : pi(r);
|
|
@@ -4503,8 +4505,8 @@ Qn.exports;
|
|
|
4503
4505
|
return Nt(h) ? h : void 0;
|
|
4504
4506
|
}
|
|
4505
4507
|
var At = Or;
|
|
4506
|
-
(
|
|
4507
|
-
var s =
|
|
4508
|
+
(J && At(new J(new ArrayBuffer(1))) != se || $e && At(new $e()) != I || Be && At(Be.resolve()) != P || Ge && At(new Ge()) != M || yt && At(new yt()) != W) && (At = function(r) {
|
|
4509
|
+
var s = q.call(r), h = s == E ? r.constructor : void 0, C = h ? D(h) : void 0;
|
|
4508
4510
|
if (C)
|
|
4509
4511
|
switch (C) {
|
|
4510
4512
|
case ve:
|
|
@@ -4611,7 +4613,7 @@ Qn.exports;
|
|
|
4611
4613
|
return r === s || r !== r && s !== s;
|
|
4612
4614
|
}
|
|
4613
4615
|
function Te(r) {
|
|
4614
|
-
return Bn(r) && Ke.call(r, "callee") && (!Le.call(r, "callee") ||
|
|
4616
|
+
return Bn(r) && Ke.call(r, "callee") && (!Le.call(r, "callee") || q.call(r) == p);
|
|
4615
4617
|
}
|
|
4616
4618
|
var Rt = Array.isArray;
|
|
4617
4619
|
function Pt(r) {
|
|
@@ -4621,7 +4623,7 @@ Qn.exports;
|
|
|
4621
4623
|
return Lt(r) && Pt(r);
|
|
4622
4624
|
}
|
|
4623
4625
|
function vn(r) {
|
|
4624
|
-
var s = Ot(r) ?
|
|
4626
|
+
var s = Ot(r) ? q.call(r) : "";
|
|
4625
4627
|
return s == S || s == R;
|
|
4626
4628
|
}
|
|
4627
4629
|
function tn(r) {
|
|
@@ -4635,7 +4637,7 @@ Qn.exports;
|
|
|
4635
4637
|
return !!r && typeof r == "object";
|
|
4636
4638
|
}
|
|
4637
4639
|
function jn(r) {
|
|
4638
|
-
return typeof r == "symbol" || Lt(r) &&
|
|
4640
|
+
return typeof r == "symbol" || Lt(r) && q.call(r) == Y;
|
|
4639
4641
|
}
|
|
4640
4642
|
var si = U ? ye(U) : Tr;
|
|
4641
4643
|
function ci(r) {
|
|
@@ -4704,7 +4706,7 @@ const Vt = /* @__PURE__ */ Eo(Es), Ts = ln.div``, Is = ln.div`
|
|
|
4704
4706
|
})
|
|
4705
4707
|
}, Ps = () => {
|
|
4706
4708
|
const [e, t] = be(!1);
|
|
4707
|
-
return
|
|
4709
|
+
return k(() => {
|
|
4708
4710
|
const n = setTimeout(() => t(!0), 500);
|
|
4709
4711
|
return () => clearTimeout(n);
|
|
4710
4712
|
}, []), e;
|
|
@@ -4916,11 +4918,11 @@ const Vt = /* @__PURE__ */ Eo(Es), Ts = ln.div``, Is = ln.div`
|
|
|
4916
4918
|
coordinateGetter: v
|
|
4917
4919
|
})
|
|
4918
4920
|
);
|
|
4919
|
-
|
|
4921
|
+
_i(() => {
|
|
4920
4922
|
re(N), Re(Object.keys(N));
|
|
4921
|
-
}),
|
|
4923
|
+
}), Ci(() => {
|
|
4922
4924
|
re(N), Re(Object.keys(N));
|
|
4923
|
-
}, [N]),
|
|
4925
|
+
}, [N]), k(() => {
|
|
4924
4926
|
requestAnimationFrame(() => {
|
|
4925
4927
|
ee.current = !1;
|
|
4926
4928
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./DropdownMenu.cjs"),w=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./DropdownMenu.cjs"),w=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-BWzf4vLl.cjs"),A=require("./ThemeProvider.cjs"),j=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
|
@@ -5,7 +5,7 @@ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
5
5
|
import A from "./DropdownMenu.js";
|
|
6
6
|
import N from "./DropdownItem.js";
|
|
7
7
|
import s from "./Button.js";
|
|
8
|
-
import { b as m } from "./utils-
|
|
8
|
+
import { b as m } from "./utils-BhG1dImS.js";
|
|
9
9
|
import { useTheme as O } from "./ThemeProvider.js";
|
|
10
10
|
const I = w.div`
|
|
11
11
|
display: flex;
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-BWzf4vLl.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-CXRQQu4S.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.styled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|