hisonvue 1.0.9 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HAccordion-k6I3ro_e.mjs → HAccordion-ClPgc3MA.mjs} +2 -2
- package/dist/{HAccordion-D53doYgK.js → HAccordion-yaZ0sBWj.js} +1 -1
- package/dist/{HBaggie-ztJlgm1Y.mjs → HBaggie-BOcwzfs2.mjs} +2 -2
- package/dist/{HBaggie-x9UvJGiJ.js → HBaggie-DhMiL1-B.js} +1 -1
- package/dist/{HBanner-CAdeTMnB.js → HBanner-CkIr-lzQ.js} +1 -1
- package/dist/{HBanner-DYxKwQJV.mjs → HBanner-dQdDEjcq.mjs} +2 -2
- package/dist/{HButton-DZ3LGFGL.mjs → HButton-CQA9AHfR.mjs} +2 -2
- package/dist/{HButton-Uz0qdLWQ.js → HButton-CT0Az7ea.js} +1 -1
- package/dist/{HCalendar-DIFdlXwz.js → HCalendar-C7RbTZT9.js} +1 -1
- package/dist/{HCalendar-BoiycDof.mjs → HCalendar-LYKfuBRk.mjs} +1 -1
- package/dist/{HCaption-Db1dmwRW.js → HCaption-DslrgN-4.js} +1 -1
- package/dist/{HCaption-Dd_nGhTl.mjs → HCaption-hIaWtt1A.mjs} +1 -1
- package/dist/{HChart-CR0TiHom.mjs → HChart-C_Np6dyj.mjs} +1 -1
- package/dist/{HChart-LlHYIP2A.js → HChart-Dw1BMCJS.js} +1 -1
- package/dist/{HDrawer-ZjHUxtXZ.js → HDrawer-C8dvmJDK.js} +1 -1
- package/dist/{HDrawer-DmG_tsdU.mjs → HDrawer-Z7npMmnm.mjs} +1 -1
- package/dist/{HDropdown-DQ6KQfPV.mjs → HDropdown-50SbH5xE.mjs} +2 -2
- package/dist/{HDropdown-bYmaAvIV.js → HDropdown-mSEm-0ZC.js} +1 -1
- package/dist/{HFileset-TWFJ3C6D.js → HFileset-Bu2-UdKj.js} +1 -1
- package/dist/{HFileset-Dh2nT5Lb.mjs → HFileset-C8m3Fs_v.mjs} +1 -1
- package/dist/{HGap-ESgOWL2x.mjs → HGap-D8Iaf-5T.mjs} +1 -1
- package/dist/{HGap-BFE_cRNa.js → HGap-DsJy_QnE.js} +1 -1
- package/dist/{HGrid-DZDZM2pv.js → HGrid-1YUZ2y6u.js} +1 -1
- package/dist/{HGrid-DecXVfSi.mjs → HGrid-GnXheGEH.mjs} +1 -1
- package/dist/{HImagebox-CzVAIF4A.mjs → HImagebox-BxTUweOq.mjs} +1 -1
- package/dist/{HImagebox-SZe_cRtZ.js → HImagebox-r9i5w5WN.js} +1 -1
- package/dist/{HInput-B51uh9uS.js → HInput-CcWTYayE.js} +1 -1
- package/dist/{HInput-CpIPFgBo.mjs → HInput-DT2SixiY.mjs} +1 -1
- package/dist/{HInputGroup-Bx2sXup7.mjs → HInputGroup-D47YfrUp.mjs} +1 -1
- package/dist/{HInputGroup-BAcpG0lk.js → HInputGroup-lVdHU36z.js} +1 -1
- package/dist/{HLabel-Cot0n5dw.mjs → HLabel-BlczHNCh.mjs} +2 -2
- package/dist/{HLabel-De0IPwWk.js → HLabel-vkRYvApC.js} +1 -1
- package/dist/{HLayout-jlynIYwJ.mjs → HLayout-62BFnvbF.mjs} +1 -1
- package/dist/{HLayout-C4ZeYEtd.js → HLayout-VCGeEX_T.js} +1 -1
- package/dist/{HList-CJBYg2Ey.mjs → HList-C7mRWu55.mjs} +2 -2
- package/dist/{HList-D8M9ZWLn.js → HList-T55xOKTU.js} +1 -1
- package/dist/{HModal-XSU9c7IC.mjs → HModal-28_wsn_-.mjs} +1 -1
- package/dist/{HModal-rOoHUUL2.js → HModal-C4C4J9GA.js} +1 -1
- package/dist/{HNote-ORA1FwDh.mjs → HNote-BqW_J3tq.mjs} +1 -1
- package/dist/{HNote-C0sXwB78.js → HNote-RUUsRTzx.js} +1 -1
- package/dist/{HPagination-CkSZ9zBi.mjs → HPagination-2Qlqr_ZS.mjs} +2 -2
- package/dist/{HPagination-CsJ6UyKF.js → HPagination-BxRAk9Pi.js} +1 -1
- package/dist/HParagraph-B3VkXyh7.js +1 -0
- package/dist/{HParagraph-BuY1NZBS.mjs → HParagraph-DG0-Th1k.mjs} +58 -57
- package/dist/{HPopup-BPOIjJKC.mjs → HPopup-CMHfS31s.mjs} +1 -1
- package/dist/{HPopup--kcL-DVz.js → HPopup-Cnt1__JS.js} +1 -1
- package/dist/{HSpinner-BA6seHtJ.mjs → HSpinner-C4FmAya2.mjs} +1 -1
- package/dist/{HSpinner-nPz5YKt9.js → HSpinner-CMZ2W-GY.js} +1 -1
- package/dist/{HTable-Doogy4ha.mjs → HTable-Bd3ErPRn.mjs} +1 -1
- package/dist/{HTable-Cf-RwscT.js → HTable-Dx5l45_-.js} +1 -1
- package/dist/hisonvue.cjs.js +1 -1
- package/dist/hisonvue.d.ts +218 -4
- package/dist/hisonvue.es.js +129 -111
- package/dist/{index-u-g5zFbx.js → index-CPFyQIpi.js} +1 -1
- package/dist/{index-CGtmnY7e.mjs → index-CrciHSGg.mjs} +3 -3
- package/dist/{setButtonCssEvent-CCB_sufi.mjs → setButtonCssEvent-BOWM7Rfs.mjs} +1 -1
- package/dist/{setButtonCssEvent-POdDEEJw.js → setButtonCssEvent-Dv_zDL0C.js} +1 -1
- package/package.json +1 -1
- package/dist/HParagraph-CaMrBKMh.js +0 -1
package/dist/hisonvue.es.js
CHANGED
|
@@ -1,114 +1,132 @@
|
|
|
1
|
-
import { Q as a,
|
|
2
|
-
import { B, Y as
|
|
3
|
-
const n = a.AllDateTimeFormat, s = t.ColorSet,
|
|
1
|
+
import { Q as a, au as e, av as t } from "./index-CrciHSGg.mjs";
|
|
2
|
+
import { B as aa, Y as ta, Z as ea, X as oa, ax as na, az as sa, ay as la, f as ia, G as ra, aJ as Aa, aw as ca, V as _a, D as Ea, W as Ca, aK as ma, x as Sa, E as Da, y as Oa, aH as pa, L as La, K as ya, J as Ta, a4 as Va, a5 as Ha, a6 as Fa, a7 as ga, a8 as ua, aL as Ia, m as Ua, a9 as Ma, aa as Na, ab as da, ac as Ga, aI as Pa, ad as ha, ae as Ra, aF as fa, aG as Ba, af as ka, ag as Wa, ah as Ya, ai as Ka, aj as wa, ak as xa, al as ba, am as va, an as za, ao as Xa, ap as $a, aq as ja, ar as Ja, as as qa, k as Qa, H as Za, z as at, A as tt, N as et, O as ot, aA as nt, aB as st, $ as lt, S as it, M as rt, aC as At, i as ct, v as _t, aD as Et, T as Ct, _ as mt, w as St, a1 as Dt, a2 as Ot, a0 as pt, aE as Lt, at as yt, l as Tt, h as Vt, a3 as Ht, I as Ft } from "./index-CrciHSGg.mjs";
|
|
3
|
+
const n = a.AllDateTimeFormat, s = a.ApiDelete, l = a.ApiDeleteUrl, i = a.ApiGet, r = a.ApiGetUrl, A = a.ApiPatch, c = a.ApiPatchUrl, _ = a.ApiPost, E = a.ApiPostUrl, C = a.ApiPut, m = a.ApiPutUrl, S = a.CachingModule, D = t.ColorSet, O = a.CountDateType, p = a.DataModel, L = a.DataWrapper, y = a.DateFormat, T = a.DateTimeFormat, V = a.DayFormat, H = a.DayOfWeekFormat, F = a.DayOfWeekFullName, g = a.DayOfWeekFullNameKR, u = a.DayOfWeekShortName, I = a.DayOfWeekShortNameKR, U = t.Align, M = t.BasicDataType, N = t.DateFormat, d = t.MonthFormat, G = t.RowStatus, P = t.VerticalAlign, h = a.HourFormat, R = a.HourMinuteFormat, f = a.MinuteFormat, B = a.MonthFormat, k = a.MonthFullName, W = a.MonthShortName, Y = e.NoteModeByDevice, K = e.ToolPosition, w = a.SecondFormat, x = t.SelectionPolicy, b = a.TimeFormat, v = a.YearFormat, z = a.YearMonthFormat, X = a.createHison, $ = t.getVanillagrid, j = t.getVanillagridConfig, J = e.getVanillanote, q = e.getVanillanoteConfig;
|
|
4
4
|
export {
|
|
5
5
|
n as AllDateTimeFormat,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
Na as
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
6
|
+
s as ApiDelete,
|
|
7
|
+
l as ApiDeleteUrl,
|
|
8
|
+
i as ApiGet,
|
|
9
|
+
r as ApiGetUrl,
|
|
10
|
+
A as ApiPatch,
|
|
11
|
+
c as ApiPatchUrl,
|
|
12
|
+
_ as ApiPost,
|
|
13
|
+
E as ApiPostUrl,
|
|
14
|
+
C as ApiPut,
|
|
15
|
+
m as ApiPutUrl,
|
|
16
|
+
aa as BACKGROUND_TYPE_VALUES,
|
|
17
|
+
ta as BACK_IMAGE_ALIGN_VALUES,
|
|
18
|
+
ea as BACK_IMAGE_STYLE_VALUES,
|
|
19
|
+
oa as BACK_IMAGE_VERTICAL_ALIGN_VALUES,
|
|
20
|
+
na as BackImageAlign,
|
|
21
|
+
sa as BackImageRepeat,
|
|
22
|
+
la as BackImageVerticalAlign,
|
|
23
|
+
ia as BackgroundType,
|
|
24
|
+
ra as COLOR_SET_VALUES,
|
|
25
|
+
Aa as CSS_VAR_RE,
|
|
26
|
+
S as CachingModule,
|
|
27
|
+
ca as Color,
|
|
28
|
+
D as ColorSet,
|
|
29
|
+
O as CountDateType,
|
|
30
|
+
_a as DATA_STATUS_VALUES,
|
|
31
|
+
Ea as DROPDOWN_TRIGGER_VALUES,
|
|
32
|
+
p as DataModel,
|
|
33
|
+
Ca as DataStatus,
|
|
34
|
+
L as DataWrapper,
|
|
35
|
+
y as DateFormat,
|
|
36
|
+
T as DateTimeFormat,
|
|
37
|
+
V as DayFormat,
|
|
38
|
+
ma as DayOfWeek,
|
|
39
|
+
H as DayOfWeekFormat,
|
|
40
|
+
F as DayOfWeekFullName,
|
|
41
|
+
g as DayOfWeekFullNameKR,
|
|
42
|
+
u as DayOfWeekShortName,
|
|
43
|
+
I as DayOfWeekShortNameKR,
|
|
44
|
+
Sa as DropdownTrigger,
|
|
45
|
+
Da as EDIT_MODE_VALUES,
|
|
46
|
+
Oa as EditMode,
|
|
47
|
+
pa as GRID_ALIGN_VALUES,
|
|
48
|
+
La as GRID_DATE_FORMAT_VALUES,
|
|
49
|
+
ya as GRID_MONTH_FORMAT_VALUES,
|
|
50
|
+
Ta as GRID_VERTICAL_ALIGN_VALUES,
|
|
51
|
+
U as GridAlign,
|
|
52
|
+
M as GridBasicDataType,
|
|
53
|
+
N as GridDateFormat,
|
|
54
|
+
d as GridMonthFormat,
|
|
55
|
+
G as GridRowStatus,
|
|
56
|
+
P as GridVerticalAlign,
|
|
57
|
+
Va as HAccordionClientOnly,
|
|
58
|
+
Ha as HBaggieClientOnly,
|
|
59
|
+
Fa as HBannerClientOnly,
|
|
60
|
+
ga as HButtonClientOnly,
|
|
61
|
+
ua as HCalendarClientOnly,
|
|
62
|
+
Ia as HCalendarTimeFormat,
|
|
63
|
+
Ua as HCalendarView,
|
|
64
|
+
Ma as HCaptionClientOnly,
|
|
65
|
+
Na as HChartClientOnly,
|
|
66
|
+
da as HDrawerClientOnly,
|
|
67
|
+
Ga as HDropdownClientOnly,
|
|
68
|
+
Pa as HEX_COLOR_RE,
|
|
69
|
+
ha as HFilesetClientOnly,
|
|
70
|
+
Ra as HGapClientOnly,
|
|
71
|
+
fa as HGapLine,
|
|
72
|
+
Ba as HGapLineStyle,
|
|
73
|
+
ka as HGridClientOnly,
|
|
74
|
+
Wa as HImageboxClientOnly,
|
|
75
|
+
Ya as HInputClientOnly,
|
|
76
|
+
Ka as HInputGroupClientOnly,
|
|
77
|
+
wa as HLabelClientOnly,
|
|
78
|
+
xa as HLayoutClientOnly,
|
|
79
|
+
ba as HListClientOnly,
|
|
80
|
+
va as HModalClientOnly,
|
|
81
|
+
za as HNoteClientOnly,
|
|
82
|
+
Xa as HPaginationClientOnly,
|
|
83
|
+
$a as HParagraphClientOnly,
|
|
84
|
+
ja as HPopupClientOnly,
|
|
85
|
+
Ja as HSpinnerClientOnly,
|
|
86
|
+
qa as HTableClientOnly,
|
|
87
|
+
Qa as H_CALENDAR_TIME_FORMAT_VALUES,
|
|
88
|
+
Za as H_CALENDAR_VIEW_VALUES,
|
|
89
|
+
at as H_GAP_LINE_STYLE_VALUES,
|
|
90
|
+
tt as H_GAP_RULE_VALUES,
|
|
91
|
+
h as HourFormat,
|
|
92
|
+
R as HourMinuteFormat,
|
|
93
|
+
et as INPUT_TYPE_VALUES,
|
|
94
|
+
ot as InputType,
|
|
95
|
+
nt as MODAL_PLACEMENT_VALUES,
|
|
96
|
+
f as MinuteFormat,
|
|
97
|
+
st as ModalPlacement,
|
|
98
|
+
B as MonthFormat,
|
|
99
|
+
k as MonthFullName,
|
|
100
|
+
W as MonthShortName,
|
|
101
|
+
lt as NOTE_MODE_BY_DEVICE_VALUES,
|
|
102
|
+
Y as NoteModeByDevice,
|
|
103
|
+
K as NoteToolPosition,
|
|
104
|
+
it as SCREEN_POSITION_VALUES,
|
|
105
|
+
rt as SELECTION_POLICY_VALUES,
|
|
106
|
+
At as SPINNER_TYPE_VALUES,
|
|
107
|
+
ct as ScreenPosition,
|
|
108
|
+
w as SecondFormat,
|
|
109
|
+
x as SelectionPolicy,
|
|
110
|
+
_t as Size,
|
|
111
|
+
Et as SpinnerType,
|
|
112
|
+
Ct as TEXT_ALIGN_VALUES,
|
|
113
|
+
mt as TOOL_POSITION_VALUES,
|
|
114
|
+
St as TextAlign,
|
|
115
|
+
b as TimeFormat,
|
|
116
|
+
Dt as VERTICAL_ALIGN_VALUES,
|
|
117
|
+
Ot as VerticalAlign,
|
|
118
|
+
pt as WHITE_SPACE_VALUES,
|
|
119
|
+
Lt as WhiteSpace,
|
|
120
|
+
v as YearFormat,
|
|
121
|
+
z as YearMonthFormat,
|
|
122
|
+
X as createHison,
|
|
123
|
+
yt as getDefaultHisonConfig,
|
|
124
|
+
$ as getVanillagrid,
|
|
125
|
+
j as getVanillagridConfig,
|
|
126
|
+
J as getVanillanote,
|
|
127
|
+
q as getVanillanoteConfig,
|
|
128
|
+
Tt as hison,
|
|
129
|
+
Vt as hisonCloser,
|
|
130
|
+
Ht as hisonvue,
|
|
131
|
+
Ft as isCssColorLike
|
|
114
132
|
};
|
|
@@ -150,4 +150,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
150
150
|
--hison-l-font-size: ${t.fontSizeL};
|
|
151
151
|
--hison-xl-font-size: ${t.fontSizeXL};
|
|
152
152
|
}
|
|
153
|
-
`.trim(),o="hisonvue-css-variables";let r=document.getElementById(o);r&&r.remove(),r=document.createElement("style"),r.id=o,r.textContent=n,document.head.appendChild(r)},Wy=(t,e)=>{qd(t,e),t.setMaxFilesetSize=o=>{ce.componentConfig.filesetSize=o},t.setMaxFilesetTotalSize=o=>{ce.componentConfig.filesetTotalSize=o},t.getMaxFilesetSize=()=>ce.componentConfig.filesetSize,t.getMaxFilesetTotalSize=()=>ce.componentConfig.filesetTotalSize,t.cssEvent={setButtonOnBefoerFocus(o){ce.event.cssEvent.button_onBeforeFocus=o},setButtonOnAfterFocus(o){ce.event.cssEvent.button_onAfterFocus=o},setButtonOnBefoerBlur(o){ce.event.cssEvent.button_onBeforeBlur=o},setButtonOnAfterBlur(o){ce.event.cssEvent.button_onAfterBlur=o},setButtonOnBefoerClick(o){ce.event.cssEvent.button_onBeforeClick=o},setButtonOnAfterClick(o){ce.event.cssEvent.button_onAfterClick=o},setButtonOnBeforeMouseover(o){ce.event.cssEvent.button_onBeforeMouseover=o},setButtonOnAfterMouseover(o){ce.event.cssEvent.button_onAfterMouseover=o},setButtonOnBeforeMouseout(o){ce.event.cssEvent.button_onBeforeMouseout=o},setButtonOnAfterMouseout(o){ce.event.cssEvent.button_onAfterMouseout=o},setButtonOnBeforeTouchstart(o){ce.event.cssEvent.button_onBeforeTouchstart=o},setButtonOnAfterTouchstart(o){ce.event.cssEvent.button_onAfterTouchstart=o},setButtonOnBeforeTouchend(o){ce.event.cssEvent.button_onBeforeTouchend=o},setButtonOnAfterTouchend(o){ce.event.cssEvent.button_onAfterTouchend=o},setInputOnBefoerFocus(o){ce.event.cssEvent.input_onBeforeFocus=o},setInputOnAfterFocus(o){ce.event.cssEvent.input_onAfterFocus=o},setInputOnBefoerBlur(o){ce.event.cssEvent.input_onBeforeBlur=o},setInputOnAfterBlur(o){ce.event.cssEvent.input_onAfterBlur=o},setInputOnBeforeMouseover(o){ce.event.cssEvent.input_onBeforeMouseover=o},setInputOnAfterMouseover(o){ce.event.cssEvent.input_onAfterMouseover=o},setInputOnBeforeMouseout(o){ce.event.cssEvent.input_onBeforeMouseout=o},setInputOnAfterMouseout(o){ce.event.cssEvent.input_onAfterMouseout=o},setInputOnBeforeTouchstart(o){ce.event.cssEvent.input_onBeforeTouchstart=o},setInputOnAfterTouchstart(o){ce.event.cssEvent.input_onAfterTouchstart=o},setInputOnBeforeTouchend(o){ce.event.cssEvent.input_onBeforeTouchend=o},setInputOnAfterTouchend(o){ce.event.cssEvent.input_onAfterTouchend=o}};const n=()=>{typeof window<"u"&&(gd(),gu())};t.style={setSize(o){ce.componentStyle.size=o,n()},setFilledColor(o){ce.componentStyle.filledColor=o,n()},setEmptyColor(o){ce.componentStyle.emptyColor=o,n()},setFilledTextColor(o){ce.componentStyle.filledTextColor=o,n()},setEmptyTextColor(o){ce.componentStyle.emptyTextColor=o,n()},setPrimaryColor(o){ce.componentStyle.primaryColor=o,n()},setMutedColor(o){ce.componentStyle.mutedColor=o,n()},setInfoColor(o){ce.componentStyle.infoColor=o,n()},setSuccessColor(o){ce.componentStyle.successColor=o,n()},setDangerColor(o){ce.componentStyle.dangerColor=o,n()},setWarningColor(o){ce.componentStyle.warningColor=o,n()},setInvertColor(o){ce.componentStyle.invertColor=o,n()},getFilledColor(){return ce.componentStyle.filledColor},getEmptyColor(){return ce.componentStyle.emptyColor},getFilledTextColor(){return ce.componentStyle.filledTextColor},getEmptyTextColor(){return ce.componentStyle.emptyTextColor},getPrimaryColor(){return ce.componentStyle.primaryColor},getPrimaryButtonColor(){return ce.componentStyle.componentColor.primary.buttonColor},getPrimaryBorderColor(){return ce.componentStyle.componentColor.primary.borderColor},getPrimaryShadowColor(){return ce.componentStyle.componentColor.primary.shadowColor},getPrimaryHoverColor(){return ce.componentStyle.componentColor.primary.hoverColor},getPrimaryActiveColor(){return ce.componentStyle.componentColor.primary.activeColor},getPrimaryRowHoverColor(){return ce.componentStyle.componentColor.primary.rowHoverColor},getPrimaryStripeColor(){return ce.componentStyle.componentColor.primary.stripeColor},getMutedColor(){return ce.componentStyle.mutedColor},getMutedButtonColor(){return ce.componentStyle.componentColor.muted.buttonColor},getMutedBorderColor(){return ce.componentStyle.componentColor.muted.borderColor},getMutedShadowColor(){return ce.componentStyle.componentColor.muted.shadowColor},getMutedHoverColor(){return ce.componentStyle.componentColor.muted.hoverColor},getMutedActiveColor(){return ce.componentStyle.componentColor.muted.activeColor},getMutedRowHoverColor(){return ce.componentStyle.componentColor.muted.rowHoverColor},getMutedStripeColor(){return ce.componentStyle.componentColor.muted.stripeColor},getInfoColor(){return ce.componentStyle.infoColor},getInfoButtonColor(){return ce.componentStyle.componentColor.info.buttonColor},getInfoBorderColor(){return ce.componentStyle.componentColor.info.borderColor},getInfoShadowColor(){return ce.componentStyle.componentColor.info.shadowColor},getInfoHoverColor(){return ce.componentStyle.componentColor.info.hoverColor},getInfoActiveColor(){return ce.componentStyle.componentColor.info.activeColor},getInfoRowHoverColor(){return ce.componentStyle.componentColor.info.rowHoverColor},getInfoStripeColor(){return ce.componentStyle.componentColor.info.stripeColor},getSuccessColor(){return ce.componentStyle.successColor},getSuccessButtonColor(){return ce.componentStyle.componentColor.success.buttonColor},getSuccessBorderColor(){return ce.componentStyle.componentColor.success.borderColor},getSuccessShadowColor(){return ce.componentStyle.componentColor.success.shadowColor},getSuccessHoverColor(){return ce.componentStyle.componentColor.success.hoverColor},getSuccessActiveColor(){return ce.componentStyle.componentColor.success.activeColor},getSuccessRowHoverColor(){return ce.componentStyle.componentColor.success.rowHoverColor},getSuccessStripeColor(){return ce.componentStyle.componentColor.success.stripeColor},getDangerColor(){return ce.componentStyle.dangerColor},getDangerButtonColor(){return ce.componentStyle.componentColor.danger.buttonColor},getDangerBorderColor(){return ce.componentStyle.componentColor.danger.borderColor},getDangerShadowColor(){return ce.componentStyle.componentColor.danger.shadowColor},getDangerHoverColor(){return ce.componentStyle.componentColor.danger.hoverColor},getDangerActiveColor(){return ce.componentStyle.componentColor.danger.activeColor},getDangerRowHoverColor(){return ce.componentStyle.componentColor.danger.rowHoverColor},getDangerStripeColor(){return ce.componentStyle.componentColor.danger.stripeColor},getWarningColor(){return ce.componentStyle.warningColor},getWarningButtonColor(){return ce.componentStyle.componentColor.warning.buttonColor},getWarningBorderColor(){return ce.componentStyle.componentColor.warning.borderColor},getWarningShadowColor(){return ce.componentStyle.componentColor.warning.shadowColor},getWarningHoverColor(){return ce.componentStyle.componentColor.warning.hoverColor},getWarningActiveColor(){return ce.componentStyle.componentColor.warning.activeColor},getWarningRowHoverColor(){return ce.componentStyle.componentColor.warning.rowHoverColor},getWarningStripeColor(){return ce.componentStyle.componentColor.warning.stripeColor},isInvertColor(){return ce.componentStyle.invertColor}},t.component={},t.component.getAccordion=o=>ce.component.accordionList[o],t.component.getBaggie=o=>ce.component.baggieList[o],t.component.getBanner=o=>ce.component.bannerList[o],t.component.getButton=o=>ce.component.buttonList[o],t.component.getCalendar=o=>ce.component.calendarList[o],t.component.getCaption=o=>ce.component.captionList[o],t.component.getChart=o=>ce.component.chartList[o],t.component.getDrawer=o=>ce.component.drawerList[o],t.component.getDropdown=o=>ce.component.dropdownList[o],t.component.getGap=o=>ce.component.gapList[o],t.component.getFileset=o=>ce.component.filesetList[o],t.component.getGrid=o=>ce.grid.getGrid(o),t.component.getImagebox=o=>ce.component.imageboxList[o],t.component.getInput=o=>ce.component.inputList[o],t.component.getInputGroup=o=>ce.component.inputGroupList[o],t.component.getLabel=o=>ce.component.labelList[o],t.component.getLayout=o=>ce.component.layoutList[o],t.component.getList=o=>ce.component.listList[o],t.component.getModal=o=>ce.component.modalList[o],t.component.getNote=o=>ce.note.getNote(o),t.component.getPagination=o=>ce.component.paginationList[o],t.component.getParagraph=o=>ce.component.paragraphList[o],t.component.getPopup=o=>ce.component.popupList[o],t.component.getSpinner=o=>ce.component.spinnerList[o],t.component.getTable=o=>ce.component.tableList[o]},yd=Bt(()=>Promise.resolve().then(()=>require("./HAccordion-D53doYgK.js")),"HAccordion"),pd=Bt(()=>Promise.resolve().then(()=>require("./HBaggie-x9UvJGiJ.js")),"HBaggie"),_d=Bt(()=>Promise.resolve().then(()=>require("./HBanner-CAdeTMnB.js")),"HBanner"),vd=Bt(()=>Promise.resolve().then(()=>require("./HButton-Uz0qdLWQ.js")),"HButton"),bd=Bt(()=>Promise.resolve().then(()=>require("./HCalendar-DIFdlXwz.js")),"HCalendar"),Cd=Bt(()=>Promise.resolve().then(()=>require("./HCaption-Db1dmwRW.js")),"HCaption"),Md=Bt(()=>Promise.resolve().then(()=>require("./HChart-LlHYIP2A.js")),"HChart"),xd=Bt(()=>Promise.resolve().then(()=>require("./HDrawer-ZjHUxtXZ.js")),"HDrawer"),Sd=Bt(()=>Promise.resolve().then(()=>require("./HDropdown-bYmaAvIV.js")),"HDropdown"),kd=Bt(()=>Promise.resolve().then(()=>require("./HFileset-TWFJ3C6D.js")),"HFileset"),Id=Bt(()=>Promise.resolve().then(()=>require("./HGap-BFE_cRNa.js")),"HGap"),Ed=Bt(()=>Promise.resolve().then(()=>require("./HGrid-DZDZM2pv.js")),"HGrid"),wd=Bt(()=>Promise.resolve().then(()=>require("./HImagebox-SZe_cRtZ.js")),"HImagebox"),Ad=Bt(()=>Promise.resolve().then(()=>require("./HInput-B51uh9uS.js")),"HInput"),Td=Bt(()=>Promise.resolve().then(()=>require("./HInputGroup-BAcpG0lk.js")),"HInputGroup"),Bd=Bt(()=>Promise.resolve().then(()=>require("./HLabel-De0IPwWk.js")),"HLabel"),Ld=Bt(()=>Promise.resolve().then(()=>require("./HLayout-C4ZeYEtd.js")),"HLayout"),Nd=Bt(()=>Promise.resolve().then(()=>require("./HList-D8M9ZWLn.js")),"HList"),Rd=Bt(()=>Promise.resolve().then(()=>require("./HModal-rOoHUUL2.js")),"HModal"),Hd=Bt(()=>Promise.resolve().then(()=>require("./HNote-C0sXwB78.js")),"HNote"),Fd=Bt(()=>Promise.resolve().then(()=>require("./HPagination-CsJ6UyKF.js")),"HPagination"),Od=Bt(()=>Promise.resolve().then(()=>require("./HParagraph-CaMrBKMh.js")),"HParagraph"),Vd=Bt(()=>Promise.resolve().then(()=>require("./HPopup--kcL-DVz.js")),"HPopup"),Pd=Bt(()=>Promise.resolve().then(()=>require("./HSpinner-nPz5YKt9.js")),"HSpinner"),Dd=Bt(()=>Promise.resolve().then(()=>require("./HTable-Cf-RwscT.js")),"HTable"),ce={event:{cssEvent:{}}},un=en.createHison(),qy={install(t,e){const n=La();e?Object.keys(n).forEach(o=>{o in e||(e[o]=n[o])}):e=La(),Uy(e),Wy(un,e),typeof window<"u"&&gd(),jy(),t.provide("hison",un),t.component("HAccordion",yd),t.component("HBaggie",pd),t.component("HBanner",_d),t.component("HButton",vd),t.component("HCalendar",bd),t.component("HCaption",Cd),t.component("HChart",Md),t.component("HDrawer",xd),t.component("HDropdown",Sd),t.component("HFileset",kd),t.component("HGap",Id),t.component("HGrid",Ed),t.component("HImagebox",wd),t.component("HInput",Ad),t.component("HInputGroup",Td),t.component("HLabel",Bd),t.component("HLayout",Ld),t.component("HList",Nd),t.component("HModal",Rd),t.component("HNote",Hd),t.component("HPagination",Fd),t.component("HParagraph",Od),t.component("HPopup",Vd),t.component("HSpinner",Pd),t.component("HTable",Dd)}};exports.BACKGROUND_TYPE_VALUES=Mu;exports.BACK_IMAGE_ALIGN_VALUES=vu;exports.BACK_IMAGE_STYLE_VALUES=Cu;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=bu;exports.BackImageAlign=Ks;exports.BackImageRepeat=Js;exports.BackImageVerticalAlign=Xs;exports.BackgroundType=Zs;exports.COLOR_SET_VALUES=Pu;exports.CSS_VAR_RE=uc;exports.Chart=mn;exports.Color=Ys;exports.DATA_STATUS_VALUES=zu;exports.DROPDOWN_TRIGGER_VALUES=Lu;exports.DataStatus=fc;exports.DayOfWeek=hc;exports.DropdownTrigger=sc;exports.EDIT_MODE_VALUES=Bu;exports.EditMode=lc;exports.GRID_ALIGN_VALUES=Ou;exports.GRID_DATE_FORMAT_VALUES=Hu;exports.GRID_MONTH_FORMAT_VALUES=Fu;exports.GRID_VERTICAL_ALIGN_VALUES=Vu;exports.HAccordionClientOnly=yd;exports.HBaggieClientOnly=pd;exports.HBannerClientOnly=_d;exports.HButtonClientOnly=vd;exports.HCalendarClientOnly=bd;exports.HCalendarTimeFormat=gc;exports.HCalendarView=mc;exports.HCaptionClientOnly=Cd;exports.HChartClientOnly=Md;exports.HDrawerClientOnly=xd;exports.HDropdownClientOnly=Sd;exports.HEX_COLOR_RE=dc;exports.HFilesetClientOnly=kd;exports.HGapClientOnly=Id;exports.HGapLine=rc;exports.HGapLineStyle=ic;exports.HGridClientOnly=Ed;exports.HImageboxClientOnly=wd;exports.HInputClientOnly=Ad;exports.HInputGroupClientOnly=Td;exports.HLabelClientOnly=Bd;exports.HLayoutClientOnly=Ld;exports.HListClientOnly=Nd;exports.HModalClientOnly=Rd;exports.HNoteClientOnly=Hd;exports.HPaginationClientOnly=Fd;exports.HParagraphClientOnly=Od;exports.HPopupClientOnly=Vd;exports.HSpinnerClientOnly=Pd;exports.HTableClientOnly=Dd;exports.H_CALENDAR_TIME_FORMAT_VALUES=Gu;exports.H_CALENDAR_VIEW_VALUES=Uu;exports.H_GAP_LINE_STYLE_VALUES=Au;exports.H_GAP_RULE_VALUES=wu;exports.Hisonjs_bundleExports=en;exports.INPUT_TYPE_VALUES=Tu;exports.InputType=ac;exports.MODAL_PLACEMENT_VALUES=xu;exports.ModalPlacement=Qs;exports.NOTE_MODE_BY_DEVICE_VALUES=ju;exports.SCREEN_POSITION_VALUES=Su;exports.SELECTION_POLICY_VALUES=Ru;exports.SPINNER_TYPE_VALUES=ku;exports.ScreenPosition=ec;exports.Size=lo;exports.SpinnerType=tc;exports.TEXT_ALIGN_VALUES=Nu;exports.TOOL_POSITION_VALUES=Wu;exports.TextAlign=cc;exports.VERTICAL_ALIGN_VALUES=Iu;exports.Vanillagrid2_bundleExports=Na;exports.Vanillanote2_bundleExports=Ra;exports.VerticalAlign=nc;exports.WHITE_SPACE_VALUES=Eu;exports.WhiteSpace=oc;exports.addComponentNameToClass=iu;exports.applyOpacityToRgba=fu;exports.extractPrefixedClasses=au;exports.extractResponsiveClasses=ru;exports.getDefaultHisonConfig=La;exports.getDigitsOnly=eu;exports.getHexCodeFromColorText=cu;exports.getIndexSpecificClassNameFromClassList=js;exports.getInvertColor=hn;exports.getMaskValue=Qd;exports.getRGBAFromColorText=du;exports.getSpecificClassValueFromClassList=ou;exports.getUUID=Xd;exports.hison=un;exports.hisonCloser=ce;exports.hisonvue=qy;exports.isCssColorLike=Du;exports.isNullOrUndefined=Kd;exports.normalizeToRgba=dn;exports.registerReloadable=hu;exports.reloadHisonComponent=yu;exports.toClassString=Ws;exports.unregisterReloadable=mu;exports.useDevice=Gy;
|
|
153
|
+
`.trim(),o="hisonvue-css-variables";let r=document.getElementById(o);r&&r.remove(),r=document.createElement("style"),r.id=o,r.textContent=n,document.head.appendChild(r)},Wy=(t,e)=>{qd(t,e),t.setMaxFilesetSize=o=>{ce.componentConfig.filesetSize=o},t.setMaxFilesetTotalSize=o=>{ce.componentConfig.filesetTotalSize=o},t.getMaxFilesetSize=()=>ce.componentConfig.filesetSize,t.getMaxFilesetTotalSize=()=>ce.componentConfig.filesetTotalSize,t.cssEvent={setButtonOnBefoerFocus(o){ce.event.cssEvent.button_onBeforeFocus=o},setButtonOnAfterFocus(o){ce.event.cssEvent.button_onAfterFocus=o},setButtonOnBefoerBlur(o){ce.event.cssEvent.button_onBeforeBlur=o},setButtonOnAfterBlur(o){ce.event.cssEvent.button_onAfterBlur=o},setButtonOnBefoerClick(o){ce.event.cssEvent.button_onBeforeClick=o},setButtonOnAfterClick(o){ce.event.cssEvent.button_onAfterClick=o},setButtonOnBeforeMouseover(o){ce.event.cssEvent.button_onBeforeMouseover=o},setButtonOnAfterMouseover(o){ce.event.cssEvent.button_onAfterMouseover=o},setButtonOnBeforeMouseout(o){ce.event.cssEvent.button_onBeforeMouseout=o},setButtonOnAfterMouseout(o){ce.event.cssEvent.button_onAfterMouseout=o},setButtonOnBeforeTouchstart(o){ce.event.cssEvent.button_onBeforeTouchstart=o},setButtonOnAfterTouchstart(o){ce.event.cssEvent.button_onAfterTouchstart=o},setButtonOnBeforeTouchend(o){ce.event.cssEvent.button_onBeforeTouchend=o},setButtonOnAfterTouchend(o){ce.event.cssEvent.button_onAfterTouchend=o},setInputOnBefoerFocus(o){ce.event.cssEvent.input_onBeforeFocus=o},setInputOnAfterFocus(o){ce.event.cssEvent.input_onAfterFocus=o},setInputOnBefoerBlur(o){ce.event.cssEvent.input_onBeforeBlur=o},setInputOnAfterBlur(o){ce.event.cssEvent.input_onAfterBlur=o},setInputOnBeforeMouseover(o){ce.event.cssEvent.input_onBeforeMouseover=o},setInputOnAfterMouseover(o){ce.event.cssEvent.input_onAfterMouseover=o},setInputOnBeforeMouseout(o){ce.event.cssEvent.input_onBeforeMouseout=o},setInputOnAfterMouseout(o){ce.event.cssEvent.input_onAfterMouseout=o},setInputOnBeforeTouchstart(o){ce.event.cssEvent.input_onBeforeTouchstart=o},setInputOnAfterTouchstart(o){ce.event.cssEvent.input_onAfterTouchstart=o},setInputOnBeforeTouchend(o){ce.event.cssEvent.input_onBeforeTouchend=o},setInputOnAfterTouchend(o){ce.event.cssEvent.input_onAfterTouchend=o}};const n=()=>{typeof window<"u"&&(gd(),gu())};t.style={setSize(o){ce.componentStyle.size=o,n()},setFilledColor(o){ce.componentStyle.filledColor=o,n()},setEmptyColor(o){ce.componentStyle.emptyColor=o,n()},setFilledTextColor(o){ce.componentStyle.filledTextColor=o,n()},setEmptyTextColor(o){ce.componentStyle.emptyTextColor=o,n()},setPrimaryColor(o){ce.componentStyle.primaryColor=o,n()},setMutedColor(o){ce.componentStyle.mutedColor=o,n()},setInfoColor(o){ce.componentStyle.infoColor=o,n()},setSuccessColor(o){ce.componentStyle.successColor=o,n()},setDangerColor(o){ce.componentStyle.dangerColor=o,n()},setWarningColor(o){ce.componentStyle.warningColor=o,n()},setInvertColor(o){ce.componentStyle.invertColor=o,n()},getFilledColor(){return ce.componentStyle.filledColor},getEmptyColor(){return ce.componentStyle.emptyColor},getFilledTextColor(){return ce.componentStyle.filledTextColor},getEmptyTextColor(){return ce.componentStyle.emptyTextColor},getPrimaryColor(){return ce.componentStyle.primaryColor},getPrimaryButtonColor(){return ce.componentStyle.componentColor.primary.buttonColor},getPrimaryBorderColor(){return ce.componentStyle.componentColor.primary.borderColor},getPrimaryShadowColor(){return ce.componentStyle.componentColor.primary.shadowColor},getPrimaryHoverColor(){return ce.componentStyle.componentColor.primary.hoverColor},getPrimaryActiveColor(){return ce.componentStyle.componentColor.primary.activeColor},getPrimaryRowHoverColor(){return ce.componentStyle.componentColor.primary.rowHoverColor},getPrimaryStripeColor(){return ce.componentStyle.componentColor.primary.stripeColor},getMutedColor(){return ce.componentStyle.mutedColor},getMutedButtonColor(){return ce.componentStyle.componentColor.muted.buttonColor},getMutedBorderColor(){return ce.componentStyle.componentColor.muted.borderColor},getMutedShadowColor(){return ce.componentStyle.componentColor.muted.shadowColor},getMutedHoverColor(){return ce.componentStyle.componentColor.muted.hoverColor},getMutedActiveColor(){return ce.componentStyle.componentColor.muted.activeColor},getMutedRowHoverColor(){return ce.componentStyle.componentColor.muted.rowHoverColor},getMutedStripeColor(){return ce.componentStyle.componentColor.muted.stripeColor},getInfoColor(){return ce.componentStyle.infoColor},getInfoButtonColor(){return ce.componentStyle.componentColor.info.buttonColor},getInfoBorderColor(){return ce.componentStyle.componentColor.info.borderColor},getInfoShadowColor(){return ce.componentStyle.componentColor.info.shadowColor},getInfoHoverColor(){return ce.componentStyle.componentColor.info.hoverColor},getInfoActiveColor(){return ce.componentStyle.componentColor.info.activeColor},getInfoRowHoverColor(){return ce.componentStyle.componentColor.info.rowHoverColor},getInfoStripeColor(){return ce.componentStyle.componentColor.info.stripeColor},getSuccessColor(){return ce.componentStyle.successColor},getSuccessButtonColor(){return ce.componentStyle.componentColor.success.buttonColor},getSuccessBorderColor(){return ce.componentStyle.componentColor.success.borderColor},getSuccessShadowColor(){return ce.componentStyle.componentColor.success.shadowColor},getSuccessHoverColor(){return ce.componentStyle.componentColor.success.hoverColor},getSuccessActiveColor(){return ce.componentStyle.componentColor.success.activeColor},getSuccessRowHoverColor(){return ce.componentStyle.componentColor.success.rowHoverColor},getSuccessStripeColor(){return ce.componentStyle.componentColor.success.stripeColor},getDangerColor(){return ce.componentStyle.dangerColor},getDangerButtonColor(){return ce.componentStyle.componentColor.danger.buttonColor},getDangerBorderColor(){return ce.componentStyle.componentColor.danger.borderColor},getDangerShadowColor(){return ce.componentStyle.componentColor.danger.shadowColor},getDangerHoverColor(){return ce.componentStyle.componentColor.danger.hoverColor},getDangerActiveColor(){return ce.componentStyle.componentColor.danger.activeColor},getDangerRowHoverColor(){return ce.componentStyle.componentColor.danger.rowHoverColor},getDangerStripeColor(){return ce.componentStyle.componentColor.danger.stripeColor},getWarningColor(){return ce.componentStyle.warningColor},getWarningButtonColor(){return ce.componentStyle.componentColor.warning.buttonColor},getWarningBorderColor(){return ce.componentStyle.componentColor.warning.borderColor},getWarningShadowColor(){return ce.componentStyle.componentColor.warning.shadowColor},getWarningHoverColor(){return ce.componentStyle.componentColor.warning.hoverColor},getWarningActiveColor(){return ce.componentStyle.componentColor.warning.activeColor},getWarningRowHoverColor(){return ce.componentStyle.componentColor.warning.rowHoverColor},getWarningStripeColor(){return ce.componentStyle.componentColor.warning.stripeColor},isInvertColor(){return ce.componentStyle.invertColor}},t.component={},t.component.getAccordion=o=>ce.component.accordionList[o],t.component.getBaggie=o=>ce.component.baggieList[o],t.component.getBanner=o=>ce.component.bannerList[o],t.component.getButton=o=>ce.component.buttonList[o],t.component.getCalendar=o=>ce.component.calendarList[o],t.component.getCaption=o=>ce.component.captionList[o],t.component.getChart=o=>ce.component.chartList[o],t.component.getDrawer=o=>ce.component.drawerList[o],t.component.getDropdown=o=>ce.component.dropdownList[o],t.component.getGap=o=>ce.component.gapList[o],t.component.getFileset=o=>ce.component.filesetList[o],t.component.getGrid=o=>ce.grid.getGrid(o),t.component.getImagebox=o=>ce.component.imageboxList[o],t.component.getInput=o=>ce.component.inputList[o],t.component.getInputGroup=o=>ce.component.inputGroupList[o],t.component.getLabel=o=>ce.component.labelList[o],t.component.getLayout=o=>ce.component.layoutList[o],t.component.getList=o=>ce.component.listList[o],t.component.getModal=o=>ce.component.modalList[o],t.component.getNote=o=>ce.note.getNote(o),t.component.getPagination=o=>ce.component.paginationList[o],t.component.getParagraph=o=>ce.component.paragraphList[o],t.component.getPopup=o=>ce.component.popupList[o],t.component.getSpinner=o=>ce.component.spinnerList[o],t.component.getTable=o=>ce.component.tableList[o]},yd=Bt(()=>Promise.resolve().then(()=>require("./HAccordion-yaZ0sBWj.js")),"HAccordion"),pd=Bt(()=>Promise.resolve().then(()=>require("./HBaggie-DhMiL1-B.js")),"HBaggie"),_d=Bt(()=>Promise.resolve().then(()=>require("./HBanner-CkIr-lzQ.js")),"HBanner"),vd=Bt(()=>Promise.resolve().then(()=>require("./HButton-CT0Az7ea.js")),"HButton"),bd=Bt(()=>Promise.resolve().then(()=>require("./HCalendar-C7RbTZT9.js")),"HCalendar"),Cd=Bt(()=>Promise.resolve().then(()=>require("./HCaption-DslrgN-4.js")),"HCaption"),Md=Bt(()=>Promise.resolve().then(()=>require("./HChart-Dw1BMCJS.js")),"HChart"),xd=Bt(()=>Promise.resolve().then(()=>require("./HDrawer-C8dvmJDK.js")),"HDrawer"),Sd=Bt(()=>Promise.resolve().then(()=>require("./HDropdown-mSEm-0ZC.js")),"HDropdown"),kd=Bt(()=>Promise.resolve().then(()=>require("./HFileset-Bu2-UdKj.js")),"HFileset"),Id=Bt(()=>Promise.resolve().then(()=>require("./HGap-DsJy_QnE.js")),"HGap"),Ed=Bt(()=>Promise.resolve().then(()=>require("./HGrid-1YUZ2y6u.js")),"HGrid"),wd=Bt(()=>Promise.resolve().then(()=>require("./HImagebox-r9i5w5WN.js")),"HImagebox"),Ad=Bt(()=>Promise.resolve().then(()=>require("./HInput-CcWTYayE.js")),"HInput"),Td=Bt(()=>Promise.resolve().then(()=>require("./HInputGroup-lVdHU36z.js")),"HInputGroup"),Bd=Bt(()=>Promise.resolve().then(()=>require("./HLabel-vkRYvApC.js")),"HLabel"),Ld=Bt(()=>Promise.resolve().then(()=>require("./HLayout-VCGeEX_T.js")),"HLayout"),Nd=Bt(()=>Promise.resolve().then(()=>require("./HList-T55xOKTU.js")),"HList"),Rd=Bt(()=>Promise.resolve().then(()=>require("./HModal-C4C4J9GA.js")),"HModal"),Hd=Bt(()=>Promise.resolve().then(()=>require("./HNote-RUUsRTzx.js")),"HNote"),Fd=Bt(()=>Promise.resolve().then(()=>require("./HPagination-BxRAk9Pi.js")),"HPagination"),Od=Bt(()=>Promise.resolve().then(()=>require("./HParagraph-B3VkXyh7.js")),"HParagraph"),Vd=Bt(()=>Promise.resolve().then(()=>require("./HPopup-Cnt1__JS.js")),"HPopup"),Pd=Bt(()=>Promise.resolve().then(()=>require("./HSpinner-CMZ2W-GY.js")),"HSpinner"),Dd=Bt(()=>Promise.resolve().then(()=>require("./HTable-Dx5l45_-.js")),"HTable"),ce={event:{cssEvent:{}}},un=en.createHison(),qy={install(t,e){const n=La();e?Object.keys(n).forEach(o=>{o in e||(e[o]=n[o])}):e=La(),Uy(e),Wy(un,e),typeof window<"u"&&gd(),jy(),t.provide("hison",un),t.component("HAccordion",yd),t.component("HBaggie",pd),t.component("HBanner",_d),t.component("HButton",vd),t.component("HCalendar",bd),t.component("HCaption",Cd),t.component("HChart",Md),t.component("HDrawer",xd),t.component("HDropdown",Sd),t.component("HFileset",kd),t.component("HGap",Id),t.component("HGrid",Ed),t.component("HImagebox",wd),t.component("HInput",Ad),t.component("HInputGroup",Td),t.component("HLabel",Bd),t.component("HLayout",Ld),t.component("HList",Nd),t.component("HModal",Rd),t.component("HNote",Hd),t.component("HPagination",Fd),t.component("HParagraph",Od),t.component("HPopup",Vd),t.component("HSpinner",Pd),t.component("HTable",Dd)}};exports.BACKGROUND_TYPE_VALUES=Mu;exports.BACK_IMAGE_ALIGN_VALUES=vu;exports.BACK_IMAGE_STYLE_VALUES=Cu;exports.BACK_IMAGE_VERTICAL_ALIGN_VALUES=bu;exports.BackImageAlign=Ks;exports.BackImageRepeat=Js;exports.BackImageVerticalAlign=Xs;exports.BackgroundType=Zs;exports.COLOR_SET_VALUES=Pu;exports.CSS_VAR_RE=uc;exports.Chart=mn;exports.Color=Ys;exports.DATA_STATUS_VALUES=zu;exports.DROPDOWN_TRIGGER_VALUES=Lu;exports.DataStatus=fc;exports.DayOfWeek=hc;exports.DropdownTrigger=sc;exports.EDIT_MODE_VALUES=Bu;exports.EditMode=lc;exports.GRID_ALIGN_VALUES=Ou;exports.GRID_DATE_FORMAT_VALUES=Hu;exports.GRID_MONTH_FORMAT_VALUES=Fu;exports.GRID_VERTICAL_ALIGN_VALUES=Vu;exports.HAccordionClientOnly=yd;exports.HBaggieClientOnly=pd;exports.HBannerClientOnly=_d;exports.HButtonClientOnly=vd;exports.HCalendarClientOnly=bd;exports.HCalendarTimeFormat=gc;exports.HCalendarView=mc;exports.HCaptionClientOnly=Cd;exports.HChartClientOnly=Md;exports.HDrawerClientOnly=xd;exports.HDropdownClientOnly=Sd;exports.HEX_COLOR_RE=dc;exports.HFilesetClientOnly=kd;exports.HGapClientOnly=Id;exports.HGapLine=rc;exports.HGapLineStyle=ic;exports.HGridClientOnly=Ed;exports.HImageboxClientOnly=wd;exports.HInputClientOnly=Ad;exports.HInputGroupClientOnly=Td;exports.HLabelClientOnly=Bd;exports.HLayoutClientOnly=Ld;exports.HListClientOnly=Nd;exports.HModalClientOnly=Rd;exports.HNoteClientOnly=Hd;exports.HPaginationClientOnly=Fd;exports.HParagraphClientOnly=Od;exports.HPopupClientOnly=Vd;exports.HSpinnerClientOnly=Pd;exports.HTableClientOnly=Dd;exports.H_CALENDAR_TIME_FORMAT_VALUES=Gu;exports.H_CALENDAR_VIEW_VALUES=Uu;exports.H_GAP_LINE_STYLE_VALUES=Au;exports.H_GAP_RULE_VALUES=wu;exports.Hisonjs_bundleExports=en;exports.INPUT_TYPE_VALUES=Tu;exports.InputType=ac;exports.MODAL_PLACEMENT_VALUES=xu;exports.ModalPlacement=Qs;exports.NOTE_MODE_BY_DEVICE_VALUES=ju;exports.SCREEN_POSITION_VALUES=Su;exports.SELECTION_POLICY_VALUES=Ru;exports.SPINNER_TYPE_VALUES=ku;exports.ScreenPosition=ec;exports.Size=lo;exports.SpinnerType=tc;exports.TEXT_ALIGN_VALUES=Nu;exports.TOOL_POSITION_VALUES=Wu;exports.TextAlign=cc;exports.VERTICAL_ALIGN_VALUES=Iu;exports.Vanillagrid2_bundleExports=Na;exports.Vanillanote2_bundleExports=Ra;exports.VerticalAlign=nc;exports.WHITE_SPACE_VALUES=Eu;exports.WhiteSpace=oc;exports.addComponentNameToClass=iu;exports.applyOpacityToRgba=fu;exports.extractPrefixedClasses=au;exports.extractResponsiveClasses=ru;exports.getDefaultHisonConfig=La;exports.getDigitsOnly=eu;exports.getHexCodeFromColorText=cu;exports.getIndexSpecificClassNameFromClassList=js;exports.getInvertColor=hn;exports.getMaskValue=Qd;exports.getRGBAFromColorText=du;exports.getSpecificClassValueFromClassList=ou;exports.getUUID=Xd;exports.hison=un;exports.hisonCloser=ce;exports.hisonvue=qy;exports.isCssColorLike=Du;exports.isNullOrUndefined=Kd;exports.normalizeToRgba=dn;exports.registerReloadable=hu;exports.reloadHisonComponent=yu;exports.toClassString=Ws;exports.unregisterReloadable=mu;exports.useDevice=Gy;
|
|
@@ -19860,7 +19860,7 @@ const Ta = zs("pc"), Qy = () => Qc(Ta), Fg = () => {
|
|
|
19860
19860
|
return ce.componentStyle.invertColor;
|
|
19861
19861
|
}
|
|
19862
19862
|
}, t.component = {}, t.component.getAccordion = (o) => ce.component.accordionList[o], t.component.getBaggie = (o) => ce.component.baggieList[o], t.component.getBanner = (o) => ce.component.bannerList[o], t.component.getButton = (o) => ce.component.buttonList[o], t.component.getCalendar = (o) => ce.component.calendarList[o], t.component.getCaption = (o) => ce.component.captionList[o], t.component.getChart = (o) => ce.component.chartList[o], t.component.getDrawer = (o) => ce.component.drawerList[o], t.component.getDropdown = (o) => ce.component.dropdownList[o], t.component.getGap = (o) => ce.component.gapList[o], t.component.getFileset = (o) => ce.component.filesetList[o], t.component.getGrid = (o) => ce.grid.getGrid(o), t.component.getImagebox = (o) => ce.component.imageboxList[o], t.component.getInput = (o) => ce.component.inputList[o], t.component.getInputGroup = (o) => ce.component.inputGroupList[o], t.component.getLabel = (o) => ce.component.labelList[o], t.component.getLayout = (o) => ce.component.layoutList[o], t.component.getList = (o) => ce.component.listList[o], t.component.getModal = (o) => ce.component.modalList[o], t.component.getNote = (o) => ce.note.getNote(o), t.component.getPagination = (o) => ce.component.paginationList[o], t.component.getParagraph = (o) => ce.component.paragraphList[o], t.component.getPopup = (o) => ce.component.popupList[o], t.component.getSpinner = (o) => ce.component.spinnerList[o], t.component.getTable = (o) => ce.component.tableList[o];
|
|
19863
|
-
}, Vg = Bt(() => import("./HAccordion-
|
|
19863
|
+
}, Vg = Bt(() => import("./HAccordion-ClPgc3MA.mjs"), "HAccordion"), Dg = Bt(() => import("./HBaggie-BOcwzfs2.mjs"), "HBaggie"), Pg = Bt(() => import("./HBanner-dQdDEjcq.mjs"), "HBanner"), zg = Bt(() => import("./HButton-CQA9AHfR.mjs"), "HButton"), Ug = Bt(() => import("./HCalendar-LYKfuBRk.mjs"), "HCalendar"), Gg = Bt(() => import("./HCaption-hIaWtt1A.mjs"), "HCaption"), jg = Bt(() => import("./HChart-C_Np6dyj.mjs"), "HChart"), Wg = Bt(() => import("./HDrawer-Z7npMmnm.mjs"), "HDrawer"), qg = Bt(() => import("./HDropdown-50SbH5xE.mjs"), "HDropdown"), $g = Bt(() => import("./HFileset-C8m3Fs_v.mjs"), "HFileset"), Yg = Bt(() => import("./HGap-D8Iaf-5T.mjs"), "HGap"), Kg = Bt(() => import("./HGrid-GnXheGEH.mjs"), "HGrid"), Xg = Bt(() => import("./HImagebox-BxTUweOq.mjs"), "HImagebox"), Jg = Bt(() => import("./HInput-DT2SixiY.mjs"), "HInput"), Zg = Bt(() => import("./HInputGroup-D47YfrUp.mjs"), "HInputGroup"), Qg = Bt(() => import("./HLabel-BlczHNCh.mjs"), "HLabel"), ey = Bt(() => import("./HLayout-62BFnvbF.mjs"), "HLayout"), ty = Bt(() => import("./HList-C7mRWu55.mjs"), "HList"), ny = Bt(() => import("./HModal-28_wsn_-.mjs"), "HModal"), oy = Bt(() => import("./HNote-BqW_J3tq.mjs"), "HNote"), ry = Bt(() => import("./HPagination-2Qlqr_ZS.mjs"), "HPagination"), iy = Bt(() => import("./HParagraph-DG0-Th1k.mjs"), "HParagraph"), ay = Bt(() => import("./HPopup-CMHfS31s.mjs"), "HPopup"), ly = Bt(() => import("./HSpinner-C4FmAya2.mjs"), "HSpinner"), sy = Bt(() => import("./HTable-Bd3ErPRn.mjs"), "HTable"), ce = {
|
|
19864
19864
|
event: { cssEvent: {} }
|
|
19865
19865
|
}, fn = an.createHison(), ep = {
|
|
19866
19866
|
install(t, e) {
|
|
@@ -19942,9 +19942,9 @@ export {
|
|
|
19942
19942
|
ly as ar,
|
|
19943
19943
|
sy as as,
|
|
19944
19944
|
Ps as at,
|
|
19945
|
-
|
|
19945
|
+
Ws as au,
|
|
19946
19946
|
Us as av,
|
|
19947
|
-
|
|
19947
|
+
gd as aw,
|
|
19948
19948
|
_d as ax,
|
|
19949
19949
|
vd as ay,
|
|
19950
19950
|
bd as az,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as n } from "./index-
|
|
1
|
+
import { h as n } from "./index-CrciHSGg.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) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./index-
|
|
1
|
+
"use strict";const o=require("./index-CPFyQIpi.js"),n=new WeakMap,r=new WeakSet,u=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeFocus(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-focus"),o.hisonCloser.event.cssEvent.button_onAfterFocus(t)},a=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeBlur(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-focus"),e.classList.remove("hison-button-on-active");const s=n.get(e);s&&(clearTimeout(s),n.delete(e)),o.hisonCloser.event.cssEvent.button_onAfterBlur(t)},c=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeClick(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover","hison-button-on-focus"),e.classList.add("hison-button-on-active");const s=n.get(e);s&&clearTimeout(s);const l=window.setTimeout(()=>{e.classList.remove("hison-button-on-active"),document.activeElement===e&&e.classList.add("hison-button-on-focus"),o.hisonCloser.event.cssEvent.button_onAfterClick(t),n.delete(e)},100);n.set(e,l)},i=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeMouseover(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterMouseover(t)},v=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeMouseout(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterMouseout(t)},f=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchstart(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.add("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchstart(t)},d=t=>{const e=t.currentTarget;if(o.hisonCloser.event.cssEvent.button_onBeforeTouchend(t)===!1){t.stopPropagation(),t.preventDefault();return}e.classList.remove("hison-button-on-mouseover"),o.hisonCloser.event.cssEvent.button_onAfterTouchend(t)},h=t=>{r.has(t)||(r.add(t),t.addEventListener("click",c,{capture:!0}),t.addEventListener("focus",u),t.addEventListener("blur",a),t.addEventListener("mouseenter",i),t.addEventListener("mouseleave",v),t.addEventListener("touchstart",f,{passive:!1,capture:!0}),t.addEventListener("touchend",d,{passive:!1,capture:!0}))},E=t=>{if(!r.has(t))return;r.delete(t),t.removeEventListener("click",c,{capture:!0}),t.removeEventListener("focus",u),t.removeEventListener("blur",a),t.removeEventListener("mouseenter",i),t.removeEventListener("mouseleave",v),t.removeEventListener("touchstart",f,{capture:!0}),t.removeEventListener("touchend",d,{capture:!0});const e=n.get(t);e&&(clearTimeout(e),n.delete(t))};exports.addButtonCssEvent=h;exports.removeButtonCssEvent=E;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),a=require("./index-u-g5zFbx.js"),se=require("./_plugin-vue_export-helper-BHFhmbuH.js"),re={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},title:{type:String,required:!1},text:{type:String,required:!1},fontBold:{type:Boolean,default:!1},fontItalic:{type:Boolean,default:!1},fontThruline:{type:Boolean,default:!1},fontUnderline:{type:Boolean,default:!1},textAlign:{type:String,default:null,validator:n=>n==null||a.TEXT_ALIGN_VALUES.includes(n)},verticalAlign:{type:String,default:a.VerticalAlign.top,validator:n=>a.VERTICAL_ALIGN_VALUES.includes(n)},border:{type:Boolean,default:!1},backgroundType:{type:String,default:a.BackgroundType.empty,validator:n=>a.BACKGROUND_TYPE_VALUES.includes(n)},whiteSpace:{type:String,default:null,validator:n=>n==null||a.WHITE_SPACE_VALUES.includes(n)},copyEnabled:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},copyButtonText:{type:String,default:"copy"}},ie=t.defineComponent({name:"HParagraph",props:re,inheritAttrs:!1,emits:["mounted","responsive-change","copy-click","copied","copy-error"],setup(n,{emit:l}){const E=t.ref(null),d=t.ref(null),i=n.id?n.id:a.getUUID(),N=t.computed(()=>`hison_paragraph_copy_button_${i}`),f=`hparagraph:${i}`,u=a.useDevice(),I=t.useSlots(),v=t.ref(n.visible),y=t.ref(n.title||""),p=t.ref(n.text||""),h=t.ref(n.fontBold),g=t.ref(n.fontItalic),C=t.ref(n.fontThruline),m=t.ref(n.fontUnderline),b=t.ref(n.textAlign??a.TextAlign.left),w=t.ref(n.verticalAlign),T=t.ref(n.border),B=t.ref(n.backgroundType),S=t.ref(n.whiteSpace),s=t.ref(n.copyEnabled),k=t.ref(n.showCopyButton),A=t.ref(n.copyButtonText),L=t.computed(()=>I.default?I.default():[]),P=t.computed(()=>L.value.length>0&&L.value.every(e=>e.type===t.Text)),U=t.computed(()=>!!I.default&&!P.value),F=t.computed(()=>!!I.default&&L.value.length>0);t.onMounted(()=>{if(P.value){const e=L.value.map(o=>String(o.children??"")).join("");p.value=e}});const K=t.computed(()=>v.value?"":"hison-display-none"),q=t.computed(()=>T.value?"hison-border":""),z=t.computed(()=>{switch(B.value){case a.BackgroundType.empty:return"hison-bg-empty";case a.BackgroundType.transparent:return"hison-bg-transparent";default:return"hison-bg-filled"}}),M=t.computed(()=>h.value?"hison-font-bold":""),G=t.computed(()=>g.value?"hison-font-italic":""),O=t.computed(()=>C.value?"hison-font-thruline":""),j=t.computed(()=>m.value?"hison-font-underline":""),W=t.computed(()=>s.value?"":"hison-no-select"),V=t.ref([]),R=()=>{V.value=a.extractResponsiveClasses(a.toClassString(n.class)||"",u.value),a.addComponentNameToClass(V.value,"size",a.hisonCloser.componentStyle.size),a.addComponentNameToClass(V.value,"color","primary")},X=t.computed(()=>{const e=[];return e.push(...a.extractPrefixedClasses(a.toClassString(n.class)||"","color")),e}),Y=t.computed(()=>S.value??"pre-wrap"),J=t.computed(()=>{switch(Y.value){case"normal":return"hison-ws-normal";case"pre":return"hison-ws-pre";case"pre-wrap":return"hison-ws-pre-wrap";case"pre-line":return"hison-ws-pre-line";case"break-spaces":return"hison-ws-break-spaces";default:return""}}),Q=t.computed(()=>{switch(b.value){case"center":return"hison-ta-center";case"right":return"hison-ta-right";default:return"hison-ta-left"}}),Z=t.computed(()=>{switch(w.value){case"middle":return"hison-valign-middle";case"bottom":return"hison-valign-bottom";default:return""}}),_=()=>{const e=E.value;return e?e.innerText??"":""},x=async()=>{if(!s.value)return!1;const e=_();try{if(navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}try{const o=document.createRange(),c=E.value;if(!c)throw new Error("no element");o.selectNodeContents(c);const r=window.getSelection();r==null||r.removeAllRanges(),r==null||r.addRange(o);const le=document.execCommand("copy");return r==null||r.removeAllRanges(),le}catch{return!1}},$=async(e,o)=>{l("copy-click",{src:e,event:o,api:d.value});try{const c=await x();l("copied",c,d.value)}catch(c){l("copy-error",c,d.value)}},ee=async e=>{await $("button",e)},te=async e=>{const o=/Mac|iPod|iPhone|iPad/.test(navigator.platform),c=(o?e.metaKey:e.ctrlKey)&&(e.key==="c"||e.key==="C"),r=(o?e.metaKey:e.ctrlKey)&&(e.key==="x"||e.key==="X");if(!s.value&&(c||r)){e.preventDefault(),e.stopPropagation();return}s.value&&c&&(e.preventDefault(),e.stopPropagation(),await $("keyboard",e))},ne=async e=>{if(!s.value){e.preventDefault();return}e.preventDefault(),await $("native",e)},oe=e=>{s.value||e.preventDefault()},ae=e=>{s.value||e.preventDefault()},D=()=>{a.hisonCloser.component.paragraphList[i]&&a.hisonCloser.component.paragraphList[i].isHisonvueComponent&&console.warn(`[Hisonvue] The paragraph ID is at risk of being duplicated. ${i}`),a.registerReloadable(f,()=>{H(),t.nextTick(D)}),R(),d.value={isHisonvueComponent:!0,getId:()=>i,getType:()=>"paragraph",isVisible:()=>v.value,setVisible:e=>{v.value=e},getTitle:()=>y.value,setTitle:e=>{y.value=e||""},getText:()=>U.value?"":p.value,setText:e=>{U.value||(p.value=e??"")},getTextAlign:()=>b.value,setTextAlign:e=>{(e==="left"||e==="center"||e==="right")&&(b.value=e)},getVerticalAlign:()=>w.value,setVerticalAlign:e=>{w.value=e},isFontBold:()=>h.value,setFontBold:e=>{h.value=e},isFontItalic:()=>g.value,setFontItalic:e=>{g.value=e},isFontThruline:()=>C.value,setFontThruline:e=>{C.value=e},isFontUnderline:()=>m.value,setFontUnderline:e=>{m.value=e},isBorder:()=>T.value,setBorder:e=>{T.value=e},getBackgroundType:()=>B.value,setBackgroundType:e=>{B.value=e},getWhiteSpace:()=>S.value,setWhiteSpace:e=>{S.value=e},getCopyButtonText:()=>A.value,setCopyButtonText:e=>{A.value=e},isCopyEnabled:()=>s.value,setCopyEnabled:e=>{s.value=e},isShowCopyButton:()=>k.value,setShowCopyButton:e=>{k.value=e},copy:async()=>await x(),reload:()=>a.reloadHisonComponent(f)},a.hisonCloser.component.paragraphList[i]=d.value,l("mounted",d.value)},H=()=>{a.unregisterReloadable(f),delete a.hisonCloser.component.paragraphList[i]};return t.onMounted(D),t.onBeforeUnmount(H),t.watch(u,e=>{R(),l("responsive-change",e)}),t.watch(()=>n.visible,e=>{const o=!!e;o!==v.value&&(v.value=o)}),t.watch(()=>n.title,e=>{const o=e??"";o!==y.value&&(y.value=o)}),t.watch(()=>n.text,e=>{const o=e??"";!U.value&&o!==p.value&&(p.value=o)}),t.watch(()=>n.fontBold,e=>{const o=!!e;o!==h.value&&(h.value=o)}),t.watch(()=>n.fontItalic,e=>{const o=!!e;o!==g.value&&(g.value=o)}),t.watch(()=>n.fontThruline,e=>{const o=!!e;o!==C.value&&(C.value=o)}),t.watch(()=>n.fontUnderline,e=>{const o=!!e;o!==m.value&&(m.value=o)}),t.watch(()=>n.textAlign,e=>{e&&e!==b.value&&(e==="left"||e==="center"||e==="right")&&(b.value=e)}),t.watch(()=>n.verticalAlign,e=>{e&&e!==w.value&&(e==="top"||e==="middle"||e==="bottom")&&(w.value=e)}),t.watch(()=>n.whiteSpace,e=>{const o=e??null;o!==S.value&&(S.value=o)}),t.watch(()=>n.border,e=>{const o=!!e;o!==T.value&&(T.value=o)}),t.watch(()=>n.backgroundType,e=>{e&&e!==B.value&&(B.value=e)}),t.watch(()=>n.copyEnabled,e=>{const o=!!e;o!==s.value&&(s.value=o)}),t.watch(()=>n.showCopyButton,e=>{const o=!!e;o!==k.value&&(k.value=o)}),t.watch(()=>n.copyButtonText,e=>{const o=e??"copy";o!==A.value&&(A.value=o)}),t.watch(()=>n.class,()=>{R()}),{paraRef:E,paragraphMethods:t.computed(()=>t.unref(d)),props:n,id:i,copyButtonId:N,title:y,visibleClass:K,borderClass:q,backgroundTypeClass:z,fontBoldClass:M,fontItalicClass:G,fontThrulineClass:O,fontUnderlineClass:j,responsiveClassList:V,buttonClassList:X,internalText:p,copyButtonText:A,copyEnabled:s,showCopyButton:k,hasElementSlot:U,hasAnySlot:F,whiteSpaceClass:J,textAlignClass:Q,verticalAlignClass:Z,copyGuardClass:W,onKeydown:te,onCopyEvent:ne,onCutEvent:oe,onSelectStart:ae,onCopyButtonClick:ee}}}),ue={key:0,class:"hison-paragraph-copybtn"},ce=["title"];function de(n,l,E,d,i,N){const f=t.resolveComponent("HButton");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-wrapper","hison-paragraph-wrapper",...n.responsiveClassList,n.visibleClass])},[n.copyEnabled&&n.showCopyButton?(t.openBlock(),t.createElementBlock("div",ue,[t.renderSlot(n.$slots,"copy-button",{onClick:n.onCopyButtonClick,text:n.copyButtonText},()=>[t.createVNode(f,{id:n.copyButtonId,class:t.normalizeClass([...n.buttonClassList,"hison-size-s"]),border:!0,text:n.copyButtonText,"background-type":"transparent",onClick:n.onCopyButtonClick,title:"Copy content"},t.createSlots({default:t.withCtx(()=>[n.$slots["copy-label"]?t.renderSlot(n.$slots,"copy-label",{key:0}):t.createCommentVNode("",!0)]),_:2},[n.$slots["copy-icon"]?{name:"icon",fn:t.withCtx(()=>[t.renderSlot(n.$slots,"copy-icon")]),key:"0"}:void 0]),1032,["id","class","text","onClick"])])])):t.createCommentVNode("",!0),t.createElementVNode("p",{ref:"paraRef",class:t.normalizeClass(["hison-paragraph",[n.borderClass,n.backgroundTypeClass,n.fontBoldClass,n.fontItalicClass,n.fontThrulineClass,n.fontUnderlineClass,n.whiteSpaceClass,n.textAlignClass,n.verticalAlignClass,n.copyGuardClass]]),style:t.normalizeStyle(n.props.style),title:n.title||void 0,tabindex:"0",onKeydown:l[0]||(l[0]=(...u)=>n.onKeydown&&n.onKeydown(...u)),onCopy:l[1]||(l[1]=(...u)=>n.onCopyEvent&&n.onCopyEvent(...u)),onCut:l[2]||(l[2]=(...u)=>n.onCutEvent&&n.onCutEvent(...u)),onSelectstart:l[3]||(l[3]=(...u)=>n.onSelectStart&&n.onSelectStart(...u))},[n.hasElementSlot?t.renderSlot(n.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n.internalText),1)],64))],46,ce)],2)}const pe=se._export_sfc(ie,[["render",de]]);exports.default=pe;
|