client_plugin_logic_deb 1.4.92 → 1.4.93

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.
@@ -24,7 +24,7 @@
24
24
  var Duration = $module$_js_joda_core_gcv2k.Duration;
25
25
  var protoOf = kotlin_kotlin.$_$.ia;
26
26
  var objectMeta = kotlin_kotlin.$_$.ha;
27
- var VOID = kotlin_kotlin.$_$.ee;
27
+ var VOID = kotlin_kotlin.$_$.fe;
28
28
  var setMetadataFor = kotlin_kotlin.$_$.ja;
29
29
  var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.h1;
30
30
  var objectCreate = kotlin_kotlin.$_$.ga;
@@ -69,8 +69,8 @@
69
69
  function System() {
70
70
  System_instance = this;
71
71
  }
72
- protoOf(System).l2g = function () {
73
- return Companion_getInstance_0().l2g();
72
+ protoOf(System).z2m = function () {
73
+ return Companion_getInstance_0().z2m();
74
74
  };
75
75
  var System_instance;
76
76
  function System_getInstance() {
@@ -100,7 +100,7 @@
100
100
  }
101
101
  var DISTANT_FUTURE_SECONDS;
102
102
  function toInstant(_this__u8e3s4) {
103
- return Companion_getInstance_0().q2g(_this__u8e3s4);
103
+ return Companion_getInstance_0().e2n(_this__u8e3s4);
104
104
  }
105
105
  function get_NANOS_PER_MILLI() {
106
106
  return NANOS_PER_MILLI;
@@ -116,19 +116,19 @@
116
116
  var NANOS_PER_ONE;
117
117
  function InstantIso8601Serializer() {
118
118
  InstantIso8601Serializer_instance = this;
119
- this.r2g_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
119
+ this.f2n_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
120
120
  }
121
- protoOf(InstantIso8601Serializer).g1e = function () {
122
- return this.r2g_1;
121
+ protoOf(InstantIso8601Serializer).u1k = function () {
122
+ return this.f2n_1;
123
123
  };
124
- protoOf(InstantIso8601Serializer).i1e = function (decoder) {
125
- return Companion_getInstance_0().q2g(decoder.i1h());
124
+ protoOf(InstantIso8601Serializer).w1k = function (decoder) {
125
+ return Companion_getInstance_0().e2n(decoder.w1n());
126
126
  };
127
- protoOf(InstantIso8601Serializer).s2g = function (encoder, value) {
128
- encoder.r1i(value.toString());
127
+ protoOf(InstantIso8601Serializer).g2n = function (encoder, value) {
128
+ encoder.f1p(value.toString());
129
129
  };
130
- protoOf(InstantIso8601Serializer).h1e = function (encoder, value) {
131
- return this.s2g(encoder, value instanceof Instant_0 ? value : THROW_CCE());
130
+ protoOf(InstantIso8601Serializer).v1k = function (encoder, value) {
131
+ return this.g2n(encoder, value instanceof Instant_0 ? value : THROW_CCE());
132
132
  };
133
133
  var InstantIso8601Serializer_instance;
134
134
  function InstantIso8601Serializer_getInstance() {
@@ -168,39 +168,39 @@
168
168
  }
169
169
  function Companion() {
170
170
  Companion_instance = this;
171
- this.m2g_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
172
- this.n2g_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
173
- this.o2g_1 = new Instant_0(Instant.MIN);
174
- this.p2g_1 = new Instant_0(Instant.MAX);
171
+ this.a2n_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
172
+ this.b2n_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
173
+ this.c2n_1 = new Instant_0(Instant.MIN);
174
+ this.d2n_1 = new Instant_0(Instant.MAX);
175
175
  }
176
- protoOf(Companion).l2g = function () {
176
+ protoOf(Companion).z2m = function () {
177
177
  return new Instant_0(Clock.systemUTC().instant());
178
178
  };
179
- protoOf(Companion).t2g = function (epochMilliseconds) {
179
+ protoOf(Companion).h2n = function (epochMilliseconds) {
180
180
  var tmp;
181
181
  try {
182
182
  var tmp$ret$0;
183
183
  // Inline function 'kotlin.Long.div' call
184
184
  var tmp0_div = get_MILLIS_PER_ONE();
185
- tmp$ret$0 = epochMilliseconds.r7(toLong(tmp0_div));
185
+ tmp$ret$0 = epochMilliseconds.t7(toLong(tmp0_div));
186
186
  var tmp_0 = tmp$ret$0;
187
187
  var tmp$ret$2;
188
188
  // Inline function 'kotlin.Long.times' call
189
189
  var tmp$ret$1;
190
190
  // Inline function 'kotlin.Long.rem' call
191
191
  var tmp1_rem = get_MILLIS_PER_ONE();
192
- tmp$ret$1 = epochMilliseconds.e6(toLong(tmp1_rem));
192
+ tmp$ret$1 = epochMilliseconds.g6(toLong(tmp1_rem));
193
193
  var tmp2_times = tmp$ret$1;
194
194
  var tmp3_times = get_NANOS_PER_MILLI();
195
- tmp$ret$2 = tmp2_times.s7(toLong(tmp3_times));
196
- tmp = this.u2g(tmp_0, tmp$ret$2);
195
+ tmp$ret$2 = tmp2_times.u7(toLong(tmp3_times));
196
+ tmp = this.i2n(tmp_0, tmp$ret$2);
197
197
  } catch ($p) {
198
198
  var tmp_1;
199
199
  if ($p instanceof Error) {
200
200
  var e = $p;
201
201
  if (!isJodaDateTimeException(e))
202
202
  throw e;
203
- tmp_1 = epochMilliseconds.x(new Long(0, 0)) > 0 ? this.p2g_1 : this.o2g_1;
203
+ tmp_1 = epochMilliseconds.v(new Long(0, 0)) > 0 ? this.d2n_1 : this.c2n_1;
204
204
  } else {
205
205
  throw $p;
206
206
  }
@@ -208,7 +208,7 @@
208
208
  }
209
209
  return tmp;
210
210
  };
211
- protoOf(Companion).q2g = function (isoString) {
211
+ protoOf(Companion).e2n = function (isoString) {
212
212
  var tmp;
213
213
  try {
214
214
  tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
@@ -226,14 +226,14 @@
226
226
  }
227
227
  return tmp;
228
228
  };
229
- protoOf(Companion).u2g = function (epochSeconds, nanosecondAdjustment) {
229
+ protoOf(Companion).i2n = function (epochSeconds, nanosecondAdjustment) {
230
230
  var tmp;
231
231
  try {
232
232
  var tmp$ret$0;
233
233
  // Inline function 'kotlin.floorDiv' call
234
234
  var tmp0_floorDiv = toLong(get_NANOS_PER_ONE());
235
- var q = nanosecondAdjustment.r7(tmp0_floorDiv);
236
- if (nanosecondAdjustment.j8(tmp0_floorDiv).x(new Long(0, 0)) < 0 ? !q.s7(tmp0_floorDiv).equals(nanosecondAdjustment) : false) {
235
+ var q = nanosecondAdjustment.t7(tmp0_floorDiv);
236
+ if (nanosecondAdjustment.l8(tmp0_floorDiv).v(new Long(0, 0)) < 0 ? !q.u7(tmp0_floorDiv).equals(nanosecondAdjustment) : false) {
237
237
  var tmp0 = q;
238
238
  q = tmp0.jh();
239
239
  }
@@ -242,9 +242,9 @@
242
242
  var tmp$ret$1;
243
243
  // Inline function 'kotlin.mod' call
244
244
  var tmp1_mod = toLong(get_NANOS_PER_ONE());
245
- var r = nanosecondAdjustment.e6(tmp1_mod);
246
- tmp$ret$1 = r.b6(tmp1_mod.g6(r.j8(tmp1_mod).g6(r.lh(r.h6())).e8(63)));
247
- var nos = tmp$ret$1.f6();
245
+ var r = nanosecondAdjustment.g6(tmp1_mod);
246
+ tmp$ret$1 = r.d6(tmp1_mod.i6(r.l8(tmp1_mod).i6(r.lh(r.j6())).g8(63)));
247
+ var nos = tmp$ret$1.h6();
248
248
  tmp = new Instant_0(Instant.ofEpochSecond(secs, nos));
249
249
  } catch ($p) {
250
250
  var tmp_0;
@@ -258,7 +258,7 @@
258
258
  }
259
259
  if (tmp_1)
260
260
  throw e;
261
- tmp_0 = epochSeconds.x(new Long(0, 0)) > 0 ? this.p2g_1 : this.o2g_1;
261
+ tmp_0 = epochSeconds.v(new Long(0, 0)) > 0 ? this.d2n_1 : this.c2n_1;
262
262
  } else {
263
263
  throw $p;
264
264
  }
@@ -274,28 +274,28 @@
274
274
  }
275
275
  function Instant_0(value) {
276
276
  Companion_getInstance_0();
277
- this.v2g_1 = value;
277
+ this.j2n_1 = value;
278
278
  }
279
- protoOf(Instant_0).w2g = function () {
280
- return numberToLong(this.v2g_1.epochSecond());
279
+ protoOf(Instant_0).k2n = function () {
280
+ return numberToLong(this.j2n_1.epochSecond());
281
281
  };
282
- protoOf(Instant_0).x2g = function () {
283
- return numberToInt(this.v2g_1.nano());
282
+ protoOf(Instant_0).l2n = function () {
283
+ return numberToInt(this.j2n_1.nano());
284
284
  };
285
- protoOf(Instant_0).y2g = function () {
285
+ protoOf(Instant_0).m2n = function () {
286
286
  var tmp$ret$1;
287
287
  // Inline function 'kotlin.Long.plus' call
288
288
  var tmp$ret$0;
289
289
  // Inline function 'kotlin.Long.times' call
290
- var tmp0_times = this.w2g();
290
+ var tmp0_times = this.k2n();
291
291
  var tmp1_times = get_MILLIS_PER_ONE();
292
- tmp$ret$0 = tmp0_times.s7(toLong(tmp1_times));
292
+ tmp$ret$0 = tmp0_times.u7(toLong(tmp1_times));
293
293
  var tmp2_plus = tmp$ret$0;
294
- var tmp3_plus = this.x2g() / get_NANOS_PER_MILLI() | 0;
295
- tmp$ret$1 = tmp2_plus.b6(toLong(tmp3_plus));
294
+ var tmp3_plus = this.l2n() / get_NANOS_PER_MILLI() | 0;
295
+ tmp$ret$1 = tmp2_plus.d6(toLong(tmp3_plus));
296
296
  return tmp$ret$1;
297
297
  };
298
- protoOf(Instant_0).z2g = function (duration) {
298
+ protoOf(Instant_0).n2n = function (duration) {
299
299
  var tmp$ret$0;
300
300
  // Inline function 'kotlin.time.Duration.toComponents' call
301
301
  // Inline function 'kotlin.contracts.contract' call
@@ -303,14 +303,14 @@
303
303
  var tmp1__anonymous__uwfjfc = _Duration___get_nanosecondsComponent__impl__nh19kq(duration);
304
304
  var tmp;
305
305
  try {
306
- tmp = new Instant_0(this.a2h(tmp0__anonymous__q1qw7t.pe(), tmp1__anonymous__uwfjfc));
306
+ tmp = new Instant_0(this.o2n(tmp0__anonymous__q1qw7t.pe(), tmp1__anonymous__uwfjfc));
307
307
  } catch ($p) {
308
308
  var tmp_0;
309
309
  if ($p instanceof Error) {
310
310
  var e = $p;
311
311
  if (!isJodaDateTimeException(e))
312
312
  throw e;
313
- tmp_0 = tmp0__anonymous__q1qw7t.x(new Long(0, 0)) > 0 ? Companion_getInstance_0().p2g_1 : Companion_getInstance_0().o2g_1;
313
+ tmp_0 = tmp0__anonymous__q1qw7t.v(new Long(0, 0)) > 0 ? Companion_getInstance_0().d2n_1 : Companion_getInstance_0().c2n_1;
314
314
  } else {
315
315
  throw $p;
316
316
  }
@@ -319,13 +319,13 @@
319
319
  return tmp;
320
320
  return tmp$ret$0;
321
321
  };
322
- protoOf(Instant_0).a2h = function (seconds, nanos) {
323
- var newSeconds = numberToDouble(this.v2g_1.epochSecond()) + seconds;
324
- var newNanos = numberToDouble(this.v2g_1.nano()) + nanos;
322
+ protoOf(Instant_0).o2n = function (seconds, nanos) {
323
+ var newSeconds = numberToDouble(this.j2n_1.epochSecond()) + seconds;
324
+ var newNanos = numberToDouble(this.j2n_1.nano()) + nanos;
325
325
  return Instant.ofEpochSecond(newSeconds, newNanos);
326
326
  };
327
- protoOf(Instant_0).b2h = function (other) {
328
- var diff = Duration.between(other.v2g_1, this.v2g_1);
327
+ protoOf(Instant_0).p2n = function (other) {
328
+ var diff = Duration.between(other.j2n_1, this.j2n_1);
329
329
  var tmp$ret$0;
330
330
  // Inline function 'kotlin.time.Companion.seconds' call
331
331
  var tmp0__get_seconds__yb22lo = Companion_getInstance();
@@ -339,11 +339,11 @@
339
339
  tmp$ret$1 = toDuration(tmp3__get_nanoseconds__ba33fn, DurationUnit_NANOSECONDS_getInstance());
340
340
  return Duration__plus_impl_yu9v8f(tmp, tmp$ret$1);
341
341
  };
342
- protoOf(Instant_0).c2h = function (other) {
343
- return numberToInt(this.v2g_1.compareTo(other.v2g_1));
342
+ protoOf(Instant_0).q2n = function (other) {
343
+ return numberToInt(this.j2n_1.compareTo(other.j2n_1));
344
344
  };
345
- protoOf(Instant_0).q8 = function (other) {
346
- return this.c2h(other instanceof Instant_0 ? other : THROW_CCE());
345
+ protoOf(Instant_0).s8 = function (other) {
346
+ return this.q2n(other instanceof Instant_0 ? other : THROW_CCE());
347
347
  };
348
348
  protoOf(Instant_0).equals = function (other) {
349
349
  var tmp;
@@ -352,7 +352,7 @@
352
352
  } else {
353
353
  var tmp_0;
354
354
  if (other instanceof Instant_0) {
355
- tmp_0 = equals(this.v2g_1, other.v2g_1);
355
+ tmp_0 = equals(this.j2n_1, other.j2n_1);
356
356
  } else {
357
357
  tmp_0 = false;
358
358
  }
@@ -361,10 +361,10 @@
361
361
  return tmp;
362
362
  };
363
363
  protoOf(Instant_0).hashCode = function () {
364
- return numberToInt(this.v2g_1.hashCode());
364
+ return numberToInt(this.j2n_1.hashCode());
365
365
  };
366
366
  protoOf(Instant_0).toString = function () {
367
- return this.v2g_1.toString();
367
+ return this.j2n_1.toString();
368
368
  };
369
369
  function isJodaDateTimeException(_this__u8e3s4) {
370
370
  var tmp$ret$0;
@@ -379,8 +379,8 @@
379
379
  return tmp$ret$0.name == 'DateTimeParseException';
380
380
  }
381
381
  function safeAdd(a, b) {
382
- var sum = a.b6(b);
383
- if (a.j8(sum).x(new Long(0, 0)) < 0 ? a.j8(b).x(new Long(0, 0)) >= 0 : false) {
382
+ var sum = a.d6(b);
383
+ if (a.l8(sum).v(new Long(0, 0)) < 0 ? a.l8(b).v(new Long(0, 0)) >= 0 : false) {
384
384
  throw ArithmeticException_init_$Create$('Addition overflows a long: ' + toString(a) + ' + ' + toString(b));
385
385
  }
386
386
  return sum;
@@ -948,22 +948,16 @@ export declare interface TestHelper {
948
948
  readonly TestHelper: unique symbol;
949
949
  };
950
950
  }
951
- export declare namespace com.logic.plugin.handlers {
952
- interface EngineHandler {
953
- attach(): void;
954
- detach(): void;
955
- onMethodCall(controller: com.logic.plugin.utils.events.MethodController): void;
956
- onListen(eventSink: com.logic.plugin.utils.events.EventController): void;
957
- onCancel(): void;
951
+ export declare namespace com.logic.plugin.utils.events {
952
+ interface EventSubscriptionCallback {
953
+ onListen(sink: com.logic.plugin.utils.events.EventController, argument?: Nullable<any>): void;
954
+ onCancel(argument?: Nullable<any>): void;
958
955
  readonly __doNotUseOrImplementIt: {
959
- readonly "com.logic.plugin.handlers.EngineHandler": unique symbol;
956
+ readonly "com.logic.plugin.utils.events.EventSubscriptionCallback": unique symbol;
960
957
  };
961
958
  }
962
- function createEngineHandler(debugLoggerOutput?: Nullable<com.logic.utils.logger.outputs.LoggerEnabledTrigger>, releaseLoggerOutput?: Nullable<com.logic.utils.logger.outputs.LoggerEnabledTrigger>, observableLoggerOutput?: Nullable<com.logic.utils.logger.outputs.ObservableLoggerOutput>, showClientErrorLoggerOutput?: Nullable<com.debertz.logic.client.utils.ShowClientErrorLoggerOutput>): com.logic.plugin.handlers.EngineHandler;
963
- }
964
- export declare namespace com.logic.plugin.utils.events {
965
959
  interface EventController {
966
- error(error: com.logic.plugin.utils.events.PluginError): void;
960
+ error(error: Error): void;
967
961
  success(data: Nullable<any>): void;
968
962
  endOfStream(): void;
969
963
  readonly __doNotUseOrImplementIt: {
@@ -975,7 +969,7 @@ export declare namespace com.logic.plugin.utils.events {
975
969
  interface MethodController {
976
970
  getMethodName(): string;
977
971
  getArguments(): Nullable<any>;
978
- error(error: com.logic.plugin.utils.events.PluginError): void;
972
+ error(error: Error): void;
979
973
  success(eventData?: Nullable<any>): void;
980
974
  notImplemented(): void;
981
975
  readonly __doNotUseOrImplementIt: {
@@ -995,4 +989,14 @@ export declare namespace com.logic.plugin.utils.events {
995
989
  equals(other: Nullable<any>): boolean;
996
990
  }
997
991
  }
992
+ export declare interface EnginesControllerWeb {
993
+ attach(): void;
994
+ detach(): void;
995
+ onListenEvents(onSuccess: (p0: Nullable<any>) => void, onError: (p0: Error) => void, onComplete: () => void): void;
996
+ onMethodCall(name: string, arguments: Nullable<any>): Promise<Nullable<any>>;
997
+ readonly __doNotUseOrImplementIt: {
998
+ readonly EnginesControllerWeb: unique symbol;
999
+ };
1000
+ }
1001
+ export declare function createEnginesControllerWeb(): EnginesControllerWeb;
998
1002
  export as namespace Logic_Debertz_client_plugin;