hisonvue 1.0.3 → 1.0.5

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.
Files changed (121) hide show
  1. package/dist/{HAccordion-FatqOgy2.js → HAccordion-CPtgQUK0.js} +1 -1
  2. package/dist/{HAccordion-DXNoziwY.mjs → HAccordion-ll-4cIAw.mjs} +14 -14
  3. package/dist/{HBaggie-DWSes7QC.js → HBaggie-D6omQoFh.js} +1 -1
  4. package/dist/{HBaggie-C4qcuGl9.mjs → HBaggie-D_7mEiuV.mjs} +2 -2
  5. package/dist/{HBanner-DNOhDRli.mjs → HBanner-DmcMOFqS.mjs} +46 -46
  6. package/dist/{HBanner-D2IVlykU.js → HBanner-Io4SdGGs.js} +1 -1
  7. package/dist/{HButton-D3aVYVY3.js → HButton-DAVuDmOQ.js} +1 -1
  8. package/dist/{HButton-Dhyb_Apz.mjs → HButton-DAriO81x.mjs} +2 -2
  9. package/dist/HCalendar-DKwGatUk.js +2 -0
  10. package/dist/{HCalendar-Bv1mZ6DG.mjs → HCalendar-w18iIB90.mjs} +7 -7
  11. package/dist/{HCaption-2Wpf8L9R.js → HCaption-6CbSqRA7.js} +1 -1
  12. package/dist/{HCaption-BKJlg7ZH.mjs → HCaption-DwsXHDNK.mjs} +1 -1
  13. package/dist/{HChart-BEe_bo5V.js → HChart-C86JXUyW.js} +1 -1
  14. package/dist/{HChart-H5M0gQB0.mjs → HChart-CcArHFr0.mjs} +1 -1
  15. package/dist/{HDrawer-BYrUd-eA.mjs → HDrawer-DG1O42iF.mjs} +47 -47
  16. package/dist/HDrawer-U5VC_okK.js +1 -0
  17. package/dist/{HDropdown-Dpba4jMR.mjs → HDropdown-Bs7AfefJ.mjs} +13 -13
  18. package/dist/{HDropdown-DTaeDC5I.js → HDropdown-D4RAGmjE.js} +1 -1
  19. package/dist/{HFileset-Qo0JIgMJ.mjs → HFileset-BGuP9O4l.mjs} +1 -1
  20. package/dist/{HFileset-CWDMfYdY.js → HFileset-CuPR6Hwf.js} +1 -1
  21. package/dist/{HGap-Bcl_WYxa.js → HGap-BPAdnOQz.js} +1 -1
  22. package/dist/{HGap-B5lrnzJ6.mjs → HGap-DzGrfWVt.mjs} +1 -1
  23. package/dist/{HGrid-59dIVp9V.mjs → HGrid-BiIhVCv_.mjs} +1 -1
  24. package/dist/{HGrid-f8xHSk9C.js → HGrid-C3EV_pgM.js} +1 -1
  25. package/dist/{HImagebox-G-LvB26S.mjs → HImagebox-D_DKeCrO.mjs} +1 -1
  26. package/dist/{HImagebox-DIYXXh95.js → HImagebox-t_UdFjQO.js} +1 -1
  27. package/dist/{HInput-C9rOBXqc.mjs → HInput-BEyJqYkD.mjs} +1 -1
  28. package/dist/{HInput-PgalO88P.js → HInput-DMGLY473.js} +1 -1
  29. package/dist/{HInputGroup-BaK14hkQ.mjs → HInputGroup-D37WTYoI.mjs} +1 -1
  30. package/dist/{HInputGroup-XryXR-6k.js → HInputGroup-Dcfr23sZ.js} +1 -1
  31. package/dist/{HLabel-jbc0_u5J.mjs → HLabel-B2FOqSiS.mjs} +2 -2
  32. package/dist/{HLabel-CbQeG2R3.js → HLabel-Dm48mSwn.js} +1 -1
  33. package/dist/{HLayout-DmTQQmLs.mjs → HLayout-BbCEm_aO.mjs} +2 -2
  34. package/dist/{HLayout-CUwfApcb.js → HLayout-C1e4BZ_K.js} +1 -1
  35. package/dist/{HList-rD5kL7cI.mjs → HList-CAeYb-hz.mjs} +2 -2
  36. package/dist/{HList-DCupvbju.js → HList-eNXmMf27.js} +1 -1
  37. package/dist/{HModal-XDNcukop.mjs → HModal-BDBEEpKm.mjs} +1 -1
  38. package/dist/{HModal-eniLW2gp.js → HModal-GODLq3wH.js} +1 -1
  39. package/dist/{HNote-BA3umb5e.mjs → HNote-CWnUjt3_.mjs} +1 -1
  40. package/dist/{HNote-DzeszCEe.js → HNote-D_Xwu9oL.js} +1 -1
  41. package/dist/{HPagination-BS4l4xGP.js → HPagination-Db_L9wv-.js} +1 -1
  42. package/dist/{HPagination-CgufEtL4.mjs → HPagination-e5e2a5GS.mjs} +15 -15
  43. package/dist/{HParagraph-DPFx64UD.js → HParagraph-BRuSeOMU.js} +1 -1
  44. package/dist/{HParagraph-hCHZmj-4.mjs → HParagraph-DYuB-qjY.mjs} +1 -1
  45. package/dist/{HPopup-BfPYzBy6.mjs → HPopup-Brp1FVpm.mjs} +1 -1
  46. package/dist/{HPopup-NBwn8RA4.js → HPopup-ChkoI3xm.js} +1 -1
  47. package/dist/{HSpinner-CMsmFVOv.js → HSpinner-DDtU9PL_.js} +1 -1
  48. package/dist/{HSpinner-1UQgVEve.mjs → HSpinner-DOq2k5kT.mjs} +6 -6
  49. package/dist/{HTable-Dweedemn.js → HTable-DGFnzD4u.js} +1 -1
  50. package/dist/{HTable-BUIKSXIR.mjs → HTable-GCDP5O_J.mjs} +1 -1
  51. package/dist/ar.es-XxSuE68c.mjs +57 -0
  52. package/dist/{bg.es-BxUPtB2r.mjs → bg.es-BJ7fu6yy.mjs} +15 -15
  53. package/dist/bn.es-CYlBkxc5.mjs +57 -0
  54. package/dist/{bs.es-Fq6ZEbY-.mjs → bs.es-yMnaKmdi.mjs} +13 -13
  55. package/dist/{ca.es-Bu3i72ow.mjs → ca.es-DIhlxmQc.mjs} +21 -21
  56. package/dist/{cs.es-CeLWs7BX.mjs → cs.es-BN8oxRXQ.mjs} +19 -19
  57. package/dist/da.es-DJB5lAli.mjs +57 -0
  58. package/dist/{de.es-Dxj10D7g.mjs → de.es-glb8GeJh.mjs} +15 -15
  59. package/dist/drag-and-drop.es-4ttM1tRs.js +5 -0
  60. package/dist/{drag-and-drop.es-CoYQRahm.mjs → drag-and-drop.es-Ckzp6XEn.mjs} +1 -1
  61. package/dist/{el.es-BcvYhsc8.mjs → el.es-_bBZf22h.mjs} +23 -23
  62. package/dist/{en.es-stDfj1fG.mjs → en.es-CV9nmQGr.mjs} +11 -11
  63. package/dist/es.es-CZjcWK54.mjs +57 -0
  64. package/dist/{et.es-Bh__rR0h.mjs → et.es-CjvQAzNF.mjs} +20 -20
  65. package/dist/fa.es-DykeFwDA.mjs +57 -0
  66. package/dist/{he.es-Bytj24fj.mjs → he.es-nF4GFhjH.mjs} +21 -21
  67. package/dist/hisonvue.cjs.js +1 -1
  68. package/dist/hisonvue.css +1 -1
  69. package/dist/hisonvue.d.ts +10 -10
  70. package/dist/hisonvue.es.js +2 -2
  71. package/dist/{hr.es-DjKclO4X.mjs → hr.es-QFfz660j.mjs} +15 -15
  72. package/dist/{hu.es-CgiNeVVu.mjs → hu.es-Ck2rE01V.mjs} +21 -21
  73. package/dist/index-BmKMHsSZ.js +153 -0
  74. package/dist/{index-p1EBArRP.mjs → index-DUh7pai4.mjs} +889 -889
  75. package/dist/is.es-bzprHvXI.mjs +57 -0
  76. package/dist/ja.es-BaiGjqZ6.mjs +57 -0
  77. package/dist/{ka.es-6dlQBWDo.mjs → ka.es-x9QJo_dl.mjs} +20 -20
  78. package/dist/ko.es-6c447eTS.mjs +57 -0
  79. package/dist/mn.es-BLQRG1uu.mjs +57 -0
  80. package/dist/{nl.es-CN5JXXxr.mjs → nl.es-bB1qWR_S.mjs} +15 -15
  81. package/dist/no.es-CWDVXpTf.mjs +57 -0
  82. package/dist/{pl.es-BJ9nIcgc.mjs → pl.es-Dzct23w9.mjs} +21 -21
  83. package/dist/pt-br.es-BeBuiitI.mjs +57 -0
  84. package/dist/pt-pt.es-BeBuiitI.mjs +57 -0
  85. package/dist/ro.es-DfMVJ30M.mjs +57 -0
  86. package/dist/{ru.es-CPzb0Fst.mjs → ru.es-Bv9UvrBe.mjs} +23 -23
  87. package/dist/{setButtonCssEvent-BoBQS2-T.js → setButtonCssEvent-B9WTs2X7.js} +1 -1
  88. package/dist/{setButtonCssEvent-CB-7jMmJ.mjs → setButtonCssEvent-dBs1GcAh.mjs} +1 -1
  89. package/dist/sk.es-CUOTpLuL.mjs +57 -0
  90. package/dist/{sl.es-D0fiCGIm.mjs → sl.es-DeIGgZbR.mjs} +16 -16
  91. package/dist/{sq.es-a8QTS1Hv.mjs → sq.es-CQJJrZHv.mjs} +17 -17
  92. package/dist/{sr.es-CIc0WPBO.mjs → sr.es-CKS0AkiW.mjs} +13 -13
  93. package/dist/sv.es-ChHQRrAe.mjs +57 -0
  94. package/dist/tr.es-B3v90gVv.mjs +57 -0
  95. package/dist/{uk.es-BvUxN5ag.mjs → uk.es-CiR4NnbN.mjs} +23 -23
  96. package/dist/{vi.es-C0AyhgP1.mjs → vi.es-DFDi5l7p.mjs} +26 -26
  97. package/dist/zh-cn.es-9cbEAuAi.mjs +67 -0
  98. package/dist/zh-hk.es-z0tio4jE.mjs +67 -0
  99. package/package.json +2 -2
  100. package/dist/HCalendar-BB0XyvZV.js +0 -2
  101. package/dist/HDrawer-CWkLJyMS.js +0 -1
  102. package/dist/ar.es-C08a05mp.mjs +0 -57
  103. package/dist/bn.es-J9yOJsGH.mjs +0 -57
  104. package/dist/da.es-BkbgeF4x.mjs +0 -57
  105. package/dist/drag-and-drop.es-DWn92Mem.js +0 -5
  106. package/dist/es.es-DJ9hC3M1.mjs +0 -57
  107. package/dist/fa.es-CyoM_QAj.mjs +0 -57
  108. package/dist/index-CKU70ocu.js +0 -153
  109. package/dist/is.es-yRheRWhc.mjs +0 -57
  110. package/dist/ja.es-CALG6dhe.mjs +0 -57
  111. package/dist/ko.es-BU6TVPXM.mjs +0 -57
  112. package/dist/mn.es-CY_Brq9B.mjs +0 -57
  113. package/dist/no.es-BZkgoly8.mjs +0 -57
  114. package/dist/pt-br.es-DEhn4BON.mjs +0 -57
  115. package/dist/pt-pt.es-DEhn4BON.mjs +0 -57
  116. package/dist/ro.es-CsOras9g.mjs +0 -57
  117. package/dist/sk.es-D6YtHvSy.mjs +0 -57
  118. package/dist/sv.es-DFVxHUOu.mjs +0 -57
  119. package/dist/tr.es-CXIKJ2UV.mjs +0 -57
  120. package/dist/zh-cn.es-AODwJ7q7.mjs +0 -67
  121. package/dist/zh-hk.es-Bdbs8ke2.mjs +0 -67
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-CKU70ocu.js"),V=require("./scrollManager-CEEWQwoK.js"),A=require("./_plugin-vue_export-helper-BHFhmbuH.js"),H={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!1},zIndex:{type:Number,default:1500},position:{type:String,default:t.ScreenPosition.middleCenter,validator:s=>t.SCREEN_POSITION_VALUES.includes(s)},overlayStyle:{type:[String,Object,Array],required:!1},timeoutMs:{type:Number,default:0},spinnerType:{type:String,default:"ring",validator:s=>["ring","dots","bars","pulse"].includes(s)}},O=e.defineComponent({name:"HSpinner",props:H,inheritAttrs:!1,emits:["mounted","responsive-change","open","close","toggle"],setup(s,{emit:o}){const l=s.id||t.getUUID(),y=`hspinner:${l}`,k=t.useDevice(),N=e.ref(null),I=e.ref(null),i=e.ref(s.visible),c=e.ref(s.zIndex??1400),m=e.ref(s.position),f=e.ref(s.overlayStyle),p=e.ref(s.timeoutMs??0),u=e.ref(s.spinnerType),B=e.computed(()=>i.value?"":"hison-display-none"),L=e.computed(()=>`hison-spinner-type-${u.value}`),h=e.ref([]),C=()=>{h.value=t.extractResponsiveClasses(t.toClassString(s.class)||"",k.value),t.addComponentNameToClass(h.value,"size",t.hisonCloser.componentStyle.size),t.addComponentNameToClass(h.value,"color","primary")},R=e.computed(()=>{const n={zIndex:c.value};switch(n.left="",n.right="",n.top="",n.bottom="",n.transform="none",m.value){case t.ScreenPosition.topLeft:n.left="5%",n.top="5%";break;case t.ScreenPosition.topCenter:n.left="50%",n.top="5%",n.transform="translateX(-50%)";break;case t.ScreenPosition.topRight:n.right="5%",n.top="5%";break;case t.ScreenPosition.middleLeft:n.left="5%",n.top="50%",n.transform="translateY(-50%)";break;case t.ScreenPosition.middleCenter:n.left="50%",n.top="50%",n.transform="translate(-50%, -50%)";break;case t.ScreenPosition.middleRight:n.right="5%",n.top="50%",n.transform="translateY(-50%)";break;case t.ScreenPosition.bottomLeft:n.left="5%",n.bottom="5%";break;case t.ScreenPosition.bottomCenter:n.left="50%",n.bottom="5%",n.transform="translateX(-50%)";break;case t.ScreenPosition.bottomRight:n.right="5%",n.bottom="5%";break}return n}),M=e.computed(()=>{const r={zIndex:(c.value??1400)-1},d=f.value;return d?Array.isArray(d)?[{...r},...d]:typeof d=="string"?[r,d]:{...r,...d}:r});let g=null;const T=()=>{g!=null&&(clearTimeout(g),g=null)},b=()=>{T(),p.value>0&&(g=window.setTimeout(()=>{v()},p.value))},w=()=>V.acquireScrollLock(l),E=()=>V.releaseScrollLock(l),S=async()=>{i.value||(i.value=!0,w(),await e.nextTick(),b(),o("open",e.unref(a)))},v=async()=>{if(i.value)try{T()}finally{i.value=!1,E(),o("close",e.unref(a))}},q=async()=>{i.value?await v():await S(),o("toggle",e.unref(a))},a=e.ref(null),z=()=>{t.hisonCloser.component.spinnerList[l]&&t.hisonCloser.component.spinnerList[l].isHisonvueComponent&&console.warn(`[Hisonvue] The spinner ID is at risk of being duplicated. ${l}`),t.registerReloadable(y,()=>{P(),e.nextTick(z)}),C(),i.value&&(w(),b()),a.value={isHisonvueComponent:!0,getId:()=>l,getType:()=>"spinner",isVisible:()=>i.value,open:S,close:v,toggle:q,setVisible:n=>n?S():v(),getZIndex:()=>c.value,setZIndex:n=>{c.value=n},getPosition:()=>m.value,setPosition:n=>{m.value=n},getTimeout:()=>p.value,setTimeout:n=>{p.value=Math.max(0,Number(n)||0),i.value&&b()},getSpinnerType:()=>u.value,setSpinnerType:n=>{u.value=n},getOverlayStyle:()=>f.value,setOverlayStyle:n=>{f.value=n},reload:()=>t.reloadHisonComponent(y)},t.hisonCloser.component.spinnerList[l]=a.value,o("mounted",a.value)},P=()=>{t.unregisterReloadable(y),delete t.hisonCloser.component.spinnerList[l],T(),i.value&&E()};return e.onMounted(z),e.onBeforeUnmount(P),e.watch(k,n=>{C(),o("responsive-change",n)}),e.watch(()=>s.visible,n=>{const r=!!n;r!==i.value&&(r?S():v())}),e.watch(()=>s.zIndex,n=>{const r=Number(n??1400);r!==c.value&&(c.value=r)}),e.watch(()=>s.position,n=>{n&&n!==m.value&&(m.value=n)}),e.watch(()=>s.overlayStyle,n=>{n!==f.value&&(f.value=n)}),e.watch(()=>s.timeoutMs,n=>{const r=Math.max(0,Number(n)||0);r!==p.value&&(p.value=r,i.value&&b())}),e.watch(()=>s.spinnerType,n=>{n&&n!==u.value&&(u.value=n)}),e.watch(()=>s.class,()=>{C()}),{id:l,props:s,wrapperRef:N,spinnerRef:I,visible:i,visibleClass:B,responsiveClassList:h,overlayStyleWithZ:M,wrapperStyle:R,spinnerType:u,spinnerTypeClass:L,spinnerMethods:e.computed(()=>e.unref(a))}}}),$={key:0,class:"hison-spinner-ring"},j={key:1,class:"hison-spinner-dots"},U={key:2,class:"hison-spinner-bars"},Z={key:3,class:"hison-spinner-pulse"};function x(s,o,l,y,k,N){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hison-layer-host",s.visibleClass])},[s.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hison-spinner-overlay",style:e.normalizeStyle(s.overlayStyleWithZ)},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref:"wrapperRef",class:e.normalizeClass(["hison-spinner-wrapper",...s.responsiveClassList]),style:e.normalizeStyle(s.wrapperStyle)},[e.createElementVNode("div",{ref:"spinnerRef",class:e.normalizeClass(["hison-spinner",s.spinnerTypeClass]),style:e.normalizeStyle(s.props.style),role:"status","aria-live":"polite","aria-busy":"true"},[e.renderSlot(s.$slots,"spinner",{spinnerEl:s.spinnerRef,spinner:s.spinnerMethods,type:s.spinnerType},()=>[s.spinnerType==="ring"?(e.openBlock(),e.createElementBlock("div",$,[...o[0]||(o[0]=[e.createStaticVNode('<span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span>',7)])])):s.spinnerType==="dots"?(e.openBlock(),e.createElementBlock("div",j,[...o[1]||(o[1]=[e.createElementVNode("span",{class:"hison-spinner-dot"},null,-1),e.createElementVNode("span",{class:"hison-spinner-dot"},null,-1),e.createElementVNode("span",{class:"hison-spinner-dot"},null,-1)])])):s.spinnerType==="bars"?(e.openBlock(),e.createElementBlock("div",U,[...o[2]||(o[2]=[e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1),e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1),e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1),e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1)])])):(e.openBlock(),e.createElementBlock("div",Z,[...o[3]||(o[3]=[e.createElementVNode("span",{class:"hison-spinner-pulse-span"},null,-1)])]))])],6)],6)],2)}const D=A._export_sfc(O,[["render",x]]);exports.default=D;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BmKMHsSZ.js"),V=require("./scrollManager-CEEWQwoK.js"),A=require("./_plugin-vue_export-helper-BHFhmbuH.js"),H={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!1},zIndex:{type:Number,default:1500},position:{type:String,default:t.ScreenPosition.middleCenter,validator:s=>t.SCREEN_POSITION_VALUES.includes(s)},overlayStyle:{type:[String,Object,Array],required:!1},timeoutMs:{type:Number,default:0},spinnerType:{type:String,default:"ring",validator:s=>["ring","dots","bars","pulse"].includes(s)}},O=e.defineComponent({name:"HSpinner",props:H,inheritAttrs:!1,emits:["mounted","responsive-change","open","close","toggle"],setup(s,{emit:o}){const l=s.id||t.getUUID(),y=`hspinner:${l}`,k=t.useDevice(),N=e.ref(null),I=e.ref(null),i=e.ref(s.visible),c=e.ref(s.zIndex??1400),m=e.ref(s.position),f=e.ref(s.overlayStyle),p=e.ref(s.timeoutMs??0),u=e.ref(s.spinnerType),B=e.computed(()=>i.value?"":"hison-display-none"),L=e.computed(()=>`hison-spinner-type-${u.value}`),h=e.ref([]),C=()=>{h.value=t.extractResponsiveClasses(t.toClassString(s.class)||"",k.value),t.addComponentNameToClass(h.value,"size",t.hisonCloser.componentStyle.size),t.addComponentNameToClass(h.value,"color","primary")},R=e.computed(()=>{const n={zIndex:c.value};switch(n.left="",n.right="",n.top="",n.bottom="",n.transform="none",m.value){case t.ScreenPosition.topLeft:n.left="5%",n.top="5%";break;case t.ScreenPosition.topCenter:n.left="50%",n.top="5%",n.transform="translateX(-50%)";break;case t.ScreenPosition.topRight:n.right="5%",n.top="5%";break;case t.ScreenPosition.middleLeft:n.left="5%",n.top="50%",n.transform="translateY(-50%)";break;case t.ScreenPosition.middleCenter:n.left="50%",n.top="50%",n.transform="translate(-50%, -50%)";break;case t.ScreenPosition.middleRight:n.right="5%",n.top="50%",n.transform="translateY(-50%)";break;case t.ScreenPosition.bottomLeft:n.left="5%",n.bottom="5%";break;case t.ScreenPosition.bottomCenter:n.left="50%",n.bottom="5%",n.transform="translateX(-50%)";break;case t.ScreenPosition.bottomRight:n.right="5%",n.bottom="5%";break}return n}),M=e.computed(()=>{const r={zIndex:(c.value??1400)-1},d=f.value;return d?Array.isArray(d)?[{...r},...d]:typeof d=="string"?[r,d]:{...r,...d}:r});let g=null;const T=()=>{g!=null&&(clearTimeout(g),g=null)},b=()=>{T(),p.value>0&&(g=window.setTimeout(()=>{v()},p.value))},w=()=>V.acquireScrollLock(l),E=()=>V.releaseScrollLock(l),S=async()=>{i.value||(i.value=!0,w(),await e.nextTick(),b(),o("open",e.unref(a)))},v=async()=>{if(i.value)try{T()}finally{i.value=!1,E(),o("close",e.unref(a))}},q=async()=>{i.value?await v():await S(),o("toggle",e.unref(a))},a=e.ref(null),z=()=>{t.hisonCloser.component.spinnerList[l]&&t.hisonCloser.component.spinnerList[l].isHisonvueComponent&&console.warn(`[Hisonvue] The spinner ID is at risk of being duplicated. ${l}`),t.registerReloadable(y,()=>{P(),e.nextTick(z)}),C(),i.value&&(w(),b()),a.value={isHisonvueComponent:!0,getId:()=>l,getType:()=>"spinner",isVisible:()=>i.value,open:S,close:v,toggle:q,setVisible:n=>n?S():v(),getZIndex:()=>c.value,setZIndex:n=>{c.value=n},getPosition:()=>m.value,setPosition:n=>{m.value=n},getTimeout:()=>p.value,setTimeout:n=>{p.value=Math.max(0,Number(n)||0),i.value&&b()},getSpinnerType:()=>u.value,setSpinnerType:n=>{u.value=n},getOverlayStyle:()=>f.value,setOverlayStyle:n=>{f.value=n},reload:()=>t.reloadHisonComponent(y)},t.hisonCloser.component.spinnerList[l]=a.value,o("mounted",a.value)},P=()=>{t.unregisterReloadable(y),delete t.hisonCloser.component.spinnerList[l],T(),i.value&&E()};return e.onMounted(z),e.onBeforeUnmount(P),e.watch(k,n=>{C(),o("responsive-change",n)}),e.watch(()=>s.visible,n=>{const r=!!n;r!==i.value&&(r?S():v())}),e.watch(()=>s.zIndex,n=>{const r=Number(n??1400);r!==c.value&&(c.value=r)}),e.watch(()=>s.position,n=>{n&&n!==m.value&&(m.value=n)}),e.watch(()=>s.overlayStyle,n=>{n!==f.value&&(f.value=n)}),e.watch(()=>s.timeoutMs,n=>{const r=Math.max(0,Number(n)||0);r!==p.value&&(p.value=r,i.value&&b())}),e.watch(()=>s.spinnerType,n=>{n&&n!==u.value&&(u.value=n)}),e.watch(()=>s.class,()=>{C()}),{id:l,props:s,wrapperRef:N,spinnerRef:I,visible:i,visibleClass:B,responsiveClassList:h,overlayStyleWithZ:M,wrapperStyle:R,spinnerType:u,spinnerTypeClass:L,spinnerMethods:e.computed(()=>e.unref(a))}}}),$={key:0,class:"hison-spinner-ring"},j={key:1,class:"hison-spinner-dots"},U={key:2,class:"hison-spinner-bars"},Z={key:3,class:"hison-spinner-pulse"};function x(s,o,l,y,k,N){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hison-layer-host",s.visibleClass])},[s.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hison-spinner-overlay",style:e.normalizeStyle(s.overlayStyleWithZ)},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref:"wrapperRef",class:e.normalizeClass(["hison-spinner-wrapper",...s.responsiveClassList]),style:e.normalizeStyle(s.wrapperStyle)},[e.createElementVNode("div",{ref:"spinnerRef",class:e.normalizeClass(["hison-spinner",s.spinnerTypeClass]),style:e.normalizeStyle(s.props.style),role:"status","aria-live":"polite","aria-busy":"true"},[e.renderSlot(s.$slots,"spinner",{spinnerEl:s.spinnerRef,spinner:s.spinnerMethods,type:s.spinnerType},()=>[s.spinnerType==="ring"?(e.openBlock(),e.createElementBlock("div",$,o[0]||(o[0]=[e.createStaticVNode('<span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span>',7)]))):s.spinnerType==="dots"?(e.openBlock(),e.createElementBlock("div",j,o[1]||(o[1]=[e.createElementVNode("span",{class:"hison-spinner-dot"},null,-1),e.createElementVNode("span",{class:"hison-spinner-dot"},null,-1),e.createElementVNode("span",{class:"hison-spinner-dot"},null,-1)]))):s.spinnerType==="bars"?(e.openBlock(),e.createElementBlock("div",U,o[2]||(o[2]=[e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1),e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1),e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1),e.createElementVNode("span",{class:"hison-spinner-bar"},null,-1)]))):(e.openBlock(),e.createElementBlock("div",Z,o[3]||(o[3]=[e.createElementVNode("span",{class:"hison-spinner-pulse-span"},null,-1)])))])],6)],6)],2)}const D=A._export_sfc(O,[["render",x]]);exports.default=D;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Y, ref as o, computed as S, onMounted as x, onBeforeUnmount as F, watch as p, unref as R, nextTick as q, createElementBlock as y, openBlock as m, normalizeClass as A, createCommentVNode as G, createElementVNode as r, normalizeStyle as $, renderSlot as J, createStaticVNode as K } from "vue";
2
- import { S as Q, i as l, g as _, u as ee, e as se, t as ne, b as B, h as C, r as te, c as ie, d as ae } from "./index-p1EBArRP.mjs";
2
+ import { S as Q, i as l, g as _, u as ee, e as se, t as ne, b as B, h as C, r as te, c as ie, d as ae } from "./index-DUh7pai4.mjs";
3
3
  import { a as oe, r as re } from "./scrollManager-BGnq4wyt.mjs";
