@blocklet/labels 1.5.12 → 1.5.14
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/index.es.js +420 -379
- package/dist/index.umd.js +3 -3
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(c,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("@mui/icons-material/ExpandMore"),require("@mui/material/Box"),require("@mui/material/styles"),require("react-arborist"),require("@iconify/react"),require("react/jsx-runtime"),require("lodash/omit"),require("react-select"),require("@mui/material/Typography"),require("@mui/material/Button"),require("@mui/material/IconButton"),require("@mui/icons-material/DeleteOutlineOutlined"),require("@mui/icons-material/EditOutlined"),require("@mui/icons-material/Add"),require("@mui/material/TextField"),require("@mui/base/ClickAwayListener"),require("react-color"),require("@arcblock/ux/lib/Dialog"),require("@mui/material"),require("@mui/icons-material/Translate"),require("@mui/material/Popover"),require("@arcblock/ux/lib/Locale/context"),require("@mui/material/Alert"),require("@mui/icons-material/Edit"),require("@mui/icons-material/LabelOutlined"),require("@mui/material/ClickAwayListener"),require("@mui/material/Chip")):typeof define=="function"&&define.amd?define(["exports","react","@mui/icons-material/ExpandMore","@mui/material/Box","@mui/material/styles","react-arborist","@iconify/react","react/jsx-runtime","lodash/omit","react-select","@mui/material/Typography","@mui/material/Button","@mui/material/IconButton","@mui/icons-material/DeleteOutlineOutlined","@mui/icons-material/EditOutlined","@mui/icons-material/Add","@mui/material/TextField","@mui/base/ClickAwayListener","react-color","@arcblock/ux/lib/Dialog","@mui/material","@mui/icons-material/Translate","@mui/material/Popover","@arcblock/ux/lib/Locale/context","@mui/material/Alert","@mui/icons-material/Edit","@mui/icons-material/LabelOutlined","@mui/material/ClickAwayListener","@mui/material/Chip"],f):(c=typeof globalThis<"u"?globalThis:c||self,f(c.DiscussKitComponents={},c.React,c.ExpandMoreIcon,c.Box,c.styles,c.reactArborist,c.react$1,c.jsxRuntime,c.omit,c.Select,c.Typography,c.Button,c.IconButton,c.DeleteOutlineOutlinedIcon,c.EditOutlinedIcon,c.AddIcon,c.TextField,c.ClickAwayListener,c.reactColor,c.Dialog,c.material,c.TranslateIcon,c.Popover,c.context,c.Alert,c.EditIcon,c.LabelOutlinedIcon,c.ClickAwayListener$1,c.Chip))})(this,function(c,f,K,Q,D,U,Y,e,Z,M,G,X,R,ee,te,re,ne,le,oe,ae,k,se,ie,N,de,ce,ue,fe,he){"use strict";const b=t=>t&&typeof t=="object"&&"default"in t?t:{default:t},F=b(K),g=b(Q),pe=b(Z),ge=b(M),me=b(G),O=b(X),L=b(R),ye=b(ee),xe=b(te),Ce=b(re),E=b(ne),ve=b(le),j=b(ae),be=b(se),Se=b(ie),Ie=b(de),we=b(ce),_e=b(ue),ke=b(fe),Oe=b(he),Te=t=>e.jsx("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...t,children:e.jsx("path",{fill:"currentColor",d:"M5 19q-.825 0-1.413-.587Q3 17.825 3 17V7q0-.825.587-1.412Q4.175 5 5 5h10q.5 0 .938.225q.437.225.712.625l3.525 5q.375.525.375 1.15q0 .625-.375 1.15l-3.525 5q-.275.4-.712.625Q15.5 19 15 19Z"})}),Ae=t=>e.jsx("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...t,children:e.jsx("path",{fill:"currentColor",d:"m10 16.4l-4-4L7.4 11l2.6 2.6L16.6 7L18 8.4Z"})}),W=f.createContext({});function Le({selectable:t=!1,selected:r=[],onSelect:s,renderItem:l,children:o}){const n=p=>r.indexOf(p)!==-1,a=p=>{Array.from(new Set(r).add(p)),s==null||s(p)},i=f.useMemo(()=>({selectable:t,selected:r,isSelected:n,select:a,renderItem:l}),[r]);return e.jsx(W.Provider,{value:i,children:o})}const qe=t=>{var r;return t.isLeaf||!((r=t.data.children)!=null&&r.length)};function ze({node:t}){return qe(t)?e.jsx("span",{}):t.isOpen?e.jsx(F.default,{style:{fontSize:20}}):e.jsx(F.default,{style:{fontSize:20,transform:"rotate(-90deg)"}})}function Be({node:t,style:r,dragHandle:s}){const{selectable:l,select:o,isSelected:n,renderItem:a}=f.useContext(W),{data:i}=t,p=i.icon?e.jsx(Y.Icon,{icon:i.icon,style:{fontSize:18}}):e.jsx(Te,{style:{fontSize:18,color:i.color||"#ddd"}}),x=d=>{d.stopPropagation(),t.isInternal&&t.toggle()},y=d=>{d.stopPropagation(),l&&o(t.id)},C=e.jsxs(e.Fragment,{children:[e.jsxs(g.default,{sx:{display:"flex",alignItems:"center",flex:1},children:[e.jsx(g.default,{sx:{display:"flex",cursor:"pointer"},onClick:x,children:e.jsx(ze,{node:t})}),e.jsx(g.default,{sx:{display:"flex",alignItems:"center",width:22,height:22},children:p}),e.jsx(g.default,{component:"span",sx:{color:"grey.700"},children:t.data.name})]}),l&&n(t.id)&&e.jsx(Ae,{})]});return e.jsxs(g.default,{className:"label-tree-item",style:r,sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},ref:s,onClick:y,children:[!a&&C,!!a&&a(C,t.data)]})}const Me=D.styled(g.default)`
|
|
2
2
|
> div,
|
|
3
3
|
> div > div,
|
|
4
4
|
> div > div > div {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
.label-tree-item {
|
|
12
12
|
width: 100%;
|
|
13
13
|
}
|
|
14
|
-
`;function
|
|
14
|
+
`;function q({data:t,selectable:r,selected:s=[],onSelect:l,rowHeight:o=28,renderItem:n,sx:a,...i}){const p=f.useRef(),x=[...Array.isArray(a)?a:[a]],[y,C]=f.useState(0),d=f.useCallback(()=>{var I,u;C((((u=(I=p.current)==null?void 0:I.visibleNodes)==null?void 0:u.length)||0)*o)},[o]);f.useEffect(()=>{d()},[t,d]);const m=()=>{setTimeout(d)};return e.jsx(Le,{selectable:r,selected:s,onSelect:l,renderItem:n,children:e.jsx(Me,{...i,sx:x,children:e.jsx(U.Tree,{data:t,rowHeight:o,height:y,indent:32,ref:p,onToggle:m,children:Be})})})}const z=t=>t.reduce((r,s)=>{var l;return r.push(s),(l=s.children)!=null&&l.length&&r.push(...z(s.children)),r},[]),V=t=>t.map(r=>{var s;return(s=r.children)!=null&&s.length&&(r.children=V(r.children)),r}),Ee=(t,r=null)=>{try{return JSON.parse(t)}catch{return r}},H=t=>{const r=t.reduce((o,n)=>(o[n.id]=o[n.id]||{},n.parentId&&(o[n.id].parent=n.parentId,o[n.parentId]=o[n.parentId]||{},o[n.parentId].children=o[n.parentId].children||[],o[n.parentId].children.push(n.id)),o),{}),s=t.map(({parentId:o,translation:n,...a})=>({...a,translation:Ee(n),children:[]})),l=s.reduce((o,n)=>({...o,[n.id]:n}),{});return s.forEach(o=>{const n=r[o.id];n.parent&&l[n.parent]&&(o.parent=l[n.parent]),n.children&&(o.children=n.children.map(a=>l[a]))}),s.filter(o=>!o.parent)},Pe=t=>{const{options:r,getValue:s,selectProps:l,selectOption:o}=t,n=s(),a=i=>{const p=r.find(x=>x.data.id===i);p&&o(p)};return e.jsxs(e.Fragment,{children:[e.jsx(M.components.MenuList,{...pe.default(t,["addon"]),children:e.jsx(g.default,{sx:{px:2,py:1},children:e.jsx(q,{data:l.data,selectable:!0,onSelect:a,selected:n.map(i=>i.data.id)})})}),t.addon]})},De=({children:t,...r})=>{const[s,l]=t,o=Array.isArray(s)?s.length:0;return e.jsxs(M.components.ValueContainer,{...r,children:[e.jsx(g.default,{component:"span",sx:{fontSize:13,fontWeight:"bold"},children:o?"Labels":"Filter by labels"}),!!o&&e.jsx(g.default,{sx:{display:"inline-flex",justifyContent:"center",alignItems:"center",width:22,height:22,ml:1,borderRadius:"100%",fontSize:12,bgcolor:"grey.200"},children:o}),l]})},Ne={control:t=>({...t,minHeight:31}),valueContainer:t=>({...t,display:"flex"}),dropdownIndicator:t=>({...t,padding:"0 4px"}),clearIndicator:t=>({...t,padding:"4px"})};function J({data:t,value:r=[],editable:s=!1,addon:l,onChange:o,compact:n,...a}){const i=f.useRef(null),p=f.useMemo(()=>z(t).map(u=>({data:u,label:u.name,value:u.id})),[t]),x=p.reduce((u,_)=>({...u,[_.data.id]:_}),{}),y=Array.isArray(r)?r:[r],C=y.map(u=>x[u]),d=f.useRef({prev:y.map(u=>x[u].data)}),m=(u,_)=>{d.current.current=u.map(T=>T.data),["clear","remove-value"].includes(_.action)&&i.current&&setTimeout(()=>{var T;return(T=i==null?void 0:i.current)==null?void 0:T.blur()},1)},I=()=>{d.current.current&&JSON.stringify(d.current.prev.map(_=>_.id))!==JSON.stringify(d.current.current.map(_=>_.id))&&(o(d.current.current),d.current.prev=d.current.current)};return e.jsx(g.default,{...a,children:e.jsx(ge.default,{ref:i,defaultValue:C,options:p,onChange:m,components:{MenuList:u=>e.jsx(Pe,{...u,addon:l}),...n&&{ValueContainer:De}},placeholder:"Select labels",styles:{...n&&Ne,menu:u=>({...u,...s&&{paddingBottom:"36px"},zIndex:99}),menuList:u=>({...u,overflowY:"auto",maxHeight:"264px"})},theme:u=>({...u,colors:{...u.colors,primary25:"#ddd",primary50:"#ddd",primary:"#ddd"}}),isSearchable:!1,isMulti:!0,closeMenuOnSelect:!1,onMenuClose:I,data:t})})}var B=function(){return B=Object.assign||function(r){for(var s,l=1,o=arguments.length;l<o;l++){s=arguments[l];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(r[n]=s[n])}return r},B.apply(this,arguments)};function Fe(t,r){var s=typeof Symbol=="function"&&t[Symbol.iterator];if(!s)return t;var l=s.call(t),o,n=[],a;try{for(;(r===void 0||r-- >0)&&!(o=l.next()).done;)n.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(s=l.return)&&s.call(l)}finally{if(a)throw a.error}}return n}typeof SuppressedError=="function"&&SuppressedError;var je=function(t){return typeof t=="function"},We=function(t){var r=Fe(f.useState(t),2),s=r[0],l=r[1],o=f.useCallback(function(n){l(function(a){var i=je(n)?n(a):n;return i?B(B({},a),i):a})},[]);return[s,o]};const Ve=We;function He({I18NProps:t,...r}){const{languages:s}=N.useLocaleContext(),{translation:l,onChange:o}=t,[n,a]=f.useState(null),i=y=>{const C=y.currentTarget.closest(".MuiInputBase-root");C&&a(C)},p=()=>{a(null)},x=s.filter(y=>y.code!=="en");return e.jsx(k.TextField,{...r,InputProps:{endAdornment:e.jsxs(k.InputAdornment,{position:"end",children:[e.jsx(k.IconButton,{edge:"end",onClick:i,children:e.jsx(be.default,{})}),e.jsx(Se.default,{open:!!n,anchorEl:n,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},PaperProps:{sx:{width:n==null?void 0:n.clientWidth,maxHeight:200,overflowY:"auto",bgcolor:"grey.50"}},elevation:1,sx:{mt:2},children:e.jsx(k.Box,{sx:{p:2},children:x.map(({code:y,name:C})=>e.jsxs(k.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between","& + &":{mt:1}},children:[e.jsx(k.Box,{sx:{flex:"0 0 120px"},children:C}),e.jsx(k.Box,{sx:{flex:1},children:e.jsx(k.TextField,{value:l[y]||"",size:"small",sx:{width:1},onChange:d=>o({...l,[y]:d.target.value})})})]},y))})})]})}})}function Je({open:t,initialLabel:r,onSubmit:s,onClose:l,...o}){const n=!(r!=null&&r.id),[a,i]=Ve({name:(r==null?void 0:r.name)||"",color:(r==null?void 0:r.color)||"#ddd",slug:(r==null?void 0:r.id)||"",translation:(r==null?void 0:r.translation)||{}}),p=u=>/^#([0-9A-F]{3}){1,2}$/i.test(u),x=f.useMemo(()=>n?a.name&&a.color&&a.slug&&p(a.color):a.name&&a.color&&p(a.color),[a,n]),[y,C]=f.useState(!1),d=()=>{s({...r,name:a.name,color:a.color,id:a.slug,translation:a.translation})},m=u=>{i({color:u.hex}),setTimeout(()=>C(!1))},I=u=>{i({color:u.target.value})};return e.jsx(j.default,{open:t,showCloseButton:!0,maxWidth:"lg",title:n?"Create label":"Edit label",actions:e.jsxs(e.Fragment,{children:[e.jsx(O.default,{color:"inherit",variant:"contained",size:"small",onClick:l,children:"Cancel"}),e.jsx(O.default,{color:"primary",variant:"contained",size:"small",onClick:d,disabled:!x,children:n?"Create":"Save Changes"})]}),onClose:l,...o,children:e.jsxs(g.default,{width:600,minHeight:280,children:[e.jsx(He,{label:"Name",value:a.name,placeholder:"New label",size:"small",fullWidth:!0,onChange:u=>i({name:u.target.value}),I18NProps:{translation:a.translation,onChange:u=>i({translation:u})}}),e.jsx(E.default,{label:"Slug",value:a.slug,size:"small",fullWidth:!0,disabled:!n,onChange:u=>i({slug:u.target.value}),sx:{mt:2}}),(r==null?void 0:r.parent)&&e.jsx(E.default,{label:"Parent",value:r.parent.name,size:"small",fullWidth:!0,disabled:!0,sx:{mt:2}}),e.jsx(ve.default,{onClickAway:()=>C(!1),children:e.jsxs(g.default,{sx:{position:"relative",mt:2},children:[e.jsxs(g.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[e.jsx(g.default,{sx:{width:30,height:30,bgcolor:a.color,borderRadius:1},onClick:()=>C(!0)}),e.jsx(E.default,{label:"",value:a.color,size:"small",onChange:I,inputProps:{maxLength:7},sx:{width:100,".MuiInputBase-root":{height:32}}})]}),y&&e.jsx(g.default,{sx:{position:"absolute",top:48,zIndex:1},children:e.jsx(oe.GithubPicker,{color:a.color,onChangeComplete:m})})]})})]})})}function $e({open:t,label:r,onSubmit:s,onClose:l,...o}){return e.jsx(j.default,{open:t,showCloseButton:!0,maxWidth:"md",title:"Delete",actions:e.jsxs(e.Fragment,{children:[e.jsx(O.default,{color:"inherit",variant:"contained",size:"small",onClick:l,children:"Cancel"}),e.jsx(O.default,{color:"primary",variant:"contained",size:"small",onClick:s,children:"Delete"})]}),onClose:l,...o,children:e.jsxs(g.default,{width:600,minHeight:280,children:[e.jsx(Ie.default,{severity:"info",sx:{mb:2},children:"Are you sure you want to delete these labels ?"}),e.jsx(q,{data:[r]})]})})}const Ke=D.styled(q)`
|
|
15
15
|
.label-tree-item {
|
|
16
16
|
&:before {
|
|
17
17
|
content: '';
|
|
@@ -31,4 +31,4 @@
|
|
|
31
31
|
box-sizing: border-box;
|
|
32
32
|
padding: 0 16px;
|
|
33
33
|
}
|
|
34
|
-
`;function
|
|
34
|
+
`;function Qe({locale:t,value:r}){return e.jsxs(g.default,{sx:{display:"flex",alignItems:"center",flex:"0 0 auto",px:1,py:.25,fontSize:12,bgcolor:"grey.300",borderRadius:2},children:[e.jsx(g.default,{sx:{pr:.5,borderRight:1,borderColor:"grey.400"},children:t}),e.jsx(g.default,{sx:{pl:.5},children:r})]})}function Ue({data:t,api:r,...s}){const[l,o]=f.useState(null),[n,a]=f.useState(null),[i,p]=f.useState(V(t)),x=f.useMemo(()=>z(i),[i]),y=f.useMemo(()=>{const h=(v,w)=>v.map(S=>(w&&(S.parent=w),S.children&&(S.children=h(S.children,S)),S));return h(i)},[i]),C=h=>{var v,w;h.parent?(h.parent.children=(w=(v=h.parent)==null?void 0:v.children)==null?void 0:w.map(S=>S.id===h.id?{...h}:S),C(h.parent)):p(i.map(S=>S.id===h.id?{...h}:S))},d=h=>{h.parent?(h.parent.children=h.parent.children||[],h.parent.children.push(h),p([...i])):p([...i,h])},m=h=>{var v;h.parent?h.parent.children=(v=h.parent.children)==null?void 0:v.filter(w=>w.id!==h.id):p(i.filter(w=>w.id!==h.id))},I=h=>{if(l)return;o({id:"",name:"New label",parent:h,color:"#dddddd"})},u=h=>{l||o(h)},_=async h=>{if(!l)return;const{parent:v,children:w,translation:S,...A}=h;l.id?(await r.updateLabel({...A,translation:JSON.stringify(S),parentId:v==null?void 0:v.id}),C(h)):(await r.createLabel({...A,translation:JSON.stringify(S),parentId:v==null?void 0:v.id}),d(h)),o(null)},T=async()=>{!n||(await r.deleteLabel(n.id),m(n),a(null))},Xe=(h,v)=>e.jsxs(e.Fragment,{children:[e.jsxs(g.default,{sx:{display:"flex",alignItems:"center",flexWrap:"wrap"},children:[e.jsx(g.default,{children:h}),v.translation&&e.jsx(g.default,{sx:{display:"flex",alignItems:"center",gap:.5,ml:2},children:Object.keys(v.translation).map(w=>{var A;const S=(A=v.translation)==null?void 0:A[w];return S?e.jsx(Qe,{locale:w,value:S},w):null})})]}),e.jsxs(g.default,{sx:{display:"flex",gap:1,flex:"0 0 auto"},children:[e.jsx(L.default,{color:"inherit",size:"small",sx:{color:"grey.500"},onClick:()=>I(v),children:e.jsx(Ce.default,{sx:{fontSize:20}})}),e.jsx(L.default,{color:"inherit",size:"small",sx:{color:"grey.500"},onClick:()=>u(v),children:e.jsx(xe.default,{sx:{fontSize:18}})}),e.jsx(L.default,{color:"inherit",size:"small",sx:{color:"grey.500"},onClick:()=>a(v),children:e.jsx(ye.default,{sx:{fontSize:20}})})]})]});return e.jsxs(g.default,{...s,children:[e.jsxs(g.default,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e.jsx(me.default,{component:"h2",variant:"h6",children:"Manage labels"}),e.jsx(O.default,{color:"primary",variant:"contained",size:"small",sx:{textTransform:"none"},onClick:()=>I(),children:"New label"})]}),e.jsxs(g.default,{sx:{mt:2,border:1,borderColor:"grey.300",borderRadius:1,overflow:"hidden"},children:[e.jsxs(g.default,{sx:{p:2,fontSize:14,fontWeight:"bold",bgcolor:"grey.200"},children:[x.length," labels"]}),e.jsx(g.default,{sx:{pt:.5},children:e.jsx(Ke,{data:y,selected:[],renderItem:Xe,rowHeight:64})})]}),e.jsx(Je,{open:!!l,onClose:()=>o(null),initialLabel:l,onSubmit:_},l==null?void 0:l.id),e.jsx($e,{open:!!n,onClose:()=>a(null),label:n,onSubmit:T},n==null?void 0:n.id)]})}const $=f.createContext({}),P=()=>f.useContext($),Ye=()=>{const{updateLabels:t}=P();f.useEffect(()=>()=>{t()},[])};function Ze({fetchLabels:t,children:r}){const{locale:s}=N.useLocaleContext(),[l,o]=f.useState({loading:!0,labels:[],updateCounter:1});f.useEffect(()=>{(async()=>{try{o(I=>({...I,loading:!0}));const m=await t();o(I=>({...I,loading:!1,labels:H(m)}))}catch(m){console.error(m),o(I=>({...I,loading:!1,labels:[]}))}})()},[l.updateCounter]);const n=f.useMemo(()=>{var m;return(m=l.labels)!=null&&m.length?z(l.labels).reduce((I,u)=>({...I,[u.id]:u}),{}):{}},[l.labels]),a=f.useCallback(d=>{var m;return{...d,name:((m=d.translation)==null?void 0:m[s])||d.name}},[s]),i=f.useCallback(d=>d.filter(Boolean).map(m=>n[m]).map(a),[n,a]),p=f.useCallback(d=>(d==null?void 0:d.split(","))||[],[]),x=f.useCallback((d=[])=>{if(!!(d!=null&&d.length))return d.join(",")},[]),y=f.useMemo(()=>l.labels.map(a),[l.labels,a]),C=f.useMemo(()=>({loading:l.loading,labels:l.labels||[],updateLabels:()=>o(d=>({...d,updateCounter:++l.updateCounter})),getLabelsById:i,parseLabelIds:p,stringifyLabelIds:x,localizedLabels:y}),[l,i,p,x,y]);return e.jsx($.Provider,{value:C,children:r})}function Ge({labels:t,editable:r,onChange:s,sx:l}){const o=!(t!=null&&t.length),{labels:n,loading:a,getLabelsById:i}=P(),[p,x]=f.useState(!1);if(a||!r&&o)return null;const y=m=>{s==null||s(m),setTimeout(()=>{x(!1)},300)};if(p)return e.jsx(ke.default,{onClickAway:()=>p&&x(!1),children:e.jsx("div",{children:e.jsx(J,{data:n,value:t||[],onChange:y})})});const C=i(t||[]),d=[{display:"flex",gap:1,alignItems:"center",flexWrap:"wrap"},...Array.isArray(l)?l:[l]];return e.jsxs(g.default,{sx:d,children:[C.map(m=>m?e.jsx(Oe.default,{label:m.name,variant:"filled",size:"small",sx:{borderRadius:1}},m.id):null),r&&!o&&e.jsx(L.default,{color:"inherit",size:"small",onClick:()=>x(!0),sx:{color:"grey.400"},children:e.jsx(we.default,{sx:{fontSize:20}})}),r&&o&&e.jsx(O.default,{color:"inherit",variant:"outlined",startIcon:e.jsx(_e.default,{}),onClick:()=>x(!0),children:"Edit labels"})]})}c.LabelManager=Ue,c.LabelPicker=J,c.LabelTree=q,c.Labels=Ge,c.LabelsProvider=Ze,c.transformLabels=H,c.useLabelsContext=P,c.useLabelsUpdateOnDestroy=Ye,Object.defineProperties(c,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/labels",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.14",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"resolutions": {
|
|
75
75
|
"react": "^18.2.0"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "7babb503a37180bd540372911b28ff0a1e357c6e"
|
|
78
78
|
}
|