jsf.js_next_gen 4.1.0-beta.1 → 4.1.0-beta.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.
@@ -6,9 +6,22 @@
6
6
  /*!******************************************************************!*\
7
7
  !*** ./node_modules/mona-dish/src/main/typescript/AssocArray.ts ***!
8
8
  \******************************************************************/
9
- (__unused_webpack_module, exports, __webpack_require__) {
10
-
11
-
9
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10
+
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
+ /* harmony export */ append: () => (/* binding */ append),
14
+ /* harmony export */ appendIf: () => (/* binding */ appendIf),
15
+ /* harmony export */ assign: () => (/* binding */ assign),
16
+ /* harmony export */ assignIf: () => (/* binding */ assignIf),
17
+ /* harmony export */ buildPath: () => (/* binding */ buildPath),
18
+ /* harmony export */ deepCopy: () => (/* binding */ deepCopy),
19
+ /* harmony export */ deepEqual: () => (/* binding */ deepEqual),
20
+ /* harmony export */ resolve: () => (/* binding */ resolve),
21
+ /* harmony export */ shallowMerge: () => (/* binding */ shallowMerge),
22
+ /* harmony export */ simpleShallowMerge: () => (/* binding */ simpleShallowMerge)
23
+ /* harmony export */ });
24
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
12
25
  /*!
13
26
  * Licensed to the Apache Software Foundation (ASF) under one or more
14
27
  * contributor license agreements. See the NOTICE file distributed with
@@ -25,18 +38,7 @@
25
38
  * See the License for the specific language governing permissions and
26
39
  * limitations under the License.
27
40
  */
28
- Object.defineProperty(exports, "__esModule", ({ value: true }));
29
- exports.assign = assign;
30
- exports.append = append;
31
- exports.assignIf = assignIf;
32
- exports.appendIf = appendIf;
33
- exports.resolve = resolve;
34
- exports.buildPath = buildPath;
35
- exports.deepCopy = deepCopy;
36
- exports.simpleShallowMerge = simpleShallowMerge;
37
- exports.shallowMerge = shallowMerge;
38
- exports.deepEqual = deepEqual;
39
- const Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
41
+
40
42
  /**
41
43
  * A nop as assign functionality (aka ignore assign)
42
44
  */
@@ -166,7 +168,7 @@ function alloc(arr, length, defaultVal = {}) {
166
168
  arr.push(...toAdd);
167
169
  }
168
170
  function flattenAccessPath(accessPath) {
169
- return new Es2019Array_1.Es2019Array(...accessPath).flatMap((path) => path.split("["))
171
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...accessPath).flatMap((path) => path.split("["))
170
172
  .map((path) => path.indexOf("]") != -1 ? "[" + path : path)
171
173
  .filter((path) => path != "");
172
174
  }
@@ -268,7 +270,7 @@ function _appendWithOverwrite(withAppend, target, key, arr, toAssign) {
268
270
  newVals.push(item);
269
271
  }
270
272
  });
271
- target[key] = new Es2019Array_1.Es2019Array(...[]);
273
+ target[key] = new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...[]);
272
274
  target[key].push(oldVal);
273
275
  target[key].push(...newVals);
274
276
  }
@@ -297,7 +299,7 @@ function _appendWithoutOverwrite(withAppend, target, key, arr, toAssign) {
297
299
  }
298
300
  else if (!Array.isArray(target[key])) {
299
301
  let oldVal = target[key];
300
- target[key] = new Es2019Array_1.Es2019Array(...[]);
302
+ target[key] = new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...[]);
301
303
  target[key].push(oldVal);
302
304
  target[key].push(...toAssign);
303
305
  }