4
4
  import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
5
5
  const pe = {
@@ -256,20 +256,20 @@ function ye(s, n, a, T, z, H) {
256
256
  spinner: s.spinnerMethods,
257
257
  type: s.spinnerType
258
258
  }, () => [
259
- s.spinnerType === "ring" ? (m(), y("div", ce, [...n[0] || (n[0] = [
259
+ s.spinnerType === "ring" ? (m(), y("div", ce, n[0] || (n[0] = [
260
260
  K('<span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span><span class="hison-spinner-ring-seg"></span>', 7)
261
- ])])) : s.spinnerType === "dots" ? (m(), y("div", de, [...n[1] || (n[1] = [
261
+ ]))) : s.spinnerType === "dots" ? (m(), y("div", de, n[1] || (n[1] = [
262
262
  r("span", { class: "hison-spinner-dot" }, null, -1),
263
263
  r("span", { class: "hison-spinner-dot" }, null, -1),
264
264
  r("span", { class: "hison-spinner-dot" }, null, -1)
265
- ])])) : s.spinnerType === "bars" ? (m(), y("div", ve, [...n[2] || (n[2] = [
265
+ ]))) : s.spinnerType === "bars" ? (m(), y("div", ve, n[2] || (n[2] = [
266
266
  r("span", { class: "hison-spinner-bar" }, null, -1),
267
267
  r("span", { class: "hison-spinner-bar" }, null, -1),
268
268
  r("span", { class: "hison-spinner-bar" }, null, -1),
269
269
  r("span", { class: "hison-spinner-bar" }, null, -1)
270
- ])])) : (m(), y("div", fe, [...n[3] || (n[3] = [
270
+ ]))) : (m(), y("div", fe, n[3] || (n[3] = [
271
271
  r("span", { class: "hison-spinner-pulse-span" }, null, -1)
272
- ])]))
272
+ ])))
273
273
  ])
