@fewangsit/wangsvue-fats 1.0.1-rc.0 → 1.0.1-rc.11
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/animation/index.es.js +50 -0
- package/approverinfo/index.es.js +6 -6
- package/assetinfo/index.es.js +160 -2
- package/backgroundimagecropper/{BackgroundImageCropper.es.js → index.es.js} +1 -1
- package/badge/index.es.js +7 -7
- package/badgegroup/index.es.js +7 -7
- package/basecalendar/{BaseCalendar.es.js → index.es.js} +6 -6
- package/basetree/index.es.js +14 -14
- package/breadcrumb/index.es.js +6 -6
- package/button/index.es.js +118 -2
- package/buttonaddbyscan/index.es.js +13 -13
- package/buttonbulkaction/index.es.js +184 -2
- package/buttoncopy/index.es.js +6 -6
- package/buttondownload/index.es.js +15 -15
- package/buttonfilter/index.es.js +6 -6
- package/buttonradio/index.es.js +2 -2
- package/buttonscan/index.es.js +414 -2
- package/buttonsearch/index.es.js +9 -9
- package/buttonsearchbyscan/index.es.js +7 -7
- package/buttonselecttree/index.es.js +22 -22
- package/buttonselectuser/index.es.js +25 -25
- package/buttonsync/index.es.js +12 -12
- package/buttontoggle/index.es.js +6 -6
- package/buttonviewlog/index.es.js +2 -2
- package/calendar/index.es.js +4 -4
- package/card/index.es.js +4 -4
- package/carousel/index.es.js +7 -7
- package/checkbox/index.es.js +2 -2
- package/codesnippet/{CodeSnippet.es.js → index.es.js} +1 -1
- package/codesnippetadapter/{CodeSnippetAdapter.es.js → index.es.js} +1 -1
- package/columnlist/{ColumnList.es.js → index.es.js} +8 -8
- package/config/defaultProps.es.js +133 -0
- package/config/index.es.js +10 -218
- package/config/locale.es.js +85 -0
- package/customcolumn/index.es.js +8 -8
- package/datatable/index.es.js +108 -107
- package/datepicker/index.es.js +138 -2
- package/daypicker/index.es.js +6 -6
- package/dialog/index.es.js +4 -4
- package/dialogassetnamedetail/index.es.js +11 -11
- package/dialogbasictransferlog/{DialogBasicTransferLog.es.js → index.es.js} +17 -17
- package/dialogconfirm/index.es.js +17 -17
- package/dialogdamagelog/index.es.js +14 -14
- package/dialogform/index.es.js +32 -32
- package/dialogfulltransferlog/{DialogFullTransferLog.es.js → index.es.js} +16 -16
- package/dialoglinkedasset/index.es.js +9 -9
- package/dialogprintqr/index.es.js +332 -2
- package/dialogreportdamage/index.es.js +12 -12
- package/dialogreportmissing/index.es.js +12 -12
- package/dialogreporttag/index.es.js +8 -8
- package/dialogselecttree/index.es.js +13 -13
- package/dialogselectuser/index.d.ts +2 -2
- package/dialogselectuser/index.es.js +18 -18
- package/dialogselectuserfilter/{DialogSelectUserFilter.es.js → index.es.js} +2 -2
- package/dialogtransferlog/index.es.js +9 -9
- package/directives/{focus/index.es.js → focus.es.js} +2 -2
- package/directives/index.es.js +2 -0
- package/directives/tooltip.es.js +1 -0
- package/disposalreport/index.es.js +8 -8
- package/disposalreportbulkaction/{DisposalReportBulkAction.es.js → index.es.js} +9 -8
- package/disposalreporttable/{DisposalReportTable.es.js → index.es.js} +16 -16
- package/disposalreporttablefilter/{DisposalReportTableFilter.es.js → index.es.js} +5 -5
- package/dropdown/index.es.js +37 -37
- package/editor/{Editor.es.js → index.es.js} +57 -57
- package/editorbutton/{EditorButton.es.js → index.es.js} +1 -1
- package/event-bus/index.es.js +4 -3
- package/event-bus/mitt.es.js +53 -0
- package/fieldwrapper/{FieldWrapper.es.js → index.es.js} +2 -2
- package/fileupload/index.es.js +13 -13
- package/filtercontainer/index.es.js +34 -34
- package/form/index.es.js +23 -23
- package/hardwaresync/{HardwareSync.es.js → index.es.js} +42 -42
- package/icon/index.es.js +4 -4
- package/image/index.es.js +14 -14
- package/imagecompressor/index.es.js +14 -14
- package/imageinputinfo/{ImageInputInfo.es.js → index.es.js} +2 -2
- package/inlinemessage/index.es.js +7 -7
- package/inputbadge/index.es.js +14 -14
- package/inputcurrency/index.es.js +147 -2
- package/inputemail/index.es.js +4 -4
- package/inputnumber/index.es.js +6 -6
- package/inputotp/index.es.js +1 -1
- package/inputpassword/index.es.js +10 -10
- package/inputphonenumber/index.es.js +28 -28
- package/inputrangenumber/index.es.js +9 -9
- package/inputsearch/index.es.js +2 -2
- package/inputtext/index.es.js +11 -11
- package/inputurl/index.es.js +5 -5
- package/invisiblefield/index.es.js +8 -8
- package/languagedropdownoption/{LanguageDropdownOption.es.js → index.es.js} +3 -3
- package/languageswitcher/index.es.js +7 -7
- package/litedropdown/index.es.js +10 -10
- package/loading/index.es.js +8 -8
- package/mentionlist/{MentionList.es.js → index.es.js} +4 -4
- package/menu/index.es.js +20 -19
- package/menuitem/{MenuItem.es.js → index.es.js} +1 -1
- package/multiselect/index.es.js +27 -27
- package/overlaypanel/index.es.js +6 -6
- package/package.json +1 -5
- package/paginator/index.es.js +11 -11
- package/plugins/VueHtmlToPaper.es.js +40 -0
- package/{animation/Animation.es.js → plugins/WangsVue.es.js} +38 -83
- package/plugins/basei18n.d.ts +103 -0
- package/plugins/basei18n.es.js +88 -0
- package/plugins/{formValidation/index.es.js → formValidation.es.js} +4 -4
- package/plugins/i18n.d.ts +5 -102
- package/plugins/i18n.es.js +6 -0
- package/stats.html +1 -1
- package/steps/index.es.js +4 -4
- package/tabmenu/index.es.js +1 -1
- package/tagtype/index.es.js +6 -6
- package/textarea/index.es.js +5 -5
- package/timeline/index.es.js +5 -5
- package/timelinecontentbytype/{TimelineContentByType.es.js → index.es.js} +9 -9
- package/toast/index.es.js +3 -3
- package/toggleswitch/index.es.js +2 -2
- package/transactionroles/index.es.js +2 -2
- package/tree/index.es.js +117 -107
- package/treenode/{TreeNode.es.js → index.es.js} +4 -4
- package/treesearchinput/{TreeSearchInput.es.js → index.es.js} +4 -4
- package/username/index.es.js +20 -20
- package/userwithicon/index.es.js +4 -4
- package/utils/baseToast.util.es.js +1 -1
- package/utils/date.util.es.js +2 -2
- package/utils/index.es.js +3 -36
- package/utils/role.util.es.js +2 -2
- package/validatormessage/index.es.js +4 -4
- package/vendor/highlight.js/es/core.es.js +1 -1
- package/vendor/lodash/_freeGlobal.es.js +1 -1
- package/vendor/simplebar-core/dist/index.es.js +1 -1
- package/wangsvue-fats.d.ts +1 -2
- package/wangsvue-fats.es.js +219 -256
- package/wangsvue-fats.system.js +56 -56
- package/approverinfo/package.json +0 -4
- package/assetinfo/AssetInfo.es.js +0 -179
- package/assetinfo/package.json +0 -4
- package/badge/package.json +0 -4
- package/badgegroup/package.json +0 -4
- package/basetree/package.json +0 -4
- package/breadcrumb/package.json +0 -4
- package/button/Button.es.js +0 -120
- package/button/package.json +0 -4
- package/buttonaddbyscan/package.json +0 -4
- package/buttonbulkaction/ButtonBulkAction.es.js +0 -238
- package/buttonbulkaction/package.json +0 -4
- package/buttoncopy/package.json +0 -4
- package/buttondownload/package.json +0 -4
- package/buttonfilter/package.json +0 -4
- package/buttonradio/package.json +0 -4
- package/buttonscan/ButtonScan.es.js +0 -416
- package/buttonscan/package.json +0 -4
- package/buttonsearch/package.json +0 -4
- package/buttonsearchbyscan/package.json +0 -4
- package/buttonselecttree/package.json +0 -4
- package/buttonselectuser/package.json +0 -4
- package/buttonsync/package.json +0 -4
- package/buttontoggle/package.json +0 -4
- package/buttonviewlog/package.json +0 -4
- package/calendar/package.json +0 -4
- package/card/package.json +0 -4
- package/carousel/package.json +0 -4
- package/checkbox/package.json +0 -4
- package/config/package.json +0 -4
- package/customcolumn/package.json +0 -4
- package/datatable/package.json +0 -4
- package/datepicker/DatePicker.es.js +0 -224
- package/datepicker/package.json +0 -4
- package/daypicker/package.json +0 -4
- package/dialog/package.json +0 -4
- package/dialogassetnamedetail/package.json +0 -4
- package/dialogconfirm/package.json +0 -4
- package/dialogdamagelog/package.json +0 -4
- package/dialogform/package.json +0 -4
- package/dialoglinkedasset/package.json +0 -4
- package/dialogprintqr/DialogPrintQR.es.js +0 -334
- package/dialogprintqr/package.json +0 -4
- package/dialogreportdamage/package.json +0 -4
- package/dialogreportmissing/package.json +0 -4
- package/dialogreporttag/package.json +0 -4
- package/dialogselecttree/package.json +0 -4
- package/dialogselectuser/package.json +0 -4
- package/dialogtransferlog/package.json +0 -4
- package/directives/focus/package.json +0 -4
- package/directives/tooltip/index.es.js +0 -4
- package/directives/tooltip/package.json +0 -4
- package/disposalreport/package.json +0 -4
- package/dropdown/package.json +0 -4
- package/event-bus/package.json +0 -4
- package/fileupload/package.json +0 -4
- package/filtercontainer/package.json +0 -4
- package/form/package.json +0 -4
- package/icon/package.json +0 -4
- package/image/package.json +0 -4
- package/imagecompressor/package.json +0 -4
- package/index.d.ts +0 -2
- package/inlinemessage/package.json +0 -4
- package/inputbadge/package.json +0 -4
- package/inputcurrency/InputCurrency.es.js +0 -150
- package/inputcurrency/helpers/index.es.js +0 -5
- package/inputcurrency/helpers/package.json +0 -4
- package/inputcurrency/package.json +0 -4
- package/inputemail/package.json +0 -4
- package/inputnumber/package.json +0 -4
- package/inputotp/package.json +0 -4
- package/inputpassword/package.json +0 -4
- package/inputphonenumber/package.json +0 -4
- package/inputrangenumber/package.json +0 -4
- package/inputsearch/package.json +0 -4
- package/inputtext/package.json +0 -4
- package/inputurl/package.json +0 -4
- package/invisiblefield/package.json +0 -4
- package/languageswitcher/package.json +0 -4
- package/litedropdown/package.json +0 -4
- package/loading/package.json +0 -4
- package/loading/store/index.es.js +0 -5
- package/loading/store/package.json +0 -4
- package/menu/package.json +0 -4
- package/multiselect/package.json +0 -4
- package/overlaypanel/package.json +0 -4
- package/paginator/package.json +0 -4
- package/plugins/formValidation/package.json +0 -4
- package/plugins/i18n/index.es.js +0 -8
- package/plugins/i18n/package.json +0 -4
- package/plugins/i18n-extension.d.ts +0 -4
- package/steps/package.json +0 -4
- package/tabmenu/package.json +0 -4
- package/tagtype/package.json +0 -4
- package/textarea/package.json +0 -4
- package/timeline/package.json +0 -4
- package/toast/package.json +0 -4
- package/toast/service/index.es.js +0 -5
- package/toast/service/package.json +0 -4
- package/toggleswitch/package.json +0 -4
- package/transactionroles/package.json +0 -4
- package/tree/package.json +0 -4
- package/username/package.json +0 -4
- package/userwithicon/package.json +0 -4
- package/utils/package.json +0 -4
- package/validatormessage/package.json +0 -4
- /package/inputgroup/{InputGroup.es.js → index.es.js} +0 -0
- /package/mentionsection/{MentionSection.es.js → index.es.js} +0 -0
- /package/multirow/{MultiRow.es.js → index.es.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as G, onBeforeMount as V, shallowRef as u, onMounted as D, reactive as L, inject as x, computed as j, watch as M, createBlock as
|
|
1
|
+
import { defineComponent as G, onBeforeMount as V, shallowRef as u, onMounted as D, reactive as L, inject as x, computed as j, watch as M, createBlock as f, openBlock as P, withCtx as C, createElementVNode as d, withDirectives as F, createVNode as v, unref as c, normalizeClass as H, toDisplayString as R, normalizeProps as E, guardReactiveProps as J, vShow as q, nextTick as w } from "vue";
|
|
2
2
|
import O from "axios";
|
|
3
3
|
import { u as W } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
4
|
-
import { u as Z } from "../
|
|
4
|
+
import { u as Z } from "../plugins/WangsVue.es.js";
|
|
5
5
|
import { s as $ } from "../vendor/primevue/dropdown/dropdown.esm.es.js";
|
|
6
|
-
import { _ as Y } from "../fieldwrapper/
|
|
7
|
-
import Q from "../icon/index.es.js";
|
|
8
|
-
import X from "../inputtext/index.es.js";
|
|
9
|
-
import aa from "../validatormessage/index.es.js";
|
|
10
|
-
const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Albania", ea = "Armenia", ia = "Antarctica", ca = "Antarctica", ra = "Antarctica", la = "Antarctica", ua = "Antarctica", da = "Antarctica", ma = "Antarctica", ga = "Argentina", ha = "Argentina", pa = "Argentina", Sa = "Argentina", ya = "Argentina", Ma = "Argentina", Ca = "Argentina", va = "Argentina", ba = "Argentina", ka = "Argentina", Ba = "Argentina", Aa = "Argentina",
|
|
6
|
+
import { _ as Y } from "../fieldwrapper/index.es.js";
|
|
7
|
+
import { _ as Q } from "../icon/index.es.js";
|
|
8
|
+
import { _ as X } from "../inputtext/index.es.js";
|
|
9
|
+
import { _ as aa } from "../validatormessage/index.es.js";
|
|
10
|
+
const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Albania", ea = "Armenia", ia = "Antarctica", ca = "Antarctica", ra = "Antarctica", la = "Antarctica", ua = "Antarctica", da = "Antarctica", ma = "Antarctica", ga = "Argentina", ha = "Argentina", pa = "Argentina", Sa = "Argentina", ya = "Argentina", Ma = "Argentina", Ca = "Argentina", va = "Argentina", ba = "Argentina", ka = "Argentina", Ba = "Argentina", Aa = "Argentina", _a = "Samoa (American)", fa = "Austria", Pa = "Australia", Ra = "Australia", wa = "Australia", za = "Australia", Ua = "Australia", Ia = "Australia", Ta = "Australia", Ka = "Australia", Na = "Australia", Ga = "Australia", Va = "Australia", Da = "Australia", La = "Azerbaijan", xa = "Barbados", ja = "Bangladesh", Fa = "Belgium", Ha = "Bulgaria", Ea = "Bermuda", Ja = "Bolivia", qa = "Brazil", Oa = "Brazil", Wa = "Brazil", Za = "Brazil", $a = "Brazil", Ya = "Brazil", Qa = "Brazil", Xa = "Brazil", an = "Brazil", nn = "Brazil", on = "Brazil", tn = "Brazil", sn = "Brazil", en = "Brazil", cn = "Brazil", rn = "Brazil", ln = "Bhutan", un = "Belarus", dn = "Belize", mn = "Canada", gn = "Canada", hn = "Canada", pn = "Canada", Sn = "Canada", yn = "Canada", Mn = "Canada", Cn = "Canada", vn = "Canada", bn = "Canada", kn = "Canada", Bn = "Canada", An = "Canada", _n = "Canada", fn = "Canada", Pn = "Canada", Rn = "Canada", wn = "Canada", zn = "Canada", Un = "Canada", In = "Switzerland", Tn = "Côte d'Ivoire", Kn = "Cook Islands", Nn = "Chile", Gn = "Chile", Vn = "Chile", Dn = "Chile", Ln = "China", xn = "China", jn = "Colombia", Fn = "Costa Rica", Hn = "Cuba", En = "Cape Verde", Jn = "Cyprus", qn = "Cyprus", On = "Czech Republic", Wn = "Germany", Zn = "Dominican Republic", $n = "Algeria", Yn = "Ecuador", Qn = "Ecuador", Xn = "Estonia", ao = "Egypt", no = "Western Sahara", oo = "Spain", to = "Spain", so = "Spain", eo = "Finland", io = "Fiji", co = "Falkland Islands", ro = "Micronesia", lo = "Faroe Islands", uo = "France", mo = "Britain (UK)", go = "Georgia", ho = "French Guiana", po = "Gibraltar", So = "Greenland", yo = "Greenland", Mo = "Greenland", Co = "Greenland", vo = "Greece", bo = "South Georgia & the South Sandwich Islands", ko = "Guatemala", Bo = "Guam", Ao = "Guinea-Bissau", _o = "Guyana", fo = "Hong Kong", Po = "Honduras", Ro = "Hungary", wo = "Indonesia", zo = "Indonesia", Uo = "Indonesia", Io = "Indonesia", To = "Ireland", Ko = "Israel", No = "India", Go = "British Indian Ocean Territory", Vo = "Iraq", Do = "Iran", Lo = "Italy", xo = "Jamaica", jo = "Jordan", Fo = "Japan", Ho = "Kenya", Eo = "Kyrgyzstan", Jo = "Kiribati", qo = "Kiribati", Oo = "Kiribati", Wo = "Korea (North)", Zo = "Korea (South)", $o = "Kazakhstan", Yo = "Kazakhstan", Qo = "Kazakhstan", Xo = "Kazakhstan", at = "Kazakhstan", nt = "Kazakhstan", ot = "Kazakhstan", tt = "Lebanon", st = "Sri Lanka", et = "Liberia", it = "Lithuania", ct = "Latvia", rt = "Libya", lt = "Morocco", ut = "Moldova", dt = "Marshall Islands", mt = "Myanmar (Burma)", gt = "Mongolia", ht = "Mongolia", pt = "Macau", St = "Martinique", yt = "Malta", Mt = "Mauritius", Ct = "Maldives", vt = "Mexico", bt = "Mexico", kt = "Mexico", Bt = "Mexico", At = "Mexico", _t = "Mexico", ft = "Mexico", Pt = "Mexico", Rt = "Mexico", wt = "Mexico", zt = "Mexico", Ut = "Mexico", It = "Malaysia", Tt = "Mozambique", Kt = "Namibia", Nt = "New Caledonia", Gt = "Norfolk Island", Vt = "Nigeria", Dt = "Nicaragua", Lt = "Nepal", xt = "Nauru", jt = "Niue", Ft = "New Zealand", Ht = "New Zealand", Et = "Panama", Jt = "Peru", qt = "French Polynesia", Ot = "French Polynesia", Wt = "French Polynesia", Zt = "Papua New Guinea", $t = "Papua New Guinea", Yt = "Philippines", Qt = "Pakistan", Xt = "Poland", as = "St Pierre & Miquelon", ns = "Pitcairn", os = "Puerto Rico", ts = "Palestine", ss = "Palestine", es = "Portugal", is = "Portugal", cs = "Portugal", rs = "Palau", ls = "Paraguay", us = "Qatar", ds = "Romania", ms = "Serbia", gs = "Russia", hs = "Russia", ps = "Russia", Ss = "Russia", ys = "Russia", Ms = "Russia", Cs = "Russia", vs = "Russia", bs = "Russia", ks = "Russia", Bs = "Russia", As = "Russia", _s = "Russia", fs = "Russia", Ps = "Russia", Rs = "Russia", ws = "Russia", zs = "Russia", Us = "Russia", Is = "Russia", Ts = "Russia", Ks = "Russia", Ns = "Russia", Gs = "Russia", Vs = "Russia", Ds = "Russia", Ls = "Saudi Arabia", xs = "Solomon Islands", js = "Sudan", Fs = "Singapore", Hs = "Suriname", Es = "South Sudan", Js = "Sao Tome & Principe", qs = "El Salvador", Os = "Syria", Ws = "Turks & Caicos Is", Zs = "Chad", $s = "Thailand", Ys = "Tajikistan", Qs = "Tokelau", Xs = "East Timor", ae = "Turkmenistan", ne = "Tunisia", oe = "Tonga", te = "Turkey", se = "Taiwan", ee = "Ukraine", ie = "United States", ce = "United States", re = "United States", le = "United States", ue = "United States", de = "United States", me = "United States", ge = "United States", he = "United States", pe = "United States", Se = "United States", ye = "United States", Me = "United States", Ce = "United States", ve = "United States", be = "United States", ke = "United States", Be = "United States", Ae = "United States", _e = "United States", fe = "United States", Pe = "United States", Re = "United States", we = "United States", ze = "United States", Ue = "United States", Ie = "United States", Te = "United States", Ke = "United States", Ne = "Uruguay", Ge = "Uzbekistan", Ve = "Uzbekistan", De = "Venezuela", Le = "Vietnam", xe = "Vanuatu", je = "Samoa (western)", Fe = "South Africa", He = "Antigua & Barbuda", Ee = "Anguilla", Je = "Angola", qe = "Antarctica", Oe = "Antarctica", We = "Antarctica", Ze = "Aruba", $e = "Åland Islands", Ye = "Bosnia & Herzegovina", Qe = "Burkina Faso", Xe = "Bahrain", ai = "Burundi", ni = "St Barthelemy", oi = "Brunei", ti = "Caribbean NL", si = "Bahamas", ei = "Botswana", ii = "Canada", ci = "Canada", ri = "Cocos (Keeling) Islands", li = "Congo (Dem. Rep.)", ui = "Congo (Dem. Rep.)", di = "Central African Rep.", mi = "Congo (Rep.)", gi = "Cameroon", hi = "Curaçao", pi = "Christmas Island", Si = "Germany", yi = "Djibouti", Mi = "Denmark", Ci = "Dominica", vi = "Eritrea", bi = "Ethiopia", ki = "Micronesia", Bi = "Micronesia", Ai = "Gabon", _i = "Grenada", fi = "Guernsey", Pi = "Ghana", Ri = "Gambia", wi = "Guinea", zi = "Guadeloupe", Ui = "Equatorial Guinea", Ii = "Croatia", Ti = "Isle of Man", Ki = "Iceland", Ni = "Jersey", Gi = "Cambodia", Vi = "Comoros", Di = "St Kitts & Nevis", Li = "Kuwait", xi = "Cayman Islands", ji = "Laos", Fi = "St Lucia", Hi = "Liechtenstein", Ei = "Lesotho", Ji = "Luxembourg", qi = "Monaco", Oi = "Montenegro", Wi = "St Martin (French)", Zi = "Madagascar", $i = "Marshall Islands", Yi = "North Macedonia", Qi = "Mali", Xi = "Northern Mariana Islands", ac = "Mauritania", nc = "Montserrat", oc = "Malawi", tc = "Malaysia", sc = "Niger", ec = "Netherlands", ic = "Norway", cc = "Oman", rc = "Réunion", lc = "Rwanda", uc = "Seychelles", dc = "Sweden", mc = "St Helena", gc = "Slovenia", hc = "Svalbard & Jan Mayen", pc = "Slovakia", Sc = "Sierra Leone", yc = "San Marino", Mc = "Senegal", Cc = "Somalia", vc = "St Maarten (Dutch)", bc = "Eswatini (Swaziland)", kc = "French S. Terr.", Bc = "Togo", Ac = "Trinidad & Tobago", _c = "Tuvalu", fc = "Tanzania", Pc = "Uganda", Rc = "US minor outlying islands", wc = "US minor outlying islands", zc = "Vatican City", Uc = "St Vincent", Ic = "Virgin Islands (UK)", Tc = "Virgin Islands (US)", Kc = "Wallis & Futuna", Nc = "Yemen", Gc = "Mayotte", Vc = "Zambia", Dc = "Zimbabwe", Lc = {
|
|
11
11
|
Andorra: na,
|
|
12
12
|
Dubai: oa,
|
|
13
13
|
Kabul: ta,
|
|
@@ -32,8 +32,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
32
32
|
San_Luis: ka,
|
|
33
33
|
Rio_Gallegos: Ba,
|
|
34
34
|
Ushuaia: Aa,
|
|
35
|
-
Pago_Pago:
|
|
36
|
-
Vienna:
|
|
35
|
+
Pago_Pago: _a,
|
|
36
|
+
Vienna: fa,
|
|
37
37
|
Lord_Howe: Pa,
|
|
38
38
|
Macquarie: Ra,
|
|
39
39
|
Hobart: wa,
|
|
@@ -85,8 +85,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
85
85
|
Regina: kn,
|
|
86
86
|
Swift_Current: Bn,
|
|
87
87
|
Edmonton: An,
|
|
88
|
-
Cambridge_Bay:
|
|
89
|
-
Inuvik:
|
|
88
|
+
Cambridge_Bay: _n,
|
|
89
|
+
Inuvik: fn,
|
|
90
90
|
Dawson_Creek: Pn,
|
|
91
91
|
Fort_Nelson: Rn,
|
|
92
92
|
Whitehorse: wn,
|
|
@@ -138,8 +138,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
138
138
|
Guatemala: ko,
|
|
139
139
|
Guam: Bo,
|
|
140
140
|
Bissau: Ao,
|
|
141
|
-
Guyana:
|
|
142
|
-
Hong_Kong:
|
|
141
|
+
Guyana: _o,
|
|
142
|
+
Hong_Kong: fo,
|
|
143
143
|
Tegucigalpa: Po,
|
|
144
144
|
"Port-au-Prince": "Haiti",
|
|
145
145
|
Budapest: Ro,
|
|
@@ -193,8 +193,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
193
193
|
Merida: kt,
|
|
194
194
|
Monterrey: Bt,
|
|
195
195
|
Matamoros: At,
|
|
196
|
-
Chihuahua:
|
|
197
|
-
Ciudad_Juarez:
|
|
196
|
+
Chihuahua: _t,
|
|
197
|
+
Ciudad_Juarez: ft,
|
|
198
198
|
Ojinaga: Pt,
|
|
199
199
|
Mazatlan: Rt,
|
|
200
200
|
Bahia_Banderas: wt,
|
|
@@ -247,8 +247,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
247
247
|
Yekaterinburg: ks,
|
|
248
248
|
Omsk: Bs,
|
|
249
249
|
Novosibirsk: As,
|
|
250
|
-
Barnaul:
|
|
251
|
-
Tomsk:
|
|
250
|
+
Barnaul: _s,
|
|
251
|
+
Tomsk: fs,
|
|
252
252
|
Novokuznetsk: Ps,
|
|
253
253
|
Krasnoyarsk: Rs,
|
|
254
254
|
Irkutsk: ws,
|
|
@@ -302,8 +302,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
302
302
|
Beulah: ke,
|
|
303
303
|
Denver: Be,
|
|
304
304
|
Boise: Ae,
|
|
305
|
-
Phoenix:
|
|
306
|
-
Los_Angeles:
|
|
305
|
+
Phoenix: _e,
|
|
306
|
+
Los_Angeles: fe,
|
|
307
307
|
Anchorage: Pe,
|
|
308
308
|
Juneau: Re,
|
|
309
309
|
Sitka: we,
|
|
@@ -358,8 +358,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
358
358
|
Chuuk: ki,
|
|
359
359
|
Pohnpei: Bi,
|
|
360
360
|
Libreville: Ai,
|
|
361
|
-
Grenada:
|
|
362
|
-
Guernsey:
|
|
361
|
+
Grenada: _i,
|
|
362
|
+
Guernsey: fi,
|
|
363
363
|
Accra: Pi,
|
|
364
364
|
Banjul: Ri,
|
|
365
365
|
Conakry: wi,
|
|
@@ -412,8 +412,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
412
412
|
Kerguelen: kc,
|
|
413
413
|
Lome: Bc,
|
|
414
414
|
Port_of_Spain: Ac,
|
|
415
|
-
Funafuti:
|
|
416
|
-
Dar_es_Salaam:
|
|
415
|
+
Funafuti: _c,
|
|
416
|
+
Dar_es_Salaam: fc,
|
|
417
417
|
Kampala: Pc,
|
|
418
418
|
Midway: Rc,
|
|
419
419
|
Wake: wc,
|
|
@@ -516,13 +516,13 @@ const Fc = {
|
|
|
516
516
|
(a) => {
|
|
517
517
|
h(a);
|
|
518
518
|
}
|
|
519
|
-
), (a, n) => (P(),
|
|
519
|
+
), (a, n) => (P(), f(Y, {
|
|
520
520
|
info: o.fieldInfo,
|
|
521
521
|
label: o.label,
|
|
522
522
|
mandatory: o.mandatory
|
|
523
523
|
}, {
|
|
524
524
|
default: C(() => {
|
|
525
|
-
var i,
|
|
525
|
+
var i, _;
|
|
526
526
|
return [
|
|
527
527
|
d("div", Fc, [
|
|
528
528
|
v(c($), {
|
|
@@ -559,13 +559,13 @@ const Fc = {
|
|
|
559
559
|
]),
|
|
560
560
|
_: 1
|
|
561
561
|
}, 8, ["modelValue", "class", "disabled", "options"]),
|
|
562
|
-
(P(),
|
|
562
|
+
(P(), f(X, {
|
|
563
563
|
key: I.value,
|
|
564
564
|
modelValue: e.value,
|
|
565
565
|
"onUpdate:modelValue": n[3] || (n[3] = (s) => e.value = s),
|
|
566
566
|
"allowed-characters": /\d/,
|
|
567
567
|
disabled: a.disabled,
|
|
568
|
-
"input-class": (
|
|
568
|
+
"input-class": (_ = c(S)) == null ? void 0 : _.input({ isFirefoxBased: c(k), invalidInput: b.value }).class,
|
|
569
569
|
"max-length": a.maxDigit,
|
|
570
570
|
placeholder: a.placeholder ?? c(z).defaultPlaceholder,
|
|
571
571
|
"use-field-wrapper": !1,
|
|
@@ -589,5 +589,5 @@ const Fc = {
|
|
|
589
589
|
}
|
|
590
590
|
});
|
|
591
591
|
export {
|
|
592
|
-
ar as
|
|
592
|
+
ar as _
|
|
593
593
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as x, reactive as f, onMounted as M, computed as N, watch as s, createBlock as
|
|
1
|
+
import { defineComponent as x, reactive as f, onMounted as M, computed as N, watch as s, createBlock as _, openBlock as B, withCtx as u, createElementVNode as F, createVNode as t, createTextVNode as P, unref as n, mergeProps as g, nextTick as I } from "vue";
|
|
2
2
|
import { u as V } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
|
-
import { u as $ } from "../
|
|
3
|
+
import { u as $ } from "../plugins/WangsVue.es.js";
|
|
4
4
|
import { s as h } from "../vendor/primevue/inputnumber/inputnumber.esm.es.js";
|
|
5
|
-
import { _ as k } from "../fieldwrapper/
|
|
6
|
-
import { _ as w } from "../inputgroup/
|
|
7
|
-
import O from "../validatormessage/index.es.js";
|
|
5
|
+
import { _ as k } from "../fieldwrapper/index.es.js";
|
|
6
|
+
import { _ as w } from "../inputgroup/index.es.js";
|
|
7
|
+
import { _ as O } from "../validatormessage/index.es.js";
|
|
8
8
|
const T = {
|
|
9
9
|
class: "flex gap-2 w-full items-center",
|
|
10
10
|
"data-wv-section": "inputwrapper"
|
|
@@ -83,12 +83,12 @@ const T = {
|
|
|
83
83
|
(e) => {
|
|
84
84
|
l.value = e ? e[0] : void 0, o.value = e ? e[1] : void 0;
|
|
85
85
|
}
|
|
86
|
-
), (e, i) => (
|
|
86
|
+
), (e, i) => (B(), _(k, {
|
|
87
87
|
label: a.label,
|
|
88
88
|
"show-optional-text": e.showOptionalText
|
|
89
89
|
}, {
|
|
90
90
|
default: u(() => [
|
|
91
|
-
|
|
91
|
+
F("div", T, [
|
|
92
92
|
t(w, { invalid: p.value }, {
|
|
93
93
|
default: u(() => [
|
|
94
94
|
t(n(h), g(e.$props, {
|
|
@@ -104,7 +104,7 @@ const T = {
|
|
|
104
104
|
]),
|
|
105
105
|
_: 1
|
|
106
106
|
}, 8, ["invalid"]),
|
|
107
|
-
i[2] || (i[2] =
|
|
107
|
+
i[2] || (i[2] = P(" - ")),
|
|
108
108
|
t(w, { invalid: p.value }, {
|
|
109
109
|
default: u(() => [
|
|
110
110
|
t(n(h), g(e.$props, {
|
|
@@ -130,5 +130,5 @@ const T = {
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
export {
|
|
133
|
-
q as
|
|
133
|
+
q as _
|
|
134
134
|
};
|
package/inputsearch/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, shallowRef as c, createElementBlock as v, openBlock as f, withModifiers as x, normalizeClass as l, createElementVNode as g, createVNode as o, unref as _ } from "vue";
|
|
2
2
|
import { s as w } from "../vendor/primevue/inputtext/inputtext.esm.es.js";
|
|
3
|
-
import i from "../icon/index.es.js";
|
|
3
|
+
import { _ as i } from "../icon/index.es.js";
|
|
4
4
|
const b = { class: "w-full" }, $ = /* @__PURE__ */ h({
|
|
5
5
|
__name: "InputSearch",
|
|
6
6
|
emits: ["search"],
|
|
@@ -49,5 +49,5 @@ const b = { class: "w-full" }, $ = /* @__PURE__ */ h({
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
export {
|
|
52
|
-
$ as
|
|
52
|
+
$ as _
|
|
53
53
|
};
|
package/inputtext/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Y, inject as V, reactive as q, computed as y, shallowRef as $, onMounted as J, onBeforeUnmount as Q, watch as x, createBlock as p, openBlock as d, withCtx as f, createVNode as X, createElementBlock as ee, normalizeClass as M, createCommentVNode as k, unref as m, renderSlot as R, mergeProps as ae, nextTick as te } from "vue";
|
|
2
2
|
import { u as le } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
|
-
import { u as E } from "../
|
|
3
|
+
import { u as E } from "../plugins/WangsVue.es.js";
|
|
4
4
|
import { m as se } from "../utils/mergePropsWithDefaults.util.es.js";
|
|
5
5
|
import { s as A } from "../vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js";
|
|
6
6
|
import { s as ne } from "../vendor/primevue/inputtext/inputtext.esm.es.js";
|
|
7
|
-
import { _ as re } from "../fieldwrapper/
|
|
8
|
-
import { _ as oe } from "../inputgroup/
|
|
9
|
-
import ie from "../validatormessage/index.es.js";
|
|
7
|
+
import { _ as re } from "../fieldwrapper/index.es.js";
|
|
8
|
+
import { _ as oe } from "../inputgroup/index.es.js";
|
|
9
|
+
import { _ as ie } from "../validatormessage/index.es.js";
|
|
10
10
|
import { d as de } from "../vendor/lodash-es/debounce.es.js";
|
|
11
11
|
const g = "Checking availability...", xe = /* @__PURE__ */ Y({
|
|
12
12
|
__name: "InputText",
|
|
@@ -60,7 +60,7 @@ const g = "Checking availability...", xe = /* @__PURE__ */ Y({
|
|
|
60
60
|
var e;
|
|
61
61
|
a.useValidator && (Object.assign(
|
|
62
62
|
l,
|
|
63
|
-
le(a.fieldName ?? "textInput", (t) => te(() =>
|
|
63
|
+
le(a.fieldName ?? "textInput", (t) => te(() => _(t == null ? void 0 : t.trim())))
|
|
64
64
|
), a.value != null && B(a.value)), a.modelValue != null && (l.value = (e = a.modelValue) == null ? void 0 : e.trim()), a.invalid && a.useValidator && l.validate();
|
|
65
65
|
}), Q(() => {
|
|
66
66
|
a.useValidator && l.handleReset();
|
|
@@ -76,7 +76,7 @@ const g = "Checking availability...", xe = /* @__PURE__ */ Y({
|
|
|
76
76
|
), I = y(() => {
|
|
77
77
|
var e, t;
|
|
78
78
|
return typeof a.validatorMessage == "object" && "exist" in a.validatorMessage ? (e = a.validatorMessage) == null ? void 0 : e.exist : (t = r.alreadyExistInvalidText) == null ? void 0 : t.replace("{label}", a.label);
|
|
79
|
-
}),
|
|
79
|
+
}), _ = (e) => {
|
|
80
80
|
var t, n, i, u;
|
|
81
81
|
if (typeof a.validatorMessage == "string" && a.invalid)
|
|
82
82
|
return a.validatorMessage;
|
|
@@ -92,23 +92,23 @@ const g = "Checking availability...", xe = /* @__PURE__ */ Y({
|
|
|
92
92
|
if ((n = (a.existingValues ?? []).filter((H) => H != a.value)) != null && n.includes(e))
|
|
93
93
|
return ((i = a.validatorMessage) == null ? void 0 : i.exist) ?? ((u = r.alreadyExistInvalidText) == null ? void 0 : u.replace("{label}", a.label));
|
|
94
94
|
if (e && a.type === "email")
|
|
95
|
-
return
|
|
95
|
+
return S(
|
|
96
96
|
e,
|
|
97
97
|
c ?? r.emailFormatInvalidText
|
|
98
98
|
);
|
|
99
99
|
if (e && a.type === "url")
|
|
100
|
-
return
|
|
100
|
+
return U(e, c ?? r.urlFormatInvalidText);
|
|
101
101
|
} else if (!a.allowSpecialCharacters)
|
|
102
102
|
return /[^A-Za-z0-9 ]/.test(e) ? r.includeSpecialCharsInvalidText : !0;
|
|
103
103
|
return a.checkAvailability ? L() : !0;
|
|
104
|
-
},
|
|
104
|
+
}, U = (e, t) => {
|
|
105
105
|
const n = new RegExp(
|
|
106
106
|
`^(https?:\\/\\/)${a.useProtocol ? "" : "?"}((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:@!$&'()*+,;=]*)*(\\?[;&a-z\\d%_.~+=:@!$&'()*+,;=-]*)?(\\#[-a-z\\d_:@!$&'()*+,;=]*)?$`,
|
|
107
107
|
// Fragment (Allowing special characters)
|
|
108
108
|
"i"
|
|
109
109
|
);
|
|
110
110
|
return t == null || n.test(e) ? !0 : t;
|
|
111
|
-
},
|
|
111
|
+
}, S = (e, t) => {
|
|
112
112
|
const n = /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/;
|
|
113
113
|
return t == null || n.test(e) ? !a.checkAvailability || !!a.checkAvailability && L() : t;
|
|
114
114
|
}, G = () => {
|
|
@@ -238,5 +238,5 @@ const g = "Checking availability...", xe = /* @__PURE__ */ Y({
|
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
export {
|
|
241
|
-
xe as
|
|
241
|
+
xe as _
|
|
242
242
|
};
|
package/inputurl/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as n, createBlock as r, openBlock as p, mergeProps as d, createSlots as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as n, createBlock as r, openBlock as p, mergeProps as d, createSlots as s, withCtx as l, renderSlot as t } from "vue";
|
|
2
|
+
import { _ as u } from "../inputtext/index.es.js";
|
|
3
3
|
const y = /* @__PURE__ */ n({
|
|
4
4
|
__name: "InputURL",
|
|
5
5
|
props: {
|
|
@@ -34,11 +34,11 @@ const y = /* @__PURE__ */ n({
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["update:modelValue", "blur", "input"],
|
|
36
36
|
setup(i) {
|
|
37
|
-
return (e, a) => (p(), r(
|
|
37
|
+
return (e, a) => (p(), r(u, d({
|
|
38
38
|
onBlur: a[0] || (a[0] = (o) => e.$emit("blur", o)),
|
|
39
39
|
onInput: a[1] || (a[1] = (o) => e.$emit("input", o)),
|
|
40
40
|
"onUpdate:modelValue": a[2] || (a[2] = (o) => e.$emit("update:modelValue", o))
|
|
41
|
-
}, e.$props, { type: "url" }),
|
|
41
|
+
}, e.$props, { type: "url" }), s({ _: 2 }, [
|
|
42
42
|
e.$slots["addon-left"] ? {
|
|
43
43
|
name: "addon-left",
|
|
44
44
|
fn: l(() => [
|
|
@@ -57,5 +57,5 @@ const y = /* @__PURE__ */ n({
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
|
-
y as
|
|
60
|
+
y as _
|
|
61
61
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as n, reactive as u, onMounted as o, watch as r, createElementBlock as s, openBlock as v } from "vue";
|
|
2
2
|
import { u as c } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
|
-
const
|
|
3
|
+
const p = { class: "!hidden" }, _ = /* @__PURE__ */ n({
|
|
4
4
|
__name: "InvisibleField",
|
|
5
5
|
props: {
|
|
6
6
|
value: { type: [String, Array, Number, Boolean, null, Object], default: void 0 },
|
|
7
7
|
fieldName: { default: "invisibleinput" }
|
|
8
8
|
},
|
|
9
9
|
setup(a) {
|
|
10
|
-
var
|
|
11
|
-
const e = a,
|
|
12
|
-
value: typeof e.value == "string" ? (
|
|
10
|
+
var l;
|
|
11
|
+
const e = a, i = u({
|
|
12
|
+
value: typeof e.value == "string" ? (l = e.value) == null ? void 0 : l.trim() : e.value
|
|
13
13
|
});
|
|
14
14
|
return o(() => {
|
|
15
15
|
var t;
|
|
16
|
-
Object.assign(
|
|
16
|
+
Object.assign(i, c(e.fieldName ?? "invisibleinput")), e.value != null && (i.value = typeof e.value == "string" ? (t = e.value) == null ? void 0 : t.trim() : e.value);
|
|
17
17
|
}), r(
|
|
18
18
|
() => e.value,
|
|
19
19
|
(t) => {
|
|
20
|
-
|
|
20
|
+
i.value = t;
|
|
21
21
|
}
|
|
22
|
-
), (t,
|
|
22
|
+
), (t, d) => (v(), s("div", p));
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
export {
|
|
26
|
-
_
|
|
26
|
+
_
|
|
27
27
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as a, resolveDirective as r, createElementBlock as o, openBlock as n, withDirectives as l, createCommentVNode as i, normalizeClass as p, createVNode as c, createTextVNode as d, toDisplayString as t } from "vue";
|
|
2
|
-
import m from "../icon/index.es.js";
|
|
2
|
+
import { _ as m } from "../icon/index.es.js";
|
|
3
3
|
const g = ["data-user-lang"], u = ["alt", "src"], f = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "flex items-center gap-0.5 text-xs text-general-800"
|
|
6
|
-
}, y = { key: 2 },
|
|
6
|
+
}, y = { key: 2 }, O = /* @__PURE__ */ a({
|
|
7
7
|
__name: "LanguageDropdownOption",
|
|
8
8
|
props: {
|
|
9
9
|
option: {},
|
|
@@ -47,5 +47,5 @@ const g = ["data-user-lang"], u = ["alt", "src"], f = {
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
export {
|
|
50
|
-
_
|
|
50
|
+
O as _
|
|
51
51
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as h, onMounted as v, shallowRef as i, watch as w, createBlock as
|
|
2
|
-
import { u as L } from "../
|
|
1
|
+
import { defineComponent as h, onMounted as v, shallowRef as i, watch as w, createBlock as c, openBlock as u, unref as _, withCtx as s, createVNode as g, createCommentVNode as y } from "vue";
|
|
2
|
+
import { u as L } from "../plugins/basei18n.es.js";
|
|
3
3
|
import { s as x } from "../vendor/primevue/dropdown/dropdown.esm.es.js";
|
|
4
|
-
import C from "../icon/index.es.js";
|
|
5
|
-
import { _ as p } from "../languagedropdownoption/
|
|
4
|
+
import { _ as C } from "../icon/index.es.js";
|
|
5
|
+
import { _ as p } from "../languagedropdownoption/index.es.js";
|
|
6
6
|
const b = /* @__PURE__ */ h({
|
|
7
7
|
__name: "LanguageSwitcher",
|
|
8
8
|
setup(S) {
|
|
@@ -40,7 +40,7 @@ const b = /* @__PURE__ */ h({
|
|
|
40
40
|
};
|
|
41
41
|
return w(n, (a) => {
|
|
42
42
|
m(a.isoCode);
|
|
43
|
-
}), (a, e) => (
|
|
43
|
+
}), (a, e) => (u(), c(_(x), {
|
|
44
44
|
modelValue: n.value,
|
|
45
45
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => n.value = t),
|
|
46
46
|
"filter-fields": ["language", "name"],
|
|
@@ -70,7 +70,7 @@ const b = /* @__PURE__ */ h({
|
|
|
70
70
|
})
|
|
71
71
|
]),
|
|
72
72
|
value: s(({ value: t }) => [
|
|
73
|
-
t ? (
|
|
73
|
+
t ? (u(), c(p, {
|
|
74
74
|
key: 0,
|
|
75
75
|
option: t,
|
|
76
76
|
"icon-only": ""
|
|
@@ -84,5 +84,5 @@ const b = /* @__PURE__ */ h({
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
export {
|
|
87
|
-
b as
|
|
87
|
+
b as _
|
|
88
88
|
};
|
package/litedropdown/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as w, mergeModels as u, inject as g, useModel as y, shallowRef as V, createBlock as h, openBlock as b, withCtx as l, createVNode as n, unref as
|
|
1
|
+
import { defineComponent as w, mergeModels as u, inject as g, useModel as y, shallowRef as V, createBlock as h, openBlock as b, withCtx as l, createVNode as n, unref as c, mergeProps as v, createSlots as B, normalizeClass as x, renderSlot as $ } from "vue";
|
|
2
2
|
import { s as S } from "../vendor/primevue/dropdown/dropdown.esm.es.js";
|
|
3
|
-
import { _ as C } from "../fieldwrapper/
|
|
4
|
-
import s from "../icon/index.es.js";
|
|
3
|
+
import { _ as C } from "../fieldwrapper/index.es.js";
|
|
4
|
+
import { _ as s } from "../icon/index.es.js";
|
|
5
5
|
const M = /* @__PURE__ */ w({
|
|
6
6
|
__name: "LiteDropdown",
|
|
7
7
|
props: /* @__PURE__ */ u({
|
|
@@ -20,22 +20,22 @@ const M = /* @__PURE__ */ w({
|
|
|
20
20
|
modelModifiers: {}
|
|
21
21
|
}),
|
|
22
22
|
emits: /* @__PURE__ */ u(["update:modelValue", "show", "change"], ["update:modelValue"]),
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
23
|
+
setup(i) {
|
|
24
|
+
const f = g("preset", {}).dropdown, d = y(i, "modelValue"), t = i, r = V(!1);
|
|
25
25
|
return (a, o) => (b(), h(C, {
|
|
26
26
|
mandatory: t.mandatory
|
|
27
27
|
}, {
|
|
28
28
|
default: l(() => [
|
|
29
|
-
n(
|
|
30
|
-
modelValue:
|
|
31
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) =>
|
|
29
|
+
n(c(S), v(t, {
|
|
30
|
+
modelValue: d.value,
|
|
31
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value = e),
|
|
32
32
|
placeholder: t.loading ? "Loading..." : t.placeholder,
|
|
33
33
|
pt: {
|
|
34
34
|
root: ({ state: e, props: p }) => {
|
|
35
35
|
var m;
|
|
36
36
|
return {
|
|
37
37
|
class: [
|
|
38
|
-
...(m = f
|
|
38
|
+
...(m = c(f)) == null ? void 0 : m.root({ state: e, props: p }).class,
|
|
39
39
|
"text-base",
|
|
40
40
|
{
|
|
41
41
|
"cursor-pointer": !p.disabled
|
|
@@ -98,5 +98,5 @@ const M = /* @__PURE__ */ w({
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
export {
|
|
101
|
-
M as
|
|
101
|
+
M as _
|
|
102
102
|
};
|
package/loading/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as r, createBlock as i, createCommentVNode as m, unref as o, openBlock as
|
|
2
|
-
import { u } from "../assetinfo/
|
|
3
|
-
import { _ } from "../animation/
|
|
1
|
+
import { defineComponent as r, createBlock as i, createCommentVNode as m, unref as o, openBlock as s, Teleport as d, createElementVNode as p, mergeProps as a, createVNode as l, createTextVNode as c, toDisplayString as g } from "vue";
|
|
2
|
+
import { u as _ } from "../assetinfo/index.es.js";
|
|
3
|
+
import { _ as u } from "../animation/index.es.js";
|
|
4
4
|
const k = /* @__PURE__ */ r({
|
|
5
5
|
__name: "Loading",
|
|
6
6
|
setup(f) {
|
|
7
|
-
const { loading: t, message: n } =
|
|
8
|
-
return (e, v) => o(t) ? (
|
|
7
|
+
const { loading: t, message: n } = _();
|
|
8
|
+
return (e, v) => o(t) ? (s(), i(d, {
|
|
9
9
|
key: 0,
|
|
10
10
|
to: "body"
|
|
11
11
|
}, [
|
|
12
|
-
|
|
12
|
+
p("div", a(e.$preset.loading.root, {
|
|
13
13
|
"data-wv-name": "loading-overlay",
|
|
14
14
|
"data-wv-section": "overlay"
|
|
15
15
|
}), [
|
|
16
|
-
|
|
16
|
+
l(u, a({ animation: "loading-page" }, e.$preset.loading.animation), null, 16),
|
|
17
17
|
c(" " + g(o(n)), 1)
|
|
18
18
|
], 16)
|
|
19
19
|
])) : m("", !0);
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
export {
|
|
23
|
-
k as
|
|
23
|
+
k as _
|
|
24
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, shallowRef as v, watch as y, createElementBlock as l, openBlock as s, Fragment as k, renderList as w, normalizeClass as x, createVNode as b, createElementVNode as a, toDisplayString as u } from "vue";
|
|
2
|
-
import C from "../username/index.es.js";
|
|
2
|
+
import { _ as C } from "../username/index.es.js";
|
|
3
3
|
const N = { class: "bg-white border border-gray-200 rounded-lg shadow-md flex flex-col max-h-72 overflow-y-scroll w-fit gap-1 p-2 relative" }, D = ["onClick"], E = { class: "flex flex-col gap-[1px]" }, H = { class: "!text-[10px] !font-light" }, P = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-xs font-semibold"
|
|
@@ -10,11 +10,11 @@ const N = { class: "bg-white border border-gray-200 rounded-lg shadow-md flex fl
|
|
|
10
10
|
command: { type: Function }
|
|
11
11
|
},
|
|
12
12
|
setup(d, { expose: m }) {
|
|
13
|
-
const o = d, t = v(0), p = (e) => e.key === "ArrowUp" ? (f(), !0) : e.key === "ArrowDown" ? (
|
|
13
|
+
const o = d, t = v(0), p = (e) => e.key === "ArrowUp" ? (f(), !0) : e.key === "ArrowDown" ? (_(), !0) : e.key === "Enter" ? (h(), !0) : !1, f = () => {
|
|
14
14
|
t.value = (t.value + o.items.length - 1) % o.items.length;
|
|
15
|
-
}, h = () => {
|
|
16
|
-
t.value = (t.value + 1) % o.items.length;
|
|
17
15
|
}, _ = () => {
|
|
16
|
+
t.value = (t.value + 1) % o.items.length;
|
|
17
|
+
}, h = () => {
|
|
18
18
|
c(t.value);
|
|
19
19
|
}, c = (e) => {
|
|
20
20
|
const r = o.items[e];
|
package/menu/index.es.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
1
|
+
import { defineComponent as b, ref as w, createBlock as B, openBlock as g, unref as s, mergeProps as x, createSlots as M, withCtx as p, createVNode as $, renderSlot as k } from "vue";
|
|
2
|
+
import { e as n } from "../event-bus/index.es.js";
|
|
3
|
+
import { u as I } from "../plugins/WangsVue.es.js";
|
|
4
|
+
import { f as C } from "../buttonbulkaction/index.es.js";
|
|
4
5
|
import { s as L } from "../vendor/primevue/menu/menu.esm.es.js";
|
|
5
|
-
import { _ as S } from "../menuitem/
|
|
6
|
-
const
|
|
6
|
+
import { _ as S } from "../menuitem/index.es.js";
|
|
7
|
+
const N = /* @__PURE__ */ b({
|
|
7
8
|
__name: "Menu",
|
|
8
9
|
props: {
|
|
9
10
|
model: { default: () => [] },
|
|
@@ -21,36 +22,36 @@ const H = /* @__PURE__ */ _({
|
|
|
21
22
|
},
|
|
22
23
|
emits: ["focus", "blur"],
|
|
23
24
|
setup(V, { expose: u, emit: i }) {
|
|
24
|
-
const a = i, { locale: m } =
|
|
25
|
+
const a = i, { locale: m } = I("Menu"), l = +/* @__PURE__ */ new Date(), t = w(), f = (e) => {
|
|
25
26
|
var o;
|
|
26
27
|
(o = t.value) == null || o.toggle(e);
|
|
27
|
-
},
|
|
28
|
+
}, c = (e) => {
|
|
28
29
|
var o;
|
|
29
30
|
(o = t.value) == null || o.show(e);
|
|
30
|
-
},
|
|
31
|
+
}, r = (e) => {
|
|
31
32
|
var o;
|
|
32
33
|
t.value && e.overlayId !== l && ((o = t.value) == null || o.hide());
|
|
33
|
-
},
|
|
34
|
+
}, d = (e) => {
|
|
34
35
|
a("blur", e), setTimeout(() => {
|
|
35
|
-
|
|
36
|
+
n.off("overlay:show", r);
|
|
36
37
|
}, 1e3);
|
|
37
38
|
}, y = (e) => {
|
|
38
|
-
|
|
39
|
+
n.on("overlay:show", r), n.emit("overlay:show", { overlayId: l }), a("focus", e);
|
|
39
40
|
};
|
|
40
41
|
return u({
|
|
41
42
|
toggle: f,
|
|
42
|
-
show:
|
|
43
|
-
hide:
|
|
44
|
-
}), (e, o) => (g(), B(
|
|
43
|
+
show: c,
|
|
44
|
+
hide: r
|
|
45
|
+
}), (e, o) => (g(), B(s(L), x(e.$props, {
|
|
45
46
|
ref_key: "menu",
|
|
46
47
|
ref: t,
|
|
47
|
-
model:
|
|
48
|
-
onBlur:
|
|
48
|
+
model: s(C)(e.$props.model, s(m).noOptionLabel),
|
|
49
|
+
onBlur: d,
|
|
49
50
|
onFocus: y
|
|
50
51
|
}), M({
|
|
51
|
-
item: p(({ item: v, props: h, index:
|
|
52
|
+
item: p(({ item: v, props: h, index: _ }) => [
|
|
52
53
|
$(S, {
|
|
53
|
-
index:
|
|
54
|
+
index: _,
|
|
54
55
|
item: v,
|
|
55
56
|
"router-props": h
|
|
56
57
|
}, null, 8, ["index", "item", "router-props"])
|
|
@@ -68,5 +69,5 @@ const H = /* @__PURE__ */ _({
|
|
|
68
69
|
}
|
|
69
70
|
});
|
|
70
71
|
export {
|
|
71
|
-
|
|
72
|
+
N as _
|
|
72
73
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as M, createBlock as i, createElementBlock as b, openBlock as r, withCtx as N, createElementVNode as n, mergeProps as t, createCommentVNode as a, normalizeProps as h, guardReactiveProps as C, toDisplayString as s, withModifiers as V } from "vue";
|
|
2
|
-
import l from "../icon/index.es.js";
|
|
2
|
+
import { _ as l } from "../icon/index.es.js";
|
|
3
3
|
const $ = ["href", "onClick"], z = ["href", "target"], R = /* @__PURE__ */ E({
|
|
4
4
|
__name: "MenuItem",
|
|
5
5
|
props: {
|