@@ -316,13 +318,13 @@ function _appendWithoutOverwrite(withAppend, target, key, arr, toAssign) {
316
318
  */
317
319
  function shallowMerge(overwrite = true, withAppend = false, ...assocArrays) {
318
320
  let target = {};
319
- new Es2019Array_1.Es2019Array(...assocArrays).map((arr) => {
321
+ new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...assocArrays).map((arr) => {
320
322
  return { arr, keys: Object.keys(arr) };
321
323
  }).forEach(({ arr, keys }) => {
322
324
  keys.forEach((key) => {
323
325
  let toAssign = arr[key];
324
326
  if (!Array.isArray(toAssign) && withAppend) {
325
- toAssign = new Es2019Array_1.Es2019Array(...[toAssign]);
327
+ toAssign = new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...[toAssign]);
326
328
  }
327
329
  if (overwrite || !(target === null || target === void 0 ? void 0 : target[key])) {
328
330
  _appendWithOverwrite(withAppend, target, key, arr, toAssign);
@@ -372,21 +374,28 @@ function deepEqual(obj1, obj2) {
372
374
  /*!**************************************************************!*\
373
375
  !*** ./node_modules/mona-dish/src/main/typescript/Config.ts ***!
374
376
  \**************************************************************/
375
- (__unused_webpack_module, exports, __webpack_require__) {
377
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
378
+
379
+ __webpack_require__.r(__webpack_exports__);
380
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
381
+ /* harmony export */ CONFIG_ANY: () => (/* binding */ CONFIG_ANY),
382
+ /* harmony export */ CONFIG_VALUE: () => (/* binding */ CONFIG_VALUE),
383
+ /* harmony export */ Config: () => (/* binding */ Config)
384
+ /* harmony export */ });
385
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
386
+ /* harmony import */ var _Monad__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
387
+ /* harmony import */ var _Lang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
388
+ /* harmony import */ var _AssocArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts");
389
+
390
+
376
391
 
392
+ const objAssign = _Lang__WEBPACK_IMPORTED_MODULE_2__.Lang.objAssign;
377
393
 
378
- Object.defineProperty(exports, "__esModule", ({ value: true }));
379
- exports.Config = exports.CONFIG_ANY = exports.CONFIG_VALUE = void 0;
380
- const Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
381
- const Monad_1 = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
382
- const Lang_1 = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
383
- const objAssign = Lang_1.Lang.objAssign;
384
- const AssocArray_1 = __webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts");
385
394
  /**
386
395
  * specialized value embedder
387
396
  * for our Configuration
388
397
  */
389
- class ConfigEntry extends Monad_1.ValueEmbedder {
398
+ class ConfigEntry extends _Monad__WEBPACK_IMPORTED_MODULE_1__.ValueEmbedder {
390
399
  constructor(rootElem, key, arrPos) {
391
400
  super(rootElem, key);
392
401
  this.arrPos = arrPos !== null && arrPos !== void 0 ? arrPos : -1;
@@ -414,15 +423,15 @@ class ConfigEntry extends Monad_1.ValueEmbedder {
414
423
  }
415
424
  /*default value for absent*/
416
425
  ConfigEntry.absent = ConfigEntry.fromNullable(null);
417
- exports.CONFIG_VALUE = "__END_POINT__";
418
- exports.CONFIG_ANY = "__ANY_POINT__";
426
+ const CONFIG_VALUE = "__END_POINT__";
427
+ const CONFIG_ANY = "__ANY_POINT__";
419
428
  /**
420
429
  * Config, basically an optional wrapper for a json structure
421
430
  * (not Side - effect free, since we can alter the internal config state
422
431
  * without generating a new config), not sure if we should make it side - effect free
423
432
  * since this would swallow a lot of performance and ram
424
433
  */
425
- class Config extends Monad_1.Optional {
434
+ class Config extends _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional {
426
435
  constructor(root, configDef) {
427
436
  super(root);
428
437
  this.configDef = configDef;
@@ -460,7 +469,7 @@ class Config extends Monad_1.Optional {
460
469
  */
461
470
  shallowMerge(other, overwrite = true, withAppend = false) {
462
471
  //shallow merge must be mutable so we have to remap
463
- let newThis = (0, AssocArray_1.shallowMerge)(overwrite, withAppend, this.value, other.value);
472
+ let newThis = (0,_AssocArray__WEBPACK_IMPORTED_MODULE_3__.shallowMerge)(overwrite, withAppend, this.value, other.value);
464
473
  if (Array.isArray(this._value)) {
465
474
  this._value.length = 0;
466
475
  this._value.push(...newThis);
@@ -483,7 +492,7 @@ class Config extends Monad_1.Optional {
483
492
  * @param {string[]} accessPath
484
493
  */
485
494
  append(...accessPath) {
486
- return (0, AssocArray_1.append)(this._value, ...accessPath);
495
+ return (0,_AssocArray__WEBPACK_IMPORTED_MODULE_3__.append)(this._value, ...accessPath);
487
496
  }
488
497
  /**
489
498
  * appends to an existing entry (or extends into an array and appends)
@@ -492,14 +501,14 @@ class Config extends Monad_1.Optional {
492
501
  * @param {string[]} accessPath
493
502
  */
494
503
  appendIf(condition, ...accessPath) {
495
- return (0, AssocArray_1.appendIf)(condition, this._value, ...accessPath);
504
+ return (0,_AssocArray__WEBPACK_IMPORTED_MODULE_3__.appendIf)(condition, this._value, ...accessPath);
496
505
  }
497
506
  /**
498
507
  * assigns a new value on the given access path
499
508
  * @param accessPath
500
509
  */
501
510
  assign(...accessPath) {
502
- return (0, AssocArray_1.assign)(this.value, ...accessPath);
511
+ return (0,_AssocArray__WEBPACK_IMPORTED_MODULE_3__.assign)(this.value, ...accessPath);
503
512
  }
504
513
  /**
505
514
  * assign a value if the condition is set to true, otherwise skip it
@@ -508,7 +517,7 @@ class Config extends Monad_1.Optional {
508
517
  * @param accessPath
509
518
  */
510
519
  assignIf(condition, ...accessPath) {
511
- return (0, AssocArray_1.assignIf)(condition, this._value, ...accessPath);
520
+ return (0,_AssocArray__WEBPACK_IMPORTED_MODULE_3__.assignIf)(condition, this._value, ...accessPath);
512
521
  }
513
522
  /**
514
523
  * get if the access path is present (get is reserved as getter with a default, on the current path)
@@ -517,7 +526,7 @@ class Config extends Monad_1.Optional {
517
526
  */
518
527
  getIf(...accessPath) {
519
528
  this.assertAccessPath(...accessPath);
520
- return this.getClass().fromNullable((0, AssocArray_1.resolve)(this.value, ...accessPath));
529
+ return this.getClass().fromNullable((0,_AssocArray__WEBPACK_IMPORTED_MODULE_3__.resolve)(this.value, ...accessPath));
521
530
  }
522
531
  /**
523
532
  * gets the current node and if none is present returns a config with a default value
@@ -558,7 +567,7 @@ class Config extends Monad_1.Optional {
558
567
  return;
559
568
  }
560
569
  const ERR_ACCESS_PATH = "Access Path to config invalid";
561
- let currAccessPos = Monad_1.Optional.fromNullable(Object.keys(this.configDef).map(key => {
570
+ let currAccessPos = _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.fromNullable(Object.keys(this.configDef).map(key => {
562
571
  let ret = {};
563
572
  ret[key] = this.configDef[key];
564
573
  return ret;
@@ -570,32 +579,32 @@ class Config extends Monad_1.Optional {
570
579
  if (this.isArray(arrPos)) {
571
580
  if (currKey != "") {
572
581
  currAccessPos = Array.isArray(currAccessPos.value) ?
573
- Monad_1.Optional.fromNullable((_b = (_a = new Es2019Array_1.Es2019Array(...currAccessPos.value)
582
+ _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.fromNullable((_b = (_a = new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...currAccessPos.value)
574
583
  .find(item => {
575
584
  var _a;
576
585
  return !!((_a = item === null || item === void 0 ? void 0 : item[currKey]) !== null && _a !== void 0 ? _a : false);
577
586
  })) === null || _a === void 0 ? void 0 : _a[currKey]) === null || _b === void 0 ? void 0 : _b[arrPos]) :
578
- Monad_1.Optional.fromNullable((_e = (_d = (_c = currAccessPos.value) === null || _c === void 0 ? void 0 : _c[currKey]) === null || _d === void 0 ? void 0 : _d[arrPos]) !== null && _e !== void 0 ? _e : null);
587
+ _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.fromNullable((_e = (_d = (_c = currAccessPos.value) === null || _c === void 0 ? void 0 : _c[currKey]) === null || _d === void 0 ? void 0 : _d[arrPos]) !== null && _e !== void 0 ? _e : null);
579
588
  }
580
589
  else {
581
590
  currAccessPos = (Array.isArray(currAccessPos.value)) ?
582
- Monad_1.Optional.fromNullable((_f = currAccessPos.value) === null || _f === void 0 ? void 0 : _f[arrPos]) : Monad_1.Optional.absent;
591
+ _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.fromNullable((_f = currAccessPos.value) === null || _f === void 0 ? void 0 : _f[arrPos]) : _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.absent;
583
592
  }
584
593
  //we noe store either the current array or the filtered look ahead to go further
585
594
  }
586
595
  else {
587
596
  //we now have an array and go further with a singular key
588
- currAccessPos = (Array.isArray(currAccessPos.value)) ? Monad_1.Optional.fromNullable((_g = new Es2019Array_1.Es2019Array(...currAccessPos.value)
597
+ currAccessPos = (Array.isArray(currAccessPos.value)) ? _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.fromNullable((_g = new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...currAccessPos.value)
589
598
  .find(item => {
590
599
  var _a;
591
600
  return !!((_a = item === null || item === void 0 ? void 0 : item[currKey]) !== null && _a !== void 0 ? _a : false);
592
601
  })) === null || _g === void 0 ? void 0 : _g[currKey]) :
593
- Monad_1.Optional.fromNullable((_j = (_h = currAccessPos.value) === null || _h === void 0 ? void 0 : _h[currKey]) !== null && _j !== void 0 ? _j : null);
602
+ _Monad__WEBPACK_IMPORTED_MODULE_1__.Optional.fromNullable((_j = (_h = currAccessPos.value) === null || _h === void 0 ? void 0 : _h[currKey]) !== null && _j !== void 0 ? _j : null);
594
603
  }
595
604
  if (!currAccessPos.isPresent()) {
596
605
  throw Error(ERR_ACCESS_PATH);
597
606
  }
598
- if (currAccessPos.value == exports.CONFIG_ANY) {
607
+ if (currAccessPos.value == CONFIG_ANY) {
599
608
  return;
600
609
  }
601
610
  }
@@ -607,7 +616,6 @@ class Config extends Monad_1.Optional {
607
616
  return !this.isNoArray(arrPos);
608
617
  }
609
618
  }
610
- exports.Config = Config;
611
619
 
612
620
 
613
621
  /***/ },
@@ -616,9 +624,23 @@ exports.Config = Config;
616
624
  /*!****************************************************************!*\
617
625
  !*** ./node_modules/mona-dish/src/main/typescript/DomQuery.ts ***!
618
626
  \****************************************************************/
619
- (__unused_webpack_module, exports, __webpack_require__) {
620
-
621
-
627
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
628
+
629
+ __webpack_require__.r(__webpack_exports__);
630
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
631
+ /* harmony export */ DQ: () => (/* binding */ DQ),
632
+ /* harmony export */ DQ$: () => (/* binding */ DQ$),
633
+ /* harmony export */ DomQuery: () => (/* binding */ DomQuery),
634
+ /* harmony export */ DomQueryCollector: () => (/* binding */ DomQueryCollector),
635
+ /* harmony export */ ElementAttribute: () => (/* binding */ ElementAttribute),
636
+ /* harmony export */ Style: () => (/* binding */ Style)
637
+ /* harmony export */ });
638
+ /* harmony import */ var _Monad__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
639
+ /* harmony import */ var _SourcesCollectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SourcesCollectors */ "./node_modules/mona-dish/src/main/typescript/SourcesCollectors.ts");
640
+ /* harmony import */ var _Lang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
641
+ /* harmony import */ var _Global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Global */ "./node_modules/mona-dish/src/main/typescript/Global.ts");
642
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
643
+ /* harmony import */ var _AssocArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts");
622
644
  /*!
623
645
  * Licensed to the Apache Software Foundation (ASF) under one or more
624
646
  * contributor license agreements. See the NOTICE file distributed with
@@ -635,7 +657,7 @@ exports.Config = Config;
635
657
  * See the License for the specific language governing permissions and
636
658
  * limitations under the License.
637
659
  */
638
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
660
+ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
639
661
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
640
662
  return new (P || (P = Promise))(function (resolve, reject) {
641
663
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -644,19 +666,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
644
666
  step((generator = generator.apply(thisArg, _arguments || [])).next());
645
667
  });
646
668
  };
647
- Object.defineProperty(exports, "__esModule", ({ value: true }));
648
- exports.DQ$ = exports.DQ = exports.DomQueryCollector = exports.DomQuery = exports.Style = exports.ElementAttribute = void 0;
649
- const Monad_1 = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
650
- const SourcesCollectors_1 = __webpack_require__(/*! ./SourcesCollectors */ "./node_modules/mona-dish/src/main/typescript/SourcesCollectors.ts");
651
- const Lang_1 = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
652
- const Global_1 = __webpack_require__(/*! ./Global */ "./node_modules/mona-dish/src/main/typescript/Global.ts");
653
- const Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
654
- const trim = Lang_1.Lang.trim;
655
- const isString = Lang_1.Lang.isString;
656
- const eqi = Lang_1.Lang.equalsIgnoreCase;
657
- const objToArray = Lang_1.Lang.objToArray;
658
- const AssocArray_1 = __webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts");
659
- class NonceValueEmbedder extends Monad_1.ValueEmbedder {
669
+
670
+
671
+
672
+
673
+
674
+ const trim = _Lang__WEBPACK_IMPORTED_MODULE_2__.Lang.trim;
675
+ const isString = _Lang__WEBPACK_IMPORTED_MODULE_2__.Lang.isString;
676
+ const eqi = _Lang__WEBPACK_IMPORTED_MODULE_2__.Lang.equalsIgnoreCase;
677
+ const objToArray = _Lang__WEBPACK_IMPORTED_MODULE_2__.Lang.objToArray;
678
+
679
+ class NonceValueEmbedder extends _Monad__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder {
660
680
  constructor(rootElems) {
661
681
  super(rootElems === null || rootElems === void 0 ? void 0 : rootElems[0], "nonce");
662
682
  this.rootElems = rootElems;
@@ -784,7 +804,7 @@ function waitUntilDom(root, condition, options = {
784
804
  }
785
805
  });
786
806
  }
787
- class ElementAttribute extends Monad_1.ValueEmbedder {
807
+ class ElementAttribute extends _Monad__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder {
788
808
  constructor(element, name, defaultVal = null) {
789
809
  super(element, name);
790
810
  this.element = element;
@@ -812,8 +832,7 @@ class ElementAttribute extends Monad_1.ValueEmbedder {
812
832
  return new ElementAttribute(value, valueKey);
813
833
  }
814
834
  }
815
- exports.ElementAttribute = ElementAttribute;
816
- class Style extends Monad_1.ValueEmbedder {
835
+ class Style extends _Monad__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder {
817
836
  constructor(element, name, defaultVal = null) {
818
837
  super(element, name);
819
838
  this.element = element;
@@ -840,7 +859,6 @@ class Style extends Monad_1.ValueEmbedder {
840
859
  return new ElementAttribute(value, valueKey);
841
860
  }
842
861
  }
843
- exports.Style = Style;
844
862
  /**
845
863
  * small helper for the specialized jsf case
846
864
  * @constructor
@@ -873,7 +891,7 @@ class DomQuery {
873
891
  this.pos = -1;
874
892
  // because we can stream from an array stream directly into the dom query
875
893
  this._limits = -1;
876
- if (Monad_1.Optional.fromNullable(rootNode).isAbsent() || !rootNode.length) {
894
+ if (_Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(rootNode).isAbsent() || !rootNode.length) {
877
895
  return;
878
896
  }
879
897
  else {
@@ -908,7 +926,7 @@ class DomQuery {
908
926
  return this.allElems();
909
927
  }
910
928
  get global() {
911
- return Global_1._global$;
929
+ return _Global__WEBPACK_IMPORTED_MODULE_3__._global$;
912
930
  }
913
931
  get stream() {
914
932
  throw Error("Not implemented, include Stream.ts for this to work");
@@ -963,7 +981,7 @@ class DomQuery {
963
981
  * the name of the first element
964
982
  */
965
983
  get name() {
966
- return new Monad_1.ValueEmbedder(this.getAsElem(0).value, "name");
984
+ return new _Monad__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder(this.getAsElem(0).value, "name");
967
985
  }
968
986
  /**
969
987
  * convenience property for value
@@ -973,10 +991,10 @@ class DomQuery {
973
991
  */
974
992
  get inputValue() {
975
993
  if (this.getAsElem(0).getIf("value").isPresent()) {
976
- return new Monad_1.ValueEmbedder(this.getAsElem(0).value);
994
+ return new _Monad__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder(this.getAsElem(0).value);
977
995
  }
978
996
  else {
979
- return Monad_1.ValueEmbedder.absent;
997
+ return _Monad__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder.absent;
980
998
  }
981
999
  }
982
1000
  get val() {
@@ -992,7 +1010,7 @@ class DomQuery {
992
1010
  this.id.value = value;
993
1011
  }
994
1012
  get checked() {
995
- return new Es2019Array_1.Es2019Array(...this.values).every(el => !!(el).checked);
1013
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.values).every(el => !!(el).checked);
996
1014
  }
997
1015
  set checked(newChecked) {
998
1016
  this.eachElem(el => el.checked = newChecked);
@@ -1052,7 +1070,7 @@ class DomQuery {
1052
1070
  }
1053
1071
  get asArray() {
1054
1072
  // filter not supported by IE11
1055
- let items = new Es2019Array_1.Es2019Array(...this.rootNode).filter(item => {
1073
+ let items = new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.rootNode).filter(item => {
1056
1074
  return item != null;
1057
1075
  }).map(item => {
1058
1076
  return DomQuery.byId(item);
@@ -1060,31 +1078,31 @@ class DomQuery {
1060
1078
  return items;
1061
1079
  }
1062
1080
  get offsetWidth() {
1063
- return new Es2019Array_1.Es2019Array(...this.rootNode)
1081
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.rootNode)
1064
1082
  .filter(item => item != null)
1065
1083
  .map(elem => elem.offsetWidth)
1066
1084
  .reduce((accumulate, incoming) => accumulate + incoming, 0);
1067
1085
  }
1068
1086
  get offsetHeight() {
1069
- return new Es2019Array_1.Es2019Array(...this.rootNode)
1087
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.rootNode)
1070
1088
  .filter(item => item != null)
1071
1089
  .map(elem => elem.offsetHeight)
1072
1090
  .reduce((accumulate, incoming) => accumulate + incoming, 0);
1073
1091
  }
1074
1092
  get offsetLeft() {
1075
- return new Es2019Array_1.Es2019Array(...this.rootNode)
1093
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.rootNode)
1076
1094
  .filter(item => item != null)
1077
1095
  .map(elem => elem.offsetLeft)
1078
1096
  .reduce((accumulate, incoming) => accumulate + incoming, 0);
1079
1097
  }
1080
1098
  get offsetTop() {
1081
- return new Es2019Array_1.Es2019Array(this.rootNode)
1099
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(this.rootNode)
1082
1100
  .filter(item => item != null)
1083
1101
  .map(elem => elem.offsetTop)
1084
1102
  .reduce((accumulate, incoming) => accumulate + incoming, 0);
1085
1103
  }
1086
1104
  get asNodeArray() {
1087
- return new Es2019Array_1.Es2019Array(...this.rootNode.filter(item => item != null));
1105
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.rootNode.filter(item => item != null));
1088
1106
  }
1089
1107
  get nonce() {
1090
1108
  return new NonceValueEmbedder(this.rootNode);
@@ -1202,8 +1220,8 @@ class DomQuery {
1202
1220
  * @param index the number from the index
1203
1221
  * @param defaults the default value if the index is overrun default Optional\.absent
1204
1222
  */
1205
- getAsElem(index, defaults = Monad_1.Optional.absent) {
1206
- return (index < this.rootNode.length) ? Monad_1.Optional.fromNullable(this.rootNode[index]) : defaults;
1223
+ getAsElem(index, defaults = _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.absent) {
1224
+ return (index < this.rootNode.length) ? _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(this.rootNode[index]) : defaults;
1207
1225
  }
1208
1226
  /**
1209
1227
  * returns the files from a given element
@@ -1286,7 +1304,7 @@ class DomQuery {
1286
1304
  byId(id, includeRoot) {
1287
1305
  let res = [];
1288
1306
  if (includeRoot) {
1289
- res = res.concat(...new Es2019Array_1.Es2019Array(...((this === null || this === void 0 ? void 0 : this.rootNode) || []))
1307
+ res = res.concat(...new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...((this === null || this === void 0 ? void 0 : this.rootNode) || []))
1290
1308
  .filter(((item) => id == item.id))
1291
1309
  .map(item => new DomQuery(item)));
1292
1310
  }
@@ -1299,7 +1317,7 @@ class DomQuery {
1299
1317
  byIdDeep(id, includeRoot) {
1300
1318
  let res = [];
1301
1319
  if (includeRoot) {
1302
- res = res.concat(new Es2019Array_1.Es2019Array(...((this === null || this === void 0 ? void 0 : this.rootNode) || []))
1320
+ res = res.concat(new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...((this === null || this === void 0 ? void 0 : this.rootNode) || []))
1303
1321
  .filter(item => id == item.id)
1304
1322
  .map(item => new DomQuery(item)));
1305
1323
  }
@@ -1319,7 +1337,7 @@ class DomQuery {
1319
1337
  var _a;
1320
1338
  let res = [];
1321
1339
  if (includeRoot) {
1322
- res = new Es2019Array_1.Es2019Array(...((_a = this === null || this === void 0 ? void 0 : this.rootNode) !== null && _a !== void 0 ? _a : []))
1340
+ res = new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...((_a = this === null || this === void 0 ? void 0 : this.rootNode) !== null && _a !== void 0 ? _a : []))
1323
1341
  .filter(element => (element === null || element === void 0 ? void 0 : element.tagName) == tagName)
1324
1342
  .reduce((reduction, item) => reduction.concat([item]), res);
1325
1343
  }
@@ -1391,8 +1409,8 @@ class DomQuery {
1391
1409
  * @param newInnerHTML the inner html to be inserted
1392
1410
  */
1393
1411
  html(newInnerHTML) {
1394
- if (Monad_1.Optional.fromNullable(newInnerHTML).isAbsent()) {
1395
- return this.isPresent() ? Monad_1.Optional.fromNullable(this.innerHTML) : Monad_1.Optional.absent;
1412
+ if (_Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(newInnerHTML).isAbsent()) {
1413
+ return this.isPresent() ? _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(this.innerHTML) : _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.absent;
1396
1414
  }
1397
1415
  this.innerHTML = newInnerHTML;
1398
1416
  return this;
@@ -1496,7 +1514,7 @@ class DomQuery {
1496
1514
  return this;
1497
1515
  }
1498
1516
  each(func) {
1499
- new Es2019Array_1.Es2019Array(...this.rootNode)
1517
+ new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...this.rootNode)
1500
1518
  .forEach((item, cnt) => {
1501
1519
  // we could use a filter, but for the best performance we don´t
1502
1520
  if (item == null) {
@@ -1623,7 +1641,7 @@ class DomQuery {
1623
1641
  * @param elem
1624
1642
  */
1625
1643
  appendTo(elem) {
1626
- if (Lang_1.Lang.isString(elem)) {
1644
+ if (_Lang__WEBPACK_IMPORTED_MODULE_2__.Lang.isString(elem)) {
1627
1645
  this.appendTo(DomQuery.querySelectorAll(elem));
1628
1646
  return this;
1629
1647
  }
@@ -1856,7 +1874,7 @@ class DomQuery {
1856
1874
  // scripts before we run the 'include' command
1857
1875
  // this.globalEval(finalScripts.join("\n"));
1858
1876
  let joinedScripts = [];
1859
- new Es2019Array_1.Es2019Array(...scriptsToProcess).forEach(item => {
1877
+ new _Es2019Array__WEBPACK_IMPORTED_MODULE_4__.Es2019Array(...scriptsToProcess).forEach(item => {
1860
1878
  if (!item.nonce) {
1861
1879
  joinedScripts.push(item.evalText);
1862
1880
  }
@@ -2013,7 +2031,7 @@ class DomQuery {
2013
2031
  let finalOptions = {
2014
2032
  bubbles: true, cancelable: true
2015
2033
  };
2016
- finalOptions = (0, AssocArray_1.simpleShallowMerge)(finalOptions, options);
2034
+ finalOptions = (0,_AssocArray__WEBPACK_IMPORTED_MODULE_5__.simpleShallowMerge)(finalOptions, options);
2017
2035
  this.eachElem((node) => {
2018
2036
  let doc;
2019
2037
  if (node.ownerDocument) {
@@ -2111,7 +2129,7 @@ class DomQuery {
2111
2129
  return;
2112
2130
  }
2113
2131
  // let´s keep it side-effects free
2114
- let target = (0, AssocArray_1.simpleShallowMerge)(toMerge);
2132
+ let target = (0,_AssocArray__WEBPACK_IMPORTED_MODULE_5__.simpleShallowMerge)(toMerge);
2115
2133
  this.each((element) => {
2116
2134
  var _a, _b;
2117
2135
  if (element.name.isAbsent()) { // no name, no encoding
@@ -2146,7 +2164,7 @@ class DomQuery {
2146
2164
  // let subBuf = [];
2147
2165
  if (selectElem.options[u].selected) {
2148
2166
  let elementOption = selectElem.options[u];
2149
- (0, AssocArray_1.append)(target, name).value = (elementOption.getAttribute("value") != null) ?
2167
+ (0,_AssocArray__WEBPACK_IMPORTED_MODULE_5__.append)(target, name).value = (elementOption.getAttribute("value") != null) ?
2150
2168
  elementOption.value : elementOption.text;
2151
2169
  }
2152
2170
  }
@@ -2166,14 +2184,14 @@ class DomQuery {
2166
2184
  let filesArr = uploadedFiles !== null && uploadedFiles !== void 0 ? uploadedFiles : [];
2167
2185
  if (filesArr === null || filesArr === void 0 ? void 0 : filesArr.length) { //files can be empty but set
2168
2186
  // xhr level2, single multiple must be passes as they are
2169
- (0, AssocArray_1.assign)(target, name).value = Array.from(filesArr);
2187
+ (0,_AssocArray__WEBPACK_IMPORTED_MODULE_5__.assign)(target, name).value = Array.from(filesArr);
2170
2188
  }
2171
2189
  else {
2172
2190
  if (!!uploadedFiles) { //we skip empty file elements i
2173
2191
  return;
2174
2192
  }
2175
2193
  //checkboxes etc.. need to be appended
2176
- (0, AssocArray_1.append)(target, name).value = element.inputValue.value;
2194
+ (0,_AssocArray__WEBPACK_IMPORTED_MODULE_5__.append)(target, name).value = element.inputValue.value;
2177
2195
  }
2178
2196
  }
2179
2197
  }
@@ -2207,7 +2225,7 @@ class DomQuery {
2207
2225
  return res.join("");
2208
2226
  }
2209
2227
  subNodes(from, to) {
2210
- if (Monad_1.Optional.fromNullable(to).isAbsent()) {
2228
+ if (_Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(to).isAbsent()) {
2211
2229
  to = this.length;
2212
2230
  }
2213
2231
  return new DomQuery(...this.rootNode.slice(from, Math.min(to, this.length)));
@@ -2232,13 +2250,13 @@ class DomQuery {
2232
2250
  }
2233
2251
  lookAhead(cnt = 1) {
2234
2252
  if ((this.values.length - 1) < (this.pos + cnt)) {
2235
- return SourcesCollectors_1.ITERATION_STATUS.EO_STRM;
2253
+ return _SourcesCollectors__WEBPACK_IMPORTED_MODULE_1__.ITERATION_STATUS.EO_STRM;
2236
2254
  }
2237
2255
  return new DomQuery(this.values[this.pos + cnt]);
2238
2256
  }
2239
2257
  current() {
2240
2258
  if (this.pos == -1) {
2241
- return SourcesCollectors_1.ITERATION_STATUS.BEF_STRM;
2259
+ return _SourcesCollectors__WEBPACK_IMPORTED_MODULE_1__.ITERATION_STATUS.BEF_STRM;
2242
2260
  }
2243
2261
  return new DomQuery(this.values[this.pos]);
2244
2262
  }
@@ -2572,12 +2590,11 @@ class DomQuery {
2572
2590
  }
2573
2591
  }
2574
2592
  }
2575
- exports.DomQuery = DomQuery;
2576
2593
  DomQuery.absent = new DomQuery();
2577
2594
  /**
2578
2595
  * reference to the environmental global object
2579
2596
  */
2580
- DomQuery.global = Global_1._global$;
2597
+ DomQuery.global = _Global__WEBPACK_IMPORTED_MODULE_3__._global$;
2581
2598
  /**
2582
2599
  * Various collectors
2583
2600
  * which can be used in conjunction with Streams
@@ -2598,16 +2615,15 @@ class DomQueryCollector {
2598
2615
  return new DomQuery(...this.data);
2599
2616
  }
2600
2617
  }
2601
- exports.DomQueryCollector = DomQueryCollector;
2602
2618
  /**
2603
2619
  * abbreviation for DomQuery
2604
2620
  */
2605
- exports.DQ = DomQuery;
2621
+ const DQ = DomQuery;
2606
2622
  // noinspection JSUnusedGlobalSymbols
2607
2623
  /**
2608
2624
  * replacement for the jquery $
2609
2625
  */
2610
- exports.DQ$ = DomQuery.querySelectorAll;
2626
+ const DQ$ = DomQuery.querySelectorAll;
2611
2627
 
2612
2628
 
2613
2629
  /***/ },
@@ -2616,15 +2632,16 @@ exports.DQ$ = DomQuery.querySelectorAll;
2616
2632
  /*!*******************************************************************!*\
2617
2633
  !*** ./node_modules/mona-dish/src/main/typescript/Es2019Array.ts ***!
2618
2634
  \*******************************************************************/
2619
- (__unused_webpack_module, exports) {
2620
-
2635
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2621
2636
 
2637
+ __webpack_require__.r(__webpack_exports__);
2638
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2639
+ /* harmony export */ Es2019Array: () => (/* binding */ Es2019Array),
2640
+ /* harmony export */ _Es2019Array: () => (/* binding */ _Es2019Array)
2641
+ /* harmony export */ });
2622
2642
  /**
2623
2643
  * Extended array
2624
2644
  */
2625
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2626
- exports.Es2019Array = void 0;
2627
- exports._Es2019Array = _Es2019Array;
2628
2645
  /**
2629
2646
  * Extended array which adds various es 2019 shim functions to the normal array
2630
2647
  * We must remap all array producing functions in order to keep
@@ -2694,7 +2711,7 @@ class Es2019Array_ extends Array {
2694
2711
  res = res.concat(mapped);
2695
2712
  };
2696
2713
  arr.forEach(reFlat);
2697
- return new exports.Es2019Array(...res);
2714
+ return new Es2019Array(...res);
2698
2715
  }
2699
2716
  _flatMap(mapperFunction) {
2700
2717
  let res = this.map(item => mapperFunction(item));
@@ -2732,7 +2749,7 @@ function _Es2019Array(...data) {
2732
2749
  * does not yet have flatMap support on arrays
2733
2750
  */
2734
2751
  // Runtime check for browser compatibility — TypeScript knows flatMap exists in lib but older browsers may not have it.
2735
- exports.Es2019Array = (Array.prototype.flatMap) ? function (...data) {
2752
+ var Es2019Array = (Array.prototype.flatMap) ? function (...data) {
2736
2753
  // sometimes the typescript compiler produces
2737
2754
  // an array without flatmap between boundaries (the result produces True for Array.isArray
2738
2755
  // but has no flatMap function, could be a node issue also or Typescript!
@@ -2748,11 +2765,12 @@ exports.Es2019Array = (Array.prototype.flatMap) ? function (...data) {
2748
2765
  /*!**************************************************************!*\
2749
2766
  !*** ./node_modules/mona-dish/src/main/typescript/Global.ts ***!
2750
2767
  \**************************************************************/
2751
- (__unused_webpack_module, exports, __webpack_require__) {
2768
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2752
2769
 
2753
-
2754
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2755
- exports._global$ = _global$;
2770
+ __webpack_require__.r(__webpack_exports__);
2771
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2772
+ /* harmony export */ _global$: () => (/* binding */ _global$)
2773
+ /* harmony export */ });
2756
2774
  /*!
2757
2775
  * Licensed to the Apache Software Foundation (ASF) under one
2758
2776
  * or more contributor license agreements. See the NOTICE file
@@ -2794,9 +2812,14 @@ function _global$() {
2794
2812
  /*!************************************************************!*\
2795
2813
  !*** ./node_modules/mona-dish/src/main/typescript/Lang.ts ***!
2796
2814
  \************************************************************/
2797
- (__unused_webpack_module, exports, __webpack_require__) {
2798
-
2799
-
2815
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2816
+
2817
+ __webpack_require__.r(__webpack_exports__);
2818
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2819
+ /* harmony export */ Lang: () => (/* binding */ Lang)
2820
+ /* harmony export */ });
2821
+ /* harmony import */ var _Monad__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
2822
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
2800
2823
  /*!
2801
2824
  * Licensed to the Apache Software Foundation (ASF) under one or more
2802
2825
  * contributor license agreements. See the NOTICE file distributed with
@@ -2813,10 +2836,8 @@ function _global$() {
2813
2836
  * See the License for the specific language governing permissions and
2814
2837
  * limitations under the License.
2815
2838
  */
2816
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2817
- exports.Lang = void 0;
2818
- const Monad_1 = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
2819
- const Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
2839
+
2840
+
2820
2841
  /**
2821
2842
  * Lang helpers crossported from the apache myfaces project
2822
2843
  */
@@ -2843,10 +2864,10 @@ var Lang;
2843
2864
  function saveResolve(resolverProducer, defaultValue = null) {
2844
2865
  try {
2845
2866
  let result = resolverProducer();
2846
- return Monad_1.Optional.fromNullable(result !== null && result !== void 0 ? result : defaultValue);
2867
+ return _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(result !== null && result !== void 0 ? result : defaultValue);
2847
2868
  }
2848
2869
  catch (e) {
2849
- return Monad_1.Optional.absent;
2870
+ return _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.absent;
2850
2871
  }
2851
2872
  }
2852
2873
  Lang.saveResolve = saveResolve;
@@ -2859,10 +2880,10 @@ var Lang;
2859
2880
  function saveResolveLazy(resolverProducer, defaultValue = null) {
2860
2881
  try {
2861
2882
  let result = resolverProducer();
2862
- return Monad_1.Optional.fromNullable(result !== null && result !== void 0 ? result : defaultValue());
2883
+ return _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(result !== null && result !== void 0 ? result : defaultValue());
2863
2884
  }
2864
2885
  catch (e) {
2865
- return Monad_1.Optional.absent;
2886
+ return _Monad__WEBPACK_IMPORTED_MODULE_0__.Optional.absent;
2866
2887
  }
2867
2888
  }
2868
2889
  Lang.saveResolveLazy = saveResolveLazy;
@@ -2910,7 +2931,7 @@ var Lang;
2910
2931
  //special condition array delivered no offset no pack
2911
2932
  if ((obj) instanceof Array && !offset && !pack)
2912
2933
  return obj;
2913
- return new Es2019Array_1.Es2019Array(...pack.concat(Array.prototype.slice.call(obj, offset)));
2934
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_1__.Es2019Array(...pack.concat(Array.prototype.slice.call(obj, offset)));
2914
2935
  }
2915
2936
  Lang.objToArray = objToArray;
2916
2937
  /**
@@ -2977,7 +2998,7 @@ var Lang;
2977
2998
  return to;
2978
2999
  }
2979
3000
  Lang.objAssign = objAssign;
2980
- })(Lang || (exports.Lang = Lang = {}));
3001
+ })(Lang || (Lang = {}));
2981
3002
 
2982
3003
 
2983
3004
  /***/ },
@@ -2986,9 +3007,15 @@ var Lang;
2986
3007
  /*!*************************************************************!*\
2987
3008
  !*** ./node_modules/mona-dish/src/main/typescript/Monad.ts ***!
2988
3009
  \*************************************************************/
2989
- (__unused_webpack_module, exports, __webpack_require__) {
2990
-
2991
-
3010
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3011
+
3012
+ __webpack_require__.r(__webpack_exports__);
3013
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3014
+ /* harmony export */ Monad: () => (/* binding */ Monad),
3015
+ /* harmony export */ Optional: () => (/* binding */ Optional),
3016
+ /* harmony export */ ValueEmbedder: () => (/* binding */ ValueEmbedder)
3017
+ /* harmony export */ });
3018
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
2992
3019
  /*!
2993
3020
  * Licensed to the Apache Software Foundation (ASF) under one or more
2994
3021
  * contributor license agreements. See the NOTICE file distributed with
@@ -3005,9 +3032,7 @@ var Lang;
3005
3032
  * See the License for the specific language governing permissions and
3006
3033
  * limitations under the License.
3007
3034
  */
3008
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3009
- exports.ValueEmbedder = exports.Optional = exports.Monad = void 0;
3010
- const Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
3035
+
3011
3036
  /**
3012
3037
  * Implementation of a monad
3013
3038
  * (Side - effect free), no write allowed directly on the monads
@@ -3035,7 +3060,6 @@ class Monad {
3035
3060
  return mapped;
3036
3061
  }
3037
3062
  }
3038
- exports.Monad = Monad;
3039
3063
  /**
3040
3064
  * optional implementation, an optional is basically an implementation of a Monad with additional syntactic
3041
3065
  * sugar on top
@@ -3243,9 +3267,9 @@ class Optional extends Monad {
3243
3267
  }
3244
3268
  }
3245
3269
  preprocessKeys(...keys) {
3246
- return new Es2019Array_1.Es2019Array(...keys)
3270
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...keys)
3247
3271
  .flatMap(item => {
3248
- return new Es2019Array_1.Es2019Array(...item.split(/]\s*\[/gi))
3272
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...item.split(/]\s*\[/gi))
3249
3273
  .map(item => {
3250
3274
  item = item.replace(/^\s+|\s+$/g, "");
3251
3275
  if (item.indexOf("[") == -1 && item.indexOf("]") != -1) {
@@ -3259,7 +3283,6 @@ class Optional extends Monad {
3259
3283
  });
3260
3284
  }
3261
3285
  }
3262
- exports.Optional = Optional;
3263
3286
  /*default value for absent*/
3264
3287
  Optional.absent = Optional.fromNullable(null);
3265
3288
  // --------------------- From here onwards we break out the side effect free limits ------------
@@ -3314,7 +3337,6 @@ class ValueEmbedder extends Optional {
3314
3337
  return new ValueEmbedder(value, valueKey);
3315
3338
  }
3316
3339
  }
3317
- exports.ValueEmbedder = ValueEmbedder;
3318
3340
  /*default value for absent*/
3319
3341
  ValueEmbedder.absent = ValueEmbedder.fromNullable(null);
3320
3342
 
@@ -3325,9 +3347,30 @@ ValueEmbedder.absent = ValueEmbedder.fromNullable(null);
3325
3347
  /*!*************************************************************************!*\
3326
3348
  !*** ./node_modules/mona-dish/src/main/typescript/SourcesCollectors.ts ***!
3327
3349
  \*************************************************************************/
3328
- (__unused_webpack_module, exports, __webpack_require__) {
3329
-
3330
-
3350
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3351
+
3352
+ __webpack_require__.r(__webpack_exports__);
3353
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3354
+ /* harmony export */ ArrayAssocArrayCollector: () => (/* binding */ ArrayAssocArrayCollector),
3355
+ /* harmony export */ ArrayCollector: () => (/* binding */ ArrayCollector),
3356
+ /* harmony export */ ArrayStreamDataSource: () => (/* binding */ ArrayStreamDataSource),
3357
+ /* harmony export */ AssocArrayCollector: () => (/* binding */ AssocArrayCollector),
3358
+ /* harmony export */ ConfigCollector: () => (/* binding */ ConfigCollector),
3359
+ /* harmony export */ FilteredStreamDatasource: () => (/* binding */ FilteredStreamDatasource),
3360
+ /* harmony export */ FormDataCollector: () => (/* binding */ FormDataCollector),
3361
+ /* harmony export */ ITERATION_STATUS: () => (/* binding */ ITERATION_STATUS),
3362
+ /* harmony export */ InverseArrayCollector: () => (/* binding */ InverseArrayCollector),
3363
+ /* harmony export */ MappedStreamDataSource: () => (/* binding */ MappedStreamDataSource),
3364
+ /* harmony export */ MultiStreamDatasource: () => (/* binding */ MultiStreamDatasource),
3365
+ /* harmony export */ QueryFormDataCollector: () => (/* binding */ QueryFormDataCollector),
3366
+ /* harmony export */ QueryFormStringCollector: () => (/* binding */ QueryFormStringCollector),
3367
+ /* harmony export */ Run: () => (/* binding */ Run),
3368
+ /* harmony export */ SequenceDataSource: () => (/* binding */ SequenceDataSource),
3369
+ /* harmony export */ ShimArrayCollector: () => (/* binding */ ShimArrayCollector),
3370
+ /* harmony export */ calculateSkips: () => (/* binding */ calculateSkips)
3371
+ /* harmony export */ });
3372
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
3373
+ /* harmony import */ var _Config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Config */ "./node_modules/mona-dish/src/main/typescript/Config.ts");
3331
3374
  /*!
3332
3375
  * Licensed to the Apache Software Foundation (ASF) under one or more
3333
3376
  * contributor license agreements. See the NOTICE file distributed with
@@ -3344,11 +3387,8 @@ ValueEmbedder.absent = ValueEmbedder.fromNullable(null);
3344
3387
  * See the License for the specific language governing permissions and
3345
3388
  * limitations under the License.
3346
3389
  */
3347
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3348
- exports.ArrayCollector = exports.QueryFormStringCollector = exports.QueryFormDataCollector = exports.FormDataCollector = exports.ConfigCollector = exports.AssocArrayCollector = exports.Run = exports.ArrayAssocArrayCollector = exports.InverseArrayCollector = exports.ShimArrayCollector = exports.MappedStreamDataSource = exports.FilteredStreamDatasource = exports.ArrayStreamDataSource = exports.SequenceDataSource = exports.MultiStreamDatasource = exports.ITERATION_STATUS = void 0;
3349
- exports.calculateSkips = calculateSkips;
3350
- const Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
3351
- const Config_1 = __webpack_require__(/*! ./Config */ "./node_modules/mona-dish/src/main/typescript/Config.ts");
3390
+
3391
+
3352
3392
  /**
3353
3393
  * special status of the datasource location pointer
3354
3394
  * if an access, outside - of the possible data boundaries is happening
@@ -3364,7 +3404,7 @@ var ITERATION_STATUS;
3364
3404
  (function (ITERATION_STATUS) {
3365
3405
  ITERATION_STATUS["EO_STRM"] = "__EO_STRM__";
3366
3406
  ITERATION_STATUS["BEF_STRM"] = "___BEF_STRM__";
3367
- })(ITERATION_STATUS || (exports.ITERATION_STATUS = ITERATION_STATUS = {}));
3407
+ })(ITERATION_STATUS || (ITERATION_STATUS = {}));
3368
3408
  function calculateSkips(next_strm) {
3369
3409
  let pos = 1;
3370
3410
  while (next_strm.lookAhead(pos) != ITERATION_STATUS.EO_STRM) {
@@ -3442,7 +3482,6 @@ class MultiStreamDatasource {
3442
3482
  }
3443
3483
  }
3444
3484
  }
3445
- exports.MultiStreamDatasource = MultiStreamDatasource;
3446
3485
  /**
3447
3486
  * defines a sequence of numbers for our stream input
3448
3487
  */
@@ -3475,7 +3514,6 @@ class SequenceDataSource {
3475
3514
  return (this.start - 1) ? ITERATION_STATUS.BEF_STRM : this.value;
3476
3515
  }
3477
3516
  }
3478
- exports.SequenceDataSource = SequenceDataSource;
3479
3517
  /**
3480
3518
  * implementation of a datasource on top of a standard array
3481
3519
  */
@@ -3505,7 +3543,6 @@ class ArrayStreamDataSource {
3505
3543
  return this.value[Math.max(0, this.dataPos)];
3506
3544
  }
3507
3545
  }
3508
- exports.ArrayStreamDataSource = ArrayStreamDataSource;
3509
3546
  /**
3510
3547
  * an intermediate data source which prefilters
3511
3548
  * incoming stream data
@@ -3595,7 +3632,6 @@ class FilteredStreamDatasource {
3595
3632
  this.inputDataSource.reset();
3596
3633
  }
3597
3634
  }
3598
- exports.FilteredStreamDatasource = FilteredStreamDatasource;
3599
3635
  /**
3600
3636
  * an intermediate datasource which maps the items from
3601
3637
  * one into another
@@ -3622,14 +3658,13 @@ class MappedStreamDataSource {
3622
3658
  return (lookAheadVal == ITERATION_STATUS.EO_STRM) ? lookAheadVal : this.mapFunc(lookAheadVal);
3623
3659
  }
3624
3660
  }
3625
- exports.MappedStreamDataSource = MappedStreamDataSource;
3626
3661
  /**
3627
3662
  * For the time being we only need one collector
3628
3663
  * a collector which collects a stream back into arrays
3629
3664
  */
3630
3665
  class ShimArrayCollector {
3631
3666
  constructor() {
3632
- this.data = new Es2019Array_1.Es2019Array(...[]);
3667
+ this.data = new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...[]);
3633
3668
  }
3634
3669
  collect(element) {
3635
3670
  this.data.push(element);
@@ -3638,7 +3673,6 @@ class ShimArrayCollector {
3638
3673
  return this.data;
3639
3674
  }
3640
3675
  }
3641
- exports.ShimArrayCollector = ShimArrayCollector;
3642
3676
  /**
3643
3677
  * collects the values as inverse array
3644
3678
  */
@@ -3653,7 +3687,6 @@ class InverseArrayCollector {
3653
3687
  return this.data;
3654
3688
  }
3655
3689
  }
3656
- exports.InverseArrayCollector = InverseArrayCollector;
3657
3690
  /**
3658
3691
  * collects an tuple array stream into an assoc array with elements being collected into arrays
3659
3692
  *
@@ -3669,7 +3702,6 @@ class ArrayAssocArrayCollector {
3669
3702
  this.finalValue[key].push((_d = element === null || element === void 0 ? void 0 : element[1]) !== null && _d !== void 0 ? _d : true);
3670
3703
  }
3671
3704
  }
3672
- exports.ArrayAssocArrayCollector = ArrayAssocArrayCollector;
3673
3705
  /**
3674
3706
  * dummy collector which just triggers a run
3675
3707
  * on lazy streams without collecting anything
@@ -3681,7 +3713,6 @@ class Run {
3681
3713
  return null;
3682
3714
  }
3683
3715
  }
3684
- exports.Run = Run;
3685
3716
  /**
3686
3717
  * collects an assoc stream back to an assoc array
3687
3718
  */
@@ -3694,19 +3725,17 @@ class AssocArrayCollector {
3694
3725
  this.finalValue[(_a = element[0]) !== null && _a !== void 0 ? _a : element] = (_b = element[1]) !== null && _b !== void 0 ? _b : true;
3695
3726
  }
3696
3727
  }
3697
- exports.AssocArrayCollector = AssocArrayCollector;
3698
3728
  /**
3699
3729
  * A Config collector similar to the FormDFata Collector
3700
3730
  */
3701
3731
  class ConfigCollector {
3702
3732
  constructor() {
3703
- this.finalValue = new Config_1.Config({});
3733
+ this.finalValue = new _Config__WEBPACK_IMPORTED_MODULE_1__.Config({});
3704
3734
  }
3705
3735
  collect(element) {
3706
3736
  this.finalValue.append(element.key).value = element.value;
3707
3737
  }
3708
3738
  }
3709
- exports.ConfigCollector = ConfigCollector;
3710
3739
  /**
3711
3740
  * Form data collector for key value pair streams
3712
3741
  */
@@ -3718,7 +3747,6 @@ class FormDataCollector {
3718
3747
  this.finalValue.append(element.key, element.value);
3719
3748
  }
3720
3749
  }
3721
- exports.FormDataCollector = FormDataCollector;
3722
3750
  /**
3723
3751
  * Form data collector for DomQuery streams
3724
3752
  */
@@ -3733,7 +3761,6 @@ class QueryFormDataCollector {
3733
3761
  }
3734
3762
  }
3735
3763
  }
3736
- exports.QueryFormDataCollector = QueryFormDataCollector;
3737
3764
  /**
3738
3765
  * Encoded String collector from dom query streams
3739
3766
  */
@@ -3748,12 +3775,11 @@ class QueryFormStringCollector {
3748
3775
  }
3749
3776
  }
3750
3777
  get finalValue() {
3751
- return new Es2019Array_1.Es2019Array(...this.formData)
3778
+ return new _Es2019Array__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...this.formData)
3752
3779
  .map(keyVal => keyVal.join("="))
3753
3780
  .reduce((item1, item2) => [item1, item2].join("&"));
3754
3781
  }
3755
3782
  }
3756
- exports.QueryFormStringCollector = QueryFormStringCollector;
3757
3783
  /**
3758
3784
  * For the time being we only need one collector
3759
3785
  * a collector which collects a stream back into arrays
@@ -3769,7 +3795,6 @@ class ArrayCollector {
3769
3795
  return this.data;
3770
3796
  }
3771
3797
  }
3772
- exports.ArrayCollector = ArrayCollector;
3773
3798
 
3774
3799
 
3775
3800
  /***/ },
@@ -3778,9 +3803,16 @@ exports.ArrayCollector = ArrayCollector;
3778
3803
  /*!****************************************************************!*\
3779
3804
  !*** ./node_modules/mona-dish/src/main/typescript/XmlQuery.ts ***!
3780
3805
  \****************************************************************/
3781
- (__unused_webpack_module, exports, __webpack_require__) {
3782
-
3783
-
3806
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3807
+
3808
+ __webpack_require__.r(__webpack_exports__);
3809
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3810
+ /* harmony export */ XMLQuery: () => (/* binding */ XMLQuery),
3811
+ /* harmony export */ XQ: () => (/* binding */ XQ)
3812
+ /* harmony export */ });
3813
+ /* harmony import */ var _Lang__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
3814
+ /* harmony import */ var _DomQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DomQuery */ "./node_modules/mona-dish/src/main/typescript/DomQuery.ts");
3815
+ /* harmony import */ var _Global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Global */ "./node_modules/mona-dish/src/main/typescript/Global.ts");
3784
3816
  /*!
3785
3817
  * Licensed to the Apache Software Foundation (ASF) under one or more
3786
3818
  * contributor license agreements. See the NOTICE file distributed with
@@ -3797,16 +3829,14 @@ exports.ArrayCollector = ArrayCollector;
3797
3829
  * See the License for the specific language governing permissions and
3798
3830
  * limitations under the License.
3799
3831
  */
3800
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3801
- exports.XQ = exports.XMLQuery = void 0;
3802
- const Lang_1 = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
3803
- const DomQuery_1 = __webpack_require__(/*! ./DomQuery */ "./node_modules/mona-dish/src/main/typescript/DomQuery.ts");
3804
- const isString = Lang_1.Lang.isString;
3805
- const Global_1 = __webpack_require__(/*! ./Global */ "./node_modules/mona-dish/src/main/typescript/Global.ts");
3832
+
3833
+
3834
+ const isString = _Lang__WEBPACK_IMPORTED_MODULE_0__.Lang.isString;
3835
+
3806
3836
  /**
3807
3837
  * xml query as specialized case for DomQuery
3808
3838
  */
3809
- class XMLQuery extends DomQuery_1.DomQuery {
3839
+ class XMLQuery extends _DomQuery__WEBPACK_IMPORTED_MODULE_1__.DomQuery {
3810
3840
  constructor(rootNode, docType = "text/xml") {
3811
3841
  let createIe11DomQueryShim = () => {
3812
3842
  //at the time if wroting ie11 is the only relevant browser
@@ -3824,7 +3854,7 @@ class XMLQuery extends DomQuery_1.DomQuery {
3824
3854
  if (xml == null) {
3825
3855
  return null;
3826
3856
  }
3827
- let domParser = Lang_1.Lang.saveResolveLazy(() => new ((0, Global_1._global$)()).DOMParser(), () => createIe11DomQueryShim()).value;
3857
+ let domParser = _Lang__WEBPACK_IMPORTED_MODULE_0__.Lang.saveResolveLazy(() => new ((0,_Global__WEBPACK_IMPORTED_MODULE_2__._global$)()).DOMParser(), () => createIe11DomQueryShim()).value;
3828
3858
  return domParser.parseFromString(xml, docType);
3829
3859
  };
3830
3860
  if (isString(rootNode)) {
@@ -3841,7 +3871,7 @@ class XMLQuery extends DomQuery_1.DomQuery {
3841
3871
  let ret = [];
3842
3872
  this.eachElem((node) => {
3843
3873
  var _a, _b, _c, _d;
3844
- let serialized = (_d = (_c = (_b = (_a = ((0, Global_1._global$)())) === null || _a === void 0 ? void 0 : _a.XMLSerializer) === null || _b === void 0 ? void 0 : _b.constructor()) === null || _c === void 0 ? void 0 : _c.serializeToString(node)) !== null && _d !== void 0 ? _d : node === null || node === void 0 ? void 0 : node.xml;
3874
+ let serialized = (_d = (_c = (_b = (_a = ((0,_Global__WEBPACK_IMPORTED_MODULE_2__._global$)())) === null || _a === void 0 ? void 0 : _a.XMLSerializer) === null || _b === void 0 ? void 0 : _b.constructor()) === null || _c === void 0 ? void 0 : _c.serializeToString(node)) !== null && _d !== void 0 ? _d : node === null || node === void 0 ? void 0 : node.xml;
3845
3875
  if (!!serialized) {
3846
3876
  ret.push(serialized);
3847
3877
  }
@@ -3861,8 +3891,7 @@ class XMLQuery extends DomQuery_1.DomQuery {
3861
3891
  return new XMLQuery(txt, parseType);
3862
3892
  }
3863
3893
  }
3864
- exports.XMLQuery = XMLQuery;
3865
- exports.XQ = XMLQuery;
3894
+ const XQ = XMLQuery;
3866
3895
 
3867
3896
 
3868
3897
  /***/ },
@@ -3871,44 +3900,40 @@ exports.XQ = XMLQuery;
3871
3900
  /*!******************************************************************!*\
3872
3901
  !*** ./node_modules/mona-dish/src/main/typescript/index_core.ts ***!
3873
3902
  \******************************************************************/
3874
- (__unused_webpack_module, exports, __webpack_require__) {
3875
-
3876
-
3877
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3878
- if (k2 === undefined) k2 = k;
3879
- var desc = Object.getOwnPropertyDescriptor(m, k);
3880
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3881
- desc = { enumerable: true, get: function() { return m[k]; } };
3882
- }
3883
- Object.defineProperty(o, k2, desc);
3884
- }) : (function(o, m, k, k2) {
3885
- if (k2 === undefined) k2 = k;
3886
- o[k2] = m[k];
3887
- }));
3888
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
3889
- Object.defineProperty(o, "default", { enumerable: true, value: v });
3890
- }) : function(o, v) {
3891
- o["default"] = v;
3892
- });
3893
- var __importStar = (this && this.__importStar) || (function () {
3894
- var ownKeys = function(o) {
3895
- ownKeys = Object.getOwnPropertyNames || function (o) {
3896
- var ar = [];
3897
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
3898
- return ar;
3899
- };
3900
- return ownKeys(o);
3901
- };
3902
- return function (mod) {
3903
- if (mod && mod.__esModule) return mod;
3904
- var result = {};
3905
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
3906
- __setModuleDefault(result, mod);
3907
- return result;
3908
- };
3909
- })();
3910
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3911
- exports._Es2019Array = exports.Es2019Array = exports.Assoc = exports.CONFIG_VALUE = exports.CONFIG_ANY = exports.Config = exports.shallowMerge = exports.simpleShallowMerge = exports.append = exports.assignIf = exports.assign = exports.XQ = exports.XMLQuery = exports.ValueEmbedder = exports.Optional = exports.Monad = exports.Lang = exports.DQ$ = exports.DQ = exports.DomQueryCollector = exports.ElementAttribute = exports.DomQuery = void 0;
3903
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3904
+
3905
+ __webpack_require__.r(__webpack_exports__);
3906
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3907
+ /* harmony export */ Assoc: () => (/* reexport module object */ _AssocArray__WEBPACK_IMPORTED_MODULE_4__),
3908
+ /* harmony export */ CONFIG_ANY: () => (/* reexport safe */ _Config__WEBPACK_IMPORTED_MODULE_5__.CONFIG_ANY),
3909
+ /* harmony export */ CONFIG_VALUE: () => (/* reexport safe */ _Config__WEBPACK_IMPORTED_MODULE_5__.CONFIG_VALUE),
3910
+ /* harmony export */ Config: () => (/* reexport safe */ _Config__WEBPACK_IMPORTED_MODULE_5__.Config),
3911
+ /* harmony export */ DQ: () => (/* reexport safe */ _DomQuery__WEBPACK_IMPORTED_MODULE_0__.DQ),
3912
+ /* harmony export */ DQ$: () => (/* reexport safe */ _DomQuery__WEBPACK_IMPORTED_MODULE_0__.DQ$),
3913
+ /* harmony export */ DomQuery: () => (/* reexport safe */ _DomQuery__WEBPACK_IMPORTED_MODULE_0__.DomQuery),
3914
+ /* harmony export */ DomQueryCollector: () => (/* reexport safe */ _DomQuery__WEBPACK_IMPORTED_MODULE_0__.DomQueryCollector),
3915
+ /* harmony export */ ElementAttribute: () => (/* reexport safe */ _DomQuery__WEBPACK_IMPORTED_MODULE_0__.ElementAttribute),
3916
+ /* harmony export */ Es2019Array: () => (/* reexport safe */ _Es2019Array__WEBPACK_IMPORTED_MODULE_6__.Es2019Array),
3917
+ /* harmony export */ Lang: () => (/* reexport safe */ _Lang__WEBPACK_IMPORTED_MODULE_1__.Lang),
3918
+ /* harmony export */ Monad: () => (/* reexport safe */ _Monad__WEBPACK_IMPORTED_MODULE_2__.Monad),
3919
+ /* harmony export */ Optional: () => (/* reexport safe */ _Monad__WEBPACK_IMPORTED_MODULE_2__.Optional),
3920
+ /* harmony export */ ValueEmbedder: () => (/* reexport safe */ _Monad__WEBPACK_IMPORTED_MODULE_2__.ValueEmbedder),
3921
+ /* harmony export */ XMLQuery: () => (/* reexport safe */ _XmlQuery__WEBPACK_IMPORTED_MODULE_3__.XMLQuery),
3922
+ /* harmony export */ XQ: () => (/* reexport safe */ _XmlQuery__WEBPACK_IMPORTED_MODULE_3__.XQ),
3923
+ /* harmony export */ _Es2019Array: () => (/* reexport safe */ _Es2019Array__WEBPACK_IMPORTED_MODULE_6__._Es2019Array),
3924
+ /* harmony export */ append: () => (/* reexport safe */ _AssocArray__WEBPACK_IMPORTED_MODULE_4__.append),
3925
+ /* harmony export */ assign: () => (/* reexport safe */ _AssocArray__WEBPACK_IMPORTED_MODULE_4__.assign),
3926
+ /* harmony export */ assignIf: () => (/* reexport safe */ _AssocArray__WEBPACK_IMPORTED_MODULE_4__.assignIf),
3927
+ /* harmony export */ shallowMerge: () => (/* reexport safe */ _AssocArray__WEBPACK_IMPORTED_MODULE_4__.shallowMerge),
3928
+ /* harmony export */ simpleShallowMerge: () => (/* reexport safe */ _AssocArray__WEBPACK_IMPORTED_MODULE_4__.simpleShallowMerge)
3929
+ /* harmony export */ });
3930
+ /* harmony import */ var _DomQuery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DomQuery */ "./node_modules/mona-dish/src/main/typescript/DomQuery.ts");
3931
+ /* harmony import */ var _Lang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
3932
+ /* harmony import */ var _Monad__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
3933
+ /* harmony import */ var _XmlQuery__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./XmlQuery */ "./node_modules/mona-dish/src/main/typescript/XmlQuery.ts");
3934
+ /* harmony import */ var _AssocArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts");
3935
+ /* harmony import */ var _Config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Config */ "./node_modules/mona-dish/src/main/typescript/Config.ts");
3936
+ /* harmony import */ var _Es2019Array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
3912
3937
  /*!
3913
3938
  * Licensed to the Apache Software Foundation (ASF) under one
3914
3939
  * or more contributor license agreements. See the NOTICE file
@@ -3927,37 +3952,16 @@ exports._Es2019Array = exports.Es2019Array = exports.Assoc = exports.CONFIG_VALU
3927
3952
  * specific language governing permissions and limitations
3928
3953
  * under the License.
3929
3954
  */
3930
- var DomQuery_1 = __webpack_require__(/*! ./DomQuery */ "./node_modules/mona-dish/src/main/typescript/DomQuery.ts");
3931
- Object.defineProperty(exports, "DomQuery", ({ enumerable: true, get: function () { return DomQuery_1.DomQuery; } }));
3932
- Object.defineProperty(exports, "ElementAttribute", ({ enumerable: true, get: function () { return DomQuery_1.ElementAttribute; } }));
3933
- Object.defineProperty(exports, "DomQueryCollector", ({ enumerable: true, get: function () { return DomQuery_1.DomQueryCollector; } }));
3934
- Object.defineProperty(exports, "DQ", ({ enumerable: true, get: function () { return DomQuery_1.DQ; } }));
3935
- Object.defineProperty(exports, "DQ$", ({ enumerable: true, get: function () { return DomQuery_1.DQ$; } }));
3936
- var Lang_1 = __webpack_require__(/*! ./Lang */ "./node_modules/mona-dish/src/main/typescript/Lang.ts");
3937
- Object.defineProperty(exports, "Lang", ({ enumerable: true, get: function () { return Lang_1.Lang; } }));
3938
- var Monad_1 = __webpack_require__(/*! ./Monad */ "./node_modules/mona-dish/src/main/typescript/Monad.ts");
3939
- Object.defineProperty(exports, "Monad", ({ enumerable: true, get: function () { return Monad_1.Monad; } }));
3940
- Object.defineProperty(exports, "Optional", ({ enumerable: true, get: function () { return Monad_1.Optional; } }));
3941
- Object.defineProperty(exports, "ValueEmbedder", ({ enumerable: true, get: function () { return Monad_1.ValueEmbedder; } }));
3942
- var XmlQuery_1 = __webpack_require__(/*! ./XmlQuery */ "./node_modules/mona-dish/src/main/typescript/XmlQuery.ts");
3943
- Object.defineProperty(exports, "XMLQuery", ({ enumerable: true, get: function () { return XmlQuery_1.XMLQuery; } }));
3944
- Object.defineProperty(exports, "XQ", ({ enumerable: true, get: function () { return XmlQuery_1.XQ; } }));
3945
- var AssocArray_1 = __webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts");
3946
- Object.defineProperty(exports, "assign", ({ enumerable: true, get: function () { return AssocArray_1.assign; } }));
3947
- Object.defineProperty(exports, "assignIf", ({ enumerable: true, get: function () { return AssocArray_1.assignIf; } }));
3948
- Object.defineProperty(exports, "append", ({ enumerable: true, get: function () { return AssocArray_1.append; } }));
3949
- Object.defineProperty(exports, "simpleShallowMerge", ({ enumerable: true, get: function () { return AssocArray_1.simpleShallowMerge; } }));
3950
- Object.defineProperty(exports, "shallowMerge", ({ enumerable: true, get: function () { return AssocArray_1.shallowMerge; } }));
3951
- var Config_1 = __webpack_require__(/*! ./Config */ "./node_modules/mona-dish/src/main/typescript/Config.ts");
3952
- Object.defineProperty(exports, "Config", ({ enumerable: true, get: function () { return Config_1.Config; } }));
3953
- var Config_2 = __webpack_require__(/*! ./Config */ "./node_modules/mona-dish/src/main/typescript/Config.ts");
3954
- Object.defineProperty(exports, "CONFIG_ANY", ({ enumerable: true, get: function () { return Config_2.CONFIG_ANY; } }));
3955
- var Config_3 = __webpack_require__(/*! ./Config */ "./node_modules/mona-dish/src/main/typescript/Config.ts");
3956
- Object.defineProperty(exports, "CONFIG_VALUE", ({ enumerable: true, get: function () { return Config_3.CONFIG_VALUE; } }));
3957
- exports.Assoc = __importStar(__webpack_require__(/*! ./AssocArray */ "./node_modules/mona-dish/src/main/typescript/AssocArray.ts"));
3958
- var Es2019Array_1 = __webpack_require__(/*! ./Es2019Array */ "./node_modules/mona-dish/src/main/typescript/Es2019Array.ts");
3959
- Object.defineProperty(exports, "Es2019Array", ({ enumerable: true, get: function () { return Es2019Array_1.Es2019Array; } }));
3960
- Object.defineProperty(exports, "_Es2019Array", ({ enumerable: true, get: function () { return Es2019Array_1._Es2019Array; } }));
3955
+
3956
+
3957
+
3958
+
3959
+
3960
+
3961
+
3962
+
3963
+
3964
+
3961
3965
 
3962
3966
 
3963
3967
  /***/ },
@@ -3966,11 +3970,17 @@ Object.defineProperty(exports, "_Es2019Array", ({ enumerable: true, get: functio
3966
3970
  /*!*****************************************!*\
3967
3971
  !*** ./src/main/typescript/api/_api.ts ***!
3968
3972
  \*****************************************/
3969
- (__unused_webpack_module, exports, __webpack_require__) {
3970
-
3971
-
3972
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3973
- exports.myfaces = exports.faces = void 0;
3973
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3974
+
3975
+ __webpack_require__.r(__webpack_exports__);
3976
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3977
+ /* harmony export */ faces: () => (/* binding */ faces),
3978
+ /* harmony export */ myfaces: () => (/* binding */ myfaces)
3979
+ /* harmony export */ });
3980
+ /* harmony import */ var _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../impl/AjaxImpl */ "./src/main/typescript/impl/AjaxImpl.ts");
3981
+ /* harmony import */ var _impl_PushImpl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../impl/PushImpl */ "./src/main/typescript/impl/PushImpl.ts");
3982
+ /* harmony import */ var _myfaces_OamSubmit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../myfaces/OamSubmit */ "./src/main/typescript/myfaces/OamSubmit.ts");
3983
+ /* harmony import */ var _impl_core_Const__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../impl/core/Const */ "./src/main/typescript/impl/core/Const.ts");
3974
3984
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
3975
3985
  * contributor license agreements. See the NOTICE file distributed with
3976
3986
  * this work for additional information regarding copyright ownership.
@@ -3986,10 +3996,10 @@ exports.myfaces = exports.faces = void 0;
3986
3996
  * See the License for the specific language governing permissions and
3987
3997
  * limitations under the License.
3988
3998
  */
3989
- const AjaxImpl_1 = __webpack_require__(/*! ../impl/AjaxImpl */ "./src/main/typescript/impl/AjaxImpl.ts");
3990
- const PushImpl_1 = __webpack_require__(/*! ../impl/PushImpl */ "./src/main/typescript/impl/PushImpl.ts");
3991
- const OamSubmit_1 = __webpack_require__(/*! ../myfaces/OamSubmit */ "./src/main/typescript/myfaces/OamSubmit.ts");
3992
- const Const_1 = __webpack_require__(/*! ../impl/core/Const */ "./src/main/typescript/impl/core/Const.ts");
3999
+
4000
+
4001
+
4002
+
3993
4003
  //we use modules to get a proper jsdoc and static/map structure in the calls
3994
4004
  //as per spec requirement
3995
4005
  var faces;
@@ -4039,7 +4049,7 @@ var faces;
4039
4049
  * <i>jakarta.faces.application.Application.getProjectStage()</i>
4040
4050
  */
4041
4051
  function getProjectStage() {
4042
- return AjaxImpl_1.Implementation.getProjectStage();
4052
+ return _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.getProjectStage();
4043
4053
  }
4044
4054
  faces.getProjectStage = getProjectStage;
4045
4055
  /**
@@ -4051,7 +4061,7 @@ var faces;
4051
4061
  * https://issues.apache.org/jira/browse/MYFACES-2110
4052
4062
  */
4053
4063
  function getViewState(formElement) {
4054
- return AjaxImpl_1.Implementation.getViewState(formElement);
4064
+ return _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.getViewState(formElement);
4055
4065
  }
4056
4066
  faces.getViewState = getViewState;
4057
4067
  /**
@@ -4060,7 +4070,7 @@ var faces;
4060
4070
  * @param rootNode
4061
4071
  */
4062
4072
  function getClientWindow(rootNode) {
4063
- return AjaxImpl_1.Implementation.getClientWindow(rootNode);
4073
+ return _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.getClientWindow(rootNode);
4064
4074
  }
4065
4075
  faces.getClientWindow = getClientWindow;
4066
4076
  // private helper functions
@@ -4069,7 +4079,7 @@ var faces;
4069
4079
  //We now enable standalone mode, the separator char was not mapped we make a fallback to 2.3 behavior
4070
4080
  //the idea is that the separator char is provided from the underlying container, but if not then we
4071
4081
  //will perform a fallback (aka 2.3 has the url fallback behavior)
4072
- return (sep.match(/\#\{facesContext.namingContainerSeparatorChar\}/gi)) ? AjaxImpl_1.Implementation.getSeparatorChar() : sep;
4082
+ return (sep.match(/\#\{facesContext.namingContainerSeparatorChar\}/gi)) ? _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.getSeparatorChar() : sep;
4073
4083
  }
4074
4084
  let ajax;
4075
4085
  (function (ajax) {
@@ -4090,7 +4100,7 @@ var faces;
4090
4100
  * @param {Map} options : map of options being pushed into the ajax cycle
4091
4101
  */
4092
4102
  function request(element, event, options) {
4093
- AjaxImpl_1.Implementation.request(element, event, options);
4103
+ _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.request(element, event, options);
4094
4104
  }
4095
4105
  ajax.request = request;
4096
4106
  /**
@@ -4100,7 +4110,7 @@ var faces;
4100
4110
  *
4101
4111
  */
4102
4112
  function response(request, context) {
4103
- AjaxImpl_1.Implementation.response(request, context);
4113
+ _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.response(request, context);
4104
4114
  }
4105
4115
  ajax.response = response;
4106
4116
  /**
@@ -4121,7 +4131,7 @@ var faces;
4121
4131
  * @param errorFunc error handler must be of the format <i>function errorListener(&lt;errorData&gt;)</i>
4122
4132
  */
4123
4133
  function addOnError(errorFunc) {
4124
- AjaxImpl_1.Implementation.addOnError(errorFunc);
4134
+ _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.addOnError(errorFunc);
4125
4135
  }
4126
4136
  ajax.addOnError = addOnError;
4127
4137
  /**
@@ -4131,7 +4141,7 @@ var faces;
4131
4141
  * @param eventFunc event must be of the format <i>function eventListener(&lt;eventData&gt;)</i>
4132
4142
  */
4133
4143
  function addOnEvent(eventFunc) {
4134
- AjaxImpl_1.Implementation.addOnEvent(eventFunc);
4144
+ _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.addOnEvent(eventFunc);
4135
4145
  }
4136
4146
  ajax.addOnEvent = addOnEvent;
4137
4147
  })(ajax = faces.ajax || (faces.ajax = {}));
@@ -4149,7 +4159,7 @@ var faces;
4149
4159
  * @returns true if the chain has succeeded false otherwise
4150
4160
  */
4151
4161
  function chain(source, event, ...funcs) {
4152
- return AjaxImpl_1.Implementation.chain(source, event, ...funcs);
4162
+ return _impl_AjaxImpl__WEBPACK_IMPORTED_MODULE_0__.Implementation.chain(source, event, ...funcs);
4153
4163
  }
4154
4164
  util.chain = chain;
4155
4165
  })(util = faces.util || (faces.util = {}));
@@ -4167,7 +4177,7 @@ var faces;
4167
4177
  * @param autoConnect Whether or not to automatically open the socket. Defaults to <code>false</code>.
4168
4178
  */
4169
4179
  function init(socketClientId, url, channel, onopen, onmessage, onerror, onclose, behaviors, autoConnect) {
4170
- PushImpl_1.PushImpl.init(socketClientId, url, channel, onopen, onmessage, onerror, onclose, behaviors, autoConnect);
4180
+ _impl_PushImpl__WEBPACK_IMPORTED_MODULE_1__.PushImpl.init(socketClientId, url, channel, onopen, onmessage, onerror, onclose, behaviors, autoConnect);
4171
4181
  }
4172
4182
  push.init = init;
4173
4183
  /**
@@ -4176,7 +4186,7 @@ var faces;
4176
4186
  * @throws Error is thrown, if the channel is unknown.
4177
4187
  */
4178
4188
  function open(socketClientId) {
4179
- PushImpl_1.PushImpl.open(socketClientId);
4189
+ _impl_PushImpl__WEBPACK_IMPORTED_MODULE_1__.PushImpl.open(socketClientId);
4180
4190
  }
4181
4191
  push.open = open;
4182
4192
  /**
@@ -4185,11 +4195,11 @@ var faces;
4185
4195
  * @throws Error is thrown, if the channel is unknown.
4186
4196
  */
4187
4197
  function close(socketClientId) {
4188
- PushImpl_1.PushImpl.close(socketClientId);
4198
+ _impl_PushImpl__WEBPACK_IMPORTED_MODULE_1__.PushImpl.close(socketClientId);
4189
4199
  }
4190
4200
  push.close = close;
4191
4201
  })(push = faces.push || (faces.push = {}));
4192
- })(faces || (exports.faces = faces = {}));
4202
+ })(faces || (faces = {}));
4193
4203
  var myfaces;
4194
4204
  (function (myfaces) {
4195
4205
  /**
@@ -4214,14 +4224,14 @@ var myfaces;
4214
4224
  userParameters = {};
4215
4225
  }
4216
4226
  if (eventName) {
4217
- options[Const_1.CTX_OPTIONS_PARAMS] = (_a = options === null || options === void 0 ? void 0 : options[Const_1.CTX_OPTIONS_PARAMS]) !== null && _a !== void 0 ? _a : {};
4218
- options[Const_1.CTX_OPTIONS_PARAMS][(0, Const_1.$nsp)(Const_1.P_BEHAVIOR_EVENT)] = eventName;
4227
+ options[_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.CTX_OPTIONS_PARAMS] = (_a = options === null || options === void 0 ? void 0 : options[_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.CTX_OPTIONS_PARAMS]) !== null && _a !== void 0 ? _a : {};
4228
+ options[_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.CTX_OPTIONS_PARAMS][(0,_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.$nsp)(_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.P_BEHAVIOR_EVENT)] = eventName;
4219
4229
  }
4220
4230
  if (execute) {
4221
- options[Const_1.CTX_OPTIONS_EXECUTE] = execute;
4231
+ options[_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.CTX_OPTIONS_EXECUTE] = execute;
4222
4232
  }
4223
4233
  if (render) {
4224
- options[Const_1.CTX_PARAM_RENDER] = render;
4234
+ options[_impl_core_Const__WEBPACK_IMPORTED_MODULE_3__.CTX_PARAM_RENDER] = render;
4225
4235
  }
4226
4236
  //we push the users parameters in
4227
4237
  if (!options["params"]) {
@@ -4285,8 +4295,8 @@ var myfaces;
4285
4295
  /**
4286
4296
  * legacy oam functions
4287
4297
  */
4288
- myfaces.oam = OamSubmit_1.oam;
4289
- })(myfaces || (exports.myfaces = myfaces = {}));
4298
+ myfaces.oam = _myfaces_OamSubmit__WEBPACK_IMPORTED_MODULE_2__.oam;
4299
+ })(myfaces || (myfaces = {}));
4290
4300
 
4291
4301
 
4292
4302
  /***/ },
@@ -4295,9 +4305,23 @@ var myfaces;
4295
4305
  /*!**********************************************!*\
4296
4306
  !*** ./src/main/typescript/impl/AjaxImpl.ts ***!
4297
4307
  \**********************************************/
4298
- (__unused_webpack_module, exports, __webpack_require__) {
4299
-
4300
-
4308
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4309
+
4310
+ __webpack_require__.r(__webpack_exports__);
4311
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4312
+ /* harmony export */ Implementation: () => (/* binding */ Implementation)
4313
+ /* harmony export */ });
4314
+ /* harmony import */ var _xhrCore_Response__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./xhrCore/Response */ "./src/main/typescript/impl/xhrCore/Response.ts");
4315
+ /* harmony import */ var _xhrCore_XhrRequest__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhrCore/XhrRequest */ "./src/main/typescript/impl/xhrCore/XhrRequest.ts");
4316
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
4317
+ /* harmony import */ var _util_Assertions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
4318
+ /* harmony import */ var _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
4319
+ /* harmony import */ var _xhrCore_ErrorData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./xhrCore/ErrorData */ "./src/main/typescript/impl/xhrCore/ErrorData.ts");
4320
+ /* harmony import */ var _util_Lang__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
4321
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./core/Const */ "./src/main/typescript/impl/core/Const.ts");
4322
+ /* harmony import */ var _xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./xhrCore/RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
4323
+ /* harmony import */ var _util_FileUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./util/FileUtils */ "./src/main/typescript/impl/util/FileUtils.ts");
4324
+ /* harmony import */ var _util_XhrQueueController__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./util/XhrQueueController */ "./src/main/typescript/impl/util/XhrQueueController.ts");
4301
4325
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
4302
4326
  * contributor license agreements. See the NOTICE file distributed with
