@snabcentr/vue-ui-lib 2.10.0 → 2.10.1
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/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-vue-ui-lib.js +1 -2
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/themes/naive-ui.theme.d.ts +0 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(q,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("lodash-es"),require("vue"),require("naive-ui"),require("@snabcentr/common-lib"),require("date-fns"),require("libphonenumber-js"),require("vue3-reactive-tel-input")):typeof define=="function"&&define.amd?define(["exports","lodash-es","vue","naive-ui","@snabcentr/common-lib","date-fns","libphonenumber-js","vue3-reactive-tel-input"],j):(q=typeof globalThis<"u"?globalThis:q||self,j(q.SC_VueUiLib={},q["lodash-es"],q.Vue,q["naive-ui"],q["@snabcentr/common-lib"],q["date-fns"],q["libphonenumber-js"],q["vue3-reactive-tel-input"]))})(this,function(q,j,i,z,te,br,Cs,Ih){"use strict";var pk=Object.defineProperty;var Oh=q=>{throw TypeError(q)};var gk=(q,j,i)=>j in q?pk(q,j,{enumerable:!0,configurable:!0,writable:!0,value:i}):q[j]=i;var v=(q,j,i)=>gk(q,typeof j!="symbol"?j+"":j,i),zh=(q,j,i)=>j.has(q)||Oh("Cannot "+i);var vt=(q,j,i)=>(zh(q,j,"read from private field"),i?i.call(q):j.get(q)),ha=(q,j,i)=>j.has(q)?Oh("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(q):j.set(q,i),Vh=(q,j,i,z)=>(zh(q,j,"write to private field"),z?z.call(q,i):j.set(q,i),i);var pi,st,vs;var Ue=(e=>(e.AttachedUser="attached_user",e.ClientInfo="client_info",e.CreatedAt="created_at",e.DeliveryInfo="delivery_info",e.Id="id",e.SalesDirections="sales_directions",e.Status="status",e))(Ue||{});class Ln{static isVnodeEmpty(t){return t.every(n=>n.type===i.Comment||n.type===i.Text&&j.isString(n.children)&&!n.children.trim()?!0:n.type===i.Fragment&&Ln.isVnodeEmpty(n.children))}static hasSlotContent(t){return t?!Ln.isVnodeEmpty(t()):!1}}class ln{static convertReferencesToOptionsList(t,n=!1,r=!1,s=void 0,o=void 0){const a=r?[{label:"",value:-1,disabled:!0}]:[];let l=t.map(c=>({label:s?s(c):c.name,value:c.id,item:c,disabled:o?o(c):!1}));return n&&(l=l.map(c=>`${c.label}-[${c.value}]`).sort().map(c=>l.find(d=>c===`${d.label}-[${d.value}]`))),[...a,...l]}static convertReferencesToSelectOptionsList(t,n=!1,r=!1,s=void 0,o=void 0){return ln.convertReferencesToOptionsList(t,n,r,s,o)}static convertReferencesToAutocompleteOptionsList(t,n=!1,r=!1,s=void 0,o=void 0){return ln.convertReferencesToOptionsList(t,n,r,s,o)}}const Lh={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Dh(e,t){return i.openBlock(),i.createElementBlock("svg",Lh,t[0]||(t[0]=[i.createElementVNode("circle",{cx:"256",cy:"256",r:"48",fill:"currentColor"},null,-1),i.createElementVNode("circle",{cx:"256",cy:"416",r:"48",fill:"currentColor"},null,-1),i.createElementVNode("circle",{cx:"256",cy:"96",r:"48",fill:"currentColor"},null,-1)]))}const ua=i.markRaw({name:"ion-ellipsis-vertical-sharp",render:Dh}),Hh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Wh(e,t){return i.openBlock(),i.createElementBlock("svg",Hh,t[0]||(t[0]=[i.createElementVNode("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[i.createElementVNode("path",{d:"M7 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-1"}),i.createElementVNode("path",{d:"M20.385 6.585a2.1 2.1 0 0 0-2.97-2.97L9 12v3h3zM16 5l3 3"})],-1)]))}const fa=i.markRaw({name:"tabler-edit",render:Wh}),jh={viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"};function Xh(e,t){return i.openBlock(),i.createElementBlock("svg",jh,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"M22.15 3.237c-1.93-1.93-5.185-1.403-6.406 1.04l-3.175 6.35a1.5 1.5 0 0 1-.868.752L6.72 13.04a2 2 0 0 0-.782 3.312l4.149 4.149L4 26.586v1.415h1.414l6.086-6.086l4.149 4.149a2 2 0 0 0 3.311-.782l1.661-4.983a1.5 1.5 0 0 1 .752-.867l6.351-3.175c2.442-1.222 2.97-4.476 1.04-6.407zM17.533 5.17a2 2 0 0 1 3.203-.52l6.614 6.614a2 2 0 0 1-.52 3.203l-6.351 3.175a3.5 3.5 0 0 0-1.755 2.024l-1.661 4.982l-9.712-9.711l4.983-1.661a3.5 3.5 0 0 0 2.024-1.755z"},null,-1)]))}const qh=i.markRaw({name:"fluent-pin32-regular",render:Xh}),Yh={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Uh(e,t){return i.openBlock(),i.createElementBlock("svg",Yh,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112"},null,-1),i.createElementVNode("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}const Gh=i.markRaw({name:"ion-eye-outline",render:Uh}),Kh={viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"};function Zh(e,t){return i.openBlock(),i.createElementBlock("svg",Kh,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"M15.744 4.276c1.221-2.442 4.476-2.97 6.406-1.04l6.614 6.614c1.93 1.93 1.402 5.186-1.04 6.406l-6.35 3.176a1.5 1.5 0 0 0-.753.867l-1.66 4.983a2 2 0 0 1-3.312.782l-4.149-4.15l-6.086 6.087H4v-1.415l6.086-6.085l-4.149-4.15a2 2 0 0 1 .782-3.31l4.982-1.662a1.5 1.5 0 0 0 .868-.752z"},null,-1)]))}const Jh=i.markRaw({name:"fluent-pin32-filled",render:Zh}),Qh={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function eu(e,t){return i.openBlock(),i.createElementBlock("svg",Qh,t[0]||(t[0]=[i.createElementVNode("circle",{cx:"176",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),i.createElementVNode("circle",{cx:"400",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M48 80h64l48 272h256"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M160 288h249.44a8 8 0 0 0 7.85-6.43l28.8-144a8 8 0 0 0-7.85-9.57H128"},null,-1)]))}const pa=i.markRaw({name:"ion-cart-outline",render:eu}),tu={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function nu(e,t){return i.openBlock(),i.createElementBlock("svg",tu,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 48H160a48 48 0 0 0-48 48v368l144-128l144 128V96a48 48 0 0 0-48-48"},null,-1)]))}const iu=i.markRaw({name:"ion-bookmark-outline",render:nu}),ru={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function su(e,t){return i.openBlock(),i.createElementBlock("svg",ru,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"m63.998 86.005l21.998-21.998L447.999 426.01l-21.998 21.998zM259.34 192.09l60.57 60.57a64.07 64.07 0 0 0-60.57-60.57m-6.68 127.82l-60.57-60.57a64.07 64.07 0 0 0 60.57 60.57"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M256 352a96 96 0 0 1-92.6-121.34l-69.07-69.08C66.12 187.42 39.24 221.14 16 256c26.42 44 62.56 89.24 100.2 115.18C159.38 400.92 206.33 416 255.76 416A233.5 233.5 0 0 0 335 402.2l-53.61-53.6A95.8 95.8 0 0 1 256 352m0-192a96 96 0 0 1 92.6 121.34L419.26 352c29.15-26.25 56.07-61.56 76.74-96c-26.38-43.43-62.9-88.56-101.18-114.82C351.1 111.2 304.31 96 255.76 96a222.9 222.9 0 0 0-78.21 14.29l53.11 53.11A95.8 95.8 0 0 1 256 160"},null,-1)]))}const ou=i.markRaw({name:"ion-eye-off-sharp",render:su}),au={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function lu(e,t){return i.openBlock(),i.createElementBlock("svg",au,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m184 112l144 144l-144 144"},null,-1)]))}const cu=i.markRaw({name:"ion-chevron-forward-outline",render:lu}),du=["data-name"],hu={class:"sc-collapse-item-header flex flex-row gap-2.5"},uu={class:"sc-collapse-item-arrow flex-none cursor-pointer pt-1.5"},fu={key:0},pu={class:"sc-collapse-item-pre-arrow flex flex-none flex-row gap-1"},gu={class:"flex flex-1 flex-col"},mu={key:0,class:"sc-collapse-item-sub-title flex-1"},_u={key:1,class:"sc-collapse-item-title-extra flex-none"},yu={key:0,class:"sc-collapse-item-content"},bu={},wu=i.defineComponent({...bu,__name:"collapse-item",props:{name:{default:""},title:{default:""},disabled:{type:Boolean,default:!1}},emits:["header:click"],setup(e,{emit:t}){const n=e,r=t,s=i.inject("itemHeaderClickHandler",j.noop),o=i.inject("defaultExpandedNames",[]),a=i.inject("expandedNames",[]),l=j.some(o,p=>p===n.name),c=i.computed(()=>j.some(a,p=>p===n.name)),d=i.ref(l),h=()=>{n.disabled||(d.value=c.value||!d.value,r("header:click",n.name,d.value),s(n.name,d.value))};return(p,u)=>{const f=cu;return i.openBlock(),i.createElementBlock("div",{"data-name":p.name,class:i.normalizeClass({"sc-collapse-item flex flex-col p-1":!0,"cursor-not-allowed text-gray-400":p.disabled})},[i.createElementVNode("div",hu,[i.createElementVNode("div",uu,[i.createElementVNode("div",{class:i.normalizeClass({"rotate-90":d.value}),onClick:h},[i.renderSlot(p.$slots,"arrow",{},()=>[i.createVNode(f)],!0)],2)]),i.unref(Ln).hasSlotContent(p.$slots["pre-arrow"])?(i.openBlock(),i.createElementBlock("div",fu,[i.createElementVNode("div",pu,[i.renderSlot(p.$slots,"pre-arrow",{},void 0,!0)])])):i.createCommentVNode("",!0),i.createElementVNode("div",gu,[i.createElementVNode("div",{class:"sc-collapse-item-title flex flex-1 cursor-pointer flex-col text-lg font-semibold",onClick:h},[i.renderSlot(p.$slots,"header",{},()=>[i.createTextVNode(i.toDisplayString(p.title),1)],!0)]),i.unref(Ln).hasSlotContent(p.$slots["sub-header"])?(i.openBlock(),i.createElementBlock("div",mu,[i.renderSlot(p.$slots,"sub-header",{},void 0,!0)])):i.createCommentVNode("",!0)]),i.unref(Ln).hasSlotContent(p.$slots["header-extra"])?(i.openBlock(),i.createElementBlock("div",_u,[i.renderSlot(p.$slots,"header-extra",{},void 0,!0)])):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[c.value||d.value?(i.openBlock(),i.createElementBlock("div",yu,[i.renderSlot(p.$slots,"default",{},void 0,!0)])):i.createCommentVNode("",!0)]),_:3})],10,du)}}}),Bn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ga=Bn(wu,[["__scopeId","data-v-cd5b63e4"]]),wr=Symbol(),vu={Button:{border:"1px solid grey"},Card:{paddingMedium:"1rem"},Checkbox:{border:"1px solid rgb(12, 88, 32)",borderChecked:"1px"},Common:{borderRadius:"0.5rem",borderRadiusSmall:"0.25rem",fontWeight:"500",fontWeightStrong:"600",fontSize:"0.75rem",fontSizeMedium:"0.75rem",fontSizeLarge:"0.8125rem",lineHeight:"1.25rem",heightSmall:"24px",heightMedium:"30px",heightTiny:"20px",heightLarge:"36px",heightHuge:"42px",primaryColor:"#FFCC40FF",primaryColorHover:"#FFE49BFF",primaryColorPressed:"#FFBB00FF",primaryColorSuppl:"#FCC42AFF",successColor:"#4AC99BFF",successColorHover:"#4AC99BBF",successColorPressed:"#21AA78FF",errorColor:"#F45725FF",errorColorHover:"#F4572599",textColorBase:"#191C30E5",textColorDisabled:"#191C30E5"},DataTable:{borderColor:"rgb(207, 207, 207)",lineHeight:1.4,tdColorHover:"rgb(250,250,250)",thColor:"rgb(231, 231, 231)",thFontWeight:400,thPaddingMedium:"8px",tdPaddingMedium:"8px",thTextColor:"rgb(22, 0, 108)"},Drawer:{closeIconColor:"rgba(31, 34, 37, 1)",closeIconColorHover:"rgba(10, 157, 5, 1)"},Form:{marginBottom:0,lineHeight:1,labelFontSizeTopMedium:"0.75rem",labelHeightMedium:"20px",labelFontWeight:500,labelTextColor:"rgba(27, 31, 59, 0.65)",labelPaddingVertical:"0",labelPaddingHorizontal:"0"},Input:{paddingMedium:"0.5rem",fontSizeMedium:"0.9125rem",lineHeight:"1.25rem",lineHeightTextarea:"1.25rem",border:"1px solid #E0E0E0",borderRadius:"0.5rem",iconSize:"1,125rem"},Tabs:{tabFontSizeMedium:"0.9375rem",tabColorSegment:"#FFCC40FF",tabBorderColor:"#CCCCCCFF"}},ku={class:"flex flex-col-reverse gap-2.5 sm:flex-row"},xu={},Cu=i.defineComponent({...xu,__name:"product-actions",props:{product:{},eventEmitter:{},showProductAddToCartButton:{type:[Boolean,Function],default:!1},showProductEditButton:{type:[Boolean,Function],default:!1},productContextButtonsConfig:{type:Function,default:void 0}},setup(e){const t=e,n=i.inject(wr,"medium"),r=i.computed(()=>j.isNil(t.productContextButtonsConfig)?[]:j.isFunction(t.productContextButtonsConfig)?t.productContextButtonsConfig(t.product):t.productContextButtonsConfig),s=()=>{t.eventEmitter.emit("product:add-to-cart",{product:t.product})},o=()=>{t.eventEmitter.emit("product:edit",{product:t.product})},a=l=>{t.eventEmitter.emit("product:context-select",{product:t.product,key:l})};return(l,c)=>{var m;const d=pa,h=z.NButton,p=z.NTooltip,u=fa,f=ua,g=z.NDropdown;return i.openBlock(),i.createElementBlock("div",ku,[(i.unref(j.isFunction)(l.showProductAddToCartButton)?l.showProductAddToCartButton(l.product):l.showProductAddToCartButton)?(i.openBlock(),i.createBlock(p,{key:0,placement:"bottom",trigger:"hover"},{trigger:i.withCtx(()=>[i.createVNode(h,{ghost:!0,size:i.unref(n),type:"primary",onClick:s},{default:i.withCtx(()=>[i.createVNode(d)]),_:1},8,["size"])]),default:i.withCtx(()=>[c[0]||(c[0]=i.createTextVNode(" Добавить в корзину "))]),_:1})):i.createCommentVNode("",!0),(i.unref(j.isFunction)(l.showProductEditButton)?l.showProductEditButton(l.product):l.showProductEditButton)?(i.openBlock(),i.createBlock(p,{key:1,placement:"bottom",trigger:"hover"},{trigger:i.withCtx(()=>[i.createVNode(h,{ghost:!0,size:i.unref(n),type:"primary",onClick:o},{default:i.withCtx(()=>[i.createVNode(u)]),_:1},8,["size"])]),default:i.withCtx(()=>[c[1]||(c[1]=i.createTextVNode(" Редактировать "))]),_:1})):i.createCommentVNode("",!0),((m=r.value)==null?void 0:m.length)>0?(i.openBlock(),i.createBlock(g,{key:2,options:r.value,size:i.unref(n),trigger:"click",onSelect:a},{default:i.withCtx(()=>[i.createVNode(h,{ghost:!0,size:i.unref(n),type:"primary"},{default:i.withCtx(()=>[i.createVNode(f)]),_:1},8,["size"])]),_:1},8,["options","size"])):i.createCommentVNode("",!0)])}}}),Su={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Bu(e,t){return i.openBlock(),i.createElementBlock("svg",Su,t[0]||(t[0]=[i.createElementVNode("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[i.createElementVNode("path",{d:"M12 8v4l2 2"}),i.createElementVNode("path",{d:"M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5"})],-1)]))}const Tu=i.markRaw({name:"tabler-history",render:Bu}),Eu={class:"flex flex-row gap-1"},$u={class:"flex flex-row gap-1 whitespace-nowrap"},Nu={key:0,class:"flex flex-row gap-1 text-nowrap text-xs text-gray-400"},Pu={},Ru=i.defineComponent({...Pu,__name:"product-cost",props:{product:{},costFieldName:{},eventEmitter:{},allowPriceClick:{type:[Boolean,Function],default:!1},showBadge:{type:Boolean,default:!1},showQuantityUnit:{type:Boolean,default:!1},showCostDate:{type:Boolean,default:!1},showPriceHistory:{type:Boolean,default:!1}},setup(e){const t=e,n=i.computed(()=>j.find(t.product.priceCoefficients,["coefficient.slug",t.costFieldName])),r=i.computed(()=>n.value?n.value.cost:j.get(t.product,t.costFieldName)),s=i.computed(()=>(j.isFunction(t.allowPriceClick)?t.allowPriceClick(t.product):t.allowPriceClick)&&!j.isNil(r.value)),o=i.computed(()=>j.isNil(r.value)?"-":new Intl.NumberFormat("ru-RU",{style:"decimal",minimumFractionDigits:2}).format(Number.parseFloat(r.value)));return(a,l)=>{var p;const c=z.NBadge,d=z.NTooltip,h=Tu;return i.openBlock(),i.createElementBlock("div",Eu,[a.showBadge?(i.openBlock(),i.createBlock(d,{key:0},{trigger:i.withCtx(()=>{var u;return[i.createVNode(c,{value:((u=n.value)==null?void 0:u.coefficient.slug)??"Ц",type:"success",class:"sc-cost-badge mt-0.5"},null,8,["value"])]}),default:i.withCtx(()=>{var u;return[i.createTextVNode(" "+i.toDisplayString(((u=n.value)==null?void 0:u.coefficient.name)??"Розничная цена"),1)]}),_:1})):i.createCommentVNode("",!0),i.createElementVNode("div",null,[i.createElementVNode("span",$u,[i.createElementVNode("span",{class:i.normalizeClass({"text-gray-500":(p=n.value)==null?void 0:p.readOnly})},[i.createElementVNode("span",{class:i.normalizeClass({"text-nowrap":!0,"cursor-pointer underline decoration-dashed":s.value&&a.eventEmitter}),onClick:l[0]||(l[0]=()=>{var u;s.value&&((u=a.eventEmitter)==null||u.emit("cost:click",{product:a.product,cost:r.value}))})},i.toDisplayString(o.value),3),i.createTextVNode(" "+i.toDisplayString(a.showQuantityUnit?` ${a.product.currency}/${a.product.quantityUnit}`:""),1)],2)]),a.showCostDate&&!i.unref(j.isNil)(a.product.costDate)?(i.openBlock(),i.createElementBlock("span",Nu,[i.createTextVNode(i.toDisplayString(a.product.costDate)+" ",1),a.showPriceHistory&&a.eventEmitter?(i.openBlock(),i.createBlock(d,{key:0,placement:"top-end"},{trigger:i.withCtx(()=>[i.createVNode(h,{class:"cursor-pointer",onClick:l[1]||(l[1]=u=>{var f;return(f=a.eventEmitter)==null?void 0:f.emit("cost:show-price-history",{product:a.product})})})]),default:i.withCtx(()=>[l[2]||(l[2]=i.createTextVNode(" История цен "))]),_:1})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)])])}}}),vr=Bn(Ru,[["__scopeId","data-v-708cf3c7"]]),Fu={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Mu(e,t){return i.openBlock(),i.createElementBlock("svg",Fu,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32",d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184s184-82.39 184-184S349.61 64 248 64Z"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M220 220h32v116"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M208 340h88"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M248 130a26 26 0 1 0 26 26a26 26 0 0 0-26-26"},null,-1)]))}const ma=i.markRaw({name:"ion-information-circle-outline",render:Mu}),Au={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Ou(e,t){return i.openBlock(),i.createElementBlock("svg",Au,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33m-77.15 61.34a46 46 0 1 1-46.28 46a46.19 46.19 0 0 1 46.28-46.01Zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33ZM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59Z"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M384 32H64A64 64 0 0 0 0 96v256a64.11 64.11 0 0 0 48 62V152a72 72 0 0 1 72-72h326a64.11 64.11 0 0 0-62-48"},null,-1)]))}const _a=i.markRaw({name:"ion-images",render:Ou});/*!
|
1
|
+
(function(q,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("lodash-es"),require("vue"),require("naive-ui"),require("@snabcentr/common-lib"),require("date-fns"),require("libphonenumber-js"),require("vue3-reactive-tel-input")):typeof define=="function"&&define.amd?define(["exports","lodash-es","vue","naive-ui","@snabcentr/common-lib","date-fns","libphonenumber-js","vue3-reactive-tel-input"],j):(q=typeof globalThis<"u"?globalThis:q||self,j(q.SC_VueUiLib={},q["lodash-es"],q.Vue,q["naive-ui"],q["@snabcentr/common-lib"],q["date-fns"],q["libphonenumber-js"],q["vue3-reactive-tel-input"]))})(this,function(q,j,i,z,te,br,Cs,Ih){"use strict";var pk=Object.defineProperty;var Oh=q=>{throw TypeError(q)};var gk=(q,j,i)=>j in q?pk(q,j,{enumerable:!0,configurable:!0,writable:!0,value:i}):q[j]=i;var v=(q,j,i)=>gk(q,typeof j!="symbol"?j+"":j,i),zh=(q,j,i)=>j.has(q)||Oh("Cannot "+i);var vt=(q,j,i)=>(zh(q,j,"read from private field"),i?i.call(q):j.get(q)),ha=(q,j,i)=>j.has(q)?Oh("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(q):j.set(q,i),Vh=(q,j,i,z)=>(zh(q,j,"write to private field"),z?z.call(q,i):j.set(q,i),i);var pi,st,vs;var Ue=(e=>(e.AttachedUser="attached_user",e.ClientInfo="client_info",e.CreatedAt="created_at",e.DeliveryInfo="delivery_info",e.Id="id",e.SalesDirections="sales_directions",e.Status="status",e))(Ue||{});class Ln{static isVnodeEmpty(t){return t.every(n=>n.type===i.Comment||n.type===i.Text&&j.isString(n.children)&&!n.children.trim()?!0:n.type===i.Fragment&&Ln.isVnodeEmpty(n.children))}static hasSlotContent(t){return t?!Ln.isVnodeEmpty(t()):!1}}class ln{static convertReferencesToOptionsList(t,n=!1,r=!1,s=void 0,o=void 0){const a=r?[{label:"",value:-1,disabled:!0}]:[];let l=t.map(c=>({label:s?s(c):c.name,value:c.id,item:c,disabled:o?o(c):!1}));return n&&(l=l.map(c=>`${c.label}-[${c.value}]`).sort().map(c=>l.find(d=>c===`${d.label}-[${d.value}]`))),[...a,...l]}static convertReferencesToSelectOptionsList(t,n=!1,r=!1,s=void 0,o=void 0){return ln.convertReferencesToOptionsList(t,n,r,s,o)}static convertReferencesToAutocompleteOptionsList(t,n=!1,r=!1,s=void 0,o=void 0){return ln.convertReferencesToOptionsList(t,n,r,s,o)}}const Lh={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Dh(e,t){return i.openBlock(),i.createElementBlock("svg",Lh,t[0]||(t[0]=[i.createElementVNode("circle",{cx:"256",cy:"256",r:"48",fill:"currentColor"},null,-1),i.createElementVNode("circle",{cx:"256",cy:"416",r:"48",fill:"currentColor"},null,-1),i.createElementVNode("circle",{cx:"256",cy:"96",r:"48",fill:"currentColor"},null,-1)]))}const ua=i.markRaw({name:"ion-ellipsis-vertical-sharp",render:Dh}),Hh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Wh(e,t){return i.openBlock(),i.createElementBlock("svg",Hh,t[0]||(t[0]=[i.createElementVNode("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[i.createElementVNode("path",{d:"M7 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-1"}),i.createElementVNode("path",{d:"M20.385 6.585a2.1 2.1 0 0 0-2.97-2.97L9 12v3h3zM16 5l3 3"})],-1)]))}const fa=i.markRaw({name:"tabler-edit",render:Wh}),jh={viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"};function Xh(e,t){return i.openBlock(),i.createElementBlock("svg",jh,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"M22.15 3.237c-1.93-1.93-5.185-1.403-6.406 1.04l-3.175 6.35a1.5 1.5 0 0 1-.868.752L6.72 13.04a2 2 0 0 0-.782 3.312l4.149 4.149L4 26.586v1.415h1.414l6.086-6.086l4.149 4.149a2 2 0 0 0 3.311-.782l1.661-4.983a1.5 1.5 0 0 1 .752-.867l6.351-3.175c2.442-1.222 2.97-4.476 1.04-6.407zM17.533 5.17a2 2 0 0 1 3.203-.52l6.614 6.614a2 2 0 0 1-.52 3.203l-6.351 3.175a3.5 3.5 0 0 0-1.755 2.024l-1.661 4.982l-9.712-9.711l4.983-1.661a3.5 3.5 0 0 0 2.024-1.755z"},null,-1)]))}const qh=i.markRaw({name:"fluent-pin32-regular",render:Xh}),Yh={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Uh(e,t){return i.openBlock(),i.createElementBlock("svg",Yh,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112"},null,-1),i.createElementVNode("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}const Gh=i.markRaw({name:"ion-eye-outline",render:Uh}),Kh={viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"};function Zh(e,t){return i.openBlock(),i.createElementBlock("svg",Kh,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"M15.744 4.276c1.221-2.442 4.476-2.97 6.406-1.04l6.614 6.614c1.93 1.93 1.402 5.186-1.04 6.406l-6.35 3.176a1.5 1.5 0 0 0-.753.867l-1.66 4.983a2 2 0 0 1-3.312.782l-4.149-4.15l-6.086 6.087H4v-1.415l6.086-6.085l-4.149-4.15a2 2 0 0 1 .782-3.31l4.982-1.662a1.5 1.5 0 0 0 .868-.752z"},null,-1)]))}const Jh=i.markRaw({name:"fluent-pin32-filled",render:Zh}),Qh={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function eu(e,t){return i.openBlock(),i.createElementBlock("svg",Qh,t[0]||(t[0]=[i.createElementVNode("circle",{cx:"176",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),i.createElementVNode("circle",{cx:"400",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M48 80h64l48 272h256"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M160 288h249.44a8 8 0 0 0 7.85-6.43l28.8-144a8 8 0 0 0-7.85-9.57H128"},null,-1)]))}const pa=i.markRaw({name:"ion-cart-outline",render:eu}),tu={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function nu(e,t){return i.openBlock(),i.createElementBlock("svg",tu,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 48H160a48 48 0 0 0-48 48v368l144-128l144 128V96a48 48 0 0 0-48-48"},null,-1)]))}const iu=i.markRaw({name:"ion-bookmark-outline",render:nu}),ru={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function su(e,t){return i.openBlock(),i.createElementBlock("svg",ru,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"m63.998 86.005l21.998-21.998L447.999 426.01l-21.998 21.998zM259.34 192.09l60.57 60.57a64.07 64.07 0 0 0-60.57-60.57m-6.68 127.82l-60.57-60.57a64.07 64.07 0 0 0 60.57 60.57"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M256 352a96 96 0 0 1-92.6-121.34l-69.07-69.08C66.12 187.42 39.24 221.14 16 256c26.42 44 62.56 89.24 100.2 115.18C159.38 400.92 206.33 416 255.76 416A233.5 233.5 0 0 0 335 402.2l-53.61-53.6A95.8 95.8 0 0 1 256 352m0-192a96 96 0 0 1 92.6 121.34L419.26 352c29.15-26.25 56.07-61.56 76.74-96c-26.38-43.43-62.9-88.56-101.18-114.82C351.1 111.2 304.31 96 255.76 96a222.9 222.9 0 0 0-78.21 14.29l53.11 53.11A95.8 95.8 0 0 1 256 160"},null,-1)]))}const ou=i.markRaw({name:"ion-eye-off-sharp",render:su}),au={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function lu(e,t){return i.openBlock(),i.createElementBlock("svg",au,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m184 112l144 144l-144 144"},null,-1)]))}const cu=i.markRaw({name:"ion-chevron-forward-outline",render:lu}),du=["data-name"],hu={class:"sc-collapse-item-header flex flex-row gap-2.5"},uu={class:"sc-collapse-item-arrow flex-none cursor-pointer pt-1.5"},fu={key:0},pu={class:"sc-collapse-item-pre-arrow flex flex-none flex-row gap-1"},gu={class:"flex flex-1 flex-col"},mu={key:0,class:"sc-collapse-item-sub-title flex-1"},_u={key:1,class:"sc-collapse-item-title-extra flex-none"},yu={key:0,class:"sc-collapse-item-content"},bu={},wu=i.defineComponent({...bu,__name:"collapse-item",props:{name:{default:""},title:{default:""},disabled:{type:Boolean,default:!1}},emits:["header:click"],setup(e,{emit:t}){const n=e,r=t,s=i.inject("itemHeaderClickHandler",j.noop),o=i.inject("defaultExpandedNames",[]),a=i.inject("expandedNames",[]),l=j.some(o,p=>p===n.name),c=i.computed(()=>j.some(a,p=>p===n.name)),d=i.ref(l),h=()=>{n.disabled||(d.value=c.value||!d.value,r("header:click",n.name,d.value),s(n.name,d.value))};return(p,u)=>{const f=cu;return i.openBlock(),i.createElementBlock("div",{"data-name":p.name,class:i.normalizeClass({"sc-collapse-item flex flex-col p-1":!0,"cursor-not-allowed text-gray-400":p.disabled})},[i.createElementVNode("div",hu,[i.createElementVNode("div",uu,[i.createElementVNode("div",{class:i.normalizeClass({"rotate-90":d.value}),onClick:h},[i.renderSlot(p.$slots,"arrow",{},()=>[i.createVNode(f)],!0)],2)]),i.unref(Ln).hasSlotContent(p.$slots["pre-arrow"])?(i.openBlock(),i.createElementBlock("div",fu,[i.createElementVNode("div",pu,[i.renderSlot(p.$slots,"pre-arrow",{},void 0,!0)])])):i.createCommentVNode("",!0),i.createElementVNode("div",gu,[i.createElementVNode("div",{class:"sc-collapse-item-title flex flex-1 cursor-pointer flex-col text-lg font-semibold",onClick:h},[i.renderSlot(p.$slots,"header",{},()=>[i.createTextVNode(i.toDisplayString(p.title),1)],!0)]),i.unref(Ln).hasSlotContent(p.$slots["sub-header"])?(i.openBlock(),i.createElementBlock("div",mu,[i.renderSlot(p.$slots,"sub-header",{},void 0,!0)])):i.createCommentVNode("",!0)]),i.unref(Ln).hasSlotContent(p.$slots["header-extra"])?(i.openBlock(),i.createElementBlock("div",_u,[i.renderSlot(p.$slots,"header-extra",{},void 0,!0)])):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[c.value||d.value?(i.openBlock(),i.createElementBlock("div",yu,[i.renderSlot(p.$slots,"default",{},void 0,!0)])):i.createCommentVNode("",!0)]),_:3})],10,du)}}}),Bn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ga=Bn(wu,[["__scopeId","data-v-cd5b63e4"]]),wr=Symbol(),vu={Button:{border:"1px solid grey"},Card:{paddingMedium:"1rem"},Checkbox:{border:"1px solid rgb(12, 88, 32)"},Common:{borderRadius:"0.5rem",borderRadiusSmall:"0.25rem",fontWeight:"500",fontWeightStrong:"600",fontSize:"0.75rem",fontSizeMedium:"0.75rem",fontSizeLarge:"0.8125rem",lineHeight:"1.25rem",heightSmall:"24px",heightMedium:"30px",heightTiny:"20px",heightLarge:"36px",heightHuge:"42px",primaryColor:"#FFCC40FF",primaryColorHover:"#FFE49BFF",primaryColorPressed:"#FFBB00FF",primaryColorSuppl:"#FCC42AFF",successColor:"#4AC99BFF",successColorHover:"#4AC99BBF",successColorPressed:"#21AA78FF",errorColor:"#F45725FF",errorColorHover:"#F4572599",textColorBase:"#191C30E5",textColorDisabled:"#191C30E5"},DataTable:{borderColor:"rgb(207, 207, 207)",lineHeight:1.4,tdColorHover:"rgb(250,250,250)",thColor:"rgb(231, 231, 231)",thFontWeight:400,thPaddingMedium:"8px",tdPaddingMedium:"8px",thTextColor:"rgb(22, 0, 108)"},Drawer:{closeIconColor:"rgba(31, 34, 37, 1)",closeIconColorHover:"rgba(10, 157, 5, 1)"},Form:{marginBottom:0,lineHeight:1,labelFontSizeTopMedium:"0.75rem",labelHeightMedium:"20px",labelFontWeight:500,labelTextColor:"rgba(27, 31, 59, 0.65)",labelPaddingVertical:"0",labelPaddingHorizontal:"0"},Input:{paddingMedium:"0.5rem",fontSizeMedium:"0.9125rem",lineHeight:"1.25rem",lineHeightTextarea:"1.25rem",border:"1px solid #E0E0E0",borderRadius:"0.5rem",iconSize:"1,125rem"},Tabs:{tabFontSizeMedium:"0.9375rem",tabColorSegment:"#FFCC40FF",tabBorderColor:"#CCCCCCFF"}},ku={class:"flex flex-col-reverse gap-2.5 sm:flex-row"},xu={},Cu=i.defineComponent({...xu,__name:"product-actions",props:{product:{},eventEmitter:{},showProductAddToCartButton:{type:[Boolean,Function],default:!1},showProductEditButton:{type:[Boolean,Function],default:!1},productContextButtonsConfig:{type:Function,default:void 0}},setup(e){const t=e,n=i.inject(wr,"medium"),r=i.computed(()=>j.isNil(t.productContextButtonsConfig)?[]:j.isFunction(t.productContextButtonsConfig)?t.productContextButtonsConfig(t.product):t.productContextButtonsConfig),s=()=>{t.eventEmitter.emit("product:add-to-cart",{product:t.product})},o=()=>{t.eventEmitter.emit("product:edit",{product:t.product})},a=l=>{t.eventEmitter.emit("product:context-select",{product:t.product,key:l})};return(l,c)=>{var m;const d=pa,h=z.NButton,p=z.NTooltip,u=fa,f=ua,g=z.NDropdown;return i.openBlock(),i.createElementBlock("div",ku,[(i.unref(j.isFunction)(l.showProductAddToCartButton)?l.showProductAddToCartButton(l.product):l.showProductAddToCartButton)?(i.openBlock(),i.createBlock(p,{key:0,placement:"bottom",trigger:"hover"},{trigger:i.withCtx(()=>[i.createVNode(h,{ghost:!0,size:i.unref(n),type:"primary",onClick:s},{default:i.withCtx(()=>[i.createVNode(d)]),_:1},8,["size"])]),default:i.withCtx(()=>[c[0]||(c[0]=i.createTextVNode(" Добавить в корзину "))]),_:1})):i.createCommentVNode("",!0),(i.unref(j.isFunction)(l.showProductEditButton)?l.showProductEditButton(l.product):l.showProductEditButton)?(i.openBlock(),i.createBlock(p,{key:1,placement:"bottom",trigger:"hover"},{trigger:i.withCtx(()=>[i.createVNode(h,{ghost:!0,size:i.unref(n),type:"primary",onClick:o},{default:i.withCtx(()=>[i.createVNode(u)]),_:1},8,["size"])]),default:i.withCtx(()=>[c[1]||(c[1]=i.createTextVNode(" Редактировать "))]),_:1})):i.createCommentVNode("",!0),((m=r.value)==null?void 0:m.length)>0?(i.openBlock(),i.createBlock(g,{key:2,options:r.value,size:i.unref(n),trigger:"click",onSelect:a},{default:i.withCtx(()=>[i.createVNode(h,{ghost:!0,size:i.unref(n),type:"primary"},{default:i.withCtx(()=>[i.createVNode(f)]),_:1},8,["size"])]),_:1},8,["options","size"])):i.createCommentVNode("",!0)])}}}),Su={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Bu(e,t){return i.openBlock(),i.createElementBlock("svg",Su,t[0]||(t[0]=[i.createElementVNode("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[i.createElementVNode("path",{d:"M12 8v4l2 2"}),i.createElementVNode("path",{d:"M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5"})],-1)]))}const Tu=i.markRaw({name:"tabler-history",render:Bu}),Eu={class:"flex flex-row gap-1"},$u={class:"flex flex-row gap-1 whitespace-nowrap"},Nu={key:0,class:"flex flex-row gap-1 text-nowrap text-xs text-gray-400"},Pu={},Ru=i.defineComponent({...Pu,__name:"product-cost",props:{product:{},costFieldName:{},eventEmitter:{},allowPriceClick:{type:[Boolean,Function],default:!1},showBadge:{type:Boolean,default:!1},showQuantityUnit:{type:Boolean,default:!1},showCostDate:{type:Boolean,default:!1},showPriceHistory:{type:Boolean,default:!1}},setup(e){const t=e,n=i.computed(()=>j.find(t.product.priceCoefficients,["coefficient.slug",t.costFieldName])),r=i.computed(()=>n.value?n.value.cost:j.get(t.product,t.costFieldName)),s=i.computed(()=>(j.isFunction(t.allowPriceClick)?t.allowPriceClick(t.product):t.allowPriceClick)&&!j.isNil(r.value)),o=i.computed(()=>j.isNil(r.value)?"-":new Intl.NumberFormat("ru-RU",{style:"decimal",minimumFractionDigits:2}).format(Number.parseFloat(r.value)));return(a,l)=>{var p;const c=z.NBadge,d=z.NTooltip,h=Tu;return i.openBlock(),i.createElementBlock("div",Eu,[a.showBadge?(i.openBlock(),i.createBlock(d,{key:0},{trigger:i.withCtx(()=>{var u;return[i.createVNode(c,{value:((u=n.value)==null?void 0:u.coefficient.slug)??"Ц",type:"success",class:"sc-cost-badge mt-0.5"},null,8,["value"])]}),default:i.withCtx(()=>{var u;return[i.createTextVNode(" "+i.toDisplayString(((u=n.value)==null?void 0:u.coefficient.name)??"Розничная цена"),1)]}),_:1})):i.createCommentVNode("",!0),i.createElementVNode("div",null,[i.createElementVNode("span",$u,[i.createElementVNode("span",{class:i.normalizeClass({"text-gray-500":(p=n.value)==null?void 0:p.readOnly})},[i.createElementVNode("span",{class:i.normalizeClass({"text-nowrap":!0,"cursor-pointer underline decoration-dashed":s.value&&a.eventEmitter}),onClick:l[0]||(l[0]=()=>{var u;s.value&&((u=a.eventEmitter)==null||u.emit("cost:click",{product:a.product,cost:r.value}))})},i.toDisplayString(o.value),3),i.createTextVNode(" "+i.toDisplayString(a.showQuantityUnit?` ${a.product.currency}/${a.product.quantityUnit}`:""),1)],2)]),a.showCostDate&&!i.unref(j.isNil)(a.product.costDate)?(i.openBlock(),i.createElementBlock("span",Nu,[i.createTextVNode(i.toDisplayString(a.product.costDate)+" ",1),a.showPriceHistory&&a.eventEmitter?(i.openBlock(),i.createBlock(d,{key:0,placement:"top-end"},{trigger:i.withCtx(()=>[i.createVNode(h,{class:"cursor-pointer",onClick:l[1]||(l[1]=u=>{var f;return(f=a.eventEmitter)==null?void 0:f.emit("cost:show-price-history",{product:a.product})})})]),default:i.withCtx(()=>[l[2]||(l[2]=i.createTextVNode(" История цен "))]),_:1})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)])])}}}),vr=Bn(Ru,[["__scopeId","data-v-708cf3c7"]]),Fu={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Mu(e,t){return i.openBlock(),i.createElementBlock("svg",Fu,t[0]||(t[0]=[i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32",d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184s184-82.39 184-184S349.61 64 248 64Z"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M220 220h32v116"},null,-1),i.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M208 340h88"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M248 130a26 26 0 1 0 26 26a26 26 0 0 0-26-26"},null,-1)]))}const ma=i.markRaw({name:"ion-information-circle-outline",render:Mu}),Au={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Ou(e,t){return i.openBlock(),i.createElementBlock("svg",Au,t[0]||(t[0]=[i.createElementVNode("path",{fill:"currentColor",d:"M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33m-77.15 61.34a46 46 0 1 1-46.28 46a46.19 46.19 0 0 1 46.28-46.01Zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33ZM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59Z"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M384 32H64A64 64 0 0 0 0 96v256a64.11 64.11 0 0 0 48 62V152a72 72 0 0 1 72-72h326a64.11 64.11 0 0 0-62-48"},null,-1)]))}const _a=i.markRaw({name:"ion-images",render:Ou});/*!
|
2
2
|
* lightgallery | 2.8.3 | March 1st 2025
|
3
3
|
* http://www.lightgalleryjs.com/
|
4
4
|
* Copyright (c) 2020 Sachin Neravath;
|