hisonvue 1.1.7 → 1.1.8

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 (60) hide show
  1. package/dist/{HAccordion-BXzQTj-T.js → HAccordion-CcqP8KVN.js} +1 -1
  2. package/dist/{HAccordion-2BXGsG5B.mjs → HAccordion-DABKXdkp.mjs} +2 -2
  3. package/dist/{HBaggie-DP-oXbIt.js → HBaggie-Dc-KPRDG.js} +1 -1
  4. package/dist/{HBaggie-DbUnI6Cg.mjs → HBaggie-Dnq5t8un.mjs} +2 -2
  5. package/dist/{HBanner-C_RVokKc.js → HBanner-ClmYECkp.js} +1 -1
  6. package/dist/{HBanner-DS1wAGBj.mjs → HBanner-Cxl_X-Ui.mjs} +2 -2
  7. package/dist/{HButton-CJZsjgRh.mjs → HButton-BuJp6l32.mjs} +2 -2
  8. package/dist/{HButton-EmsUduJx.js → HButton-D7w35fAT.js} +1 -1
  9. package/dist/{HCalendar-BHuielDt.mjs → HCalendar-Cg1Ejr3b.mjs} +1 -1
  10. package/dist/{HCalendar-BQcg95QP.js → HCalendar-GfsTZV86.js} +1 -1
  11. package/dist/{HCaption-B_TLREQt.mjs → HCaption-BP0zpAoh.mjs} +1 -1
  12. package/dist/{HCaption-DnnfU-4f.js → HCaption-BZklN1hJ.js} +1 -1
  13. package/dist/{HChart-CPILy-I8.js → HChart-BoIsUY-U.js} +1 -1
  14. package/dist/{HChart-C9gfq-PC.mjs → HChart-ZHMznCxo.mjs} +1 -1
  15. package/dist/{HDrawer-tfvUaRKv.js → HDrawer-BdNXB7bZ.js} +1 -1
  16. package/dist/{HDrawer-D_kSIGBU.mjs → HDrawer-BfMsOIMU.mjs} +1 -1
  17. package/dist/{HDropdown-BjUvzvFC.js → HDropdown-CFFwgLxP.js} +1 -1
  18. package/dist/{HDropdown-BIPy8aU4.mjs → HDropdown-KwBejxH6.mjs} +2 -2
  19. package/dist/{HFileset-PW9YCJgS.js → HFileset-BVwhCpWk.js} +1 -1
  20. package/dist/{HFileset-BtK0nmzk.mjs → HFileset-NrFG7upU.mjs} +1 -1
  21. package/dist/{HGap-BbdxTgBt.js → HGap-D-OpGS6f.js} +1 -1
  22. package/dist/{HGap-CW02Hxpc.mjs → HGap-DQ7KNksh.mjs} +1 -1
  23. package/dist/{HGrid-CJ4-xVpR.mjs → HGrid-Dgv2QLud.mjs} +1 -1
  24. package/dist/{HGrid-olge21bD.js → HGrid-PEaylCn3.js} +1 -1
  25. package/dist/{HImagebox-AXcA-jAB.js → HImagebox-CVmax7-2.js} +1 -1
  26. package/dist/{HImagebox-FTiJuOTN.mjs → HImagebox-DGj7kyoL.mjs} +1 -1
  27. package/dist/{HInput-CZ11eUJB.js → HInput-CRyozCxo.js} +1 -1
  28. package/dist/{HInput-Cqo_Tfru.mjs → HInput-DzT-VAwv.mjs} +1 -1
  29. package/dist/{HInputGroup-zaJVW7RE.js → HInputGroup-CaYUBopI.js} +1 -1
  30. package/dist/{HInputGroup-SzCxRqaF.mjs → HInputGroup-CjBmNgV9.mjs} +1 -1
  31. package/dist/HLabel-BA2ph0V-.js +1 -0
  32. package/dist/{HLabel-DEVMDggG.mjs → HLabel-c8gR7-ur.mjs} +148 -131
  33. package/dist/{HLayout-Fh65aaVI.js → HLayout-Da1XBfUi.js} +1 -1
  34. package/dist/{HLayout-x_jVkIo4.mjs → HLayout-GazOMB2h.mjs} +1 -1
  35. package/dist/{HList-JIhEylRe.js → HList-B14zIkzR.js} +1 -1
  36. package/dist/{HList-V-fyd5fw.mjs → HList-tAOQaX_Q.mjs} +2 -2
  37. package/dist/{HModal-M0YUil9A.js → HModal-Boe8kpBb.js} +1 -1
  38. package/dist/{HModal-B7pME4H2.mjs → HModal-oGryjRSc.mjs} +1 -1
  39. package/dist/{HNote-HqNrL-U2.mjs → HNote-CZ02WSkW.mjs} +1 -1
  40. package/dist/{HNote-C5nujdV1.js → HNote-JSNpTQXQ.js} +1 -1
  41. package/dist/{HPagination-6aWyrTI-.js → HPagination-DlPSez0N.js} +1 -1
  42. package/dist/{HPagination-h8MaMUIE.mjs → HPagination-ZJZWJ7HP.mjs} +2 -2
  43. package/dist/HParagraph-BPtGEwa6.js +1 -0
  44. package/dist/{HParagraph-CP1IofM4.mjs → HParagraph-D0bGPbRd.mjs} +174 -157
  45. package/dist/{HPopup-Cj5IaN9N.js → HPopup-DhNEnDcR.js} +1 -1
  46. package/dist/{HPopup-DUnn4AIb.mjs → HPopup-Dv018FIN.mjs} +1 -1
  47. package/dist/{HSpinner-HdIJ62aF.js → HSpinner-BHcYPH5-.js} +1 -1
  48. package/dist/{HSpinner-bShjHynQ.mjs → HSpinner-Bvk7nkiS.mjs} +1 -1
  49. package/dist/{HTable-BuGAaqrq.mjs → HTable-C1ZdeMIP.mjs} +1 -1
  50. package/dist/{HTable-BgZ-XAZx.js → HTable-Dq_ySJrZ.js} +1 -1
  51. package/dist/hisonvue.cjs.js +1 -1
  52. package/dist/hisonvue.d.ts +58 -0
  53. package/dist/hisonvue.es.js +2 -2
  54. package/dist/{index-BU8h1J_W.mjs → index-9uY2HzIO.mjs} +1 -1
  55. package/dist/{index-BzCcaeiL.js → index-Cp0RZa-k.js} +1 -1
  56. package/dist/{setButtonCssEvent-Oy4ojn9y.js → setButtonCssEvent-CEQ0vsUw.js} +1 -1
  57. package/dist/{setButtonCssEvent-C-ESkC60.mjs → setButtonCssEvent-C_OU9wiq.mjs} +1 -1
  58. package/package.json +1 -1
  59. package/dist/HLabel-jZG7tY-0.js +0 -1
  60. package/dist/HParagraph-IvsIOdD1.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-BzCcaeiL.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-Cp0RZa-k.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-BU8h1J_W.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-9uY2HzIO.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 = {
@@ -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-BU8h1J_W.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-9uY2HzIO.mjs";
3
3
  import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
4
  const nt = {
5
5
  /**
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),l=require("./index-BzCcaeiL.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-Cp0RZa-k.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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BzCcaeiL.js");exports.BACKGROUND_TYPE_VALUES=e.BACKGROUND_TYPE_VALUES;exports.BACK_IMAGE_ALIGN_VALUES=e.BACK_IMAGE_ALIGN_VALUES;exports.BACK_IMAGE_STYLE_VALUES=e.BACK_IMAGE_STYLE_VALUES;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=e.BACK_IMAGE_VERTICAL_ALIGN_VALUES;exports.BackImageAlign=e.BackImageAlign;exports.BackImageRepeat=e.BackImageRepeat;exports.BackImageVerticalAlign=e.BackImageVerticalAlign;exports.BackgroundType=e.BackgroundType;exports.COLOR_SET_VALUES=e.COLOR_SET_VALUES;exports.CSS_VAR_RE=e.CSS_VAR_RE;exports.Color=e.Color;exports.DATA_STATUS_VALUES=e.DATA_STATUS_VALUES;exports.DROPDOWN_TRIGGER_VALUES=e.DROPDOWN_TRIGGER_VALUES;exports.DataStatus=e.DataStatus;exports.DayOfWeek=e.DayOfWeek;exports.DropdownTrigger=e.DropdownTrigger;exports.EDIT_MODE_VALUES=e.EDIT_MODE_VALUES;exports.EditMode=e.EditMode;exports.GRID_ALIGN_VALUES=e.GRID_ALIGN_VALUES;exports.GRID_DATE_FORMAT_VALUES=e.GRID_DATE_FORMAT_VALUES;exports.GRID_MONTH_FORMAT_VALUES=e.GRID_MONTH_FORMAT_VALUES;exports.GRID_VERTICAL_ALIGN_VALUES=e.GRID_VERTICAL_ALIGN_VALUES;exports.HAccordionClientOnly=e.HAccordionClientOnly;exports.HBaggieClientOnly=e.HBaggieClientOnly;exports.HBannerClientOnly=e.HBannerClientOnly;exports.HButtonClientOnly=e.HButtonClientOnly;exports.HCalendarClientOnly=e.HCalendarClientOnly;exports.HCalendarTimeFormat=e.HCalendarTimeFormat;exports.HCalendarView=e.HCalendarView;exports.HCaptionClientOnly=e.HCaptionClientOnly;exports.HChartClientOnly=e.HChartClientOnly;exports.HDrawerClientOnly=e.HDrawerClientOnly;exports.HDropdownClientOnly=e.HDropdownClientOnly;exports.HEX_COLOR_RE=e.HEX_COLOR_RE;exports.HFilesetClientOnly=e.HFilesetClientOnly;exports.HGapClientOnly=e.HGapClientOnly;exports.HGapLine=e.HGapLine;exports.HGapLineStyle=e.HGapLineStyle;exports.HGridClientOnly=e.HGridClientOnly;exports.HImageboxClientOnly=e.HImageboxClientOnly;exports.HInputClientOnly=e.HInputClientOnly;exports.HInputGroupClientOnly=e.HInputGroupClientOnly;exports.HLabelClientOnly=e.HLabelClientOnly;exports.HLayoutClientOnly=e.HLayoutClientOnly;exports.HListClientOnly=e.HListClientOnly;exports.HModalClientOnly=e.HModalClientOnly;exports.HNoteClientOnly=e.HNoteClientOnly;exports.HPaginationClientOnly=e.HPaginationClientOnly;exports.HParagraphClientOnly=e.HParagraphClientOnly;exports.HPopupClientOnly=e.HPopupClientOnly;exports.HSpinnerClientOnly=e.HSpinnerClientOnly;exports.HTableClientOnly=e.HTableClientOnly;exports.H_CALENDAR_TIME_FORMAT_VALUES=e.H_CALENDAR_TIME_FORMAT_VALUES;exports.H_CALENDAR_VIEW_VALUES=e.H_CALENDAR_VIEW_VALUES;exports.H_GAP_LINE_STYLE_VALUES=e.H_GAP_LINE_STYLE_VALUES;exports.H_GAP_RULE_VALUES=e.H_GAP_RULE_VALUES;exports.INPUT_TYPE_VALUES=e.INPUT_TYPE_VALUES;exports.InputType=e.InputType;exports.MODAL_PLACEMENT_VALUES=e.MODAL_PLACEMENT_VALUES;exports.ModalPlacement=e.ModalPlacement;exports.NOTE_MODE_BY_DEVICE_VALUES=e.NOTE_MODE_BY_DEVICE_VALUES;exports.SCREEN_POSITION_VALUES=e.SCREEN_POSITION_VALUES;exports.SELECTION_POLICY_VALUES=e.SELECTION_POLICY_VALUES;exports.SPINNER_TYPE_VALUES=e.SPINNER_TYPE_VALUES;exports.ScreenPosition=e.ScreenPosition;exports.Size=e.Size;exports.SpinnerType=e.SpinnerType;exports.TEXT_ALIGN_VALUES=e.TEXT_ALIGN_VALUES;exports.TOOL_POSITION_VALUES=e.TOOL_POSITION_VALUES;exports.TextAlign=e.TextAlign;exports.VERTICAL_ALIGN_VALUES=e.VERTICAL_ALIGN_VALUES;exports.VerticalAlign=e.VerticalAlign;exports.WHITE_SPACE_VALUES=e.WHITE_SPACE_VALUES;exports.WhiteSpace=e.WhiteSpace;exports.getDefaultHisonConfig=e.getDefaultHisonConfig;exports.hison=e.hison;exports.hisonCloser=e.hisonCloser;exports.hisonvue=e.hisonvue;exports.isCssColorLike=e.isCssColorLike;exports.AllDateTimeFormat=e.Hisonjs_bundleExports.AllDateTimeFormat;exports.ApiDelete=e.Hisonjs_bundleExports.ApiDelete;exports.ApiDeleteUrl=e.Hisonjs_bundleExports.ApiDeleteUrl;exports.ApiGet=e.Hisonjs_bundleExports.ApiGet;exports.ApiGetUrl=e.Hisonjs_bundleExports.ApiGetUrl;exports.ApiPatch=e.Hisonjs_bundleExports.ApiPatch;exports.ApiPatchUrl=e.Hisonjs_bundleExports.ApiPatchUrl;exports.ApiPost=e.Hisonjs_bundleExports.ApiPost;exports.ApiPostUrl=e.Hisonjs_bundleExports.ApiPostUrl;exports.ApiPut=e.Hisonjs_bundleExports.ApiPut;exports.ApiPutUrl=e.Hisonjs_bundleExports.ApiPutUrl;exports.CachingModule=e.Hisonjs_bundleExports.CachingModule;exports.ColorSet=e.Vanillagrid2_bundleExports.ColorSet;exports.CountDateType=e.Hisonjs_bundleExports.CountDateType;exports.DataModel=e.Hisonjs_bundleExports.DataModel;exports.DataWrapper=e.Hisonjs_bundleExports.DataWrapper;exports.DateFormat=e.Hisonjs_bundleExports.DateFormat;exports.DateTimeFormat=e.Hisonjs_bundleExports.DateTimeFormat;exports.DayFormat=e.Hisonjs_bundleExports.DayFormat;exports.DayOfWeekFormat=e.Hisonjs_bundleExports.DayOfWeekFormat;exports.DayOfWeekFullName=e.Hisonjs_bundleExports.DayOfWeekFullName;exports.DayOfWeekFullNameKR=e.Hisonjs_bundleExports.DayOfWeekFullNameKR;exports.DayOfWeekShortName=e.Hisonjs_bundleExports.DayOfWeekShortName;exports.DayOfWeekShortNameKR=e.Hisonjs_bundleExports.DayOfWeekShortNameKR;exports.GridAlign=e.Vanillagrid2_bundleExports.Align;exports.GridBasicDataType=e.Vanillagrid2_bundleExports.BasicDataType;exports.GridDateFormat=e.Vanillagrid2_bundleExports.DateFormat;exports.GridMonthFormat=e.Vanillagrid2_bundleExports.MonthFormat;exports.GridRowStatus=e.Vanillagrid2_bundleExports.RowStatus;exports.GridVerticalAlign=e.Vanillagrid2_bundleExports.VerticalAlign;exports.HourFormat=e.Hisonjs_bundleExports.HourFormat;exports.HourMinuteFormat=e.Hisonjs_bundleExports.HourMinuteFormat;exports.MinuteFormat=e.Hisonjs_bundleExports.MinuteFormat;exports.MonthFormat=e.Hisonjs_bundleExports.MonthFormat;exports.MonthFullName=e.Hisonjs_bundleExports.MonthFullName;exports.MonthShortName=e.Hisonjs_bundleExports.MonthShortName;exports.NoteModeByDevice=e.Vanillanote2_bundleExports.NoteModeByDevice;exports.NoteToolPosition=e.Vanillanote2_bundleExports.ToolPosition;exports.SecondFormat=e.Hisonjs_bundleExports.SecondFormat;exports.SelectionPolicy=e.Vanillagrid2_bundleExports.SelectionPolicy;exports.TimeFormat=e.Hisonjs_bundleExports.TimeFormat;exports.YearFormat=e.Hisonjs_bundleExports.YearFormat;exports.YearMonthFormat=e.Hisonjs_bundleExports.YearMonthFormat;exports.createHison=e.Hisonjs_bundleExports.createHison;exports.getVanillagrid=e.Vanillagrid2_bundleExports.getVanillagrid;exports.getVanillagridConfig=e.Vanillagrid2_bundleExports.getVanillagridConfig;exports.getVanillanote=e.Vanillanote2_bundleExports.getVanillanote;exports.getVanillanoteConfig=e.Vanillanote2_bundleExports.getVanillanoteConfig;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Cp0RZa-k.js");exports.BACKGROUND_TYPE_VALUES=e.BACKGROUND_TYPE_VALUES;exports.BACK_IMAGE_ALIGN_VALUES=e.BACK_IMAGE_ALIGN_VALUES;exports.BACK_IMAGE_STYLE_VALUES=e.BACK_IMAGE_STYLE_VALUES;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=e.BACK_IMAGE_VERTICAL_ALIGN_VALUES;exports.BackImageAlign=e.BackImageAlign;exports.BackImageRepeat=e.BackImageRepeat;exports.BackImageVerticalAlign=e.BackImageVerticalAlign;exports.BackgroundType=e.BackgroundType;exports.COLOR_SET_VALUES=e.COLOR_SET_VALUES;exports.CSS_VAR_RE=e.CSS_VAR_RE;exports.Color=e.Color;exports.DATA_STATUS_VALUES=e.DATA_STATUS_VALUES;exports.DROPDOWN_TRIGGER_VALUES=e.DROPDOWN_TRIGGER_VALUES;exports.DataStatus=e.DataStatus;exports.DayOfWeek=e.DayOfWeek;exports.DropdownTrigger=e.DropdownTrigger;exports.EDIT_MODE_VALUES=e.EDIT_MODE_VALUES;exports.EditMode=e.EditMode;exports.GRID_ALIGN_VALUES=e.GRID_ALIGN_VALUES;exports.GRID_DATE_FORMAT_VALUES=e.GRID_DATE_FORMAT_VALUES;exports.GRID_MONTH_FORMAT_VALUES=e.GRID_MONTH_FORMAT_VALUES;exports.GRID_VERTICAL_ALIGN_VALUES=e.GRID_VERTICAL_ALIGN_VALUES;exports.HAccordionClientOnly=e.HAccordionClientOnly;exports.HBaggieClientOnly=e.HBaggieClientOnly;exports.HBannerClientOnly=e.HBannerClientOnly;exports.HButtonClientOnly=e.HButtonClientOnly;exports.HCalendarClientOnly=e.HCalendarClientOnly;exports.HCalendarTimeFormat=e.HCalendarTimeFormat;exports.HCalendarView=e.HCalendarView;exports.HCaptionClientOnly=e.HCaptionClientOnly;exports.HChartClientOnly=e.HChartClientOnly;exports.HDrawerClientOnly=e.HDrawerClientOnly;exports.HDropdownClientOnly=e.HDropdownClientOnly;exports.HEX_COLOR_RE=e.HEX_COLOR_RE;exports.HFilesetClientOnly=e.HFilesetClientOnly;exports.HGapClientOnly=e.HGapClientOnly;exports.HGapLine=e.HGapLine;exports.HGapLineStyle=e.HGapLineStyle;exports.HGridClientOnly=e.HGridClientOnly;exports.HImageboxClientOnly=e.HImageboxClientOnly;exports.HInputClientOnly=e.HInputClientOnly;exports.HInputGroupClientOnly=e.HInputGroupClientOnly;exports.HLabelClientOnly=e.HLabelClientOnly;exports.HLayoutClientOnly=e.HLayoutClientOnly;exports.HListClientOnly=e.HListClientOnly;exports.HModalClientOnly=e.HModalClientOnly;exports.HNoteClientOnly=e.HNoteClientOnly;exports.HPaginationClientOnly=e.HPaginationClientOnly;exports.HParagraphClientOnly=e.HParagraphClientOnly;exports.HPopupClientOnly=e.HPopupClientOnly;exports.HSpinnerClientOnly=e.HSpinnerClientOnly;exports.HTableClientOnly=e.HTableClientOnly;exports.H_CALENDAR_TIME_FORMAT_VALUES=e.H_CALENDAR_TIME_FORMAT_VALUES;exports.H_CALENDAR_VIEW_VALUES=e.H_CALENDAR_VIEW_VALUES;exports.H_GAP_LINE_STYLE_VALUES=e.H_GAP_LINE_STYLE_VALUES;exports.H_GAP_RULE_VALUES=e.H_GAP_RULE_VALUES;exports.INPUT_TYPE_VALUES=e.INPUT_TYPE_VALUES;exports.InputType=e.InputType;exports.MODAL_PLACEMENT_VALUES=e.MODAL_PLACEMENT_VALUES;exports.ModalPlacement=e.ModalPlacement;exports.NOTE_MODE_BY_DEVICE_VALUES=e.NOTE_MODE_BY_DEVICE_VALUES;exports.SCREEN_POSITION_VALUES=e.SCREEN_POSITION_VALUES;exports.SELECTION_POLICY_VALUES=e.SELECTION_POLICY_VALUES;exports.SPINNER_TYPE_VALUES=e.SPINNER_TYPE_VALUES;exports.ScreenPosition=e.ScreenPosition;exports.Size=e.Size;exports.SpinnerType=e.SpinnerType;exports.TEXT_ALIGN_VALUES=e.TEXT_ALIGN_VALUES;exports.TOOL_POSITION_VALUES=e.TOOL_POSITION_VALUES;exports.TextAlign=e.TextAlign;exports.VERTICAL_ALIGN_VALUES=e.VERTICAL_ALIGN_VALUES;exports.VerticalAlign=e.VerticalAlign;exports.WHITE_SPACE_VALUES=e.WHITE_SPACE_VALUES;exports.WhiteSpace=e.WhiteSpace;exports.getDefaultHisonConfig=e.getDefaultHisonConfig;exports.hison=e.hison;exports.hisonCloser=e.hisonCloser;exports.hisonvue=e.hisonvue;exports.isCssColorLike=e.isCssColorLike;exports.AllDateTimeFormat=e.Hisonjs_bundleExports.AllDateTimeFormat;exports.ApiDelete=e.Hisonjs_bundleExports.ApiDelete;exports.ApiDeleteUrl=e.Hisonjs_bundleExports.ApiDeleteUrl;exports.ApiGet=e.Hisonjs_bundleExports.ApiGet;exports.ApiGetUrl=e.Hisonjs_bundleExports.ApiGetUrl;exports.ApiPatch=e.Hisonjs_bundleExports.ApiPatch;exports.ApiPatchUrl=e.Hisonjs_bundleExports.ApiPatchUrl;exports.ApiPost=e.Hisonjs_bundleExports.ApiPost;exports.ApiPostUrl=e.Hisonjs_bundleExports.ApiPostUrl;exports.ApiPut=e.Hisonjs_bundleExports.ApiPut;exports.ApiPutUrl=e.Hisonjs_bundleExports.ApiPutUrl;exports.CachingModule=e.Hisonjs_bundleExports.CachingModule;exports.ColorSet=e.Vanillagrid2_bundleExports.ColorSet;exports.CountDateType=e.Hisonjs_bundleExports.CountDateType;exports.DataModel=e.Hisonjs_bundleExports.DataModel;exports.DataWrapper=e.Hisonjs_bundleExports.DataWrapper;exports.DateFormat=e.Hisonjs_bundleExports.DateFormat;exports.DateTimeFormat=e.Hisonjs_bundleExports.DateTimeFormat;exports.DayFormat=e.Hisonjs_bundleExports.DayFormat;exports.DayOfWeekFormat=e.Hisonjs_bundleExports.DayOfWeekFormat;exports.DayOfWeekFullName=e.Hisonjs_bundleExports.DayOfWeekFullName;exports.DayOfWeekFullNameKR=e.Hisonjs_bundleExports.DayOfWeekFullNameKR;exports.DayOfWeekShortName=e.Hisonjs_bundleExports.DayOfWeekShortName;exports.DayOfWeekShortNameKR=e.Hisonjs_bundleExports.DayOfWeekShortNameKR;exports.GridAlign=e.Vanillagrid2_bundleExports.Align;exports.GridBasicDataType=e.Vanillagrid2_bundleExports.BasicDataType;exports.GridDateFormat=e.Vanillagrid2_bundleExports.DateFormat;exports.GridMonthFormat=e.Vanillagrid2_bundleExports.MonthFormat;exports.GridRowStatus=e.Vanillagrid2_bundleExports.RowStatus;exports.GridVerticalAlign=e.Vanillagrid2_bundleExports.VerticalAlign;exports.HourFormat=e.Hisonjs_bundleExports.HourFormat;exports.HourMinuteFormat=e.Hisonjs_bundleExports.HourMinuteFormat;exports.MinuteFormat=e.Hisonjs_bundleExports.MinuteFormat;exports.MonthFormat=e.Hisonjs_bundleExports.MonthFormat;exports.MonthFullName=e.Hisonjs_bundleExports.MonthFullName;exports.MonthShortName=e.Hisonjs_bundleExports.MonthShortName;exports.NoteModeByDevice=e.Vanillanote2_bundleExports.NoteModeByDevice;exports.NoteToolPosition=e.Vanillanote2_bundleExports.ToolPosition;exports.SecondFormat=e.Hisonjs_bundleExports.SecondFormat;exports.SelectionPolicy=e.Vanillagrid2_bundleExports.SelectionPolicy;exports.TimeFormat=e.Hisonjs_bundleExports.TimeFormat;exports.YearFormat=e.Hisonjs_bundleExports.YearFormat;exports.YearMonthFormat=e.Hisonjs_bundleExports.YearMonthFormat;exports.createHison=e.Hisonjs_bundleExports.createHison;exports.getVanillagrid=e.Vanillagrid2_bundleExports.getVanillagrid;exports.getVanillagridConfig=e.Vanillagrid2_bundleExports.getVanillagridConfig;exports.getVanillanote=e.Vanillanote2_bundleExports.getVanillanote;exports.getVanillanoteConfig=e.Vanillanote2_bundleExports.getVanillanoteConfig;
@@ -9954,6 +9954,10 @@ toggleTarget: {
9954
9954
  type: PropType<string | null>;
9955
9955
  default: null;
9956
9956
  };
9957
+ translate: {
9958
+ type: BooleanConstructor;
9959
+ default: boolean;
9960
+ };
9957
9961
  tabIndex: {
9958
9962
  type: PropType<number | string | null>;
9959
9963
  default: null;
@@ -9992,6 +9996,8 @@ getBackgroundType: () => BackgroundTypeValue;
9992
9996
  setBackgroundType: (type: BackgroundType | BackgroundTypeValue) => void;
9993
9997
  getToggleTarget: () => string | null;
9994
9998
  setToggleTarget: (id: string | null) => void;
9999
+ isTranslate: () => boolean;
10000
+ setTranslate: (translate: boolean) => void;
9995
10001
  getTabIndex: () => number | null;
9996
10002
  setTabIndex: (v: number | null) => void;
9997
10003
  focus: () => void;
@@ -10066,6 +10072,10 @@ toggleTarget: {
10066
10072
  type: PropType<string | null>;
10067
10073
  default: null;
10068
10074
  };
10075
+ translate: {
10076
+ type: BooleanConstructor;
10077
+ default: boolean;
10078
+ };
10069
10079
  tabIndex: {
10070
10080
  type: PropType<number | string | null>;
10071
10081
  default: null;
@@ -10095,6 +10105,8 @@ fontUnderlineClass: ComputedRef<"hison-font-underline-important" | undefined>;
10095
10105
  textAlignStyle: ComputedRef< {
10096
10106
  textAlign: "left" | "center" | "right";
10097
10107
  }>;
10108
+ translateAttr: ComputedRef<"no" | undefined>;
10109
+ translateClass: ComputedRef<"" | "notranslate">;
10098
10110
  borderClass: ComputedRef<"" | "hison-border">;
10099
10111
  backgroundTypeClass: ComputedRef<"hison-bg-transparent" | "hison-bg-empty" | "hison-bg-filled">;
10100
10112
  responsiveClassList: Ref<string[], string[]>;
@@ -10168,6 +10180,10 @@ toggleTarget: {
10168
10180
  type: PropType<string | null>;
10169
10181
  default: null;
10170
10182
  };
10183
+ translate: {
10184
+ type: BooleanConstructor;
10185
+ default: boolean;
10186
+ };
10171
10187
  tabIndex: {
10172
10188
  type: PropType<number | string | null>;
10173
10189
  default: null;
@@ -10184,6 +10200,7 @@ onMounted?: ((...args: any[]) => any) | undefined;
10184
10200
  }>, {
10185
10201
  border: boolean;
10186
10202
  textAlign: "left" | "center" | "right" | TextAlign;
10203
+ translate: boolean;
10187
10204
  fontBold: boolean;
10188
10205
  fontItalic: boolean;
10189
10206
  fontThruline: boolean;
@@ -10409,6 +10426,17 @@ export declare interface HLabelMethods extends ComponentMethods {
10409
10426
  * - Accepts `null` to remove toggle linkage.
10410
10427
  */
10411
10428
  setToggleTarget(id: string | null): void;
10429
+ /**
10430
+ * Returns whether translation is currently enabled.
10431
+ * - When `false`, the label has `translate="no"` and `.notranslate` class.
10432
+ */
10433
+ isTranslate(): boolean;
10434
+ /**
10435
+ * Enables or disables browser translation prevention.
10436
+ * - `true` → nothing (translation allowed)
10437
+ * - `false` → adds `translate="no"` + `.notranslate`
10438
+ */
10439
+ setTranslate(translate: boolean): void;
10412
10440
  /**
10413
10441
  * Gets the current `tabIndex` applied to element.
10414
10442
  * - `null`: no `tabindex` attribute (items not focusable).
@@ -14460,6 +14488,10 @@ copyButtonText: {
14460
14488
  type: StringConstructor;
14461
14489
  default: string;
14462
14490
  };
14491
+ translate: {
14492
+ type: BooleanConstructor;
14493
+ default: boolean;
14494
+ };
14463
14495
  }>, {
14464
14496
  paraRef: Ref<HTMLElement | null, HTMLElement | null>;
14465
14497
  paragraphMethods: ComputedRef<HParagraphMethods | {
@@ -14495,6 +14527,8 @@ setCopyEnabled: (copyEnabled: boolean) => void;
14495
14527
  isShowCopyButton: () => boolean;
14496
14528
  setShowCopyButton: (v: boolean) => void;
14497
14529
  copy: () => Promise<boolean>;
14530
+ isTranslate: () => boolean;
14531
+ setTranslate: (translate: boolean) => void;
14498
14532
  isHisonvueComponent: true;
14499
14533
  getId: () => string;
14500
14534
  reload: () => void;
@@ -14576,6 +14610,10 @@ copyButtonText: {
14576
14610
  type: StringConstructor;
14577
14611
  default: string;
14578
14612
  };
14613
+ translate: {
14614
+ type: BooleanConstructor;
14615
+ default: boolean;
14616
+ };
14579
14617
  }>> & Readonly<{
14580
14618
  onMounted?: ((...args: any[]) => any) | undefined;
14581
14619
  "onResponsive-change"?: ((...args: any[]) => any) | undefined;
@@ -14606,6 +14644,8 @@ whiteSpaceClass: ComputedRef<"" | "hison-ws-normal" | "hison-ws-pre" | "hison-ws
14606
14644
  textAlignClass: ComputedRef<"hison-ta-center" | "hison-ta-right" | "hison-ta-left">;
14607
14645
  verticalAlignClass: ComputedRef<"" | "hison-valign-middle" | "hison-valign-bottom">;
14608
14646
  copyGuardClass: ComputedRef<"" | "hison-no-select">;
14647
+ translateClass: ComputedRef<"" | "notranslate">;
14648
+ translateAttr: ComputedRef<"no" | undefined>;
14609
14649
  onKeydown: (e: KeyboardEvent) => Promise<void>;
14610
14650
  onCopyEvent: (e: ClipboardEvent) => Promise<void>;
14611
14651
  onCutEvent: (e: ClipboardEvent) => void;
@@ -14688,6 +14728,10 @@ copyButtonText: {
14688
14728
  type: StringConstructor;
14689
14729
  default: string;
14690
14730
  };
14731
+ translate: {
14732
+ type: BooleanConstructor;
14733
+ default: boolean;
14734
+ };
14691
14735
  }>> & Readonly<{
14692
14736
  onMounted?: ((...args: any[]) => any) | undefined;
14693
14737
  "onResponsive-change"?: ((...args: any[]) => any) | undefined;
@@ -14699,6 +14743,7 @@ verticalAlign: "top" | "bottom" | "middle" | VerticalAlign;
14699
14743
  whiteSpace: "normal" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | WhiteSpace | null;
14700
14744
  border: boolean;
14701
14745
  textAlign: "left" | "center" | "right" | TextAlign;
14746
+ translate: boolean;
14702
14747
  fontBold: boolean;
14703
14748
  fontItalic: boolean;
14704
14749
  fontThruline: boolean;
@@ -14883,6 +14928,17 @@ export declare interface HParagraphMethods extends ComponentMethods {
14883
14928
  * - Resolves to `true` on success, `false` if copying is blocked or fails.
14884
14929
  */
14885
14930
  copy(): Promise<boolean>;
14931
+ /**
14932
+ * Returns whether translation is currently enabled.
14933
+ * - When `false`, the paragraph has `translate="no"` and `.notranslate` class.
14934
+ */
14935
+ isTranslate(): boolean;
14936
+ /**
14937
+ * Enables or disables browser translation prevention.
14938
+ * - `true` → nothing
14939
+ * - `false` → adds `translate="no"` + `.notranslate`
14940
+ */
14941
+ setTranslate(translate: boolean): void;
14886
14942
  }
14887
14943
 
14888
14944
  export declare const HPopup: DefineComponent<ExtractPropTypes< {
@@ -19173,6 +19229,7 @@ declare module 'vue' {
19173
19229
  * @prop {boolean} [border] - Whether to show border (box-shadow). Default: `false`.
19174
19230
  * @prop {('filled'|'empty'|'transparent')} [backgroundType] - Background style. `'empty'` (default), `'filled'`, or `'transparent'`.
19175
19231
  * @prop {string} [toggleTarget=null] - ID of the target `HInput` (`checkbox` or `radio`) to toggle when the label is clicked or activated by keyboard.
19232
+ * @prop {boolean} [translate=true] - If false : prevents browser/auto translation by adding `translate="no"` and `.notranslate` to the rendered element.
19176
19233
  *
19177
19234
  * ---
19178
19235
  *
@@ -20039,6 +20096,7 @@ declare module 'vue' {
20039
20096
  * @prop {boolean} [copyEnabled=false] - Enables copy via keyboard and button.
20040
20097
  * @prop {boolean} [showCopyButton=false] - Shows the built-in copy button.
20041
20098
  * @prop {string} [copyButtonText='copy'] - Label text for the built-in copy button.
20099
+ * @prop {boolean} [translate=true] - If false : prevents browser/auto translation by adding `translate="no"` and `.notranslate` to the inner `<p>`.
20042
20100
  *
20043
20101
  * ---
20044
20102
  *
@@ -1,5 +1,5 @@
1
- import { Q as a, au as e, av as t } from "./index-BU8h1J_W.mjs";
2
- import { B as aa, Y as ta, Z as ea, X as oa, ax as na, az as sa, ay as la, f as ia, G as ra, aJ as Aa, aw as ca, V as _a, D as Ea, W as Ca, aK as ma, x as Sa, E as Da, y as Oa, aH as pa, L as La, K as ya, J as Ta, a4 as Va, a5 as Ha, a6 as Fa, a7 as ga, a8 as ua, aL as Ia, m as Ua, a9 as Ma, aa as Na, ab as da, ac as Ga, aI as Pa, ad as ha, ae as Ra, aF as fa, aG as Ba, af as ka, ag as Wa, ah as Ya, ai as Ka, aj as wa, ak as xa, al as ba, am as va, an as za, ao as Xa, ap as $a, aq as ja, ar as Ja, as as qa, k as Qa, H as Za, z as at, A as tt, N as et, O as ot, aA as nt, aB as st, $ as lt, S as it, M as rt, aC as At, i as ct, v as _t, aD as Et, T as Ct, _ as mt, w as St, a1 as Dt, a2 as Ot, a0 as pt, aE as Lt, at as yt, l as Tt, h as Vt, a3 as Ht, I as Ft } from "./index-BU8h1J_W.mjs";
1
+ import { Q as a, au as e, av as t } from "./index-9uY2HzIO.mjs";
2
+ import { B as aa, Y as ta, Z as ea, X as oa, ax as na, az as sa, ay as la, f as ia, G as ra, aJ as Aa, aw as ca, V as _a, D as Ea, W as Ca, aK as ma, x as Sa, E as Da, y as Oa, aH as pa, L as La, K as ya, J as Ta, a4 as Va, a5 as Ha, a6 as Fa, a7 as ga, a8 as ua, aL as Ia, m as Ua, a9 as Ma, aa as Na, ab as da, ac as Ga, aI as Pa, ad as ha, ae as Ra, aF as fa, aG as Ba, af as ka, ag as Wa, ah as Ya, ai as Ka, aj as wa, ak as xa, al as ba, am as va, an as za, ao as Xa, ap as $a, aq as ja, ar as Ja, as as qa, k as Qa, H as Za, z as at, A as tt, N as et, O as ot, aA as nt, aB as st, $ as lt, S as it, M as rt, aC as At, i as ct, v as _t, aD as Et, T as Ct, _ as mt, w as St, a1 as Dt, a2 as Ot, a0 as pt, aE as Lt, at as yt, l as Tt, h as Vt, a3 as Ht, I as Ft } from "./index-9uY2HzIO.mjs";
3
3
  const n = a.AllDateTimeFormat, s = a.ApiDelete, l = a.ApiDeleteUrl, i = a.ApiGet, r = a.ApiGetUrl, A = a.ApiPatch, c = a.ApiPatchUrl, _ = a.ApiPost, E = a.ApiPostUrl, C = a.ApiPut, m = a.ApiPutUrl, S = a.CachingModule, D = t.ColorSet, O = a.CountDateType, p = a.DataModel, L = a.DataWrapper, y = a.DateFormat, T = a.DateTimeFormat, V = a.DayFormat, H = a.DayOfWeekFormat, F = a.DayOfWeekFullName, g = a.DayOfWeekFullNameKR, u = a.DayOfWeekShortName, I = a.DayOfWeekShortNameKR, U = t.Align, M = t.BasicDataType, N = t.DateFormat, d = t.MonthFormat, G = t.RowStatus, P = t.VerticalAlign, h = a.HourFormat, R = a.HourMinuteFormat, f = a.MinuteFormat, B = a.MonthFormat, k = a.MonthFullName, W = a.MonthShortName, Y = e.NoteModeByDevice, K = e.ToolPosition, w = a.SecondFormat, x = t.SelectionPolicy, b = a.TimeFormat, v = a.YearFormat, z = a.YearMonthFormat, X = a.createHison, $ = t.getVanillagrid, j = t.getVanillagridConfig, J = e.getVanillanote, q = e.getVanillanoteConfig;
4
4
  export {
5
5
  n as AllDateTimeFormat,
@@ -19860,7 +19860,7 @@ const Ta = zs("pc"), Qy = () => Qc(Ta), Fg = () => {
19860
19860
  return ce.componentStyle.invertColor;
19861
19861
  }
19862
19862
  }, t.component = {}, t.component.getAccordion = (o) => ce.component.accordionList[o], t.component.getBaggie = (o) => ce.component.baggieList[o], t.component.getBanner = (o) => ce.component.bannerList[o], t.component.getButton = (o) => ce.component.buttonList[o], t.component.getCalendar = (o) => ce.component.calendarList[o], t.component.getCaption = (o) => ce.component.captionList[o], t.component.getChart = (o) => ce.component.chartList[o], t.component.getDrawer = (o) => ce.component.drawerList[o], t.component.getDropdown = (o) => ce.component.dropdownList[o], t.component.getGap = (o) => ce.component.gapList[o], t.component.getFileset = (o) => ce.component.filesetList[o], t.component.getGrid = (o) => ce.grid.getGrid(o), t.component.getImagebox = (o) => ce.component.imageboxList[o], t.component.getInput = (o) => ce.component.inputList[o], t.component.getInputGroup = (o) => ce.component.inputGroupList[o], t.component.getLabel = (o) => ce.component.labelList[o], t.component.getLayout = (o) => ce.component.layoutList[o], t.component.getList = (o) => ce.component.listList[o], t.component.getModal = (o) => ce.component.modalList[o], t.component.getNote = (o) => ce.note.getNote(o), t.component.getPagination = (o) => ce.component.paginationList[o], t.component.getParagraph = (o) => ce.component.paragraphList[o], t.component.getPopup = (o) => ce.component.popupList[o], t.component.getSpinner = (o) => ce.component.spinnerList[o], t.component.getTable = (o) => ce.component.tableList[o];
19863
- }, Vg = Bt(() => import("./HAccordion-2BXGsG5B.mjs"), "HAccordion"), Dg = Bt(() => import("./HBaggie-DbUnI6Cg.mjs"), "HBaggie"), Pg = Bt(() => import("./HBanner-DS1wAGBj.mjs"), "HBanner"), zg = Bt(() => import("./HButton-CJZsjgRh.mjs"), "HButton"), Ug = Bt(() => import("./HCalendar-BHuielDt.mjs"), "HCalendar"), Gg = Bt(() => import("./HCaption-B_TLREQt.mjs"), "HCaption"), jg = Bt(() => import("./HChart-C9gfq-PC.mjs"), "HChart"), Wg = Bt(() => import("./HDrawer-D_kSIGBU.mjs"), "HDrawer"), qg = Bt(() => import("./HDropdown-BIPy8aU4.mjs"), "HDropdown"), $g = Bt(() => import("./HFileset-BtK0nmzk.mjs"), "HFileset"), Yg = Bt(() => import("./HGap-CW02Hxpc.mjs"), "HGap"), Kg = Bt(() => import("./HGrid-CJ4-xVpR.mjs"), "HGrid"), Xg = Bt(() => import("./HImagebox-FTiJuOTN.mjs"), "HImagebox"), Jg = Bt(() => import("./HInput-Cqo_Tfru.mjs"), "HInput"), Zg = Bt(() => import("./HInputGroup-SzCxRqaF.mjs"), "HInputGroup"), Qg = Bt(() => import("./HLabel-DEVMDggG.mjs"), "HLabel"), ey = Bt(() => import("./HLayout-x_jVkIo4.mjs"), "HLayout"), ty = Bt(() => import("./HList-V-fyd5fw.mjs"), "HList"), ny = Bt(() => import("./HModal-B7pME4H2.mjs"), "HModal"), oy = Bt(() => import("./HNote-HqNrL-U2.mjs"), "HNote"), ry = Bt(() => import("./HPagination-h8MaMUIE.mjs"), "HPagination"), iy = Bt(() => import("./HParagraph-CP1IofM4.mjs"), "HParagraph"), ay = Bt(() => import("./HPopup-DUnn4AIb.mjs"), "HPopup"), ly = Bt(() => import("./HSpinner-bShjHynQ.mjs"), "HSpinner"), sy = Bt(() => import("./HTable-BuGAaqrq.mjs"), "HTable"), ce = {
19863
+ }, Vg = Bt(() => import("./HAccordion-DABKXdkp.mjs"), "HAccordion"), Dg = Bt(() => import("./HBaggie-Dnq5t8un.mjs"), "HBaggie"), Pg = Bt(() => import("./HBanner-Cxl_X-Ui.mjs"), "HBanner"), zg = Bt(() => import("./HButton-BuJp6l32.mjs"), "HButton"), Ug = Bt(() => import("./HCalendar-Cg1Ejr3b.mjs"), "HCalendar"), Gg = Bt(() => import("./HCaption-BP0zpAoh.mjs"), "HCaption"), jg = Bt(() => import("./HChart-ZHMznCxo.mjs"), "HChart"), Wg = Bt(() => import("./HDrawer-BfMsOIMU.mjs"), "HDrawer"), qg = Bt(() => import("./HDropdown-KwBejxH6.mjs"), "HDropdown"), $g = Bt(() => import("./HFileset-NrFG7upU.mjs"), "HFileset"), Yg = Bt(() => import("./HGap-DQ7KNksh.mjs"), "HGap"), Kg = Bt(() => import("./HGrid-Dgv2QLud.mjs"), "HGrid"), Xg = Bt(() => import("./HImagebox-DGj7kyoL.mjs"), "HImagebox"), Jg = Bt(() => import("./HInput-DzT-VAwv.mjs"), "HInput"), Zg = Bt(() => import("./HInputGroup-CjBmNgV9.mjs"), "HInputGroup"), Qg = Bt(() => import("./HLabel-c8gR7-ur.mjs"), "HLabel"), ey = Bt(() => import("./HLayout-GazOMB2h.mjs"), "HLayout"), ty = Bt(() => import("./HList-tAOQaX_Q.mjs"), "HList"), ny = Bt(() => import("./HModal-oGryjRSc.mjs"), "HModal"), oy = Bt(() => import("./HNote-CZ02WSkW.mjs"), "HNote"), ry = Bt(() => import("./HPagination-ZJZWJ7HP.mjs"), "HPagination"), iy = Bt(() => import("./HParagraph-D0bGPbRd.mjs"), "HParagraph"), ay = Bt(() => import("./HPopup-Dv018FIN.mjs"), "HPopup"), ly = Bt(() => import("./HSpinner-Bvk7nkiS.mjs"), "HSpinner"), sy = Bt(() => import("./HTable-C1ZdeMIP.mjs"), "HTable"), ce = {
19864
19864
  event: { cssEvent: {} }
19865
19865
  }, fn = an.createHison(), ep = {
19866
19866
  install(t, e) {
@@ -150,4 +150,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
150
150
  --hison-l-font-size: ${t.fontSizeL};
151
151
  --hison-xl-font-size: ${t.fontSizeXL};
152
152
  }
153
- `.trim(),o="hisonvue-css-variables";let r=document.getElementById(o);r&&r.remove(),r=document.createElement("style"),r.id=o,r.textContent=n,document.head.appendChild(r)},Wy=(t,e)=>{qd(t,e),t.setMaxFilesetSize=o=>{ce.componentConfig.filesetSize=o},t.setMaxFilesetTotalSize=o=>{ce.componentConfig.filesetTotalSize=o},t.getMaxFilesetSize=()=>ce.componentConfig.filesetSize,t.getMaxFilesetTotalSize=()=>ce.componentConfig.filesetTotalSize,t.cssEvent={setButtonOnBefoerFocus(o){ce.event.cssEvent.button_onBeforeFocus=o},setButtonOnAfterFocus(o){ce.event.cssEvent.button_onAfterFocus=o},setButtonOnBefoerBlur(o){ce.event.cssEvent.button_onBeforeBlur=o},setButtonOnAfterBlur(o){ce.event.cssEvent.button_onAfterBlur=o},setButtonOnBefoerClick(o){ce.event.cssEvent.button_onBeforeClick=o},setButtonOnAfterClick(o){ce.event.cssEvent.button_onAfterClick=o},setButtonOnBeforeMouseover(o){ce.event.cssEvent.button_onBeforeMouseover=o},setButtonOnAfterMouseover(o){ce.event.cssEvent.button_onAfterMouseover=o},setButtonOnBeforeMouseout(o){ce.event.cssEvent.button_onBeforeMouseout=o},setButtonOnAfterMouseout(o){ce.event.cssEvent.button_onAfterMouseout=o},setButtonOnBeforeTouchstart(o){ce.event.cssEvent.button_onBeforeTouchstart=o},setButtonOnAfterTouchstart(o){ce.event.cssEvent.button_onAfterTouchstart=o},setButtonOnBeforeTouchend(o){ce.event.cssEvent.button_onBeforeTouchend=o},setButtonOnAfterTouchend(o){ce.event.cssEvent.button_onAfterTouchend=o},setInputOnBefoerFocus(o){ce.event.cssEvent.input_onBeforeFocus=o},setInputOnAfterFocus(o){ce.event.cssEvent.input_onAfterFocus=o},setInputOnBefoerBlur(o){ce.event.cssEvent.input_onBeforeBlur=o},setInputOnAfterBlur(o){ce.event.cssEvent.input_onAfterBlur=o},setInputOnBeforeMouseover(o){ce.event.cssEvent.input_onBeforeMouseover=o},setInputOnAfterMouseover(o){ce.event.cssEvent.input_onAfterMouseover=o},setInputOnBeforeMouseout(o){ce.event.cssEvent.input_onBeforeMouseout=o},setInputOnAfterMouseout(o){ce.event.cssEvent.input_onAfterMouseout=o},setInputOnBeforeTouchstart(o){ce.event.cssEvent.input_onBeforeTouchstart=o},setInputOnAfterTouchstart(o){ce.event.cssEvent.input_onAfterTouchstart=o},setInputOnBeforeTouchend(o){ce.event.cssEvent.input_onBeforeTouchend=o},setInputOnAfterTouchend(o){ce.event.cssEvent.input_onAfterTouchend=o}};const n=()=>{typeof window<"u"&&(gd(),gu())};t.style={setSize(o){ce.componentStyle.size=o,n()},setFilledColor(o){ce.componentStyle.filledColor=o,n()},setEmptyColor(o){ce.componentStyle.emptyColor=o,n()},setFilledTextColor(o){ce.componentStyle.filledTextColor=o,n()},setEmptyTextColor(o){ce.componentStyle.emptyTextColor=o,n()},setPrimaryColor(o){ce.componentStyle.primaryColor=o,n()},setMutedColor(o){ce.componentStyle.mutedColor=o,n()},setInfoColor(o){ce.componentStyle.infoColor=o,n()},setSuccessColor(o){ce.componentStyle.successColor=o,n()},setDangerColor(o){ce.componentStyle.dangerColor=o,n()},setWarningColor(o){ce.componentStyle.warningColor=o,n()},setInvertColor(o){ce.componentStyle.invertColor=o,n()},getFilledColor(){return ce.componentStyle.filledColor},getEmptyColor(){return ce.componentStyle.emptyColor},getFilledTextColor(){return ce.componentStyle.filledTextColor},getEmptyTextColor(){return ce.componentStyle.emptyTextColor},getPrimaryColor(){return ce.componentStyle.primaryColor},getPrimaryButtonColor(){return ce.componentStyle.componentColor.primary.buttonColor},getPrimaryBorderColor(){return ce.componentStyle.componentColor.primary.borderColor},getPrimaryShadowColor(){return ce.componentStyle.componentColor.primary.shadowColor},getPrimaryHoverColor(){return ce.componentStyle.componentColor.primary.hoverColor},getPrimaryActiveColor(){return ce.componentStyle.componentColor.primary.activeColor},getPrimaryRowHoverColor(){return ce.componentStyle.componentColor.primary.rowHoverColor},getPrimaryStripeColor(){return ce.componentStyle.componentColor.primary.stripeColor},getMutedColor(){return ce.componentStyle.mutedColor},getMutedButtonColor(){return ce.componentStyle.componentColor.muted.buttonColor},getMutedBorderColor(){return ce.componentStyle.componentColor.muted.borderColor},getMutedShadowColor(){return ce.componentStyle.componentColor.muted.shadowColor},getMutedHoverColor(){return ce.componentStyle.componentColor.muted.hoverColor},getMutedActiveColor(){return ce.componentStyle.componentColor.muted.activeColor},getMutedRowHoverColor(){return ce.componentStyle.componentColor.muted.rowHoverColor},getMutedStripeColor(){return ce.componentStyle.componentColor.muted.stripeColor},getInfoColor(){return ce.componentStyle.infoColor},getInfoButtonColor(){return ce.componentStyle.componentColor.info.buttonColor},getInfoBorderColor(){return ce.componentStyle.componentColor.info.borderColor},getInfoShadowColor(){return ce.componentStyle.componentColor.info.shadowColor},getInfoHoverColor(){return ce.componentStyle.componentColor.info.hoverColor},getInfoActiveColor(){return ce.componentStyle.componentColor.info.activeColor},getInfoRowHoverColor(){return ce.componentStyle.componentColor.info.rowHoverColor},getInfoStripeColor(){return ce.componentStyle.componentColor.info.stripeColor},getSuccessColor(){return ce.componentStyle.successColor},getSuccessButtonColor(){return ce.componentStyle.componentColor.success.buttonColor},getSuccessBorderColor(){return ce.componentStyle.componentColor.success.borderColor},getSuccessShadowColor(){return ce.componentStyle.componentColor.success.shadowColor},getSuccessHoverColor(){return ce.componentStyle.componentColor.success.hoverColor},getSuccessActiveColor(){return ce.componentStyle.componentColor.success.activeColor},getSuccessRowHoverColor(){return ce.componentStyle.componentColor.success.rowHoverColor},getSuccessStripeColor(){return ce.componentStyle.componentColor.success.stripeColor},getDangerColor(){return ce.componentStyle.dangerColor},getDangerButtonColor(){return ce.componentStyle.componentColor.danger.buttonColor},getDangerBorderColor(){return ce.componentStyle.componentColor.danger.borderColor},getDangerShadowColor(){return ce.componentStyle.componentColor.danger.shadowColor},getDangerHoverColor(){return ce.componentStyle.componentColor.danger.hoverColor},getDangerActiveColor(){return ce.componentStyle.componentColor.danger.activeColor},getDangerRowHoverColor(){return ce.componentStyle.componentColor.danger.rowHoverColor},getDangerStripeColor(){return ce.componentStyle.componentColor.danger.stripeColor},getWarningColor(){return ce.componentStyle.warningColor},getWarningButtonColor(){return ce.componentStyle.componentColor.warning.buttonColor},getWarningBorderColor(){return ce.componentStyle.componentColor.warning.borderColor},getWarningShadowColor(){return ce.componentStyle.componentColor.warning.shadowColor},getWarningHoverColor(){return ce.componentStyle.componentColor.warning.hoverColor},getWarningActiveColor(){return ce.componentStyle.componentColor.warning.activeColor},getWarningRowHoverColor(){return ce.componentStyle.componentColor.warning.rowHoverColor},getWarningStripeColor(){return ce.componentStyle.componentColor.warning.stripeColor},isInvertColor(){return ce.componentStyle.invertColor}},t.component={},t.component.getAccordion=o=>ce.component.accordionList[o],t.component.getBaggie=o=>ce.component.baggieList[o],t.component.getBanner=o=>ce.component.bannerList[o],t.component.getButton=o=>ce.component.buttonList[o],t.component.getCalendar=o=>ce.component.calendarList[o],t.component.getCaption=o=>ce.component.captionList[o],t.component.getChart=o=>ce.component.chartList[o],t.component.getDrawer=o=>ce.component.drawerList[o],t.component.getDropdown=o=>ce.component.dropdownList[o],t.component.getGap=o=>ce.component.gapList[o],t.component.getFileset=o=>ce.component.filesetList[o],t.component.getGrid=o=>ce.grid.getGrid(o),t.component.getImagebox=o=>ce.component.imageboxList[o],t.component.getInput=o=>ce.component.inputList[o],t.component.getInputGroup=o=>ce.component.inputGroupList[o],t.component.getLabel=o=>ce.component.labelList[o],t.component.getLayout=o=>ce.component.layoutList[o],t.component.getList=o=>ce.component.listList[o],t.component.getModal=o=>ce.component.modalList[o],t.component.getNote=o=>ce.note.getNote(o),t.component.getPagination=o=>ce.component.paginationList[o],t.component.getParagraph=o=>ce.component.paragraphList[o],t.component.getPopup=o=>ce.component.popupList[o],t.component.getSpinner=o=>ce.component.spinnerList[o],t.component.getTable=o=>ce.component.tableList[o]},yd=Bt(()=>Promise.resolve().then(()=>require("./HAccordion-BXzQTj-T.js")),"HAccordion"),pd=Bt(()=>Promise.resolve().then(()=>require("./HBaggie-DP-oXbIt.js")),"HBaggie"),_d=Bt(()=>Promise.resolve().then(()=>require("./HBanner-C_RVokKc.js")),"HBanner"),vd=Bt(()=>Promise.resolve().then(()=>require("./HButton-EmsUduJx.js")),"HButton"),bd=Bt(()=>Promise.resolve().then(()=>require("./HCalendar-BQcg95QP.js")),"HCalendar"),Cd=Bt(()=>Promise.resolve().then(()=>require("./HCaption-DnnfU-4f.js")),"HCaption"),Md=Bt(()=>Promise.resolve().then(()=>require("./HChart-CPILy-I8.js")),"HChart"),xd=Bt(()=>Promise.resolve().then(()=>require("./HDrawer-tfvUaRKv.js")),"HDrawer"),Sd=Bt(()=>Promise.resolve().then(()=>require("./HDropdown-BjUvzvFC.js")),"HDropdown"),kd=Bt(()=>Promise.resolve().then(()=>require("./HFileset-PW9YCJgS.js")),"HFileset"),Id=Bt(()=>Promise.resolve().then(()=>require("./HGap-BbdxTgBt.js")),"HGap"),Ed=Bt(()=>Promise.resolve().then(()=>require("./HGrid-olge21bD.js")),"HGrid"),wd=Bt(()=>Promise.resolve().then(()=>require("./HImagebox-AXcA-jAB.js")),"HImagebox"),Ad=Bt(()=>Promise.resolve().then(()=>require("./HInput-CZ11eUJB.js")),"HInput"),Td=Bt(()=>Promise.resolve().then(()=>require("./HInputGroup-zaJVW7RE.js")),"HInputGroup"),Bd=Bt(()=>Promise.resolve().then(()=>require("./HLabel-jZG7tY-0.js")),"HLabel"),Ld=Bt(()=>Promise.resolve().then(()=>require("./HLayout-Fh65aaVI.js")),"HLayout"),Nd=Bt(()=>Promise.resolve().then(()=>require("./HList-JIhEylRe.js")),"HList"),Rd=Bt(()=>Promise.resolve().then(()=>require("./HModal-M0YUil9A.js")),"HModal"),Hd=Bt(()=>Promise.resolve().then(()=>require("./HNote-C5nujdV1.js")),"HNote"),Fd=Bt(()=>Promise.resolve().then(()=>require("./HPagination-6aWyrTI-.js")),"HPagination"),Od=Bt(()=>Promise.resolve().then(()=>require("./HParagraph-IvsIOdD1.js")),"HParagraph"),Vd=Bt(()=>Promise.resolve().then(()=>require("./HPopup-Cj5IaN9N.js")),"HPopup"),Pd=Bt(()=>Promise.resolve().then(()=>require("./HSpinner-HdIJ62aF.js")),"HSpinner"),Dd=Bt(()=>Promise.resolve().then(()=>require("./HTable-BgZ-XAZx.js")),"HTable"),ce={event:{cssEvent:{}}},un=en.createHison(),qy={install(t,e){const n=La();e?Object.keys(n).forEach(o=>{o in e||(e[o]=n[o])}):e=La(),Uy(e),Wy(un,e),typeof window<"u"&&gd(),jy(),t.provide("hison",un),t.component("HAccordion",yd),t.component("HBaggie",pd),t.component("HBanner",_d),t.component("HButton",vd),t.component("HCalendar",bd),t.component("HCaption",Cd),t.component("HChart",Md),t.component("HDrawer",xd),t.component("HDropdown",Sd),t.component("HFileset",kd),t.component("HGap",Id),t.component("HGrid",Ed),t.component("HImagebox",wd),t.component("HInput",Ad),t.component("HInputGroup",Td),t.component("HLabel",Bd),t.component("HLayout",Ld),t.component("HList",Nd),t.component("HModal",Rd),t.component("HNote",Hd),t.component("HPagination",Fd),t.component("HParagraph",Od),t.component("HPopup",Vd),t.component("HSpinner",Pd),t.component("HTable",Dd)}};exports.BACKGROUND_TYPE_VALUES=Mu;exports.BACK_IMAGE_ALIGN_VALUES=vu;exports.BACK_IMAGE_STYLE_VALUES=Cu;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=bu;exports.BackImageAlign=Ks;exports.BackImageRepeat=Js;exports.BackImageVerticalAlign=Xs;exports.BackgroundType=Zs;exports.COLOR_SET_VALUES=Pu;exports.CSS_VAR_RE=uc;exports.Chart=mn;exports.Color=Ys;exports.DATA_STATUS_VALUES=zu;exports.DROPDOWN_TRIGGER_VALUES=Lu;exports.DataStatus=fc;exports.DayOfWeek=hc;exports.DropdownTrigger=sc;exports.EDIT_MODE_VALUES=Bu;exports.EditMode=lc;exports.GRID_ALIGN_VALUES=Ou;exports.GRID_DATE_FORMAT_VALUES=Hu;exports.GRID_MONTH_FORMAT_VALUES=Fu;exports.GRID_VERTICAL_ALIGN_VALUES=Vu;exports.HAccordionClientOnly=yd;exports.HBaggieClientOnly=pd;exports.HBannerClientOnly=_d;exports.HButtonClientOnly=vd;exports.HCalendarClientOnly=bd;exports.HCalendarTimeFormat=gc;exports.HCalendarView=mc;exports.HCaptionClientOnly=Cd;exports.HChartClientOnly=Md;exports.HDrawerClientOnly=xd;exports.HDropdownClientOnly=Sd;exports.HEX_COLOR_RE=dc;exports.HFilesetClientOnly=kd;exports.HGapClientOnly=Id;exports.HGapLine=rc;exports.HGapLineStyle=ic;exports.HGridClientOnly=Ed;exports.HImageboxClientOnly=wd;exports.HInputClientOnly=Ad;exports.HInputGroupClientOnly=Td;exports.HLabelClientOnly=Bd;exports.HLayoutClientOnly=Ld;exports.HListClientOnly=Nd;exports.HModalClientOnly=Rd;exports.HNoteClientOnly=Hd;exports.HPaginationClientOnly=Fd;exports.HParagraphClientOnly=Od;exports.HPopupClientOnly=Vd;exports.HSpinnerClientOnly=Pd;exports.HTableClientOnly=Dd;exports.H_CALENDAR_TIME_FORMAT_VALUES=Gu;exports.H_CALENDAR_VIEW_VALUES=Uu;exports.H_GAP_LINE_STYLE_VALUES=Au;exports.H_GAP_RULE_VALUES=wu;exports.Hisonjs_bundleExports=en;exports.INPUT_TYPE_VALUES=Tu;exports.InputType=ac;exports.MODAL_PLACEMENT_VALUES=xu;exports.ModalPlacement=Qs;exports.NOTE_MODE_BY_DEVICE_VALUES=ju;exports.SCREEN_POSITION_VALUES=Su;exports.SELECTION_POLICY_VALUES=Ru;exports.SPINNER_TYPE_VALUES=ku;exports.ScreenPosition=ec;exports.Size=lo;exports.SpinnerType=tc;exports.TEXT_ALIGN_VALUES=Nu;exports.TOOL_POSITION_VALUES=Wu;exports.TextAlign=cc;exports.VERTICAL_ALIGN_VALUES=Iu;exports.Vanillagrid2_bundleExports=Na;exports.Vanillanote2_bundleExports=Ra;exports.VerticalAlign=nc;exports.WHITE_SPACE_VALUES=Eu;exports.WhiteSpace=oc;exports.addComponentNameToClass=iu;exports.applyOpacityToRgba=fu;exports.extractPrefixedClasses=au;exports.extractResponsiveClasses=ru;exports.getDefaultHisonConfig=La;exports.getDigitsOnly=eu;exports.getHexCodeFromColorText=cu;exports.getIndexSpecificClassNameFromClassList=js;exports.getInvertColor=hn;exports.getMaskValue=Qd;exports.getRGBAFromColorText=du;exports.getSpecificClassValueFromClassList=ou;exports.getUUID=Xd;exports.hison=un;exports.hisonCloser=ce;exports.hisonvue=qy;exports.isCssColorLike=Du;exports.isNullOrUndefined=Kd;exports.normalizeToRgba=dn;exports.registerReloadable=hu;exports.reloadHisonComponent=yu;exports.toClassString=Ws;exports.unregisterReloadable=mu;exports.useDevice=Gy;
153
+ `.trim(),o="hisonvue-css-variables";let r=document.getElementById(o);r&&r.remove(),r=document.createElement("style"),r.id=o,r.textContent=n,document.head.appendChild(r)},Wy=(t,e)=>{qd(t,e),t.setMaxFilesetSize=o=>{ce.componentConfig.filesetSize=o},t.setMaxFilesetTotalSize=o=>{ce.componentConfig.filesetTotalSize=o},t.getMaxFilesetSize=()=>ce.componentConfig.filesetSize,t.getMaxFilesetTotalSize=()=>ce.componentConfig.filesetTotalSize,t.cssEvent={setButtonOnBefoerFocus(o){ce.event.cssEvent.button_onBeforeFocus=o},setButtonOnAfterFocus(o){ce.event.cssEvent.button_onAfterFocus=o},setButtonOnBefoerBlur(o){ce.event.cssEvent.button_onBeforeBlur=o},setButtonOnAfterBlur(o){ce.event.cssEvent.button_onAfterBlur=o},setButtonOnBefoerClick(o){ce.event.cssEvent.button_onBeforeClick=o},setButtonOnAfterClick(o){ce.event.cssEvent.button_onAfterClick=o},setButtonOnBeforeMouseover(o){ce.event.cssEvent.button_onBeforeMouseover=o},setButtonOnAfterMouseover(o){ce.event.cssEvent.button_onAfterMouseover=o},setButtonOnBeforeMouseout(o){ce.event.cssEvent.button_onBeforeMouseout=o},setButtonOnAfterMouseout(o){ce.event.cssEvent.button_onAfterMouseout=o},setButtonOnBeforeTouchstart(o){ce.event.cssEvent.button_onBeforeTouchstart=o},setButtonOnAfterTouchstart(o){ce.event.cssEvent.button_onAfterTouchstart=o},setButtonOnBeforeTouchend(o){ce.event.cssEvent.button_onBeforeTouchend=o},setButtonOnAfterTouchend(o){ce.event.cssEvent.button_onAfterTouchend=o},setInputOnBefoerFocus(o){ce.event.cssEvent.input_onBeforeFocus=o},setInputOnAfterFocus(o){ce.event.cssEvent.input_onAfterFocus=o},setInputOnBefoerBlur(o){ce.event.cssEvent.input_onBeforeBlur=o},setInputOnAfterBlur(o){ce.event.cssEvent.input_onAfterBlur=o},setInputOnBeforeMouseover(o){ce.event.cssEvent.input_onBeforeMouseover=o},setInputOnAfterMouseover(o){ce.event.cssEvent.input_onAfterMouseover=o},setInputOnBeforeMouseout(o){ce.event.cssEvent.input_onBeforeMouseout=o},setInputOnAfterMouseout(o){ce.event.cssEvent.input_onAfterMouseout=o},setInputOnBeforeTouchstart(o){ce.event.cssEvent.input_onBeforeTouchstart=o},setInputOnAfterTouchstart(o){ce.event.cssEvent.input_onAfterTouchstart=o},setInputOnBeforeTouchend(o){ce.event.cssEvent.input_onBeforeTouchend=o},setInputOnAfterTouchend(o){ce.event.cssEvent.input_onAfterTouchend=o}};const n=()=>{typeof window<"u"&&(gd(),gu())};t.style={setSize(o){ce.componentStyle.size=o,n()},setFilledColor(o){ce.componentStyle.filledColor=o,n()},setEmptyColor(o){ce.componentStyle.emptyColor=o,n()},setFilledTextColor(o){ce.componentStyle.filledTextColor=o,n()},setEmptyTextColor(o){ce.componentStyle.emptyTextColor=o,n()},setPrimaryColor(o){ce.componentStyle.primaryColor=o,n()},setMutedColor(o){ce.componentStyle.mutedColor=o,n()},setInfoColor(o){ce.componentStyle.infoColor=o,n()},setSuccessColor(o){ce.componentStyle.successColor=o,n()},setDangerColor(o){ce.componentStyle.dangerColor=o,n()},setWarningColor(o){ce.componentStyle.warningColor=o,n()},setInvertColor(o){ce.componentStyle.invertColor=o,n()},getFilledColor(){return ce.componentStyle.filledColor},getEmptyColor(){return ce.componentStyle.emptyColor},getFilledTextColor(){return ce.componentStyle.filledTextColor},getEmptyTextColor(){return ce.componentStyle.emptyTextColor},getPrimaryColor(){return ce.componentStyle.primaryColor},getPrimaryButtonColor(){return ce.componentStyle.componentColor.primary.buttonColor},getPrimaryBorderColor(){return ce.componentStyle.componentColor.primary.borderColor},getPrimaryShadowColor(){return ce.componentStyle.componentColor.primary.shadowColor},getPrimaryHoverColor(){return ce.componentStyle.componentColor.primary.hoverColor},getPrimaryActiveColor(){return ce.componentStyle.componentColor.primary.activeColor},getPrimaryRowHoverColor(){return ce.componentStyle.componentColor.primary.rowHoverColor},getPrimaryStripeColor(){return ce.componentStyle.componentColor.primary.stripeColor},getMutedColor(){return ce.componentStyle.mutedColor},getMutedButtonColor(){return ce.componentStyle.componentColor.muted.buttonColor},getMutedBorderColor(){return ce.componentStyle.componentColor.muted.borderColor},getMutedShadowColor(){return ce.componentStyle.componentColor.muted.shadowColor},getMutedHoverColor(){return ce.componentStyle.componentColor.muted.hoverColor},getMutedActiveColor(){return ce.componentStyle.componentColor.muted.activeColor},getMutedRowHoverColor(){return ce.componentStyle.componentColor.muted.rowHoverColor},getMutedStripeColor(){return ce.componentStyle.componentColor.muted.stripeColor},getInfoColor(){return ce.componentStyle.infoColor},getInfoButtonColor(){return ce.componentStyle.componentColor.info.buttonColor},getInfoBorderColor(){return ce.componentStyle.componentColor.info.borderColor},getInfoShadowColor(){return ce.componentStyle.componentColor.info.shadowColor},getInfoHoverColor(){return ce.componentStyle.componentColor.info.hoverColor},getInfoActiveColor(){return ce.componentStyle.componentColor.info.activeColor},getInfoRowHoverColor(){return ce.componentStyle.componentColor.info.rowHoverColor},getInfoStripeColor(){return ce.componentStyle.componentColor.info.stripeColor},getSuccessColor(){return ce.componentStyle.successColor},getSuccessButtonColor(){return ce.componentStyle.componentColor.success.buttonColor},getSuccessBorderColor(){return ce.componentStyle.componentColor.success.borderColor},getSuccessShadowColor(){return ce.componentStyle.componentColor.success.shadowColor},getSuccessHoverColor(){return ce.componentStyle.componentColor.success.hoverColor},getSuccessActiveColor(){return ce.componentStyle.componentColor.success.activeColor},getSuccessRowHoverColor(){return ce.componentStyle.componentColor.success.rowHoverColor},getSuccessStripeColor(){return ce.componentStyle.componentColor.success.stripeColor},getDangerColor(){return ce.componentStyle.dangerColor},getDangerButtonColor(){return ce.componentStyle.componentColor.danger.buttonColor},getDangerBorderColor(){return ce.componentStyle.componentColor.danger.borderColor},getDangerShadowColor(){return ce.componentStyle.componentColor.danger.shadowColor},getDangerHoverColor(){return ce.componentStyle.componentColor.danger.hoverColor},getDangerActiveColor(){return ce.componentStyle.componentColor.danger.activeColor},getDangerRowHoverColor(){return ce.componentStyle.componentColor.danger.rowHoverColor},getDangerStripeColor(){return ce.componentStyle.componentColor.danger.stripeColor},getWarningColor(){return ce.componentStyle.warningColor},getWarningButtonColor(){return ce.componentStyle.componentColor.warning.buttonColor},getWarningBorderColor(){return ce.componentStyle.componentColor.warning.borderColor},getWarningShadowColor(){return ce.componentStyle.componentColor.warning.shadowColor},getWarningHoverColor(){return ce.componentStyle.componentColor.warning.hoverColor},getWarningActiveColor(){return ce.componentStyle.componentColor.warning.activeColor},getWarningRowHoverColor(){return ce.componentStyle.componentColor.warning.rowHoverColor},getWarningStripeColor(){return ce.componentStyle.componentColor.warning.stripeColor},isInvertColor(){return ce.componentStyle.invertColor}},t.component={},t.component.getAccordion=o=>ce.component.accordionList[o],t.component.getBaggie=o=>ce.component.baggieList[o],t.component.getBanner=o=>ce.component.bannerList[o],t.component.getButton=o=>ce.component.buttonList[o],t.component.getCalendar=o=>ce.component.calendarList[o],t.component.getCaption=o=>ce.component.captionList[o],t.component.getChart=o=>ce.component.chartList[o],t.component.getDrawer=o=>ce.component.drawerList[o],t.component.getDropdown=o=>ce.component.dropdownList[o],t.component.getGap=o=>ce.component.gapList[o],t.component.getFileset=o=>ce.component.filesetList[o],t.component.getGrid=o=>ce.grid.getGrid(o),t.component.getImagebox=o=>ce.component.imageboxList[o],t.component.getInput=o=>ce.component.inputList[o],t.component.getInputGroup=o=>ce.component.inputGroupList[o],t.component.getLabel=o=>ce.component.labelList[o],t.component.getLayout=o=>ce.component.layoutList[o],t.component.getList=o=>ce.component.listList[o],t.component.getModal=o=>ce.component.modalList[o],t.component.getNote=o=>ce.note.getNote(o),t.component.getPagination=o=>ce.component.paginationList[o],t.component.getParagraph=o=>ce.component.paragraphList[o],t.component.getPopup=o=>ce.component.popupList[o],t.component.getSpinner=o=>ce.component.spinnerList[o],t.component.getTable=o=>ce.component.tableList[o]},yd=Bt(()=>Promise.resolve().then(()=>require("./HAccordion-CcqP8KVN.js")),"HAccordion"),pd=Bt(()=>Promise.resolve().then(()=>require("./HBaggie-Dc-KPRDG.js")),"HBaggie"),_d=Bt(()=>Promise.resolve().then(()=>require("./HBanner-ClmYECkp.js")),"HBanner"),vd=Bt(()=>Promise.resolve().then(()=>require("./HButton-D7w35fAT.js")),"HButton"),bd=Bt(()=>Promise.resolve().then(()=>require("./HCalendar-GfsTZV86.js")),"HCalendar"),Cd=Bt(()=>Promise.resolve().then(()=>require("./HCaption-BZklN1hJ.js")),"HCaption"),Md=Bt(()=>Promise.resolve().then(()=>require("./HChart-BoIsUY-U.js")),"HChart"),xd=Bt(()=>Promise.resolve().then(()=>require("./HDrawer-BdNXB7bZ.js")),"HDrawer"),Sd=Bt(()=>Promise.resolve().then(()=>require("./HDropdown-CFFwgLxP.js")),"HDropdown"),kd=Bt(()=>Promise.resolve().then(()=>require("./HFileset-BVwhCpWk.js")),"HFileset"),Id=Bt(()=>Promise.resolve().then(()=>require("./HGap-D-OpGS6f.js")),"HGap"),Ed=Bt(()=>Promise.resolve().then(()=>require("./HGrid-PEaylCn3.js")),"HGrid"),wd=Bt(()=>Promise.resolve().then(()=>require("./HImagebox-CVmax7-2.js")),"HImagebox"),Ad=Bt(()=>Promise.resolve().then(()=>require("./HInput-CRyozCxo.js")),"HInput"),Td=Bt(()=>Promise.resolve().then(()=>require("./HInputGroup-CaYUBopI.js")),"HInputGroup"),Bd=Bt(()=>Promise.resolve().then(()=>require("./HLabel-BA2ph0V-.js")),"HLabel"),Ld=Bt(()=>Promise.resolve().then(()=>require("./HLayout-Da1XBfUi.js")),"HLayout"),Nd=Bt(()=>Promise.resolve().then(()=>require("./HList-B14zIkzR.js")),"HList"),Rd=Bt(()=>Promise.resolve().then(()=>require("./HModal-Boe8kpBb.js")),"HModal"),Hd=Bt(()=>Promise.resolve().then(()=>require("./HNote-JSNpTQXQ.js")),"HNote"),Fd=Bt(()=>Promise.resolve().then(()=>require("./HPagination-DlPSez0N.js")),"HPagination"),Od=Bt(()=>Promise.resolve().then(()=>require("./HParagraph-BPtGEwa6.js")),"HParagraph"),Vd=Bt(()=>Promise.resolve().then(()=>require("./HPopup-DhNEnDcR.js")),"HPopup"),Pd=Bt(()=>Promise.resolve().then(()=>require("./HSpinner-BHcYPH5-.js")),"HSpinner"),Dd=Bt(()=>Promise.resolve().then(()=>require("./HTable-Dq_ySJrZ.js")),"HTable"),ce={event:{cssEvent:{}}},un=en.createHison(),qy={install(t,e){const n=La();e?Object.keys(n).forEach(o=>{o in e||(e[o]=n[o])}):e=La(),Uy(e),Wy(un,e),typeof window<"u"&&gd(),jy(),t.provide("hison",un),t.component("HAccordion",yd),t.component("HBaggie",pd),t.component("HBanner",_d),t.component("HButton",vd),t.component("HCalendar",bd),t.component("HCaption",Cd),t.component("HChart",Md),t.component("HDrawer",xd),t.component("HDropdown",Sd),t.component("HFileset",kd),t.component("HGap",Id),t.component("HGrid",Ed),t.component("HImagebox",wd),t.component("HInput",Ad),t.component("HInputGroup",Td),t.component("HLabel",Bd),t.component("HLayout",Ld),t.component("HList",Nd),t.component("HModal",Rd),t.component("HNote",Hd),t.component("HPagination",Fd),t.component("HParagraph",Od),t.component("HPopup",Vd),t.component("HSpinner",Pd),t.component("HTable",Dd)}};exports.BACKGROUND_TYPE_VALUES=Mu;exports.BACK_IMAGE_ALIGN_VALUES=vu;exports.BACK_IMAGE_STYLE_VALUES=Cu;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=bu;exports.BackImageAlign=Ks;exports.BackImageRepeat=Js;exports.BackImageVerticalAlign=Xs;exports.BackgroundType=Zs;exports.COLOR_SET_VALUES=Pu;exports.CSS_VAR_RE=uc;exports.Chart=mn;exports.Color=Ys;exports.DATA_STATUS_VALUES=zu;exports.DROPDOWN_TRIGGER_VALUES=Lu;exports.DataStatus=fc;exports.DayOfWeek=hc;exports.DropdownTrigger=sc;exports.EDIT_MODE_VALUES=Bu;exports.EditMode=lc;exports.GRID_ALIGN_VALUES=Ou;exports.GRID_DATE_FORMAT_VALUES=Hu;exports.GRID_MONTH_FORMAT_VALUES=Fu;exports.GRID_VERTICAL_ALIGN_VALUES=Vu;exports.HAccordionClientOnly=yd;exports.HBaggieClientOnly=pd;exports.HBannerClientOnly=_d;exports.HButtonClientOnly=vd;exports.HCalendarClientOnly=bd;exports.HCalendarTimeFormat=gc;exports.HCalendarView=mc;exports.HCaptionClientOnly=Cd;exports.HChartClientOnly=Md;exports.HDrawerClientOnly=xd;exports.HDropdownClientOnly=Sd;exports.HEX_COLOR_RE=dc;exports.HFilesetClientOnly=kd;exports.HGapClientOnly=Id;exports.HGapLine=rc;exports.HGapLineStyle=ic;exports.HGridClientOnly=Ed;exports.HImageboxClientOnly=wd;exports.HInputClientOnly=Ad;exports.HInputGroupClientOnly=Td;exports.HLabelClientOnly=Bd;exports.HLayoutClientOnly=Ld;exports.HListClientOnly=Nd;exports.HModalClientOnly=Rd;exports.HNoteClientOnly=Hd;exports.HPaginationClientOnly=Fd;exports.HParagraphClientOnly=Od;exports.HPopupClientOnly=Vd;exports.HSpinnerClientOnly=Pd;exports.HTableClientOnly=Dd;exports.H_CALENDAR_TIME_FORMAT_VALUES=Gu;exports.H_CALENDAR_VIEW_VALUES=Uu;exports.H_GAP_LINE_STYLE_VALUES=Au;exports.H_GAP_RULE_VALUES=wu;exports.Hisonjs_bundleExports=en;exports.INPUT_TYPE_VALUES=Tu;exports.InputType=ac;exports.MODAL_PLACEMENT_VALUES=xu;exports.ModalPlacement=Qs;exports.NOTE_MODE_BY_DEVICE_VALUES=ju;exports.SCREEN_POSITION_VALUES=Su;exports.SELECTION_POLICY_VALUES=Ru;exports.SPINNER_TYPE_VALUES=ku;exports.ScreenPosition=ec;exports.Size=lo;exports.SpinnerType=tc;exports.TEXT_ALIGN_VALUES=Nu;exports.TOOL_POSITION_VALUES=Wu;exports.TextAlign=cc;exports.VERTICAL_ALIGN_VALUES=Iu;exports.Vanillagrid2_bundleExports=Na;exports.Vanillanote2_bundleExports=Ra;exports.VerticalAlign=nc;exports.WHITE_SPACE_VALUES=Eu;exports.WhiteSpace=oc;exports.addComponentNameToClass=iu;exports.applyOpacityToRgba=fu;exports.extractPrefixedClasses=au;exports.extractResponsiveClasses=ru;exports.getDefaultHisonConfig=La;exports.getDigitsOnly=eu;exports.getHexCodeFromColorText=cu;exports.getIndexSpecificClassNameFromClassList=js;exports.getInvertColor=hn;exports.getMaskValue=Qd;exports.getRGBAFromColorText=du;exports.getSpecificClassValueFromClassList=ou;exports.getUUID=Xd;exports.hison=un;exports.hisonCloser=ce;exports.hisonvue=qy;exports.isCssColorLike=Du;exports.isNullOrUndefined=Kd;exports.normalizeToRgba=dn;exports.registerReloadable=hu;exports.reloadHisonComponent=yu;exports.toClassString=Ws;exports.unregisterReloadable=mu;exports.useDevice=Gy;
@@ -1 +1 @@
1
- "use strict";const o=require("./index-BzCcaeiL.js"),n=new WeakMap,r=new WeakSet,u=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeFocus(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-focus"),o.hisonCloser.event.cssEvent.button_onAfterFocus(t)},a=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeBlur(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-focus"),e.classList.remove("hison-button-on-active");const s=n.get(e);s&&(clearTimeout(s),n.delete(e)),o.hisonCloser.event.cssEvent.button_onAfterBlur(t)},c=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeClick(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover","hison-button-on-focus"),e.classList.add("hison-button-on-active");const s=n.get(e);s&&clearTimeout(s);const l=window.setTimeout(()=>{e.classList.remove("hison-button-on-active"),document.activeElement===e&&e.classList.add("hison-button-on-focus"),o.hisonCloser.event.cssEvent.button_onAfterClick(t),n.delete(e)},100);n.set(e,l)},i=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeMouseover(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterMouseover(t)},v=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeMouseout(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterMouseout(t)},f=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchstart(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchstart(t)},d=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchend(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchend(t)},h=t=>{r.has(t)||(r.add(t),t.addEventListener("click",c,{capture:!0}),t.addEventListener("focus",u),t.addEventListener("blur",a),t.addEventListener("mouseenter",i),t.addEventListener("mouseleave",v),t.addEventListener("touchstart",f,{passive:!1,capture:!0}),t.addEventListener("touchend",d,{passive:!1,capture:!0}))},E=t=>{if(!r.has(t))return;r.delete(t),t.removeEventListener("click",c,{capture:!0}),t.removeEventListener("focus",u),t.removeEventListener("blur",a),t.removeEventListener("mouseenter",i),t.removeEventListener("mouseleave",v),t.removeEventListener("touchstart",f,{capture:!0}),t.removeEventListener("touchend",d,{capture:!0});const e=n.get(t);e&&(clearTimeout(e),n.delete(t))};exports.addButtonCssEvent=h;exports.removeButtonCssEvent=E;
1
+ "use strict";const o=require("./index-Cp0RZa-k.js"),n=new WeakMap,r=new WeakSet,u=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeFocus(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-focus"),o.hisonCloser.event.cssEvent.button_onAfterFocus(t)},a=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeBlur(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-focus"),e.classList.remove("hison-button-on-active");const s=n.get(e);s&&(clearTimeout(s),n.delete(e)),o.hisonCloser.event.cssEvent.button_onAfterBlur(t)},c=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeClick(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover","hison-button-on-focus"),e.classList.add("hison-button-on-active");const s=n.get(e);s&&clearTimeout(s);const l=window.setTimeout(()=>{e.classList.remove("hison-button-on-active"),document.activeElement===e&&e.classList.add("hison-button-on-focus"),o.hisonCloser.event.cssEvent.button_onAfterClick(t),n.delete(e)},100);n.set(e,l)},i=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeMouseover(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterMouseover(t)},v=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeMouseout(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterMouseout(t)},f=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchstart(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchstart(t)},d=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchend(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchend(t)},h=t=>{r.has(t)||(r.add(t),t.addEventListener("click",c,{capture:!0}),t.addEventListener("focus",u),t.addEventListener("blur",a),t.addEventListener("mouseenter",i),t.addEventListener("mouseleave",v),t.addEventListener("touchstart",f,{passive:!1,capture:!0}),t.addEventListener("touchend",d,{passive:!1,capture:!0}))},E=t=>{if(!r.has(t))return;r.delete(t),t.removeEventListener("click",c,{capture:!0}),t.removeEventListener("focus",u),t.removeEventListener("blur",a),t.removeEventListener("mouseenter",i),t.removeEventListener("mouseleave",v),t.removeEventListener("touchstart",f,{capture:!0}),t.removeEventListener("touchend",d,{capture:!0});const e=n.get(t);e&&(clearTimeout(e),n.delete(t))};exports.addButtonCssEvent=h;exports.removeButtonCssEvent=E;
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-BU8h1J_W.mjs";
1
+ import { h as n } from "./index-9uY2HzIO.mjs";
2
2
  const o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakSet(), u = (t) => {
3
3
  const e = t.currentTarget;
4
4
  if (n.event.cssEvent.button_onBeforeFocus(t) === !1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hisonvue",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "main": "./dist/hisonvue.cjs.js",
5
5
  "module": "./dist/hisonvue.es.js",
6
6
  "types": "./dist/hisonvue.d.ts",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./index-BzCcaeiL.js"),E=require("./setButtonCssEvent-Oy4ojn9y.js"),se=require("./_plugin-vue_export-helper-BHFhmbuH.js"),ue={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},title:{type:String,required:!1},text:{type:String,required:!1},href:{type:String,default:null},anchorAttrs:{type:Object,default:()=>({})},fontBold:{type:Boolean,default:!1},fontItalic:{type:Boolean,default:!1},fontThruline:{type:Boolean,default:!1},fontUnderline:{type:Boolean,default:!1},textAlign:{type:String,default:null,validator:n=>n==null||o.TEXT_ALIGN_VALUES.includes(n)},border:{type:Boolean,default:!1},backgroundType:{type:String,default:o.BackgroundType.empty,validator:n=>o.BACKGROUND_TYPE_VALUES.includes(n)},toggleTarget:{type:String,default:null},tabIndex:{type:[Number,String],default:null,validator:n=>n===null||n===""||!isNaN(+n)&&isFinite(+n)}},re=t.defineComponent({name:"HLabel",props:ue,inheritAttrs:!1,emits:["mounted","responsive-change","click","mousedown","mouseup","mouseover","mouseout"],setup(n,{emit:a,slots:z}){const v=t.ref(null),g=t.ref(null),r=n.id?n.id:o.getUUID(),s=`hlabel:${r}`,$=o.useDevice(),M=t.useSlots(),b=t.ref(n.visible),c=t.ref(n.title||""),T=t.ref(n.textAlign??o.TextAlign.left),G=t.computed(()=>({textAlign:T.value})),d=t.ref(n.href??null),u=t.ref({...n.anchorAttrs||{}}),h=t.computed(()=>!!(d.value&&String(d.value).trim())),J=t.computed(()=>{const e={...u.value};return c.value&&e.title==null&&(e.title=c.value),e.href=d.value||void 0,e.download===!0&&(e.download=""),String(e.target||"")==="_blank"&&(e.rel==null||String(e.rel).trim()==="")&&(e.rel="noopener noreferrer"),e}),x=t.computed(()=>M.default?M.default():[]),U=t.computed(()=>x.value.length>0&&x.value.every(e=>e.type===t.Text)),y=t.computed(()=>!!M.default&&!U.value),X=t.computed(()=>y.value?"div":h.value?"a":"span"),A=t.ref(n.fontBold),Y=t.computed(()=>{if(A.value)return"hison-font-bold"}),C=t.ref(n.fontItalic),Q=t.computed(()=>{if(C.value)return"hison-font-italic"}),p=t.ref(n.fontThruline),W=t.computed(()=>{if(p.value)return"hison-font-thruline-important"}),k=t.ref(n.fontUnderline),Z=t.computed(()=>{if(k.value)return"hison-font-underline-important"}),B=t.ref(n.border??!1),w=t.ref(n.backgroundType||o.BackgroundType.empty),_=t.computed(()=>b.value?"":"hison-display-none"),ee=t.computed(()=>B.value?"hison-border":""),te=t.computed(()=>{switch(w.value){case o.BackgroundType.empty:return"hison-bg-empty";case o.BackgroundType.transparent:return"hison-bg-transparent";default:return"hison-bg-filled"}}),i=t.ref(n.text||"");t.onMounted(()=>{if(U.value){const e=x.value.map(l=>String(l.children??"")).join("");i.value=e}});const f=t.ref(n.toggleTarget??null),m=t.computed(()=>!!(f.value&&String(f.value).trim())),S=t.ref(n.tabIndex!==null&&n.tabIndex!==""?Number(n.tabIndex):null),N=t.ref([]),H=()=>{N.value=o.extractResponsiveClasses(o.toClassString(n.class)||"",$.value),o.addComponentNameToClass(N.value,"size",o.hisonCloser.componentStyle.size),o.addComponentNameToClass(N.value,"color","primary")},F=()=>{var K,O,D,R,j,P;if(!m.value)return;const e=String(f.value),l=(K=o.hisonCloser.component.inputList)==null?void 0:K[e];if(!l||!l.isHisonvueComponent)return;const I=(O=l.getInputType)==null?void 0:O.call(l),oe=(D=l.getEditMode)==null?void 0:D.call(l);if(I!=="checkbox"&&I!=="radio"||oe!=="editable")return;const ae=!!((R=l.getValue)!=null&&R.call(l));I==="checkbox"?(j=l.setValue)==null||j.call(l,!ae):(P=l.setValue)==null||P.call(l,!0)},ne=e=>{m.value&&F(),a("click",e,g.value)},le=e=>{if(m.value&&F(),!h.value)return;const l=v.value;l&&l.tagName==="A"&&l.click()},L=(e=!0)=>{const l=v.value;if(l){if(E.removeButtonCssEvent(l),m.value){E.addButtonCssEvent(l);return}e&&h.value&&l.tagName==="A"&&E.addButtonCssEvent(l)}},q=()=>{o.hisonCloser.component.labelList[r]&&o.hisonCloser.component.labelList[r].isHisonvueComponent&&console.warn(`[Hisonvue] The label ID is at risk of being duplicated. ${r}`),o.registerReloadable(s,()=>{V(),t.nextTick(q)}),H(),t.nextTick(()=>L(!0)),g.value={isHisonvueComponent:!0,getId:()=>r,getType:()=>"label",isVisible:()=>b.value,setVisible:e=>{b.value=e},getTitle:()=>c.value,setTitle:e=>{c.value=e},getText:()=>y.value?"":i.value,setText:e=>{y.value||(i.value=e)},getHref:()=>d.value??"",setHref:e=>{d.value=e??null},getAnchorAttrs:()=>({...u.value}),replaceAnchorAttrs:e=>{u.value={...e}},mergeAnchorAttrs:e=>{u.value={...u.value,...e}},setAnchorAttr:(e,l)=>{u.value={...u.value,[e]:l}},removeAnchorAttr:e=>{const l={...u.value};delete l[e],u.value=l},isFontBold:()=>A.value,setFontBold:e=>{A.value=e},isFontItalic:()=>C.value,setFontItalic:e=>{C.value=e},isFontThruline:()=>p.value,setFontThruline:e=>{p.value=e},isFontUnderline:()=>k.value,setFontUnderline:e=>{k.value=e},getTextAlign:()=>T.value,setTextAlign:e=>{(e===o.TextAlign.left||e===o.TextAlign.center||e===o.TextAlign.right)&&(T.value=e)},isBorder:()=>B.value,setBorder:e=>{B.value=e},getBackgroundType:()=>w.value,setBackgroundType:e=>{w.value=e},getToggleTarget:()=>f.value,setToggleTarget:e=>{f.value=e},reload:()=>o.reloadHisonComponent(s),getTabIndex:()=>S.value,setTabIndex:e=>{S.value=e!=null?Number(e):null},focus:()=>{const e=v.value;e&&h.value&&e.tagName==="A"&&e.focus()}},o.hisonCloser.component.labelList[r]=g.value,a("mounted",g.value)},V=()=>{o.unregisterReloadable(s);const e=v.value;e&&E.removeButtonCssEvent(e),delete o.hisonCloser.component.labelList[r]};return t.onMounted(q),t.onBeforeUnmount(V),t.watch($,e=>{H(),a("responsive-change",e)}),t.watch(h,e=>{t.nextTick(()=>L(e))},{flush:"post"}),t.watch(m,e=>{t.nextTick(()=>L(e))},{flush:"post"}),t.watch(()=>n.visible,e=>{const l=!!e;l!==b.value&&(b.value=l)}),t.watch(()=>n.title,e=>{const l=e??"";l!==c.value&&(c.value=l)}),t.watch(()=>n.text,e=>{if(!y.value){const l=e??"";l!==i.value&&(i.value=l)}}),t.watch(x,e=>{if(U.value){const l=e.map(I=>String(I.children??"")).join("");l!==i.value&&(i.value=l)}}),t.watch(()=>n.href,e=>{const l=e??null;l!==d.value&&(d.value=l)}),t.watch(()=>n.anchorAttrs,e=>{const l={...e||{}};JSON.stringify(l)!==JSON.stringify(u.value)&&(u.value=l)}),t.watch(()=>n.fontBold,e=>{const l=!!e;l!==A.value&&(A.value=l)}),t.watch(()=>n.fontItalic,e=>{const l=!!e;l!==C.value&&(C.value=l)}),t.watch(()=>n.fontThruline,e=>{const l=!!e;l!==p.value&&(p.value=l)}),t.watch(()=>n.fontUnderline,e=>{const l=!!e;l!==k.value&&(k.value=l)}),t.watch(()=>n.textAlign,e=>{e&&e!==T.value&&(e===o.TextAlign.left||e===o.TextAlign.center||e===o.TextAlign.right)&&(T.value=e)}),t.watch(()=>n.border,e=>{const l=!!e;l!==B.value&&(B.value=l)}),t.watch(()=>n.backgroundType,e=>{e&&e!==w.value&&(w.value=e)}),t.watch(()=>n.toggleTarget,e=>{const l=e??null;l!==f.value&&(f.value=l)}),t.watch(()=>n.tabIndex,e=>{const l=e===null||e===""?null:Number(e);l!==S.value&&(S.value=l)}),t.watch(()=>n.class,()=>{H()}),{labelRef:v,labelMethods:t.computed(()=>t.unref(g)),props:n,title:c,hasHref:h,hasToggleTarget:m,hasElementSlot:y,renderTag:X,internalText:i,computedAnchorAttrs:J,visibleClass:_,fontBoldClass:Y,fontItalicClass:Q,fontThrulineClass:W,fontUnderlineClass:Z,textAlignStyle:G,borderClass:ee,backgroundTypeClass:te,responsiveClassList:N,tabIndex:S,onClick:ne,onKeyActivate:le}}}),ie={key:2,class:"hison-label-text"};function ce(n,a,z,v,g,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-wrapper",...n.responsiveClassList,n.visibleClass])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.renderTag),t.mergeProps({ref:"labelRef",class:["hison-label",n.hasHref?"hison-label-link":null,n.hasToggleTarget?"hison-label-has-toggle-target":null,n.fontBoldClass,n.fontItalicClass,n.fontThrulineClass,n.fontUnderlineClass,n.borderClass,n.backgroundTypeClass],style:[n.textAlignStyle,n.props.style],title:n.title||void 0,tabindex:n.tabIndex??void 0},n.renderTag==="a"?n.computedAnchorAttrs:void 0,{onClick:n.onClick,onMousedown:a[0]||(a[0]=s=>n.$emit("mousedown",s,n.labelMethods)),onMouseup:a[1]||(a[1]=s=>n.$emit("mouseup",s,n.labelMethods)),onMouseover:a[2]||(a[2]=s=>n.$emit("mouseover",s,n.labelMethods)),onMouseout:a[3]||(a[3]=s=>n.$emit("mouseout",s,n.labelMethods)),onKeydown:[t.withKeys(t.withModifiers(n.onKeyActivate,["prevent"]),["enter"]),t.withKeys(t.withModifiers(n.onKeyActivate,["prevent"]),["space"])]}),{default:t.withCtx(()=>[n.hasElementSlot?t.renderSlot(n.$slots,"default",{key:0}):n.hasHref?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n.internalText),1)],64)):(t.openBlock(),t.createElementBlock("span",ie,t.toDisplayString(n.internalText),1))]),_:3},16,["class","style","title","tabindex","onClick","onKeydown"]))],2)}const de=se._export_sfc(re,[["render",ce]]);exports.default=de;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),a=require("./index-BzCcaeiL.js"),re=require("./_plugin-vue_export-helper-BHFhmbuH.js"),ie={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},title:{type:String,required:!1},text:{type:String,required:!1},fontBold:{type:Boolean,default:!1},fontItalic:{type:Boolean,default:!1},fontThruline:{type:Boolean,default:!1},fontUnderline:{type:Boolean,default:!1},textAlign:{type:String,default:null,validator:n=>n==null||a.TEXT_ALIGN_VALUES.includes(n)},verticalAlign:{type:String,default:a.VerticalAlign.top,validator:n=>a.VERTICAL_ALIGN_VALUES.includes(n)},border:{type:Boolean,default:!1},backgroundType:{type:String,default:a.BackgroundType.empty,validator:n=>a.BACKGROUND_TYPE_VALUES.includes(n)},whiteSpace:{type:String,default:null,validator:n=>n==null||a.WHITE_SPACE_VALUES.includes(n)},copyEnabled:{type:Boolean,default:!0},showCopyButton:{type:Boolean,default:!1},copyButtonText:{type:String,default:"copy"}},ue=t.defineComponent({name:"HParagraph",props:ie,inheritAttrs:!1,emits:["mounted","responsive-change","copy-click","copied","copy-error"],setup(n,{emit:l}){const E=t.ref(null),d=t.ref(null),i=n.id?n.id:a.getUUID(),$=t.computed(()=>`hison_paragraph_copy_button_${i}`),v=`hparagraph:${i}`,u=a.useDevice(),I=t.useSlots(),y=t.ref(n.visible),h=t.ref(n.title||""),p=t.ref(n.text||""),g=t.ref(n.fontBold),C=t.ref(n.fontItalic),m=t.ref(n.fontThruline),b=t.ref(n.fontUnderline),w=t.ref(n.textAlign??a.TextAlign.left),S=t.ref(n.verticalAlign),T=t.ref(n.border),f=t.ref(n.backgroundType),B=t.ref(n.whiteSpace),s=t.ref(n.copyEnabled),k=t.ref(n.showCopyButton),A=t.ref(n.copyButtonText),L=t.computed(()=>I.default?I.default():[]),P=t.computed(()=>L.value.length>0&&L.value.every(e=>e.type===t.Text)),U=t.computed(()=>!!I.default&&!P.value),K=t.computed(()=>!!I.default&&L.value.length>0);t.onMounted(()=>{if(P.value){const e=L.value.map(o=>String(o.children??"")).join("");p.value=e}});const q=t.computed(()=>y.value?"":"hison-display-none"),z=t.computed(()=>T.value?"hison-border":""),M=t.computed(()=>{switch(f.value){case a.BackgroundType.empty:return"hison-bg-empty";case a.BackgroundType.transparent:return"hison-bg-transparent";default:return"hison-bg-filled"}}),G=t.computed(()=>g.value?"hison-font-bold":""),O=t.computed(()=>C.value?"hison-font-italic":""),j=t.computed(()=>m.value?"hison-font-thruline":""),W=t.computed(()=>b.value?"hison-font-underline":""),X=t.computed(()=>s.value?"":"hison-no-select"),V=t.ref([]),N=()=>{V.value=a.extractResponsiveClasses(a.toClassString(n.class)||"",u.value),a.addComponentNameToClass(V.value,"size",a.hisonCloser.componentStyle.size),a.addComponentNameToClass(V.value,"color","primary")},Y=t.computed(()=>{const e=[];return e.push(...a.extractPrefixedClasses(a.toClassString(n.class)||"","color")),e}),J=t.computed(()=>B.value??"pre-wrap"),Q=t.computed(()=>{switch(J.value){case"normal":return"hison-ws-normal";case"pre":return"hison-ws-pre";case"pre-wrap":return"hison-ws-pre-wrap";case"pre-line":return"hison-ws-pre-line";case"break-spaces":return"hison-ws-break-spaces";default:return""}}),Z=t.computed(()=>{switch(w.value){case"center":return"hison-ta-center";case"right":return"hison-ta-right";default:return"hison-ta-left"}}),_=t.computed(()=>{switch(S.value){case"middle":return"hison-valign-middle";case"bottom":return"hison-valign-bottom";default:return""}}),ee=()=>{const e=E.value;return e?e.innerText??"":""};function D(){const e=typeof window<"u"?window.getSelection():null;return!!e&&!e.isCollapsed&&e.toString().length>0}const x=async()=>{if(!s.value)return!1;const e=ee();try{if(navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}try{const o=document.createRange(),c=E.value;if(!c)throw new Error("no element");o.selectNodeContents(c);const r=window.getSelection();r==null||r.removeAllRanges(),r==null||r.addRange(o);const se=document.execCommand("copy");return r==null||r.removeAllRanges(),se}catch{return!1}},R=async(e,o)=>{l("copy-click",{src:e,event:o,api:d.value});try{const c=await x();l("copied",c,d.value)}catch(c){l("copy-error",c,d.value)}},te=async e=>{await R("button",e)},ne=async e=>{const o=/Mac|iPod|iPhone|iPad/.test(navigator.platform),c=(o?e.metaKey:e.ctrlKey)&&(e.key==="c"||e.key==="C"),r=(o?e.metaKey:e.ctrlKey)&&(e.key==="x"||e.key==="X");if(!s.value&&(c||r)){e.preventDefault(),e.stopPropagation();return}if(s.value&&c){if(D())return;e.preventDefault(),e.stopPropagation(),await R("keyboard",e)}},oe=async e=>{if(!s.value){e.preventDefault();return}D()||(e.preventDefault(),await R("native",e))},ae=e=>{s.value||e.preventDefault()},le=e=>{s.value||e.preventDefault()},H=()=>{a.hisonCloser.component.paragraphList[i]&&a.hisonCloser.component.paragraphList[i].isHisonvueComponent&&console.warn(`[Hisonvue] The paragraph ID is at risk of being duplicated. ${i}`),a.registerReloadable(v,()=>{F(),t.nextTick(H)}),N(),d.value={isHisonvueComponent:!0,getId:()=>i,getType:()=>"paragraph",isVisible:()=>y.value,setVisible:e=>{y.value=e},getTitle:()=>h.value,setTitle:e=>{h.value=e||""},getText:()=>U.value?"":p.value,setText:e=>{U.value||(p.value=e??"")},getTextAlign:()=>w.value,setTextAlign:e=>{(e==="left"||e==="center"||e==="right")&&(w.value=e)},getVerticalAlign:()=>S.value,setVerticalAlign:e=>{S.value=e},isFontBold:()=>g.value,setFontBold:e=>{g.value=e},isFontItalic:()=>C.value,setFontItalic:e=>{C.value=e},isFontThruline:()=>m.value,setFontThruline:e=>{m.value=e},isFontUnderline:()=>b.value,setFontUnderline:e=>{b.value=e},isBorder:()=>T.value,setBorder:e=>{T.value=e},getBackgroundType:()=>f.value,setBackgroundType:e=>{f.value=e},getWhiteSpace:()=>B.value,setWhiteSpace:e=>{B.value=e},getCopyButtonText:()=>A.value,setCopyButtonText:e=>{A.value=e},isCopyEnabled:()=>s.value,setCopyEnabled:e=>{s.value=e},isShowCopyButton:()=>k.value,setShowCopyButton:e=>{k.value=e},copy:async()=>await x(),reload:()=>a.reloadHisonComponent(v)},a.hisonCloser.component.paragraphList[i]=d.value,l("mounted",d.value)},F=()=>{a.unregisterReloadable(v),delete a.hisonCloser.component.paragraphList[i]};return t.onMounted(H),t.onBeforeUnmount(F),t.watch(u,e=>{N(),l("responsive-change",e)}),t.watch(()=>n.visible,e=>{const o=!!e;o!==y.value&&(y.value=o)}),t.watch(()=>n.title,e=>{const o=e??"";o!==h.value&&(h.value=o)}),t.watch(()=>n.text,e=>{const o=e??"";!U.value&&o!==p.value&&(p.value=o)}),t.watch(()=>n.fontBold,e=>{const o=!!e;o!==g.value&&(g.value=o)}),t.watch(()=>n.fontItalic,e=>{const o=!!e;o!==C.value&&(C.value=o)}),t.watch(()=>n.fontThruline,e=>{const o=!!e;o!==m.value&&(m.value=o)}),t.watch(()=>n.fontUnderline,e=>{const o=!!e;o!==b.value&&(b.value=o)}),t.watch(()=>n.textAlign,e=>{e&&e!==w.value&&(e==="left"||e==="center"||e==="right")&&(w.value=e)}),t.watch(()=>n.verticalAlign,e=>{e&&e!==S.value&&(e==="top"||e==="middle"||e==="bottom")&&(S.value=e)}),t.watch(()=>n.whiteSpace,e=>{const o=e??null;o!==B.value&&(B.value=o)}),t.watch(()=>n.border,e=>{const o=!!e;o!==T.value&&(T.value=o)}),t.watch(()=>n.backgroundType,e=>{e&&e!==f.value&&(f.value=e)}),t.watch(()=>n.copyEnabled,e=>{const o=!!e;o!==s.value&&(s.value=o)}),t.watch(()=>n.showCopyButton,e=>{const o=!!e;o!==k.value&&(k.value=o)}),t.watch(()=>n.copyButtonText,e=>{const o=e??"copy";o!==A.value&&(A.value=o)}),t.watch(()=>n.class,()=>{N()}),{paraRef:E,paragraphMethods:t.computed(()=>t.unref(d)),props:n,id:i,copyButtonId:$,title:h,visibleClass:q,borderClass:z,backgroundType:f,backgroundTypeClass:M,fontBoldClass:G,fontItalicClass:O,fontThrulineClass:j,fontUnderlineClass:W,responsiveClassList:V,buttonClassList:Y,internalText:p,copyButtonText:A,copyEnabled:s,showCopyButton:k,hasElementSlot:U,hasAnySlot:K,whiteSpaceClass:Q,textAlignClass:Z,verticalAlignClass:_,copyGuardClass:X,onKeydown:ne,onCopyEvent:oe,onCutEvent:ae,onSelectStart:le,onCopyButtonClick:te}}}),ce={key:0,class:"hison-paragraph-copybtn"},de=["title"];function pe(n,l,E,d,i,$){const v=t.resolveComponent("HButton");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-wrapper","hison-paragraph-wrapper",...n.responsiveClassList,n.visibleClass])},[n.copyEnabled&&n.showCopyButton?(t.openBlock(),t.createElementBlock("div",ce,[t.renderSlot(n.$slots,"copy-button",{onClick:n.onCopyButtonClick,text:n.copyButtonText},()=>[t.createVNode(v,{id:n.copyButtonId,class:t.normalizeClass([...n.buttonClassList,"hison-size-s"]),border:!0,text:n.copyButtonText,"background-type":n.backgroundType,onClick:n.onCopyButtonClick,title:"Copy content"},t.createSlots({default:t.withCtx(()=>[n.$slots["copy-label"]?t.renderSlot(n.$slots,"copy-label",{key:0}):t.createCommentVNode("",!0)]),_:2},[n.$slots["copy-icon"]?{name:"icon",fn:t.withCtx(()=>[t.renderSlot(n.$slots,"copy-icon")]),key:"0"}:void 0]),1032,["id","class","text","background-type","onClick"])])])):t.createCommentVNode("",!0),t.createElementVNode("p",{ref:"paraRef",class:t.normalizeClass(["hison-paragraph",[n.borderClass,n.backgroundTypeClass,n.fontBoldClass,n.fontItalicClass,n.fontThrulineClass,n.fontUnderlineClass,n.whiteSpaceClass,n.textAlignClass,n.verticalAlignClass,n.copyGuardClass]]),style:t.normalizeStyle(n.props.style),title:n.title||void 0,tabindex:"0",onKeydown:l[0]||(l[0]=(...u)=>n.onKeydown&&n.onKeydown(...u)),onCopy:l[1]||(l[1]=(...u)=>n.onCopyEvent&&n.onCopyEvent(...u)),onCut:l[2]||(l[2]=(...u)=>n.onCutEvent&&n.onCutEvent(...u)),onSelectstart:l[3]||(l[3]=(...u)=>n.onSelectStart&&n.onSelectStart(...u))},[n.hasElementSlot?t.renderSlot(n.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n.internalText),1)],64))],46,de)],2)}const fe=re._export_sfc(ue,[["render",pe]]);exports.default=fe;