274
274
  ], 6)
275
275
  ], 6)
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),l=require("./index-CKU70ocu.js"),He=require("./_plugin-vue_export-helper-BHFhmbuH.js"),qe={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},headerCellClass:{type:[String,Array,Object],required:!1},bodyCellClass:{type:[String,Array,Object],required:!1},footerCellClass:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},headerCellStyle:{type:[String,Object,Array],required:!1},bodyCellStyle:{type:[String,Object,Array],required:!1},footerCellStyle:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},caption:{type:String,default:""},striped:{type:String,default:"row"},hoverable:{type:String,default:"row"},border:{type:Boolean,default:!1},headerBorderTop:{type:Boolean,default:!1},headerBorderBottom:{type:Boolean,default:!1},headerBorderLeft:{type:Boolean,default:!1},headerBorderRight:{type:Boolean,default:!1},bodyBorderTop:{type:Boolean,default:!1},bodyBorderBottom:{type:Boolean,default:!1},bodyBorderLeft:{type:Boolean,default:!1},bodyBorderRight:{type:Boolean,default:!1},footerBorderTop:{type:Boolean,default:!1},footerBorderBottom:{type:Boolean,default:!1},footerBorderLeft:{type:Boolean,default:!1},footerBorderRight:{type:Boolean,default:!1},headerTextAlign:{type:String,default:l.TextAlign.center,validator:o=>o==null||l.TEXT_ALIGN_VALUES.includes(o)},bodyTextAlign:{type:String,default:l.TextAlign.left,validator:o=>o==null||l.TEXT_ALIGN_VALUES.includes(o)},footerTextAlign:{type:String,default:l.TextAlign.right,validator:o=>o==null||l.TEXT_ALIGN_VALUES.includes(o)},headerVerticalAlign:{type:String,default:l.VerticalAlign.middle,validator:o=>l.VERTICAL_ALIGN_VALUES.includes(o)},bodyVerticalAlign:{type:String,default:l.VerticalAlign.middle,validator:o=>l.VERTICAL_ALIGN_VALUES.includes(o)},footerVerticalAlign:{type:String,default:l.VerticalAlign.middle,validator:o=>l.VERTICAL_ALIGN_VALUES.includes(o)},backgroundType:{type:String,default:l.BackgroundType.empty,validator:o=>l.BACKGROUND_TYPE_VALUES.includes(o)}},$e=t.defineComponent({name:"HTable",props:qe,inheritAttrs:!1,emits:["mounted","responsive-change"],setup(o,{emit:j}){const J=t.ref(null),$=t.ref(null),s=t.ref(null),N=t.ref(null),i=o.id?o.id:l.getUUID(),U=`htable:${i}`,Q=l.useDevice(),z=t.ref(null),f=t.ref(o.visible),ae=t.computed(()=>f.value?"":"hison-display-none"),v=t.ref(o.caption||""),u=t.ref(!!o.border),c=t.ref(o.striped??"row"),d=t.ref(o.hoverable??"row"),h=t.ref(o.backgroundType||l.BackgroundType.empty),y=t.ref(!!o.headerBorderTop),B=t.ref(!!o.headerBorderBottom),g=t.ref(!!o.headerBorderLeft),b=t.ref(!!o.headerBorderRight),m=t.ref(!!o.bodyBorderTop),C=t.ref(!!o.bodyBorderBottom),A=t.ref(!!o.bodyBorderLeft),T=t.ref(!!o.bodyBorderRight),p=t.ref(!!o.footerBorderTop),S=t.ref(!!o.footerBorderBottom),L=t.ref(!!o.footerBorderLeft),w=t.ref(!!o.footerBorderRight),V=t.ref(o.headerTextAlign),R=t.ref(o.bodyTextAlign),k=t.ref(o.footerTextAlign),E=t.ref(o.headerVerticalAlign),H=t.ref(o.bodyVerticalAlign),q=t.ref(o.footerVerticalAlign),se=t.computed(()=>u.value?"hison-border":""),ne=t.computed(()=>{switch(h.value){case l.BackgroundType.empty:return"hison-bg-empty";case l.BackgroundType.transparent:return"hison-bg-transparent";default:return"hison-bg-filled"}}),de=t.computed(()=>c.value==="row"?"is-striped-row":c.value==="col"?"is-striped-col":null),ie=t.computed(()=>d.value==="row"?"is-hover-row":d.value==="col"?"is-hover-col":null),ue=t.computed(()=>y.value?"hison-header-border-top":""),ce=t.computed(()=>B.value?"hison-header-border-bottom":""),fe=t.computed(()=>g.value?"hison-header-border-left":""),ve=t.computed(()=>b.value?"hison-header-border-right":""),he=t.computed(()=>m.value?"hison-body-border-top":""),ye=t.computed(()=>C.value?"hison-body-border-bottom":""),Be=t.computed(()=>A.value?"hison-body-border-left":""),ge=t.computed(()=>T.value?"hison-body-border-right":""),be=t.computed(()=>p.value?"hison-footer-border-top":""),me=t.computed(()=>S.value?"hison-footer-border-bottom":""),Ce=t.computed(()=>L.value?"hison-footer-border-left":""),Ae=t.computed(()=>w.value?"hison-footer-border-right":""),I=(e,r)=>{const a=e==="thead"?"hison-thead":e==="tbody"?"hison-tbody":"hison-tfoot";switch(r){case"center":return`${a}-ta-center`;case"right":return`${a}-ta-right`;default:return`${a}-ta-left`}},M=(e,r)=>{const a=e==="thead"?"hison-thead":e==="tbody"?"hison-tbody":"hison-tfoot";switch(r){case"top":return`${a}-valign-top`;case"bottom":return`${a}-valign-bottom`;default:return`${a}-valign-middle`}},Te=t.computed(()=>I("thead",V.value)),pe=t.computed(()=>I("tbody",R.value)),Se=t.computed(()=>I("tfoot",k.value)),Le=t.computed(()=>M("thead",E.value)),we=t.computed(()=>M("tbody",H.value)),Ve=t.computed(()=>M("tfoot",q.value)),F=t.ref([]),G=()=>{F.value=l.extractResponsiveClasses(l.toClassString(o.class)||"",Q.value),l.addComponentNameToClass(F.value,"size",l.hisonCloser.componentStyle.size),l.addComponentNameToClass(F.value,"color","primary")};let D=-1;const W=()=>{const e=s.value;e&&(e.querySelectorAll("td.is-col-hover-cell").forEach(r=>r.classList.remove("is-col-hover-cell")),D=-1)},Re=e=>{const r=s.value;r&&(W(),r.querySelectorAll("tr").forEach(a=>{const n=a.querySelectorAll("td")[e];n&&n.classList.add("is-col-hover-cell")}),D=e)},_=e=>{if(d.value!=="col")return;const r=e.target;if(!r||r.tagName!=="TD")return;const n=r.cellIndex;n!==D&&Re(n)},ee=()=>{d.value==="col"&&W()},ke=e=>e.replace(/[A-Z]/g,r=>"-"+r.toLowerCase()).replace(/^ms-/,"-ms-"),te=e=>e?typeof e=="string"?e.trim().split(/\s+/).filter(Boolean):Array.isArray(e)?e.flatMap(te):Object.entries(e).filter(([,r])=>!!r).map(([r])=>r):[],Ee=e=>{if(!e)return[];if(typeof e=="string"){const r={};return e.split(";").forEach(a=>{const[n,O]=a.split(":");!n||!O||(r[n.trim()]=O.trim())}),[r]}return Array.isArray(e)?e.filter(Boolean):typeof e=="object"?[e]:[]},P=(e,r)=>{const a=Ee(r);if(a.length)for(const n of a)for(const[O,Z]of Object.entries(n)){if(Z==null||Z==="")continue;const le=ke(O);e.style.getPropertyValue(le)||e.style.setProperty(le,String(Z))}},x=(e,r)=>{const a=te(r);a.length&&e.classList.add(...a)},X=()=>{const e=$.value;if(!e)return;Array.from(e.querySelectorAll("th")).forEach(a=>{x(a,o.headerCellClass),P(a,o.headerCellStyle)})},K=()=>{const e=s.value;if(!e)return;Array.from(e.querySelectorAll("td")).forEach(a=>{x(a,o.bodyCellClass),P(a,o.bodyCellStyle)})},Y=()=>{const e=N.value;if(!e)return;Array.from(e.querySelectorAll("td")).forEach(a=>{x(a,o.footerCellClass),P(a,o.footerCellStyle)})},oe=async()=>{l.hisonCloser.component.tableList[i]&&l.hisonCloser.component.tableList[i].isHisonvueComponent&&console.warn(`[Hisonvue] The table ID is at risk of being duplicated. ${i}`),l.registerReloadable(U,()=>{re(),setTimeout(oe)}),G(),s.value&&(s.value.addEventListener("mouseover",_),s.value.addEventListener("mouseleave",ee)),await t.nextTick(),X(),K(),Y(),z.value={isHisonvueComponent:!0,getId:()=>i,getType:()=>"table",isVisible:()=>f.value,setVisible:e=>{f.value=e},isBorder:()=>u.value,setBorder:e=>{u.value=e},isHeaderBorderTop:()=>y.value,setHeaderBorderTop:e=>{y.value=e},isHeaderBorderBottom:()=>B.value,setHeaderBorderBottom:e=>{B.value=e},isHeaderBorderLeft:()=>g.value,setHeaderBorderLeft:e=>{g.value=e},isHeaderBorderRight:()=>b.value,setHeaderBorderRight:e=>{b.value=e},isBodyBorderTop:()=>m.value,setBodyBorderTop:e=>{m.value=e},isBodyBorderBottom:()=>C.value,setBodyBorderBottom:e=>{C.value=e},isBodyBorderLeft:()=>A.value,setBodyBorderLeft:e=>{A.value=e},isBodyBorderRight:()=>T.value,setBodyBorderRight:e=>{T.value=e},isFooterBorderTop:()=>p.value,setFooterBorderTop:e=>{p.value=e},isFooterBorderBottom:()=>S.value,setFooterBorderBottom:e=>{S.value=e},isFooterBorderLeft:()=>L.value,setFooterBorderLeft:e=>{L.value=e},isFooterBorderRight:()=>w.value,setFooterBorderRight:e=>{w.value=e},getStriped:()=>c.value,setStriped:e=>{c.value=e},getHoverable:()=>d.value,setHoverable:e=>{d.value=e},getCaption:()=>v.value,setCaption:e=>{v.value=e},getBackgroundType:()=>h.value,setBackgroundType:e=>{h.value=e},getHeaderTextAlign:()=>V.value,setHeaderTextAlign:e=>{V.value=e},getBodyTextAlign:()=>R.value,setBodyTextAlign:e=>{R.value=e},getFooterTextAlign:()=>k.value,setFooterTextAlign:e=>{k.value=e},getHeaderVerticalAlign:()=>E.value,setHeaderVerticalAlign:e=>{E.value=e},getBodyVerticalAlign:()=>H.value,setBodyVerticalAlign:e=>{H.value=e},getFooterVerticalAlign:()=>q.value,setFooterVerticalAlign:e=>{q.value=e},getRowCount:()=>{const e=s.value;return e?e.querySelectorAll(":scope > tr").length:0},getRowElement:e=>{const r=s.value;if(!r||!Number.isInteger(e)||e<0)return null;const a=r.querySelectorAll(":scope > tr");return e>=a.length?null:a[e]},getHeadElement:()=>$.value,getBodyElement:()=>s.value,getFootElement:()=>N.value,reload:()=>l.reloadHisonComponent(U)},l.hisonCloser.component.tableList[i]=z.value,j("mounted",z.value)},re=()=>{s.value&&(s.value.removeEventListener("mouseover",_),s.value.removeEventListener("mouseleave",ee)),l.unregisterReloadable(U),delete l.hisonCloser.component.tableList[i]};return t.onMounted(oe),t.onBeforeUnmount(re),t.watch(Q,e=>{G(),j("responsive-change",e)}),t.watch(()=>o.visible,e=>{const r=!!e;r!==f.value&&(f.value=r)}),t.watch(()=>o.caption,e=>{const r=e??"";r!==v.value&&(v.value=r)}),t.watch(()=>o.border,e=>{const r=!!e;r!==u.value&&(u.value=r)}),t.watch(()=>o.backgroundType,e=>{e&&e!==h.value&&(h.value=e)}),t.watch(()=>o.striped,e=>{const r=e??"row";r!==c.value&&(c.value=r)}),t.watch(()=>o.hoverable,e=>{const r=e??"row";r!==d.value&&(d.value=r)}),t.watch(()=>o.headerBorderTop,e=>{const r=!!e;r!==y.value&&(y.value=r)}),t.watch(()=>o.headerBorderBottom,e=>{const r=!!e;r!==B.value&&(B.value=r)}),t.watch(()=>o.headerBorderLeft,e=>{const r=!!e;r!==g.value&&(g.value=r)}),t.watch(()=>o.headerBorderRight,e=>{const r=!!e;r!==b.value&&(b.value=r)}),t.watch(()=>o.bodyBorderTop,e=>{const r=!!e;r!==m.value&&(m.value=r)}),t.watch(()=>o.bodyBorderBottom,e=>{const r=!!e;r!==C.value&&(C.value=r)}),t.watch(()=>o.bodyBorderLeft,e=>{const r=!!e;r!==A.value&&(A.value=r)}),t.watch(()=>o.bodyBorderRight,e=>{const r=!!e;r!==T.value&&(T.value=r)}),t.watch(()=>o.footerBorderTop,e=>{const r=!!e;r!==p.value&&(p.value=r)}),t.watch(()=>o.footerBorderBottom,e=>{const r=!!e;r!==S.value&&(S.value=r)}),t.watch(()=>o.footerBorderLeft,e=>{const r=!!e;r!==L.value&&(L.value=r)}),t.watch(()=>o.footerBorderRight,e=>{const r=!!e;r!==w.value&&(w.value=r)}),t.watch(()=>o.headerTextAlign,e=>{e&&e!==V.value&&(V.value=e)}),t.watch(()=>o.bodyTextAlign,e=>{e&&e!==R.value&&(R.value=e)}),t.watch(()=>o.footerTextAlign,e=>{e&&e!==k.value&&(k.value=e)}),t.watch(()=>o.headerVerticalAlign,e=>{e&&e!==E.value&&(E.value=e)}),t.watch(()=>o.bodyVerticalAlign,e=>{e&&e!==H.value&&(H.value=e)}),t.watch(()=>o.footerVerticalAlign,e=>{e&&e!==q.value&&(q.value=e)}),t.watch(()=>o.headerCellClass,()=>t.nextTick(X)),t.watch(()=>o.headerCellStyle,()=>t.nextTick(X)),t.watch(()=>o.bodyCellClass,()=>t.nextTick(K)),t.watch(()=>o.bodyCellStyle,()=>t.nextTick(K)),t.watch(()=>o.footerCellClass,()=>t.nextTick(Y)),t.watch(()=>o.footerCellStyle,()=>t.nextTick(Y)),t.watch(()=>o.class,()=>{G()}),{props:o,tableRef:J,theadRef:$,tbodyRef:s,tfootRef:N,visibleClass:ae,stripedClass:de,hoverableClass:ie,caption:v,border:u,borderClass:se,tableBackgroundTypeClass:ne,responsiveClassList:F,headerBorderTopClass:ue,bodyBorderTopClass:he,footerBorderTopClass:be,headerBorderBottomClass:ce,bodyBorderBottomClass:ye,footerBorderBottomClass:me,headerBorderLeftClass:fe,bodyBorderLeftClass:Be,footerBorderLeftClass:Ce,headerBorderRightClass:ve,bodyBorderRightClass:ge,footerBorderRightClass:Ae,headerTextAlignClass:Te,bodyTextAlignClass:pe,footerTextAlignClass:Se,headerVAlignClass:Le,bodyVAlignClass:we,footerVAlignClass:Ve}}}),Ne={key:0,class:"hison-table-caption"};function Fe(o,j,J,$,s,N){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-wrapper",...o.responsiveClassList,o.visibleClass])},[t.createElementVNode("table",{ref:"tableRef",class:t.normalizeClass(["hison-table",o.borderClass,o.tableBackgroundTypeClass,o.stripedClass,o.hoverableClass]),style:t.normalizeStyle(o.props.style)},[o.$slots.caption||o.caption?(t.openBlock(),t.createElementBlock("caption",Ne,[t.renderSlot(o.$slots,"caption",{},()=>[t.createTextVNode(t.toDisplayString(o.caption),1)])])):t.createCommentVNode("",!0),t.renderSlot(o.$slots,"colgroup"),o.$slots.thead?(t.openBlock(),t.createElementBlock("thead",{key:1,ref:"theadRef",class:t.normalizeClass([o.headerBorderTopClass,o.headerBorderBottomClass,o.headerBorderLeftClass,o.headerBorderRightClass,o.headerTextAlignClass,o.headerVAlignClass])},[t.renderSlot(o.$slots,"thead")],2)):t.createCommentVNode("",!0),t.createElementVNode("tbody",{ref:"tbodyRef",class:t.normalizeClass([o.bodyBorderTopClass,o.bodyBorderBottomClass,o.bodyBorderLeftClass,o.bodyBorderRightClass,o.bodyTextAlignClass,o.bodyVAlignClass])},[t.renderSlot(o.$slots,"default")],2),o.$slots.tfoot?(t.openBlock(),t.createElementBlock("tfoot",{key:2,ref:"tfootRef",class:t.normalizeClass([o.footerBorderTopClass,o.footerBorderBottomClass,o.footerBorderLeftClass,o.footerBorderRightClass,o.footerTextAlignClass,o.footerVAlignClass])},[t.renderSlot(o.$slots,"tfoot")],2)):t.createCommentVNode("",!0)],6)],2)}const Oe=He._export_sfc($e,[["render",Fe]]);exports.default=Oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),l=require("./index-BmKMHsSZ.js"),He=require("./_plugin-vue_export-helper-BHFhmbuH.js"),qe={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},headerCellClass:{type:[String,Array,Object],required:!1},bodyCellClass:{type:[String,Array,Object],required:!1},footerCellClass:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},headerCellStyle:{type:[String,Object,Array],required:!1},bodyCellStyle:{type:[String,Object,Array],required:!1},footerCellStyle:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},caption:{type:String,default:""},striped:{type:String,default:"row"},hoverable:{type:String,default:"row"},border:{type:Boolean,default:!1},headerBorderTop:{type:Boolean,default:!1},headerBorderBottom:{type:Boolean,default:!1},headerBorderLeft:{type:Boolean,default:!1},headerBorderRight:{type:Boolean,default:!1},bodyBorderTop:{type:Boolean,default:!1},bodyBorderBottom:{type:Boolean,default:!1},bodyBorderLeft:{type:Boolean,default:!1},bodyBorderRight:{type:Boolean,default:!1},footerBorderTop:{type:Boolean,default:!1},footerBorderBottom:{type:Boolean,default:!1},footerBorderLeft:{type:Boolean,default:!1},footerBorderRight:{type:Boolean,default:!1},headerTextAlign:{type:String,default:l.TextAlign.center,validator:o=>o==null||l.TEXT_ALIGN_VALUES.includes(o)},bodyTextAlign:{type:String,default:l.TextAlign.left,validator:o=>o==null||l.TEXT_ALIGN_VALUES.includes(o)},footerTextAlign:{type:String,default:l.TextAlign.right,validator:o=>o==null||l.TEXT_ALIGN_VALUES.includes(o)},headerVerticalAlign:{type:String,default:l.VerticalAlign.middle,validator:o=>l.VERTICAL_ALIGN_VALUES.includes(o)},bodyVerticalAlign:{type:String,default:l.VerticalAlign.middle,validator:o=>l.VERTICAL_ALIGN_VALUES.includes(o)},footerVerticalAlign:{type:String,default:l.VerticalAlign.middle,validator:o=>l.VERTICAL_ALIGN_VALUES.includes(o)},backgroundType:{type:String,default:l.BackgroundType.empty,validator:o=>l.BACKGROUND_TYPE_VALUES.includes(o)}},$e=t.defineComponent({name:"HTable",props:qe,inheritAttrs:!1,emits:["mounted","responsive-change"],setup(o,{emit:j}){const J=t.ref(null),$=t.ref(null),s=t.ref(null),N=t.ref(null),i=o.id?o.id:l.getUUID(),U=`htable:${i}`,Q=l.useDevice(),z=t.ref(null),f=t.ref(o.visible),ae=t.computed(()=>f.value?"":"hison-display-none"),v=t.ref(o.caption||""),u=t.ref(!!o.border),c=t.ref(o.striped??"row"),d=t.ref(o.hoverable??"row"),h=t.ref(o.backgroundType||l.BackgroundType.empty),y=t.ref(!!o.headerBorderTop),B=t.ref(!!o.headerBorderBottom),g=t.ref(!!o.headerBorderLeft),b=t.ref(!!o.headerBorderRight),m=t.ref(!!o.bodyBorderTop),C=t.ref(!!o.bodyBorderBottom),A=t.ref(!!o.bodyBorderLeft),T=t.ref(!!o.bodyBorderRight),p=t.ref(!!o.footerBorderTop),S=t.ref(!!o.footerBorderBottom),L=t.ref(!!o.footerBorderLeft),w=t.ref(!!o.footerBorderRight),V=t.ref(o.headerTextAlign),R=t.ref(o.bodyTextAlign),k=t.ref(o.footerTextAlign),E=t.ref(o.headerVerticalAlign),H=t.ref(o.bodyVerticalAlign),q=t.ref(o.footerVerticalAlign),se=t.computed(()=>u.value?"hison-border":""),ne=t.computed(()=>{switch(h.value){case l.BackgroundType.empty:return"hison-bg-empty";case l.BackgroundType.transparent:return"hison-bg-transparent";default:return"hison-bg-filled"}}),de=t.computed(()=>c.value==="row"?"is-striped-row":c.value==="col"?"is-striped-col":null),ie=t.computed(()=>d.value==="row"?"is-hover-row":d.value==="col"?"is-hover-col":null),ue=t.computed(()=>y.value?"hison-header-border-top":""),ce=t.computed(()=>B.value?"hison-header-border-bottom":""),fe=t.computed(()=>g.value?"hison-header-border-left":""),ve=t.computed(()=>b.value?"hison-header-border-right":""),he=t.computed(()=>m.value?"hison-body-border-top":""),ye=t.computed(()=>C.value?"hison-body-border-bottom":""),Be=t.computed(()=>A.value?"hison-body-border-left":""),ge=t.computed(()=>T.value?"hison-body-border-right":""),be=t.computed(()=>p.value?"hison-footer-border-top":""),me=t.computed(()=>S.value?"hison-footer-border-bottom":""),Ce=t.computed(()=>L.value?"hison-footer-border-left":""),Ae=t.computed(()=>w.value?"hison-footer-border-right":""),I=(e,r)=>{const a=e==="thead"?"hison-thead":e==="tbody"?"hison-tbody":"hison-tfoot";switch(r){case"center":return`${a}-ta-center`;case"right":return`${a}-ta-right`;default:return`${a}-ta-left`}},M=(e,r)=>{const a=e==="thead"?"hison-thead":e==="tbody"?"hison-tbody":"hison-tfoot";switch(r){case"top":return`${a}-valign-top`;case"bottom":return`${a}-valign-bottom`;default:return`${a}-valign-middle`}},Te=t.computed(()=>I("thead",V.value)),pe=t.computed(()=>I("tbody",R.value)),Se=t.computed(()=>I("tfoot",k.value)),Le=t.computed(()=>M("thead",E.value)),we=t.computed(()=>M("tbody",H.value)),Ve=t.computed(()=>M("tfoot",q.value)),F=t.ref([]),G=()=>{F.value=l.extractResponsiveClasses(l.toClassString(o.class)||"",Q.value),l.addComponentNameToClass(F.value,"size",l.hisonCloser.componentStyle.size),l.addComponentNameToClass(F.value,"color","primary")};let D=-1;const W=()=>{const e=s.value;e&&(e.querySelectorAll("td.is-col-hover-cell").forEach(r=>r.classList.remove("is-col-hover-cell")),D=-1)},Re=e=>{const r=s.value;r&&(W(),r.querySelectorAll("tr").forEach(a=>{const n=a.querySelectorAll("td")[e];n&&n.classList.add("is-col-hover-cell")}),D=e)},_=e=>{if(d.value!=="col")return;const r=e.target;if(!r||r.tagName!=="TD")return;const n=r.cellIndex;n!==D&&Re(n)},ee=()=>{d.value==="col"&&W()},ke=e=>e.replace(/[A-Z]/g,r=>"-"+r.toLowerCase()).replace(/^ms-/,"-ms-"),te=e=>e?typeof e=="string"?e.trim().split(/\s+/).filter(Boolean):Array.isArray(e)?e.flatMap(te):Object.entries(e).filter(([,r])=>!!r).map(([r])=>r):[],Ee=e=>{if(!e)return[];if(typeof e=="string"){const r={};return e.split(";").forEach(a=>{const[n,O]=a.split(":");!n||!O||(r[n.trim()]=O.trim())}),[r]}return Array.isArray(e)?e.filter(Boolean):typeof e=="object"?[e]:[]},P=(e,r)=>{const a=Ee(r);if(a.length)for(const n of a)for(const[O,Z]of Object.entries(n)){if(Z==null||Z==="")continue;const le=ke(O);e.style.getPropertyValue(le)||e.style.setProperty(le,String(Z))}},x=(e,r)=>{const a=te(r);a.length&&e.classList.add(...a)},X=()=>{const e=$.value;if(!e)return;Array.from(e.querySelectorAll("th")).forEach(a=>{x(a,o.headerCellClass),P(a,o.headerCellStyle)})},K=()=>{const e=s.value;if(!e)return;Array.from(e.querySelectorAll("td")).forEach(a=>{x(a,o.bodyCellClass),P(a,o.bodyCellStyle)})},Y=()=>{const e=N.value;if(!e)return;Array.from(e.querySelectorAll("td")).forEach(a=>{x(a,o.footerCellClass),P(a,o.footerCellStyle)})},oe=async()=>{l.hisonCloser.component.tableList[i]&&l.hisonCloser.component.tableList[i].isHisonvueComponent&&console.warn(`[Hisonvue] The table ID is at risk of being duplicated. ${i}`),l.registerReloadable(U,()=>{re(),setTimeout(oe)}),G(),s.value&&(s.value.addEventListener("mouseover",_),s.value.addEventListener("mouseleave",ee)),await t.nextTick(),X(),K(),Y(),z.value={isHisonvueComponent:!0,getId:()=>i,getType:()=>"table",isVisible:()=>f.value,setVisible:e=>{f.value=e},isBorder:()=>u.value,setBorder:e=>{u.value=e},isHeaderBorderTop:()=>y.value,setHeaderBorderTop:e=>{y.value=e},isHeaderBorderBottom:()=>B.value,setHeaderBorderBottom:e=>{B.value=e},isHeaderBorderLeft:()=>g.value,setHeaderBorderLeft:e=>{g.value=e},isHeaderBorderRight:()=>b.value,setHeaderBorderRight:e=>{b.value=e},isBodyBorderTop:()=>m.value,setBodyBorderTop:e=>{m.value=e},isBodyBorderBottom:()=>C.value,setBodyBorderBottom:e=>{C.value=e},isBodyBorderLeft:()=>A.value,setBodyBorderLeft:e=>{A.value=e},isBodyBorderRight:()=>T.value,setBodyBorderRight:e=>{T.value=e},isFooterBorderTop:()=>p.value,setFooterBorderTop:e=>{p.value=e},isFooterBorderBottom:()=>S.value,setFooterBorderBottom:e=>{S.value=e},isFooterBorderLeft:()=>L.value,setFooterBorderLeft:e=>{L.value=e},isFooterBorderRight:()=>w.value,setFooterBorderRight:e=>{w.value=e},getStriped:()=>c.value,setStriped:e=>{c.value=e},getHoverable:()=>d.value,setHoverable:e=>{d.value=e},getCaption:()=>v.value,setCaption:e=>{v.value=e},getBackgroundType:()=>h.value,setBackgroundType:e=>{h.value=e},getHeaderTextAlign:()=>V.value,setHeaderTextAlign:e=>{V.value=e},getBodyTextAlign:()=>R.value,setBodyTextAlign:e=>{R.value=e},getFooterTextAlign:()=>k.value,setFooterTextAlign:e=>{k.value=e},getHeaderVerticalAlign:()=>E.value,setHeaderVerticalAlign:e=>{E.value=e},getBodyVerticalAlign:()=>H.value,setBodyVerticalAlign:e=>{H.value=e},getFooterVerticalAlign:()=>q.value,setFooterVerticalAlign:e=>{q.value=e},getRowCount:()=>{const e=s.value;return e?e.querySelectorAll(":scope > tr").length:0},getRowElement:e=>{const r=s.value;if(!r||!Number.isInteger(e)||e<0)return null;const a=r.querySelectorAll(":scope > tr");return e>=a.length?null:a[e]},getHeadElement:()=>$.value,getBodyElement:()=>s.value,getFootElement:()=>N.value,reload:()=>l.reloadHisonComponent(U)},l.hisonCloser.component.tableList[i]=z.value,j("mounted",z.value)},re=()=>{s.value&&(s.value.removeEventListener("mouseover",_),s.value.removeEventListener("mouseleave",ee)),l.unregisterReloadable(U),delete l.hisonCloser.component.tableList[i]};return t.onMounted(oe),t.onBeforeUnmount(re),t.watch(Q,e=>{G(),j("responsive-change",e)}),t.watch(()=>o.visible,e=>{const r=!!e;r!==f.value&&(f.value=r)}),t.watch(()=>o.caption,e=>{const r=e??"";r!==v.value&&(v.value=r)}),t.watch(()=>o.border,e=>{const r=!!e;r!==u.value&&(u.value=r)}),t.watch(()=>o.backgroundType,e=>{e&&e!==h.value&&(h.value=e)}),t.watch(()=>o.striped,e=>{const r=e??"row";r!==c.value&&(c.value=r)}),t.watch(()=>o.hoverable,e=>{const r=e??"row";r!==d.value&&(d.value=r)}),t.watch(()=>o.headerBorderTop,e=>{const r=!!e;r!==y.value&&(y.value=r)}),t.watch(()=>o.headerBorderBottom,e=>{const r=!!e;r!==B.value&&(B.value=r)}),t.watch(()=>o.headerBorderLeft,e=>{const r=!!e;r!==g.value&&(g.value=r)}),t.watch(()=>o.headerBorderRight,e=>{const r=!!e;r!==b.value&&(b.value=r)}),t.watch(()=>o.bodyBorderTop,e=>{const r=!!e;r!==m.value&&(m.value=r)}),t.watch(()=>o.bodyBorderBottom,e=>{const r=!!e;r!==C.value&&(C.value=r)}),t.watch(()=>o.bodyBorderLeft,e=>{const r=!!e;r!==A.value&&(A.value=r)}),t.watch(()=>o.bodyBorderRight,e=>{const r=!!e;r!==T.value&&(T.value=r)}),t.watch(()=>o.footerBorderTop,e=>{const r=!!e;r!==p.value&&(p.value=r)}),t.watch(()=>o.footerBorderBottom,e=>{const r=!!e;r!==S.value&&(S.value=r)}),t.watch(()=>o.footerBorderLeft,e=>{const r=!!e;r!==L.value&&(L.value=r)}),t.watch(()=>o.footerBorderRight,e=>{const r=!!e;r!==w.value&&(w.value=r)}),t.watch(()=>o.headerTextAlign,e=>{e&&e!==V.value&&(V.value=e)}),t.watch(()=>o.bodyTextAlign,e=>{e&&e!==R.value&&(R.value=e)}),t.watch(()=>o.footerTextAlign,e=>{e&&e!==k.value&&(k.value=e)}),t.watch(()=>o.headerVerticalAlign,e=>{e&&e!==E.value&&(E.value=e)}),t.watch(()=>o.bodyVerticalAlign,e=>{e&&e!==H.value&&(H.value=e)}),t.watch(()=>o.footerVerticalAlign,e=>{e&&e!==q.value&&(q.value=e)}),t.watch(()=>o.headerCellClass,()=>t.nextTick(X)),t.watch(()=>o.headerCellStyle,()=>t.nextTick(X)),t.watch(()=>o.bodyCellClass,()=>t.nextTick(K)),t.watch(()=>o.bodyCellStyle,()=>t.nextTick(K)),t.watch(()=>o.footerCellClass,()=>t.nextTick(Y)),t.watch(()=>o.footerCellStyle,()=>t.nextTick(Y)),t.watch(()=>o.class,()=>{G()}),{props:o,tableRef:J,theadRef:$,tbodyRef:s,tfootRef:N,visibleClass:ae,stripedClass:de,hoverableClass:ie,caption:v,border:u,borderClass:se,tableBackgroundTypeClass:ne,responsiveClassList:F,headerBorderTopClass:ue,bodyBorderTopClass:he,footerBorderTopClass:be,headerBorderBottomClass:ce,bodyBorderBottomClass:ye,footerBorderBottomClass:me,headerBorderLeftClass:fe,bodyBorderLeftClass:Be,footerBorderLeftClass:Ce,headerBorderRightClass:ve,bodyBorderRightClass:ge,footerBorderRightClass:Ae,headerTextAlignClass:Te,bodyTextAlignClass:pe,footerTextAlignClass:Se,headerVAlignClass:Le,bodyVAlignClass:we,footerVAlignClass:Ve}}}),Ne={key:0,class:"hison-table-caption"};function Fe(o,j,J,$,s,N){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-wrapper",...o.responsiveClassList,o.visibleClass])},[t.createElementVNode("table",{ref:"tableRef",class:t.normalizeClass(["hison-table",o.borderClass,o.tableBackgroundTypeClass,o.stripedClass,o.hoverableClass]),style:t.normalizeStyle(o.props.style)},[o.$slots.caption||o.caption?(t.openBlock(),t.createElementBlock("caption",Ne,[t.renderSlot(o.$slots,"caption",{},()=>[t.createTextVNode(t.toDisplayString(o.caption),1)])])):t.createCommentVNode("",!0),t.renderSlot(o.$slots,"colgroup"),o.$slots.thead?(t.openBlock(),t.createElementBlock("thead",{key:1,ref:"theadRef",class:t.normalizeClass([o.headerBorderTopClass,o.headerBorderBottomClass,o.headerBorderLeftClass,o.headerBorderRightClass,o.headerTextAlignClass,o.headerVAlignClass])},[t.renderSlot(o.$slots,"thead")],2)):t.createCommentVNode("",!0),t.createElementVNode("tbody",{ref:"tbodyRef",class:t.normalizeClass([o.bodyBorderTopClass,o.bodyBorderBottomClass,o.bodyBorderLeftClass,o.bodyBorderRightClass,o.bodyTextAlignClass,o.bodyVAlignClass])},[t.renderSlot(o.$slots,"default")],2),o.$slots.tfoot?(t.openBlock(),t.createElementBlock("tfoot",{key:2,ref:"tfootRef",class:t.normalizeClass([o.footerBorderTopClass,o.footerBorderBottomClass,o.footerBorderLeftClass,o.footerBorderRightClass,o.footerTextAlignClass,o.footerVAlignClass])},[t.renderSlot(o.$slots,"tfoot")],2)):t.createCommentVNode("",!0)],6)],2)}const Oe=He._export_sfc($e,[["render",Fe]]);exports.default=Oe;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Xe, ref as a, computed as s, onMounted as Ye, onBeforeUnmount as Ze, watch as r, nextTick as f, createElementBlock as P, openBlock as G, normalizeClass as O, createElementVNode as he, normalizeStyle as Je, createCommentVNode as le, renderSlot as j, createTextVNode as Qe, toDisplayString as We } from "vue";
2
- import { B as xe, f as I, a1 as ae, a2 as se, T as ne, w as de, g as _e, u as et, e as tt, t as ot, b as Ce, h as N, r as rt, c as lt, d as at } from "./index-p1EBArRP.mjs";
2
+ import { B as xe, f as I, a1 as ae, a2 as se, T as ne, w as de, g as _e, u as et, e as tt, t as ot, b as Ce, h as N, r as rt, c as lt, d as at } from "./index-DUh7pai4.mjs";
3
3
  import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
