MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / ge

Function ge

codebase/dhtmlxscheduler.es.js:6388–6413  ·  view source on GitHub ↗
(e, i)

Source from the content-addressed store, hash-verified

6386 }), { dtstart: _, tzid: r, rrulevals: t, rdatevals: n, exrulevals: s, exdatevals: a };
6387}
6388function ge(e, i) {
6389 return i === void 0 && (i = {}), function(t, n) {
6390 var s = Pa(t, n), a = s.rrulevals, o = s.rdatevals, _ = s.exrulevals, r = s.exdatevals, d = s.dtstart, l = s.tzid, h = n.cache === !1;
6391 if (n.compatible && (n.forceset = !0, n.unfold = !0), n.forceset || a.length > 1 || o.length || _.length || r.length) {
6392 var p = new Ua(h);
6393 return p.dtstart(d), p.tzid(l || void 0), a.forEach(function(g) {
6394 p.rrule(new z(Le(g, d, l), h));
6395 }), o.forEach(function(g) {
6396 p.rdate(g);
6397 }), _.forEach(function(g) {
6398 p.exrule(new z(Le(g, d, l), h));
6399 }), r.forEach(function(g) {
6400 p.exdate(g);
6401 }), n.compatible && n.dtstart && p.rdate(d), p;
6402 }
6403 var m = a[0] || {};
6404 return new z(Le(m, m.dtstart || n.dtstart || d, m.tzid || n.tzid || l), h);
6405 }(e, function(t) {
6406 var n = [], s = Object.keys(t), a = Object.keys(st);
6407 if (s.forEach(function(o) {
6408 F(a, o) || n.push(o);
6409 }), n.length)
6410 throw new Error("Invalid options: " + n.join(", "));
6411 return ee(ee({}, st), t);
6412 }(i));
6413}
6414function Le(e, i, t) {
6415 return ee(ee({}, e), { dtstart: i, tzid: t });
6416}

Callers 3

oFunction · 0.70
_Function · 0.70

Calls 4

eeFunction · 0.85
PaFunction · 0.70
LeFunction · 0.70
FFunction · 0.70

Tested by

no test coverage detected