4303
4327
  * this work for additional information regarding copyright ownership.
@@ -4313,19 +4337,17 @@ var myfaces;
4313
4337
  * See the License for the specific language governing permissions and
4314
4338
  * limitations under the License.
4315
4339
  */
4316
- Object.defineProperty(exports, "__esModule", ({ value: true }));
4317
- exports.Implementation = void 0;
4318
- const Response_1 = __webpack_require__(/*! ./xhrCore/Response */ "./src/main/typescript/impl/xhrCore/Response.ts");
4319
- const XhrRequest_1 = __webpack_require__(/*! ./xhrCore/XhrRequest */ "./src/main/typescript/impl/xhrCore/XhrRequest.ts");
4320
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
4321
- const Assertions_1 = __webpack_require__(/*! ./util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
4322
- const ExtDomQuery_1 = __webpack_require__(/*! ./util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
4323
- const ErrorData_1 = __webpack_require__(/*! ./xhrCore/ErrorData */ "./src/main/typescript/impl/xhrCore/ErrorData.ts");
4324
- const Lang_1 = __webpack_require__(/*! ./util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
4325
- const Const_1 = __webpack_require__(/*! ./core/Const */ "./src/main/typescript/impl/core/Const.ts");
4326
- const RequestDataResolver_1 = __webpack_require__(/*! ./xhrCore/RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
4327
- const FileUtils_1 = __webpack_require__(/*! ./util/FileUtils */ "./src/main/typescript/impl/util/FileUtils.ts");
4328
- const XhrQueueController_1 = __webpack_require__(/*! ./util/XhrQueueController */ "./src/main/typescript/impl/util/XhrQueueController.ts");
4340
+
4341
+
4342
+
4343
+
4344
+
4345
+
4346
+
4347
+
4348
+
4349
+
4350
+
4329
4351
  /*
4330
4352
  * allowed project stages
4331
4353
  */
@@ -4405,12 +4427,12 @@ var Implementation;
4405
4427
  Note the inclusion of this library uses a reduced build which only includes the part of it, which we really use
4406
4428
 
4407
4429
  */
4408
- const trim = mona_dish_1.Lang.trim;
4409
- const getMessage = Lang_1.ExtLang.getMessage;
4410
- const getGlobalConfig = Lang_1.ExtLang.getGlobalConfig;
4411
- var assert = Assertions_1.Assertions.assert;
4412
- const ofAssoc = Lang_1.ExtLang.ofAssoc;
4413
- const collectAssoc = Lang_1.ExtLang.collectAssoc;
4430
+ const trim = mona_dish__WEBPACK_IMPORTED_MODULE_2__.Lang.trim;
4431
+ const getMessage = _util_Lang__WEBPACK_IMPORTED_MODULE_6__.ExtLang.getMessage;
4432
+ const getGlobalConfig = _util_Lang__WEBPACK_IMPORTED_MODULE_6__.ExtLang.getGlobalConfig;
4433
+ var assert = _util_Assertions__WEBPACK_IMPORTED_MODULE_3__.Assertions.assert;
4434
+ const ofAssoc = _util_Lang__WEBPACK_IMPORTED_MODULE_6__.ExtLang.ofAssoc;
4435
+ const collectAssoc = _util_Lang__WEBPACK_IMPORTED_MODULE_6__.ExtLang.collectAssoc;
4414
4436
  let projectStage = null;
4415
4437
  let separator = null;
4416
4438
  let eventQueue = [];
@@ -4425,7 +4447,7 @@ var Implementation;
4425
4447
  */
4426
4448
  function getSeparatorChar() {
4427
4449
  var _a, _b;
4428
- return (_b = (_a = resolveGlobalConfig()) === null || _a === void 0 ? void 0 : _a.separator) !== null && _b !== void 0 ? _b : (separator !== null && separator !== void 0 ? separator : (separator = ExtDomQuery_1.ExtDomQuery.searchJsfJsFor(/separator=([^&;]*)/).orElse(":").value));
4450
+ return (_b = (_a = resolveGlobalConfig()) === null || _a === void 0 ? void 0 : _a.separator) !== null && _b !== void 0 ? _b : (separator !== null && separator !== void 0 ? separator : (separator = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtDomQuery.searchJsfJsFor(/separator=([^&;]*)/).orElse(":").value));
4429
4451
  }
4430
4452
  Implementation.getSeparatorChar = getSeparatorChar;
4431
4453
  /**
@@ -4456,7 +4478,7 @@ var Implementation;
4456
4478
  */
4457
4479
  function resolveProjectStateFromURL() {
4458
4480
  /* run through all script tags and try to find the one that includes faces.js */
4459
- const foundStage = ExtDomQuery_1.ExtDomQuery.searchJsfJsFor(/stage=([^&;]*)/).value;
4481
+ const foundStage = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtDomQuery.searchJsfJsFor(/stage=([^&;]*)/).value;
4460
4482
  return (foundStage in ProjectStages) ? foundStage : ProjectStages.Production; // MYFACES-4572: default is production
4461
4483
  }
4462
4484
  Implementation.resolveProjectStateFromURL = resolveProjectStateFromURL;
@@ -4503,10 +4525,10 @@ var Implementation;
4503
4525
  */
4504
4526
  function request(el, event, opts) {
4505
4527
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
4506
- const { options, elem, elementId, windowId, isResetValues } = (0, RequestDataResolver_1.resolveDefaults)(event, opts, el);
4507
- const requestCtx = new ExtDomQuery_1.ExtConfig({});
4508
- const internalCtx = new ExtDomQuery_1.ExtConfig({});
4509
- Assertions_1.Assertions.assertRequestIntegrity(options, elem);
4528
+ const { options, elem, elementId, windowId, isResetValues } = (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveDefaults)(event, opts, el);
4529
+ const requestCtx = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtConfig({});
4530
+ const internalCtx = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtConfig({});
4531
+ _util_Assertions__WEBPACK_IMPORTED_MODULE_3__.Assertions.assertRequestIntegrity(options, elem);
4510
4532
  /**
4511
4533
  * fetch the parent form
4512
4534
  *
@@ -4514,49 +4536,49 @@ var Implementation;
4514
4536
  * so that people can use dummy forms and work
4515
4537
  * with detached objects
4516
4538
  */
4517
- const form = (0, RequestDataResolver_1.resolveForm)(elem, event);
4518
- const viewId = (0, RequestDataResolver_1.resolveViewId)(form);
4539
+ const form = (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveForm)(elem, event);
4540
+ const viewId = (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveViewId)(form);
4519
4541
  const formId = form.id.value;
4520
- const delay = (0, RequestDataResolver_1.resolveDelay)(options);
4521
- const timeout = (0, RequestDataResolver_1.resolveTimeout)(options);
4522
- requestCtx.assignIf(!!windowId, Const_1.P_WINDOW_ID).value = windowId;
4542
+ const delay = (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveDelay)(options);
4543
+ const timeout = (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveTimeout)(options);
4544
+ requestCtx.assignIf(!!windowId, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_WINDOW_ID).value = windowId;
4523
4545
  // old non - spec behavior will be removed after it is clear whether the removal breaks any code
4524
- requestCtx.assign(Const_1.CTX_PARAM_REQ_PASS_THR).value = extractLegacyParams(options.value);
4546
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR).value = extractLegacyParams(options.value);
4525
4547
  // spec conform behavior, all passthrough params must be under "passthrough
4526
- const params = remapArrayToAssocArr(options.getIf(Const_1.CTX_OPTIONS_PARAMS).orElse({}).value);
4548
+ const params = remapArrayToAssocArr(options.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_OPTIONS_PARAMS).orElse({}).value);
4527
4549
  //we turn off the remapping for the param merge, because we do not want to have
4528
4550
  //any namespacing to be remapped
4529
- let ctxPassthrough = requestCtx.getIf(Const_1.CTX_PARAM_REQ_PASS_THR);
4551
+ let ctxPassthrough = requestCtx.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR);
4530
4552
  ctxPassthrough.$nspEnabled = false;
4531
- ctxPassthrough.shallowMerge(new mona_dish_1.Config(params), true);
4553
+ ctxPassthrough.shallowMerge(new mona_dish__WEBPACK_IMPORTED_MODULE_2__.Config(params), true);
4532
4554
  //now we turn it on again
4533
4555
  ctxPassthrough.$nspEnabled = true;
4534
- requestCtx.assignIf(!!event, Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_EVT).value = event === null || event === void 0 ? void 0 : event.type;
4556
+ requestCtx.assignIf(!!event, _core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_EVT).value = event === null || event === void 0 ? void 0 : event.type;
4535
4557
  /**
4536
4558
  * ajax pass through context with the source
4537
4559
  * onresolved Event and onerror Event
4538
4560
  */
4539
- requestCtx.assign(Const_1.SOURCE).value = elementId;
4540
- requestCtx.assign(Const_1.VIEW_ID).value = viewId;
4561
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.SOURCE).value = elementId;
4562
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.VIEW_ID).value = viewId;
4541
4563
  /**
4542
4564
  * on resolvedEvent and onError...
4543
4565
  * those values will be traversed later on
4544
4566
  * also into the response context
4545
4567
  */
4546
- requestCtx.assign(Const_1.ON_EVENT).value = (_a = options.value) === null || _a === void 0 ? void 0 : _a.onevent;
4547
- requestCtx.assign(Const_1.ON_ERROR).value = (_b = options.value) === null || _b === void 0 ? void 0 : _b.onerror;
4568
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_EVENT).value = (_a = options.value) === null || _a === void 0 ? void 0 : _a.onevent;
4569
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_ERROR).value = (_b = options.value) === null || _b === void 0 ? void 0 : _b.onerror;
4548
4570
  /**
4549
4571
  * Fetch the myfaces config params
4550
4572
  */
4551
- requestCtx.assign(Const_1.MYFACES).value = (_c = options.value) === null || _c === void 0 ? void 0 : _c.myfaces;
4573
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.MYFACES).value = (_c = options.value) === null || _c === void 0 ? void 0 : _c.myfaces;
4552
4574
  /**
4553
4575
  * binding contract the jakarta.faces.source must be set
4554
4576
  */
4555
- requestCtx.assign(Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_AJAX_SOURCE).value = elementId;
4577
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_AJAX_SOURCE).value = elementId;
4556
4578
  /**
4557
4579
  * jakarta.faces.partial.ajax must be set to true
4558
4580
  */
4559
- requestCtx.assign(Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_AJAX).value = true;
4581
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_AJAX).value = true;
4560
4582
  /**
4561
4583
  * if resetValues is set to true
4562
4584
  * then we have to set jakarta.faces.resetValues as well
@@ -4564,31 +4586,31 @@ var Implementation;
4564
4586
  * the value has to be explicitly true, according to
4565
4587
  * the specs jsdoc
4566
4588
  */
4567
- requestCtx.assignIf(isResetValues, Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_RESET_VALUES).value = true;
4589
+ requestCtx.assignIf(isResetValues, _core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_RESET_VALUES).value = true;
4568
4590
  // additional meta information to speed things up, note internal non jsf
4569
4591
  // pass through options are stored under _mfInternal in the context
4570
- internalCtx.assign(Const_1.CTX_PARAM_SRC_FRM_ID).value = formId;
4592
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_SRC_FRM_ID).value = formId;
4571
4593
  /**
4572
4594
  * special myfaces only internal parameter for onProgress until we have an official api
4573
4595
  * that way we can track the progress of a xhr request (useful for file uploads)
4574
4596
  */
4575
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_PREINIT).value = (_f = (_e = (_d = options.value) === null || _d === void 0 ? void 0 : _d.myfaces) === null || _e === void 0 ? void 0 : _e.upload) === null || _f === void 0 ? void 0 : _f.preinit;
4576
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_LOADSTART).value = (_j = (_h = (_g = options.value) === null || _g === void 0 ? void 0 : _g.myfaces) === null || _h === void 0 ? void 0 : _h.upload) === null || _j === void 0 ? void 0 : _j.loadstart;
4577
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_ON_PROGRESS).value = (_m = (_l = (_k = options.value) === null || _k === void 0 ? void 0 : _k.myfaces) === null || _l === void 0 ? void 0 : _l.upload) === null || _m === void 0 ? void 0 : _m.progress;
4578
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_LOADEND).value = (_q = (_p = (_o = options.value) === null || _o === void 0 ? void 0 : _o.myfaces) === null || _p === void 0 ? void 0 : _p.upload) === null || _q === void 0 ? void 0 : _q.loadend;
4579
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_LOAD).value = (_t = (_s = (_r = options.value) === null || _r === void 0 ? void 0 : _r.myfaces) === null || _s === void 0 ? void 0 : _s.upload) === null || _t === void 0 ? void 0 : _t.load;
4580
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_ERROR).value = (_w = (_v = (_u = options.value) === null || _u === void 0 ? void 0 : _u.myfaces) === null || _v === void 0 ? void 0 : _v.upload) === null || _w === void 0 ? void 0 : _w.error;
4581
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_ABORT).value = (_z = (_y = (_x = options.value) === null || _x === void 0 ? void 0 : _x.myfaces) === null || _y === void 0 ? void 0 : _y.upload) === null || _z === void 0 ? void 0 : _z.abort;
4582
- internalCtx.assign(Const_1.CTX_PARAM_UPLOAD_TIMEOUT).value = (_2 = (_1 = (_0 = options.value) === null || _0 === void 0 ? void 0 : _0.myfaces) === null || _1 === void 0 ? void 0 : _1.upload) === null || _2 === void 0 ? void 0 : _2.timeout;
4597
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_PREINIT).value = (_f = (_e = (_d = options.value) === null || _d === void 0 ? void 0 : _d.myfaces) === null || _e === void 0 ? void 0 : _e.upload) === null || _f === void 0 ? void 0 : _f.preinit;
4598
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_LOADSTART).value = (_j = (_h = (_g = options.value) === null || _g === void 0 ? void 0 : _g.myfaces) === null || _h === void 0 ? void 0 : _h.upload) === null || _j === void 0 ? void 0 : _j.loadstart;
4599
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_ON_PROGRESS).value = (_m = (_l = (_k = options.value) === null || _k === void 0 ? void 0 : _k.myfaces) === null || _l === void 0 ? void 0 : _l.upload) === null || _m === void 0 ? void 0 : _m.progress;
4600
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_LOADEND).value = (_q = (_p = (_o = options.value) === null || _o === void 0 ? void 0 : _o.myfaces) === null || _p === void 0 ? void 0 : _p.upload) === null || _q === void 0 ? void 0 : _q.loadend;
4601
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_LOAD).value = (_t = (_s = (_r = options.value) === null || _r === void 0 ? void 0 : _r.myfaces) === null || _s === void 0 ? void 0 : _s.upload) === null || _t === void 0 ? void 0 : _t.load;
4602
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_ERROR).value = (_w = (_v = (_u = options.value) === null || _u === void 0 ? void 0 : _u.myfaces) === null || _v === void 0 ? void 0 : _v.upload) === null || _w === void 0 ? void 0 : _w.error;
4603
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_ABORT).value = (_z = (_y = (_x = options.value) === null || _x === void 0 ? void 0 : _x.myfaces) === null || _y === void 0 ? void 0 : _y.upload) === null || _z === void 0 ? void 0 : _z.abort;
4604
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_TIMEOUT).value = (_2 = (_1 = (_0 = options.value) === null || _0 === void 0 ? void 0 : _0.myfaces) === null || _1 === void 0 ? void 0 : _1.upload) === null || _2 === void 0 ? void 0 : _2.timeout;
4583
4605
  // mojarra compatibility, mojarra is sending the form id as well
4584
4606
  // this is not documented behavior but can be determined by running
4585
4607
  // mojarra under blackbox conditions.
4586
4608
  // I assume it does the same as our formId_submit=1 so leaving it out
4587
4609
  // won't hurt but for the sake of compatibility we are going to add it
4588
- requestCtx.assign(Const_1.CTX_PARAM_REQ_PASS_THR, formId).value = formId;
4589
- internalCtx.assign(Const_1.CTX_PARAM_SRC_CTL_ID).value = elementId;
4610
+ requestCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, formId).value = formId;
4611
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_SRC_CTL_ID).value = elementId;
4590
4612
  // reintroduction of PPS as per myfaces 2.3 (myfaces.pps = true, only the executes are submitted)
4591
- internalCtx.assign(Const_1.CTX_PARAM_PPS).value = (_4 = (_3 = extractMyFacesParams(options.value)) === null || _3 === void 0 ? void 0 : _3[Const_1.MYFACES_OPTION_PPS]) !== null && _4 !== void 0 ? _4 : false;
4613
+ internalCtx.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_PPS).value = (_4 = (_3 = extractMyFacesParams(options.value)) === null || _3 === void 0 ? void 0 : _3[_core_Const__WEBPACK_IMPORTED_MODULE_7__.MYFACES_OPTION_PPS]) !== null && _4 !== void 0 ? _4 : false;
4592
4614
  assignClientWindowId(form, requestCtx);
4593
4615
  assignExecute(options, requestCtx, form, elementId);
4594
4616
  assignRender(options, requestCtx, form, elementId);
@@ -4605,7 +4627,7 @@ var Implementation;
4605
4627
  * @param {Object} context - the ajax context
4606
4628
  */
4607
4629
  function response(request, context) {
4608
- Response_1.Response.processResponse(request, context);
4630
+ _xhrCore_Response__WEBPACK_IMPORTED_MODULE_0__.Response.processResponse(request, context);
4609
4631
  }
4610
4632
  Implementation.response = response;
4611
4633
  /**
@@ -4659,7 +4681,7 @@ var Implementation;
4659
4681
  //this is a valid approach
4660
4682
  try {
4661
4683
  if (threshold == "ERROR") {
4662
- let errorData = ErrorData_1.ErrorData.fromClient(exception);
4684
+ let errorData = _xhrCore_ErrorData__WEBPACK_IMPORTED_MODULE_5__.ErrorData.fromClient(exception);
4663
4685
  sendError(errorData);
4664
4686
  }
4665
4687
  }
@@ -4706,14 +4728,14 @@ var Implementation;
4706
4728
  /*
4707
4729
  * the search root for the dom element search
4708
4730
  */
4709
- let searchRoot = ((node) ? mona_dish_1.DQ.byId(node) : (0, mona_dish_1.DQ$)("form"));
4731
+ let searchRoot = ((node) ? mona_dish__WEBPACK_IMPORTED_MODULE_2__.DQ.byId(node) : (0,mona_dish__WEBPACK_IMPORTED_MODULE_2__.DQ$)("form"));
4710
4732
  let inputs = searchRoot
4711
- .filterSelector(`input[name='${(0, Const_1.$nsp)(Const_1.P_CLIENT_WINDOW)}']`)
4712
- .orElseLazy(() => searchRoot.querySelectorAll(`input[name='${(0, Const_1.$nsp)(Const_1.P_CLIENT_WINDOW)}']`));
4733
+ .filterSelector(`input[name='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_7__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_7__.P_CLIENT_WINDOW)}']`)
4734
+ .orElseLazy(() => searchRoot.querySelectorAll(`input[name='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_7__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_7__.P_CLIENT_WINDOW)}']`));
4713
4735
  /*
4714
4736
  * lazy helper to fetch the window id from the included faces.js
4715
4737
  */
4716
- let fetchWindowIdFromJSFJS = () => ExtDomQuery_1.ExtDomQuery.searchJsfJsFor(/jfwid=([^&;]*)/).orElse(null);
4738
+ let fetchWindowIdFromJSFJS = () => _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtDomQuery.searchJsfJsFor(/jfwid=([^&;]*)/).orElse(null);
4717
4739
  /*
4718
4740
  * fetch window id from the url
4719
4741
  */
@@ -4723,8 +4745,8 @@ var Implementation;
4723
4745
  const results = regex.exec(href);
4724
4746
  //initial trial over the url and a regexp
4725
4747
  if (results != null)
4726
- return mona_dish_1.Optional.fromNullable(results[1]);
4727
- return mona_dish_1.Optional.fromNullable(null);
4748
+ return mona_dish__WEBPACK_IMPORTED_MODULE_2__.Optional.fromNullable(results[1]);
4749
+ return mona_dish__WEBPACK_IMPORTED_MODULE_2__.Optional.fromNullable(null);
4728
4750
  };
4729
4751
  /*
4730
4752
  * functional double check based on stream reduction
@@ -4776,17 +4798,17 @@ var Implementation;
4776
4798
  * type-check assert!, we opt for strong typing here
4777
4799
  * because it makes it easier to detect bugs
4778
4800
  */
4779
- let element = mona_dish_1.DQ.byId(form, true);
4780
- if (!element.isTag(Const_1.HTML_TAG_FORM)) {
4801
+ let element = mona_dish__WEBPACK_IMPORTED_MODULE_2__.DQ.byId(form, true);
4802
+ if (!element.isTag(_core_Const__WEBPACK_IMPORTED_MODULE_7__.HTML_TAG_FORM)) {
4781
4803
  throw new Error(getMessage("ERR_VIEWSTATE"));
4782
4804
  }
4783
4805
  // determine the naming container scenario
4784
- const dummyContext = new mona_dish_1.Config({});
4785
- assignNamingContainerData(dummyContext, mona_dish_1.DQ.byId(form));
4806
+ const dummyContext = new mona_dish__WEBPACK_IMPORTED_MODULE_2__.Config({});
4807
+ assignNamingContainerData(dummyContext, mona_dish__WEBPACK_IMPORTED_MODULE_2__.DQ.byId(form));
4786
4808
  // fetch all non file input form elements
4787
4809
  let formElements = element.deepElements.encodeFormElement();
4788
4810
  // encode them! (file inputs are handled differently and are not part of the viewstate)
4789
- return (0, FileUtils_1.encodeFormData)(new ExtDomQuery_1.ExtConfig(formElements), (0, RequestDataResolver_1.resoveNamingContainerMapper)(dummyContext));
4811
+ return (0,_util_FileUtils__WEBPACK_IMPORTED_MODULE_9__.encodeFormData)(new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtConfig(formElements), (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resoveNamingContainerMapper)(dummyContext));
4790
4812
  }
4791
4813
  Implementation.getViewState = getViewState;
4792
4814
  /**
@@ -4801,8 +4823,8 @@ var Implementation;
4801
4823
  * adds a new request to our queue for further processing
4802
4824
  */
4803
4825
  addRequestToQueue: function (elem, form, reqCtx, respPassThr, delay = 0, timeout = 0) {
4804
- Implementation.requestQueue = Implementation.requestQueue !== null && Implementation.requestQueue !== void 0 ? Implementation.requestQueue : new XhrQueueController_1.XhrQueueController();
4805
- Implementation.requestQueue.enqueue(new XhrRequest_1.XhrRequest(reqCtx, respPassThr, timeout), delay);
4826
+ Implementation.requestQueue = Implementation.requestQueue !== null && Implementation.requestQueue !== void 0 ? Implementation.requestQueue : new _util_XhrQueueController__WEBPACK_IMPORTED_MODULE_10__.XhrQueueController();
4827
+ Implementation.requestQueue.enqueue(new _xhrCore_XhrRequest__WEBPACK_IMPORTED_MODULE_1__.XhrRequest(reqCtx, respPassThr, timeout), delay);
4806
4828
  }
4807
4829
  };
4808
4830
  //----------------------------------------------- Methods ---------------------------------------------------------------------
@@ -4819,8 +4841,8 @@ var Implementation;
4819
4841
  * @param sourceElementId the executing element triggering the faces.ajax.request (id of it)
4820
4842
  */
4821
4843
  function assignRender(requestOptions, targetContext, issuingForm, sourceElementId) {
4822
- if (requestOptions.getIf(Const_1.CTX_PARAM_RENDER).isPresent()) {
4823
- remapDefaultConstants(targetContext.getIf(Const_1.CTX_PARAM_REQ_PASS_THR).get({}), Const_1.P_RENDER, requestOptions.getIf(Const_1.CTX_PARAM_RENDER).value, issuingForm, sourceElementId, targetContext.getIf(Const_1.VIEW_ID).value);
4844
+ if (requestOptions.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_RENDER).isPresent()) {
4845
+ remapDefaultConstants(targetContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR).get({}), _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_RENDER, requestOptions.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_RENDER).value, issuingForm, sourceElementId, targetContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.VIEW_ID).value);
4824
4846
  }
4825
4847
  }
4826
4848
  /**
@@ -4836,16 +4858,16 @@ var Implementation;
4836
4858
  * @param sourceElementId the executing element triggering the faces.ajax.request (id of it)
4837
4859
  */
4838
4860
  function assignExecute(requestOptions, targetContext, issuingForm, sourceElementId) {
4839
- if (requestOptions.getIf(Const_1.CTX_OPTIONS_EXECUTE).isPresent()) {
4861
+ if (requestOptions.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_OPTIONS_EXECUTE).isPresent()) {
4840
4862
  /*the options must be a blank delimited list of strings*/
4841
4863
  /*compliance with Mojarra which automatically adds @this to an execute
4842
4864
  * the spec rev 2.0a however states, if none is issued nothing at all should be sent down
4843
4865
  */
4844
- requestOptions.assign(Const_1.CTX_OPTIONS_EXECUTE).value = [requestOptions.getIf(Const_1.CTX_OPTIONS_EXECUTE).value, Const_1.IDENT_THIS].join(" ");
4845
- remapDefaultConstants(targetContext.getIf(Const_1.CTX_PARAM_REQ_PASS_THR).get({}), Const_1.P_EXECUTE, requestOptions.getIf(Const_1.CTX_OPTIONS_EXECUTE).value, issuingForm, sourceElementId, targetContext.getIf(Const_1.VIEW_ID).value);
4866
+ requestOptions.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_OPTIONS_EXECUTE).value = [requestOptions.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_OPTIONS_EXECUTE).value, _core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_THIS].join(" ");
4867
+ remapDefaultConstants(targetContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR).get({}), _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_EXECUTE, requestOptions.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_OPTIONS_EXECUTE).value, issuingForm, sourceElementId, targetContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.VIEW_ID).value);
4846
4868
  }
4847
4869
  else {
4848
- targetContext.assign(Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_EXECUTE).value = sourceElementId;
4870
+ targetContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_EXECUTE).value = sourceElementId;
4849
4871
  }
4850
4872
  }
4851
4873
  /**
@@ -4855,9 +4877,9 @@ var Implementation;
4855
4877
  * @param targetContext the target context receiving the value
4856
4878
  */
4857
4879
  function assignClientWindowId(form, targetContext) {
4858
- let clientWindow = (0, Const_1.$faces)().getClientWindow(form.getAsElem(0).value);
4880
+ let clientWindow = (0,_core_Const__WEBPACK_IMPORTED_MODULE_7__.$faces)().getClientWindow(form.getAsElem(0).value);
4859
4881
  if (clientWindow) {
4860
- targetContext.assign(Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_CLIENT_WINDOW).value = clientWindow;
4882
+ targetContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_CLIENT_WINDOW).value = clientWindow;
4861
4883
  }
4862
4884
  }
4863
4885
  /**
@@ -4869,10 +4891,10 @@ var Implementation;
4869
4891
  * @private
4870
4892
  */
4871
4893
  function assignNamingContainerData(internalContext, formElement) {
4872
- const viewRootId = (0, RequestDataResolver_1.resolveViewRootId)(formElement);
4894
+ const viewRootId = (0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveViewRootId)(formElement);
4873
4895
  if (!!viewRootId) {
4874
- internalContext.assign(Const_1.NAMED_VIEWROOT).value = true;
4875
- internalContext.assign(Const_1.NAMING_CONTAINER_ID).value = viewRootId;
4896
+ internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.NAMED_VIEWROOT).value = true;
4897
+ internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.NAMING_CONTAINER_ID).value = viewRootId;
4876
4898
  }
4877
4899
  }
4878
4900
  /**
@@ -4894,7 +4916,7 @@ var Implementation;
4894
4916
  */
4895
4917
  function remapDefaultConstants(targetConfig, targetKey, userValues, issuingForm, issuingElementId, rootNamingContainerId = "") {
4896
4918
  //a cleaner implementation of the transform list method
4897
- const SEP = (0, Const_1.$faces)().separatorchar;
4919
+ const SEP = (0,_core_Const__WEBPACK_IMPORTED_MODULE_7__.$faces)().separatorchar;
4898
4920
  let iterValues = (userValues) ? trim(userValues).split(/\s+/gi) : [];
4899
4921
  let ret = [];
4900
4922
  let processed = {};
@@ -4908,11 +4930,11 @@ var Implementation;
4908
4930
  const remapNamingContainer = componentIdToTransform => {
4909
4931
  // pattern :<anything> must be prepended by viewRoot if there is one,
4910
4932
  // otherwise we are in a not namespaced then only the id has to match
4911
- const rootNamingContainerPrefix = (rootNamingContainerId.length) ? rootNamingContainerId + SEP : Const_1.EMPTY_STR;
4933
+ const rootNamingContainerPrefix = (rootNamingContainerId.length) ? rootNamingContainerId + SEP : _core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_STR;
4912
4934
  let formClientId = issuingForm.id.value;
4913
4935
  // nearest parent naming container relative to the form
4914
4936
  const nearestNamingContainer = formClientId.substring(0, formClientId.lastIndexOf(SEP));
4915
- const nearestNamingContainerPrefix = (nearestNamingContainer.length) ? nearestNamingContainer + SEP : Const_1.EMPTY_STR;
4937
+ const nearestNamingContainerPrefix = (nearestNamingContainer.length) ? nearestNamingContainer + SEP : _core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_STR;
4916
4938
  // Absolute search expressions, always start with SEP or the name of the root naming container
4917
4939
  const hasLeadingSep = componentIdToTransform.indexOf(SEP) === 0;
4918
4940
  const isAbsolutSearchExpr = hasLeadingSep || (rootNamingContainerId.length
@@ -4923,7 +4945,7 @@ var Implementation;
4923
4945
  componentIdToTransform = hasLeadingSep ? componentIdToTransform.substring(1) : componentIdToTransform;
4924
4946
  componentIdToTransform = componentIdToTransform.indexOf(rootNamingContainerPrefix) == 0 ? componentIdToTransform.substring(rootNamingContainerPrefix.length) : componentIdToTransform;
4925
4947
  //now we prepend either the prefix or "" from the cut-off string to get the final result
4926
- finalIdentifier = [rootNamingContainerPrefix, componentIdToTransform].join(Const_1.EMPTY_STR);
4948
+ finalIdentifier = [rootNamingContainerPrefix, componentIdToTransform].join(_core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_STR);
4927
4949
  }
4928
4950
  else { //relative search according to the javadoc
4929
4951
  //we cut off the root naming container id from the form
@@ -4933,14 +4955,14 @@ var Implementation;
4933
4955
  //If prependId = true, the outer form id must be present in the id if same form
4934
4956
  let hasPrependId = componentIdToTransform.indexOf(formClientId) == 0;
4935
4957
  finalIdentifier = hasPrependId ?
4936
- [rootNamingContainerPrefix, componentIdToTransform].join(Const_1.EMPTY_STR) :
4937
- [nearestNamingContainerPrefix, componentIdToTransform].join(Const_1.EMPTY_STR);
4958
+ [rootNamingContainerPrefix, componentIdToTransform].join(_core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_STR) :
4959
+ [nearestNamingContainerPrefix, componentIdToTransform].join(_core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_STR);
4938
4960
  }
4939
4961
  // We need to double-check because we have scenarios where we have a naming container
4940
4962
  // and no prepend (aka tobago testcase "must handle ':' in IDs properly", scenario 3,
4941
4963
  // in this case we return the component id, and be happy
4942
4964
  // we can roll a dom check here
4943
- return mona_dish_1.DQ.byId(finalIdentifier).isPresent() ? finalIdentifier : componentIdToTransform;
4965
+ return mona_dish__WEBPACK_IMPORTED_MODULE_2__.DQ.byId(finalIdentifier).isPresent() ? finalIdentifier : componentIdToTransform;
4944
4966
  };
4945
4967
  // in this case we do not use lazy stream because it won´t bring any code reduction
4946
4968
  // or speedup
@@ -4951,19 +4973,19 @@ var Implementation;
4951
4973
  }
4952
4974
  switch (iterValues[cnt]) {
4953
4975
  //@none no values should be sent
4954
- case Const_1.IDENT_NONE:
4976
+ case _core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_NONE:
4955
4977
  return targetConfig.delete(targetKey);
4956
4978
  //@all is a pass through case according to the spec
4957
- case Const_1.IDENT_ALL:
4958
- targetConfig.assign(targetKey).value = Const_1.IDENT_ALL;
4979
+ case _core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_ALL:
4980
+ targetConfig.assign(targetKey).value = _core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_ALL;
4959
4981
  return targetConfig;
4960
4982
  //@form pushes the issuing form id into our list
4961
- case Const_1.IDENT_FORM:
4983
+ case _core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_FORM:
4962
4984
  ret.push(remapNamingContainer(issuingForm.id.value));
4963
4985
  processed[issuingForm.id.value] = true;
4964
4986
  break;
4965
4987
  //@this is replaced with the current issuing element id
4966
- case Const_1.IDENT_THIS:
4988
+ case _core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_THIS:
4967
4989
  if (!(issuingElementId in processed)) {
4968
4990
  ret.push(remapNamingContainer(issuingElementId));
4969
4991
  processed[issuingElementId] = true;
@@ -5007,7 +5029,7 @@ var Implementation;
5007
5029
  //to filter
5008
5030
  return (_a = ofAssoc(mappedOpts)
5009
5031
  .filter((item => (item[0] == "myfaces")))
5010
- .reduce(collectAssoc, {})) === null || _a === void 0 ? void 0 : _a[Const_1.MYFACES];
5032
+ .reduce(collectAssoc, {})) === null || _a === void 0 ? void 0 : _a[_core_Const__WEBPACK_IMPORTED_MODULE_7__.MYFACES];
5011
5033
  }
5012
5034
  function remapArrayToAssocArr(arrayedParams) {
5013
5035
  if (Array.isArray(arrayedParams)) {
@@ -5017,7 +5039,7 @@ var Implementation;
5017
5039
  }
5018
5040
  function resolveGlobalConfig() {
5019
5041
  var _a, _b;
5020
- return (_b = (_a = window === null || window === void 0 ? void 0 : window[Const_1.MYFACES]) === null || _a === void 0 ? void 0 : _a.config) !== null && _b !== void 0 ? _b : {};
5042
+ return (_b = (_a = window === null || window === void 0 ? void 0 : window[_core_Const__WEBPACK_IMPORTED_MODULE_7__.MYFACES]) === null || _a === void 0 ? void 0 : _a.config) !== null && _b !== void 0 ? _b : {};
5021
5043
  }
5022
5044
  /**
5023
5045
  * Private helper to execute a function or code fragment
@@ -5043,7 +5065,7 @@ var Implementation;
5043
5065
  return new Function("event", sourceCode).call(source, event) !== false;
5044
5066
  }
5045
5067
  }
5046
- })(Implementation || (exports.Implementation = Implementation = {}));
5068
+ })(Implementation || (Implementation = {}));
5047
5069
 
5048
5070
 
5049
5071
  /***/ },
@@ -5052,9 +5074,14 @@ var Implementation;
5052
5074
  /*!**********************************************!*\
5053
5075
  !*** ./src/main/typescript/impl/PushImpl.ts ***!
5054
5076
  \**********************************************/
5055
- (__unused_webpack_module, exports, __webpack_require__) {
5056
-
5057
-
5077
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5078
+
5079
+ __webpack_require__.r(__webpack_exports__);
5080
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5081
+ /* harmony export */ PushImpl: () => (/* binding */ PushImpl)
5082
+ /* harmony export */ });
5083
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Const */ "./src/main/typescript/impl/core/Const.ts");
5084
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
5058
5085
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5059
5086
  * contributor license agreements. See the NOTICE file distributed with
5060
5087
  * this work for additional information regarding copyright ownership.
@@ -5070,13 +5097,11 @@ var Implementation;
5070
5097
  * See the License for the specific language governing permissions and
5071
5098
  * limitations under the License.
5072
5099
  */
5073
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5074
- exports.PushImpl = void 0;
5075
5100
  /**
5076
5101
  * Typescript port of the faces\.push part in the myfaces implementation
5077
5102
  */
5078
- const Const_1 = __webpack_require__(/*! ./core/Const */ "./src/main/typescript/impl/core/Const.ts");
5079
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
5103
+
5104
+
5080
5105
  /**
5081
5106
  * Implementation class for the push functionality
5082
5107
  */
