jsf.js_next_gen 4.0.1-beta.9 → 4.0.2-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.
- package/dist/window/faces-development.js +12 -2
- package/dist/window/faces-development.js.br +0 -0
- package/dist/window/faces-development.js.gz +0 -0
- package/dist/window/faces-development.js.map +1 -1
- package/dist/window/faces.js +1 -1
- package/dist/window/faces.js.br +0 -0
- package/dist/window/faces.js.gz +0 -0
- package/dist/window/faces.js.map +1 -1
- package/dist/window/jsf-development.js +12 -2
- package/dist/window/jsf-development.js.br +0 -0
- package/dist/window/jsf-development.js.gz +0 -0
- package/dist/window/jsf-development.js.map +1 -1
- package/dist/window/jsf.js +1 -1
- package/dist/window/jsf.js.br +0 -0
- package/dist/window/jsf.js.gz +0 -0
- package/dist/window/jsf.js.map +1 -1
- package/package.json +1 -1
- package/src/main/typescript/impl/util/HiddenInputBuilder.ts +2 -2
- package/src/main/typescript/impl/xhrCore/XhrRequest.ts +11 -0
- package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +22 -0
- package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +2 -1
- package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +45 -0
- package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +3 -3
- package/target/impl/util/HiddenInputBuilder.js +2 -2
- package/target/impl/util/HiddenInputBuilder.js.map +1 -1
- package/target/impl/xhrCore/XhrRequest.js +10 -0
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/StandardInits.js +20 -0
- package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
- package/target/test/xhrCore/RequestParamsTest.spec.js +2 -1
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest.spec.js +36 -0
- package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest.spec.js +3 -3
- package/target/AssocArray.js +0 -281
- package/target/AssocArray.js.map +0 -1
- package/target/Config.js +0 -235
- package/target/Config.js.map +0 -1
- package/target/CryptoExtensions.js +0 -112
- package/target/CryptoExtensions.js.map +0 -1
- package/target/DomQuery.js +0 -1963
- package/target/DomQuery.js.map +0 -1
- package/target/Es2019Array.js +0 -117
- package/target/Es2019Array.js.map +0 -1
- package/target/Global.js +0 -38
- package/target/Global.js.map +0 -1
- package/target/IDomQuery.js +0 -3
- package/target/IDomQuery.js.map +0 -1
- package/target/Lang.js +0 -183
- package/target/Lang.js.map +0 -1
- package/target/Messaging.js +0 -645
- package/target/Messaging.js.map +0 -1
- package/target/Monad.js +0 -330
- package/target/Monad.js.map +0 -1
- package/target/Promise.js +0 -296
- package/target/Promise.js.map +0 -1
- package/target/PromiseShim.js +0 -30
- package/target/PromiseShim.js.map +0 -1
- package/target/SourcesCollectors.js +0 -444
- package/target/SourcesCollectors.js.map +0 -1
- package/target/Stream.js +0 -562
- package/target/Stream.js.map +0 -1
- package/target/TagBuilder.js +0 -178
- package/target/TagBuilder.js.map +0 -1
- package/target/XmlQuery.js +0 -84
- package/target/XmlQuery.js.map +0 -1
- package/target/classes/com/example/jsfs_js_ts/DecoratedFacesJS.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/FacesJSMappingDecorator.class +0 -0
- package/target/impl/core/Context.js +0 -10
- package/target/impl/core/Context.js.map +0 -1
- package/target/impl/util/AsyncQueue.js +0 -109
- package/target/impl/util/AsyncQueue.js.map +0 -1
- package/target/impl/util/HiddenElementBuilder.js +0 -7
- package/target/impl/util/HiddenElementBuilder.js.map +0 -1
- package/target/impl/util/IAsyncRunnable.js +0 -27
- package/target/impl/util/IAsyncRunnable.js.map +0 -1
- package/target/impl/util/URLCodec.js +0 -77
- package/target/impl/util/URLCodec.js.map +0 -1
- package/target/impl/xhrCore/RequestContext.js +0 -11
- package/target/impl/xhrCore/RequestContext.js.map +0 -1
- package/target/impl/xhrCore/XhrQueHandler.js +0 -11
- package/target/impl/xhrCore/XhrQueHandler.js.map +0 -1
- package/target/impl/xhrCore/XhrQueueController.js +0 -62
- package/target/impl/xhrCore/XhrQueueController.js.map +0 -1
- package/target/index.js +0 -80
- package/target/index.js.map +0 -1
- package/target/index_core.js +0 -76
- package/target/index_core.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/ExtendedArrayTest.spec.js +0 -76
- package/target/test/frameworkBase/_ext/monadish/ExtendedArrayTest.spec.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js +0 -178
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js.map +0 -1
- package/target/test/myfaces/OnLoadSpec.js +0 -57
- package/target/test/myfaces/OnLoadSpec.js.map +0 -1
- package/target/test-classes/.gz +0 -0
- package/target/test-classes/com/example/jsfs_js_ts/JsfsJsTsApplicationTests.class +0 -0
- package/target/test-classes/fileuploadtest.html +0 -24
- package/target/test-classes/jsf-development.js +0 -3559
- package/target/test-classes/jsf-development.js.br +0 -0
- package/target/test-classes/jsf-development.js.gz +0 -0
- package/target/test-classes/jsf-development.js.map +0 -1
- package/target/test-classes/jsf.js +0 -3
- package/target/test-classes/jsf.js.br +0 -0
- package/target/test-classes/jsf.js.gz +0 -0
- package/target/types/main/typescript/AssocArray.d.ts +0 -86
- package/target/types/main/typescript/Config.d.ts +0 -94
- package/target/types/main/typescript/CryptoExtensions.d.ts +0 -87
- package/target/types/main/typescript/DomQuery.d.ts +0 -587
- package/target/types/main/typescript/Es2019Array.d.ts +0 -30
- package/target/types/main/typescript/Global.d.ts +0 -23
- package/target/types/main/typescript/IDomQuery.d.ts +0 -480
- package/target/types/main/typescript/Lang.d.ts +0 -97
- package/target/types/main/typescript/Messaging.d.ts +0 -285
- package/target/types/main/typescript/Monad.d.ts +0 -161
- package/target/types/main/typescript/Promise.d.ts +0 -58
- package/target/types/main/typescript/PromiseShim.d.ts +0 -22
- package/target/types/main/typescript/SourcesCollectors.d.ts +0 -280
- package/target/types/main/typescript/Stream.d.ts +0 -284
- package/target/types/main/typescript/TagBuilder.d.ts +0 -50
- package/target/types/main/typescript/XmlQuery.d.ts +0 -31
- package/target/types/main/typescript/api/_api.d.ts +0 -182
- package/target/types/main/typescript/api/faces.d.ts +0 -17
- package/target/types/main/typescript/api/jsf.d.ts +0 -17
- package/target/types/main/typescript/impl/AjaxImpl.d.ts +0 -164
- package/target/types/main/typescript/impl/PushImpl.d.ts +0 -38
- package/target/types/main/typescript/impl/core/Const.d.ts +0 -138
- package/target/types/main/typescript/impl/core/ImplTypes.d.ts +0 -16
- package/target/types/main/typescript/impl/i18n/Messages.d.ts +0 -102
- package/target/types/main/typescript/impl/util/Assertions.d.ts +0 -46
- package/target/types/main/typescript/impl/util/AsyncRunnable.d.ts +0 -112
- package/target/types/main/typescript/impl/util/ExtDomQuery.d.ts +0 -100
- package/target/types/main/typescript/impl/util/FileUtils.d.ts +0 -25
- package/target/types/main/typescript/impl/util/HiddenInputBuilder.d.ts +0 -37
- package/target/types/main/typescript/impl/util/IListener.d.ts +0 -18
- package/target/types/main/typescript/impl/util/Lang.d.ts +0 -138
- package/target/types/main/typescript/impl/util/XhrQueueController.d.ts +0 -51
- package/target/types/main/typescript/impl/xhrCore/ErrorData.d.ts +0 -37
- package/target/types/main/typescript/impl/xhrCore/EventData.d.ts +0 -25
- package/target/types/main/typescript/impl/xhrCore/IResponseProcessor.d.ts +0 -136
- package/target/types/main/typescript/impl/xhrCore/RequestDataResolver.d.ts +0 -84
- package/target/types/main/typescript/impl/xhrCore/ResonseDataResolver.d.ts +0 -60
- package/target/types/main/typescript/impl/xhrCore/Response.d.ts +0 -29
- package/target/types/main/typescript/impl/xhrCore/ResponseProcessor.d.ts +0 -208
- package/target/types/main/typescript/impl/xhrCore/XhrFormData.d.ts +0 -83
- package/target/types/main/typescript/impl/xhrCore/XhrRequest.d.ts +0 -102
- package/target/types/main/typescript/index.d.ts +0 -34
- package/target/types/main/typescript/index_core.d.ts +0 -29
- package/target/types/main/typescript/myfaces/OamSubmit.d.ts +0 -53
- package/target/types/main/typescript/test/frameworkBase/LangTest.spec.d.ts +0 -1
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.d.ts +0 -1
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/LangTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/MappingProbes.d.ts +0 -39
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/MappingTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/MonadTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/XmlQueryTest.spec.d.ts +0 -0
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/markups/tobago-with-header.d.ts +0 -1
- package/target/types/main/typescript/test/frameworkBase/_ext/monadish/markups/tobago-without-header.d.ts +0 -1
- package/target/types/main/typescript/test/frameworkBase/_ext/shared/StandardInits.d.ts +0 -63
- package/target/types/main/typescript/test/frameworkBase/_ext/shared/XmlResponses.d.ts +0 -23
- package/target/types/main/typescript/test/impl/ImplTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/impl/ImplTest_23.spec.d.ts +0 -16
- package/target/types/main/typescript/test/impl/SeparatorCharsTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/myfaces/OamSubmit.spec.d.ts +0 -16
- package/target/types/main/typescript/test/myfaces/OnLoad.spec.d.ts +0 -16
- package/target/types/main/typescript/test/queue/AsynchronousProbe.d.ts +0 -38
- package/target/types/main/typescript/test/queue/AsynchronousQueueTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/ClientWindow.spec.d.ts +0 -1
- package/target/types/main/typescript/test/xhrCore/ErrorChainTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/EventTests.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/FakeWebsocket.d.ts +0 -24
- package/target/types/main/typescript/test/xhrCore/FileUploadTest.spec.d.ts +0 -1
- package/target/types/main/typescript/test/xhrCore/NamespacesRequestTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/OamSubmitTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/RequestParamsTest.spec.d.ts +0 -1
- package/target/types/main/typescript/test/xhrCore/RequestTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/RequestTest_23.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/ResponseTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/ResponseTest23.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/ShadowDomTest.spec.d.ts +0 -16
- package/target/types/main/typescript/test/xhrCore/TobagoFileUploadTest.spec.d.ts +0 -1
- package/target/types/main/typescript/test/xhrCore/WebsocketTest.d.ts +0 -1
- package/target/types/main/typescript/test/xhrCore/XhrFormDataTest.spec.d.ts +0 -16
- package/target/types/test/typescript/AssocArrayTest.spec.d.ts +0 -1
- package/target/types/test/typescript/DomQueryTest.spec.d.ts +0 -1
- package/target/types/test/typescript/ExtendedArrayTest.spec.d.ts +0 -1
- package/target/types/test/typescript/LangTest.spec.d.ts +0 -1
- package/target/types/test/typescript/MappingProbes.d.ts +0 -24
- package/target/types/test/typescript/MappingTest.spec.d.ts +0 -1
- package/target/types/test/typescript/MessagingTest.spec.d.ts +0 -1
- package/target/types/test/typescript/MonadTest.spec.d.ts +0 -16
- package/target/types/test/typescript/PromiseTest.spec.d.ts +0 -1
- package/target/types/test/typescript/StreamTest.spec.d.ts +0 -1
- package/target/types/test/typescript/XmlQueryTest.spec.d.ts +0 -1
- package/target/types/test/typescript/markups/tobago-with-header.d.ts +0 -1
- package/target/types/test/typescript/markups/tobago-without-header.d.ts +0 -1
package/target/TagBuilder.js
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
4
|
-
* contributor license agreements. See the NOTICE file distributed with
|
|
5
|
-
* this work for additional information regarding copyright ownership.
|
|
6
|
-
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
7
|
-
* (the "License"); you may not use this file except in compliance with
|
|
8
|
-
* the License. You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.TagBuilder = void 0;
|
|
20
|
-
//poliyfill from @webcomponents/webcomponentsjs
|
|
21
|
-
const DomQuery_1 = require("./DomQuery");
|
|
22
|
-
const Global_1 = require("./Global");
|
|
23
|
-
if ("undefined" != typeof Global_1._global$) {
|
|
24
|
-
(function () {
|
|
25
|
-
if (void 0 === (0, Global_1._global$)().Reflect || void 0 === (0, Global_1._global$)().customElements || (0, Global_1._global$)().customElements.polyfillWrapFlushCallback)
|
|
26
|
-
return;
|
|
27
|
-
const a = HTMLElement;
|
|
28
|
-
(0, Global_1._global$)().HTMLElement = {
|
|
29
|
-
HTMLElement: function HTMLElement() {
|
|
30
|
-
return Reflect.construct(a, [], this.constructor);
|
|
31
|
-
}
|
|
32
|
-
}.HTMLElement, HTMLElement.prototype = a.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, a);
|
|
33
|
-
})();
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* beginning custom tag support
|
|
37
|
-
*
|
|
38
|
-
* This api is still experimental
|
|
39
|
-
* and might be interwoven with DomQuery
|
|
40
|
-
* so it is bound to change
|
|
41
|
-
*
|
|
42
|
-
* it follows a builder pattern to allow easier creations
|
|
43
|
-
* with less code of custom tags
|
|
44
|
-
*/
|
|
45
|
-
class TagBuilder {
|
|
46
|
-
// noinspection JSUnusedGlobalSymbols
|
|
47
|
-
static withTagName(tagName) {
|
|
48
|
-
return new TagBuilder(tagName);
|
|
49
|
-
}
|
|
50
|
-
// noinspection JSUnusedGlobalSymbols
|
|
51
|
-
constructor(tagName) {
|
|
52
|
-
this.extendsType = HTMLElement;
|
|
53
|
-
this.observedAttrs = [];
|
|
54
|
-
this.tagName = tagName;
|
|
55
|
-
}
|
|
56
|
-
// noinspection JSUnusedGlobalSymbols
|
|
57
|
-
withObservedAttributes(...oAttrs) {
|
|
58
|
-
this.observedAttrs = oAttrs;
|
|
59
|
-
}
|
|
60
|
-
// noinspection JSUnusedGlobalSymbols
|
|
61
|
-
withConnectedCallback(callback) {
|
|
62
|
-
this.connectedCallback = callback;
|
|
63
|
-
return this;
|
|
64
|
-
}
|
|
65
|
-
// noinspection JSUnusedGlobalSymbols
|
|
66
|
-
withDisconnectedCallback(callback) {
|
|
67
|
-
this.disconnectedCallback = callback;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
// noinspection JSUnusedGlobalSymbols
|
|
71
|
-
withAdoptedCallback(callback) {
|
|
72
|
-
this.adoptedCallback = callback;
|
|
73
|
-
return this;
|
|
74
|
-
}
|
|
75
|
-
// noinspection JSUnusedGlobalSymbols
|
|
76
|
-
withAttributeChangedCallback(callback) {
|
|
77
|
-
this.attributeChangedCallback = callback;
|
|
78
|
-
return this;
|
|
79
|
-
}
|
|
80
|
-
// noinspection JSUnusedGlobalSymbols
|
|
81
|
-
withExtendsType(extendsType) {
|
|
82
|
-
this.extendsType = extendsType;
|
|
83
|
-
return this;
|
|
84
|
-
}
|
|
85
|
-
// noinspection JSUnusedGlobalSymbols
|
|
86
|
-
withOptions(theOptions) {
|
|
87
|
-
this.theOptions = theOptions;
|
|
88
|
-
return this;
|
|
89
|
-
}
|
|
90
|
-
// noinspection JSUnusedGlobalSymbols
|
|
91
|
-
withClass(clazz) {
|
|
92
|
-
if (this.markup) {
|
|
93
|
-
throw Error("Markup already defined, markup must be set in the class");
|
|
94
|
-
}
|
|
95
|
-
this.clazz = clazz;
|
|
96
|
-
return this;
|
|
97
|
-
}
|
|
98
|
-
// noinspection JSUnusedGlobalSymbols
|
|
99
|
-
withMarkup(markup) {
|
|
100
|
-
if (this.clazz) {
|
|
101
|
-
throw Error("Class already defined, markup must be set in the class");
|
|
102
|
-
}
|
|
103
|
-
this.markup = markup;
|
|
104
|
-
return this;
|
|
105
|
-
}
|
|
106
|
-
// noinspection JSUnusedGlobalSymbols
|
|
107
|
-
register() {
|
|
108
|
-
if (!this.clazz && !this.markup) {
|
|
109
|
-
throw Error("Class or markup must be defined");
|
|
110
|
-
}
|
|
111
|
-
if (this.clazz) {
|
|
112
|
-
let applyCallback = (name) => {
|
|
113
|
-
let outerCallback = this[name];
|
|
114
|
-
let protoCallback = this.clazz.prototype[name];
|
|
115
|
-
let finalCallback = outerCallback || protoCallback;
|
|
116
|
-
if (finalCallback) {
|
|
117
|
-
this.clazz.prototype[name] = function () {
|
|
118
|
-
if (outerCallback) {
|
|
119
|
-
finalCallback.apply(DomQuery_1.DomQuery.byId(this));
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
protoCallback.apply(this);
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
applyCallback("connectedCallback");
|
|
128
|
-
applyCallback("disconnectedCallback");
|
|
129
|
-
applyCallback("adoptedCallback");
|
|
130
|
-
applyCallback("attributeChangedCallback");
|
|
131
|
-
//TODO how do we handle the oAttrs?
|
|
132
|
-
if (this.observedAttrs.length) {
|
|
133
|
-
Object.defineProperty(this.clazz.prototype, "observedAttributes", {
|
|
134
|
-
get() {
|
|
135
|
-
return this.observedAttrs;
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
(0, Global_1._global$)().customElements.define(this.tagName, this.clazz, this.theOptions || null);
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
let _t_ = this;
|
|
143
|
-
let applyCallback = (name, scope) => {
|
|
144
|
-
if (_t_[name]) {
|
|
145
|
-
_t_[name].apply(DomQuery_1.DomQuery.byId(scope));
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
(0, Global_1._global$)().customElements.define(this.tagName, class extends this.extendsType {
|
|
149
|
-
constructor() {
|
|
150
|
-
super();
|
|
151
|
-
this.innerHTML = _t_.markup;
|
|
152
|
-
}
|
|
153
|
-
// noinspection JSUnusedGlobalSymbols
|
|
154
|
-
static get observedAttributes() {
|
|
155
|
-
return _t_.observedAttrs;
|
|
156
|
-
}
|
|
157
|
-
// noinspection JSUnusedGlobalSymbols
|
|
158
|
-
connectedCallback() {
|
|
159
|
-
applyCallback("connectedCallback", this);
|
|
160
|
-
}
|
|
161
|
-
// noinspection JSUnusedGlobalSymbols
|
|
162
|
-
disconnectedCallback() {
|
|
163
|
-
applyCallback("disconnectedCallback", this);
|
|
164
|
-
}
|
|
165
|
-
// noinspection JSUnusedGlobalSymbols
|
|
166
|
-
adoptedCallback() {
|
|
167
|
-
applyCallback("adoptedCallback", this);
|
|
168
|
-
}
|
|
169
|
-
// noinspection JSUnusedGlobalSymbols
|
|
170
|
-
attributeChangedCallback() {
|
|
171
|
-
applyCallback("attributeChangedCallback", this);
|
|
172
|
-
}
|
|
173
|
-
}, this.theOptions || null);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
exports.TagBuilder = TagBuilder;
|
|
178
|
-
//# sourceMappingURL=TagBuilder.js.map
|
package/target/TagBuilder.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TagBuilder.js","sourceRoot":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G,CAAC,IAAI,CAAC,EAAE;oBACX,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,mBAAQ,CAAC,IAAI,CAAM,KAAK,CAAC,CAAC,CAAC;iBAC9C;YACL,CAAC,CAAC;YAEF,IAAA,iBAAQ,GAAE,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,KAAM,SAAQ,IAAI,CAAC,WAAW;gBACzE;oBACI,KAAK,EAAE,CAAC;oBACR,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC;gBAChC,CAAC;gBAED,qCAAqC;gBACrC,MAAM,KAAK,kBAAkB;oBACzB,OAAO,GAAG,CAAC,aAAa,CAAC;gBAC7B,CAAC;gBAED,qCAAqC;gBACrC,iBAAiB;oBACb,aAAa,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;gBAC7C,CAAC;gBAED,qCAAqC;gBACrC,oBAAoB;oBAChB,aAAa,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;gBAChD,CAAC;gBAED,qCAAqC;gBACrC,eAAe;oBACX,aAAa,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;gBAC3C,CAAC;gBAED,qCAAqC;gBACrC,wBAAwB;oBACpB,aAAa,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC;gBACpD,CAAC;aAEJ,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC;SAC/B;IACL,CAAC;CACJ;AAhKD,gCAgKC"}
|
package/target/XmlQuery.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
4
|
-
* contributor license agreements. See the NOTICE file distributed with
|
|
5
|
-
* this work for additional information regarding copyright ownership.
|
|
6
|
-
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
7
|
-
* (the "License"); you may not use this file except in compliance with
|
|
8
|
-
* the License. You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.XQ = exports.XMLQuery = void 0;
|
|
20
|
-
const Lang_1 = require("./Lang");
|
|
21
|
-
const DomQuery_1 = require("./DomQuery");
|
|
22
|
-
var isString = Lang_1.Lang.isString;
|
|
23
|
-
const Global_1 = require("./Global");
|
|
24
|
-
/**
|
|
25
|
-
* xml query as specialized case for DomQuery
|
|
26
|
-
*/
|
|
27
|
-
class XMLQuery extends DomQuery_1.DomQuery {
|
|
28
|
-
constructor(rootNode, docType = "text/xml") {
|
|
29
|
-
let createIe11DomQueryShim = () => {
|
|
30
|
-
//at the time if wroting ie11 is the only relevant browser
|
|
31
|
-
//left withut any DomQuery support
|
|
32
|
-
let parser = new ActiveXObject("Microsoft.XMLDOM");
|
|
33
|
-
parser.async = false;
|
|
34
|
-
//we shim th dom parser from ie in
|
|
35
|
-
return {
|
|
36
|
-
parseFromString: (text, contentType) => {
|
|
37
|
-
return parser.loadXML(text);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
let parseXML = (xml) => {
|
|
42
|
-
if (xml == null) {
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
let domParser = Lang_1.Lang.saveResolveLazy(() => new ((0, Global_1._global$)()).DOMParser(), () => createIe11DomQueryShim()).value;
|
|
46
|
-
return domParser.parseFromString(xml, docType);
|
|
47
|
-
};
|
|
48
|
-
if (isString(rootNode)) {
|
|
49
|
-
super(parseXML(rootNode));
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
super(rootNode);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
isXMLParserError() {
|
|
56
|
-
return this.querySelectorAll("parsererror").isPresent();
|
|
57
|
-
}
|
|
58
|
-
toString() {
|
|
59
|
-
let ret = [];
|
|
60
|
-
this.eachElem((node) => {
|
|
61
|
-
var _a, _b, _c, _d;
|
|
62
|
-
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;
|
|
63
|
-
if (!!serialized) {
|
|
64
|
-
ret.push(serialized);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
return ret.join("");
|
|
68
|
-
}
|
|
69
|
-
parserErrorText(joinstr) {
|
|
70
|
-
return this.querySelectorAll("parsererror").textContent(joinstr);
|
|
71
|
-
}
|
|
72
|
-
static parseXML(txt) {
|
|
73
|
-
return new XMLQuery(txt);
|
|
74
|
-
}
|
|
75
|
-
static parseHTML(txt) {
|
|
76
|
-
return new XMLQuery(txt, "text/html");
|
|
77
|
-
}
|
|
78
|
-
static fromString(txt, parseType = "text/xml") {
|
|
79
|
-
return new XMLQuery(txt, parseType);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.XMLQuery = XMLQuery;
|
|
83
|
-
exports.XQ = XMLQuery;
|
|
84
|
-
//# sourceMappingURL=XmlQuery.js.map
|
package/target/XmlQuery.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XmlQuery.js","sourceRoot":"","sources":["../src/main/typescript/XmlQuery.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,iCAA4B;AAC5B,yCAAoC;AACpC,IAAO,QAAQ,GAAG,WAAI,CAAC,QAAQ,CAAC;A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,MAAA,MAAA,MAAA,MAAA,CAAC,IAAA,iBAAQ,GAAE,CAAC,0CAAE,aAAa,0CAAE,WAAW,EAAE,0CAAE,iBAAiB,CAAC,IAAI,CAAC,mCAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,CAAC;YAClG,IAAI,CAAC,CAAC,UAAU,EAAE;gBACd,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,CAAC;IAED,eAAe,CAAC,OAAe;QAC3B,OAAO,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAW;QACvB,OAAO,IAAI,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC7B,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,GAAW;QACxB,OAAO,IAAI,QAAQ,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,GAAW,EAAE,YAAoB,UAAU;QACzD,OAAO,IAAI,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IACxC,CAAC;CACJ;AAjED,4BAiEC;AAEY,QAAA,EAAE,GAAG,QAAQ,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/core/Context.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;IAApB;QAaI,2BAAsB,GAAG,EAAE,CAAC;IAChC,CAAC;CAAA;AAdD,0BAcC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AsynchronousQueue = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Asynchronous queue which starts to work
|
|
6
|
-
* through the callbacks until the queue is empty
|
|
7
|
-
*
|
|
8
|
-
* Every callback must be of async runnable
|
|
9
|
-
* which is sort of an extended promise which has
|
|
10
|
-
* added a dedicated cancel and start point
|
|
11
|
-
*
|
|
12
|
-
* This interface can be used as wrapper contract
|
|
13
|
-
* for normal promises if needed.
|
|
14
|
-
*/
|
|
15
|
-
class AsynchronousQueue {
|
|
16
|
-
constructor() {
|
|
17
|
-
this.runnableQueue = [];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* simple is empty accessor, returns true if queue is empty atm
|
|
21
|
-
*/
|
|
22
|
-
get isEmpty() {
|
|
23
|
-
return !this.runnableQueue.length;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* enqueues an element and starts the
|
|
27
|
-
* asynchronous work loop if not already running
|
|
28
|
-
*
|
|
29
|
-
* @param element the element to be queued and processed
|
|
30
|
-
* @param delay possible delay after our usual process or drop if something newer is incoming algorithm
|
|
31
|
-
*/
|
|
32
|
-
enqueue(element, delay = 0) {
|
|
33
|
-
if (this.delayTimeout) {
|
|
34
|
-
clearTimeout(this.delayTimeout);
|
|
35
|
-
this.delayTimeout = null;
|
|
36
|
-
}
|
|
37
|
-
if (delay) {
|
|
38
|
-
this.delayTimeout = setTimeout(() => {
|
|
39
|
-
this.appendElement(element);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
this.appendElement(element);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* fetches the next element from the queue (first in first out order)
|
|
48
|
-
*/
|
|
49
|
-
dequeue() {
|
|
50
|
-
return this.runnableQueue.shift();
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* clears up all elements from the queue
|
|
54
|
-
*/
|
|
55
|
-
cleanup() {
|
|
56
|
-
this.currentlyRunning = null;
|
|
57
|
-
this.runnableQueue.length = 0;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* cancels the currently running element and then cleans up the queue
|
|
61
|
-
* aka cancel the queue entirely
|
|
62
|
-
*/
|
|
63
|
-
cancel() {
|
|
64
|
-
try {
|
|
65
|
-
if (this.currentlyRunning) {
|
|
66
|
-
this.currentlyRunning.cancel();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
finally {
|
|
70
|
-
this.cleanup();
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
callForNextElementToProcess() {
|
|
74
|
-
this.runEntry();
|
|
75
|
-
}
|
|
76
|
-
appendElement(element) {
|
|
77
|
-
//only if the first element is added we start with a trigger
|
|
78
|
-
//otherwise a process already is running and not finished yet at that
|
|
79
|
-
//time
|
|
80
|
-
this.runnableQueue.push(element);
|
|
81
|
-
if (!this.currentlyRunning) {
|
|
82
|
-
this.runEntry();
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
runEntry() {
|
|
86
|
-
if (this.isEmpty) {
|
|
87
|
-
this.currentlyRunning = null;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
this.currentlyRunning = this.dequeue();
|
|
91
|
-
this.currentlyRunning
|
|
92
|
-
.catch((e) => {
|
|
93
|
-
//in case of an error we always clean up the remaining calls
|
|
94
|
-
//to allow a clean recovery of the application
|
|
95
|
-
this.cleanup();
|
|
96
|
-
throw e;
|
|
97
|
-
})
|
|
98
|
-
.then(
|
|
99
|
-
//the idea is to trigger the next over an event to reduce
|
|
100
|
-
//the number of recursive calls (stacks might be limited
|
|
101
|
-
//compared to ram)
|
|
102
|
-
//naturally give we have a DOM, the DOM is the natural event dispatch system
|
|
103
|
-
//which we can use, to decouple the calls from a recursive stack call
|
|
104
|
-
//(the browser engine will take care of that)
|
|
105
|
-
() => this.callForNextElementToProcess()).start();
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.AsynchronousQueue = AsynchronousQueue;
|
|
109
|
-
//# sourceMappingURL=AsyncQueue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncQueue.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/util/AsyncQueue.ts"],"names":[],"mappings":";;;AAiBA;;;;;;;;;;GAUG;AACH,MAAa,iBAAiB;IAO1B;QALQ,kBAAa,GAAG,EAAE,CAAC;IAM3B,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACP,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;IACtC,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,OAAU,EAAE,KAAK,GAAG,CAAC;QACzB,IAAI,IAAI,CAAC,YAAY,EAAE;YACnB,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAChC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;SAC5B;QACD,IAAI,KAAK,EAAE;YACP,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,GAAG,EAAE;gBAChC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,CAAQ,CAAC;SACb;aAAM;YACH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SAC/B;IACL,CAAC;IAED;;OAEG;IACH,OAAO;QACH,OAAO,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,OAAO;QACH,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,MAAM;QACF,IAAI;YACA,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACvB,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC;aAClC;SACJ;gBAAS;YACN,IAAI,CAAC,OAAO,EAAE,CAAC;SAClB;IACL,CAAC;IAEO,2BAA2B;QAC/B,IAAI,CAAC,QAAQ,EAAE,CAAC;IACpB,CAAC;IAEO,aAAa,CAAC,OAAU;QAC5B,4DAA4D;QAC5D,qEAAqE;QACrE,MAAM;QACN,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACxB,IAAI,CAAC,QAAQ,EAAE,CAAC;SACnB;IACL,CAAC;IAEO,QAAQ;QACZ,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,OAAO;SACV;QACD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QACvC,IAAI,CAAC,gBAAgB;aAChB,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;YACT,4DAA4D;YAC5D,8CAA8C;YAC9C,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,MAAM,CAAC,CAAC;QACZ,CAAC,CAAC;aACD,IAAI;QACD,yDAAyD;QACzD,wDAAwD;QACxD,kBAAkB;QAClB,4EAA4E;QAC5E,qEAAqE;QACrE,6CAA6C;QAC7C,GAAG,EAAE,CAAC,IAAI,CAAC,2BAA2B,EAAE,CAC3C,CAAC,KAAK,EAAE,CAAC;IAClB,CAAC;CACJ;AAxGD,8CAwGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenElementBuilder.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/util/HiddenElementBuilder.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;CAChC;AADD,oDACC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*! Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
-
* contributor license agreements. See the NOTICE file distributed with
|
|
4
|
-
* this work for additional information regarding copyright ownership.
|
|
5
|
-
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
6
|
-
* (the "License"); you may not use this file except in compliance with
|
|
7
|
-
* the License. You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.AsyncRunnable = void 0;
|
|
19
|
-
/**
|
|
20
|
-
* pretty much the same as cancellable Promise, but given
|
|
21
|
-
* we do not have that on browser level yet this is sort
|
|
22
|
-
* of a non intrusive Shim!
|
|
23
|
-
*/
|
|
24
|
-
class AsyncRunnable {
|
|
25
|
-
}
|
|
26
|
-
exports.AsyncRunnable = AsyncRunnable;
|
|
27
|
-
//# sourceMappingURL=IAsyncRunnable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAsyncRunnable.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/util/IAsyncRunnable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA4DH;;;;GAIG;AACH,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mergeFiles = exports.decodeEncodedValues = exports.encodeFormData = exports.mergeKeyValueEntries = void 0;
|
|
4
|
-
const mona_dish_1 = require("mona-dish");
|
|
5
|
-
const ExtDomQuery_1 = require("./ExtDomQuery");
|
|
6
|
-
const Const_1 = require("../core/Const");
|
|
7
|
-
/*
|
|
8
|
-
* various routines for encoding and decoding url parameters
|
|
9
|
-
* into configs and vice versa
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* merges a list of key value entries into a target config
|
|
13
|
-
* @param target the target receiving the key value entries
|
|
14
|
-
* @param keyValueEntries a list of key value entries divided by =
|
|
15
|
-
* @param paramsMapper a key value remapper
|
|
16
|
-
*/
|
|
17
|
-
function mergeKeyValueEntries(target, keyValueEntries, paramsMapper = (key, value) => [key, value]) {
|
|
18
|
-
function splitToKeyVal(line) {
|
|
19
|
-
return line.split(/=(.*)/gi);
|
|
20
|
-
}
|
|
21
|
-
function fixKeyWithoutVal(keyVal) {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
return keyVal.length < 3 ? [(_a = keyVal === null || keyVal === void 0 ? void 0 : keyVal[0]) !== null && _a !== void 0 ? _a : [], (_b = keyVal === null || keyVal === void 0 ? void 0 : keyVal[1]) !== null && _b !== void 0 ? _b : []] : keyVal;
|
|
24
|
-
}
|
|
25
|
-
let toMerge = new ExtDomQuery_1.ExtConfig({});
|
|
26
|
-
mona_dish_1.Stream.of(...keyValueEntries)
|
|
27
|
-
.map(line => splitToKeyVal(line))
|
|
28
|
-
//special case of having keys without values
|
|
29
|
-
.map(keyVal => fixKeyWithoutVal(keyVal))
|
|
30
|
-
.map(keyVal => paramsMapper(keyVal[0], keyVal[1]))
|
|
31
|
-
.each(keyVal => {
|
|
32
|
-
var _a, _b;
|
|
33
|
-
toMerge.append(keyVal[0]).value = (_b = (_a = keyVal === null || keyVal === void 0 ? void 0 : keyVal.splice(1)) === null || _a === void 0 ? void 0 : _a.join("")) !== null && _b !== void 0 ? _b : "";
|
|
34
|
-
});
|
|
35
|
-
target.shallowMerge(toMerge);
|
|
36
|
-
}
|
|
37
|
-
exports.mergeKeyValueEntries = mergeKeyValueEntries;
|
|
38
|
-
/**
|
|
39
|
-
* encodes a given form data into a url encoded string
|
|
40
|
-
* @param formData the form data config object
|
|
41
|
-
* @param paramsMapper the params mapper
|
|
42
|
-
* @param defaultStr a default string if nothing comes out of it
|
|
43
|
-
*/
|
|
44
|
-
function encodeFormData(formData, paramsMapper = (inStr, inVal) => [inStr, inVal], defaultStr = Const_1.EMPTY_STR) {
|
|
45
|
-
if (formData.isAbsent()) {
|
|
46
|
-
return defaultStr;
|
|
47
|
-
}
|
|
48
|
-
let assocValues = formData.value;
|
|
49
|
-
let entries = mona_dish_1.LazyStream.of(...Object.keys(assocValues))
|
|
50
|
-
.filter(key => assocValues.hasOwnProperty(key))
|
|
51
|
-
.flatMap(key => mona_dish_1.Stream.of(...assocValues[key]).map(val => paramsMapper(key, val)))
|
|
52
|
-
//we cannot encode file elements that is handled by multipart requests anyway
|
|
53
|
-
.filter(([, value]) => !(value instanceof ExtDomQuery_1.ExtDomQuery.global().File))
|
|
54
|
-
.map(keyVal => `${encodeURIComponent(keyVal[0])}=${encodeURIComponent(keyVal[1])}`)
|
|
55
|
-
.collect(new mona_dish_1.ArrayCollector());
|
|
56
|
-
return entries.join("&");
|
|
57
|
-
}
|
|
58
|
-
exports.encodeFormData = encodeFormData;
|
|
59
|
-
/**
|
|
60
|
-
* splits and decodes encoded values into strings containing of key=value
|
|
61
|
-
* @param encoded encoded string
|
|
62
|
-
*/
|
|
63
|
-
function decodeEncodedValues(encoded) {
|
|
64
|
-
return decodeURIComponent(encoded).split(/&/gi)
|
|
65
|
-
.filter(item => !!(item || '')
|
|
66
|
-
.replace(/\s+/g, ''));
|
|
67
|
-
}
|
|
68
|
-
exports.decodeEncodedValues = decodeEncodedValues;
|
|
69
|
-
function mergeFiles(target, dataSource) {
|
|
70
|
-
dataSource
|
|
71
|
-
.querySelectorAllDeep("input[type='file']")
|
|
72
|
-
.stream
|
|
73
|
-
.map(fileInput => [fileInput.name.value || fileInput.id.value, fileInput.filesFromElem(0)])
|
|
74
|
-
.each(([key, files]) => target.append(key).value = files);
|
|
75
|
-
}
|
|
76
|
-
exports.mergeFiles = mergeFiles;
|
|
77
|
-
//# sourceMappingURL=URLCodec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"URLCodec.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/util/URLCodec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;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,OAAe;IAC/C,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;SAC1C,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;SACzB,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;AAClC,CAAC;AAJD,kDAIC;AAGD,SAAgB,UAAU,CAAC,MAAiB,EAAE,UAAc;IACpD,UAAU;SACL,oBAAoB,CAAC,oBAAoB,CAAC;SAC1C,MAAM;SACN,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,IAAI,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;SAC1F,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,KAAY,CAAC,CAAC;AAC7E,CAAC;AAND,gCAMC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RequestContext = void 0;
|
|
4
|
-
const mona_dish_1 = require("mona-dish");
|
|
5
|
-
class RequestContext {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.parameters = new mona_dish_1.Config({});
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.RequestContext = RequestContext;
|
|
11
|
-
//# sourceMappingURL=RequestContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestContext.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/xhrCore/RequestContext.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAErC,MAAa,cAAc;IAA3B;QAGI,eAAU,GAAW,IAAI,kBAAM,CAAC,EAAE,CAAC,CAAC;IAUxC,CAAC;CAAA;AAbD,wCAaC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XhrQueHandler.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/xhrCore/XhrQueHandler.ts"],"names":[],"mappings":"AAAA;;;;;;;EAOE;AAGF,MAAM,kBAAkB;CAEvB"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*Queue ->
|
|
3
|
-
enqueue
|
|
4
|
-
-> no delay
|
|
5
|
-
-> push runnable into the queue
|
|
6
|
-
-> task running Y -> EOP
|
|
7
|
-
-> task running N -> trigger queue loop
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
let activeTimeout = null;
|
|
12
|
-
function debounce(runnable, timeout) {
|
|
13
|
-
if (!!activeTimeout) {
|
|
14
|
-
clearTimeout(activeTimeout);
|
|
15
|
-
}
|
|
16
|
-
if (timeout > 0) {
|
|
17
|
-
activeTimeout = setTimeout(() => {
|
|
18
|
-
try {
|
|
19
|
-
runnable();
|
|
20
|
-
}
|
|
21
|
-
finally {
|
|
22
|
-
clearTimeout(activeTimeout);
|
|
23
|
-
activeTimeout = null;
|
|
24
|
-
}
|
|
25
|
-
}, timeout);
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
runnable();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
class XhrQueueController {
|
|
32
|
-
constructor() {
|
|
33
|
-
this.queue = [];
|
|
34
|
-
this.taskRunning = false;
|
|
35
|
-
document.body.addEventListener("xhrNext", () => this.next());
|
|
36
|
-
document.body.addEventListener("xhrClear", () => this.clear());
|
|
37
|
-
}
|
|
38
|
-
enqueue(request, timeOut) {
|
|
39
|
-
debounce(() => {
|
|
40
|
-
if (!this.taskRunning) {
|
|
41
|
-
this.signalTaskRunning();
|
|
42
|
-
request.start();
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
this.queue.push(request);
|
|
46
|
-
}
|
|
47
|
-
}, timeOut);
|
|
48
|
-
}
|
|
49
|
-
signalTaskRunning() {
|
|
50
|
-
this.taskRunning = true;
|
|
51
|
-
}
|
|
52
|
-
next() {
|
|
53
|
-
const next = this.queue.shift();
|
|
54
|
-
this.taskRunning = !!this.queue.length;
|
|
55
|
-
next === null || next === void 0 ? void 0 : next.start();
|
|
56
|
-
}
|
|
57
|
-
clear() {
|
|
58
|
-
this.queue.length = 0;
|
|
59
|
-
this.taskRunning = false;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=XhrQueueController.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XhrQueueController.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/xhrCore/XhrQueueController.ts"],"names":[],"mappings":";AAAA;;;;;;;EAOE;;AAOF,IAAI,aAAa,GAAG,IAAI,CAAC;AACzB,SAAS,QAAQ,CAAC,QAAQ,EAAE,OAAO;IAC/B,IAAG,CAAC,CAAC,aAAa,EAAE;QAChB,YAAY,CAAC,aAAa,CAAC,CAAC;KAC/B;IACD,IAAG,OAAO,GAAG,CAAC,EAAE;QACZ,aAAa,GAAG,UAAU,CAAC,GAAG,EAAE;YAC5B,IAAI;gBACJ,QAAQ,EAAE,CAAC;aACV;oBAAS;gBACN,YAAY,CAAC,aAAa,CAAC,CAAC;gBAC5B,aAAa,GAAG,IAAI,CAAC;aACxB;QACL,CAAC,EAAE,OAAO,CAAC,CAAC;KACf;SAAM;QACH,QAAQ,EAAE,CAAC;KACd;AACL,CAAC;AAED,MAAM,kBAAkB;IAIpB;QAHA,UAAK,GAAG,EAAE,CAAC;QACX,gBAAW,GAAG,KAAK,CAAC;QAGhB,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QA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