(e, i)
| 2369 | }; |
| 2370 | } |
| 2371 | function Kt(e, i) { |
| 2372 | this.$scheduler = e, this.$dp = i, this._dataProcessorHandlers = [], this.attach = function() { |
| 2373 | var t = this.$dp, n = this.$scheduler; |
| 2374 | this._dataProcessorHandlers.push(n.attachEvent("onEventAdded", function(s) { |
| 2375 | !this._loading && this._validId(s) && t.setUpdated(s, !0, "inserted"); |
| 2376 | })), this._dataProcessorHandlers.push(n.attachEvent("onConfirmedBeforeEventDelete", function(s) { |
| 2377 | if (this._validId(s)) { |
| 2378 | var a = t.getState(s); |
| 2379 | return a == "inserted" || this._new_event ? (t.setUpdated(s, !1), !0) : a != "deleted" && (a == "true_deleted" || (t.setUpdated(s, !0, "deleted"), !1)); |
| 2380 | } |
| 2381 | })), this._dataProcessorHandlers.push(n.attachEvent("onEventChanged", function(s) { |
| 2382 | !this._loading && this._validId(s) && t.setUpdated(s, !0, "updated"); |
| 2383 | })), this._dataProcessorHandlers.push(n.attachEvent("onClearAll", function() { |
| 2384 | t._in_progress = {}, t._invalid = {}, t.updatedRows = [], t._waitMode = 0; |
| 2385 | })), t.attachEvent("insertCallback", n._update_callback), t.attachEvent("updateCallback", n._update_callback), t.attachEvent("deleteCallback", function(s, a) { |
| 2386 | n.getEvent(a) ? (n.setUserData(a, this.action_param, "true_deleted"), n.deleteEvent(a)) : n._add_rec_marker && n._update_callback(s, a); |
| 2387 | }); |
| 2388 | }, this.detach = function() { |
| 2389 | for (var t in this._dataProcessorHandlers) { |
| 2390 | var n = this._dataProcessorHandlers[t]; |
| 2391 | this.$scheduler.detachEvent(n); |
| 2392 | } |
| 2393 | this._dataProcessorHandlers = []; |
| 2394 | }; |
| 2395 | } |
| 2396 | function $e(e) { |
| 2397 | return this.serverProcessor = e, this.action_param = "!nativeeditor_status", this.object = null, this.updatedRows = [], this.autoUpdate = !0, this.updateMode = "cell", this._tMode = "GET", this._headers = null, this._payload = null, this.post_delim = "_", this._waitMode = 0, this._in_progress = {}, this._invalid = {}, this.messages = [], this.styles = { updated: "font-weight:bold;", inserted: "font-weight:bold;", deleted: "text-decoration : line-through;", invalid: "background-color:FFE0E0;", invalid_cell: "border-bottom:2px solid red;", error: "color:red;", clear: "font-weight:normal;text-decoration:none;" }, this.enableUTFencoding(!0), Ye(this), this; |
| 2398 | } |
nothing calls this directly
no test coverage detected