@@ -5084,7 +5109,7 @@ var PushImpl;
5084
5109
  (function (PushImpl) {
5085
5110
  // @deprecated because we can assume at least for the newer versions
5086
5111
  // that the protocol is properly set!
5087
- const URL_PROTOCOL = mona_dish_1.DQ.global().location.protocol.replace("http", "ws") + "//";
5112
+ const URL_PROTOCOL = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global().location.protocol.replace("http", "ws") + "//";
5088
5113
  // we expose the member variables for testing purposes
5089
5114
  // they are not directly touched outside of tests
5090
5115
  /* socket map by token */
@@ -5117,7 +5142,7 @@ var PushImpl;
5117
5142
  function init(socketClientId, url, channel, onopen, onmessage, onerror, onclose, behaviors, autoConnect) {
5118
5143
  var _a, _b, _c;
5119
5144
  onclose = resolveFunction(onclose);
5120
- if (!mona_dish_1.DQ.global().WebSocket) { // IE6-9.
5145
+ if (!mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global().WebSocket) { // IE6-9.
5121
5146
  onclose(-1, channel);
5122
5147
  return;
5123
5148
  }
@@ -5141,7 +5166,7 @@ var PushImpl;
5141
5166
  }
5142
5167
  }
5143
5168
  if (autoConnect) {
5144
- ((_b = (_a = mona_dish_1.DQ.global()) === null || _a === void 0 ? void 0 : _a.faces) !== null && _b !== void 0 ? _b : (_c = mona_dish_1.DQ.global()) === null || _c === void 0 ? void 0 : _c.jsf).push.open(socketClientId);
5169
+ ((_b = (_a = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global()) === null || _a === void 0 ? void 0 : _a.faces) !== null && _b !== void 0 ? _b : (_c = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global()) === null || _c === void 0 ? void 0 : _c.jsf).push.open(socketClientId);
5145
5170
  }
5146
5171
  }
5147
5172
  PushImpl.init = init;
@@ -5251,10 +5276,10 @@ var PushImpl;
5251
5276
  onclose(event) {
5252
5277
  var _a, _b;
5253
5278
  if (!this.socket
5254
- || (event.code == 1000 && event.reason == Const_1.REASON_EXPIRED)
5279
+ || (event.code == 1000 && event.reason == _core_Const__WEBPACK_IMPORTED_MODULE_0__.REASON_EXPIRED)
5255
5280
  || (event.code == 1008)
5256
5281
  || (!this.reconnectAttempts)
5257
- || (this.reconnectAttempts >= Const_1.MAX_RECONNECT_ATTEMPTS)) {
5282
+ || (this.reconnectAttempts >= _core_Const__WEBPACK_IMPORTED_MODULE_0__.MAX_RECONNECT_ATTEMPTS)) {
5258
5283
  let clientIds = PushImpl.clientIdsByTokens[this.channelToken];
5259
5284
  for (let i = clientIds.length - 1; i >= 0; i--) {
5260
5285
  let socketClientId = clientIds[i];
@@ -5262,7 +5287,7 @@ var PushImpl;
5262
5287
  }
5263
5288
  }
5264
5289
  else {
5265
- setTimeout(this.open, Const_1.RECONNECT_INTERVAL * this.reconnectAttempts++);
5290
+ setTimeout(this.open, _core_Const__WEBPACK_IMPORTED_MODULE_0__.RECONNECT_INTERVAL * this.reconnectAttempts++);
5266
5291
  }
5267
5292
  }
5268
5293
  ;
@@ -5290,7 +5315,7 @@ var PushImpl;
5290
5315
  // This needs further investigation
5291
5316
  function getBaseURL(url) {
5292
5317
  if (url.indexOf("://") < 0) {
5293
- let base = mona_dish_1.DQ.global().location.hostname + ":" + mona_dish_1.DQ.global().location.port;
5318
+ let base = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global().location.hostname + ":" + mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global().location.port;
5294
5319
  return URL_PROTOCOL + base + url;
5295
5320
  }
5296
5321
  else {
@@ -5315,9 +5340,9 @@ var PushImpl;
5315
5340
  }
5316
5341
  function resolveFunction(fn = () => {
5317
5342
  }) {
5318
- return ((typeof fn !== "function") && (fn = mona_dish_1.DQ.global()[fn]), fn);
5343
+ return ((typeof fn !== "function") && (fn = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.global()[fn]), fn);
5319
5344
  }
5320
- })(PushImpl || (exports.PushImpl = PushImpl = {}));
5345
+ })(PushImpl || (PushImpl = {}));
5321
5346
 
5322
5347
 
5323
5348
  /***/ },
@@ -5326,9 +5351,135 @@ var PushImpl;
5326
5351
  /*!************************************************!*\
5327
5352
  !*** ./src/main/typescript/impl/core/Const.ts ***!
5328
5353
  \************************************************/
5329
- (__unused_webpack_module, exports) {
5330
-
5331
-
5354
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5355
+
5356
+ __webpack_require__.r(__webpack_exports__);
5357
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5358
+ /* harmony export */ $faces: () => (/* binding */ $faces),
5359
+ /* harmony export */ $nsp: () => (/* binding */ $nsp),
5360
+ /* harmony export */ APPLIED_CLIENT_WINDOW: () => (/* binding */ APPLIED_CLIENT_WINDOW),
5361
+ /* harmony export */ APPLIED_VST: () => (/* binding */ APPLIED_VST),
5362
+ /* harmony export */ ATTR_ID: () => (/* binding */ ATTR_ID),
5363
+ /* harmony export */ ATTR_NAME: () => (/* binding */ ATTR_NAME),
5364
+ /* harmony export */ ATTR_URL: () => (/* binding */ ATTR_URL),
5365
+ /* harmony export */ ATTR_VALUE: () => (/* binding */ ATTR_VALUE),
5366
+ /* harmony export */ BEGIN: () => (/* binding */ BEGIN),
5367
+ /* harmony export */ CLIENT_ERROR: () => (/* binding */ CLIENT_ERROR),
5368
+ /* harmony export */ COMPLETE: () => (/* binding */ COMPLETE),
5369
+ /* harmony export */ CONTENT_TYPE: () => (/* binding */ CONTENT_TYPE),
5370
+ /* harmony export */ CTX_OPTIONS_DELAY: () => (/* binding */ CTX_OPTIONS_DELAY),
5371
+ /* harmony export */ CTX_OPTIONS_EXECUTE: () => (/* binding */ CTX_OPTIONS_EXECUTE),
5372
+ /* harmony export */ CTX_OPTIONS_PARAMS: () => (/* binding */ CTX_OPTIONS_PARAMS),
5373
+ /* harmony export */ CTX_OPTIONS_RESET: () => (/* binding */ CTX_OPTIONS_RESET),
5374
+ /* harmony export */ CTX_OPTIONS_TIMEOUT: () => (/* binding */ CTX_OPTIONS_TIMEOUT),
5375
+ /* harmony export */ CTX_PARAM_MF_INTERNAL: () => (/* binding */ CTX_PARAM_MF_INTERNAL),
5376
+ /* harmony export */ CTX_PARAM_PPS: () => (/* binding */ CTX_PARAM_PPS),
5377
+ /* harmony export */ CTX_PARAM_RENDER: () => (/* binding */ CTX_PARAM_RENDER),
5378
+ /* harmony export */ CTX_PARAM_REQ_PASS_THR: () => (/* binding */ CTX_PARAM_REQ_PASS_THR),
5379
+ /* harmony export */ CTX_PARAM_SRC_CTL_ID: () => (/* binding */ CTX_PARAM_SRC_CTL_ID),
5380
+ /* harmony export */ CTX_PARAM_SRC_FRM_ID: () => (/* binding */ CTX_PARAM_SRC_FRM_ID),
5381
+ /* harmony export */ CTX_PARAM_UPLOAD_ABORT: () => (/* binding */ CTX_PARAM_UPLOAD_ABORT),
5382
+ /* harmony export */ CTX_PARAM_UPLOAD_ERROR: () => (/* binding */ CTX_PARAM_UPLOAD_ERROR),
5383
+ /* harmony export */ CTX_PARAM_UPLOAD_LOAD: () => (/* binding */ CTX_PARAM_UPLOAD_LOAD),
5384
+ /* harmony export */ CTX_PARAM_UPLOAD_LOADEND: () => (/* binding */ CTX_PARAM_UPLOAD_LOADEND),
5385
+ /* harmony export */ CTX_PARAM_UPLOAD_LOADSTART: () => (/* binding */ CTX_PARAM_UPLOAD_LOADSTART),
5386
+ /* harmony export */ CTX_PARAM_UPLOAD_ON_PROGRESS: () => (/* binding */ CTX_PARAM_UPLOAD_ON_PROGRESS),
5387
+ /* harmony export */ CTX_PARAM_UPLOAD_PREINIT: () => (/* binding */ CTX_PARAM_UPLOAD_PREINIT),
5388
+ /* harmony export */ CTX_PARAM_UPLOAD_TIMEOUT: () => (/* binding */ CTX_PARAM_UPLOAD_TIMEOUT),
5389
+ /* harmony export */ DEFERRED_HEAD_INSERTS: () => (/* binding */ DEFERRED_HEAD_INSERTS),
5390
+ /* harmony export */ DELAY_NONE: () => (/* binding */ DELAY_NONE),
5391
+ /* harmony export */ EMPTY_FUNC: () => (/* binding */ EMPTY_FUNC),
5392
+ /* harmony export */ EMPTY_MAP: () => (/* binding */ EMPTY_MAP),
5393
+ /* harmony export */ EMPTY_RESPONSE: () => (/* binding */ EMPTY_RESPONSE),
5394
+ /* harmony export */ EMPTY_STR: () => (/* binding */ EMPTY_STR),
5395
+ /* harmony export */ ENCODED_URL: () => (/* binding */ ENCODED_URL),
5396
+ /* harmony export */ ERROR: () => (/* binding */ ERROR),
5397
+ /* harmony export */ ERROR_MESSAGE: () => (/* binding */ ERROR_MESSAGE),
5398
+ /* harmony export */ ERROR_NAME: () => (/* binding */ ERROR_NAME),
5399
+ /* harmony export */ ERR_NO_PARTIAL_RESPONSE: () => (/* binding */ ERR_NO_PARTIAL_RESPONSE),
5400
+ /* harmony export */ EVENT: () => (/* binding */ EVENT),
5401
+ /* harmony export */ HEAD_FACES_REQ: () => (/* binding */ HEAD_FACES_REQ),
5402
+ /* harmony export */ HTML_CLIENT_WINDOW: () => (/* binding */ HTML_CLIENT_WINDOW),
5403
+ /* harmony export */ HTML_TAG_BODY: () => (/* binding */ HTML_TAG_BODY),
5404
+ /* harmony export */ HTML_TAG_FORM: () => (/* binding */ HTML_TAG_FORM),
5405
+ /* harmony export */ HTML_TAG_HEAD: () => (/* binding */ HTML_TAG_HEAD),
5406
+ /* harmony export */ HTML_TAG_LINK: () => (/* binding */ HTML_TAG_LINK),
5407
+ /* harmony export */ HTML_TAG_SCRIPT: () => (/* binding */ HTML_TAG_SCRIPT),
5408
+ /* harmony export */ HTML_TAG_STYLE: () => (/* binding */ HTML_TAG_STYLE),
5409
+ /* harmony export */ HTML_VIEWSTATE: () => (/* binding */ HTML_VIEWSTATE),
5410
+ /* harmony export */ HTTP_ERROR: () => (/* binding */ HTTP_ERROR),
5411
+ /* harmony export */ IDENT_ALL: () => (/* binding */ IDENT_ALL),
5412
+ /* harmony export */ IDENT_FORM: () => (/* binding */ IDENT_FORM),
5413
+ /* harmony export */ IDENT_NONE: () => (/* binding */ IDENT_NONE),
5414
+ /* harmony export */ IDENT_THIS: () => (/* binding */ IDENT_THIS),
5415
+ /* harmony export */ MALFORMEDXML: () => (/* binding */ MALFORMEDXML),
5416
+ /* harmony export */ MAX_RECONNECT_ATTEMPTS: () => (/* binding */ MAX_RECONNECT_ATTEMPTS),
5417
+ /* harmony export */ MF_NONE: () => (/* binding */ MF_NONE),
5418
+ /* harmony export */ MULTIPART: () => (/* binding */ MULTIPART),
5419
+ /* harmony export */ MYFACES: () => (/* binding */ MYFACES),
5420
+ /* harmony export */ MYFACES_OPTION_PPS: () => (/* binding */ MYFACES_OPTION_PPS),
5421
+ /* harmony export */ NAMED_VIEWROOT: () => (/* binding */ NAMED_VIEWROOT),
5422
+ /* harmony export */ NAMING_CONTAINER_ID: () => (/* binding */ NAMING_CONTAINER_ID),
5423
+ /* harmony export */ NO_TIMEOUT: () => (/* binding */ NO_TIMEOUT),
5424
+ /* harmony export */ ON_ERROR: () => (/* binding */ ON_ERROR),
5425
+ /* harmony export */ ON_EVENT: () => (/* binding */ ON_EVENT),
5426
+ /* harmony export */ PHASE_PROCESS_RESPONSE: () => (/* binding */ PHASE_PROCESS_RESPONSE),
5427
+ /* harmony export */ P_AJAX: () => (/* binding */ P_AJAX),
5428
+ /* harmony export */ P_AJAX_SOURCE: () => (/* binding */ P_AJAX_SOURCE),
5429
+ /* harmony export */ P_BEHAVIOR_EVENT: () => (/* binding */ P_BEHAVIOR_EVENT),
5430
+ /* harmony export */ P_CLIENT_WINDOW: () => (/* binding */ P_CLIENT_WINDOW),
5431
+ /* harmony export */ P_EVT: () => (/* binding */ P_EVT),
5432
+ /* harmony export */ P_EXECUTE: () => (/* binding */ P_EXECUTE),
5433
+ /* harmony export */ P_RENDER: () => (/* binding */ P_RENDER),
5434
+ /* harmony export */ P_RENDER_OVERRIDE: () => (/* binding */ P_RENDER_OVERRIDE),
5435
+ /* harmony export */ P_RESET_VALUES: () => (/* binding */ P_RESET_VALUES),
5436
+ /* harmony export */ P_RESOURCE: () => (/* binding */ P_RESOURCE),
5437
+ /* harmony export */ P_VIEWBODY: () => (/* binding */ P_VIEWBODY),
5438
+ /* harmony export */ P_VIEWHEAD: () => (/* binding */ P_VIEWHEAD),
5439
+ /* harmony export */ P_VIEWROOT: () => (/* binding */ P_VIEWROOT),
5440
+ /* harmony export */ P_VIEWSTATE: () => (/* binding */ P_VIEWSTATE),
5441
+ /* harmony export */ P_WINDOW_ID: () => (/* binding */ P_WINDOW_ID),
5442
+ /* harmony export */ REASON_EXPIRED: () => (/* binding */ REASON_EXPIRED),
5443
+ /* harmony export */ RECONNECT_INTERVAL: () => (/* binding */ RECONNECT_INTERVAL),
5444
+ /* harmony export */ REQ_ACCEPT: () => (/* binding */ REQ_ACCEPT),
5445
+ /* harmony export */ REQ_TYPE_GET: () => (/* binding */ REQ_TYPE_GET),
5446
+ /* harmony export */ REQ_TYPE_POST: () => (/* binding */ REQ_TYPE_POST),
5447
+ /* harmony export */ RESPONSE_TEXT: () => (/* binding */ RESPONSE_TEXT),
5448
+ /* harmony export */ RESPONSE_XML: () => (/* binding */ RESPONSE_XML),
5449
+ /* harmony export */ SEL_CLIENT_WINDOW_ELEM: () => (/* binding */ SEL_CLIENT_WINDOW_ELEM),
5450
+ /* harmony export */ SEL_RESPONSE_XML: () => (/* binding */ SEL_RESPONSE_XML),
5451
+ /* harmony export */ SEL_VIEWSTATE_ELEM: () => (/* binding */ SEL_VIEWSTATE_ELEM),
5452
+ /* harmony export */ SERVER_ERROR: () => (/* binding */ SERVER_ERROR),
5453
+ /* harmony export */ SOURCE: () => (/* binding */ SOURCE),
5454
+ /* harmony export */ STATE_EVT_BEGIN: () => (/* binding */ STATE_EVT_BEGIN),
5455
+ /* harmony export */ STATE_EVT_COMPLETE: () => (/* binding */ STATE_EVT_COMPLETE),
5456
+ /* harmony export */ STATE_EVT_TIMEOUT: () => (/* binding */ STATE_EVT_TIMEOUT),
5457
+ /* harmony export */ STATUS: () => (/* binding */ STATUS),
5458
+ /* harmony export */ STD_ACCEPT: () => (/* binding */ STD_ACCEPT),
5459
+ /* harmony export */ SUCCESS: () => (/* binding */ SUCCESS),
5460
+ /* harmony export */ TIMEOUT_EVENT: () => (/* binding */ TIMEOUT_EVENT),
5461
+ /* harmony export */ UNKNOWN: () => (/* binding */ UNKNOWN),
5462
+ /* harmony export */ UPDATE_ELEMS: () => (/* binding */ UPDATE_ELEMS),
5463
+ /* harmony export */ UPDATE_FORMS: () => (/* binding */ UPDATE_FORMS),
5464
+ /* harmony export */ URL_ENCODED: () => (/* binding */ URL_ENCODED),
5465
+ /* harmony export */ VAL_AJAX: () => (/* binding */ VAL_AJAX),
5466
+ /* harmony export */ VIEW_ID: () => (/* binding */ VIEW_ID),
5467
+ /* harmony export */ WINDOW_ID: () => (/* binding */ WINDOW_ID),
5468
+ /* harmony export */ XML_ATTR_NAMED_VIEWROOT: () => (/* binding */ XML_ATTR_NAMED_VIEWROOT),
5469
+ /* harmony export */ XML_TAG_AFTER: () => (/* binding */ XML_TAG_AFTER),
5470
+ /* harmony export */ XML_TAG_ATTR: () => (/* binding */ XML_TAG_ATTR),
5471
+ /* harmony export */ XML_TAG_ATTRIBUTES: () => (/* binding */ XML_TAG_ATTRIBUTES),
5472
+ /* harmony export */ XML_TAG_BEFORE: () => (/* binding */ XML_TAG_BEFORE),
5473
+ /* harmony export */ XML_TAG_CHANGES: () => (/* binding */ XML_TAG_CHANGES),
5474
+ /* harmony export */ XML_TAG_DELETE: () => (/* binding */ XML_TAG_DELETE),
5475
+ /* harmony export */ XML_TAG_ERROR: () => (/* binding */ XML_TAG_ERROR),
5476
+ /* harmony export */ XML_TAG_EVAL: () => (/* binding */ XML_TAG_EVAL),
5477
+ /* harmony export */ XML_TAG_EXTENSION: () => (/* binding */ XML_TAG_EXTENSION),
5478
+ /* harmony export */ XML_TAG_INSERT: () => (/* binding */ XML_TAG_INSERT),
5479
+ /* harmony export */ XML_TAG_PARTIAL_RESP: () => (/* binding */ XML_TAG_PARTIAL_RESP),
5480
+ /* harmony export */ XML_TAG_REDIRECT: () => (/* binding */ XML_TAG_REDIRECT),
5481
+ /* harmony export */ XML_TAG_UPDATE: () => (/* binding */ XML_TAG_UPDATE)
5482
+ /* harmony export */ });
5332
5483
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5333
5484
  * contributor license agreements. See the NOTICE file distributed with
5334
5485
  * this work for additional information regarding copyright ownership.
@@ -5344,149 +5495,143 @@ var PushImpl;
5344
5495
  * See the License for the specific language governing permissions and
5345
5496
  * limitations under the License.
5346
5497
  */
5347
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5348
- exports.CTX_OPTIONS_PARAMS = exports.TIMEOUT_EVENT = exports.CLIENT_ERROR = exports.SERVER_ERROR = exports.MALFORMEDXML = exports.EMPTY_RESPONSE = exports.HTTP_ERROR = exports.RESPONSE_XML = exports.RESPONSE_TEXT = exports.ERROR_MESSAGE = exports.ERROR_NAME = exports.STATUS = exports.SOURCE = exports.SUCCESS = exports.COMPLETE = exports.BEGIN = exports.ON_EVENT = exports.ON_ERROR = exports.EVENT = exports.ERROR = exports.WINDOW_ID = exports.CTX_PARAM_RENDER = exports.P_BEHAVIOR_EVENT = exports.P_WINDOW_ID = exports.P_RESET_VALUES = exports.P_EVT = exports.P_RENDER_OVERRIDE = exports.P_RENDER = exports.P_EXECUTE = exports.P_AJAX = exports.IDENT_FORM = exports.IDENT_THIS = exports.IDENT_NONE = exports.IDENT_ALL = exports.HTML_CLIENT_WINDOW = exports.HTML_VIEWSTATE = exports.EMPTY_MAP = exports.EMPTY_STR = exports.EMPTY_FUNC = exports.P_RESOURCE = exports.P_VIEWBODY = exports.P_VIEWHEAD = exports.P_VIEWROOT = exports.P_CLIENT_WINDOW = exports.P_VIEWSTATE = exports.VIEW_ID = exports.NAMING_CONTAINER_ID = exports.P_AJAX_SOURCE = exports.NAMED_VIEWROOT = exports.XML_ATTR_NAMED_VIEWROOT = void 0;
5349
- exports.XML_TAG_CHANGES = exports.XML_TAG_PARTIAL_RESP = exports.ATTR_ID = exports.ATTR_VALUE = exports.ATTR_NAME = exports.ATTR_URL = exports.MYFACES_OPTION_PPS = exports.ERR_NO_PARTIAL_RESPONSE = exports.PHASE_PROCESS_RESPONSE = exports.SEL_RESPONSE_XML = exports.SEL_CLIENT_WINDOW_ELEM = exports.SEL_VIEWSTATE_ELEM = exports.HTML_TAG_STYLE = exports.HTML_TAG_SCRIPT = exports.HTML_TAG_LINK = exports.HTML_TAG_BODY = exports.HTML_TAG_FORM = exports.HTML_TAG_HEAD = exports.STD_ACCEPT = exports.NO_TIMEOUT = exports.MULTIPART = exports.URL_ENCODED = exports.STATE_EVT_COMPLETE = exports.STATE_EVT_TIMEOUT = exports.STATE_EVT_BEGIN = exports.REQ_TYPE_POST = exports.REQ_TYPE_GET = exports.ENCODED_URL = exports.VAL_AJAX = exports.REQ_ACCEPT = exports.HEAD_FACES_REQ = exports.CONTENT_TYPE = exports.CTX_PARAM_PPS = exports.CTX_PARAM_REQ_PASS_THR = exports.CTX_PARAM_SRC_CTL_ID = exports.CTX_PARAM_UPLOAD_TIMEOUT = exports.CTX_PARAM_UPLOAD_ABORT = exports.CTX_PARAM_UPLOAD_ERROR = exports.CTX_PARAM_UPLOAD_LOAD = exports.CTX_PARAM_UPLOAD_LOADEND = exports.CTX_PARAM_UPLOAD_LOADSTART = exports.CTX_PARAM_UPLOAD_PREINIT = exports.CTX_PARAM_UPLOAD_ON_PROGRESS = exports.CTX_PARAM_SRC_FRM_ID = exports.CTX_PARAM_MF_INTERNAL = exports.CTX_OPTIONS_EXECUTE = exports.CTX_OPTIONS_RESET = exports.CTX_OPTIONS_TIMEOUT = exports.DELAY_NONE = exports.CTX_OPTIONS_DELAY = void 0;
5350
- exports.UNKNOWN = exports.MAX_RECONNECT_ATTEMPTS = exports.RECONNECT_INTERVAL = exports.APPLIED_CLIENT_WINDOW = exports.APPLIED_VST = exports.REASON_EXPIRED = exports.MF_NONE = exports.MYFACES = exports.DEFERRED_HEAD_INSERTS = exports.UPDATE_ELEMS = exports.UPDATE_FORMS = exports.XML_TAG_ATTR = exports.XML_TAG_AFTER = exports.XML_TAG_BEFORE = exports.XML_TAG_REDIRECT = exports.XML_TAG_EXTENSION = exports.XML_TAG_ATTRIBUTES = exports.XML_TAG_ERROR = exports.XML_TAG_EVAL = exports.XML_TAG_INSERT = exports.XML_TAG_DELETE = exports.XML_TAG_UPDATE = void 0;
5351
- exports.$faces = $faces;
5352
- exports.$nsp = $nsp;
5353
5498
  /*
5354
5499
  * [export const] constants
5355
5500
  */
5356
- exports.XML_ATTR_NAMED_VIEWROOT = "namedViewRoot";
5357
- exports.NAMED_VIEWROOT = "namedViewRoot";
5358
- exports.P_AJAX_SOURCE = "jakarta.faces.source";
5359
- exports.NAMING_CONTAINER_ID = "myfaces.NamingContainerId";
5360
- exports.VIEW_ID = "myfaces.viewId";
5361
- exports.P_VIEWSTATE = "jakarta.faces.ViewState";
5362
- exports.P_CLIENT_WINDOW = "jakarta.faces.ClientWindow";
5363
- exports.P_VIEWROOT = "jakarta.faces.ViewRoot";
5364
- exports.P_VIEWHEAD = "jakarta.faces.ViewHead";
5365
- exports.P_VIEWBODY = "jakarta.faces.ViewBody";
5366
- exports.P_RESOURCE = "jakarta.faces.Resource";
5501
+ const XML_ATTR_NAMED_VIEWROOT = "namedViewRoot";
5502
+ const NAMED_VIEWROOT = "namedViewRoot";
5503
+ const P_AJAX_SOURCE = "jakarta.faces.source";
5504
+ const NAMING_CONTAINER_ID = "myfaces.NamingContainerId";
5505
+ const VIEW_ID = "myfaces.viewId";
5506
+ const P_VIEWSTATE = "jakarta.faces.ViewState";
5507
+ const P_CLIENT_WINDOW = "jakarta.faces.ClientWindow";
5508
+ const P_VIEWROOT = "jakarta.faces.ViewRoot";
5509
+ const P_VIEWHEAD = "jakarta.faces.ViewHead";
5510
+ const P_VIEWBODY = "jakarta.faces.ViewBody";
5511
+ const P_RESOURCE = "jakarta.faces.Resource";
5367
5512
  /*some useful definitions*/
5368
- exports.EMPTY_FUNC = Object.freeze(() => {
5513
+ const EMPTY_FUNC = Object.freeze(() => {
5369
5514
  });
5370
- exports.EMPTY_STR = "";
5371
- exports.EMPTY_MAP = Object.freeze({});
5372
- exports.HTML_VIEWSTATE = ["<input type='hidden'", "name='", exports.P_VIEWSTATE, "' value='' />"].join(exports.EMPTY_STR);
5373
- exports.HTML_CLIENT_WINDOW = ["<input type='hidden'", "' name='", exports.P_CLIENT_WINDOW, "' value='' />"].join(exports.EMPTY_STR);
5515
+ const EMPTY_STR = "";
5516
+ const EMPTY_MAP = Object.freeze({});
5517
+ const HTML_VIEWSTATE = ["<input type='hidden'", "name='", P_VIEWSTATE, "' value='' />"].join(EMPTY_STR);
5518
+ const HTML_CLIENT_WINDOW = ["<input type='hidden'", "' name='", P_CLIENT_WINDOW, "' value='' />"].join(EMPTY_STR);
5374
5519
  /*internal identifiers for options*/
5375
- exports.IDENT_ALL = "@all";
5376
- exports.IDENT_NONE = "@none";
5377
- exports.IDENT_THIS = "@this";
5378
- exports.IDENT_FORM = "@form";
5379
- exports.P_AJAX = "jakarta.faces.partial.ajax";
5380
- exports.P_EXECUTE = "jakarta.faces.partial.execute";
5381
- exports.P_RENDER = "jakarta.faces.partial.render";
5520
+ const IDENT_ALL = "@all";
5521
+ const IDENT_NONE = "@none";
5522
+ const IDENT_THIS = "@this";
5523
+ const IDENT_FORM = "@form";
5524
+ const P_AJAX = "jakarta.faces.partial.ajax";
5525
+ const P_EXECUTE = "jakarta.faces.partial.execute";
5526
+ const P_RENDER = "jakarta.faces.partial.render";
5382
5527
  /*render override for viewbody or viewroot, in both cases an all is performed*/
5383
- exports.P_RENDER_OVERRIDE = "_myfaces.rendeOverride";
5384
- exports.P_EVT = "jakarta.faces.partial.event";
5385
- exports.P_RESET_VALUES = "jakarta.faces.partial.resetValues";
5386
- exports.P_WINDOW_ID = "jakarta.faces.windowId";
5387
- exports.P_BEHAVIOR_EVENT = "jakarta.faces.behavior.event";
5388
- exports.CTX_PARAM_RENDER = "render";
5389
- exports.WINDOW_ID = "windowId";
5528
+ const P_RENDER_OVERRIDE = "_myfaces.rendeOverride";
5529
+ const P_EVT = "jakarta.faces.partial.event";
5530
+ const P_RESET_VALUES = "jakarta.faces.partial.resetValues";
5531
+ const P_WINDOW_ID = "jakarta.faces.windowId";
5532
+ const P_BEHAVIOR_EVENT = "jakarta.faces.behavior.event";
5533
+ const CTX_PARAM_RENDER = "render";
5534
+ const WINDOW_ID = "windowId";
5390
5535
  /* message types */
5391
- exports.ERROR = "error";
5392
- exports.EVENT = "event";
5393
- exports.ON_ERROR = "onerror";
5394
- exports.ON_EVENT = "onevent";
5536
+ const ERROR = "error";
5537
+ const EVENT = "event";
5538
+ const ON_ERROR = "onerror";
5539
+ const ON_EVENT = "onevent";
5395
5540
  /* event emitting stages */
5396
- exports.BEGIN = "begin";
5397
- exports.COMPLETE = "complete";
5398
- exports.SUCCESS = "success";
5399
- exports.SOURCE = "source";
5400
- exports.STATUS = "status";
5401
- exports.ERROR_NAME = "error-name";
5402
- exports.ERROR_MESSAGE = "error-message";
5403
- exports.RESPONSE_TEXT = "responseText";
5404
- exports.RESPONSE_XML = "responseXML";
5541
+ const BEGIN = "begin";
5542
+ const COMPLETE = "complete";
5543
+ const SUCCESS = "success";
5544
+ const SOURCE = "source";
5545
+ const STATUS = "status";
5546
+ const ERROR_NAME = "error-name";
5547
+ const ERROR_MESSAGE = "error-message";
5548
+ const RESPONSE_TEXT = "responseText";
5549
+ const RESPONSE_XML = "responseXML";
5405
5550
  /*ajax errors spec 14.4.2*/
5406
- exports.HTTP_ERROR = "httpError";
5407
- exports.EMPTY_RESPONSE = "emptyResponse";
5408
- exports.MALFORMEDXML = "malformedXML";
5409
- exports.SERVER_ERROR = "serverError";
5410
- exports.CLIENT_ERROR = "clientError";
5411
- exports.TIMEOUT_EVENT = "timeout";
5412
- exports.CTX_OPTIONS_PARAMS = "params";
5413
- exports.CTX_OPTIONS_DELAY = "delay";
5414
- exports.DELAY_NONE = 'none';
5415
- exports.CTX_OPTIONS_TIMEOUT = "timeout";
5416
- exports.CTX_OPTIONS_RESET = "resetValues";
5417
- exports.CTX_OPTIONS_EXECUTE = "execute";
5418
- exports.CTX_PARAM_MF_INTERNAL = "myfaces.internal";
5419
- exports.CTX_PARAM_SRC_FRM_ID = "myfaces.source.formId";
5420
- exports.CTX_PARAM_UPLOAD_ON_PROGRESS = "myfaces.upload.progress";
5421
- exports.CTX_PARAM_UPLOAD_PREINIT = "myfaces.upload.preinit";
5422
- exports.CTX_PARAM_UPLOAD_LOADSTART = "myfaces.upload.loadstart";
5423
- exports.CTX_PARAM_UPLOAD_LOADEND = "myfaces.upload.loadend";
5424
- exports.CTX_PARAM_UPLOAD_LOAD = "myfaces.upload.load";
5425
- exports.CTX_PARAM_UPLOAD_ERROR = "myfaces.upload.error";
5426
- exports.CTX_PARAM_UPLOAD_ABORT = "myfaces.upload.abort";
5427
- exports.CTX_PARAM_UPLOAD_TIMEOUT = "myfaces.upload.timeout";
5428
- exports.CTX_PARAM_SRC_CTL_ID = "myfaces.source.controlId";
5429
- exports.CTX_PARAM_REQ_PASS_THR = "myfaces.request.passThrough";
5430
- exports.CTX_PARAM_PPS = "myfaces.request.pps";
5431
- exports.CONTENT_TYPE = "Content-Type";
5432
- exports.HEAD_FACES_REQ = "Faces-Request";
5433
- exports.REQ_ACCEPT = "Accept";
5434
- exports.VAL_AJAX = "partial/ajax";
5435
- exports.ENCODED_URL = "jakarta.faces.encodedURL";
5436
- exports.REQ_TYPE_GET = "GET";
5437
- exports.REQ_TYPE_POST = "POST";
5438
- exports.STATE_EVT_BEGIN = "begin"; //TODO remove this
5439
- exports.STATE_EVT_TIMEOUT = "TIMEOUT_EVENT";
5440
- exports.STATE_EVT_COMPLETE = "complete"; //TODO remove this
5441
- exports.URL_ENCODED = "application/x-www-form-urlencoded";
5442
- exports.MULTIPART = "multipart/form-data";
5443
- exports.NO_TIMEOUT = 0;
5444
- exports.STD_ACCEPT = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
5445
- exports.HTML_TAG_HEAD = "HEAD";
5446
- exports.HTML_TAG_FORM = "FORM";
5447
- exports.HTML_TAG_BODY = "BODY";
5448
- exports.HTML_TAG_LINK = "LINK";
5449
- exports.HTML_TAG_SCRIPT = "SCRIPT";
5450
- exports.HTML_TAG_STYLE = "STYLE";
5451
- exports.SEL_VIEWSTATE_ELEM = "[name='" + exports.P_VIEWSTATE + "']";
5452
- exports.SEL_CLIENT_WINDOW_ELEM = "[name='" + exports.P_CLIENT_WINDOW + "']";
5453
- exports.SEL_RESPONSE_XML = "responseXML";
5454
- exports.PHASE_PROCESS_RESPONSE = "processResponse";
5455
- exports.ERR_NO_PARTIAL_RESPONSE = "Partial response not set";
5456
- exports.MYFACES_OPTION_PPS = "pps";
5457
- exports.ATTR_URL = "url";
5458
- exports.ATTR_NAME = "name";
5459
- exports.ATTR_VALUE = "value";
5460
- exports.ATTR_ID = "id";
5551
+ const HTTP_ERROR = "httpError";
5552
+ const EMPTY_RESPONSE = "emptyResponse";
5553
+ const MALFORMEDXML = "malformedXML";
5554
+ const SERVER_ERROR = "serverError";
5555
+ const CLIENT_ERROR = "clientError";
5556
+ const TIMEOUT_EVENT = "timeout";
5557
+ const CTX_OPTIONS_PARAMS = "params";
5558
+ const CTX_OPTIONS_DELAY = "delay";
5559
+ const DELAY_NONE = 'none';
5560
+ const CTX_OPTIONS_TIMEOUT = "timeout";
5561
+ const CTX_OPTIONS_RESET = "resetValues";
5562
+ const CTX_OPTIONS_EXECUTE = "execute";
5563
+ const CTX_PARAM_MF_INTERNAL = "myfaces.internal";
5564
+ const CTX_PARAM_SRC_FRM_ID = "myfaces.source.formId";
5565
+ const CTX_PARAM_UPLOAD_ON_PROGRESS = "myfaces.upload.progress";
5566
+ const CTX_PARAM_UPLOAD_PREINIT = "myfaces.upload.preinit";
5567
+ const CTX_PARAM_UPLOAD_LOADSTART = "myfaces.upload.loadstart";
5568
+ const CTX_PARAM_UPLOAD_LOADEND = "myfaces.upload.loadend";
5569
+ const CTX_PARAM_UPLOAD_LOAD = "myfaces.upload.load";
5570
+ const CTX_PARAM_UPLOAD_ERROR = "myfaces.upload.error";
5571
+ const CTX_PARAM_UPLOAD_ABORT = "myfaces.upload.abort";
5572
+ const CTX_PARAM_UPLOAD_TIMEOUT = "myfaces.upload.timeout";
5573
+ const CTX_PARAM_SRC_CTL_ID = "myfaces.source.controlId";
5574
+ const CTX_PARAM_REQ_PASS_THR = "myfaces.request.passThrough";
5575
+ const CTX_PARAM_PPS = "myfaces.request.pps";
5576
+ const CONTENT_TYPE = "Content-Type";
5577
+ const HEAD_FACES_REQ = "Faces-Request";
5578
+ const REQ_ACCEPT = "Accept";
5579
+ const VAL_AJAX = "partial/ajax";
5580
+ const ENCODED_URL = "jakarta.faces.encodedURL";
5581
+ const REQ_TYPE_GET = "GET";
5582
+ const REQ_TYPE_POST = "POST";
5583
+ const STATE_EVT_BEGIN = "begin"; //TODO remove this
5584
+ const STATE_EVT_TIMEOUT = "TIMEOUT_EVENT";
5585
+ const STATE_EVT_COMPLETE = "complete"; //TODO remove this
5586
+ const URL_ENCODED = "application/x-www-form-urlencoded";
5587
+ const MULTIPART = "multipart/form-data";
5588
+ const NO_TIMEOUT = 0;
5589
+ const STD_ACCEPT = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
5590
+ const HTML_TAG_HEAD = "HEAD";
5591
+ const HTML_TAG_FORM = "FORM";
5592
+ const HTML_TAG_BODY = "BODY";
5593
+ const HTML_TAG_LINK = "LINK";
5594
+ const HTML_TAG_SCRIPT = "SCRIPT";
5595
+ const HTML_TAG_STYLE = "STYLE";
5596
+ const SEL_VIEWSTATE_ELEM = "[name='" + P_VIEWSTATE + "']";
5597
+ const SEL_CLIENT_WINDOW_ELEM = "[name='" + P_CLIENT_WINDOW + "']";
5598
+ const SEL_RESPONSE_XML = "responseXML";
5599
+ const PHASE_PROCESS_RESPONSE = "processResponse";
5600
+ const ERR_NO_PARTIAL_RESPONSE = "Partial response not set";
5601
+ const MYFACES_OPTION_PPS = "pps";
5602
+ const ATTR_URL = "url";
5603
+ const ATTR_NAME = "name";
5604
+ const ATTR_VALUE = "value";
5605
+ const ATTR_ID = "id";
5461
5606
  /*partial response types*/
5462
- exports.XML_TAG_PARTIAL_RESP = "partial-response";
5607
+ const XML_TAG_PARTIAL_RESP = "partial-response";
5463
5608
  /*partial commands*/
5464
- exports.XML_TAG_CHANGES = "changes";
5465
- exports.XML_TAG_UPDATE = "update";
5466
- exports.XML_TAG_DELETE = "delete";
5467
- exports.XML_TAG_INSERT = "insert";
5468
- exports.XML_TAG_EVAL = "eval";
5469
- exports.XML_TAG_ERROR = "error";
5470
- exports.XML_TAG_ATTRIBUTES = "attributes";
5471
- exports.XML_TAG_EXTENSION = "extension";
5472
- exports.XML_TAG_REDIRECT = "redirect";
5473
- exports.XML_TAG_BEFORE = "before";
5474
- exports.XML_TAG_AFTER = "after";
5475
- exports.XML_TAG_ATTR = "attribute";
5609
+ const XML_TAG_CHANGES = "changes";
5610
+ const XML_TAG_UPDATE = "update";
5611
+ const XML_TAG_DELETE = "delete";
5612
+ const XML_TAG_INSERT = "insert";
5613
+ const XML_TAG_EVAL = "eval";
5614
+ const XML_TAG_ERROR = "error";
5615
+ const XML_TAG_ATTRIBUTES = "attributes";
5616
+ const XML_TAG_EXTENSION = "extension";
5617
+ const XML_TAG_REDIRECT = "redirect";
5618
+ const XML_TAG_BEFORE = "before";
5619
+ const XML_TAG_AFTER = "after";
5620
+ const XML_TAG_ATTR = "attribute";
5476
5621
  /*other constants*/
5477
- exports.UPDATE_FORMS = "myfaces.updateForms";
5478
- exports.UPDATE_ELEMS = "myfaces.updateElems";
5622
+ const UPDATE_FORMS = "myfaces.updateForms";
5623
+ const UPDATE_ELEMS = "myfaces.updateElems";
5479
5624
  //we want the head elements to be processed before we process the body
5480
5625
  //but after the inner html is done
5481
- exports.DEFERRED_HEAD_INSERTS = "myfaces.headElems";
5482
- exports.MYFACES = "myfaces";
5483
- exports.MF_NONE = "__mf_none__";
5484
- exports.REASON_EXPIRED = "Expired";
5485
- exports.APPLIED_VST = "myfaces.appliedViewState";
5486
- exports.APPLIED_CLIENT_WINDOW = "myfaces.appliedClientWindow";
5487
- exports.RECONNECT_INTERVAL = 500;
5488
- exports.MAX_RECONNECT_ATTEMPTS = 25;
5489
- exports.UNKNOWN = "UNKNOWN";
5626
+ const DEFERRED_HEAD_INSERTS = "myfaces.headElems";
5627
+ const MYFACES = "myfaces";
5628
+ const MF_NONE = "__mf_none__";
5629
+ const REASON_EXPIRED = "Expired";
5630
+ const APPLIED_VST = "myfaces.appliedViewState";
5631
+ const APPLIED_CLIENT_WINDOW = "myfaces.appliedClientWindow";
5632
+ const RECONNECT_INTERVAL = 500;
5633
+ const MAX_RECONNECT_ATTEMPTS = 25;
5634
+ const UNKNOWN = "UNKNOWN";
5490
5635
  /**
5491
5636
  * helper to remap the namespaces variables for 2.3
5492
5637
  * from 2.3 to 4.0 every javax namespace has been changed
@@ -5512,11 +5657,13 @@ function $nsp(inputNamespace) {
5512
5657
  /*!****************************************************!*\
5513
5658
  !*** ./src/main/typescript/impl/core/ImplTypes.ts ***!
5514
5659
  \****************************************************/
5515
- (__unused_webpack_module, exports, __webpack_require__) {
5516
-
5660
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5517
5661
 
5518
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5519
- exports.StateHolder = void 0;
5662
+ __webpack_require__.r(__webpack_exports__);
5663
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5664
+ /* harmony export */ StateHolder: () => (/* binding */ StateHolder)
5665
+ /* harmony export */ });
5666
+ /* harmony import */ var _Const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Const */ "./src/main/typescript/impl/core/Const.ts");
5520
5667
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5521
5668
  * contributor license agreements. See the NOTICE file distributed with