4
  const nt = {
5
5
  /**
@@ -0,0 +1,57 @@
1
+ /**
2
+ * vue-cal v4.10.2
3
+ * (c) 2025 Antoni Andre <antoniandre.web@gmail.com>
4
+ * @license MIT
5
+ */
6
+ const t = [
7
+ "الإثنين",
8
+ "الثلاثاء",
9
+ "الأربعاء",
10
+ "الخميس",
11
+ "الجمعة",
12
+ "السبت",
13
+ "الأحد"
14
+ ], n = [
15
+ "يناير",
16
+ "فبراير",
17
+ "مارس",
18
+ "أبريل",
19
+ "مايو",
20
+ "يونيو",
21
+ "يوليو",
22
+ "أغسطس",
23
+ "سبتمبر",
24
+ "أكتوبر",
25
+ "نوفمبر",
26
+ " ديسمبر"
27
+ ], o = "سنوات", s = "سنة", e = "شهر", c = "أسبوع", a = "يوم", d = "اليوم", r = "لا حدث", y = "طوال اليوم", l = "حذف", M = "إنشاء حدث", Y = "dddd D MMMM YYYY", m = {
28
+ weekDays: t,
29
+ months: n,
30
+ years: o,
31
+ year: s,
32
+ month: e,
33
+ week: c,
34
+ day: a,
35
+ today: d,
36
+ noEvent: r,
37
+ allDay: y,
38
+ deleteEvent: l,
39
+ createEvent: M,
40
+ dateFormat: Y
41
+ };
42
+ export {
43
+ y as allDay,
44
+ M as createEvent,
45
+ Y as dateFormat,
46
+ a as day,
47
+ m as default,
48
+ l as deleteEvent,
49
+ e as month,
50
+ n as months,
51
+ r as noEvent,
52
+ d as today,
53
+ c as week,
54
+ t as weekDays,
55
+ s as year,
56
+ o as years
57
+ };
@@ -24,32 +24,32 @@ const t = [
24
24
  "Октомври",
25
25
  "Ноември",
26
26
  "Декември"
27
- ], o = "Години", s = "Година", e = "Месец", c = "Седмица", Y = "Ден", a = "Днес", d = "Няма събития", y = "Цял ден", r = "Изтрий", l = "Създай събитие", M = "dddd D MMMM YYYY", m = {
27
+ ], o = "Години", s = "Година", e = "Месец", c = "Седмица", a = "Ден", d = "Днес", y = "Няма събития", r = "Цял ден", l = "Изтрий", M = "Създай събитие", Y = "dddd D MMMM YYYY", m = {
28
28
  weekDays: t,
29
29
  months: n,
30
30
  years: o,
31
31
  year: s,
32
32
  month: e,
33
33
  week: c,
34
- day: "Ден",
35
- today: a,
36
- noEvent: d,
37
- allDay: y,
38
- deleteEvent: r,
39
- createEvent: l,
40
- dateFormat: M
34
+ day: a,
35
+ today: d,
36
+ noEvent: y,
37
+ allDay: r,
38
+ deleteEvent: l,
39
+ createEvent: M,
40
+ dateFormat: Y
41
41
  };
42
42
  export {
43
- y as allDay,
44
- l as createEvent,
45
- M as dateFormat,
46
- Y as day,
43
+ r as allDay,
44
+ M as createEvent,
45
+ Y as dateFormat,
46
+ a as day,
47
47
  m as default,
48
- r as deleteEvent,
48
+ l as deleteEvent,
49
49
  e as month,
50
50
  n as months,
51
- d as noEvent,
52
- a as today,
51
+ y as noEvent,
52
+ d as today,
53
53
  c as week,
54
54
  t as weekDays,
55
55
  s as year,
@@ -0,0 +1,57 @@
1
+ /**
2
+ * vue-cal v4.10.2
3
+ * (c) 2025 Antoni Andre <antoniandre.web@gmail.com>
4
+ * @license MIT
5
+ */
6
+ const t = [
7
+ "সোম",
8
+ "মঙ্গল",
9
+ "বুধ",
10
+ "বৃহস্পতি",
11
+ "শুক্র",
12
+ "শনি",
13
+ "রবি"
14
+ ], n = [
15
+ "জানুয়ারি",
16
+ "ফেব্ুয়ারী",
17
+ "মার্চ",
18
+ "এপ্রিল",
19
+ "মে",
20
+ "জুন",
21
+ "জুলাই",
22
+ "অগাস্ট",
23
+ "সেপ্টেম্বর",
24
+ "অক্টোবর",
25
+ "নভেম্বর",
26
+ "ডিসেম্বর"
27
+ ], o = "বছর", s = "বছর", e = "মাস", c = "সপ্তাহ", a = "দিন", d = "আজ", y = "কার্যসূচী", r = "সারাদিন", l = "মুছুন", M = "কার্যসূচী তৈরি করুন", Y = "dddd D MMMM YYYY", m = {
28
+ weekDays: t,
29
+ months: n,
30
+ years: o,
31
+ year: s,
32
+ month: e,
33
+ week: c,
34
+ day: a,
35
+ today: d,
36
+ noEvent: y,
37
+ allDay: r,
38
+ deleteEvent: l,
39
+ createEvent: M,
40
+ dateFormat: Y
41
+ };
42
+ export {
43
+ r as allDay,
44
+ M as createEvent,
45
+ Y as dateFormat,
46
+ a as day,
47
+ m as default,
48
+ l as deleteEvent,
49
+ e as month,
50
+ n as months,
51
+ y as noEvent,
52
+ d as today,
53
+ c as week,
54
+ t as weekDays,
55
+ s as year,
56
+ o as years
57
+ };
@@ -24,32 +24,32 @@ const a = [
24
24
  "Oktobar",
25
25
  "Novembar",
26
26
  "Decembar"
27
- ], t = "Godine", o = "Godina", n = "Mjesec", s = "Sedmica", b = "Dan", r = "Danas", d = "Nema događaja", c = "Cijeli dan", j = "Obriši", i = "Kreiraj događaj", l = "dddd D MMMM YYYY", m = {
27
+ ], t = "Godine", o = "Godina", n = "Mjesec", s = "Sedmica", r = "Dan", c = "Danas", d = "Nema događaja", j = "Cijeli dan", i = "Obriši", l = "Kreiraj događaj", b = "dddd D MMMM YYYY", m = {
28
28
  weekDays: a,
29
29
  months: e,
30
30
  years: t,
31
31
  year: o,
32
32
  month: n,
33
33
  week: s,
34
- day: "Dan",
35
- today: r,
34
+ day: r,
35
+ today: c,
36
36
  noEvent: d,
37
- allDay: c,
38
- deleteEvent: j,
39
- createEvent: i,
40
- dateFormat: l
37
+ allDay: j,
38
+ deleteEvent: i,
39
+ createEvent: l,
40
+ dateFormat: b
41
41
  };
42
42
  export {
43
- c as allDay,
44
- i as createEvent,
45
- l as dateFormat,
46
- b as day,
43
+ j as allDay,
44
+ l as createEvent,
45
+ b as dateFormat,
46
+ r as day,
47
47
  m as default,
48
- j as deleteEvent,
48
+ i as deleteEvent,
49
49
  n as month,
50
50
  e as months,
51
51
  d as noEvent,
52
- r as today,
52
+ c as today,
53
53
  s as week,
54
54
  a as weekDays,
55
55
  o as year,
@@ -32,36 +32,36 @@ const e = [
32
32
  "Octubre",
33
33
  "Novembre",
34
34
  "Desembre"
35
- ], s = "Anys", m = "Any", l = "Mes", o = "Setmana", y = "Dia", a = "Avui", r = "No hi ha esdeveniments", c = "Tot el dia", D = "Eliminar", i = "Crear un esdeveniment", d = "dddd D MMMM YYYY", u = {
35
+ ], s = "Anys", o = "Any", a = "Mes", r = "Setmana", c = "Dia", D = "Avui", i = "No hi ha esdeveniments", d = "Tot el dia", m = "Eliminar", l = "Crear un esdeveniment", y = "dddd D MMMM YYYY", u = {
36
36
  weekDays: e,
37
37
  weekDaysShort: t,
38
38
  months: n,
39
39
  years: s,
40
- year: "Any",
41
- month: "Mes",
42
- week: o,
43
- day: "Dia",
44
- today: a,
45
- noEvent: r,
46
- allDay: c,
47
- deleteEvent: D,
48
- createEvent: i,
49
- dateFormat: d
40
+ year: o,
41
+ month: a,
42
+ week: r,
43
+ day: c,
44
+ today: D,
45
+ noEvent: i,
46
+ allDay: d,
47
+ deleteEvent: m,
48
+ createEvent: l,
49
+ dateFormat: y
50
50
  };
51
51
  export {
52
- c as allDay,
53
- i as createEvent,
54
- d as dateFormat,
55
- y as day,
52
+ d as allDay,
53
+ l as createEvent,
54
+ y as dateFormat,
55
+ c as day,
56
56
  u as default,
57
- D as deleteEvent,
58
- l as month,
57
+ m as deleteEvent,
58
+ a as month,
59
59
  n as months,
60
- r as noEvent,
61
- a as today,
62
- o as week,
60
+ i as noEvent,
61
+ D as today,
62
+ r as week,
63
63
  e as weekDays,
64
64
  t as weekDaysShort,
65
- m as year,
65
+ o as year,
66
66
  s as years
67
67
  };
@@ -24,34 +24,34 @@ const e = [
24
24
  "Říjen",
25
25
  "Listopad",
26
26
  "Prosinec"
27
- ], n = "Roky", v = "Rok", o = "Měsíc", s = "Týden", k = "Den", d = "Dnes", c = "Bez událostí", a = "Celý den", r = "Odstranit", y = "Vytvořit událost", l = "dddd D. MMMM YYYY", D = {
27
+ ], n = "Roky", o = "Rok", s = "Měsíc", c = "Týden", d = "Den", a = "Dnes", r = "Bez událostí", l = "Celý den", v = "Odstranit", y = "Vytvořit událost", k = "dddd D. MMMM YYYY", D = {
28
28
  weekDays: e,
29
29
  months: t,
30
30
  years: n,
31
- year: "Rok",
32
- month: o,
33
- week: s,
34
- day: "Den",
35
- today: d,
36
- noEvent: c,
37
- allDay: a,
38
- deleteEvent: r,
31
+ year: o,
32
+ month: s,
33
+ week: c,
34
+ day: d,
35
+ today: a,
36
+ noEvent: r,
37
+ allDay: l,
38
+ deleteEvent: v,
39
39
  createEvent: y,
40
- dateFormat: l
40
+ dateFormat: k
41
41
  };
42
42
  export {
43
- a as allDay,
43
+ l as allDay,
44
44
  y as createEvent,
45
- l as dateFormat,
46
- k as day,
45
+ k as dateFormat,
46
+ d as day,
47
47
  D as default,
48
- r as deleteEvent,
49
- o as month,
48
+ v as deleteEvent,
49
+ s as month,
50
50
  t as months,
51
- c as noEvent,
52
- d as today,
53
- s as week,
51
+ r as noEvent,
52
+ a as today,
53
+ c as week,
54
54
  e as weekDays,
55
- v as year,
55
+ o as year,
56
56
  n as years
57
57
  };
@@ -0,0 +1,57 @@
1
+ /**
2
+ * vue-cal v4.10.2
3
+ * (c) 2025 Antoni Andre <antoniandre.web@gmail.com>
4
+ * @license MIT
5
+ */
6
+ const e = [
7
+ "Mandag",
8
+ "Tirsdag",
9
+ "Onsdag",
10
+ "Torsdag",
11
+ "Fredag",
12
+ "Lørdag",
13
+ "Søndag"
14
+ ], t = [
15
+ "Januar",
16
+ "Februar",
17
+ "Marts",
18
+ "April",
19
+ "Maj",
20
+ "Juni",
21
+ "Juli",
22
+ "August",
23
+ "September",
24
+ "Oktober",
25
+ "November",
26
+ "December"
27
+ ], n = "År (flertal)", a = "År", o = "Måned", s = "Uge", r = "Dag", d = "I dag", c = "Ingen begivenhed", g = "Hele dagen", l = "Slet", M = "Opret et event", u = "dddd D MMMM YYYY", b = {
28
+ weekDays: e,
29
+ months: t,
30
+ years: n,
31
+ year: a,
32
+ month: o,
33
+ week: s,
34
+ day: r,
35
+ today: d,
36
+ noEvent: c,
37
+ allDay: g,
38
+ deleteEvent: l,
39
+ createEvent: M,
40
+ dateFormat: u
41
+ };
42
+ export {
43
+ g as allDay,
44
+ M as createEvent,
45
+ u as dateFormat,
46
+ r as day,
47
+ b as default,
48
+ l as deleteEvent,
49
+ o as month,
50
+ t as months,
51
+ c as noEvent,
52
+ d as today,
53
+ s as week,
54
+ e as weekDays,
55
+ a as year,
56
+ n as years
57
+ };
@@ -24,32 +24,32 @@ const e = [
24
24
  "Oktober",
25
25
  "November",
26
26
  "Dezember"
27
- ], n = "Jahre", a = "Jahr", o = "Monat", s = "Woche", l = "Tag", r = "Heute", c = "Keine Events", d = "Ganztägig", g = "Löschen", i = "Event erstellen", M = "dddd D MMMM YYYY", u = {
27
+ ], n = "Jahre", a = "Jahr", o = "Monat", s = "Woche", r = "Tag", c = "Heute", d = "Keine Events", g = "Ganztägig", i = "Löschen", M = "Event erstellen", l = "dddd D MMMM YYYY", u = {
28
28
  weekDays: e,
29
29
  months: t,
30
30
  years: n,
31
31
  year: a,
32
32
  month: o,
33
33
  week: s,
34
- day: "Tag",
35
- today: r,
36
- noEvent: c,
37
- allDay: d,
38
- deleteEvent: g,
39
- createEvent: i,
40
- dateFormat: M
34
+ day: r,
35
+ today: c,
36
+ noEvent: d,
37
+ allDay: g,
38
+ deleteEvent: i,
39
+ createEvent: M,
40
+ dateFormat: l
41
41
  };
42
42
  export {
43
- d as allDay,
44
- i as createEvent,
45
- M as dateFormat,
46
- l as day,
43
+ g as allDay,
44
+ M as createEvent,
45
+ l as dateFormat,
46
+ r as day,
47
47
  u as default,
48
- g as deleteEvent,
48
+ i as deleteEvent,
49
49
  o as month,
50
50
  t as months,
51
- c as noEvent,
52
- r as today,
51
+ d as noEvent,
52
+ c as today,
53
53
  s as week,
54
54
  e as weekDays,
55
55
  a as year,
@@ -0,0 +1,5 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var S=Object.defineProperty,V=(t,e,a)=>e in t?S(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,C=(t,e,a)=>V(t,e+"",a);/**
2
+ * vue-cal v4.10.2
3
+ * (c) 2025 Antoni Andre <antoniandre.web@gmail.com>
4
+ * @license MIT
5
+ */const m=800;let d=null,c=null,v={id:null,date:null},f=!1,_=!0,u={el:null,cell:null,timeout:null};const n={_eid:null,fromVueCal:null,toVueCal:null},M=class{constructor(t){C(this,"_vuecal"),this._vuecal=t}_getEventStart(t){const{timeStep:e,timeCellHeight:a,timeFrom:i,utils:r}=this._vuecal;let{y:l}=r.cell.getPosition(t);return l-=t.dataTransfer.getData("cursor-grab-at")*1,Math.round(l*e/parseInt(a)+i)}_updateEventStartEnd(t,e,a,i){const r=a.duration*1||e.endTimeMinutes-e.startTimeMinutes;let l=Math.max(this._getEventStart(t),0);if(this._vuecal.snapToTime){const o=l+this._vuecal.snapToTime/2;l=o-o%this._vuecal.snapToTime}e.startTimeMinutes=l,e.start=new Date(new Date(i).setMinutes(l)),e.endTimeMinutes=Math.min(l+r,24*60),e.end=new Date(new Date(i).setMinutes(e.endTimeMinutes))}eventDragStart(t,e){if(t.target.nodeType===3)return t.preventDefault();t.dataTransfer.dropEffect="move",t.dataTransfer.setData("event",JSON.stringify(e)),t.dataTransfer.setData("cursor-grab-at",t.offsetY);const{clickHoldAnEvent:a}=this._vuecal.domEvents;setTimeout(()=>{a._eid=null,clearTimeout(a.timeoutId),e.deleting=!1},0),this._vuecal.domEvents.dragAnEvent._eid=e._eid,n._eid=e._eid,n.fromVueCal=this._vuecal._.uid,e.dragging=!0,setTimeout(()=>e.draggingStatic=!0,0),f=!1,v={id:this._vuecal.view.id,date:this._vuecal.view.startDate},_=!0}eventDragEnd(t){this._vuecal.domEvents.dragAnEvent._eid=null,n._eid=null,t.dragging=!1,t.draggingStatic=!1;const{fromVueCal:e,toVueCal:a}=n;a&&e!==a&&this._vuecal.utils.event.deleteAnEvent(t),n.fromVueCal=null,n.toVueCal=null,f&&_&&v.id&&this._vuecal.switchView(v.id,v.date,!0)}cellDragEnter(t,e,a){const i=t.currentTarget;if(!t.currentTarget.contains(t.relatedTarget)){if(i===u.el||!i.className.includes("vuecal__cell-content"))return!1;u.el&&(u.cell.highlighted=!1),u={el:i,cell:e,timeout:clearTimeout(u.timeout)},e.highlighted=!0,["years","year","month"].includes(this._vuecal.view.id)&&(u.timeout=setTimeout(()=>this._vuecal.switchToNarrowerView(a),2e3))}}cellDragOver(t,e,a,i){t.preventDefault(),e.highlighted=!0,(i||i===0)&&(e.highlightedSplit=i)}cellDragLeave(t,e){t.preventDefault(),!t.currentTarget.contains(t.relatedTarget)&&(e.highlightedSplit=!1,u.cell===e&&(clearTimeout(u.timeout),u={el:null,cell:null,timeout:null},e.highlighted=!1))}cellDragDrop(t,e,a,i){t.preventDefault(),clearTimeout(u.timeout),u={el:null,cell:null,timeout:null};const r=JSON.parse(t.dataTransfer.getData("event")||"{}");let l,o;if(n.fromVueCal!==this._vuecal._.uid){const{_eid:s,start:D,end:p,duration:h,...E}=r;l=this._vuecal.utils.event.createAnEvent(a,h,{...E,split:i})}else if(l=this._vuecal.view.events.find(s=>s._eid===n._eid),l||(l=this._vuecal.mutableEvents.find(s=>s._eid===n._eid),o=!!l),!l){const s=r.endTimeMinutes-r.startTimeMinutes,{start:D,end:p,...h}=r;l=this._vuecal.utils.event.createAnEvent(a,s,{...h,split:i})}const{start:T,split:w}=l;this._updateEventStartEnd(t,l,r,a),o&&this._vuecal.addEventsToView([l]),l.dragging=!1,(i||i===0)&&(l.split=i),e.highlighted=!1,e.highlightedSplit=null,_=!1,n.toVueCal=this._vuecal._.uid;const g={event:this._vuecal.cleanupEvent(l),oldDate:T,newDate:l.start,...(i||i===0)&&{oldSplit:w,newSplit:i},originalEvent:this._vuecal.cleanupEvent(r),external:!n.fromVueCal};this._vuecal.$emit("event-drop",g),this._vuecal.$emit("event-change",{event:g.event,originalEvent:g.originalEvent}),setTimeout(()=>{n._eid&&this.eventDragEnd(l)},300)}viewSelectorDragEnter(t,e,a){t.currentTarget.contains(t.relatedTarget)||(a.highlightedControl=e,clearTimeout(d),d=setTimeout(()=>{if(["previous","next"].includes(e))this._vuecal[e](),clearInterval(c),c=setInterval(this._vuecal[e],m);else if(e==="today"){clearInterval(c);let i;this._vuecal.view.id.includes("year")&&(i=this._vuecal.enabledViews.filter(r=>!r.includes("year"))[0]),this._vuecal.switchView(i||this._vuecal.view.id,new Date(new Date().setHours(0,0,0,0)),!0)}else this._vuecal.switchView(e,null,!0);f=!0},m))}viewSelectorDragLeave(t,e,a){t.currentTarget.contains(t.relatedTarget)||a.highlightedControl===e&&(a.highlightedControl=null,d&&(d=clearTimeout(d)),c&&(c=clearInterval(c)))}};exports.DragAndDrop=M;
@@ -40,7 +40,7 @@ const r = {
40
40
  const o = l + this._vuecal.snapToTime / 2;
41
41
  l = o - o % this._vuecal.snapToTime;
42
42
  }
43
- e.startTimeMinutes = l, e.start = new Date(new Date(i).setMinutes(l)), e.endTimeMinutes = Math.min(l + n, 1440), e.end = new Date(new Date(i).setMinutes(e.endTimeMinutes));
43
+ e.startTimeMinutes = l, e.start = new Date(new Date(i).setMinutes(l)), e.endTimeMinutes = Math.min(l + n, 24 * 60), e.end = new Date(new Date(i).setMinutes(e.endTimeMinutes));
44
44
  }
45
45
  /**
46
46
  * On event drag start, only possible if editableEvent is true.