hisonvue 1.0.0 → 1.0.2
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/LICENSE +21 -21
- package/README.md +248 -248
- package/dist/{HAccordion-ll-4cIAw.mjs → HAccordion-DXNoziwY.mjs} +14 -14
- package/dist/{HAccordion-CPtgQUK0.js → HAccordion-FatqOgy2.js} +1 -1
- package/dist/{HBaggie-D_7mEiuV.mjs → HBaggie-C4qcuGl9.mjs} +2 -2
- package/dist/{HBaggie-D6omQoFh.js → HBaggie-DWSes7QC.js} +1 -1
- package/dist/{HBanner-Io4SdGGs.js → HBanner-D2IVlykU.js} +1 -1
- package/dist/{HBanner-DmcMOFqS.mjs → HBanner-DNOhDRli.mjs} +46 -46
- package/dist/{HButton-DAVuDmOQ.js → HButton-D3aVYVY3.js} +1 -1
- package/dist/{HButton-DAriO81x.mjs → HButton-Dhyb_Apz.mjs} +2 -2
- package/dist/HCalendar-BB0XyvZV.js +2 -0
- package/dist/{HCalendar-w18iIB90.mjs → HCalendar-Bv1mZ6DG.mjs} +7 -7
- package/dist/{HCaption-6CbSqRA7.js → HCaption-2Wpf8L9R.js} +1 -1
- package/dist/{HCaption-DwsXHDNK.mjs → HCaption-BKJlg7ZH.mjs} +1 -1
- package/dist/{HChart-C86JXUyW.js → HChart-BEe_bo5V.js} +1 -1
- package/dist/{HChart-CcArHFr0.mjs → HChart-H5M0gQB0.mjs} +1 -1
- package/dist/{HDrawer-DG1O42iF.mjs → HDrawer-BYrUd-eA.mjs} +47 -47
- package/dist/HDrawer-CWkLJyMS.js +1 -0
- package/dist/{HDropdown-D4RAGmjE.js → HDropdown-DTaeDC5I.js} +1 -1
- package/dist/{HDropdown-Bs7AfefJ.mjs → HDropdown-Dpba4jMR.mjs} +13 -13
- package/dist/{HFileset-CuPR6Hwf.js → HFileset-CWDMfYdY.js} +1 -1
- package/dist/{HFileset-BGuP9O4l.mjs → HFileset-Qo0JIgMJ.mjs} +1 -1
- package/dist/{HGap-DzGrfWVt.mjs → HGap-B5lrnzJ6.mjs} +1 -1
- package/dist/{HGap-BPAdnOQz.js → HGap-Bcl_WYxa.js} +1 -1
- package/dist/{HGrid-BiIhVCv_.mjs → HGrid-59dIVp9V.mjs} +1 -1
- package/dist/{HGrid-C3EV_pgM.js → HGrid-f8xHSk9C.js} +1 -1
- package/dist/{HImagebox-t_UdFjQO.js → HImagebox-DIYXXh95.js} +1 -1
- package/dist/{HImagebox-D_DKeCrO.mjs → HImagebox-G-LvB26S.mjs} +1 -1
- package/dist/{HInput-BEyJqYkD.mjs → HInput-C9rOBXqc.mjs} +1 -1
- package/dist/{HInput-DMGLY473.js → HInput-PgalO88P.js} +1 -1
- package/dist/{HInputGroup-D37WTYoI.mjs → HInputGroup-BaK14hkQ.mjs} +1 -1
- package/dist/{HInputGroup-Dcfr23sZ.js → HInputGroup-XryXR-6k.js} +1 -1
- package/dist/{HLabel-Dm48mSwn.js → HLabel-CbQeG2R3.js} +1 -1
- package/dist/{HLabel-B2FOqSiS.mjs → HLabel-jbc0_u5J.mjs} +2 -2
- package/dist/{HLayout-C1e4BZ_K.js → HLayout-CUwfApcb.js} +1 -1
- package/dist/{HLayout-BbCEm_aO.mjs → HLayout-DmTQQmLs.mjs} +2 -2
- package/dist/{HList-eNXmMf27.js → HList-DCupvbju.js} +1 -1
- package/dist/{HList-CAeYb-hz.mjs → HList-rD5kL7cI.mjs} +2 -2
- package/dist/{HModal-BDBEEpKm.mjs → HModal-XDNcukop.mjs} +1 -1
- package/dist/{HModal-GODLq3wH.js → HModal-eniLW2gp.js} +1 -1
- package/dist/{HNote-CWnUjt3_.mjs → HNote-BA3umb5e.mjs} +1 -1
- package/dist/{HNote-D_Xwu9oL.js → HNote-DzeszCEe.js} +1 -1
- package/dist/{HPagination-Db_L9wv-.js → HPagination-BS4l4xGP.js} +1 -1
- package/dist/{HPagination-e5e2a5GS.mjs → HPagination-CgufEtL4.mjs} +15 -15
- package/dist/{HParagraph-BRuSeOMU.js → HParagraph-DPFx64UD.js} +1 -1
- package/dist/{HParagraph-DYuB-qjY.mjs → HParagraph-hCHZmj-4.mjs} +1 -1
- package/dist/{HPopup-Brp1FVpm.mjs → HPopup-BfPYzBy6.mjs} +1 -1
- package/dist/{HPopup-ChkoI3xm.js → HPopup-NBwn8RA4.js} +1 -1
- package/dist/{HSpinner-DOq2k5kT.mjs → HSpinner-1UQgVEve.mjs} +6 -6
- package/dist/{HSpinner-DDtU9PL_.js → HSpinner-CMsmFVOv.js} +1 -1
- package/dist/{HTable-GCDP5O_J.mjs → HTable-BUIKSXIR.mjs} +1 -1
- package/dist/{HTable-DGFnzD4u.js → HTable-Dweedemn.js} +1 -1
- package/dist/ar.es-C08a05mp.mjs +57 -0
- package/dist/{bg.es-BJ7fu6yy.mjs → bg.es-BxUPtB2r.mjs} +15 -15
- package/dist/bn.es-J9yOJsGH.mjs +57 -0
- package/dist/{bs.es-yMnaKmdi.mjs → bs.es-Fq6ZEbY-.mjs} +13 -13
- package/dist/{ca.es-DIhlxmQc.mjs → ca.es-Bu3i72ow.mjs} +21 -21
- package/dist/{cs.es-BN8oxRXQ.mjs → cs.es-CeLWs7BX.mjs} +19 -19
- package/dist/da.es-BkbgeF4x.mjs +57 -0
- package/dist/{de.es-glb8GeJh.mjs → de.es-Dxj10D7g.mjs} +15 -15
- package/dist/{drag-and-drop.es-Ckzp6XEn.mjs → drag-and-drop.es-CoYQRahm.mjs} +1 -1
- package/dist/drag-and-drop.es-DWn92Mem.js +5 -0
- package/dist/{el.es-_bBZf22h.mjs → el.es-BcvYhsc8.mjs} +23 -23
- package/dist/{en.es-CV9nmQGr.mjs → en.es-stDfj1fG.mjs} +11 -11
- package/dist/es.es-DJ9hC3M1.mjs +57 -0
- package/dist/{et.es-CjvQAzNF.mjs → et.es-Bh__rR0h.mjs} +20 -20
- package/dist/fa.es-CyoM_QAj.mjs +57 -0
- package/dist/{he.es-nF4GFhjH.mjs → he.es-Bytj24fj.mjs} +21 -21
- package/dist/hisonvue.cjs.js +1 -1
- package/dist/hisonvue.css +1 -1
- package/dist/hisonvue.d.ts +9 -9
- package/dist/hisonvue.es.js +2 -2
- package/dist/{hr.es-QFfz660j.mjs → hr.es-DjKclO4X.mjs} +15 -15
- package/dist/{hu.es-Ck2rE01V.mjs → hu.es-CgiNeVVu.mjs} +21 -21
- package/dist/index-CKU70ocu.js +153 -0
- package/dist/{index-DUh7pai4.mjs → index-p1EBArRP.mjs} +889 -889
- package/dist/is.es-yRheRWhc.mjs +57 -0
- package/dist/ja.es-CALG6dhe.mjs +57 -0
- package/dist/{ka.es-x9QJo_dl.mjs → ka.es-6dlQBWDo.mjs} +20 -20
- package/dist/ko.es-BU6TVPXM.mjs +57 -0
- package/dist/mn.es-CY_Brq9B.mjs +57 -0
- package/dist/{nl.es-bB1qWR_S.mjs → nl.es-CN5JXXxr.mjs} +15 -15
- package/dist/no.es-BZkgoly8.mjs +57 -0
- package/dist/{pl.es-Dzct23w9.mjs → pl.es-BJ9nIcgc.mjs} +21 -21
- package/dist/pt-br.es-DEhn4BON.mjs +57 -0
- package/dist/pt-pt.es-DEhn4BON.mjs +57 -0
- package/dist/ro.es-CsOras9g.mjs +57 -0
- package/dist/{ru.es-Bv9UvrBe.mjs → ru.es-CPzb0Fst.mjs} +23 -23
- package/dist/{setButtonCssEvent-B9WTs2X7.js → setButtonCssEvent-BoBQS2-T.js} +1 -1
- package/dist/{setButtonCssEvent-dBs1GcAh.mjs → setButtonCssEvent-CB-7jMmJ.mjs} +1 -1
- package/dist/sk.es-D6YtHvSy.mjs +57 -0
- package/dist/{sl.es-DeIGgZbR.mjs → sl.es-D0fiCGIm.mjs} +16 -16
- package/dist/{sq.es-CQJJrZHv.mjs → sq.es-a8QTS1Hv.mjs} +17 -17
- package/dist/{sr.es-CKS0AkiW.mjs → sr.es-CIc0WPBO.mjs} +13 -13
- package/dist/sv.es-DFVxHUOu.mjs +57 -0
- package/dist/tr.es-CXIKJ2UV.mjs +57 -0
- package/dist/{uk.es-CiR4NnbN.mjs → uk.es-BvUxN5ag.mjs} +23 -23
- package/dist/{vi.es-DFDi5l7p.mjs → vi.es-C0AyhgP1.mjs} +26 -26
- package/dist/zh-cn.es-AODwJ7q7.mjs +67 -0
- package/dist/zh-hk.es-Bdbs8ke2.mjs +67 -0
- package/nuxt/module.mjs +39 -39
- package/nuxt/plugin.mjs +21 -21
- package/package.json +53 -53
- package/dist/HCalendar-DKwGatUk.js +0 -2
- package/dist/HDrawer-U5VC_okK.js +0 -1
- package/dist/ar.es-XxSuE68c.mjs +0 -57
- package/dist/bn.es-CYlBkxc5.mjs +0 -57
- package/dist/da.es-DJB5lAli.mjs +0 -57
- package/dist/drag-and-drop.es-4ttM1tRs.js +0 -5
- package/dist/es.es-CZjcWK54.mjs +0 -57
- package/dist/fa.es-DykeFwDA.mjs +0 -57
- package/dist/index-BmKMHsSZ.js +0 -153
- package/dist/is.es-bzprHvXI.mjs +0 -57
- package/dist/ja.es-BaiGjqZ6.mjs +0 -57
- package/dist/ko.es-6c447eTS.mjs +0 -57
- package/dist/mn.es-BLQRG1uu.mjs +0 -57
- package/dist/no.es-CWDVXpTf.mjs +0 -57
- package/dist/pt-br.es-BeBuiitI.mjs +0 -57
- package/dist/pt-pt.es-BeBuiitI.mjs +0 -57
- package/dist/ro.es-DfMVJ30M.mjs +0 -57
- package/dist/sk.es-CUOTpLuL.mjs +0 -57
- package/dist/sv.es-ChHQRrAe.mjs +0 -57
- package/dist/tr.es-B3v90gVv.mjs +0 -57
- package/dist/zh-cn.es-9cbEAuAi.mjs +0 -67
- package/dist/zh-hk.es-z0tio4jE.mjs +0 -67
|
@@ -6,57 +6,57 @@ var xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
6
6
|
/*! For license information please see Hisonjs.bundle.js.LICENSE.txt */
|
|
7
7
|
var ed = di.exports, _l;
|
|
8
8
|
function td() {
|
|
9
|
-
return _l || (_l = 1, function(t, e) {
|
|
9
|
+
return _l || (_l = 1, (function(t, e) {
|
|
10
10
|
(function(n, o) {
|
|
11
11
|
t.exports = o();
|
|
12
|
-
})(typeof self < "u" ? self : typeof xo < "u" ? xo : ed, () => (() => {
|
|
12
|
+
})(typeof self < "u" ? self : typeof xo < "u" ? xo : ed, (() => (() => {
|
|
13
13
|
var n = { d: (d, y) => {
|
|
14
14
|
for (var M in y) n.o(y, M) && !n.o(d, M) && Object.defineProperty(d, M, { enumerable: !0, get: y[M] });
|
|
15
15
|
}, o: (d, y) => Object.prototype.hasOwnProperty.call(d, y), r: (d) => {
|
|
16
16
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(d, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(d, "__esModule", { value: !0 });
|
|
17
17
|
} }, o = {};
|
|
18
18
|
n.r(o), n.d(o, { AllDateTimeFormat: () => Ee, ApiDelete: () => Se, ApiDeleteUrl: () => ze, ApiGet: () => Mt, ApiGetUrl: () => Rt, ApiPatch: () => b, ApiPatchUrl: () => _, ApiPost: () => x, ApiPostUrl: () => g, ApiPut: () => oe, ApiPutUrl: () => de, CachingModule: () => I, CountDateType: () => Me, DataModel: () => tn, DataWrapper: () => Zt, DateFormat: () => L, DateTimeFormat: () => W, DayFormat: () => re, DayOfWeekFormat: () => fe, DayOfWeekFullName: () => a, DayOfWeekFullNameKR: () => m, DayOfWeekShortName: () => c, DayOfWeekShortNameKR: () => C, HourFormat: () => ye, HourMinuteFormat: () => xe, MinuteFormat: () => ke, MonthFormat: () => X, MonthFullName: () => r, MonthShortName: () => i, SecondFormat: () => ve, TimeFormat: () => P, YearFormat: () => K, YearMonthFormat: () => ee, createHison: () => ht });
|
|
19
|
-
var r = function(d) {
|
|
19
|
+
var r = (function(d) {
|
|
20
20
|
return d[d.January = 1] = "January", d[d.February = 2] = "February", d[d.March = 3] = "March", d[d.April = 4] = "April", d[d.May = 5] = "May", d[d.June = 6] = "June", d[d.July = 7] = "July", d[d.August = 8] = "August", d[d.September = 9] = "September", d[d.October = 10] = "October", d[d.November = 11] = "November", d[d.December = 12] = "December", d;
|
|
21
|
-
}({}), i = function(d) {
|
|
21
|
+
})({}), i = (function(d) {
|
|
22
22
|
return d[d.Jan = 1] = "Jan", d[d.Feb = 2] = "Feb", d[d.Mar = 3] = "Mar", d[d.Apr = 4] = "Apr", d[d.May = 5] = "May", d[d.Jun = 6] = "Jun", d[d.Jul = 7] = "Jul", d[d.Aug = 8] = "Aug", d[d.Sep = 9] = "Sep", d[d.Oct = 10] = "Oct", d[d.Nov = 11] = "Nov", d[d.Dec = 12] = "Dec", d;
|
|
23
|
-
}({}), a = function(d) {
|
|
23
|
+
})({}), a = (function(d) {
|
|
24
24
|
return d[d.Sun = 0] = "Sun", d[d.Mon = 1] = "Mon", d[d.Tue = 2] = "Tue", d[d.Wed = 3] = "Wed", d[d.Thu = 4] = "Thu", d[d.Fri = 5] = "Fri", d[d.Sat = 6] = "Sat", d;
|
|
25
|
-
}({}), c = function(d) {
|
|
25
|
+
})({}), c = (function(d) {
|
|
26
26
|
return d[d.Sunday = 0] = "Sunday", d[d.Monday = 1] = "Monday", d[d.Tuesday = 2] = "Tuesday", d[d.Wednesday = 3] = "Wednesday", d[d.Thursday = 4] = "Thursday", d[d.Friday = 5] = "Friday", d[d.Saturday = 6] = "Saturday", d;
|
|
27
|
-
}({}), m = function(d) {
|
|
27
|
+
})({}), m = (function(d) {
|
|
28
28
|
return d[d.일 = 0] = "일", d[d.월 = 1] = "월", d[d.화 = 2] = "화", d[d.수 = 3] = "수", d[d.목 = 4] = "목", d[d.금 = 5] = "금", d[d.토 = 6] = "토", d;
|
|
29
|
-
}({}), C = function(d) {
|
|
29
|
+
})({}), C = (function(d) {
|
|
30
30
|
return d[d.일요일 = 0] = "일요일", d[d.월요일 = 1] = "월요일", d[d.화요일 = 2] = "화요일", d[d.수요일 = 3] = "수요일", d[d.목요일 = 4] = "목요일", d[d.금요일 = 5] = "금요일", d[d.토요일 = 6] = "토요일", d;
|
|
31
|
-
}({}), L = function(d) {
|
|
31
|
+
})({}), L = (function(d) {
|
|
32
32
|
return d.yyyyMMdd = "yyyyMMdd", d["yyyy-MM-dd"] = "yyyy-MM-dd", d["yyyy/MM/dd"] = "yyyy/MM/dd", d["yyyy. MM. dd"] = "yyyy. MM. dd", d["yyyy MM dd"] = "yyyy MM dd", d.MMddyyyy = "MMddyyyy", d["MM-dd-yyyy"] = "MM-dd-yyyy", d["MM/dd/yyyy"] = "MM/dd/yyyy", d["MM. dd. yyyy"] = "MM. dd. yyyy", d["MMMM dd yyyy"] = "MMMM dd yyyy", d["MMMM dd, yyyy"] = "MMMM dd, yyyy", d["MMM dd yyyy"] = "MMM dd yyyy", d["MMM dd, yyyy"] = "MMM dd, yyyy", d.ddMMyyyy = "ddMMyyyy", d["dd-MM-yyyy"] = "dd-MM-yyyy", d["dd/MM/yyyy"] = "dd/MM/yyyy", d["dd. MM. yyyy"] = "dd. MM. yyyy", d["dd MMMM yyyy"] = "dd MMMM yyyy", d["dd MMM yyyy"] = "dd MMM yyyy", d;
|
|
33
|
-
}({}), P = function(d) {
|
|
33
|
+
})({}), P = (function(d) {
|
|
34
34
|
return d.hhmm = "hhmm", d["hh:mm"] = "hh:mm", d.HHmm = "HHmm", d["HH:mm"] = "HH:mm", d.hhmmss = "hhmmss", d["hh:mm:ss"] = "hh:mm:ss", d.HHmmss = "HHmmss", d["HH:mm:ss"] = "HH:mm:ss", d;
|
|
35
|
-
}({}), W = function(d) {
|
|
35
|
+
})({}), W = (function(d) {
|
|
36
36
|
return d["yyyyMMdd hhmmss"] = "yyyyMMdd hhmmss", d["yyyyMMdd hh:mm:ss"] = "yyyyMMdd hh:mm:ss", d["yyyy-MM-dd hhmmss"] = "yyyy-MM-dd hhmmss", d["yyyy-MM-dd hh:mm:ss"] = "yyyy-MM-dd hh:mm:ss", d["yyyy/MM/dd hhmmss"] = "yyyy/MM/dd hhmmss", d["yyyy/MM/dd hh:mm:ss"] = "yyyy/MM/dd hh:mm:ss", d["yyyy. MM. dd hhmmss"] = "yyyy. MM. dd hhmmss", d["yyyy. MM. dd hh:mm:ss"] = "yyyy. MM. dd hh:mm:ss", d["yyyy MM dd hhmmss"] = "yyyy MM dd hhmmss", d["yyyy MM dd hh:mm:ss"] = "yyyy MM dd hh:mm:ss", d["MMddyyyy hhmmss"] = "MMddyyyy hhmmss", d["MMddyyyy hh:mm:ss"] = "MMddyyyy hh:mm:ss", d["MM-dd-yyyy hhmmss"] = "MM-dd-yyyy hhmmss", d["MM-dd-yyyy hh:mm:ss"] = "MM-dd-yyyy hh:mm:ss", d["MM/dd/yyyy hhmmss"] = "MM/dd/yyyy hhmmss", d["MM/dd/yyyy hh:mm:ss"] = "MM/dd/yyyy hh:mm:ss", d["MM. dd. yyyy hhmmss"] = "MM. dd. yyyy hhmmss", d["MM. dd. yyyy hh:mm:ss"] = "MM. dd. yyyy hh:mm:ss", d["MMMM dd yyyy hhmmss"] = "MMMM dd yyyy hhmmss", d["MMMM dd yyyy hh:mm:ss"] = "MMMM dd yyyy hh:mm:ss", d["MMMM dd, yyyy hhmmss"] = "MMMM dd, yyyy hhmmss", d["MMMM dd, yyyy hh:mm:ss"] = "MMMM dd, yyyy hh:mm:ss", d["MMM dd yyyy hhmmss"] = "MMM dd yyyy hhmmss", d["MMM dd yyyy hh:mm:ss"] = "MMM dd yyyy hh:mm:ss", d["MMM dd, yyyy hhmmss"] = "MMM dd, yyyy hhmmss", d["MMM dd, yyyy hh:mm:ss"] = "MMM dd, yyyy hh:mm:ss", d["ddMMyyyy hhmmss"] = "ddMMyyyy hhmmss", d["ddMMyyyy hh:mm:ss"] = "ddMMyyyy hh:mm:ss", d["dd-MM-yyyy hhmmss"] = "dd-MM-yyyy hhmmss", d["dd-MM-yyyy hh:mm:ss"] = "dd-MM-yyyy hh:mm:ss", d["dd/MM/yyyy hhmmss"] = "dd/MM/yyyy hhmmss", d["dd/MM/yyyy hh:mm:ss"] = "dd/MM/yyyy hh:mm:ss", d["dd. MM. yyyy hhmmss"] = "dd. MM. yyyy hhmmss", d["dd. MM. yyyy hh:mm:ss"] = "dd. MM. yyyy hh:mm:ss", d["dd MMMM yyyy hhmmss"] = "dd MMMM yyyy hhmmss", d["dd MMMM yyyy hh:mm:ss"] = "dd MMMM yyyy hh:mm:ss", d["dd MMM yyyy hhmmss"] = "dd MMM yyyy hhmmss", d["dd MMM yyyy hh:mm:ss"] = "dd MMM yyyy hh:mm:ss", d["yyyyMMdd HHmmss"] = "yyyyMMdd HHmmss", d["yyyyMMdd HH:mm:ss"] = "yyyyMMdd HH:mm:ss", d["yyyy-MM-dd HHmmss"] = "yyyy-MM-dd HHmmss", d["yyyy-MM-dd HH:mm:ss"] = "yyyy-MM-dd HH:mm:ss", d["yyyy/MM/dd HHmmss"] = "yyyy/MM/dd HHmmss", d["yyyy/MM/dd HH:mm:ss"] = "yyyy/MM/dd HH:mm:ss", d["yyyy. MM. dd HHmmss"] = "yyyy. MM. dd HHmmss", d["yyyy. MM. dd HH:mm:ss"] = "yyyy. MM. dd HH:mm:ss", d["yyyy MM dd HHmmss"] = "yyyy MM dd HHmmss", d["yyyy MM dd HH:mm:ss"] = "yyyy MM dd HH:mm:ss", d["MMddyyyy HHmmss"] = "MMddyyyy HHmmss", d["MMddyyyy HH:mm:ss"] = "MMddyyyy HH:mm:ss", d["MM-dd-yyyy HHmmss"] = "MM-dd-yyyy HHmmss", d["MM-dd-yyyy HH:mm:ss"] = "MM-dd-yyyy HH:mm:ss", d["MM/dd/yyyy HHmmss"] = "MM/dd/yyyy HHmmss", d["MM/dd/yyyy HH:mm:ss"] = "MM/dd/yyyy HH:mm:ss", d["MM. dd. yyyy HHmmss"] = "MM. dd. yyyy HHmmss", d["MM. dd. yyyy HH:mm:ss"] = "MM. dd. yyyy HH:mm:ss", d["MMMM dd yyyy HHmmss"] = "MMMM dd yyyy HHmmss", d["MMMM dd yyyy HH:mm:ss"] = "MMMM dd yyyy HH:mm:ss", d["MMMM dd, yyyy HHmmss"] = "MMMM dd, yyyy HHmmss", d["MMMM dd, yyyy HH:mm:ss"] = "MMMM dd, yyyy HH:mm:ss", d["MMM dd yyyy HHmmss"] = "MMM dd yyyy HHmmss", d["MMM dd yyyy HH:mm:ss"] = "MMM dd yyyy HH:mm:ss", d["MMM dd, yyyy HHmmss"] = "MMM dd, yyyy HHmmss", d["MMM dd, yyyy HH:mm:ss"] = "MMM dd, yyyy HH:mm:ss", d["ddMMyyyy HHmmss"] = "ddMMyyyy HHmmss", d["ddMMyyyy HH:mm:ss"] = "ddMMyyyy HH:mm:ss", d["dd-MM-yyyy HHmmss"] = "dd-MM-yyyy HHmmss", d["dd-MM-yyyy HH:mm:ss"] = "dd-MM-yyyy HH:mm:ss", d["dd/MM/yyyy HHmmss"] = "dd/MM/yyyy HHmmss", d["dd/MM/yyyy HH:mm:ss"] = "dd/MM/yyyy HH:mm:ss", d["dd. MM. yyyy HHmmss"] = "dd. MM. yyyy HHmmss", d["dd. MM. yyyy HH:mm:ss"] = "dd. MM. yyyy HH:mm:ss", d["dd MMMM yyyy HHmmss"] = "dd MMMM yyyy HHmmss", d["dd MMMM yyyy HH:mm:ss"] = "dd MMMM yyyy HH:mm:ss", d["dd MMM yyyy HHmmss"] = "dd MMM yyyy HHmmss", d["dd MMM yyyy HH:mm:ss"] = "dd MMM yyyy HH:mm:ss", d;
|
|
37
|
-
}({}), K = function(d) {
|
|
37
|
+
})({}), K = (function(d) {
|
|
38
38
|
return d.yyyy = "yyyy", d.yy = "yy", d;
|
|
39
|
-
}({}), X = function(d) {
|
|
39
|
+
})({}), X = (function(d) {
|
|
40
40
|
return d.M = "M", d.MM = "MM", d.MMM = "MMM", d.MMMM = "MMMM", d;
|
|
41
|
-
}({}), ee = function(d) {
|
|
41
|
+
})({}), ee = (function(d) {
|
|
42
42
|
return d.yyyyMM = "yyyyMM", d["yyyy-MM"] = "yyyy-MM", d["yyyy/MM"] = "yyyy/MM", d["yyyy. MM"] = "yyyy. MM", d["yyyy MM"] = "yyyy MM", d.MMyyyy = "MMyyyy", d["MM-yyyy"] = "MM-yyyy", d["MM/yyyy"] = "MM/yyyy", d["MM. yyyy"] = "MM. yyyy", d["MM yyyy"] = "MM yyyy", d["MMMM yyyy"] = "MMMM yyyy", d["MMMM, yyyy"] = "MMMM, yyyy", d["MMM yyyy"] = "MMM yyyy", d["MMM, yyyy"] = "MMM, yyyy", d;
|
|
43
|
-
}({}), re = function(d) {
|
|
43
|
+
})({}), re = (function(d) {
|
|
44
44
|
return d.dd = "dd", d.d = "d", d;
|
|
45
|
-
}({}), fe = function(d) {
|
|
45
|
+
})({}), fe = (function(d) {
|
|
46
46
|
return d.d = "d", d.dy = "dy", d.day = "day", d.kdy = "kdy", d.kday = "kday", d;
|
|
47
|
-
}({}), ye = function(d) {
|
|
47
|
+
})({}), ye = (function(d) {
|
|
48
48
|
return d.hh = "hh", d.h = "h", d;
|
|
49
|
-
}({}), xe = function(d) {
|
|
49
|
+
})({}), xe = (function(d) {
|
|
50
50
|
return d["hh:mm"] = "hh:mm", d.hhmm = "hhmm", d;
|
|
51
|
-
}({}), ke = function(d) {
|
|
51
|
+
})({}), ke = (function(d) {
|
|
52
52
|
return d.mm = "mm", d.m = "m", d;
|
|
53
|
-
}({}), ve = function(d) {
|
|
53
|
+
})({}), ve = (function(d) {
|
|
54
54
|
return d.ss = "ss", d.s = "s", d;
|
|
55
|
-
}({}), Ee = function(d) {
|
|
55
|
+
})({}), Ee = (function(d) {
|
|
56
56
|
return d.hhmm = "hhmm", d["hh:mm"] = "hh:mm", d.HHmm = "HHmm", d["HH:mm"] = "HH:mm", d.hhmmss = "hhmmss", d["hh:mm:ss"] = "hh:mm:ss", d.HHmmss = "HHmmss", d["HH:mm:ss"] = "HH:mm:ss", d.yyyy = "yyyy", d.yyyyMM = "yyyyMM", d["yyyy-MM"] = "yyyy-MM", d["yyyy/MM"] = "yyyy/MM", d["yyyy. MM"] = "yyyy. MM", d["yyyy MM"] = "yyyy MM", d.yyyyMMdd = "yyyyMMdd", d["yyyy-MM-dd"] = "yyyy-MM-dd", d["yyyy/MM/dd"] = "yyyy/MM/dd", d["yyyy. MM. dd"] = "yyyy. MM. dd", d["yyyy MM dd"] = "yyyy MM dd", d["yyyyMMdd hh"] = "yyyyMMdd hh", d["yyyyMMdd hhmm"] = "yyyyMMdd hhmm", d["yyyyMMdd hhmmss"] = "yyyyMMdd hhmmss", d["yyyyMMdd hh:mm"] = "yyyyMMdd hh:mm", d["yyyyMMdd hh:mm:ss"] = "yyyyMMdd hh:mm:ss", d["yyyy-MM-dd hh"] = "yyyy-MM-dd hh", d["yyyy-MM-dd hhmm"] = "yyyy-MM-dd hhmm", d["yyyy-MM-dd hhmmss"] = "yyyy-MM-dd hhmmss", d["yyyy-MM-dd hh:mm"] = "yyyy-MM-dd hh:mm", d["yyyy-MM-dd hh:mm:ss"] = "yyyy-MM-dd hh:mm:ss", d["yyyy/MM/dd hh"] = "yyyy/MM/dd hh", d["yyyy/MM/dd hhmm"] = "yyyy/MM/dd hhmm", d["yyyy/MM/dd hhmmss"] = "yyyy/MM/dd hhmmss", d["yyyy/MM/dd hh:mm"] = "yyyy/MM/dd hh:mm", d["yyyy/MM/dd hh:mm:ss"] = "yyyy/MM/dd hh:mm:ss", d["yyyy. MM. dd hh"] = "yyyy. MM. dd hh", d["yyyy. MM. dd hhmm"] = "yyyy. MM. dd hhmm", d["yyyy. MM. dd hhmmss"] = "yyyy. MM. dd hhmmss", d["yyyy. MM. dd hh:mm"] = "yyyy. MM. dd hh:mm", d["yyyy. MM. dd hh:mm:ss"] = "yyyy. MM. dd hh:mm:ss", d["yyyy MM dd hh"] = "yyyy MM dd hh", d["yyyy MM dd hhmm"] = "yyyy MM dd hhmm", d["yyyy MM dd hhmmss"] = "yyyy MM dd hhmmss", d["yyyy MM dd hh:mm"] = "yyyy MM dd hh:mm", d["yyyy MM dd hh:mm:ss"] = "yyyy MM dd hh:mm:ss", d["yyyyMMdd HH"] = "yyyyMMdd HH", d["yyyyMMdd HHmm"] = "yyyyMMdd HHmm", d["yyyyMMdd HHmmss"] = "yyyyMMdd HHmmss", d["yyyyMMdd HH:mm"] = "yyyyMMdd HH:mm", d["yyyyMMdd HH:mm:ss"] = "yyyyMMdd HH:mm:ss", d["yyyy-MM-dd HH"] = "yyyy-MM-dd HH", d["yyyy-MM-dd HHmm"] = "yyyy-MM-dd HHmm", d["yyyy-MM-dd HHmmss"] = "yyyy-MM-dd HHmmss", d["yyyy-MM-dd HH:mm"] = "yyyy-MM-dd HH:mm", d["yyyy-MM-dd HH:mm:ss"] = "yyyy-MM-dd HH:mm:ss", d["yyyy/MM/dd HH"] = "yyyy/MM/dd HH", d["yyyy/MM/dd HHmm"] = "yyyy/MM/dd HHmm", d["yyyy/MM/dd HHmmss"] = "yyyy/MM/dd HHmmss", d["yyyy/MM/dd HH:mm"] = "yyyy/MM/dd HH:mm", d["yyyy/MM/dd HH:mm:ss"] = "yyyy/MM/dd HH:mm:ss", d["yyyy. MM. dd HH"] = "yyyy. MM. dd HH", d["yyyy. MM. dd HHmm"] = "yyyy. MM. dd HHmm", d["yyyy. MM. dd HHmmss"] = "yyyy. MM. dd HHmmss", d["yyyy. MM. dd HH:mm"] = "yyyy. MM. dd HH:mm", d["yyyy. MM. dd HH:mm:ss"] = "yyyy. MM. dd HH:mm:ss", d["yyyy MM dd HH"] = "yyyy MM dd HH", d["yyyy MM dd HHmm"] = "yyyy MM dd HHmm", d["yyyy MM dd HHmmss"] = "yyyy MM dd HHmmss", d["yyyy MM dd HH:mm"] = "yyyy MM dd HH:mm", d["yyyy MM dd HH:mm:ss"] = "yyyy MM dd HH:mm:ss", d.MMyyyy = "MMyyyy", d["MM-yyyy"] = "MM-yyyy", d["MM/yyyy"] = "MM/yyyy", d["MM. yyyy"] = "MM. yyyy", d["MM yyyy"] = "MM yyyy", d["MMMM yyyy"] = "MMMM yyyy", d["MMMM, yyyy"] = "MMMM, yyyy", d["MMM yyyy"] = "MMM yyyy", d["MMM, yyyy"] = "MMM, yyyy", d.MMddyyyy = "MMddyyyy", d["MM-dd-yyyy"] = "MM-dd-yyyy", d["MM/dd/yyyy"] = "MM/dd/yyyy", d["MM. dd. yyyy"] = "MM. dd. yyyy", d["MMMM dd yyyy"] = "MMMM dd yyyy", d["MMMM dd, yyyy"] = "MMMM dd, yyyy", d["MMM dd yyyy"] = "MMM dd yyyy", d["MMM dd, yyyy"] = "MMM dd, yyyy", d["MMddyyyy hh"] = "MMddyyyy hh", d["MMddyyyy hhmm"] = "MMddyyyy hhmm", d["MMddyyyy hhmmss"] = "MMddyyyy hhmmss", d["MMddyyyy hh:mm"] = "MMddyyyy hh:mm", d["MMddyyyy hh:mm:ss"] = "MMddyyyy hh:mm:ss", d["MM-dd-yyyy hh"] = "MM-dd-yyyy hh", d["MM-dd-yyyy hhmm"] = "MM-dd-yyyy hhmm", d["MM-dd-yyyy hhmmss"] = "MM-dd-yyyy hhmmss", d["MM-dd-yyyy hh:mm"] = "MM-dd-yyyy hh:mm", d["MM-dd-yyyy hh:mm:ss"] = "MM-dd-yyyy hh:mm:ss", d["MM/dd/yyyy hh"] = "MM/dd/yyyy hh", d["MM/dd/yyyy hhmm"] = "MM/dd/yyyy hhmm", d["MM/dd/yyyy hhmmss"] = "MM/dd/yyyy hhmmss", d["MM/dd/yyyy hh:mm"] = "MM/dd/yyyy hh:mm", d["MM/dd/yyyy hh:mm:ss"] = "MM/dd/yyyy hh:mm:ss", d["MM. dd. yyyy hh"] = "MM. dd. yyyy hh", d["MM. dd. yyyy hhmm"] = "MM. dd. yyyy hhmm", d["MM. dd. yyyy hhmmss"] = "MM. dd. yyyy hhmmss", d["MM. dd. yyyy hh:mm"] = "MM. dd. yyyy hh:mm", d["MM. dd. yyyy hh:mm:ss"] = "MM. dd. yyyy hh:mm:ss", d["MMMM dd yyyy hh"] = "MMMM dd yyyy hh", d["MMMM dd yyyy hhmm"] = "MMMM dd yyyy hhmm", d["MMMM dd yyyy hhmmss"] = "MMMM dd yyyy hhmmss", d["MMMM dd yyyy hh:mm"] = "MMMM dd yyyy hh:mm", d["MMMM dd yyyy hh:mm:ss"] = "MMMM dd yyyy hh:mm:ss", d["MMMM dd, yyyy hh"] = "MMMM dd, yyyy hh", d["MMMM dd, yyyy hhmm"] = "MMMM dd, yyyy hhmm", d["MMMM dd, yyyy hhmmss"] = "MMMM dd, yyyy hhmmss", d["MMMM dd, yyyy hh:mm"] = "MMMM dd, yyyy hh:mm", d["MMMM dd, yyyy hh:mm:ss"] = "MMMM dd, yyyy hh:mm:ss", d["MMM dd yyyy hh"] = "MMM dd yyyy hh", d["MMM dd yyyy hhmm"] = "MMM dd yyyy hhmm", d["MMM dd yyyy hhmmss"] = "MMM dd yyyy hhmmss", d["MMM dd yyyy hh:mm"] = "MMM dd yyyy hh:mm", d["MMM dd yyyy hh:mm:ss"] = "MMM dd yyyy hh:mm:ss", d["MMM dd, yyyy hh"] = "MMM dd, yyyy hh", d["MMM dd, yyyy hhmm"] = "MMM dd, yyyy hhmm", d["MMM dd, yyyy hhmmss"] = "MMM dd, yyyy hhmmss", d["MMM dd, yyyy hh:mm"] = "MMM dd, yyyy hh:mm", d["MMM dd, yyyy hh:mm:ss"] = "MMM dd, yyyy hh:mm:ss", d["MMddyyyy HH"] = "MMddyyyy HH", d["MMddyyyy HHmm"] = "MMddyyyy HHmm", d["MMddyyyy HHmmss"] = "MMddyyyy HHmmss", d["MMddyyyy HH:mm"] = "MMddyyyy HH:mm", d["MMddyyyy HH:mm:ss"] = "MMddyyyy HH:mm:ss", d["MM-dd-yyyy HH"] = "MM-dd-yyyy HH", d["MM-dd-yyyy HHmm"] = "MM-dd-yyyy HHmm", d["MM-dd-yyyy HHmmss"] = "MM-dd-yyyy HHmmss", d["MM-dd-yyyy HH:mm"] = "MM-dd-yyyy HH:mm", d["MM-dd-yyyy HH:mm:ss"] = "MM-dd-yyyy HH:mm:ss", d["MM/dd/yyyy HH"] = "MM/dd/yyyy HH", d["MM/dd/yyyy HHmm"] = "MM/dd/yyyy HHmm", d["MM/dd/yyyy HHmmss"] = "MM/dd/yyyy HHmmss", d["MM/dd/yyyy HH:mm"] = "MM/dd/yyyy HH:mm", d["MM/dd/yyyy HH:mm:ss"] = "MM/dd/yyyy HH:mm:ss", d["MM. dd. yyyy HH"] = "MM. dd. yyyy HH", d["MM. dd. yyyy HHmm"] = "MM. dd. yyyy HHmm", d["MM. dd. yyyy HHmmss"] = "MM. dd. yyyy HHmmss", d["MM. dd. yyyy HH:mm"] = "MM. dd. yyyy HH:mm", d["MM. dd. yyyy HH:mm:ss"] = "MM. dd. yyyy HH:mm:ss", d["MMMM dd yyyy HH"] = "MMMM dd yyyy HH", d["MMMM dd yyyy HHmm"] = "MMMM dd yyyy HHmm", d["MMMM dd yyyy HHmmss"] = "MMMM dd yyyy HHmmss", d["MMMM dd yyyy HH:mm"] = "MMMM dd yyyy HH:mm", d["MMMM dd yyyy HH:mm:ss"] = "MMMM dd yyyy HH:mm:ss", d["MMMM dd, yyyy HH"] = "MMMM dd, yyyy HH", d["MMMM dd, yyyy HHmm"] = "MMMM dd, yyyy HHmm", d["MMMM dd, yyyy HHmmss"] = "MMMM dd, yyyy HHmmss", d["MMMM dd, yyyy HH:mm"] = "MMMM dd, yyyy HH:mm", d["MMMM dd, yyyy HH:mm:ss"] = "MMMM dd, yyyy HH:mm:ss", d["MMM dd yyyy HH"] = "MMM dd yyyy HH", d["MMM dd yyyy HHmm"] = "MMM dd yyyy HHmm", d["MMM dd yyyy HHmmss"] = "MMM dd yyyy HHmmss", d["MMM dd yyyy HH:mm"] = "MMM dd yyyy HH:mm", d["MMM dd yyyy HH:mm:ss"] = "MMM dd yyyy HH:mm:ss", d["MMM dd, yyyy HH"] = "MMM dd, yyyy HH", d["MMM dd, yyyy HHmm"] = "MMM dd, yyyy HHmm", d["MMM dd, yyyy HHmmss"] = "MMM dd, yyyy HHmmss", d["MMM dd, yyyy HH:mm"] = "MMM dd, yyyy HH:mm", d["MMM dd, yyyy HH:mm:ss"] = "MMM dd, yyyy HH:mm:ss", d.ddMMyyyy = "ddMMyyyy", d["dd-MM-yyyy"] = "dd-MM-yyyy", d["dd/MM/yyyy"] = "dd/MM/yyyy", d["dd. MM. yyyy"] = "dd. MM. yyyy", d["dd MMMM yyyy"] = "dd MMMM yyyy", d["dd MMM yyyy"] = "dd MMM yyyy", d["ddMMyyyy hh"] = "ddMMyyyy hh", d["ddMMyyyy hhmm"] = "ddMMyyyy hhmm", d["ddMMyyyy hhmmss"] = "ddMMyyyy hhmmss", d["ddMMyyyy hh:mm"] = "ddMMyyyy hh:mm", d["ddMMyyyy hh:mm:ss"] = "ddMMyyyy hh:mm:ss", d["dd-MM-yyyy hh"] = "dd-MM-yyyy hh", d["dd-MM-yyyy hhmm"] = "dd-MM-yyyy hhmm", d["dd-MM-yyyy hhmmss"] = "dd-MM-yyyy hhmmss", d["dd-MM-yyyy hh:mm"] = "dd-MM-yyyy hh:mm", d["dd-MM-yyyy hh:mm:ss"] = "dd-MM-yyyy hh:mm:ss", d["dd/MM/yyyy hh"] = "dd/MM/yyyy hh", d["dd/MM/yyyy hhmm"] = "dd/MM/yyyy hhmm", d["dd/MM/yyyy hhmmss"] = "dd/MM/yyyy hhmmss", d["dd/MM/yyyy hh:mm"] = "dd/MM/yyyy hh:mm", d["dd/MM/yyyy hh:mm:ss"] = "dd/MM/yyyy hh:mm:ss", d["dd. MM. yyyy hh"] = "dd. MM. yyyy hh", d["dd. MM. yyyy hhmm"] = "dd. MM. yyyy hhmm", d["dd. MM. yyyy hhmmss"] = "dd. MM. yyyy hhmmss", d["dd. MM. yyyy hh:mm"] = "dd. MM. yyyy hh:mm", d["dd. MM. yyyy hh:mm:ss"] = "dd. MM. yyyy hh:mm:ss", d["dd MMMM yyyy hh"] = "dd MMMM yyyy hh", d["dd MMMM yyyy hhmm"] = "dd MMMM yyyy hhmm", d["dd MMMM yyyy hhmmss"] = "dd MMMM yyyy hhmmss", d["dd MMMM yyyy hh:mm"] = "dd MMMM yyyy hh:mm", d["dd MMMM yyyy hh:mm:ss"] = "dd MMMM yyyy hh:mm:ss", d["dd MMM yyyy hh"] = "dd MMM yyyy hh", d["dd MMM yyyy hhmm"] = "dd MMM yyyy hhmm", d["dd MMM yyyy hhmmss"] = "dd MMM yyyy hhmmss", d["dd MMM yyyy hh:mm"] = "dd MMM yyyy hh:mm", d["dd MMM yyyy hh:mm:ss"] = "dd MMM yyyy hh:mm:ss", d["ddMMyyyy HH"] = "ddMMyyyy HH", d["ddMMyyyy HHmm"] = "ddMMyyyy HHmm", d["ddMMyyyy HHmmss"] = "ddMMyyyy HHmmss", d["ddMMyyyy HH:mm"] = "ddMMyyyy HH:mm", d["ddMMyyyy HH:mm:ss"] = "ddMMyyyy HH:mm:ss", d["dd-MM-yyyy HH"] = "dd-MM-yyyy HH", d["dd-MM-yyyy HHmm"] = "dd-MM-yyyy HHmm", d["dd-MM-yyyy HHmmss"] = "dd-MM-yyyy HHmmss", d["dd-MM-yyyy HH:mm"] = "dd-MM-yyyy HH:mm", d["dd-MM-yyyy HH:mm:ss"] = "dd-MM-yyyy HH:mm:ss", d["dd/MM/yyyy HH"] = "dd/MM/yyyy HH", d["dd/MM/yyyy HHmm"] = "dd/MM/yyyy HHmm", d["dd/MM/yyyy HHmmss"] = "dd/MM/yyyy HHmmss", d["dd/MM/yyyy HH:mm"] = "dd/MM/yyyy HH:mm", d["dd/MM/yyyy HH:mm:ss"] = "dd/MM/yyyy HH:mm:ss", d["dd. MM. yyyy HH"] = "dd. MM. yyyy HH", d["dd. MM. yyyy HHmm"] = "dd. MM. yyyy HHmm", d["dd. MM. yyyy HHmmss"] = "dd. MM. yyyy HHmmss", d["dd. MM. yyyy HH:mm"] = "dd. MM. yyyy HH:mm", d["dd. MM. yyyy HH:mm:ss"] = "dd. MM. yyyy HH:mm:ss", d["dd MMMM yyyy HH"] = "dd MMMM yyyy HH", d["dd MMMM yyyy HHmm"] = "dd MMMM yyyy HHmm", d["dd MMMM yyyy HHmmss"] = "dd MMMM yyyy HHmmss", d["dd MMMM yyyy HH:mm"] = "dd MMMM yyyy HH:mm", d["dd MMMM yyyy HH:mm:ss"] = "dd MMMM yyyy HH:mm:ss", d["dd MMM yyyy HH"] = "dd MMM yyyy HH", d["dd MMM yyyy HHmm"] = "dd MMM yyyy HHmm", d["dd MMM yyyy HHmmss"] = "dd MMM yyyy HHmmss", d["dd MMM yyyy HH:mm"] = "dd MMM yyyy HH:mm", d["dd MMM yyyy HH:mm:ss"] = "dd MMM yyyy HH:mm:ss", d;
|
|
57
|
-
}({}), Me = function(d) {
|
|
57
|
+
})({}), Me = (function(d) {
|
|
58
58
|
return d.y = "y", d.M = "M", d.d = "d", d.h = "h", d.m = "m", d.s = "s", d;
|
|
59
|
-
}({}), Ie = { dateFormat: L["yyyy-MM-dd"], timeFormat: P["HH:mm:ss"], datetimeFormat: W["yyyy-MM-dd HH:mm:ss"], yearFormat: K.yyyy, monthFormat: X.M, yearMonthFormat: ee["yyyy-MM"], dayFormat: re.d, dayOfWeekFormat: fe.d, hourFormat: ye.h, hourMinuteFormat: xe["hh:mm"], minuteFormat: ke.m, secondFormat: ve.s, numberFormat: "#,##0.##", LESSOREQ_0X7FF_BYTE: 2, LESSOREQ_0XFFFF_BYTE: 3, GREATER_0XFFFF_BYTE: 4 }, Te = { shieldURL: "", exposeIpList: ["0:0:0:0:0:0:0:1"], isFreeze: !0, isPossibleGoBack: !1, isPossibleOpenDevTool: !1, doDetectDevTool: function() {
|
|
59
|
+
})({}), Ie = { dateFormat: L["yyyy-MM-dd"], timeFormat: P["HH:mm:ss"], datetimeFormat: W["yyyy-MM-dd HH:mm:ss"], yearFormat: K.yyyy, monthFormat: X.M, yearMonthFormat: ee["yyyy-MM"], dayFormat: re.d, dayOfWeekFormat: fe.d, hourFormat: ye.h, hourMinuteFormat: xe["hh:mm"], minuteFormat: ke.m, secondFormat: ve.s, numberFormat: "#,##0.##", LESSOREQ_0X7FF_BYTE: 2, LESSOREQ_0XFFFF_BYTE: 3, GREATER_0XFFFF_BYTE: 4 }, Te = { shieldURL: "", exposeIpList: ["0:0:0:0:0:0:0:1"], isFreeze: !0, isPossibleGoBack: !1, isPossibleOpenDevTool: !1, doDetectDevTool: function() {
|
|
60
60
|
} }, We = { convertValue: function(d) {
|
|
61
61
|
return d;
|
|
62
62
|
} }, nt = { protocol: "http://", domain: "localhost:8080", controllerPath: "/hison-api-link", timeout: 1e4, webSocketProtocol: "ws://", webSocketEndPoint: "/hison-websocket-endpoint", cachingLimit: 10, beforeGetRequest: function(d, y) {
|
|
@@ -118,7 +118,7 @@ function td() {
|
|
|
118
118
|
return (y = Qe(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
119
119
|
}
|
|
120
120
|
function Qe(d) {
|
|
121
|
-
var y = function(M) {
|
|
121
|
+
var y = (function(M) {
|
|
122
122
|
if (De(M) != "object" || !M) return M;
|
|
123
123
|
var S = M[Symbol.toPrimitive];
|
|
124
124
|
if (S !== void 0) {
|
|
@@ -127,24 +127,24 @@ function td() {
|
|
|
127
127
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
128
128
|
}
|
|
129
129
|
return String(M);
|
|
130
|
-
}(d);
|
|
130
|
+
})(d);
|
|
131
131
|
return De(y) == "symbol" ? y : y + "";
|
|
132
132
|
}
|
|
133
|
-
var ut = ot(function d() {
|
|
133
|
+
var ut = ot((function d() {
|
|
134
134
|
(function(y, M) {
|
|
135
135
|
if (!(y instanceof M)) throw new TypeError("Cannot call a class as a function");
|
|
136
136
|
})(this, d), mt(this, "utils", Ie), mt(this, "shield", Te), mt(this, "data", We), mt(this, "link", nt);
|
|
137
|
-
});
|
|
137
|
+
}));
|
|
138
138
|
function Ye(d, y) {
|
|
139
139
|
var M = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
140
140
|
if (!M) {
|
|
141
|
-
if (Array.isArray(d) || (M = function(V, Z) {
|
|
141
|
+
if (Array.isArray(d) || (M = (function(V, Z) {
|
|
142
142
|
if (V) {
|
|
143
143
|
if (typeof V == "string") return Je(V, Z);
|
|
144
144
|
var ne = {}.toString.call(V).slice(8, -1);
|
|
145
145
|
return ne === "Object" && V.constructor && (ne = V.constructor.name), ne === "Map" || ne === "Set" ? Array.from(V) : ne === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne) ? Je(V, Z) : void 0;
|
|
146
146
|
}
|
|
147
|
-
}(d)) || y) {
|
|
147
|
+
})(d)) || y) {
|
|
148
148
|
M && (d = M);
|
|
149
149
|
var S = 0, N = function() {
|
|
150
150
|
};
|
|
@@ -192,7 +192,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
192
192
|
return (y = ft(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
193
193
|
}
|
|
194
194
|
function ft(d) {
|
|
195
|
-
var y = function(M) {
|
|
195
|
+
var y = (function(M) {
|
|
196
196
|
if (dt(M) != "object" || !M) return M;
|
|
197
197
|
var S = M[Symbol.toPrimitive];
|
|
198
198
|
if (S !== void 0) {
|
|
@@ -201,14 +201,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
201
201
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
202
202
|
}
|
|
203
203
|
return String(M);
|
|
204
|
-
}(d);
|
|
204
|
+
})(d);
|
|
205
205
|
return dt(y) == "symbol" ? y : y + "";
|
|
206
206
|
}
|
|
207
|
-
var tn = Pt(function d(y) {
|
|
207
|
+
var tn = Pt((function d(y) {
|
|
208
208
|
var M = this;
|
|
209
209
|
(function(S, N) {
|
|
210
210
|
if (!(S instanceof N)) throw new TypeError("Cannot call a class as a function");
|
|
211
|
-
})(this, d), Re(this, "_cols", []), Re(this, "_rows", []), Re(this, "_isDataModel", !0), Re(this, "_deepCopy", function(S, N) {
|
|
211
|
+
})(this, d), Re(this, "_cols", []), Re(this, "_rows", []), Re(this, "_isDataModel", !0), Re(this, "_deepCopy", (function(S, N) {
|
|
212
212
|
if (S === null || dt(S) !== "object") return S;
|
|
213
213
|
if (S.constructor !== Object && S.constructor !== Array) {
|
|
214
214
|
var O = ae.data.convertValue(S);
|
|
@@ -222,49 +222,49 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
222
222
|
for (var V = 0; V < S.length; V++) G[V] = M._deepCopy(S[V], N);
|
|
223
223
|
} else for (var Z in G = {}, N.push({ source: S, copy: G }), S) S.hasOwnProperty(Z) && (G[Z] = M._deepCopy(S[Z], N));
|
|
224
224
|
return G;
|
|
225
|
-
}), Re(this, "_isPositiveIntegerIncludingZero", function(S) {
|
|
225
|
+
})), Re(this, "_isPositiveIntegerIncludingZero", (function(S) {
|
|
226
226
|
if (typeof S != "number" && typeof S != "string" && typeof S != "bigint") return !1;
|
|
227
227
|
S = String(S);
|
|
228
228
|
var N = parseInt(S, 10);
|
|
229
229
|
return !(N !== parseFloat(S) || isNaN(N) || N < 0);
|
|
230
|
-
}), Re(this, "_getValidRowIndex", function(S) {
|
|
230
|
+
})), Re(this, "_getValidRowIndex", (function(S) {
|
|
231
231
|
if (!M._isPositiveIntegerIncludingZero(S)) throw new Error("Invalid number type. It should be a number or a string that can be converted to a number.");
|
|
232
232
|
var N = Number(S);
|
|
233
233
|
if (N < 0 || N >= M._rows.length) throw new Error(`Invalid rowIndex value. It should be within the range of the rows.
|
|
234
234
|
range: between 0 and `.concat(M._rows.length - 1, `
|
|
235
235
|
insert rowIndex : `).concat(N));
|
|
236
236
|
return N;
|
|
237
|
-
}), Re(this, "_isConvertibleString", function(S) {
|
|
237
|
+
})), Re(this, "_isConvertibleString", (function(S) {
|
|
238
238
|
if (S === void 0) throw new Error("You can not put a value of undefined type.");
|
|
239
239
|
return S === null || ["string", "number", "boolean", "bigint", "symbol"].indexOf(dt(S)) >= 0;
|
|
240
|
-
}), Re(this, "_hasColumn", function(S) {
|
|
240
|
+
})), Re(this, "_hasColumn", (function(S) {
|
|
241
241
|
return M._cols.indexOf(S) >= 0;
|
|
242
|
-
}), Re(this, "_checkColumn", function(S) {
|
|
242
|
+
})), Re(this, "_checkColumn", (function(S) {
|
|
243
243
|
if (!M._hasColumn(S)) throw new Error("The column does not exist. column : " + S);
|
|
244
|
-
}), Re(this, "_checkValidFunction", function(S) {
|
|
244
|
+
})), Re(this, "_checkValidFunction", (function(S) {
|
|
245
245
|
if (!S || typeof S != "function") throw new Error("Please insert the valid function.");
|
|
246
|
-
}), Re(this, "_checkBoolean", function(S) {
|
|
246
|
+
})), Re(this, "_checkBoolean", (function(S) {
|
|
247
247
|
if (typeof S != "boolean") throw new Error("Please pass an boolean as a parameter.");
|
|
248
|
-
}), Re(this, "_checkOriginObject", function(S) {
|
|
248
|
+
})), Re(this, "_checkOriginObject", (function(S) {
|
|
249
249
|
if (S.constructor !== Object) throw new Error("Please pass an object with its own key-value pairs as a parameter.");
|
|
250
|
-
}), Re(this, "_checkArray", function(S) {
|
|
250
|
+
})), Re(this, "_checkArray", (function(S) {
|
|
251
251
|
if (S.constructor !== Array) throw new Error("Please pass an array.");
|
|
252
|
-
}), Re(this, "_getColumnType", function(S, N) {
|
|
252
|
+
})), Re(this, "_getColumnType", (function(S, N) {
|
|
253
253
|
if (S === 0) return "null";
|
|
254
254
|
for (var O = S - 1; O >= 0; O--) if (M._rows[O][N]) return dt(M._rows[O][N]) === "object" ? M._rows[O][N].constructor : dt(M._rows[O][N]);
|
|
255
255
|
return "null";
|
|
256
|
-
}), Re(this, "_makeValue", function(S) {
|
|
256
|
+
})), Re(this, "_makeValue", (function(S) {
|
|
257
257
|
var N = S;
|
|
258
258
|
if (dt(S) === "object") {
|
|
259
259
|
if (S && S.getIsDataWrapper && S.getIsDataWrapper() || S && S.getIsDataModel && S.getIsDataModel()) throw new Error("You cannot insert a datawrapper or datamodel within a datamodel.");
|
|
260
260
|
N = M._deepCopy(S);
|
|
261
261
|
}
|
|
262
262
|
return N;
|
|
263
|
-
}), Re(this, "_getValidColValue", function(S) {
|
|
263
|
+
})), Re(this, "_getValidColValue", (function(S) {
|
|
264
264
|
if (S = M._makeValue(S), !M._isConvertibleString(S)) throw new Error("Only strings can be inserted into columns.");
|
|
265
265
|
if (!S) throw new Error("Column cannot be null.");
|
|
266
266
|
return S;
|
|
267
|
-
}), Re(this, "_getValidRowValue", function(S, N, O) {
|
|
267
|
+
})), Re(this, "_getValidRowValue", (function(S, N, O) {
|
|
268
268
|
O = M._makeValue(O);
|
|
269
269
|
var T = M._getColumnType(S, N);
|
|
270
270
|
if (T !== "null" && O !== null) {
|
|
@@ -273,10 +273,10 @@ insert rowIndex : `).concat(N));
|
|
|
273
273
|
} else if (dt(O) !== "object" && dt(O) !== T) throw new Error("Data of the same type must be inserted into the same column. column : " + N);
|
|
274
274
|
}
|
|
275
275
|
return O;
|
|
276
|
-
}), Re(this, "_addCol", function(S) {
|
|
276
|
+
})), Re(this, "_addCol", (function(S) {
|
|
277
277
|
if (S = M._getValidColValue(S), M._cols.indexOf(S) !== -1) throw new Error("There are duplicate columns to add. column : " + S);
|
|
278
278
|
M._cols.push(S);
|
|
279
|
-
}), Re(this, "_addRow", function(S, N) {
|
|
279
|
+
})), Re(this, "_addRow", (function(S, N) {
|
|
280
280
|
if (!N) throw new Error("Please insert vaild object");
|
|
281
281
|
if (N.constructor !== Object) throw new Error("Please insert object with their own key-value pairs.");
|
|
282
282
|
if (Object.keys(N).length !== 0) {
|
|
@@ -294,7 +294,7 @@ insert rowIndex : `).concat(N));
|
|
|
294
294
|
}
|
|
295
295
|
M._rows.push(G);
|
|
296
296
|
}
|
|
297
|
-
}), Re(this, "_put", function(S) {
|
|
297
|
+
})), Re(this, "_put", (function(S) {
|
|
298
298
|
var N = M._rows.length;
|
|
299
299
|
if (!Array.isArray(S)) {
|
|
300
300
|
if (dt(S) === "object") {
|
|
@@ -342,34 +342,34 @@ insert rowIndex : `).concat(N));
|
|
|
342
342
|
le.f();
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
}), Re(this, "_getNullColumnFirstRowIndex", function(S) {
|
|
345
|
+
})), Re(this, "_getNullColumnFirstRowIndex", (function(S) {
|
|
346
346
|
S = M._getValidColValue(S), M._checkColumn(S);
|
|
347
347
|
for (var N = 0; N < M._rows.length; N++) if (M._rows[N][S] === null) return N;
|
|
348
348
|
return -1;
|
|
349
|
-
}), Re(this, "_getDuplColumnFirstRowIndex", function(S) {
|
|
349
|
+
})), Re(this, "_getDuplColumnFirstRowIndex", (function(S) {
|
|
350
350
|
S = M._getValidColValue(S), M._checkColumn(S);
|
|
351
351
|
for (var N = [], O = 0; O < M._rows.length; O++) {
|
|
352
352
|
if (N.includes(JSON.stringify(M._rows[O][S]))) return O;
|
|
353
353
|
M._rows[O][S] !== null && N.push(JSON.stringify(M._rows[O][S]));
|
|
354
354
|
}
|
|
355
355
|
return -1;
|
|
356
|
-
}), Re(this, "_getInValidColumnFirstRowIndex", function(S, N) {
|
|
356
|
+
})), Re(this, "_getInValidColumnFirstRowIndex", (function(S, N) {
|
|
357
357
|
M._checkValidFunction(N), S = M._getValidColValue(S), M._checkColumn(S);
|
|
358
358
|
for (var O = 0; O < M._rows.length; O++) if (!N(M._rows[O][S])) return O;
|
|
359
359
|
return -1;
|
|
360
|
-
}), Re(this, "getIsDataModel", function() {
|
|
360
|
+
})), Re(this, "getIsDataModel", (function() {
|
|
361
361
|
return M._isDataModel;
|
|
362
|
-
}), Re(this, "clone", function() {
|
|
362
|
+
})), Re(this, "clone", (function() {
|
|
363
363
|
return new te.data.DataModel(M._rows);
|
|
364
|
-
}), Re(this, "clear", function() {
|
|
364
|
+
})), Re(this, "clear", (function() {
|
|
365
365
|
return M._cols = [], M._rows = [], M;
|
|
366
|
-
}), Re(this, "getSerialized", function() {
|
|
366
|
+
})), Re(this, "getSerialized", (function() {
|
|
367
367
|
return JSON.stringify(M._rows);
|
|
368
|
-
}), Re(this, "isDeclare", function() {
|
|
368
|
+
})), Re(this, "isDeclare", (function() {
|
|
369
369
|
return M._cols.length > 0;
|
|
370
|
-
}), Re(this, "getColumns", function() {
|
|
370
|
+
})), Re(this, "getColumns", (function() {
|
|
371
371
|
return M._deepCopy(M._cols);
|
|
372
|
-
}), Re(this, "getColumnValues", function(S) {
|
|
372
|
+
})), Re(this, "getColumnValues", (function(S) {
|
|
373
373
|
S = M._getValidColValue(S), M._checkColumn(S);
|
|
374
374
|
var N, O = [], T = Ye(M._rows);
|
|
375
375
|
try {
|
|
@@ -383,7 +383,7 @@ insert rowIndex : `).concat(N));
|
|
|
383
383
|
T.f();
|
|
384
384
|
}
|
|
385
385
|
return O;
|
|
386
|
-
}), Re(this, "addColumn", function(S) {
|
|
386
|
+
})), Re(this, "addColumn", (function(S) {
|
|
387
387
|
M._addCol(S);
|
|
388
388
|
var N, O = Ye(M._rows);
|
|
389
389
|
try {
|
|
@@ -397,7 +397,7 @@ insert rowIndex : `).concat(N));
|
|
|
397
397
|
O.f();
|
|
398
398
|
}
|
|
399
399
|
return M;
|
|
400
|
-
}), Re(this, "addColumns", function(S) {
|
|
400
|
+
})), Re(this, "addColumns", (function(S) {
|
|
401
401
|
if (!Array.isArray(S)) throw new Error("Only array contains strings can be inserted into columns.");
|
|
402
402
|
var N, O = Ye(S);
|
|
403
403
|
try {
|
|
@@ -422,7 +422,7 @@ insert rowIndex : `).concat(N));
|
|
|
422
422
|
O.f();
|
|
423
423
|
}
|
|
424
424
|
return M;
|
|
425
|
-
}), Re(this, "setColumnSameValue", function(S, N) {
|
|
425
|
+
})), Re(this, "setColumnSameValue", (function(S, N) {
|
|
426
426
|
if (N === void 0) throw new Error("You can not put a value of undefined type.");
|
|
427
427
|
S = M._getValidColValue(S), M._hasColumn(S) || M._addCol(S);
|
|
428
428
|
var O, T = 0, G = Ye(M._rows);
|
|
@@ -434,7 +434,7 @@ insert rowIndex : `).concat(N));
|
|
|
434
434
|
G.f();
|
|
435
435
|
}
|
|
436
436
|
return M;
|
|
437
|
-
}), Re(this, "setColumnSameFormat", function(S, N) {
|
|
437
|
+
})), Re(this, "setColumnSameFormat", (function(S, N) {
|
|
438
438
|
M._checkValidFunction(N), S = M._getValidColValue(S), M._checkColumn(S);
|
|
439
439
|
var O, T = 0, G = Ye(M._rows);
|
|
440
440
|
try {
|
|
@@ -448,11 +448,11 @@ insert rowIndex : `).concat(N));
|
|
|
448
448
|
G.f();
|
|
449
449
|
}
|
|
450
450
|
return M;
|
|
451
|
-
}), Re(this, "getRow", function(S) {
|
|
451
|
+
})), Re(this, "getRow", (function(S) {
|
|
452
452
|
return M._deepCopy(M._rows[M._getValidRowIndex(S)]);
|
|
453
|
-
}), Re(this, "getRowAsDataModel", function(S) {
|
|
453
|
+
})), Re(this, "getRowAsDataModel", (function(S) {
|
|
454
454
|
return new te.data.DataModel(M._rows[M._getValidRowIndex(S)]);
|
|
455
|
-
}), Re(this, "addRow", function(S, N) {
|
|
455
|
+
})), Re(this, "addRow", (function(S, N) {
|
|
456
456
|
if (S === void 0 && N === void 0) {
|
|
457
457
|
if (M._cols.length <= 0) throw new Error("Please define the column first.");
|
|
458
458
|
var O, T = {}, G = Ye(M._cols);
|
|
@@ -484,27 +484,27 @@ insert rowIndex : `).concat(N));
|
|
|
484
484
|
qe && M._rows.splice(le, 0, qe);
|
|
485
485
|
}
|
|
486
486
|
return M;
|
|
487
|
-
}), Re(this, "getRows", function() {
|
|
487
|
+
})), Re(this, "getRows", (function() {
|
|
488
488
|
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, O = M._getValidRowIndex(S);
|
|
489
489
|
if (O === 0 && N === null) return M._deepCopy(M._rows);
|
|
490
490
|
for (var T = N ? M._getValidRowIndex(N) : M._rows.length, G = [], V = O; V <= T && M._rows[V]; V++) G.push(M._deepCopy(M._rows[V]));
|
|
491
491
|
return G;
|
|
492
|
-
}), Re(this, "getRowsAsDataModel", function() {
|
|
492
|
+
})), Re(this, "getRowsAsDataModel", (function() {
|
|
493
493
|
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, O = M._getValidRowIndex(S);
|
|
494
494
|
if (O === 0 && N === null) return M.clone();
|
|
495
495
|
for (var T = N ? M._getValidRowIndex(N) : M._rows.length, G = [], V = O; V <= T && M._rows[V]; V++) G.push(M._deepCopy(M._rows[V]));
|
|
496
496
|
return new te.data.DataModel(G);
|
|
497
|
-
}), Re(this, "addRows", function(S) {
|
|
497
|
+
})), Re(this, "addRows", (function(S) {
|
|
498
498
|
return M._put(S), M;
|
|
499
|
-
}), Re(this, "getObject", function() {
|
|
499
|
+
})), Re(this, "getObject", (function() {
|
|
500
500
|
var S = M._deepCopy(M._cols), N = M._deepCopy(M._rows);
|
|
501
501
|
return { cols: S, rows: N, colCount: S.length, rowCount: N.length, isDeclare: M.isDeclare() };
|
|
502
|
-
}), Re(this, "getValue", function(S, N) {
|
|
502
|
+
})), Re(this, "getValue", (function(S, N) {
|
|
503
503
|
return N = M._getValidColValue(N), M._checkColumn(N), M._deepCopy(M._rows[M._getValidRowIndex(S)][N]);
|
|
504
|
-
}), Re(this, "setValue", function(S, N, O) {
|
|
504
|
+
})), Re(this, "setValue", (function(S, N, O) {
|
|
505
505
|
if (O === void 0) throw new Error("You can not put a value of undefined type.");
|
|
506
506
|
return N = M._getValidColValue(N), M._checkColumn(N), M._rows[M._getValidRowIndex(S)][N] = M._getValidRowValue(S, N, O), M;
|
|
507
|
-
}), Re(this, "removeColumn", function(S) {
|
|
507
|
+
})), Re(this, "removeColumn", (function(S) {
|
|
508
508
|
S = M._getValidColValue(S), M._checkColumn(S);
|
|
509
509
|
var N, O = Ye(M._rows);
|
|
510
510
|
try {
|
|
@@ -514,10 +514,10 @@ insert rowIndex : `).concat(N));
|
|
|
514
514
|
} finally {
|
|
515
515
|
O.f();
|
|
516
516
|
}
|
|
517
|
-
return M._cols = M._cols.filter(function(T) {
|
|
517
|
+
return M._cols = M._cols.filter((function(T) {
|
|
518
518
|
return T !== S;
|
|
519
|
-
}), M;
|
|
520
|
-
}), Re(this, "removeColumns", function(S) {
|
|
519
|
+
})), M;
|
|
520
|
+
})), Re(this, "removeColumns", (function(S) {
|
|
521
521
|
var N, O = Ye(S);
|
|
522
522
|
try {
|
|
523
523
|
for (O.s(); !(N = O.n()).done; ) {
|
|
@@ -530,71 +530,71 @@ insert rowIndex : `).concat(N));
|
|
|
530
530
|
O.f();
|
|
531
531
|
}
|
|
532
532
|
return M;
|
|
533
|
-
}), Re(this, "removeRow", function() {
|
|
533
|
+
})), Re(this, "removeRow", (function() {
|
|
534
534
|
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
535
535
|
return M._rows.splice(M._getValidRowIndex(S), 1)[0];
|
|
536
|
-
}), Re(this, "getColumnCount", function() {
|
|
536
|
+
})), Re(this, "getColumnCount", (function() {
|
|
537
537
|
return M._cols.length;
|
|
538
|
-
}), Re(this, "getRowCount", function() {
|
|
538
|
+
})), Re(this, "getRowCount", (function() {
|
|
539
539
|
return M._rows.length;
|
|
540
|
-
}), Re(this, "hasColumn", function(S) {
|
|
540
|
+
})), Re(this, "hasColumn", (function(S) {
|
|
541
541
|
return M._hasColumn(S);
|
|
542
|
-
}), Re(this, "setValidColumns", function(S) {
|
|
543
|
-
return S = M._cols.filter(function(N) {
|
|
542
|
+
})), Re(this, "setValidColumns", (function(S) {
|
|
543
|
+
return S = M._cols.filter((function(N) {
|
|
544
544
|
return !S.includes(N);
|
|
545
|
-
}), M.removeColumns(S), M;
|
|
546
|
-
}), Re(this, "isNotNullColumn", function(S) {
|
|
545
|
+
})), M.removeColumns(S), M;
|
|
546
|
+
})), Re(this, "isNotNullColumn", (function(S) {
|
|
547
547
|
return M._getNullColumnFirstRowIndex(S) === -1;
|
|
548
|
-
}), Re(this, "findFirstRowNullColumn", function(S) {
|
|
548
|
+
})), Re(this, "findFirstRowNullColumn", (function(S) {
|
|
549
549
|
var N = M._getNullColumnFirstRowIndex(S);
|
|
550
550
|
return N === -1 ? null : M.getRow(N);
|
|
551
|
-
}), Re(this, "isNotDuplColumn", function(S) {
|
|
551
|
+
})), Re(this, "isNotDuplColumn", (function(S) {
|
|
552
552
|
return M._getDuplColumnFirstRowIndex(S) === -1;
|
|
553
|
-
}), Re(this, "findFirstRowDuplColumn", function(S) {
|
|
553
|
+
})), Re(this, "findFirstRowDuplColumn", (function(S) {
|
|
554
554
|
var N = M._getDuplColumnFirstRowIndex(S);
|
|
555
555
|
return N === -1 ? null : M.getRow(N);
|
|
556
|
-
}), Re(this, "isValidValue", function(S, N) {
|
|
556
|
+
})), Re(this, "isValidValue", (function(S, N) {
|
|
557
557
|
return M._getInValidColumnFirstRowIndex(S, N) === -1;
|
|
558
|
-
}), Re(this, "findFirstRowInvalidValue", function(S, N) {
|
|
558
|
+
})), Re(this, "findFirstRowInvalidValue", (function(S, N) {
|
|
559
559
|
var O = M._getInValidColumnFirstRowIndex(S, N);
|
|
560
560
|
return O === -1 ? null : M.getRow(O);
|
|
561
|
-
}), Re(this, "searchRowIndexes", function(S) {
|
|
561
|
+
})), Re(this, "searchRowIndexes", (function(S) {
|
|
562
562
|
var N = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], O = M;
|
|
563
563
|
O._checkOriginObject(S), O._checkBoolean(N);
|
|
564
564
|
var T = [];
|
|
565
|
-
return O._rows.forEach(function(G, V) {
|
|
565
|
+
return O._rows.forEach((function(G, V) {
|
|
566
566
|
var Z = !0;
|
|
567
567
|
for (var ne in S) if (O._checkColumn(ne), JSON.stringify(G[ne]) !== JSON.stringify(S[ne])) {
|
|
568
568
|
Z = !1;
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
N ? Z || T.push(V) : Z && T.push(V);
|
|
572
|
-
}), T;
|
|
573
|
-
}), Re(this, "searchRows", function(S) {
|
|
572
|
+
})), T;
|
|
573
|
+
})), Re(this, "searchRows", (function(S) {
|
|
574
574
|
var N = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], O = M;
|
|
575
575
|
O._checkOriginObject(S), O._checkBoolean(N);
|
|
576
576
|
var T = [];
|
|
577
|
-
return O._rows.forEach(function(G) {
|
|
577
|
+
return O._rows.forEach((function(G) {
|
|
578
578
|
var V = !0;
|
|
579
579
|
for (var Z in S) if (O._checkColumn(Z), JSON.stringify(G[Z]) !== JSON.stringify(S[Z])) {
|
|
580
580
|
V = !1;
|
|
581
581
|
break;
|
|
582
582
|
}
|
|
583
583
|
N ? V || T.push(O._deepCopy(G)) : V && T.push(O._deepCopy(G));
|
|
584
|
-
}), T;
|
|
585
|
-
}), Re(this, "searchRowsAsDataModel", function(S) {
|
|
584
|
+
})), T;
|
|
585
|
+
})), Re(this, "searchRowsAsDataModel", (function(S) {
|
|
586
586
|
var N = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], O = M;
|
|
587
587
|
O._checkOriginObject(S), O._checkBoolean(N);
|
|
588
588
|
var T = [];
|
|
589
|
-
return O._rows.forEach(function(G) {
|
|
589
|
+
return O._rows.forEach((function(G) {
|
|
590
590
|
var V = !0;
|
|
591
591
|
for (var Z in S) if (O._checkColumn(Z), JSON.stringify(G[Z]) !== JSON.stringify(S[Z])) {
|
|
592
592
|
V = !1;
|
|
593
593
|
break;
|
|
594
594
|
}
|
|
595
595
|
N ? V || T.push(G) : V && T.push(G);
|
|
596
|
-
}), new te.data.DataModel(T);
|
|
597
|
-
}), Re(this, "searchAndModify", function(S) {
|
|
596
|
+
})), new te.data.DataModel(T);
|
|
597
|
+
})), Re(this, "searchAndModify", (function(S) {
|
|
598
598
|
var N = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], O = M;
|
|
599
599
|
O._checkOriginObject(S), O._checkBoolean(N);
|
|
600
600
|
for (var T = 0; T < O._rows.length; T++) {
|
|
@@ -606,33 +606,33 @@ insert rowIndex : `).concat(N));
|
|
|
606
606
|
N ? G && (O._rows.splice(T, 1), T--) : G || (O._rows.splice(T, 1), T--);
|
|
607
607
|
}
|
|
608
608
|
return O;
|
|
609
|
-
}), Re(this, "filterRowIndexes", function(S) {
|
|
609
|
+
})), Re(this, "filterRowIndexes", (function(S) {
|
|
610
610
|
var N = M;
|
|
611
611
|
N._checkValidFunction(S);
|
|
612
612
|
var O = [];
|
|
613
|
-
return N._rows.forEach(function(T, G) {
|
|
613
|
+
return N._rows.forEach((function(T, G) {
|
|
614
614
|
S(T) && O.push(G);
|
|
615
|
-
}), O;
|
|
616
|
-
}), Re(this, "filterRows", function(S) {
|
|
615
|
+
})), O;
|
|
616
|
+
})), Re(this, "filterRows", (function(S) {
|
|
617
617
|
var N = M;
|
|
618
618
|
N._checkValidFunction(S);
|
|
619
619
|
var O = [];
|
|
620
|
-
return N._rows.forEach(function(T) {
|
|
620
|
+
return N._rows.forEach((function(T) {
|
|
621
621
|
S(T) && O.push(N._deepCopy(T));
|
|
622
|
-
}), O;
|
|
623
|
-
}), Re(this, "filterRowsAsDataModel", function(S) {
|
|
622
|
+
})), O;
|
|
623
|
+
})), Re(this, "filterRowsAsDataModel", (function(S) {
|
|
624
624
|
var N = M;
|
|
625
625
|
N._checkValidFunction(S);
|
|
626
626
|
var O = [];
|
|
627
|
-
return N._rows.forEach(function(T) {
|
|
627
|
+
return N._rows.forEach((function(T) {
|
|
628
628
|
S(T) && O.push(T);
|
|
629
|
-
}), new te.data.DataModel(O);
|
|
630
|
-
}), Re(this, "filterAndModify", function(S) {
|
|
629
|
+
})), new te.data.DataModel(O);
|
|
630
|
+
})), Re(this, "filterAndModify", (function(S) {
|
|
631
631
|
var N = M;
|
|
632
632
|
N._checkValidFunction(S);
|
|
633
633
|
for (var O = 0; O < N._rows.length; O++) S(N._rows[O]) || (N._rows.splice(O, 1), O--);
|
|
634
634
|
return N;
|
|
635
|
-
}), Re(this, "setColumnSorting", function(S) {
|
|
635
|
+
})), Re(this, "setColumnSorting", (function(S) {
|
|
636
636
|
M._checkArray(S);
|
|
637
637
|
var N, O = [], T = Ye(S);
|
|
638
638
|
try {
|
|
@@ -657,34 +657,34 @@ insert rowIndex : `).concat(N));
|
|
|
657
657
|
Z.f();
|
|
658
658
|
}
|
|
659
659
|
return M._cols = O, M;
|
|
660
|
-
}), Re(this, "sortColumnAscending", function() {
|
|
660
|
+
})), Re(this, "sortColumnAscending", (function() {
|
|
661
661
|
return M._cols.sort(), M;
|
|
662
|
-
}), Re(this, "sortColumnDescending", function() {
|
|
663
|
-
return M._cols.sort(function(S, N) {
|
|
662
|
+
})), Re(this, "sortColumnDescending", (function() {
|
|
663
|
+
return M._cols.sort((function(S, N) {
|
|
664
664
|
return S > N ? -1 : S < N ? 1 : 0;
|
|
665
|
-
}), M;
|
|
666
|
-
}), Re(this, "sortColumnReverse", function() {
|
|
665
|
+
})), M;
|
|
666
|
+
})), Re(this, "sortColumnReverse", (function() {
|
|
667
667
|
return M._cols.reverse(), M;
|
|
668
|
-
}), Re(this, "sortRowAscending", function(S) {
|
|
668
|
+
})), Re(this, "sortRowAscending", (function(S) {
|
|
669
669
|
var N = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
|
|
670
|
-
return S = M._getValidColValue(S), M._checkColumn(S), M._checkBoolean(N), M._rows.sort(function(O, T) {
|
|
670
|
+
return S = M._getValidColValue(S), M._checkColumn(S), M._checkBoolean(N), M._rows.sort((function(O, T) {
|
|
671
671
|
var G = O[S], V = T[S];
|
|
672
672
|
if (G === null || V === null) return G === null ? 1 : -1;
|
|
673
673
|
if (dt(G) !== "object" && dt(V) !== "object" || (G = JSON.stringify(G), V = JSON.stringify(V)), N && (G = parseInt(G, 10), V = parseInt(V, 10), isNaN(G) || isNaN(V))) throw new Error("Cannot sort rows: non-integer value encountered.");
|
|
674
674
|
return G < V ? -1 : G > V ? 1 : 0;
|
|
675
|
-
}), M;
|
|
676
|
-
}), Re(this, "sortRowDescending", function(S) {
|
|
675
|
+
})), M;
|
|
676
|
+
})), Re(this, "sortRowDescending", (function(S) {
|
|
677
677
|
var N = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
|
|
678
|
-
return S = M._getValidColValue(S), M._checkColumn(S), M._checkBoolean(N), M._rows.sort(function(O, T) {
|
|
678
|
+
return S = M._getValidColValue(S), M._checkColumn(S), M._checkBoolean(N), M._rows.sort((function(O, T) {
|
|
679
679
|
var G = O[S], V = T[S];
|
|
680
680
|
if (G === null || V === null) return G === null ? -1 : 1;
|
|
681
681
|
if (dt(G) !== "object" && dt(V) !== "object" || (G = JSON.stringify(G), V = JSON.stringify(V)), N && (G = parseInt(G, 10), V = parseInt(V, 10), isNaN(G) || isNaN(V))) throw new Error("Cannot sort rows: non-integer value encountered.");
|
|
682
682
|
return G < V ? 1 : G > V ? -1 : 0;
|
|
683
|
-
}), M;
|
|
684
|
-
}), Re(this, "sortRowReverse", function() {
|
|
683
|
+
})), M;
|
|
684
|
+
})), Re(this, "sortRowReverse", (function() {
|
|
685
685
|
return M._rows.reverse(), M;
|
|
686
|
-
}), y && this._put(y);
|
|
687
|
-
});
|
|
686
|
+
})), y && this._put(y);
|
|
687
|
+
}));
|
|
688
688
|
function Et(d) {
|
|
689
689
|
return Et = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
690
690
|
return typeof y;
|
|
@@ -699,7 +699,7 @@ insert rowIndex : `).concat(N));
|
|
|
699
699
|
return (y = Yn(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
700
700
|
}
|
|
701
701
|
function Yn(d) {
|
|
702
|
-
var y = function(M) {
|
|
702
|
+
var y = (function(M) {
|
|
703
703
|
if (Et(M) != "object" || !M) return M;
|
|
704
704
|
var S = M[Symbol.toPrimitive];
|
|
705
705
|
if (S !== void 0) {
|
|
@@ -708,14 +708,14 @@ insert rowIndex : `).concat(N));
|
|
|
708
708
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
709
709
|
}
|
|
710
710
|
return String(M);
|
|
711
|
-
}(d);
|
|
711
|
+
})(d);
|
|
712
712
|
return Et(y) == "symbol" ? y : y + "";
|
|
713
713
|
}
|
|
714
|
-
var Zt = _e(function d(y, M) {
|
|
714
|
+
var Zt = _e((function d(y, M) {
|
|
715
715
|
var S = this;
|
|
716
|
-
if (function(O, T) {
|
|
716
|
+
if ((function(O, T) {
|
|
717
717
|
if (!(O instanceof T)) throw new TypeError("Cannot call a class as a function");
|
|
718
|
-
}(this, d), bt(this, "_isDataWrapper", !0), bt(this, "_put", function(O, T) {
|
|
718
|
+
})(this, d), bt(this, "_isDataWrapper", !0), bt(this, "_put", (function(O, T) {
|
|
719
719
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
720
720
|
if (typeof T == "string") S._data[O] = T;
|
|
721
721
|
else if (typeof T == "number" || typeof T == "boolean" || typeof T == "bigint") S._data[O] = String(T);
|
|
@@ -727,66 +727,66 @@ insert rowIndex : `).concat(N));
|
|
|
727
727
|
if (!T || !T.getIsDataModel || !T.getIsDataModel()) throw new Error("Please insert only values convertible to string or of data-model type.");
|
|
728
728
|
S._data[O] = T.clone();
|
|
729
729
|
}
|
|
730
|
-
}), bt(this, "getIsDataWrapper", function() {
|
|
730
|
+
})), bt(this, "getIsDataWrapper", (function() {
|
|
731
731
|
return S._isDataWrapper;
|
|
732
|
-
}), bt(this, "clone", function() {
|
|
732
|
+
})), bt(this, "clone", (function() {
|
|
733
733
|
var O = {};
|
|
734
734
|
for (var T in S._data) O[T] = te.utils.deepCopyObject(S._data[T]);
|
|
735
735
|
return new te.data.DataWrapper(O);
|
|
736
|
-
}), bt(this, "clear", function() {
|
|
736
|
+
})), bt(this, "clear", (function() {
|
|
737
737
|
return S._data = {}, S;
|
|
738
|
-
}), bt(this, "getSerialized", function() {
|
|
738
|
+
})), bt(this, "getSerialized", (function() {
|
|
739
739
|
var O = {};
|
|
740
740
|
for (var T in S._data) S._data.hasOwnProperty(T) && (S._data[T] && S._data[T].getIsDataModel && S._data[T].getIsDataModel() ? O[T] = S._data[T].getRows() : O[T] = S._data[T]);
|
|
741
741
|
return JSON.stringify(O);
|
|
742
|
-
}), bt(this, "get", function(O) {
|
|
742
|
+
})), bt(this, "get", (function(O) {
|
|
743
743
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
744
744
|
return S._data[O] ? te.utils.deepCopyObject(S._data[O]) : null;
|
|
745
|
-
}), bt(this, "getString", function(O) {
|
|
745
|
+
})), bt(this, "getString", (function(O) {
|
|
746
746
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
747
747
|
if (typeof S._data[O] != "string") throw new Error("The data does not contain the specified string value.");
|
|
748
748
|
return S._data[O] ? S._data[O] : null;
|
|
749
|
-
}), bt(this, "getDataModel", function(O) {
|
|
749
|
+
})), bt(this, "getDataModel", (function(O) {
|
|
750
750
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
751
751
|
if (!S._data[O] || !S._data[O].getIsDataModel || !S._data[O].getIsDataModel()) throw new Error("The data does not contain the specified data-model value.");
|
|
752
752
|
return S._data[O].clone();
|
|
753
|
-
}), bt(this, "put", function(O, T) {
|
|
753
|
+
})), bt(this, "put", (function(O, T) {
|
|
754
754
|
return S._put(O, T), S;
|
|
755
|
-
}), bt(this, "putString", function(O, T) {
|
|
755
|
+
})), bt(this, "putString", (function(O, T) {
|
|
756
756
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
757
757
|
if (typeof T != "string" && typeof T != "number" && typeof T != "boolean" && typeof T != "bigint" && Et(T) !== "symbol" && T !== null) throw new Error("Please insert only values convertible to string type.");
|
|
758
758
|
return S._put(O, T), S;
|
|
759
|
-
}), bt(this, "putDataModel", function(O, T) {
|
|
759
|
+
})), bt(this, "putDataModel", (function(O, T) {
|
|
760
760
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
761
761
|
if (T === null || !T.getIsDataModel || !T.getIsDataModel()) throw new Error("Please insert only values of data-model type.");
|
|
762
762
|
return S._put(O, T), S;
|
|
763
|
-
}), bt(this, "getObject", function() {
|
|
763
|
+
})), bt(this, "getObject", (function() {
|
|
764
764
|
var O = {};
|
|
765
765
|
for (var T in S._data) S._data[T] && S._data[T].getIsDataModel && S._data[T].getIsDataModel() ? O[T] = S._data[T].getObject() : O[T] = S._data[T];
|
|
766
766
|
return O;
|
|
767
|
-
}), bt(this, "containsKey", function(O) {
|
|
767
|
+
})), bt(this, "containsKey", (function(O) {
|
|
768
768
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
769
769
|
return S._data.hasOwnProperty(O);
|
|
770
|
-
}), bt(this, "isEmpty", function() {
|
|
770
|
+
})), bt(this, "isEmpty", (function() {
|
|
771
771
|
return Object.keys(S._data).length === 0;
|
|
772
|
-
}), bt(this, "remove", function(O) {
|
|
772
|
+
})), bt(this, "remove", (function(O) {
|
|
773
773
|
if (typeof O != "string") throw new Error("Keys must always be strings.");
|
|
774
774
|
var T = null;
|
|
775
775
|
return S._data.hasOwnProperty(O) && (T = S._data[O], delete S._data[O]), T;
|
|
776
|
-
}), bt(this, "size", function() {
|
|
776
|
+
})), bt(this, "size", (function() {
|
|
777
777
|
return Object.keys(S._data).length;
|
|
778
|
-
}), bt(this, "keys", function() {
|
|
778
|
+
})), bt(this, "keys", (function() {
|
|
779
779
|
return Object.keys(S._data);
|
|
780
|
-
}), bt(this, "values", function() {
|
|
780
|
+
})), bt(this, "values", (function() {
|
|
781
781
|
var O = [];
|
|
782
782
|
for (var T in S._data) S._data.hasOwnProperty(T) && O.push(te.utils.deepCopyObject(S._data[T]));
|
|
783
783
|
return O;
|
|
784
|
-
}), this._data = {}, y !== void 0) if (Et(y) === "object" && y !== null) for (var N in y) this._put(N, y[N]);
|
|
784
|
+
})), this._data = {}, y !== void 0) if (Et(y) === "object" && y !== null) for (var N in y) this._put(N, y[N]);
|
|
785
785
|
else {
|
|
786
786
|
if (typeof y != "string" || M === void 0) throw new Error("Invalid arguments. Provide an object or a key-value pair.");
|
|
787
787
|
this._put(y, M);
|
|
788
788
|
}
|
|
789
|
-
});
|
|
789
|
+
}));
|
|
790
790
|
function Lt(d) {
|
|
791
791
|
return Lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
792
792
|
return typeof y;
|
|
@@ -801,7 +801,7 @@ insert rowIndex : `).concat(N));
|
|
|
801
801
|
return (y = hn(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
802
802
|
}
|
|
803
803
|
function hn(d) {
|
|
804
|
-
var y = function(M) {
|
|
804
|
+
var y = (function(M) {
|
|
805
805
|
if (Lt(M) != "object" || !M) return M;
|
|
806
806
|
var S = M[Symbol.toPrimitive];
|
|
807
807
|
if (S !== void 0) {
|
|
@@ -810,48 +810,48 @@ insert rowIndex : `).concat(N));
|
|
|
810
810
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
811
811
|
}
|
|
812
812
|
return String(M);
|
|
813
|
-
}(d);
|
|
813
|
+
})(d);
|
|
814
814
|
return Lt(y) == "symbol" ? y : y + "";
|
|
815
815
|
}
|
|
816
|
-
var gt = Xe(function d(y) {
|
|
816
|
+
var gt = Xe((function d(y) {
|
|
817
817
|
var M = this;
|
|
818
818
|
(function(S, N) {
|
|
819
819
|
if (!(S instanceof N)) throw new TypeError("Cannot call a class as a function");
|
|
820
|
-
})(this, d), Ut(this, "_removeKey", function(S) {
|
|
820
|
+
})(this, d), Ut(this, "_removeKey", (function(S) {
|
|
821
821
|
var N = M._keys.indexOf(S);
|
|
822
822
|
N > -1 && M._keys.splice(N, 1);
|
|
823
|
-
}), Ut(this, "hasKey", function(S) {
|
|
823
|
+
})), Ut(this, "hasKey", (function(S) {
|
|
824
824
|
return M._cache.hasOwnProperty(S);
|
|
825
|
-
}), Ut(this, "get", function(S) {
|
|
825
|
+
})), Ut(this, "get", (function(S) {
|
|
826
826
|
if (!M.hasKey(S)) return null;
|
|
827
827
|
var N = te.utils.deepCopyObject(M._cache[S]);
|
|
828
828
|
return M._removeKey(S), M._keys.push(S), N;
|
|
829
|
-
}), Ut(this, "put", function(S, N) {
|
|
829
|
+
})), Ut(this, "put", (function(S, N) {
|
|
830
830
|
if (M.hasKey(S)) M.remove(S);
|
|
831
831
|
else if (M._keys.length == M._limit) {
|
|
832
832
|
var O = M._keys.shift();
|
|
833
833
|
O !== void 0 && delete M._cache[O];
|
|
834
834
|
}
|
|
835
835
|
M._cache[S] = te.utils.deepCopyObject(N), M._keys.push(S);
|
|
836
|
-
}), Ut(this, "remove", function(S) {
|
|
836
|
+
})), Ut(this, "remove", (function(S) {
|
|
837
837
|
if (!M.hasKey(S)) return null;
|
|
838
838
|
M._removeKey(S);
|
|
839
839
|
var N = te.utils.deepCopyObject(M._cache[S]);
|
|
840
840
|
return delete M._cache[S], N;
|
|
841
|
-
}), Ut(this, "getAll", function() {
|
|
841
|
+
})), Ut(this, "getAll", (function() {
|
|
842
842
|
var S = {};
|
|
843
|
-
return Object.keys(M._cache).forEach(function(N) {
|
|
843
|
+
return Object.keys(M._cache).forEach((function(N) {
|
|
844
844
|
S[N] = te.utils.deepCopyObject(M._cache[N]);
|
|
845
|
-
}), S;
|
|
846
|
-
}), Ut(this, "getKeys", function() {
|
|
845
|
+
})), S;
|
|
846
|
+
})), Ut(this, "getKeys", (function() {
|
|
847
847
|
var S = [];
|
|
848
|
-
return M._keys.forEach(function(N) {
|
|
848
|
+
return M._keys.forEach((function(N) {
|
|
849
849
|
S.push(N);
|
|
850
|
-
}), S;
|
|
851
|
-
}), Ut(this, "clear", function() {
|
|
850
|
+
})), S;
|
|
851
|
+
})), Ut(this, "clear", (function() {
|
|
852
852
|
M._cache = {}, M._keys = [];
|
|
853
|
-
}), this._limit = y, this._cache = {}, this._keys = [];
|
|
854
|
-
});
|
|
853
|
+
})), this._limit = y, this._cache = {}, this._keys = [];
|
|
854
|
+
}));
|
|
855
855
|
function mn(d) {
|
|
856
856
|
return mn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
857
857
|
return typeof y;
|
|
@@ -866,7 +866,7 @@ insert rowIndex : `).concat(N));
|
|
|
866
866
|
return (y = h(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
867
867
|
}
|
|
868
868
|
function h(d) {
|
|
869
|
-
var y = function(M) {
|
|
869
|
+
var y = (function(M) {
|
|
870
870
|
if (mn(M) != "object" || !M) return M;
|
|
871
871
|
var S = M[Symbol.toPrimitive];
|
|
872
872
|
if (S !== void 0) {
|
|
@@ -875,71 +875,71 @@ insert rowIndex : `).concat(N));
|
|
|
875
875
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
876
876
|
}
|
|
877
877
|
return String(M);
|
|
878
|
-
}(d);
|
|
878
|
+
})(d);
|
|
879
879
|
return mn(y) == "symbol" ? y : y + "";
|
|
880
880
|
}
|
|
881
|
-
var I = Rn(function d() {
|
|
881
|
+
var I = Rn((function d() {
|
|
882
882
|
var y = this, M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ae.link.cachingLimit;
|
|
883
883
|
(function(S, N) {
|
|
884
884
|
if (!(S instanceof N)) throw new TypeError("Cannot call a class as a function");
|
|
885
|
-
})(this, d), f(this, "_checkTypeString", function(S) {
|
|
885
|
+
})(this, d), f(this, "_checkTypeString", (function(S) {
|
|
886
886
|
if (typeof S != "string") throw new Error("key is only a string.");
|
|
887
|
-
}), f(this, "_checkTypeFunction", function(S) {
|
|
887
|
+
})), f(this, "_checkTypeFunction", (function(S) {
|
|
888
888
|
if (S && typeof S != "function") throw new Error("Please enter only the function.");
|
|
889
|
-
}), f(this, "_checkWebSocketConnection", function() {
|
|
889
|
+
})), f(this, "_checkWebSocketConnection", (function() {
|
|
890
890
|
return y._webSocket.readyState === WebSocket.OPEN ? 1 : y._webSocket.readyState === WebSocket.CONNECTING ? 0 : -1;
|
|
891
|
-
}), f(this, "getIsCachingModule", function() {
|
|
891
|
+
})), f(this, "getIsCachingModule", (function() {
|
|
892
892
|
return y._isCachingModule;
|
|
893
|
-
}), f(this, "hasKey", function(S) {
|
|
893
|
+
})), f(this, "hasKey", (function(S) {
|
|
894
894
|
return y._checkTypeString(S), y._LRUCache.hasKey(S);
|
|
895
|
-
}), f(this, "get", function(S) {
|
|
895
|
+
})), f(this, "get", (function(S) {
|
|
896
896
|
return y._checkTypeString(S), y._LRUCache.get(S);
|
|
897
|
-
}), f(this, "put", function(S, N) {
|
|
897
|
+
})), f(this, "put", (function(S, N) {
|
|
898
898
|
y._checkTypeString(S), y._LRUCache.put(S, N);
|
|
899
|
-
}), f(this, "remove", function(S) {
|
|
899
|
+
})), f(this, "remove", (function(S) {
|
|
900
900
|
y._checkTypeString(S);
|
|
901
901
|
var N = y._LRUCache.get(S);
|
|
902
902
|
return y._LRUCache.remove(S), N;
|
|
903
|
-
}), f(this, "getAll", function() {
|
|
903
|
+
})), f(this, "getAll", (function() {
|
|
904
904
|
return y._LRUCache.getAll();
|
|
905
|
-
}), f(this, "getKeys", function() {
|
|
905
|
+
})), f(this, "getKeys", (function() {
|
|
906
906
|
return y._LRUCache.getKeys();
|
|
907
|
-
}), f(this, "clear", function() {
|
|
907
|
+
})), f(this, "clear", (function() {
|
|
908
908
|
y._LRUCache.clear();
|
|
909
|
-
}), f(this, "onopen", function(S) {
|
|
909
|
+
})), f(this, "onopen", (function(S) {
|
|
910
910
|
y._checkTypeFunction(S), y._webSocket.onopen = S;
|
|
911
|
-
}), f(this, "onmessage", function(S) {
|
|
911
|
+
})), f(this, "onmessage", (function(S) {
|
|
912
912
|
y._checkTypeFunction(S), y._webSocket.onmessage = S;
|
|
913
|
-
}), f(this, "onclose", function(S) {
|
|
913
|
+
})), f(this, "onclose", (function(S) {
|
|
914
914
|
y._checkTypeFunction(S), y._webSocket.onclose = S;
|
|
915
|
-
}), f(this, "onerror", function(S) {
|
|
915
|
+
})), f(this, "onerror", (function(S) {
|
|
916
916
|
y._checkTypeFunction(S), y._webSocket.onclose = S;
|
|
917
|
-
}), f(this, "isWebSocketConnection", function() {
|
|
917
|
+
})), f(this, "isWebSocketConnection", (function() {
|
|
918
918
|
return y._checkWebSocketConnection();
|
|
919
|
-
}), this._webSocket = new WebSocket(ae.link.webSocketProtocol + ae.link.domain + ae.link.webSocketEndPoint), this._webSocket.onopen = function() {
|
|
919
|
+
})), this._webSocket = new WebSocket(ae.link.webSocketProtocol + ae.link.domain + ae.link.webSocketEndPoint), this._webSocket.onopen = function() {
|
|
920
920
|
}, this._webSocket.onmessage = function() {
|
|
921
921
|
}, this._webSocket.onclose = function() {
|
|
922
922
|
}, this._webSocket.onerror = function() {
|
|
923
923
|
}, this._LRUCache = new gt(M), this._isCachingModule = !0;
|
|
924
|
-
});
|
|
924
|
+
}));
|
|
925
925
|
function be(d, y) {
|
|
926
926
|
var M = Object.keys(d);
|
|
927
927
|
if (Object.getOwnPropertySymbols) {
|
|
928
928
|
var S = Object.getOwnPropertySymbols(d);
|
|
929
|
-
y && (S = S.filter(function(N) {
|
|
929
|
+
y && (S = S.filter((function(N) {
|
|
930
930
|
return Object.getOwnPropertyDescriptor(d, N).enumerable;
|
|
931
|
-
})), M.push.apply(M, S);
|
|
931
|
+
}))), M.push.apply(M, S);
|
|
932
932
|
}
|
|
933
933
|
return M;
|
|
934
934
|
}
|
|
935
935
|
function Be(d) {
|
|
936
936
|
for (var y = 1; y < arguments.length; y++) {
|
|
937
937
|
var M = arguments[y] != null ? arguments[y] : {};
|
|
938
|
-
y % 2 ? be(Object(M), !0).forEach(function(S) {
|
|
938
|
+
y % 2 ? be(Object(M), !0).forEach((function(S) {
|
|
939
939
|
l(d, S, M[S]);
|
|
940
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(M)) : be(Object(M)).forEach(function(S) {
|
|
940
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(M)) : be(Object(M)).forEach((function(S) {
|
|
941
941
|
Object.defineProperty(d, S, Object.getOwnPropertyDescriptor(M, S));
|
|
942
|
-
});
|
|
942
|
+
}));
|
|
943
943
|
}
|
|
944
944
|
return d;
|
|
945
945
|
}
|
|
@@ -987,42 +987,42 @@ insert rowIndex : `).concat(N));
|
|
|
987
987
|
function At() {
|
|
988
988
|
}
|
|
989
989
|
var Ct = {};
|
|
990
|
-
Z(Ct, T, function() {
|
|
990
|
+
Z(Ct, T, (function() {
|
|
991
991
|
return this;
|
|
992
|
-
});
|
|
992
|
+
}));
|
|
993
993
|
var jt = Object.getPrototypeOf, on = jt && jt(jt(Zn([])));
|
|
994
994
|
on && on !== M && S.call(on, T) && (Ct = on);
|
|
995
995
|
var Sn = At.prototype = Gt.prototype = Object.create(Ct);
|
|
996
996
|
function Hn(Ae) {
|
|
997
|
-
["next", "throw", "return"].forEach(function(we) {
|
|
998
|
-
Z(Ae, we, function(Fe) {
|
|
997
|
+
["next", "throw", "return"].forEach((function(we) {
|
|
998
|
+
Z(Ae, we, (function(Fe) {
|
|
999
999
|
return this._invoke(we, Fe);
|
|
1000
|
-
});
|
|
1001
|
-
});
|
|
1000
|
+
}));
|
|
1001
|
+
}));
|
|
1002
1002
|
}
|
|
1003
1003
|
function Kn(Ae, we) {
|
|
1004
1004
|
function Fe($e, pt, Nt, zt) {
|
|
1005
1005
|
var Wt = Y(Ae[$e], Ae, pt);
|
|
1006
1006
|
if (Wt.type !== "throw") {
|
|
1007
1007
|
var rn = Wt.arg, gn = rn.value;
|
|
1008
|
-
return gn && tt(gn) == "object" && S.call(gn, "__await") ? we.resolve(gn.__await).then(function(Xt) {
|
|
1008
|
+
return gn && tt(gn) == "object" && S.call(gn, "__await") ? we.resolve(gn.__await).then((function(Xt) {
|
|
1009
1009
|
Fe("next", Xt, Nt, zt);
|
|
1010
|
-
}, function(Xt) {
|
|
1010
|
+
}), (function(Xt) {
|
|
1011
1011
|
Fe("throw", Xt, Nt, zt);
|
|
1012
|
-
}) : we.resolve(gn).then(function(Xt) {
|
|
1012
|
+
})) : we.resolve(gn).then((function(Xt) {
|
|
1013
1013
|
rn.value = Xt, Nt(rn);
|
|
1014
|
-
}, function(Xt) {
|
|
1014
|
+
}), (function(Xt) {
|
|
1015
1015
|
return Fe("throw", Xt, Nt, zt);
|
|
1016
|
-
});
|
|
1016
|
+
}));
|
|
1017
1017
|
}
|
|
1018
1018
|
zt(Wt.arg);
|
|
1019
1019
|
}
|
|
1020
1020
|
var at;
|
|
1021
1021
|
N(this, "_invoke", { value: function($e, pt) {
|
|
1022
1022
|
function Nt() {
|
|
1023
|
-
return new we(function(zt, Wt) {
|
|
1023
|
+
return new we((function(zt, Wt) {
|
|
1024
1024
|
Fe($e, pt, zt, Wt);
|
|
1025
|
-
});
|
|
1025
|
+
}));
|
|
1026
1026
|
}
|
|
1027
1027
|
return at = at ? at.then(Nt, Nt) : Nt();
|
|
1028
1028
|
} });
|
|
@@ -1100,19 +1100,19 @@ insert rowIndex : `).concat(N));
|
|
|
1100
1100
|
return Object.setPrototypeOf ? Object.setPrototypeOf(Ae, At) : (Ae.__proto__ = At, Z(Ae, V, "GeneratorFunction")), Ae.prototype = Object.create(Sn), Ae;
|
|
1101
1101
|
}, y.awrap = function(Ae) {
|
|
1102
1102
|
return { __await: Ae };
|
|
1103
|
-
}, Hn(Kn.prototype), Z(Kn.prototype, G, function() {
|
|
1103
|
+
}, Hn(Kn.prototype), Z(Kn.prototype, G, (function() {
|
|
1104
1104
|
return this;
|
|
1105
|
-
}), y.AsyncIterator = Kn, y.async = function(Ae, we, Fe, at, $e) {
|
|
1105
|
+
})), y.AsyncIterator = Kn, y.async = function(Ae, we, Fe, at, $e) {
|
|
1106
1106
|
$e === void 0 && ($e = Promise);
|
|
1107
1107
|
var pt = new Kn(ne(Ae, we, Fe, at), $e);
|
|
1108
|
-
return y.isGeneratorFunction(we) ? pt : pt.next().then(function(Nt) {
|
|
1108
|
+
return y.isGeneratorFunction(we) ? pt : pt.next().then((function(Nt) {
|
|
1109
1109
|
return Nt.done ? Nt.value : pt.next();
|
|
1110
|
-
});
|
|
1111
|
-
}, Hn(Sn), Z(Sn, V, "Generator"), Z(Sn, T, function() {
|
|
1110
|
+
}));
|
|
1111
|
+
}, Hn(Sn), Z(Sn, V, "Generator"), Z(Sn, T, (function() {
|
|
1112
1112
|
return this;
|
|
1113
|
-
}), Z(Sn, "toString", function() {
|
|
1113
|
+
})), Z(Sn, "toString", (function() {
|
|
1114
1114
|
return "[object Generator]";
|
|
1115
|
-
}), y.keys = function(Ae) {
|
|
1115
|
+
})), y.keys = function(Ae) {
|
|
1116
1116
|
var we = Object(Ae), Fe = [];
|
|
1117
1117
|
for (var at in we) Fe.push(at);
|
|
1118
1118
|
return Fe.reverse(), function $e() {
|
|
@@ -1198,7 +1198,7 @@ insert rowIndex : `).concat(N));
|
|
|
1198
1198
|
function E(d) {
|
|
1199
1199
|
return function() {
|
|
1200
1200
|
var y = this, M = arguments;
|
|
1201
|
-
return new Promise(function(S, N) {
|
|
1201
|
+
return new Promise((function(S, N) {
|
|
1202
1202
|
var O = d.apply(y, M);
|
|
1203
1203
|
function T(V) {
|
|
1204
1204
|
j(O, S, N, T, G, "next", V);
|
|
@@ -1207,7 +1207,7 @@ insert rowIndex : `).concat(N));
|
|
|
1207
1207
|
j(O, S, N, T, G, "throw", V);
|
|
1208
1208
|
}
|
|
1209
1209
|
T(void 0);
|
|
1210
|
-
});
|
|
1210
|
+
}));
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
1213
|
function s(d, y, M) {
|
|
@@ -1217,7 +1217,7 @@ insert rowIndex : `).concat(N));
|
|
|
1217
1217
|
return (y = k(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1218
1218
|
}
|
|
1219
1219
|
function k(d) {
|
|
1220
|
-
var y = function(M) {
|
|
1220
|
+
var y = (function(M) {
|
|
1221
1221
|
if (tt(M) != "object" || !M) return M;
|
|
1222
1222
|
var S = M[Symbol.toPrimitive];
|
|
1223
1223
|
if (S !== void 0) {
|
|
@@ -1226,14 +1226,14 @@ insert rowIndex : `).concat(N));
|
|
|
1226
1226
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1227
1227
|
}
|
|
1228
1228
|
return String(M);
|
|
1229
|
-
}(d);
|
|
1229
|
+
})(d);
|
|
1230
1230
|
return tt(y) == "symbol" ? y : y + "";
|
|
1231
1231
|
}
|
|
1232
|
-
var $ = s(function d(y, M) {
|
|
1232
|
+
var $ = s((function d(y, M) {
|
|
1233
1233
|
var S = this;
|
|
1234
1234
|
(function(N, O) {
|
|
1235
1235
|
if (!(N instanceof O)) throw new TypeError("Cannot call a class as a function");
|
|
1236
|
-
})(this, d), l(this, "_cachingModule", null), l(this, "_getResultDataWrapper", function(N) {
|
|
1236
|
+
})(this, d), l(this, "_cachingModule", null), l(this, "_getResultDataWrapper", (function(N) {
|
|
1237
1237
|
var O = null;
|
|
1238
1238
|
if (N && N.constructor === Object && N.DATAWRAPPER === "TRUE") {
|
|
1239
1239
|
O = new te.data.DataWrapper();
|
|
@@ -1243,10 +1243,10 @@ insert rowIndex : `).concat(N));
|
|
|
1243
1243
|
}
|
|
1244
1244
|
} else O = N;
|
|
1245
1245
|
return O;
|
|
1246
|
-
}), l(this, "_getCachingResult", function() {
|
|
1247
|
-
var N = E(Ge().mark(function O(T) {
|
|
1246
|
+
})), l(this, "_getCachingResult", (function() {
|
|
1247
|
+
var N = E(Ge().mark((function O(T) {
|
|
1248
1248
|
var G;
|
|
1249
|
-
return Ge().wrap(function(V) {
|
|
1249
|
+
return Ge().wrap((function(V) {
|
|
1250
1250
|
for (; ; ) switch (V.prev = V.next) {
|
|
1251
1251
|
case 0:
|
|
1252
1252
|
if (!S._cachingModule || S._cachingModule.isWebSocketConnection() !== 1) {
|
|
@@ -1268,12 +1268,12 @@ insert rowIndex : `).concat(N));
|
|
|
1268
1268
|
case "end":
|
|
1269
1269
|
return V.stop();
|
|
1270
1270
|
}
|
|
1271
|
-
}, O);
|
|
1272
|
-
}));
|
|
1271
|
+
}), O);
|
|
1272
|
+
})));
|
|
1273
1273
|
return function(O) {
|
|
1274
1274
|
return N.apply(this, arguments);
|
|
1275
1275
|
};
|
|
1276
|
-
}()), l(this, "_getFetch", function(N, O, T, G, V) {
|
|
1276
|
+
})()), l(this, "_getFetch", (function(N, O, T, G, V) {
|
|
1277
1277
|
if (V && V.getIsDataWrapper && V.getIsDataWrapper()) G && V.putString("cmd", G), V = V.getSerialized();
|
|
1278
1278
|
else if (V && V.getIsDataModel && V.getIsDataModel()) V = V.getSerialized();
|
|
1279
1279
|
else if (V && tt(V) === "object") if (typeof V == "string") try {
|
|
@@ -1285,33 +1285,33 @@ insert rowIndex : `).concat(N));
|
|
|
1285
1285
|
var Z = { method: N, headers: { "Content-Type": "application/json" }, body: V };
|
|
1286
1286
|
if (T.constructor !== Object) throw new Error("fetchOptions must be an object which contains key and value.");
|
|
1287
1287
|
var ne = null;
|
|
1288
|
-
if (Object.keys(T).forEach(function(le) {
|
|
1288
|
+
if (Object.keys(T).forEach((function(le) {
|
|
1289
1289
|
le !== "timeout" && (Z[le] = T[le]);
|
|
1290
|
-
}), T.timeout) {
|
|
1290
|
+
})), T.timeout) {
|
|
1291
1291
|
if (typeof T.timeout != "number" || T.timeout <= 0 || !Number.isInteger(T.timeout)) throw new Error("Timeout must be a positive integer.");
|
|
1292
|
-
ne = new Promise(function(le, qe) {
|
|
1293
|
-
return setTimeout(function() {
|
|
1292
|
+
ne = new Promise((function(le, qe) {
|
|
1293
|
+
return setTimeout((function() {
|
|
1294
1294
|
return qe(new Error("Request timed out"));
|
|
1295
|
-
}, T.timeout);
|
|
1296
|
-
});
|
|
1295
|
+
}), T.timeout);
|
|
1296
|
+
}));
|
|
1297
1297
|
}
|
|
1298
1298
|
var Y = [fetch(O, Z)];
|
|
1299
1299
|
return ne && Y.push(ne), Y;
|
|
1300
|
-
}), l(this, "_request", function() {
|
|
1301
|
-
var N = E(Ge().mark(function O(T, G, V) {
|
|
1300
|
+
})), l(this, "_request", (function() {
|
|
1301
|
+
var N = E(Ge().mark((function O(T, G, V) {
|
|
1302
1302
|
var Z;
|
|
1303
|
-
return Ge().wrap(function(ne) {
|
|
1303
|
+
return Ge().wrap((function(ne) {
|
|
1304
1304
|
for (; ; ) switch (ne.prev = ne.next) {
|
|
1305
1305
|
case 0:
|
|
1306
|
-
return ne.next = 2, Promise.race(G).then(function(Y) {
|
|
1306
|
+
return ne.next = 2, Promise.race(G).then((function(Y) {
|
|
1307
1307
|
S._eventEmitter.emit("requestCompleted_Response", Y);
|
|
1308
1308
|
var le = Y.headers.get("Content-Type");
|
|
1309
|
-
return le && le.includes("application/json") ? Y.json().then(function(qe) {
|
|
1309
|
+
return le && le.includes("application/json") ? Y.json().then((function(qe) {
|
|
1310
1310
|
return { data: qe, response: Y };
|
|
1311
|
-
}) : le ? Y.text().then(function(qe) {
|
|
1311
|
+
})) : le ? Y.text().then((function(qe) {
|
|
1312
1312
|
return { data: qe || null, response: Y };
|
|
1313
|
-
}) : { data: null, response: Y };
|
|
1314
|
-
}).then(function(Y) {
|
|
1313
|
+
})) : { data: null, response: Y };
|
|
1314
|
+
})).then((function(Y) {
|
|
1315
1315
|
var le = Y.data, qe = S._getResultDataWrapper(le);
|
|
1316
1316
|
if (S._eventEmitter.emit("requestCompleted_Data", { data: qe, response: Y.response }), V && S._cachingModule && S._cachingModule.isWebSocketConnection() === 1 && S._cachingModule.put(V, Promise.resolve({ data: qe, response: Y.response })), ae.link.interceptApiResult(qe, Y.response) === !1) return { data: null, response: Y.response };
|
|
1317
1317
|
switch (T) {
|
|
@@ -1337,29 +1337,29 @@ insert rowIndex : `).concat(N));
|
|
|
1337
1337
|
if (ae.link.afterDeleteUrlRequest({ data: qe, response: Y.response }) === !1) return { data: null, response: Y.response };
|
|
1338
1338
|
}
|
|
1339
1339
|
return { data: qe, response: Y.response };
|
|
1340
|
-
}).catch(function(Y) {
|
|
1340
|
+
})).catch((function(Y) {
|
|
1341
1341
|
return S._eventEmitter.emit("requestError", Y), ae.link.interceptApiError(Y) === !1 ? { data: Y, response: new Response() } : Y;
|
|
1342
|
-
});
|
|
1342
|
+
}));
|
|
1343
1343
|
case 2:
|
|
1344
1344
|
return Z = ne.sent, ne.abrupt("return", Z);
|
|
1345
1345
|
case 4:
|
|
1346
1346
|
case "end":
|
|
1347
1347
|
return ne.stop();
|
|
1348
1348
|
}
|
|
1349
|
-
}, O);
|
|
1350
|
-
}));
|
|
1349
|
+
}), O);
|
|
1350
|
+
})));
|
|
1351
1351
|
return function(O, T, G) {
|
|
1352
1352
|
return N.apply(this, arguments);
|
|
1353
1353
|
};
|
|
1354
|
-
}()), l(this, "get", function(N) {
|
|
1354
|
+
})()), l(this, "get", (function(N) {
|
|
1355
1355
|
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1356
1356
|
if (ae.link.beforeGetRequest(N, O) === !1) return Promise.resolve({ data: null, response: new Response() });
|
|
1357
1357
|
var T = "GET";
|
|
1358
1358
|
return S._eventEmitter.emit("requestStarted_" + T, N, O), S._cachingModule && S._cachingModule.hasKey(N) ? S._getCachingResult(N) : S._request(T, S._getFetch(T, ae.link.protocol + ae.link.domain + N, O, "", null), N);
|
|
1359
|
-
}), l(this, "post", function() {
|
|
1360
|
-
var N = E(Ge().mark(function O(T, G) {
|
|
1359
|
+
})), l(this, "post", (function() {
|
|
1360
|
+
var N = E(Ge().mark((function O(T, G) {
|
|
1361
1361
|
var V, Z, ne = arguments;
|
|
1362
|
-
return Ge().wrap(function(Y) {
|
|
1362
|
+
return Ge().wrap((function(Y) {
|
|
1363
1363
|
for (; ; ) switch (Y.prev = Y.next) {
|
|
1364
1364
|
case 0:
|
|
1365
1365
|
if (V = ne.length > 2 && ne[2] !== void 0 ? ne[2] : {}, ae.link.beforePostRequest(T, V) !== !1) {
|
|
@@ -1379,15 +1379,15 @@ insert rowIndex : `).concat(N));
|
|
|
1379
1379
|
case "end":
|
|
1380
1380
|
return Y.stop();
|
|
1381
1381
|
}
|
|
1382
|
-
}, O);
|
|
1383
|
-
}));
|
|
1382
|
+
}), O);
|
|
1383
|
+
})));
|
|
1384
1384
|
return function(O, T) {
|
|
1385
1385
|
return N.apply(this, arguments);
|
|
1386
1386
|
};
|
|
1387
|
-
}()), l(this, "put", function() {
|
|
1388
|
-
var N = E(Ge().mark(function O(T, G) {
|
|
1387
|
+
})()), l(this, "put", (function() {
|
|
1388
|
+
var N = E(Ge().mark((function O(T, G) {
|
|
1389
1389
|
var V, Z, ne = arguments;
|
|
1390
|
-
return Ge().wrap(function(Y) {
|
|
1390
|
+
return Ge().wrap((function(Y) {
|
|
1391
1391
|
for (; ; ) switch (Y.prev = Y.next) {
|
|
1392
1392
|
case 0:
|
|
1393
1393
|
if (V = ne.length > 2 && ne[2] !== void 0 ? ne[2] : {}, ae.link.beforePutRequest(T, V) !== !1) {
|
|
@@ -1407,15 +1407,15 @@ insert rowIndex : `).concat(N));
|
|
|
1407
1407
|
case "end":
|
|
1408
1408
|
return Y.stop();
|
|
1409
1409
|
}
|
|
1410
|
-
}, O);
|
|
1411
|
-
}));
|
|
1410
|
+
}), O);
|
|
1411
|
+
})));
|
|
1412
1412
|
return function(O, T) {
|
|
1413
1413
|
return N.apply(this, arguments);
|
|
1414
1414
|
};
|
|
1415
|
-
}()), l(this, "patch", function() {
|
|
1416
|
-
var N = E(Ge().mark(function O(T, G) {
|
|
1415
|
+
})()), l(this, "patch", (function() {
|
|
1416
|
+
var N = E(Ge().mark((function O(T, G) {
|
|
1417
1417
|
var V, Z, ne = arguments;
|
|
1418
|
-
return Ge().wrap(function(Y) {
|
|
1418
|
+
return Ge().wrap((function(Y) {
|
|
1419
1419
|
for (; ; ) switch (Y.prev = Y.next) {
|
|
1420
1420
|
case 0:
|
|
1421
1421
|
if (V = ne.length > 2 && ne[2] !== void 0 ? ne[2] : {}, ae.link.beforePatchRequest(T, V) !== !1) {
|
|
@@ -1435,15 +1435,15 @@ insert rowIndex : `).concat(N));
|
|
|
1435
1435
|
case "end":
|
|
1436
1436
|
return Y.stop();
|
|
1437
1437
|
}
|
|
1438
|
-
}, O);
|
|
1439
|
-
}));
|
|
1438
|
+
}), O);
|
|
1439
|
+
})));
|
|
1440
1440
|
return function(O, T) {
|
|
1441
1441
|
return N.apply(this, arguments);
|
|
1442
1442
|
};
|
|
1443
|
-
}()), l(this, "delete", function() {
|
|
1444
|
-
var N = E(Ge().mark(function O(T, G) {
|
|
1443
|
+
})()), l(this, "delete", (function() {
|
|
1444
|
+
var N = E(Ge().mark((function O(T, G) {
|
|
1445
1445
|
var V, Z, ne = arguments;
|
|
1446
|
-
return Ge().wrap(function(Y) {
|
|
1446
|
+
return Ge().wrap((function(Y) {
|
|
1447
1447
|
for (; ; ) switch (Y.prev = Y.next) {
|
|
1448
1448
|
case 0:
|
|
1449
1449
|
if (V = ne.length > 2 && ne[2] !== void 0 ? ne[2] : {}, ae.link.beforeDeleteRequest(T, V) !== !1) {
|
|
@@ -1463,68 +1463,68 @@ insert rowIndex : `).concat(N));
|
|
|
1463
1463
|
case "end":
|
|
1464
1464
|
return Y.stop();
|
|
1465
1465
|
}
|
|
1466
|
-
}, O);
|
|
1467
|
-
}));
|
|
1466
|
+
}), O);
|
|
1467
|
+
})));
|
|
1468
1468
|
return function(O, T) {
|
|
1469
1469
|
return N.apply(this, arguments);
|
|
1470
1470
|
};
|
|
1471
|
-
}()), l(this, "head", function() {
|
|
1472
|
-
var N = E(Ge().mark(function O(T) {
|
|
1471
|
+
})()), l(this, "head", (function() {
|
|
1472
|
+
var N = E(Ge().mark((function O(T) {
|
|
1473
1473
|
var G, V, Z = arguments;
|
|
1474
|
-
return Ge().wrap(function(ne) {
|
|
1474
|
+
return Ge().wrap((function(ne) {
|
|
1475
1475
|
for (; ; ) switch (ne.prev = ne.next) {
|
|
1476
1476
|
case 0:
|
|
1477
|
-
return G = Z.length > 1 && Z[1] !== void 0 ? Z[1] : {}, V = ae.link.protocol + ae.link.domain + T, ne.abrupt("return", fetch(V, Be({ method: "HEAD" }, G)).then(function(Y) {
|
|
1477
|
+
return G = Z.length > 1 && Z[1] !== void 0 ? Z[1] : {}, V = ae.link.protocol + ae.link.domain + T, ne.abrupt("return", fetch(V, Be({ method: "HEAD" }, G)).then((function(Y) {
|
|
1478
1478
|
if (!Y.ok) throw new Error("HEAD request failed with status: ".concat(Y.status));
|
|
1479
1479
|
var le = {};
|
|
1480
|
-
return Y.headers.forEach(function(qe, _t) {
|
|
1480
|
+
return Y.headers.forEach((function(qe, _t) {
|
|
1481
1481
|
le[_t] = qe;
|
|
1482
|
-
}), le;
|
|
1483
|
-
}).catch(function(Y) {
|
|
1482
|
+
})), le;
|
|
1483
|
+
})).catch((function(Y) {
|
|
1484
1484
|
return Promise.reject(Y);
|
|
1485
|
-
}));
|
|
1485
|
+
})));
|
|
1486
1486
|
case 3:
|
|
1487
1487
|
case "end":
|
|
1488
1488
|
return ne.stop();
|
|
1489
1489
|
}
|
|
1490
|
-
}, O);
|
|
1491
|
-
}));
|
|
1490
|
+
}), O);
|
|
1491
|
+
})));
|
|
1492
1492
|
return function(O) {
|
|
1493
1493
|
return N.apply(this, arguments);
|
|
1494
1494
|
};
|
|
1495
|
-
}()), l(this, "options", function() {
|
|
1496
|
-
var N = E(Ge().mark(function O(T) {
|
|
1495
|
+
})()), l(this, "options", (function() {
|
|
1496
|
+
var N = E(Ge().mark((function O(T) {
|
|
1497
1497
|
var G, V, Z = arguments;
|
|
1498
|
-
return Ge().wrap(function(ne) {
|
|
1498
|
+
return Ge().wrap((function(ne) {
|
|
1499
1499
|
for (; ; ) switch (ne.prev = ne.next) {
|
|
1500
1500
|
case 0:
|
|
1501
|
-
return G = Z.length > 1 && Z[1] !== void 0 ? Z[1] : {}, V = ae.link.protocol + ae.link.domain + T, ne.abrupt("return", fetch(V, Be({ method: "OPTIONS" }, G)).then(function(Y) {
|
|
1501
|
+
return G = Z.length > 1 && Z[1] !== void 0 ? Z[1] : {}, V = ae.link.protocol + ae.link.domain + T, ne.abrupt("return", fetch(V, Be({ method: "OPTIONS" }, G)).then((function(Y) {
|
|
1502
1502
|
if (!Y.ok) throw new Error("OPTIONS request failed with status: ".concat(Y.status));
|
|
1503
1503
|
var le = Y.headers.get("Allow");
|
|
1504
|
-
return le ? le.split(",").map(function(qe) {
|
|
1504
|
+
return le ? le.split(",").map((function(qe) {
|
|
1505
1505
|
return qe.trim();
|
|
1506
|
-
}) : [];
|
|
1507
|
-
}).catch(function(Y) {
|
|
1506
|
+
})) : [];
|
|
1507
|
+
})).catch((function(Y) {
|
|
1508
1508
|
return Promise.reject(Y);
|
|
1509
|
-
}));
|
|
1509
|
+
})));
|
|
1510
1510
|
case 3:
|
|
1511
1511
|
case "end":
|
|
1512
1512
|
return ne.stop();
|
|
1513
1513
|
}
|
|
1514
|
-
}, O);
|
|
1515
|
-
}));
|
|
1514
|
+
}), O);
|
|
1515
|
+
})));
|
|
1516
1516
|
return function(O) {
|
|
1517
1517
|
return N.apply(this, arguments);
|
|
1518
1518
|
};
|
|
1519
|
-
}()), l(this, "getURL", function(N) {
|
|
1519
|
+
})()), l(this, "getURL", (function(N) {
|
|
1520
1520
|
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1521
1521
|
if (ae.link.beforeGetUrlRequest(N, O) === !1) return Promise.resolve({ data: null, response: new Response() });
|
|
1522
1522
|
var T = "GET";
|
|
1523
1523
|
return S._eventEmitter.emit("requestStarted_" + T, N, O), S._cachingModule && S._cachingModule.hasKey(N) ? S._getCachingResult(N) : S._request(T + "URL", S._getFetch(T, N, O, "", null), N);
|
|
1524
|
-
}), l(this, "postURL", function() {
|
|
1525
|
-
var N = E(Ge().mark(function O(T, G, V) {
|
|
1524
|
+
})), l(this, "postURL", (function() {
|
|
1525
|
+
var N = E(Ge().mark((function O(T, G, V) {
|
|
1526
1526
|
var Z, ne, Y = arguments;
|
|
1527
|
-
return Ge().wrap(function(le) {
|
|
1527
|
+
return Ge().wrap((function(le) {
|
|
1528
1528
|
for (; ; ) switch (le.prev = le.next) {
|
|
1529
1529
|
case 0:
|
|
1530
1530
|
if (Z = Y.length > 3 && Y[3] !== void 0 ? Y[3] : {}, ae.link.beforePostUrlRequest(T, G, Z) !== !1) {
|
|
@@ -1544,15 +1544,15 @@ insert rowIndex : `).concat(N));
|
|
|
1544
1544
|
case "end":
|
|
1545
1545
|
return le.stop();
|
|
1546
1546
|
}
|
|
1547
|
-
}, O);
|
|
1548
|
-
}));
|
|
1547
|
+
}), O);
|
|
1548
|
+
})));
|
|
1549
1549
|
return function(O, T, G) {
|
|
1550
1550
|
return N.apply(this, arguments);
|
|
1551
1551
|
};
|
|
1552
|
-
}()), l(this, "putURL", function() {
|
|
1553
|
-
var N = E(Ge().mark(function O(T, G, V) {
|
|
1552
|
+
})()), l(this, "putURL", (function() {
|
|
1553
|
+
var N = E(Ge().mark((function O(T, G, V) {
|
|
1554
1554
|
var Z, ne, Y = arguments;
|
|
1555
|
-
return Ge().wrap(function(le) {
|
|
1555
|
+
return Ge().wrap((function(le) {
|
|
1556
1556
|
for (; ; ) switch (le.prev = le.next) {
|
|
1557
1557
|
case 0:
|
|
1558
1558
|
if (Z = Y.length > 3 && Y[3] !== void 0 ? Y[3] : {}, ae.link.beforePutUrlRequest(T, G, Z) !== !1) {
|
|
@@ -1572,15 +1572,15 @@ insert rowIndex : `).concat(N));
|
|
|
1572
1572
|
case "end":
|
|
1573
1573
|
return le.stop();
|
|
1574
1574
|
}
|
|
1575
|
-
}, O);
|
|
1576
|
-
}));
|
|
1575
|
+
}), O);
|
|
1576
|
+
})));
|
|
1577
1577
|
return function(O, T, G) {
|
|
1578
1578
|
return N.apply(this, arguments);
|
|
1579
1579
|
};
|
|
1580
|
-
}()), l(this, "patchURL", function() {
|
|
1581
|
-
var N = E(Ge().mark(function O(T, G, V) {
|
|
1580
|
+
})()), l(this, "patchURL", (function() {
|
|
1581
|
+
var N = E(Ge().mark((function O(T, G, V) {
|
|
1582
1582
|
var Z, ne, Y = arguments;
|
|
1583
|
-
return Ge().wrap(function(le) {
|
|
1583
|
+
return Ge().wrap((function(le) {
|
|
1584
1584
|
for (; ; ) switch (le.prev = le.next) {
|
|
1585
1585
|
case 0:
|
|
1586
1586
|
if (Z = Y.length > 3 && Y[3] !== void 0 ? Y[3] : {}, ae.link.beforePatchUrlRequest(T, G, Z) !== !1) {
|
|
@@ -1600,15 +1600,15 @@ insert rowIndex : `).concat(N));
|
|
|
1600
1600
|
case "end":
|
|
1601
1601
|
return le.stop();
|
|
1602
1602
|
}
|
|
1603
|
-
}, O);
|
|
1604
|
-
}));
|
|
1603
|
+
}), O);
|
|
1604
|
+
})));
|
|
1605
1605
|
return function(O, T, G) {
|
|
1606
1606
|
return N.apply(this, arguments);
|
|
1607
1607
|
};
|
|
1608
|
-
}()), l(this, "deleteURL", function() {
|
|
1609
|
-
var N = E(Ge().mark(function O(T, G, V) {
|
|
1608
|
+
})()), l(this, "deleteURL", (function() {
|
|
1609
|
+
var N = E(Ge().mark((function O(T, G, V) {
|
|
1610
1610
|
var Z, ne, Y = arguments;
|
|
1611
|
-
return Ge().wrap(function(le) {
|
|
1611
|
+
return Ge().wrap((function(le) {
|
|
1612
1612
|
for (; ; ) switch (le.prev = le.next) {
|
|
1613
1613
|
case 0:
|
|
1614
1614
|
if (Z = Y.length > 3 && Y[3] !== void 0 ? Y[3] : {}, ae.link.beforeDeleteUrlRequest(T, G, Z) !== !1) {
|
|
@@ -1628,60 +1628,60 @@ insert rowIndex : `).concat(N));
|
|
|
1628
1628
|
case "end":
|
|
1629
1629
|
return le.stop();
|
|
1630
1630
|
}
|
|
1631
|
-
}, O);
|
|
1632
|
-
}));
|
|
1631
|
+
}), O);
|
|
1632
|
+
})));
|
|
1633
1633
|
return function(O, T, G) {
|
|
1634
1634
|
return N.apply(this, arguments);
|
|
1635
1635
|
};
|
|
1636
|
-
}()), l(this, "headURL", function() {
|
|
1637
|
-
var N = E(Ge().mark(function O(T) {
|
|
1636
|
+
})()), l(this, "headURL", (function() {
|
|
1637
|
+
var N = E(Ge().mark((function O(T) {
|
|
1638
1638
|
var G, V = arguments;
|
|
1639
|
-
return Ge().wrap(function(Z) {
|
|
1639
|
+
return Ge().wrap((function(Z) {
|
|
1640
1640
|
for (; ; ) switch (Z.prev = Z.next) {
|
|
1641
1641
|
case 0:
|
|
1642
|
-
return G = V.length > 1 && V[1] !== void 0 ? V[1] : {}, Z.abrupt("return", fetch(T, Be({ method: "HEAD" }, G)).then(function(ne) {
|
|
1642
|
+
return G = V.length > 1 && V[1] !== void 0 ? V[1] : {}, Z.abrupt("return", fetch(T, Be({ method: "HEAD" }, G)).then((function(ne) {
|
|
1643
1643
|
if (!ne.ok) throw new Error("HEAD request failed with status: ".concat(ne.status));
|
|
1644
1644
|
var Y = {};
|
|
1645
|
-
return ne.headers.forEach(function(le, qe) {
|
|
1645
|
+
return ne.headers.forEach((function(le, qe) {
|
|
1646
1646
|
Y[qe] = le;
|
|
1647
|
-
}), Y;
|
|
1648
|
-
}).catch(function(ne) {
|
|
1647
|
+
})), Y;
|
|
1648
|
+
})).catch((function(ne) {
|
|
1649
1649
|
return Promise.reject(ne);
|
|
1650
|
-
}));
|
|
1650
|
+
})));
|
|
1651
1651
|
case 2:
|
|
1652
1652
|
case "end":
|
|
1653
1653
|
return Z.stop();
|
|
1654
1654
|
}
|
|
1655
|
-
}, O);
|
|
1656
|
-
}));
|
|
1655
|
+
}), O);
|
|
1656
|
+
})));
|
|
1657
1657
|
return function(O) {
|
|
1658
1658
|
return N.apply(this, arguments);
|
|
1659
1659
|
};
|
|
1660
|
-
}()), l(this, "optionsURL", function() {
|
|
1661
|
-
var N = E(Ge().mark(function O(T) {
|
|
1660
|
+
})()), l(this, "optionsURL", (function() {
|
|
1661
|
+
var N = E(Ge().mark((function O(T) {
|
|
1662
1662
|
var G, V = arguments;
|
|
1663
|
-
return Ge().wrap(function(Z) {
|
|
1663
|
+
return Ge().wrap((function(Z) {
|
|
1664
1664
|
for (; ; ) switch (Z.prev = Z.next) {
|
|
1665
1665
|
case 0:
|
|
1666
|
-
return G = V.length > 1 && V[1] !== void 0 ? V[1] : {}, Z.abrupt("return", fetch(T, Be({ method: "OPTIONS" }, G)).then(function(ne) {
|
|
1666
|
+
return G = V.length > 1 && V[1] !== void 0 ? V[1] : {}, Z.abrupt("return", fetch(T, Be({ method: "OPTIONS" }, G)).then((function(ne) {
|
|
1667
1667
|
if (!ne.ok) throw new Error("OPTIONS request failed with status: ".concat(ne.status));
|
|
1668
1668
|
var Y = ne.headers.get("Allow");
|
|
1669
|
-
return Y ? Y.split(",").map(function(le) {
|
|
1669
|
+
return Y ? Y.split(",").map((function(le) {
|
|
1670
1670
|
return le.trim();
|
|
1671
|
-
}) : [];
|
|
1672
|
-
}).catch(function(ne) {
|
|
1671
|
+
})) : [];
|
|
1672
|
+
})).catch((function(ne) {
|
|
1673
1673
|
return Promise.reject(ne);
|
|
1674
|
-
}));
|
|
1674
|
+
})));
|
|
1675
1675
|
case 2:
|
|
1676
1676
|
case "end":
|
|
1677
1677
|
return Z.stop();
|
|
1678
1678
|
}
|
|
1679
|
-
}, O);
|
|
1680
|
-
}));
|
|
1679
|
+
}), O);
|
|
1680
|
+
})));
|
|
1681
1681
|
return function(O) {
|
|
1682
1682
|
return N.apply(this, arguments);
|
|
1683
1683
|
};
|
|
1684
|
-
}()), l(this, "onEventEmit", function(N, O, T) {
|
|
1684
|
+
})()), l(this, "onEventEmit", (function(N, O, T) {
|
|
1685
1685
|
if (!O) throw new Error("Event name is required.");
|
|
1686
1686
|
if (!T) throw new Error("Event function is required.");
|
|
1687
1687
|
if (typeof O != "string") throw new Error("Event name must be a string.");
|
|
@@ -1695,8 +1695,8 @@ requestCompleted_Data
|
|
|
1695
1695
|
requestError`);
|
|
1696
1696
|
if (typeof T != "function") throw new Error("Event function must be a function.");
|
|
1697
1697
|
S._eventEmitter.on(O, T);
|
|
1698
|
-
}), this._eventEmitter = y, M && M.getIsCachingModule && M.getIsCachingModule() && (this._cachingModule = M);
|
|
1699
|
-
});
|
|
1698
|
+
})), this._eventEmitter = y, M && M.getIsCachingModule && M.getIsCachingModule() && (this._cachingModule = M);
|
|
1699
|
+
}));
|
|
1700
1700
|
function J(d) {
|
|
1701
1701
|
return J = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
1702
1702
|
return typeof y;
|
|
@@ -1711,7 +1711,7 @@ requestError`);
|
|
|
1711
1711
|
return (y = Ce(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1712
1712
|
}
|
|
1713
1713
|
function Ce(d) {
|
|
1714
|
-
var y = function(M) {
|
|
1714
|
+
var y = (function(M) {
|
|
1715
1715
|
if (J(M) != "object" || !M) return M;
|
|
1716
1716
|
var S = M[Symbol.toPrimitive];
|
|
1717
1717
|
if (S !== void 0) {
|
|
@@ -1720,22 +1720,22 @@ requestError`);
|
|
|
1720
1720
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1721
1721
|
}
|
|
1722
1722
|
return String(M);
|
|
1723
|
-
}(d);
|
|
1723
|
+
})(d);
|
|
1724
1724
|
return J(y) == "symbol" ? y : y + "";
|
|
1725
1725
|
}
|
|
1726
|
-
var He = ie(function d() {
|
|
1726
|
+
var He = ie((function d() {
|
|
1727
1727
|
var y = this;
|
|
1728
1728
|
(function(M, S) {
|
|
1729
1729
|
if (!(M instanceof S)) throw new TypeError("Cannot call a class as a function");
|
|
1730
|
-
})(this, d), ge(this, "events", {}), ge(this, "on", function(M, S) {
|
|
1730
|
+
})(this, d), ge(this, "events", {}), ge(this, "on", (function(M, S) {
|
|
1731
1731
|
y.events[M] || (y.events[M] = []), y.events[M].push(S);
|
|
1732
|
-
}), ge(this, "emit", function(M) {
|
|
1732
|
+
})), ge(this, "emit", (function(M) {
|
|
1733
1733
|
for (var S = arguments.length, N = new Array(S > 1 ? S - 1 : 0), O = 1; O < S; O++) N[O - 1] = arguments[O];
|
|
1734
|
-
y.events[M] && y.events[M].forEach(function(T) {
|
|
1734
|
+
y.events[M] && y.events[M].forEach((function(T) {
|
|
1735
1735
|
return T.apply(void 0, N);
|
|
1736
|
-
});
|
|
1737
|
-
});
|
|
1738
|
-
});
|
|
1736
|
+
}));
|
|
1737
|
+
}));
|
|
1738
|
+
}));
|
|
1739
1739
|
function Le(d) {
|
|
1740
1740
|
return Le = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
1741
1741
|
return typeof y;
|
|
@@ -1753,7 +1753,7 @@ requestError`);
|
|
|
1753
1753
|
return (y = Ve(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1754
1754
|
}
|
|
1755
1755
|
function Ve(d) {
|
|
1756
|
-
var y = function(M) {
|
|
1756
|
+
var y = (function(M) {
|
|
1757
1757
|
if (Le(M) != "object" || !M) return M;
|
|
1758
1758
|
var S = M[Symbol.toPrimitive];
|
|
1759
1759
|
if (S !== void 0) {
|
|
@@ -1762,39 +1762,39 @@ requestError`);
|
|
|
1762
1762
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1763
1763
|
}
|
|
1764
1764
|
return String(M);
|
|
1765
|
-
}(d);
|
|
1765
|
+
})(d);
|
|
1766
1766
|
return Le(y) == "symbol" ? y : y + "";
|
|
1767
1767
|
}
|
|
1768
|
-
var Mt = Ke(function d() {
|
|
1768
|
+
var Mt = Ke((function d() {
|
|
1769
1769
|
var y = this, M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1770
|
-
Ze(this, d), et(this, "_cachingModule", null), et(this, "call", function() {
|
|
1770
|
+
Ze(this, d), et(this, "_cachingModule", null), et(this, "call", (function() {
|
|
1771
1771
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1772
1772
|
return y._apiLink.get(y._resourcePath, N);
|
|
1773
|
-
}), et(this, "head", function() {
|
|
1773
|
+
})), et(this, "head", (function() {
|
|
1774
1774
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1775
1775
|
return y._apiLink.head(y._resourcePath, N);
|
|
1776
|
-
}), et(this, "options", function() {
|
|
1776
|
+
})), et(this, "options", (function() {
|
|
1777
1777
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1778
1778
|
return y._apiLink.options(y._resourcePath, N);
|
|
1779
|
-
}), et(this, "onEventEmit", function(N, O) {
|
|
1779
|
+
})), et(this, "onEventEmit", (function(N, O) {
|
|
1780
1780
|
y._apiLink.onEventEmit("GET", N, O);
|
|
1781
|
-
}), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._resourcePath = M;
|
|
1782
|
-
}), Rt = Ke(function d(y) {
|
|
1781
|
+
})), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._resourcePath = M;
|
|
1782
|
+
})), Rt = Ke((function d(y) {
|
|
1783
1783
|
var M = this, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1784
|
-
if (Ze(this, d), et(this, "_cachingModule", null), et(this, "call", function() {
|
|
1784
|
+
if (Ze(this, d), et(this, "_cachingModule", null), et(this, "call", (function() {
|
|
1785
1785
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1786
1786
|
return M._apiLink.getURL(M._url, N);
|
|
1787
|
-
}), et(this, "head", function() {
|
|
1787
|
+
})), et(this, "head", (function() {
|
|
1788
1788
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1789
1789
|
return M._apiLink.head(M._url, N);
|
|
1790
|
-
}), et(this, "options", function() {
|
|
1790
|
+
})), et(this, "options", (function() {
|
|
1791
1791
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1792
1792
|
return M._apiLink.options(M._url, N);
|
|
1793
|
-
}), et(this, "onEventEmit", function(N, O) {
|
|
1793
|
+
})), et(this, "onEventEmit", (function(N, O) {
|
|
1794
1794
|
M._apiLink.onEventEmit("GET", N, O);
|
|
1795
|
-
}), !y) throw new Error("Please enter the request URL.");
|
|
1795
|
+
})), !y) throw new Error("Please enter the request URL.");
|
|
1796
1796
|
S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._url = y;
|
|
1797
|
-
});
|
|
1797
|
+
}));
|
|
1798
1798
|
function xt(d) {
|
|
1799
1799
|
return xt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
1800
1800
|
return typeof y;
|
|
@@ -1812,7 +1812,7 @@ requestError`);
|
|
|
1812
1812
|
return (y = A(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1813
1813
|
}
|
|
1814
1814
|
function A(d) {
|
|
1815
|
-
var y = function(M) {
|
|
1815
|
+
var y = (function(M) {
|
|
1816
1816
|
if (xt(M) != "object" || !M) return M;
|
|
1817
1817
|
var S = M[Symbol.toPrimitive];
|
|
1818
1818
|
if (S !== void 0) {
|
|
@@ -1821,39 +1821,39 @@ requestError`);
|
|
|
1821
1821
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1822
1822
|
}
|
|
1823
1823
|
return String(M);
|
|
1824
|
-
}(d);
|
|
1824
|
+
})(d);
|
|
1825
1825
|
return xt(y) == "symbol" ? y : y + "";
|
|
1826
1826
|
}
|
|
1827
|
-
var x = Ht(function d() {
|
|
1827
|
+
var x = Ht((function d() {
|
|
1828
1828
|
var y = this, M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1829
|
-
v(this, d), w(this, "_cachingModule", null), w(this, "call", function(N) {
|
|
1829
|
+
v(this, d), w(this, "_cachingModule", null), w(this, "call", (function(N) {
|
|
1830
1830
|
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1831
1831
|
return y._apiLink.post(N, y._serviceCmd, O);
|
|
1832
|
-
}), w(this, "head", function() {
|
|
1832
|
+
})), w(this, "head", (function() {
|
|
1833
1833
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1834
1834
|
return y._apiLink.head(ae.link.controllerPath, N);
|
|
1835
|
-
}), w(this, "options", function() {
|
|
1835
|
+
})), w(this, "options", (function() {
|
|
1836
1836
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1837
1837
|
return y._apiLink.options(ae.link.controllerPath, N);
|
|
1838
|
-
}), w(this, "onEventEmit", function(N, O) {
|
|
1838
|
+
})), w(this, "onEventEmit", (function(N, O) {
|
|
1839
1839
|
y._apiLink.onEventEmit("POST", N, O);
|
|
1840
|
-
}), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
1841
|
-
}), g = Ht(function d(y) {
|
|
1840
|
+
})), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
1841
|
+
})), g = Ht((function d(y) {
|
|
1842
1842
|
var M = this, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", N = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
1843
|
-
if (v(this, d), w(this, "_cachingModule", null), w(this, "call", function(O) {
|
|
1843
|
+
if (v(this, d), w(this, "_cachingModule", null), w(this, "call", (function(O) {
|
|
1844
1844
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1845
1845
|
return M._apiLink.postURL(M._url, O, M._serviceCmd, T);
|
|
1846
|
-
}), w(this, "head", function() {
|
|
1846
|
+
})), w(this, "head", (function() {
|
|
1847
1847
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1848
1848
|
return M._apiLink.headURL(M._url, O);
|
|
1849
|
-
}), w(this, "options", function() {
|
|
1849
|
+
})), w(this, "options", (function() {
|
|
1850
1850
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1851
1851
|
return M._apiLink.options(M._url, O);
|
|
1852
|
-
}), w(this, "onEventEmit", function(O, T) {
|
|
1852
|
+
})), w(this, "onEventEmit", (function(O, T) {
|
|
1853
1853
|
M._apiLink.onEventEmit("POST", O, T);
|
|
1854
|
-
}), !y) throw new Error("Please enter the request URL.");
|
|
1854
|
+
})), !y) throw new Error("Please enter the request URL.");
|
|
1855
1855
|
N && N.getIsCachingModule && N.getIsCachingModule() && (this._cachingModule = N), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._url = y, this._serviceCmd = S;
|
|
1856
|
-
});
|
|
1856
|
+
}));
|
|
1857
1857
|
function p(d) {
|
|
1858
1858
|
return p = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
1859
1859
|
return typeof y;
|
|
@@ -1871,7 +1871,7 @@ requestError`);
|
|
|
1871
1871
|
return (y = q(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1872
1872
|
}
|
|
1873
1873
|
function q(d) {
|
|
1874
|
-
var y = function(M) {
|
|
1874
|
+
var y = (function(M) {
|
|
1875
1875
|
if (p(M) != "object" || !M) return M;
|
|
1876
1876
|
var S = M[Symbol.toPrimitive];
|
|
1877
1877
|
if (S !== void 0) {
|
|
@@ -1880,39 +1880,39 @@ requestError`);
|
|
|
1880
1880
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1881
1881
|
}
|
|
1882
1882
|
return String(M);
|
|
1883
|
-
}(d);
|
|
1883
|
+
})(d);
|
|
1884
1884
|
return p(y) == "symbol" ? y : y + "";
|
|
1885
1885
|
}
|
|
1886
|
-
var oe = B(function d() {
|
|
1886
|
+
var oe = B((function d() {
|
|
1887
1887
|
var y = this, M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1888
|
-
H(this, d), U(this, "_cachingModule", null), U(this, "call", function(N) {
|
|
1888
|
+
H(this, d), U(this, "_cachingModule", null), U(this, "call", (function(N) {
|
|
1889
1889
|
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1890
1890
|
return y._apiLink.put(N, y._serviceCmd, O);
|
|
1891
|
-
}), U(this, "head", function() {
|
|
1891
|
+
})), U(this, "head", (function() {
|
|
1892
1892
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1893
1893
|
return y._apiLink.head(ae.link.controllerPath, N);
|
|
1894
|
-
}), U(this, "options", function() {
|
|
1894
|
+
})), U(this, "options", (function() {
|
|
1895
1895
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1896
1896
|
return y._apiLink.options(ae.link.controllerPath, N);
|
|
1897
|
-
}), U(this, "onEventEmit", function(N, O) {
|
|
1897
|
+
})), U(this, "onEventEmit", (function(N, O) {
|
|
1898
1898
|
y._apiLink.onEventEmit("PUT", N, O);
|
|
1899
|
-
}), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
1900
|
-
}), de = B(function d(y) {
|
|
1899
|
+
})), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
1900
|
+
})), de = B((function d(y) {
|
|
1901
1901
|
var M = this, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", N = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
1902
|
-
if (H(this, d), U(this, "_cachingModule", null), U(this, "call", function(O) {
|
|
1902
|
+
if (H(this, d), U(this, "_cachingModule", null), U(this, "call", (function(O) {
|
|
1903
1903
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1904
1904
|
return M._apiLink.putURL(M._url, O, M._serviceCmd, T);
|
|
1905
|
-
}), U(this, "head", function() {
|
|
1905
|
+
})), U(this, "head", (function() {
|
|
1906
1906
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1907
1907
|
return M._apiLink.headURL(M._url, O);
|
|
1908
|
-
}), U(this, "options", function() {
|
|
1908
|
+
})), U(this, "options", (function() {
|
|
1909
1909
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1910
1910
|
return M._apiLink.options(M._url, O);
|
|
1911
|
-
}), U(this, "onEventEmit", function(O, T) {
|
|
1911
|
+
})), U(this, "onEventEmit", (function(O, T) {
|
|
1912
1912
|
M._apiLink.onEventEmit("PUT", O, T);
|
|
1913
|
-
}), !y) throw new Error("Please enter the request URL.");
|
|
1913
|
+
})), !y) throw new Error("Please enter the request URL.");
|
|
1914
1914
|
N && N.getIsCachingModule && N.getIsCachingModule() && (this._cachingModule = N), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._url = y, this._serviceCmd = S;
|
|
1915
|
-
});
|
|
1915
|
+
}));
|
|
1916
1916
|
function he(d) {
|
|
1917
1917
|
return he = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
1918
1918
|
return typeof y;
|
|
@@ -1930,7 +1930,7 @@ requestError`);
|
|
|
1930
1930
|
return (y = u(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1931
1931
|
}
|
|
1932
1932
|
function u(d) {
|
|
1933
|
-
var y = function(M) {
|
|
1933
|
+
var y = (function(M) {
|
|
1934
1934
|
if (he(M) != "object" || !M) return M;
|
|
1935
1935
|
var S = M[Symbol.toPrimitive];
|
|
1936
1936
|
if (S !== void 0) {
|
|
@@ -1939,39 +1939,39 @@ requestError`);
|
|
|
1939
1939
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1940
1940
|
}
|
|
1941
1941
|
return String(M);
|
|
1942
|
-
}(d);
|
|
1942
|
+
})(d);
|
|
1943
1943
|
return he(y) == "symbol" ? y : y + "";
|
|
1944
1944
|
}
|
|
1945
|
-
var b = se(function d() {
|
|
1945
|
+
var b = se((function d() {
|
|
1946
1946
|
var y = this, M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1947
|
-
me(this, d), Q(this, "_cachingModule", null), Q(this, "call", function(N) {
|
|
1947
|
+
me(this, d), Q(this, "_cachingModule", null), Q(this, "call", (function(N) {
|
|
1948
1948
|
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1949
1949
|
return y._apiLink.patch(N, y._serviceCmd, O);
|
|
1950
|
-
}), Q(this, "head", function() {
|
|
1950
|
+
})), Q(this, "head", (function() {
|
|
1951
1951
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1952
1952
|
return y._apiLink.head(ae.link.controllerPath, N);
|
|
1953
|
-
}), Q(this, "options", function() {
|
|
1953
|
+
})), Q(this, "options", (function() {
|
|
1954
1954
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1955
1955
|
return y._apiLink.options(ae.link.controllerPath, N);
|
|
1956
|
-
}), Q(this, "onEventEmit", function(N, O) {
|
|
1956
|
+
})), Q(this, "onEventEmit", (function(N, O) {
|
|
1957
1957
|
y._apiLink.onEventEmit("PATCH", N, O);
|
|
1958
|
-
}), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
1959
|
-
}), _ = se(function d(y) {
|
|
1958
|
+
})), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
1959
|
+
})), _ = se((function d(y) {
|
|
1960
1960
|
var M = this, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", N = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
1961
|
-
if (me(this, d), Q(this, "_cachingModule", null), Q(this, "call", function(O) {
|
|
1961
|
+
if (me(this, d), Q(this, "_cachingModule", null), Q(this, "call", (function(O) {
|
|
1962
1962
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1963
1963
|
return M._apiLink.patchURL(M._url, O, M._serviceCmd, T);
|
|
1964
|
-
}), Q(this, "head", function() {
|
|
1964
|
+
})), Q(this, "head", (function() {
|
|
1965
1965
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1966
1966
|
return M._apiLink.headURL(M._url, O);
|
|
1967
|
-
}), Q(this, "options", function() {
|
|
1967
|
+
})), Q(this, "options", (function() {
|
|
1968
1968
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1969
1969
|
return M._apiLink.options(M._url, O);
|
|
1970
|
-
}), Q(this, "onEventEmit", function(O, T) {
|
|
1970
|
+
})), Q(this, "onEventEmit", (function(O, T) {
|
|
1971
1971
|
M._apiLink.onEventEmit("PATCH", O, T);
|
|
1972
|
-
}), !y) throw new Error("Please enter the request URL.");
|
|
1972
|
+
})), !y) throw new Error("Please enter the request URL.");
|
|
1973
1973
|
N && N.getIsCachingModule && N.getIsCachingModule() && (this._cachingModule = N), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._url = y, this._serviceCmd = S;
|
|
1974
|
-
});
|
|
1974
|
+
}));
|
|
1975
1975
|
function R(d) {
|
|
1976
1976
|
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
1977
1977
|
return typeof y;
|
|
@@ -1989,7 +1989,7 @@ requestError`);
|
|
|
1989
1989
|
return (y = pe(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
1990
1990
|
}
|
|
1991
1991
|
function pe(d) {
|
|
1992
|
-
var y = function(M) {
|
|
1992
|
+
var y = (function(M) {
|
|
1993
1993
|
if (R(M) != "object" || !M) return M;
|
|
1994
1994
|
var S = M[Symbol.toPrimitive];
|
|
1995
1995
|
if (S !== void 0) {
|
|
@@ -1998,39 +1998,39 @@ requestError`);
|
|
|
1998
1998
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1999
1999
|
}
|
|
2000
2000
|
return String(M);
|
|
2001
|
-
}(d);
|
|
2001
|
+
})(d);
|
|
2002
2002
|
return R(y) == "symbol" ? y : y + "";
|
|
2003
2003
|
}
|
|
2004
|
-
var Se = F(function d() {
|
|
2004
|
+
var Se = F((function d() {
|
|
2005
2005
|
var y = this, M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2006
|
-
D(this, d), z(this, "_cachingModule", null), z(this, "call", function(N) {
|
|
2006
|
+
D(this, d), z(this, "_cachingModule", null), z(this, "call", (function(N) {
|
|
2007
2007
|
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2008
2008
|
return y._apiLink.delete(N, y._serviceCmd, O);
|
|
2009
|
-
}), z(this, "head", function() {
|
|
2009
|
+
})), z(this, "head", (function() {
|
|
2010
2010
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2011
2011
|
return y._apiLink.head(ae.link.controllerPath, N);
|
|
2012
|
-
}), z(this, "options", function() {
|
|
2012
|
+
})), z(this, "options", (function() {
|
|
2013
2013
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2014
2014
|
return y._apiLink.options(ae.link.controllerPath, N);
|
|
2015
|
-
}), z(this, "onEventEmit", function(N, O) {
|
|
2015
|
+
})), z(this, "onEventEmit", (function(N, O) {
|
|
2016
2016
|
y._apiLink.onEventEmit("DELETE", N, O);
|
|
2017
|
-
}), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
2018
|
-
}), ze = F(function d(y) {
|
|
2017
|
+
})), S && S.getIsCachingModule && S.getIsCachingModule() && (this._cachingModule = S), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._serviceCmd = M;
|
|
2018
|
+
})), ze = F((function d(y) {
|
|
2019
2019
|
var M = this, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", N = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
2020
|
-
if (D(this, d), z(this, "_cachingModule", null), z(this, "call", function(O) {
|
|
2020
|
+
if (D(this, d), z(this, "_cachingModule", null), z(this, "call", (function(O) {
|
|
2021
2021
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2022
2022
|
return M._apiLink.deleteURL(M._url, O, M._serviceCmd, T);
|
|
2023
|
-
}), z(this, "head", function() {
|
|
2023
|
+
})), z(this, "head", (function() {
|
|
2024
2024
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2025
2025
|
return M._apiLink.headURL(M._url, O);
|
|
2026
|
-
}), z(this, "options", function() {
|
|
2026
|
+
})), z(this, "options", (function() {
|
|
2027
2027
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2028
2028
|
return M._apiLink.options(M._url, O);
|
|
2029
|
-
}), z(this, "onEventEmit", function(O, T) {
|
|
2029
|
+
})), z(this, "onEventEmit", (function(O, T) {
|
|
2030
2030
|
M._apiLink.onEventEmit("DELETE", O, T);
|
|
2031
|
-
}), !y) throw new Error("Please enter the request URL.");
|
|
2031
|
+
})), !y) throw new Error("Please enter the request URL.");
|
|
2032
2032
|
N && N.getIsCachingModule && N.getIsCachingModule() && (this._cachingModule = N), this._eventEmitter = new He(), this._apiLink = new $(this._eventEmitter, this._cachingModule), this._url = y, this._serviceCmd = S;
|
|
2033
|
-
});
|
|
2033
|
+
}));
|
|
2034
2034
|
function je(d) {
|
|
2035
2035
|
return je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
2036
2036
|
return typeof y;
|
|
@@ -2039,9 +2039,9 @@ requestError`);
|
|
|
2039
2039
|
}, je(d);
|
|
2040
2040
|
}
|
|
2041
2041
|
function Ue(d, y) {
|
|
2042
|
-
return function(M) {
|
|
2042
|
+
return (function(M) {
|
|
2043
2043
|
if (Array.isArray(M)) return M;
|
|
2044
|
-
}(d) || function(M, S) {
|
|
2044
|
+
})(d) || (function(M, S) {
|
|
2045
2045
|
var N = M == null ? null : typeof Symbol < "u" && M[Symbol.iterator] || M["@@iterator"];
|
|
2046
2046
|
if (N != null) {
|
|
2047
2047
|
var O, T, G, V, Z = [], ne = !0, Y = !1;
|
|
@@ -2058,16 +2058,16 @@ requestError`);
|
|
|
2058
2058
|
}
|
|
2059
2059
|
return Z;
|
|
2060
2060
|
}
|
|
2061
|
-
}(d, y) || function(M, S) {
|
|
2061
|
+
})(d, y) || (function(M, S) {
|
|
2062
2062
|
if (M) {
|
|
2063
2063
|
if (typeof M == "string") return it(M, S);
|
|
2064
2064
|
var N = {}.toString.call(M).slice(8, -1);
|
|
2065
2065
|
return N === "Object" && M.constructor && (N = M.constructor.name), N === "Map" || N === "Set" ? Array.from(M) : N === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N) ? it(M, S) : void 0;
|
|
2066
2066
|
}
|
|
2067
|
-
}(d, y) || function() {
|
|
2067
|
+
})(d, y) || (function() {
|
|
2068
2068
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2069
2069
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2070
|
-
}();
|
|
2070
|
+
})();
|
|
2071
2071
|
}
|
|
2072
2072
|
function it(d, y) {
|
|
2073
2073
|
(y == null || y > d.length) && (y = d.length);
|
|
@@ -2095,7 +2095,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2095
2095
|
return (y = lt(y)) in d ? Object.defineProperty(d, y, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = M, d;
|
|
2096
2096
|
}
|
|
2097
2097
|
function lt(d) {
|
|
2098
|
-
var y = function(M) {
|
|
2098
|
+
var y = (function(M) {
|
|
2099
2099
|
if (ct(M) != "object" || !M) return M;
|
|
2100
2100
|
var S = M[Symbol.toPrimitive];
|
|
2101
2101
|
if (S !== void 0) {
|
|
@@ -2104,10 +2104,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2104
2104
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2105
2105
|
}
|
|
2106
2106
|
return String(M);
|
|
2107
|
-
}(d);
|
|
2107
|
+
})(d);
|
|
2108
2108
|
return ct(y) == "symbol" ? y : y + "";
|
|
2109
2109
|
}
|
|
2110
|
-
var ae = new ut(), te = new (Ne(function d() {
|
|
2110
|
+
var ae = new ut(), te = new (Ne((function d() {
|
|
2111
2111
|
(function(y, M) {
|
|
2112
2112
|
if (!(y instanceof M)) throw new TypeError("Cannot call a class as a function");
|
|
2113
2113
|
})(this, d), Pe(this, "utils", { isAlpha: function(y) {
|
|
@@ -2195,14 +2195,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2195
2195
|
if (typeof y == "string") {
|
|
2196
2196
|
var S = null, N = null, O = null;
|
|
2197
2197
|
if ((y = (y = te.utils.getToString(y)).split(" ")[0]).includes("-")) {
|
|
2198
|
-
var T = Ue(y.split("-").map(function(V) {
|
|
2198
|
+
var T = Ue(y.split("-").map((function(V) {
|
|
2199
2199
|
return parseInt(V, 10);
|
|
2200
|
-
}), 3);
|
|
2200
|
+
})), 3);
|
|
2201
2201
|
S = T[0], N = T[1], O = T[2];
|
|
2202
2202
|
} else if (y.includes("/")) {
|
|
2203
|
-
var G = Ue(y.split("/").map(function(V) {
|
|
2203
|
+
var G = Ue(y.split("/").map((function(V) {
|
|
2204
2204
|
return parseInt(V, 10);
|
|
2205
|
-
}), 3);
|
|
2205
|
+
})), 3);
|
|
2206
2206
|
S = G[0], N = G[1], O = G[2];
|
|
2207
2207
|
} else {
|
|
2208
2208
|
if (y.length !== 8) return M;
|
|
@@ -2216,9 +2216,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2216
2216
|
if (typeof y == "string") {
|
|
2217
2217
|
var S = null, N = null, O = null, T = (y = te.utils.getToString(y)).split(" ");
|
|
2218
2218
|
if ((y = T.length > 1 ? T[1] : y).includes(":")) {
|
|
2219
|
-
var G = Ue(y.split(":").map(function(V) {
|
|
2219
|
+
var G = Ue(y.split(":").map((function(V) {
|
|
2220
2220
|
return parseInt(V, 10);
|
|
2221
|
-
}), 3);
|
|
2221
|
+
})), 3);
|
|
2222
2222
|
S = G[0], N = G[1], O = G[2];
|
|
2223
2223
|
} else {
|
|
2224
2224
|
if (y.length !== 6) return { h: null, m: null, s: null };
|
|
@@ -2960,13 +2960,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2960
2960
|
var S = M.lastIndexOf(".");
|
|
2961
2961
|
return S === -1 ? M : M.substring(0, S);
|
|
2962
2962
|
}, getDecodeBase64: function(y) {
|
|
2963
|
-
return y = te.utils.getToString(y), decodeURIComponent(Array.prototype.map.call(atob(y), function(M) {
|
|
2963
|
+
return y = te.utils.getToString(y), decodeURIComponent(Array.prototype.map.call(atob(y), (function(M) {
|
|
2964
2964
|
return "%" + ("00" + M.charCodeAt(0).toString(16)).slice(-2);
|
|
2965
|
-
}).join(""));
|
|
2965
|
+
})).join(""));
|
|
2966
2966
|
}, getEncodeBase64: function(y) {
|
|
2967
|
-
return y = te.utils.getToString(y), btoa(encodeURIComponent(y).replace(/%([0-9A-F]{2})/g, function(M, S) {
|
|
2967
|
+
return y = te.utils.getToString(y), btoa(encodeURIComponent(y).replace(/%([0-9A-F]{2})/g, (function(M, S) {
|
|
2968
2968
|
return String.fromCharCode(parseInt(S, 16));
|
|
2969
|
-
}));
|
|
2969
|
+
})));
|
|
2970
2970
|
}, deepCopyObject: function(y, M) {
|
|
2971
2971
|
if (y === null || rt(y) !== "object") return y;
|
|
2972
2972
|
if (y instanceof Response) return y.clone();
|
|
@@ -2983,18 +2983,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2983
2983
|
if (!y) throw new Error("Invalid argument: 'hison' is required.");
|
|
2984
2984
|
if (!y.shield.isHison) throw new Error("Invalid argument: 'hison' must be an instance of Hison.");
|
|
2985
2985
|
var M, S, N = function(O) {
|
|
2986
|
-
return Object.getOwnPropertyNames(O).forEach(function(T) {
|
|
2986
|
+
return Object.getOwnPropertyNames(O).forEach((function(T) {
|
|
2987
2987
|
var G = O[T];
|
|
2988
2988
|
je(G) == "object" && G !== null && N(G);
|
|
2989
|
-
}), Object.freeze(O);
|
|
2989
|
+
})), Object.freeze(O);
|
|
2990
2990
|
};
|
|
2991
2991
|
if (ae.shield.isFreeze && N(y), location.href.indexOf("localhost") < 0) {
|
|
2992
2992
|
if (ae.shield.shieldURL && location.href.indexOf(ae.shield.shieldURL) < 0) return;
|
|
2993
2993
|
M = function(O) {
|
|
2994
2994
|
var T = O && O.ip ? O.ip : "";
|
|
2995
|
-
T && ae.shield.exposeIpList.indexOf(T) >= 0 || (ae.shield.isPossibleGoBack || (history.pushState(null, document.title, location.href), window.addEventListener("popstate", function() {
|
|
2995
|
+
T && ae.shield.exposeIpList.indexOf(T) >= 0 || (ae.shield.isPossibleGoBack || (history.pushState(null, document.title, location.href), window.addEventListener("popstate", (function() {
|
|
2996
2996
|
history.pushState(null, document.title, location.href);
|
|
2997
|
-
})), ae.shield.isPossibleOpenDevTool || function() {
|
|
2997
|
+
}))), ae.shield.isPossibleOpenDevTool || (function() {
|
|
2998
2998
|
var G = "Developer mode is not available.";
|
|
2999
2999
|
function V(Z) {
|
|
3000
3000
|
isNaN(+Z) && (Z = 100);
|
|
@@ -3006,7 +3006,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3006
3006
|
document.onkeydown = function(Z) {
|
|
3007
3007
|
if (Z.key === "F12") return alert(G), Z.preventDefault(), !1;
|
|
3008
3008
|
}, window.addEventListener("load", V), window.addEventListener("resize", V), window.addEventListener("mousemove", V), window.addEventListener("focus", V), window.addEventListener("blur", V);
|
|
3009
|
-
}());
|
|
3009
|
+
})());
|
|
3010
3010
|
}, (S = new XMLHttpRequest()).onreadystatechange = function() {
|
|
3011
3011
|
if (S.readyState === XMLHttpRequest.DONE) if (S.status === 200) {
|
|
3012
3012
|
var O = S.response;
|
|
@@ -3015,7 +3015,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3015
3015
|
}, S.open("get", "/ajax/getIp"), S.responseType = "json", S.send();
|
|
3016
3016
|
}
|
|
3017
3017
|
} }), Pe(this, "data", { DataWrapper: Zt, DataModel: tn }), Pe(this, "link", { CachingModule: I, ApiGet: Mt, ApiPost: x, ApiPut: oe, ApiPatch: b, ApiDelete: Se, ApiGetUrl: Rt, ApiPostUrl: g, ApiPutUrl: de, ApiPatchUrl: _, ApiDeleteUrl: ze });
|
|
3018
|
-
}))(), ht = function() {
|
|
3018
|
+
})))(), ht = function() {
|
|
3019
3019
|
return { setDateFormat: function(d) {
|
|
3020
3020
|
ae.utils.dateFormat = d;
|
|
3021
3021
|
}, setTimeFormat: function(d) {
|
|
@@ -3321,8 +3321,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3321
3321
|
} }, data: te.data, link: te.link };
|
|
3322
3322
|
};
|
|
3323
3323
|
return ht(), o;
|
|
3324
|
-
})());
|
|
3325
|
-
}(di)), di.exports;
|
|
3324
|
+
})()));
|
|
3325
|
+
})(di)), di.exports;
|
|
3326
3326
|
}
|
|
3327
3327
|
var an = td();
|
|
3328
3328
|
const nd = (t, e) => {
|
|
@@ -3330,33 +3330,33 @@ const nd = (t, e) => {
|
|
|
3330
3330
|
};
|
|
3331
3331
|
var ui = { exports: {} }, od = ui.exports, vl;
|
|
3332
3332
|
function rd() {
|
|
3333
|
-
return vl || (vl = 1, function(t, e) {
|
|
3333
|
+
return vl || (vl = 1, (function(t, e) {
|
|
3334
3334
|
(function(n, o) {
|
|
3335
3335
|
t.exports = o();
|
|
3336
|
-
})(typeof self < "u" ? self : typeof xo < "u" ? xo : od, () => (() => {
|
|
3336
|
+
})(typeof self < "u" ? self : typeof xo < "u" ? xo : od, (() => (() => {
|
|
3337
3337
|
var n = { d: (v, w) => {
|
|
3338
3338
|
for (var A in w) n.o(w, A) && !n.o(v, A) && Object.defineProperty(v, A, { enumerable: !0, get: w[A] });
|
|
3339
3339
|
}, o: (v, w) => Object.prototype.hasOwnProperty.call(v, w), r: (v) => {
|
|
3340
3340
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(v, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(v, "__esModule", { value: !0 });
|
|
3341
3341
|
} }, o = {};
|
|
3342
3342
|
n.r(o), n.d(o, { Align: () => r, BasicDataType: () => L, ColorSet: () => c, DateFormat: () => m, MonthFormat: () => C, RowStatus: () => P, SelectionPolicy: () => a, VerticalAlign: () => i, getVanillagrid: () => Mt, getVanillagridConfig: () => Rt });
|
|
3343
|
-
var r = function(v) {
|
|
3343
|
+
var r = (function(v) {
|
|
3344
3344
|
return v.left = "left", v.center = "center", v.right = "right", v;
|
|
3345
|
-
}({}), i = function(v) {
|
|
3345
|
+
})({}), i = (function(v) {
|
|
3346
3346
|
return v.top = "top", v.center = "center", v.bottom = "bottom", v;
|
|
3347
|
-
}({}), a = function(v) {
|
|
3347
|
+
})({}), a = (function(v) {
|
|
3348
3348
|
return v.single = "single", v.range = "range", v.none = "none", v;
|
|
3349
|
-
}({}), c = function(v) {
|
|
3349
|
+
})({}), c = (function(v) {
|
|
3350
3350
|
return v.skyblue = "skyblue", v.blue = "blue", v.light_red = "light-red", v.red = "red", v.light_green = "light-green", v.green = "green", v.orange = "orange", v.yellow = "yellow", v.purple = "purple", v.brown = "brown", v.black = "black", v;
|
|
3351
|
-
}({}), m = function(v) {
|
|
3351
|
+
})({}), m = (function(v) {
|
|
3352
3352
|
return v["yyyy-mm-dd"] = "yyyy-mm-dd", v["yyyy/mm/dd"] = "yyyy/mm/dd", v["yyyy. mm. dd"] = "yyyy. mm. dd", v.yyyymmdd = "yyyymmdd", v["mm-dd-yyyy"] = "mm-dd-yyyy", v["mm/dd/yyyy"] = "mm/dd/yyyy", v["mm. dd. yyyy"] = "mm. dd. yyyy", v.mmddyyyy = "mmddyyyy", v["dd-mm-yyyy"] = "dd-mm-yyyy", v["dd/mm/yyyy"] = "dd/mm/yyyy", v["dd. mm. yyyy"] = "dd. mm. yyyy", v.ddmmyyyy = "ddmmyyyy", v;
|
|
3353
|
-
}({}), C = function(v) {
|
|
3353
|
+
})({}), C = (function(v) {
|
|
3354
3354
|
return v.yyyymm = "yyyymm", v["yyyy-mm"] = "yyyy-mm", v["yyyy/mm"] = "yyyy/mm", v["yyyy. mm"] = "yyyy. mm", v.mmyyyy = "mmyyyy", v["mm-yyyy"] = "mm-yyyy", v["mm/yyyy"] = "mm/yyyy", v["mm. yyyy"] = "mm. yyyy", v;
|
|
3355
|
-
}({}), L = function(v) {
|
|
3355
|
+
})({}), L = (function(v) {
|
|
3356
3356
|
return v.text = "text", v.number = "number", v.date = "date", v.month = "month", v.mask = "mask", v.select = "select", v.checkbox = "checkbox", v.button = "button", v.link = "link", v.code = "code", v;
|
|
3357
|
-
}({}), P = function(v) {
|
|
3357
|
+
})({}), P = (function(v) {
|
|
3358
3358
|
return v.create = "C", v.update = "U", v.delete = "D", v;
|
|
3359
|
-
}({}), W = Object.freeze({ text: "text", number: "number", date: "date", month: "month", mask: "mask", select: "select", checkbox: "checkbox", button: "button", link: "link", code: "code" }), K = Object.freeze({ pixel: "px", percent: "%" }), X = Object.freeze({ left: "left", center: "center", right: "right" }), ee = Object.freeze({ top: "top", center: "center", bottom: "bottom" }), re = Object.freeze({ max: "$$MAX", min: "$$MIN", sum: "$$SUM", avg: "$$AVG" }), fe = Object.freeze({ create: "C", update: "U", delete: "D" }), ye = Object.freeze({ single: "single", range: "range", none: "none" });
|
|
3359
|
+
})({}), W = Object.freeze({ text: "text", number: "number", date: "date", month: "month", mask: "mask", select: "select", checkbox: "checkbox", button: "button", link: "link", code: "code" }), K = Object.freeze({ pixel: "px", percent: "%" }), X = Object.freeze({ left: "left", center: "center", right: "right" }), ee = Object.freeze({ top: "top", center: "center", bottom: "bottom" }), re = Object.freeze({ max: "$$MAX", min: "$$MIN", sum: "$$SUM", avg: "$$AVG" }), fe = Object.freeze({ create: "C", update: "U", delete: "D" }), ye = Object.freeze({ single: "single", range: "range", none: "none" });
|
|
3360
3360
|
function xe(v, w) {
|
|
3361
3361
|
(w == null || w > v.length) && (w = v.length);
|
|
3362
3362
|
for (var A = 0, x = Array(w); A < w; A++) x[A] = v[A];
|
|
@@ -3472,16 +3472,16 @@ function rd() {
|
|
|
3472
3472
|
}, _e = function(v, w) {
|
|
3473
3473
|
return v == null || v === "" ? w : v;
|
|
3474
3474
|
}, bt = function(v) {
|
|
3475
|
-
var w, A = null, x = function(p, B) {
|
|
3475
|
+
var w, A = null, x = (function(p, B) {
|
|
3476
3476
|
var H = typeof Symbol < "u" && p[Symbol.iterator] || p["@@iterator"];
|
|
3477
3477
|
if (!H) {
|
|
3478
|
-
if (Array.isArray(p) || (H = function(se, me) {
|
|
3478
|
+
if (Array.isArray(p) || (H = (function(se, me) {
|
|
3479
3479
|
if (se) {
|
|
3480
3480
|
if (typeof se == "string") return xe(se, me);
|
|
3481
3481
|
var Q = {}.toString.call(se).slice(8, -1);
|
|
3482
3482
|
return Q === "Object" && se.constructor && (Q = se.constructor.name), Q === "Map" || Q === "Set" ? Array.from(se) : Q === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q) ? xe(se, me) : void 0;
|
|
3483
3483
|
}
|
|
3484
|
-
}(p)) || B) {
|
|
3484
|
+
})(p)) || B) {
|
|
3485
3485
|
H && (p = H);
|
|
3486
3486
|
var U = 0, q = function() {
|
|
3487
3487
|
};
|
|
@@ -3509,7 +3509,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3509
3509
|
if (he) throw oe;
|
|
3510
3510
|
}
|
|
3511
3511
|
} };
|
|
3512
|
-
}(v);
|
|
3512
|
+
})(v);
|
|
3513
3513
|
try {
|
|
3514
3514
|
for (x.s(); !(w = x.n()).done; ) {
|
|
3515
3515
|
var g = w.value;
|
|
@@ -3561,37 +3561,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3561
3561
|
if (v > A.length) for (var x = 0; x <= v - A.length; x++) A.push("");
|
|
3562
3562
|
return A.join(";");
|
|
3563
3563
|
}, Lt = function(v) {
|
|
3564
|
-
for (var w = v.data.id, A = "", x = function(H) {
|
|
3564
|
+
for (var w = v.data.id, A = "", x = (function(H) {
|
|
3565
3565
|
var U = H.data.id, q = {};
|
|
3566
3566
|
return q["." + U + "_vanillagrid"] = { width: H.data.gridCssInfo.width, height: H.data.gridCssInfo.height, display: H.data.gridInfo.visible ? "block" : "none", border: "1px solid " + H.data.gridCssInfo.gridBorderColor, overflow: "auto", "background-color": "#fff", margin: H.data.gridCssInfo.margin, padding: H.data.gridCssInfo.padding, "font-family": H.data.gridCssInfo.gridFontFamily }, q["." + U + "_v-g"] = { "background-color": H.data.gridCssInfo.bodyBackColor, display: "flex", position: "relative", "flex-direction": "column", height: "100%", "overflow-x": "auto", "overflow-y": "auto", "-webkit-user-select": "none", "-moz-user-select": "none", "-ms-user-select": "none", "user-select": "none" }, q["." + U + "_v-g-h"] = { position: "sticky", top: "0", "z-index": "250", display: H.data.gridInfo.headerVisible ? "grid" : "none" }, q["." + U + "_v-g-b"] = { "margin-bottom": "22px", display: "grid", position: "relative" }, q["." + U + "_v-g-f"] = { position: "sticky", bottom: "0", "z-index": "250", display: "grid", "margin-top": "auto" }, q["." + U + "_h-v-g-d"] = { "background-color": H.data.gridCssInfo.headerCellBackColor, "justify-content": "center", "text-align": "center", "align-items": H.data.gridCssInfo.verticalAlign, "border-bottom": H.data.gridCssInfo.horizenBorderSize + "px solid " + H.data.gridCssInfo.headerCellBorderColor, "border-right": H.data.gridCssInfo.verticalBorderSize + "px solid " + H.data.gridCssInfo.headerCellBorderColor, color: H.data.gridCssInfo.headerCellFontColor }, q["." + U + "_h-v-g-d select"] = { color: "#333" }, q["." + U + "_h-v-g-d option"] = { color: "#333" }, q["." + U + "_b-v-g-d"] = { "align-items": H.data.gridCssInfo.verticalAlign, "background-color": H.data.gridCssInfo.bodyCellBackColor, "border-bottom": H.data.gridCssInfo.horizenBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor, "border-right": H.data.gridCssInfo.verticalBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor, color: H.data.gridCssInfo.bodyCellFontColor }, q["." + U + "_f-v-g-d"] = { "justify-content": "center", "text-align": "center", "align-items": H.data.gridCssInfo.verticalAlign, "background-color": H.data.gridCssInfo.footerCellBackColor, "border-top": H.data.gridCssInfo.horizenBorderSize + "px solid " + H.data.gridCssInfo.footerCellBorderColor, color: H.data.gridCssInfo.footerCellFontColor }, q["." + U + "_f-v-g-d-value"] = { "border-right": H.data.gridCssInfo.verticalBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor }, q["." + U + "_b-v-g-d-alter"] = { "align-items": H.data.gridCssInfo.verticalAlign, "background-color": H.data.gridCssInfo.alterRowBackColor, "border-bottom": H.data.gridCssInfo.horizenBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor, "border-right": H.data.gridCssInfo.verticalBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor, color: H.data.gridCssInfo.alterRowFontColor }, q["." + U + "_b-v-g-d-locked"] = { "background-color": H.data.gridCssInfo.lockCellBackColor, "border-bottom": H.data.gridCssInfo.horizenBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor, "border-right": H.data.gridCssInfo.verticalBorderSize + "px solid " + H.data.gridCssInfo.bodyCellBorderColor, color: H.data.gridCssInfo.lockCellFontColor }, q["." + U + "_v-g-d"] = { "font-size": H.data.gridCssInfo.cellFontSize, display: "flex", "min-height": H.data.gridCssInfo.cellMinHeight, overflow: "hidden", "white-space": "nowrap", "padding-left": "5px", "padding-right": "5px" }, H.data.gridCssInfo.overflowWrap && (q["." + U + "_v-g-d"]["overflow-wrap"] = H.data.gridCssInfo.overflowWrap), H.data.gridCssInfo.wordBreak && (q["." + U + "_v-g-d"]["word-break"] = H.data.gridCssInfo.wordBreak), H.data.gridCssInfo.whiteSpace && (q["." + U + "_v-g-d"]["white-space"] = H.data.gridCssInfo.whiteSpace), q["." + U + "_editor"] = { "font-size": H.data.gridCssInfo.cellFontSize, "background-color": H.data.gridCssInfo.editorBackColor, border: "none", color: H.data.gridCssInfo.editorFontColor, overflow: "hidden", resize: "none", "box-sizing": "border-box", "font-family": H.data.gridCssInfo.gridFontFamily, "text-align": "inherit" }, q["." + U + "_editor:focus"] = { outline: "none" }, q["." + U + "_mouseover-cell"] = { "background-color": H.data.gridCssInfo.mouseoverCellBackColor + " !important", color: H.data.gridCssInfo.mouseoverCellFontColor + " !important" }, q["." + U + "_selected-cell"] = { "background-color": H.data.gridCssInfo.selectCellBackColor + " !important", color: H.data.gridCssInfo.selectCellFontColor + " !important" }, q["." + U + "_selected-col"] = { "background-color": H.data.gridCssInfo.selectColBackColor, color: H.data.gridCssInfo.selectColFontColor }, q["." + U + "_selected-row"] = { "background-color": H.data.gridCssInfo.selectRowBackColor, color: H.data.gridCssInfo.selectRowFontColor }, q["." + U + "_filterSpan"] = { display: "block", "font-size": "0.8em", "padding-right": "8px", cursor: "pointer" }, q["." + U + "_filterSelect"] = { position: "absolute", "z-index": "300", margin: "5px" }, q["." + U + "_data-value-select"] = { "font-size": H.data.gridCssInfo.cellFontSize, cursor: "pointer", border: "none", background: "none", color: "inherit" }, q["." + U + "_data-value-select:focus"] = { outline: "none" }, q["." + U + "_data-value-checkbox"] = { cursor: "pointer" }, q["." + U + "_data-value-button"] = { "min-width": "95%", height: 0.85 * Ie(H.data.gridCssInfo.cellMinHeight).number + "px", "line-height": 0.85 * Ie(H.data.gridCssInfo.cellMinHeight).number + "px", "font-size": H.data.gridCssInfo.cellFontSize, cursor: "pointer", border: "none", color: H.data.gridCssInfo.buttonFontColor, "background-color": H.data.gridCssInfo.buttonBackColor, "box-shadow": "0.75px 0.75px 1px 0.25px " + H.data.gridCssInfo.buttonBorderColor }, q["." + U + "_data-value-button:hover"] = { color: H.data.gridCssInfo.buttonHoverFontColor, "background-color": H.data.gridCssInfo.buttonHoverBackColor }, q["." + U + "_data-value-button:active"] = { color: H.data.gridCssInfo.buttonActiveFontColor, "background-color": H.data.gridCssInfo.buttonActiveBackColor, "box-shadow": "0px 0px 0.5px 0.25px " + H.data.gridCssInfo.buttonBorderColor }, q["." + U + "_data-value-button:focus"] = { outline: "none" }, q["." + U + "_data-value-button:disabled"] = { opacity: "0.7" }, q["." + U + "_data-value-link"] = { color: H.data.gridCssInfo.linkFontColor, "text-decoration": H.data.gridCssInfo.linkHasUnderLine ? "underline" : "none" }, q["." + U + "_data-value-link:visited"] = { color: H.data.gridCssInfo.linkVisitedFontColor }, q["." + U + "_data-value-link:hover"] = { color: H.data.gridCssInfo.linkHoverFontColor + " !important" }, q["." + U + "_data-value-link:active"] = { color: H.data.gridCssInfo.linkActiveFontColor + " !important" }, q["." + U + "_data-value-link:focus"] = { color: H.data.gridCssInfo.linkFocusFontColor + " !important" }, q;
|
|
3567
|
-
}(v), g = Object.keys(x), p = 0; p < g.length; p++) A = A + g[p] + " {" + dt(x[g[p]]) + `}
|
|
3567
|
+
})(v), g = Object.keys(x), p = 0; p < g.length; p++) A = A + g[p] + " {" + dt(x[g[p]]) + `}
|
|
3568
3568
|
`;
|
|
3569
3569
|
var B = document.getElementById(w + "_styles-sheet");
|
|
3570
3570
|
B ? (Qe(B), B.appendChild(document.createTextNode(A))) : ((B = document.createElement("style")).setAttribute("id", w + "_styles-sheet"), B.styleSheet ? B.styleSheet.cssText = A : B.appendChild(document.createTextNode(A)), document.getElementsByTagName("head")[0].appendChild(B));
|
|
3571
3571
|
}, Xe = function(v) {
|
|
3572
3572
|
var w = v.color;
|
|
3573
3573
|
if (w || (w = "#f3f3f3"), w !== "black" && w !== "#000" && w !== "#000000" && ut(w) === "#000000") throw new Error("Please enter the correct color.");
|
|
3574
|
-
var A = function(p) {
|
|
3574
|
+
var A = (function(p) {
|
|
3575
3575
|
if (!/^#([0-9a-fA-F]{6})$/.test(p)) throw new Error("Invalid HEX color format: ".concat(p));
|
|
3576
3576
|
return parseInt(p.slice(1, 3), 16) + parseInt(p.slice(3, 5), 16) + parseInt(p.slice(5, 7), 16) > 385 ? "light" : "dark";
|
|
3577
|
-
}(w = ut(w)) === "light", x = A ? "#333333" : "#ffffff", g = function(p) {
|
|
3577
|
+
})(w = ut(w)) === "light", x = A ? "#333333" : "#ffffff", g = (function(p) {
|
|
3578
3578
|
p.startsWith("#") && (p = p.slice(1));
|
|
3579
3579
|
var B = parseInt(p.slice(0, 2), 16), H = parseInt(p.slice(2, 4), 16), U = parseInt(p.slice(4, 6), 16);
|
|
3580
3580
|
return B = parseInt(String(210 + B / 255 * 50)), H = parseInt(String(210 + H / 255 * 50)), U = parseInt(String(210 + U / 255 * 50)), "#" + (B < 0 ? 0 : B > 255 ? 248 : B).toString(16).padStart(2, "0") + (H < 0 ? 0 : H > 255 ? 248 : H).toString(16).padStart(2, "0") + (U < 0 ? 0 : U > 255 ? 248 : U).toString(16).padStart(2, "0");
|
|
3581
|
-
}(w);
|
|
3581
|
+
})(w);
|
|
3582
3582
|
v.gridBorderColor = Ye(w, "-4f"), v.bodyBackColor = "#ffffff", v.headerCellBackColor = w, v.headerCellBorderColor = Ye(w, "-4f"), v.headerCellFontColor = x, v.footerCellBackColor = w, v.footerCellBorderColor = Ye(w, "-4f"), v.footerCellFontColor = x, v.bodyCellBackColor = "#ffffff", v.bodyCellBorderColor = Ye(w, "-f"), v.bodyCellFontColor = "#333333", v.editorBackColor = "#fefefe", v.editorFontColor = "#333333", v.selectCellBackColor = Ye(w, "-2f"), v.selectCellFontColor = x, v.selectColBackColor = Ye(w, "-2f"), v.selectColFontColor = x, v.selectRowBackColor = Ye(g, A ? "-f" : "-2f"), v.selectRowFontColor = "#333333", v.mouseoverCellBackColor = w, v.mouseoverCellFontColor = x, v.lockCellBackColor = Ye(g, A ? "-6" : "-1f"), v.lockCellFontColor = "#666666", v.alterRowBackColor = g, v.alterRowFontColor = "#333333", v.buttonFontColor = x, v.buttonBackColor = w, v.buttonBorderColor = Ye(w, A ? "-cf" : "-4f"), v.buttonHoverFontColor = x, v.buttonHoverBackColor = Ye(w, "-f"), v.buttonActiveFontColor = x, v.buttonActiveBackColor = Ye(w, "-2f"), v.linkFontColor = Ye(w, A ? "-cf" : "0"), v.linkHoverFontColor = Ye(w, A ? "-4f" : "af"), v.linkActiveFontColor = Ye(w, A ? "-cf" : "0"), v.linkVisitedFontColor = Ye(w, A ? "-5f" : "2f"), v.linkFocusFontColor = Ye(w, A ? "-4f" : "bf");
|
|
3583
3583
|
}, Ut = function(v) {
|
|
3584
3584
|
v.gridBorderColor = Je(v.gridBorderColor), v.headerCellBackColor = Je(v.headerCellBackColor), v.headerCellBorderColor = Je(v.headerCellBorderColor), v.headerCellFontColor = Je(v.headerCellFontColor), v.footerCellBackColor = Je(v.footerCellBackColor), v.footerCellBorderColor = Je(v.footerCellBorderColor), v.footerCellFontColor = Je(v.footerCellFontColor), v.bodyBackColor = Je(v.bodyBackColor), v.bodyCellBackColor = Je(v.bodyCellBackColor), v.bodyCellBorderColor = Je(v.bodyCellBorderColor), v.bodyCellFontColor = Je(v.bodyCellFontColor), v.editorBackColor = Je(v.editorBackColor), v.editorFontColor = Je(v.editorFontColor), v.selectCellBackColor = Je(v.selectCellBackColor), v.selectCellFontColor = Je(v.selectCellFontColor), v.selectColBackColor = Je(v.selectColBackColor), v.selectColFontColor = Je(v.selectColFontColor), v.selectRowBackColor = Je(v.selectRowBackColor), v.selectRowFontColor = Je(v.selectRowFontColor), v.mouseoverCellBackColor = Je(v.mouseoverCellBackColor), v.mouseoverCellFontColor = Je(v.mouseoverCellFontColor), v.lockCellBackColor = Je(v.lockCellBackColor), v.lockCellFontColor = Je(v.lockCellFontColor), v.alterRowBackColor = Je(v.alterRowBackColor), v.alterRowFontColor = Je(v.alterRowFontColor), v.buttonFontColor = Je(v.buttonFontColor), v.buttonBorderColor = Je(v.buttonBorderColor), v.buttonBackColor = Je(v.buttonBackColor), v.buttonHoverFontColor = Je(v.buttonHoverFontColor), v.buttonHoverBackColor = Je(v.buttonHoverBackColor), v.buttonActiveFontColor = Je(v.buttonActiveFontColor), v.buttonActiveBackColor = Je(v.buttonActiveBackColor), v.linkFontColor = Je(v.linkFontColor), v.linkHoverFontColor = Je(v.linkHoverFontColor), v.linkActiveFontColor = Je(v.linkActiveFontColor), v.linkVisitedFontColor = Je(v.linkVisitedFontColor), v.linkFocusFontColor = Je(v.linkFocusFontColor);
|
|
3585
3585
|
};
|
|
3586
3586
|
function hn(v) {
|
|
3587
|
-
return function(w) {
|
|
3587
|
+
return (function(w) {
|
|
3588
3588
|
if (Array.isArray(w)) return Rn(w);
|
|
3589
|
-
}(v) || function(w) {
|
|
3589
|
+
})(v) || (function(w) {
|
|
3590
3590
|
if (typeof Symbol < "u" && w[Symbol.iterator] != null || w["@@iterator"] != null) return Array.from(w);
|
|
3591
|
-
}(v) || mn(v) || function() {
|
|
3591
|
+
})(v) || mn(v) || (function() {
|
|
3592
3592
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3593
3593
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3594
|
-
}();
|
|
3594
|
+
})();
|
|
3595
3595
|
}
|
|
3596
3596
|
function gt(v, w) {
|
|
3597
3597
|
var A = typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"];
|
|
@@ -3638,14 +3638,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3638
3638
|
return x;
|
|
3639
3639
|
}
|
|
3640
3640
|
function f(v) {
|
|
3641
|
-
return function(w) {
|
|
3641
|
+
return (function(w) {
|
|
3642
3642
|
if (Array.isArray(w)) return I(w);
|
|
3643
|
-
}(v) || function(w) {
|
|
3643
|
+
})(v) || (function(w) {
|
|
3644
3644
|
if (typeof Symbol < "u" && w[Symbol.iterator] != null || w["@@iterator"] != null) return Array.from(w);
|
|
3645
|
-
}(v) || h(v) || function() {
|
|
3645
|
+
})(v) || h(v) || (function() {
|
|
3646
3646
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3647
3647
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3648
|
-
}();
|
|
3648
|
+
})();
|
|
3649
3649
|
}
|
|
3650
3650
|
function h(v, w) {
|
|
3651
3651
|
if (v) {
|
|
@@ -3664,38 +3664,38 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3664
3664
|
return A.cellFontSize = _e(w.getAttribute("cell-font-size"), (A.sizeLevel + 15) / 20 * v.attributes.defaultGridCssInfo.cellFontSize + "px"), A.cellMinHeight = _e(w.getAttribute("cell-min-height"), (A.sizeLevel + 15) / 20 * v.attributes.defaultGridCssInfo.cellMinHeight + "px"), A.colorSet && (A.color = Yn(A.colorSet)), Xe(A), A.invertColor && Ut(A), A;
|
|
3665
3665
|
}, Be = function(v, w, A, x) {
|
|
3666
3666
|
var g, p = [], B = 0, H = 1, U = 0;
|
|
3667
|
-
Array.from(w.querySelectorAll("[data-col]")).forEach(function(he) {
|
|
3667
|
+
Array.from(w.querySelectorAll("[data-col]")).forEach((function(he) {
|
|
3668
3668
|
var se = he.getAttribute("header");
|
|
3669
3669
|
se || (se = he.getAttribute("id")), H = H > se.split(";").length ? H : se.split(";").length, he.getAttribute("footer") && (U = U > he.getAttribute("footer").split(";").length ? U : he.getAttribute("footer").split(";").length), g = he.getAttribute("width") ? " " + he.getAttribute("width") : " " + v.attributes.defaultColInfo.originWidth;
|
|
3670
3670
|
var me = Ie(g).unit;
|
|
3671
3671
|
if (me || (g += "px", me = "px"), !We(K, me)) throw new Error("Width units can only be pixel or %.");
|
|
3672
|
-
});
|
|
3672
|
+
}));
|
|
3673
3673
|
var q = A.rownumVisible ? A.rownumSize + " " : "0px ", oe = A.statusVisible ? "60px " : "0px ", de = { colId: "v-g-rownum", colIndex: 1, name: "rownum", header: Zt(H, ""), untarget: !1, rowMerge: !1, colMerge: !1, colVisible: A.rownumVisible, required: !1, resizable: !1, sortable: !1, filterable: !1, originWidth: q, dataType: "text", selectSize: null, locked: !0, lockedColor: A.rownumLockedColor, format: null, codes: null, defaultCode: null, maxLength: null, maxByte: null, maxNumber: null, minNumber: null, roundNumber: null, filterValues: null, filterValue: null, align: "center", verticalAlign: null, overflowWrap: null, wordBreak: null, whiteSpace: null, backColor: null, fontColor: null, fontBold: !1, fontItalic: !1, fontThruline: !1, fontUnderline: !1, footer: null };
|
|
3674
|
-
return p.push(de), de = { colId: "v-g-status", colIndex: 2, name: "status", header: Zt(H, "status"), untarget: !0, rowMerge: !1, colMerge: !1, colVisible: A.statusVisible, required: !1, resizable: !1, sortable: !1, filterable: !1, originWidth: oe, dataType: "code", selectSize: null, locked: !0, lockedColor: A.statusLockedColor, format: null, codes: ["C", "U", "D"], defaultCode: null, maxLength: null, maxByte: null, maxNumber: null, minNumber: null, roundNumber: null, filterValues: null, filterValue: null, align: "center", verticalAlign: null, overflowWrap: null, wordBreak: null, whiteSpace: null, backColor: null, fontColor: null, fontBold: !1, fontItalic: !1, fontThruline: !1, fontUnderline: !1, footer: null }, p.push(de), B = 2, Array.from(w.querySelectorAll("[data-col]")).forEach(function(he) {
|
|
3674
|
+
return p.push(de), de = { colId: "v-g-status", colIndex: 2, name: "status", header: Zt(H, "status"), untarget: !0, rowMerge: !1, colMerge: !1, colVisible: A.statusVisible, required: !1, resizable: !1, sortable: !1, filterable: !1, originWidth: oe, dataType: "code", selectSize: null, locked: !0, lockedColor: A.statusLockedColor, format: null, codes: ["C", "U", "D"], defaultCode: null, maxLength: null, maxByte: null, maxNumber: null, minNumber: null, roundNumber: null, filterValues: null, filterValue: null, align: "center", verticalAlign: null, overflowWrap: null, wordBreak: null, whiteSpace: null, backColor: null, fontColor: null, fontBold: !1, fontItalic: !1, fontThruline: !1, fontUnderline: !1, footer: null }, p.push(de), B = 2, Array.from(w.querySelectorAll("[data-col]")).forEach((function(he) {
|
|
3675
3675
|
B++;
|
|
3676
3676
|
var se = he.getAttribute("id");
|
|
3677
3677
|
if (!he.getAttribute("id")) throw new Error("Column ID is required.");
|
|
3678
|
-
if (p.some(function(b) {
|
|
3678
|
+
if (p.some((function(b) {
|
|
3679
3679
|
return b.colId === se;
|
|
3680
|
-
})) throw new Error("Column ID is primary key.");
|
|
3680
|
+
}))) throw new Error("Column ID is primary key.");
|
|
3681
3681
|
if (de = { colId: se, colIndex: B, name: _e(he.getAttribute("name"), se), header: Zt(H, _e(he.getAttribute("header"), se)), footer: null, untarget: null, rowMerge: null, colMerge: null, colVisible: null, required: null, resizable: null, sortable: null, filterable: null, originWidth: null, dataType: null, selectSize: null, locked: null, lockedColor: null, format: null, codes: null, defaultCode: null, maxLength: null, maxByte: null, maxNumber: null, minNumber: null, roundNumber: null, filterValues: null, filterValue: null, align: null, verticalAlign: null, overflowWrap: null, wordBreak: null, whiteSpace: null, backColor: null, fontColor: null, fontBold: null, fontItalic: null, fontThruline: null, fontUnderline: null }, he.getAttribute("footer")) {
|
|
3682
3682
|
de.footer = he.getAttribute("footer").split(";");
|
|
3683
3683
|
for (var me = de.footer.length; me < U; me++) de.footer.push("");
|
|
3684
3684
|
}
|
|
3685
3685
|
var Q = Te(he.getAttribute("data-type"));
|
|
3686
3686
|
if (Q || (Q = v.attributes.defaultColInfo.dataType), ![].concat(f(Object.keys(W)), f(Object.keys(v.dataType))).includes(Q)) throw new Error("Please insert a valid dataType.");
|
|
3687
|
-
de.dataType = Q, de.untarget = _e(ft("untarget", he), A.selectionPolicy === "none"), de.rowMerge = _e(ft("row-merge", he), v.attributes.defaultColInfo.rowMerge), de.colMerge = _e(ft("col-merge", he), v.attributes.defaultColInfo.colMerge), de.colVisible = _e(ft("visible", he), v.attributes.defaultColInfo.colVisible), de.required = _e(ft("required", he), v.attributes.defaultColInfo.required), de.resizable = _e(ft("resizable", he), v.attributes.defaultColInfo.resizable), de.sortable = _e(ft("sortable", he), v.attributes.defaultColInfo.sortable), de.filterable = _e(ft("filterable", he), v.attributes.defaultColInfo.filterable), de.dataType === "checkbox" && (de.sortable = !1), g = he.getAttribute("width") ? he.getAttribute("width") : v.attributes.defaultColInfo.originWidth, Ie(g).unit || (g += "px"), de.originWidth = g, de.selectSize = _e(We(K, Ie(he.getAttribute("select-size")).unit) ? he.getAttribute("select-size") : "", v.attributes.defaultColInfo.selectSize), de.locked = _e(ft("locked", he), A.locked), de.lockedColor = _e(ft("locked-color", he), A.lockedColor), de.format = _e(he.getAttribute("format"), v.attributes.defaultColInfo.format), de.codes = he.getAttribute("codes") ? he.getAttribute("codes").split(";") : v.attributes.defaultColInfo.codes, de.defaultCode = _e(he.getAttribute("default-code"), v.attributes.defaultColInfo.defaultCode), de.maxLength = _e(Pt("max-length", he), v.attributes.defaultColInfo.maxLength), de.maxByte = _e(Pt("max-byte", he), v.attributes.defaultColInfo.maxByte), de.maxNumber = _e(Re("max-number", he), v.attributes.defaultColInfo.maxNumber), de.minNumber = _e(Re("min-number", he), v.attributes.defaultColInfo.minNumber), de.roundNumber = _e(function(b, _) {
|
|
3687
|
+
de.dataType = Q, de.untarget = _e(ft("untarget", he), A.selectionPolicy === "none"), de.rowMerge = _e(ft("row-merge", he), v.attributes.defaultColInfo.rowMerge), de.colMerge = _e(ft("col-merge", he), v.attributes.defaultColInfo.colMerge), de.colVisible = _e(ft("visible", he), v.attributes.defaultColInfo.colVisible), de.required = _e(ft("required", he), v.attributes.defaultColInfo.required), de.resizable = _e(ft("resizable", he), v.attributes.defaultColInfo.resizable), de.sortable = _e(ft("sortable", he), v.attributes.defaultColInfo.sortable), de.filterable = _e(ft("filterable", he), v.attributes.defaultColInfo.filterable), de.dataType === "checkbox" && (de.sortable = !1), g = he.getAttribute("width") ? he.getAttribute("width") : v.attributes.defaultColInfo.originWidth, Ie(g).unit || (g += "px"), de.originWidth = g, de.selectSize = _e(We(K, Ie(he.getAttribute("select-size")).unit) ? he.getAttribute("select-size") : "", v.attributes.defaultColInfo.selectSize), de.locked = _e(ft("locked", he), A.locked), de.lockedColor = _e(ft("locked-color", he), A.lockedColor), de.format = _e(he.getAttribute("format"), v.attributes.defaultColInfo.format), de.codes = he.getAttribute("codes") ? he.getAttribute("codes").split(";") : v.attributes.defaultColInfo.codes, de.defaultCode = _e(he.getAttribute("default-code"), v.attributes.defaultColInfo.defaultCode), de.maxLength = _e(Pt("max-length", he), v.attributes.defaultColInfo.maxLength), de.maxByte = _e(Pt("max-byte", he), v.attributes.defaultColInfo.maxByte), de.maxNumber = _e(Re("max-number", he), v.attributes.defaultColInfo.maxNumber), de.minNumber = _e(Re("min-number", he), v.attributes.defaultColInfo.minNumber), de.roundNumber = _e((function(b, _) {
|
|
3688
3688
|
var R = _.getAttribute("round-number");
|
|
3689
3689
|
if (R == null || R === "") return null;
|
|
3690
3690
|
var F = Number(R);
|
|
3691
3691
|
return Number.isInteger(F) ? F : null;
|
|
3692
|
-
}(0, he), v.attributes.defaultColInfo.roundNumber), de.filterValues = /* @__PURE__ */ new Set(), de.filterValue = de.filterable ? "$$ALL" : null;
|
|
3692
|
+
})(0, he), v.attributes.defaultColInfo.roundNumber), de.filterValues = /* @__PURE__ */ new Set(), de.filterValue = de.filterable ? "$$ALL" : null;
|
|
3693
3693
|
var u = x._getColDefaultAlign(de.dataType);
|
|
3694
3694
|
de.align = _e(We(X, Te(he.getAttribute("align"))) ? Te(he.getAttribute("align")) : "", u), de.verticalAlign = _e(We(ee, Te(he.getAttribute("vertical-align"))) ? Te(he.getAttribute("vertical-align")) : "", v.attributes.defaultColInfo.verticalAlign), de.overflowWrap = _e(he.getAttribute("overflow-wrap"), v.attributes.defaultColInfo.overflowWrap), de.wordBreak = _e(he.getAttribute("word-break"), v.attributes.defaultColInfo.wordBreak), de.whiteSpace = _e(he.getAttribute("white-space"), v.attributes.defaultColInfo.whiteSpace), de.backColor = _e(Te(he.getAttribute("back-color")), v.attributes.defaultColInfo.backColor), de.fontColor = _e(Te(he.getAttribute("font-color")), v.attributes.defaultColInfo.fontColor), de.fontBold = _e(ft("font-bold", he), v.attributes.defaultColInfo.fontBold), de.fontItalic = _e(ft("font-italic", he), v.attributes.defaultColInfo.fontItalic), de.fontThruline = _e(ft("font-thruline", he), v.attributes.defaultColInfo.fontThruline), de.fontUnderline = _e(ft("font-underline", he), v.attributes.defaultColInfo.fontUnderline), p.push(de), w.removeChild(he);
|
|
3695
|
-
}), p;
|
|
3695
|
+
})), p;
|
|
3696
3696
|
}, tt = function(v, w, A, x) {
|
|
3697
3697
|
if (!v._initialized) throw new Error("Please initialize vanillagrid");
|
|
3698
|
-
var g, p = function(H) {
|
|
3698
|
+
var g, p = (function(H) {
|
|
3699
3699
|
var U = typeof Symbol < "u" && H[Symbol.iterator] || H["@@iterator"];
|
|
3700
3700
|
if (!U) {
|
|
3701
3701
|
if (Array.isArray(H) || (U = h(H))) {
|
|
@@ -3726,13 +3726,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3726
3726
|
if (se) throw de;
|
|
3727
3727
|
}
|
|
3728
3728
|
} };
|
|
3729
|
-
}((x || document).querySelectorAll("[data-vanillagrid]"));
|
|
3729
|
+
})((x || document).querySelectorAll("[data-vanillagrid]"));
|
|
3730
3730
|
try {
|
|
3731
3731
|
var B = function() {
|
|
3732
|
-
var H = g.value, U = function(Q, u) {
|
|
3732
|
+
var H = g.value, U = (function(Q, u) {
|
|
3733
3733
|
if (u.getAttribute(Q)) return u.getAttribute(Q);
|
|
3734
3734
|
throw new Error("'" + Q + "' is required.");
|
|
3735
|
-
}("data-id", H);
|
|
3735
|
+
})("data-id", H);
|
|
3736
3736
|
if (w[U]) throw new Error("There is a duplicate grid ID.");
|
|
3737
3737
|
H.classList.add(U + "_vanillagrid"), H._gridId = U;
|
|
3738
3738
|
var q = document.createElement("div");
|
|
@@ -3743,11 +3743,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3743
3743
|
de._gridId = U, de._type = "gb", de.classList.add(U + "_v-g-b"), de._gridBodyCells = [];
|
|
3744
3744
|
var he = document.createElement("div");
|
|
3745
3745
|
he._gridId = U, he._type = "gf", he.classList.add(U + "_v-g-f"), he._gridFooterCells = [];
|
|
3746
|
-
var se = function(Q, u) {
|
|
3746
|
+
var se = (function(Q, u) {
|
|
3747
3747
|
var b = { name: _e(u.getAttribute("name"), u.getAttribute("data-id")), locked: _e(ft("locked", u), Q.attributes.defaultGridInfo.locked), lockedColor: _e(ft("locked-color", u), Q.attributes.defaultGridInfo.lockedColor), resizable: _e(ft("resizable", u), Q.attributes.defaultGridInfo.resizable), redoable: _e(ft("redoable", u), Q.attributes.defaultGridInfo.redoable), redoCount: _e(Pt("redo-count", u), Q.attributes.defaultGridInfo.redoCount), visible: _e(ft("visible", u), Q.attributes.defaultGridInfo.visible), headerVisible: _e(ft("header-visible", u), Q.attributes.defaultGridInfo.headerVisible), rownumVisible: _e(ft("rownum-visible", u), Q.attributes.defaultGridInfo.rownumVisible), rownumSize: _e(u.getAttribute("rownum-size"), Q.attributes.defaultGridInfo.rownumSize), statusVisible: _e(ft("status-visible", u), Q.attributes.defaultGridInfo.statusVisible), selectionPolicy: _e(We(ye, Te(u.getAttribute("selection-policy"))) ? Te(u.getAttribute("selection-policy")) : "", Q.attributes.defaultGridInfo.selectionPolicy), nullValue: _e(u.getAttribute("null-value"), Q.attributes.defaultGridInfo.nullValue), dateFormat: _e(u.getAttribute("date-format"), Q.attributes.defaultGridInfo.dateFormat), monthFormat: _e(u.getAttribute("month-format"), Q.attributes.defaultGridInfo.monthFormat), alterRow: _e(ft("alter-row", u), Q.attributes.defaultGridInfo.alterRow), frozenColCount: _e(Pt("frozen-col-count", u), Q.attributes.defaultGridInfo.frozenColCount), frozenRowCount: _e(Pt("frozen-row-count", u), Q.attributes.defaultGridInfo.frozenRowCount), sortable: _e(ft("sortable", u), Q.attributes.defaultGridInfo.sortable), filterable: _e(ft("filterable", u), Q.attributes.defaultGridInfo.filterable), allCheckable: _e(ft("all-checkable", u), Q.attributes.defaultGridInfo.allCheckable), checkedValue: _e(u.getAttribute("checked-value"), Q.attributes.defaultGridInfo.checkedValue), uncheckedValue: _e(u.getAttribute("unchecked-value"), Q.attributes.defaultGridInfo.uncheckedValue), rownumLockedColor: null, statusLockedColor: null };
|
|
3748
3748
|
if (b.rownumLockedColor = _e(ft("rownum-locked-color", u), b.locked), b.statusLockedColor = _e(ft("status-locked-color", u), b.locked), b.checkedValue === b.uncheckedValue) throw new Error("Checked and unchecked values cannot be the same.");
|
|
3749
3749
|
return b;
|
|
3750
|
-
}(v, H), me = { data: { id: U, gridInfo: se, gridCssInfo: be(v, H), colInfos: Be(v, H, se, A), variables: { activeRows: [], activeCols: [], activeCells: [], targetCell: null, records: [], recordseq: 0, sortToggle: {}, filters: [], isDrawable: !0 } }, events: { onActiveCell: function(Q, u) {
|
|
3750
|
+
})(v, H), me = { data: { id: U, gridInfo: se, gridCssInfo: be(v, H), colInfos: Be(v, H, se, A), variables: { activeRows: [], activeCols: [], activeCells: [], targetCell: null, records: [], recordseq: 0, sortToggle: {}, filters: [], isDrawable: !0 } }, events: { onActiveCell: function(Q, u) {
|
|
3751
3751
|
return !0;
|
|
3752
3752
|
}, onActiveCells: function(Q, u, b, _) {
|
|
3753
3753
|
return !0;
|
|
@@ -3814,7 +3814,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3814
3814
|
}, gridElement_mousemove: function(Q) {
|
|
3815
3815
|
}, gridElement_mouseleave: function(Q) {
|
|
3816
3816
|
} }, methods: {}, elements: { grid: q, gridHeader: oe, gridBody: de, gridFooter: he }, _isMounted: !1 };
|
|
3817
|
-
w[U] = me, me.methods = /* @__PURE__ */ function(Q, u, b) {
|
|
3817
|
+
w[U] = me, me.methods = /* @__PURE__ */ (function(Q, u, b) {
|
|
3818
3818
|
return { getDefualtGridInfo: function() {
|
|
3819
3819
|
return Q.attributes.defaultGridInfo;
|
|
3820
3820
|
}, getDefualtGridCssInfo: function() {
|
|
@@ -4053,7 +4053,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4053
4053
|
}, setGridVerticalAlign: function(_) {
|
|
4054
4054
|
if (!_) throw new Error("Please insert vertical align.");
|
|
4055
4055
|
if (!We(ee, _)) throw new Error("Please insert valid vertical align. (top, center, bottom)");
|
|
4056
|
-
var R = function(F) {
|
|
4056
|
+
var R = (function(F) {
|
|
4057
4057
|
switch (Te(F)) {
|
|
4058
4058
|
case "top":
|
|
4059
4059
|
return "flex-start";
|
|
@@ -4062,7 +4062,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4062
4062
|
default:
|
|
4063
4063
|
return "center";
|
|
4064
4064
|
}
|
|
4065
|
-
}(_);
|
|
4065
|
+
})(_);
|
|
4066
4066
|
return u.data.gridCssInfo.verticalAlign = R, Lt(u), !0;
|
|
4067
4067
|
}, setCellFontSize: function(_) {
|
|
4068
4068
|
if (!_) throw new Error("Please insert cssText of cell font size.");
|
|
@@ -4089,18 +4089,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4089
4089
|
return u.data.gridInfo.name;
|
|
4090
4090
|
}, setGridLocked: function(_) {
|
|
4091
4091
|
if (typeof _ != "boolean") throw new Error("Please insert a boolean type.");
|
|
4092
|
-
u.data.gridInfo.locked = _, u.data.colInfos.forEach(function(F, D) {
|
|
4092
|
+
u.data.gridInfo.locked = _, u.data.colInfos.forEach((function(F, D) {
|
|
4093
4093
|
D >= 2 && (F.locked = _);
|
|
4094
|
-
});
|
|
4094
|
+
}));
|
|
4095
4095
|
var R = b.___getDatasWithoutExceptedProperty(u.data.id, ["locked"]);
|
|
4096
4096
|
return u.methods.load(R), !0;
|
|
4097
4097
|
}, isGridLocked: function() {
|
|
4098
4098
|
return u.data.gridInfo.locked;
|
|
4099
4099
|
}, setGridLockedColor: function(_) {
|
|
4100
4100
|
if (typeof _ != "boolean") throw new Error("Please insert a boolean type.");
|
|
4101
|
-
u.data.gridInfo.lockedColor = _, u.data.colInfos.forEach(function(F, D) {
|
|
4101
|
+
u.data.gridInfo.lockedColor = _, u.data.colInfos.forEach((function(F, D) {
|
|
4102
4102
|
D >= 2 && (F.lockedColor = _);
|
|
4103
|
-
});
|
|
4103
|
+
}));
|
|
4104
4104
|
var R = b.___getDatasWithoutExceptedProperty(u.data.id, ["lockedColor"]);
|
|
4105
4105
|
return u.methods.load(R), !0;
|
|
4106
4106
|
}, setGridResizable: function(_) {
|
|
@@ -4274,9 +4274,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4274
4274
|
if (F < 2) throw new Error("You cannot add new columns between the row number and status columns.");
|
|
4275
4275
|
(!F || F > u.methods.getColCount()) && (F = u.methods.getColCount());
|
|
4276
4276
|
var D = b.__getDefaultColInfo(u.data.id, R, !0), z = u.methods.getDatas();
|
|
4277
|
-
u.data.colInfos.splice(F, 0, D), u.data.colInfos.forEach(function(ze, je) {
|
|
4277
|
+
u.data.colInfos.splice(F, 0, D), u.data.colInfos.forEach((function(ze, je) {
|
|
4278
4278
|
ze.colIndex = je + 1;
|
|
4279
|
-
});
|
|
4279
|
+
}));
|
|
4280
4280
|
for (var pe = 1; pe <= u.methods.getRowCount(); pe++) {
|
|
4281
4281
|
var Se = b.__getCellData(u.data.colInfos[F], pe);
|
|
4282
4282
|
z[pe - 1].splice(F, 0, Se);
|
|
@@ -4286,9 +4286,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4286
4286
|
var R = b.__getColIndex(u.data.id, _, !0);
|
|
4287
4287
|
if (R <= 2) throw new Error("The row number or status columns cannot be removed.");
|
|
4288
4288
|
var F = u.methods.getColValues(R);
|
|
4289
|
-
u.data.colInfos.splice(R - 1, 1), u.data.colInfos.forEach(function(z, pe) {
|
|
4289
|
+
u.data.colInfos.splice(R - 1, 1), u.data.colInfos.forEach((function(z, pe) {
|
|
4290
4290
|
z.colIndex = pe + 1;
|
|
4291
|
-
});
|
|
4291
|
+
}));
|
|
4292
4292
|
var D = u.methods.getDatas();
|
|
4293
4293
|
return b.__loadHeader(u.data.id), b.__loadFooter(u.data.id), u.methods.load(D), F;
|
|
4294
4294
|
}, setColInfo: function(_) {
|
|
@@ -4299,11 +4299,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4299
4299
|
var F = b.__getColIndex(u.data.id, R, !0);
|
|
4300
4300
|
if (F <= 2) throw new Error("The row number or status columns are immutable.");
|
|
4301
4301
|
var D = u.data.colInfos[F - 1];
|
|
4302
|
-
Object.keys(_).forEach(function(pe) {
|
|
4302
|
+
Object.keys(_).forEach((function(pe) {
|
|
4303
4303
|
Object.prototype.hasOwnProperty.call(D, pe) && _[pe] !== void 0 && (D[pe] = _[pe]);
|
|
4304
|
-
}), D.name || (D.name = D.colId), D.header || (D.header = Zt(u.methods.getHeaderRowCount(), D.colId));
|
|
4304
|
+
})), D.name || (D.name = D.colId), D.header || (D.header = Zt(u.methods.getHeaderRowCount(), D.colId));
|
|
4305
4305
|
var z = u.methods.getDatas();
|
|
4306
|
-
return z.forEach(function(pe) {
|
|
4306
|
+
return z.forEach((function(pe) {
|
|
4307
4307
|
var Se, ze = gt(pe);
|
|
4308
4308
|
try {
|
|
4309
4309
|
for (ze.s(); !(Se = ze.n()).done; ) {
|
|
@@ -4315,7 +4315,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4315
4315
|
} finally {
|
|
4316
4316
|
ze.f();
|
|
4317
4317
|
}
|
|
4318
|
-
}), b.__loadHeader(u.data.id), u.methods.load(z), b.__loadFooter(u.data.id), !0;
|
|
4318
|
+
})), b.__loadHeader(u.data.id), u.methods.load(z), b.__loadFooter(u.data.id), !0;
|
|
4319
4319
|
}, getColInfo: function(_) {
|
|
4320
4320
|
var R = b.__getColInfo(u.data.id, _);
|
|
4321
4321
|
return { colId: R.colId, colIndex: R.colIndex, name: R.name, header: R.header, footer: R.footer, untarget: R.untarget, colVisible: R.colVisible, required: R.required, resizable: R.resizable, originWidth: R.originWidth, dataType: R.dataType, selectSize: R.selectSize, locked: R.locked, lockedColor: R.lockedColor, format: R.format, codes: ot(R.codes), defaultCode: R.defaultCode, maxLength: R.maxLength, maxByte: R.maxByte, maxNumber: R.maxNumber, minNumber: R.minNumber, roundNumber: R.roundNumber, align: R.align, verticalAlign: R.verticalAlign, overflowWrap: R.overflowWrap, wordBreak: R.wordBreak, whiteSpace: R.whiteSpace, backColor: R.backColor, fontColor: R.fontColor, fontBold: R.fontBold, fontItalic: R.fontItalic, fontThruline: R.fontThruline, fontUnderline: R.fontUnderline, rowMerge: R.rowMerge, colMerge: R.colMerge, sortable: R.sortable, filterable: R.filterable, filterValues: ot(R.filterValues), filterValue: ot(R.filterValue) };
|
|
@@ -5002,7 +5002,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5002
5002
|
}, searchRowsWithMatched: function(_) {
|
|
5003
5003
|
if (_.constructor !== Object) throw new Error("Please insert a valid matches. (Object)");
|
|
5004
5004
|
var R, F = [];
|
|
5005
|
-
return u.elements.gridBody._gridBodyCells.forEach(function(D, z) {
|
|
5005
|
+
return u.elements.gridBody._gridBodyCells.forEach((function(D, z) {
|
|
5006
5006
|
R = !0;
|
|
5007
5007
|
var pe, Se = gt(D);
|
|
5008
5008
|
try {
|
|
@@ -5019,31 +5019,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5019
5019
|
Se.f();
|
|
5020
5020
|
}
|
|
5021
5021
|
R && F.push(z + 1);
|
|
5022
|
-
}), F;
|
|
5022
|
+
})), F;
|
|
5023
5023
|
}, searchRowDatasWithMatched: function(_) {
|
|
5024
5024
|
var R = u.methods.searchRowsWithMatched(_), F = [];
|
|
5025
|
-
return R.forEach(function(D) {
|
|
5025
|
+
return R.forEach((function(D) {
|
|
5026
5026
|
F.push(u.methods.getRowDatas(D));
|
|
5027
|
-
}), F;
|
|
5027
|
+
})), F;
|
|
5028
5028
|
}, searchRowValuesWithMatched: function(_) {
|
|
5029
5029
|
var R = u.methods.searchRowsWithMatched(_), F = [];
|
|
5030
|
-
return R.forEach(function(D) {
|
|
5030
|
+
return R.forEach((function(D) {
|
|
5031
5031
|
F.push(u.methods.getRowValues(D));
|
|
5032
|
-
}), F;
|
|
5032
|
+
})), F;
|
|
5033
5033
|
}, searchRowsWithFunction: function(_) {
|
|
5034
5034
|
if (typeof _ != "function") throw new Error("Please insert a valid function.");
|
|
5035
5035
|
for (var R = [], F = 1; F <= u.methods.getRowCount(); F++) _(u.methods.getRowDatas(F)) && R.push(F);
|
|
5036
5036
|
return R;
|
|
5037
5037
|
}, searchRowDatasWithFunction: function(_) {
|
|
5038
5038
|
var R = u.methods.searchRowsWithFunction(_), F = [];
|
|
5039
|
-
return R.forEach(function(D) {
|
|
5039
|
+
return R.forEach((function(D) {
|
|
5040
5040
|
F.push(u.methods.getRowDatas(D));
|
|
5041
|
-
}), F;
|
|
5041
|
+
})), F;
|
|
5042
5042
|
}, searchRowValuesWithFunction: function(_) {
|
|
5043
5043
|
var R = u.methods.searchRowsWithFunction(_), F = [];
|
|
5044
|
-
return R.forEach(function(D) {
|
|
5044
|
+
return R.forEach((function(D) {
|
|
5045
5045
|
F.push(u.methods.getRowValues(D));
|
|
5046
|
-
}), F;
|
|
5046
|
+
})), F;
|
|
5047
5047
|
}, setCellData: function(_, R, F) {
|
|
5048
5048
|
return b.__setCellData(u.data.id, _, R, F);
|
|
5049
5049
|
}, getCellData: function(_, R) {
|
|
@@ -5321,9 +5321,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5321
5321
|
return u.data.variables.activeRows;
|
|
5322
5322
|
}, getActiveCols: function() {
|
|
5323
5323
|
var _ = [];
|
|
5324
|
-
return u.data.variables.activeCols.forEach(function(R) {
|
|
5324
|
+
return u.data.variables.activeCols.forEach((function(R) {
|
|
5325
5325
|
_.push(b.__getColInfo(u.data.id, R).colId);
|
|
5326
|
-
}), _;
|
|
5326
|
+
})), _;
|
|
5327
5327
|
}, getActiveRange: function() {
|
|
5328
5328
|
var _ = { startRow: null, startColId: null, endRow: null, endColId: null }, R = u.data.variables.activeCells;
|
|
5329
5329
|
return R.length > 0 && (_.startRow = R[0].rowIndex, _.startColId = R[0].colId, _.endRow = R[R.length - 1].rowIndex, _.endColId = R[R.length - 1].colId), _;
|
|
@@ -5338,7 +5338,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5338
5338
|
}, undo: function() {
|
|
5339
5339
|
return b.redoundo(u.data.id, !1);
|
|
5340
5340
|
} };
|
|
5341
|
-
}(v, me, A), Lt(me), me.hendler.gridHeader_dblclick = function(Q) {
|
|
5341
|
+
})(v, me, A), Lt(me), me.hendler.gridHeader_dblclick = function(Q) {
|
|
5342
5342
|
if (!v._status.onHeaderDragging) {
|
|
5343
5343
|
var u;
|
|
5344
5344
|
if (Q.target._type === "ghd") u = Q.target;
|
|
@@ -5357,9 +5357,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5357
5357
|
} else if (Q.target._type === "filter") {
|
|
5358
5358
|
if (u = Q.target.parentNode, me.events.onClickFilter(u.rowIndex, u.colId, Q.target) === !1) return Q.stopPropagation(), void Q.preventDefault();
|
|
5359
5359
|
var b = u.parentNode.querySelectorAll("." + u._gridId + "_filterSelect"), _ = Q.target.querySelectorAll("." + u._gridId + "_filterSelect")[0];
|
|
5360
|
-
b.forEach(function(R) {
|
|
5360
|
+
b.forEach((function(R) {
|
|
5361
5361
|
_ !== R && R.value === "ALL" && (R.style.display = "none");
|
|
5362
|
-
}), _.style.display === "none" ? _.style.display = "block" : _.style.display = "none";
|
|
5362
|
+
})), _.style.display === "none" ? _.style.display = "block" : _.style.display = "none";
|
|
5363
5363
|
}
|
|
5364
5364
|
}, oe.addEventListener("click", me.hendler.gridHeader_click), me.hendler.gridBody_mousemove = function(Q) {
|
|
5365
5365
|
v._status.isDragging && (v._status.mouseX = Q.clientX, v._status.mouseY = Q.clientY);
|
|
@@ -5388,12 +5388,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5388
5388
|
case "link":
|
|
5389
5389
|
if (me.events.onClickLink(u.rowIndex, u.colId, Q.target) === !1) return Q.stopPropagation(), void Q.preventDefault();
|
|
5390
5390
|
}
|
|
5391
|
-
Object.keys(v.dataType).forEach(function(b) {
|
|
5391
|
+
Object.keys(v.dataType).forEach((function(b) {
|
|
5392
5392
|
if (u.dataType === b && v.dataType[b].onClick) {
|
|
5393
5393
|
if (typeof v.dataType[b].onClick != "function") throw new Error("onClick must be a function.");
|
|
5394
5394
|
if (v.dataType[b].onClick(Q, u._gridId, A.__getData(u)) === !1) return;
|
|
5395
5395
|
}
|
|
5396
|
-
}), me.events.onAfterClickCell(u.rowIndex, u.colId);
|
|
5396
|
+
})), me.events.onAfterClickCell(u.rowIndex, u.colId);
|
|
5397
5397
|
}
|
|
5398
5398
|
}, q.addEventListener("click", me.hendler.gridElement_click), me.hendler.gridElement_mousedown = function(Q) {
|
|
5399
5399
|
var u;
|
|
@@ -5402,12 +5402,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5402
5402
|
if (me.events.onBeforeClickCell(u.rowIndex, u.colId) === !1 || me.events.onClickSelect(u.rowIndex, u.colId, Q.target) === !1) return Q.stopPropagation(), void Q.preventDefault();
|
|
5403
5403
|
v._status.editOldValue = Q.target.value;
|
|
5404
5404
|
}
|
|
5405
|
-
Object.keys(v.dataType).forEach(function(b) {
|
|
5405
|
+
Object.keys(v.dataType).forEach((function(b) {
|
|
5406
5406
|
if (u.dataType === b && v.dataType[b].onMousedown) {
|
|
5407
5407
|
if (typeof v.dataType[b].onMousedown != "function") throw new Error("onMousedown must be a function.");
|
|
5408
5408
|
if (v.dataType[b].onMousedown(Q, u._gridId, A.__getData(u)) === !1) return;
|
|
5409
5409
|
}
|
|
5410
|
-
}), v._status.activeGrid = me, v._status.isDragging = !0, me.data.gridInfo.selectionPolicy === "range" && Q.shiftKey && me.data.variables.targetCell ? (A.unselectCells(me.data.id), A.selectCells(me.data.variables.targetCell, u)) : A.selectCell(u);
|
|
5410
|
+
})), v._status.activeGrid = me, v._status.isDragging = !0, me.data.gridInfo.selectionPolicy === "range" && Q.shiftKey && me.data.variables.targetCell ? (A.unselectCells(me.data.id), A.selectCells(me.data.variables.targetCell, u)) : A.selectCell(u);
|
|
5411
5411
|
}
|
|
5412
5412
|
}, q.addEventListener("mousedown", me.hendler.gridElement_mousedown), me.hendler.gridElement_mousemove = function(Q) {
|
|
5413
5413
|
var u;
|
|
@@ -5424,14 +5424,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5424
5424
|
}
|
|
5425
5425
|
};
|
|
5426
5426
|
function Ge(v) {
|
|
5427
|
-
return function(w) {
|
|
5427
|
+
return (function(w) {
|
|
5428
5428
|
if (Array.isArray(w)) return s(w);
|
|
5429
|
-
}(v) || function(w) {
|
|
5429
|
+
})(v) || (function(w) {
|
|
5430
5430
|
if (typeof Symbol < "u" && w[Symbol.iterator] != null || w["@@iterator"] != null) return Array.from(w);
|
|
5431
|
-
}(v) || E(v) || function() {
|
|
5431
|
+
})(v) || E(v) || (function() {
|
|
5432
5432
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5433
5433
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
5434
|
-
}();
|
|
5434
|
+
})();
|
|
5435
5435
|
}
|
|
5436
5436
|
function j(v, w) {
|
|
5437
5437
|
var A = typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"];
|
|
@@ -5478,14 +5478,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5478
5478
|
return x;
|
|
5479
5479
|
}
|
|
5480
5480
|
function l(v) {
|
|
5481
|
-
return function(w) {
|
|
5481
|
+
return (function(w) {
|
|
5482
5482
|
if (Array.isArray(w)) return J(w);
|
|
5483
|
-
}(v) || function(w) {
|
|
5483
|
+
})(v) || (function(w) {
|
|
5484
5484
|
if (typeof Symbol < "u" && w[Symbol.iterator] != null || w["@@iterator"] != null) return Array.from(w);
|
|
5485
|
-
}(v) || $(v) || function() {
|
|
5485
|
+
})(v) || $(v) || (function() {
|
|
5486
5486
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5487
5487
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
5488
|
-
}();
|
|
5488
|
+
})();
|
|
5489
5489
|
}
|
|
5490
5490
|
function k(v, w) {
|
|
5491
5491
|
var A = typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"];
|
|
@@ -5532,14 +5532,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5532
5532
|
return x;
|
|
5533
5533
|
}
|
|
5534
5534
|
function ie(v) {
|
|
5535
|
-
return function(w) {
|
|
5535
|
+
return (function(w) {
|
|
5536
5536
|
if (Array.isArray(w)) return He(w);
|
|
5537
|
-
}(v) || function(w) {
|
|
5537
|
+
})(v) || (function(w) {
|
|
5538
5538
|
if (typeof Symbol < "u" && w[Symbol.iterator] != null || w["@@iterator"] != null) return Array.from(w);
|
|
5539
|
-
}(v) || Ce(v) || function() {
|
|
5539
|
+
})(v) || Ce(v) || (function() {
|
|
5540
5540
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5541
5541
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
5542
|
-
}();
|
|
5542
|
+
})();
|
|
5543
5543
|
}
|
|
5544
5544
|
function ge(v, w) {
|
|
5545
5545
|
var A = typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"];
|
|
@@ -5588,13 +5588,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5588
5588
|
function Le(v, w) {
|
|
5589
5589
|
var A = typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"];
|
|
5590
5590
|
if (!A) {
|
|
5591
|
-
if (Array.isArray(v) || (A = function(U, q) {
|
|
5591
|
+
if (Array.isArray(v) || (A = (function(U, q) {
|
|
5592
5592
|
if (U) {
|
|
5593
5593
|
if (typeof U == "string") return Ke(U, q);
|
|
5594
5594
|
var oe = {}.toString.call(U).slice(8, -1);
|
|
5595
5595
|
return oe === "Object" && U.constructor && (oe = U.constructor.name), oe === "Map" || oe === "Set" ? Array.from(U) : oe === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe) ? Ke(U, q) : void 0;
|
|
5596
5596
|
}
|
|
5597
|
-
}(v)) || w) {
|
|
5597
|
+
})(v)) || w) {
|
|
5598
5598
|
A && (v = A);
|
|
5599
5599
|
var x = 0, g = function() {
|
|
5600
5600
|
};
|
|
@@ -5743,17 +5743,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5743
5743
|
}, unmountGrid: function(w) {
|
|
5744
5744
|
(function(A, x, g) {
|
|
5745
5745
|
if (!A._initialized) throw new Error("Please initialize vanillagrid");
|
|
5746
|
-
(g || document).querySelectorAll("[data-vanillagrid]").forEach(function(p) {
|
|
5746
|
+
(g || document).querySelectorAll("[data-vanillagrid]").forEach((function(p) {
|
|
5747
5747
|
var B = x[p._gridId];
|
|
5748
5748
|
B._isMounted && (B.elements.gridHeader.removeEventListener("dblclick", B.hendler.gridHeader_dblclick), B.elements.gridHeader.removeEventListener("click", B.hendler.gridHeader_click), B.elements.gridBody.removeEventListener("mousemove", B.hendler.gridBody_mousemove), B.elements.gridBody.removeEventListener("mouseleave", B.hendler.gridBody_mouseleave), B.elements.gridBody.removeEventListener("mouseenter", B.hendler.gridBody_mouseenter), B.elements.gridBody.removeEventListener("dblclick", B.hendler.gridBody_dblclick), B.elements.grid.removeEventListener("click", B.hendler.gridElement_click), B.elements.grid.removeEventListener("mousedown", B.hendler.gridElement_mousedown), B.elements.grid.removeEventListener("mousemove", B.hendler.gridElement_mousemove), B.elements.grid.removeEventListener("mouseleave", B.hendler.gridElement_mouseleave), Qe(p), delete x[p._gridId]);
|
|
5749
|
-
});
|
|
5749
|
+
}));
|
|
5750
5750
|
})(Ze, et, w);
|
|
5751
5751
|
}, _initialized: !1 }, Ze);
|
|
5752
5752
|
}, Rt = function() {
|
|
5753
5753
|
return { elements: { sortAscSpan: null, sortDescSpan: null, filterSpan: null }, footerFormula: {}, dataType: {}, attributes: { defaultGridInfo: { locked: !1, lockedColor: !0, resizable: !0, redoable: !0, redoCount: 30, visible: !0, headerVisible: !0, rownumVisible: !0, rownumSize: "60px", rownumLockedColor: !0, statusVisible: !0, statusLockedColor: !0, selectionPolicy: a.range, nullValue: null, dateFormat: "yyyy-mm-dd", monthFormat: "yyyy-mm", alterRow: !0, frozenColCount: 0, frozenRowCount: 0, sortable: !0, filterable: !0, allCheckable: !0, checkedValue: "Y", uncheckedValue: "N" }, defaultGridCssInfo: { width: "100%", height: "600px", margin: "0 auto", padding: "0", sizeLevel: 5, verticalAlign: i.center, cellFontSize: 14, cellMinHeight: 21, horizenBorderSize: 1, verticalBorderSize: 1, gridFontFamily: "Arial", editorFontFamily: "Arial", overflowWrap: null, wordBreak: null, whiteSpace: null, linkHasUnderLine: !0, invertColor: !1, color: null, colorSet: null, gridBorderColor: null, headerCellBackColor: null, headerCellBorderColor: null, headerCellFontColor: null, footerCellBackColor: null, footerCellBorderColor: null, footerCellFontColor: null, bodyBackColor: null, bodyCellBackColor: null, bodyCellBorderColor: null, bodyCellFontColor: null, editorBackColor: null, editorFontColor: null, selectCellBackColor: null, selectCellFontColor: null, selectColBackColor: null, selectColFontColor: null, selectRowBackColor: null, selectRowFontColor: null, mouseoverCellBackColor: null, mouseoverCellFontColor: null, lockCellBackColor: null, lockCellFontColor: null, alterRowBackColor: null, alterRowFontColor: null, buttonFontColor: null, buttonBorderColor: null, buttonBackColor: null, buttonHoverFontColor: null, buttonHoverBackColor: null, buttonActiveFontColor: null, buttonActiveBackColor: null, linkFontColor: null, linkHoverFontColor: null, linkActiveFontColor: null, linkVisitedFontColor: null, linkFocusFontColor: null }, defaultColInfo: { untarget: !1, rowMerge: !1, colMerge: !1, colVisible: !0, required: !1, resizable: !0, sortable: !0, filterable: !0, originWidth: "80px", dataType: "text", selectSize: "100%", locked: !1, lockedColor: !0, format: null, codes: null, defaultCode: null, maxLength: null, maxByte: null, maxNumber: null, minNumber: null, roundNumber: null, align: "left", verticalAlign: null, overflowWrap: null, wordBreak: null, whiteSpace: null, backColor: null, fontColor: null, fontBold: !1, fontItalic: !1, fontThruline: !1, fontUnderline: !1 } }, checkByte: { lessoreq0x7ffByte: 2, lessoreq0xffffByte: 3, greater0xffffByte: 4 } };
|
|
5754
5754
|
}, xt = function() {
|
|
5755
5755
|
var v = Ze;
|
|
5756
|
-
v._initialized || (function(w, A, x) {
|
|
5756
|
+
v._initialized || ((function(w, A, x) {
|
|
5757
5757
|
x.reConnectedCallbackElement = function(g) {
|
|
5758
5758
|
["ghd", "gbd", "gfd"].indexOf(g._type) < 0 || g.parentNode && (x.setGridDataPosition(g), x.connectedGridData(g));
|
|
5759
5759
|
}, x.selectCell = function(g) {
|
|
@@ -5769,14 +5769,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5769
5769
|
try {
|
|
5770
5770
|
var H = function() {
|
|
5771
5771
|
var he = p.value;
|
|
5772
|
-
he.classList.remove(g + "_selected-cell"), (he.dataType === "link" || he.dataType === "select") && he.querySelectorAll("*").forEach(function(se) {
|
|
5772
|
+
he.classList.remove(g + "_selected-cell"), (he.dataType === "link" || he.dataType === "select") && he.querySelectorAll("*").forEach((function(se) {
|
|
5773
5773
|
se.classList.remove(g + "_selected-cell");
|
|
5774
|
-
}), w.dataType && Object.keys(w.dataType).forEach(function(se) {
|
|
5774
|
+
})), w.dataType && Object.keys(w.dataType).forEach((function(se) {
|
|
5775
5775
|
if (he.dataType === se && w.dataType[se].onUnselected) {
|
|
5776
5776
|
if (typeof w.dataType[se].onUnselected != "function") throw new Error("onSelected must be a function.");
|
|
5777
5777
|
w.dataType[se].onUnselected(he, g, x.__getData(he));
|
|
5778
5778
|
}
|
|
5779
|
-
});
|
|
5779
|
+
}));
|
|
5780
5780
|
};
|
|
5781
5781
|
for (B.s(); !(p = B.n()).done; ) H();
|
|
5782
5782
|
} catch (he) {
|
|
@@ -5806,14 +5806,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5806
5806
|
var U, q = g.rowIndex < p.rowIndex ? g.rowIndex : p.rowIndex, oe = g.rowIndex > p.rowIndex ? g.rowIndex : p.rowIndex, de = g.colIndex < p.colIndex ? g.colIndex : p.colIndex, he = g.colIndex > p.colIndex ? g.colIndex : p.colIndex;
|
|
5807
5807
|
A[H].data.variables.activeCells = [], A[H].data.variables.activeRows = [], A[H].data.variables.activeCols = [];
|
|
5808
5808
|
for (var se = q; se <= oe; se++) {
|
|
5809
|
-
for (var me = de; me <= he; me++) se === q && A[H].data.variables.activeCols.push(me), !(U = x._getCell(H, se, me)).untarget && x.isCellVisible(U) && (A[H].data.variables.activeCells.push(U), U.classList.add(H + "_selected-cell"), (U.dataType === "link" || U.dataType === "select") && U.querySelectorAll("*").forEach(function(Q) {
|
|
5809
|
+
for (var me = de; me <= he; me++) se === q && A[H].data.variables.activeCols.push(me), !(U = x._getCell(H, se, me)).untarget && x.isCellVisible(U) && (A[H].data.variables.activeCells.push(U), U.classList.add(H + "_selected-cell"), (U.dataType === "link" || U.dataType === "select") && U.querySelectorAll("*").forEach((function(Q) {
|
|
5810
5810
|
Q.classList.add(H + "_selected-cell");
|
|
5811
|
-
}), w.dataType && Object.keys(w.dataType).forEach(function(Q) {
|
|
5811
|
+
})), w.dataType && Object.keys(w.dataType).forEach((function(Q) {
|
|
5812
5812
|
if (U.dataType === Q && w.dataType[Q].onSelected) {
|
|
5813
5813
|
if (typeof w.dataType[Q].onSelected != "function") throw new Error("onSelected must be a function.");
|
|
5814
5814
|
w.dataType[Q].onSelected(U, H, x.__getData(U));
|
|
5815
5815
|
}
|
|
5816
|
-
}));
|
|
5816
|
+
})));
|
|
5817
5817
|
A[H].data.variables.activeRows.push(se);
|
|
5818
5818
|
}
|
|
5819
5819
|
return x.setActiveCol(H), x.setActiveRow(H), x.focusCell(B || p), !0;
|
|
@@ -5845,7 +5845,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5845
5845
|
B.f();
|
|
5846
5846
|
}
|
|
5847
5847
|
}, x.startScrolling = function(g, p) {
|
|
5848
|
-
w._status.scrollInterval || (w._status.scrollInterval = setInterval(function() {
|
|
5848
|
+
w._status.scrollInterval || (w._status.scrollInterval = setInterval((function() {
|
|
5849
5849
|
if (A[g].data.gridInfo.selectionPolicy === "range" && !(A[g].data.variables.activeCells.length <= 0)) {
|
|
5850
5850
|
var B, H = A[g].data.variables.activeCells[0], U = A[g].data.variables.activeCells[A[g].data.variables.activeCells.length - 1];
|
|
5851
5851
|
switch (p) {
|
|
@@ -5862,27 +5862,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5862
5862
|
B = x.getMoveColCell(U, 1), x.unselectCells(g), x.selectCells(H, B);
|
|
5863
5863
|
}
|
|
5864
5864
|
}
|
|
5865
|
-
}, 100));
|
|
5865
|
+
}), 100));
|
|
5866
5866
|
}, x.stopScrolling = function(g) {
|
|
5867
5867
|
g._status.scrollInterval && clearInterval(g._status.scrollInterval), g._status.scrollInterval = null;
|
|
5868
5868
|
}, x.copyGrid = function(g) {
|
|
5869
5869
|
var p = g[0]._gridId, B = x.getCopyText(g);
|
|
5870
|
-
A[p].events.onCopy(g[0].rowIndex, g[0].colId, g[g.length - 1].rowIndex, g[g.length - 1].colId, B) !== !1 && navigator.clipboard.writeText(B).then(function() {
|
|
5871
|
-
}, function() {
|
|
5872
|
-
});
|
|
5870
|
+
A[p].events.onCopy(g[0].rowIndex, g[0].colId, g[g.length - 1].rowIndex, g[g.length - 1].colId, B) !== !1 && navigator.clipboard.writeText(B).then((function() {
|
|
5871
|
+
}), (function() {
|
|
5872
|
+
}));
|
|
5873
5873
|
}, x.getCopyText = function(g) {
|
|
5874
5874
|
var p = "", B = null;
|
|
5875
|
-
return g.length <= 0 ? "" : (g.forEach(function(H) {
|
|
5875
|
+
return g.length <= 0 ? "" : (g.forEach((function(H) {
|
|
5876
5876
|
var U = H.rowIndex, q = String(x.getTextFromCell(H));
|
|
5877
|
-
Object.keys(w.dataType).forEach(function(oe) {
|
|
5877
|
+
Object.keys(w.dataType).forEach((function(oe) {
|
|
5878
5878
|
if (H.dataType === oe && w.dataType[oe].getCopyValue) {
|
|
5879
5879
|
if (typeof w.dataType[oe].getCopyValue != "function") throw new Error("getCopyValue must be a function.");
|
|
5880
5880
|
q = w.dataType[oe].getCopyValue(H._gridId, H.value);
|
|
5881
5881
|
}
|
|
5882
|
-
}), q.includes(`
|
|
5882
|
+
})), q.includes(`
|
|
5883
5883
|
`) && (q = '"' + q + '"'), B !== null && B !== U ? p += `
|
|
5884
5884
|
` : B === U && (p += " "), p += q, B = U;
|
|
5885
|
-
}), p);
|
|
5885
|
+
})), p);
|
|
5886
5886
|
}, x.pasteGrid = function(g, p) {
|
|
5887
5887
|
var B = g.clipboardData || window.clipboardData;
|
|
5888
5888
|
if (!(A[p].data.variables.activeCells.length <= 0)) {
|
|
@@ -5914,12 +5914,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5914
5914
|
if (["select", "checkbox", "button", "link"].indexOf(lt.dataType) < 0 && !lt.untarget && !lt.locked) {
|
|
5915
5915
|
ht = ht.replaceAll('"', "");
|
|
5916
5916
|
var d = !0;
|
|
5917
|
-
Object.keys(w.dataType).forEach(function(y) {
|
|
5917
|
+
Object.keys(w.dataType).forEach((function(y) {
|
|
5918
5918
|
if (lt.dataType === y) if (w.dataType[y].getPasteValue) {
|
|
5919
5919
|
if (typeof w.dataType[y].getPasteValue != "function") throw new Error("getPasteValue must be a function.");
|
|
5920
5920
|
ht = w.dataType[y].getPasteValue(lt._gridId, x.__getData(lt), ht);
|
|
5921
5921
|
} else d = !1;
|
|
5922
|
-
}), d && oe.push.apply(oe, Ge(x.getRecordsWithModifyValue(lt, ht)));
|
|
5922
|
+
})), d && oe.push.apply(oe, Ge(x.getRecordsWithModifyValue(lt, ht)));
|
|
5923
5923
|
}
|
|
5924
5924
|
je++;
|
|
5925
5925
|
}, rt = 0; rt < Ue.length && it() !== 0; rt++) ;
|
|
@@ -5998,7 +5998,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5998
5998
|
A[B].events.onAfterChange(p.rowIndex, p.colId, w._status.editOldValue, w._status.editNewValue);
|
|
5999
5999
|
}
|
|
6000
6000
|
};
|
|
6001
|
-
}(v, et, Ve), function(w, A, x) {
|
|
6001
|
+
})(v, et, Ve), (function(w, A, x) {
|
|
6002
6002
|
x.modifyColSize = function(g, p) {
|
|
6003
6003
|
if (g && g.resizable && g.colId !== "v-g-rownum" && g.colId !== "v-g-status") {
|
|
6004
6004
|
var B = A[g._gridId];
|
|
@@ -6037,37 +6037,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6037
6037
|
}, x.modifyCell = function(g) {
|
|
6038
6038
|
if (g._status.activeGridEditor) {
|
|
6039
6039
|
var p = g._status.activeGridEditor.parentNode;
|
|
6040
|
-
if (!p.untarget && !p.locked && (g._status.editNewValue = g._status.activeGridEditor.value, Object.keys(g.dataType).forEach(function(U) {
|
|
6040
|
+
if (!p.untarget && !p.locked && (g._status.editNewValue = g._status.activeGridEditor.value, Object.keys(g.dataType).forEach((function(U) {
|
|
6041
6041
|
if (p.dataType === U) if (g.dataType[U].getEditedValue) {
|
|
6042
6042
|
if (typeof g.dataType[U].getEditedValue != "function") throw new Error("getEditedValue must be a function.");
|
|
6043
6043
|
g._status.editNewValue = g.dataType[U].getEditedValue(g._status.activeGridEditor, p._gridId, x.__getData(p));
|
|
6044
6044
|
} else g._status.editNewValue = g._status.editOldValue;
|
|
6045
|
-
}), x.removeGridEditor(), A[p._gridId].events.onBeforeChange(p.rowIndex, p.colId, g._status.editOldValue, g._status.editNewValue) !== !1)) {
|
|
6045
|
+
})), x.removeGridEditor(), A[p._gridId].events.onBeforeChange(p.rowIndex, p.colId, g._status.editOldValue, g._status.editNewValue) !== !1)) {
|
|
6046
6046
|
var B = g._status.editNewValue, H = x.getRecordsWithModifyValue(p, B);
|
|
6047
6047
|
x.recordGridModify(p._gridId, H), A[p._gridId].events.onAfterChange(p.rowIndex, p.colId, g._status.editOldValue, g._status.editNewValue);
|
|
6048
6048
|
}
|
|
6049
6049
|
}
|
|
6050
6050
|
}, x.sort = function(g, p, B) {
|
|
6051
6051
|
var H = !(arguments.length > 3 && arguments[3] !== void 0) || arguments[3], U = arguments.length > 4 && arguments[4] !== void 0 && arguments[4], q = ot(p), oe = A[g];
|
|
6052
|
-
return q.sort(function(de, he) {
|
|
6053
|
-
var se = de.find(function(Se) {
|
|
6052
|
+
return q.sort((function(de, he) {
|
|
6053
|
+
var se = de.find((function(Se) {
|
|
6054
6054
|
return Se.colId === B;
|
|
6055
|
-
}), me = he.find(function(Se) {
|
|
6055
|
+
})), me = he.find((function(Se) {
|
|
6056
6056
|
return Se.colId === B;
|
|
6057
|
-
}), Q = se ? se.value : null, u = se ? se.dataType : null, b = me ? me.value : null, _ = me ? me.dataType : null, R = U;
|
|
6057
|
+
})), Q = se ? se.value : null, u = se ? se.dataType : null, b = me ? me.value : null, _ = me ? me.dataType : null, R = U;
|
|
6058
6058
|
if (typeof Q != "number" && typeof b != "number" || (R = !0), Q === oe.data.gridInfo.nullValue && (Q = null), b === oe.data.gridInfo.nullValue && (b = null), u === "select" && Q !== null && Array.isArray(Q)) {
|
|
6059
|
-
var F = Q.find(function(Se) {
|
|
6059
|
+
var F = Q.find((function(Se) {
|
|
6060
6060
|
return Se.selected;
|
|
6061
|
-
});
|
|
6061
|
+
}));
|
|
6062
6062
|
Q = F ? F.text : Q.length > 0 && Q[0].text !== void 0 ? Q[0].text : null;
|
|
6063
6063
|
} else u === "link" && Q !== null && Q.constructor === Object && (Q = Q.text);
|
|
6064
6064
|
if (_ === "select" && b !== null && Array.isArray(b)) {
|
|
6065
|
-
var D = b.find(function(Se) {
|
|
6065
|
+
var D = b.find((function(Se) {
|
|
6066
6066
|
return Se.selected;
|
|
6067
|
-
});
|
|
6067
|
+
}));
|
|
6068
6068
|
b = D ? D.text : b.length > 0 && b[0].text !== void 0 ? b[0].text : null;
|
|
6069
6069
|
} else _ === "link" && b !== null && b.constructor === Object && (b = b.text);
|
|
6070
|
-
if (w.dataType && Object.keys(w.dataType).forEach(function(Se) {
|
|
6070
|
+
if (w.dataType && Object.keys(w.dataType).forEach((function(Se) {
|
|
6071
6071
|
if (u === Se) if (w.dataType[Se].getSortValue) {
|
|
6072
6072
|
if (typeof w.dataType[Se].getSortValue != "function") throw new Error("getSortValue must be a function.");
|
|
6073
6073
|
Q = w.dataType[Se].getSortValue(g, Q);
|
|
@@ -6076,19 +6076,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6076
6076
|
if (typeof w.dataType[Se].getSortValue != "function") throw new Error("getSortValue must be a function.");
|
|
6077
6077
|
b = w.dataType[Se].getSortValue(g, b);
|
|
6078
6078
|
} else b = me.text;
|
|
6079
|
-
}), R) {
|
|
6079
|
+
})), R) {
|
|
6080
6080
|
var z = Q === null ? NaN : Number(Q), pe = b === null ? NaN : Number(b);
|
|
6081
6081
|
if (!isNaN(z) && !isNaN(pe)) return H !== !1 ? z - pe : pe - z;
|
|
6082
6082
|
isNaN(z) && (Q = null), isNaN(pe) && (b = null);
|
|
6083
6083
|
}
|
|
6084
6084
|
return Q === null && b === null ? 0 : Q === null ? H !== !1 ? 1 : -1 : b === null ? H !== !1 ? -1 : 1 : Q.localeCompare || b.localeCompare ? Q.localeCompare ? b.localeCompare ? R ? H !== !1 ? Q.localeCompare(b, void 0, { numeric: !0 }) : b.localeCompare(Q, void 0, { numeric: !0 }) : H !== !1 ? Q.localeCompare(b) : b.localeCompare(Q) : H !== !1 ? -1 : 1 : H !== !1 ? 1 : -1 : 0;
|
|
6085
|
-
}), oe.data.variables.sortToggle = {}, oe.data.variables.sortToggle[B] = H, q;
|
|
6085
|
+
})), oe.data.variables.sortToggle = {}, oe.data.variables.sortToggle[B] = H, q;
|
|
6086
6086
|
}, x.setFilterOptions = function(g, p) {
|
|
6087
6087
|
var B = g.value;
|
|
6088
|
-
Qe(g), p.forEach(function(H) {
|
|
6088
|
+
Qe(g), p.forEach((function(H) {
|
|
6089
6089
|
var U = document.createElement("option");
|
|
6090
6090
|
U.value = H.value, U.textContent = H.text, g.appendChild(U);
|
|
6091
|
-
}), B && (g.value = B);
|
|
6091
|
+
})), B && (g.value = B);
|
|
6092
6092
|
}, x.reloadColFilterValue = function(g, p) {
|
|
6093
6093
|
var B = A[g];
|
|
6094
6094
|
if (B && B.data.gridInfo.filterable) {
|
|
@@ -6098,12 +6098,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6098
6098
|
for (var U = function() {
|
|
6099
6099
|
var oe, de = x._getCell(g, q, H.colIndex);
|
|
6100
6100
|
if (!de || !de.rowVisible || !de.colVisible) return 1;
|
|
6101
|
-
oe = x.getTextFromCell(de), Object.keys(w.dataType).forEach(function(he) {
|
|
6101
|
+
oe = x.getTextFromCell(de), Object.keys(w.dataType).forEach((function(he) {
|
|
6102
6102
|
if (de.dataType === he && w.dataType[he].getFilterValue) {
|
|
6103
6103
|
if (typeof w.dataType[he].getFilterValue != "function") throw new Error("getFilterValue must be a function.");
|
|
6104
6104
|
oe = w.dataType[he].getFilterValue(g, de.value);
|
|
6105
6105
|
}
|
|
6106
|
-
}), oe !== "" && oe != null && oe !== B.data.gridInfo.nullValue || (oe = "$$NULL"), H.filterValues.add(oe);
|
|
6106
|
+
})), oe !== "" && oe != null && oe !== B.data.gridInfo.nullValue || (oe = "$$NULL"), H.filterValues.add(oe);
|
|
6107
6107
|
}, q = 1; q <= B.methods.getRowCount(); q++) U();
|
|
6108
6108
|
x.reloadFilter(g, p);
|
|
6109
6109
|
}
|
|
@@ -6116,23 +6116,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6116
6116
|
var oe = [];
|
|
6117
6117
|
oe.push({ value: "$$ALL", text: "*" });
|
|
6118
6118
|
var de = A[g];
|
|
6119
|
-
U.forEach(function(se) {
|
|
6119
|
+
U.forEach((function(se) {
|
|
6120
6120
|
var me = { value: se, text: se };
|
|
6121
6121
|
se === "$$NULL" && (me.text = de.data.gridInfo.nullValue), q === "checkbox" && (me.text = se === de.data.gridInfo.checkedValue ? "☑" : "☐"), oe.push(me);
|
|
6122
|
-
});
|
|
6122
|
+
}));
|
|
6123
6123
|
var he = B.value;
|
|
6124
|
-
Qe(B), oe.forEach(function(se) {
|
|
6124
|
+
Qe(B), oe.forEach((function(se) {
|
|
6125
6125
|
var me = document.createElement("option");
|
|
6126
6126
|
me.value = se.value, me.textContent = se.text, B.appendChild(me);
|
|
6127
|
-
}), he && (B.value = he, H.filterValue = he);
|
|
6127
|
+
})), he && (B.value = he, H.filterValue = he);
|
|
6128
6128
|
}
|
|
6129
6129
|
}
|
|
6130
6130
|
}, x.getDatasWithClearFilterValue = function(g, p) {
|
|
6131
|
-
return p.forEach(function(B) {
|
|
6132
|
-
B.forEach(function(H) {
|
|
6131
|
+
return p.forEach((function(B) {
|
|
6132
|
+
B.forEach((function(H) {
|
|
6133
6133
|
H.filter = !1;
|
|
6134
|
-
});
|
|
6135
|
-
}), A[g].data.variables.filters = [], p;
|
|
6134
|
+
}));
|
|
6135
|
+
})), A[g].data.variables.filters = [], p;
|
|
6136
6136
|
}, x.reloadColForMerge = function(g, p) {
|
|
6137
6137
|
var B = x.__getColInfo(g, p);
|
|
6138
6138
|
if (B) {
|
|
@@ -6233,7 +6233,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6233
6233
|
var B;
|
|
6234
6234
|
return A[g].data.variables.sortToggle[p] ? w.elements.sortAscSpan && w.elements.sortAscSpan instanceof HTMLElement && w.elements.sortAscSpan.nodeType === 1 ? B = w.elements.sortAscSpan.cloneNode(!0) : ((B = document.createElement("span")).style.fontSize = "0.5em", B.style.paddingLeft = "5px", B.innerText = "▲") : w.elements.sortDescSpan && w.elements.sortDescSpan instanceof HTMLElement && w.elements.sortDescSpan.nodeType === 1 ? B = w.elements.sortDescSpan.cloneNode(!0) : ((B = document.createElement("span")).style.fontSize = "0.5em", B.style.paddingLeft = "5px", B.innerText = "▼"), B._gridId = g, B.isChild = !0, B._type = "sort", B.classList.add(g + "_sortSpan"), B.classList.add(A[g].data.variables.sortToggle[p] ? g + "_ascSpan" : g + "_descSpan"), B;
|
|
6235
6235
|
};
|
|
6236
|
-
}(v, et, Ve), function(w, A, x) {
|
|
6236
|
+
})(v, et, Ve), (function(w, A, x) {
|
|
6237
6237
|
x.__getDefaultColInfo = function(g, p) {
|
|
6238
6238
|
var B = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
|
|
6239
6239
|
if (!p || !p.colId) throw new Error("Column ID is required. (colId)");
|
|
@@ -6325,21 +6325,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6325
6325
|
(p = document.createElement("span")).classList.add(B + "_data-value-month"), g.value === null || g.value === void 0 || g.value === H.data.gridInfo.nullValue ? p.innerText = H.data.gridInfo.nullValue : p.innerText = x.getDateWithGridMonthFormat(g), p.nType = "month";
|
|
6326
6326
|
break;
|
|
6327
6327
|
case "select":
|
|
6328
|
-
Array.isArray(g.value) && g.value.length > 0 ? ((p = document.createElement("select")).classList.add(B + "_data-value-select"), p.addEventListener("change", function(U) {
|
|
6328
|
+
Array.isArray(g.value) && g.value.length > 0 ? ((p = document.createElement("select")).classList.add(B + "_data-value-select"), p.addEventListener("change", (function(U) {
|
|
6329
6329
|
x.selectAndCheckboxOnChange(U.target);
|
|
6330
|
-
}), x.setSelectOptions(p, g.value), p.nType = "select", g.selectSize && (p.style.width = g.selectSize)) : ((p = document.createElement("span")).classList.add(B + "_data-value-text"), p.innerText = H.data.gridInfo.nullValue, p.nType = "text");
|
|
6330
|
+
})), x.setSelectOptions(p, g.value), p.nType = "select", g.selectSize && (p.style.width = g.selectSize)) : ((p = document.createElement("span")).classList.add(B + "_data-value-text"), p.innerText = H.data.gridInfo.nullValue, p.nType = "text");
|
|
6331
6331
|
break;
|
|
6332
6332
|
case "checkbox":
|
|
6333
|
-
(p = document.createElement("input")).classList.add(B + "_data-value-checkbox"), p.addEventListener("change", function(U) {
|
|
6333
|
+
(p = document.createElement("input")).classList.add(B + "_data-value-checkbox"), p.addEventListener("change", (function(U) {
|
|
6334
6334
|
x.selectAndCheckboxOnChange(U.target);
|
|
6335
|
-
}), p.type = "checkbox", p.nType = "checkbox", x.getCheckboxCellTrueOrFalse(g) && p.setAttribute("checked", "");
|
|
6335
|
+
})), p.type = "checkbox", p.nType = "checkbox", x.getCheckboxCellTrueOrFalse(g) && p.setAttribute("checked", "");
|
|
6336
6336
|
break;
|
|
6337
6337
|
case "button":
|
|
6338
|
-
g.value === null || g.value === void 0 || g.value === H.data.gridInfo.nullValue ? ((p = document.createElement("span")).classList.add(B + "_data-value-text"), p.innerText = H.data.gridInfo.nullValue, p.nType = "text") : ((p = document.createElement("button")).classList.add(B + "_data-value-button"), p.innerText = g.value, p.nType = "button", p.addEventListener("touchstart", function() {
|
|
6338
|
+
g.value === null || g.value === void 0 || g.value === H.data.gridInfo.nullValue ? ((p = document.createElement("span")).classList.add(B + "_data-value-text"), p.innerText = H.data.gridInfo.nullValue, p.nType = "text") : ((p = document.createElement("button")).classList.add(B + "_data-value-button"), p.innerText = g.value, p.nType = "button", p.addEventListener("touchstart", (function() {
|
|
6339
6339
|
p.classList.add("active");
|
|
6340
|
-
}), p.addEventListener("touchend", function() {
|
|
6340
|
+
})), p.addEventListener("touchend", (function() {
|
|
6341
6341
|
p.classList.remove("active");
|
|
6342
|
-
}));
|
|
6342
|
+
})));
|
|
6343
6343
|
break;
|
|
6344
6344
|
case "link":
|
|
6345
6345
|
g.value === null || g.value === void 0 || g.value === H.data.gridInfo.nullValue ? ((p = document.createElement("span")).classList.add(B + "_data-value-text"), p.innerText = H.data.gridInfo.nullValue, p.nType = "text") : ((p = document.createElement("a")).classList.add(B + "_data-value-link"), p.innerText = g.value.text, p.setAttribute("href", g.value.value), p.setAttribute("target", g.value.target ? g.value.target : "_blank"), p.nType = "link");
|
|
@@ -6348,7 +6348,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6348
6348
|
(p = document.createElement("span")).classList.add(B + "_data-value-code"), p.innerText = g.value, p.nType = "code";
|
|
6349
6349
|
break;
|
|
6350
6350
|
default:
|
|
6351
|
-
w.dataType && Object.keys(w.dataType).forEach(function(U) {
|
|
6351
|
+
w.dataType && Object.keys(w.dataType).forEach((function(U) {
|
|
6352
6352
|
if (U === g.dataType) {
|
|
6353
6353
|
if (w.dataType[U].getChildNode) {
|
|
6354
6354
|
if (typeof w.dataType[U].getChildNode != "function") throw new Error("getChildNode must be a function.");
|
|
@@ -6358,7 +6358,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6358
6358
|
} else (p = document.createElement("span")).innerText = g.value;
|
|
6359
6359
|
p.classList.add(B + "_data-value-" + U), p.nType = U;
|
|
6360
6360
|
}
|
|
6361
|
-
});
|
|
6361
|
+
}));
|
|
6362
6362
|
}
|
|
6363
6363
|
return p.classList.add(B + "_data-value"), p._type = "gbdv", p;
|
|
6364
6364
|
}, x.__loadHeader = function(g) {
|
|
@@ -6378,7 +6378,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6378
6378
|
if (!se.isRowMerge) for (var u = oe - 2; u >= 0; u--) p.data.colInfos[u].header.split(";")[H - 1] && (se.isColMerge = !0);
|
|
6379
6379
|
}
|
|
6380
6380
|
} else H !== 1 && (se.isRowMerge = !0);
|
|
6381
|
-
se.addEventListener("mousemove", function(pe) {
|
|
6381
|
+
se.addEventListener("mousemove", (function(pe) {
|
|
6382
6382
|
var Se = pe.target, ze = Se._gridId;
|
|
6383
6383
|
if (ze) {
|
|
6384
6384
|
var je = A[ze];
|
|
@@ -6397,9 +6397,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6397
6397
|
} else Se.style.cursor = "", w._status.onHeaderDragging = !1;
|
|
6398
6398
|
}
|
|
6399
6399
|
}
|
|
6400
|
-
}), se.addEventListener("mousedown", function(pe) {
|
|
6400
|
+
})), se.addEventListener("mousedown", (function(pe) {
|
|
6401
6401
|
w._status.mouseX = pe.clientX, w._status.onHeaderDragging && (w._status.isHeaderDragging = !0);
|
|
6402
|
-
}), q.push(se), oe++;
|
|
6402
|
+
})), q.push(se), oe++;
|
|
6403
6403
|
}
|
|
6404
6404
|
} catch (pe) {
|
|
6405
6405
|
de.e(pe);
|
|
@@ -6429,8 +6429,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6429
6429
|
_.f();
|
|
6430
6430
|
}
|
|
6431
6431
|
var z = p.elements.gridHeader._gridHeaderCells;
|
|
6432
|
-
z.forEach(function(pe) {
|
|
6433
|
-
pe.forEach(function(Se, ze) {
|
|
6432
|
+
z.forEach((function(pe) {
|
|
6433
|
+
pe.forEach((function(Se, ze) {
|
|
6434
6434
|
if (p.data.gridInfo.sortable && Object.keys(p.data.variables.sortToggle).length > 0 && B === Se.rowIndex) for (var je = B; je > 0; je--) {
|
|
6435
6435
|
var Ue = z[je - 1][ze];
|
|
6436
6436
|
if (!Ue.isRowMerge && !Ue.isColMerge && p.data.variables.sortToggle[Ue.colId] !== void 0) {
|
|
@@ -6439,15 +6439,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6439
6439
|
break;
|
|
6440
6440
|
}
|
|
6441
6441
|
}
|
|
6442
|
-
p.data.gridInfo.filterable && p.data.variables.filters.length > 0 && Se.filterable && Se._filterSelector && p.data.variables.filters.forEach(function(rt) {
|
|
6443
|
-
Se.colId === rt.colId && (Se._filterSelector.style.display = "block", requestAnimationFrame(function() {
|
|
6444
|
-
Array.from(Se._filterSelector.options).some(function(ct) {
|
|
6442
|
+
p.data.gridInfo.filterable && p.data.variables.filters.length > 0 && Se.filterable && Se._filterSelector && p.data.variables.filters.forEach((function(rt) {
|
|
6443
|
+
Se.colId === rt.colId && (Se._filterSelector.style.display = "block", requestAnimationFrame((function() {
|
|
6444
|
+
Array.from(Se._filterSelector.options).some((function(ct) {
|
|
6445
6445
|
return ct.value === rt.value;
|
|
6446
|
-
}) && (Se._filterSelector.value = rt.value);
|
|
6447
|
-
}));
|
|
6448
|
-
});
|
|
6449
|
-
});
|
|
6450
|
-
});
|
|
6446
|
+
})) && (Se._filterSelector.value = rt.value);
|
|
6447
|
+
})));
|
|
6448
|
+
}));
|
|
6449
|
+
}));
|
|
6450
|
+
}));
|
|
6451
6451
|
}, x._getHeaderRow = function(g, p) {
|
|
6452
6452
|
return mt(A[g].elements.gridHeader._gridHeaderCells, p - 1);
|
|
6453
6453
|
}, x._getHeaderCell = function(g, p, B) {
|
|
@@ -6636,33 +6636,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6636
6636
|
return U;
|
|
6637
6637
|
}, x._doFilter = function(g) {
|
|
6638
6638
|
var p, B = A[g];
|
|
6639
|
-
if (B.data.variables.filters = [], B.elements.gridHeader.querySelectorAll("." + g + "_filterSelect").forEach(function(U) {
|
|
6639
|
+
if (B.data.variables.filters = [], B.elements.gridHeader.querySelectorAll("." + g + "_filterSelect").forEach((function(U) {
|
|
6640
6640
|
U.value !== "$$ALL" && (p = { colId: U.colId, value: U.value }, x.__getColInfo(g, U.parentNode.parentNode.colIndex).filterValue = U.value, p.value !== "$$NULL" && p.value !== null && p.value !== void 0 && p.value !== "" || (p.value = B.data.gridInfo.nullValue), B.data.variables.filters.push(p));
|
|
6641
|
-
}), B.data.variables.filters.length === 0) x._getCells(g).forEach(function(U) {
|
|
6642
|
-
U.forEach(function(q) {
|
|
6641
|
+
})), B.data.variables.filters.length === 0) x._getCells(g).forEach((function(U) {
|
|
6642
|
+
U.forEach((function(q) {
|
|
6643
6643
|
q.filter = !1;
|
|
6644
|
-
});
|
|
6645
|
-
});
|
|
6644
|
+
}));
|
|
6645
|
+
}));
|
|
6646
6646
|
else {
|
|
6647
6647
|
var H = 1;
|
|
6648
|
-
x._getCells(g).forEach(function(U) {
|
|
6648
|
+
x._getCells(g).forEach((function(U) {
|
|
6649
6649
|
var q = !1;
|
|
6650
|
-
U.forEach(function(oe) {
|
|
6651
|
-
B.data.variables.filters.forEach(function(de) {
|
|
6650
|
+
U.forEach((function(oe) {
|
|
6651
|
+
B.data.variables.filters.forEach((function(de) {
|
|
6652
6652
|
if (oe.colId === de.colId) {
|
|
6653
6653
|
var he = x.getTextFromCell(oe);
|
|
6654
|
-
Object.keys(w.dataType).forEach(function(se) {
|
|
6654
|
+
Object.keys(w.dataType).forEach((function(se) {
|
|
6655
6655
|
if (oe.dataType === se && w.dataType[se].getFilterValue) {
|
|
6656
6656
|
if (typeof w.dataType[se].getFilterValue != "function") throw new Error("getFilterValue must be a function.");
|
|
6657
6657
|
he = w.dataType[se].getFilterValue(g, oe.value);
|
|
6658
6658
|
}
|
|
6659
|
-
}), he != de.value && (q = !0);
|
|
6659
|
+
})), he != de.value && (q = !0);
|
|
6660
6660
|
}
|
|
6661
|
-
});
|
|
6662
|
-
}), x._getRow(g, H).forEach(function(oe) {
|
|
6661
|
+
}));
|
|
6662
|
+
})), x._getRow(g, H).forEach((function(oe) {
|
|
6663
6663
|
oe.filter = q;
|
|
6664
|
-
}), H++;
|
|
6665
|
-
});
|
|
6664
|
+
})), H++;
|
|
6665
|
+
}));
|
|
6666
6666
|
}
|
|
6667
6667
|
B.methods.load(B.methods.getDatas());
|
|
6668
6668
|
}, x.__gridCellReConnectedWithControlSpan = function(g) {
|
|
@@ -6690,9 +6690,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6690
6690
|
return H.selectSize && (oe.selectSize = H.selectSize), H.locked && (oe.locked = H.locked), H.lockedColor && (oe.lockedColor = H.lockedColor), H.format && (oe.format = H.format), H.codes && (oe.codes = H.codes), H.defaultCode && (oe.defaultCode = H.defaultCode), H.maxLength && (oe.maxLength = H.maxLength), H.maxByte && (oe.maxByte = H.maxByte), H.maxNumber && (oe.maxNumber = H.maxNumber), H.minNumber && (oe.minNumber = H.minNumber), H.roundNumber && (oe.roundNumber = H.roundNumber), H.align && (oe.align = H.align), H.verticalAlign && (oe.verticalAlign = H.verticalAlign), H.overflowWrap && (oe.overflowWrap = H.overflowWrap), H.wordBreak && (oe.wordBreak = H.wordBreak), H.whiteSpace && (oe.whiteSpace = H.whiteSpace), H.backColor && (oe.backColor = H.backColor), H.fontColor && (oe.fontColor = H.fontColor), H.fontBold && (oe.fontBold = H.fontBold), H.fontItalic && (oe.fontItalic = H.fontItalic), H.fontThruline && (oe.fontThruline = H.fontThruline), H.fontUnderline && (oe.fontUnderline = H.fontUnderline), H.value && (oe.value = H.value), x.reConnectedCallbackElement(oe), x.reloadGridWithModifyCell(g, oe.colIndex), !0;
|
|
6691
6691
|
}, x._getDataTypeStyle = function() {
|
|
6692
6692
|
var g = {};
|
|
6693
|
-
return Object.keys(w.dataType).forEach(function(p) {
|
|
6693
|
+
return Object.keys(w.dataType).forEach((function(p) {
|
|
6694
6694
|
w.dataType[p].cellStyle && (g[p] = w.dataType[p].cellStyle);
|
|
6695
|
-
}), g;
|
|
6695
|
+
})), g;
|
|
6696
6696
|
}, x._getFilterSpan = function() {
|
|
6697
6697
|
return w.elements.filterSpan;
|
|
6698
6698
|
}, x._getFooterFormula = function() {
|
|
@@ -6716,7 +6716,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6716
6716
|
return w.attributes.defaultColInfo.align;
|
|
6717
6717
|
}
|
|
6718
6718
|
};
|
|
6719
|
-
}(v, et, Ve), function(w, A, x) {
|
|
6719
|
+
})(v, et, Ve), (function(w, A, x) {
|
|
6720
6720
|
x.isCellVisible = function(g) {
|
|
6721
6721
|
return !!g && !(g.colVisible === !1 || g.rowVisible === !1 || g.filter === !0);
|
|
6722
6722
|
}, x.getFirstCellValidNumber = function(g) {
|
|
@@ -6727,7 +6727,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6727
6727
|
var g = w._status.activeGridEditor.targetCell, p = g._gridId;
|
|
6728
6728
|
return A[p].events.onEditEnding(g.rowIndex, g.colId, w._status.editOldValue, w._status.editNewValue), g.style.padding = "", g.style.fontSize = "", w._status.activeGridEditor.parentNode.removeChild(w._status.activeGridEditor), w._status.activeGridEditor = null, !0;
|
|
6729
6729
|
}, x.addBagicEventListenerToGridEditor = function(g) {
|
|
6730
|
-
g.addEventListener("keydown", function(p) {
|
|
6730
|
+
g.addEventListener("keydown", (function(p) {
|
|
6731
6731
|
var B, H = w._status.activeGrid, U = H.data.variables.targetCell;
|
|
6732
6732
|
if (H.events.onKeydownEditor(p) === !1) return p.stopPropagation(), void p.preventDefault();
|
|
6733
6733
|
switch (p.key) {
|
|
@@ -6743,20 +6743,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6743
6743
|
case "F2":
|
|
6744
6744
|
x.modifyCell(w), p.stopPropagation(), p.preventDefault();
|
|
6745
6745
|
}
|
|
6746
|
-
}), g.addEventListener("input", function(p) {
|
|
6746
|
+
})), g.addEventListener("input", (function(p) {
|
|
6747
6747
|
w._status.activeGrid.events.onInputEditor(p);
|
|
6748
|
-
});
|
|
6748
|
+
}));
|
|
6749
6749
|
}, x.setBagicAttributesToGridEditor = function(g, p) {
|
|
6750
6750
|
g._gridId = p._gridId, g.targetCell = p, g.style.width = p.offsetWidth + "px", g.style.height = p.scrollHeight + g.offsetHeight - g.clientHeight + "px", g.classList.add(g._gridId + "_editor");
|
|
6751
6751
|
}, x.createGridEditorTextarea = function(g) {
|
|
6752
6752
|
var p = document.createElement("textarea");
|
|
6753
6753
|
x.setBagicAttributesToGridEditor(p, g), p.placeholder, p.classList.add(p._gridId + "_editor_textarea");
|
|
6754
6754
|
var B = A[g._gridId].data.gridInfo.nullValue === g.value ? null : g.value;
|
|
6755
|
-
return w._status.editOldValue = B, p.value = w._status.editOldValue, p.addEventListener("input", function(H) {
|
|
6755
|
+
return w._status.editOldValue = B, p.value = w._status.editOldValue, p.addEventListener("input", (function(H) {
|
|
6756
6756
|
H.target.style.height = H.target.scrollHeight + p.offsetHeight - p.clientHeight + "px";
|
|
6757
|
-
}, !1), p.addEventListener("keyup", function(H) {
|
|
6757
|
+
}), !1), p.addEventListener("keyup", (function(H) {
|
|
6758
6758
|
H.target.value && H.target.parentNode && H.target.parentNode.maxLength && (H.target.value = H.target.value.substring(0, H.target.parentNode.maxLength)), H.target.value && H.target.parentNode && H.target.parentNode.maxByte && (H.target.value = De(H.target.value, H.target.parentNode.maxByte, w.checkByte));
|
|
6759
|
-
}, !1), x.addBagicEventListenerToGridEditor(p), p;
|
|
6759
|
+
}), !1), x.addBagicEventListenerToGridEditor(p), p;
|
|
6760
6760
|
}, x.createGridEditorNumber = function(g) {
|
|
6761
6761
|
var p = document.createElement("input");
|
|
6762
6762
|
x.setBagicAttributesToGridEditor(p, g), p.classList.add(p._gridId + "_editor_number"), p.setAttribute("type", "number");
|
|
@@ -6772,9 +6772,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6772
6772
|
var p = document.createElement("input");
|
|
6773
6773
|
x.setBagicAttributesToGridEditor(p, g), p.classList.add(p._gridId + "_editor_mask"), p.setAttribute("type", "text");
|
|
6774
6774
|
var B = A[g._gridId].data.gridInfo.nullValue === g.value ? null : g.value;
|
|
6775
|
-
return w._status.editOldValue = B, p.value = w._status.editOldValue, p.addEventListener("keyup", function(H) {
|
|
6775
|
+
return w._status.editOldValue = B, p.value = w._status.editOldValue, p.addEventListener("keyup", (function(H) {
|
|
6776
6776
|
H.target.value = x.getMaskValue(H.target.targetCell.format, H.target.value);
|
|
6777
|
-
}), x.addBagicEventListenerToGridEditor(p), p;
|
|
6777
|
+
})), x.addBagicEventListenerToGridEditor(p), p;
|
|
6778
6778
|
}, x.createGridEditorCode = function(g) {
|
|
6779
6779
|
var p = document.createElement("input");
|
|
6780
6780
|
x.setBagicAttributesToGridEditor(p, g), p.classList.add(p._gridId + "_editor_code"), p.setAttribute("type", "text");
|
|
@@ -6804,19 +6804,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6804
6804
|
B = x.createGridEditorCode(g);
|
|
6805
6805
|
break;
|
|
6806
6806
|
default:
|
|
6807
|
-
Object.keys(w.dataType).forEach(function(H) {
|
|
6807
|
+
Object.keys(w.dataType).forEach((function(H) {
|
|
6808
6808
|
if (g.dataType === H && w.dataType[H].getEditor) {
|
|
6809
6809
|
if (typeof w.dataType[H].getEditor != "function") throw new Error("getEditor must be a function.");
|
|
6810
|
-
if (B = w.dataType[H].getEditor(g, g._gridId, x.__getData(g), function() {
|
|
6810
|
+
if (B = w.dataType[H].getEditor(g, g._gridId, x.__getData(g), (function() {
|
|
6811
6811
|
x.modifyCell(w);
|
|
6812
|
-
}, function() {
|
|
6812
|
+
}), (function() {
|
|
6813
6813
|
w._status.editNewValue = w._status.editOldValue, x.removeGridEditor();
|
|
6814
|
-
})) {
|
|
6814
|
+
}))) {
|
|
6815
6815
|
if (!(B instanceof HTMLElement) || B.nodeType !== 1) throw new Error("getEditor must return an html element.");
|
|
6816
6816
|
B._gridId = g._gridId, B.targetCell = g, B.classList.add(B._gridId + "_editor_" + H), B.classList.add(B._gridId + "_editor"), w._status.editOldValue = g.value;
|
|
6817
6817
|
}
|
|
6818
6818
|
}
|
|
6819
|
-
});
|
|
6819
|
+
}));
|
|
6820
6820
|
}
|
|
6821
6821
|
A[g._gridId].events.onBeforeEditEnter(g.rowIndex, g.colId, B) !== !1 && B && (g.style.padding = "0", g.style.fontSize = "0px", g.appendChild(B), B.focus(), p && B.select(), w._status.activeGridEditor = B, A[g._gridId].events.onAfterEditEnter(g.rowIndex, g.colId, B));
|
|
6822
6822
|
}
|
|
@@ -6855,12 +6855,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6855
6855
|
case "code":
|
|
6856
6856
|
return x.getCodeValue(g.codes, g.defaultCode, p);
|
|
6857
6857
|
default:
|
|
6858
|
-
return w.dataType && Object.keys(w.dataType).forEach(function(se) {
|
|
6858
|
+
return w.dataType && Object.keys(w.dataType).forEach((function(se) {
|
|
6859
6859
|
if (g.dataType === se && w.dataType[se].getValue) {
|
|
6860
6860
|
if (typeof w.dataType[se].getValue != "function") throw new Error("getValue must be a function.");
|
|
6861
6861
|
p = w.dataType[se].getValue(g._gridId, p);
|
|
6862
6862
|
}
|
|
6863
|
-
}), p;
|
|
6863
|
+
})), p;
|
|
6864
6864
|
}
|
|
6865
6865
|
}, x.getTextFromCell = function(g) {
|
|
6866
6866
|
if (!g) return "";
|
|
@@ -6896,12 +6896,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6896
6896
|
p = g.value && g.value.text ? g.value.text : B;
|
|
6897
6897
|
break;
|
|
6898
6898
|
default:
|
|
6899
|
-
p = B, w.dataType ? Object.keys(w.dataType).forEach(function(oe) {
|
|
6899
|
+
p = B, w.dataType ? Object.keys(w.dataType).forEach((function(oe) {
|
|
6900
6900
|
if (g.dataType === oe && w.dataType[oe].getText) {
|
|
6901
6901
|
if (typeof w.dataType[oe].getText != "function") throw new Error("getText must be a function.");
|
|
6902
6902
|
p = w.dataType[oe].getText(g._gridId, p);
|
|
6903
6903
|
}
|
|
6904
|
-
}) : p = String(B);
|
|
6904
|
+
})) : p = String(B);
|
|
6905
6905
|
}
|
|
6906
6906
|
return p;
|
|
6907
6907
|
}, x.getFormatNumber = function(g, p) {
|
|
@@ -7026,7 +7026,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7026
7026
|
}, x.getMaskValue = function(g, p) {
|
|
7027
7027
|
if (typeof g != "string" || typeof p != "string") return null;
|
|
7028
7028
|
var B, H = g.split(""), U = p.split(""), q = "";
|
|
7029
|
-
return H.every(function(oe, de) {
|
|
7029
|
+
return H.every((function(oe, de) {
|
|
7030
7030
|
switch (B = !1, oe) {
|
|
7031
7031
|
case "A":
|
|
7032
7032
|
/^[A-Z]$/.test(U[de]) ? (q += U[de], B = !0) : /^[a-z]$/.test(U[de]) && (q += (he = U[de]) && typeof he == "string" ? he.toUpperCase() : "", B = !0);
|
|
@@ -7042,12 +7042,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7042
7042
|
}
|
|
7043
7043
|
var he;
|
|
7044
7044
|
return B;
|
|
7045
|
-
}), q;
|
|
7045
|
+
})), q;
|
|
7046
7046
|
}, x.setSelectOptions = function(g, p) {
|
|
7047
|
-
Array.isArray(p) && (Qe(g), p.forEach(function(B) {
|
|
7047
|
+
Array.isArray(p) && (Qe(g), p.forEach((function(B) {
|
|
7048
7048
|
var H = document.createElement("option");
|
|
7049
7049
|
H.value = B.value, H.textContent = B.text, B.selected && H.setAttribute("selected", ""), B.disabled && H.setAttribute("disabled", ""), B.label && H.setAttribute("label", B.label), g.appendChild(H);
|
|
7050
|
-
}));
|
|
7050
|
+
})));
|
|
7051
7051
|
}, x.getSelectOptions = function(g) {
|
|
7052
7052
|
if (!g) return null;
|
|
7053
7053
|
var p = g.options;
|
|
@@ -7065,7 +7065,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7065
7065
|
}
|
|
7066
7066
|
return H.length === 0 ? null : H;
|
|
7067
7067
|
};
|
|
7068
|
-
}(v, et, Ve), function(w, A) {
|
|
7068
|
+
})(v, et, Ve), (function(w, A) {
|
|
7069
7069
|
A.connectedGridHeader = function(x) {
|
|
7070
7070
|
var g = w[x];
|
|
7071
7071
|
if (g) {
|
|
@@ -7137,13 +7137,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7137
7137
|
var _, R = A._getFilterSpan();
|
|
7138
7138
|
R && R instanceof HTMLElement && R.nodeType === 1 ? _ = R.cloneNode(!0) : (_ = document.createElement("span")).innerText = "σ", _._gridId = x._gridId, _.isChild = !0, _._type = "filter", _.classList.add(x._gridId + "_filterSpan");
|
|
7139
7139
|
var F = document.createElement("select");
|
|
7140
|
-
F.classList.add(x._gridId + "_filterSelect"), F.style.display = "none", F._gridId = x._gridId, F.colId = x.colId, F.addEventListener("mousedown", function(Ct) {
|
|
7140
|
+
F.classList.add(x._gridId + "_filterSelect"), F.style.display = "none", F._gridId = x._gridId, F.colId = x.colId, F.addEventListener("mousedown", (function(Ct) {
|
|
7141
7141
|
Ct.target.filterOldValue = Ct.target.value;
|
|
7142
|
-
}), F.addEventListener("change", function(Ct) {
|
|
7142
|
+
})), F.addEventListener("change", (function(Ct) {
|
|
7143
7143
|
var jt = Ct.target.value, on = Ct.target._gridId;
|
|
7144
7144
|
if (w[on].events.onChooseFilter(Ct.target.parentNode.parentNode.rowIndex, Ct.target.parentNode.parentNode.colId, Ct.target.filterOldValue, jt) === !1) return Ct.stopPropagation(), void Ct.preventDefault();
|
|
7145
7145
|
A._doFilter(on), jt === "$$ALL" && (Ct.target.style.display = "none");
|
|
7146
|
-
}), _.append(F);
|
|
7146
|
+
})), _.append(F);
|
|
7147
7147
|
var D = x;
|
|
7148
7148
|
if (x.isRowMerge) for (var z = x.rowIndex - 1; z > 0 && !(D = A._getHeaderCell(g, z, x.colIndex)).rowSpan; z--) ;
|
|
7149
7149
|
D && (D.insertBefore(_, D.firstChild), D._filterSelector = F);
|
|
@@ -7205,12 +7205,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7205
7205
|
} else {
|
|
7206
7206
|
x.innerText = rt, x.value = rt;
|
|
7207
7207
|
var S = A._getFooterFormula();
|
|
7208
|
-
S && S.constructor === Object && Object.keys(S).forEach(function(Ct) {
|
|
7208
|
+
S && S.constructor === Object && Object.keys(S).forEach((function(Ct) {
|
|
7209
7209
|
if (rt === Ct) {
|
|
7210
7210
|
var jt = S[Ct](p.methods.getColValues(x.colIndex));
|
|
7211
7211
|
x.innerText = jt, x.value = jt;
|
|
7212
7212
|
}
|
|
7213
|
-
});
|
|
7213
|
+
}));
|
|
7214
7214
|
}
|
|
7215
7215
|
}
|
|
7216
7216
|
x.align && (x.style.justifyContent = x.align, x.style.textAlign = x.align), x.colIndex === p.methods.getColCount() && x.classList.add(x._gridId + "_f-v-g-d-value"), x.colVisible && x.rowVisible || (x.style.display = "none"), x.classList.add(x._gridId + "_f-v-g-d");
|
|
@@ -7236,14 +7236,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7236
7236
|
default:
|
|
7237
7237
|
x.style.justifyContent = "center", x.style.textAlign = "center";
|
|
7238
7238
|
var N = A._getDataTypeStyle();
|
|
7239
|
-
Object.keys(N).forEach(function(Ct) {
|
|
7239
|
+
Object.keys(N).forEach((function(Ct) {
|
|
7240
7240
|
if (x.dataType === Ct) {
|
|
7241
7241
|
if (N[Ct].constructor !== Object) throw new Error("Cellstyle can only be inserted in object type.");
|
|
7242
|
-
Object.keys(N[Ct]).forEach(function(jt) {
|
|
7242
|
+
Object.keys(N[Ct]).forEach((function(jt) {
|
|
7243
7243
|
x.style[jt] = N[Ct][jt];
|
|
7244
|
-
});
|
|
7244
|
+
}));
|
|
7245
7245
|
}
|
|
7246
|
-
});
|
|
7246
|
+
}));
|
|
7247
7247
|
}
|
|
7248
7248
|
for (; x.firstChild; ) x.removeChild(x.firstChild);
|
|
7249
7249
|
if (x.append(A._getCellChildNode(x)), x.rowIndex <= B.frozenRowCount) {
|
|
@@ -7294,17 +7294,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7294
7294
|
}
|
|
7295
7295
|
x.overflowWrap && (x.style.overflowWrap = x.overflowWrap), x.wordBreak && (x.style.wordBreak = x.wordBreak), x.whiteSpace && (x.style.whiteSpace = x.whiteSpace), x.backColor && (x.style.backgroundColor = x.backColor), x.fontColor && (x.firstChild.style.color = x.fontColor), x.fontBold && (x.firstChild.style.fontWeight = "bold"), x.fontItalic && (x.firstChild.style.fontStyle = "italic"), x.fontThruline && (x.firstChild.style.textDecoration = "line-through"), x.fontUnderline && (x.firstChild.style.textDecoration = "underline"), x.colVisible && x.rowVisible || (x.style.display = "none"), x.filter && (x.style.display = "none"), B.alterRow && x.rowIndex % 2 == 0 ? (x.classList.add(x._gridId + "_b-v-g-d-alter"), x.classList.remove(x._gridId + "_b-v-g-d")) : (x.classList.add(x._gridId + "_b-v-g-d"), x.classList.remove(x._gridId + "_b-v-g-d-alter")), x.locked && x.lockedColor ? x.classList.add(x._gridId + "_b-v-g-d-locked") : x.classList.remove(x._gridId + "_b-v-g-d-locked"), x.locked && (x.dataType === "select" && x.firstChild && x.firstChild.nType == "select" || x.dataType === "checkbox" && x.firstChild && x.firstChild.nType == "checkbox") && (x.firstChild.disabled = !0, x.firstChild.style.pointerEvents = "none"), x.untarget && (x.dataType === "button" && x.firstChild && x.firstChild.nType == "button" ? (x.firstChild.disabled = !0, x.firstChild.style.pointerEvents = "none") : x.dataType === "link" && x.firstChild && x.firstChild.nType == "link" && (x.firstChild.style.opacity = "0.8", x.firstChild.style.pointerEvents = "none"));
|
|
7296
7296
|
}
|
|
7297
|
-
x.classList.add(x._gridId + "_v-g-d"), x.addEventListener("mouseover", function(Ct) {
|
|
7298
|
-
x.untarget || x._type !== "gbd" || (x.classList.add(x._gridId + "_mouseover-cell"), x.dataType === "link" && x.querySelectorAll("*").forEach(function(jt) {
|
|
7297
|
+
x.classList.add(x._gridId + "_v-g-d"), x.addEventListener("mouseover", (function(Ct) {
|
|
7298
|
+
x.untarget || x._type !== "gbd" || (x.classList.add(x._gridId + "_mouseover-cell"), x.dataType === "link" && x.querySelectorAll("*").forEach((function(jt) {
|
|
7299
7299
|
jt.classList.add(x._gridId + "_mouseover-cell");
|
|
7300
|
-
}));
|
|
7301
|
-
}), x.addEventListener("mouseout", function(Ct) {
|
|
7302
|
-
x.untarget || x._type !== "gbd" || (x.classList.remove(x._gridId + "_mouseover-cell"), x.dataType === "link" && x.querySelectorAll("*").forEach(function(jt) {
|
|
7300
|
+
})));
|
|
7301
|
+
})), x.addEventListener("mouseout", (function(Ct) {
|
|
7302
|
+
x.untarget || x._type !== "gbd" || (x.classList.remove(x._gridId + "_mouseover-cell"), x.dataType === "link" && x.querySelectorAll("*").forEach((function(jt) {
|
|
7303
7303
|
jt.classList.remove(x._gridId + "_mouseover-cell");
|
|
7304
|
-
}));
|
|
7305
|
-
});
|
|
7304
|
+
})));
|
|
7305
|
+
}));
|
|
7306
7306
|
};
|
|
7307
|
-
}(et, Ve), v.documentEvent.mousedown = function(w) {
|
|
7307
|
+
})(et, Ve), v.documentEvent.mousedown = function(w) {
|
|
7308
7308
|
v._status.activeGridEditor && v._status.activeGridEditor !== w.target && Ve.modifyCell(v), v._status.activeGrid && !v._status.activeGrid.elements.grid.contains(w.target) && (v._status.activeGrid = null);
|
|
7309
7309
|
}, document.removeEventListener("mousedown", v.documentEvent.mousedown), document.addEventListener("mousedown", v.documentEvent.mousedown), v.documentEvent.mouseup = function(w) {
|
|
7310
7310
|
v._status.mouseX = 0, v._status.mouseY = 0, Ve.stopScrolling(v), v._status.isDragging && (v._status.isDragging = !1), v._status.isHeaderDragging && (v._status.isHeaderDragging = !1);
|
|
@@ -7329,12 +7329,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7329
7329
|
}
|
|
7330
7330
|
if (A.data.gridInfo.selectionPolicy === "none" || A.data.variables.activeCells.length <= 0) return;
|
|
7331
7331
|
var g, p = A.data.variables.activeCells[0], B = A.data.variables.activeCells[A.data.variables.activeCells.length - 1];
|
|
7332
|
-
switch (Object.keys(v.dataType).forEach(function(H) {
|
|
7332
|
+
switch (Object.keys(v.dataType).forEach((function(H) {
|
|
7333
7333
|
if (A.data.variables.targetCell.dataType === H && v.dataType[H].onSelectedAndKeyDown) {
|
|
7334
7334
|
if (typeof v.dataType[H].onSelectedAndKeyDown != "function") throw new Error("onSelectedAndKeyDown must be a function.");
|
|
7335
7335
|
if (v.dataType[H].onSelectedAndKeyDown(w, A.data.id, Ve.__getData(A.data.variables.targetCell)) === !1) return;
|
|
7336
7336
|
}
|
|
7337
|
-
}), w.key) {
|
|
7337
|
+
})), w.key) {
|
|
7338
7338
|
case "Tab":
|
|
7339
7339
|
g = Ve.getTabCell(A.data.variables.targetCell, w.shiftKey), Ve.selectCell(g), w.preventDefault();
|
|
7340
7340
|
break;
|
|
@@ -7376,14 +7376,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7376
7376
|
v._status.activeGrid && !v._status.activeGridEditor && v._status.activeGrid.data.variables.activeCells.length > 0 && (w.preventDefault(), Ve.pasteGrid(w, v._status.activeGrid.data.id));
|
|
7377
7377
|
}, document.removeEventListener("paste", v.documentEvent.paste), document.addEventListener("paste", v.documentEvent.paste), v._initialized = !0);
|
|
7378
7378
|
}, Ht = function() {
|
|
7379
|
-
Ze && (Object.values(et).forEach(function(v) {
|
|
7379
|
+
Ze && (Object.values(et).forEach((function(v) {
|
|
7380
7380
|
var w = document.getElementById(v.data.id), A = document.getElementById(v.data.id + "_styles-sheet");
|
|
7381
7381
|
w && w.parentNode.removeChild(w), A && A.parentNode.removeChild(A), delete et[v.data.id], v = null;
|
|
7382
|
-
}), document.removeEventListener("mousedown", Ze.documentEvent.mousedown), document.removeEventListener("mouseup", Ze.documentEvent.mouseup), document.removeEventListener("keydown", Ze.documentEvent.keydown), document.removeEventListener("copy", Ze.documentEvent.copy), document.removeEventListener("paste", Ze.documentEvent.paste), Ze.unmountGrid(), Ze = null);
|
|
7382
|
+
})), document.removeEventListener("mousedown", Ze.documentEvent.mousedown), document.removeEventListener("mouseup", Ze.documentEvent.mouseup), document.removeEventListener("keydown", Ze.documentEvent.keydown), document.removeEventListener("copy", Ze.documentEvent.copy), document.removeEventListener("paste", Ze.documentEvent.paste), Ze.unmountGrid(), Ze = null);
|
|
7383
7383
|
};
|
|
7384
7384
|
return o;
|
|
7385
|
-
})());
|
|
7386
|
-
}(ui)), ui.exports;
|
|
7385
|
+
})()));
|
|
7386
|
+
})(ui)), ui.exports;
|
|
7387
7387
|
}
|
|
7388
7388
|
var Us = rd();
|
|
7389
7389
|
const uy = (t) => t == null, fy = () => {
|
|
@@ -7545,21 +7545,21 @@ const uy = (t) => t == null, fy = () => {
|
|
|
7545
7545
|
};
|
|
7546
7546
|
var bo = /* @__PURE__ */ ((t) => (t.s = "s", t.m = "m", t.l = "l", t.xl = "xl", t))(bo || {}), gd = /* @__PURE__ */ ((t) => (t.primary = "primary", t.muted = "muted", t.info = "info", t.success = "success", t.danger = "danger", t.warning = "warning", t))(gd || {}), fi = { exports: {} }, yd = fi.exports, Cl;
|
|
7547
7547
|
function pd() {
|
|
7548
|
-
return Cl || (Cl = 1, function(t, e) {
|
|
7548
|
+
return Cl || (Cl = 1, (function(t, e) {
|
|
7549
7549
|
(function(n, o) {
|
|
7550
7550
|
t.exports = o();
|
|
7551
|
-
})(typeof self < "u" ? self : typeof xo < "u" ? xo : yd, () => (() => {
|
|
7551
|
+
})(typeof self < "u" ? self : typeof xo < "u" ? xo : yd, (() => (() => {
|
|
7552
7552
|
var n = { d: (f, h) => {
|
|
7553
7553
|
for (var I in h) n.o(h, I) && !n.o(f, I) && Object.defineProperty(f, I, { enumerable: !0, get: h[I] });
|
|
7554
7554
|
}, o: (f, h) => Object.prototype.hasOwnProperty.call(f, h), r: (f) => {
|
|
7555
7555
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(f, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(f, "__esModule", { value: !0 });
|
|
7556
7556
|
} }, o = {};
|
|
7557
7557
|
n.r(o), n.d(o, { NoteModeByDevice: () => i, ToolPosition: () => r, getVanillanote: () => hn, getVanillanoteConfig: () => Rn });
|
|
7558
|
-
var r = function(f) {
|
|
7558
|
+
var r = (function(f) {
|
|
7559
7559
|
return f.top = "TOP", f.bottom = "BOTTOM", f;
|
|
7560
|
-
}({}), i = function(f) {
|
|
7560
|
+
})({}), i = (function(f) {
|
|
7561
7561
|
return f.adaptive = "ADAPTIVE", f.mobile = "MOBILE", f.desktop = "DESKTOP", f;
|
|
7562
|
-
}({}), a = function(f) {
|
|
7562
|
+
})({}), a = function(f) {
|
|
7563
7563
|
for (var h = f; !(h instanceof Element); ) h = h.parentNode;
|
|
7564
7564
|
return h.closest ? h.closest("[data-vanillanote]") : null;
|
|
7565
7565
|
}, c = function(f, h, I) {
|
|
@@ -7574,10 +7574,10 @@ function pd() {
|
|
|
7574
7574
|
return f + "_eventClickCssElement";
|
|
7575
7575
|
}, W = function() {
|
|
7576
7576
|
var f = (/* @__PURE__ */ new Date()).getTime();
|
|
7577
|
-
return typeof performance < "u" && typeof performance.now == "function" && (f += performance.now()), "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(h) {
|
|
7577
|
+
return typeof performance < "u" && typeof performance.now == "function" && (f += performance.now()), "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (function(h) {
|
|
7578
7578
|
var I = (f + 16 * Math.random()) % 16 | 0;
|
|
7579
7579
|
return f = Math.floor(f / 16), (h === "x" ? I : 3 & I | 8).toString(16);
|
|
7580
|
-
});
|
|
7580
|
+
}));
|
|
7581
7581
|
}, K = function(f) {
|
|
7582
7582
|
if (!f) return null;
|
|
7583
7583
|
for (var h, I = f instanceof Element ? f : f.parentNode; !I.hasAttribute("data-note-id") && (I = I.parentNode) && I.hasAttribute; ) ;
|
|
@@ -7659,10 +7659,10 @@ function pd() {
|
|
|
7659
7659
|
return I = I < 127.5 ? I + 16 : I - 16, be = be < 127.5 ? be + 16 : be - 16, "#" + (h = ((h = h < 127.5 ? h + 16 : h - 16) < 0 ? 0 : h > 255 ? 255 : h).toString(16).padStart(2, "0")) + (I = (I < 0 ? 0 : I > 255 ? 255 : I).toString(16).padStart(2, "0")) + (be < 0 ? 0 : be > 255 ? 255 : be).toString(16).padStart(2, "0");
|
|
7660
7660
|
}, Qe = function(f) {
|
|
7661
7661
|
var h = { color1: "", color2: "", color3: "", color4: "", color5: "", color6: "", color7: "", color8: "", color9: "", color10: "", color11: "", color12: "", color13: "", color14: "", color15: "", color16: "", color17: "", color18: "", color19: "", color20: "" };
|
|
7662
|
-
return function(I) {
|
|
7662
|
+
return (function(I) {
|
|
7663
7663
|
if (!/^#([0-9a-fA-F]{6})$/.test(I)) throw new Error("Invalid HEX color format: ".concat(I));
|
|
7664
7664
|
return parseInt(I.slice(1, 3), 16) + parseInt(I.slice(3, 5), 16) + parseInt(I.slice(5, 7), 16) > 385 ? "light" : "dark";
|
|
7665
|
-
}(f = De(f)) === "light" ? (h.color1 = "#333333", h.color2 = "#ffffff", h.color3 = ot(f, "18"), h.color4 = f, h.color5 = ot(f, "-18"), h.color6 = ot(f, "-1f"), h.color7 = ot(f, "-2f"), h.color8 = "#609966", h.color9 = "#df2e38", h.color10 = "#333333", h.color11 = "#666666", h.color12 = "#333333", h.color13 = "#ffffff", h.color14 = "#ff7f7f", h.color15 = "#ffad66", h.color16 = "#ffff66", h.color17 = "#99ff99", h.color18 = "#99ccff", h.color19 = "#6699cc", h.color20 = "#cc99cc") : (h.color1 = "#ffffff", h.color2 = "#ffffff", h.color3 = ot(f, "18"), h.color4 = f, h.color5 = ot(f, "-18"), h.color6 = ot(f, "-1f"), h.color7 = ot(f, "-2f"), h.color8 = "#609966", h.color9 = "#df2e38", h.color10 = "#333333", h.color11 = "#666666", h.color12 = "#333333", h.color13 = "#ffffff", h.color14 = "#b70404", h.color15 = "#e55807", h.color16 = "#f1c93b", h.color17 = "#1a5d1a", h.color18 = "#068fff", h.color19 = "#0c134f", h.color20 = "#5c469c"), h;
|
|
7665
|
+
})(f = De(f)) === "light" ? (h.color1 = "#333333", h.color2 = "#ffffff", h.color3 = ot(f, "18"), h.color4 = f, h.color5 = ot(f, "-18"), h.color6 = ot(f, "-1f"), h.color7 = ot(f, "-2f"), h.color8 = "#609966", h.color9 = "#df2e38", h.color10 = "#333333", h.color11 = "#666666", h.color12 = "#333333", h.color13 = "#ffffff", h.color14 = "#ff7f7f", h.color15 = "#ffad66", h.color16 = "#ffff66", h.color17 = "#99ff99", h.color18 = "#99ccff", h.color19 = "#6699cc", h.color20 = "#cc99cc") : (h.color1 = "#ffffff", h.color2 = "#ffffff", h.color3 = ot(f, "18"), h.color4 = f, h.color5 = ot(f, "-18"), h.color6 = ot(f, "-1f"), h.color7 = ot(f, "-2f"), h.color8 = "#609966", h.color9 = "#df2e38", h.color10 = "#333333", h.color11 = "#666666", h.color12 = "#333333", h.color13 = "#ffffff", h.color14 = "#b70404", h.color15 = "#e55807", h.color16 = "#f1c93b", h.color17 = "#1a5d1a", h.color18 = "#068fff", h.color19 = "#0c134f", h.color20 = "#5c469c"), h;
|
|
7666
7666
|
};
|
|
7667
7667
|
function ut(f) {
|
|
7668
7668
|
return ut = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(h) {
|
|
@@ -7672,9 +7672,9 @@ function pd() {
|
|
|
7672
7672
|
}, ut(f);
|
|
7673
7673
|
}
|
|
7674
7674
|
function Ye(f, h) {
|
|
7675
|
-
return function(I) {
|
|
7675
|
+
return (function(I) {
|
|
7676
7676
|
if (Array.isArray(I)) return I;
|
|
7677
|
-
}(f) || function(I, be) {
|
|
7677
|
+
})(f) || (function(I, be) {
|
|
7678
7678
|
var Be = I == null ? null : typeof Symbol < "u" && I[Symbol.iterator] || I["@@iterator"];
|
|
7679
7679
|
if (Be != null) {
|
|
7680
7680
|
var tt, Ge, j, E, s = [], l = !0, k = !1;
|
|
@@ -7691,16 +7691,16 @@ function pd() {
|
|
|
7691
7691
|
}
|
|
7692
7692
|
return s;
|
|
7693
7693
|
}
|
|
7694
|
-
}(f, h) || function(I, be) {
|
|
7694
|
+
})(f, h) || (function(I, be) {
|
|
7695
7695
|
if (I) {
|
|
7696
7696
|
if (typeof I == "string") return Je(I, be);
|
|
7697
7697
|
var Be = {}.toString.call(I).slice(8, -1);
|
|
7698
7698
|
return Be === "Object" && I.constructor && (Be = I.constructor.name), Be === "Map" || Be === "Set" ? Array.from(I) : Be === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Be) ? Je(I, be) : void 0;
|
|
7699
7699
|
}
|
|
7700
|
-
}(f, h) || function() {
|
|
7700
|
+
})(f, h) || (function() {
|
|
7701
7701
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7702
7702
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
7703
|
-
}();
|
|
7703
|
+
})();
|
|
7704
7704
|
}
|
|
7705
7705
|
function Je(f, h) {
|
|
7706
7706
|
(h == null || h > f.length) && (h = f.length);
|
|
@@ -7711,26 +7711,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7711
7711
|
var I = Object.keys(f);
|
|
7712
7712
|
if (Object.getOwnPropertySymbols) {
|
|
7713
7713
|
var be = Object.getOwnPropertySymbols(f);
|
|
7714
|
-
h && (be = be.filter(function(Be) {
|
|
7714
|
+
h && (be = be.filter((function(Be) {
|
|
7715
7715
|
return Object.getOwnPropertyDescriptor(f, Be).enumerable;
|
|
7716
|
-
})), I.push.apply(I, be);
|
|
7716
|
+
}))), I.push.apply(I, be);
|
|
7717
7717
|
}
|
|
7718
7718
|
return I;
|
|
7719
7719
|
}
|
|
7720
7720
|
function Pt(f) {
|
|
7721
7721
|
for (var h = 1; h < arguments.length; h++) {
|
|
7722
7722
|
var I = arguments[h] != null ? arguments[h] : {};
|
|
7723
|
-
h % 2 ? dt(Object(I), !0).forEach(function(be) {
|
|
7723
|
+
h % 2 ? dt(Object(I), !0).forEach((function(be) {
|
|
7724
7724
|
Re(f, be, I[be]);
|
|
7725
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(f, Object.getOwnPropertyDescriptors(I)) : dt(Object(I)).forEach(function(be) {
|
|
7725
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(f, Object.getOwnPropertyDescriptors(I)) : dt(Object(I)).forEach((function(be) {
|
|
7726
7726
|
Object.defineProperty(f, be, Object.getOwnPropertyDescriptor(I, be));
|
|
7727
|
-
});
|
|
7727
|
+
}));
|
|
7728
7728
|
}
|
|
7729
7729
|
return f;
|
|
7730
7730
|
}
|
|
7731
7731
|
function Re(f, h, I) {
|
|
7732
|
-
return (h = function(be) {
|
|
7733
|
-
var Be = function(tt) {
|
|
7732
|
+
return (h = (function(be) {
|
|
7733
|
+
var Be = (function(tt) {
|
|
7734
7734
|
if (ut(tt) != "object" || !tt) return tt;
|
|
7735
7735
|
var Ge = tt[Symbol.toPrimitive];
|
|
7736
7736
|
if (Ge !== void 0) {
|
|
@@ -7739,38 +7739,38 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7739
7739
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
7740
7740
|
}
|
|
7741
7741
|
return String(tt);
|
|
7742
|
-
}(be);
|
|
7742
|
+
})(be);
|
|
7743
7743
|
return ut(Be) == "symbol" ? Be : Be + "";
|
|
7744
|
-
}(h)) in f ? Object.defineProperty(f, h, { value: I, enumerable: !0, configurable: !0, writable: !0 }) : f[h] = I, f;
|
|
7744
|
+
})(h)) in f ? Object.defineProperty(f, h, { value: I, enumerable: !0, configurable: !0, writable: !0 }) : f[h] = I, f;
|
|
7745
7745
|
}
|
|
7746
7746
|
var ft = function(f, h, I, be) {
|
|
7747
7747
|
var Be = null, tt = h.createElement("div", I, f.consts.CLASS_NAMES.template.id, f.consts.CLASS_NAMES.template.className);
|
|
7748
7748
|
tt.style.display = "none";
|
|
7749
7749
|
var Ge = h.createElementBasic(I._noteName + "-textarea", I, f.consts.CLASS_NAMES.textarea.id, f.consts.CLASS_NAMES.textarea.className);
|
|
7750
|
-
Ge.setAttribute("contenteditable", "true"), Ge.setAttribute("role", "textbox"), Ge.setAttribute("aria-multiline", "true"), Ge.setAttribute("spellcheck", "true"), Ge.setAttribute("autocorrect", "true"), Ge.setAttribute("name", c(I._noteName, I._id, f.consts.CLASS_NAMES.textarea.id)), Ge.setAttribute("title", f.languageSet[I._attributes.language].textareaTooltip), Ge.addEventListener("focus", function(ue) {
|
|
7750
|
+
Ge.setAttribute("contenteditable", "true"), Ge.setAttribute("role", "textbox"), Ge.setAttribute("aria-multiline", "true"), Ge.setAttribute("spellcheck", "true"), Ge.setAttribute("autocorrect", "true"), Ge.setAttribute("name", c(I._noteName, I._id, f.consts.CLASS_NAMES.textarea.id)), Ge.setAttribute("title", f.languageSet[I._attributes.language].textareaTooltip), Ge.addEventListener("focus", (function(ue) {
|
|
7751
7751
|
I._elementEvents.textarea_onBeforeFocus(ue) && (f.events.elementEvents.textarea_onFocus(ue), I._elementEvents.textarea_onAfterFocus(ue), ue.stopImmediatePropagation());
|
|
7752
|
-
}), Ge.addEventListener(typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent) ? "mouseout" : "blur", function(ue) {
|
|
7752
|
+
})), Ge.addEventListener(typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent) ? "mouseout" : "blur", (function(ue) {
|
|
7753
7753
|
I._elementEvents.textarea_onBeforeBlur(ue) && (f.events.elementEvents.textarea_onBlur(ue), I._elementEvents.textarea_onAfterBlur(ue), ue.stopImmediatePropagation());
|
|
7754
|
-
}), Ge.addEventListener("keydown", function(ue) {
|
|
7754
|
+
})), Ge.addEventListener("keydown", (function(ue) {
|
|
7755
7755
|
f.events.elementEvents.textarea_onKeydown(ue), ue.stopImmediatePropagation();
|
|
7756
|
-
}), Ge.addEventListener("keyup", function(ue) {
|
|
7756
|
+
})), Ge.addEventListener("keyup", (function(ue) {
|
|
7757
7757
|
f.events.elementEvents.textarea_onKeyup(ue), ue.stopImmediatePropagation();
|
|
7758
|
-
}), Ge.addEventListener("beforeinput", function(ue) {
|
|
7758
|
+
})), Ge.addEventListener("beforeinput", (function(ue) {
|
|
7759
7759
|
f.events.elementEvents.textarea_onBeforeinput(ue), ue.stopImmediatePropagation();
|
|
7760
|
-
}), f.events.documentEvents.noteObserver.observe(Ge, f.variables.observerOptions), h.initTextarea(Ge);
|
|
7760
|
+
})), f.events.documentEvents.noteObserver.observe(Ge, f.variables.observerOptions), h.initTextarea(Ge);
|
|
7761
7761
|
var j = [C(I._noteName), P(I._noteName), L(I._noteName), c(I._noteName, I._id, "icon")], E = h.createElement("div", I, f.consts.CLASS_NAMES.tool.id, f.consts.CLASS_NAMES.tool.className), s = h.createElementButton("span", I, f.consts.CLASS_NAMES.toolToggleButton.id, f.consts.CLASS_NAMES.toolToggleButton.className, { isIcon: !0, text: "arrow_drop_down" });
|
|
7762
7762
|
if (f.iconSpanElement.toolToggleButtonIcon && f.iconSpanElement.toolToggleButtonIcon instanceof HTMLSpanElement) {
|
|
7763
7763
|
var l = f.iconSpanElement.toolToggleButtonIcon.cloneNode(!0);
|
|
7764
|
-
l.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7764
|
+
l.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7765
7765
|
l.classList.contains(ue) || l.classList.add(ue);
|
|
7766
|
-
}), s.replaceChild(l, s.firstChild);
|
|
7766
|
+
})), s.replaceChild(l, s.firstChild);
|
|
7767
7767
|
}
|
|
7768
7768
|
var k = h.createElementSelect("span", I, f.consts.CLASS_NAMES.paragraphStyleSelect.id, f.consts.CLASS_NAMES.paragraphStyleSelect.className, { isIcon: !0, text: "auto_fix_high" });
|
|
7769
7769
|
if (k.setAttribute("title", f.languageSet[I._attributes.language].styleTooltip), f.iconSpanElement.paragraphStyleSelectIcon && f.iconSpanElement.paragraphStyleSelectIcon instanceof HTMLSpanElement) {
|
|
7770
7770
|
var $ = f.iconSpanElement.paragraphStyleSelectIcon.cloneNode(!0);
|
|
7771
|
-
$.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7771
|
+
$.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7772
7772
|
$.classList.contains(ue) || $.classList.add(ue);
|
|
7773
|
-
}), k.replaceChild($, k.firstChild);
|
|
7773
|
+
})), k.replaceChild($, k.firstChild);
|
|
7774
7774
|
}
|
|
7775
7775
|
var J = h.createElement("div", I, f.consts.CLASS_NAMES.paragraphStyleSelectBox.id, f.consts.CLASS_NAMES.paragraphStyleSelectBox.className);
|
|
7776
7776
|
k.appendChild(J);
|
|
@@ -7791,123 +7791,123 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7791
7791
|
var et = h.createElementButton("span", I, f.consts.CLASS_NAMES.boldButton.id, f.consts.CLASS_NAMES.boldButton.className, { isIcon: !0, text: "format_bold" });
|
|
7792
7792
|
if (et.setAttribute("title", f.languageSet[I._attributes.language].boldTooltip), f.iconSpanElement.boldButtonIcon && f.iconSpanElement.boldButtonIcon instanceof HTMLSpanElement) {
|
|
7793
7793
|
var Ve = f.iconSpanElement.boldButtonIcon.cloneNode(!0);
|
|
7794
|
-
Ve.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7794
|
+
Ve.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7795
7795
|
Ve.classList.contains(ue) || Ve.classList.add(ue);
|
|
7796
|
-
}), et.replaceChild(Ve, et.firstChild);
|
|
7796
|
+
})), et.replaceChild(Ve, et.firstChild);
|
|
7797
7797
|
}
|
|
7798
7798
|
var Mt = h.createElementButton("span", I, f.consts.CLASS_NAMES.underlineButton.id, f.consts.CLASS_NAMES.underlineButton.className, { isIcon: !0, text: "format_underlined" });
|
|
7799
7799
|
if (Mt.setAttribute("title", f.languageSet[I._attributes.language].underlineTooltip), f.iconSpanElement.underlineButtonIcon && f.iconSpanElement.underlineButtonIcon instanceof HTMLSpanElement) {
|
|
7800
7800
|
var Rt = f.iconSpanElement.underlineButtonIcon.cloneNode(!0);
|
|
7801
|
-
Rt.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7801
|
+
Rt.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7802
7802
|
Rt.classList.contains(ue) || Rt.classList.add(ue);
|
|
7803
|
-
}), Mt.replaceChild(Rt, Mt.firstChild);
|
|
7803
|
+
})), Mt.replaceChild(Rt, Mt.firstChild);
|
|
7804
7804
|
}
|
|
7805
7805
|
var xt = h.createElementButton("span", I, f.consts.CLASS_NAMES.italicButton.id, f.consts.CLASS_NAMES.italicButton.className, { isIcon: !0, text: "format_italic" });
|
|
7806
7806
|
if (xt.setAttribute("title", f.languageSet[I._attributes.language].italicTooltip), f.iconSpanElement.italicButtonIcon && f.iconSpanElement.italicButtonIcon instanceof HTMLSpanElement) {
|
|
7807
7807
|
var Ht = f.iconSpanElement.italicButtonIcon.cloneNode(!0);
|
|
7808
|
-
Ht.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7808
|
+
Ht.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7809
7809
|
Ht.classList.contains(ue) || Ht.classList.add(ue);
|
|
7810
|
-
}), xt.replaceChild(Ht, xt.firstChild);
|
|
7810
|
+
})), xt.replaceChild(Ht, xt.firstChild);
|
|
7811
7811
|
}
|
|
7812
7812
|
var v = h.createElementButton("span", I, f.consts.CLASS_NAMES.ulButton.id, f.consts.CLASS_NAMES.ulButton.className, { isIcon: !0, text: "format_list_bulleted" });
|
|
7813
7813
|
if (v.setAttribute("title", f.languageSet[I._attributes.language].ulTooltip), v.setAttribute("data-tag-name", "UL"), f.iconSpanElement.ulButtonIcon && f.iconSpanElement.ulButtonIcon instanceof HTMLSpanElement) {
|
|
7814
7814
|
var w = f.iconSpanElement.ulButtonIcon.cloneNode(!0);
|
|
7815
|
-
w.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7815
|
+
w.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7816
7816
|
w.classList.contains(ue) || w.classList.add(ue);
|
|
7817
|
-
}), v.replaceChild(w, v.firstChild);
|
|
7817
|
+
})), v.replaceChild(w, v.firstChild);
|
|
7818
7818
|
}
|
|
7819
7819
|
var A = h.createElementButton("span", I, f.consts.CLASS_NAMES.olButton.id, f.consts.CLASS_NAMES.olButton.className, { isIcon: !0, text: "format_list_numbered" });
|
|
7820
7820
|
if (A.setAttribute("title", f.languageSet[I._attributes.language].olTooltip), A.setAttribute("data-tag-name", "OL"), f.iconSpanElement.olButtonIcon && f.iconSpanElement.olButtonIcon instanceof HTMLSpanElement) {
|
|
7821
7821
|
var x = f.iconSpanElement.olButtonIcon.cloneNode(!0);
|
|
7822
|
-
x.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7822
|
+
x.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7823
7823
|
x.classList.contains(ue) || x.classList.add(ue);
|
|
7824
|
-
}), A.replaceChild(x, A.firstChild);
|
|
7824
|
+
})), A.replaceChild(x, A.firstChild);
|
|
7825
7825
|
}
|
|
7826
7826
|
var g = h.createElementSelect("span", I, f.consts.CLASS_NAMES.textAlignSelect.id, f.consts.CLASS_NAMES.textAlignSelect.className, { isIcon: !0, text: "notes" });
|
|
7827
7827
|
if (g.setAttribute("title", f.languageSet[I._attributes.language].textAlignTooltip), f.iconSpanElement.textAlignSelectIcon && f.iconSpanElement.textAlignSelectIcon instanceof HTMLSpanElement) {
|
|
7828
7828
|
var p = f.iconSpanElement.textAlignSelectIcon.cloneNode(!0);
|
|
7829
|
-
p.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7829
|
+
p.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7830
7830
|
p.classList.contains(ue) || p.classList.add(ue);
|
|
7831
|
-
}), g.replaceChild(p, g.firstChild);
|
|
7831
|
+
})), g.replaceChild(p, g.firstChild);
|
|
7832
7832
|
}
|
|
7833
7833
|
var B = h.createElement("div", I, f.consts.CLASS_NAMES.textAlignSelectBox.id, f.consts.CLASS_NAMES.textAlignSelectBox.className);
|
|
7834
7834
|
g.appendChild(B);
|
|
7835
7835
|
var H = h.createElementButton("span", I, f.consts.CLASS_NAMES.textAlignLeft.id, f.consts.CLASS_NAMES.textAlignLeft.className, { isIcon: !0, text: "format_align_left" });
|
|
7836
7836
|
if (H.setAttribute("data-tag-style", "text-align:left;"), f.iconSpanElement.textAlignLeftButtonIcon && f.iconSpanElement.textAlignLeftButtonIcon instanceof HTMLSpanElement) {
|
|
7837
7837
|
var U = f.iconSpanElement.textAlignLeftButtonIcon.cloneNode(!0);
|
|
7838
|
-
U.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7838
|
+
U.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7839
7839
|
U.classList.contains(ue) || U.classList.add(ue);
|
|
7840
|
-
}), H.replaceChild(U, H.firstChild);
|
|
7840
|
+
})), H.replaceChild(U, H.firstChild);
|
|
7841
7841
|
}
|
|
7842
7842
|
B.appendChild(H);
|
|
7843
7843
|
var q = h.createElementButton("span", I, f.consts.CLASS_NAMES.textAlignCenter.id, f.consts.CLASS_NAMES.textAlignCenter.className, { isIcon: !0, text: "format_align_center" });
|
|
7844
7844
|
if (q.setAttribute("data-tag-style", "text-align:center;"), f.iconSpanElement.textAlignCenterButtonIcon && f.iconSpanElement.textAlignCenterButtonIcon instanceof HTMLSpanElement) {
|
|
7845
7845
|
var oe = f.iconSpanElement.textAlignCenterButtonIcon.cloneNode(!0);
|
|
7846
|
-
oe.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7846
|
+
oe.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7847
7847
|
oe.classList.contains(ue) || oe.classList.add(ue);
|
|
7848
|
-
}), q.replaceChild(oe, q.firstChild);
|
|
7848
|
+
})), q.replaceChild(oe, q.firstChild);
|
|
7849
7849
|
}
|
|
7850
7850
|
B.appendChild(q);
|
|
7851
7851
|
var de = h.createElementButton("span", I, f.consts.CLASS_NAMES.textAlignRight.id, f.consts.CLASS_NAMES.textAlignRight.className, { isIcon: !0, text: "format_align_right" });
|
|
7852
7852
|
if (de.setAttribute("data-tag-style", "text-align:right;"), f.iconSpanElement.textAlignRightButtonIcon && f.iconSpanElement.textAlignRightButtonIcon instanceof HTMLSpanElement) {
|
|
7853
7853
|
var he = f.iconSpanElement.textAlignRightButtonIcon.cloneNode(!0);
|
|
7854
|
-
he.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7854
|
+
he.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7855
7855
|
he.classList.contains(ue) || he.classList.add(ue);
|
|
7856
|
-
}), de.replaceChild(he, de.firstChild);
|
|
7856
|
+
})), de.replaceChild(he, de.firstChild);
|
|
7857
7857
|
}
|
|
7858
7858
|
B.appendChild(de);
|
|
7859
7859
|
var se = h.createElementButton("span", I, f.consts.CLASS_NAMES.attLinkButton.id, f.consts.CLASS_NAMES.attLinkButton.className, { isIcon: !0, text: "link" });
|
|
7860
7860
|
if (se.setAttribute("title", f.languageSet[I._attributes.language].attLinkTooltip), f.iconSpanElement.attLinkButtonIcon && f.iconSpanElement.attLinkButtonIcon instanceof HTMLSpanElement) {
|
|
7861
7861
|
var me = f.iconSpanElement.attLinkButtonIcon.cloneNode(!0);
|
|
7862
|
-
me.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7862
|
+
me.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7863
7863
|
me.classList.contains(ue) || me.classList.add(ue);
|
|
7864
|
-
}), se.replaceChild(me, se.firstChild);
|
|
7864
|
+
})), se.replaceChild(me, se.firstChild);
|
|
7865
7865
|
}
|
|
7866
7866
|
var Q = h.createElementButton("span", I, f.consts.CLASS_NAMES.attFileButton.id, f.consts.CLASS_NAMES.attFileButton.className, { isIcon: !0, text: "attach_file" });
|
|
7867
7867
|
if (Q.setAttribute("title", f.languageSet[I._attributes.language].attFileTooltip), f.iconSpanElement.attFileButtonIcon && f.iconSpanElement.attFileButtonIcon instanceof HTMLSpanElement) {
|
|
7868
7868
|
var u = f.iconSpanElement.attFileButtonIcon.cloneNode(!0);
|
|
7869
|
-
u.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7869
|
+
u.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7870
7870
|
u.classList.contains(ue) || u.classList.add(ue);
|
|
7871
|
-
}), Q.replaceChild(u, Q.firstChild);
|
|
7871
|
+
})), Q.replaceChild(u, Q.firstChild);
|
|
7872
7872
|
}
|
|
7873
7873
|
var b = h.createElementButton("span", I, f.consts.CLASS_NAMES.attImageButton.id, f.consts.CLASS_NAMES.attImageButton.className, { isIcon: !0, text: "image" });
|
|
7874
7874
|
if (b.setAttribute("title", f.languageSet[I._attributes.language].attImageTooltip), f.iconSpanElement.attImageButtonIcon && f.iconSpanElement.attImageButtonIcon instanceof HTMLSpanElement) {
|
|
7875
7875
|
var _ = f.iconSpanElement.attImageButtonIcon.cloneNode(!0);
|
|
7876
|
-
_.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7876
|
+
_.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7877
7877
|
_.classList.contains(ue) || _.classList.add(ue);
|
|
7878
|
-
}), b.replaceChild(_, b.firstChild);
|
|
7878
|
+
})), b.replaceChild(_, b.firstChild);
|
|
7879
7879
|
}
|
|
7880
7880
|
var R = h.createElementButton("span", I, f.consts.CLASS_NAMES.attVideoButton.id, f.consts.CLASS_NAMES.attVideoButton.className, { isIcon: !0, text: "videocam" });
|
|
7881
7881
|
if (R.setAttribute("title", f.languageSet[I._attributes.language].attVideoTooltip), f.iconSpanElement.attVideoButtonIcon && f.iconSpanElement.attVideoButtonIcon instanceof HTMLSpanElement) {
|
|
7882
7882
|
var F = f.iconSpanElement.attVideoButtonIcon.cloneNode(!0);
|
|
7883
|
-
F.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7883
|
+
F.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7884
7884
|
F.classList.contains(ue) || F.classList.add(ue);
|
|
7885
|
-
}), R.replaceChild(F, R.firstChild);
|
|
7885
|
+
})), R.replaceChild(F, R.firstChild);
|
|
7886
7886
|
}
|
|
7887
7887
|
var D = h.createElementButton("span", I, f.consts.CLASS_NAMES.fontSizeInputBox.id, f.consts.CLASS_NAMES.fontSizeInputBox.className, { isIcon: !0, text: "format_size" });
|
|
7888
7888
|
if (f.iconSpanElement.fontSizeInputBoxIcon && f.iconSpanElement.fontSizeInputBoxIcon instanceof HTMLSpanElement) {
|
|
7889
7889
|
var z = f.iconSpanElement.fontSizeInputBoxIcon.cloneNode(!0);
|
|
7890
|
-
z.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7890
|
+
z.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7891
7891
|
z.classList.contains(ue) || z.classList.add(ue);
|
|
7892
|
-
}), D.replaceChild(z, D.firstChild);
|
|
7892
|
+
})), D.replaceChild(z, D.firstChild);
|
|
7893
7893
|
}
|
|
7894
7894
|
var pe = h.createElementInput(I, f.consts.CLASS_NAMES.fontSizeInput.id, f.consts.CLASS_NAMES.fontSizeInput.className);
|
|
7895
7895
|
pe.setAttribute("type", "number"), pe.setAttribute("title", f.languageSet[I._attributes.language].fontSizeTooltip), h.addClickEvent(pe, f.consts.CLASS_NAMES.fontSizeInput.id, I), D.appendChild(pe);
|
|
7896
7896
|
var Se = h.createElementButton("span", I, f.consts.CLASS_NAMES.letterSpacingInputBox.id, f.consts.CLASS_NAMES.letterSpacingInputBox.className, { isIcon: !0, text: "swap_horiz" });
|
|
7897
7897
|
if (f.iconSpanElement.letterSpacingInputBoxIcon && f.iconSpanElement.letterSpacingInputBoxIcon instanceof HTMLSpanElement) {
|
|
7898
7898
|
var ze = f.iconSpanElement.letterSpacingInputBoxIcon.cloneNode(!0);
|
|
7899
|
-
ze.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7899
|
+
ze.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7900
7900
|
ze.classList.contains(ue) || ze.classList.add(ue);
|
|
7901
|
-
}), Se.replaceChild(ze, Se.firstChild);
|
|
7901
|
+
})), Se.replaceChild(ze, Se.firstChild);
|
|
7902
7902
|
}
|
|
7903
7903
|
var je = h.createElementInput(I, f.consts.CLASS_NAMES.letterSpacingInput.id, f.consts.CLASS_NAMES.letterSpacingInput.className);
|
|
7904
7904
|
je.setAttribute("type", "number"), je.setAttribute("title", f.languageSet[I._attributes.language].letterSpacingTooltip), h.addClickEvent(je, f.consts.CLASS_NAMES.letterSpacingInput.id, I), Se.appendChild(je);
|
|
7905
7905
|
var Ue = h.createElementButton("span", I, f.consts.CLASS_NAMES.lineHeightInputBox.id, f.consts.CLASS_NAMES.lineHeightInputBox.className, { isIcon: !0, text: "height" });
|
|
7906
7906
|
if (f.iconSpanElement.lineHeightInputBoxIcon && f.iconSpanElement.lineHeightInputBoxIcon instanceof HTMLSpanElement) {
|
|
7907
7907
|
var it = f.iconSpanElement.lineHeightInputBoxIcon.cloneNode(!0);
|
|
7908
|
-
it.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7908
|
+
it.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7909
7909
|
it.classList.contains(ue) || it.classList.add(ue);
|
|
7910
|
-
}), Ue.replaceChild(it, Ue.firstChild);
|
|
7910
|
+
})), Ue.replaceChild(it, Ue.firstChild);
|
|
7911
7911
|
}
|
|
7912
7912
|
var rt = h.createElementInput(I, f.consts.CLASS_NAMES.lineHeightInput.id, f.consts.CLASS_NAMES.lineHeightInput.className);
|
|
7913
7913
|
rt.setAttribute("type", "number"), rt.setAttribute("title", f.languageSet[I._attributes.language].lineHeightTooltip), h.addClickEvent(rt, f.consts.CLASS_NAMES.lineHeightInput.id, I), Ue.appendChild(rt);
|
|
@@ -7922,9 +7922,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7922
7922
|
var ae = h.createElementSelect("span", I, f.consts.CLASS_NAMES.colorTextSelect.id, f.consts.CLASS_NAMES.colorTextSelect.className, { isIcon: !0, text: "format_color_text", iconStyle: "-webkit-text-stroke: 0.5px black; font-size: 1.1em" });
|
|
7923
7923
|
if (ae.setAttribute("title", f.languageSet[I._attributes.language].colorTextTooltip), f.iconSpanElement.colorTextSelectIcon && f.iconSpanElement.colorTextSelectIcon instanceof HTMLSpanElement) {
|
|
7924
7924
|
var te = f.iconSpanElement.colorTextSelectIcon.cloneNode(!0);
|
|
7925
|
-
te.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7925
|
+
te.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7926
7926
|
te.classList.contains(ue) || te.classList.add(ue);
|
|
7927
|
-
}), ae.replaceChild(te, ae.firstChild);
|
|
7927
|
+
})), ae.replaceChild(te, ae.firstChild);
|
|
7928
7928
|
}
|
|
7929
7929
|
var ht = h.createElement("div", I, f.consts.CLASS_NAMES.colorTextSelectBox.id, f.consts.CLASS_NAMES.colorTextSelectBox.className);
|
|
7930
7930
|
ae.appendChild(ht);
|
|
@@ -7963,9 +7963,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7963
7963
|
var Ft = h.createElementSelect("span", I, f.consts.CLASS_NAMES.colorBackSelect.id, f.consts.CLASS_NAMES.colorBackSelect.className, { isIcon: !0, text: "format_color_fill", iconStyle: "font-size: 1.1em; -webkit-text-stroke: 0.5px " + I._colors.color1 + ";" });
|
|
7964
7964
|
if (Ft.setAttribute("title", f.languageSet[I._attributes.language].colorBackTooltip), f.iconSpanElement.colorBackSelectIcon && f.iconSpanElement.colorBackSelectIcon instanceof HTMLSpanElement) {
|
|
7965
7965
|
var Gt = f.iconSpanElement.colorBackSelectIcon.cloneNode(!0);
|
|
7966
|
-
Gt.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
7966
|
+
Gt.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
7967
7967
|
Gt.classList.contains(ue) || Gt.classList.add(ue);
|
|
7968
|
-
}), Ft.replaceChild(Gt, Ft.firstChild);
|
|
7968
|
+
})), Ft.replaceChild(Gt, Ft.firstChild);
|
|
7969
7969
|
}
|
|
7970
7970
|
var St = h.createElement("div", I, f.consts.CLASS_NAMES.colorBackSelectBox.id, f.consts.CLASS_NAMES.colorBackSelectBox.className);
|
|
7971
7971
|
Ft.appendChild(St);
|
|
@@ -8004,30 +8004,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8004
8004
|
var at = h.createElementButton("span", I, f.consts.CLASS_NAMES.formatClearButton.id, f.consts.CLASS_NAMES.formatClearButton.className, { isIcon: !0, text: "format_clear" });
|
|
8005
8005
|
if (at.setAttribute("title", f.languageSet[I._attributes.language].formatClearButtonTooltip), f.iconSpanElement.formatClearButtonIcon && f.iconSpanElement.formatClearButtonIcon instanceof HTMLSpanElement) {
|
|
8006
8006
|
var $e = f.iconSpanElement.formatClearButtonIcon.cloneNode(!0);
|
|
8007
|
-
$e.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8007
|
+
$e.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8008
8008
|
$e.classList.contains(ue) || $e.classList.add(ue);
|
|
8009
|
-
}), at.replaceChild($e, at.firstChild);
|
|
8009
|
+
})), at.replaceChild($e, at.firstChild);
|
|
8010
8010
|
}
|
|
8011
8011
|
var pt = h.createElementButton("span", I, f.consts.CLASS_NAMES.undoButton.id, f.consts.CLASS_NAMES.undoButton.className, { isIcon: !0, text: "undo" });
|
|
8012
8012
|
if (pt.setAttribute("title", f.languageSet[I._attributes.language].undoTooltip), f.iconSpanElement.undoButtonIcon && f.iconSpanElement.undoButtonIcon instanceof HTMLSpanElement) {
|
|
8013
8013
|
var Nt = f.iconSpanElement.undoButtonIcon.cloneNode(!0);
|
|
8014
|
-
Nt.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8014
|
+
Nt.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8015
8015
|
Nt.classList.contains(ue) || Nt.classList.add(ue);
|
|
8016
|
-
}), pt.replaceChild(Nt, pt.firstChild);
|
|
8016
|
+
})), pt.replaceChild(Nt, pt.firstChild);
|
|
8017
8017
|
}
|
|
8018
8018
|
var zt = h.createElementButton("span", I, f.consts.CLASS_NAMES.redoButton.id, f.consts.CLASS_NAMES.redoButton.className, { isIcon: !0, text: "redo" });
|
|
8019
8019
|
if (zt.setAttribute("title", f.languageSet[I._attributes.language].redoTooltip), f.iconSpanElement.redoButtonIcon && f.iconSpanElement.redoButtonIcon instanceof HTMLSpanElement) {
|
|
8020
8020
|
var Wt = f.iconSpanElement.redoButtonIcon.cloneNode(!0);
|
|
8021
|
-
Wt.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8021
|
+
Wt.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8022
8022
|
Wt.classList.contains(ue) || Wt.classList.add(ue);
|
|
8023
|
-
}), zt.replaceChild(Wt, zt.firstChild);
|
|
8023
|
+
})), zt.replaceChild(Wt, zt.firstChild);
|
|
8024
8024
|
}
|
|
8025
8025
|
var rn = h.createElementButton("span", I, f.consts.CLASS_NAMES.helpButton.id, f.consts.CLASS_NAMES.helpButton.className, { isIcon: !0, text: "help" });
|
|
8026
8026
|
if (rn.setAttribute("title", f.languageSet[I._attributes.language].helpTooltip), f.iconSpanElement.helpButtonIcon && f.iconSpanElement.helpButtonIcon instanceof HTMLSpanElement) {
|
|
8027
8027
|
var gn = f.iconSpanElement.helpButtonIcon.cloneNode(!0);
|
|
8028
|
-
gn.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8028
|
+
gn.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8029
8029
|
gn.classList.contains(ue) || gn.classList.add(ue);
|
|
8030
|
-
}), rn.replaceChild(gn, rn.firstChild);
|
|
8030
|
+
})), rn.replaceChild(gn, rn.firstChild);
|
|
8031
8031
|
}
|
|
8032
8032
|
var Xt = h.createElementBasic("div", I, f.consts.CLASS_NAMES.modalBack.id, f.consts.CLASS_NAMES.modalBack.className), kn = h.createElementBasic("div", I, f.consts.CLASS_NAMES.attLinkModal.id, f.consts.CLASS_NAMES.attLinkModal.className), Ka = h.createElement("div", I, f.consts.CLASS_NAMES.attLinkHeader.id, f.consts.CLASS_NAMES.attLinkHeader.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attLinkModalTitle });
|
|
8033
8033
|
kn.appendChild(Ka);
|
|
@@ -8048,9 +8048,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8048
8048
|
var To = h.createElement("div", I, f.consts.CLASS_NAMES.attLinkFooter.id, f.consts.CLASS_NAMES.attLinkFooter.className), dr = h.createElementButton("button", I, f.consts.CLASS_NAMES.attLinkInsertButton.id, f.consts.CLASS_NAMES.attLinkInsertButton.className, { isIcon: !0, text: "add_link" });
|
|
8049
8049
|
if (f.iconSpanElement.attLinkInsertButtonIcon && f.iconSpanElement.attLinkInsertButtonIcon instanceof HTMLSpanElement) {
|
|
8050
8050
|
var ur = f.iconSpanElement.attLinkInsertButtonIcon.cloneNode(!0);
|
|
8051
|
-
ur.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8051
|
+
ur.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8052
8052
|
ur.classList.contains(ue) || ur.classList.add(ue);
|
|
8053
|
-
}), dr.replaceChild(ur, dr.firstChild);
|
|
8053
|
+
})), dr.replaceChild(ur, dr.firstChild);
|
|
8054
8054
|
}
|
|
8055
8055
|
To.appendChild(Za), To.appendChild(Ui), To.appendChild(dr), kn.appendChild(To);
|
|
8056
8056
|
var Bo = h.createElementBasic("div", I, f.consts.CLASS_NAMES.attFileModal.id, f.consts.CLASS_NAMES.attFileModal.className), Qa = h.createElement("div", I, f.consts.CLASS_NAMES.attFileHeader.id, f.consts.CLASS_NAMES.attFileHeader.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attFileModalTitle });
|
|
@@ -8060,11 +8060,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8060
8060
|
var fr = document.createElement("div");
|
|
8061
8061
|
fr.setAttribute("style", "width:90%;text-align:center;margin:0 auto;");
|
|
8062
8062
|
var hr = h.createElementButton("div", I, f.consts.CLASS_NAMES.attFileUploadDiv.id, f.consts.CLASS_NAMES.attFileUploadDiv.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attFileUploadDiv });
|
|
8063
|
-
hr.addEventListener("dragover", function(ue) {
|
|
8063
|
+
hr.addEventListener("dragover", (function(ue) {
|
|
8064
8064
|
I._elementEvents.attFileUploadDiv_onBeforeDragover(ue) && (f.events.elementEvents.attFileUploadDiv_onDragover(ue), I._elementEvents.attFileUploadDiv_onAfterDragover(ue), ue.stopImmediatePropagation());
|
|
8065
|
-
}), hr.addEventListener("drop", function(ue) {
|
|
8065
|
+
})), hr.addEventListener("drop", (function(ue) {
|
|
8066
8066
|
I._elementEvents.attFileUploadDiv_onBeforeDrop(ue) && (f.events.elementEvents.attFileUploadDiv_onDrop(ue), I._elementEvents.attFileUploadDiv_onAfterDrop(ue), ue.stopImmediatePropagation());
|
|
8067
|
-
}), fr.appendChild(hr), Qn.appendChild(fr);
|
|
8067
|
+
})), fr.appendChild(hr), Qn.appendChild(fr);
|
|
8068
8068
|
var mr = document.createElement("div");
|
|
8069
8069
|
mr.setAttribute("style", "width:90%;text-align:right;margin:5px auto 20px auto;");
|
|
8070
8070
|
var tl = h.createElementButton("button", I, f.consts.CLASS_NAMES.attFileUploadButton.id, f.consts.CLASS_NAMES.attFileUploadButton.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attFileUploadButton });
|
|
@@ -8074,9 +8074,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8074
8074
|
var Gi = h.createElement("div", I, f.consts.CLASS_NAMES.attFileFooter.id, f.consts.CLASS_NAMES.attFileFooter.className), yr = h.createElementButton("button", I, f.consts.CLASS_NAMES.attFileInsertButton.id, f.consts.CLASS_NAMES.attFileInsertButton.className, { isIcon: !0, text: "attach_file" });
|
|
8075
8075
|
if (f.iconSpanElement.attFileInsertButtonIcon && f.iconSpanElement.attFileInsertButtonIcon instanceof HTMLSpanElement) {
|
|
8076
8076
|
var pr = f.iconSpanElement.attFileInsertButtonIcon.cloneNode(!0);
|
|
8077
|
-
pr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8077
|
+
pr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8078
8078
|
pr.classList.contains(ue) || pr.classList.add(ue);
|
|
8079
|
-
}), yr.replaceChild(pr, yr.firstChild);
|
|
8079
|
+
})), yr.replaceChild(pr, yr.firstChild);
|
|
8080
8080
|
}
|
|
8081
8081
|
Gi.appendChild(yr), Bo.appendChild(Gi);
|
|
8082
8082
|
var dn = h.createElementBasic("div", I, f.consts.CLASS_NAMES.attImageModal.id, f.consts.CLASS_NAMES.attImageModal.className), nl = h.createElement("div", I, f.consts.CLASS_NAMES.attImageHeader.id, f.consts.CLASS_NAMES.attImageHeader.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attImageModalTitle });
|
|
@@ -8088,31 +8088,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8088
8088
|
var Lo = h.createElementButton("button", I, f.consts.CLASS_NAMES.attImageViewPreButton.id, f.consts.CLASS_NAMES.attImageViewPreButton.className, { isIcon: !0, text: "navigate_before" });
|
|
8089
8089
|
if (f.iconSpanElement.attImageViewPreButtonIcon && f.iconSpanElement.attImageViewPreButtonIcon instanceof HTMLSpanElement) {
|
|
8090
8090
|
var _r = f.iconSpanElement.attImageViewPreButtonIcon.cloneNode(!0);
|
|
8091
|
-
_r.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8091
|
+
_r.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8092
8092
|
_r.classList.contains(ue) || _r.classList.add(ue);
|
|
8093
|
-
}), Lo.replaceChild(_r, Lo.firstChild);
|
|
8093
|
+
})), Lo.replaceChild(_r, Lo.firstChild);
|
|
8094
8094
|
}
|
|
8095
8095
|
Lo.setAttribute("style", "position:absolute;top:50%;transform:translateY(-50%) translateX(1%);"), fo.appendChild(Lo);
|
|
8096
8096
|
var vr = h.createElementBasic("div", I, f.consts.CLASS_NAMES.attImageUploadButtonAndView.id, f.consts.CLASS_NAMES.attImageUploadButtonAndView.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attImageUploadButtonAndView });
|
|
8097
|
-
vr.addEventListener("dragover", function(ue) {
|
|
8097
|
+
vr.addEventListener("dragover", (function(ue) {
|
|
8098
8098
|
I._elementEvents.attImageUploadButtonAndView_onBeforeDragover(ue) && (f.events.elementEvents.attImageUploadButtonAndView_onDragover(ue), I._elementEvents.attImageUploadButtonAndView_onAfterDragover(ue), ue.stopImmediatePropagation());
|
|
8099
|
-
}), vr.addEventListener("drop", function(ue) {
|
|
8099
|
+
})), vr.addEventListener("drop", (function(ue) {
|
|
8100
8100
|
I._elementEvents.attImageUploadButtonAndView_onBeforeDrop(ue) && (f.events.elementEvents.attImageUploadButtonAndView_onDrop(ue), I._elementEvents.attImageUploadButtonAndView_onAfterDrop(ue), ue.stopImmediatePropagation());
|
|
8101
|
-
}), fo.appendChild(vr);
|
|
8101
|
+
})), fo.appendChild(vr);
|
|
8102
8102
|
var No = h.createElementButton("button", I, f.consts.CLASS_NAMES.attImageViewNextButton.id, f.consts.CLASS_NAMES.attImageViewNextButton.className, { isIcon: !0, text: "navigate_next" });
|
|
8103
8103
|
if (f.iconSpanElement.attImageViewNextButtonIcon && f.iconSpanElement.attImageViewNextButtonIcon instanceof HTMLSpanElement) {
|
|
8104
8104
|
var br = f.iconSpanElement.attImageViewNextButtonIcon.cloneNode(!0);
|
|
8105
|
-
br.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8105
|
+
br.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8106
8106
|
br.classList.contains(ue) || br.classList.add(ue);
|
|
8107
|
-
}), No.replaceChild(br, No.firstChild);
|
|
8107
|
+
})), No.replaceChild(br, No.firstChild);
|
|
8108
8108
|
}
|
|
8109
8109
|
No.setAttribute("style", "position:absolute;top:50%;transform:translateY(-50%) translateX(-101%);"), fo.appendChild(No), dn.appendChild(fo);
|
|
8110
8110
|
var Ro = h.createElementInput(I, f.consts.CLASS_NAMES.attImageUpload.id, f.consts.CLASS_NAMES.attImageUpload.className);
|
|
8111
8111
|
Ro.setAttribute("type", "file"), Ro.setAttribute("multiple", "");
|
|
8112
|
-
var qc = function(ue) {
|
|
8112
|
+
var qc = (function(ue) {
|
|
8113
8113
|
for (var eo = "", On = 0; On < ue.length; On++) ue[On] && (eo += ue[On].trim(), On !== ue.length - 1 && (eo += ", "));
|
|
8114
8114
|
return eo;
|
|
8115
|
-
}(I._attributes.attImageAcceptTypes);
|
|
8115
|
+
})(I._attributes.attImageAcceptTypes);
|
|
8116
8116
|
Ro.setAttribute("accept", qc), dn.appendChild(Ro);
|
|
8117
8117
|
var rl = h.createElement("div", I, f.consts.CLASS_NAMES.attImageExplain2.id, f.consts.CLASS_NAMES.attImageExplain2.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attImageExplain2 });
|
|
8118
8118
|
dn.appendChild(rl), Be = document.createElement("br"), dn.appendChild(Be);
|
|
@@ -8121,9 +8121,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8121
8121
|
var Wi = h.createElement("div", I, f.consts.CLASS_NAMES.attImageFooter.id, f.consts.CLASS_NAMES.attImageFooter.className), Cr = h.createElementButton("button", I, f.consts.CLASS_NAMES.attImageInsertButton.id, f.consts.CLASS_NAMES.attImageInsertButton.className, { isIcon: !0, text: "image" });
|
|
8122
8122
|
if (f.iconSpanElement.attImageInsertButtonIcon && f.iconSpanElement.attImageInsertButtonIcon instanceof HTMLSpanElement) {
|
|
8123
8123
|
var Mr = f.iconSpanElement.attImageInsertButtonIcon.cloneNode(!0);
|
|
8124
|
-
Mr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8124
|
+
Mr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8125
8125
|
Mr.classList.contains(ue) || Mr.classList.add(ue);
|
|
8126
|
-
}), Cr.replaceChild(Mr, Cr.firstChild);
|
|
8126
|
+
})), Cr.replaceChild(Mr, Cr.firstChild);
|
|
8127
8127
|
}
|
|
8128
8128
|
Wi.appendChild(Cr), dn.appendChild(Wi);
|
|
8129
8129
|
var In = h.createElementBasic("div", I, f.consts.CLASS_NAMES.attVideoModal.id, f.consts.CLASS_NAMES.attVideoModal.className), il = h.createElement("div", I, f.consts.CLASS_NAMES.attVideoHeader.id, f.consts.CLASS_NAMES.attVideoHeader.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attVideoModalTitle });
|
|
@@ -8139,9 +8139,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8139
8139
|
var xr = h.createElement("span", I, "", "modal_att_video_icon", { isIcon: !0, text: "width", iconStyle: "color:" + I._colors.color10 });
|
|
8140
8140
|
if (f.iconSpanElement.attVideoWidthTextIcon && f.iconSpanElement.attVideoWidthTextIcon instanceof HTMLSpanElement) {
|
|
8141
8141
|
var Sr = f.iconSpanElement.attVideoWidthTextIcon.cloneNode(!0);
|
|
8142
|
-
Sr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8142
|
+
Sr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8143
8143
|
Sr.classList.contains(ue) || Sr.classList.add(ue);
|
|
8144
|
-
}), xr.replaceChild(Sr, xr.firstChild);
|
|
8144
|
+
})), xr.replaceChild(Sr, xr.firstChild);
|
|
8145
8145
|
}
|
|
8146
8146
|
ho.appendChild(xr);
|
|
8147
8147
|
var Ho = h.createElementInput(I, f.consts.CLASS_NAMES.attVideoWidth.id, f.consts.CLASS_NAMES.attVideoWidth.className);
|
|
@@ -8153,9 +8153,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8153
8153
|
var kr = h.createElement("span", I, "", "modal_att_video_icon", { isIcon: !0, text: "height", iconStyle: "color:" + I._colors.color10 });
|
|
8154
8154
|
if (f.iconSpanElement.attVideoHeightTextIcon && f.iconSpanElement.attVideoHeightTextIcon instanceof HTMLSpanElement) {
|
|
8155
8155
|
var Ir = f.iconSpanElement.attVideoHeightTextIcon.cloneNode(!0);
|
|
8156
|
-
Ir.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8156
|
+
Ir.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8157
8157
|
Ir.classList.contains(ue) || Ir.classList.add(ue);
|
|
8158
|
-
}), kr.replaceChild(Ir, kr.firstChild);
|
|
8158
|
+
})), kr.replaceChild(Ir, kr.firstChild);
|
|
8159
8159
|
}
|
|
8160
8160
|
mo.appendChild(kr);
|
|
8161
8161
|
var Fo = h.createElementInput(I, f.consts.CLASS_NAMES.attVideoHeight.id, f.consts.CLASS_NAMES.attVideoHeight.className);
|
|
@@ -8167,9 +8167,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8167
8167
|
var Er = h.createElementButton("button", I, f.consts.CLASS_NAMES.attVideoInsertButton.id, f.consts.CLASS_NAMES.attVideoInsertButton.className, { isIcon: !0, text: "videocam" });
|
|
8168
8168
|
if (f.iconSpanElement.attVideoInsertButtonIcon && f.iconSpanElement.attVideoInsertButtonIcon instanceof HTMLSpanElement) {
|
|
8169
8169
|
var wr = f.iconSpanElement.attVideoInsertButtonIcon.cloneNode(!0);
|
|
8170
|
-
wr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8170
|
+
wr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8171
8171
|
wr.classList.contains(ue) || wr.classList.add(ue);
|
|
8172
|
-
}), Er.replaceChild(wr, Er.firstChild);
|
|
8172
|
+
})), Er.replaceChild(wr, Er.firstChild);
|
|
8173
8173
|
}
|
|
8174
8174
|
var Oo = h.createElement("div", I, f.consts.CLASS_NAMES.attVideoFooter.id, f.consts.CLASS_NAMES.attVideoFooter.className);
|
|
8175
8175
|
Oo.appendChild(sl), Oo.appendChild(Ki), Oo.appendChild(Er), In.appendChild(Oo);
|
|
@@ -8178,24 +8178,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8178
8178
|
var Ar = h.createElementButton("span", I, f.consts.CLASS_NAMES.attLinkTooltipEditButton.id, f.consts.CLASS_NAMES.attLinkTooltipEditButton.className, { isIcon: !0, text: "add_link", iconStyle: "font-size:0.9em" });
|
|
8179
8179
|
if (f.iconSpanElement.attLinkTooltipEditButtonIcon && f.iconSpanElement.attLinkTooltipEditButtonIcon instanceof HTMLSpanElement) {
|
|
8180
8180
|
var Tr = f.iconSpanElement.attLinkTooltipEditButtonIcon.cloneNode(!0);
|
|
8181
|
-
Tr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8181
|
+
Tr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8182
8182
|
Tr.classList.contains(ue) || Tr.classList.add(ue);
|
|
8183
|
-
}), Ar.replaceChild(Tr, Ar.firstChild);
|
|
8183
|
+
})), Ar.replaceChild(Tr, Ar.firstChild);
|
|
8184
8184
|
}
|
|
8185
8185
|
var Br = h.createElementButton("span", I, f.consts.CLASS_NAMES.attLinkTooltipUnlinkButton.id, f.consts.CLASS_NAMES.attLinkTooltipUnlinkButton.className, { isIcon: !0, text: "link_off", iconStyle: "font-size:0.9em" });
|
|
8186
8186
|
if (f.iconSpanElement.attLinkTooltipUnlinkButtonIcon && f.iconSpanElement.attLinkTooltipUnlinkButtonIcon instanceof HTMLSpanElement) {
|
|
8187
8187
|
var Lr = f.iconSpanElement.attLinkTooltipUnlinkButtonIcon.cloneNode(!0);
|
|
8188
|
-
Lr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8188
|
+
Lr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8189
8189
|
Lr.classList.contains(ue) || Lr.classList.add(ue);
|
|
8190
|
-
}), Br.replaceChild(Lr, Br.firstChild);
|
|
8190
|
+
})), Br.replaceChild(Lr, Br.firstChild);
|
|
8191
8191
|
}
|
|
8192
8192
|
go.appendChild(Ar), go.appendChild(Br), go.appendChild(Xi);
|
|
8193
8193
|
var Vo = h.createElement("div", I, f.consts.CLASS_NAMES.attImageAndVideoTooltip.id, f.consts.CLASS_NAMES.attImageAndVideoTooltip.className), sn = document.createElement("div"), Do = document.createElement("span");
|
|
8194
8194
|
Do.setAttribute("class", m(I._noteName, I.id, "small_text_box")), Do.setAttribute("style", "padding: 0 0 0 10px;"), Do.textContent = f.languageSet[I._attributes.language].attImageAndVideoTooltipWidthInput, sn.appendChild(Do);
|
|
8195
8195
|
var Nr = h.createElementInput(I, f.consts.CLASS_NAMES.attImageAndVideoTooltipWidthInput.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipWidthInput.className);
|
|
8196
|
-
Nr.addEventListener("keyup", function(ue) {
|
|
8196
|
+
Nr.addEventListener("keyup", (function(ue) {
|
|
8197
8197
|
I._elementEvents.attImageAndVideoTooltipWidthInput_onBeforeKeyup(ue) && (f.events.elementEvents.attImageAndVideoTooltipWidthInput_onKeyup(ue), I._elementEvents.attImageAndVideoTooltipWidthInput_onAfterKeyup(ue), ue.stopImmediatePropagation());
|
|
8198
|
-
}), Nr.setAttribute("type", "number"), sn.appendChild(Nr);
|
|
8198
|
+
})), Nr.setAttribute("type", "number"), sn.appendChild(Nr);
|
|
8199
8199
|
var Po = document.createElement("span");
|
|
8200
8200
|
Po.setAttribute("class", m(I._noteName, I.id, "small_text_box")), Po.setAttribute("style", "padding: 0;"), Po.textContent = "%", sn.appendChild(Po);
|
|
8201
8201
|
var Rr = document.createElement("span");
|
|
@@ -8205,9 +8205,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8205
8205
|
var Hr = h.createElementRadioLabel(I, c(I._noteName, I.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioNone.id), "close");
|
|
8206
8206
|
if (f.iconSpanElement.attImageAndVideoTooltipFloatRadioNoneLabelIcon && f.iconSpanElement.attImageAndVideoTooltipFloatRadioNoneLabelIcon instanceof HTMLSpanElement) {
|
|
8207
8207
|
var Fr = f.iconSpanElement.attImageAndVideoTooltipFloatRadioNoneLabelIcon.cloneNode(!0);
|
|
8208
|
-
Fr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8208
|
+
Fr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8209
8209
|
Fr.classList.contains(ue) || Fr.classList.add(ue);
|
|
8210
|
-
}), Hr.replaceChild(Fr, Hr.firstChild);
|
|
8210
|
+
})), Hr.replaceChild(Fr, Hr.firstChild);
|
|
8211
8211
|
}
|
|
8212
8212
|
sn.appendChild(Hr);
|
|
8213
8213
|
var dl = h.createElementInputRadio(I, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioLeft.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioLeft.className, c(I._noteName, I.id, "attImageAndVideoTooltipFloatRadio"));
|
|
@@ -8215,9 +8215,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8215
8215
|
var Or = h.createElementRadioLabel(I, c(I._noteName, I.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioLeft.id), "art_track");
|
|
8216
8216
|
if (f.iconSpanElement.attImageAndVideoTooltipFloatRadioLeftLabelIcon && f.iconSpanElement.attImageAndVideoTooltipFloatRadioLeftLabelIcon instanceof HTMLSpanElement) {
|
|
8217
8217
|
var Vr = f.iconSpanElement.attImageAndVideoTooltipFloatRadioLeftLabelIcon.cloneNode(!0);
|
|
8218
|
-
Vr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8218
|
+
Vr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8219
8219
|
Vr.classList.contains(ue) || Vr.classList.add(ue);
|
|
8220
|
-
}), Or.replaceChild(Vr, Or.firstChild);
|
|
8220
|
+
})), Or.replaceChild(Vr, Or.firstChild);
|
|
8221
8221
|
}
|
|
8222
8222
|
sn.appendChild(Or);
|
|
8223
8223
|
var ul = h.createElementInputRadio(I, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioRight.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioRight.className, c(I._noteName, I.id, "attImageAndVideoTooltipFloatRadio"));
|
|
@@ -8225,9 +8225,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8225
8225
|
var Dr = h.createElementRadioLabel(I, c(I._noteName, I.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipFloatRadioRight.id), "burst_mode");
|
|
8226
8226
|
if (f.iconSpanElement.attImageAndVideoTooltipFloatRadioRightLabelIcon && f.iconSpanElement.attImageAndVideoTooltipFloatRadioRightLabelIcon instanceof HTMLSpanElement) {
|
|
8227
8227
|
var Pr = f.iconSpanElement.attImageAndVideoTooltipFloatRadioRightLabelIcon.cloneNode(!0);
|
|
8228
|
-
Pr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8228
|
+
Pr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8229
8229
|
Pr.classList.contains(ue) || Pr.classList.add(ue);
|
|
8230
|
-
}), Dr.replaceChild(Pr, Dr.firstChild);
|
|
8230
|
+
})), Dr.replaceChild(Pr, Dr.firstChild);
|
|
8231
8231
|
}
|
|
8232
8232
|
sn.appendChild(Dr), Vo.appendChild(sn);
|
|
8233
8233
|
var En = document.createElement("div"), zr = document.createElement("span");
|
|
@@ -8237,9 +8237,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8237
8237
|
var Ur = h.createElementRadioLabel(I, c(I._noteName, I.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioSquare.id), "crop_5_4");
|
|
8238
8238
|
if (f.iconSpanElement.attImageAndVideoTooltipShapeRadioSquareLabelIcon && f.iconSpanElement.attImageAndVideoTooltipShapeRadioSquareLabelIcon instanceof HTMLSpanElement) {
|
|
8239
8239
|
var Gr = f.iconSpanElement.attImageAndVideoTooltipShapeRadioSquareLabelIcon.cloneNode(!0);
|
|
8240
|
-
Gr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8240
|
+
Gr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8241
8241
|
Gr.classList.contains(ue) || Gr.classList.add(ue);
|
|
8242
|
-
}), Ur.replaceChild(Gr, Ur.firstChild);
|
|
8242
|
+
})), Ur.replaceChild(Gr, Ur.firstChild);
|
|
8243
8243
|
}
|
|
8244
8244
|
En.appendChild(Ur);
|
|
8245
8245
|
var hl = h.createElementInputRadio(I, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioRadius.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioRadius.className, c(I._noteName, I.id, "attImageAndVideoTooltipShapeRadio"));
|
|
@@ -8247,9 +8247,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8247
8247
|
var jr = h.createElementRadioLabel(I, c(I._noteName, I.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioRadius.id), "aspect_ratio");
|
|
8248
8248
|
if (f.iconSpanElement.attImageAndVideoTooltipShapeRadioRadiusLabelIcon && f.iconSpanElement.attImageAndVideoTooltipShapeRadioRadiusLabelIcon instanceof HTMLSpanElement) {
|
|
8249
8249
|
var Wr = f.iconSpanElement.attImageAndVideoTooltipShapeRadioRadiusLabelIcon.cloneNode(!0);
|
|
8250
|
-
Wr.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8250
|
+
Wr.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8251
8251
|
Wr.classList.contains(ue) || Wr.classList.add(ue);
|
|
8252
|
-
}), jr.replaceChild(Wr, jr.firstChild);
|
|
8252
|
+
})), jr.replaceChild(Wr, jr.firstChild);
|
|
8253
8253
|
}
|
|
8254
8254
|
En.appendChild(jr);
|
|
8255
8255
|
var ml = h.createElementInputRadio(I, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioCircle.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioCircle.className, c(I._noteName, I.id, "attImageAndVideoTooltipShapeRadio"));
|
|
@@ -8257,23 +8257,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8257
8257
|
var qr = h.createElementRadioLabel(I, c(I._noteName, I.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipShapeRadioCircle.id), "circle");
|
|
8258
8258
|
if (f.iconSpanElement.attImageAndVideoTooltipShapeRadioCircleLabelIcon && f.iconSpanElement.attImageAndVideoTooltipShapeRadioCircleLabelIcon instanceof HTMLSpanElement) {
|
|
8259
8259
|
var $r = f.iconSpanElement.attImageAndVideoTooltipShapeRadioCircleLabelIcon.cloneNode(!0);
|
|
8260
|
-
$r.setAttribute("data-note-id", I._id), j.forEach(function(ue) {
|
|
8260
|
+
$r.setAttribute("data-note-id", I._id), j.forEach((function(ue) {
|
|
8261
8261
|
$r.classList.contains(ue) || $r.classList.add(ue);
|
|
8262
|
-
}), qr.replaceChild($r, qr.firstChild);
|
|
8262
|
+
})), qr.replaceChild($r, qr.firstChild);
|
|
8263
8263
|
}
|
|
8264
8264
|
En.appendChild(qr), Vo.appendChild(En);
|
|
8265
8265
|
var zo = h.createElementBasic("div", I, f.consts.CLASS_NAMES.helpModal.id, f.consts.CLASS_NAMES.helpModal.className), gl = h.createElement("div", I, f.consts.CLASS_NAMES.helpHeader.id, f.consts.CLASS_NAMES.helpHeader.className, { isIcon: !1, text: f.languageSet[I._attributes.language].helpModalTitle });
|
|
8266
8266
|
zo.appendChild(gl);
|
|
8267
8267
|
var Ji = h.createElement("div", I, f.consts.CLASS_NAMES.helpMain.id, f.consts.CLASS_NAMES.helpMain.className), Zi = document.createElement("table");
|
|
8268
|
-
f.languageSet[I._attributes.language].helpContent.forEach(function(ue) {
|
|
8268
|
+
f.languageSet[I._attributes.language].helpContent.forEach((function(ue) {
|
|
8269
8269
|
var eo = document.createElement("tr");
|
|
8270
|
-
Object.keys(ue).forEach(function(On) {
|
|
8270
|
+
Object.keys(ue).forEach((function(On) {
|
|
8271
8271
|
var ea = document.createElement("td");
|
|
8272
8272
|
ea.textContent = On, ea.setAttribute("style", "width:30%;padding:0 0 6px 12px;border:none;"), eo.appendChild(ea);
|
|
8273
8273
|
var ta = document.createElement("td");
|
|
8274
8274
|
ta.setAttribute("style", "width:70%;padding:0 12px 6px 12px;border:none;"), ta.textContent = ue[On], eo.appendChild(ta);
|
|
8275
|
-
}), Zi.appendChild(eo);
|
|
8276
|
-
}), Ji.appendChild(Zi), zo.appendChild(Ji);
|
|
8275
|
+
})), Zi.appendChild(eo);
|
|
8276
|
+
})), Ji.appendChild(Zi), zo.appendChild(Ji);
|
|
8277
8277
|
var Qi = h.createElement("div", I, f.consts.CLASS_NAMES.helpFooter.id, f.consts.CLASS_NAMES.helpFooter.className);
|
|
8278
8278
|
Qi.setAttribute("style", "height:25px;"), zo.appendChild(Qi);
|
|
8279
8279
|
var Yr = h.createElementBasic("div", I, f.consts.CLASS_NAMES.placeholder.id, f.consts.CLASS_NAMES.placeholder.className);
|
|
@@ -8290,9 +8290,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8290
8290
|
for (var I, be = h.getAttribute("note-mode-by-device") && ["ADAPTIVE", "MOBILE", "DESKTOP"].indexOf(h.getAttribute("note-mode-by-device")) ? h.getAttribute("note-mode-by-device").toUpperCase() : f.attributes.noteModeByDevice, Be = be === "MOBILE" || be !== "DESKTOP" && X(), tt = h.getAttribute("tool-position") && ["BOTTOM", "TOP"].indexOf(h.getAttribute("tool-position")) >= 0 ? h.getAttribute("tool-position") : Be ? r.bottom : r.top, Ge = ee(h.getAttribute("tool-default-line")) ? Number(h.getAttribute("tool-default-line")) : Be ? 2 : 1, j = h.getAttribute("tool-toggle") ? h.getAttribute("tool-toggle").toLowerCase() === "true" : !!Be, E = h.getAttribute("textarea-width") ? h.getAttribute("textarea-width") : f.attributes.textareaOriginWidth, s = h.getAttribute("textarea-height") ? h.getAttribute("textarea-height") : f.attributes.textareaOriginHeight, l = h.getAttribute("textarea-max-width") ? h.getAttribute("textarea-max-width") : f.attributes.textareaMaxWidth, k = h.getAttribute("textarea-max-height") ? h.getAttribute("textarea-max-height") : f.attributes.textareaMaxHeight, $ = h.getAttribute("textarea-height-isModify") ? h.getAttribute("textarea-height-isModify").toLowerCase() === "true" : f.attributes.textareaHeightIsModify, J = h.getAttribute("placeholder-is-visible") ? h.getAttribute("placeholder-is-visible").toLowerCase() === "true" : f.attributes.placeholderIsVisible, ie = re(h.getAttribute("placeholder-add-top")) ? Number(h.getAttribute("placeholder-add-top")) : f.attributes.placeholderAddTop, ge = re(h.getAttribute("placeholder-add-left")) ? Number(h.getAttribute("placeholder-add-left")) : f.attributes.placeholderAddLeft, Ce = h.getAttribute("placeholder-width") ? h.getAttribute("placeholder-width") : f.attributes.placeholderWidth, He = h.getAttribute("placeholder-color") ? h.getAttribute("placeholder-color") : f.attributes.placeholderColor, Le = h.getAttribute("placeholder-background-color") ? h.getAttribute("placeholder-background-color") : f.attributes.placeholderBackgroundColor, Ke = h.getAttribute("placeholder-title") ? h.getAttribute("placeholder-title") : f.attributes.placeholderTitle, Ze = h.getAttribute("placeholder-text-content") ? h.getAttribute("placeholder-text-content") : f.attributes.placeholderTextContent, et = h.getAttribute("att-file-prevent-types") ? h.getAttribute("att-file-prevent-types").split(",") : f.attributes.attFilePreventTypes, Ve = h.getAttribute("att-file-accept-types") ? h.getAttribute("att-file-accept-types").split(",") : f.attributes.attFileAcceptTypes, Mt = ee(h.getAttribute("att-file-max-size")) ? Number(h.getAttribute("att-file-max-size")) : f.attributes.attFileMaxSize, Rt = h.getAttribute("att-image-prevent-types") ? h.getAttribute("att-image-prevent-types").split(",") : f.attributes.attImagePreventTypes, xt = h.getAttribute("att-image-accept-types") ? h.getAttribute("att-image-accept-types").split(",") : f.attributes.attImageAcceptTypes, Ht = ee(h.getAttribute("att-image-max-size")) ? Number(h.getAttribute("att-image-max-size")) : f.attributes.attImageMaxSize, v = f.attributes.defaultFontFamilies, w = h.getAttribute("add-font-family") ? h.getAttribute("add-font-family").split(",") : [], A = h.getAttribute("remove-font-family") ? h.getAttribute("remove-font-family").split(",") : [], x = 0; x < w.length; x++) w[x], w[x] && (v.includes(w[x]) || (I = w[x], /^[A-Za-z0-9]+$/.test(I) ? v.splice(7 + x, 0, w[x]) : v.push(w[x])));
|
|
8291
8291
|
for (var g = function(S) {
|
|
8292
8292
|
if (!A[S]) return 1;
|
|
8293
|
-
v = v.filter(function(N) {
|
|
8293
|
+
v = v.filter((function(N) {
|
|
8294
8294
|
return N !== A[S];
|
|
8295
|
-
});
|
|
8295
|
+
}));
|
|
8296
8296
|
}, p = 0; p < A.length; p++) g(p);
|
|
8297
8297
|
var B = h.getAttribute("default-font-family") ? h.getAttribute("default-font-family") : f.attributes.defaultTextareaFontFamily;
|
|
8298
8298
|
v.includes(B) || v.splice(0, 0, B);
|
|
@@ -8761,12 +8761,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8761
8761
|
}, placeholder_onAfterClick: function(h) {
|
|
8762
8762
|
} };
|
|
8763
8763
|
}, Yn = function(f, h) {
|
|
8764
|
-
(h || document).querySelectorAll("[data-vanillanote]").forEach(function(I) {
|
|
8764
|
+
(h || document).querySelectorAll("[data-vanillanote]").forEach((function(I) {
|
|
8765
8765
|
var be, Be = document.getElementById("".concat(I._noteName, "_").concat(I._id, "_styles-sheet"));
|
|
8766
|
-
Be == null || (be = Be.parentElement) === null || be === void 0 || be.removeChild(Be), delete f.vanillanoteElements[I._id], function(tt) {
|
|
8766
|
+
Be == null || (be = Be.parentElement) === null || be === void 0 || be.removeChild(Be), delete f.vanillanoteElements[I._id], (function(tt) {
|
|
8767
8767
|
for (; tt.firstChild; ) tt.removeChild(tt.firstChild);
|
|
8768
|
-
}(I);
|
|
8769
|
-
});
|
|
8768
|
+
})(I);
|
|
8769
|
+
}));
|
|
8770
8770
|
};
|
|
8771
8771
|
function Zt(f) {
|
|
8772
8772
|
return Zt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(h) {
|
|
@@ -8873,10 +8873,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8873
8873
|
var h, I, be, Be, tt, Ge, j, E, s, l, k, $, J, ie, ge, Ce, He, Le, Ke, Ze, et, Ve, Mt, Rt, xt, Ht, v, w, A, x, g, p, B, H, U, q, oe, de, he, se;
|
|
8874
8874
|
if (Xe) return Xe;
|
|
8875
8875
|
var me = function(D) {
|
|
8876
|
-
return Object.freeze(D), Object.getOwnPropertyNames(D).forEach(function(z) {
|
|
8876
|
+
return Object.freeze(D), Object.getOwnPropertyNames(D).forEach((function(z) {
|
|
8877
8877
|
var pe = D[z];
|
|
8878
8878
|
pe && Lt(pe) === "object" && !Object.isFrozen(pe) && me(pe);
|
|
8879
|
-
}), D;
|
|
8879
|
+
})), D;
|
|
8880
8880
|
}, Q = me({ START_POSSIBLE_TAG: ["P", "H1", "H2", "H3", "H4", "H5", "H6", "OL", "UL", "BR", "DIV", "PRE", "BLOCKQUOTE", "TABLE"], UNIT_TAG: ["P", "H1", "H2", "H3", "H4", "H5", "H6", "LI", "DIV", "PRE", "BLOCKQUOTE", "TH", "TD"], DOUBLE_TAG: ["UL", "OL"], NOT_SINGLE_TAG: ["P", "H1", "H2", "H3", "H4", "H5", "H6", "OL", "UL", "LI", "DIV", "PRE", "BLOCKQUOTE"], SPECIAL_TAG: ["A", "IMG", "IFRAME"], AUTO_MODIFY_TAG: ["B", "U"], EMPTY_ABLE_TAG: ["BR", "IMG", "IFRAME", "INPUT", "I"], CLASS_NAMES: { template: { id: "template", className: "template" }, textarea: { id: "textarea", className: "textarea" }, tool: { id: "tool", className: "tool" }, toolToggleButton: { id: "toolToggleButton", className: "button" }, paragraphStyleSelect: { id: "paragraphStyleSelect", className: "select" }, paragraphStyleSelectBox: { id: "paragraphStyleSelectBox", className: "select_box_a" }, styleNomal: { id: "styleNomal", className: "select_list" }, styleHeader1: { id: "styleHeader1", className: "select_list" }, styleHeader2: { id: "styleHeader2", className: "select_list" }, styleHeader3: { id: "styleHeader3", className: "select_list" }, styleHeader4: { id: "styleHeader4", className: "select_list" }, styleHeader5: { id: "styleHeader5", className: "select_list" }, styleHeader6: { id: "styleHeader6", className: "select_list" }, boldButton: { id: "boldButton", className: "button" }, underlineButton: { id: "underlineButton", className: "button" }, italicButton: { id: "italicButton", className: "button" }, ulButton: { id: "ulButton", className: "button" }, olButton: { id: "olButton", className: "button" }, textAlignSelect: { id: "textAlignSelect", className: "button" }, textAlignSelectBox: { id: "textAlignSelectBox", className: "select_box_b" }, textAlignLeft: { id: "textAlignLeft", className: "select_list_button" }, textAlignCenter: { id: "textAlignCenter", className: "select_list_button" }, textAlignRight: { id: "textAlignRight", className: "select_list_button" }, attLinkButton: { id: "attLinkButton", className: "button" }, attFileButton: { id: "attFileButton", className: "button" }, attImageButton: { id: "attImageButton", className: "button" }, attVideoButton: { id: "attVideoButton", className: "button" }, fontSizeInputBox: { id: "fontSizeInputBox", className: "small_input_box" }, fontSizeInput: { id: "fontSizeInput", className: "small_input" }, letterSpacingInputBox: { id: "letterSpacingInputBox", className: "small_input_box" }, letterSpacingInput: { id: "letterSpacingInput", className: "small_input" }, lineHeightInputBox: { id: "lineHeightInputBox", className: "small_input_box" }, lineHeightInput: { id: "lineHeightInput", className: "small_input" }, fontFamilySelect: { id: "fontFamilySelect", className: "select" }, fontFamilySelectBox: { id: "fontFamilySelectBox", className: "select_box_a" }, fontFamily: { id: "fontFamily_", className: "select_list" }, colorTextSelect: { id: "colorTextSelect", className: "button" }, colorTextSelectBox: { id: "colorTextSelectBox", className: "select_box_c" }, colorText0: { id: "colorText0", className: "color_button" }, colorText1: { id: "colorText1", className: "color_button" }, colorText2: { id: "colorText2", className: "color_button" }, colorText3: { id: "colorText3", className: "color_button" }, colorText4: { id: "colorText4", className: "color_button" }, colorText5: { id: "colorText5", className: "color_button" }, colorText6: { id: "colorText6", className: "color_button" }, colorText7: { id: "colorText7", className: "color_button" }, colorTextRInput: { id: "colorTextRInput", className: "color_input" }, colorTextRExplain: { id: "colorTextRExplain", className: "color_explain" }, colorTextGInput: { id: "colorTextGInput", className: "color_input" }, colorTextGExplain: { id: "colorTextGExplain", className: "color_explain" }, colorTextBInput: { id: "colorTextBInput", className: "color_input" }, colorTextBExplain: { id: "colorTextBExplain", className: "color_explain" }, colorTextOpacityInput: { id: "colorTextOpacityInput", className: "color_input" }, colorTextOpacityExplain: { id: "colorTextOpacityExplain", className: "color_explain" }, colorBackSelect: { id: "colorBackSelect", className: "button" }, colorBackSelectBox: { id: "colorTextSelectBox", className: "select_box_c" }, colorBack0: { id: "colorBack0", className: "color_button" }, colorBack1: { id: "colorBack1", className: "color_button" }, colorBack2: { id: "colorBack2", className: "color_button" }, colorBack3: { id: "colorBack3", className: "color_button" }, colorBack4: { id: "colorBack4", className: "color_button" }, colorBack5: { id: "colorBack5", className: "color_button" }, colorBack6: { id: "colorBack6", className: "color_button" }, colorBack7: { id: "colorBack7", className: "color_button" }, colorBackRInput: { id: "colorBackRInput", className: "color_input" }, colorBackRExplain: { id: "colorBackRExplain", className: "color_explain" }, colorBackGInput: { id: "colorBackGInput", className: "color_input" }, colorBackGExplain: { id: "colorBackGExplain", className: "color_explain" }, colorBackBInput: { id: "colorBackBInput", className: "color_input" }, colorBackBExplain: { id: "colorBackBExplain", className: "color_explain" }, colorBackOpacityInput: { id: "colorBackOpacityInput", className: "color_input" }, colorBackOpacityExplain: { id: "colorBackOpacityExplain", className: "color_explain" }, formatClearButton: { id: "formatClearButton", className: "button" }, undoButton: { id: "undoButton", className: "button" }, redoButton: { id: "redoButton", className: "button" }, helpButton: { id: "helpButton", className: "button" }, modalBack: { id: "modalBack", className: "modal_back" }, attLinkModal: { id: "attLinkModal", className: "modal_body" }, attLinkHeader: { id: "attLinkHeader", className: "modal_header" }, attLinkFooter: { id: "attLinkFooter", className: "modal_footer" }, attLinkExplain1: { id: "attLinkExplain1", className: "modal_explain" }, attLinkText: { id: "attLinkText", className: "modal_input" }, attLinkExplain2: { id: "attLinkExplain2", className: "modal_explain" }, attLinkHref: { id: "attLinkHref", className: "modal_input" }, attLinkIsBlankLabel: { id: "attLinkIsBlankLabel", className: "att_link_is_blank_label" }, attLinkIsBlankCheckbox: { id: "attLinkIsBlankCheckbox", className: "input_checkbox" }, attLinkValidCheckText: { id: "attLinkValidChecktext", className: "att_valid_checktext" }, attLinkValidCheckbox: { id: "attLinkValidCheckbox", className: "input_checkbox" }, attLinkInsertButton: { id: "attLinkInsertButton", className: "normal_button" }, attLinkTooltip: { id: "attLinkTooltip", className: "tooltip" }, attLinkTooltipHref: { id: "attLinkTooltipHref", className: "att_link_tooltip_href" }, attLinkTooltipEditButton: { id: "attLinkTooltipEditButton", className: "tooltip_button" }, attLinkTooltipUnlinkButton: { id: "attLinkTooltipUnlinkButton", className: "tooltip_button" }, attFileModal: { id: "attFileModal", className: "modal_body" }, attFileHeader: { id: "attFileHeader", className: "modal_header" }, attFilelayout: { id: "attFilelayout", className: "modal_layout" }, attFileExplain1: { id: "attFileExplain1", className: "modal_explain" }, attFileUploadButton: { id: "attFileUploadButton", className: "normal_button" }, attFileUploadDiv: { id: "attFileUploadDiv", className: "drag_drop_div" }, attFileUpload: { id: "attFileUpload", className: "modal_input_file" }, attFileInsertButton: { id: "attFileInsertButton", className: "normal_button" }, attFileFooter: { id: "attFileFooter", className: "modal_footer" }, attImageModal: { id: "attImageModal", className: "modal_body" }, attImageHeader: { id: "attImageHeader", className: "modal_header" }, attImageExplain1: { id: "attImageExplain1", className: "modal_explain" }, attImageExplain2: { id: "attImageExplain2", className: "modal_explain" }, attImageUploadButtonAndView: { id: "attImageUploadButtonAndView", className: "image_view_div" }, attImageViewPreButton: { id: "attImageViewPreButton", className: "opacity_button" }, attImageViewNextButton: { id: "attImageViewNextButton", className: "opacity_button" }, attImageUpload: { id: "attImageUpload", className: "modal_input_file" }, attImageURL: { id: "attImageURL", className: "modal_input" }, attImageInsertButton: { id: "attImageInsertButton", className: "normal_button" }, attImageFooter: { id: "attImageFooter", className: "modal_footer" }, attVideoModal: { id: "attVideoModal", className: "modal_body" }, attVideoHeader: { id: "attVideoHeader", className: "modal_header" }, attVideoExplain1: { id: "attVideoExplain1", className: "modal_explain" }, attVideoEmbedId: { id: "attVideoEmbedId", className: "modal_input" }, attVideoExplain2: { id: "attVideoExplain2", className: "modal_explain" }, attVideoWidth: { id: "attVideoWidth", className: "modal_small_input" }, attVideoHeight: { id: "attVideoHeight", className: "modal_small_input" }, attVideoValidCheckText: { id: "attVideoValidCheckText", className: "att_valid_checktext" }, attVideoValidCheckbox: { id: "attVideoValidCheckbox", className: "input_checkbox" }, attVideoInsertButton: { id: "attVideoInsertButton", className: "normal_button" }, attVideoFooter: { id: "attVideoFooter", className: "modal_footer" }, attImageAndVideoTooltip: { id: "attImageAndVideoTooltip", className: "tooltip" }, attImageAndVideoTooltipWidthInput: { id: "attImageAndVideoTooltipWidthInput", className: "smallpx_input" }, attImageAndVideoTooltipFloatRadioNone: { id: "attImageAndVideoTooltipFloatRadioNone", className: "input_radio" }, attImageAndVideoTooltipFloatRadioLeft: { id: "attImageAndVideoTooltipFloatRadioLeft", className: "input_radio" }, attImageAndVideoTooltipFloatRadioRight: { id: "attImageAndVideoTooltipFloatRadioRight", className: "input_radio" }, attImageAndVideoTooltipShapeRadioSquare: { id: "attImageAndVideoTooltipShapeRadioSquare", className: "input_radio" }, attImageAndVideoTooltipShapeRadioRadius: { id: "attImageAndVideoTooltipShapeRadioRadius", className: "input_radio" }, attImageAndVideoTooltipShapeRadioCircle: { id: "attImageAndVideoTooltipShapeRadioCircle", className: "input_radio" }, helpModal: { id: "helpModal", className: "modal_body" }, helpMain: { id: "helpMain", className: "help_main" }, helpHeader: { id: "helpHeader", className: "modal_header" }, helpFooter: { id: "helpFooter", className: "modal_footer" }, placeholder: { id: "placeholder", className: "placeholder" } } });
|
|
8881
8881
|
f || (f = Rn());
|
|
8882
8882
|
var u = f.colors, b = f.attributes, _ = f.variables, R = f.languageSet, F = f.useGoogleIcon;
|
|
@@ -8893,84 +8893,84 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8893
8893
|
}, _initialized: !1 }).mountNote = function(D) {
|
|
8894
8894
|
(function(z, pe, Se) {
|
|
8895
8895
|
var ze = (Se || document).querySelectorAll("[data-vanillanote]");
|
|
8896
|
-
ze.length <= 0 || (ze.forEach(function(je) {
|
|
8896
|
+
ze.length <= 0 || (ze.forEach((function(je) {
|
|
8897
8897
|
var Ue = je.getAttribute("data-id");
|
|
8898
8898
|
if (!Ue) throw new Error("The data-id attribute of vanillanote is required.");
|
|
8899
8899
|
if (Ue && Object.keys(z.vanillanoteElements).includes(Ue)) throw new Error("".concat(Ue, " is a note that has already been created."));
|
|
8900
|
-
}), ze.forEach(function(je) {
|
|
8900
|
+
})), ze.forEach((function(je) {
|
|
8901
8901
|
var Ue = je.getAttribute("data-id");
|
|
8902
8902
|
if (Object.keys(z.vanillanoteElements).includes(Ue)) throw new Error("Duplicate vanillanote id detected: ".concat(Ue));
|
|
8903
8903
|
var it = je;
|
|
8904
|
-
it.setAttribute("id", c(z.variables.noteName, Ue, "note")), it.setAttribute("class", m(z.variables.noteName, Ue, "note")), it.setAttribute("data-note-id", Ue), it._noteName = z.variables.noteName, it._id = Ue, z.vanillanoteElements[Ue] = function(rt, ct, Ne) {
|
|
8904
|
+
it.setAttribute("id", c(z.variables.noteName, Ue, "note")), it.setAttribute("class", m(z.variables.noteName, Ue, "note")), it.setAttribute("data-note-id", Ue), it._noteName = z.variables.noteName, it._id = Ue, z.vanillanoteElements[Ue] = (function(rt, ct, Ne) {
|
|
8905
8905
|
var Pe = tn(rt, Ne);
|
|
8906
8906
|
Ne._colors = Et(rt, Pe);
|
|
8907
8907
|
var lt = _e(Ne._noteName, Pe, Ne._colors), ae = "".concat(Ne._noteName, "_").concat(Ne._id, "_styles-sheet");
|
|
8908
8908
|
if (!document.getElementById(ae)) {
|
|
8909
8909
|
var te = "";
|
|
8910
|
-
Object.keys(lt).forEach(function(d) {
|
|
8911
|
-
te = te + function(y, M, S, N) {
|
|
8910
|
+
Object.keys(lt).forEach((function(d) {
|
|
8911
|
+
te = te + (function(y, M, S, N) {
|
|
8912
8912
|
return "." + c(y, M, S) + " {" + Ee(N) + "}";
|
|
8913
|
-
}(Ne._noteName, Ne._id, d, lt[d]) + `
|
|
8913
|
+
})(Ne._noteName, Ne._id, d, lt[d]) + `
|
|
8914
8914
|
`;
|
|
8915
|
-
});
|
|
8915
|
+
}));
|
|
8916
8916
|
var ht = document.createElement("style");
|
|
8917
8917
|
ht.id = ae, ht.textContent = te.trim(), document.head.appendChild(ht);
|
|
8918
8918
|
}
|
|
8919
8919
|
return Ne._selection = { editSelection: null, editRange: null, startOffset: null, endOffset: null, editStartNode: null, editEndNode: null, editStartElement: null, editEndElement: null, editStartUnitElement: null, editEndUnitElement: null, editDragUnitElement: [], setEditStyleTagToggle: 0 }, Ne._attributes = { isNoteByMobile: Pe.isNoteByMobile, language: Pe.language, sizeRate: Pe.sizeRate, toolPosition: Pe.toolPosition, toolToggleUsing: Pe.toolToggleUsing, toolDefaultLine: Pe.toolDefaultLine, textareaOriginHeight: Pe.textareaOriginHeight, defaultTextareaFontSize: Pe.defaultTextareaFontSize, defaultTextareaLineHeight: Pe.defaultTextareaLineHeight, defaultTextareaFontFamily: Pe.defaultTextareaFontFamily, defaultFontFamilies: Pe.defaultFontFamilies, attFilePreventTypes: Pe.attFilePreventTypes, attFileAcceptTypes: Pe.attFileAcceptTypes, attFileMaxSize: Pe.attFileMaxSize, attImagePreventTypes: Pe.attImagePreventTypes, attImageAcceptTypes: Pe.attImageAcceptTypes, attImageMaxSize: Pe.attImageMaxSize, placeholderIsVisible: Pe.placeholderIsVisible, placeholderWidth: Pe.placeholderWidth, placeholderAddTop: Pe.placeholderAddTop, placeholderAddLeft: Pe.placeholderAddLeft, placeholderTitle: Pe.placeholderTitle, placeholderTextContent: Pe.placeholderTextContent }, Ne._status = { toolToggle: !1, boldToggle: !1, underlineToggle: !1, italicToggle: !1, ulToggle: !1, olToggle: !1, fontSize: Pe.defaultTextareaFontSize, letterSpacing: 0, lineHeight: Pe.defaultTextareaLineHeight, fontFamily: Pe.defaultTextareaFontFamily, colorTextR: Ie(Ne._colors.color12, "R"), colorTextG: Ie(Ne._colors.color12, "G"), colorTextB: Ie(Ne._colors.color12, "B"), colorTextO: "1", colorTextRGB: Ne._colors.color12, colorTextOpacity: "1", colorBackR: Ie(Ne._colors.color13, "R"), colorBackG: Ie(Ne._colors.color13, "G"), colorBackB: Ie(Ne._colors.color13, "B"), colorBackO: "0", colorBackRGB: Ne._colors.color13, colorBackOpacity: "0" }, Ne._recodes = { recodeNotes: [], recodeCount: -1, recodeLimit: Pe.recodeLimit }, Ne._attTempFiles = {}, Ne._attFiles = {}, Ne._attTempImages = {}, Ne._attImages = {}, bt(Ne), ft(rt, ct, Ne, Pe), Ne.getNoteData = function() {
|
|
8920
8920
|
var d = Ne._elements.textarea, y = d.querySelectorAll("[uuid]"), M = d.querySelectorAll("img[data-note-id]"), S = d.querySelectorAll("a[data-note-id]"), N = d.querySelectorAll("iframe[data-note-id]"), O = Pt(Pt({}, Ne._attFiles), Ne._attImages), T = {}, G = {};
|
|
8921
|
-
Object.keys(O).forEach(function(le) {
|
|
8922
|
-
Array.from(y).some(function(qe) {
|
|
8921
|
+
Object.keys(O).forEach((function(le) {
|
|
8922
|
+
Array.from(y).some((function(qe) {
|
|
8923
8923
|
return qe.getAttribute("uuid") === le;
|
|
8924
|
-
}) && (T[le] = O[le]), Array.from(M).some(function(qe) {
|
|
8924
|
+
})) && (T[le] = O[le]), Array.from(M).some((function(qe) {
|
|
8925
8925
|
return qe.getAttribute("uuid") === le;
|
|
8926
|
-
}) && (G[le] = O[le]);
|
|
8927
|
-
});
|
|
8926
|
+
})) && (G[le] = O[le]);
|
|
8927
|
+
}));
|
|
8928
8928
|
var V = [];
|
|
8929
|
-
S.forEach(function(le) {
|
|
8929
|
+
S.forEach((function(le) {
|
|
8930
8930
|
V.push({ text: le.textContent || "", href: le.getAttribute("href") || "", target: le.getAttribute("target") || void 0 });
|
|
8931
|
-
});
|
|
8931
|
+
}));
|
|
8932
8932
|
var Z = [];
|
|
8933
|
-
M.forEach(function(le) {
|
|
8933
|
+
M.forEach((function(le) {
|
|
8934
8934
|
Z.push({ src: le.getAttribute("src") || "", uuid: le.getAttribute("uuid") || void 0 });
|
|
8935
|
-
});
|
|
8935
|
+
}));
|
|
8936
8936
|
var ne = [];
|
|
8937
|
-
Object.keys(T).forEach(function(le) {
|
|
8937
|
+
Object.keys(T).forEach((function(le) {
|
|
8938
8938
|
ne.push({ uuid: le, name: T[le].name });
|
|
8939
|
-
});
|
|
8939
|
+
}));
|
|
8940
8940
|
var Y = [];
|
|
8941
|
-
return N.forEach(function(le) {
|
|
8941
|
+
return N.forEach((function(le) {
|
|
8942
8942
|
var qe = le.getAttribute("src") || "";
|
|
8943
8943
|
qe.includes("youtube.com/embed") && Y.push({ src: qe, width: le.style.width || le.getAttribute("width") || void 0, height: le.style.height || le.getAttribute("height") || void 0 });
|
|
8944
|
-
}), { html: d.innerHTML, plainText: d.textContent || "", links: V, files: ne, images: Z, videos: Y, fileObjects: T, imageObjects: G };
|
|
8944
|
+
})), { html: d.innerHTML, plainText: d.textContent || "", links: V, files: ne, images: Z, videos: Y, fileObjects: T, imageObjects: G };
|
|
8945
8945
|
}, Ne.setNoteData = function(d) {
|
|
8946
8946
|
if (d) {
|
|
8947
8947
|
var y = Ne._elements.textarea;
|
|
8948
|
-
y && (y.innerHTML = "", Ne._attFiles = {}, Ne._attImages = {}, y.innerHTML = d.html, Object.entries(d.fileObjects).forEach(function(M) {
|
|
8948
|
+
y && (y.innerHTML = "", Ne._attFiles = {}, Ne._attImages = {}, y.innerHTML = d.html, Object.entries(d.fileObjects).forEach((function(M) {
|
|
8949
8949
|
var S = Ye(M, 2), N = S[0], O = S[1];
|
|
8950
|
-
Ne._attFiles[N] = O, y.querySelectorAll('a[uuid="'.concat(N, '"]')).forEach(function(T) {
|
|
8950
|
+
Ne._attFiles[N] = O, y.querySelectorAll('a[uuid="'.concat(N, '"]')).forEach((function(T) {
|
|
8951
8951
|
T.setAttribute("href", URL.createObjectURL(O)), T.setAttribute("download", O.name);
|
|
8952
|
-
});
|
|
8953
|
-
}), Object.entries(d.imageObjects).forEach(function(M) {
|
|
8952
|
+
}));
|
|
8953
|
+
})), Object.entries(d.imageObjects).forEach((function(M) {
|
|
8954
8954
|
var S = Ye(M, 2), N = S[0], O = S[1];
|
|
8955
|
-
Ne._attImages[N] = O, y.querySelectorAll('img[uuid="'.concat(N, '"]')).forEach(function(T) {
|
|
8955
|
+
Ne._attImages[N] = O, y.querySelectorAll('img[uuid="'.concat(N, '"]')).forEach((function(T) {
|
|
8956
8956
|
T.setAttribute("src", URL.createObjectURL(O));
|
|
8957
|
-
});
|
|
8958
|
-
}));
|
|
8957
|
+
}));
|
|
8958
|
+
})));
|
|
8959
8959
|
}
|
|
8960
8960
|
}, Ne;
|
|
8961
|
-
}(z, pe, it);
|
|
8962
|
-
}), setTimeout(function() {
|
|
8963
|
-
Object.keys(z.vanillanoteElements).forEach(function(je) {
|
|
8961
|
+
})(z, pe, it);
|
|
8962
|
+
})), setTimeout((function() {
|
|
8963
|
+
Object.keys(z.vanillanoteElements).forEach((function(je) {
|
|
8964
8964
|
z.vanillanoteElements[je]._elements.template.removeAttribute("style");
|
|
8965
|
-
}), z.events.documentEvents.resize();
|
|
8966
|
-
}, z.variables.loadInterval));
|
|
8965
|
+
})), z.events.documentEvents.resize();
|
|
8966
|
+
}), z.variables.loadInterval));
|
|
8967
8967
|
})(Xe, Ut, D);
|
|
8968
8968
|
}, Xe.unmountNote = function(D) {
|
|
8969
8969
|
Yn(Xe, D);
|
|
8970
8970
|
}, Xe;
|
|
8971
8971
|
}, gt = function() {
|
|
8972
8972
|
if (Xe && !Xe._initialized) {
|
|
8973
|
-
Xe._initialized = !0, function(j, E) {
|
|
8973
|
+
Xe._initialized = !0, (function(j, E) {
|
|
8974
8974
|
E.setAttTempFileValid = function(s) {
|
|
8975
8975
|
for (var l = new Object(), k = Object.keys(s._attTempFiles), $ = 0; $ < k.length; $++) s._attributes.attFileAcceptTypes.length > 0 ? s._attributes.attFileAcceptTypes.includes(s._attTempFiles[k[$]].type) && (l[k[$]] = s._attTempFiles[k[$]]) : l[k[$]] = s._attTempFiles[k[$]], l[k[$]] && (s._attributes.attFilePreventTypes.includes(l[k[$]].type) ? (E.showAlert("[" + l[k[$]].name + "] " + j.languageSet[s._attributes.language].attPreventType, j.beforeAlert), delete l[k[$]]) : l[k[$]].size >= s._attributes.attFileMaxSize && (E.showAlert("[" + l[k[$]].name + "] " + j.languageSet[s._attributes.language].attOverSize, j.beforeAlert), delete l[k[$]]));
|
|
8976
8976
|
s._attTempFiles = l;
|
|
@@ -9007,11 +9007,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9007
9007
|
return ie.classList.add(P(l._noteName)), ie.classList.add(L(l._noteName)), ie.setAttribute("type", "select"), E.addClickEvent(ie, k, l), E.addMouseoverEvent(ie, l), E.addMouseoutEvent(ie, l), E.addTouchstartEvent(ie, l), E.addTouchendEvent(ie, l), ie;
|
|
9008
9008
|
}, E.createElementInput = function(s, l, k) {
|
|
9009
9009
|
var $ = E.createElement("input", s, l, k);
|
|
9010
|
-
return $.setAttribute("name", c(s._noteName, s._id, l)), $.setAttribute("autocapitalize", "none"), $.setAttribute("placeholder", ""), $.addEventListener("input", function(J) {
|
|
9010
|
+
return $.setAttribute("name", c(s._noteName, s._id, l)), $.setAttribute("autocapitalize", "none"), $.setAttribute("placeholder", ""), $.addEventListener("input", (function(J) {
|
|
9011
9011
|
s._elementEvents[l + "_onBeforeInput"](J) && (j.events.elementEvents[l + "_onInput"](J), s._elementEvents[l + "_onAfterInput"](J), J.stopImmediatePropagation());
|
|
9012
|
-
}), $.addEventListener("blur", function(J) {
|
|
9012
|
+
})), $.addEventListener("blur", (function(J) {
|
|
9013
9013
|
s._elementEvents[l + "_onBeforeBlur"](J) && (j.events.elementEvents[l + "_onBlur"](J), s._elementEvents[l + "_onAfterBlur"](J), J.stopImmediatePropagation());
|
|
9014
|
-
}), $;
|
|
9014
|
+
})), $;
|
|
9015
9015
|
}, E.createElementInputCheckbox = function(s, l, k) {
|
|
9016
9016
|
var $ = E.createElement("input", s, l, k);
|
|
9017
9017
|
return $.setAttribute("name", c(s._noteName, s._id, l)), $.setAttribute("placeholder", ""), $.setAttribute("type", "checkbox"), $;
|
|
@@ -9030,38 +9030,38 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9030
9030
|
}, j.events.elementEvents[l._id + "_" + k + "_onClick"] = function(ge) {
|
|
9031
9031
|
E.fontFamilySelectList_onClick(ge, l), E.selectToggle(ge.target, l), l._selection.editRange && l._selection.editRange.collapsed ? E.setOriginEditSelection(l) : E.modifySelectedSingleElement(l, E.getObjectNoteCss(l));
|
|
9032
9032
|
}, l._elementEvents[k + "_onAfterClick"] = function(ge) {
|
|
9033
|
-
}, ie.addEventListener("click", function(ge) {
|
|
9033
|
+
}, ie.addEventListener("click", (function(ge) {
|
|
9034
9034
|
l._cssEvents.target_onBeforeClick(ge) && ge.target.classList.contains(P(l._noteName)) && (j.events.cssEvents.target_onClick(ge), l._cssEvents.target_onAfterClick(ge)), l._elementEvents[k + "_onBeforeClick"](ge) && (j.events.elementEvents[l._id + "_" + k + "_onClick"](ge), l._elementEvents[k + "_onAfterClick"](ge), ge.stopImmediatePropagation());
|
|
9035
|
-
}), E.addMouseoverEvent(ie, l), E.addMouseoutEvent(ie, l), E.addTouchstartEvent(ie, l), E.addTouchendEvent(ie, l), ie;
|
|
9035
|
+
})), E.addMouseoverEvent(ie, l), E.addMouseoutEvent(ie, l), E.addTouchstartEvent(ie, l), E.addTouchendEvent(ie, l), ie;
|
|
9036
9036
|
}, E.addClickEvent = function(s, l, k) {
|
|
9037
|
-
l === "textarea" ? s.addEventListener("click", function($) {
|
|
9037
|
+
l === "textarea" ? s.addEventListener("click", (function($) {
|
|
9038
9038
|
k._elementEvents[l + "_onBeforeClick"]($) && (j.events.elementEvents[l + "_onClick"]($), k._elementEvents[l + "_onAfterClick"]($), $.stopImmediatePropagation());
|
|
9039
|
-
}) : s.addEventListener("click", function($) {
|
|
9039
|
+
})) : s.addEventListener("click", (function($) {
|
|
9040
9040
|
k._cssEvents.target_onBeforeClick($) && $.target.classList.contains(P(k._noteName)) && (j.events.cssEvents.target_onClick($), k._cssEvents.target_onAfterClick($)), k._elementEvents[l + "_onBeforeClick"]($) && (j.events.elementEvents[l + "_onClick"]($), k._elementEvents[l + "_onAfterClick"]($), $.stopImmediatePropagation());
|
|
9041
|
-
});
|
|
9041
|
+
}));
|
|
9042
9042
|
}, E.addMouseoverEvent = function(s, l) {
|
|
9043
|
-
s.addEventListener("mouseover", function(k) {
|
|
9043
|
+
s.addEventListener("mouseover", (function(k) {
|
|
9044
9044
|
l._cssEvents.target_onBeforeMouseover(k) && k.target.classList.contains(L(l._noteName)) && (j.events.cssEvents.target_onMouseover(k), l._cssEvents.target_onAfterMouseover(k), k.stopImmediatePropagation());
|
|
9045
|
-
});
|
|
9045
|
+
}));
|
|
9046
9046
|
}, E.addMouseoutEvent = function(s, l) {
|
|
9047
|
-
s.addEventListener("mouseout", function(k) {
|
|
9047
|
+
s.addEventListener("mouseout", (function(k) {
|
|
9048
9048
|
l._cssEvents.target_onBeforeMouseout(k) && k.target.classList.contains(L(l._noteName)) && (j.events.cssEvents.target_onMouseout(k), l._cssEvents.target_onAfterMouseout(k), k.stopImmediatePropagation());
|
|
9049
|
-
});
|
|
9049
|
+
}));
|
|
9050
9050
|
}, E.addTouchstartEvent = function(s, l) {
|
|
9051
|
-
s.addEventListener("touchstart", function(k) {
|
|
9051
|
+
s.addEventListener("touchstart", (function(k) {
|
|
9052
9052
|
l._cssEvents.target_onBeforeTouchstart(k) && k.target.classList.contains(L(l._noteName)) && (j.events.cssEvents.target_onTouchstart(k), l._cssEvents.target_onAfterTouchstart(k), k.stopImmediatePropagation());
|
|
9053
|
-
});
|
|
9053
|
+
}));
|
|
9054
9054
|
}, E.addTouchendEvent = function(s, l) {
|
|
9055
|
-
s.addEventListener("touchend", function(k) {
|
|
9055
|
+
s.addEventListener("touchend", (function(k) {
|
|
9056
9056
|
l._cssEvents.target_onBeforeTouchend(k) && k.target.classList.contains(L(l._noteName)) && (j.events.cssEvents.target_onTouchend(k), l._cssEvents.target_onAfterTouchend(k), k.stopImmediatePropagation());
|
|
9057
|
-
});
|
|
9057
|
+
}));
|
|
9058
9058
|
};
|
|
9059
|
-
}(Xe, Ut), function(j, E) {
|
|
9059
|
+
})(Xe, Ut), (function(j, E) {
|
|
9060
9060
|
E.onEventDisable = function(s, l) {
|
|
9061
9061
|
var k;
|
|
9062
|
-
k = l === "resize" ? s.variables.resizeInterval : s.variables.inputInterval, s.variables.canEvent = !1, setTimeout(function() {
|
|
9062
|
+
k = l === "resize" ? s.variables.resizeInterval : s.variables.inputInterval, s.variables.canEvent = !1, setTimeout((function() {
|
|
9063
9063
|
s.variables.canEvent = !0;
|
|
9064
|
-
}, k);
|
|
9064
|
+
}), k);
|
|
9065
9065
|
}, E.replaceDifferentBetweenElements = function(s, l, k) {
|
|
9066
9066
|
var $, J, ie, ge, Ce = function(He, Le, Ke) {
|
|
9067
9067
|
if (!(Le.tagName !== (He.variables.noteName + "-textarea").toUpperCase() && Ke.tagName !== (He.variables.noteName + "-textarea").toUpperCase() && He.consts.NOT_SINGLE_TAG.indexOf(Le.tagName) >= 0 && He.consts.NOT_SINGLE_TAG.indexOf(Ke.tagName) >= 0) || Le.nodeType === Ke.nodeType && Le.tagName === Ke.tagName && E.compareAttributesBetweenEl(Le, Ke) && E.compareStylesBetweenEl(Le, Ke)) if (!(Le.tagName !== (He.variables.noteName + "-textarea").toUpperCase() && Ke.tagName !== (He.variables.noteName + "-textarea").toUpperCase() && He.consts.NOT_SINGLE_TAG.indexOf(Le.tagName) < 0 && He.consts.NOT_SINGLE_TAG.indexOf(Ke.tagName) < 0) || Le.nodeType === Ke.nodeType && Le.tagName === Ke.tagName && Le.textContent === Ke.textContent && E.compareAttributesBetweenEl(Le, Ke) && E.compareStylesBetweenEl(Le, Ke)) for (var Ze = Array.prototype.slice.call(Le.childNodes), et = Array.prototype.slice.call(Ke.childNodes), Ve = Math.max(Ze.length, et.length), Mt = 0; Mt < Ve; Mt++) {
|
|
@@ -9191,14 +9191,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9191
9191
|
}, E.removeEmptyElment = function(s, l) {
|
|
9192
9192
|
for (var k = s.querySelectorAll("*"), $ = k.length - 1; $ >= 0; $--) !k[$].hasChildNodes() && j.consts.EMPTY_ABLE_TAG.indexOf(k[$].tagName) < 0 && k[$].remove();
|
|
9193
9193
|
}, E.doEditUnitCheck = function(s) {
|
|
9194
|
-
j.events.documentEvents.noteObserver.disconnect(), function(l) {
|
|
9194
|
+
j.events.documentEvents.noteObserver.disconnect(), (function(l) {
|
|
9195
9195
|
for (var k = l._elements.textarea, $ = k.childNodes, J = document.createElement("P"), ie = [], ge = !0, Ce = 0; Ce < $.length; Ce++) j.consts.UNIT_TAG.indexOf($[Ce].tagName) < 0 && j.consts.DOUBLE_TAG.indexOf($[Ce].tagName) < 0 ? ge ? (k.insertBefore(J, $[Ce]), ge = !1) : (J.append($[Ce].cloneNode(!0)), ie.push($[Ce])) : (J = document.createElement("P"), ge = !0);
|
|
9196
9196
|
for (var He = 0; He < ie.length; He++) ie[He].remove();
|
|
9197
|
-
}(s), E.connectObserver(j);
|
|
9197
|
+
})(s), E.connectObserver(j);
|
|
9198
9198
|
}, E.connectObserver = function(s) {
|
|
9199
|
-
Object.keys(s.vanillanoteElements).forEach(function(l) {
|
|
9199
|
+
Object.keys(s.vanillanoteElements).forEach((function(l) {
|
|
9200
9200
|
s.events.documentEvents.noteObserver.observe(s.vanillanoteElements[l]._elements.textarea, s.variables.observerOptions);
|
|
9201
|
-
});
|
|
9201
|
+
}));
|
|
9202
9202
|
}, E.isElementInParentBounds = function(s, l) {
|
|
9203
9203
|
if (s.offsetParent === null) return !1;
|
|
9204
9204
|
var k = s.getBoundingClientRect();
|
|
@@ -9224,7 +9224,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9224
9224
|
}, E.recodeNote = function(s) {
|
|
9225
9225
|
s._recodes.recodeNotes.length >= s._recodes.recodeLimit ? (s._recodes.recodeNotes.shift(), s._recodes.recodeNotes.push(s._elements.textarea.cloneNode(!0))) : (s._recodes.recodeCount = s._recodes.recodeCount + 1, s._recodes.recodeCount < s._recodes.recodeNotes.length && s._recodes.recodeNotes.splice(s._recodes.recodeCount), s._recodes.recodeNotes.push(s._elements.textarea.cloneNode(!0)));
|
|
9226
9226
|
};
|
|
9227
|
-
}(Xe, Ut), function(j, E) {
|
|
9227
|
+
})(Xe, Ut), (function(j, E) {
|
|
9228
9228
|
E.closeAllTooltip = function(s) {
|
|
9229
9229
|
s._elements.attLinkTooltip.style.opacity = "0", s._elements.attLinkTooltip.style.height = "0", s._elements.attImageAndVideoTooltip.style.opacity = "0", s._elements.attImageAndVideoTooltip.style.height = "0";
|
|
9230
9230
|
}, E.setVariableButtonTogle = function(s, l) {
|
|
@@ -9252,11 +9252,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9252
9252
|
ie = k._elements.colorBackSelectBox;
|
|
9253
9253
|
}
|
|
9254
9254
|
var Ce = c(k._noteName, k._id, "on_display_block"), He = c(k._noteName, k._id, "on_display_none"), Le = ie.classList.contains(Ce);
|
|
9255
|
-
if (E.closeAllSelectBoxes(k), Le ? (ie.classList.remove(Ce), ie.classList.add(He)) : (ie.classList.remove(He), ie.classList.add(Ce)), function(Ve) {
|
|
9255
|
+
if (E.closeAllSelectBoxes(k), Le ? (ie.classList.remove(Ce), ie.classList.add(He)) : (ie.classList.remove(He), ie.classList.add(Ce)), (function(Ve) {
|
|
9256
9256
|
if (Ve.offsetParent === null) return !1;
|
|
9257
9257
|
var Mt = Ve.getBoundingClientRect();
|
|
9258
9258
|
return window.innerWidth / 2 < Mt.left;
|
|
9259
|
-
}($)) {
|
|
9259
|
+
})($)) {
|
|
9260
9260
|
if (ie.style.removeProperty("left"), ie.style.right = "0%", ie.offsetParent === null) return;
|
|
9261
9261
|
var Ke = ie.getBoundingClientRect();
|
|
9262
9262
|
if (Ke.top === 0 || k._elements.tool.offsetParent === null) return;
|
|
@@ -9299,19 +9299,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9299
9299
|
E.setVariableButtonTogle(s, $);
|
|
9300
9300
|
var Le = E.getEditElementTag(s);
|
|
9301
9301
|
E.setTagToggle(s, Le), E.allButtonToggle(s);
|
|
9302
|
-
} else Object.keys(j.vanillanoteElements).forEach(function(Ke) {
|
|
9302
|
+
} else Object.keys(j.vanillanoteElements).forEach((function(Ke) {
|
|
9303
9303
|
E.initToggleButtonVariables(j.vanillanoteElements[Ke]);
|
|
9304
|
-
});
|
|
9304
|
+
}));
|
|
9305
9305
|
}
|
|
9306
9306
|
}, E.setElementScroll = function(s, l, k) {
|
|
9307
9307
|
if (s && l) {
|
|
9308
9308
|
l.nodeType === 3 && (l = l.parentNode);
|
|
9309
9309
|
var $ = null, J = l.offsetTop - Math.round(k / 2) + Math.round(l.offsetHeight / 2), ie = s.scrollTop, ge = J - ie;
|
|
9310
|
-
window.requestAnimationFrame(function Ce(He) {
|
|
9310
|
+
window.requestAnimationFrame((function Ce(He) {
|
|
9311
9311
|
$ || ($ = He);
|
|
9312
9312
|
var Le = He - $, Ke = Math.min(Le / 500, 1);
|
|
9313
9313
|
s.scrollTop = ie + ge * Ke, Le < 500 && window.requestAnimationFrame(Ce);
|
|
9314
|
-
});
|
|
9314
|
+
}));
|
|
9315
9315
|
}
|
|
9316
9316
|
}, E.getCheckSelectBoxesOpened = function(s) {
|
|
9317
9317
|
var l = c(s._noteName, s._id, "on_display_block");
|
|
@@ -9331,13 +9331,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9331
9331
|
}, E.closePlaceholder = function(s) {
|
|
9332
9332
|
s._attributes.placeholderIsVisible && (s._elements.placeholder.classList.remove(c(s._noteName, s._id, "on_display_block")), s._elements.placeholder.classList.add(c(s._noteName, s._id, "on_display_none")));
|
|
9333
9333
|
}, E.setAllModalSize = function(s) {
|
|
9334
|
-
s._elements.template.offsetParent !== null && setTimeout(function() {
|
|
9334
|
+
s._elements.template.offsetParent !== null && setTimeout((function() {
|
|
9335
9335
|
s._elements.modalBack.style.width = s._elements.template.clientWidth + "px", s._elements.modalBack.style.height = s._elements.template.clientHeight + "px", s._elements.attLinkModal.style.width = 0.8 * s._elements.textarea.clientWidth + "px", s._elements.attLinkModal.style.marginTop = 0.1 * s._elements.template.clientHeight + "px", s._elements.attFileModal.style.width = 0.8 * s._elements.textarea.clientWidth + "px", s._elements.attFileModal.style.marginTop = 0.1 * s._elements.template.clientHeight + "px", s._elements.attImageModal.style.width = 0.8 * s._elements.textarea.clientWidth + "px", s._elements.attImageModal.style.marginTop = 0.1 * s._elements.template.clientHeight + "px", s._elements.attVideoModal.style.width = 0.8 * s._elements.textarea.clientWidth + "px", s._elements.attVideoModal.style.marginTop = 0.1 * s._elements.template.clientHeight + "px", s._elements.helpModal.style.width = 0.8 * s._elements.textarea.clientWidth + "px", s._elements.helpModal.style.marginTop = 0.1 * s._elements.template.clientHeight + "px";
|
|
9336
|
-
}, 500);
|
|
9336
|
+
}), 500);
|
|
9337
9337
|
}, E.setPlaceholderSize = function(s) {
|
|
9338
|
-
setTimeout(function() {
|
|
9338
|
+
setTimeout((function() {
|
|
9339
9339
|
s._attributes.placeholderIsVisible && (E.closePlaceholder(s), s._elements.textarea.offsetParent !== null && (s._elements.placeholder.style.top = s._elements.textarea.offsetTop + s._attributes.placeholderAddTop + "px", s._elements.placeholder.style.left = s._elements.textarea.offsetLeft + s._attributes.placeholderAddLeft + "px", s._elements.placeholder.style.width = s._attributes.placeholderWidth ? s._attributes.placeholderWidth : s._elements.textarea.clientWidth + "px", E.openPlaceholder(s)));
|
|
9340
|
-
}, 100);
|
|
9340
|
+
}), 100);
|
|
9341
9341
|
}, E.setAllToolTipPosition = function(s) {
|
|
9342
9342
|
s._attributes.toolPosition === r.bottom && (s._elements.attLinkTooltip.style.bottom = s._elements.tool.style.height, s._elements.attImageAndVideoTooltip.style.bottom = s._elements.tool.style.height);
|
|
9343
9343
|
}, E.appearAttLinkToolTip = function(s) {
|
|
@@ -9381,27 +9381,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9381
9381
|
ge = window.pageYOffset + s._elements.tool.getBoundingClientRect().top, He = window.pageYOffset + Ce.getBoundingClientRect().top - ge + 52 * s._attributes.sizeRate, s._elements.tool.style.height = He + "px";
|
|
9382
9382
|
}
|
|
9383
9383
|
}, E.doDecreaseTextareaHeight = function(s) {
|
|
9384
|
-
s._attributes.isNoteByMobile && (s._elements.textarea.scrollIntoView({ behavior: "smooth", block: "start" }), setTimeout(function() {
|
|
9384
|
+
s._attributes.isNoteByMobile && (s._elements.textarea.scrollIntoView({ behavior: "smooth", block: "start" }), setTimeout((function() {
|
|
9385
9385
|
(s._attributes.textareaOriginHeight.replace(/[-+]?[0-9]*\.?[0-9]+/g, "") || null) === "px" && j.variables.mobileKeyboardExceptHeight < ye(s._attributes.textareaOriginHeight) && j.variables.mobileKeyboardExceptHeight < s._elements.textarea.offsetHeight && (s._elements.textarea.style.height = j.variables.mobileKeyboardExceptHeight + "px");
|
|
9386
|
-
}, 100));
|
|
9386
|
+
}), 100));
|
|
9387
9387
|
}, E.doIncreaseTextareaHeight = function(s) {
|
|
9388
9388
|
for (var l = Object.keys(s.vanillanoteElements), k = 0; k < l.length; k++) {
|
|
9389
9389
|
var $ = s.vanillanoteElements[l[k]];
|
|
9390
9390
|
$._attributes.isNoteByMobile && ($._elements.textarea.style.height = $._attributes.textareaOriginHeight);
|
|
9391
9391
|
}
|
|
9392
9392
|
}, E.modifyTextareaScroll = function(s, l) {
|
|
9393
|
-
l._attributes.isNoteByMobile && (j.variables.preventChangeScroll > 0 ? j.variables.preventChangeScroll-- : j.variables.isSelectionProgress || (j.variables.isSelectionProgress = !0, setTimeout(function() {
|
|
9393
|
+
l._attributes.isNoteByMobile && (j.variables.preventChangeScroll > 0 ? j.variables.preventChangeScroll-- : j.variables.isSelectionProgress || (j.variables.isSelectionProgress = !0, setTimeout((function() {
|
|
9394
9394
|
if (j.variables.isSelectionProgress = !1, E.isValidSelection(l)) {
|
|
9395
9395
|
var k = ee(l._selection.editDragUnitElement.length / 2) ? l._selection.editDragUnitElement.length / 2 - 1 : Math.floor(l._selection.editDragUnitElement.length / 2);
|
|
9396
9396
|
l._selection.editDragUnitElement[l._selection.editDragUnitElement.length - 1].offsetTop - l._selection.editDragUnitElement[0].offsetTop + l._selection.editDragUnitElement[l._selection.editDragUnitElement.length - 1].offsetHeight > s.offsetHeight - 30 || E.getCheckSelectBoxesOpened(l) || (l._selection.editRange.collapsed ? E.setElementScroll(s, l._selection.editStartElement, j.variables.mobileKeyboardExceptHeight) : E.setElementScroll(s, l._selection.editDragUnitElement[k], j.variables.mobileKeyboardExceptHeight));
|
|
9397
9397
|
}
|
|
9398
|
-
}, 50)));
|
|
9398
|
+
}), 50)));
|
|
9399
9399
|
}, E.initTextarea = function(s) {
|
|
9400
9400
|
for (; s.firstChild; ) s.removeChild(s.firstChild);
|
|
9401
9401
|
var l = document.createElement("P"), k = document.createElement("BR");
|
|
9402
9402
|
l.appendChild(k), s.appendChild(l), E.setNewSelection(l, 0, l, 0);
|
|
9403
9403
|
};
|
|
9404
|
-
}(Xe, Ut), function(j, E) {
|
|
9404
|
+
})(Xe, Ut), (function(j, E) {
|
|
9405
9405
|
E.setNewSelection = function(s, l, k, $) {
|
|
9406
9406
|
if (document.contains(s) && document.contains(k)) {
|
|
9407
9407
|
var J = document.createRange(), ie = window.getSelection();
|
|
@@ -9426,7 +9426,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9426
9426
|
l.removeAllRanges(), l.addRange(s._selection.editRange);
|
|
9427
9427
|
}
|
|
9428
9428
|
}, E.setEditSelection = function(s, l) {
|
|
9429
|
-
if (l.rangeCount < 1 || !function(ie) {
|
|
9429
|
+
if (l.rangeCount < 1 || !(function(ie) {
|
|
9430
9430
|
var ge = window.getSelection();
|
|
9431
9431
|
if (!ge || ge.rangeCount < 1) return !1;
|
|
9432
9432
|
for (var Ce = ge.getRangeAt(0).startContainer.parentNode, He = !1; Ce; ) {
|
|
@@ -9437,7 +9437,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9437
9437
|
Ce = Ce.parentNode;
|
|
9438
9438
|
}
|
|
9439
9439
|
return He;
|
|
9440
|
-
}(s._noteName)) return !1;
|
|
9440
|
+
})(s._noteName)) return !1;
|
|
9441
9441
|
if (s._selection.editSelection = l, s._selection.editRange = s._selection.editSelection.getRangeAt(0), s._selection.startOffset = s._selection.editRange.startOffset, s._selection.endOffset = s._selection.editRange.endOffset, s._selection.editStartNode = s._selection.editRange.startContainer, s._selection.editEndNode = s._selection.editRange.endContainer, s._selection.editStartNode instanceof Element) {
|
|
9442
9442
|
for (; s._selection.editStartNode instanceof Element && s._selection.editStartNode.firstChild && s._selection.editStartNode.firstChild.tagName !== "BR" && (s._selection.editStartNode = s._selection.editStartNode.firstChild, s._selection.editStartNode.nodeType !== 3); ) ;
|
|
9443
9443
|
s._selection.startOffset = 0;
|
|
@@ -9517,7 +9517,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9517
9517
|
k = document.createElement(J), $ = document.createElement("BR"), k.appendChild($), k = Me(k, E.getAttributesObjectFromElement(l._selection.editStartUnitElement)), l._selection.editStartUnitElement.replaceWith(k), E.setNewSelection(k, 0, k, 0);
|
|
9518
9518
|
}
|
|
9519
9519
|
};
|
|
9520
|
-
}(Xe, Ut), Xe.variables.lastScreenHeight = typeof window < "u" && window.visualViewport ? window.visualViewport.height : null, Xe.getNote = function(j) {
|
|
9520
|
+
})(Xe, Ut), Xe.variables.lastScreenHeight = typeof window < "u" && window.visualViewport ? window.visualViewport.height : null, Xe.getNote = function(j) {
|
|
9521
9521
|
return Xe.vanillanoteElements[j] ? Xe.vanillanoteElements[j] : null;
|
|
9522
9522
|
};
|
|
9523
9523
|
var f, h = "".concat(Xe.variables.noteName, "_animation_styles-sheet");
|
|
@@ -9536,24 +9536,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9536
9536
|
}
|
|
9537
9537
|
if (Xe.useGoogleIcon) {
|
|
9538
9538
|
var Be = "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded", tt = Xe.variables.noteName + "_icons-link";
|
|
9539
|
-
if (!Array.from(document.head.querySelectorAll('link[rel="stylesheet"]')).some(function(j) {
|
|
9539
|
+
if (!Array.from(document.head.querySelectorAll('link[rel="stylesheet"]')).some((function(j) {
|
|
9540
9540
|
var E = j.getAttribute("href");
|
|
9541
9541
|
return E && E.startsWith(Be);
|
|
9542
|
-
}) && !document.getElementById(tt)) {
|
|
9542
|
+
})) && !document.getElementById(tt)) {
|
|
9543
9543
|
var Ge = document.createElement("link");
|
|
9544
9544
|
Ge.setAttribute("id", tt), Ge.setAttribute("rel", "stylesheet"), Ge.setAttribute("href", Be + ":opsz,wght,FILL,GRAD@48,400,0,0"), document.head.appendChild(Ge);
|
|
9545
9545
|
}
|
|
9546
9546
|
}
|
|
9547
9547
|
(function(j, E) {
|
|
9548
|
-
j.events.documentEvents.noteObserver = new MutationObserver(function(s) {
|
|
9548
|
+
j.events.documentEvents.noteObserver = new MutationObserver((function(s) {
|
|
9549
9549
|
var l;
|
|
9550
|
-
if (s.forEach(function($) {
|
|
9550
|
+
if (s.forEach((function($) {
|
|
9551
9551
|
l = $.target;
|
|
9552
|
-
}), l) {
|
|
9552
|
+
})), l) {
|
|
9553
9553
|
var k = a(l);
|
|
9554
9554
|
k && (j.variables.lastActiveNoteId = k._id, E.recodeNote(k));
|
|
9555
9555
|
}
|
|
9556
|
-
}), j.events.documentEvents.selectionchange = function(s) {
|
|
9556
|
+
})), j.events.documentEvents.selectionchange = function(s) {
|
|
9557
9557
|
(function() {
|
|
9558
9558
|
var l = window.getSelection();
|
|
9559
9559
|
if (l && !(l.rangeCount < 1)) {
|
|
@@ -9571,9 +9571,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9571
9571
|
}, j.events.documentEvents.keydown = function(s) {
|
|
9572
9572
|
!s.ctrlKey && !s.metaKey || s.key !== "z" && s.key !== "Z" || (s.preventDefault(), E.isInNote(s.target) && j.events.elementEvents.undoButton_onClick(s, j)), !s.ctrlKey && !s.metaKey || s.key !== "y" && s.key !== "Y" || (s.preventDefault(), E.isInNote(s.target) && j.events.elementEvents.redoButton_onClick(s, j));
|
|
9573
9573
|
}, j.events.documentEvents.resize = function(s) {
|
|
9574
|
-
j.variables.canEvent && (E.onEventDisable(j, "resize"), Object.keys(j.vanillanoteElements).forEach(function(l) {
|
|
9574
|
+
j.variables.canEvent && (E.onEventDisable(j, "resize"), Object.keys(j.vanillanoteElements).forEach((function(l) {
|
|
9575
9575
|
E.setAllToolSize(j.vanillanoteElements[l]), E.setAllToolTipPosition(j.vanillanoteElements[l]), E.setAllModalSize(j.vanillanoteElements[l]), E.setPlaceholderSize(j.vanillanoteElements[l]);
|
|
9576
|
-
}));
|
|
9576
|
+
})));
|
|
9577
9577
|
}, j.events.documentEvents.resizeViewport = function(s) {
|
|
9578
9578
|
(function() {
|
|
9579
9579
|
if (window.visualViewport && j.variables.lastScreenHeight !== window.visualViewport.height) {
|
|
@@ -9598,9 +9598,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9598
9598
|
var E = j.target;
|
|
9599
9599
|
E.classList.contains(f.variables.noteName + "_eventChildren") && (E = E.parentNode);
|
|
9600
9600
|
var s = K(E);
|
|
9601
|
-
E.classList.add(f.variables.noteName + "_" + s + "_on_active"), setTimeout(function() {
|
|
9601
|
+
E.classList.add(f.variables.noteName + "_" + s + "_on_active"), setTimeout((function() {
|
|
9602
9602
|
E.classList.remove(f.variables.noteName + "_" + s + "_on_active");
|
|
9603
|
-
}, 100);
|
|
9603
|
+
}), 100);
|
|
9604
9604
|
}, f.events.cssEvents.target_onMouseover = function(j) {
|
|
9605
9605
|
var E = j.target;
|
|
9606
9606
|
E.classList.contains(f.variables.noteName + "_eventChildren") && (E = E.parentNode);
|
|
@@ -9621,7 +9621,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9621
9621
|
E.classList.contains(f.variables.noteName + "_eventChildren") && (E = E.parentNode);
|
|
9622
9622
|
var s = K(E);
|
|
9623
9623
|
E.classList.add(f.variables.noteName + "_" + s + "_on_mouseout"), E.classList.remove(f.variables.noteName + "_" + s + "_on_mouseover");
|
|
9624
|
-
}, function(j, E) {
|
|
9624
|
+
}, (function(j, E) {
|
|
9625
9625
|
j.events.elementEvents.toolToggleButton_onClick = function(s) {
|
|
9626
9626
|
var l = a(s.target);
|
|
9627
9627
|
if (l) {
|
|
@@ -9780,9 +9780,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9780
9780
|
var l = a(s.target);
|
|
9781
9781
|
if (l) {
|
|
9782
9782
|
var k = Array.from(s.dataTransfer.files);
|
|
9783
|
-
k.sort(function(J, ie) {
|
|
9783
|
+
k.sort((function(J, ie) {
|
|
9784
9784
|
return J.name < ie.name ? -1 : J.name > ie.name ? 1 : 0;
|
|
9785
|
-
});
|
|
9785
|
+
}));
|
|
9786
9786
|
for (var $ = 0; $ < k.length; $++) l._attTempFiles[W()] = k[$];
|
|
9787
9787
|
E.setAttTempFileValid(l), E.setAttFileUploadDiv(l);
|
|
9788
9788
|
}
|
|
@@ -9796,9 +9796,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9796
9796
|
var l = a(s.target);
|
|
9797
9797
|
if (l) {
|
|
9798
9798
|
var k = Array.from(s.target.files);
|
|
9799
|
-
k.sort(function(J, ie) {
|
|
9799
|
+
k.sort((function(J, ie) {
|
|
9800
9800
|
return J.name < ie.name ? -1 : J.name > ie.name ? 1 : 0;
|
|
9801
|
-
});
|
|
9801
|
+
}));
|
|
9802
9802
|
for (var $ = 0; $ < k.length; $++) l._attTempFiles[W()] = k[$];
|
|
9803
9803
|
E.setAttTempFileValid(l), E.setAttFileUploadDiv(l);
|
|
9804
9804
|
}
|
|
@@ -10200,7 +10200,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10200
10200
|
}, j.events.elementEvents.textarea_onBeforeinput = function(s) {
|
|
10201
10201
|
!X() && s.data && (j.events.documentEvents.noteObserver.disconnect(), E.textarea_onBeforeinputSpelling(s), E.connectObserver(j));
|
|
10202
10202
|
};
|
|
10203
|
-
}(Xe, Ut);
|
|
10203
|
+
})(Xe, Ut);
|
|
10204
10204
|
}
|
|
10205
10205
|
}, mn = function() {
|
|
10206
10206
|
if (Xe) {
|
|
@@ -10209,11 +10209,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10209
10209
|
var I = document.getElementById("".concat(f, "_icons-link"));
|
|
10210
10210
|
I && I.remove();
|
|
10211
10211
|
var be = Xe.events.documentEvents;
|
|
10212
|
-
be.selectionchange && document.removeEventListener("selectionchange", be.selectionchange), be.keydown && document.removeEventListener("keydown", be.keydown), be.resize && window.removeEventListener("resize", be.resize), be.resizeViewport && window.visualViewport && window.visualViewport.removeEventListener("resize", be.resizeViewport), Object.keys(Xe.vanillanoteElements).forEach(function(Be) {
|
|
10212
|
+
be.selectionchange && document.removeEventListener("selectionchange", be.selectionchange), be.keydown && document.removeEventListener("keydown", be.keydown), be.resize && window.removeEventListener("resize", be.resize), be.resizeViewport && window.visualViewport && window.visualViewport.removeEventListener("resize", be.resizeViewport), Object.keys(Xe.vanillanoteElements).forEach((function(Be) {
|
|
10213
10213
|
Xe.vanillanoteElements[Be], Yn(Xe), delete Xe.vanillanoteElements[Be];
|
|
10214
|
-
}), Xe.colors = {}, Xe.languageSet = {}, Xe.attributes = {}, Xe.variables = {}, Xe.vanillanoteElements = {}, Xe.events.documentEvents = { noteObserver: null, selectionchange: null, keydown: null, resize: null, resizeViewport: null }, Xe.events.cssEvents = { target_onClick: null, target_onMouseover: null, target_onMouseout: null, target_onTouchstart: null, target_onTouchend: null }, Object.keys(Xe.events.elementEvents).forEach(function(Be) {
|
|
10214
|
+
})), Xe.colors = {}, Xe.languageSet = {}, Xe.attributes = {}, Xe.variables = {}, Xe.vanillanoteElements = {}, Xe.events.documentEvents = { noteObserver: null, selectionchange: null, keydown: null, resize: null, resizeViewport: null }, Xe.events.cssEvents = { target_onClick: null, target_onMouseover: null, target_onMouseout: null, target_onTouchstart: null, target_onTouchend: null }, Object.keys(Xe.events.elementEvents).forEach((function(Be) {
|
|
10215
10215
|
Xe.events.elementEvents[Be] = null;
|
|
10216
|
-
}), Xe.getNote = function() {
|
|
10216
|
+
})), Xe.getNote = function() {
|
|
10217
10217
|
return null;
|
|
10218
10218
|
}, Xe.init = function() {
|
|
10219
10219
|
}, Xe.mountNote = function() {
|
|
@@ -10227,8 +10227,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10227
10227
|
} };
|
|
10228
10228
|
};
|
|
10229
10229
|
return o;
|
|
10230
|
-
})());
|
|
10231
|
-
}(fi)), fi.exports;
|
|
10230
|
+
})()));
|
|
10231
|
+
})(fi)), fi.exports;
|
|
10232
10232
|
}
|
|
10233
10233
|
var Ws = pd();
|
|
10234
10234
|
const ky = ["left", "center", "right"];
|
|
@@ -11102,11 +11102,11 @@ function ec(t) {
|
|
|
11102
11102
|
const e = new Set(t);
|
|
11103
11103
|
return e.size === t.length ? t : Array.from(e);
|
|
11104
11104
|
}
|
|
11105
|
-
const tc = function() {
|
|
11105
|
+
const tc = (function() {
|
|
11106
11106
|
return typeof window > "u" ? function(t) {
|
|
11107
11107
|
return t();
|
|
11108
11108
|
} : window.requestAnimationFrame;
|
|
11109
|
-
}();
|
|
11109
|
+
})();
|
|
11110
11110
|
function nc(t, e) {
|
|
11111
11111
|
let n = [], o = !1;
|
|
11112
11112
|
return function(...r) {
|
|
@@ -12119,7 +12119,7 @@ function Dl(t, e, n) {
|
|
|
12119
12119
|
const a = t.canvas;
|
|
12120
12120
|
return a.style && (n || !a.style.height && !a.style.width) && (a.style.height = `${t.height}px`, a.style.width = `${t.width}px`), t.currentDevicePixelRatio !== o || a.height !== r || a.width !== i ? (t.currentDevicePixelRatio = o, a.height = r, a.width = i, t.ctx.setTransform(o, 0, 0, o, 0, 0), !0) : !1;
|
|
12121
12121
|
}
|
|
12122
|
-
const Mf = function() {
|
|
12122
|
+
const Mf = (function() {
|
|
12123
12123
|
let t = !1;
|
|
12124
12124
|
try {
|
|
12125
12125
|
const e = {
|
|
@@ -12131,7 +12131,7 @@ const Mf = function() {
|
|
|
12131
12131
|
} catch {
|
|
12132
12132
|
}
|
|
12133
12133
|
return t;
|
|
12134
|
-
}();
|
|
12134
|
+
})();
|
|
12135
12135
|
function Pl(t, e) {
|
|
12136
12136
|
const n = yf(t, e), o = n && n.match(/^(\d+)(\.\d+)?px$/);
|
|
12137
12137
|
return o ? +o[1] : void 0;
|
|
@@ -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-DXNoziwY.mjs"), "HAccordion"), Dg = Bt(() => import("./HBaggie-C4qcuGl9.mjs"), "HBaggie"), Pg = Bt(() => import("./HBanner-DNOhDRli.mjs"), "HBanner"), zg = Bt(() => import("./HButton-Dhyb_Apz.mjs"), "HButton"), Ug = Bt(() => import("./HCalendar-Bv1mZ6DG.mjs"), "HCalendar"), Gg = Bt(() => import("./HCaption-BKJlg7ZH.mjs"), "HCaption"), jg = Bt(() => import("./HChart-H5M0gQB0.mjs"), "HChart"), Wg = Bt(() => import("./HDrawer-BYrUd-eA.mjs"), "HDrawer"), qg = Bt(() => import("./HDropdown-Dpba4jMR.mjs"), "HDropdown"), $g = Bt(() => import("./HFileset-Qo0JIgMJ.mjs"), "HFileset"), Yg = Bt(() => import("./HGap-B5lrnzJ6.mjs"), "HGap"), Kg = Bt(() => import("./HGrid-59dIVp9V.mjs"), "HGrid"), Xg = Bt(() => import("./HImagebox-G-LvB26S.mjs"), "HImagebox"), Jg = Bt(() => import("./HInput-C9rOBXqc.mjs"), "HInput"), Zg = Bt(() => import("./HInputGroup-BaK14hkQ.mjs"), "HInputGroup"), Qg = Bt(() => import("./HLabel-jbc0_u5J.mjs"), "HLabel"), ey = Bt(() => import("./HLayout-DmTQQmLs.mjs"), "HLayout"), ty = Bt(() => import("./HList-rD5kL7cI.mjs"), "HList"), ny = Bt(() => import("./HModal-XDNcukop.mjs"), "HModal"), oy = Bt(() => import("./HNote-BA3umb5e.mjs"), "HNote"), ry = Bt(() => import("./HPagination-CgufEtL4.mjs"), "HPagination"), iy = Bt(() => import("./HParagraph-hCHZmj-4.mjs"), "HParagraph"), ay = Bt(() => import("./HPopup-BfPYzBy6.mjs"), "HPopup"), ly = Bt(() => import("./HSpinner-1UQgVEve.mjs"), "HSpinner"), sy = Bt(() => import("./HTable-BUIKSXIR.mjs"), "HTable"), ce = {
|
|
19864
19864
|
event: { cssEvent: {} }
|
|
19865
19865
|
}, fn = an.createHison(), ep = {
|
|
19866
19866
|
install(t, e) {
|