5522
5669
  * this work for additional information regarding copyright ownership.
@@ -5532,7 +5679,7 @@ exports.StateHolder = void 0;
5532
5679
  * See the License for the specific language governing permissions and
5533
5680
  * limitations under the License.
5534
5681
  */
5535
- const Const_1 = __webpack_require__(/*! ./Const */ "./src/main/typescript/impl/core/Const.ts");
5682
+
5536
5683
  /**
5537
5684
  * a helper class to isolate the
5538
5685
  * view state and client window and other
@@ -5542,15 +5689,14 @@ class StateHolder {
5542
5689
  constructor(id, value) {
5543
5690
  this.id = id;
5544
5691
  this.value = value;
5545
- let viewStatePos = id.indexOf(Const_1.P_VIEWSTATE);
5546
- this.nameSpace = viewStatePos > 0 ? id.substr(0, viewStatePos - 1) : Const_1.EMPTY_STR;
5692
+ let viewStatePos = id.indexOf(_Const__WEBPACK_IMPORTED_MODULE_0__.P_VIEWSTATE);
5693
+ this.nameSpace = viewStatePos > 0 ? id.substr(0, viewStatePos - 1) : _Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR;
5547
5694
  }
5548
5695
  get hasNameSpace() {
5549
5696
  var _a;
5550
- return !!((_a = this === null || this === void 0 ? void 0 : this.nameSpace) !== null && _a !== void 0 ? _a : Const_1.EMPTY_STR).length;
5697
+ return !!((_a = this === null || this === void 0 ? void 0 : this.nameSpace) !== null && _a !== void 0 ? _a : _Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR).length;
5551
5698
  }
5552
5699
  }
5553
- exports.StateHolder = StateHolder;
5554
5700
 
5555
5701
 
5556
5702
  /***/ },
@@ -5559,9 +5705,12 @@ exports.StateHolder = StateHolder;
5559
5705
  /*!***************************************************!*\
5560
5706
  !*** ./src/main/typescript/impl/i18n/Messages.ts ***!
5561
5707
  \***************************************************/
5562
- (__unused_webpack_module, exports) {
5563
-
5708
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5564
5709
 
5710
+ __webpack_require__.r(__webpack_exports__);
5711
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5712
+ /* harmony export */ Messages: () => (/* binding */ Messages)
5713
+ /* harmony export */ });
5565
5714
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5566
5715
  * contributor license agreements. See the NOTICE file distributed with
5567
5716
  * this work for additional information regarding copyright ownership.
@@ -5577,8 +5726,6 @@ exports.StateHolder = StateHolder;
5577
5726
  * See the License for the specific language governing permissions and
5578
5727
  * limitations under the License.
5579
5728
  */
5580
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5581
- exports.Messages = void 0;
5582
5729
  class Messages {
5583
5730
  constructor() {
5584
5731
  this.MSG_TEST = "Testmessage";
@@ -5672,7 +5819,6 @@ class Messages {
5672
5819
  this.UNKNOWN = "UNKNOWN";
5673
5820
  }
5674
5821
  }
5675
- exports.Messages = Messages;
5676
5822
 
5677
5823
 
5678
5824
  /***/ },
@@ -5681,11 +5827,15 @@ exports.Messages = Messages;
5681
5827
  /*!*****************************************************!*\
5682
5828
  !*** ./src/main/typescript/impl/util/Assertions.ts ***!
5683
5829
  \*****************************************************/
5684
- (__unused_webpack_module, exports, __webpack_require__) {
5685
-
5686
-
5687
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5688
- exports.Assertions = void 0;
5830
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5831
+
5832
+ __webpack_require__.r(__webpack_exports__);
5833
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5834
+ /* harmony export */ Assertions: () => (/* binding */ Assertions)
5835
+ /* harmony export */ });
5836
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
5837
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
5838
+ /* harmony import */ var _Lang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Lang */ "./src/main/typescript/impl/util/Lang.ts");
5689
5839
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5690
5840
  * contributor license agreements. See the NOTICE file distributed with
5691
5841
  * this work for additional information regarding copyright ownership.
@@ -5701,9 +5851,9 @@ exports.Assertions = void 0;
5701
5851
  * See the License for the specific language governing permissions and
5702
5852
  * limitations under the License.
5703
5853
  */
5704
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
5705
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
5706
- const Lang_1 = __webpack_require__(/*! ./Lang */ "./src/main/typescript/impl/util/Lang.ts");
5854
+
5855
+
5856
+
5707
5857
  /**
5708
5858
  * a set of internal code assertions
5709
5859
  * which raise an error
@@ -5713,17 +5863,17 @@ var Assertions;
5713
5863
  (function (Assertions) {
5714
5864
  function assertRequestIntegrity(options, elem) {
5715
5865
  /*assert if the onerror is set and once if it is set it must be of type function*/
5716
- assertFunction(options.getIf(Const_1.ON_ERROR).value);
5866
+ assertFunction(options.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.ON_ERROR).value);
5717
5867
  /*assert if the onevent is set and once if it is set it must be of type function*/
5718
- assertFunction(options.getIf(Const_1.ON_EVENT).value);
5868
+ assertFunction(options.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.ON_EVENT).value);
5719
5869
  //improve the error messages if an empty elem is passed
5720
5870
  //Assertions.assertElementExists(elem);
5721
- assert(elem.isPresent(), Lang_1.ExtLang.getMessage("ERR_MUST_BE_PROVIDED1", "{0}: source must be provided or exist", "source element id"), "faces.ajax.request", "ArgNotSet");
5871
+ assert(elem.isPresent(), _Lang__WEBPACK_IMPORTED_MODULE_2__.ExtLang.getMessage("ERR_MUST_BE_PROVIDED1", "{0}: source must be provided or exist", "source element id"), "faces.ajax.request", "ArgNotSet");
5722
5872
  }
5723
5873
  Assertions.assertRequestIntegrity = assertRequestIntegrity;
5724
5874
  function assertUrlExists(node) {
5725
- if (node.attr(Const_1.ATTR_URL).isAbsent()) {
5726
- throw Assertions.raiseError(new Error(), Lang_1.ExtLang.getMessage("ERR_RED_URL", null, "processRedirect"), "processRedirect");
5875
+ if (node.attr(_core_Const__WEBPACK_IMPORTED_MODULE_1__.ATTR_URL).isAbsent()) {
5876
+ throw Assertions.raiseError(new Error(), _Lang__WEBPACK_IMPORTED_MODULE_2__.ExtLang.getMessage("ERR_RED_URL", null, "processRedirect"), "processRedirect");
5727
5877
  }
5728
5878
  }
5729
5879
  Assertions.assertUrlExists = assertUrlExists;
@@ -5732,9 +5882,9 @@ var Assertions;
5732
5882
  * and prevent a proper processing
5733
5883
  */
5734
5884
  function assertValidXMLResponse(responseXML) {
5735
- assert(!responseXML.isAbsent(), Const_1.EMPTY_RESPONSE, Const_1.PHASE_PROCESS_RESPONSE);
5736
- assert(!responseXML.isXMLParserError(), responseXML.parserErrorText(Const_1.EMPTY_STR), Const_1.PHASE_PROCESS_RESPONSE);
5737
- assert(responseXML.querySelectorAll(Const_1.XML_TAG_PARTIAL_RESP).isPresent(), Const_1.ERR_NO_PARTIAL_RESPONSE, Const_1.PHASE_PROCESS_RESPONSE);
5885
+ assert(!responseXML.isAbsent(), _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_RESPONSE, _core_Const__WEBPACK_IMPORTED_MODULE_1__.PHASE_PROCESS_RESPONSE);
5886
+ assert(!responseXML.isXMLParserError(), responseXML.parserErrorText(_core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR), _core_Const__WEBPACK_IMPORTED_MODULE_1__.PHASE_PROCESS_RESPONSE);
5887
+ assert(responseXML.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_1__.XML_TAG_PARTIAL_RESP).isPresent(), _core_Const__WEBPACK_IMPORTED_MODULE_1__.ERR_NO_PARTIAL_RESPONSE, _core_Const__WEBPACK_IMPORTED_MODULE_1__.PHASE_PROCESS_RESPONSE);
5738
5888
  }
5739
5889
  Assertions.assertValidXMLResponse = assertValidXMLResponse;
5740
5890
  /**
@@ -5748,30 +5898,30 @@ var Assertions;
5748
5898
  * @param name the name of the error (optional)
5749
5899
  */
5750
5900
  function raiseError(error, message, caller, title, name) {
5751
- let finalTitle = title !== null && title !== void 0 ? title : Const_1.MALFORMEDXML;
5752
- let finalName = name !== null && name !== void 0 ? name : Const_1.MALFORMEDXML;
5753
- let finalMessage = message !== null && message !== void 0 ? message : Const_1.EMPTY_STR;
5901
+ let finalTitle = title !== null && title !== void 0 ? title : _core_Const__WEBPACK_IMPORTED_MODULE_1__.MALFORMEDXML;
5902
+ let finalName = name !== null && name !== void 0 ? name : _core_Const__WEBPACK_IMPORTED_MODULE_1__.MALFORMEDXML;
5903
+ let finalMessage = message !== null && message !== void 0 ? message : _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR;
5754
5904
  //TODO clean up the messy makeException, this is a perfect case for encapsulation and sane defaults
5755
- return Lang_1.ExtLang.makeException(error, finalTitle, finalName, "Response", caller || ((arguments.caller) ? arguments.caller.toString() : "_raiseError"), finalMessage);
5905
+ return _Lang__WEBPACK_IMPORTED_MODULE_2__.ExtLang.makeException(error, finalTitle, finalName, "Response", caller || ((arguments.caller) ? arguments.caller.toString() : "_raiseError"), finalMessage);
5756
5906
  }
5757
5907
  Assertions.raiseError = raiseError;
5758
5908
  /*
5759
5909
  * using the new typescript 3.7 compiler assertion functionality to improve compiler hinting
5760
5910
  * we are not fully there yet, but soon
5761
5911
  */
5762
- function assert(value, msg = Const_1.EMPTY_STR, caller = Const_1.EMPTY_STR, title = "Assertion Error") {
5912
+ function assert(value, msg = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR, caller = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR, title = "Assertion Error") {
5763
5913
  if (!value) {
5764
5914
  throw Assertions.raiseError(new Error(), msg, caller, title);
5765
5915
  }
5766
5916
  }
5767
5917
  Assertions.assert = assert;
5768
- function assertType(value, theType, msg = Const_1.EMPTY_STR, caller = Const_1.EMPTY_STR, title = "Type Assertion Error") {
5769
- if ((!!value) && !mona_dish_1.Lang.assertType(value, theType)) {
5918
+ function assertType(value, theType, msg = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR, caller = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR, title = "Type Assertion Error") {
5919
+ if ((!!value) && !mona_dish__WEBPACK_IMPORTED_MODULE_0__.Lang.assertType(value, theType)) {
5770
5920
  throw Assertions.raiseError(new Error(), msg, caller, title);
5771
5921
  }
5772
5922
  }
5773
5923
  Assertions.assertType = assertType;
5774
- function assertFunction(value, msg = Const_1.EMPTY_STR, caller = Const_1.EMPTY_STR, title = "Assertion Error") {
5924
+ function assertFunction(value, msg = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR, caller = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR, title = "Assertion Error") {
5775
5925
  assertType(value, "function", msg, caller, title);
5776
5926
  }
5777
5927
  Assertions.assertFunction = assertFunction;
@@ -5782,7 +5932,7 @@ var Assertions;
5782
5932
  }
5783
5933
  }
5784
5934
  Assertions.assertDelay = assertDelay;
5785
- })(Assertions || (exports.Assertions = Assertions = {}));
5935
+ })(Assertions || (Assertions = {}));
5786
5936
 
5787
5937
 
5788
5938
  /***/ },
@@ -5791,9 +5941,12 @@ var Assertions;
5791
5941
  /*!********************************************************!*\
5792
5942
  !*** ./src/main/typescript/impl/util/AsyncRunnable.ts ***!
5793
5943
  \********************************************************/
5794
- (__unused_webpack_module, exports) {
5795
-
5944
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5796
5945
 
5946
+ __webpack_require__.r(__webpack_exports__);
5947
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5948
+ /* harmony export */ AsyncRunnable: () => (/* binding */ AsyncRunnable)
5949
+ /* harmony export */ });
5797
5950
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5798
5951
  * contributor license agreements. See the NOTICE file distributed with
5799
5952
  * this work for additional information regarding copyright ownership.
@@ -5809,8 +5962,6 @@ var Assertions;
5809
5962
  * See the License for the specific language governing permissions and
5810
5963
  * limitations under the License.
5811
5964
  */
5812
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5813
- exports.AsyncRunnable = void 0;
5814
5965
  /**
5815
5966
  * pretty much the same as cancellable Promise, but given
5816
5967
  * we do not have that on browser level yet this is sort
@@ -5869,7 +6020,6 @@ class AsyncRunnable {
5869
6020
  return this;
5870
6021
  }
5871
6022
  }
5872
- exports.AsyncRunnable = AsyncRunnable;
5873
6023
 
5874
6024
 
5875
6025
  /***/ },
@@ -5878,11 +6028,16 @@ exports.AsyncRunnable = AsyncRunnable;
5878
6028
  /*!******************************************************!*\
5879
6029
  !*** ./src/main/typescript/impl/util/ExtDomQuery.ts ***!
5880
6030
  \******************************************************/
5881
- (__unused_webpack_module, exports, __webpack_require__) {
5882
-
5883
-
5884
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5885
- exports.ExtConfig = exports.ExtDQ = exports.ExtDomQuery = void 0;
6031
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6032
+
6033
+ __webpack_require__.r(__webpack_exports__);
6034
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6035
+ /* harmony export */ ExtConfig: () => (/* binding */ ExtConfig),
6036
+ /* harmony export */ ExtDQ: () => (/* binding */ ExtDQ),
6037
+ /* harmony export */ ExtDomQuery: () => (/* binding */ ExtDomQuery)
6038
+ /* harmony export */ });
6039
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6040
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
5886
6041
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
5887
6042
  * contributor license agreements. See the NOTICE file distributed with
5888
6043
  * this work for additional information regarding copyright ownership.
@@ -5898,8 +6053,8 @@ exports.ExtConfig = exports.ExtDQ = exports.ExtDomQuery = void 0;
5898
6053
  * See the License for the specific language governing permissions and
5899
6054
  * limitations under the License.
5900
6055
  */
5901
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
5902
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6056
+
6057
+
5903
6058
  /**
5904
6059
  * detects whether a source is a faces.js request
5905
6060
  *
@@ -5943,7 +6098,7 @@ const ATTR_SRC = 'src';
5943
6098
  * nonce = el.nonce
5944
6099
  * windowId = el.getWindowId
5945
6100
  */
5946
- class ExtDomQuery extends mona_dish_1.DQ {
6101
+ class ExtDomQuery extends mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ {
5947
6102
  static get windowId() {
5948
6103
  return new ExtDomQuery(document.body).windowId;
5949
6104
  }
@@ -5963,14 +6118,14 @@ class ExtDomQuery extends mona_dish_1.DQ {
5963
6118
  };
5964
6119
  //byId ($)
5965
6120
  if (this.value.isPresent()) {
5966
- let result = this.querySelectorAll("form input[name='" + Const_1.P_WINDOW_ID + "']");
6121
+ let result = this.querySelectorAll("form input[name='" + _core_Const__WEBPACK_IMPORTED_MODULE_1__.P_WINDOW_ID + "']");
5967
6122
  if (result.length > 1) {
5968
6123
  throw Error("Multiple different windowIds found in document");
5969
6124
  }
5970
- return mona_dish_1.Optional.fromNullable((result.isPresent()) ? result.getAsElem(0).value.value : fetchWindowIdFromURL());
6125
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable((result.isPresent()) ? result.getAsElem(0).value.value : fetchWindowIdFromURL());
5971
6126
  }
5972
6127
  else {
5973
- return mona_dish_1.Optional.fromNullable(fetchWindowIdFromURL());
6128
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable(fetchWindowIdFromURL());
5974
6129
  }
5975
6130
  }
5976
6131
  /*
@@ -5983,25 +6138,25 @@ class ExtDomQuery extends mona_dish_1.DQ {
5983
6138
  let myfacesConfig = new ExtConfig(window.myfaces);
5984
6139
  let globalNonce = myfacesConfig.getIf("config", "cspMeta", "nonce");
5985
6140
  if (!!globalNonce.value) {
5986
- return mona_dish_1.ValueEmbedder.fromNullable(globalNonce);
6141
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder.fromNullable(globalNonce);
5987
6142
  }
5988
- let curScript = new mona_dish_1.DQ(document.currentScript);
6143
+ let curScript = new mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ(document.currentScript);
5989
6144
  //since our baseline atm is ie11 we cannot use document.currentScript globally
5990
6145
  let nonce = curScript.nonce;
5991
6146
  if (nonce.isPresent()) {
5992
6147
  // fast-path for modern browsers
5993
- return mona_dish_1.ValueEmbedder.fromNullable(nonce);
6148
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder.fromNullable(nonce);
5994
6149
  }
5995
6150
  // fallback if the currentScript method fails, we just search the jsf tags for nonce, this is
5996
6151
  // the last possibility
5997
- let nonceScript = mona_dish_1.Optional.fromNullable((_a = mona_dish_1.DQ
6152
+ let nonceScript = mona_dish__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable((_a = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ
5998
6153
  .querySelectorAll("script[src], link[src]").asArray
5999
6154
  .filter((item) => item.nonce.isPresent() && item.attr(ATTR_SRC) != null)
6000
6155
  .filter(item => IS_FACES_SOURCE(item.attr(ATTR_SRC).value))) === null || _a === void 0 ? void 0 : _a[0]);
6001
6156
  if (!(nonceScript === null || nonceScript === void 0 ? void 0 : nonceScript.value)) {
6002
- return mona_dish_1.ValueEmbedder.absent;
6157
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.ValueEmbedder.absent;
6003
6158
  }
6004
- return new mona_dish_1.DomQuery(nonceScript.value).nonce;
6159
+ return new mona_dish__WEBPACK_IMPORTED_MODULE_0__.DomQuery(nonceScript.value).nonce;
6005
6160
  }
6006
6161
  static searchJsfJsFor(item) {
6007
6162
  return new ExtDomQuery(document).searchJsfJsFor(item);
@@ -6014,7 +6169,7 @@ class ExtDomQuery extends mona_dish_1.DQ {
6014
6169
  searchJsfJsFor(regExp) {
6015
6170
  var _a;
6016
6171
  //perfect application for lazy stream
6017
- return mona_dish_1.Optional.fromNullable((_a = mona_dish_1.DQ.querySelectorAll("script[src], link[src]").asArray
6172
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.Optional.fromNullable((_a = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.querySelectorAll("script[src], link[src]").asArray
6018
6173
  .filter(item => IS_FACES_SOURCE(item.attr(ATTR_SRC).value))
6019
6174
  .map(item => item.attr(ATTR_SRC).value.match(regExp))
6020
6175
  .filter(item => item != null && item.length > 1)
@@ -6100,8 +6255,8 @@ class ExtDomQuery extends mona_dish_1.DQ {
6100
6255
  */
6101
6256
  static byId(selector, deep = false) {
6102
6257
  var _a, _b, _c;
6103
- const ret = mona_dish_1.DomQuery.byId(selector, deep);
6104
- if ((0, Const_1.$faces)().getProjectStage().toLowerCase() == "development" &&
6258
+ const ret = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DomQuery.byId(selector, deep);
6259
+ if ((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$faces)().getProjectStage().toLowerCase() == "development" &&
6105
6260
  (window === null || window === void 0 ? void 0 : window.console) && ret.isAbsent() && selector) {
6106
6261
  let identifier = (_c = (_b = (_a = selector === null || selector === void 0 ? void 0 : selector.id) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : selector === null || selector === void 0 ? void 0 : selector.id) !== null && _c !== void 0 ? _c : selector.toString();
6107
6262
  console.error("Element " + identifier + "not found");
@@ -6112,13 +6267,12 @@ class ExtDomQuery extends mona_dish_1.DQ {
6112
6267
  return new ExtDomQuery(super.filter(func));
6113
6268
  }
6114
6269
  }
6115
- exports.ExtDomQuery = ExtDomQuery;
6116
- exports.ExtDQ = ExtDomQuery;
6270
+ const ExtDQ = ExtDomQuery;
6117
6271
  /**
6118
6272
  * in order to reduce the number of interception points for the fallbacks we add
6119
6273
  * the namespace remapping straight to our config accessors
6120
6274
  */
6121
- class ExtConfig extends mona_dish_1.Config {
6275
+ class ExtConfig extends mona_dish__WEBPACK_IMPORTED_MODULE_0__.Config {
6122
6276
  constructor(root) {
6123
6277
  super(root);
6124
6278
  this.$nspEnabled = true;
@@ -6143,10 +6297,10 @@ class ExtConfig extends mona_dish_1.Config {
6143
6297
  return super.getIf(...accessPathMapped);
6144
6298
  }
6145
6299
  get(defaultVal) {
6146
- return super.get((0, Const_1.$nsp)(defaultVal));
6300
+ return super.get((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(defaultVal));
6147
6301
  }
6148
6302
  delete(key) {
6149
- return super.delete((0, Const_1.$nsp)(key));
6303
+ return super.delete((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(key));
6150
6304
  }
6151
6305
  /**
6152
6306
  * creates a config from an initial value or null
@@ -6181,10 +6335,9 @@ class ExtConfig extends mona_dish_1.Config {
6181
6335
  if (!this.$nspEnabled) {
6182
6336
  return accessPath;
6183
6337
  }
6184
- return new mona_dish_1.Es2019Array(...accessPath).map(key => (0, Const_1.$nsp)(key));
6338
+ return new mona_dish__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...accessPath).map(key => (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(key));
6185
6339
  }
6186
6340
  }
6187
- exports.ExtConfig = ExtConfig;
6188
6341
 
6189
6342
 
6190
6343
  /***/ },
@@ -6193,18 +6346,22 @@ exports.ExtConfig = ExtConfig;
6193
6346
  /*!****************************************************!*\
6194
6347
  !*** ./src/main/typescript/impl/util/FileUtils.ts ***!
6195
6348
  \****************************************************/
6196
- (__unused_webpack_module, exports, __webpack_require__) {
6197
-
6198
-
6199
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6200
- exports.encodeFormData = encodeFormData;
6201
- exports.decodeEncodedValues = decodeEncodedValues;
6202
- exports.resolveFiles = resolveFiles;
6203
- exports.fixEmptyParameters = fixEmptyParameters;
6204
- exports.getFormInputsAsArr = getFormInputsAsArr;
6205
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6206
- const ExtDomQuery_1 = __webpack_require__(/*! ./ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
6207
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6349
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6350
+
6351
+ __webpack_require__.r(__webpack_exports__);
6352
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6353
+ /* harmony export */ decodeEncodedValues: () => (/* binding */ decodeEncodedValues),
6354
+ /* harmony export */ encodeFormData: () => (/* binding */ encodeFormData),
6355
+ /* harmony export */ fixEmptyParameters: () => (/* binding */ fixEmptyParameters),
6356
+ /* harmony export */ getFormInputsAsArr: () => (/* binding */ getFormInputsAsArr),
6357
+ /* harmony export */ resolveFiles: () => (/* binding */ resolveFiles)
6358
+ /* harmony export */ });
6359
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6360
+ /* harmony import */ var _ExtDomQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
6361
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6362
+
6363
+
6364
+
6208
6365
  /*
6209
6366
  * various routines for encoding and decoding url parameters
6210
6367
  * into configs and vice versa
@@ -6215,16 +6372,16 @@ const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/
6215
6372
  * @param paramsMapper the params mapper
6216
6373
  * @param defaultStr a default string if nothing comes out of it
6217
6374
  */
6218
- function encodeFormData(formData, paramsMapper = (inStr, inVal) => [inStr, inVal], defaultStr = Const_1.EMPTY_STR) {
6375
+ function encodeFormData(formData, paramsMapper = (inStr, inVal) => [inStr, inVal], defaultStr = _core_Const__WEBPACK_IMPORTED_MODULE_2__.EMPTY_STR) {
6219
6376
  if (formData.isAbsent()) {
6220
6377
  return defaultStr;
6221
6378
  }
6222
6379
  const assocValues = formData.value;
6223
6380
  const expandValueArrAndRename = key => assocValues[key].map(val => paramsMapper(key, val));
6224
6381
  const isPropertyKey = key => assocValues.hasOwnProperty(key);
6225
- const isNotFile = ([, value]) => !(value instanceof ExtDomQuery_1.ExtDomQuery.global().File);
6382
+ const isNotFile = ([, value]) => !(value instanceof _ExtDomQuery__WEBPACK_IMPORTED_MODULE_1__.ExtDomQuery.global().File);
6226
6383
  const mapIntoUrlParam = keyVal => `${encodeURIComponent(keyVal[0])}=${encodeURIComponent(keyVal[1])}`;
6227
- return new mona_dish_1.Es2019Array(...Object.keys(assocValues))
6384
+ return new mona_dish__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...Object.keys(assocValues))
6228
6385
  .filter(isPropertyKey)
6229
6386
  .flatMap(expandValueArrAndRename)
6230
6387
  .filter(isNotFile)
@@ -6276,7 +6433,7 @@ function fixEmptyParameters(keyVal) {
6276
6433
  * @param parentItem
6277
6434
  */
6278
6435
  function resolveViewState(parentItem) {
6279
- const viewStateStr = (0, Const_1.$faces)().getViewState(parentItem.getAsElem(0).value);
6436
+ const viewStateStr = (0,_core_Const__WEBPACK_IMPORTED_MODULE_2__.$faces)().getViewState(parentItem.getAsElem(0).value);
6280
6437
  // we now need to decode it and then merge it into the target buf
6281
6438
  // which hosts already our overrides (aka do not override what is already there(
6282
6439
  // after that we need to deal with form elements on a separate level
@@ -6300,9 +6457,14 @@ function getFormInputsAsArr(parentItem) {
6300
6457
  /*!*************************************************************!*\
6301
6458
  !*** ./src/main/typescript/impl/util/HiddenInputBuilder.ts ***!
6302
6459
  \*************************************************************/
6303
- (__unused_webpack_module, exports, __webpack_require__) {
6304
-
6305
-
6460
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6461
+
6462
+ __webpack_require__.r(__webpack_exports__);
6463
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6464
+ /* harmony export */ HiddenInputBuilder: () => (/* binding */ HiddenInputBuilder)
6465
+ /* harmony export */ });
6466
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6467
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6306
6468
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
6307
6469
  * contributor license agreements. See the NOTICE file distributed with
6308
6470
  * this work for additional information regarding copyright ownership.
@@ -6319,10 +6481,8 @@ function getFormInputsAsArr(parentItem) {
6319
6481
  * limitations under the License.
6320
6482
  *
6321
6483
  */
6322
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6323
- exports.HiddenInputBuilder = void 0;
6324
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6325
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6484
+
6485
+
6326
6486
  /**
6327
6487
  * Builder for hidden inputs.
6328
6488
  * ATM only ViewState and Client window
@@ -6334,9 +6494,9 @@ class HiddenInputBuilder {
6334
6494
  constructor(selector) {
6335
6495
  this.selector = selector;
6336
6496
  this.namedViewRoot = false;
6337
- const isViewState = selector.indexOf((0, Const_1.$nsp)(Const_1.P_VIEWSTATE)) != -1;
6338
- this.name = isViewState ? Const_1.P_VIEWSTATE : Const_1.P_CLIENT_WINDOW;
6339
- this.template = isViewState ? Const_1.HTML_VIEWSTATE : Const_1.HTML_CLIENT_WINDOW;
6497
+ const isViewState = selector.indexOf((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)) != -1;
6498
+ this.name = isViewState ? _core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE : _core_Const__WEBPACK_IMPORTED_MODULE_1__.P_CLIENT_WINDOW;
6499
+ this.template = isViewState ? _core_Const__WEBPACK_IMPORTED_MODULE_1__.HTML_VIEWSTATE : _core_Const__WEBPACK_IMPORTED_MODULE_1__.HTML_CLIENT_WINDOW;
6340
6500
  }
6341
6501
  withNamingContainerId(namingContainer) {
6342
6502
  this.namingContainerId = namingContainer;
@@ -6352,8 +6512,8 @@ class HiddenInputBuilder {
6352
6512
  }
6353
6513
  build() {
6354
6514
  var _a, _b, _c;
6355
- const SEP = (0, Const_1.$faces)().separatorchar;
6356
- let existingStates = (0, mona_dish_1.DQ$)(`[name*='${(0, Const_1.$nsp)(this.name)}']`);
6515
+ const SEP = (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$faces)().separatorchar;
6516
+ let existingStates = (0,mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ$)(`[name*='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.name)}']`);
6357
6517
  let cnt = existingStates.asArray.map(state => {
6358
6518
  let ident = state.id.orElse("0").value;
6359
6519
  ident = ident.substring(ident.lastIndexOf(SEP) + 1);
@@ -6367,23 +6527,22 @@ class HiddenInputBuilder {
6367
6527
  }, 0); //we start with 1 (see cnt++)
6368
6528
  //the maximum new ident is the current max + 1
6369
6529
  cnt++;
6370
- const newElement = mona_dish_1.DQ.fromMarkup((0, Const_1.$nsp)(this.template));
6530
+ const newElement = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.template));
6371
6531
  newElement.id.value = (((_a = this.namingContainerId) === null || _a === void 0 ? void 0 : _a.length) ?
6372
- [this.namingContainerId, (0, Const_1.$nsp)(this.name), cnt] :
6373
- [(0, Const_1.$nsp)(this.name), cnt]).join(SEP);
6532
+ [this.namingContainerId, (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.name), cnt] :
6533
+ [(0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.name), cnt]).join(SEP);
6374
6534
  //name must be prefixed with the naming container id as well according to the jsdocs
6375
6535
  if (this.namedViewRoot) {
6376
6536
  newElement.name.value = ((_b = this.namingContainerId) === null || _b === void 0 ? void 0 : _b.length) ?
6377
- [this.namingContainerId, (0, Const_1.$nsp)(this.name)].join(SEP) : (0, Const_1.$nsp)(this.name);
6537
+ [this.namingContainerId, (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.name)].join(SEP) : (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.name);
6378
6538
  }
6379
6539
  else {
6380
- newElement.name.value = (0, Const_1.$nsp)(this.name);
6540
+ newElement.name.value = (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(this.name);
6381
6541
  }
6382
6542
  (_c = this === null || this === void 0 ? void 0 : this.parent) === null || _c === void 0 ? void 0 : _c.append(newElement);
6383
6543
  return newElement;
6384
6544
  }
6385
6545
  }
6386
- exports.HiddenInputBuilder = HiddenInputBuilder;
6387
6546
 
6388
6547
 
6389
6548
  /***/ },
@@ -6392,9 +6551,16 @@ exports.HiddenInputBuilder = HiddenInputBuilder;
6392
6551
  /*!***********************************************!*\
6393
6552
  !*** ./src/main/typescript/impl/util/Lang.ts ***!
6394
6553
  \***********************************************/
6395
- (__unused_webpack_module, exports, __webpack_require__) {
6396
-
6397
-
6554
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6555
+
6556
+ __webpack_require__.r(__webpack_exports__);
6557
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6558
+ /* harmony export */ ExtLang: () => (/* binding */ ExtLang)
6559
+ /* harmony export */ });
6560
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6561
+ /* harmony import */ var _i18n_Messages__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../i18n/Messages */ "./src/main/typescript/impl/i18n/Messages.ts");
6562
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6563
+ /* harmony import */ var _xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../xhrCore/RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
6398
6564
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
6399
6565
  * contributor license agreements. See the NOTICE file distributed with
6400
6566
  * this work for additional information regarding copyright ownership.
@@ -6411,13 +6577,11 @@ exports.HiddenInputBuilder = HiddenInputBuilder;
6411
6577
  * limitations under the License.
6412
6578
  *
6413
6579
  */
6414
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6415
- exports.ExtLang = void 0;
6416
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6417
- const Messages_1 = __webpack_require__(/*! ../i18n/Messages */ "./src/main/typescript/impl/i18n/Messages.ts");
6418
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6419
- const RequestDataResolver_1 = __webpack_require__(/*! ../xhrCore/RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
6420
- const mona_dish_2 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6580
+
6581
+
6582
+
6583
+
6584
+
6421
6585
  var ExtLang;
6422
6586
  (function (ExtLang) {
6423
6587
  let installedLocale;
@@ -6449,7 +6613,7 @@ var ExtLang;
6449
6613
  * @returns an Optional of the produced value
6450
6614
  */
6451
6615
  function failSaveResolve(resolverProducer, defaultValue = null) {
6452
- return mona_dish_1.Lang.saveResolve(resolverProducer, defaultValue);
6616
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.Lang.saveResolve(resolverProducer, defaultValue);
6453
6617
  }
6454
6618
  ExtLang.failSaveResolve = failSaveResolve;
6455
6619
  /**
@@ -6462,7 +6626,7 @@ var ExtLang;
6462
6626
  * @param defaultValue the default value in case of a fail of the function
6463
6627
  */
6464
6628
  function failSaveExecute(resolverProducer, defaultValue = null) {
6465
- mona_dish_1.Lang.saveResolve(resolverProducer, defaultValue);
6629
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.Lang.saveResolve(resolverProducer, defaultValue);
6466
6630
  }
6467
6631
  ExtLang.failSaveExecute = failSaveExecute;
6468
6632
  /**
@@ -6479,10 +6643,10 @@ var ExtLang;
6479
6643
  */
6480
6644
  function getMessage(key, defaultMessage, ...templateParams) {
6481
6645
  var _a, _b;
6482
- installedLocale = installedLocale !== null && installedLocale !== void 0 ? installedLocale : new Messages_1.Messages();
6646
+ installedLocale = installedLocale !== null && installedLocale !== void 0 ? installedLocale : new _i18n_Messages__WEBPACK_IMPORTED_MODULE_1__.Messages();
6483
6647
  let msg = (_b = (_a = installedLocale[key]) !== null && _a !== void 0 ? _a : defaultMessage) !== null && _b !== void 0 ? _b : key;
6484
6648
  templateParams.forEach((param, cnt) => {
6485
- msg = msg.replace(new RegExp(["\\{", cnt, "\\}"].join(Const_1.EMPTY_STR), "g"), param);
6649
+ msg = msg.replace(new RegExp(["\\{", cnt, "\\}"].join(_core_Const__WEBPACK_IMPORTED_MODULE_2__.EMPTY_STR), "g"), param);
6486
6650
  });
6487
6651
  return msg;
6488
6652
  }
@@ -6549,29 +6713,29 @@ var ExtLang;
6549
6713
  * @param event
6550
6714
  */
6551
6715
  function getForm(elem, event) {
6552
- let queryElem = new mona_dish_1.DQ(elem);
6553
- let eventTarget = (event) ? new mona_dish_1.DQ((0, RequestDataResolver_1.getEventTarget)(event)) : mona_dish_1.DomQuery.absent;
6554
- if (queryElem.isTag(Const_1.HTML_TAG_FORM)) {
6716
+ let queryElem = new mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ(elem);
6717
+ let eventTarget = (event) ? new mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ((0,_xhrCore_RequestDataResolver__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(event)) : mona_dish__WEBPACK_IMPORTED_MODULE_0__.DomQuery.absent;
6718
+ if (queryElem.isTag(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM)) {
6555
6719
  return queryElem;
6556
6720
  }
6557
6721
  //html 5 for handling
6558
- if (queryElem.attr(Const_1.HTML_TAG_FORM).isPresent()) {
6559
- let formId = queryElem.attr(Const_1.HTML_TAG_FORM).value;
6560
- let foundForm = mona_dish_1.DQ.byId(formId, true);
6722
+ if (queryElem.attr(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM).isPresent()) {
6723
+ let formId = queryElem.attr(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM).value;
6724
+ let foundForm = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(formId, true);
6561
6725
  if (foundForm.isPresent()) {
6562
6726
  return foundForm;
6563
6727
  }
6564
6728
  }
6565
6729
  //no direct form is found we look for parent/child relationships as fallback
6566
6730
  //(90% case)
6567
- let form = queryElem.firstParent(Const_1.HTML_TAG_FORM)
6568
- .orElseLazy(() => queryElem.byTagName(Const_1.HTML_TAG_FORM, true))
6569
- .orElseLazy(() => eventTarget.firstParent(Const_1.HTML_TAG_FORM))
6570
- .orElseLazy(() => eventTarget.byTagName(Const_1.HTML_TAG_FORM))
6731
+ let form = queryElem.firstParent(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM)
6732
+ .orElseLazy(() => queryElem.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM, true))
6733
+ .orElseLazy(() => eventTarget.firstParent(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM))
6734
+ .orElseLazy(() => eventTarget.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM))
6571
6735
  .first();
6572
6736
  //either a form is found within parent child - nearest form (aka first)
6573
6737
  //or we look for a single form
6574
- form = form.orElseLazy(() => mona_dish_1.DQ.byTagName(Const_1.HTML_TAG_FORM));
6738
+ form = form.orElseLazy(() => mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM));
6575
6739
  //the end result must be a found form otherwise - Exception
6576
6740
  assertOnlyOneFormExists(form);
6577
6741
  return form;
@@ -6599,7 +6763,7 @@ var ExtLang;
6599
6763
  * @param value
6600
6764
  */
6601
6765
  function ofAssoc(value) {
6602
- return new mona_dish_2.Es2019Array(...Object.keys(value))
6766
+ return new mona_dish__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...Object.keys(value))
6603
6767
  .map(key => [key, value[key]]);
6604
6768
  }
6605
6769
  ExtLang.ofAssoc = ofAssoc;
@@ -6655,7 +6819,7 @@ var ExtLang;
6655
6819
  throw makeException(new Error(), null, null, "Impl", "getForm", getMessage("ERR_FORM"));
6656
6820
  }
6657
6821
  }
6658
- })(ExtLang || (exports.ExtLang = ExtLang = {}));
6822
+ })(ExtLang || (ExtLang = {}));
6659
6823
 
6660
6824
 
6661
6825
  /***/ },
@@ -6664,13 +6828,15 @@ var ExtLang;
6664
6828
  /*!*************************************************************!*\
6665
6829
  !*** ./src/main/typescript/impl/util/XhrQueueController.ts ***!
6666
6830
  \*************************************************************/
6667
- (__unused_webpack_module, exports, __webpack_require__) {
6831
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6668
6832
 
6833
+ __webpack_require__.r(__webpack_exports__);
6834
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6835
+ /* harmony export */ XhrQueueController: () => (/* binding */ XhrQueueController)
6836
+ /* harmony export */ });
6837
+ /* harmony import */ var _Lang__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Lang */ "./src/main/typescript/impl/util/Lang.ts");
6669
6838
 
6670
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6671
- exports.XhrQueueController = void 0;
6672
- const Lang_1 = __webpack_require__(/*! ./Lang */ "./src/main/typescript/impl/util/Lang.ts");
6673
- const debounce = Lang_1.ExtLang.debounce;
6839
+ const debounce = _Lang__WEBPACK_IMPORTED_MODULE_0__.ExtLang.debounce;
6674
6840
  /**
6675
6841
  * A simple XHR queue controller
6676
6842
  * following the async op -> next pattern
@@ -6756,7 +6922,6 @@ class XhrQueueController {
6756
6922
  this.taskRunning = !this.isEmpty;
6757
6923
  }
6758
6924
  }
6759
- exports.XhrQueueController = XhrQueueController;
6760
6925
 
6761
6926
 
6762
6927
  /***/ },
