hisonvue 1.1.39 → 1.1.41

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 (61) hide show
  1. package/dist/{HAccordion-BkEvH6Ey.mjs → HAccordion-BPdV7a2W.mjs} +2 -2
  2. package/dist/{HAccordion-Bb5EQl3Q.js → HAccordion-CdANXmbD.js} +1 -1
  3. package/dist/{HBaggie-CfeAvM0z.mjs → HBaggie-CGqKXPiZ.mjs} +2 -2
  4. package/dist/{HBaggie-e3WlKWB5.js → HBaggie-WCBpNoUo.js} +1 -1
  5. package/dist/{HBanner-CkDsf505.js → HBanner-9vR9yrV-.js} +1 -1
  6. package/dist/{HBanner-xCcVSety.mjs → HBanner-DbXA5COI.mjs} +2 -2
  7. package/dist/{HButton-BK77iM6O.mjs → HButton-BbxLtmRr.mjs} +2 -2
  8. package/dist/{HButton-pdDP3xI3.js → HButton-CVWLkF4B.js} +1 -1
  9. package/dist/{HCalendar-k8W3KKtT.js → HCalendar-DE1RLJRV.js} +1 -1
  10. package/dist/{HCalendar-D5o7cn04.mjs → HCalendar-DWLHVlx_.mjs} +1 -1
  11. package/dist/{HCaption-CVmGUpim.mjs → HCaption-4uc6nL4A.mjs} +1 -1
  12. package/dist/{HCaption-SDbWenvp.js → HCaption-w-X8fLBw.js} +1 -1
  13. package/dist/{HChart-BAZ_mje0.mjs → HChart-BDITHtsj.mjs} +1 -1
  14. package/dist/{HChart-Cg6WvF-m.js → HChart-DDC8arLU.js} +1 -1
  15. package/dist/{HDrawer-CuYTcazp.mjs → HDrawer-3GiwT60E.mjs} +1 -1
  16. package/dist/{HDrawer-CdXPUYKs.js → HDrawer-C1C_I6ZW.js} +1 -1
  17. package/dist/HDropdown-CMvFAXr9.js +1 -0
  18. package/dist/{HDropdown-trpRIODH.mjs → HDropdown-zB6_-GNT.mjs} +132 -114
  19. package/dist/{HFileset-yDnoWeFJ.mjs → HFileset-BsN3h5mB.mjs} +1 -1
  20. package/dist/{HFileset-CQPVTrc0.js → HFileset-CPMtrk2d.js} +1 -1
  21. package/dist/{HGap-DM1hp0HZ.mjs → HGap-BiAAjXc2.mjs} +1 -1
  22. package/dist/{HGap-D2VPEhTy.js → HGap-CAEmqnLB.js} +1 -1
  23. package/dist/{HGrid-9WW04j6i.js → HGrid-7a376g49.js} +1 -1
  24. package/dist/{HGrid-OT55Vyqy.mjs → HGrid-BbgsmcyM.mjs} +1 -1
  25. package/dist/{HImagebox-Dn6okVVd.js → HImagebox-YkMSH8t3.js} +1 -1
  26. package/dist/{HImagebox-DXnfszdl.mjs → HImagebox-wFCbPtEa.mjs} +1 -1
  27. package/dist/{HInput-DxqBZopO.mjs → HInput-CeSjeLqo.mjs} +108 -106
  28. package/dist/HInput-xg-pCCTH.js +1 -0
  29. package/dist/{HInputGroup-CMOBOaIy.js → HInputGroup-B5PxqG3_.js} +1 -1
  30. package/dist/{HInputGroup-kjL_gkY3.mjs → HInputGroup-DOFwnbQY.mjs} +1 -1
  31. package/dist/{HLabel-CdRo92gc.js → HLabel-CafqKGdK.js} +1 -1
  32. package/dist/{HLabel-CuOsomVK.mjs → HLabel-CyBFpiBi.mjs} +2 -2
  33. package/dist/{HLayout-BCjLoYqu.js → HLayout-CZ_Lavhh.js} +1 -1
  34. package/dist/{HLayout-SDUsOGH9.mjs → HLayout-Cqr_6VcR.mjs} +1 -1
  35. package/dist/{HList-BARBWvNB.js → HList-DRtW3MYz.js} +1 -1
  36. package/dist/{HList-Cebfzf83.mjs → HList-DTAkipAc.mjs} +2 -2
  37. package/dist/{HModal-BPmK-z7W.mjs → HModal-BLmtVwQ4.mjs} +1 -1
  38. package/dist/{HModal-BQC6Dwcw.js → HModal-CHWez8oN.js} +1 -1
  39. package/dist/{HNote-DpqAofRU.js → HNote-CYQTP_XV.js} +1 -1
  40. package/dist/{HNote-DcZpFM82.mjs → HNote-DHegRrB6.mjs} +1 -1
  41. package/dist/{HPagination-DzGUrGXP.mjs → HPagination-CjT_YrHm.mjs} +2 -2
  42. package/dist/{HPagination-v-NFDeDA.js → HPagination-Dj3BGXk-.js} +1 -1
  43. package/dist/{HParagraph-W9TnHmze.mjs → HParagraph-BcYzFF2n.mjs} +1 -1
  44. package/dist/{HParagraph-CdOVGIlk.js → HParagraph-C9pHDlin.js} +1 -1
  45. package/dist/{HPopup-CXxinQhO.mjs → HPopup-BvtPV72x.mjs} +1 -1
  46. package/dist/{HPopup-CNt-lvtH.js → HPopup-C54E3Anx.js} +1 -1
  47. package/dist/{HSpinner-meptBXhz.js → HSpinner-BD3SWWOl.js} +1 -1
  48. package/dist/{HSpinner-DsolJ5Oc.mjs → HSpinner-CRrlblv4.mjs} +1 -1
  49. package/dist/{HTable-f_QsXz2G.mjs → HTable-D9Ls6N7P.mjs} +1 -1
  50. package/dist/{HTable-TGIonXp7.js → HTable-XVuifCzm.js} +1 -1
  51. package/dist/hisonvue.cjs.js +1 -1
  52. package/dist/hisonvue.css +1 -1
  53. package/dist/hisonvue.d.ts +34 -0
  54. package/dist/hisonvue.es.js +2 -2
  55. package/dist/{index-DvM-XIAr.js → index-B79IAYbU.js} +1 -1
  56. package/dist/{index-CjHzPazZ.mjs → index-Btyg21iV.mjs} +1 -1
  57. package/dist/{setButtonCssEvent-C2lqu16u.js → setButtonCssEvent-Dz8jsNwB.js} +1 -1
  58. package/dist/{setButtonCssEvent-DzgOFy1K.mjs → setButtonCssEvent-b8kbf0T8.mjs} +1 -1
  59. package/package.json +1 -1
  60. package/dist/HDropdown-Crtq97na.js +0 -1
  61. package/dist/HInput-D-WhZgWg.js +0 -1
@@ -4623,15 +4623,18 @@ responsiveClassList: Ref<string[], string[]>;
4623
4623
  isOpen: Ref<boolean, boolean>;
4624
4624
  trigger: Ref<"click" | "hover" | DropdownTrigger, "click" | "hover" | DropdownTrigger>;
4625
4625
  selectedValue: Ref<any, any>;
4626
+ selectedOption: ComputedRef<HDropdownOption | null>;
4626
4627
  selectedLabel: ComputedRef<string>;
4627
4628
  placeholder: Ref<string, string>;
4628
4629
  activeDescId: ComputedRef<string | undefined>;
4629
4630
  menuInlineStyle: ComputedRef<Record<string, string>>;
