hisonvue 1.0.0

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 (155) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +248 -0
  3. package/dist/HAccordion-CPtgQUK0.js +1 -0
  4. package/dist/HAccordion-ll-4cIAw.mjs +262 -0
  5. package/dist/HBaggie-D6omQoFh.js +1 -0
  6. package/dist/HBaggie-D_7mEiuV.mjs +283 -0
  7. package/dist/HBanner-DmcMOFqS.mjs +420 -0
  8. package/dist/HBanner-Io4SdGGs.js +1 -0
  9. package/dist/HButton-DAVuDmOQ.js +1 -0
  10. package/dist/HButton-DAriO81x.mjs +256 -0
  11. package/dist/HCalendar-DKwGatUk.js +2 -0
  12. package/dist/HCalendar-w18iIB90.mjs +3387 -0
  13. package/dist/HCaption-6CbSqRA7.js +1 -0
  14. package/dist/HCaption-DwsXHDNK.mjs +275 -0
  15. package/dist/HChart-C86JXUyW.js +1 -0
  16. package/dist/HChart-CcArHFr0.mjs +179 -0
  17. package/dist/HDrawer-DG1O42iF.mjs +439 -0
  18. package/dist/HDrawer-U5VC_okK.js +1 -0
  19. package/dist/HDropdown-Bs7AfefJ.mjs +393 -0
  20. package/dist/HDropdown-D4RAGmjE.js +1 -0
  21. package/dist/HFileset-BGuP9O4l.mjs +578 -0
  22. package/dist/HFileset-CuPR6Hwf.js +2 -0
  23. package/dist/HGap-BPAdnOQz.js +1 -0
  24. package/dist/HGap-DzGrfWVt.mjs +233 -0
  25. package/dist/HGrid-BiIhVCv_.mjs +345 -0
  26. package/dist/HGrid-C3EV_pgM.js +1 -0
  27. package/dist/HImagebox-D_DKeCrO.mjs +654 -0
  28. package/dist/HImagebox-t_UdFjQO.js +2 -0
  29. package/dist/HInput-BEyJqYkD.mjs +1103 -0
  30. package/dist/HInput-DMGLY473.js +1 -0
  31. package/dist/HInputGroup-D37WTYoI.mjs +281 -0
  32. package/dist/HInputGroup-Dcfr23sZ.js +1 -0
  33. package/dist/HLabel-B2FOqSiS.mjs +369 -0
  34. package/dist/HLabel-Dm48mSwn.js +1 -0
  35. package/dist/HLayout-BbCEm_aO.mjs +196 -0
  36. package/dist/HLayout-C1e4BZ_K.js +1 -0
  37. package/dist/HList-CAeYb-hz.mjs +419 -0
  38. package/dist/HList-eNXmMf27.js +1 -0
  39. package/dist/HModal-BDBEEpKm.mjs +778 -0
  40. package/dist/HModal-GODLq3wH.js +1 -0
  41. package/dist/HNote-CWnUjt3_.mjs +934 -0
  42. package/dist/HNote-D_Xwu9oL.js +1 -0
  43. package/dist/HPagination-Db_L9wv-.js +1 -0
  44. package/dist/HPagination-e5e2a5GS.mjs +496 -0
  45. package/dist/HParagraph-BRuSeOMU.js +1 -0
  46. package/dist/HParagraph-DYuB-qjY.mjs +463 -0
  47. package/dist/HPopup-Brp1FVpm.mjs +431 -0
  48. package/dist/HPopup-ChkoI3xm.js +1 -0
  49. package/dist/HSpinner-DDtU9PL_.js +1 -0
  50. package/dist/HSpinner-DOq2k5kT.mjs +281 -0
  51. package/dist/HTable-DGFnzD4u.js +1 -0
  52. package/dist/HTable-GCDP5O_J.mjs +620 -0
  53. package/dist/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  54. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  55. package/dist/ar.es-CKau4tBl.js +5 -0
  56. package/dist/ar.es-XxSuE68c.mjs +57 -0
  57. package/dist/bg.es-BJ7fu6yy.mjs +57 -0
  58. package/dist/bg.es-Melqx1M5.js +5 -0
  59. package/dist/bn.es-CYlBkxc5.mjs +57 -0
  60. package/dist/bn.es-ClbAZ4WP.js +5 -0
  61. package/dist/bs.es-KjOcbE96.js +5 -0
  62. package/dist/bs.es-yMnaKmdi.mjs +57 -0
  63. package/dist/ca.es-BaGTENcW.js +5 -0
  64. package/dist/ca.es-DIhlxmQc.mjs +67 -0
  65. package/dist/cs.es-BN8oxRXQ.mjs +57 -0
  66. package/dist/cs.es-ChOlHqBr.js +5 -0
  67. package/dist/da.es-DJB5lAli.mjs +57 -0
  68. package/dist/da.es-DOFXbf8-.js +5 -0
  69. package/dist/de.es-DwE82Kaw.js +5 -0
  70. package/dist/de.es-glb8GeJh.mjs +57 -0
  71. package/dist/drag-and-drop.es-4ttM1tRs.js +5 -0
  72. package/dist/drag-and-drop.es-Ckzp6XEn.mjs +183 -0
  73. package/dist/el.es-CNrCgzYI.js +5 -0
  74. package/dist/el.es-_bBZf22h.mjs +76 -0
  75. package/dist/en.es-CV9nmQGr.mjs +57 -0
  76. package/dist/en.es-CgL601qd.js +5 -0
  77. package/dist/es.es-CZjcWK54.mjs +57 -0
  78. package/dist/es.es-IdFGKY7Q.js +5 -0
  79. package/dist/et.es-BygWmV3P.js +5 -0
  80. package/dist/et.es-CjvQAzNF.mjs +57 -0
  81. package/dist/fa.es-DW_0SmsT.js +5 -0
  82. package/dist/fa.es-DykeFwDA.mjs +57 -0
  83. package/dist/fi.es-Bl7Pp7AO.mjs +57 -0
  84. package/dist/fi.es-pgfJlZ8i.js +5 -0
  85. package/dist/fr.es-CNKVhFfO.mjs +57 -0
  86. package/dist/fr.es-OENguFuM.js +5 -0
  87. package/dist/he.es-bixEnAeH.js +5 -0
  88. package/dist/he.es-nF4GFhjH.mjs +57 -0
  89. package/dist/hisonvue.cjs.js +1 -0
  90. package/dist/hisonvue.css +1 -0
  91. package/dist/hisonvue.d.ts +19934 -0
  92. package/dist/hisonvue.es.js +114 -0
  93. package/dist/hr.es-CkRAP94O.js +5 -0
  94. package/dist/hr.es-QFfz660j.mjs +57 -0
  95. package/dist/hu.es-Ck2rE01V.mjs +57 -0
  96. package/dist/hu.es-DG6HeiQJ.js +5 -0
  97. package/dist/id.es-D4tPi6wP.js +5 -0
  98. package/dist/id.es-Je7FEUJ5.mjs +57 -0
  99. package/dist/index-BmKMHsSZ.js +153 -0
  100. package/dist/index-DUh7pai4.mjs +19976 -0
  101. package/dist/is.es-CDFqLYCV.js +5 -0
  102. package/dist/is.es-bzprHvXI.mjs +57 -0
  103. package/dist/it.es-BHgrw_C6.js +5 -0
  104. package/dist/it.es-CJtfqmNS.mjs +57 -0
  105. package/dist/ja.es-BaiGjqZ6.mjs +57 -0
  106. package/dist/ja.es-D-lxWwyb.js +5 -0
  107. package/dist/ka.es-CnnB6q4A.js +5 -0
  108. package/dist/ka.es-x9QJo_dl.mjs +57 -0
  109. package/dist/ko.es-6c447eTS.mjs +57 -0
  110. package/dist/ko.es-b18aaB3V.js +5 -0
  111. package/dist/lt.es-2twYdvmJ.mjs +57 -0
  112. package/dist/lt.es-BY9UQ6wZ.js +5 -0
  113. package/dist/mn.es-BLQRG1uu.mjs +57 -0
  114. package/dist/mn.es-YFS7gSdf.js +5 -0
  115. package/dist/nl.es-BEx-4hnj.js +5 -0
  116. package/dist/nl.es-bB1qWR_S.mjs +57 -0
  117. package/dist/no.es-BQnRWlWR.js +5 -0
  118. package/dist/no.es-CWDVXpTf.mjs +57 -0
  119. package/dist/pl.es-CKCsZ_02.js +5 -0
  120. package/dist/pl.es-Dzct23w9.mjs +57 -0
  121. package/dist/pt-br.es-BeBuiitI.mjs +57 -0
  122. package/dist/pt-br.es-oH7qh6Fd.js +5 -0
  123. package/dist/pt-pt.es-BeBuiitI.mjs +57 -0
  124. package/dist/pt-pt.es-DLk5I0ej.js +5 -0
  125. package/dist/ro.es-DfMVJ30M.mjs +57 -0
  126. package/dist/ro.es-DgTen1Dh.js +5 -0
  127. package/dist/ru.es-Bv9UvrBe.mjs +67 -0
  128. package/dist/ru.es-jGIQfREl.js +5 -0
  129. package/dist/scrollManager-BGnq4wyt.mjs +14 -0
  130. package/dist/scrollManager-CEEWQwoK.js +1 -0
  131. package/dist/setButtonCssEvent-B9WTs2X7.js +1 -0
  132. package/dist/setButtonCssEvent-dBs1GcAh.mjs +70 -0
  133. package/dist/sk.es-CUOTpLuL.mjs +57 -0
  134. package/dist/sk.es-D2bhVb26.js +5 -0
  135. package/dist/sl.es-DeIGgZbR.mjs +57 -0
  136. package/dist/sl.es-TV8Uraa1.js +5 -0
  137. package/dist/sq.es-CQJJrZHv.mjs +67 -0
  138. package/dist/sq.es-Cc65zxbr.js +5 -0
  139. package/dist/sr.es-CKS0AkiW.mjs +57 -0
  140. package/dist/sr.es-D5VNA_GW.js +5 -0
  141. package/dist/sv.es-ChHQRrAe.mjs +57 -0
  142. package/dist/sv.es-dBeK_DZs.js +5 -0
  143. package/dist/tr.es-B3v90gVv.mjs +57 -0
  144. package/dist/tr.es-BUz4S13G.js +5 -0
  145. package/dist/uk.es-B8uaeLcK.js +5 -0
  146. package/dist/uk.es-CiR4NnbN.mjs +67 -0
  147. package/dist/vi.es-2OFMtbQI.js +5 -0
  148. package/dist/vi.es-DFDi5l7p.mjs +67 -0
  149. package/dist/zh-cn.es-9cbEAuAi.mjs +67 -0
  150. package/dist/zh-cn.es-fDHCbCIg.js +5 -0
  151. package/dist/zh-hk.es-COzeh5F8.js +5 -0
  152. package/dist/zh-hk.es-z0tio4jE.mjs +67 -0
  153. package/nuxt/module.mjs +39 -0
  154. package/nuxt/plugin.mjs +21 -0
  155. package/package.json +53 -0
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),l=require("./index-BmKMHsSZ.js"),z=require("./_plugin-vue_export-helper-BHFhmbuH.js"),q={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},editMode:{type:String,default:l.EditMode.editable,validator:e=>["editable","disable","readonly"].includes(e)},noteModeByDevice:{type:String,required:!1,validator:e=>e==null||l.NOTE_MODE_BY_DEVICE_VALUES.includes(e)},toolPosition:{type:String,required:!1,validator:e=>e==null||l.TOOL_POSITION_VALUES.includes(e)},toolDefaultLine:{type:Number,required:!1},toolToggle:{type:Boolean,default:!1},textareaWidth:{type:String,required:!1},textareaHeight:{type:String,required:!1},textareaMaxWidth:{type:String,required:!1},textareaMaxHeight:{type:String,required:!1},textareaHeightIsModify:{type:Boolean,default:!1},placeholderIsVisible:{type:Boolean,default:!1},placeholderAddTop:{type:Number,required:!1},placeholderAddLeft:{type:Number,required:!1},placeholderWidth:{type:String,required:!1},placeholderColor:{type:String,required:!1},placeholderBackgroundColor:{type:String,required:!1},placeholderTitle:{type:String,required:!1},placeholderTextContent:{type:String,required:!1},attFilePreventTypes:{type:String,required:!1},attFileAcceptTypes:{type:String,required:!1},attFileMaxSize:{type:Number,required:!1,default:20*1024*1024},attImagePreventTypes:{type:String,required:!1},attImageAcceptTypes:{type:String,required:!1},attImageMaxSize:{type:Number,required:!1,default:20*1024*1024},defaultFontSize:{type:Number,required:!1},defaultLineHeight:{type:Number,required:!1},defaultFontFamily:{type:String,required:!1},defaultToolFontFamily:{type:String,required:!1},addFontFamily:{type:String,required:!1},removeFontFamily:{type:String,required:!1},language:{type:String,required:!1},recodeLimit:{type:String,required:!1},sizeLevelDesktop:{type:Number,required:!1},sizeLevelMobile:{type:Number,required:!1},color:{type:String,required:!1},invertColor:{type:Boolean,default:!1},usingParagraphStyle:{type:Boolean,default:!0},usingBold:{type:Boolean,default:!0},usingUnderline:{type:Boolean,default:!0},usingItalic:{type:Boolean,default:!0},usingUl:{type:Boolean,default:!0},usingOl:{type:Boolean,default:!0},usingTextAlign:{type:Boolean,default:!0},usingAttLink:{type:Boolean,default:!0},usingAttFile:{type:Boolean,default:!0},usingAttImage:{type:Boolean,default:!0},usingAttVideo:{type:Boolean,default:!0},usingFontSize:{type:Boolean,default:!0},usingLetterSpacing:{type:Boolean,default:!0},usingLineHeight:{type:Boolean,default:!0},usingFontFamily:{type:Boolean,default:!0},usingColorText:{type:Boolean,default:!0},usingColorBack:{type:Boolean,default:!0},usingFormatClear:{type:Boolean,default:!0},usingUndo:{type:Boolean,default:!0},usingRedo:{type:Boolean,default:!0},usingHelp:{type:Boolean,default:!0},usingParagraphAllStyle:{type:Boolean,default:!0},usingCharacterStyle:{type:Boolean,default:!0},usingCharacterSize:{type:Boolean,default:!0},usingAttachFile:{type:Boolean,default:!0},usingDo:{type:Boolean,default:!0},required:{type:Boolean,default:!1},modelValue:{type:Object,required:!1},tabIndex:{type:[Number,String],default:null,validator:e=>e===null||e===""||!isNaN(+e)&&isFinite(+e)}},G={textareaBeforeClick:Function,textareaAfterClick:Function,textareaBeforeFocus:Function,textareaAfterFocus:Function,textareaBeforeBlur:Function,textareaAfterBlur:Function,paragraphStyleSelectBeforeClick:Function,paragraphStyleSelectAfterClick:Function,toolToggleBeforeClick:Function,toolToggleAfterClick:Function,styleNomalBeforeClick:Function,styleNomalAfterClick:Function,styleHeader1BeforeClick:Function,styleHeader1AfterClick:Function,styleHeader2BeforeClick:Function,styleHeader2AfterClick:Function,styleHeader3BeforeClick:Function,styleHeader3AfterClick:Function,styleHeader4BeforeClick:Function,styleHeader4AfterClick:Function,styleHeader5BeforeClick:Function,styleHeader5AfterClick:Function,styleHeader6BeforeClick:Function,styleHeader6AfterClick:Function,boldBeforeClick:Function,boldAfterClick:Function,underlineBeforeClick:Function,underlineAfterClick:Function,italicBeforeClick:Function,italicAfterClick:Function,ulBeforeClick:Function,ulAfterClick:Function,olBeforeClick:Function,olAfterClick:Function,textAlignSelectBeforeClick:Function,textAlignSelectAfterClick:Function,textAlignLeftBeforeClick:Function,textAlignLeftAfterClick:Function,textAlignCenterBeforeClick:Function,textAlignCenterAfterClick:Function,textAlignRightBeforeClick:Function,textAlignRightAfterClick:Function,attLinkBeforeClick:Function,attLinkAfterClick:Function,attFileBeforeClick:Function,attFileAfterClick:Function,attImageBeforeClick:Function,attImageAfterClick:Function,attVideoBeforeClick:Function,attVideoAfterClick:Function,fontSizeBoxBeforeClick:Function,fontSizeBoxAfterClick:Function,fontSizeBeforeClick:Function,fontSizeAfterClick:Function,fontSizeBeforeInput:Function,fontSizeAfterInput:Function,fontSizeBeforeBlur:Function,fontSizeAfterBlur:Function,letterSpacingBoxBeforeClick:Function,letterSpacingBoxAfterClick:Function,letterSpacingBeforeClick:Function,letterSpacingAfterClick:Function,letterSpacingBeforeInput:Function,letterSpacingAfterInput:Function,letterSpacingBeforeBlur:Function,letterSpacingAfterBlur:Function,lineHeightBoxBeforeClick:Function,lineHeightBoxAfterClick:Function,lineHeightBeforeClick:Function,lineHeightAfterClick:Function,lineHeightBeforeInput:Function,lineHeightAfterInput:Function,lineHeightBeforeBlur:Function,lineHeightAfterBlur:Function,fontFamilySelectBeforeClick:Function,fontFamilySelectAfterClick:Function,colorTextSelectBeforeClick:Function,colorTextSelectAfterClick:Function,colorTextSelectBoxBeforeClick:Function,colorTextSelectBoxAfterClick:Function,colorText0BeforeClick:Function,colorText0AfterClick:Function,colorText1BeforeClick:Function,colorText1AfterClick:Function,colorText2BeforeClick:Function,colorText2AfterClick:Function,colorText3BeforeClick:Function,colorText3AfterClick:Function,colorText4BeforeClick:Function,colorText4AfterClick:Function,colorText5BeforeClick:Function,colorText5AfterClick:Function,colorText6BeforeClick:Function,colorText6AfterClick:Function,colorText7BeforeClick:Function,colorText7AfterClick:Function,colorTextRBeforeClick:Function,colorTextRAfterClick:Function,colorTextRBeforeInput:Function,colorTextRAfterInput:Function,colorTextRBeforeBlur:Function,colorTextRAfterBlur:Function,colorTextGBeforeClick:Function,colorTextGAfterClick:Function,colorTextGBeforeInput:Function,colorTextGAfterInput:Function,colorTextGBeforeBlur:Function,colorTextGAfterBlur:Function,colorTextBBeforeClick:Function,colorTextBAfterClick:Function,colorTextBBeforeInput:Function,colorTextBAfterInput:Function,colorTextBBeforeBlur:Function,colorTextBAfterBlur:Function,colorTextOpacityBeforeClick:Function,colorTextOpacityAfterClick:Function,colorTextOpacityBeforeInput:Function,colorTextOpacityAfterInput:Function,colorTextOpacityBeforeBlur:Function,colorTextOpacityAfterBlur:Function,colorBackSelectBeforeClick:Function,colorBackSelectAfterClick:Function,colorBackSelectBoxBeforeClick:Function,colorBackSelectBoxAfterClick:Function,colorBack0BeforeClick:Function,colorBack0AfterClick:Function,colorBack1BeforeClick:Function,colorBack1AfterClick:Function,colorBack2BeforeClick:Function,colorBack2AfterClick:Function,colorBack3BeforeClick:Function,colorBack3AfterClick:Function,colorBack4BeforeClick:Function,colorBack4AfterClick:Function,colorBack5BeforeClick:Function,colorBack5AfterClick:Function,colorBack6BeforeClick:Function,colorBack6AfterClick:Function,colorBack7BeforeClick:Function,colorBack7AfterClick:Function,colorBackRBeforeClick:Function,colorBackRAfterClick:Function,colorBackRBeforeInput:Function,colorBackRAfterInput:Function,colorBackRBeforeBlur:Function,colorBackRAfterBlur:Function,colorBackGBeforeClick:Function,colorBackGAfterClick:Function,colorBackGBeforeInput:Function,colorBackGAfterInput:Function,colorBackGBeforeBlur:Function,colorBackGAfterBlur:Function,colorBackBBeforeClick:Function,colorBackBAfterClick:Function,colorBackBBeforeInput:Function,colorBackBAfterInput:Function,colorBackBBeforeBlur:Function,colorBackBAfterBlur:Function,colorBackOpacityBeforeClick:Function,colorBackOpacityAfterClick:Function,colorBackOpacityBeforeInput:Function,colorBackOpacityAfterInput:Function,colorBackOpacityBeforeBlur:Function,colorBackOpacityAfterBlur:Function,formatClearBeforeClick:Function,formatClearAfterClick:Function,undoBeforeClick:Function,undoAfterClick:Function,redoBeforeClick:Function,redoAfterClick:Function,helpBeforeClick:Function,helpAfterClick:Function,modalBackBeforeClick:Function,modalBackAfterClick:Function,attLinkModalBeforeClick:Function,attLinkModalAfterClick:Function,attLinkTextBeforeInput:Function,attLinkTextAfterInput:Function,attLinkTextBeforeBlur:Function,attLinkTextAfterBlur:Function,attLinkHrefBeforeInput:Function,attLinkHrefAfterInput:Function,attLinkHrefBeforeBlur:Function,attLinkHrefAfterBlur:Function,attLinkInsertBeforeClick:Function,attLinkInsertAfterClick:Function,attFileModalBeforeClick:Function,attFileModalAfterClick:Function,attFileUploadBeforeClick:Function,attFileUploadAfterClick:Function,attFileUploadDivBeforeDragover:Function,attFileUploadDivAfterDragover:Function,attFileUploadDivBeforeDrop:Function,attFileUploadDivAfterDrop:Function,attFileUploadDivBeforeClick:Function,attFileUploadDivAfterClick:Function,attFileUploadBeforeInput:Function,attFileUploadAfterInput:Function,attFileUploadBeforeBlur:Function,attFileUploadAfterBlur:Function,attFileInsertBeforeClick:Function,attFileInsertAfterClick:Function,attLinkTooltipEditBeforeClick:Function,attLinkTooltipEditAfterClick:Function,attLinkTooltipUnlinkBeforeClick:Function,attLinkTooltipUnlinkAfterClick:Function,attImageModalBeforeClick:Function,attImageModalAfterClick:Function,attImageUploadViewBeforeDragover:Function,attImageUploadViewAfterDragover:Function,attImageUploadViewBeforeDrop:Function,attImageUploadViewAfterDrop:Function,attImageUploadViewBeforeClick:Function,attImageUploadViewAfterClick:Function,attImageViewPreBeforeClick:Function,attImageViewPreAfterClick:Function,attImageViewNextBeforeClick:Function,attImageViewNextAfterClick:Function,attImageUploadBeforeInput:Function,attImageUploadAfterInput:Function,attImageUploadBeforeBlur:Function,attImageUploadAfterBlur:Function,attImageURLBeforeInput:Function,attImageURLAfterInput:Function,attImageURLBeforeBlur:Function,attImageURLAfterBlur:Function,attImageInsertBeforeClick:Function,attImageInsertAfterClick:Function,attVideoModalBeforeClick:Function,attVideoModalAfterClick:Function,attVideoEmbedIdBeforeInput:Function,attVideoEmbedIdAfterInput:Function,attVideoEmbedIdBeforeBlur:Function,attVideoEmbedIdAfterBlur:Function,attVideoWidthBeforeInput:Function,attVideoWidthAfterInput:Function,attVideoWidthBeforeBlur:Function,attVideoWidthAfterBlur:Function,attVideoHeightBeforeInput:Function,attVideoHeightAfterInput:Function,attVideoHeightBeforeBlur:Function,attVideoHeightAfterBlur:Function,attVideoInsertBeforeClick:Function,attVideoInsertAfterClick:Function,attImageAndVideoTooltipWidthBeforeInput:Function,attImageAndVideoTooltipWidthAfterInput:Function,attImageAndVideoTooltipWidthBeforeBlur:Function,attImageAndVideoTooltipWidthAfterBlur:Function,attImageAndVideoTooltipWidthBeforeKeyup:Function,attImageAndVideoTooltipWidthAfterKeyup:Function,attImageAndVideoTooltipFloatRadioNoneBeforeClick:Function,attImageAndVideoTooltipFloatRadioNoneAfterClick:Function,attImageAndVideoTooltipFloatRadioLeftBeforeClick:Function,attImageAndVideoTooltipFloatRadioLeftAfterClick:Function,attImageAndVideoTooltipFloatRadioRightBeforeClick:Function,attImageAndVideoTooltipFloatRadioRightAfterClick:Function,attImageAndVideoTooltipShapeRadioSquareBeforeClick:Function,attImageAndVideoTooltipShapeRadioSquareAfterClick:Function,attImageAndVideoTooltipShapeRadioRadiusBeforeClick:Function,attImageAndVideoTooltipShapeRadioRadiusAfterClick:Function,attImageAndVideoTooltipShapeRadioCircleBeforeClick:Function,attImageAndVideoTooltipShapeRadioCircleAfterClick:Function,helpModalBeforeClick:Function,helpModalAfterClick:Function,placeholderBeforeClick:Function,placeholderAfterClick:Function},W=i.defineComponent({name:"HNote",props:{...q,...G},emits:["update:modelValue","mounted","responsive-change"],setup(e,{emit:y}){const A=l.hisonCloser.note,B=i.ref(null),r=i.ref(null),k=e.id?e.id:l.getUUID(),I=`hnote:${k}`,m=i.ref(e.required),R=i.computed(()=>{if(m.value)return"hison-note-required"}),x=l.useDevice(),_=i.ref(e.visible),L=i.computed(()=>_.value?"":"hison-display-none"),u=i.ref(e.editMode),H=i.computed(()=>{if(u.value!==l.EditMode.editable)return`hison-note-${u.value}`}),v=i.ref(!1),d=i.ref(e.tabIndex!==null&&e.tabIndex!==""?Number(e.tabIndex):null),T=(o,t)=>{if(!o)return;const f=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]","[tabindex]"].join(",");o.querySelectorAll(f).forEach(c=>{t?c.setAttribute("tabindex","-1"):c.getAttribute("tabindex")==="-1"&&c.removeAttribute("tabindex")})},F=()=>{const o=r.value;if(!o)return;const t=o._elements.textarea;u.value!==l.EditMode.editable?(t.removeAttribute("contenteditable"),t.removeAttribute("role"),t.removeAttribute("aria-multiline"),t.removeAttribute("spellcheck"),t.removeAttribute("autocorrect"),T(o,!0)):(t.setAttribute("contenteditable","true"),t.setAttribute("role","textbox"),t.setAttribute("aria-multiline","true"),t.setAttribute("spellcheck","true"),t.setAttribute("autocorrect","true"),T(o,!1))},E=i.ref([]),U=["modelValue","id","class","style","visible","editMode"],s=i.ref(0),D=()=>{i.triggerRef(s)},O=i.computed(()=>{s.value;const o=l.extractResponsiveClasses(l.toClassString(e.class)||"",x.value),t=l.getSpecificClassValueFromClassList(o,"color"),f=l.getSpecificClassValueFromClassList(o,"size");l.getIndexSpecificClassNameFromClassList(o,"col")===-1&&o.push("hison-col-12"),E.value=o;const n={};n["data-id"]=k;for(const[c,C]of Object.entries(e))U.includes(c)||C!=null&&(n[c.replace(/[A-Z]/g,g=>"-"+g.toLowerCase())]=String(C));return n["size-level-desktop"]=n["size-level-desktop"]&&l.hison.utils.isNumber(n["size-level-desktop"])?String(Math.min(Math.max(Number(n["size-level-desktop"]),1),9)):h(3,f),n["size-level-mobile"]=n["size-level-mobile"]&&l.hison.utils.isNumber(n["size-level-mobile"])?String(Math.min(Math.max(Number(n["size-level-mobile"]),1),9)):h(5,f),t&&!n.color&&(n.color=t),n.color&&(n.color=l.getHexCodeFromColorText(n.color)??n.color,n["main-color"]=n.color,delete n.color),(e.invertColor||l.hisonCloser.componentStyle.invertColor)&&(n["invert-color"]="true"),n}),h=(o,t)=>{switch(t=t??l.hisonCloser.componentStyle.size,t){case l.Size.s:o-=2;break;case l.Size.m:break;case l.Size.l:o+=2;break;case l.Size.xl:o+=3;break}return String(Math.min(Math.max(o,1),9))},S=new MutationObserver(o=>{var n;const t=(n=o[0])==null?void 0:n.target;!t||!M(t)||w()}),M=o=>{var f;let t=o;for(;!(t instanceof Element);)t=t.parentNode;return((f=t.closest)==null?void 0:f.call(t,"[data-vanillanote]"))||null},N=(o,t)=>{if(!o||!t||o.html!==t.html||o.plainText!==t.plainText||JSON.stringify(o.links)!==JSON.stringify(t.links)||JSON.stringify(o.files)!==JSON.stringify(t.files)||JSON.stringify(o.images)!==JSON.stringify(t.images)||JSON.stringify(o.videos)!==JSON.stringify(t.videos))return!1;const f=Object.keys(o.fileObjects||{}),n=Object.keys(t.fileObjects||{});if(f.length!==n.length||!f.every(g=>n.includes(g)))return!1;const c=Object.keys(o.imageObjects||{}),C=Object.keys(t.imageObjects||{});return!(c.length!==C.length||!c.every(g=>C.includes(g)))},w=()=>{r.value&&(v.value=!0,y("update:modelValue",r.value.getNoteData()))},a=()=>{b(),D(),i.nextTick(V)},V=()=>{var f;if(l.registerReloadable(I,a),A.init(),!B.value)return;A.mountNote(B.value);const o=A.getNote(k);o.getId=()=>k,r.value=o;const t=r.value;if(e.modelValue&&t&&t.setNoteData(e.modelValue),d.value&&t._elements.textarea&&t._elements.textarea.setAttribute("tabIndex",String(d.value)),t&&(t.isHisonvueComponent=!0,t.getId=()=>k,t.getType=()=>"note",t.getRequired=()=>m.value,t.setRequired=n=>{m.value=n},t.isVisible=()=>_.value,t.setVisible=n=>{_.value=n},t.getEditMode=()=>u.value,t.setEditMode=n=>{u.value=n,F()},t.isModified=()=>v.value,t.initModified=()=>v.value=!1,t.getTabIndex=()=>d.value,t.setTabIndex=n=>{d.value=n!=null?Number(n):null},t.focus=()=>{var n,c;(c=(n=t._elements)==null?void 0:n.textarea)==null||c.focus()},t.getDataModel=()=>{const n=t.getNoteData();return new l.hison.data.DataModel(n)},t.setDataModel=n=>{if(!n||n.getRowCount()==0)return;const c={html:n.hasColumn("html")?n.getValue(0,"html"):"",plainText:n.hasColumn("plainText")?n.getValue(0,"plainText"):"",links:n.hasColumn("links")?n.getValue(0,"links"):[],files:n.hasColumn("files")?n.getValue(0,"files"):[],images:n.hasColumn("images")?n.getValue(0,"images"):[],videos:n.hasColumn("videos")?n.getValue(0,"videos"):[],fileObjects:n.hasColumn("fileObjects")?n.getValue(0,"fileObjects"):{},imageObjects:n.hasColumn("imageObjects")?n.getValue(0,"imageObjects"):{}};return t.setNoteData(c)},t.load=n=>{n&&n.getIsDataModel&&n.getIsDataModel()?t.setDataModel(n):t.setNoteData(n)},t.reload=()=>l.reloadHisonComponent(I)),t){const n=(f=t._elements)==null?void 0:f.textarea;S.observe(n,{characterData:!0,childList:!0,subtree:!0})}t&&(t._cssEvents.target_onBeforeClick=l.hisonCloser.event.cssEvent.button_onBeforeClick,t._cssEvents.target_onAfterClick=l.hisonCloser.event.cssEvent.button_onAfterClick,t._cssEvents.target_onBeforeMouseover=l.hisonCloser.event.cssEvent.button_onBeforeMouseover,t._cssEvents.target_onAfterMouseover=l.hisonCloser.event.cssEvent.button_onAfterMouseover,t._cssEvents.target_onBeforeMouseout=l.hisonCloser.event.cssEvent.button_onBeforeMouseout,t._cssEvents.target_onAfterMouseout=l.hisonCloser.event.cssEvent.button_onAfterMouseout,t._cssEvents.target_onBeforeTouchstart=l.hisonCloser.event.cssEvent.button_onBeforeTouchstart,t._cssEvents.target_onAfterTouchstart=l.hisonCloser.event.cssEvent.button_onAfterTouchstart,t._cssEvents.target_onBeforeTouchend=l.hisonCloser.event.cssEvent.button_onBeforeTouchend,t._cssEvents.target_onAfterTouchend=l.hisonCloser.event.cssEvent.button_onAfterTouchend,typeof e.textareaBeforeClick=="function"&&(t._elementEvents.textarea_onBeforeClick=e.textareaBeforeClick),typeof e.textareaAfterClick=="function"&&(t._elementEvents.textarea_onAfterClick=e.textareaAfterClick),typeof e.textareaBeforeFocus=="function"&&(t._elementEvents.textarea_onBeforeFocus=e.textareaBeforeFocus),typeof e.textareaAfterFocus=="function"&&(t._elementEvents.textarea_onAfterFocus=e.textareaAfterFocus),typeof e.textareaBeforeBlur=="function"&&(t._elementEvents.textarea_onBeforeBlur=e.textareaBeforeBlur),typeof e.textareaAfterBlur=="function"&&(t._elementEvents.textarea_onAfterBlur=e.textareaAfterBlur),typeof e.paragraphStyleSelectBeforeClick=="function"&&(t._elementEvents.paragraphStyleSelect_onBeforeClick=e.paragraphStyleSelectBeforeClick),typeof e.paragraphStyleSelectAfterClick=="function"&&(t._elementEvents.paragraphStyleSelect_onAfterClick=e.paragraphStyleSelectAfterClick),typeof e.toolToggleBeforeClick=="function"&&(t._elementEvents.toolToggleButton_onBeforeClick=e.toolToggleBeforeClick),typeof e.toolToggleAfterClick=="function"&&(t._elementEvents.toolToggleButton_onAfterClick=e.toolToggleAfterClick),typeof e.styleNomalBeforeClick=="function"&&(t._elementEvents.styleNomal_onBeforeClick=e.styleNomalBeforeClick),typeof e.styleNomalAfterClick=="function"&&(t._elementEvents.styleNomal_onAfterClick=e.styleNomalAfterClick),typeof e.styleHeader1BeforeClick=="function"&&(t._elementEvents.styleHeader1_onBeforeClick=e.styleHeader1BeforeClick),typeof e.styleHeader1AfterClick=="function"&&(t._elementEvents.styleHeader1_onAfterClick=e.styleHeader1AfterClick),typeof e.styleHeader2BeforeClick=="function"&&(t._elementEvents.styleHeader2_onBeforeClick=e.styleHeader2BeforeClick),typeof e.styleHeader2AfterClick=="function"&&(t._elementEvents.styleHeader2_onAfterClick=e.styleHeader2AfterClick),typeof e.styleHeader3BeforeClick=="function"&&(t._elementEvents.styleHeader3_onBeforeClick=e.styleHeader3BeforeClick),typeof e.styleHeader3AfterClick=="function"&&(t._elementEvents.styleHeader3_onAfterClick=e.styleHeader3AfterClick),typeof e.styleHeader4BeforeClick=="function"&&(t._elementEvents.styleHeader4_onBeforeClick=e.styleHeader4BeforeClick),typeof e.styleHeader4AfterClick=="function"&&(t._elementEvents.styleHeader4_onAfterClick=e.styleHeader4AfterClick),typeof e.styleHeader5BeforeClick=="function"&&(t._elementEvents.styleHeader5_onBeforeClick=e.styleHeader5BeforeClick),typeof e.styleHeader5AfterClick=="function"&&(t._elementEvents.styleHeader5_onAfterClick=e.styleHeader5AfterClick),typeof e.styleHeader6BeforeClick=="function"&&(t._elementEvents.styleHeader6_onBeforeClick=e.styleHeader6BeforeClick),typeof e.styleHeader6AfterClick=="function"&&(t._elementEvents.styleHeader6_onAfterClick=e.styleHeader6AfterClick),typeof e.boldBeforeClick=="function"&&(t._elementEvents.boldButton_onBeforeClick=e.boldBeforeClick),typeof e.boldAfterClick=="function"&&(t._elementEvents.boldButton_onAfterClick=e.boldAfterClick),typeof e.underlineBeforeClick=="function"&&(t._elementEvents.underlineButton_onBeforeClick=e.underlineBeforeClick),typeof e.underlineAfterClick=="function"&&(t._elementEvents.underlineButton_onAfterClick=e.underlineAfterClick),typeof e.italicBeforeClick=="function"&&(t._elementEvents.italicButton_onBeforeClick=e.italicBeforeClick),typeof e.italicAfterClick=="function"&&(t._elementEvents.italicButton_onAfterClick=e.italicAfterClick),typeof e.ulBeforeClick=="function"&&(t._elementEvents.ulButton_onBeforeClick=e.ulBeforeClick),typeof e.ulAfterClick=="function"&&(t._elementEvents.ulButton_onAfterClick=e.ulAfterClick),typeof e.olBeforeClick=="function"&&(t._elementEvents.olButton_onBeforeClick=e.olBeforeClick),typeof e.olAfterClick=="function"&&(t._elementEvents.olButton_onAfterClick=e.olAfterClick),typeof e.textAlignSelectBeforeClick=="function"&&(t._elementEvents.textAlignSelect_onBeforeClick=e.textAlignSelectBeforeClick),typeof e.textAlignSelectAfterClick=="function"&&(t._elementEvents.textAlignSelect_onAfterClick=e.textAlignSelectAfterClick),typeof e.textAlignLeftBeforeClick=="function"&&(t._elementEvents.textAlignLeft_onBeforeClick=e.textAlignLeftBeforeClick),typeof e.textAlignLeftAfterClick=="function"&&(t._elementEvents.textAlignLeft_onAfterClick=e.textAlignLeftAfterClick),typeof e.textAlignCenterBeforeClick=="function"&&(t._elementEvents.textAlignCenter_onBeforeClick=e.textAlignCenterBeforeClick),typeof e.textAlignCenterAfterClick=="function"&&(t._elementEvents.textAlignCenter_onAfterClick=e.textAlignCenterAfterClick),typeof e.textAlignRightBeforeClick=="function"&&(t._elementEvents.textAlignRight_onBeforeClick=e.textAlignRightBeforeClick),typeof e.textAlignRightAfterClick=="function"&&(t._elementEvents.textAlignRight_onAfterClick=e.textAlignRightAfterClick),typeof e.attLinkBeforeClick=="function"&&(t._elementEvents.attLinkButton_onBeforeClick=e.attLinkBeforeClick),typeof e.attLinkAfterClick=="function"&&(t._elementEvents.attLinkButton_onAfterClick=e.attLinkAfterClick),typeof e.attFileBeforeClick=="function"&&(t._elementEvents.attFileButton_onBeforeClick=e.attFileBeforeClick),typeof e.attFileAfterClick=="function"&&(t._elementEvents.attFileButton_onAfterClick=e.attFileAfterClick),typeof e.attImageBeforeClick=="function"&&(t._elementEvents.attImageButton_onBeforeClick=e.attImageBeforeClick),typeof e.attImageAfterClick=="function"&&(t._elementEvents.attImageButton_onAfterClick=e.attImageAfterClick),typeof e.attVideoBeforeClick=="function"&&(t._elementEvents.attVideoButton_onBeforeClick=e.attVideoBeforeClick),typeof e.attVideoAfterClick=="function"&&(t._elementEvents.attVideoButton_onAfterClick=e.attVideoAfterClick),typeof e.fontSizeBoxBeforeClick=="function"&&(t._elementEvents.fontSizeInputBox_onBeforeClick=e.fontSizeBoxBeforeClick),typeof e.fontSizeBoxAfterClick=="function"&&(t._elementEvents.fontSizeInputBox_onAfterClick=e.fontSizeBoxAfterClick),typeof e.fontSizeBeforeClick=="function"&&(t._elementEvents.fontSizeInput_onBeforeClick=e.fontSizeBeforeClick),typeof e.fontSizeAfterClick=="function"&&(t._elementEvents.fontSizeInput_onAfterClick=e.fontSizeAfterClick),typeof e.fontSizeBeforeInput=="function"&&(t._elementEvents.fontSizeInput_onBeforeInput=e.fontSizeBeforeInput),typeof e.fontSizeAfterInput=="function"&&(t._elementEvents.fontSizeInput_onAfterInput=e.fontSizeAfterInput),typeof e.fontSizeBeforeBlur=="function"&&(t._elementEvents.fontSizeInput_onBeforeBlur=e.fontSizeBeforeBlur),typeof e.fontSizeAfterBlur=="function"&&(t._elementEvents.fontSizeInput_onAfterBlur=e.fontSizeAfterBlur),typeof e.letterSpacingBoxBeforeClick=="function"&&(t._elementEvents.letterSpacingInputBox_onBeforeClick=e.letterSpacingBoxBeforeClick),typeof e.letterSpacingBoxAfterClick=="function"&&(t._elementEvents.letterSpacingInputBox_onAfterClick=e.letterSpacingBoxAfterClick),typeof e.letterSpacingBeforeClick=="function"&&(t._elementEvents.letterSpacingInput_onBeforeClick=e.letterSpacingBeforeClick),typeof e.letterSpacingAfterClick=="function"&&(t._elementEvents.letterSpacingInput_onAfterClick=e.letterSpacingAfterClick),typeof e.letterSpacingBeforeInput=="function"&&(t._elementEvents.letterSpacingInput_onBeforeInput=e.letterSpacingBeforeInput),typeof e.letterSpacingAfterInput=="function"&&(t._elementEvents.letterSpacingInput_onAfterInput=e.letterSpacingAfterInput),typeof e.letterSpacingBeforeBlur=="function"&&(t._elementEvents.letterSpacingInput_onBeforeBlur=e.letterSpacingBeforeBlur),typeof e.letterSpacingAfterBlur=="function"&&(t._elementEvents.letterSpacingInput_onAfterBlur=e.letterSpacingAfterBlur),typeof e.lineHeightBoxBeforeClick=="function"&&(t._elementEvents.lineHeightInputBox_onBeforeClick=e.lineHeightBoxBeforeClick),typeof e.lineHeightBoxAfterClick=="function"&&(t._elementEvents.lineHeightInputBox_onAfterClick=e.lineHeightBoxAfterClick),typeof e.lineHeightBeforeClick=="function"&&(t._elementEvents.lineHeightInput_onBeforeClick=e.lineHeightBeforeClick),typeof e.lineHeightAfterClick=="function"&&(t._elementEvents.lineHeightInput_onAfterClick=e.lineHeightAfterClick),typeof e.lineHeightBeforeInput=="function"&&(t._elementEvents.lineHeightInput_onBeforeInput=e.lineHeightBeforeInput),typeof e.lineHeightAfterInput=="function"&&(t._elementEvents.lineHeightInput_onAfterInput=e.lineHeightAfterInput),typeof e.lineHeightBeforeBlur=="function"&&(t._elementEvents.lineHeightInput_onBeforeBlur=e.lineHeightBeforeBlur),typeof e.lineHeightAfterBlur=="function"&&(t._elementEvents.lineHeightInput_onAfterBlur=e.lineHeightAfterBlur),typeof e.fontFamilySelectBeforeClick=="function"&&(t._elementEvents.fontFamilySelect_onBeforeClick=e.fontFamilySelectBeforeClick),typeof e.fontFamilySelectAfterClick=="function"&&(t._elementEvents.fontFamilySelect_onAfterClick=e.fontFamilySelectAfterClick),typeof e.colorTextSelectBeforeClick=="function"&&(t._elementEvents.colorTextSelect_onBeforeClick=e.colorTextSelectBeforeClick),typeof e.colorTextSelectAfterClick=="function"&&(t._elementEvents.colorTextSelect_onAfterClick=e.colorTextSelectAfterClick),typeof e.colorTextSelectBoxBeforeClick=="function"&&(t._elementEvents.colorTextSelectBox_onBeforeClick=e.colorTextSelectBoxBeforeClick),typeof e.colorTextSelectBoxAfterClick=="function"&&(t._elementEvents.colorTextSelectBox_onAfterClick=e.colorTextSelectBoxAfterClick),typeof e.colorText0BeforeClick=="function"&&(t._elementEvents.colorText0_onBeforeClick=e.colorText0BeforeClick),typeof e.colorText0AfterClick=="function"&&(t._elementEvents.colorText0_onAfterClick=e.colorText0AfterClick),typeof e.colorText1BeforeClick=="function"&&(t._elementEvents.colorText1_onBeforeClick=e.colorText1BeforeClick),typeof e.colorText1AfterClick=="function"&&(t._elementEvents.colorText1_onAfterClick=e.colorText1AfterClick),typeof e.colorText2BeforeClick=="function"&&(t._elementEvents.colorText2_onBeforeClick=e.colorText2BeforeClick),typeof e.colorText2AfterClick=="function"&&(t._elementEvents.colorText2_onAfterClick=e.colorText2AfterClick),typeof e.colorText3BeforeClick=="function"&&(t._elementEvents.colorText3_onBeforeClick=e.colorText3BeforeClick),typeof e.colorText3AfterClick=="function"&&(t._elementEvents.colorText3_onAfterClick=e.colorText3AfterClick),typeof e.colorText4BeforeClick=="function"&&(t._elementEvents.colorText4_onBeforeClick=e.colorText4BeforeClick),typeof e.colorText4AfterClick=="function"&&(t._elementEvents.colorText4_onAfterClick=e.colorText4AfterClick),typeof e.colorText5BeforeClick=="function"&&(t._elementEvents.colorText5_onBeforeClick=e.colorText5BeforeClick),typeof e.colorText5AfterClick=="function"&&(t._elementEvents.colorText5_onAfterClick=e.colorText5AfterClick),typeof e.colorText6BeforeClick=="function"&&(t._elementEvents.colorText6_onBeforeClick=e.colorText6BeforeClick),typeof e.colorText6AfterClick=="function"&&(t._elementEvents.colorText6_onAfterClick=e.colorText6AfterClick),typeof e.colorText7BeforeClick=="function"&&(t._elementEvents.colorText7_onBeforeClick=e.colorText7BeforeClick),typeof e.colorText7AfterClick=="function"&&(t._elementEvents.colorText7_onAfterClick=e.colorText7AfterClick),typeof e.colorTextRBeforeClick=="function"&&(t._elementEvents.colorTextRInput_onBeforeClick=e.colorTextRBeforeClick),typeof e.colorTextRAfterClick=="function"&&(t._elementEvents.colorTextRInput_onAfterClick=e.colorTextRAfterClick),typeof e.colorTextRBeforeInput=="function"&&(t._elementEvents.colorTextRInput_onBeforeInput=e.colorTextRBeforeInput),typeof e.colorTextRAfterInput=="function"&&(t._elementEvents.colorTextRInput_onAfterInput=e.colorTextRAfterInput),typeof e.colorTextRBeforeBlur=="function"&&(t._elementEvents.colorTextRInput_onBeforeBlur=e.colorTextRBeforeBlur),typeof e.colorTextRAfterBlur=="function"&&(t._elementEvents.colorTextRInput_onAfterBlur=e.colorTextRAfterBlur),typeof e.colorTextGBeforeClick=="function"&&(t._elementEvents.colorTextGInput_onBeforeClick=e.colorTextGBeforeClick),typeof e.colorTextGAfterClick=="function"&&(t._elementEvents.colorTextGInput_onAfterClick=e.colorTextGAfterClick),typeof e.colorTextGBeforeInput=="function"&&(t._elementEvents.colorTextGInput_onBeforeInput=e.colorTextGBeforeInput),typeof e.colorTextGAfterInput=="function"&&(t._elementEvents.colorTextGInput_onAfterInput=e.colorTextGAfterInput),typeof e.colorTextGBeforeBlur=="function"&&(t._elementEvents.colorTextGInput_onBeforeBlur=e.colorTextGBeforeBlur),typeof e.colorTextGAfterBlur=="function"&&(t._elementEvents.colorTextGInput_onAfterBlur=e.colorTextGAfterBlur),typeof e.colorTextBBeforeClick=="function"&&(t._elementEvents.colorTextBInput_onBeforeClick=e.colorTextBBeforeClick),typeof e.colorTextBAfterClick=="function"&&(t._elementEvents.colorTextBInput_onAfterClick=e.colorTextBAfterClick),typeof e.colorTextBBeforeInput=="function"&&(t._elementEvents.colorTextBInput_onBeforeInput=e.colorTextBBeforeInput),typeof e.colorTextBAfterInput=="function"&&(t._elementEvents.colorTextBInput_onAfterInput=e.colorTextBAfterInput),typeof e.colorTextBBeforeBlur=="function"&&(t._elementEvents.colorTextBInput_onBeforeBlur=e.colorTextBBeforeBlur),typeof e.colorTextBAfterBlur=="function"&&(t._elementEvents.colorTextBInput_onAfterBlur=e.colorTextBAfterBlur),typeof e.colorTextOpacityBeforeClick=="function"&&(t._elementEvents.colorTextOpacityInput_onBeforeClick=e.colorTextOpacityBeforeClick),typeof e.colorTextOpacityAfterClick=="function"&&(t._elementEvents.colorTextOpacityInput_onAfterClick=e.colorTextOpacityAfterClick),typeof e.colorTextOpacityBeforeInput=="function"&&(t._elementEvents.colorTextOpacityInput_onBeforeInput=e.colorTextOpacityBeforeInput),typeof e.colorTextOpacityAfterInput=="function"&&(t._elementEvents.colorTextOpacityInput_onAfterInput=e.colorTextOpacityAfterInput),typeof e.colorTextOpacityBeforeBlur=="function"&&(t._elementEvents.colorTextOpacityInput_onBeforeBlur=e.colorTextOpacityBeforeBlur),typeof e.colorTextOpacityAfterBlur=="function"&&(t._elementEvents.colorTextOpacityInput_onAfterBlur=e.colorTextOpacityAfterBlur),typeof e.colorBackSelectBeforeClick=="function"&&(t._elementEvents.colorBackSelect_onBeforeClick=e.colorBackSelectBeforeClick),typeof e.colorBackSelectAfterClick=="function"&&(t._elementEvents.colorBackSelect_onAfterClick=e.colorBackSelectAfterClick),typeof e.colorBackSelectBoxBeforeClick=="function"&&(t._elementEvents.colorBackSelectBox_onBeforeClick=e.colorBackSelectBoxBeforeClick),typeof e.colorBackSelectBoxAfterClick=="function"&&(t._elementEvents.colorBackSelectBox_onAfterClick=e.colorBackSelectBoxAfterClick),typeof e.colorBack0BeforeClick=="function"&&(t._elementEvents.colorBack0_onBeforeClick=e.colorBack0BeforeClick),typeof e.colorBack0AfterClick=="function"&&(t._elementEvents.colorBack0_onAfterClick=e.colorBack0AfterClick),typeof e.colorBack1BeforeClick=="function"&&(t._elementEvents.colorBack1_onBeforeClick=e.colorBack1BeforeClick),typeof e.colorBack1AfterClick=="function"&&(t._elementEvents.colorBack1_onAfterClick=e.colorBack1AfterClick),typeof e.colorBack2BeforeClick=="function"&&(t._elementEvents.colorBack2_onBeforeClick=e.colorBack2BeforeClick),typeof e.colorBack2AfterClick=="function"&&(t._elementEvents.colorBack2_onAfterClick=e.colorBack2AfterClick),typeof e.colorBack3BeforeClick=="function"&&(t._elementEvents.colorBack3_onBeforeClick=e.colorBack3BeforeClick),typeof e.colorBack3AfterClick=="function"&&(t._elementEvents.colorBack3_onAfterClick=e.colorBack3AfterClick),typeof e.colorBack4BeforeClick=="function"&&(t._elementEvents.colorBack4_onBeforeClick=e.colorBack4BeforeClick),typeof e.colorBack4AfterClick=="function"&&(t._elementEvents.colorBack4_onAfterClick=e.colorBack4AfterClick),typeof e.colorBack5BeforeClick=="function"&&(t._elementEvents.colorBack5_onBeforeClick=e.colorBack5BeforeClick),typeof e.colorBack5AfterClick=="function"&&(t._elementEvents.colorBack5_onAfterClick=e.colorBack5AfterClick),typeof e.colorBack6BeforeClick=="function"&&(t._elementEvents.colorBack6_onBeforeClick=e.colorBack6BeforeClick),typeof e.colorBack6AfterClick=="function"&&(t._elementEvents.colorBack6_onAfterClick=e.colorBack6AfterClick),typeof e.colorBack7BeforeClick=="function"&&(t._elementEvents.colorBack7_onBeforeClick=e.colorBack7BeforeClick),typeof e.colorBack7AfterClick=="function"&&(t._elementEvents.colorBack7_onAfterClick=e.colorBack7AfterClick),typeof e.colorBackRBeforeClick=="function"&&(t._elementEvents.colorBackRInput_onBeforeClick=e.colorBackRBeforeClick),typeof e.colorBackRAfterClick=="function"&&(t._elementEvents.colorBackRInput_onAfterClick=e.colorBackRAfterClick),typeof e.colorBackRBeforeInput=="function"&&(t._elementEvents.colorBackRInput_onBeforeInput=e.colorBackRBeforeInput),typeof e.colorBackRAfterInput=="function"&&(t._elementEvents.colorBackRInput_onAfterInput=e.colorBackRAfterInput),typeof e.colorBackRBeforeBlur=="function"&&(t._elementEvents.colorBackRInput_onBeforeBlur=e.colorBackRBeforeBlur),typeof e.colorBackRAfterBlur=="function"&&(t._elementEvents.colorBackRInput_onAfterBlur=e.colorBackRAfterBlur),typeof e.colorBackGBeforeClick=="function"&&(t._elementEvents.colorBackGInput_onBeforeClick=e.colorBackGBeforeClick),typeof e.colorBackGAfterClick=="function"&&(t._elementEvents.colorBackGInput_onAfterClick=e.colorBackGAfterClick),typeof e.colorBackGBeforeInput=="function"&&(t._elementEvents.colorBackGInput_onBeforeInput=e.colorBackGBeforeInput),typeof e.colorBackGAfterInput=="function"&&(t._elementEvents.colorBackGInput_onAfterInput=e.colorBackGAfterInput),typeof e.colorBackGBeforeBlur=="function"&&(t._elementEvents.colorBackGInput_onBeforeBlur=e.colorBackGBeforeBlur),typeof e.colorBackGAfterBlur=="function"&&(t._elementEvents.colorBackGInput_onAfterBlur=e.colorBackGAfterBlur),typeof e.colorBackBBeforeClick=="function"&&(t._elementEvents.colorBackBInput_onBeforeClick=e.colorBackBBeforeClick),typeof e.colorBackBAfterClick=="function"&&(t._elementEvents.colorBackBInput_onAfterClick=e.colorBackBAfterClick),typeof e.colorBackBBeforeInput=="function"&&(t._elementEvents.colorBackBInput_onBeforeInput=e.colorBackBBeforeInput),typeof e.colorBackBAfterInput=="function"&&(t._elementEvents.colorBackBInput_onAfterInput=e.colorBackBAfterInput),typeof e.colorBackBBeforeBlur=="function"&&(t._elementEvents.colorBackBInput_onBeforeBlur=e.colorBackBBeforeBlur),typeof e.colorBackBAfterBlur=="function"&&(t._elementEvents.colorBackBInput_onAfterBlur=e.colorBackBAfterBlur),typeof e.colorBackOpacityBeforeClick=="function"&&(t._elementEvents.colorBackOpacityInput_onBeforeClick=e.colorBackOpacityBeforeClick),typeof e.colorBackOpacityAfterClick=="function"&&(t._elementEvents.colorBackOpacityInput_onAfterClick=e.colorBackOpacityAfterClick),typeof e.colorBackOpacityBeforeInput=="function"&&(t._elementEvents.colorBackOpacityInput_onBeforeInput=e.colorBackOpacityBeforeInput),typeof e.colorBackOpacityAfterInput=="function"&&(t._elementEvents.colorBackOpacityInput_onAfterInput=e.colorBackOpacityAfterInput),typeof e.colorBackOpacityBeforeBlur=="function"&&(t._elementEvents.colorBackOpacityInput_onBeforeBlur=e.colorBackOpacityBeforeBlur),typeof e.colorBackOpacityAfterBlur=="function"&&(t._elementEvents.colorBackOpacityInput_onAfterBlur=e.colorBackOpacityAfterBlur),typeof e.formatClearBeforeClick=="function"&&(t._elementEvents.formatClearButton_onBeforeClick=e.formatClearBeforeClick),typeof e.formatClearAfterClick=="function"&&(t._elementEvents.formatClearButton_onAfterClick=e.formatClearAfterClick),typeof e.undoBeforeClick=="function"&&(t._elementEvents.undoButton_onBeforeClick=e.undoBeforeClick),typeof e.undoAfterClick=="function"&&(t._elementEvents.undoButton_onAfterClick=e.undoAfterClick),typeof e.redoBeforeClick=="function"&&(t._elementEvents.redoButton_onBeforeClick=e.redoBeforeClick),typeof e.redoAfterClick=="function"&&(t._elementEvents.redoButton_onAfterClick=e.redoAfterClick),typeof e.helpBeforeClick=="function"&&(t._elementEvents.helpButton_onBeforeClick=e.helpBeforeClick),typeof e.helpAfterClick=="function"&&(t._elementEvents.helpButton_onAfterClick=e.helpAfterClick),typeof e.modalBackBeforeClick=="function"&&(t._elementEvents.modalBack_onBeforeClick=e.modalBackBeforeClick),typeof e.modalBackAfterClick=="function"&&(t._elementEvents.modalBack_onAfterClick=e.modalBackAfterClick),typeof e.attLinkModalBeforeClick=="function"&&(t._elementEvents.attLinkModal_onBeforeClick=e.attLinkModalBeforeClick),typeof e.attLinkModalAfterClick=="function"&&(t._elementEvents.attLinkModal_onAfterClick=e.attLinkModalAfterClick),typeof e.attLinkTextBeforeInput=="function"&&(t._elementEvents.attLinkText_onBeforeInput=e.attLinkTextBeforeInput),typeof e.attLinkTextAfterInput=="function"&&(t._elementEvents.attLinkText_onAfterInput=e.attLinkTextAfterInput),typeof e.attLinkTextBeforeBlur=="function"&&(t._elementEvents.attLinkText_onBeforeBlur=e.attLinkTextBeforeBlur),typeof e.attLinkTextAfterBlur=="function"&&(t._elementEvents.attLinkText_onAfterBlur=e.attLinkTextAfterBlur),typeof e.attLinkHrefBeforeInput=="function"&&(t._elementEvents.attLinkHref_onBeforeInput=e.attLinkHrefBeforeInput),typeof e.attLinkHrefAfterInput=="function"&&(t._elementEvents.attLinkHref_onAfterInput=e.attLinkHrefAfterInput),typeof e.attLinkHrefBeforeBlur=="function"&&(t._elementEvents.attLinkHref_onBeforeBlur=e.attLinkHrefBeforeBlur),typeof e.attLinkHrefAfterBlur=="function"&&(t._elementEvents.attLinkHref_onAfterBlur=e.attLinkHrefAfterBlur),typeof e.attLinkInsertBeforeClick=="function"&&(t._elementEvents.attLinkInsertButton_onBeforeClick=e.attLinkInsertBeforeClick),typeof e.attLinkInsertAfterClick=="function"&&(t._elementEvents.attLinkInsertButton_onAfterClick=e.attLinkInsertAfterClick),typeof e.attFileModalBeforeClick=="function"&&(t._elementEvents.attFileModal_onBeforeClick=e.attFileModalBeforeClick),typeof e.attFileModalAfterClick=="function"&&(t._elementEvents.attFileModal_onAfterClick=e.attFileModalAfterClick),typeof e.attFileUploadBeforeClick=="function"&&(t._elementEvents.attFileUploadButton_onBeforeClick=e.attFileUploadBeforeClick),typeof e.attFileUploadAfterClick=="function"&&(t._elementEvents.attFileUploadButton_onAfterClick=e.attFileUploadAfterClick),typeof e.attFileUploadDivBeforeDragover=="function"&&(t._elementEvents.attFileUploadDiv_onBeforeDragover=e.attFileUploadDivBeforeDragover),typeof e.attFileUploadDivAfterDragover=="function"&&(t._elementEvents.attFileUploadDiv_onAfterDragover=e.attFileUploadDivAfterDragover),typeof e.attFileUploadDivBeforeDrop=="function"&&(t._elementEvents.attFileUploadDiv_onBeforeDrop=e.attFileUploadDivBeforeDrop),typeof e.attFileUploadDivAfterDrop=="function"&&(t._elementEvents.attFileUploadDiv_onAfterDrop=e.attFileUploadDivAfterDrop),typeof e.attFileUploadDivBeforeClick=="function"&&(t._elementEvents.attFileUploadDiv_onBeforeClick=e.attFileUploadDivBeforeClick),typeof e.attFileUploadDivAfterClick=="function"&&(t._elementEvents.attFileUploadDiv_onAfterClick=e.attFileUploadDivAfterClick),typeof e.attFileUploadBeforeInput=="function"&&(t._elementEvents.attFileUpload_onBeforeInput=e.attFileUploadBeforeInput),typeof e.attFileUploadAfterInput=="function"&&(t._elementEvents.attFileUpload_onAfterInput=e.attFileUploadAfterInput),typeof e.attFileUploadBeforeBlur=="function"&&(t._elementEvents.attFileUpload_onBeforeBlur=e.attFileUploadBeforeBlur),typeof e.attFileUploadAfterBlur=="function"&&(t._elementEvents.attFileUpload_onAfterBlur=e.attFileUploadAfterBlur),typeof e.attFileInsertBeforeClick=="function"&&(t._elementEvents.attFileInsertButton_onBeforeClick=e.attFileInsertBeforeClick),typeof e.attFileInsertAfterClick=="function"&&(t._elementEvents.attFileInsertButton_onAfterClick=e.attFileInsertAfterClick),typeof e.attLinkTooltipEditBeforeClick=="function"&&(t._elementEvents.attLinkTooltipEditButton_onBeforeClick=e.attLinkTooltipEditBeforeClick),typeof e.attLinkTooltipEditAfterClick=="function"&&(t._elementEvents.attLinkTooltipEditButton_onAfterClick=e.attLinkTooltipEditAfterClick),typeof e.attLinkTooltipUnlinkBeforeClick=="function"&&(t._elementEvents.attLinkTooltipUnlinkButton_onBeforeClick=e.attLinkTooltipUnlinkBeforeClick),typeof e.attLinkTooltipUnlinkAfterClick=="function"&&(t._elementEvents.attLinkTooltipUnlinkButton_onAfterClick=e.attLinkTooltipUnlinkAfterClick),typeof e.attImageModalBeforeClick=="function"&&(t._elementEvents.attImageModal_onBeforeClick=e.attImageModalBeforeClick),typeof e.attImageModalAfterClick=="function"&&(t._elementEvents.attImageModal_onAfterClick=e.attImageModalAfterClick),typeof e.attImageUploadViewBeforeDragover=="function"&&(t._elementEvents.attImageUploadButtonAndView_onBeforeDragover=e.attImageUploadViewBeforeDragover),typeof e.attImageUploadViewAfterDragover=="function"&&(t._elementEvents.attImageUploadButtonAndView_onAfterDragover=e.attImageUploadViewAfterDragover),typeof e.attImageUploadViewBeforeDrop=="function"&&(t._elementEvents.attImageUploadButtonAndView_onBeforeDrop=e.attImageUploadViewBeforeDrop),typeof e.attImageUploadViewAfterDrop=="function"&&(t._elementEvents.attImageUploadButtonAndView_onAfterDrop=e.attImageUploadViewAfterDrop),typeof e.attImageUploadViewBeforeClick=="function"&&(t._elementEvents.attImageUploadButtonAndView_onBeforeClick=e.attImageUploadViewBeforeClick),typeof e.attImageUploadViewAfterClick=="function"&&(t._elementEvents.attImageUploadButtonAndView_onAfterClick=e.attImageUploadViewAfterClick),typeof e.attImageViewPreBeforeClick=="function"&&(t._elementEvents.attImageViewPreButton_onBeforeClick=e.attImageViewPreBeforeClick),typeof e.attImageViewPreAfterClick=="function"&&(t._elementEvents.attImageViewPreButton_onAfterClick=e.attImageViewPreAfterClick),typeof e.attImageViewNextBeforeClick=="function"&&(t._elementEvents.attImageViewNextButton_onBeforeClick=e.attImageViewNextBeforeClick),typeof e.attImageViewNextAfterClick=="function"&&(t._elementEvents.attImageViewNextButton_onAfterClick=e.attImageViewNextAfterClick),typeof e.attImageUploadBeforeInput=="function"&&(t._elementEvents.attImageUpload_onBeforeInput=e.attImageUploadBeforeInput),typeof e.attImageUploadAfterInput=="function"&&(t._elementEvents.attImageUpload_onAfterInput=e.attImageUploadAfterInput),typeof e.attImageUploadBeforeBlur=="function"&&(t._elementEvents.attImageUpload_onBeforeBlur=e.attImageUploadBeforeBlur),typeof e.attImageUploadAfterBlur=="function"&&(t._elementEvents.attImageUpload_onAfterBlur=e.attImageUploadAfterBlur),typeof e.attImageURLBeforeInput=="function"&&(t._elementEvents.attImageURL_onBeforeInput=e.attImageURLBeforeInput),typeof e.attImageURLAfterInput=="function"&&(t._elementEvents.attImageURL_onAfterInput=e.attImageURLAfterInput),typeof e.attImageURLBeforeBlur=="function"&&(t._elementEvents.attImageURL_onBeforeBlur=e.attImageURLBeforeBlur),typeof e.attImageURLAfterBlur=="function"&&(t._elementEvents.attImageURL_onAfterBlur=e.attImageURLAfterBlur),typeof e.attImageInsertBeforeClick=="function"&&(t._elementEvents.attImageInsertButton_onBeforeClick=e.attImageInsertBeforeClick),typeof e.attImageInsertAfterClick=="function"&&(t._elementEvents.attImageInsertButton_onAfterClick=e.attImageInsertAfterClick),typeof e.attVideoModalBeforeClick=="function"&&(t._elementEvents.attVideoModal_onBeforeClick=e.attVideoModalBeforeClick),typeof e.attVideoModalAfterClick=="function"&&(t._elementEvents.attVideoModal_onAfterClick=e.attVideoModalAfterClick),typeof e.attVideoEmbedIdBeforeInput=="function"&&(t._elementEvents.attVideoEmbedId_onBeforeInput=e.attVideoEmbedIdBeforeInput),typeof e.attVideoEmbedIdAfterInput=="function"&&(t._elementEvents.attVideoEmbedId_onAfterInput=e.attVideoEmbedIdAfterInput),typeof e.attVideoEmbedIdBeforeBlur=="function"&&(t._elementEvents.attVideoEmbedId_onBeforeBlur=e.attVideoEmbedIdBeforeBlur),typeof e.attVideoEmbedIdAfterBlur=="function"&&(t._elementEvents.attVideoEmbedId_onAfterBlur=e.attVideoEmbedIdAfterBlur),typeof e.attVideoWidthBeforeInput=="function"&&(t._elementEvents.attVideoWidth_onBeforeInput=e.attVideoWidthBeforeInput),typeof e.attVideoWidthAfterInput=="function"&&(t._elementEvents.attVideoWidth_onAfterInput=e.attVideoWidthAfterInput),typeof e.attVideoWidthBeforeBlur=="function"&&(t._elementEvents.attVideoWidth_onBeforeBlur=e.attVideoWidthBeforeBlur),typeof e.attVideoWidthAfterBlur=="function"&&(t._elementEvents.attVideoWidth_onAfterBlur=e.attVideoWidthAfterBlur),typeof e.attVideoHeightBeforeInput=="function"&&(t._elementEvents.attVideoHeight_onBeforeInput=e.attVideoHeightBeforeInput),typeof e.attVideoHeightAfterInput=="function"&&(t._elementEvents.attVideoHeight_onAfterInput=e.attVideoHeightAfterInput),typeof e.attVideoHeightBeforeBlur=="function"&&(t._elementEvents.attVideoHeight_onBeforeBlur=e.attVideoHeightBeforeBlur),typeof e.attVideoHeightAfterBlur=="function"&&(t._elementEvents.attVideoHeight_onAfterBlur=e.attVideoHeightAfterBlur),typeof e.attVideoInsertBeforeClick=="function"&&(t._elementEvents.attVideoInsertButton_onBeforeClick=e.attVideoInsertBeforeClick),typeof e.attVideoInsertAfterClick=="function"&&(t._elementEvents.attVideoInsertButton_onAfterClick=e.attVideoInsertAfterClick),typeof e.attImageAndVideoTooltipWidthBeforeInput=="function"&&(t._elementEvents.attImageAndVideoTooltipWidthInput_onBeforeInput=e.attImageAndVideoTooltipWidthBeforeInput),typeof e.attImageAndVideoTooltipWidthAfterInput=="function"&&(t._elementEvents.attImageAndVideoTooltipWidthInput_onAfterInput=e.attImageAndVideoTooltipWidthAfterInput),typeof e.attImageAndVideoTooltipWidthBeforeBlur=="function"&&(t._elementEvents.attImageAndVideoTooltipWidthInput_onBeforeBlur=e.attImageAndVideoTooltipWidthBeforeBlur),typeof e.attImageAndVideoTooltipWidthAfterBlur=="function"&&(t._elementEvents.attImageAndVideoTooltipWidthInput_onAfterBlur=e.attImageAndVideoTooltipWidthAfterBlur),typeof e.attImageAndVideoTooltipWidthBeforeKeyup=="function"&&(t._elementEvents.attImageAndVideoTooltipWidthInput_onBeforeKeyup=e.attImageAndVideoTooltipWidthBeforeKeyup),typeof e.attImageAndVideoTooltipWidthAfterKeyup=="function"&&(t._elementEvents.attImageAndVideoTooltipWidthInput_onAfterKeyup=e.attImageAndVideoTooltipWidthAfterKeyup),typeof e.attImageAndVideoTooltipFloatRadioNoneBeforeClick=="function"&&(t._elementEvents.attImageAndVideoTooltipFloatRadioNone_onBeforeClick=e.attImageAndVideoTooltipFloatRadioNoneBeforeClick),typeof e.attImageAndVideoTooltipFloatRadioNoneAfterClick=="function"&&(t._elementEvents.attImageAndVideoTooltipFloatRadioNone_onAfterClick=e.attImageAndVideoTooltipFloatRadioNoneAfterClick),typeof e.attImageAndVideoTooltipFloatRadioLeftBeforeClick=="function"&&(t._elementEvents.attImageAndVideoTooltipFloatRadioLeft_onBeforeClick=e.attImageAndVideoTooltipFloatRadioLeftBeforeClick),typeof e.attImageAndVideoTooltipFloatRadioLeftAfterClick=="function"&&(t._elementEvents.attImageAndVideoTooltipFloatRadioLeft_onAfterClick=e.attImageAndVideoTooltipFloatRadioLeftAfterClick),typeof e.attImageAndVideoTooltipFloatRadioRightBeforeClick=="function"&&(t._elementEvents.attImageAndVideoTooltipFloatRadioRight_onBeforeClick=e.attImageAndVideoTooltipFloatRadioRightBeforeClick),typeof e.attImageAndVideoTooltipFloatRadioRightAfterClick=="function"&&(t._elementEvents.attImageAndVideoTooltipFloatRadioRight_onAfterClick=e.attImageAndVideoTooltipFloatRadioRightAfterClick),typeof e.attImageAndVideoTooltipShapeRadioSquareBeforeClick=="function"&&(t._elementEvents.attImageAndVideoTooltipShapeRadioSquare_onBeforeClick=e.attImageAndVideoTooltipShapeRadioSquareBeforeClick),typeof e.attImageAndVideoTooltipShapeRadioSquareAfterClick=="function"&&(t._elementEvents.attImageAndVideoTooltipShapeRadioSquare_onAfterClick=e.attImageAndVideoTooltipShapeRadioSquareAfterClick),typeof e.attImageAndVideoTooltipShapeRadioRadiusBeforeClick=="function"&&(t._elementEvents.attImageAndVideoTooltipShapeRadioRadius_onBeforeClick=e.attImageAndVideoTooltipShapeRadioRadiusBeforeClick),typeof e.attImageAndVideoTooltipShapeRadioRadiusAfterClick=="function"&&(t._elementEvents.attImageAndVideoTooltipShapeRadioRadius_onAfterClick=e.attImageAndVideoTooltipShapeRadioRadiusAfterClick),typeof e.attImageAndVideoTooltipShapeRadioCircleBeforeClick=="function"&&(t._elementEvents.attImageAndVideoTooltipShapeRadioCircle_onBeforeClick=e.attImageAndVideoTooltipShapeRadioCircleBeforeClick),typeof e.attImageAndVideoTooltipShapeRadioCircleAfterClick=="function"&&(t._elementEvents.attImageAndVideoTooltipShapeRadioCircle_onAfterClick=e.attImageAndVideoTooltipShapeRadioCircleAfterClick),typeof e.helpModalBeforeClick=="function"&&(t._elementEvents.helpModal_onBeforeClick=e.helpModalBeforeClick),typeof e.helpModalAfterClick=="function"&&(t._elementEvents.helpModal_onAfterClick=e.helpModalAfterClick),typeof e.placeholderBeforeClick=="function"&&(t._elementEvents.placeholder_onBeforeClick=e.placeholderBeforeClick),typeof e.placeholderAfterClick=="function"&&(t._elementEvents.placeholder_onAfterClick=e.placeholderAfterClick)),F(),y("mounted",t)},b=()=>{l.unregisterReloadable(I),B.value&&(A.unmountNote(B.value),S.disconnect())};return i.onMounted(V),i.onBeforeUnmount(b),i.watch(x,o=>{a(),y("responsive-change",o)}),i.watch(()=>e.modelValue,o=>{if(!r.value)return;const t=r.value.getNoteData();N(t,o)||r.value.setNoteData(o)}),i.watch(()=>e.visible,o=>{const t=!!o;t!==_.value&&(_.value=t)}),i.watch(()=>e.editMode,o=>{o&&o!==u.value&&(u.value=o,F())}),i.watch(()=>e.required,o=>{const t=!!o;t!==m.value&&(m.value=t)}),i.watch(()=>e.tabIndex,o=>{var f,n;const t=o===null||o===""?null:Number(o);if(t!==d.value){d.value=t;const c=(n=(f=r.value)==null?void 0:f._elements)==null?void 0:n.textarea;c&&(t==null?c.removeAttribute("tabIndex"):c.setAttribute("tabIndex",String(t)))}}),i.watch(()=>e.class,()=>{a()}),i.watch(()=>[e.noteModeByDevice,e.toolPosition,e.toolDefaultLine,e.toolToggle],()=>a()),i.watch(()=>[e.textareaWidth,e.textareaHeight,e.textareaMaxWidth,e.textareaMaxHeight,e.textareaHeightIsModify],()=>a()),i.watch(()=>[e.placeholderIsVisible,e.placeholderAddTop,e.placeholderAddLeft,e.placeholderWidth,e.placeholderColor,e.placeholderBackgroundColor,e.placeholderTitle,e.placeholderTextContent],()=>a()),i.watch(()=>[e.attFilePreventTypes,e.attFileAcceptTypes,e.attFileMaxSize,e.attImagePreventTypes,e.attImageAcceptTypes,e.attImageMaxSize],()=>a()),i.watch(()=>[e.defaultFontSize,e.defaultLineHeight,e.defaultFontFamily,e.defaultToolFontFamily,e.addFontFamily,e.removeFontFamily,e.language,e.recodeLimit],()=>a()),i.watch(()=>[e.sizeLevelDesktop,e.sizeLevelMobile,e.color,e.invertColor],()=>a()),i.watch(()=>[e.usingParagraphStyle,e.usingBold,e.usingUnderline,e.usingItalic,e.usingUl,e.usingOl,e.usingTextAlign,e.usingAttLink,e.usingAttFile,e.usingAttImage,e.usingAttVideo,e.usingFontSize,e.usingLetterSpacing,e.usingLineHeight,e.usingFontFamily,e.usingColorText,e.usingColorBack,e.usingFormatClear,e.usingUndo,e.usingRedo,e.usingHelp,e.usingParagraphAllStyle,e.usingCharacterStyle,e.usingCharacterSize,e.usingAttachFile,e.usingDo],()=>a()),{editorWrap:B,props:e,bindAttrs:O,responsiveClassList:E,visibleClass:L,requiredClass:R,editModeClass:H}}});function P(e,y,A,B,r,k){return i.openBlock(),i.createElementBlock("div",{ref:"editorWrap",class:i.normalizeClass(["hison-note","hison-wrap",...e.responsiveClassList,e.visibleClass,e.requiredClass,e.editModeClass]),style:i.normalizeStyle(e.props.style)},[i.createElementVNode("div",i.mergeProps({"data-vanillanote":""},e.bindAttrs),null,16)],6)}const j=z._export_sfc(W,[["render",P]]);exports.default=j;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-BmKMHsSZ.js"),te=require("./HButton-DAVuDmOQ.js"),ae=require("./_plugin-vue_export-helper-BHFhmbuH.js"),oe={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},disable:{type:Boolean,default:!1},gap:{type:[Number,String],default:"0.25rem"},border:{type:Boolean,default:!0},backgroundType:{type:String,default:r.BackgroundType.empty,validator:e=>r.BACKGROUND_TYPE_VALUES.includes(e)},clickInterval:{type:Number,default:0},modelValue:{type:Number,default:1},totalItems:{type:Number,required:!1,default:void 0},pageSize:{type:Number,default:10},totalPages:{type:Number,required:!1,default:void 0},maxButtons:{type:Number,default:5},tabIndex:{type:[Number,String],default:null,validator:e=>e===null||e===""||!isNaN(+e)&&isFinite(+e)},showPrev:{type:Boolean,default:!0},showNext:{type:Boolean,default:!0},showFirst:{type:Boolean,default:!0},showLast:{type:Boolean,default:!0}},ne=t.defineComponent({name:"HPagination",components:{HButton:te.default},props:oe,emits:["mounted","responsive-change","update:modelValue","change","first-click","first-mouseover","first-mouseout","prev-click","prev-mouseover","prev-mouseout","next-click","next-mouseover","next-mouseout","last-click","last-mouseover","last-mouseout","page-click","page-mouseover","page-mouseout"],setup(e,{emit:s}){const u=e.id?e.id:r.getUUID(),S=`hpagination:${u}`,g=t.ref(null),L=r.useDevice(),c=t.ref([]),n=()=>{c.value=r.extractResponsiveClasses(r.toClassString(e.class)||"",L.value),r.addComponentNameToClass(c.value,"size",r.hisonCloser.componentStyle.size),r.addComponentNameToClass(c.value,"color","primary")},l=t.computed(()=>{const a=[];return a.push(...r.extractPrefixedClasses(r.toClassString(e.class)||"","size")),a.push(...r.extractPrefixedClasses(r.toClassString(e.class)||"","color")),a}),v=t.ref(!!e.visible),j=t.computed(()=>v.value?"":"hison-display-none"),M=a=>typeof a=="number"?`${a}px`:a??"0.25rem",f=t.ref(M(e.gap)),W=t.computed(()=>{const a={gap:f.value},o=e.style;return Array.isArray(o)?[...o,a]:typeof o=="string"?[o,a]:{...o,...a}}),k=t.ref(!!e.border),p=t.ref(e.backgroundType),y=t.ref(Number(e.clickInterval||0)),K=t.computed(()=>!!e.disable),T=t.ref(e.tabIndex!==null&&e.tabIndex!==""?Number(e.tabIndex):null),i=t.ref(F(e.modelValue));function F(a){const o=Number(a);return Number.isFinite(o)&&o>=1?Math.floor(o):1}const m=t.computed(()=>{if(e.totalPages&&e.totalPages>0)return Math.floor(e.totalPages);const a=Math.max(0,Number(e.totalItems||0)),o=Math.max(1,Number(e.pageSize||10));return Math.max(1,Math.ceil(a/o))}),V=t.computed(()=>i.value<=1),z=t.computed(()=>i.value<=1),A=t.computed(()=>i.value>=m.value),D=t.computed(()=>i.value>=m.value),h=t.ref(!!e.showPrev),N=t.ref(!!e.showNext),C=t.ref(!!e.showFirst),B=t.ref(!!e.showLast),Y=t.computed(()=>Math.max(3,Number(e.maxButtons||7))),J=t.computed(()=>{const a=m.value,o=Math.min(Math.max(1,i.value),a),d=Y.value;if(a<=d)return Array.from({length:a},(I,ee)=>ee+1);const w=Math.floor(d/2);let P=o-w,$=P+d-1;P<1&&(P=1,$=d),$>a&&($=a,P=a-d+1);const O=[];for(let I=P;I<=$;I++)O.push(I);return O}),Q=t.computed(()=>"hison-pagination-button-active"),X=(a,o,d,w)=>{s(`${a}-${o}`,{event:d,button:w,api:g.value,currentPage:i.value,totalPages:m.value})},Z=(a,o,d,w)=>{s(`page-${a}`,{event:d,page:o,isActive:o===i.value,button:w,api:g.value})},b=a=>{const o=m.value,d=Math.min(Math.max(1,Math.floor(a)),o);d!==i.value&&(i.value=d,s("update:modelValue",d),s("change",d,g.value))},E=()=>{z.value||b(i.value-1)},H=()=>{A.value||b(i.value+1)},q=()=>{V.value||b(1)},R=()=>{D.value||b(m.value)},x=a=>{const o=r.hisonCloser.component.buttonList[a];return o?(o.focus(),!0):!1},_=()=>{const a=[`hison_pagination_page_${i.value}_${u}`,`hison_pagination_prev_${u}`,`hison_pagination_next_${u}`,`hison_pagination_first_${u}`,`hison_pagination_last_${u}`];for(const o of a)if(x(o))break},U=()=>{r.hisonCloser.component.paginationList[u]&&r.hisonCloser.component.paginationList[u].isHisonvueComponent&&console.warn(`[Hisonvue] The pagination ID is at risk of being duplicated. ${u}`),r.registerReloadable(S,()=>{G(),t.nextTick(U)}),n(),g.value={isHisonvueComponent:!0,getId:()=>u,getType:()=>"pagination",isVisible:()=>v.value,setVisible:a=>{v.value=a},getGap:()=>f.value,setGap:a=>{f.value=M(a)},getCurrentPage:()=>i.value,setCurrentPage:a=>{b(a)},getTotalPages:()=>m.value,setTotalPages:a=>{const o=Math.min(Math.max(1,i.value),Math.max(1,Math.floor(a)));o!==i.value&&(i.value=o,s("update:modelValue",o),s("change",o,g.value))},getTotalItems:()=>Number(e.totalItems||0),getPageSize:()=>Number(e.pageSize||10),goPrev:E,goNext:H,goFirst:q,goLast:R,isShowPrev:()=>h.value,setShowPrev:a=>{h.value=!!a},isShowNext:()=>N.value,setShowNext:a=>{N.value=!!a},isShowFirst:()=>C.value,setShowFirst:a=>{C.value=!!a},isShowLast:()=>B.value,setShowLast:a=>{B.value=!!a},isBorder:()=>k.value,setBorder:a=>{k.value=a},getBackgroundType:()=>p.value,setBackgroundType:a=>{p.value=a},getClickInterval:()=>y.value,setClickInterval:a=>{y.value=Number(a)||0},getTabIndex:()=>T.value,setTabIndex:a=>{T.value=a!=null?Number(a):null},focus:_,reload:()=>r.reloadHisonComponent(S)},r.hisonCloser.component.paginationList[u]=g.value,s("mounted",g.value)},G=()=>{r.unregisterReloadable(S),delete r.hisonCloser.component.paginationList[u]};return t.onMounted(U),t.onBeforeUnmount(G),t.watch(L,a=>{n(),s("responsive-change",a)}),t.watch(()=>e.class,n),t.watch(()=>e.gap,a=>{const o=M(a);o!==f.value&&(f.value=o)}),t.watch(()=>e.visible,a=>{const o=!!a;o!==v.value&&(v.value=o)}),t.watch(()=>e.border,a=>{const o=!!a;o!==k.value&&(k.value=o)}),t.watch(()=>e.backgroundType,a=>{const o=a;o!==p.value&&(p.value=o)}),t.watch(()=>e.clickInterval,a=>{const o=Number(a)||0;o!==y.value&&(y.value=o)}),t.watch(()=>e.modelValue,a=>{const o=F(a);o!==i.value&&(i.value=o)}),t.watch([()=>e.totalItems,()=>e.pageSize,()=>e.totalPages],()=>{const a=m.value;i.value>a&&(i.value=a,s("update:modelValue",a),s("change",a,g.value))}),t.watch(()=>e.showPrev,a=>{const o=!!a;o!==h.value&&(h.value=o)}),t.watch(()=>e.showNext,a=>{const o=!!a;o!==N.value&&(N.value=o)}),t.watch(()=>e.showFirst,a=>{const o=!!a;o!==C.value&&(C.value=o)}),t.watch(()=>e.showLast,a=>{const o=!!a;o!==B.value&&(B.value=o)}),{id:u,props:e,containerStyle:W,responsiveClassList:c,buttonClassList:l,visibleClass:j,border:k,backgroundType:p,clickInterval:y,tabIndex:T,disableAll:K,currentPage:i,totalPages:m,isFirstDisabled:V,isPrevDisabled:z,isNextDisabled:A,isLastDisabled:D,pageWindow:J,activeButtonClass:Q,showPrev:h,showNext:N,showFirst:C,showLast:B,emitNav:X,emitPageEvt:Z,goPrev:E,goNext:H,goFirst:q,goLast:R,goPage:b}}});function se(e,s,u,S,g,L){const c=t.resolveComponent("HButton");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-pagination",...e.responsiveClassList,e.visibleClass]),style:t.normalizeStyle(e.containerStyle)},[e.showFirst?(t.openBlock(),t.createBlock(c,{key:0,id:`hison_pagination_first_${e.id}`,disable:e.isFirstDisabled||e.disableAll,class:t.normalizeClass([...e.buttonClassList]),border:e.border,"background-type":e.backgroundType,"click-interval":e.clickInterval,tabindex:e.tabIndex??void 0,title:"First",onClick:s[0]||(s[0]=(n,l)=>{e.goFirst(),e.emitNav("first","click",n,l)}),onMouseover:s[1]||(s[1]=(n,l)=>e.emitNav("first","mouseover",n,l)),onMouseout:s[2]||(s[2]=(n,l)=>e.emitNav("first","mouseout",n,l))},{default:t.withCtx(()=>[e.$slots.first?t.renderSlot(e.$slots,"first",{key:0,goFirst:e.goFirst}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("«")],64))]),_:3},8,["id","disable","class","border","background-type","click-interval","tabindex"])):t.createCommentVNode("",!0),e.showPrev?(t.openBlock(),t.createBlock(c,{key:1,id:`hison_pagination_prev_${e.id}`,disable:e.isPrevDisabled||e.disableAll,class:t.normalizeClass([...e.buttonClassList]),border:e.border,"background-type":e.backgroundType,"click-interval":e.clickInterval,tabindex:e.tabIndex??void 0,title:"Previous",onClick:s[3]||(s[3]=(n,l)=>{e.goPrev(),e.emitNav("prev","click",n,l)}),onMouseover:s[4]||(s[4]=(n,l)=>e.emitNav("prev","mouseover",n,l)),onMouseout:s[5]||(s[5]=(n,l)=>e.emitNav("prev","mouseout",n,l))},{default:t.withCtx(()=>[e.$slots.prev?t.renderSlot(e.$slots,"prev",{key:0,goPrev:e.goPrev}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("‹")],64))]),_:3},8,["id","disable","class","border","background-type","click-interval","tabindex"])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pageWindow,n=>(t.openBlock(),t.createBlock(c,{key:`p-${n}`,id:`hison_pagination_page_${n}_${e.id}`,disable:e.disableAll,class:t.normalizeClass([...e.buttonClassList,n===e.currentPage?e.activeButtonClass:""]),border:e.border,"background-type":e.backgroundType,"click-interval":e.clickInterval,title:String(n),onClick:(l,v)=>{e.goPage(n),e.emitPageEvt("click",n,l,v)},onMouseover:(l,v)=>e.emitPageEvt("mouseover",n,l,v),onMouseout:(l,v)=>e.emitPageEvt("mouseout",n,l,v)},{default:t.withCtx(()=>[e.$slots.page?t.renderSlot(e.$slots,"page",{key:0,page:n,goPage:e.goPage,isActive:n===e.currentPage}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n),1)],64))]),_:2},1032,["id","disable","class","border","background-type","click-interval","title","onClick","onMouseover","onMouseout"]))),128)),e.showNext?(t.openBlock(),t.createBlock(c,{key:2,id:`hison_pagination_next_${e.id}`,disable:e.isNextDisabled||e.disableAll,class:t.normalizeClass([...e.buttonClassList]),border:e.border,"background-type":e.backgroundType,"click-interval":e.clickInterval,tabindex:e.tabIndex??void 0,title:"Next",onClick:s[6]||(s[6]=(n,l)=>{e.goNext(),e.emitNav("next","click",n,l)}),onMouseover:s[7]||(s[7]=(n,l)=>e.emitNav("next","mouseover",n,l)),onMouseout:s[8]||(s[8]=(n,l)=>e.emitNav("next","mouseout",n,l))},{default:t.withCtx(()=>[e.$slots.next?t.renderSlot(e.$slots,"next",{key:0,goNext:e.goNext}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("›")],64))]),_:3},8,["id","disable","class","border","background-type","click-interval","tabindex"])):t.createCommentVNode("",!0),e.showLast?(t.openBlock(),t.createBlock(c,{key:3,id:`hison_pagination_last_${e.id}`,disable:e.isLastDisabled||e.disableAll,class:t.normalizeClass([...e.buttonClassList]),border:e.border,"background-type":e.backgroundType,"click-interval":e.clickInterval,tabindex:e.tabIndex??void 0,title:"Last",onClick:s[9]||(s[9]=(n,l)=>{e.goLast(),e.emitNav("last","click",n,l)}),onMouseover:s[10]||(s[10]=(n,l)=>e.emitNav("last","mouseover",n,l)),onMouseout:s[11]||(s[11]=(n,l)=>e.emitNav("last","mouseout",n,l))},{default:t.withCtx(()=>[e.$slots.last?t.renderSlot(e.$slots,"last",{key:0,goLast:e.goLast}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("»")],64))]),_:3},8,["id","disable","class","border","background-type","click-interval","tabindex"])):t.createCommentVNode("",!0)],6)}const le=ae._export_sfc(ne,[["render",se]]);exports.default=le;
@@ -0,0 +1,496 @@
1
+ import { defineComponent as ce, ref as r, computed as d, onMounted as fe, onBeforeUnmount as ke, watch as v, nextTick as ye, resolveComponent as pe, createElementBlock as k, openBlock as g, normalizeStyle as he, normalizeClass as p, createBlock as F, createCommentVNode as R, withCtx as A, renderSlot as z, Fragment as h, createTextVNode as D, renderList as Ne, toDisplayString as Pe } from "vue";
2
+ import { B as Ce, f as we, g as $e, u as Ie, j as ae, t as j, e as Le, b as oe, h as N, r as Me, c as Be, d as Se } from "./index-DUh7pai4.mjs";
3
+ import Te from "./HButton-DAriO81x.mjs";
4
+ import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
5
+ const Ae = {
6
+ /**
7
+ * Unique identifier for the pagination component.
8
+ * - ⚠️ Duplicate `id` values will throw an error at mount time
9
+ */
10
+ id: { type: String, required: !1 },
11
+ /**
12
+ * Custom class applied to the pagination container.
13
+ * - Works with responsive classes like `hison-col-*`, `hison-size-*`, `hison-color-*`
14
+ */
15
+ class: {
16
+ type: [String, Array, Object],
17
+ required: !1
18
+ },
19
+ /**
20
+ * Inline style for the pagination container.
21
+ * - Can be string, object, or array of objects
22
+ */
23
+ style: {
24
+ type: [String, Object, Array],
25
+ required: !1
26
+ },
27
+ /**
28
+ * Controls visibility of the entire pagination.
29
+ * - Boolean only. Use `:visible="false"` (with a colon).
30
+ * - Default: true
31
+ */
32
+ visible: { type: Boolean, default: !0 },
33
+ /**
34
+ * Disables all navigation and page buttons.
35
+ * - Boolean only. Use `:disable="true"`
36
+ * - Default: false
37
+ */
38
+ disable: { type: Boolean, default: !1 },
39
+ /**
40
+ * Gap size between buttons.
41
+ * - Accepts numbers (px) or CSS size strings (`rem`, `em`, etc.)
42
+ * - Default: '0.25rem'
43
+ */
44
+ gap: {
45
+ type: [Number, String],
46
+ default: "0.25rem"
47
+ },
48
+ /**
49
+ * Whether to show border on buttons (via `hison-border`).
50
+ * - Default: true
51
+ */
52
+ border: { type: Boolean, default: !0 },
53
+ /**
54
+ * Button background type.
55
+ * - 'filled' | 'empty' | 'transparent'
56
+ * - Default: 'empty'
57
+ */
58
+ backgroundType: {
59
+ type: String,
60
+ default: we.empty,
61
+ validator: (e) => Ce.includes(e)
62
+ },
63
+ /**
64
+ * Minimum interval (ms) between button clicks.
65
+ * - 0 disables the limit.
66
+ */
67
+ clickInterval: { type: Number, default: 0 },
68
+ /**
69
+ * Current page (v-model).
70
+ * - 1-based index
71
+ * - Always clamped to [1 .. totalPages]
72
+ * - Default: 1
73
+ */
74
+ modelValue: { type: Number, default: 1 },
75
+ /**
76
+ * Total number of items (optional).
77
+ * - Used together with `pageSize` to compute totalPages = ceil(totalItems / pageSize)
78
+ * - If `totalPages` > 0, this value is ignored
79
+ */
80
+ totalItems: { type: Number, required: !1, default: void 0 },
81
+ /**
82
+ * Items per page.
83
+ * - Used with `totalItems` to calculate totalPages
84
+ * - Default: 10
85
+ */
86
+ pageSize: { type: Number, default: 10 },
87
+ /**
88
+ * Explicit total number of pages (optional).
89
+ * - If provided (>0), this takes precedence over totalItems/pageSize calculation
90
+ */
91
+ totalPages: { type: Number, required: !1, default: void 0 },
92
+ /**
93
+ * Maximum number of page number buttons to display
94
+ * (excluding prev/next/first/last).
95
+ * - Minimum recommended: 3
96
+ * - Default: 5
97
+ */
98
+ maxButtons: { type: Number, default: 5 },
99
+ /**
100
+ * Controls keyboard focus order of the element.
101
+ * - `0` enables natural tab navigation, positive numbers set custom order.
102
+ * - `null` or `''` removes tabindex (not focusable).
103
+ */
104
+ tabIndex: {
105
+ type: [Number, String],
106
+ default: null,
107
+ validator: (e) => e === null || e === "" || !isNaN(+e) && isFinite(+e)
108
+ },
109
+ /**
110
+ * Toggles visibility of individual navigation buttons.
111
+ * - First (`«`), Prev (`‹`), Next (`›`), Last (`»`)
112
+ * - Default: true for all
113
+ */
114
+ showPrev: { type: Boolean, default: !0 },
115
+ showNext: { type: Boolean, default: !0 },
116
+ showFirst: { type: Boolean, default: !0 },
117
+ showLast: { type: Boolean, default: !0 }
118
+ }, ze = ce({
119
+ name: "HPagination",
120
+ components: { HButton: Te },
121
+ props: Ae,
122
+ emits: [
123
+ "mounted",
124
+ "responsive-change",
125
+ "update:modelValue",
126
+ "change",
127
+ "first-click",
128
+ "first-mouseover",
129
+ "first-mouseout",
130
+ "prev-click",
131
+ "prev-mouseover",
132
+ "prev-mouseout",
133
+ "next-click",
134
+ "next-mouseover",
135
+ "next-mouseout",
136
+ "last-click",
137
+ "last-mouseover",
138
+ "last-mouseout",
139
+ "page-click",
140
+ "page-mouseover",
141
+ "page-mouseout"
142
+ ],
143
+ setup(e, { emit: s }) {
144
+ const i = e.id ? e.id : $e(), V = `hpagination:${i}`, c = r(null), q = Ie(), m = r([]), o = () => {
145
+ m.value = Le(j(e.class) || "", q.value), oe(m.value, "size", N.componentStyle.size), oe(m.value, "color", "primary");
146
+ }, n = d(() => {
147
+ const t = [];
148
+ return t.push(...ae(j(e.class) || "", "size")), t.push(...ae(j(e.class) || "", "color")), t;
149
+ }), b = r(!!e.visible), se = d(() => b.value ? "" : "hison-display-none"), U = (t) => typeof t == "number" ? `${t}px` : t ?? "0.25rem", P = r(U(e.gap)), ne = d(() => {
150
+ const t = { gap: P.value }, a = e.style;
151
+ return Array.isArray(a) ? [...a, t] : typeof a == "string" ? [a, t] : { ...a, ...t };
152
+ }), C = r(!!e.border), w = r(e.backgroundType), $ = r(Number(e.clickInterval || 0)), le = d(() => !!e.disable), G = r(
153
+ e.tabIndex !== null && e.tabIndex !== "" ? Number(e.tabIndex) : null
154
+ ), l = r(O(e.modelValue));
155
+ function O(t) {
156
+ const a = Number(t);
157
+ return Number.isFinite(a) && a >= 1 ? Math.floor(a) : 1;
158
+ }
159
+ const f = d(() => {
160
+ if (e.totalPages && e.totalPages > 0) return Math.floor(e.totalPages);
161
+ const t = Math.max(0, Number(e.totalItems || 0)), a = Math.max(1, Number(e.pageSize || 10));
162
+ return Math.max(1, Math.ceil(t / a));
163
+ }), W = d(() => l.value <= 1), K = d(() => l.value <= 1), Y = d(() => l.value >= f.value), J = d(() => l.value >= f.value), I = r(!!e.showPrev), L = r(!!e.showNext), M = r(!!e.showFirst), B = r(!!e.showLast), ie = d(() => Math.max(3, Number(e.maxButtons || 7))), ue = d(() => {
164
+ const t = f.value, a = Math.min(Math.max(1, l.value), t), u = ie.value;
165
+ if (t <= u)
166
+ return Array.from({ length: t }, (E, me) => me + 1);
167
+ const S = Math.floor(u / 2);
168
+ let T = a - S, H = T + u - 1;
169
+ T < 1 && (T = 1, H = u), H > t && (H = t, T = t - u + 1);
170
+ const te = [];
171
+ for (let E = T; E <= H; E++) te.push(E);
172
+ return te;
173
+ }), re = d(() => "hison-pagination-button-active"), ve = (t, a, u, S) => {
174
+ s(`${t}-${a}`, {
175
+ event: u,
176
+ button: S,
177
+ api: c.value,
178
+ currentPage: l.value,
179
+ totalPages: f.value
180
+ });
181
+ }, de = (t, a, u, S) => {
182
+ s(`page-${t}`, {
183
+ event: u,
184
+ page: a,
185
+ isActive: a === l.value,
186
+ button: S,
187
+ api: c.value
188
+ });
189
+ }, y = (t) => {
190
+ const a = f.value, u = Math.min(Math.max(1, Math.floor(t)), a);
191
+ u !== l.value && (l.value = u, s("update:modelValue", u), s("change", u, c.value));
192
+ }, Q = () => {
193
+ K.value || y(l.value - 1);
194
+ }, X = () => {
195
+ Y.value || y(l.value + 1);
196
+ }, Z = () => {
197
+ W.value || y(1);
198
+ }, x = () => {
199
+ J.value || y(f.value);
200
+ }, ge = (t) => {
201
+ const a = N.component.buttonList[t];
202
+ return a ? (a.focus(), !0) : !1;
203
+ }, be = () => {
204
+ const t = [
205
+ `hison_pagination_page_${l.value}_${i}`,
206
+ `hison_pagination_prev_${i}`,
207
+ `hison_pagination_next_${i}`,
208
+ `hison_pagination_first_${i}`,
209
+ `hison_pagination_last_${i}`
210
+ ];
211
+ for (const a of t)
212
+ if (ge(a)) break;
213
+ }, _ = () => {
214
+ N.component.paginationList[i] && N.component.paginationList[i].isHisonvueComponent && console.warn(`[Hisonvue] The pagination ID is at risk of being duplicated. ${i}`), Me(V, () => {
215
+ ee(), ye(_);
216
+ }), o(), c.value = {
217
+ isHisonvueComponent: !0,
218
+ getId: () => i,
219
+ getType: () => "pagination",
220
+ isVisible: () => b.value,
221
+ setVisible: (t) => {
222
+ b.value = t;
223
+ },
224
+ getGap: () => P.value,
225
+ setGap: (t) => {
226
+ P.value = U(t);
227
+ },
228
+ getCurrentPage: () => l.value,
229
+ setCurrentPage: (t) => {
230
+ y(t);
231
+ },
232
+ getTotalPages: () => f.value,
233
+ setTotalPages: (t) => {
234
+ const a = Math.min(Math.max(1, l.value), Math.max(1, Math.floor(t)));
235
+ a !== l.value && (l.value = a, s("update:modelValue", a), s("change", a, c.value));
236
+ },
237
+ getTotalItems: () => Number(e.totalItems || 0),
238
+ getPageSize: () => Number(e.pageSize || 10),
239
+ goPrev: Q,
240
+ goNext: X,
241
+ goFirst: Z,
242
+ goLast: x,
243
+ isShowPrev: () => I.value,
244
+ setShowPrev: (t) => {
245
+ I.value = !!t;
246
+ },
247
+ isShowNext: () => L.value,
248
+ setShowNext: (t) => {
249
+ L.value = !!t;
250
+ },
251
+ isShowFirst: () => M.value,
252
+ setShowFirst: (t) => {
253
+ M.value = !!t;
254
+ },
255
+ isShowLast: () => B.value,
256
+ setShowLast: (t) => {
257
+ B.value = !!t;
258
+ },
259
+ isBorder: () => C.value,
260
+ setBorder: (t) => {
261
+ C.value = t;
262
+ },
263
+ getBackgroundType: () => w.value,
264
+ setBackgroundType: (t) => {
265
+ w.value = t;
266
+ },
267
+ getClickInterval: () => $.value,
268
+ setClickInterval: (t) => {
269
+ $.value = Number(t) || 0;
270
+ },
271
+ getTabIndex: () => G.value,
272
+ setTabIndex: (t) => {
273
+ G.value = t != null ? Number(t) : null;
274
+ },
275
+ focus: be,
276
+ reload: () => Be(V)
277
+ }, N.component.paginationList[i] = c.value, s("mounted", c.value);
278
+ }, ee = () => {
279
+ Se(V), delete N.component.paginationList[i];
280
+ };
281
+ return fe(_), ke(ee), v(q, (t) => {
282
+ o(), s("responsive-change", t);
283
+ }), v(() => e.class, o), v(() => e.gap, (t) => {
284
+ const a = U(t);
285
+ a !== P.value && (P.value = a);
286
+ }), v(() => e.visible, (t) => {
287
+ const a = !!t;
288
+ a !== b.value && (b.value = a);
289
+ }), v(() => e.border, (t) => {
290
+ const a = !!t;
291
+ a !== C.value && (C.value = a);
292
+ }), v(() => e.backgroundType, (t) => {
293
+ const a = t;
294
+ a !== w.value && (w.value = a);
295
+ }), v(() => e.clickInterval, (t) => {
296
+ const a = Number(t) || 0;
297
+ a !== $.value && ($.value = a);
298
+ }), v(() => e.modelValue, (t) => {
299
+ const a = O(t);
300
+ a !== l.value && (l.value = a);
301
+ }), v([() => e.totalItems, () => e.pageSize, () => e.totalPages], () => {
302
+ const t = f.value;
303
+ l.value > t && (l.value = t, s("update:modelValue", t), s("change", t, c.value));
304
+ }), v(() => e.showPrev, (t) => {
305
+ const a = !!t;
306
+ a !== I.value && (I.value = a);
307
+ }), v(() => e.showNext, (t) => {
308
+ const a = !!t;
309
+ a !== L.value && (L.value = a);
310
+ }), v(() => e.showFirst, (t) => {
311
+ const a = !!t;
312
+ a !== M.value && (M.value = a);
313
+ }), v(() => e.showLast, (t) => {
314
+ const a = !!t;
315
+ a !== B.value && (B.value = a);
316
+ }), {
317
+ id: i,
318
+ props: e,
319
+ containerStyle: ne,
320
+ responsiveClassList: m,
321
+ buttonClassList: n,
322
+ visibleClass: se,
323
+ border: C,
324
+ backgroundType: w,
325
+ clickInterval: $,
326
+ tabIndex: G,
327
+ disableAll: le,
328
+ currentPage: l,
329
+ totalPages: f,
330
+ isFirstDisabled: W,
331
+ isPrevDisabled: K,
332
+ isNextDisabled: Y,
333
+ isLastDisabled: J,
334
+ pageWindow: ue,
335
+ activeButtonClass: re,
336
+ showPrev: I,
337
+ showNext: L,
338
+ showFirst: M,
339
+ showLast: B,
340
+ emitNav: ve,
341
+ emitPageEvt: de,
342
+ goPrev: Q,
343
+ goNext: X,
344
+ goFirst: Z,
345
+ goLast: x,
346
+ goPage: y
347
+ };
348
+ }
349
+ });
350
+ function De(e, s, i, V, c, q) {
351
+ const m = pe("HButton");
352
+ return g(), k("div", {
353
+ class: p([
354
+ "hison-pagination",
355
+ ...e.responsiveClassList,
356
+ e.visibleClass
357
+ ]),
358
+ style: he(e.containerStyle)
359
+ }, [
360
+ e.showFirst ? (g(), F(m, {
361
+ key: 0,
362
+ id: `hison_pagination_first_${e.id}`,
363
+ disable: e.isFirstDisabled || e.disableAll,
364
+ class: p([...e.buttonClassList]),
365
+ border: e.border,
366
+ "background-type": e.backgroundType,
367
+ "click-interval": e.clickInterval,
368
+ tabindex: e.tabIndex ?? void 0,
369
+ title: "First",
370
+ onClick: s[0] || (s[0] = (o, n) => {
371
+ e.goFirst(), e.emitNav("first", "click", o, n);
372
+ }),
373
+ onMouseover: s[1] || (s[1] = (o, n) => e.emitNav("first", "mouseover", o, n)),
374
+ onMouseout: s[2] || (s[2] = (o, n) => e.emitNav("first", "mouseout", o, n))
375
+ }, {
376
+ default: A(() => [
377
+ e.$slots.first ? z(e.$slots, "first", {
378
+ key: 0,
379
+ goFirst: e.goFirst
380
+ }) : (g(), k(h, { key: 1 }, [
381
+ D("«")
382
+ ], 64))
383
+ ]),
384
+ _: 3
385
+ }, 8, ["id", "disable", "class", "border", "background-type", "click-interval", "tabindex"])) : R("", !0),
386
+ e.showPrev ? (g(), F(m, {
387
+ key: 1,
388
+ id: `hison_pagination_prev_${e.id}`,
389
+ disable: e.isPrevDisabled || e.disableAll,
390
+ class: p([...e.buttonClassList]),
391
+ border: e.border,
392
+ "background-type": e.backgroundType,
393
+ "click-interval": e.clickInterval,
394
+ tabindex: e.tabIndex ?? void 0,
395
+ title: "Previous",
396
+ onClick: s[3] || (s[3] = (o, n) => {
397
+ e.goPrev(), e.emitNav("prev", "click", o, n);
398
+ }),
399
+ onMouseover: s[4] || (s[4] = (o, n) => e.emitNav("prev", "mouseover", o, n)),
400
+ onMouseout: s[5] || (s[5] = (o, n) => e.emitNav("prev", "mouseout", o, n))
401
+ }, {
402
+ default: A(() => [
403
+ e.$slots.prev ? z(e.$slots, "prev", {
404
+ key: 0,
405
+ goPrev: e.goPrev
406
+ }) : (g(), k(h, { key: 1 }, [
407
+ D("‹")
408
+ ], 64))
409
+ ]),
410
+ _: 3
411
+ }, 8, ["id", "disable", "class", "border", "background-type", "click-interval", "tabindex"])) : R("", !0),
412
+ (g(!0), k(h, null, Ne(e.pageWindow, (o) => (g(), F(m, {
413
+ key: `p-${o}`,
414
+ id: `hison_pagination_page_${o}_${e.id}`,
415
+ disable: e.disableAll,
416
+ class: p([...e.buttonClassList, o === e.currentPage ? e.activeButtonClass : ""]),
417
+ border: e.border,
418
+ "background-type": e.backgroundType,
419
+ "click-interval": e.clickInterval,
420
+ title: String(o),
421
+ onClick: (n, b) => {
422
+ e.goPage(o), e.emitPageEvt("click", o, n, b);
423
+ },
424
+ onMouseover: (n, b) => e.emitPageEvt("mouseover", o, n, b),
425
+ onMouseout: (n, b) => e.emitPageEvt("mouseout", o, n, b)
426
+ }, {
427
+ default: A(() => [
428
+ e.$slots.page ? z(e.$slots, "page", {
429
+ key: 0,
430
+ page: o,
431
+ goPage: e.goPage,
432
+ isActive: o === e.currentPage
433
+ }) : (g(), k(h, { key: 1 }, [
434
+ D(Pe(o), 1)
435
+ ], 64))
436
+ ]),
437
+ _: 2
438
+ }, 1032, ["id", "disable", "class", "border", "background-type", "click-interval", "title", "onClick", "onMouseover", "onMouseout"]))), 128)),
439
+ e.showNext ? (g(), F(m, {
440
+ key: 2,
441
+ id: `hison_pagination_next_${e.id}`,
442
+ disable: e.isNextDisabled || e.disableAll,
443
+ class: p([...e.buttonClassList]),
444
+ border: e.border,
445
+ "background-type": e.backgroundType,
446
+ "click-interval": e.clickInterval,
447
+ tabindex: e.tabIndex ?? void 0,
448
+ title: "Next",
449
+ onClick: s[6] || (s[6] = (o, n) => {
450
+ e.goNext(), e.emitNav("next", "click", o, n);
451
+ }),
452
+ onMouseover: s[7] || (s[7] = (o, n) => e.emitNav("next", "mouseover", o, n)),
453
+ onMouseout: s[8] || (s[8] = (o, n) => e.emitNav("next", "mouseout", o, n))
454
+ }, {
455
+ default: A(() => [
456
+ e.$slots.next ? z(e.$slots, "next", {
457
+ key: 0,
458
+ goNext: e.goNext
459
+ }) : (g(), k(h, { key: 1 }, [
460
+ D("›")
461
+ ], 64))
462
+ ]),
463
+ _: 3
464
+ }, 8, ["id", "disable", "class", "border", "background-type", "click-interval", "tabindex"])) : R("", !0),
465
+ e.showLast ? (g(), F(m, {
466
+ key: 3,
467
+ id: `hison_pagination_last_${e.id}`,
468
+ disable: e.isLastDisabled || e.disableAll,
469
+ class: p([...e.buttonClassList]),
470
+ border: e.border,
471
+ "background-type": e.backgroundType,
472
+ "click-interval": e.clickInterval,
473
+ tabindex: e.tabIndex ?? void 0,
474
+ title: "Last",
475
+ onClick: s[9] || (s[9] = (o, n) => {
476
+ e.goLast(), e.emitNav("last", "click", o, n);
477
+ }),
478
+ onMouseover: s[10] || (s[10] = (o, n) => e.emitNav("last", "mouseover", o, n)),
479
+ onMouseout: s[11] || (s[11] = (o, n) => e.emitNav("last", "mouseout", o, n))
480
+ }, {
481
+ default: A(() => [
482
+ e.$slots.last ? z(e.$slots, "last", {
483
+ key: 0,
484
+ goLast: e.goLast
485
+ }) : (g(), k(h, { key: 1 }, [
486
+ D("»")
487
+ ], 64))
488
+ ]),
489
+ _: 3
490
+ }, 8, ["id", "disable", "class", "border", "background-type", "click-interval", "tabindex"])) : R("", !0)
491
+ ], 6);
492
+ }
493
+ const qe = /* @__PURE__ */ Fe(ze, [["render", De]]);
494
+ export {
495
+ qe as default
496
+ };