@@ -6765,11 +6930,17 @@ exports.XhrQueueController = XhrQueueController;
6765
6930
  /*!*******************************************************!*\
6766
6931
  !*** ./src/main/typescript/impl/xhrCore/ErrorData.ts ***!
6767
6932
  \*******************************************************/
6768
- (__unused_webpack_module, exports, __webpack_require__) {
6769
-
6770
-
6771
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6772
- exports.ErrorData = exports.ErrorType = void 0;
6933
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6934
+
6935
+ __webpack_require__.r(__webpack_exports__);
6936
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6937
+ /* harmony export */ ErrorData: () => (/* binding */ ErrorData),
6938
+ /* harmony export */ ErrorType: () => (/* binding */ ErrorType)
6939
+ /* harmony export */ });
6940
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6941
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6942
+ /* harmony import */ var _EventData__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventData */ "./src/main/typescript/impl/xhrCore/EventData.ts");
6943
+ /* harmony import */ var _util_Lang__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
6773
6944
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
6774
6945
  * contributor license agreements. See the NOTICE file distributed with
6775
6946
  * this work for additional information regarding copyright ownership.
@@ -6785,18 +6956,18 @@ exports.ErrorData = exports.ErrorType = void 0;
6785
6956
  * See the License for the specific language governing permissions and
6786
6957
  * limitations under the License.
6787
6958
  */
6788
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6789
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6790
- const EventData_1 = __webpack_require__(/*! ./EventData */ "./src/main/typescript/impl/xhrCore/EventData.ts");
6791
- const Lang_1 = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
6792
- const getMessage = Lang_1.ExtLang.getMessage;
6959
+
6960
+
6961
+
6962
+
6963
+ const getMessage = _util_Lang__WEBPACK_IMPORTED_MODULE_3__.ExtLang.getMessage;
6793
6964
  var ErrorType;
6794
6965
  (function (ErrorType) {
6795
6966
  ErrorType["SERVER_ERROR"] = "serverError";
6796
6967
  ErrorType["HTTP_ERROR"] = "httpError";
6797
6968
  ErrorType["CLIENT_ERROR"] = "clientError";
6798
6969
  ErrorType["TIMEOUT"] = "timeout";
6799
- })(ErrorType || (exports.ErrorType = ErrorType = {}));
6970
+ })(ErrorType || (ErrorType = {}));
6800
6971
  /**
6801
6972
  * the spec has a problem of having the error
6802
6973
  * object somewhat underspecified, there is no clear
@@ -6806,14 +6977,14 @@ var ErrorType;
6806
6977
  * everything into the same attributes,
6807
6978
  * I will add deprecated myfaces backwards compatibility attributes as well
6808
6979
  */
6809
- class ErrorData extends EventData_1.EventData {
6980
+ class ErrorData extends _EventData__WEBPACK_IMPORTED_MODULE_2__.EventData {
6810
6981
  constructor(source, errorName, errorMessage, responseText = null, responseXML = null, responseCode = -1, statusOverride = null, type = ErrorType.CLIENT_ERROR) {
6811
6982
  super();
6812
6983
  this.type = "error";
6813
6984
  ///MYFACES-4676 error payload expects an element if possible
6814
6985
  //this code remaps the string in an element and if not existing just passes as is what comes in
6815
- this.source = mona_dish_1.DQ.byId(source).value.orElse(source).value;
6816
- this.type = Const_1.ERROR;
6986
+ this.source = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.byId(source).value.orElse(source).value;
6987
+ this.type = _core_Const__WEBPACK_IMPORTED_MODULE_0__.ERROR;
6817
6988
  this.errorName = errorName;
6818
6989
  //tck requires that the type is prefixed to the message itself (jsdoc also) in case of a server error
6819
6990
  this.errorMessage = (type == ErrorType.SERVER_ERROR) ? type + ": " + errorMessage : errorMessage;
@@ -6830,29 +7001,28 @@ class ErrorData extends EventData_1.EventData {
6830
7001
  }
6831
7002
  static fromClient(e) {
6832
7003
  var _a, _b, _c, _d;
6833
- return new ErrorData((_a = e === null || e === void 0 ? void 0 : e.source) !== null && _a !== void 0 ? _a : "client", (_b = e === null || e === void 0 ? void 0 : e.name) !== null && _b !== void 0 ? _b : Const_1.EMPTY_STR, (_c = e === null || e === void 0 ? void 0 : e.message) !== null && _c !== void 0 ? _c : Const_1.EMPTY_STR, (_d = e === null || e === void 0 ? void 0 : e.stack) !== null && _d !== void 0 ? _d : Const_1.EMPTY_STR);
7004
+ return new ErrorData((_a = e === null || e === void 0 ? void 0 : e.source) !== null && _a !== void 0 ? _a : "client", (_b = e === null || e === void 0 ? void 0 : e.name) !== null && _b !== void 0 ? _b : _core_Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR, (_c = e === null || e === void 0 ? void 0 : e.message) !== null && _c !== void 0 ? _c : _core_Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR, (_d = e === null || e === void 0 ? void 0 : e.stack) !== null && _d !== void 0 ? _d : _core_Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR);
6834
7005
  }
6835
- static fromHttpConnection(source, name, message, responseText, responseXML, responseCode, status = Const_1.EMPTY_STR) {
7006
+ static fromHttpConnection(source, name, message, responseText, responseXML, responseCode, status = _core_Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR) {
6836
7007
  return new ErrorData(source, name, message, responseText, responseXML, responseCode, status, ErrorType.HTTP_ERROR);
6837
7008
  }
6838
7009
  static fromGeneric(context, errorCode, errorType = ErrorType.SERVER_ERROR) {
6839
7010
  let getMsg = this.getMsg;
6840
- let source = getMsg(context, Const_1.SOURCE);
6841
- let errorName = getMsg(context, Const_1.ERROR_NAME);
6842
- let errorMessage = getMsg(context, Const_1.ERROR_MESSAGE);
6843
- let status = getMsg(context, Const_1.STATUS);
6844
- let responseText = getMsg(context, Const_1.RESPONSE_TEXT);
6845
- let responseXML = context.getIf(Const_1.RESPONSE_XML).value;
7011
+ let source = getMsg(context, _core_Const__WEBPACK_IMPORTED_MODULE_0__.SOURCE);
7012
+ let errorName = getMsg(context, _core_Const__WEBPACK_IMPORTED_MODULE_0__.ERROR_NAME);
7013
+ let errorMessage = getMsg(context, _core_Const__WEBPACK_IMPORTED_MODULE_0__.ERROR_MESSAGE);
7014
+ let status = getMsg(context, _core_Const__WEBPACK_IMPORTED_MODULE_0__.STATUS);
7015
+ let responseText = getMsg(context, _core_Const__WEBPACK_IMPORTED_MODULE_0__.RESPONSE_TEXT);
7016
+ let responseXML = context.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_0__.RESPONSE_XML).value;
6846
7017
  return new ErrorData(source, errorName, errorMessage, responseText, responseXML, errorCode, status, errorType);
6847
7018
  }
6848
7019
  static getMsg(context, param) {
6849
- return getMessage(context.getIf(param).orElse(Const_1.EMPTY_STR).value);
7020
+ return getMessage(context.getIf(param).orElse(_core_Const__WEBPACK_IMPORTED_MODULE_0__.EMPTY_STR).value);
6850
7021
  }
6851
7022
  static fromServerError(context) {
6852
7023
  return this.fromGeneric(context, -1);
6853
7024
  }
6854
7025
  }
6855
- exports.ErrorData = ErrorData;
6856
7026
 
6857
7027
 
6858
7028
  /***/ },
@@ -6861,11 +7031,14 @@ exports.ErrorData = ErrorData;
6861
7031
  /*!*******************************************************!*\
6862
7032
  !*** ./src/main/typescript/impl/xhrCore/EventData.ts ***!
6863
7033
  \*******************************************************/
6864
- (__unused_webpack_module, exports, __webpack_require__) {
6865
-
6866
-
6867
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6868
- exports.EventData = void 0;
7034
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7035
+
7036
+ __webpack_require__.r(__webpack_exports__);
7037
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7038
+ /* harmony export */ EventData: () => (/* binding */ EventData)
7039
+ /* harmony export */ });
7040
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7041
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6869
7042
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
6870
7043
  * contributor license agreements. See the NOTICE file distributed with
6871
7044
  * this work for additional information regarding copyright ownership.
@@ -6881,31 +7054,31 @@ exports.EventData = void 0;
6881
7054
  * See the License for the specific language governing permissions and
6882
7055
  * limitations under the License.
6883
7056
  */
6884
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6885
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7057
+
7058
+
6886
7059
  class EventData {
6887
7060
  static createFromRequest(request, internalContext, context, /*event name*/ name) {
6888
7061
  let eventData = new EventData();
6889
7062
  let internalSource = "_internal._source";
6890
- eventData.type = Const_1.EVENT;
7063
+ eventData.type = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EVENT;
6891
7064
  eventData.status = name;
6892
7065
  eventData.source = internalContext.getIf("_source", "_element").value;
6893
7066
  // this fixes the issue that the source element is not present anymore at done
6894
7067
  // at page transitions
6895
7068
  if (!eventData.source) {
6896
- let sourceId = context.getIf(Const_1.SOURCE)
6897
- .orElseLazy(() => context.getIf(Const_1.P_AJAX_SOURCE).value)
6898
- .orElseLazy(() => context.getIf(Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_AJAX_SOURCE).value)
7069
+ let sourceId = context.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.SOURCE)
7070
+ .orElseLazy(() => context.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_AJAX_SOURCE).value)
7071
+ .orElseLazy(() => context.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_1__.P_AJAX_SOURCE).value)
6899
7072
  .value;
6900
7073
  if (sourceId) {
6901
- eventData.source = mona_dish_1.DQ.byId(sourceId, true).first().value.value;
7074
+ eventData.source = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(sourceId, true).first().value.value;
6902
7075
  }
6903
7076
  if (eventData.source) {
6904
7077
  //we store the event source for later references
6905
7078
  internalContext.assign("_source", "_element").value = eventData.source;
6906
7079
  }
6907
7080
  }
6908
- if (name !== Const_1.BEGIN) {
7081
+ if (name !== _core_Const__WEBPACK_IMPORTED_MODULE_1__.BEGIN) {
6909
7082
  eventData.responseCode = request === null || request === void 0 ? void 0 : request.status;
6910
7083
  eventData.responseText = request === null || request === void 0 ? void 0 : request.responseText;
6911
7084
  eventData.responseXML = request === null || request === void 0 ? void 0 : request.responseXML;
@@ -6913,7 +7086,6 @@ class EventData {
6913
7086
  return eventData;
6914
7087
  }
6915
7088
  }
6916
- exports.EventData = EventData;
6917
7089
 
6918
7090
 
6919
7091
  /***/ },
@@ -6922,9 +7094,28 @@ exports.EventData = EventData;
6922
7094
  /*!*****************************************************************!*\
6923
7095
  !*** ./src/main/typescript/impl/xhrCore/RequestDataResolver.ts ***!
6924
7096
  \*****************************************************************/
6925
- (__unused_webpack_module, exports, __webpack_require__) {
6926
-
6927
-
7097
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7098
+
7099
+ __webpack_require__.r(__webpack_exports__);
7100
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7101
+ /* harmony export */ getEventTarget: () => (/* binding */ getEventTarget),
7102
+ /* harmony export */ resolveDefaults: () => (/* binding */ resolveDefaults),
7103
+ /* harmony export */ resolveDelay: () => (/* binding */ resolveDelay),
7104
+ /* harmony export */ resolveFinalUrl: () => (/* binding */ resolveFinalUrl),
7105
+ /* harmony export */ resolveForm: () => (/* binding */ resolveForm),
7106
+ /* harmony export */ resolveHandlerFunc: () => (/* binding */ resolveHandlerFunc),
7107
+ /* harmony export */ resolveTargetUrl: () => (/* binding */ resolveTargetUrl),
7108
+ /* harmony export */ resolveTimeout: () => (/* binding */ resolveTimeout),
7109
+ /* harmony export */ resolveViewId: () => (/* binding */ resolveViewId),
7110
+ /* harmony export */ resolveViewRootId: () => (/* binding */ resolveViewRootId),
7111
+ /* harmony export */ resolveWindowId: () => (/* binding */ resolveWindowId),
7112
+ /* harmony export */ resoveNamingContainerMapper: () => (/* binding */ resoveNamingContainerMapper)
7113
+ /* harmony export */ });
7114
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7115
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7116
+ /* harmony import */ var _util_Lang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
7117
+ /* harmony import */ var _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7118
+ /* harmony import */ var _util_Assertions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
6928
7119
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
6929
7120
  * contributor license agreements. See the NOTICE file distributed with
6930
7121
  * this work for additional information regarding copyright ownership.
@@ -6940,24 +7131,11 @@ exports.EventData = EventData;
6940
7131
  * See the License for the specific language governing permissions and
6941
7132
  * limitations under the License.
6942
7133
  */
6943
- Object.defineProperty(exports, "__esModule", ({ value: true }));
6944
- exports.resolveHandlerFunc = resolveHandlerFunc;
6945
- exports.resolveTargetUrl = resolveTargetUrl;
6946
- exports.resolveFinalUrl = resolveFinalUrl;
6947
- exports.resolveForm = resolveForm;
6948
- exports.resolveViewId = resolveViewId;
6949
- exports.resolveViewRootId = resolveViewRootId;
6950
- exports.resoveNamingContainerMapper = resoveNamingContainerMapper;
6951
- exports.resolveTimeout = resolveTimeout;
6952
- exports.resolveDelay = resolveDelay;
6953
- exports.resolveWindowId = resolveWindowId;
6954
- exports.getEventTarget = getEventTarget;
6955
- exports.resolveDefaults = resolveDefaults;
6956
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
6957
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
6958
- const Lang_1 = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
6959
- const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
6960
- const Assertions_1 = __webpack_require__(/*! ../util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
7134
+
7135
+
7136
+
7137
+
7138
+
6961
7139
  /**
6962
7140
  * Resolver functions for various aspects of the request data
6963
7141
  *
@@ -6973,19 +7151,19 @@ const Assertions_1 = __webpack_require__(/*! ../util/Assertions */ "./src/main/t
6973
7151
  * @param funcName
6974
7152
  */
6975
7153
  function resolveHandlerFunc(requestContext, responseContext, funcName) {
6976
- responseContext = responseContext || new mona_dish_1.Config({});
7154
+ responseContext = responseContext || new mona_dish__WEBPACK_IMPORTED_MODULE_0__.Config({});
6977
7155
  return responseContext.getIf(funcName)
6978
7156
  .orElseLazy(() => requestContext.getIf(funcName).value)
6979
- .orElse(Const_1.EMPTY_FUNC).value;
7157
+ .orElse(_core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_FUNC).value;
6980
7158
  }
6981
7159
  function resolveTargetUrl(srcFormElement) {
6982
- return (typeof srcFormElement.elements[Const_1.ENCODED_URL] == 'undefined') ?
7160
+ return (typeof srcFormElement.elements[_core_Const__WEBPACK_IMPORTED_MODULE_1__.ENCODED_URL] == 'undefined') ?
6983
7161
  srcFormElement.action :
6984
- srcFormElement.elements[Const_1.ENCODED_URL].value;
7162
+ srcFormElement.elements[_core_Const__WEBPACK_IMPORTED_MODULE_1__.ENCODED_URL].value;
6985
7163
  }
6986
- function resolveFinalUrl(sourceForm, formData, ajaxType = Const_1.REQ_TYPE_POST) {
7164
+ function resolveFinalUrl(sourceForm, formData, ajaxType = _core_Const__WEBPACK_IMPORTED_MODULE_1__.REQ_TYPE_POST) {
6987
7165
  let targetUrl = resolveTargetUrl(sourceForm.getAsElem(0).value);
6988
- return targetUrl + (ajaxType == Const_1.REQ_TYPE_GET ? "?" + formData.toString() : Const_1.EMPTY_STR);
7166
+ return targetUrl + (ajaxType == _core_Const__WEBPACK_IMPORTED_MODULE_1__.REQ_TYPE_GET ? "?" + formData.toString() : _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR);
6989
7167
  }
6990
7168
  /**
6991
7169
  * form resolution the same way our old implementation did
@@ -6996,23 +7174,23 @@ function resolveFinalUrl(sourceForm, formData, ajaxType = Const_1.REQ_TYPE_POST)
6996
7174
  * @param event
6997
7175
  */
6998
7176
  function resolveForm(elem, event) {
6999
- return Lang_1.ExtLang.getForm(elem.getAsElem(0).value, event);
7177
+ return _util_Lang__WEBPACK_IMPORTED_MODULE_2__.ExtLang.getForm(elem.getAsElem(0).value, event);
7000
7178
  }
7001
7179
  function resolveViewId(form) {
7002
- const viewState = form.querySelectorAll(`input[type='hidden'][name*='${(0, Const_1.$nsp)(Const_1.P_VIEWSTATE)}']`).id.orElse("").value;
7003
- const divider = (0, Const_1.$faces)().separatorchar;
7180
+ const viewState = form.querySelectorAll(`input[type='hidden'][name*='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)}']`).id.orElse("").value;
7181
+ const divider = (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$faces)().separatorchar;
7004
7182
  const viewId = viewState.split(divider, 2)[0];
7005
- const viewStateViewId = viewId.indexOf((0, Const_1.$nsp)(Const_1.P_VIEWSTATE)) === -1 ? viewId : "";
7183
+ const viewStateViewId = viewId.indexOf((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)) === -1 ? viewId : "";
7006
7184
  // myfaces specific, we in non portlet environments prepend the viewId
7007
7185
  // even without being in a naming container, the other components ignore that
7008
7186
  return form.id.value.indexOf(viewStateViewId) === 0 ? viewStateViewId : "";
7009
7187
  }
7010
7188
  function resolveViewRootId(form) {
7011
- const viewState = form.querySelectorAll(`input[type='hidden'][name*='${(0, Const_1.$nsp)(Const_1.P_VIEWSTATE)}']`).attr("name").orElse("").value;
7012
- const divider = (0, Const_1.$faces)().separatorchar;
7189
+ const viewState = form.querySelectorAll(`input[type='hidden'][name*='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)}']`).attr("name").orElse("").value;
7190
+ const divider = (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$faces)().separatorchar;
7013
7191
  const viewId = viewState.split(divider, 2)[0];
7014
7192
  //different to the identifier the form id is never prepended to the viewstate
7015
- return viewId.indexOf((0, Const_1.$nsp)(Const_1.P_VIEWSTATE)) === -1 ? viewId : "";
7193
+ return viewId.indexOf((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)) === -1 ? viewId : "";
7016
7194
  }
7017
7195
  /**
7018
7196
  * as per jsdoc before the request it must be ensured that every post argument
@@ -7022,19 +7200,19 @@ function resolveViewRootId(form) {
7022
7200
  * @private
7023
7201
  */
7024
7202
  function resoveNamingContainerMapper(internalContext) {
7025
- const isNamedViewRoot = internalContext.getIf(Const_1.NAMED_VIEWROOT).isPresent();
7203
+ const isNamedViewRoot = internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.NAMED_VIEWROOT).isPresent();
7026
7204
  if (!isNamedViewRoot) {
7027
7205
  return (key, value) => [key, value];
7028
7206
  }
7029
- const partialId = internalContext.getIf(Const_1.NAMING_CONTAINER_ID).value;
7030
- const SEP = (0, Const_1.$faces)().separatorchar;
7207
+ const partialId = internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.NAMING_CONTAINER_ID).value;
7208
+ const SEP = (0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$faces)().separatorchar;
7031
7209
  const prefix = partialId + SEP;
7032
7210
  return (key, value) => (key.indexOf(prefix) == 0) ? [key, value] : [prefix + key, value];
7033
7211
  }
7034
7212
  function resolveTimeout(options) {
7035
7213
  var _a;
7036
- let getCfg = Lang_1.ExtLang.getLocalOrGlobalConfig;
7037
- return (_a = options.getIf(Const_1.CTX_OPTIONS_TIMEOUT).value) !== null && _a !== void 0 ? _a : getCfg(options.value, Const_1.CTX_OPTIONS_TIMEOUT, 0);
7214
+ let getCfg = _util_Lang__WEBPACK_IMPORTED_MODULE_2__.ExtLang.getLocalOrGlobalConfig;
7215
+ return (_a = options.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.CTX_OPTIONS_TIMEOUT).value) !== null && _a !== void 0 ? _a : getCfg(options.value, _core_Const__WEBPACK_IMPORTED_MODULE_1__.CTX_OPTIONS_TIMEOUT, 0);
7038
7216
  }
7039
7217
  /**
7040
7218
  * resolve the delay from the options and/or the request context and or the configuration
@@ -7045,11 +7223,11 @@ function resolveDelay(options) {
7045
7223
  // null, 'none', or undefined will automatically be mapped to 0 aka no delay
7046
7224
  // the config delay will be dropped not needed anymore, it does not really
7047
7225
  // make sense anymore now that it is part of a local spec
7048
- let ret = options.getIf(Const_1.CTX_OPTIONS_DELAY).orElse(0).value;
7226
+ let ret = options.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.CTX_OPTIONS_DELAY).orElse(0).value;
7049
7227
  // if delay === none, no delay must be used, aka delay 0
7050
- ret = (Const_1.DELAY_NONE === ret) ? 0 : ret;
7228
+ ret = (_core_Const__WEBPACK_IMPORTED_MODULE_1__.DELAY_NONE === ret) ? 0 : ret;
7051
7229
  // negative, or invalid values will automatically get a js exception
7052
- Assertions_1.Assertions.assertDelay(ret);
7230
+ _util_Assertions__WEBPACK_IMPORTED_MODULE_4__.Assertions.assertDelay(ret);
7053
7231
  return ret;
7054
7232
  }
7055
7233
  /**
@@ -7059,7 +7237,7 @@ function resolveDelay(options) {
7059
7237
  */
7060
7238
  function resolveWindowId(options) {
7061
7239
  var _a, _b;
7062
- return (_b = (_a = options === null || options === void 0 ? void 0 : options.value) === null || _a === void 0 ? void 0 : _a.windowId) !== null && _b !== void 0 ? _b : ExtDomQuery_1.ExtDomQuery.windowId.value;
7240
+ return (_b = (_a = options === null || options === void 0 ? void 0 : options.value) === null || _a === void 0 ? void 0 : _a.windowId) !== null && _b !== void 0 ? _b : _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_3__.ExtDomQuery.windowId.value;
7063
7241
  }
7064
7242
  /**
7065
7243
  * cross port from the dojo lib
@@ -7099,8 +7277,8 @@ function getEventTarget(evt) {
7099
7277
  function resolveDefaults(event, opts, el = null) {
7100
7278
  var _a;
7101
7279
  //deep copy the options, so that further transformations to not backfire into the callers
7102
- const elem = mona_dish_1.DQ.byId(el || event.target, true);
7103
- const options = new ExtDomQuery_1.ExtConfig(opts).deepCopy;
7280
+ const elem = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(el || event.target, true);
7281
+ const options = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_3__.ExtConfig(opts).deepCopy;
7104
7282
  return {
7105
7283
  options: options,
7106
7284
  elem: elem,
@@ -7117,9 +7295,17 @@ function resolveDefaults(event, opts, el = null) {
7117
7295
  /*!******************************************************!*\
7118
7296
  !*** ./src/main/typescript/impl/xhrCore/Response.ts ***!
7119
7297
  \******************************************************/
7120
- (__unused_webpack_module, exports, __webpack_require__) {
7121
-
7122
-
7298
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7299
+
7300
+ __webpack_require__.r(__webpack_exports__);
7301
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7302
+ /* harmony export */ Response: () => (/* binding */ Response)
7303
+ /* harmony export */ });
7304
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7305
+ /* harmony import */ var _ResponseProcessor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ResponseProcessor */ "./src/main/typescript/impl/xhrCore/ResponseProcessor.ts");
7306
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7307
+ /* harmony import */ var _ResponseDataResolver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ResponseDataResolver */ "./src/main/typescript/impl/xhrCore/ResponseDataResolver.ts");
7308
+ /* harmony import */ var _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7123
7309
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
7124
7310
  * contributor license agreements. See the NOTICE file distributed with
7125
7311
  * this work for additional information regarding copyright ownership.
@@ -7135,13 +7321,11 @@ function resolveDefaults(event, opts, el = null) {
7135
7321
  * See the License for the specific language governing permissions and
7136
7322
  * limitations under the License.
7137
7323
  */
7138
- Object.defineProperty(exports, "__esModule", ({ value: true }));
7139
- exports.Response = void 0;
7140
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7141
- const ResponseProcessor_1 = __webpack_require__(/*! ./ResponseProcessor */ "./src/main/typescript/impl/xhrCore/ResponseProcessor.ts");
7142
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7143
- const ResponseDataResolver_1 = __webpack_require__(/*! ./ResponseDataResolver */ "./src/main/typescript/impl/xhrCore/ResponseDataResolver.ts");
7144
- const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7324
+
7325
+
7326
+
7327
+
7328
+
7145
7329
  var Response;
7146
7330
  (function (Response) {
7147
7331
  /**
@@ -7156,13 +7340,13 @@ var Response;
7156
7340
  *
7157
7341
  */
7158
7342
  function processResponse(request, context) {
7159
- let req = ExtDomQuery_1.ExtConfig.fromNullable(request);
7160
- let { externalContext, internalContext } = (0, ResponseDataResolver_1.resolveContexts)(context);
7161
- let responseXML = (0, ResponseDataResolver_1.resolveResponseXML)(req);
7162
- let responseProcessor = new ResponseProcessor_1.ResponseProcessor(req, externalContext, internalContext);
7163
- internalContext.assign(Const_1.RESPONSE_XML).value = responseXML;
7343
+ let req = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_4__.ExtConfig.fromNullable(request);
7344
+ let { externalContext, internalContext } = (0,_ResponseDataResolver__WEBPACK_IMPORTED_MODULE_3__.resolveContexts)(context);
7345
+ let responseXML = (0,_ResponseDataResolver__WEBPACK_IMPORTED_MODULE_3__.resolveResponseXML)(req);
7346
+ let responseProcessor = new _ResponseProcessor__WEBPACK_IMPORTED_MODULE_1__.ResponseProcessor(req, externalContext, internalContext);
7347
+ internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_2__.RESPONSE_XML).value = responseXML;
7164
7348
  // we now process the partial tags, or in none given raise an error
7165
- responseXML.querySelectorAll(Const_1.XML_TAG_PARTIAL_RESP)
7349
+ responseXML.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_PARTIAL_RESP)
7166
7350
  .each(item => processPartialTag(item, responseProcessor, internalContext));
7167
7351
  // We now process the viewStates, client windows and the elements to be evaluated are delayed.
7168
7352
  // The reason for this is that often it is better
@@ -7192,21 +7376,21 @@ var Response;
7192
7376
  // under or in body as identifier
7193
7377
  var _a;
7194
7378
  let partialId = (_a = node === null || node === void 0 ? void 0 : node.id) === null || _a === void 0 ? void 0 : _a.value;
7195
- internalContext.assignIf(!!partialId, Const_1.NAMING_CONTAINER_ID).value = partialId; // second case mojarra
7379
+ internalContext.assignIf(!!partialId, _core_Const__WEBPACK_IMPORTED_MODULE_2__.NAMING_CONTAINER_ID).value = partialId; // second case mojarra
7196
7380
  // there must be at least one container viewstate element resembling the viewroot that we know
7197
7381
  // this is named
7198
7382
  responseProcessor.updateNamedViewRootState();
7199
- const SEL_SUB_TAGS = [Const_1.XML_TAG_ERROR, Const_1.XML_TAG_REDIRECT, Const_1.XML_TAG_CHANGES].join(",");
7383
+ const SEL_SUB_TAGS = [_core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_ERROR, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_REDIRECT, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_CHANGES].join(",");
7200
7384
  // now we can process the main operations
7201
7385
  node.querySelectorAll(SEL_SUB_TAGS).each((node) => {
7202
7386
  switch (node.tagName.value) {
7203
- case Const_1.XML_TAG_ERROR:
7387
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_ERROR:
7204
7388
  responseProcessor.error(node);
7205
7389
  break;
7206
- case Const_1.XML_TAG_REDIRECT:
7390
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_REDIRECT:
7207
7391
  responseProcessor.redirect(node);
7208
7392
  break;
7209
- case Const_1.XML_TAG_CHANGES:
7393
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_CHANGES:
7210
7394
  processChangesTag(node, responseProcessor);
7211
7395
  break;
7212
7396
  }
@@ -7214,7 +7398,7 @@ var Response;
7214
7398
  }
7215
7399
  let processInsert = function (responseProcessor, node) {
7216
7400
  // path1 insert after as child tags
7217
- if (node.querySelectorAll([Const_1.XML_TAG_BEFORE, Const_1.XML_TAG_AFTER].join(",")).length) {
7401
+ if (node.querySelectorAll([_core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_BEFORE, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_AFTER].join(",")).length) {
7218
7402
  responseProcessor.insertWithSubTags(node);
7219
7403
  }
7220
7404
  else { // insert before after with id
@@ -7228,25 +7412,25 @@ var Response;
7228
7412
  * @param responseProcessor
7229
7413
  */
7230
7414
  function processChangesTag(node, responseProcessor) {
7231
- const ALLOWED_TAGS = [Const_1.XML_TAG_UPDATE, Const_1.XML_TAG_EVAL, Const_1.XML_TAG_INSERT, Const_1.XML_TAG_DELETE, Const_1.XML_TAG_ATTRIBUTES, Const_1.XML_TAG_EXTENSION].join(", ");
7415
+ const ALLOWED_TAGS = [_core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_UPDATE, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_EVAL, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_INSERT, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_DELETE, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_ATTRIBUTES, _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_EXTENSION].join(", ");
7232
7416
  node.querySelectorAll(ALLOWED_TAGS).each((node) => {
7233
7417
  switch (node.tagName.value) {
7234
- case Const_1.XML_TAG_UPDATE:
7418
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_UPDATE:
7235
7419
  processUpdateTag(node, responseProcessor);
7236
7420
  break;
7237
- case Const_1.XML_TAG_EVAL:
7421
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_EVAL:
7238
7422
  responseProcessor.eval(node);
7239
7423
  break;
7240
- case Const_1.XML_TAG_INSERT:
7424
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_INSERT:
7241
7425
  processInsert(responseProcessor, node);
7242
7426
  break;
7243
- case Const_1.XML_TAG_DELETE:
7427
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_DELETE:
7244
7428
  responseProcessor.delete(node);
7245
7429
  break;
7246
- case Const_1.XML_TAG_ATTRIBUTES:
7430
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_ATTRIBUTES:
7247
7431
  responseProcessor.attributes(node);
7248
7432
  break;
7249
- case Const_1.XML_TAG_EXTENSION:
7433
+ case _core_Const__WEBPACK_IMPORTED_MODULE_2__.XML_TAG_EXTENSION:
7250
7434
  break;
7251
7435
  }
7252
7436
  });
@@ -7286,24 +7470,24 @@ var Response;
7286
7470
  function handleElementUpdate(node, responseProcessor) {
7287
7471
  let cdataBlock = node.cDATAAsString;
7288
7472
  switch (node.id.value) {
7289
- case (0, Const_1.$nsp)(Const_1.P_VIEWROOT):
7290
- responseProcessor.replaceViewRoot(mona_dish_1.DQ.fromMarkup(cdataBlock.substring(cdataBlock.indexOf("<html"))));
7473
+ case (0,_core_Const__WEBPACK_IMPORTED_MODULE_2__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_2__.P_VIEWROOT):
7474
+ responseProcessor.replaceViewRoot(mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(cdataBlock.substring(cdataBlock.indexOf("<html"))));
7291
7475
  break;
7292
- case (0, Const_1.$nsp)(Const_1.P_VIEWHEAD):
7293
- responseProcessor.replaceHead(mona_dish_1.DQ.fromMarkup(cdataBlock));
7476
+ case (0,_core_Const__WEBPACK_IMPORTED_MODULE_2__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_2__.P_VIEWHEAD):
7477
+ responseProcessor.replaceHead(mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(cdataBlock));
7294
7478
  break;
7295
- case (0, Const_1.$nsp)(Const_1.P_VIEWBODY):
7296
- responseProcessor.replaceBody(mona_dish_1.DQ.fromMarkup(cdataBlock));
7479
+ case (0,_core_Const__WEBPACK_IMPORTED_MODULE_2__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_2__.P_VIEWBODY):
7480
+ responseProcessor.replaceBody(mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(cdataBlock));
7297
7481
  break;
7298
- case (0, Const_1.$nsp)(Const_1.P_RESOURCE):
7299
- responseProcessor.addToHead(mona_dish_1.DQ.fromMarkup(cdataBlock));
7482
+ case (0,_core_Const__WEBPACK_IMPORTED_MODULE_2__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_2__.P_RESOURCE):
7483
+ responseProcessor.addToHead(mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(cdataBlock));
7300
7484
  break;
7301
7485
  default: // htmlItem replacement
7302
7486
  responseProcessor.update(node, cdataBlock);
7303
7487
  break;
7304
7488
  }
7305
7489
  }
7306
- })(Response || (exports.Response = Response = {}));
7490
+ })(Response || (Response = {}));
7307
7491
 
7308
7492
 
7309
7493
  /***/ },
@@ -7312,9 +7496,19 @@ var Response;
7312
7496
  /*!******************************************************************!*\
7313
7497
  !*** ./src/main/typescript/impl/xhrCore/ResponseDataResolver.ts ***!
7314
7498
  \******************************************************************/
7315
- (__unused_webpack_module, exports, __webpack_require__) {
7316
-
7317
-
7499
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7500
+
7501
+ __webpack_require__.r(__webpack_exports__);
7502
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7503
+ /* harmony export */ resolveContexts: () => (/* binding */ resolveContexts),
7504
+ /* harmony export */ resolveResponseXML: () => (/* binding */ resolveResponseXML),
7505
+ /* harmony export */ resolveSourceElement: () => (/* binding */ resolveSourceElement),
7506
+ /* harmony export */ resolveSourceForm: () => (/* binding */ resolveSourceForm)
7507
+ /* harmony export */ });
7508
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7509
+ /* harmony import */ var _util_Assertions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
7510
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7511
+ /* harmony import */ var _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7318
7512
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
7319
7513
  * contributor license agreements. See the NOTICE file distributed with
7320
7514
  * this work for additional information regarding copyright ownership.
@@ -7330,16 +7524,11 @@ var Response;
7330
7524
  * See the License for the specific language governing permissions and
7331
7525
  * limitations under the License.
7332
7526
  */
7333
- Object.defineProperty(exports, "__esModule", ({ value: true }));
7334
- exports.resolveResponseXML = resolveResponseXML;
7335
- exports.resolveContexts = resolveContexts;
7336
- exports.resolveSourceElement = resolveSourceElement;
7337
- exports.resolveSourceForm = resolveSourceForm;
7338
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7339
- const Assertions_1 = __webpack_require__(/*! ../util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
7340
- const mona_dish_2 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7341
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7342
- const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7527
+
7528
+
7529
+
7530
+
7531
+
7343
7532
  /**
7344
7533
  * Resolver functions for various aspects of the response data
7345
7534
  *
@@ -7356,8 +7545,8 @@ const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main
7356
7545
  *
7357
7546
  */
7358
7547
  function resolveResponseXML(request) {
7359
- let ret = new mona_dish_1.XMLQuery((0, Const_1.$nsp)(request.getIf(Const_1.SEL_RESPONSE_XML).value));
7360
- Assertions_1.Assertions.assertValidXMLResponse(ret);
7548
+ let ret = new mona_dish__WEBPACK_IMPORTED_MODULE_0__.XMLQuery((0,_core_Const__WEBPACK_IMPORTED_MODULE_2__.$nsp)(request.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_2__.SEL_RESPONSE_XML).value));
7549
+ _util_Assertions__WEBPACK_IMPORTED_MODULE_1__.Assertions.assertValidXMLResponse(ret);
7361
7550
  return ret;
7362
7551
  }
7363
7552
  /**
@@ -7372,17 +7561,17 @@ function resolveContexts(context) {
7372
7561
  * we split the context apart into the external one and
7373
7562
  * some internal values
7374
7563
  */
7375
- let externalContext = ExtDomQuery_1.ExtConfig.fromNullable(context);
7376
- let internalContext = externalContext.getIf(Const_1.CTX_PARAM_MF_INTERNAL);
7564
+ let externalContext = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_3__.ExtConfig.fromNullable(context);
7565
+ let internalContext = externalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_2__.CTX_PARAM_MF_INTERNAL);
7377
7566
  if (!internalContext.isPresent()) {
7378
- internalContext = ExtDomQuery_1.ExtConfig.fromNullable({});
7567
+ internalContext = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_3__.ExtConfig.fromNullable({});
7379
7568
  }