4630
4631
  options: Ref< {
4632
+ [x: string]: any;
4631
4633
  label: string;
4632
4634
  value: any;
4633
4635
  disabled?: boolean | undefined;
4634
4636
  }[], HDropdownOption[] | {
4637
+ [x: string]: any;
4635
4638
  label: string;
4636
4639
  value: any;
4637
4640
  disabled?: boolean | undefined;
@@ -4938,8 +4941,14 @@ export declare interface HDropdownModel {
4938
4941
  * Each option has a `label` (shown to user) and `value` (programmatic).
4939
4942
  * Optional `disabled` makes the item visible but not selectable.
4940
4943
  *
4944
+ * Any extra custom field may be attached (e.g. `badge`, `icon`, `count`)
4945
+ * and consumed inside the `item` / `toggle-label` scoped slots via `option`.
4946
+ *
4941
4947
  * @example
4942
4948
  * { label: 'Korea', value: 'KR' }
4949
+ * @example
4950
+ * // extra fields for scoped-slot rendering
4951
+ * { label: 'Requests', value: 'pending', badge: 3 }
4943
4952
  */
4944
4953
  export declare interface HDropdownOption {
4945
4954
  /** Display text shown in the dropdown menu */
@@ -4948,6 +4957,8 @@ export declare interface HDropdownOption {
4948
4957
  value: any;
4949
4958
  /** If true, option is visible but cannot be selected */
4950
4959
  disabled?: boolean;
4960
+ /** Extra custom fields consumed by the `item` / `toggle-label` scoped slots */
4961
+ [key: string]: any;
4951
4962
  }
4952
4963
 
4953
4964
  export declare const HEX_COLOR_RE: RegExp;
@@ -18380,6 +18391,8 @@ declare module 'vue' {
18380
18391
  * - Internal scrollable **maxHeight** support
18381
18392
  * - Runtime API: `hison.component.getDropdown(id)`
18382
18393
  * - Custom caret via `<slot name="caret">`
18394
+ * - Custom item rendering via `<slot name="item">` (scoped — badges, icons, etc.)
18395
+ * - Custom toggle label via `<slot name="toggle-label">` (scoped)
18383
18396
  *
18384
18397
  * ---
18385
18398
  *
@@ -18411,6 +18424,25 @@ declare module 'vue' {
18411
18424
  * </HDropdown>
18412
18425
  * ```
18413
18426
  *
18427
+ * #### Custom item rendering (scoped slot)
18428
+ * Options accept extra custom fields (e.g. `badge`) which are passed through
18429
+ * to the scoped slots untouched. Fallback rendering is plain `option.label`.
18430
+ * ```vue
18431
+ * <HDropdown :modelValue="{ value: 'pending', options: [
18432
+ * { label: 'Requests', value: 'pending', badge: 3 },
18433
+ * { label: 'Upcoming', value: 'upcoming' }
18434
+ * ]}">
18435
+ * <template #item="{ option, selected }">
18436
+ * <span :class="{ 'is-selected': selected }">{{ option.label }}</span>
18437
+ * <span v-if="option.badge" class="my-badge">{{ option.badge }}</span>
18438
+ * </template>
18439
+ * <template #toggle-label="{ option, label, placeholder }">
18440
+ * <span>{{ label || placeholder }}</span>
18441
+ * <span v-if="option?.badge" class="my-badge">{{ option.badge }}</span>
18442
+ * </template>
18443
+ * </HDropdown>
18444
+ * ```
18445
+ *
18414
18446
  * ---
18415
18447
  *
18416
18448
  * ### 🛠 Runtime Usage
@@ -18432,6 +18464,8 @@ declare module 'vue' {
18432
18464
  * ---
18433
18465
  *
18434
18466
  * @slot caret Override the toggle caret. Defaults to ▾ if not provided.
18467
+ * @slot item Scoped slot for each menu item. Props: `option: HDropdownOption`, `index: number`, `selected: boolean`. Defaults to `option.label` text.
18468
+ * @slot toggle-label Scoped slot for the toggle label. Props: `option: HDropdownOption | null` (currently selected), `label: string`, `placeholder: string`. Defaults to `label || placeholder` text.
18435
18469
  *
18436
18470
  * @prop {string} id - Unique dropdown identifier. Accessible at runtime via `hison.component.getDropdown(id)`.
18437
18471
  * @prop {string | string[] | Record<string, boolean>} [class] - Additional class string(s). Supports the `hison-*` responsive system.
@@ -1,5 +1,5 @@
1
- import { U as a, aa as t, aI as e } from "./index-CjHzPazZ.mjs";
2
- import { f as aa, _ as ta, $ as ea, Z as oa, a5 as na, a6 as sa, a7 as la, B as ia, J as ra, a8 as Aa, a9 as ca, Y as _a, z as Ea, X as ma, ab as Ca, D as Sa, A as Da, E as Oa, ac as pa, N as La, M as ya, L as Ta, ad as Va, ae as Fa, af as Ha, ag as ga, ah as Ua, ai as ua, m as Ia, aj as Ma, ak as Na, al as Pa, am as da, an as Ga, ao as Ra, ap as ha, aq as fa, ar as Ba, as as ka, at as Wa, au as Ya, av as Ka, aw as wa, ax as xa, ay as ba, az as va, aA as za, aB as Xa, aC as $a, aD as ja, aE as Ja, aF as qa, k as Qa, H as Za, F as at, G as tt, P as et, Q as ot, aG as nt, aH as st, a1 as lt, i as it, O as rt, aJ as At, S as ct, v as _t, aK as Et, T as mt, a0 as Ct, y as St, a4 as Dt, a2 as Ot, a3 as pt, aL as Lt, aM as yt, l as Tt, aN as Vt, K as Ft } from "./index-CjHzPazZ.mjs";
1
+ import { U as a, aa as t, aI as e } from "./index-Btyg21iV.mjs";
2
+ import { f as aa, _ as ta, $ as ea, Z as oa, a5 as na, a6 as sa, a7 as la, B as ia, J as ra, a8 as Aa, a9 as ca, Y as _a, z as Ea, X as ma, ab as Ca, D as Sa, A as Da, E as Oa, ac as pa, N as La, M as ya, L as Ta, ad as Va, ae as Fa, af as Ha, ag as ga, ah as Ua, ai as ua, m as Ia, aj as Ma, ak as Na, al as Pa, am as da, an as Ga, ao as Ra, ap as ha, aq as fa, ar as Ba, as as ka, at as Wa, au as Ya, av as Ka, aw as wa, ax as xa, ay as ba, az as va, aA as za, aB as Xa, aC as $a, aD as ja, aE as Ja, aF as qa, k as Qa, H as Za, F as at, G as tt, P as et, Q as ot, aG as nt, aH as st, a1 as lt, i as it, O as rt, aJ as At, S as ct, v as _t, aK as Et, T as mt, a0 as Ct, y as St, a4 as Dt, a2 as Ot, a3 as pt, aL as Lt, aM as yt, l as Tt, aN as Vt, K as Ft } from "./index-Btyg21iV.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, m = a.ApiPut, C = 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, F = a.DayOfWeekFormat, H = a.DayOfWeekFullName, g = a.DayOfWeekFullNameKR, U = a.DayOfWeekShortName, u = a.DayOfWeekShortNameKR, I = t.Align, M = t.BasicDataType, N = t.DateFormat, P = t.MonthFormat, d = t.RowStatus, G = t.VerticalAlign, R = a.HourFormat, h = 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,
@@ -206,4 +206,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
206
206
  --hison-l-font-size: ${e.fontSizeL};
207
207
  --hison-xl-font-size: ${e.fontSizeXL};
208
208
  }
209
- `.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)},_y=(e,t)=>{yd(e,t),e.setMaxFilesetSize=r=>{et.componentConfig.filesetSize=r},e.setMaxFilesetTotalSize=r=>{et.componentConfig.filesetTotalSize=r},e.getMaxFilesetSize=()=>et.componentConfig.filesetSize,e.getMaxFilesetTotalSize=()=>et.componentConfig.filesetTotalSize,e.cssEvent={setButtonOnBefoerFocus(r){et.event.cssEvent.button_onBeforeFocus=r},setButtonOnAfterFocus(r){et.event.cssEvent.button_onAfterFocus=r},setButtonOnBefoerBlur(r){et.event.cssEvent.button_onBeforeBlur=r},setButtonOnAfterBlur(r){et.event.cssEvent.button_onAfterBlur=r},setButtonOnBefoerClick(r){et.event.cssEvent.button_onBeforeClick=r},setButtonOnAfterClick(r){et.event.cssEvent.button_onAfterClick=r},setButtonOnBeforeMouseover(r){et.event.cssEvent.button_onBeforeMouseover=r},setButtonOnAfterMouseover(r){et.event.cssEvent.button_onAfterMouseover=r},setButtonOnBeforeMouseout(r){et.event.cssEvent.button_onBeforeMouseout=r},setButtonOnAfterMouseout(r){et.event.cssEvent.button_onAfterMouseout=r},setButtonOnBeforeTouchstart(r){et.event.cssEvent.button_onBeforeTouchstart=r},setButtonOnAfterTouchstart(r){et.event.cssEvent.button_onAfterTouchstart=r},setButtonOnBeforeTouchend(r){et.event.cssEvent.button_onBeforeTouchend=r},setButtonOnAfterTouchend(r){et.event.cssEvent.button_onAfterTouchend=r},setInputOnBefoerFocus(r){et.event.cssEvent.input_onBeforeFocus=r},setInputOnAfterFocus(r){et.event.cssEvent.input_onAfterFocus=r},setInputOnBefoerBlur(r){et.event.cssEvent.input_onBeforeBlur=r},setInputOnAfterBlur(r){et.event.cssEvent.input_onAfterBlur=r},setInputOnBeforeMouseover(r){et.event.cssEvent.input_onBeforeMouseover=r},setInputOnAfterMouseover(r){et.event.cssEvent.input_onAfterMouseover=r},setInputOnBeforeMouseout(r){et.event.cssEvent.input_onBeforeMouseout=r},setInputOnAfterMouseout(r){et.event.cssEvent.input_onAfterMouseout=r},setInputOnBeforeTouchstart(r){et.event.cssEvent.input_onBeforeTouchstart=r},setInputOnAfterTouchstart(r){et.event.cssEvent.input_onAfterTouchstart=r},setInputOnBeforeTouchend(r){et.event.cssEvent.input_onBeforeTouchend=r},setInputOnAfterTouchend(r){et.event.cssEvent.input_onAfterTouchend=r}};const n=()=>{typeof window<"u"&&(ta(),zd())},o=()=>{typeof window<"u"&&(ta(),Ud())};e.style={setSize(r){et.componentStyle.size=r,n()},setFilledColor(r){et.componentStyle.filledColor=r,o()},setEmptyColor(r){et.componentStyle.emptyColor=r,o()},setFilledTextColor(r){et.componentStyle.filledTextColor=r,o()},setEmptyTextColor(r){et.componentStyle.emptyTextColor=r,o()},setPrimaryColor(r){et.componentStyle.primaryColor=r,o()},setMutedColor(r){et.componentStyle.mutedColor=r,o()},setInfoColor(r){et.componentStyle.infoColor=r,o()},setSuccessColor(r){et.componentStyle.successColor=r,o()},setDangerColor(r){et.componentStyle.dangerColor=r,o()},setWarningColor(r){et.componentStyle.warningColor=r,o()},setCustom1Color(r){et.componentStyle.custom1Color=r,o()},setCustom2Color(r){et.componentStyle.custom2Color=r,o()},setCustom3Color(r){et.componentStyle.custom3Color=r,o()},setCustom4Color(r){et.componentStyle.custom4Color=r,o()},setCustom5Color(r){et.componentStyle.custom5Color=r,o()},setInvertColor(r){et.componentStyle.invertColor=r,o()},getDeviceType(){if(typeof window>"u")return"pc";const r=window.innerWidth;return r<768?"mb":r<1200?"tb":r<1980?"pc":"wd"},getFilledColor(){return et.componentStyle.filledColor},getEmptyColor(){return et.componentStyle.emptyColor},getFilledTextColor(){return et.componentStyle.filledTextColor},getEmptyTextColor(){return et.componentStyle.emptyTextColor},getPrimaryColor(){return et.componentStyle.primaryColor},getPrimaryButtonColor(){return et.componentStyle.componentColor.primary.buttonColor},getPrimaryBorderColor(){return et.componentStyle.componentColor.primary.borderColor},getPrimaryShadowColor(){return et.componentStyle.componentColor.primary.shadowColor},getPrimaryHoverColor(){return et.componentStyle.componentColor.primary.hoverColor},getPrimaryActiveColor(){return et.componentStyle.componentColor.primary.activeColor},getPrimaryRowHoverColor(){return et.componentStyle.componentColor.primary.rowHoverColor},getPrimaryStripeColor(){return et.componentStyle.componentColor.primary.stripeColor},getMutedColor(){return et.componentStyle.mutedColor},getMutedButtonColor(){return et.componentStyle.componentColor.muted.buttonColor},getMutedBorderColor(){return et.componentStyle.componentColor.muted.borderColor},getMutedShadowColor(){return et.componentStyle.componentColor.muted.shadowColor},getMutedHoverColor(){return et.componentStyle.componentColor.muted.hoverColor},getMutedActiveColor(){return et.componentStyle.componentColor.muted.activeColor},getMutedRowHoverColor(){return et.componentStyle.componentColor.muted.rowHoverColor},getMutedStripeColor(){return et.componentStyle.componentColor.muted.stripeColor},getInfoColor(){return et.componentStyle.infoColor},getInfoButtonColor(){return et.componentStyle.componentColor.info.buttonColor},getInfoBorderColor(){return et.componentStyle.componentColor.info.borderColor},getInfoShadowColor(){return et.componentStyle.componentColor.info.shadowColor},getInfoHoverColor(){return et.componentStyle.componentColor.info.hoverColor},getInfoActiveColor(){return et.componentStyle.componentColor.info.activeColor},getInfoRowHoverColor(){return et.componentStyle.componentColor.info.rowHoverColor},getInfoStripeColor(){return et.componentStyle.componentColor.info.stripeColor},getSuccessColor(){return et.componentStyle.successColor},getSuccessButtonColor(){return et.componentStyle.componentColor.success.buttonColor},getSuccessBorderColor(){return et.componentStyle.componentColor.success.borderColor},getSuccessShadowColor(){return et.componentStyle.componentColor.success.shadowColor},getSuccessHoverColor(){return et.componentStyle.componentColor.success.hoverColor},getSuccessActiveColor(){return et.componentStyle.componentColor.success.activeColor},getSuccessRowHoverColor(){return et.componentStyle.componentColor.success.rowHoverColor},getSuccessStripeColor(){return et.componentStyle.componentColor.success.stripeColor},getDangerColor(){return et.componentStyle.dangerColor},getDangerButtonColor(){return et.componentStyle.componentColor.danger.buttonColor},getDangerBorderColor(){return et.componentStyle.componentColor.danger.borderColor},getDangerShadowColor(){return et.componentStyle.componentColor.danger.shadowColor},getDangerHoverColor(){return et.componentStyle.componentColor.danger.hoverColor},getDangerActiveColor(){return et.componentStyle.componentColor.danger.activeColor},getDangerRowHoverColor(){return et.componentStyle.componentColor.danger.rowHoverColor},getDangerStripeColor(){return et.componentStyle.componentColor.danger.stripeColor},getWarningColor(){return et.componentStyle.warningColor},getWarningButtonColor(){return et.componentStyle.componentColor.warning.buttonColor},getWarningBorderColor(){return et.componentStyle.componentColor.warning.borderColor},getWarningShadowColor(){return et.componentStyle.componentColor.warning.shadowColor},getWarningHoverColor(){return et.componentStyle.componentColor.warning.hoverColor},getWarningActiveColor(){return et.componentStyle.componentColor.warning.activeColor},getWarningRowHoverColor(){return et.componentStyle.componentColor.warning.rowHoverColor},getWarningStripeColor(){return et.componentStyle.componentColor.warning.stripeColor},getCustom1Color(){return et.componentStyle.custom1Color},getCustom1ButtonColor(){return et.componentStyle.componentColor.custom1.buttonColor},getCustom1BorderColor(){return et.componentStyle.componentColor.custom1.borderColor},getCustom1ShadowColor(){return et.componentStyle.componentColor.custom1.shadowColor},getCustom1HoverColor(){return et.componentStyle.componentColor.custom1.hoverColor},getCustom1ActiveColor(){return et.componentStyle.componentColor.custom1.activeColor},getCustom1RowHoverColor(){return et.componentStyle.componentColor.custom1.rowHoverColor},getCustom1StripeColor(){return et.componentStyle.componentColor.custom1.stripeColor},getCustom2Color(){return et.componentStyle.custom2Color},getCustom2ButtonColor(){return et.componentStyle.componentColor.custom2.buttonColor},getCustom2BorderColor(){return et.componentStyle.componentColor.custom2.borderColor},getCustom2ShadowColor(){return et.componentStyle.componentColor.custom2.shadowColor},getCustom2HoverColor(){return et.componentStyle.componentColor.custom2.hoverColor},getCustom2ActiveColor(){return et.componentStyle.componentColor.custom2.activeColor},getCustom2RowHoverColor(){return et.componentStyle.componentColor.custom2.rowHoverColor},getCustom2StripeColor(){return et.componentStyle.componentColor.custom2.stripeColor},getCustom3Color(){return et.componentStyle.custom3Color},getCustom3ButtonColor(){return et.componentStyle.componentColor.custom3.buttonColor},getCustom3BorderColor(){return et.componentStyle.componentColor.custom3.borderColor},getCustom3ShadowColor(){return et.componentStyle.componentColor.custom3.shadowColor},getCustom3HoverColor(){return et.componentStyle.componentColor.custom3.hoverColor},getCustom3ActiveColor(){return et.componentStyle.componentColor.custom3.activeColor},getCustom3RowHoverColor(){return et.componentStyle.componentColor.custom3.rowHoverColor},getCustom3StripeColor(){return et.componentStyle.componentColor.custom3.stripeColor},getCustom4Color(){return et.componentStyle.custom4Color},getCustom4ButtonColor(){return et.componentStyle.componentColor.custom4.buttonColor},getCustom4BorderColor(){return et.componentStyle.componentColor.custom4.borderColor},getCustom4ShadowColor(){return et.componentStyle.componentColor.custom4.shadowColor},getCustom4HoverColor(){return et.componentStyle.componentColor.custom4.hoverColor},getCustom4ActiveColor(){return et.componentStyle.componentColor.custom4.activeColor},getCustom4RowHoverColor(){return et.componentStyle.componentColor.custom4.rowHoverColor},getCustom4StripeColor(){return et.componentStyle.componentColor.custom4.stripeColor},getCustom5Color(){return et.componentStyle.custom5Color},getCustom5ButtonColor(){return et.componentStyle.componentColor.custom5.buttonColor},getCustom5BorderColor(){return et.componentStyle.componentColor.custom5.borderColor},getCustom5ShadowColor(){return et.componentStyle.componentColor.custom5.shadowColor},getCustom5HoverColor(){return et.componentStyle.componentColor.custom5.hoverColor},getCustom5ActiveColor(){return et.componentStyle.componentColor.custom5.activeColor},getCustom5RowHoverColor(){return et.componentStyle.componentColor.custom5.rowHoverColor},getCustom5StripeColor(){return et.componentStyle.componentColor.custom5.stripeColor},isInvertColor(){return et.componentStyle.invertColor}},e.component={},e.component.getAccordion=r=>et.component.accordionList[r],e.component.getBaggie=r=>et.component.baggieList[r],e.component.getBanner=r=>et.component.bannerList[r],e.component.getButton=r=>et.component.buttonList[r],e.component.getCalendar=r=>et.component.calendarList[r],e.component.getCaption=r=>et.component.captionList[r],e.component.getChart=r=>et.component.chartList[r],e.component.getDrawer=r=>et.component.drawerList[r],e.component.getDropdown=r=>et.component.dropdownList[r],e.component.getGap=r=>et.component.gapList[r],e.component.getFileset=r=>et.component.filesetList[r],e.component.getGrid=r=>et.grid.getGrid(r),e.component.getImagebox=r=>et.component.imageboxList[r],e.component.getInput=r=>et.component.inputList[r],e.component.getInputGroup=r=>et.component.inputGroupList[r],e.component.getLabel=r=>et.component.labelList[r],e.component.getLayout=r=>et.component.layoutList[r],e.component.getList=r=>et.component.listList[r],e.component.getModal=r=>et.component.modalList[r],e.component.getNote=r=>et.note.getNote(r),e.component.getPagination=r=>et.component.paginationList[r],e.component.getParagraph=r=>et.component.paragraphList[r],e.component.getPopup=r=>et.component.popupList[r],e.component.getSpinner=r=>et.component.spinnerList[r],e.component.getTable=r=>et.component.tableList[r]},Dc=xe(()=>Promise.resolve().then(()=>require("./HAccordion-Bb5EQl3Q.js")),"HAccordion"),zc=xe(()=>Promise.resolve().then(()=>require("./HBaggie-e3WlKWB5.js")),"HBaggie"),Uc=xe(()=>Promise.resolve().then(()=>require("./HBanner-CkDsf505.js")),"HBanner"),Gc=xe(()=>Promise.resolve().then(()=>require("./HButton-pdDP3xI3.js")),"HButton"),jc=xe(()=>Promise.resolve().then(()=>require("./HCalendar-k8W3KKtT.js")),"HCalendar"),Wc=xe(()=>Promise.resolve().then(()=>require("./HCaption-SDbWenvp.js")),"HCaption"),qc=xe(()=>Promise.resolve().then(()=>require("./HChart-Cg6WvF-m.js")),"HChart"),$c=xe(()=>Promise.resolve().then(()=>require("./HDrawer-CdXPUYKs.js")),"HDrawer"),Yc=xe(()=>Promise.resolve().then(()=>require("./HDropdown-Crtq97na.js")),"HDropdown"),Kc=xe(()=>Promise.resolve().then(()=>require("./HFileset-CQPVTrc0.js")),"HFileset"),Xc=xe(()=>Promise.resolve().then(()=>require("./HGap-D2VPEhTy.js")),"HGap"),Jc=xe(()=>Promise.resolve().then(()=>require("./HGrid-9WW04j6i.js")),"HGrid"),Zc=xe(()=>Promise.resolve().then(()=>require("./HImagebox-Dn6okVVd.js")),"HImagebox"),Qc=xe(()=>Promise.resolve().then(()=>require("./HInput-D-WhZgWg.js")),"HInput"),td=xe(()=>Promise.resolve().then(()=>require("./HInputGroup-CMOBOaIy.js")),"HInputGroup"),ed=xe(()=>Promise.resolve().then(()=>require("./HLabel-CdRo92gc.js")),"HLabel"),nd=xe(()=>Promise.resolve().then(()=>require("./HLayout-BCjLoYqu.js")),"HLayout"),od=xe(()=>Promise.resolve().then(()=>require("./HList-BARBWvNB.js")),"HList"),rd=xe(()=>Promise.resolve().then(()=>require("./HModal-BQC6Dwcw.js")),"HModal"),id=xe(()=>Promise.resolve().then(()=>require("./HNote-DpqAofRU.js")),"HNote"),ad=xe(()=>Promise.resolve().then(()=>require("./HPagination-v-NFDeDA.js")),"HPagination"),ld=xe(()=>Promise.resolve().then(()=>require("./HParagraph-CdOVGIlk.js")),"HParagraph"),sd=xe(()=>Promise.resolve().then(()=>require("./HPopup-CNt-lvtH.js")),"HPopup"),cd=xe(()=>Promise.resolve().then(()=>require("./HSpinner-meptBXhz.js")),"HSpinner"),dd=xe(()=>Promise.resolve().then(()=>require("./HTable-TGIonXp7.js")),"HTable"),cn=Je.createHison(),vy={install(e,t){const n=Pc();t=t?ss(n,t):n,gy(t),_y(cn,t),typeof window<"u"&&ta(),py(),e.provide("hison",cn),e.component("HAccordion",Dc),e.component("HBaggie",zc),e.component("HBanner",Uc),e.component("HButton",Gc),e.component("HCalendar",jc),e.component("HCaption",Wc),e.component("HChart",qc),e.component("HDrawer",$c),e.component("HDropdown",Yc),e.component("HFileset",Kc),e.component("HGap",Xc),e.component("HGrid",Jc),e.component("HImagebox",Zc),e.component("HInput",Qc),e.component("HInputGroup",td),e.component("HLabel",ed),e.component("HLayout",nd),e.component("HList",od),e.component("HModal",rd),e.component("HNote",id),e.component("HPagination",ad),e.component("HParagraph",ld),e.component("HPopup",sd),e.component("HSpinner",cd),e.component("HTable",dd)}};exports.BACKGROUND_TYPE_VALUES=Kd;exports.BACK_IMAGE_ALIGN_VALUES=qd;exports.BACK_IMAGE_STYLE_VALUES=Yd;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=$d;exports.BackImageAlign=hs;exports.BackImageRepeat=ys;exports.BackImageVerticalAlign=gs;exports.BackgroundType=ps;exports.COLOR_SET_VALUES=fu;exports.CSS_VAR_RE=Ts;exports.Chart=hn;exports.Color=ms;exports.DATA_STATUS_VALUES=hu;exports.DROPDOWN_TRIGGER_VALUES=iu;exports.DataStatus=Bs;exports.DayOfWeek=Ls;exports.DropdownTrigger=Es;exports.EDIT_MODE_VALUES=ru;exports.EditMode=Is;exports.GRID_ALIGN_VALUES=du;exports.GRID_DATE_FORMAT_VALUES=su;exports.GRID_MONTH_FORMAT_VALUES=cu;exports.GRID_VERTICAL_ALIGN_VALUES=uu;exports.HAccordionClientOnly=Dc;exports.HBaggieClientOnly=zc;exports.HBannerClientOnly=Uc;exports.HButtonClientOnly=Gc;exports.HCalendarClientOnly=jc;exports.HCalendarTimeFormat=Rs;exports.HCalendarView=Ns;exports.HCaptionClientOnly=Wc;exports.HChartClientOnly=qc;exports.HDrawerClientOnly=$c;exports.HDropdownClientOnly=Yc;exports.HEX_COLOR_RE=As;exports.HFilesetClientOnly=Kc;exports.HGapClientOnly=Xc;exports.HGapLine=xs;exports.HGapLineStyle=Ss;exports.HGridClientOnly=Jc;exports.HImageboxClientOnly=Zc;exports.HInputClientOnly=Qc;exports.HInputGroupClientOnly=td;exports.HLabelClientOnly=ed;exports.HLayoutClientOnly=nd;exports.HListClientOnly=od;exports.HModalClientOnly=rd;exports.HNoteClientOnly=id;exports.HPaginationClientOnly=ad;exports.HParagraphClientOnly=ld;exports.HPopupClientOnly=sd;exports.HSpinnerClientOnly=cd;exports.HTableClientOnly=dd;exports.H_CALENDAR_TIME_FORMAT_VALUES=yu;exports.H_CALENDAR_VIEW_VALUES=gu;exports.H_GAP_LINE_STYLE_VALUES=nu;exports.H_GAP_RULE_VALUES=eu;exports.Hisonjs_bundleExports=Je;exports.INPUT_TYPE_VALUES=ou;exports.InputType=ks;exports.MODAL_PLACEMENT_VALUES=Xd;exports.ModalPlacement=_s;exports.NOTE_MODE_BY_DEVICE_VALUES=pu;exports.SCREEN_POSITION_VALUES=Jd;exports.SELECTION_POLICY_VALUES=lu;exports.SPINNER_TYPE_VALUES=Zd;exports.ScreenPosition=vs;exports.Size=Hn;exports.SpinnerType=bs;exports.TEXT_ALIGN_VALUES=au;exports.TOOL_POSITION_VALUES=_u;exports.TextAlign=ws;exports.VERTICAL_ALIGN_VALUES=Qd;exports.Vanillagrid2_bundleExports=ea;exports.Vanillanote2_bundleExports=oa;exports.VerticalAlign=Cs;exports.WHITE_SPACE_VALUES=tu;exports.WhiteSpace=Ms;exports.addComponentNameToClass=Ad;exports.applyOpacityToRgba=Fd;exports.extractPrefixedClasses=Td;exports.extractResponsiveClasses=wd;exports.getDefaultHisonConfig=Pc;exports.getDigitsOnly=Sd;exports.getHexCodeFromColorText=Nd;exports.getIndexSpecificClassNameFromClassList=cs;exports.getInvertColor=Ue;exports.getMaskValue=xd;exports.getRGBAFromColorText=Rd;exports.getSpecificClassValueFromClassList=Ed;exports.getUUID=bd;exports.hison=cn;exports.hisonCloser=et;exports.hisonvue=vy;exports.isCssColorLike=mu;exports.isNullOrUndefined=vd;exports.normalizeToRgba=Pe;exports.registerReloadable=Od;exports.registerRestyle=Pd;exports.reloadHisonComponent=Gd;exports.toClassString=ds;exports.unregisterReloadable=Vd;exports.unregisterRestyle=Dd;exports.useDevice=yy;
209
+ `.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)},_y=(e,t)=>{yd(e,t),e.setMaxFilesetSize=r=>{et.componentConfig.filesetSize=r},e.setMaxFilesetTotalSize=r=>{et.componentConfig.filesetTotalSize=r},e.getMaxFilesetSize=()=>et.componentConfig.filesetSize,e.getMaxFilesetTotalSize=()=>et.componentConfig.filesetTotalSize,e.cssEvent={setButtonOnBefoerFocus(r){et.event.cssEvent.button_onBeforeFocus=r},setButtonOnAfterFocus(r){et.event.cssEvent.button_onAfterFocus=r},setButtonOnBefoerBlur(r){et.event.cssEvent.button_onBeforeBlur=r},setButtonOnAfterBlur(r){et.event.cssEvent.button_onAfterBlur=r},setButtonOnBefoerClick(r){et.event.cssEvent.button_onBeforeClick=r},setButtonOnAfterClick(r){et.event.cssEvent.button_onAfterClick=r},setButtonOnBeforeMouseover(r){et.event.cssEvent.button_onBeforeMouseover=r},setButtonOnAfterMouseover(r){et.event.cssEvent.button_onAfterMouseover=r},setButtonOnBeforeMouseout(r){et.event.cssEvent.button_onBeforeMouseout=r},setButtonOnAfterMouseout(r){et.event.cssEvent.button_onAfterMouseout=r},setButtonOnBeforeTouchstart(r){et.event.cssEvent.button_onBeforeTouchstart=r},setButtonOnAfterTouchstart(r){et.event.cssEvent.button_onAfterTouchstart=r},setButtonOnBeforeTouchend(r){et.event.cssEvent.button_onBeforeTouchend=r},setButtonOnAfterTouchend(r){et.event.cssEvent.button_onAfterTouchend=r},setInputOnBefoerFocus(r){et.event.cssEvent.input_onBeforeFocus=r},setInputOnAfterFocus(r){et.event.cssEvent.input_onAfterFocus=r},setInputOnBefoerBlur(r){et.event.cssEvent.input_onBeforeBlur=r},setInputOnAfterBlur(r){et.event.cssEvent.input_onAfterBlur=r},setInputOnBeforeMouseover(r){et.event.cssEvent.input_onBeforeMouseover=r},setInputOnAfterMouseover(r){et.event.cssEvent.input_onAfterMouseover=r},setInputOnBeforeMouseout(r){et.event.cssEvent.input_onBeforeMouseout=r},setInputOnAfterMouseout(r){et.event.cssEvent.input_onAfterMouseout=r},setInputOnBeforeTouchstart(r){et.event.cssEvent.input_onBeforeTouchstart=r},setInputOnAfterTouchstart(r){et.event.cssEvent.input_onAfterTouchstart=r},setInputOnBeforeTouchend(r){et.event.cssEvent.input_onBeforeTouchend=r},setInputOnAfterTouchend(r){et.event.cssEvent.input_onAfterTouchend=r}};const n=()=>{typeof window<"u"&&(ta(),zd())},o=()=>{typeof window<"u"&&(ta(),Ud())};e.style={setSize(r){et.componentStyle.size=r,n()},setFilledColor(r){et.componentStyle.filledColor=r,o()},setEmptyColor(r){et.componentStyle.emptyColor=r,o()},setFilledTextColor(r){et.componentStyle.filledTextColor=r,o()},setEmptyTextColor(r){et.componentStyle.emptyTextColor=r,o()},setPrimaryColor(r){et.componentStyle.primaryColor=r,o()},setMutedColor(r){et.componentStyle.mutedColor=r,o()},setInfoColor(r){et.componentStyle.infoColor=r,o()},setSuccessColor(r){et.componentStyle.successColor=r,o()},setDangerColor(r){et.componentStyle.dangerColor=r,o()},setWarningColor(r){et.componentStyle.warningColor=r,o()},setCustom1Color(r){et.componentStyle.custom1Color=r,o()},setCustom2Color(r){et.componentStyle.custom2Color=r,o()},setCustom3Color(r){et.componentStyle.custom3Color=r,o()},setCustom4Color(r){et.componentStyle.custom4Color=r,o()},setCustom5Color(r){et.componentStyle.custom5Color=r,o()},setInvertColor(r){et.componentStyle.invertColor=r,o()},getDeviceType(){if(typeof window>"u")return"pc";const r=window.innerWidth;return r<768?"mb":r<1200?"tb":r<1980?"pc":"wd"},getFilledColor(){return et.componentStyle.filledColor},getEmptyColor(){return et.componentStyle.emptyColor},getFilledTextColor(){return et.componentStyle.filledTextColor},getEmptyTextColor(){return et.componentStyle.emptyTextColor},getPrimaryColor(){return et.componentStyle.primaryColor},getPrimaryButtonColor(){return et.componentStyle.componentColor.primary.buttonColor},getPrimaryBorderColor(){return et.componentStyle.componentColor.primary.borderColor},getPrimaryShadowColor(){return et.componentStyle.componentColor.primary.shadowColor},getPrimaryHoverColor(){return et.componentStyle.componentColor.primary.hoverColor},getPrimaryActiveColor(){return et.componentStyle.componentColor.primary.activeColor},getPrimaryRowHoverColor(){return et.componentStyle.componentColor.primary.rowHoverColor},getPrimaryStripeColor(){return et.componentStyle.componentColor.primary.stripeColor},getMutedColor(){return et.componentStyle.mutedColor},getMutedButtonColor(){return et.componentStyle.componentColor.muted.buttonColor},getMutedBorderColor(){return et.componentStyle.componentColor.muted.borderColor},getMutedShadowColor(){return et.componentStyle.componentColor.muted.shadowColor},getMutedHoverColor(){return et.componentStyle.componentColor.muted.hoverColor},getMutedActiveColor(){return et.componentStyle.componentColor.muted.activeColor},getMutedRowHoverColor(){return et.componentStyle.componentColor.muted.rowHoverColor},getMutedStripeColor(){return et.componentStyle.componentColor.muted.stripeColor},getInfoColor(){return et.componentStyle.infoColor},getInfoButtonColor(){return et.componentStyle.componentColor.info.buttonColor},getInfoBorderColor(){return et.componentStyle.componentColor.info.borderColor},getInfoShadowColor(){return et.componentStyle.componentColor.info.shadowColor},getInfoHoverColor(){return et.componentStyle.componentColor.info.hoverColor},getInfoActiveColor(){return et.componentStyle.componentColor.info.activeColor},getInfoRowHoverColor(){return et.componentStyle.componentColor.info.rowHoverColor},getInfoStripeColor(){return et.componentStyle.componentColor.info.stripeColor},getSuccessColor(){return et.componentStyle.successColor},getSuccessButtonColor(){return et.componentStyle.componentColor.success.buttonColor},getSuccessBorderColor(){return et.componentStyle.componentColor.success.borderColor},getSuccessShadowColor(){return et.componentStyle.componentColor.success.shadowColor},getSuccessHoverColor(){return et.componentStyle.componentColor.success.hoverColor},getSuccessActiveColor(){return et.componentStyle.componentColor.success.activeColor},getSuccessRowHoverColor(){return et.componentStyle.componentColor.success.rowHoverColor},getSuccessStripeColor(){return et.componentStyle.componentColor.success.stripeColor},getDangerColor(){return et.componentStyle.dangerColor},getDangerButtonColor(){return et.componentStyle.componentColor.danger.buttonColor},getDangerBorderColor(){return et.componentStyle.componentColor.danger.borderColor},getDangerShadowColor(){return et.componentStyle.componentColor.danger.shadowColor},getDangerHoverColor(){return et.componentStyle.componentColor.danger.hoverColor},getDangerActiveColor(){return et.componentStyle.componentColor.danger.activeColor},getDangerRowHoverColor(){return et.componentStyle.componentColor.danger.rowHoverColor},getDangerStripeColor(){return et.componentStyle.componentColor.danger.stripeColor},getWarningColor(){return et.componentStyle.warningColor},getWarningButtonColor(){return et.componentStyle.componentColor.warning.buttonColor},getWarningBorderColor(){return et.componentStyle.componentColor.warning.borderColor},getWarningShadowColor(){return et.componentStyle.componentColor.warning.shadowColor},getWarningHoverColor(){return et.componentStyle.componentColor.warning.hoverColor},getWarningActiveColor(){return et.componentStyle.componentColor.warning.activeColor},getWarningRowHoverColor(){return et.componentStyle.componentColor.warning.rowHoverColor},getWarningStripeColor(){return et.componentStyle.componentColor.warning.stripeColor},getCustom1Color(){return et.componentStyle.custom1Color},getCustom1ButtonColor(){return et.componentStyle.componentColor.custom1.buttonColor},getCustom1BorderColor(){return et.componentStyle.componentColor.custom1.borderColor},getCustom1ShadowColor(){return et.componentStyle.componentColor.custom1.shadowColor},getCustom1HoverColor(){return et.componentStyle.componentColor.custom1.hoverColor},getCustom1ActiveColor(){return et.componentStyle.componentColor.custom1.activeColor},getCustom1RowHoverColor(){return et.componentStyle.componentColor.custom1.rowHoverColor},getCustom1StripeColor(){return et.componentStyle.componentColor.custom1.stripeColor},getCustom2Color(){return et.componentStyle.custom2Color},getCustom2ButtonColor(){return et.componentStyle.componentColor.custom2.buttonColor},getCustom2BorderColor(){return et.componentStyle.componentColor.custom2.borderColor},getCustom2ShadowColor(){return et.componentStyle.componentColor.custom2.shadowColor},getCustom2HoverColor(){return et.componentStyle.componentColor.custom2.hoverColor},getCustom2ActiveColor(){return et.componentStyle.componentColor.custom2.activeColor},getCustom2RowHoverColor(){return et.componentStyle.componentColor.custom2.rowHoverColor},getCustom2StripeColor(){return et.componentStyle.componentColor.custom2.stripeColor},getCustom3Color(){return et.componentStyle.custom3Color},getCustom3ButtonColor(){return et.componentStyle.componentColor.custom3.buttonColor},getCustom3BorderColor(){return et.componentStyle.componentColor.custom3.borderColor},getCustom3ShadowColor(){return et.componentStyle.componentColor.custom3.shadowColor},getCustom3HoverColor(){return et.componentStyle.componentColor.custom3.hoverColor},getCustom3ActiveColor(){return et.componentStyle.componentColor.custom3.activeColor},getCustom3RowHoverColor(){return et.componentStyle.componentColor.custom3.rowHoverColor},getCustom3StripeColor(){return et.componentStyle.componentColor.custom3.stripeColor},getCustom4Color(){return et.componentStyle.custom4Color},getCustom4ButtonColor(){return et.componentStyle.componentColor.custom4.buttonColor},getCustom4BorderColor(){return et.componentStyle.componentColor.custom4.borderColor},getCustom4ShadowColor(){return et.componentStyle.componentColor.custom4.shadowColor},getCustom4HoverColor(){return et.componentStyle.componentColor.custom4.hoverColor},getCustom4ActiveColor(){return et.componentStyle.componentColor.custom4.activeColor},getCustom4RowHoverColor(){return et.componentStyle.componentColor.custom4.rowHoverColor},getCustom4StripeColor(){return et.componentStyle.componentColor.custom4.stripeColor},getCustom5Color(){return et.componentStyle.custom5Color},getCustom5ButtonColor(){return et.componentStyle.componentColor.custom5.buttonColor},getCustom5BorderColor(){return et.componentStyle.componentColor.custom5.borderColor},getCustom5ShadowColor(){return et.componentStyle.componentColor.custom5.shadowColor},getCustom5HoverColor(){return et.componentStyle.componentColor.custom5.hoverColor},getCustom5ActiveColor(){return et.componentStyle.componentColor.custom5.activeColor},getCustom5RowHoverColor(){return et.componentStyle.componentColor.custom5.rowHoverColor},getCustom5StripeColor(){return et.componentStyle.componentColor.custom5.stripeColor},isInvertColor(){return et.componentStyle.invertColor}},e.component={},e.component.getAccordion=r=>et.component.accordionList[r],e.component.getBaggie=r=>et.component.baggieList[r],e.component.getBanner=r=>et.component.bannerList[r],e.component.getButton=r=>et.component.buttonList[r],e.component.getCalendar=r=>et.component.calendarList[r],e.component.getCaption=r=>et.component.captionList[r],e.component.getChart=r=>et.component.chartList[r],e.component.getDrawer=r=>et.component.drawerList[r],e.component.getDropdown=r=>et.component.dropdownList[r],e.component.getGap=r=>et.component.gapList[r],e.component.getFileset=r=>et.component.filesetList[r],e.component.getGrid=r=>et.grid.getGrid(r),e.component.getImagebox=r=>et.component.imageboxList[r],e.component.getInput=r=>et.component.inputList[r],e.component.getInputGroup=r=>et.component.inputGroupList[r],e.component.getLabel=r=>et.component.labelList[r],e.component.getLayout=r=>et.component.layoutList[r],e.component.getList=r=>et.component.listList[r],e.component.getModal=r=>et.component.modalList[r],e.component.getNote=r=>et.note.getNote(r),e.component.getPagination=r=>et.component.paginationList[r],e.component.getParagraph=r=>et.component.paragraphList[r],e.component.getPopup=r=>et.component.popupList[r],e.component.getSpinner=r=>et.component.spinnerList[r],e.component.getTable=r=>et.component.tableList[r]},Dc=xe(()=>Promise.resolve().then(()=>require("./HAccordion-CdANXmbD.js")),"HAccordion"),zc=xe(()=>Promise.resolve().then(()=>require("./HBaggie-WCBpNoUo.js")),"HBaggie"),Uc=xe(()=>Promise.resolve().then(()=>require("./HBanner-9vR9yrV-.js")),"HBanner"),Gc=xe(()=>Promise.resolve().then(()=>require("./HButton-CVWLkF4B.js")),"HButton"),jc=xe(()=>Promise.resolve().then(()=>require("./HCalendar-DE1RLJRV.js")),"HCalendar"),Wc=xe(()=>Promise.resolve().then(()=>require("./HCaption-w-X8fLBw.js")),"HCaption"),qc=xe(()=>Promise.resolve().then(()=>require("./HChart-DDC8arLU.js")),"HChart"),$c=xe(()=>Promise.resolve().then(()=>require("./HDrawer-C1C_I6ZW.js")),"HDrawer"),Yc=xe(()=>Promise.resolve().then(()=>require("./HDropdown-CMvFAXr9.js")),"HDropdown"),Kc=xe(()=>Promise.resolve().then(()=>require("./HFileset-CPMtrk2d.js")),"HFileset"),Xc=xe(()=>Promise.resolve().then(()=>require("./HGap-CAEmqnLB.js")),"HGap"),Jc=xe(()=>Promise.resolve().then(()=>require("./HGrid-7a376g49.js")),"HGrid"),Zc=xe(()=>Promise.resolve().then(()=>require("./HImagebox-YkMSH8t3.js")),"HImagebox"),Qc=xe(()=>Promise.resolve().then(()=>require("./HInput-xg-pCCTH.js")),"HInput"),td=xe(()=>Promise.resolve().then(()=>require("./HInputGroup-B5PxqG3_.js")),"HInputGroup"),ed=xe(()=>Promise.resolve().then(()=>require("./HLabel-CafqKGdK.js")),"HLabel"),nd=xe(()=>Promise.resolve().then(()=>require("./HLayout-CZ_Lavhh.js")),"HLayout"),od=xe(()=>Promise.resolve().then(()=>require("./HList-DRtW3MYz.js")),"HList"),rd=xe(()=>Promise.resolve().then(()=>require("./HModal-CHWez8oN.js")),"HModal"),id=xe(()=>Promise.resolve().then(()=>require("./HNote-CYQTP_XV.js")),"HNote"),ad=xe(()=>Promise.resolve().then(()=>require("./HPagination-Dj3BGXk-.js")),"HPagination"),ld=xe(()=>Promise.resolve().then(()=>require("./HParagraph-C9pHDlin.js")),"HParagraph"),sd=xe(()=>Promise.resolve().then(()=>require("./HPopup-C54E3Anx.js")),"HPopup"),cd=xe(()=>Promise.resolve().then(()=>require("./HSpinner-BD3SWWOl.js")),"HSpinner"),dd=xe(()=>Promise.resolve().then(()=>require("./HTable-XVuifCzm.js")),"HTable"),cn=Je.createHison(),vy={install(e,t){const n=Pc();t=t?ss(n,t):n,gy(t),_y(cn,t),typeof window<"u"&&ta(),py(),e.provide("hison",cn),e.component("HAccordion",Dc),e.component("HBaggie",zc),e.component("HBanner",Uc),e.component("HButton",Gc),e.component("HCalendar",jc),e.component("HCaption",Wc),e.component("HChart",qc),e.component("HDrawer",$c),e.component("HDropdown",Yc),e.component("HFileset",Kc),e.component("HGap",Xc),e.component("HGrid",Jc),e.component("HImagebox",Zc),e.component("HInput",Qc),e.component("HInputGroup",td),e.component("HLabel",ed),e.component("HLayout",nd),e.component("HList",od),e.component("HModal",rd),e.component("HNote",id),e.component("HPagination",ad),e.component("HParagraph",ld),e.component("HPopup",sd),e.component("HSpinner",cd),e.component("HTable",dd)}};exports.BACKGROUND_TYPE_VALUES=Kd;exports.BACK_IMAGE_ALIGN_VALUES=qd;exports.BACK_IMAGE_STYLE_VALUES=Yd;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=$d;exports.BackImageAlign=hs;exports.BackImageRepeat=ys;exports.BackImageVerticalAlign=gs;exports.BackgroundType=ps;exports.COLOR_SET_VALUES=fu;exports.CSS_VAR_RE=Ts;exports.Chart=hn;exports.Color=ms;exports.DATA_STATUS_VALUES=hu;exports.DROPDOWN_TRIGGER_VALUES=iu;exports.DataStatus=Bs;exports.DayOfWeek=Ls;exports.DropdownTrigger=Es;exports.EDIT_MODE_VALUES=ru;exports.EditMode=Is;exports.GRID_ALIGN_VALUES=du;exports.GRID_DATE_FORMAT_VALUES=su;exports.GRID_MONTH_FORMAT_VALUES=cu;exports.GRID_VERTICAL_ALIGN_VALUES=uu;exports.HAccordionClientOnly=Dc;exports.HBaggieClientOnly=zc;exports.HBannerClientOnly=Uc;exports.HButtonClientOnly=Gc;exports.HCalendarClientOnly=jc;exports.HCalendarTimeFormat=Rs;exports.HCalendarView=Ns;exports.HCaptionClientOnly=Wc;exports.HChartClientOnly=qc;exports.HDrawerClientOnly=$c;exports.HDropdownClientOnly=Yc;exports.HEX_COLOR_RE=As;exports.HFilesetClientOnly=Kc;exports.HGapClientOnly=Xc;exports.HGapLine=xs;exports.HGapLineStyle=Ss;exports.HGridClientOnly=Jc;exports.HImageboxClientOnly=Zc;exports.HInputClientOnly=Qc;exports.HInputGroupClientOnly=td;exports.HLabelClientOnly=ed;exports.HLayoutClientOnly=nd;exports.HListClientOnly=od;exports.HModalClientOnly=rd;exports.HNoteClientOnly=id;exports.HPaginationClientOnly=ad;exports.HParagraphClientOnly=ld;exports.HPopupClientOnly=sd;exports.HSpinnerClientOnly=cd;exports.HTableClientOnly=dd;exports.H_CALENDAR_TIME_FORMAT_VALUES=yu;exports.H_CALENDAR_VIEW_VALUES=gu;exports.H_GAP_LINE_STYLE_VALUES=nu;exports.H_GAP_RULE_VALUES=eu;exports.Hisonjs_bundleExports=Je;exports.INPUT_TYPE_VALUES=ou;exports.InputType=ks;exports.MODAL_PLACEMENT_VALUES=Xd;exports.ModalPlacement=_s;exports.NOTE_MODE_BY_DEVICE_VALUES=pu;exports.SCREEN_POSITION_VALUES=Jd;exports.SELECTION_POLICY_VALUES=lu;exports.SPINNER_TYPE_VALUES=Zd;exports.ScreenPosition=vs;exports.Size=Hn;exports.SpinnerType=bs;exports.TEXT_ALIGN_VALUES=au;exports.TOOL_POSITION_VALUES=_u;exports.TextAlign=ws;exports.VERTICAL_ALIGN_VALUES=Qd;exports.Vanillagrid2_bundleExports=ea;exports.Vanillanote2_bundleExports=oa;exports.VerticalAlign=Cs;exports.WHITE_SPACE_VALUES=tu;exports.WhiteSpace=Ms;exports.addComponentNameToClass=Ad;exports.applyOpacityToRgba=Fd;exports.extractPrefixedClasses=Td;exports.extractResponsiveClasses=wd;exports.getDefaultHisonConfig=Pc;exports.getDigitsOnly=Sd;exports.getHexCodeFromColorText=Nd;exports.getIndexSpecificClassNameFromClassList=cs;exports.getInvertColor=Ue;exports.getMaskValue=xd;exports.getRGBAFromColorText=Rd;exports.getSpecificClassValueFromClassList=Ed;exports.getUUID=bd;exports.hison=cn;exports.hisonCloser=et;exports.hisonvue=vy;exports.isCssColorLike=mu;exports.isNullOrUndefined=vd;exports.normalizeToRgba=Pe;exports.registerReloadable=Od;exports.registerRestyle=Pd;exports.reloadHisonComponent=Gd;exports.toClassString=ds;exports.unregisterReloadable=Vd;exports.unregisterRestyle=Dd;exports.useDevice=yy;
@@ -19711,7 +19711,7 @@ const Zi = is("pc"), Iy = () => Mc(Zi), ag = () => {
19711
19711
  return ot.componentStyle.invertColor;
19712
19712
  }
19713
19713
  }, e.component = {}, e.component.getAccordion = (r) => ot.component.accordionList[r], e.component.getBaggie = (r) => ot.component.baggieList[r], e.component.getBanner = (r) => ot.component.bannerList[r], e.component.getButton = (r) => ot.component.buttonList[r], e.component.getCalendar = (r) => ot.component.calendarList[r], e.component.getCaption = (r) => ot.component.captionList[r], e.component.getChart = (r) => ot.component.chartList[r], e.component.getDrawer = (r) => ot.component.drawerList[r], e.component.getDropdown = (r) => ot.component.dropdownList[r], e.component.getGap = (r) => ot.component.gapList[r], e.component.getFileset = (r) => ot.component.filesetList[r], e.component.getGrid = (r) => ot.grid.getGrid(r), e.component.getImagebox = (r) => ot.component.imageboxList[r], e.component.getInput = (r) => ot.component.inputList[r], e.component.getInputGroup = (r) => ot.component.inputGroupList[r], e.component.getLabel = (r) => ot.component.labelList[r], e.component.getLayout = (r) => ot.component.layoutList[r], e.component.getList = (r) => ot.component.listList[r], e.component.getModal = (r) => ot.component.modalList[r], e.component.getNote = (r) => ot.note.getNote(r), e.component.getPagination = (r) => ot.component.paginationList[r], e.component.getParagraph = (r) => ot.component.paragraphList[r], e.component.getPopup = (r) => ot.component.popupList[r], e.component.getSpinner = (r) => ot.component.spinnerList[r], e.component.getTable = (r) => ot.component.tableList[r];
19714
- }, cg = xe(() => import("./HAccordion-BkEvH6Ey.mjs"), "HAccordion"), dg = xe(() => import("./HBaggie-CfeAvM0z.mjs"), "HBaggie"), ug = xe(() => import("./HBanner-xCcVSety.mjs"), "HBanner"), fg = xe(() => import("./HButton-BK77iM6O.mjs"), "HButton"), mg = xe(() => import("./HCalendar-D5o7cn04.mjs"), "HCalendar"), hg = xe(() => import("./HCaption-CVmGUpim.mjs"), "HCaption"), gg = xe(() => import("./HChart-BAZ_mje0.mjs"), "HChart"), yg = xe(() => import("./HDrawer-CuYTcazp.mjs"), "HDrawer"), pg = xe(() => import("./HDropdown-trpRIODH.mjs"), "HDropdown"), _g = xe(() => import("./HFileset-yDnoWeFJ.mjs"), "HFileset"), vg = xe(() => import("./HGap-DM1hp0HZ.mjs"), "HGap"), bg = xe(() => import("./HGrid-OT55Vyqy.mjs"), "HGrid"), Cg = xe(() => import("./HImagebox-DXnfszdl.mjs"), "HImagebox"), Mg = xe(() => import("./HInput-DxqBZopO.mjs"), "HInput"), xg = xe(() => import("./HInputGroup-kjL_gkY3.mjs"), "HInputGroup"), Sg = xe(() => import("./HLabel-CuOsomVK.mjs"), "HLabel"), kg = xe(() => import("./HLayout-SDUsOGH9.mjs"), "HLayout"), Ig = xe(() => import("./HList-Cebfzf83.mjs"), "HList"), wg = xe(() => import("./HModal-BPmK-z7W.mjs"), "HModal"), Eg = xe(() => import("./HNote-DcZpFM82.mjs"), "HNote"), Ag = xe(() => import("./HPagination-DzGUrGXP.mjs"), "HPagination"), Tg = xe(() => import("./HParagraph-W9TnHmze.mjs"), "HParagraph"), Bg = xe(() => import("./HPopup-CXxinQhO.mjs"), "HPopup"), Lg = xe(() => import("./HSpinner-DsolJ5Oc.mjs"), "HSpinner"), Ng = xe(() => import("./HTable-f_QsXz2G.mjs"), "HTable"), mn = en.createHison(), wy = {
19714
+ }, cg = xe(() => import("./HAccordion-BPdV7a2W.mjs"), "HAccordion"), dg = xe(() => import("./HBaggie-CGqKXPiZ.mjs"), "HBaggie"), ug = xe(() => import("./HBanner-DbXA5COI.mjs"), "HBanner"), fg = xe(() => import("./HButton-BbxLtmRr.mjs"), "HButton"), mg = xe(() => import("./HCalendar-DWLHVlx_.mjs"), "HCalendar"), hg = xe(() => import("./HCaption-4uc6nL4A.mjs"), "HCaption"), gg = xe(() => import("./HChart-BDITHtsj.mjs"), "HChart"), yg = xe(() => import("./HDrawer-3GiwT60E.mjs"), "HDrawer"), pg = xe(() => import("./HDropdown-zB6_-GNT.mjs"), "HDropdown"), _g = xe(() => import("./HFileset-BsN3h5mB.mjs"), "HFileset"), vg = xe(() => import("./HGap-BiAAjXc2.mjs"), "HGap"), bg = xe(() => import("./HGrid-BbgsmcyM.mjs"), "HGrid"), Cg = xe(() => import("./HImagebox-wFCbPtEa.mjs"), "HImagebox"), Mg = xe(() => import("./HInput-CeSjeLqo.mjs"), "HInput"), xg = xe(() => import("./HInputGroup-DOFwnbQY.mjs"), "HInputGroup"), Sg = xe(() => import("./HLabel-CyBFpiBi.mjs"), "HLabel"), kg = xe(() => import("./HLayout-Cqr_6VcR.mjs"), "HLayout"), Ig = xe(() => import("./HList-DTAkipAc.mjs"), "HList"), wg = xe(() => import("./HModal-BLmtVwQ4.mjs"), "HModal"), Eg = xe(() => import("./HNote-DHegRrB6.mjs"), "HNote"), Ag = xe(() => import("./HPagination-CjT_YrHm.mjs"), "HPagination"), Tg = xe(() => import("./HParagraph-BcYzFF2n.mjs"), "HParagraph"), Bg = xe(() => import("./HPopup-BvtPV72x.mjs"), "HPopup"), Lg = xe(() => import("./HSpinner-CRrlblv4.mjs"), "HSpinner"), Ng = xe(() => import("./HTable-D9Ls6N7P.mjs"), "HTable"), mn = en.createHison(), wy = {
19715
19715
  install(e, t) {
19716
19716
  const n = lg();
19717
19717
  t = t ? ls(n, t) : n, ig(t), sg(mn, t), typeof window < "u" && Qi(), ag(), e.provide("hison", mn), e.component("HAccordion", cg), e.component("HBaggie", dg), e.component("HBanner", ug), e.component("HButton", fg), e.component("HCalendar", mg), e.component("HCaption", hg), e.component("HChart", gg), e.component("HDrawer", yg), e.component("HDropdown", pg), e.component("HFileset", _g), e.component("HGap", vg), e.component("HGrid", bg), e.component("HImagebox", Cg), e.component("HInput", Mg), e.component("HInputGroup", xg), e.component("HLabel", Sg), e.component("HLayout", kg), e.component("HList", Ig), e.component("HModal", wg), e.component("HNote", Eg), e.component("HPagination", Ag), e.component("HParagraph", Tg), e.component("HPopup", Bg), e.component("HSpinner", Lg), e.component("HTable", Ng);
@@ -1 +1 @@
1
- "use strict";const o=require("./index-DvM-XIAr.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)},c=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)},a=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)},d=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchstart(t)===!1){t.stopPropagation();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchstart(t)},f=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchend(t)===!1){t.stopPropagation();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchend(t)},h=t=>{const e=t.currentTarget;e.classList.remove("hison-button-on-mouseover"),e.classList.remove("hison-button-on-active")},m=t=>{r.has(t)||(r.add(t),t.addEventListener("click",a,{capture:!0}),t.addEventListener("focus",u),t.addEventListener("blur",c),t.addEventListener("mouseenter",i),t.addEventListener("mouseleave",v),t.addEventListener("touchstart",d,{passive:!0,capture:!0}),t.addEventListener("touchend",f,{passive:!0,capture:!0}),t.addEventListener("touchcancel",h,{passive:!0,capture:!0}))},E=t=>{if(!r.has(t))return;r.delete(t),t.removeEventListener("click",a,{capture:!0}),t.removeEventListener("focus",u),t.removeEventListener("blur",c),t.removeEventListener("mouseenter",i),t.removeEventListener("mouseleave",v),t.removeEventListener("touchstart",d,{capture:!0}),t.removeEventListener("touchend",f,{capture:!0}),t.removeEventListener("touchcancel",h,{capture:!0});const e=n.get(t);e&&(clearTimeout(e),n.delete(t))};exports.addButtonCssEvent=m;exports.removeButtonCssEvent=E;
1
+ "use strict";const o=require("./index-B79IAYbU.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)},c=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)},a=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)},d=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchstart(t)===!1){t.stopPropagation();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchstart(t)},f=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchend(t)===!1){t.stopPropagation();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchend(t)},h=t=>{const e=t.currentTarget;e.classList.remove("hison-button-on-mouseover"),e.classList.remove("hison-button-on-active")},m=t=>{r.has(t)||(r.add(t),t.addEventListener("click",a,{capture:!0}),t.addEventListener("focus",u),t.addEventListener("blur",c),t.addEventListener("mouseenter",i),t.addEventListener("mouseleave",v),t.addEventListener("touchstart",d,{passive:!0,capture:!0}),t.addEventListener("touchend",f,{passive:!0,capture:!0}),t.addEventListener("touchcancel",h,{passive:!0,capture:!0}))},E=t=>{if(!r.has(t))return;r.delete(t),t.removeEventListener("click",a,{capture:!0}),t.removeEventListener("focus",u),t.removeEventListener("blur",c),t.removeEventListener("mouseenter",i),t.removeEventListener("mouseleave",v),t.removeEventListener("touchstart",d,{capture:!0}),t.removeEventListener("touchend",f,{capture:!0}),t.removeEventListener("touchcancel",h,{capture:!0});const e=n.get(t);e&&(clearTimeout(e),n.delete(t))};exports.addButtonCssEvent=m;exports.removeButtonCssEvent=E;
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-CjHzPazZ.mjs";
1
+ import { h as n } from "./index-Btyg21iV.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.39",
3
+ "version": "1.1.41",
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-DvM-XIAr.js"),X=require("./setButtonCssEvent-C2lqu16u.js"),ve=require("./_plugin-vue_export-helper-BHFhmbuH.js"),ge={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},toggleStyle:{type:[String,Object,Array],required:!1},menuStyle:{type:[String,Object,Array],required:!1},itemStyle:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},editMode:{type:String,default:o.EditMode.editable,validator:n=>o.EDIT_MODE_VALUES.includes(n)},placeholder:{type:String,default:""},trigger:{type:String,default:o.DropdownTrigger.click,validator:n=>o.DROPDOWN_TRIGGER_VALUES.includes(n)},modelValue:{type:Object,required:!0},maxHeight:{type:Number,default:240,validator:n=>Number.isFinite(n)&&n>=0},closeOnSelect:{type:Boolean,default:!0},textAlign:{type:String,default:o.TextAlign.left,validator:n=>o.TEXT_ALIGN_VALUES.includes(n)},animate:{type:Boolean,default:!0},duration:{type:Number,default:500,validator:n=>Number.isFinite(n)&&n>=0},easing:{type:String,default:"ease"},tabIndex:{type:[Number,String],default:null,validator:n=>n===null||n===""||!isNaN(+n)&&isFinite(+n)},zIndex:{type:Number,default:1050}},fe=t.defineComponent({name:"HDropdown",props:ge,inheritAttrs:!1,emits:["mounted","responsive-change","open","close","toggle-click","item-click","change","update:modelValue"],setup(n,{emit:i}){var K,Y;const g=n.id||o.getUUID(),V=`hdropdown:${g}`,s=t.ref(null),p=t.ref(null),a=o.useDevice(),r=t.ref(!1),c=t.ref(((K=n.modelValue)==null?void 0:K.options)??[]),d=t.ref(((Y=n.modelValue)==null?void 0:Y.value)??null),y=t.ref(!!n.visible),b=t.ref(n.editMode),S=t.computed(()=>b.value===o.EditMode.disable),C=t.computed(()=>b.value===o.EditMode.readonly),B=t.ref(n.placeholder||""),T=t.ref(n.trigger),x=t.ref(n.textAlign??o.TextAlign.left),Z=t.computed(()=>({textAlign:x.value})),A=t.ref(n.animate??!0),E=t.ref(n.duration??500),N=t.ref(n.easing??"ease"),k=t.ref(n.tabIndex!==null&&n.tabIndex!==""?Number(n.tabIndex):null),I=t.ref(n.zIndex??1100),J=t.computed(()=>({"--hdd-duration":`${E.value}ms`,"--hdd-easing":N.value})),Q=t.computed(()=>y.value?"":"hison-display-none"),_=t.computed(()=>S.value?"hison-disable":""),ee=t.computed(()=>C.value?"hison-readonly":""),z=t.ref([]),D=()=>{z.value=o.extractResponsiveClasses(o.toClassString(n.class)||"",a.value),o.addComponentNameToClass(z.value,"size",o.hisonCloser.componentStyle.size),o.addComponentNameToClass(z.value,"color","primary")},F=t.computed(()=>{const e=c.value.find(l=>l.value===d.value);return(e==null?void 0:e.label)??""}),h=t.ref(n.maxHeight??240),te=t.computed(()=>({maxHeight:`${h.value}px`,overflowY:"auto"})),M=t.ref(n.closeOnSelect??!0),ne=t.computed(()=>{const e=c.value.findIndex(l=>l.value===d.value);return e>=0?`opt-${e}`:void 0}),j=t.ref({}),w=t.ref(!0),H=0,le=120;function oe(){if(!p.value)return 0;const e=p.value.querySelector(".hison-dropdown-panel-inner");return e&&e.scrollHeight||0}function u(){if(!r.value||!s.value)return;const e=s.value.getBoundingClientRect(),l=window.innerHeight,v=e.width,m=e.left,W=l-e.bottom,se=e.top;w.value=W>=le;const re=oe(),ue=w.value?W-H:se-H,q=Math.max(0,Math.min(re||h.value,h.value,ue)),de=w.value?e.bottom+H:e.top-q-H,ce=getComputedStyle(s.value).fontSize||"inherit";j.value={position:"fixed",left:`${m}px`,top:`${de}px`,width:`${v}px`,height:w.value?"auto":`${q}px`,maxHeight:`${q}px`,overflowY:"auto",zIndex:String(I.value),fontSize:ce,transformOrigin:w.value?"top center":"bottom center"}}function L(){r.value&&u()}const U=e=>{if(!r.value)return;const l=e.target,v=!!s.value&&!!l&&s.value.contains(l),m=!!p.value&&!!l&&p.value.contains(l);!v&&!m&&O()},R=e=>{S.value||C.value||!y.value||r.value||(r.value=!0,t.nextTick(()=>{u(),requestAnimationFrame(()=>u())}),i("open",e??null,f.value))},O=e=>{var m;if(!r.value)return;const l=document.activeElement,v=p.value;v&&l&&v.contains(l)&&((m=s.value)==null||m.focus()),r.value=!1,i("close",e??null,f.value)},$=e=>r.value?O(e):R(e),ie=e=>{T.value==="click"&&(S.value||C.value||(i("toggle-click",e,f.value),$(e)))},ae=(e,l)=>{if(e.disabled||S.value||C.value)return;l&&i("item-click",l,f.value,e);const v=d.value;if(e.value!==v){d.value=e.value;const m={value:d.value,options:t.unref(c)};i("update:modelValue",m),i("change",v,d.value,f.value)}M.value&&O(l)},f=t.ref(null),P=()=>{o.hisonCloser.component.dropdownList[g]&&o.hisonCloser.component.dropdownList[g].isHisonvueComponent&&console.warn(`[Hisonvue] The dropdown ID is at risk of being duplicated. ${g}`),o.registerReloadable(V,()=>{G(),t.nextTick(P)}),s.value&&X.addButtonCssEvent(s.value),D(),f.value={isHisonvueComponent:!0,getId:()=>g,getType:()=>"dropdown",isVisible:()=>y.value,setVisible:e=>{y.value=e},getEditMode:()=>b.value,setEditMode:e=>{b.value=e},isOpen:()=>r.value,open:R,close:O,toggle:$,getValue:()=>d.value,setValue:e=>{d.value=e},getText:()=>F.value,getOptions:()=>t.unref(c),setOptions:e=>{c.value=Array.isArray(e)?e:[]},setTriggerType:e=>{T.value=e},getMaxHeight:()=>h.value,setMaxHeight:e=>{const l=Number(e);!Number.isFinite(l)||l<0||(h.value=l,t.nextTick(u))},isCloseOnSelect:()=>M.value,setCloseOnSelect:e=>{M.value=!!e},getTextAlign:()=>x.value,setTextAlign:e=>{(e===o.TextAlign.left||e===o.TextAlign.center||e===o.TextAlign.right)&&(x.value=e,t.nextTick(u))},getAnimate:()=>A.value,setAnimate:e=>{A.value=!!e},getDuration:()=>E.value,setDuration:e=>{const l=Number(e);Number.isFinite(l)&&l>=0&&(E.value=l)},getEasing:()=>N.value,setEasing:e=>{typeof e=="string"&&(N.value=e)},getTabIndex:()=>k.value,setTabIndex:e=>{k.value=e!=null?Number(e):null},getZIndex:()=>I.value,setZIndex:e=>{I.value=e},focus:()=>{var e;(e=s.value)==null||e.focus()},reload:()=>o.reloadHisonComponent(V)},o.hisonCloser.component.dropdownList[g]=f.value,document.addEventListener("pointerdown",U),window.addEventListener("scroll",L,!0),window.addEventListener("resize",L),t.nextTick(u),i("mounted",f.value)},G=()=>{var e;o.unregisterReloadable(V);try{document.removeEventListener("pointerdown",U)}catch{}try{window.removeEventListener("scroll",L,!0)}catch{}try{window.removeEventListener("resize",L)}catch{}s.value&&X.removeButtonCssEvent(s.value),(e=o.hisonCloser.component)!=null&&e.dropdownList&&delete o.hisonCloser.component.dropdownList[g]};return t.onMounted(P),t.onBeforeUnmount(G),t.watch(()=>n.modelValue,e=>{!e||typeof e!="object"||(Array.isArray(e.options)&&(c.value=e.options),d.value=e.value,t.nextTick(u))},{deep:!0}),t.watch(a,e=>{D(),i("responsive-change",e),t.nextTick(u)}),t.watch(()=>n.visible,e=>{!!e!==y.value&&(y.value=!!e)}),t.watch(()=>n.editMode,e=>{e&&e!==b.value&&(b.value=e)}),t.watch(()=>n.placeholder,e=>{const l=e??"";l!==B.value&&(B.value=l)}),t.watch(()=>n.trigger,e=>{e&&e!==T.value&&(T.value=e)}),t.watch(()=>n.textAlign,e=>{(e===o.TextAlign.left||e===o.TextAlign.center||e===o.TextAlign.right)&&e!==x.value&&(x.value=e,t.nextTick(u))}),t.watch(()=>n.animate,e=>{const l=!!e;l!==A.value&&(A.value=l)}),t.watch(()=>n.duration,e=>{const l=Number(e);Number.isFinite(l)&&l>=0&&l!==E.value&&(E.value=l)}),t.watch(()=>n.easing,e=>{const l=typeof e=="string"?e:"ease";l!==N.value&&(N.value=l)}),t.watch(()=>n.tabIndex,e=>{const l=e===null||e===""?null:Number(e);l!==k.value&&(k.value=l)}),t.watch(()=>n.maxHeight,e=>{const l=Number(e);Number.isFinite(l)&&l>=0&&l!==h.value&&(h.value=l,t.nextTick(u))}),t.watch(()=>n.closeOnSelect,e=>{const l=!!e;l!==M.value&&(M.value=l)}),t.watch(()=>n.class,()=>{D(),t.nextTick(u)}),t.watch(()=>n.zIndex,e=>{const l=Number(e);Number.isFinite(l)&&l!==I.value&&(I.value=l)}),{toggleRef:s,menuRef:p,props:n,isDisabled:S,isReadonly:C,visibleClass:Q,disableClass:_,readonlyClass:ee,responsiveClassList:z,isOpen:r,trigger:T,selectedValue:d,selectedLabel:F,placeholder:B,activeDescId:ne,menuInlineStyle:te,options:c,animate:A,rootInlineStyle:J,tabIndex:k,fixedMenuStyle:j,openBelow:w,onToggleClick:ie,onSelect:ae,textAlignStyle:Z,open:R,close:O,toggle:$}}}),me=["aria-expanded","aria-disabled","tabindex"],pe={class:"hison-dropdown-label"},he=["aria-activedescendant","inert"],ye={class:"hison-dropdown-panel"},be=["aria-selected","onClick"],we={key:0,class:"hison-dropdown-empty"};function Se(n,i,g,V,s,p){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-dropdown",...n.responsiveClassList,n.visibleClass,n.disableClass,n.readonlyClass,n.isOpen?"hison-open":"",n.animate?"":"hison-no-anim"]),style:t.normalizeStyle([n.rootInlineStyle,n.props.style]),onMouseenter:i[3]||(i[3]=a=>n.trigger==="hover"?n.open(a):null),onMouseleave:i[4]||(i[4]=a=>n.trigger==="hover"?n.close(a):null)},[t.createElementVNode("div",{ref:"toggleRef",class:t.normalizeClass(["hison-dropdown-toggle",[n.isDisabled?"hison-disable":"",n.isReadonly?"hison-readonly":""]]),"aria-expanded":n.isOpen,role:"combobox","aria-disabled":n.isDisabled||n.isReadonly?"true":"false",tabindex:n.tabIndex??void 0,style:t.normalizeStyle([n.textAlignStyle,n.props.toggleStyle]),onClick:i[0]||(i[0]=a=>n.onToggleClick(a)),onKeydown:[i[1]||(i[1]=t.withKeys(t.withModifiers(a=>n.onToggleClick(a),["prevent"]),["enter"])),i[2]||(i[2]=t.withKeys(t.withModifiers(a=>n.onToggleClick(a),["prevent"]),["space"]))]},[t.createElementVNode("span",pe,t.toDisplayString(n.selectedLabel||n.placeholder),1),t.renderSlot(n.$slots,"caret",{},()=>[i[5]||(i[5]=t.createElementVNode("span",{class:"hison-dropdown-caret"},"▾",-1))])],46,me),t.createElementVNode("div",{ref:"menuRef",class:t.normalizeClass(["hison-dropdown-menu hison-dropdown-menu-fixed",[n.isOpen?"hison-open":"",n.openBelow?"hison-open-below":"hison-open-above"]]),style:t.normalizeStyle([n.fixedMenuStyle,n.textAlignStyle,n.props.menuStyle]),role:"listbox","aria-activedescendant":n.activeDescId,inert:!n.isOpen||void 0},[t.createElementVNode("div",ye,[t.createElementVNode("div",{class:"hison-dropdown-panel-inner",style:t.normalizeStyle(n.menuInlineStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.options,(a,r)=>(t.openBlock(),t.createElementBlock("div",{key:`opt-${r}`,class:t.normalizeClass(["hison-dropdown-item",[a.disabled?"hison-disable":"",a.value===n.selectedValue?"hison-selected":""]]),style:t.normalizeStyle(n.props.itemStyle),role:"option","aria-selected":a.value===n.selectedValue?"true":"false",onClick:c=>n.onSelect(a,c)},t.toDisplayString(a.label),15,be))),128)),n.options.length===0?(t.openBlock(),t.createElementBlock("div",we,"No options")):t.createCommentVNode("",!0)],4)])],14,he)],38)}const Ce=ve._export_sfc(fe,[["render",Se]]);exports.default=Ce;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),u=require("./index-DvM-XIAr.js"),He=require("./_plugin-vue_export-helper-BHFhmbuH.js"),Oe={id:{type:String,required:!1},dataKey:{type:String,required:!1},name:{type:String,required:!1},modelValue:{type:[String,Number,Boolean,Object,Array,Date],default:null},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},title:{type:String,required:!1},inputType:{type:String,required:!1,validator:e=>u.INPUT_TYPE_VALUES.includes(e)},format:{type:String,required:!1},nullText:{type:String,default:""},maxNumber:{type:[String,Number],required:!1},minNumber:{type:[String,Number],required:!1},roundNumber:{type:[String,Number],required:!1},maxLength:{type:[String,Number],required:!1},maxByte:{type:[String,Number],required:!1},placeholder:{type:String,required:!1},placeholderColor:{type:String,default:"primary"},editMode:{type:String,default:u.EditMode.editable,validator:e=>["editable","disable","readonly"].includes(e)},required:{type:Boolean,default:!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:e=>e==null||u.TEXT_ALIGN_VALUES.includes(e)},border:{type:Boolean,default:!0},options:{type:Array,required:!1,default:()=>[]},checkedText:{type:String,default:"Y"},uncheckedText:{type:String,default:"N"},inputTextdHandler:{type:Function,default:void 0},toggleStyle:{type:String,default:"default",validator:e=>["default","switch"].includes(e)},disableAutoCapitalize:{type:Boolean,default:!1},tabIndex:{type:[Number,String],default:null,validator:e=>e===null||e===""||!isNaN(+e)&&isFinite(+e)}},Y=new WeakSet,X=new WeakSet,ue=e=>{const n=e.currentTarget;if(u.hisonCloser.event.cssEvent.input_onBeforeFocus(e)===!1){e.stopPropagation(),e.preventDefault();return}n.classList.add("hison-input-on-active"),u.hisonCloser.event.cssEvent.input_onAfterFocus(e)},le=e=>{const n=e.currentTarget;if(u.hisonCloser.event.cssEvent.input_onBeforeBlur(e)===!1){e.stopPropagation(),e.preventDefault();return}n.classList.remove("hison-input-on-active"),n.classList.remove("hison-input-on-mouseover"),u.hisonCloser.event.cssEvent.input_onAfterBlur(e)},se=e=>{const n=e.currentTarget;if(!n.readOnly){if(u.hisonCloser.event.cssEvent.input_onBeforeMouseover(e)===!1){e.stopPropagation(),e.preventDefault();return}n.classList.add("hison-input-on-mouseover"),u.hisonCloser.event.cssEvent.input_onAfterMouseover(e)}},re=e=>{const n=e.currentTarget;if(!n.readOnly){if(u.hisonCloser.event.cssEvent.input_onBeforeMouseout(e)===!1){e.stopPropagation(),e.preventDefault();return}n.classList.remove("hison-input-on-mouseover"),u.hisonCloser.event.cssEvent.input_onAfterMouseout(e)}},ae=e=>{const n=e.currentTarget;if(!n.readOnly){if(u.hisonCloser.event.cssEvent.input_onBeforeTouchstart(e)===!1){e.stopPropagation();return}n.classList.add("hison-input-on-mouseover"),u.hisonCloser.event.cssEvent.input_onAfterTouchstart(e)}},de=e=>{const n=e.currentTarget;if(!n.readOnly){if(u.hisonCloser.event.cssEvent.input_onBeforeTouchend(e)===!1){e.stopPropagation();return}n.classList.remove("hison-input-on-mouseover"),u.hisonCloser.event.cssEvent.input_onAfterTouchend(e)}},pe=e=>{const n=e.currentTarget;n.readOnly||n.classList.remove("hison-input-on-mouseover")},je=e=>{Y.has(e)||(Y.add(e),e.addEventListener("mouseenter",se),e.addEventListener("mouseleave",re),e.addEventListener("touchstart",ae,{passive:!0,capture:!0}),e.addEventListener("touchend",de,{passive:!0,capture:!0}),e.addEventListener("touchcancel",pe,{passive:!0,capture:!0}))},We=e=>{Y.has(e)&&(Y.delete(e),e.removeEventListener("mouseenter",se),e.removeEventListener("mouseleave",re),e.removeEventListener("touchstart",ae,{capture:!0}),e.removeEventListener("touchend",de,{capture:!0}),e.removeEventListener("touchcancel",pe,{capture:!0}),e.classList.remove("hison-input-on-mouseover"))},Ye=e=>{X.has(e)||(X.add(e),e.addEventListener("focus",ue),e.addEventListener("blur",le))},Xe=e=>{X.has(e)&&(X.delete(e),e.removeEventListener("focus",ue),e.removeEventListener("blur",le),e.classList.remove("hison-input-on-active"),e.classList.remove("hison-input-on-mouseover"))},Je=i.defineComponent({name:"HInput",props:Oe,inheritAttrs:!1,emits:["update:modelValue","mounted","responsive-change","click","dblclick","mousedown","mouseup","mouseenter","mouseleave","mouseover","mouseout","mousemove","pointerdown","pointerup","pointermove","pointerenter","pointerleave","touchstart","touchend","touchmove","touchcancel","focus","blur","input","change","compositionstart","compositionupdate","compositionend","keydown","keyup","dragstart","dragend","drag","drop","copy","cut","paste","wheel","contextmenu"],setup(e,{emit:n}){const v=i.ref(null),h=i.ref(null),y=i.ref(null),d=e.id?e.id:u.getUUID(),o=i.ref(e.name??d),me=i.computed(()=>o.value),b=i.ref((e.dataKey??"").trim()||d),J=`hinput:${d}`,ee=u.useDevice(),B=i.ref([]),Q=()=>{B.value=u.extractResponsiveClasses(u.toClassString(e.class)||"",ee.value),u.getIndexSpecificClassNameFromClassList(B.value,"col")===-1&&B.value.push("hison-col-12"),u.addComponentNameToClass(B.value,"size",u.hisonCloser.componentStyle.size),u.addComponentNameToClass(B.value,"color","primary")},r=i.ref(e.inputType??u.InputType.text),Z=i.computed(()=>{switch(r.value){case u.InputType.checkbox:return"checkbox";case u.InputType.radio:return"radio";case u.InputType.select:return"select";case u.InputType.range:return"range";case u.InputType.color:return"color";default:return"text"}}),ve=i.computed(()=>{switch(r.value){case u.InputType.mask:case u.InputType.digit:return"text";default:return r.value}}),E=i.ref(e.toggleStyle??"default"),T=i.ref(e.format??null),$=i.ref(u.hison.utils.isNumeric(e.maxNumber)?Number(e.maxNumber):null),C=i.ref(u.hison.utils.isNumeric(e.minNumber)?Number(e.minNumber):null),N=i.ref(u.hison.utils.isInteger(e.roundNumber)||u.hison.utils.isNegativeInteger(e.roundNumber)||e.roundNumber==="0"?Number(e.roundNumber):null),fe=i.computed(()=>{switch(r.value){case u.InputType.number:return $.value??void 0;case u.InputType.date:return"9999-12-31";case u.InputType.month:return"9999-12";default:return}}),ye=i.computed(()=>r.value===u.InputType.number?C.value??void 0:void 0),k=i.ref(u.hison.utils.isPositiveInteger(e.maxLength)?Number(e.maxLength):null),I=i.ref(u.hison.utils.isPositiveInteger(e.maxByte)?Number(e.maxByte):null),G=t=>{switch(t){case u.InputType.number:case u.InputType.digit:return u.TextAlign.right;case u.InputType.date:case u.InputType.month:case u.InputType.time:return u.TextAlign.center;default:return u.TextAlign.left}},w=i.ref(e.textAlign??G(r.value)),Me=i.computed(()=>({textAlign:w.value})),L=i.ref(e.border??!0),ge=t=>(t=String(t),k.value&&(t=t.substring(0,k.value)),I.value&&(t=u.hison.utils.getCutByteLength(t,I.value)),t),be=t=>t===""||typeof t=="string"&&t.trim()===""||(t=Number(t),Number.isNaN(t))?null:($.value!==null&&t>$.value&&(t=$.value),C.value!==null&&t<C.value&&(t=C.value),N.value!==null&&(t=u.hison.utils.getRound(t,N.value)),t),x=t=>{if(u.isNullOrUndefined(t))return r.value===u.InputType.checkbox||r.value===u.InputType.radio?!1:t;try{switch(r.value){case u.InputType.text:case u.InputType.password:case u.InputType.email:case u.InputType.mask:case u.InputType.digit:case u.InputType.textarea:r.value===u.InputType.mask&&(t=u.getMaskValue(t,T.value??"")),r.value===u.InputType.digit&&(t=u.getDigitsOnly(t)),t=ge(t);break;case u.InputType.number:r.value===u.InputType.number&&(t=be(t));break;case u.InputType.date:t&&(t=u.hison.utils.getDateWithFormat(t,u.Hisonjs_bundleExports.DateFormat["yyyy-MM-dd"]));break;case u.InputType.month:t&&(t=u.hison.utils.getDateWithFormat(t,u.Hisonjs_bundleExports.YearMonthFormat["yyyy-MM"]));break;case u.InputType.time:t&&(t=u.hison.utils.getDateWithFormat(t,u.Hisonjs_bundleExports.TimeFormat["HH:mm:ss"]));break;case u.InputType.checkbox:case u.InputType.radio:t=!!t;default:break}}catch(l){console.warn("[HInput] Failed to format value",t,l)}return t},s=i.ref(x(e.modelValue)),Te=i.computed(()=>s.value),f=i.ref(null),F=i.ref(e.visible),P=i.ref(e.title??""),S=i.ref(e.nullText??""),M=i.ref(e.editMode),$e=i.computed(()=>M.value===u.EditMode.disable),W=i.computed(()=>M.value===u.EditMode.readonly),Ce=i.computed(()=>L.value&&!W.value?"hison-border":""),he=i.computed(()=>M.value!==u.EditMode.editable?[`hison-input-${M.value}`,`hison-input-${Z.value}-${M.value}`]:[]),z=i.ref(e.required),ke=i.computed(()=>z.value?["hison-input-required",`hison-input-${Z.value}-required`]:[]),V=i.ref(e.placeholder??""),D=i.ref(e.placeholderColor??"primary"),Ie=t=>{if(!t)return null;const l=t.trim();return["primary","muted","info","success","danger","warning","custom1","custom2","custom3","custom4","custom5"].includes(l)?`var(--hison-${l}-emptyTextColor)`:l},we=i.computed(()=>{const t=Ie(D.value);return t?{"--hison-input-placeholder-color":t}:{}}),q=i.ref(e.fontBold),Be=i.computed(()=>{if(q.value)return"hison-font-bold"}),K=i.ref(e.fontItalic),Ne=i.computed(()=>{if(K.value)return"hison-font-italic"}),R=i.ref(e.fontThruline),Ae=i.computed(()=>{if(R.value)return"hison-font-thruline"}),U=i.ref(e.fontUnderline),Ee=i.computed(()=>{if(U.value)return"hison-font-underline"}),Le=i.computed(()=>F.value?"":"hison-display-none"),c=i.ref(!1),g=i.ref(!1),H=i.ref(e.tabIndex!==null&&e.tabIndex!==""?Number(e.tabIndex):null),O=i.ref(!!e.disableAutoCapitalize),ne=i.inject("registerToInputGroup",null),a=i.inject("notifyInputGroupStatus",null),A=i.inject("radioMembershipChanged",null),_=t=>{if(r.value===u.InputType.checkbox||r.value===u.InputType.radio)return t?e.checkedText:e.uncheckedText;if(u.isNullOrUndefined(t)||t==="")return S.value??"";if(e.inputTextdHandler)return e.inputTextdHandler(t);let l=String(t);try{switch(r.value){case u.InputType.password:l="•".repeat(t.length);break;case u.InputType.number:l=u.hison.utils.getNumberFormat(t,T.value??u.hison.getNumberFormat());break;case u.InputType.date:l=u.hison.utils.getDateWithFormat(t,T.value??u.hison.getDateFormat());break;case u.InputType.month:l=u.hison.utils.getDateWithFormat(t,T.value??u.hison.getYearMonthFormat());break;case u.InputType.time:l=u.hison.utils.getDateWithFormat(t,T.value??u.hison.getTimeFormat());break;case u.InputType.select:const m=v.value,ie=m.selectedIndex;l=ie>=0?m.options[ie].text:"";break}}catch(m){console.warn("[HInput] Failed to format value",t,m),l=""}return l},j=i.ref(""),Fe=t=>{M.value===u.EditMode.editable&&(c.value=!0),i.nextTick(()=>{var l;(l=v.value)==null||l.focus()})},Pe=t=>{let l=v.value.value;(r.value===u.InputType.mask||r.value===u.InputType.digit||(k.value||I.value)&&(r.value===u.InputType.text||r.value===u.InputType.email||r.value===u.InputType.password||r.value===u.InputType.textarea))&&(l=x(l),v.value.value=l),s.value=l,g.value=!0,a==null||a(d,s.value),n("input",t,y.value,s.value),n("update:modelValue",s.value)},Se=t=>{f.value=s.value,n("focus",t,y.value)},ze=t=>{f.value!==s.value&&(p(s.value,!0,!0),g.value=!0,a==null||a(d,s.value)),c.value=!1,n("blur",t,y.value)},p=(t,l=!0,m=!1)=>{s.value=l?x(t):t,j.value=_(s.value),r.value===u.InputType.checkbox||r.value===u.InputType.radio?v.value.checked=!!s.value:v.value.value=s.value,m&&n("change",f.value,s.value,y.value)},Ve=t=>{const l=t.target;p(l.value,!1,!0),g.value=!0,a==null||a(d,s.value),n("update:modelValue",s.value)},De=t=>{const l=t.target;p(l.value,!1,!0),g.value=!0,a==null||a(d,s.value),n("update:modelValue",s.value)},qe=t=>{const l=t.target;p(l.checked,!1,!0),g.value=!0,a==null||a(d,s.value),n("update:modelValue",s.value)},Ke=t=>{const l=t.target;if(p(l.checked,!1,!0),g.value=!0,a&&o.value){const m=l.checked?b.value||d:null;a(o.value,m)}else a==null||a(d,s.value);n("update:modelValue",s.value)},Re=t=>{const l=t.target;p(l.value,!1,!0),g.value=!0,a==null||a(d,s.value),n("update:modelValue",s.value)},Ue=t=>{if(W.value&&(t.code==="Space"||t.code==="Enter")){t.preventDefault(),t.stopPropagation();return}if(W.value&&r.value===u.InputType.select&&t.key!=="Tab"&&t.key!=="Escape"){t.preventDefault(),t.stopPropagation();return}n("keydown",t,y.value)},oe=()=>{u.hisonCloser.component.inputList[d]&&u.hisonCloser.component.inputList[d].isHisonvueComponent&&console.warn(`[Hisonvue] The input ID is at risk of being duplicated. ${d}`),u.registerReloadable(J,()=>{te(),i.nextTick(oe)}),v.value&&(Q(),h.value&&je(h.value),r.value!==u.InputType.checkbox&&r.value!==u.InputType.radio&&r.value!==u.InputType.range&&r.value!==u.InputType.color&&Ye(v.value),p(s.value,!1),y.value={isHisonvueComponent:!0,getId:()=>d,getType:()=>"input",getDataKey:()=>b.value,setDataKey:t=>{const l=(t??"").trim(),m=l.length>0?l:d;m!==b.value&&(b.value=m,r.value===u.InputType.radio&&s.value&&a&&o.value&&a(o.value,b.value))},getName:()=>o.value,setName:t=>{if(t===o.value)return;const l=o.value;o.value=t,r.value===u.InputType.radio&&(A==null||A(d,l,t,!!s.value))},getText:()=>j.value,getValue:()=>s.value,setValue:(t,l)=>{if(f.value=s.value,s.value=t,p(s.value,!0,!!(l!=null&&l.emitChange)),l!=null&&l.markModified&&(g.value=!0),l!=null&&l.notifyGroup)if(r.value===u.InputType.radio&&a&&o.value){const m=s.value?b.value||d:null;a(o.value,m)}else a==null||a(d,s.value);l!=null&&l.emitModelValue&&n("update:modelValue",s.value)},getTitle:()=>P.value,setTitle:t=>{P.value=t},isVisible:()=>F.value,setVisible:t=>{F.value=t},getDisableAutoCapitalize:()=>O.value,setDisableAutoCapitalize:t=>{O.value=!!t},getInputType:()=>r.value,setInputType:t=>{r.value=u.InputType[t],f.value=s.value,p(s.value),e.textAlign==null&&(w.value=G(r.value))},getFormat:()=>T.value??"",setFormat:t=>{T.value=t,f.value=s.value,p(s.value)},getNullText:()=>S.value,setNullText:t=>{S.value=t,(u.isNullOrUndefined(s.value)||s.value==="")&&(j.value=_(s.value))},getEditMode:()=>M.value,setEditMode:t=>{M.value=t},getMaxNumber:()=>$.value,setMaxNumber:t=>{u.hison.utils.isNumeric(t)&&($.value=t,f.value=s.value,r.value===u.InputType.number&&p(s.value))},getMinNumber:()=>C.value,setMinNumber:t=>{u.hison.utils.isNumeric(t)&&(C.value=t,f.value=s.value,r.value===u.InputType.number&&p(s.value))},getRoundNumber:()=>N.value,setRoundNumber:t=>{!u.hison.utils.isPositiveInteger(t)&&!u.hison.utils.isNegativeInteger(t)&&t!==0||(N.value=t,f.value=s.value,r.value===u.InputType.number&&p(s.value))},getMaxLength:()=>k.value,setMaxLength:t=>{u.hison.utils.isPositiveInteger(t)&&(k.value=t),f.value=s.value,p(s.value)},getMaxByte:()=>I.value,setMaxByte:t=>{u.hison.utils.isPositiveInteger(t)&&(I.value=t),f.value=s.value,p(s.value)},getRequired:()=>z.value,setRequired:t=>{z.value=t},getPlaceholder:()=>V.value,setPlaceholder:t=>{V.value=t},getPlaceholderColor:()=>D.value,setPlaceholderColor:t=>{const l=(t??"").trim();D.value=l.length>0?l:"primary"},isFontBold:()=>q.value,setFontBold:t=>{q.value=t},isFontItalic:()=>K.value,setFontItalic:t=>{K.value=t},isFontThruline:()=>R.value,setFontThruline:t=>{R.value=t},isFontUnderline:()=>U.value,setFontUnderline:t=>{U.value=t},getTextAlign:()=>w.value,setTextAlign:t=>{(t===u.TextAlign.left||t===u.TextAlign.center||t===u.TextAlign.right)&&(w.value=t)},isBorder:()=>L.value,setBorder:t=>{L.value=t},isModified:()=>g.value,setModified:t=>{g.value=t},getToggleStyle:()=>E.value,setToggleStyle:t=>{(t==="default"||t==="switch")&&(E.value=t)},getTabIndex:()=>H.value,setTabIndex:t=>{H.value=t!=null?Number(t):null},focus:()=>{var t;h.value?h.value.focus():(t=v.value)==null||t.focus()},reload:()=>u.reloadHisonComponent(J)},u.hisonCloser.component.inputList[d]=y.value,ne&&ne(d),n("mounted",y.value))},te=()=>{u.unregisterReloadable(J),delete u.hisonCloser.component.inputList[d],r.value!==u.InputType.checkbox&&r.value!==u.InputType.radio&&r.value!==u.InputType.range&&r.value!==u.InputType.color&&Xe(v.value),h.value&&We(h.value)};return i.onMounted(oe),i.onBeforeUnmount(te),i.watch(ee,t=>{Q(),n("responsive-change",t)}),i.watch(()=>e.modelValue,t=>{t!==s.value&&p(t,!0)}),i.watch(()=>e.name,t=>{if(t&&t!==o.value){const l=o.value;o.value=t,r.value===u.InputType.radio&&(A==null||A(d,l,t,!!s.value))}}),i.watch(()=>e.dataKey,t=>{const l=(t??"").trim(),m=l.length>0?l:d;m!==b.value&&(b.value=m,r.value===u.InputType.radio&&s.value&&a&&o.value&&a(o.value,b.value))}),i.watch(()=>e.disableAutoCapitalize,t=>{const l=!!t;l!==O.value&&(O.value=l)}),i.watch(()=>e.visible,t=>{const l=!!t;l!==F.value&&(F.value=l)}),i.watch(()=>e.title,t=>{const l=t??"";l!==P.value&&(P.value=l)}),i.watch(()=>e.nullText,t=>{const l=t??"";l!==S.value&&(S.value=l,(u.isNullOrUndefined(s.value)||s.value==="")&&(j.value=_(s.value)))}),i.watch(()=>e.inputType,t=>{t&&t!==r.value&&(r.value=t,e.textAlign==null&&(w.value=G(r.value)),p(s.value))}),i.watch(()=>e.format,t=>{const l=t??null;l!==T.value&&(T.value=l,p(s.value))}),i.watch(()=>e.maxNumber,t=>{const l=u.hison.utils.isNumeric(t)?Number(t):null;l!==$.value&&($.value=l,r.value===u.InputType.number&&p(s.value))}),i.watch(()=>e.minNumber,t=>{const l=u.hison.utils.isNumeric(t)?Number(t):null;l!==C.value&&(C.value=l,r.value===u.InputType.number&&p(s.value))}),i.watch(()=>e.roundNumber,t=>{const l=u.hison.utils.isInteger(t)||u.hison.utils.isNegativeInteger(t)||t==="0"?Number(t):null;l!==N.value&&(N.value=l,r.value===u.InputType.number&&p(s.value))}),i.watch(()=>e.maxLength,t=>{const l=u.hison.utils.isPositiveInteger(t)?Number(t):null;l!==k.value&&(k.value=l,p(s.value))}),i.watch(()=>e.maxByte,t=>{const l=u.hison.utils.isPositiveInteger(t)?Number(t):null;l!==I.value&&(I.value=l,p(s.value))}),i.watch(()=>e.textAlign,t=>{t&&t!==w.value&&(t===u.TextAlign.left||t===u.TextAlign.center||t===u.TextAlign.right)&&(w.value=t)}),i.watch(()=>e.border,t=>{const l=!!t;l!==L.value&&(L.value=l)}),i.watch(()=>e.placeholder,t=>{const l=t??"";l!==V.value&&(V.value=l)}),i.watch(()=>e.placeholderColor,t=>{const l=t??"primary";l!==D.value&&(D.value=l)}),i.watch(()=>e.required,t=>{const l=!!t;l!==z.value&&(z.value=l)}),i.watch(()=>e.fontBold,t=>{const l=!!t;l!==q.value&&(q.value=l)}),i.watch(()=>e.fontItalic,t=>{const l=!!t;l!==K.value&&(K.value=l)}),i.watch(()=>e.fontThruline,t=>{const l=!!t;l!==R.value&&(R.value=l)}),i.watch(()=>e.fontUnderline,t=>{const l=!!t;l!==U.value&&(U.value=l)}),i.watch(()=>e.editMode,t=>{t&&t!==M.value&&(M.value=t)}),i.watch(()=>e.tabIndex,t=>{const l=t===null||t===""?null:Number(t);l!==H.value&&(H.value=l)}),i.watch(()=>e.class,()=>{Q()}),i.watch(()=>e.toggleStyle,t=>{const l=t??"default";l!==E.value&&(l==="default"||l==="switch")&&(E.value=l)}),{inputRef:v,inputTextRef:h,inputMethods:i.computed(()=>i.unref(y)),inputValue:Te,editing:c,props:e,id:d,nameAttr:me,responsiveClassList:B,visibleClass:Le,editModeClassList:he,requiredClassList:ke,fontBoldClass:Be,fontItalicClass:Ne,fontThrulineClass:Ae,fontUnderlineClass:Ee,textAlignStyle:Me,placeholderColorStyle:we,borderClass:Ce,disable:$e,readonly:W,inputType:r,inputExpressionType:Z,inputAttrType:ve,title:P,placeholder:V,maxNumber:$,minNumber:C,nativeMaxAttr:fe,nativeMinAttr:ye,spanText:j,toggleStyle:E,tabIndex:H,disableAutoCapitalize:O,onInput:Pe,onTextInputFocus:Fe,onFocus:Se,onBlur:ze,onRangeChange:Ve,onColorChange:De,onCheckboxChange:qe,onRadioChange:Ke,onSelectChange:Re,onKeydown:Ue}}}),Qe=["id","name","value","disabled","readonly","title","tabindex"],Ze=["id","name","value","disabled","readonly","checked","title","tabindex"],Ge=["id","name","disabled","readonly","checked","title","tabindex"],xe=["id","name","disabled","readonly","checked","title","tabindex"],ce=["id","name","disabled","readonly","checked","title","tabindex"],_e=["id","name","disabled","readonly","checked","title","tabindex"],en=["id","name","value","disabled","readonly","title","tabindex"],nn=["value"],on=["id","name","value","disabled","readonly","placeholder","title","maxlength","tabindex","autocapitalize","autocorrect","spellcheck"],tn=["id","name","value","disabled","readonly","title","placeholder","tabindex","autocapitalize","autocorrect","spellcheck"],un=["id","name","value","disabled","readonly","type","title","placeholder","max","min","inputmode","tabindex","autocapitalize","autocorrect","spellcheck"];function ln(e,n,v,h,y,d){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["hison-wrapper","hison-s-input-margin-adjustment",...e.responsiveClassList,e.visibleClass])},[e.inputType==="range"?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["hison-input","hison-input-range-div"]),style:i.normalizeStyle([e.textAlignStyle,e.props.style])},[i.createElementVNode("input",{ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,type:"range",class:i.normalizeClass([`hison-input-${e.inputType}`,...e.editModeClassList,...e.requiredClassList]),value:e.inputValue,disabled:e.disable,readonly:e.readonly,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[0]||(n[0]=(...o)=>e.onRangeChange&&e.onRangeChange(...o)),onFocus:n[1]||(n[1]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[2]||(n[2]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[3]||(n[3]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[4]||(n[4]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[5]||(n[5]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[6]||(n[6]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[7]||(n[7]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[8]||(n[8]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[9]||(n[9]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[10]||(n[10]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[11]||(n[11]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[12]||(n[12]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[13]||(n[13]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[14]||(n[14]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[15]||(n[15]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[16]||(n[16]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[17]||(n[17]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[18]||(n[18]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[19]||(n[19]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[20]||(n[20]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[21]||(n[21]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,42,Qe)],4)):e.inputType==="color"?(i.openBlock(),i.createElementBlock("div",{key:1,class:i.normalizeClass(["hison-input","hison-input-color-div"]),style:i.normalizeStyle([e.textAlignStyle,e.props.style])},[i.createElementVNode("input",{ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,type:"color",class:i.normalizeClass([`hison-input-${e.inputType}`,...e.editModeClassList,...e.requiredClassList]),value:e.inputValue,disabled:e.disable,readonly:e.readonly,checked:e.inputValue===!0,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[22]||(n[22]=(...o)=>e.onColorChange&&e.onColorChange(...o)),onFocus:n[23]||(n[23]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[24]||(n[24]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[25]||(n[25]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[26]||(n[26]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[27]||(n[27]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[28]||(n[28]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[29]||(n[29]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[30]||(n[30]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[31]||(n[31]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[32]||(n[32]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[33]||(n[33]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[34]||(n[34]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[35]||(n[35]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[36]||(n[36]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[37]||(n[37]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[38]||(n[38]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[39]||(n[39]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[40]||(n[40]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[41]||(n[41]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[42]||(n[42]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[43]||(n[43]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,42,Ze)],4)):e.inputType==="checkbox"?(i.openBlock(),i.createElementBlock("div",{key:2,class:i.normalizeClass(["hison-input","hison-input-checkbox-div"]),style:i.normalizeStyle([e.textAlignStyle,e.props.style])},[e.toggleStyle!=="switch"?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,type:"checkbox",class:i.normalizeClass([`hison-input-${e.inputType}`,...e.editModeClassList,...e.requiredClassList]),disabled:e.disable,readonly:e.readonly,checked:e.inputValue===!0,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[44]||(n[44]=(...o)=>e.onCheckboxChange&&e.onCheckboxChange(...o)),onFocus:n[45]||(n[45]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[46]||(n[46]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[47]||(n[47]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[48]||(n[48]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[49]||(n[49]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[50]||(n[50]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[51]||(n[51]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[52]||(n[52]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[53]||(n[53]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[54]||(n[54]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[55]||(n[55]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[56]||(n[56]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[57]||(n[57]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[58]||(n[58]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[59]||(n[59]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[60]||(n[60]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[61]||(n[61]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[62]||(n[62]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[63]||(n[63]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[64]||(n[64]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[65]||(n[65]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,42,Ge)):(i.openBlock(),i.createElementBlock("label",{key:1,class:i.normalizeClass(["hison-input-checkbox-switch",...e.editModeClassList])},[i.createElementVNode("input",{ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,type:"checkbox",class:"hison-cswitch-input",disabled:e.disable,readonly:e.readonly,checked:e.inputValue===!0,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[66]||(n[66]=(...o)=>e.onCheckboxChange&&e.onCheckboxChange(...o)),onFocus:n[67]||(n[67]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[68]||(n[68]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[69]||(n[69]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[70]||(n[70]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[71]||(n[71]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[72]||(n[72]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[73]||(n[73]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[74]||(n[74]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[75]||(n[75]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[76]||(n[76]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[77]||(n[77]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[78]||(n[78]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[79]||(n[79]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[80]||(n[80]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[81]||(n[81]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[82]||(n[82]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[83]||(n[83]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[84]||(n[84]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[85]||(n[85]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[86]||(n[86]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[87]||(n[87]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,40,xe),i.createElementVNode("span",{class:i.normalizeClass(["hison-switch-visual",[...e.editModeClassList,...e.requiredClassList]]),"aria-hidden":"true"},null,2)],2))],4)):e.inputType==="radio"?(i.openBlock(),i.createElementBlock("div",{key:3,class:i.normalizeClass(["hison-input","hison-input-radio-div"]),style:i.normalizeStyle([e.textAlignStyle,e.props.style])},[e.toggleStyle!=="switch"?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,type:"radio",class:i.normalizeClass([`hison-input-${e.inputType}`,"hison-input-radio--default",...e.editModeClassList,...e.requiredClassList]),disabled:e.disable||e.readonly,readonly:e.readonly,checked:e.inputValue===!0,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[88]||(n[88]=(...o)=>e.onRadioChange&&e.onRadioChange(...o)),onFocus:n[89]||(n[89]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[90]||(n[90]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[91]||(n[91]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[92]||(n[92]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[93]||(n[93]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[94]||(n[94]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[95]||(n[95]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[96]||(n[96]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[97]||(n[97]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[98]||(n[98]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[99]||(n[99]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[100]||(n[100]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[101]||(n[101]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[102]||(n[102]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[103]||(n[103]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[104]||(n[104]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[105]||(n[105]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[106]||(n[106]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[107]||(n[107]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[108]||(n[108]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[109]||(n[109]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,42,ce)):(i.openBlock(),i.createElementBlock("label",{key:1,class:i.normalizeClass(["hison-input-radio-switch",...e.editModeClassList])},[i.createElementVNode("input",{ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,type:"radio",class:"hison-radio-switch-input",disabled:e.disable||e.readonly,readonly:e.readonly,checked:e.inputValue===!0,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[110]||(n[110]=(...o)=>e.onRadioChange&&e.onRadioChange(...o)),onFocus:n[111]||(n[111]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[112]||(n[112]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[113]||(n[113]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[114]||(n[114]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[115]||(n[115]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[116]||(n[116]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[117]||(n[117]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[118]||(n[118]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[119]||(n[119]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[120]||(n[120]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[121]||(n[121]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[122]||(n[122]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[123]||(n[123]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[124]||(n[124]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[125]||(n[125]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[126]||(n[126]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[127]||(n[127]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[128]||(n[128]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[129]||(n[129]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[130]||(n[130]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[131]||(n[131]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,40,_e),i.createElementVNode("span",{class:i.normalizeClass(["hison-switch-visual",[...e.editModeClassList,...e.requiredClassList]]),"aria-hidden":"true"},null,2)],2))],4)):e.inputType==="select"?(i.openBlock(),i.createElementBlock("select",{key:4,ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,style:i.normalizeStyle([e.textAlignStyle,e.placeholderColorStyle,e.props.style]),class:i.normalizeClass(["hison-input",`hison-input-${e.inputType}`,...e.editModeClassList,...e.requiredClassList,e.fontBoldClass,e.fontItalicClass,e.fontThrulineClass,e.fontUnderlineClass,e.borderClass]),value:e.inputValue,disabled:e.disable,readonly:e.readonly,title:e.title||void 0,tabindex:e.tabIndex??void 0,onChange:n[132]||(n[132]=(...o)=>e.onSelectChange&&e.onSelectChange(...o)),onFocus:n[133]||(n[133]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[134]||(n[134]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:n[135]||(n[135]=(...o)=>e.onKeydown&&e.onKeydown(...o)),onClick:n[136]||(n[136]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[137]||(n[137]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[138]||(n[138]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[139]||(n[139]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[140]||(n[140]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[141]||(n[141]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[142]||(n[142]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[143]||(n[143]=o=>e.$emit("mouseout",o,e.inputMethods)),onPointerdown:n[144]||(n[144]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[145]||(n[145]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[146]||(n[146]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[147]||(n[147]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[148]||(n[148]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[149]||(n[149]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[150]||(n[150]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[151]||(n[151]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[152]||(n[152]=o=>e.$emit("touchcancel",o,e.inputMethods)),onContextmenu:n[153]||(n[153]=o=>e.$emit("contextmenu",o,e.inputMethods))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.props.options,o=>(i.openBlock(),i.createElementBlock("option",{key:o.value,value:o.value},i.toDisplayString(o.text),9,nn))),128))],46,en)):e.inputType==="textarea"?(i.openBlock(),i.createElementBlock("textarea",{key:5,ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,class:i.normalizeClass(["hison-input",`hison-input-${e.inputType}`,...e.editModeClassList,...e.requiredClassList,e.fontBoldClass,e.fontItalicClass,e.fontThrulineClass,e.fontUnderlineClass,e.borderClass]),value:e.inputValue,style:i.normalizeStyle([e.textAlignStyle,e.placeholderColorStyle,e.props.style]),disabled:e.disable,readonly:e.readonly,placeholder:e.placeholder||void 0,title:e.title||void 0,maxlength:e.maxLength||void 0,tabindex:e.tabIndex??void 0,autocapitalize:e.disableAutoCapitalize?"off":void 0,autocorrect:e.disableAutoCapitalize?"off":void 0,spellcheck:e.disableAutoCapitalize?!1:void 0,onInput:n[154]||(n[154]=(...o)=>e.onInput&&e.onInput(...o)),onFocus:n[155]||(n[155]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[156]||(n[156]=(...o)=>e.onBlur&&e.onBlur(...o))},i.toDisplayString(e.inputValue),47,on)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:6},[i.withDirectives(i.createElementVNode("input",{ref:"inputTextRef",id:`input_text_${e.id}`,name:`input_text_${e.nameAttr}`,class:i.normalizeClass(["hison-input",`hison-input-text-${e.inputType}`,...e.editModeClassList,...e.requiredClassList,e.fontBoldClass,e.fontItalicClass,e.fontThrulineClass,e.fontUnderlineClass,e.borderClass]),type:"text",value:e.spanText,style:i.normalizeStyle([e.textAlignStyle,e.placeholderColorStyle,e.props.style]),disabled:e.disable,readonly:e.readonly,title:e.title||void 0,placeholder:e.placeholder||void 0,tabindex:e.tabIndex??void 0,autocapitalize:e.disableAutoCapitalize?"off":void 0,autocorrect:e.disableAutoCapitalize?"off":void 0,spellcheck:e.disableAutoCapitalize?!1:void 0,onFocus:n[157]||(n[157]=(...o)=>e.onTextInputFocus&&e.onTextInputFocus(...o)),onClick:n[158]||(n[158]=o=>e.$emit("click",o,e.inputMethods)),onDblclick:n[159]||(n[159]=o=>e.$emit("dblclick",o,e.inputMethods)),onMousedown:n[160]||(n[160]=o=>e.$emit("mousedown",o,e.inputMethods)),onMouseup:n[161]||(n[161]=o=>e.$emit("mouseup",o,e.inputMethods)),onMouseenter:n[162]||(n[162]=o=>e.$emit("mouseenter",o,e.inputMethods)),onMouseleave:n[163]||(n[163]=o=>e.$emit("mouseleave",o,e.inputMethods)),onMouseover:n[164]||(n[164]=o=>e.$emit("mouseover",o,e.inputMethods)),onMouseout:n[165]||(n[165]=o=>e.$emit("mouseout",o,e.inputMethods)),onMousemove:n[166]||(n[166]=o=>e.$emit("mousemove",o,e.inputMethods)),onPointerdown:n[167]||(n[167]=o=>e.$emit("pointerdown",o,e.inputMethods)),onPointerup:n[168]||(n[168]=o=>e.$emit("pointerup",o,e.inputMethods)),onPointermove:n[169]||(n[169]=o=>e.$emit("pointermove",o,e.inputMethods)),onPointerenter:n[170]||(n[170]=o=>e.$emit("pointerenter",o,e.inputMethods)),onPointerleave:n[171]||(n[171]=o=>e.$emit("pointerleave",o,e.inputMethods)),onTouchstart:n[172]||(n[172]=o=>e.$emit("touchstart",o,e.inputMethods)),onTouchend:n[173]||(n[173]=o=>e.$emit("touchend",o,e.inputMethods)),onTouchmove:n[174]||(n[174]=o=>e.$emit("touchmove",o,e.inputMethods)),onTouchcancel:n[175]||(n[175]=o=>e.$emit("touchcancel",o,e.inputMethods))},null,46,tn),[[i.vShow,!e.editing]]),i.withDirectives(i.createElementVNode("input",{ref:"inputRef",id:`${e.id}`,name:`${e.nameAttr}`,class:i.normalizeClass(["hison-input",`hison-input-${e.inputType}`,...e.editModeClassList,e.borderClass]),value:e.inputValue,style:i.normalizeStyle([e.textAlignStyle,e.placeholderColorStyle,e.props.style]),disabled:e.disable,readonly:e.readonly,type:e.inputType,title:e.title||void 0,placeholder:e.placeholder||void 0,max:e.nativeMaxAttr,min:e.nativeMinAttr,inputmode:e.inputType==="digit"?"numeric":void 0,tabindex:e.tabIndex??void 0,autocapitalize:e.disableAutoCapitalize?"off":void 0,autocorrect:e.disableAutoCapitalize?"off":void 0,spellcheck:e.disableAutoCapitalize?!1:void 0,onFocus:n[176]||(n[176]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[177]||(n[177]=(...o)=>e.onBlur&&e.onBlur(...o)),onInput:n[178]||(n[178]=(...o)=>e.onInput&&e.onInput(...o)),onCompositionstart:n[179]||(n[179]=o=>e.$emit("compositionstart",o,e.inputMethods)),onCompositionupdate:n[180]||(n[180]=o=>e.$emit("compositionupdate",o,e.inputMethods)),onCompositionend:n[181]||(n[181]=o=>e.$emit("compositionend",o,e.inputMethods)),onKeydown:n[182]||(n[182]=o=>e.$emit("keydown",o,e.inputMethods)),onKeyup:n[183]||(n[183]=o=>e.$emit("keyup",o,e.inputMethods)),onDragstart:n[184]||(n[184]=o=>e.$emit("dragstart",o,e.inputMethods)),onDragend:n[185]||(n[185]=o=>e.$emit("dragend",o,e.inputMethods)),onDrag:n[186]||(n[186]=o=>e.$emit("drag",o,e.inputMethods)),onDrop:n[187]||(n[187]=o=>e.$emit("drop",o,e.inputMethods)),onCopy:n[188]||(n[188]=o=>e.$emit("copy",o,e.inputMethods)),onCut:n[189]||(n[189]=o=>e.$emit("cut",o,e.inputMethods)),onPaste:n[190]||(n[190]=o=>e.$emit("paste",o,e.inputMethods)),onWheel:n[191]||(n[191]=o=>e.$emit("wheel",o,e.inputMethods)),onContextmenu:n[192]||(n[192]=o=>e.$emit("contextmenu",o,e.inputMethods))},null,46,un),[[i.vShow,e.editing]])],64))],2)}const sn=He._export_sfc(Je,[["render",ln],["__scopeId","data-v-5e53dcf4"]]);exports.default=sn;