7380
7569
  /**
7381
7570
  * prepare storage for some deferred operations
7382
7571
  */
7383
- internalContext.assign(Const_1.DEFERRED_HEAD_INSERTS).value = [];
7384
- internalContext.assign(Const_1.UPDATE_FORMS).value = [];
7385
- internalContext.assign(Const_1.UPDATE_ELEMS).value = [];
7572
+ internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_2__.DEFERRED_HEAD_INSERTS).value = [];
7573
+ internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_2__.UPDATE_FORMS).value = [];
7574
+ internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_2__.UPDATE_ELEMS).value = [];
7386
7575
  return { externalContext, internalContext };
7387
7576
  }
7388
7577
  /**
@@ -7394,7 +7583,7 @@ function resolveContexts(context) {
7394
7583
  */
7395
7584
  function resolveSourceElement(context, internalContext) {
7396
7585
  let elemId = resolveSourceElementId(context, internalContext);
7397
- return mona_dish_2.DQ.byId(elemId.value, true);
7586
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(elemId.value, true);
7398
7587
  }
7399
7588
  /**
7400
7589
  * fetches the source form if it still exists
@@ -7405,17 +7594,17 @@ function resolveSourceElement(context, internalContext) {
7405
7594
  * @param elem
7406
7595
  */
7407
7596
  function resolveSourceForm(internalContext, elem) {
7408
- let sourceFormId = internalContext.getIf(Const_1.CTX_PARAM_SRC_FRM_ID);
7409
- let sourceForm = new mona_dish_2.DQ(sourceFormId.isPresent() ? document.forms[sourceFormId.value] : null);
7410
- sourceForm = sourceForm.orElseLazy(() => elem.firstParent(Const_1.HTML_TAG_FORM))
7411
- .orElseLazy(() => elem.querySelectorAll(Const_1.HTML_TAG_FORM))
7412
- .orElseLazy(() => mona_dish_2.DQ.querySelectorAll(Const_1.HTML_TAG_FORM));
7597
+ let sourceFormId = internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_2__.CTX_PARAM_SRC_FRM_ID);
7598
+ let sourceForm = new mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ(sourceFormId.isPresent() ? document.forms[sourceFormId.value] : null);
7599
+ sourceForm = sourceForm.orElseLazy(() => elem.firstParent(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM))
7600
+ .orElseLazy(() => elem.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM))
7601
+ .orElseLazy(() => mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_2__.HTML_TAG_FORM));
7413
7602
  return sourceForm;
7414
7603
  }
7415
7604
  function resolveSourceElementId(context, internalContext) {
7416
7605
  //?internal context?? used to be external one
7417
- return internalContext.getIf(Const_1.CTX_PARAM_SRC_CTL_ID)
7418
- .orElseLazy(() => context.getIf(Const_1.SOURCE, "id").value);
7606
+ return internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_2__.CTX_PARAM_SRC_CTL_ID)
7607
+ .orElseLazy(() => context.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_2__.SOURCE, "id").value);
7419
7608
  }
7420
7609
 
7421
7610
 
@@ -7425,9 +7614,22 @@ function resolveSourceElementId(context, internalContext) {
7425
7614
  /*!***************************************************************!*\
7426
7615
  !*** ./src/main/typescript/impl/xhrCore/ResponseProcessor.ts ***!
7427
7616
  \***************************************************************/
7428
- (__unused_webpack_module, exports, __webpack_require__) {
7429
-
7430
-
7617
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7618
+
7619
+ __webpack_require__.r(__webpack_exports__);
7620
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7621
+ /* harmony export */ ResponseProcessor: () => (/* binding */ ResponseProcessor)
7622
+ /* harmony export */ });
7623
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7624
+ /* harmony import */ var _AjaxImpl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AjaxImpl */ "./src/main/typescript/impl/AjaxImpl.ts");
7625
+ /* harmony import */ var _util_Assertions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
7626
+ /* harmony import */ var _ErrorData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ErrorData */ "./src/main/typescript/impl/xhrCore/ErrorData.ts");
7627
+ /* harmony import */ var _core_ImplTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/ImplTypes */ "./src/main/typescript/impl/core/ImplTypes.ts");
7628
+ /* harmony import */ var _EventData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./EventData */ "./src/main/typescript/impl/xhrCore/EventData.ts");
7629
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7630
+ /* harmony import */ var _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7631
+ /* harmony import */ var _util_HiddenInputBuilder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/HiddenInputBuilder */ "./src/main/typescript/impl/util/HiddenInputBuilder.ts");
7632
+ /* harmony import */ var _util_Lang__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
7431
7633
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
7432
7634
  * contributor license agreements. See the NOTICE file distributed with
7433
7635
  * this work for additional information regarding copyright ownership.
@@ -7443,20 +7645,18 @@ function resolveSourceElementId(context, internalContext) {
7443
7645
  * See the License for the specific language governing permissions and
7444
7646
  * limitations under the License.
7445
7647
  */
7446
- Object.defineProperty(exports, "__esModule", ({ value: true }));
7447
- exports.ResponseProcessor = void 0;
7448
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7449
- const AjaxImpl_1 = __webpack_require__(/*! ../AjaxImpl */ "./src/main/typescript/impl/AjaxImpl.ts");
7450
- const Assertions_1 = __webpack_require__(/*! ../util/Assertions */ "./src/main/typescript/impl/util/Assertions.ts");
7451
- const ErrorData_1 = __webpack_require__(/*! ./ErrorData */ "./src/main/typescript/impl/xhrCore/ErrorData.ts");
7452
- const ImplTypes_1 = __webpack_require__(/*! ../core/ImplTypes */ "./src/main/typescript/impl/core/ImplTypes.ts");
7453
- const EventData_1 = __webpack_require__(/*! ./EventData */ "./src/main/typescript/impl/xhrCore/EventData.ts");
7454
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7455
- const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
7456
- const HiddenInputBuilder_1 = __webpack_require__(/*! ../util/HiddenInputBuilder */ "./src/main/typescript/impl/util/HiddenInputBuilder.ts");
7457
- const trim = mona_dish_1.Lang.trim;
7458
- const Lang_1 = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
7459
- const ofAssoc = Lang_1.ExtLang.ofAssoc;
7648
+
7649
+
7650
+
7651
+
7652
+
7653
+
7654
+
7655
+
7656
+
7657
+ const trim = mona_dish__WEBPACK_IMPORTED_MODULE_0__.Lang.trim;
7658
+
7659
+ const ofAssoc = _util_Lang__WEBPACK_IMPORTED_MODULE_9__.ExtLang.ofAssoc;
7460
7660
  /**
7461
7661
  * Response processor
7462
7662
  *
@@ -7482,11 +7682,11 @@ class ResponseProcessor {
7482
7682
  * the data incoming must represent the html representation of the head itself one way or the other
7483
7683
  */
7484
7684
  replaceHead(shadowDocument) {
7485
- const shadowHead = shadowDocument.querySelectorAll(Const_1.HTML_TAG_HEAD);
7685
+ const shadowHead = shadowDocument.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_HEAD);
7486
7686
  if (!shadowHead.isPresent()) {
7487
7687
  return;
7488
7688
  }
7489
- const head = ExtDomQuery_1.ExtDomQuery.querySelectorAll(Const_1.HTML_TAG_HEAD);
7689
+ const head = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_HEAD);
7490
7690
  // full replace we delete everything
7491
7691
  head.childNodes.delete();
7492
7692
  this.addToHead(shadowHead);
@@ -7494,20 +7694,20 @@ class ResponseProcessor {
7494
7694
  head.copyAttrs(shadowHead);
7495
7695
  }
7496
7696
  addToHead(shadowHead) {
7497
- const mappedHeadData = new ExtDomQuery_1.ExtDomQuery(shadowHead);
7498
- const scriptTags = [Const_1.HTML_TAG_SCRIPT];
7697
+ const mappedHeadData = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery(shadowHead);
7698
+ const scriptTags = [_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_SCRIPT];
7499
7699
  const nonExecutables = mappedHeadData.filter(item => scriptTags.indexOf(item.tagName.orElse("").value) == -1);
7500
7700
  nonExecutables.runHeadInserts(true);
7501
7701
  //incoming either the outer head tag or its children
7502
7702
  const nodesToAdd = (shadowHead.tagName.value === "HEAD") ? shadowHead.childNodes : shadowHead;
7503
7703
  // this is stored for "post" processing
7504
7704
  // after the rest of the "physical build up", head before body
7505
- const scriptElements = new mona_dish_1.DomQuery(...nodesToAdd.asArray
7705
+ const scriptElements = new mona_dish__WEBPACK_IMPORTED_MODULE_0__.DomQuery(...nodesToAdd.asArray
7506
7706
  .filter(item => scriptTags.indexOf(item.tagName.orElse("").value) != -1));
7507
7707
  this.addToHeadDeferred(scriptElements);
7508
7708
  }
7509
7709
  addToHeadDeferred(newElements) {
7510
- this.internalContext.assign(Const_1.DEFERRED_HEAD_INSERTS).value.push(newElements);
7710
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.DEFERRED_HEAD_INSERTS).value.push(newElements);
7511
7711
  }
7512
7712
  /**
7513
7713
  * replaces the body in the expected manner
@@ -7518,18 +7718,18 @@ class ResponseProcessor {
7518
7718
  * @param shadowDocument .. an incoming shadow document hosting the new nodes
7519
7719
  */
7520
7720
  replaceBody(shadowDocument) {
7521
- const shadowBody = shadowDocument.querySelectorAll(Const_1.HTML_TAG_BODY);
7721
+ const shadowBody = shadowDocument.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_BODY);
7522
7722
  if (!shadowBody.isPresent()) {
7523
7723
  return;
7524
7724
  }
7525
7725
  const shadowInnerHTML = shadowBody.innerHTML;
7526
- const resultingBody = ExtDomQuery_1.ExtDomQuery.querySelectorAll(Const_1.HTML_TAG_BODY);
7527
- const updateForms = resultingBody.querySelectorAll(Const_1.HTML_TAG_FORM);
7726
+ const resultingBody = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_BODY);
7727
+ const updateForms = resultingBody.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_FORM);
7528
7728
  // main difference, we cannot replace the body itself, but only its content
7529
7729
  // we need a separate step for post-processing the incoming
7530
7730
  // attributes, like classes, styles etc...
7531
7731
  resultingBody.html(shadowInnerHTML).copyAttrs(shadowBody);
7532
- this.externalContext.assign((0, Const_1.$nsp)(Const_1.P_RENDER_OVERRIDE)).value = "@all";
7732
+ this.externalContext.assign((0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_RENDER_OVERRIDE)).value = "@all";
7533
7733
  this.storeForPostProcessing(updateForms, resultingBody);
7534
7734
  }
7535
7735
  /**
@@ -7538,7 +7738,7 @@ class ResponseProcessor {
7538
7738
  * @param node the node to eval
7539
7739
  */
7540
7740
  eval(node) {
7541
- ExtDomQuery_1.ExtDomQuery.globalEval(node.cDATAAsString);
7741
+ _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery.globalEval(node.cDATAAsString);
7542
7742
  }
7543
7743
  /**
7544
7744
  * processes an incoming error from the response
@@ -7553,20 +7753,20 @@ class ResponseProcessor {
7553
7753
  * <error-message><![CDATA[message]]></error-message>
7554
7754
  * <error>
7555
7755
  */
7556
- const mergedErrorData = new ExtDomQuery_1.ExtConfig({});
7557
- mergedErrorData.assign(Const_1.SOURCE).value = this.externalContext.getIf(Const_1.P_AJAX_SOURCE).get(0).value;
7558
- mergedErrorData.assign(Const_1.ERROR_NAME).value = node.querySelectorAll(Const_1.ERROR_NAME).textContent(Const_1.EMPTY_STR);
7559
- mergedErrorData.assign(Const_1.ERROR_MESSAGE).value = node.querySelectorAll(Const_1.ERROR_MESSAGE).cDATAAsString;
7560
- const hasResponseXML = this.internalContext.get(Const_1.RESPONSE_XML).isPresent();
7756
+ const mergedErrorData = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtConfig({});
7757
+ mergedErrorData.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.SOURCE).value = this.externalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_AJAX_SOURCE).get(0).value;
7758
+ mergedErrorData.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ERROR_NAME).value = node.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ERROR_NAME).textContent(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_STR);
7759
+ mergedErrorData.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ERROR_MESSAGE).value = node.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ERROR_MESSAGE).cDATAAsString;
7760
+ const hasResponseXML = this.internalContext.get(_core_Const__WEBPACK_IMPORTED_MODULE_6__.RESPONSE_XML).isPresent();
7561
7761
  //we now store the response xml also in the error data for further details
7562
- mergedErrorData.assignIf(hasResponseXML, Const_1.RESPONSE_XML).value = this.internalContext.getIf(Const_1.RESPONSE_XML).value.get(0).value;
7762
+ mergedErrorData.assignIf(hasResponseXML, _core_Const__WEBPACK_IMPORTED_MODULE_6__.RESPONSE_XML).value = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.RESPONSE_XML).value.get(0).value;
7563
7763
  // error post-processing and enrichment (standard messages from keys)
7564
- const errorData = ErrorData_1.ErrorData.fromServerError(mergedErrorData);
7764
+ const errorData = _ErrorData__WEBPACK_IMPORTED_MODULE_3__.ErrorData.fromServerError(mergedErrorData);
7565
7765
  // we now trigger an internally stored onError function which might be an attached to the context
7566
7766
  // either we do not have an internal on error, or an on error has been based via params from the outside.
7567
7767
  // In both cases they are attached to our contexts
7568
7768
  this.triggerOnError(errorData);
7569
- AjaxImpl_1.Implementation.sendError(errorData);
7769
+ _AjaxImpl__WEBPACK_IMPORTED_MODULE_1__.Implementation.sendError(errorData);
7570
7770
  }
7571
7771
  /**
7572
7772
  * process the redirect operation
@@ -7574,9 +7774,9 @@ class ResponseProcessor {
7574
7774
  * @param node
7575
7775
  */
7576
7776
  redirect(node) {
7577
- Assertions_1.Assertions.assertUrlExists(node);
7578
- const redirectUrl = trim(node.attr(Const_1.ATTR_URL).value);
7579
- if (redirectUrl != Const_1.EMPTY_STR) {
7777
+ _util_Assertions__WEBPACK_IMPORTED_MODULE_2__.Assertions.assertUrlExists(node);
7778
+ const redirectUrl = trim(node.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ATTR_URL).value);
7779
+ if (redirectUrl != _core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_STR) {
7580
7780
  window.location.href = redirectUrl;
7581
7781
  }
7582
7782
  }
@@ -7586,8 +7786,8 @@ class ResponseProcessor {
7586
7786
  * @param cdataBlock the cdata block with the new html code
7587
7787
  */
7588
7788
  update(node, cdataBlock) {
7589
- const result = ExtDomQuery_1.ExtDomQuery.byId(node.id.value, true).outerHTML(cdataBlock, false, false);
7590
- const sourceForm = result === null || result === void 0 ? void 0 : result.firstParent(Const_1.HTML_TAG_FORM).orElseLazy(() => result.byTagName(Const_1.HTML_TAG_FORM, true));
7789
+ const result = _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery.byId(node.id.value, true).outerHTML(cdataBlock, false, false);
7790
+ const sourceForm = result === null || result === void 0 ? void 0 : result.firstParent(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_FORM).orElseLazy(() => result.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_FORM, true));
7591
7791
  if (sourceForm) {
7592
7792
  this.storeForPostProcessing(sourceForm, result);
7593
7793
  }
@@ -7597,7 +7797,7 @@ class ResponseProcessor {
7597
7797
  * @param node
7598
7798
  */
7599
7799
  delete(node) {
7600
- mona_dish_1.DQ.byId(node.id.value, true).delete();
7800
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(node.id.value, true).delete();
7601
7801
  }
7602
7802
  /**
7603
7803
  * attributes leaf tag... process the attributes
@@ -7605,9 +7805,9 @@ class ResponseProcessor {
7605
7805
  * @param node
7606
7806
  */
7607
7807
  attributes(node) {
7608
- const elem = mona_dish_1.DQ.byId(node.id.value, true);
7609
- node.byTagName(Const_1.XML_TAG_ATTR).each((item) => {
7610
- elem.attr(item.attr(Const_1.ATTR_NAME).value).value = item.attr(Const_1.ATTR_VALUE).value;
7808
+ const elem = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(node.id.value, true);
7809
+ node.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_6__.XML_TAG_ATTR).each((item) => {
7810
+ elem.attr(item.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ATTR_NAME).value).value = item.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ATTR_VALUE).value;
7611
7811
  });
7612
7812
  }
7613
7813
  /**
@@ -7624,17 +7824,17 @@ class ResponseProcessor {
7624
7824
  */
7625
7825
  insert(node) {
7626
7826
  //let insertId = node.id; //not used atm
7627
- const before = node.attr(Const_1.XML_TAG_BEFORE);
7628
- const after = node.attr(Const_1.XML_TAG_AFTER);
7629
- const insertNodes = mona_dish_1.DQ.fromMarkup(node.cDATAAsString);
7827
+ const before = node.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.XML_TAG_BEFORE);
7828
+ const after = node.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.XML_TAG_AFTER);
7829
+ const insertNodes = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(node.cDATAAsString);
7630
7830
  if (before.isPresent()) {
7631
- mona_dish_1.DQ.byId(before.value, true).insertBefore(insertNodes);
7632
- this.internalContext.assign(Const_1.UPDATE_ELEMS).value.push(insertNodes);
7831
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(before.value, true).insertBefore(insertNodes);
7832
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_ELEMS).value.push(insertNodes);
7633
7833
  }
7634
7834
  if (after.isPresent()) {
7635
- const domQuery = mona_dish_1.DQ.byId(after.value, true);
7835
+ const domQuery = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(after.value, true);
7636
7836
  domQuery.insertAfter(insertNodes);
7637
- this.internalContext.assign(Const_1.UPDATE_ELEMS).value.push(insertNodes);
7837
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_ELEMS).value.push(insertNodes);
7638
7838
  }
7639
7839
  }
7640
7840
  /**
@@ -7643,22 +7843,22 @@ class ResponseProcessor {
7643
7843
  * @param node the node hosting the insert data
7644
7844
  */
7645
7845
  insertWithSubTags(node) {
7646
- const before = node.querySelectorAll(Const_1.XML_TAG_BEFORE);
7647
- const after = node.querySelectorAll(Const_1.XML_TAG_AFTER);
7846
+ const before = node.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.XML_TAG_BEFORE);
7847
+ const after = node.querySelectorAll(_core_Const__WEBPACK_IMPORTED_MODULE_6__.XML_TAG_AFTER);
7648
7848
  before.each(item => {
7649
- const insertId = item.attr(Const_1.ATTR_ID);
7650
- const insertNodes = mona_dish_1.DQ.fromMarkup(item.cDATAAsString);
7849
+ const insertId = item.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ATTR_ID);
7850
+ const insertNodes = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(item.cDATAAsString);
7651
7851
  if (insertId.isPresent()) {
7652
- mona_dish_1.DQ.byId(insertId.value, true).insertBefore(insertNodes);
7653
- this.internalContext.assign(Const_1.UPDATE_ELEMS).value.push(insertNodes);
7852
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(insertId.value, true).insertBefore(insertNodes);
7853
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_ELEMS).value.push(insertNodes);
7654
7854
  }
7655
7855
  });
7656
7856
  after.each(item => {
7657
- const insertId = item.attr(Const_1.ATTR_ID);
7658
- const insertNodes = mona_dish_1.DQ.fromMarkup(item.cDATAAsString);
7857
+ const insertId = item.attr(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ATTR_ID);
7858
+ const insertNodes = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(item.cDATAAsString);
7659
7859
  if (insertId.isPresent()) {
7660
- mona_dish_1.DQ.byId(insertId.value, true).insertAfter(insertNodes);
7661
- this.internalContext.assign(Const_1.UPDATE_ELEMS).value.push(insertNodes);
7860
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(insertId.value, true).insertAfter(insertNodes);
7861
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_ELEMS).value.push(insertNodes);
7662
7862
  }
7663
7863
  });
7664
7864
  }
@@ -7670,7 +7870,7 @@ class ResponseProcessor {
7670
7870
  processViewState(node) {
7671
7871
  if (ResponseProcessor.isViewStateNode(node)) {
7672
7872
  const state = node.cDATAAsString;
7673
- this.internalContext.assign(Const_1.APPLIED_VST, node.id.value).value = new ImplTypes_1.StateHolder((0, Const_1.$nsp)(node.id.value), state);
7873
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.APPLIED_VST, node.id.value).value = new _core_ImplTypes__WEBPACK_IMPORTED_MODULE_4__.StateHolder((0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(node.id.value), state);
7674
7874
  return true;
7675
7875
  }
7676
7876
  return false;
@@ -7678,7 +7878,7 @@ class ResponseProcessor {
7678
7878
  processClientWindow(node) {
7679
7879
  if (ResponseProcessor.isClientWindowNode(node)) {
7680
7880
  const state = node.cDATAAsString;
7681
- this.internalContext.assign(Const_1.APPLIED_CLIENT_WINDOW, node.id.value).value = new ImplTypes_1.StateHolder((0, Const_1.$nsp)(node.id.value), state);
7881
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.APPLIED_CLIENT_WINDOW, node.id.value).value = new _core_ImplTypes__WEBPACK_IMPORTED_MODULE_4__.StateHolder((0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(node.id.value), state);
7682
7882
  return true;
7683
7883
  }
7684
7884
  }
@@ -7687,10 +7887,10 @@ class ResponseProcessor {
7687
7887
  */
7688
7888
  globalEval() {
7689
7889
  // phase one, if we have head inserts, we build up those before going into the script eval phase
7690
- let insertHeadElems = new ExtDomQuery_1.ExtDomQuery(...this.internalContext.getIf(Const_1.DEFERRED_HEAD_INSERTS).value);
7890
+ let insertHeadElems = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery(...this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.DEFERRED_HEAD_INSERTS).value);
7691
7891
  insertHeadElems.runHeadInserts(true);
7692
7892
  // phase 2 we run a script eval on all updated elements in the body
7693
- let updateElems = new ExtDomQuery_1.ExtDomQuery(...this.internalContext.getIf(Const_1.UPDATE_ELEMS).value);
7893
+ let updateElems = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_7__.ExtDomQuery(...this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_ELEMS).value);
7694
7894
  updateElems.runCss();
7695
7895
  // phase 3, we do the same for the css
7696
7896
  updateElems.runScripts();
@@ -7702,10 +7902,10 @@ class ResponseProcessor {
7702
7902
  * as last lifecycle step, before going into the next request.
7703
7903
  */
7704
7904
  fixViewStates() {
7705
- ofAssoc(this.internalContext.getIf(Const_1.APPLIED_VST).orElse({}).value)
7905
+ ofAssoc(this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.APPLIED_VST).orElse({}).value)
7706
7906
  .forEach(([, value]) => {
7707
- const namingContainerId = this.internalContext.getIf(Const_1.NAMING_CONTAINER_ID);
7708
- const namedViewRoot = !!this.internalContext.getIf(Const_1.NAMED_VIEWROOT).value;
7907
+ const namingContainerId = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMING_CONTAINER_ID);
7908
+ const namedViewRoot = !!this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMED_VIEWROOT).value;
7709
7909
  const affectedForms = this.getContainerForms(namingContainerId)
7710
7910
  .filter(affectedForm => this.isInExecuteOrRender(affectedForm));
7711
7911
  this.appendViewStateToForms(affectedForms, namedViewRoot, value.value, namingContainerId.orElse("").value);
@@ -7716,23 +7916,23 @@ class ResponseProcessor {
7716
7916
  * is done.
7717
7917
  */
7718
7918
  fixClientWindow() {
7719
- ofAssoc(this.internalContext.getIf(Const_1.APPLIED_CLIENT_WINDOW).orElse({}).value)
7919
+ ofAssoc(this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.APPLIED_CLIENT_WINDOW).orElse({}).value)
7720
7920
  .forEach(([, value]) => {
7721
- const namingContainerId = this.internalContext.getIf(Const_1.NAMING_CONTAINER_ID);
7722
- const namedViewRoot = !!this.internalContext.getIf(Const_1.NAMED_VIEWROOT).value;
7921
+ const namingContainerId = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMING_CONTAINER_ID);
7922
+ const namedViewRoot = !!this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMED_VIEWROOT).value;
7723
7923
  const affectedForms = this.getContainerForms(namingContainerId)
7724
7924
  .filter(affectedForm => this.isInExecuteOrRender(affectedForm));
7725
7925
  this.appendClientWindowToForms(affectedForms, namedViewRoot, value.value, namingContainerId.orElse("").value);
7726
7926
  });
7727
7927
  }
7728
7928
  updateNamedViewRootState() {
7729
- let partialId = this.internalContext.getIf(Const_1.NAMING_CONTAINER_ID);
7730
- let namedViewRoot = this.internalContext.getIf(Const_1.NAMED_VIEWROOT);
7929
+ let partialId = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMING_CONTAINER_ID);
7930
+ let namedViewRoot = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMED_VIEWROOT);
7731
7931
  if (partialId.isPresent() &&
7732
7932
  (namedViewRoot.isAbsent() ||
7733
7933
  !namedViewRoot.value)) {
7734
- const SEP = (0, Const_1.$faces)().separatorchar;
7735
- this.internalContext.assign(Const_1.NAMED_VIEWROOT).value = (!!document.getElementById(partialId.value)) || (0, mona_dish_1.DQ$)(`input[name*='${(0, Const_1.$nsp)(Const_1.P_VIEWSTATE)}']`)
7934
+ const SEP = (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$faces)().separatorchar;
7935
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.NAMED_VIEWROOT).value = (!!document.getElementById(partialId.value)) || (0,mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ$)(`input[name*='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_VIEWSTATE)}']`)
7736
7936
  .filter(node => node.attr("name").value.indexOf(partialId.value + SEP) == 0).length > 0;
7737
7937
  }
7738
7938
  }
@@ -7740,10 +7940,10 @@ class ResponseProcessor {
7740
7940
  * all processing done we can close the request and send the appropriate events
7741
7941
  */
7742
7942
  done() {
7743
- const eventData = EventData_1.EventData.createFromRequest(this.request.value, this.internalContext, this.externalContext, Const_1.SUCCESS);
7943
+ const eventData = _EventData__WEBPACK_IMPORTED_MODULE_5__.EventData.createFromRequest(this.request.value, this.internalContext, this.externalContext, _core_Const__WEBPACK_IMPORTED_MODULE_6__.SUCCESS);
7744
7944
  //because some frameworks might decorate them over the context in the response
7745
- const eventHandler = this.externalContext.getIf(Const_1.ON_EVENT).orElseLazy(() => this.internalContext.getIf(Const_1.ON_EVENT).value).orElse(Const_1.EMPTY_FUNC).value;
7746
- AjaxImpl_1.Implementation.sendEvent(eventData, eventHandler);
7945
+ const eventHandler = this.externalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ON_EVENT).orElseLazy(() => this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ON_EVENT).value).orElse(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_FUNC).value;
7946
+ _AjaxImpl__WEBPACK_IMPORTED_MODULE_1__.Implementation.sendEvent(eventData, eventHandler);
7747
7947
  }
7748
7948
  /**
7749
7949
  * proper viewState -> form assignment
@@ -7753,7 +7953,7 @@ class ResponseProcessor {
7753
7953
  * @param namingContainerId
7754
7954
  */
7755
7955
  appendViewStateToForms(forms, namedViewRoot, viewState, namingContainerId = "") {
7756
- this.assignState(forms, (0, Const_1.$nsp)(Const_1.SEL_VIEWSTATE_ELEM), namedViewRoot, viewState, namingContainerId);
7956
+ this.assignState(forms, (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.SEL_VIEWSTATE_ELEM), namedViewRoot, viewState, namingContainerId);
7757
7957
  }
7758
7958
  /**
7759
7959
  * proper clientWindow -> form assignment
@@ -7763,7 +7963,7 @@ class ResponseProcessor {
7763
7963
  * @param namingContainerId
7764
7964
  */
7765
7965
  appendClientWindowToForms(forms, namedViewRoot, clientWindow, namingContainerId = "") {
7766
- this.assignState(forms, (0, Const_1.$nsp)(Const_1.SEL_CLIENT_WINDOW_ELEM), namedViewRoot, clientWindow, namingContainerId);
7966
+ this.assignState(forms, (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.SEL_CLIENT_WINDOW_ELEM), namedViewRoot, clientWindow, namingContainerId);
7767
7967
  }
7768
7968
  /**
7769
7969
  * generic append state which appends a certain state as hidden element to an existing set of forms
@@ -7782,7 +7982,7 @@ class ResponseProcessor {
7782
7982
  * @param form
7783
7983
  */
7784
7984
  const createAndAppendHiddenInput = (form) => {
7785
- return new HiddenInputBuilder_1.HiddenInputBuilder(selector)
7985
+ return new _util_HiddenInputBuilder__WEBPACK_IMPORTED_MODULE_8__.HiddenInputBuilder(selector)
7786
7986
  .withNamingContainerId(namingContainerId)
7787
7987
  .withParent(form)
7788
7988
  .withNamedViewRoot(namedViewRoot)
@@ -7810,7 +8010,7 @@ class ResponseProcessor {
7810
8010
  * @param updateForms the dom query object pointing to the forms which need to be updated
7811
8011
  */
7812
8012
  storeForUpdate(updateForms) {
7813
- this.internalContext.assign(Const_1.UPDATE_FORMS).value.push(updateForms);
8013
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_FORMS).value.push(updateForms);
7814
8014
  }
7815
8015
  /**
7816
8016
  * same for eval (js and css)
@@ -7818,7 +8018,7 @@ class ResponseProcessor {
7818
8018
  * @param toBeEvaluated
7819
8019
  */
7820
8020
  storeForEval(toBeEvaluated) {
7821
- this.internalContext.assign(Const_1.UPDATE_ELEMS).value.push(toBeEvaluated);
8021
+ this.internalContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_6__.UPDATE_ELEMS).value.push(toBeEvaluated);
7822
8022
  }
7823
8023
  /**
7824
8024
  * check whether a given XMLQuery node is an explicit viewState node
@@ -7828,10 +8028,10 @@ class ResponseProcessor {
7828
8028
  */
7829
8029
  static isViewStateNode(node) {
7830
8030
  var _a, _b, _c, _d, _e, _f;
7831
- const SEP = (0, Const_1.$faces)().separatorchar;
7832
- return "undefined" != typeof ((_a = node === null || node === void 0 ? void 0 : node.id) === null || _a === void 0 ? void 0 : _a.value) && (((_b = node === null || node === void 0 ? void 0 : node.id) === null || _b === void 0 ? void 0 : _b.value) == (0, Const_1.$nsp)(Const_1.P_VIEWSTATE) ||
7833
- ((_d = (_c = node === null || node === void 0 ? void 0 : node.id) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.indexOf([SEP, (0, Const_1.$nsp)(Const_1.P_VIEWSTATE)].join(Const_1.EMPTY_STR))) != -1 ||
7834
- ((_f = (_e = node === null || node === void 0 ? void 0 : node.id) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.indexOf([(0, Const_1.$nsp)(Const_1.P_VIEWSTATE), SEP].join(Const_1.EMPTY_STR))) != -1);
8031
+ const SEP = (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$faces)().separatorchar;
8032
+ return "undefined" != typeof ((_a = node === null || node === void 0 ? void 0 : node.id) === null || _a === void 0 ? void 0 : _a.value) && (((_b = node === null || node === void 0 ? void 0 : node.id) === null || _b === void 0 ? void 0 : _b.value) == (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_VIEWSTATE) ||
8033
+ ((_d = (_c = node === null || node === void 0 ? void 0 : node.id) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.indexOf([SEP, (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_VIEWSTATE)].join(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_STR))) != -1 ||
8034
+ ((_f = (_e = node === null || node === void 0 ? void 0 : node.id) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.indexOf([(0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_VIEWSTATE), SEP].join(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_STR))) != -1);
7835
8035
  }
7836
8036
  /**
7837
8037
  * incoming client window node also needs special processing
@@ -7841,13 +8041,13 @@ class ResponseProcessor {
7841
8041
  */
7842
8042
  static isClientWindowNode(node) {
7843
8043
  var _a, _b, _c, _d, _e, _f;
7844
- const SEP = (0, Const_1.$faces)().separatorchar;
7845
- return "undefined" != typeof ((_a = node === null || node === void 0 ? void 0 : node.id) === null || _a === void 0 ? void 0 : _a.value) && (((_b = node === null || node === void 0 ? void 0 : node.id) === null || _b === void 0 ? void 0 : _b.value) == (0, Const_1.$nsp)(Const_1.P_CLIENT_WINDOW) ||
7846
- ((_d = (_c = node === null || node === void 0 ? void 0 : node.id) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.indexOf([SEP, (0, Const_1.$nsp)(Const_1.P_CLIENT_WINDOW)].join(Const_1.EMPTY_STR))) != -1 ||
7847
- ((_f = (_e = node === null || node === void 0 ? void 0 : node.id) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.indexOf([(0, Const_1.$nsp)(Const_1.P_CLIENT_WINDOW), SEP].join(Const_1.EMPTY_STR))) != -1);
8044
+ const SEP = (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$faces)().separatorchar;
8045
+ return "undefined" != typeof ((_a = node === null || node === void 0 ? void 0 : node.id) === null || _a === void 0 ? void 0 : _a.value) && (((_b = node === null || node === void 0 ? void 0 : node.id) === null || _b === void 0 ? void 0 : _b.value) == (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_CLIENT_WINDOW) ||
8046
+ ((_d = (_c = node === null || node === void 0 ? void 0 : node.id) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.indexOf([SEP, (0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_CLIENT_WINDOW)].join(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_STR))) != -1 ||
8047
+ ((_f = (_e = node === null || node === void 0 ? void 0 : node.id) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.indexOf([(0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_CLIENT_WINDOW), SEP].join(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_STR))) != -1);
7848
8048
  }
7849
8049
  triggerOnError(errorData) {
7850
- this.externalContext.getIf(Const_1.ON_ERROR).orElseLazy(() => this.internalContext.getIf(Const_1.ON_ERROR).value).orElse(Const_1.EMPTY_FUNC).value(errorData);
8050
+ this.externalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ON_ERROR).orElseLazy(() => this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.ON_ERROR).value).orElse(_core_Const__WEBPACK_IMPORTED_MODULE_6__.EMPTY_FUNC).value(errorData);
7851
8051
  }
7852
8052
  /**
7853
8053
  * filters the forms according to being member of the "execute" or "render" cycle
@@ -7855,13 +8055,13 @@ class ResponseProcessor {
7855
8055
  * @private
7856
8056
  */
7857
8057
  isInExecuteOrRender(affectedForm) {
7858
- const executes = this.externalContext.getIf((0, Const_1.$nsp)(Const_1.P_EXECUTE)).orElse("@none").value.split(/\s+/gi);
7859
- const renders = this.externalContext.getIf(Const_1.P_RENDER_OVERRIDE)
7860
- .orElseLazy(() => this.externalContext.getIf((0, Const_1.$nsp)(Const_1.P_RENDER)).value)
7861
- .orElse(Const_1.IDENT_NONE).value.split(/\s+/gi);
8058
+ const executes = this.externalContext.getIf((0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_EXECUTE)).orElse("@none").value.split(/\s+/gi);
8059
+ const renders = this.externalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_RENDER_OVERRIDE)
8060
+ .orElseLazy(() => this.externalContext.getIf((0,_core_Const__WEBPACK_IMPORTED_MODULE_6__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_6__.P_RENDER)).value)
8061
+ .orElse(_core_Const__WEBPACK_IMPORTED_MODULE_6__.IDENT_NONE).value.split(/\s+/gi);
7862
8062
  const executeAndRenders = executes.concat(...renders);
7863
8063
  return [...executeAndRenders].filter(nameOrId => {
7864
- if ([Const_1.IDENT_ALL, Const_1.IDENT_NONE].indexOf(nameOrId) != -1) {
8064
+ if ([_core_Const__WEBPACK_IMPORTED_MODULE_6__.IDENT_ALL, _core_Const__WEBPACK_IMPORTED_MODULE_6__.IDENT_NONE].indexOf(nameOrId) != -1) {
7865
8065
  return true;
7866
8066
  }
7867
8067
  const NAME_OR_ID = this.getNameOrIdSelector(nameOrId);
@@ -7879,21 +8079,20 @@ class ResponseProcessor {
7879
8079
  getContainerForms(namingContainerId) {
7880
8080
  if (namingContainerId.isPresent()) {
7881
8081
  //naming container mode, all forms under naming container id must be processed
7882
- return (0, mona_dish_1.DQ$)(this.getNameOrIdSelector(namingContainerId.value))
8082
+ return (0,mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ$)(this.getNameOrIdSelector(namingContainerId.value))
7883
8083
  // missing condition if the naming container is not present we have to
7884
8084
  // use the body as fallback
7885
- .orElseLazy(() => mona_dish_1.DQ.byTagName(Const_1.HTML_TAG_BODY))
7886
- .byTagName(Const_1.HTML_TAG_FORM, true);
8085
+ .orElseLazy(() => mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_BODY))
8086
+ .byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_FORM, true);
7887
8087
  }
7888
8088
  else {
7889
- return mona_dish_1.DQ.byTagName(Const_1.HTML_TAG_FORM);
8089
+ return mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byTagName(_core_Const__WEBPACK_IMPORTED_MODULE_6__.HTML_TAG_FORM);
7890
8090
  }
7891
8091
  }
7892
8092
  getNameOrIdSelector(nameOrId) {
7893
8093
  return `[id='${nameOrId}'], [name='${nameOrId}']`;
7894
8094
  }
7895
8095
  }
7896
- exports.ResponseProcessor = ResponseProcessor;
7897
8096
 
7898
8097
 
7899
8098
  /***/ },
@@ -7902,11 +8101,16 @@ exports.ResponseProcessor = ResponseProcessor;
7902
8101
  /*!*********************************************************!*\
7903
8102
  !*** ./src/main/typescript/impl/xhrCore/XhrFormData.ts ***!
7904
8103
  \*********************************************************/
7905
- (__unused_webpack_module, exports, __webpack_require__) {
7906
-
7907
-
7908
- Object.defineProperty(exports, "__esModule", ({ value: true }));
7909
- exports.XhrFormData = void 0;
8104
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8105
+
8106
+ __webpack_require__.r(__webpack_exports__);
8107
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8108
+ /* harmony export */ XhrFormData: () => (/* binding */ XhrFormData)
8109
+ /* harmony export */ });
8110
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
8111
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
8112
+ /* harmony import */ var _util_FileUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/FileUtils */ "./src/main/typescript/impl/util/FileUtils.ts");
8113
+ /* harmony import */ var _util_Lang__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
7910
8114
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
7911
8115
  * contributor license agreements. See the NOTICE file distributed with
7912
8116
  * this work for additional information regarding copyright ownership.
@@ -7922,12 +8126,12 @@ exports.XhrFormData = void 0;
7922
8126
  * See the License for the specific language governing permissions and
7923
8127
  * limitations under the License.
7924
8128
  */
7925
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
7926
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
7927
- const FileUtils_1 = __webpack_require__(/*! ../util/FileUtils */ "./src/main/typescript/impl/util/FileUtils.ts");
7928
- const Lang_1 = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
7929
- const ofAssoc = Lang_1.ExtLang.ofAssoc;
7930
- const mona_dish_2 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
8129
+
8130
+
8131
+
8132
+
8133
+ const ofAssoc = _util_Lang__WEBPACK_IMPORTED_MODULE_3__.ExtLang.ofAssoc;
8134
+
7931
8135
  const defaultParamsMapper = (key, item) => [key, item];
7932
8136
  /**
7933
8137
  * A unified form data class
@@ -7942,7 +8146,7 @@ const defaultParamsMapper = (key, item) => [key, item];
7942
8146
  * every value is stored as an array
7943
8147
  * even scalar ones!
7944
8148
  */
7945
- class XhrFormData extends mona_dish_1.Config {
8149
+ class XhrFormData extends mona_dish__WEBPACK_IMPORTED_MODULE_0__.Config {
7946
8150
  /**
7947
8151
  * data collector from a given form
7948
8152
  *
@@ -7985,7 +8189,7 @@ class XhrFormData extends mona_dish_1.Config {
7985
8189
  */
7986
8190
  let expandValueArrays = ([key, item]) => {
7987
8191
  if (Array.isArray(item)) {
7988
- return new mona_dish_2.Es2019Array(...item).map(value => {
8192
+ return new mona_dish__WEBPACK_IMPORTED_MODULE_0__.Es2019Array(...item).map(value => {
7989
8193
  return { key, value };
7990
8194
  });
7991
8195
  }
@@ -8015,8 +8219,8 @@ class XhrFormData extends mona_dish_1.Config {
8015
8219
  *
8016
8220
  * @param defaultStr optional default value if nothing is there to encode
8017
8221
  */
8018
- toString(defaultStr = Const_1.EMPTY_STR) {
8019
- return (0, FileUtils_1.encodeFormData)(this, this.paramsMapper, defaultStr);
8222
+ toString(defaultStr = _core_Const__WEBPACK_IMPORTED_MODULE_1__.EMPTY_STR) {
8223
+ return (0,_util_FileUtils__WEBPACK_IMPORTED_MODULE_2__.encodeFormData)(this, this.paramsMapper, defaultStr);
8020
8224
  }
8021
8225
  /**
8022
8226
  * generic post init code, for now, this performs some post assign data post-processing
@@ -8025,7 +8229,7 @@ class XhrFormData extends mona_dish_1.Config {
8025
8229
  * in our ajax request
8026
8230
  */
8027
8231
  resolveRequestType(rootElement, executes) {
8028
- if (!executes || executes.indexOf(Const_1.IDENT_NONE) != -1) {
8232
+ if (!executes || executes.indexOf(_core_Const__WEBPACK_IMPORTED_MODULE_1__.IDENT_NONE) != -1) {
8029
8233
  return;
8030
8234
  }
8031
8235
  this.isMultipartRequest = rootElement.isMultipartCandidate(true);
@@ -8036,10 +8240,10 @@ class XhrFormData extends mona_dish_1.Config {
8036
8240
  * @param form the form holding the view state value
8037
8241
  */
8038
8242
  applyViewState(form) {
8039
- if (this.getIf((0, Const_1.$nsp)(Const_1.P_VIEWSTATE)).isPresent()) {
8243
+ if (this.getIf((0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)).isPresent()) {
8040
8244
  return;
8041
8245
  }
8042
- let viewStateElement = form.querySelectorAllDeep(`[name*='${(0, Const_1.$nsp)(Const_1.P_VIEWSTATE)}'`);
8246
+ let viewStateElement = form.querySelectorAllDeep(`[name*='${(0,_core_Const__WEBPACK_IMPORTED_MODULE_1__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_1__.P_VIEWSTATE)}'`);
8043
8247
  let viewState = viewStateElement.inputValue;
8044
8248
  this.appendIf(viewState.isPresent(), this.remapKeyForNamingContainer(viewStateElement.name.value)).value = viewState.value;
8045
8249
  }
@@ -8054,9 +8258,9 @@ class XhrFormData extends mona_dish_1.Config {
8054
8258
  const remappedPartialIds = partialIds.map(partialId => this.remapKeyForNamingContainer(partialId));
8055
8259
  const partialIdsFilter = ([key, value]) => (!remappedPartialIds.length || key.indexOf("@") == 0) ? true :
8056
8260
  remappedPartialIds.indexOf(key) != -1;
8057
- let inputs = (0, FileUtils_1.getFormInputsAsArr)(parentItem);
8261
+ let inputs = (0,_util_FileUtils__WEBPACK_IMPORTED_MODULE_2__.getFormInputsAsArr)(parentItem);
8058
8262
  inputs
8059
- .map(FileUtils_1.fixEmptyParameters)
8263
+ .map(_util_FileUtils__WEBPACK_IMPORTED_MODULE_2__.fixEmptyParameters)
8060
8264
  .map(namingContainerRemap)
8061
8265
  .filter(partialIdsFilter)
8062
8266
  .forEach(mergeIntoThis);
@@ -8065,7 +8269,6 @@ class XhrFormData extends mona_dish_1.Config {
8065
8269
  return this.paramsMapper(key, "")[0];
8066
8270
  }
8067
8271
  }
8068
- exports.XhrFormData = XhrFormData;
8069
8272
 
8070
8273
 
8071
8274
  /***/ },
@@ -8074,9 +8277,22 @@ exports.XhrFormData = XhrFormData;
8074
8277
  /*!********************************************************!*\
8075
8278
  !*** ./src/main/typescript/impl/xhrCore/XhrRequest.ts ***!
8076
8279
  \********************************************************/
8077
- (__unused_webpack_module, exports, __webpack_require__) {
8078
-
8079
-
8280
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8281
+
8282
+ __webpack_require__.r(__webpack_exports__);
8283
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8284
+ /* harmony export */ XhrRequest: () => (/* binding */ XhrRequest)
8285
+ /* harmony export */ });
8286
+ /* harmony import */ var _util_AsyncRunnable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/AsyncRunnable */ "./src/main/typescript/impl/util/AsyncRunnable.ts");
8287
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
8288
+ /* harmony import */ var _AjaxImpl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AjaxImpl */ "./src/main/typescript/impl/AjaxImpl.ts");
8289
+ /* harmony import */ var _XhrFormData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./XhrFormData */ "./src/main/typescript/impl/xhrCore/XhrFormData.ts");
8290
+ /* harmony import */ var _ErrorData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ErrorData */ "./src/main/typescript/impl/xhrCore/ErrorData.ts");
8291
+ /* harmony import */ var _EventData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./EventData */ "./src/main/typescript/impl/xhrCore/EventData.ts");
8292
+ /* harmony import */ var _util_Lang__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
8293
+ /* harmony import */ var _core_Const__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
8294
+ /* harmony import */ var _RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
8295
+ /* harmony import */ var _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
8080
8296
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
8081
8297
  * contributor license agreements. See the NOTICE file distributed with
8082
8298
  * this work for additional information regarding copyright ownership.
@@ -8092,19 +8308,17 @@ exports.XhrFormData = XhrFormData;
8092
8308
  * See the License for the specific language governing permissions and
8093
8309
  * limitations under the License.
8094
8310
  */
8095
- Object.defineProperty(exports, "__esModule", ({ value: true }));
8096
- exports.XhrRequest = void 0;
8097
- const AsyncRunnable_1 = __webpack_require__(/*! ../util/AsyncRunnable */ "./src/main/typescript/impl/util/AsyncRunnable.ts");
8098
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
8099
- const AjaxImpl_1 = __webpack_require__(/*! ../AjaxImpl */ "./src/main/typescript/impl/AjaxImpl.ts");
8100
- const XhrFormData_1 = __webpack_require__(/*! ./XhrFormData */ "./src/main/typescript/impl/xhrCore/XhrFormData.ts");
8101
- const ErrorData_1 = __webpack_require__(/*! ./ErrorData */ "./src/main/typescript/impl/xhrCore/ErrorData.ts");
8102
- const EventData_1 = __webpack_require__(/*! ./EventData */ "./src/main/typescript/impl/xhrCore/EventData.ts");
8103
- const Lang_1 = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
8104
- const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
8105
- const RequestDataResolver_1 = __webpack_require__(/*! ./RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
8106
- const failSaveExecute = Lang_1.ExtLang.failSaveExecute;
8107
- const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main/typescript/impl/util/ExtDomQuery.ts");
8311
+
8312
+
8313
+
8314
+
8315
+
8316
+
8317
+
8318
+
8319
+
8320
+ const failSaveExecute = _util_Lang__WEBPACK_IMPORTED_MODULE_6__.ExtLang.failSaveExecute;
8321
+
8108
8322
  /**
8109
8323
  * Faces XHR Request Wrapper
8110
8324
  * as AsyncRunnable for our Asynchronous queue
@@ -8119,7 +8333,7 @@ const ExtDomQuery_1 = __webpack_require__(/*! ../util/ExtDomQuery */ "./src/main
8119
8333
  *
8120
8334
  *
8121
8335
  */
8122
- class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8336
+ class XhrRequest extends _util_AsyncRunnable__WEBPACK_IMPORTED_MODULE_0__.AsyncRunnable {
8123
8337
  /**
8124
8338
  * Required Parameters
8125
8339
  *
@@ -8130,7 +8344,7 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8130
8344
  * @param ajaxType optional request type, default "POST"
8131
8345
  * @param contentType optional content type, default "application/x-www-form-urlencoded"
8132
8346
  */
8133
- constructor(requestContext, internalContext, timeout = Const_1.NO_TIMEOUT, ajaxType = Const_1.REQ_TYPE_POST, contentType = Const_1.URL_ENCODED) {
8347
+ constructor(requestContext, internalContext, timeout = _core_Const__WEBPACK_IMPORTED_MODULE_7__.NO_TIMEOUT, ajaxType = _core_Const__WEBPACK_IMPORTED_MODULE_7__.REQ_TYPE_POST, contentType = _core_Const__WEBPACK_IMPORTED_MODULE_7__.URL_ENCODED) {
8134
8348
  super();
8135
8349
  this.requestContext = requestContext;
8136
8350
  this.internalContext = internalContext;
@@ -8147,9 +8361,9 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8147
8361
  start() {
8148
8362
  let ignoreErr = failSaveExecute;
8149
8363
  let xhrObject = this.xhrObject;
8150
- let sourceForm = mona_dish_1.DQ.byId(this.internalContext.getIf(Const_1.CTX_PARAM_SRC_FRM_ID).value);
8364
+ let sourceForm = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.byId(this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_SRC_FRM_ID).value);
8151
8365
  let executesArr = () => {
8152
- return this.requestContext.getIf(Const_1.CTX_PARAM_REQ_PASS_THR, Const_1.P_EXECUTE).get(Const_1.IDENT_NONE).value.split(/\s+/gi);
8366
+ return this.requestContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR, _core_Const__WEBPACK_IMPORTED_MODULE_7__.P_EXECUTE).get(_core_Const__WEBPACK_IMPORTED_MODULE_7__.IDENT_NONE).value.split(/\s+/gi);
8153
8367
  };
8154
8368
  try {
8155
8369
  // encoded we need to decode
@@ -8161,13 +8375,13 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8161
8375
  // the partialIdsArray arr is almost deprecated legacy code where we allowed to send a separate list of partial
8162
8376
  // ids for reduced load and server processing, this will be removed soon, we can handle the same via execute
8163
8377
  const executes = executesArr();
8164
- const partialIdsArray = this.internalContext.getIf(Const_1.CTX_PARAM_PPS).value === true ? executes : [];
8165
- const formData = new XhrFormData_1.XhrFormData(sourceForm, (0, RequestDataResolver_1.resoveNamingContainerMapper)(this.internalContext), executes, partialIdsArray);
8378
+ const partialIdsArray = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_PPS).value === true ? executes : [];
8379
+ const formData = new _XhrFormData__WEBPACK_IMPORTED_MODULE_3__.XhrFormData(sourceForm, (0,_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resoveNamingContainerMapper)(this.internalContext), executes, partialIdsArray);
8166
8380
  this.contentType = formData.isMultipartRequest ? "undefined" : this.contentType;
8167
8381
  // next step the pass through parameters are merged in for post params
8168
8382
  this.requestContext.$nspEnabled = false;
8169
8383
  const requestContext = this.requestContext;
8170
- const requestPassThroughParams = requestContext.getIf(Const_1.CTX_PARAM_REQ_PASS_THR);
8384
+ const requestPassThroughParams = requestContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_REQ_PASS_THR);
8171
8385
  // we are turning off here the jsf, faces remapping because we are now dealing with
8172
8386
  // pass-through parameters
8173
8387
  requestPassThroughParams.$nspEnabled = false;
@@ -8188,25 +8402,25 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8188
8402
  this.responseContext = requestPassThroughParams.deepCopy;
8189
8403
  // we have to shift the internal passthroughs around to build up our response context
8190
8404
  const responseContext = this.responseContext;
8191
- responseContext.assign(Const_1.CTX_PARAM_MF_INTERNAL).value = this.internalContext.value;
8405
+ responseContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_MF_INTERNAL).value = this.internalContext.value;
8192
8406
  // per spec the onEvent and onError handlers must be passed through to the response
8193
- responseContext.assign(Const_1.ON_EVENT).value = requestContext.getIf(Const_1.ON_EVENT).value;
8194
- responseContext.assign(Const_1.ON_ERROR).value = requestContext.getIf(Const_1.ON_ERROR).value;
8195
- xhrObject.open(this.ajaxType, (0, RequestDataResolver_1.resolveFinalUrl)(sourceForm, formData, this.ajaxType), true);
8407
+ responseContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_EVENT).value = requestContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_EVENT).value;
8408
+ responseContext.assign(_core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_ERROR).value = requestContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_ERROR).value;
8409
+ xhrObject.open(this.ajaxType, (0,_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveFinalUrl)(sourceForm, formData, this.ajaxType), true);
8196
8410
  // adding timeout
8197
8411
  this.timeout ? xhrObject.timeout = this.timeout : null;
8198
8412
  // a bug in the xhr stub library prevents the setRequestHeader to be properly executed on fake xhr objects
8199
8413
  // normal browsers should resolve this
8200
8414
  // tests can quietly fail on this one
8201
8415
  if (this.contentType != "undefined") {
8202
- ignoreErr(() => xhrObject.setRequestHeader(Const_1.CONTENT_TYPE, `${this.contentType}; charset=utf-8`));
8416
+ ignoreErr(() => xhrObject.setRequestHeader(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CONTENT_TYPE, `${this.contentType}; charset=utf-8`));
8203
8417
  }
8204
- ignoreErr(() => xhrObject.setRequestHeader(Const_1.HEAD_FACES_REQ, Const_1.VAL_AJAX));
8418
+ ignoreErr(() => xhrObject.setRequestHeader(_core_Const__WEBPACK_IMPORTED_MODULE_7__.HEAD_FACES_REQ, _core_Const__WEBPACK_IMPORTED_MODULE_7__.VAL_AJAX));
8205
8419
  // probably not needed anymore, will test this
8206
8420
  // some webkit based mobile browsers do not follow the w3c spec of
8207
8421
  // setting, they accept headers automatically
8208
- ignoreErr(() => xhrObject.setRequestHeader(Const_1.REQ_ACCEPT, Const_1.STD_ACCEPT));
8209
- this.sendEvent(Const_1.BEGIN);
8422
+ ignoreErr(() => xhrObject.setRequestHeader(_core_Const__WEBPACK_IMPORTED_MODULE_7__.REQ_ACCEPT, _core_Const__WEBPACK_IMPORTED_MODULE_7__.STD_ACCEPT));
8423
+ this.sendEvent(_core_Const__WEBPACK_IMPORTED_MODULE_7__.BEGIN);
8210
8424
  this.sendRequest(formData);
8211
8425
  }
8212
8426
  catch (e) {
@@ -8252,35 +8466,35 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8252
8466
  if (xhrObject === null || xhrObject === void 0 ? void 0 : xhrObject.upload) {
8253
8467
  //this is an extension so that we can send the upload object of the current
8254
8468
  //request before any operation
8255
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_PREINIT)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload);
8469
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_PREINIT)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload);
8256
8470
  //now we hook in the upload events
8257
8471
  xhrObject.upload.addEventListener("progress", (event) => {
8258
8472
  var _a, _b;
8259
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_ON_PROGRESS)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8473
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_ON_PROGRESS)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8260
8474
  });
8261
8475
  xhrObject.upload.addEventListener("load", (event) => {
8262
8476
  var _a, _b;
8263
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_LOAD)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8477
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_LOAD)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8264
8478
  });
8265
8479
  xhrObject.upload.addEventListener("loadstart", (event) => {
8266
8480
  var _a, _b;
8267
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_LOADSTART)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8481
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_LOADSTART)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8268
8482
  });
8269
8483
  xhrObject.upload.addEventListener("loadend", (event) => {
8270
8484
  var _a, _b;
8271
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_LOADEND)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8485
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_LOADEND)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8272
8486
  });
8273
8487
  xhrObject.upload.addEventListener("abort", (event) => {
8274
8488
  var _a, _b;
8275
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_ABORT)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8489
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_ABORT)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8276
8490
  });
8277
8491
  xhrObject.upload.addEventListener("timeout", (event) => {
8278
8492
  var _a, _b;
8279
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_TIMEOUT)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8493
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_TIMEOUT)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8280
8494
  });
8281
8495
  xhrObject.upload.addEventListener("error", (event) => {
8282
8496
  var _a, _b;
8283
- (_b = (_a = this.internalContext.getIf(Const_1.CTX_PARAM_UPLOAD_ERROR)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8497
+ (_b = (_a = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_UPLOAD_ERROR)).value) === null || _b === void 0 ? void 0 : _b.call(_a, xhrObject.upload, event);
8284
8498
  });
8285
8499
  }
8286
8500
  xhrObject.onerror = (errorData) => {
@@ -8343,7 +8557,7 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8343
8557
  onTimeout(resolve, reject) {
8344
8558
  // timeout also means we we probably should clear the queue,
8345
8559
  // the state is unsafe for the next requests
8346
- this.sendEvent(Const_1.STATE_EVT_TIMEOUT);
8560
+ this.sendEvent(_core_Const__WEBPACK_IMPORTED_MODULE_7__.STATE_EVT_TIMEOUT);
8347
8561
  this.handleHttpError(resolve);
8348
8562
  }
8349
8563
  /**
@@ -8356,36 +8570,36 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8356
8570
  */
8357
8571
  onResponseReceived(resolve) {
8358
8572
  var _a;
8359
- this.sendEvent(Const_1.COMPLETE);
8573
+ this.sendEvent(_core_Const__WEBPACK_IMPORTED_MODULE_7__.COMPLETE);
8360
8574
  //request error resolution as per spec:
8361
8575
  if (!this.processRequestErrors(resolve)) {
8362
- (0, Const_1.$faces)().ajax.response(this.xhrObject, (_a = this.responseContext.value) !== null && _a !== void 0 ? _a : {});
8576
+ (0,_core_Const__WEBPACK_IMPORTED_MODULE_7__.$faces)().ajax.response(this.xhrObject, (_a = this.responseContext.value) !== null && _a !== void 0 ? _a : {});
8363
8577
  }
8364
8578
  }
8365
8579
  processRequestErrors(resolve) {
8366
8580
  var _a, _b, _c, _d, _e;
8367
- const responseXML = new mona_dish_1.XMLQuery((_a = this.xhrObject) === null || _a === void 0 ? void 0 : _a.responseXML);
8581
+ const responseXML = new mona_dish__WEBPACK_IMPORTED_MODULE_1__.XMLQuery((_a = this.xhrObject) === null || _a === void 0 ? void 0 : _a.responseXML);
8368
8582
  const responseText = (_c = (_b = this.xhrObject) === null || _b === void 0 ? void 0 : _b.responseText) !== null && _c !== void 0 ? _c : "";
8369
8583
  const responseCode = (_e = (_d = this.xhrObject) === null || _d === void 0 ? void 0 : _d.status) !== null && _e !== void 0 ? _e : -1;
8370
8584
  if (responseXML.isXMLParserError()) {
8371
8585
  // Firefox: malformed XML produces a Document with <parsererror>
8372
8586
  const errorName = "Invalid Response";
8373
8587
  const errorMessage = "The response xml is invalid";
8374
- this.handleGenericResponseError(errorName, errorMessage, Const_1.MALFORMEDXML, resolve);
8588
+ this.handleGenericResponseError(errorName, errorMessage, _core_Const__WEBPACK_IMPORTED_MODULE_7__.MALFORMEDXML, resolve);
8375
8589
  return true;
8376
8590
  }
8377
8591
  else if (responseXML.isAbsent() && responseText.trim().length > 0) {
8378
8592
  // Chrome: responseXML is null for unparseable XML, but responseText has content
8379
8593
  const errorName = "Invalid Response";
8380
8594
  const errorMessage = "The response xml is invalid";
8381
- this.handleGenericResponseError(errorName, errorMessage, Const_1.MALFORMEDXML, resolve);
8595
+ this.handleGenericResponseError(errorName, errorMessage, _core_Const__WEBPACK_IMPORTED_MODULE_7__.MALFORMEDXML, resolve);
8382
8596
  return true;
8383
8597
  }
8384
8598
  else if (responseXML.isAbsent()) {
8385
8599
  // Truly empty response
8386
8600
  const errorName = "Empty Response";
8387
8601
  const errorMessage = "The response has provided no data";
8388
- this.handleGenericResponseError(errorName, errorMessage, Const_1.EMPTY_RESPONSE, resolve);
8602
+ this.handleGenericResponseError(errorName, errorMessage, _core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_RESPONSE, resolve);
8389
8603
  return true;
8390
8604
  }
8391
8605
  else if (responseCode >= 300 || responseCode < 200) {
@@ -8396,13 +8610,13 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8396
8610
  }
8397
8611
  handleGenericResponseError(errorName, errorMessage, responseStatus, resolve) {
8398
8612
  var _a, _b, _c, _d;
8399
- const errorData = new ErrorData_1.ErrorData(this.internalContext.getIf(Const_1.CTX_PARAM_SRC_CTL_ID).value, errorName, errorMessage, (_b = (_a = this.xhrObject) === null || _a === void 0 ? void 0 : _a.responseText) !== null && _b !== void 0 ? _b : "", (_d = (_c = this.xhrObject) === null || _c === void 0 ? void 0 : _c.responseXML) !== null && _d !== void 0 ? _d : null, this.xhrObject.status, responseStatus);
8613
+ const errorData = new _ErrorData__WEBPACK_IMPORTED_MODULE_4__.ErrorData(this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_SRC_CTL_ID).value, errorName, errorMessage, (_b = (_a = this.xhrObject) === null || _a === void 0 ? void 0 : _a.responseText) !== null && _b !== void 0 ? _b : "", (_d = (_c = this.xhrObject) === null || _c === void 0 ? void 0 : _c.responseXML) !== null && _d !== void 0 ? _d : null, this.xhrObject.status, responseStatus);
8400
8614
  this.finalizeError(errorData, resolve);
8401
8615
  }
8402
8616
  handleHttpError(resolveOrReject, errorMessage = "Generic HTTP Serror") {
8403
8617
  var _a, _b, _c, _d, _e, _f;
8404
8618
  this.stopProgress = true;
8405
- const errorData = new ErrorData_1.ErrorData(this.internalContext.getIf(Const_1.CTX_PARAM_SRC_CTL_ID).value, Const_1.HTTP_ERROR, errorMessage, (_b = (_a = this.xhrObject) === null || _a === void 0 ? void 0 : _a.responseText) !== null && _b !== void 0 ? _b : "", (_d = (_c = this.xhrObject) === null || _c === void 0 ? void 0 : _c.responseXML) !== null && _d !== void 0 ? _d : null, (_f = (_e = this.xhrObject) === null || _e === void 0 ? void 0 : _e.status) !== null && _f !== void 0 ? _f : -1, Const_1.HTTP_ERROR);
8619
+ const errorData = new _ErrorData__WEBPACK_IMPORTED_MODULE_4__.ErrorData(this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_SRC_CTL_ID).value, _core_Const__WEBPACK_IMPORTED_MODULE_7__.HTTP_ERROR, errorMessage, (_b = (_a = this.xhrObject) === null || _a === void 0 ? void 0 : _a.responseText) !== null && _b !== void 0 ? _b : "", (_d = (_c = this.xhrObject) === null || _c === void 0 ? void 0 : _c.responseXML) !== null && _d !== void 0 ? _d : null, (_f = (_e = this.xhrObject) === null || _e === void 0 ? void 0 : _e.status) !== null && _f !== void 0 ? _f : -1, _core_Const__WEBPACK_IMPORTED_MODULE_7__.HTTP_ERROR);
8406
8620
  this.finalizeError(errorData, resolveOrReject);
8407
8621
  }
8408
8622
  finalizeError(errorData, resolveOrReject) {
@@ -8435,7 +8649,7 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8435
8649
  resolve(data);
8436
8650
  }
8437
8651
  sendRequest(formData) {
8438
- const isPost = this.ajaxType != Const_1.REQ_TYPE_GET;
8652
+ const isPost = this.ajaxType != _core_Const__WEBPACK_IMPORTED_MODULE_7__.REQ_TYPE_GET;
8439
8653
  if (formData.isMultipartRequest) {
8440
8654
  // in case of a multipart request we send in a formData object as body
8441
8655
  this.xhrObject.send((isPost) ? formData.toFormData() : null);
@@ -8450,17 +8664,17 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8450
8664
  */
8451
8665
  sendEvent(evtType) {
8452
8666
  var _a;
8453
- const eventData = EventData_1.EventData.createFromRequest(this.xhrObject, this.internalContext, this.requestContext, evtType);
8667
+ const eventData = _EventData__WEBPACK_IMPORTED_MODULE_5__.EventData.createFromRequest(this.xhrObject, this.internalContext, this.requestContext, evtType);
8454
8668
  try {
8455
8669
  // User code error, we might cover
8456
8670
  // this in onError, but also we cannot swallow it.
8457
8671
  // We need to resolve the local handlers lazily,
8458
8672
  // because some frameworks might decorate them over the context in the response
8459
- let eventHandler = (0, RequestDataResolver_1.resolveHandlerFunc)(this.requestContext, this.responseContext, Const_1.ON_EVENT);
8460
- AjaxImpl_1.Implementation.sendEvent(eventData, eventHandler);
8673
+ let eventHandler = (0,_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveHandlerFunc)(this.requestContext, this.responseContext, _core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_EVENT);
8674
+ _AjaxImpl__WEBPACK_IMPORTED_MODULE_2__.Implementation.sendEvent(eventData, eventHandler);
8461
8675
  }
8462
8676
  catch (e) {
8463
- e.source = (_a = e === null || e === void 0 ? void 0 : e.source) !== null && _a !== void 0 ? _a : this.requestContext.getIf(Const_1.SOURCE).value;
8677
+ e.source = (_a = e === null || e === void 0 ? void 0 : e.source) !== null && _a !== void 0 ? _a : this.requestContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.SOURCE).value;
8464
8678
  // this is a client error, no save state anymore for queue processing!
8465
8679
  this.handleErrorAndClearQueue(e);
8466
8680
  // we forward the error upward like all client side errors
@@ -8473,22 +8687,22 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8473
8687
  }
8474
8688
  handleError(exception, responseFormatError = false) {
8475
8689
  var _a;
8476
- const errorData = (responseFormatError) ? ErrorData_1.ErrorData.fromHttpConnection(exception.source, exception.type, (_a = exception.message) !== null && _a !== void 0 ? _a : Const_1.EMPTY_STR, exception.responseText, exception.responseXML, exception.responseCode, exception.status) : ErrorData_1.ErrorData.fromClient(exception);
8477
- const eventHandler = (0, RequestDataResolver_1.resolveHandlerFunc)(this.requestContext, this.responseContext, Const_1.ON_ERROR);
8478
- AjaxImpl_1.Implementation.sendError(errorData, eventHandler);
8690
+ const errorData = (responseFormatError) ? _ErrorData__WEBPACK_IMPORTED_MODULE_4__.ErrorData.fromHttpConnection(exception.source, exception.type, (_a = exception.message) !== null && _a !== void 0 ? _a : _core_Const__WEBPACK_IMPORTED_MODULE_7__.EMPTY_STR, exception.responseText, exception.responseXML, exception.responseCode, exception.status) : _ErrorData__WEBPACK_IMPORTED_MODULE_4__.ErrorData.fromClient(exception);
8691
+ const eventHandler = (0,_RequestDataResolver__WEBPACK_IMPORTED_MODULE_8__.resolveHandlerFunc)(this.requestContext, this.responseContext, _core_Const__WEBPACK_IMPORTED_MODULE_7__.ON_ERROR);
8692
+ _AjaxImpl__WEBPACK_IMPORTED_MODULE_2__.Implementation.sendError(errorData, eventHandler);
8479
8693
  }
8480
8694
  appendIssuingItem(formData) {
8481
8695
  var _a, _b;
8482
- const issuingItemId = this.internalContext.getIf(Const_1.CTX_PARAM_SRC_CTL_ID).value;
8696
+ const issuingItemId = this.internalContext.getIf(_core_Const__WEBPACK_IMPORTED_MODULE_7__.CTX_PARAM_SRC_CTL_ID).value;
8483
8697
  //to avoid sideffects with buttons we only can append the issuing item if no behavior event is set
8484
8698
  //MYFACES-4679!
8485
- const eventType = (_b = (_a = formData.getIf((0, Const_1.$nsp)(Const_1.P_BEHAVIOR_EVENT)).value) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
8699
+ const eventType = (_b = (_a = formData.getIf((0,_core_Const__WEBPACK_IMPORTED_MODULE_7__.$nsp)(_core_Const__WEBPACK_IMPORTED_MODULE_7__.P_BEHAVIOR_EVENT)).value) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
8486
8700
  const isBehaviorEvent = (!!eventType) && eventType != 'click';
8487
8701
  //not encoded
8488
8702
  if (issuingItemId && formData.getIf(issuingItemId).isAbsent() && !isBehaviorEvent) {
8489
- const issuingItem = mona_dish_1.DQ.byId(issuingItemId);
8703
+ const issuingItem = mona_dish__WEBPACK_IMPORTED_MODULE_1__.DQ.byId(issuingItemId);
8490
8704
  const itemValue = issuingItem.inputValue;
8491
- const arr = new ExtDomQuery_1.ExtConfig({});
8705
+ const arr = new _util_ExtDomQuery__WEBPACK_IMPORTED_MODULE_9__.ExtConfig({});
8492
8706
  const type = issuingItem.type.orElse("").value.toLowerCase();
8493
8707
  //Checkbox and radio only value pass if checked is set, otherwise they should not show
8494
8708
  //up at all, and if checked is set, they either can have a value or simply being boolean
@@ -8505,7 +8719,6 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8505
8719
  }
8506
8720
  }
8507
8721
  }
8508
- exports.XhrRequest = XhrRequest;
8509
8722
  XhrRequest.TYPE_CHECKBOX = "checkbox";
8510
8723
  XhrRequest.TYPE_RADIO = "radio";
8511
8724
 
@@ -8516,9 +8729,14 @@ XhrRequest.TYPE_RADIO = "radio";
8516
8729
  /*!**************************************************!*\
8517
8730
  !*** ./src/main/typescript/myfaces/OamSubmit.ts ***!
8518
8731
  \**************************************************/
8519
- (__unused_webpack_module, exports, __webpack_require__) {
8520
-
8521
-
8732
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8733
+
8734
+ __webpack_require__.r(__webpack_exports__);
8735
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8736
+ /* harmony export */ oam: () => (/* binding */ oam)
8737
+ /* harmony export */ });
8738
+ /* harmony import */ var mona_dish__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
8739
+ /* harmony import */ var _impl_util_Lang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../impl/util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
8522
8740
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
8523
8741
  * contributor license agreements. See the NOTICE file distributed with
8524
8742
  * this work for additional information regarding copyright ownership.
@@ -8534,10 +8752,8 @@ XhrRequest.TYPE_RADIO = "radio";
8534
8752
  * See the License for the specific language governing permissions and
8535
8753
  * limitations under the License.
8536
8754
  */
8537
- Object.defineProperty(exports, "__esModule", ({ value: true }));
8538
- exports.oam = void 0;
8539
- const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
8540
- const Lang_1 = __webpack_require__(/*! ../impl/util/Lang */ "./src/main/typescript/impl/util/Lang.ts");
8755
+
8756
+
8541
8757
  /**
8542
8758
  * legacy code to enable various aspects
8543
8759
  * of myfaces, used to be rendered inline
@@ -8551,7 +8767,7 @@ const Lang_1 = __webpack_require__(/*! ../impl/util/Lang */ "./src/main/typescri
8551
8767
  */
8552
8768
  var oam;
8553
8769
  (function (oam) {
8554
- const ofAssoc = Lang_1.ExtLang.ofAssoc;
8770
+ const ofAssoc = _impl_util_Lang__WEBPACK_IMPORTED_MODULE_1__.ExtLang.ofAssoc;
8555
8771
  /**
8556
8772
  * sets a hidden input field
8557
8773
  * @param formName the formName
@@ -8559,14 +8775,14 @@ var oam;
8559
8775
  * @param value the value to be rendered
8560
8776
  */
8561
8777
  oam.setHiddenInput = function (formName, name, value) {
8562
- mona_dish_1.DQ.byId(document.forms[formName])
8778
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(document.forms[formName])
8563
8779
  .each(form => {
8564
8780
  const input = form.querySelectorAll(`input[type='hidden'][name='${name}']`);
8565
8781
  if (input.isPresent()) {
8566
8782
  input.inputValue.value = value;
8567
8783
  }
8568
8784
  else {
8569
- const newInput = mona_dish_1.DQ.fromMarkup(`<input type='hidden' id='${name}' name='${name}'>`);
8785
+ const newInput = mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.fromMarkup(`<input type='hidden' id='${name}' name='${name}'>`);
8570
8786
  newInput.inputValue.value = value;
8571
8787
  newInput.appendTo(form);
8572
8788
  }
@@ -8584,7 +8800,7 @@ var oam;
8584
8800
  if (!element) {
8585
8801
  return;
8586
8802
  }
8587
- mona_dish_1.DQ.byId(element).delete();
8803
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId(element).delete();
8588
8804
  };
8589
8805
  // noinspection JSUnusedGlobalSymbols,JSUnusedLocalSymbols
8590
8806
  /**
@@ -8611,7 +8827,7 @@ var oam;
8611
8827
  paramsStream.forEach(([key, data]) => myfaces.oam.setHiddenInput(formName, key, data));
8612
8828
  //we call the namespaced function, to allow decoration, via a direct call we would
8613
8829
  myfaces.oam.setHiddenInput(formName, `${formName}:_idcl`, linkId !== null && linkId !== void 0 ? linkId : '');
8614
- mona_dish_1.DQ.byId((_f = (_e = document.forms) === null || _e === void 0 ? void 0 : _e[formName]) !== null && _f !== void 0 ? _f : document.getElementById(formName)).each(form => {
8830
+ mona_dish__WEBPACK_IMPORTED_MODULE_0__.DQ.byId((_f = (_e = document.forms) === null || _e === void 0 ? void 0 : _e[formName]) !== null && _f !== void 0 ? _f : document.getElementById(formName)).each(form => {
8615
8831
  var _a;
8616
8832
  const ATTR_TARGET = "target";
8617
8833
  const formElement = form.getAsElem(0).value;
@@ -8644,7 +8860,7 @@ var oam;
8644
8860
  });
8645
8861
  return false;
8646
8862
  };
8647
- })(oam || (exports.oam = oam = {}));
8863
+ })(oam || (oam = {}));
8648
8864
 
8649
8865
 
8650
8866
  /***/ }
@@ -8675,13 +8891,25 @@ var oam;
8675
8891
  /******/ e.code = 'MODULE_NOT_FOUND';
8676
8892
  /******/ throw e;
8677
8893
  /******/ }
8678
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
8894
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
8679
8895
  /******/
8680
8896
  /******/ // Return the exports of the module
8681
8897
  /******/ return module.exports;
8682
8898
  /******/ }
8683
8899
  /******/
8684
8900
  /************************************************************************/
8901
+ /******/ /* webpack/runtime/define property getters */
8902
+ /******/ (() => {
8903
+ /******/ // define getter functions for harmony exports
8904
+ /******/ __webpack_require__.d = (exports, definition) => {
8905
+ /******/ for(var key in definition) {
8906
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
8907
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
8908
+ /******/ }
8909
+ /******/ }
8910
+ /******/ };
8911
+ /******/ })();
8912
+ /******/
8685
8913
  /******/ /* webpack/runtime/global */
8686
8914
  /******/ (() => {
8687
8915
  /******/ __webpack_require__.g = (function() {
@@ -8694,14 +8922,34 @@ var oam;
8694
8922
  /******/ })();
8695
8923
  /******/ })();
8696
8924
  /******/
8925
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
8926
+ /******/ (() => {
8927
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
8928
+ /******/ })();
8929
+ /******/
8930
+ /******/ /* webpack/runtime/make namespace object */
8931
+ /******/ (() => {
8932
+ /******/ // define __esModule on exports
8933
+ /******/ __webpack_require__.r = (exports) => {
8934
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
8935
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8936
+ /******/ }
8937
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
8938
+ /******/ };
8939
+ /******/ })();
8940
+ /******/
8697
8941
  /************************************************************************/
8698
8942
  var __webpack_exports__ = {};
8699
8943
  // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
8700
8944
  (() => {
8701
- var exports = __webpack_exports__;
8702
8945
  /*!******************************************!*\
8703
8946
  !*** ./src/main/typescript/api/faces.ts ***!
8704
8947
  \******************************************/
8948
+ __webpack_require__.r(__webpack_exports__);
8949
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8950
+ /* harmony export */ faces: () => (/* binding */ faces),
8951
+ /* harmony export */ myfaces: () => (/* binding */ myfaces)
8952
+ /* harmony export */ });
8705
8953
  /*! Licensed to the Apache Software Foundation (ASF) under one or more
8706
8954
  * contributor license agreements. See the NOTICE file distributed with
8707
8955
  * this work for additional information regarding copyright ownership.
@@ -8719,8 +8967,6 @@ var exports = __webpack_exports__;
8719
8967
  */
8720
8968
 
8721
8969
  var _a, _b, _c;
8722
- Object.defineProperty(exports, "__esModule", ({ value: true }));
8723
- exports.myfaces = exports.faces = void 0;
8724
8970
  /**
8725
8971
  * faces.js init layer which provides as per spec the proper
8726
8972
  * window namespace if it does not exist already
@@ -8744,8 +8990,8 @@ if (!((_b = window === null || window === void 0 ? void 0 : window.myfaces) ===
8744
8990
  window["myfaces"] = (_c = window === null || window === void 0 ? void 0 : window.myfaces) !== null && _c !== void 0 ? _c : {};
8745
8991
  Object.keys(myfaces).forEach(key => { var _a, _b; return window.myfaces[key] = (_b = (_a = window.myfaces) === null || _a === void 0 ? void 0 : _a[key]) !== null && _b !== void 0 ? _b : myfaces[key]; });
8746
8992
  }
8747
- exports.faces = window.faces;
8748
- exports.myfaces = window.myfaces;
8993
+ var faces = window.faces;
8994
+ var myfaces = window.myfaces;
8749
8995
 
8750
8996
  })();
8751
8997