@wavemaker/angular-codegen 11.16.1-rc.647845 → 11.16.2-rc.271
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/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +10408 -8414
- package/angular-app/package-lock.json +10408 -8414
- package/angular-app/package.json +8 -8
- package/angular-app/src/main.ts +9 -6
- package/dependencies/custom-widgets-bundle.cjs.js +2 -3
- package/dependencies/expression-parser.cjs.js +15 -15
- package/dependencies/pipe-provider.cjs.js +222 -248
- package/dependencies/transpilation-web.cjs.js +15 -15
- package/npm-shrinkwrap.json +294 -375
- package/package-lock.json +294 -375
- package/package.json +4 -4
|
@@ -977,7 +977,7 @@ function reportUnhandledError$1(err) {
|
|
|
977
977
|
});
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
-
function noop$
|
|
980
|
+
function noop$a() { }
|
|
981
981
|
|
|
982
982
|
function errorContext$1(cb) {
|
|
983
983
|
{
|
|
@@ -1126,9 +1126,9 @@ function defaultErrorHandler(err) {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
var EMPTY_OBSERVER = {
|
|
1128
1128
|
closed: true,
|
|
1129
|
-
next: noop$
|
|
1129
|
+
next: noop$a,
|
|
1130
1130
|
error: defaultErrorHandler,
|
|
1131
|
-
complete: noop$
|
|
1131
|
+
complete: noop$a,
|
|
1132
1132
|
};
|
|
1133
1133
|
|
|
1134
1134
|
var observable$1 = (function () { return (typeof Symbol === 'function' && Symbol.observable) || '@@observable'; })();
|
|
@@ -2855,7 +2855,7 @@ function switchMap$1(project, resultSelector) {
|
|
|
2855
2855
|
|
|
2856
2856
|
function takeUntil$1(notifier) {
|
|
2857
2857
|
return operate(function (source, subscriber) {
|
|
2858
|
-
innerFrom$1(notifier).subscribe(createOperatorSubscriber(subscriber, function () { return subscriber.complete(); }, noop$
|
|
2858
|
+
innerFrom$1(notifier).subscribe(createOperatorSubscriber(subscriber, function () { return subscriber.complete(); }, noop$a));
|
|
2859
2859
|
!subscriber.closed && source.subscribe(subscriber);
|
|
2860
2860
|
});
|
|
2861
2861
|
}
|
|
@@ -5300,13 +5300,13 @@ class EventEmitter_ extends Subject$1 {
|
|
|
5300
5300
|
}
|
|
5301
5301
|
const EventEmitter = EventEmitter_;
|
|
5302
5302
|
|
|
5303
|
-
function noop$
|
|
5303
|
+
function noop$9(...args) {}
|
|
5304
5304
|
|
|
5305
5305
|
function scheduleCallbackWithRafRace(callback) {
|
|
5306
5306
|
let timeoutId;
|
|
5307
5307
|
let animationFrameId;
|
|
5308
5308
|
function cleanup() {
|
|
5309
|
-
callback = noop$
|
|
5309
|
+
callback = noop$9;
|
|
5310
5310
|
try {
|
|
5311
5311
|
if (animationFrameId !== undefined && typeof cancelAnimationFrame === 'function') {
|
|
5312
5312
|
cancelAnimationFrame(animationFrameId);
|
|
@@ -5331,7 +5331,7 @@ function scheduleCallbackWithRafRace(callback) {
|
|
|
5331
5331
|
function scheduleCallbackWithMicrotask(callback) {
|
|
5332
5332
|
queueMicrotask(() => callback());
|
|
5333
5333
|
return () => {
|
|
5334
|
-
callback = noop$
|
|
5334
|
+
callback = noop$9;
|
|
5335
5335
|
};
|
|
5336
5336
|
}
|
|
5337
5337
|
|
|
@@ -5415,7 +5415,7 @@ class NgZone {
|
|
|
5415
5415
|
}
|
|
5416
5416
|
runTask(fn, applyThis, applyArgs, name) {
|
|
5417
5417
|
const zone = this._inner;
|
|
5418
|
-
const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop$
|
|
5418
|
+
const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop$9, noop$9);
|
|
5419
5419
|
try {
|
|
5420
5420
|
return zone.runTask(task, applyThis, applyArgs);
|
|
5421
5421
|
} finally {
|
|
@@ -38122,7 +38122,7 @@ class FetchBackend {
|
|
|
38122
38122
|
observer.complete();
|
|
38123
38123
|
}
|
|
38124
38124
|
};
|
|
38125
|
-
this.doRequest(request, aborter.signal, wrappedObserver).then(noop$
|
|
38125
|
+
this.doRequest(request, aborter.signal, wrappedObserver).then(noop$8, error => wrappedObserver.error(new HttpErrorResponse({
|
|
38126
38126
|
error
|
|
38127
38127
|
})));
|
|
38128
38128
|
let timeoutId;
|
|
@@ -38368,14 +38368,14 @@ class FetchBackend {
|
|
|
38368
38368
|
}]
|
|
38369
38369
|
});
|
|
38370
38370
|
class FetchFactory {}
|
|
38371
|
-
function noop$
|
|
38371
|
+
function noop$8() {}
|
|
38372
38372
|
function warningOptionsMessage(req) {
|
|
38373
38373
|
if (req.credentials && req.withCredentials) {
|
|
38374
38374
|
console.warn(formatRuntimeError(2819, `Angular detected that a \`HttpClient\` request has both \`withCredentials: true\` and \`credentials: '${req.credentials}'\` options. The \`withCredentials\` option is overriding the explicit \`credentials\` setting to 'include'. Consider removing \`withCredentials\` and using \`credentials: '${req.credentials}'\` directly for clarity.`));
|
|
38375
38375
|
}
|
|
38376
38376
|
}
|
|
38377
38377
|
function silenceSuperfluousUnhandledPromiseRejection(promise) {
|
|
38378
|
-
promise.then(noop$
|
|
38378
|
+
promise.then(noop$8, noop$8);
|
|
38379
38379
|
}
|
|
38380
38380
|
function throwBodyTooLargeError(maxResponseSize) {
|
|
38381
38381
|
throw new RuntimeError(-2825, ngDevMode && `Fetch response body exceeded the configured buffer limit (${maxResponseSize} bytes).`);
|
|
@@ -43510,7 +43510,7 @@ function createRenderPromise(injector) {
|
|
|
43510
43510
|
});
|
|
43511
43511
|
}
|
|
43512
43512
|
|
|
43513
|
-
const noop$
|
|
43513
|
+
const noop$7 = () => {};
|
|
43514
43514
|
const NAVIGATION_ERROR_HANDLER = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'navigation error handler' : '');
|
|
43515
43515
|
class NavigationTransitions {
|
|
43516
43516
|
currentNavigation = signal(null, {
|
|
@@ -43776,7 +43776,7 @@ class NavigationTransitions {
|
|
|
43776
43776
|
resetPendingRoutes(t.targetRouterState);
|
|
43777
43777
|
completedOrAborted = true;
|
|
43778
43778
|
this.currentNavigation.update(nav => {
|
|
43779
|
-
nav.abort = noop$
|
|
43779
|
+
nav.abort = noop$7;
|
|
43780
43780
|
return nav;
|
|
43781
43781
|
});
|
|
43782
43782
|
this.lastSuccessfulNavigation.set(untracked(this.currentNavigation));
|
|
@@ -74510,7 +74510,7 @@ function apply(func, thisArg, args) {
|
|
|
74510
74510
|
* _.times(2, _.noop);
|
|
74511
74511
|
* // => [undefined, undefined]
|
|
74512
74512
|
*/
|
|
74513
|
-
function noop$
|
|
74513
|
+
function noop$6() {
|
|
74514
74514
|
// No operation performed.
|
|
74515
74515
|
}
|
|
74516
74516
|
|
|
@@ -82578,7 +82578,7 @@ var INFINITY = 1 / 0;
|
|
|
82578
82578
|
* @param {Array} values The values to add to the set.
|
|
82579
82579
|
* @returns {Object} Returns the new set.
|
|
82580
82580
|
*/
|
|
82581
|
-
var createSet = !(Set$1 && (1 / setToArray(new Set$1([,-0]))[1]) == INFINITY) ? noop$
|
|
82581
|
+
var createSet = !(Set$1 && (1 / setToArray(new Set$1([,-0]))[1]) == INFINITY) ? noop$6 : function(values) {
|
|
82582
82582
|
return new Set$1(values);
|
|
82583
82583
|
};
|
|
82584
82584
|
|
|
@@ -96042,14 +96042,14 @@ var momentTimezoneExports = requireMomentTimezone();
|
|
|
96042
96042
|
var momentTimezone = /*@__PURE__*/getDefaultExportFromCjs(momentTimezoneExports);
|
|
96043
96043
|
|
|
96044
96044
|
var __defProp = Object.defineProperty;
|
|
96045
|
-
var __exportAll = (all,
|
|
96046
|
-
let target = {};
|
|
96045
|
+
var __exportAll = (all, flags) => {
|
|
96046
|
+
let target = Object.setPrototypeOf({}, null);
|
|
96047
96047
|
for (var name in all) __defProp(target, name, {
|
|
96048
96048
|
get: all[name],
|
|
96049
96049
|
enumerable: true
|
|
96050
96050
|
});
|
|
96051
96051
|
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
96052
|
-
return target;
|
|
96052
|
+
return Object.preventExtensions(target);
|
|
96053
96053
|
};
|
|
96054
96054
|
var FormWidgetType;
|
|
96055
96055
|
(function(FormWidgetType) {
|
|
@@ -97534,7 +97534,7 @@ const isDef = (v) => v !== void 0;
|
|
|
97534
97534
|
const ifDef = (v, d) => v === void 0 ? d : v;
|
|
97535
97535
|
const plus = (a, b) => void 0 === a ? b : void 0 === b ? a : a + b;
|
|
97536
97536
|
const minus = (a, b) => ifDef(a, 0) - ifDef(b, 0);
|
|
97537
|
-
const noop$
|
|
97537
|
+
const noop$1$1 = () => {};
|
|
97538
97538
|
const exprFnCache = /* @__PURE__ */ new Map();
|
|
97539
97539
|
const eventFnCache = /* @__PURE__ */ new Map();
|
|
97540
97540
|
const purePipes = /* @__PURE__ */ new Map();
|
|
@@ -97818,7 +97818,7 @@ var ASTCompiler = class {
|
|
|
97818
97818
|
}
|
|
97819
97819
|
};
|
|
97820
97820
|
const nullPipe = () => {
|
|
97821
|
-
return { transform: noop$
|
|
97821
|
+
return { transform: noop$1$1 };
|
|
97822
97822
|
};
|
|
97823
97823
|
let _cspEnabled;
|
|
97824
97824
|
const isCSPEnabled = () => {
|
|
@@ -97841,11 +97841,11 @@ var ExpressionType;
|
|
|
97841
97841
|
ExpressionType[ExpressionType["Action"] = 1] = "Action";
|
|
97842
97842
|
})(ExpressionType || (ExpressionType = {}));
|
|
97843
97843
|
function $parseExpr(expr, defOnly) {
|
|
97844
|
-
if (!pipeProvider) return noop$
|
|
97845
|
-
if (typeof expr !== "string") return noop$
|
|
97844
|
+
if (!pipeProvider) return noop$1$1;
|
|
97845
|
+
if (typeof expr !== "string") return noop$1$1;
|
|
97846
97846
|
expr = expr.trim();
|
|
97847
97847
|
if (expr.endsWith(";")) expr = expr.slice(0, -1);
|
|
97848
|
-
if (!expr.length) return noop$
|
|
97848
|
+
if (!expr.length) return noop$1$1;
|
|
97849
97849
|
let fn = exprFnCache.get(expr);
|
|
97850
97850
|
if (fn) return fn;
|
|
97851
97851
|
let boundFn;
|
|
@@ -97859,7 +97859,7 @@ function $parseExpr(expr, defOnly) {
|
|
|
97859
97859
|
else {
|
|
97860
97860
|
const ast = new Parser$2(new Lexer$1()).parseBinding(expr, createParseSourceSpan(expr), 0);
|
|
97861
97861
|
if (ast.errors.length) {
|
|
97862
|
-
fn = noop$
|
|
97862
|
+
fn = noop$1$1;
|
|
97863
97863
|
boundFn = fn;
|
|
97864
97864
|
} else {
|
|
97865
97865
|
const pipeNameVsIsPureMap = pipeProvider.getPipeNameVsIsPureMap();
|
|
@@ -97909,9 +97909,9 @@ function simpleFunctionEvaluator(expr, ctx, locals) {
|
|
|
97909
97909
|
}
|
|
97910
97910
|
}
|
|
97911
97911
|
function $parseEvent(expr, defOnly) {
|
|
97912
|
-
if (typeof expr !== "string") return noop$
|
|
97912
|
+
if (typeof expr !== "string") return noop$1$1;
|
|
97913
97913
|
expr = expr.trim();
|
|
97914
|
-
if (!expr.length) return noop$
|
|
97914
|
+
if (!expr.length) return noop$1$1;
|
|
97915
97915
|
let fn = eventFnCache.get(expr);
|
|
97916
97916
|
if (fn) return fn;
|
|
97917
97917
|
fn = getFnForEventExpr(expr);
|
|
@@ -97919,7 +97919,7 @@ function $parseEvent(expr, defOnly) {
|
|
|
97919
97919
|
if (isCSPEnabled()) fn = simpleFunctionEvaluator.bind(void 0, expr);
|
|
97920
97920
|
else {
|
|
97921
97921
|
const ast = new Parser$2(new Lexer$1()).parseAction(expr, createParseSourceSpan(expr), 0);
|
|
97922
|
-
if (ast.errors.length) return noop$
|
|
97922
|
+
if (ast.errors.length) return noop$1$1;
|
|
97923
97923
|
fn = new ASTCompiler(ast.ast, ExpressionType.Action).compile(defOnly);
|
|
97924
97924
|
}
|
|
97925
97925
|
}
|
|
@@ -98319,7 +98319,7 @@ var utils_exports = /* @__PURE__ */ __exportAll({
|
|
|
98319
98319
|
loadScripts: () => loadScripts,
|
|
98320
98320
|
loadStyleSheet: () => loadStyleSheet,
|
|
98321
98321
|
loadStyleSheets: () => loadStyleSheets,
|
|
98322
|
-
noop: () => noop$
|
|
98322
|
+
noop: () => noop$5,
|
|
98323
98323
|
openLink: () => openLink,
|
|
98324
98324
|
periodSeparate: () => periodSeparate,
|
|
98325
98325
|
prettifyLabel: () => prettifyLabel,
|
|
@@ -98844,7 +98844,7 @@ const getSessionStorageItem = (key) => {
|
|
|
98844
98844
|
return item[key];
|
|
98845
98845
|
}
|
|
98846
98846
|
};
|
|
98847
|
-
const noop$
|
|
98847
|
+
const noop$5 = (...args) => {};
|
|
98848
98848
|
const convertToBlob = (filepath) => {
|
|
98849
98849
|
return new Promise((resolve, reject) => {
|
|
98850
98850
|
resolveLocalFileSystemURL(filepath, function(fileEntry) {
|
|
@@ -98940,8 +98940,8 @@ const isAppleProduct = /Mac|iPod|iPhone|iPad/.test(window.navigator.platform);
|
|
|
98940
98940
|
const defer$1 = () => {
|
|
98941
98941
|
const d = {
|
|
98942
98942
|
promise: null,
|
|
98943
|
-
resolve: noop$
|
|
98944
|
-
reject: noop$
|
|
98943
|
+
resolve: noop$5,
|
|
98944
|
+
reject: noop$5
|
|
98945
98945
|
};
|
|
98946
98946
|
d.promise = new Promise((resolve, reject) => {
|
|
98947
98947
|
d.resolve = resolve;
|
|
@@ -98970,7 +98970,7 @@ const validateDataSourceCtx = (ds, ctx) => {
|
|
|
98970
98970
|
return ds.execute(DataSource$1.Operation.GET_CONTEXT_IDENTIFIER) === ctx;
|
|
98971
98971
|
};
|
|
98972
98972
|
const processFilterExpBindNode = (context, filterExpressions, variable) => {
|
|
98973
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop$
|
|
98973
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop$6;
|
|
98974
98974
|
const filter$ = new Subject$1();
|
|
98975
98975
|
const bindFilExpObj = (obj, targetNodeKey) => {
|
|
98976
98976
|
const listener = (newVal, oldVal) => {
|
|
@@ -99285,7 +99285,7 @@ var EventNotifier = class {
|
|
|
99285
99285
|
eventListener.unsubscribe();
|
|
99286
99286
|
};
|
|
99287
99287
|
}
|
|
99288
|
-
return noop$
|
|
99288
|
+
return noop$5;
|
|
99289
99289
|
}
|
|
99290
99290
|
destroy() {
|
|
99291
99291
|
this._subject.next(null);
|
|
@@ -100842,7 +100842,7 @@ var REGEX = {
|
|
|
100842
100842
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
100843
100843
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g};
|
|
100844
100844
|
var NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
|
|
100845
|
-
var noop$
|
|
100845
|
+
var noop$4 = function () {
|
|
100846
100846
|
};
|
|
100847
100847
|
var isValidWebURL = function (url) {
|
|
100848
100848
|
return (REGEX.VALID_WEB_URL).test(url);
|
|
@@ -101422,11 +101422,11 @@ var appManager$1;
|
|
|
101422
101422
|
var metadataService$1;
|
|
101423
101423
|
var oauthService$1;
|
|
101424
101424
|
var securityService$1;
|
|
101425
|
-
var internalBoundNodeMap = new Map();
|
|
101425
|
+
var internalBoundNodeMap$1 = new Map();
|
|
101426
101426
|
var timers$1 = new Map();
|
|
101427
101427
|
var DOT_EXPR_REX$1 = /^\[("|')[\w\W]*(\1)\]$/;
|
|
101428
101428
|
var _invoke$1 = function (variable, op) {
|
|
101429
|
-
var debouncedFn, cancelFn = noop$
|
|
101429
|
+
var debouncedFn, cancelFn = noop$4, retVal;
|
|
101430
101430
|
if (timers$1.has(variable)) {
|
|
101431
101431
|
cancelFn = timers$1.get(variable).cancel;
|
|
101432
101432
|
}
|
|
@@ -101435,7 +101435,7 @@ var _invoke$1 = function (variable, op) {
|
|
|
101435
101435
|
retVal = variable[op]();
|
|
101436
101436
|
// handle promises to avoid uncaught promise errors in console
|
|
101437
101437
|
if (retVal instanceof Promise) {
|
|
101438
|
-
retVal.catch(noop$
|
|
101438
|
+
retVal.catch(noop$4);
|
|
101439
101439
|
}
|
|
101440
101440
|
}, 100);
|
|
101441
101441
|
timers$1.set(variable, debouncedFn);
|
|
@@ -101730,7 +101730,7 @@ var getTargetObj$1 = function (obj, root, variable) {
|
|
|
101730
101730
|
* @param regex
|
|
101731
101731
|
* @returns {*}
|
|
101732
101732
|
*/
|
|
101733
|
-
var getTargetNodeKey = function (target) {
|
|
101733
|
+
var getTargetNodeKey$1 = function (target) {
|
|
101734
101734
|
/*
|
|
101735
101735
|
* if the target key is in the form as "['my.param']"
|
|
101736
101736
|
* keep the target key as "my.param" and do not split further
|
|
@@ -101752,8 +101752,8 @@ var getTargetNodeKey = function (target) {
|
|
|
101752
101752
|
}
|
|
101753
101753
|
return targetNodeKey;
|
|
101754
101754
|
};
|
|
101755
|
-
var setValueToNode = function (target, obj, root, variable, value, noUpdate) {
|
|
101756
|
-
var targetNodeKey = getTargetNodeKey(target), targetObj = getTargetObj$1(obj, root, variable);
|
|
101755
|
+
var setValueToNode$1 = function (target, obj, root, variable, value, noUpdate) {
|
|
101756
|
+
var targetNodeKey = getTargetNodeKey$1(target), targetObj = getTargetObj$1(obj, root, variable);
|
|
101757
101757
|
value = !isUndefined$1(value) ? value : obj.value;
|
|
101758
101758
|
/* sanity check, user can bind parent nodes to non-object values, so child node bindings may fail */
|
|
101759
101759
|
if (targetObj) {
|
|
@@ -101829,7 +101829,7 @@ var getTarget = function (variable) {
|
|
|
101829
101829
|
* @param variable
|
|
101830
101830
|
*/
|
|
101831
101831
|
var updateInternalNodes$1 = function (target, root, variable) {
|
|
101832
|
-
var boundInternalNodes = keys(get(internalBoundNodeMap.get(variable), [variable.name, root])), targetNodeKey = getTargetNodeKey(target);
|
|
101832
|
+
var boundInternalNodes = keys(get(internalBoundNodeMap$1.get(variable), [variable.name, root])), targetNodeKey = getTargetNodeKey$1(target);
|
|
101833
101833
|
var internalNodes;
|
|
101834
101834
|
function findInternalNodeBound() {
|
|
101835
101835
|
return filter$1(boundInternalNodes, function (node) {
|
|
@@ -101840,7 +101840,7 @@ var updateInternalNodes$1 = function (target, root, variable) {
|
|
|
101840
101840
|
internalNodes = findInternalNodeBound();
|
|
101841
101841
|
if ((internalNodes.length)) {
|
|
101842
101842
|
forEach(internalNodes, function (node) {
|
|
101843
|
-
setValueToNode(node, { target: node }, root, variable, get(internalBoundNodeMap.get(variable), [variable.name, root, node]));
|
|
101843
|
+
setValueToNode$1(node, { target: node }, root, variable, get(internalBoundNodeMap$1.get(variable), [variable.name, root, node]));
|
|
101844
101844
|
});
|
|
101845
101845
|
}
|
|
101846
101846
|
};
|
|
@@ -101873,7 +101873,7 @@ var initiateCallback$1 = function (type, variable, data, options, skipDefaultNot
|
|
|
101873
101873
|
// TODO: [Vibhu], check whether to support legacy event calling mechanism (ideally, it should have been migrated)
|
|
101874
101874
|
// ToDo - variable seperation
|
|
101875
101875
|
// const fn = $parseEvent(variable[type]);
|
|
101876
|
-
var fn = variable[type] || noop$
|
|
101876
|
+
var fn = variable[type] || noop$4;
|
|
101877
101877
|
if (type === VARIABLE_CONSTANTS$1.EVENT.BEFORE_UPDATE) {
|
|
101878
101878
|
if (variable.category === 'wm.LiveVariable' && variable.operation === 'read') {
|
|
101879
101879
|
return fn(variable._context, { variable: variable, dataFilter: data, options: options });
|
|
@@ -102175,7 +102175,7 @@ var BaseAction = /** @class */ (function () {
|
|
|
102175
102175
|
return returnVal;
|
|
102176
102176
|
};
|
|
102177
102177
|
BaseAction.prototype.invokeOnParamChange = function (obj, newVal, oldVal) {
|
|
102178
|
-
var target = obj.target, root = getTarget(this), targetObj = getTargetObj$1(obj, root, this), targetNodeKey = getTargetNodeKey(target);
|
|
102178
|
+
var target = obj.target, root = getTarget(this), targetObj = getTargetObj$1(obj, root, this), targetNodeKey = getTargetNodeKey$1(target);
|
|
102179
102179
|
if ((newVal === oldVal && isUndefined$1(newVal)) || (isUndefined$1(newVal) && (!isUndefined$1(oldVal) || !isUndefined$1(targetObj[targetNodeKey])))) {
|
|
102180
102180
|
return;
|
|
102181
102181
|
}
|
|
@@ -102183,7 +102183,7 @@ var BaseAction = /** @class */ (function () {
|
|
|
102183
102183
|
if (!includes(['blob', 'file'], obj.type)) {
|
|
102184
102184
|
newVal = getClonedObject(newVal);
|
|
102185
102185
|
}
|
|
102186
|
-
setValueToNode(target, obj, root, this, newVal); // cloning newVal to keep the source clean
|
|
102186
|
+
setValueToNode$1(target, obj, root, this, newVal); // cloning newVal to keep the source clean
|
|
102187
102187
|
return Promise.resolve(this);
|
|
102188
102188
|
};
|
|
102189
102189
|
BaseAction.prototype.getData = function () {
|
|
@@ -102306,7 +102306,7 @@ var BaseVariable = /** @class */ (function () {
|
|
|
102306
102306
|
if (!obj) {
|
|
102307
102307
|
return;
|
|
102308
102308
|
}
|
|
102309
|
-
var target = obj === null || obj === void 0 ? void 0 : obj.target, root = getTarget(this), targetObj = getTargetObj$1(obj, root, this), targetNodeKey = getTargetNodeKey(target);
|
|
102309
|
+
var target = obj === null || obj === void 0 ? void 0 : obj.target, root = getTarget(this), targetObj = getTargetObj$1(obj, root, this), targetNodeKey = getTargetNodeKey$1(target);
|
|
102310
102310
|
if ((newVal === oldVal && isUndefined$1(newVal)) || (isUndefined$1(newVal) && (!isUndefined$1(oldVal) || !isUndefined$1(targetObj[targetNodeKey])))) {
|
|
102311
102311
|
return;
|
|
102312
102312
|
}
|
|
@@ -102314,13 +102314,13 @@ var BaseVariable = /** @class */ (function () {
|
|
|
102314
102314
|
if (!includes(['blob', 'file'], obj.type)) {
|
|
102315
102315
|
newVal = getClonedObject(newVal);
|
|
102316
102316
|
}
|
|
102317
|
-
setValueToNode(target, obj, root, this, newVal); // cloning newVal to keep the source clean
|
|
102317
|
+
setValueToNode$1(target, obj, root, this, newVal); // cloning newVal to keep the source clean
|
|
102318
102318
|
{
|
|
102319
102319
|
/*set the internal bound node map with the latest updated value*/
|
|
102320
|
-
if (!internalBoundNodeMap.has(this)) {
|
|
102321
|
-
internalBoundNodeMap.set(this, {});
|
|
102320
|
+
if (!internalBoundNodeMap$1.has(this)) {
|
|
102321
|
+
internalBoundNodeMap$1.set(this, {});
|
|
102322
102322
|
}
|
|
102323
|
-
set(internalBoundNodeMap.get(this), [this.name, root, target], newVal);
|
|
102323
|
+
set(internalBoundNodeMap$1.get(this), [this.name, root, target], newVal);
|
|
102324
102324
|
/*update the internal nodes after internal node map is set*/
|
|
102325
102325
|
if (isObject$5(newVal)) {
|
|
102326
102326
|
updateInternalNodes$1(target, root, this);
|
|
@@ -106076,7 +106076,7 @@ var ServiceVariableManager = /** @class */ (function (_super) {
|
|
|
106076
106076
|
if (options.onBeforeservicecall) {
|
|
106077
106077
|
options.onBeforeservicecall(inputFields);
|
|
106078
106078
|
}
|
|
106079
|
-
return this.invoke(variable, requestParams, success, error).catch(noop$
|
|
106079
|
+
return this.invoke(variable, requestParams, success, error).catch(noop$4);
|
|
106080
106080
|
};
|
|
106081
106081
|
return ServiceVariableManager;
|
|
106082
106082
|
}(BaseVariableManager$1));
|
|
@@ -106949,7 +106949,7 @@ var LiveVariableManager = /** @class */ (function (_super) {
|
|
|
106949
106949
|
}
|
|
106950
106950
|
LiveVariableManager.prototype.initFilterExpressionBinding = function (variable) {
|
|
106951
106951
|
var context = variable._context;
|
|
106952
|
-
context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop$
|
|
106952
|
+
context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop$6;
|
|
106953
106953
|
// ToDo - variable seperation
|
|
106954
106954
|
// const filterSubscription = processFilterExpBindNode(context, variable.filterExpressions).subscribe((response: any) => {
|
|
106955
106955
|
// if (variable.operation === 'read') {
|
|
@@ -109539,19 +109539,19 @@ function requireReportUnhandledError () {
|
|
|
109539
109539
|
return reportUnhandledError;
|
|
109540
109540
|
}
|
|
109541
109541
|
|
|
109542
|
-
var noop$
|
|
109542
|
+
var noop$3 = {};
|
|
109543
109543
|
|
|
109544
109544
|
var hasRequiredNoop;
|
|
109545
109545
|
|
|
109546
109546
|
function requireNoop () {
|
|
109547
|
-
if (hasRequiredNoop) return noop$
|
|
109547
|
+
if (hasRequiredNoop) return noop$3;
|
|
109548
109548
|
hasRequiredNoop = 1;
|
|
109549
|
-
Object.defineProperty(noop$
|
|
109550
|
-
noop$
|
|
109549
|
+
Object.defineProperty(noop$3, "__esModule", { value: true });
|
|
109550
|
+
noop$3.noop = void 0;
|
|
109551
109551
|
function noop() { }
|
|
109552
|
-
noop$
|
|
109552
|
+
noop$3.noop = noop;
|
|
109553
109553
|
|
|
109554
|
-
return noop$
|
|
109554
|
+
return noop$3;
|
|
109555
109555
|
}
|
|
109556
109556
|
|
|
109557
109557
|
var NotificationFactories = {};
|
|
@@ -119349,15 +119349,15 @@ let oauthService;
|
|
|
119349
119349
|
let securityService;
|
|
119350
119350
|
let dialogService;
|
|
119351
119351
|
const DOT_EXPR_REX = /^\[("|')[\w\W]*(\1)\]$/;
|
|
119352
|
-
const internalBoundNodeMap
|
|
119352
|
+
const internalBoundNodeMap = /* @__PURE__ */ new Map();
|
|
119353
119353
|
const timers = /* @__PURE__ */ new Map();
|
|
119354
119354
|
const _invoke = (variable, op) => {
|
|
119355
|
-
let debouncedFn, cancelFn = noop$
|
|
119355
|
+
let debouncedFn, cancelFn = noop$6, retVal;
|
|
119356
119356
|
if (timers.has(variable)) cancelFn = timers.get(variable).cancel;
|
|
119357
119357
|
cancelFn();
|
|
119358
119358
|
debouncedFn = debounce$2(function() {
|
|
119359
119359
|
retVal = variable[op]();
|
|
119360
|
-
if (retVal instanceof Promise) retVal.catch(noop$
|
|
119360
|
+
if (retVal instanceof Promise) retVal.catch(noop$6);
|
|
119361
119361
|
}, 100);
|
|
119362
119362
|
timers.set(variable, debouncedFn);
|
|
119363
119363
|
debouncedFn();
|
|
@@ -119597,14 +119597,14 @@ const getTargetObj = (obj, root, variable) => {
|
|
|
119597
119597
|
}
|
|
119598
119598
|
return targetObj;
|
|
119599
119599
|
};
|
|
119600
|
-
const getTargetNodeKey
|
|
119600
|
+
const getTargetNodeKey = (target) => {
|
|
119601
119601
|
let targetNodeKey;
|
|
119602
119602
|
if (DOT_EXPR_REX.test(target)) targetNodeKey = target.replace(/^(\[["'])|(["']\])$/g, "");
|
|
119603
119603
|
else targetNodeKey = target.split(".").pop();
|
|
119604
119604
|
return targetNodeKey;
|
|
119605
119605
|
};
|
|
119606
|
-
const setValueToNode
|
|
119607
|
-
const targetNodeKey = getTargetNodeKey
|
|
119606
|
+
const setValueToNode = (target, obj, root, variable, value, noUpdate) => {
|
|
119607
|
+
const targetNodeKey = getTargetNodeKey(target), targetObj = getTargetObj(obj, root, variable);
|
|
119608
119608
|
value = !isUndefined$1(value) ? value : obj.value;
|
|
119609
119609
|
if (targetObj) {
|
|
119610
119610
|
if (obj.collectionFormat === "multi" && !isArray$1(value)) {
|
|
@@ -119623,7 +119623,7 @@ const setValueToNode$1 = (target, obj, root, variable, value, noUpdate) => {
|
|
|
119623
119623
|
processVariablePostBindUpdate(targetNodeKey, value, obj.type, variable, noUpdate);
|
|
119624
119624
|
};
|
|
119625
119625
|
const updateInternalNodes = (target, root, variable) => {
|
|
119626
|
-
const boundInternalNodes = keys(get(internalBoundNodeMap
|
|
119626
|
+
const boundInternalNodes = keys(get(internalBoundNodeMap.get(variable), [variable.name, root])), targetNodeKey = getTargetNodeKey(target);
|
|
119627
119627
|
let internalNodes;
|
|
119628
119628
|
function findInternalNodeBound() {
|
|
119629
119629
|
return filter$1(boundInternalNodes, function(node) {
|
|
@@ -119632,7 +119632,7 @@ const updateInternalNodes = (target, root, variable) => {
|
|
|
119632
119632
|
}
|
|
119633
119633
|
internalNodes = findInternalNodeBound();
|
|
119634
119634
|
if (internalNodes.length) forEach(internalNodes, function(node) {
|
|
119635
|
-
setValueToNode
|
|
119635
|
+
setValueToNode(node, { target: node }, root, variable, get(internalBoundNodeMap.get(variable), [
|
|
119636
119636
|
variable.name,
|
|
119637
119637
|
root,
|
|
119638
119638
|
node
|
|
@@ -119640,15 +119640,15 @@ const updateInternalNodes = (target, root, variable) => {
|
|
|
119640
119640
|
});
|
|
119641
119641
|
};
|
|
119642
119642
|
const processBindObject = (obj, scope, root, variable) => {
|
|
119643
|
-
const target = obj.target, targetObj = getTargetObj(obj, root, variable), targetNodeKey = getTargetNodeKey
|
|
119644
|
-
const destroyFn = scope.registerDestroyListener ? scope.registerDestroyListener.bind(scope) : noop$
|
|
119643
|
+
const target = obj.target, targetObj = getTargetObj(obj, root, variable), targetNodeKey = getTargetNodeKey(target);
|
|
119644
|
+
const destroyFn = scope.registerDestroyListener ? scope.registerDestroyListener.bind(scope) : noop$6;
|
|
119645
119645
|
if (stringStartsWith(obj.value, "bind:")) {
|
|
119646
119646
|
const listener = (newVal, oldVal) => {
|
|
119647
119647
|
if (newVal === oldVal && isUndefined$1(newVal) || isUndefined$1(newVal) && (!isUndefined$1(oldVal) || !isUndefined$1(targetObj[targetNodeKey]))) return;
|
|
119648
119648
|
if (!includes(["blob", "file"], obj.type)) newVal = getClonedObject$1(newVal);
|
|
119649
|
-
setValueToNode
|
|
119650
|
-
if (!internalBoundNodeMap
|
|
119651
|
-
set(internalBoundNodeMap
|
|
119649
|
+
setValueToNode(target, obj, root, variable, newVal);
|
|
119650
|
+
if (!internalBoundNodeMap.has(variable)) internalBoundNodeMap.set(variable, {});
|
|
119651
|
+
set(internalBoundNodeMap.get(variable), [
|
|
119652
119652
|
variable.name,
|
|
119653
119653
|
root,
|
|
119654
119654
|
target
|
|
@@ -119657,10 +119657,10 @@ const processBindObject = (obj, scope, root, variable) => {
|
|
|
119657
119657
|
};
|
|
119658
119658
|
destroyFn($watch(obj.value.replace("bind:", ""), scope, {}, listener, void 0, void 0, void 0, () => variable.isMuted));
|
|
119659
119659
|
} else if (!isUndefined$1(obj.value)) {
|
|
119660
|
-
setValueToNode
|
|
119660
|
+
setValueToNode(target, obj, root, variable, obj.value, true);
|
|
119661
119661
|
if (root !== targetNodeKey) {
|
|
119662
|
-
if (!internalBoundNodeMap
|
|
119663
|
-
set(internalBoundNodeMap
|
|
119662
|
+
if (!internalBoundNodeMap.has(variable)) internalBoundNodeMap.set(variable, {});
|
|
119663
|
+
set(internalBoundNodeMap.get(variable), [
|
|
119664
119664
|
variable.name,
|
|
119665
119665
|
root,
|
|
119666
119666
|
target
|
|
@@ -120965,17 +120965,17 @@ var VariablesService = class VariablesService {
|
|
|
120965
120965
|
return Promise.all(Object.keys(collection).map((name) => collection[name]).filter((variable) => variable?.startUpdate && variable.invoke).map((variable) => variable.invoke()));
|
|
120966
120966
|
}
|
|
120967
120967
|
processBindExp(d, scope, variable) {
|
|
120968
|
-
const root = getTarget(variable), targetNodeKey = getTargetNodeKey(d.target);
|
|
120968
|
+
const root = getTarget(variable), targetNodeKey = getTargetNodeKey$1(d.target);
|
|
120969
120969
|
let v = isArray$1(d.value) ? d.value[0] : d.value;
|
|
120970
120970
|
if (v) {
|
|
120971
120971
|
if (v.startsWith && v.startsWith("bind:")) {
|
|
120972
120972
|
const watchExpression = $watch(v.replace("bind:", ""), scope, {}, variable.invokeOnParamChange.bind(variable, d), void 0, void 0, d, () => variable.isMuted);
|
|
120973
120973
|
v = scope.registerDestroyListener ? scope.registerDestroyListener(watchExpression) : watchExpression;
|
|
120974
120974
|
} else if (!isUndefined$1(d.value)) {
|
|
120975
|
-
setValueToNode(d.target, d, root, variable, d.value, true);
|
|
120975
|
+
setValueToNode$1(d.target, d, root, variable, d.value, true);
|
|
120976
120976
|
if (root !== targetNodeKey) {
|
|
120977
|
-
if (!internalBoundNodeMap.has(variable)) internalBoundNodeMap.set(variable, {});
|
|
120978
|
-
set(internalBoundNodeMap.get(variable), [
|
|
120977
|
+
if (!internalBoundNodeMap$1.has(variable)) internalBoundNodeMap$1.set(variable, {});
|
|
120978
|
+
set(internalBoundNodeMap$1.get(variable), [
|
|
120979
120979
|
variable.name,
|
|
120980
120980
|
root,
|
|
120981
120981
|
d.target
|
|
@@ -121097,7 +121097,7 @@ var VariablesService = class VariablesService {
|
|
|
121097
121097
|
});
|
|
121098
121098
|
|
|
121099
121099
|
/*!
|
|
121100
|
-
* tabbable 6.5.
|
|
121100
|
+
* tabbable 6.5.2
|
|
121101
121101
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
121102
121102
|
*/
|
|
121103
121103
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
@@ -121374,54 +121374,6 @@ var isRadio = function isRadio(node) {
|
|
|
121374
121374
|
var isNonTabbableRadio = function isNonTabbableRadio(node) {
|
|
121375
121375
|
return isRadio(node) && !isTabbableRadio(node);
|
|
121376
121376
|
};
|
|
121377
|
-
|
|
121378
|
-
// determines if a node is ultimately attached to the window's document
|
|
121379
|
-
var isNodeAttached = function isNodeAttached(node) {
|
|
121380
|
-
var _nodeRoot;
|
|
121381
|
-
// The root node is the shadow root if the node is in a shadow DOM; some document otherwise
|
|
121382
|
-
// (but NOT _the_ document; see second 'If' comment below for more).
|
|
121383
|
-
// If rootNode is shadow root, it'll have a host, which is the element to which the shadow
|
|
121384
|
-
// is attached, and the one we need to check if it's in the document or not (because the
|
|
121385
|
-
// shadow, and all nodes it contains, is never considered in the document since shadows
|
|
121386
|
-
// behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
|
|
121387
|
-
// is hidden, or is not in the document itself but is detached, it will affect the shadow's
|
|
121388
|
-
// visibility, including all the nodes it contains). The host could be any normal node,
|
|
121389
|
-
// or a custom element (i.e. web component). Either way, that's the one that is considered
|
|
121390
|
-
// part of the document, not the shadow root, nor any of its children (i.e. the node being
|
|
121391
|
-
// tested).
|
|
121392
|
-
// To further complicate things, we have to look all the way up until we find a shadow HOST
|
|
121393
|
-
// that is attached (or find none) because the node might be in nested shadows...
|
|
121394
|
-
// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
|
|
121395
|
-
// document (per the docs) and while it's a Document-type object, that document does not
|
|
121396
|
-
// appear to be the same as the node's `ownerDocument` for some reason, so it's safer
|
|
121397
|
-
// to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
|
|
121398
|
-
// using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
|
|
121399
|
-
// node is actually detached.
|
|
121400
|
-
// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
|
|
121401
|
-
// if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
|
|
121402
|
-
// from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
|
|
121403
|
-
// `ownerDocument` will be `null`, hence the optional chaining on it.
|
|
121404
|
-
var nodeRoot = node && getRootNode(node);
|
|
121405
|
-
var nodeRootHost = (_nodeRoot = nodeRoot) == null ? void 0 : _nodeRoot.host;
|
|
121406
|
-
|
|
121407
|
-
// in some cases, a detached node will return itself as the root instead of a document or
|
|
121408
|
-
// shadow root object, in which case, we shouldn't try to look further up the host chain
|
|
121409
|
-
var attached = false;
|
|
121410
|
-
if (nodeRoot && nodeRoot !== node) {
|
|
121411
|
-
var _nodeRootHost, _node$ownerDocument;
|
|
121412
|
-
attached = !!((_nodeRootHost = nodeRootHost) != null && (_nodeRootHost = _nodeRootHost.ownerDocument) != null && _nodeRootHost.contains(nodeRootHost) || node != null && (_node$ownerDocument = node.ownerDocument) != null && _node$ownerDocument.contains(node));
|
|
121413
|
-
while (!attached && nodeRootHost) {
|
|
121414
|
-
var _nodeRoot2, _nodeRootHost2;
|
|
121415
|
-
// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
|
|
121416
|
-
// which means we need to get the host's host and check if that parent host is contained
|
|
121417
|
-
// in (i.e. attached to) the document
|
|
121418
|
-
nodeRoot = getRootNode(nodeRootHost);
|
|
121419
|
-
nodeRootHost = (_nodeRoot2 = nodeRoot) == null ? void 0 : _nodeRoot2.host;
|
|
121420
|
-
attached = !!((_nodeRootHost2 = nodeRootHost) != null && (_nodeRootHost2 = _nodeRootHost2.ownerDocument) != null && _nodeRootHost2.contains(nodeRootHost));
|
|
121421
|
-
}
|
|
121422
|
-
}
|
|
121423
|
-
return attached;
|
|
121424
|
-
};
|
|
121425
121377
|
var isZeroArea = function isZeroArea(node) {
|
|
121426
121378
|
var _node$getBoundingClie = node.getBoundingClientRect(),
|
|
121427
121379
|
width = _node$getBoundingClie.width,
|
|
@@ -121507,7 +121459,7 @@ var isHidden = function isHidden(node, _ref) {
|
|
|
121507
121459
|
// NOTE: We must consider case where node is inside a shadow DOM and given directly to
|
|
121508
121460
|
// `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
|
|
121509
121461
|
|
|
121510
|
-
if (
|
|
121462
|
+
if (node.isConnected) {
|
|
121511
121463
|
// this works wherever the node is: if there's at least one client rect, it's
|
|
121512
121464
|
// somehow displayed; it also covers the CSS 'display: contents' case where the
|
|
121513
121465
|
// node itself is hidden in place of its contents; and there's no need to search
|
|
@@ -121684,52 +121636,58 @@ var isFocusable = function isFocusable(node, options) {
|
|
|
121684
121636
|
};
|
|
121685
121637
|
|
|
121686
121638
|
/*!
|
|
121687
|
-
* @wavemaker/focus-trap 1.0.
|
|
121639
|
+
* @wavemaker/focus-trap 1.0.2
|
|
121688
121640
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
121689
121641
|
*/
|
|
121690
121642
|
|
|
121691
|
-
function
|
|
121692
|
-
|
|
121693
|
-
value: t,
|
|
121694
|
-
enumerable: true,
|
|
121695
|
-
configurable: true,
|
|
121696
|
-
writable: true
|
|
121697
|
-
}) : e[r] = t, e;
|
|
121698
|
-
}
|
|
121699
|
-
function ownKeys(e, r) {
|
|
121700
|
-
var t = Object.keys(e);
|
|
121643
|
+
function ownKeys(object, enumerableOnly) {
|
|
121644
|
+
var keys = Object.keys(object);
|
|
121701
121645
|
if (Object.getOwnPropertySymbols) {
|
|
121702
|
-
var
|
|
121703
|
-
|
|
121704
|
-
return Object.getOwnPropertyDescriptor(
|
|
121705
|
-
})),
|
|
121706
|
-
}
|
|
121707
|
-
return
|
|
121708
|
-
}
|
|
121709
|
-
function _objectSpread2(
|
|
121710
|
-
for (var
|
|
121711
|
-
var
|
|
121712
|
-
|
|
121713
|
-
_defineProperty(
|
|
121714
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
121715
|
-
Object.defineProperty(
|
|
121646
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
121647
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
121648
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
121649
|
+
})), keys.push.apply(keys, symbols);
|
|
121650
|
+
}
|
|
121651
|
+
return keys;
|
|
121652
|
+
}
|
|
121653
|
+
function _objectSpread2(target) {
|
|
121654
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
121655
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
121656
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function (key) {
|
|
121657
|
+
_defineProperty(target, key, source[key]);
|
|
121658
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
121659
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
121716
121660
|
});
|
|
121717
121661
|
}
|
|
121718
|
-
return
|
|
121662
|
+
return target;
|
|
121663
|
+
}
|
|
121664
|
+
function _defineProperty(obj, key, value) {
|
|
121665
|
+
key = _toPropertyKey(key);
|
|
121666
|
+
if (key in obj) {
|
|
121667
|
+
Object.defineProperty(obj, key, {
|
|
121668
|
+
value: value,
|
|
121669
|
+
enumerable: true,
|
|
121670
|
+
configurable: true,
|
|
121671
|
+
writable: true
|
|
121672
|
+
});
|
|
121673
|
+
} else {
|
|
121674
|
+
obj[key] = value;
|
|
121675
|
+
}
|
|
121676
|
+
return obj;
|
|
121719
121677
|
}
|
|
121720
|
-
function _toPrimitive(
|
|
121721
|
-
if ("object"
|
|
121722
|
-
var
|
|
121723
|
-
if (
|
|
121724
|
-
var
|
|
121725
|
-
if ("object"
|
|
121678
|
+
function _toPrimitive(input, hint) {
|
|
121679
|
+
if (typeof input !== "object" || input === null) return input;
|
|
121680
|
+
var prim = input[Symbol.toPrimitive];
|
|
121681
|
+
if (prim !== undefined) {
|
|
121682
|
+
var res = prim.call(input, hint);
|
|
121683
|
+
if (typeof res !== "object") return res;
|
|
121726
121684
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
121727
121685
|
}
|
|
121728
|
-
return ("string"
|
|
121686
|
+
return (hint === "string" ? String : Number)(input);
|
|
121729
121687
|
}
|
|
121730
|
-
function _toPropertyKey(
|
|
121731
|
-
var
|
|
121732
|
-
return "symbol"
|
|
121688
|
+
function _toPropertyKey(arg) {
|
|
121689
|
+
var key = _toPrimitive(arg, "string");
|
|
121690
|
+
return typeof key === "symbol" ? key : String(key);
|
|
121733
121691
|
}
|
|
121734
121692
|
|
|
121735
121693
|
var activeFocusTraps = {
|
|
@@ -121791,8 +121749,10 @@ var findIndex = function findIndex(arr, fn) {
|
|
|
121791
121749
|
idx = i;
|
|
121792
121750
|
return false; // break
|
|
121793
121751
|
}
|
|
121752
|
+
|
|
121794
121753
|
return true; // next
|
|
121795
121754
|
});
|
|
121755
|
+
|
|
121796
121756
|
return idx;
|
|
121797
121757
|
};
|
|
121798
121758
|
|
|
@@ -121931,6 +121891,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
121931
121891
|
if (optionValue === true) {
|
|
121932
121892
|
optionValue = undefined; // use default value
|
|
121933
121893
|
}
|
|
121894
|
+
|
|
121934
121895
|
if (!optionValue) {
|
|
121935
121896
|
if (optionValue === undefined || optionValue === false) {
|
|
121936
121897
|
return optionValue;
|
|
@@ -122218,6 +122179,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
122218
122179
|
}
|
|
122219
122180
|
// else, let the browser take care of [shift+]tab and move the focus
|
|
122220
122181
|
};
|
|
122182
|
+
|
|
122221
122183
|
var checkKey = function checkKey(event) {
|
|
122222
122184
|
if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {
|
|
122223
122185
|
event.preventDefault();
|
|
@@ -128453,7 +128415,7 @@ const getCurrentWidgets = (element, widgets) => {
|
|
|
128453
128415
|
return result;
|
|
128454
128416
|
}, {}));
|
|
128455
128417
|
};
|
|
128456
|
-
const noop$
|
|
128418
|
+
const noop$2 = () => {};
|
|
128457
128419
|
var Live_Operations;
|
|
128458
128420
|
(function(Live_Operations) {
|
|
128459
128421
|
Live_Operations["INSERT"] = "insert";
|
|
@@ -128558,7 +128520,7 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
128558
128520
|
formField.dataset = response.data;
|
|
128559
128521
|
formField.displayfield = formField.displayfield || head(keys(get(response, "[0]")));
|
|
128560
128522
|
if (formField.showPendingSpinner) formField.showPendingSpinner = false;
|
|
128561
|
-
}, noop$
|
|
128523
|
+
}, noop$2);
|
|
128562
128524
|
});
|
|
128563
128525
|
}
|
|
128564
128526
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
@@ -128567,7 +128529,7 @@ const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
|
128567
128529
|
}, 300);
|
|
128568
128530
|
debouncedFn();
|
|
128569
128531
|
const filterExpressions = filterexpressions ? isObject$5(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions) : {};
|
|
128570
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop$
|
|
128532
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop$2;
|
|
128571
128533
|
const filterSubscription = processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
128572
128534
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
128573
128535
|
debouncedFn();
|
|
@@ -128740,7 +128702,7 @@ function applyFilterOnField(dataSource, filterDef, formFields, newVal, options =
|
|
|
128740
128702
|
isEnableEmptyFilter: getEnableEmptyFilter(options.enableemptyfilter),
|
|
128741
128703
|
EMPTY_VALUE: options.EMPTY_VALUE
|
|
128742
128704
|
});
|
|
128743
|
-
}, noop$
|
|
128705
|
+
}, noop$2);
|
|
128744
128706
|
});
|
|
128745
128707
|
}
|
|
128746
128708
|
function transformData(dataObject, variableName) {
|
|
@@ -130414,7 +130376,7 @@ var PartialContainerDirective = class PartialContainerDirective {
|
|
|
130414
130376
|
if ("isInlineContent" in componentInstance) componentInstance.isInlineContent = !(nv && nv !== "");
|
|
130415
130377
|
if (componentInstance.$lazyLoad) componentInstance.$lazyLoad = () => {
|
|
130416
130378
|
this.renderPartial(nv);
|
|
130417
|
-
componentInstance.$lazyLoad = noop$
|
|
130379
|
+
componentInstance.$lazyLoad = noop$5;
|
|
130418
130380
|
};
|
|
130419
130381
|
else this.renderPartial(nv);
|
|
130420
130382
|
}
|
|
@@ -133706,7 +133668,7 @@ var DatasetAwareFormComponent = class DatasetAwareFormComponent extends BaseForm
|
|
|
133706
133668
|
this.initDatasetItems();
|
|
133707
133669
|
$appDigest();
|
|
133708
133670
|
}, 150);
|
|
133709
|
-
this.handleHeaderClick = noop$
|
|
133671
|
+
this.handleHeaderClick = noop$5;
|
|
133710
133672
|
this.cancelLocaleChangeSubscription = this.getAppInstance().subscribe("locale-changed", () => {
|
|
133711
133673
|
if (this._debouncedInitDatasetItems) this._debouncedInitDatasetItems();
|
|
133712
133674
|
});
|
|
@@ -134404,7 +134366,7 @@ var PrefabDirective$1 = class PrefabDirective extends StylableComponent {
|
|
|
134404
134366
|
widgetType,
|
|
134405
134367
|
hostClass: DEFAULT_CLS$1$2
|
|
134406
134368
|
};
|
|
134407
|
-
let resolveFn = noop$
|
|
134369
|
+
let resolveFn = noop$5;
|
|
134408
134370
|
super(inj, WIDGET_CONFIG, explicitContext, new Promise((res) => resolveFn = res));
|
|
134409
134371
|
this.propsReady = resolveFn;
|
|
134410
134372
|
this.prefabName = prefabName;
|
|
@@ -153717,12 +153679,7 @@ var AudioComponent = class AudioComponent extends StylableComponent {
|
|
|
153717
153679
|
providers: [provideAsWidgetRef(AudioComponent)],
|
|
153718
153680
|
usesInheritance: true,
|
|
153719
153681
|
ngImport: i0,
|
|
153720
|
-
template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format
|
|
153721
|
-
dependencies: [{
|
|
153722
|
-
kind: "pipe",
|
|
153723
|
-
type: TrustAsPipe,
|
|
153724
|
-
name: "trustAs"
|
|
153725
|
-
}],
|
|
153682
|
+
template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format\"\n name=\"wmAudio\" [tabindex]=\"tabindex\">\n <source type=\"audio/mp3\" [src]=\"mp3format\">\n {{audiosupportmessage}}\n</audio>\n",
|
|
153726
153683
|
changeDetection: ChangeDetectionStrategy$1.Eager
|
|
153727
153684
|
});
|
|
153728
153685
|
}
|
|
@@ -153734,10 +153691,9 @@ var AudioComponent = class AudioComponent extends StylableComponent {
|
|
|
153734
153691
|
args: [{
|
|
153735
153692
|
changeDetection: ChangeDetectionStrategy$1.Eager,
|
|
153736
153693
|
standalone: true,
|
|
153737
|
-
imports: [TrustAsPipe],
|
|
153738
153694
|
selector: "[wmAudio]",
|
|
153739
153695
|
providers: [provideAsWidgetRef(AudioComponent)],
|
|
153740
|
-
template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format
|
|
153696
|
+
template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format\"\n name=\"wmAudio\" [tabindex]=\"tabindex\">\n <source type=\"audio/mp3\" [src]=\"mp3format\">\n {{audiosupportmessage}}\n</audio>\n"
|
|
153741
153697
|
}]
|
|
153742
153698
|
}],
|
|
153743
153699
|
ctorParameters: () => [{ type: Injector }, {
|
|
@@ -190193,7 +190149,7 @@ var RatingComponent = class RatingComponent extends DatasetAwareFormComponent {
|
|
|
190193
190149
|
}
|
|
190194
190150
|
onTouchStart($event) {
|
|
190195
190151
|
this.touchEnabled = true;
|
|
190196
|
-
this.onTouchStart = noop$
|
|
190152
|
+
this.onTouchStart = noop$5;
|
|
190197
190153
|
}
|
|
190198
190154
|
onMouseleave() {
|
|
190199
190155
|
this.caption = this.displayValue;
|
|
@@ -193011,9 +192967,10 @@ var PaginationComponent = class PaginationComponent extends StylableComponent {
|
|
|
193011
192967
|
else item.removeAttribute("aria-disabled");
|
|
193012
192968
|
});
|
|
193013
192969
|
}
|
|
193014
|
-
constructor(inj, parent, explicitContext) {
|
|
192970
|
+
constructor(inj, parent, explicitContext, ngZone) {
|
|
193015
192971
|
super(inj, WIDGET_CONFIG$i, explicitContext);
|
|
193016
192972
|
this.parent = parent;
|
|
192973
|
+
this.ngZone = ngZone;
|
|
193017
192974
|
this.resultEmitter = new EventEmitter();
|
|
193018
192975
|
this.maxResultsEmitter = new EventEmitter();
|
|
193019
192976
|
this.defaultPageSizeOptions = [];
|
|
@@ -193505,12 +193462,27 @@ var PaginationComponent = class PaginationComponent extends StylableComponent {
|
|
|
193505
193462
|
onDropDownShown($event) {
|
|
193506
193463
|
const container = $event?._element?.nativeElement;
|
|
193507
193464
|
if (!container) return;
|
|
193508
|
-
|
|
193465
|
+
this.ngZone.onStable.pipe(take$1(1)).subscribe(() => this.adjustMenuVerticalPosition(container));
|
|
193509
193466
|
this.dropdownScrollHandler = () => {
|
|
193510
193467
|
this.onDropdownScroll();
|
|
193511
193468
|
};
|
|
193512
193469
|
window.addEventListener("scroll", this.dropdownScrollHandler, true);
|
|
193513
193470
|
}
|
|
193471
|
+
adjustMenuVerticalPosition(container, frames = 0) {
|
|
193472
|
+
const menu = container.querySelector("ul[id=\"dropdown-basic\"]");
|
|
193473
|
+
const parent = this.nativeElement?.querySelector(".items-per-page div");
|
|
193474
|
+
if (!menu?.isConnected || !parent) return;
|
|
193475
|
+
if (!container.style.transform && frames < 60) {
|
|
193476
|
+
requestAnimationFrame(() => this.adjustMenuVerticalPosition(container, frames + 1));
|
|
193477
|
+
return;
|
|
193478
|
+
}
|
|
193479
|
+
const parentRect = parent.getBoundingClientRect();
|
|
193480
|
+
const menuHeight = menu.offsetHeight;
|
|
193481
|
+
if (window.innerHeight - parentRect.bottom >= menuHeight || parentRect.top < menuHeight) return;
|
|
193482
|
+
const menuRect = menu.getBoundingClientRect();
|
|
193483
|
+
const shift = Math.max(parentRect.top - 2 - menuRect.bottom, -menuRect.top);
|
|
193484
|
+
menu.style.top = `${(parseFloat(getComputedStyle(menu).top) || 0) + shift}px`;
|
|
193485
|
+
}
|
|
193514
193486
|
onDropdownScroll() {}
|
|
193515
193487
|
onDropdownHidden() {
|
|
193516
193488
|
if (this.dropdownScrollHandler) window.removeEventListener("scroll", this.dropdownScrollHandler, true);
|
|
@@ -193559,7 +193531,8 @@ var PaginationComponent = class PaginationComponent extends StylableComponent {
|
|
|
193559
193531
|
{
|
|
193560
193532
|
token: "EXPLICIT_CONTEXT",
|
|
193561
193533
|
optional: true
|
|
193562
|
-
}
|
|
193534
|
+
},
|
|
193535
|
+
{ token: NgZone }
|
|
193563
193536
|
],
|
|
193564
193537
|
target: FactoryTarget$1.Component
|
|
193565
193538
|
});
|
|
@@ -193734,7 +193707,8 @@ var PaginationComponent = class PaginationComponent extends StylableComponent {
|
|
|
193734
193707
|
type: Inject,
|
|
193735
193708
|
args: ["EXPLICIT_CONTEXT"]
|
|
193736
193709
|
}, { type: Optional }]
|
|
193737
|
-
}
|
|
193710
|
+
},
|
|
193711
|
+
{ type: NgZone }
|
|
193738
193712
|
],
|
|
193739
193713
|
propDecorators: {
|
|
193740
193714
|
resultEmitter: [{ type: Output }],
|
|
@@ -194069,7 +194043,7 @@ var ListComponent = class ListComponent extends StylableComponent {
|
|
|
194069
194043
|
this.initializeProps = registerProps$l();
|
|
194070
194044
|
}
|
|
194071
194045
|
constructor(inj, cdRef, datePipe, app, appDefaults, ngZone, binditemclass, binddisableitem, binddataset, binddatasource, mouseEnterCB, mouseLeaveCB, statePersistence, paginationService, explicitContext) {
|
|
194072
|
-
let resolveFn = noop$
|
|
194046
|
+
let resolveFn = noop$5;
|
|
194073
194047
|
const propsInitPromise = new Promise((res) => resolveFn = res);
|
|
194074
194048
|
super(inj, WIDGET_CONFIG$h, explicitContext, propsInitPromise);
|
|
194075
194049
|
this.allowpagesizechange = false;
|
|
@@ -194410,7 +194384,7 @@ var ListComponent = class ListComponent extends StylableComponent {
|
|
|
194410
194384
|
}
|
|
194411
194385
|
ngOnInit() {
|
|
194412
194386
|
super.ngOnInit();
|
|
194413
|
-
this.handleHeaderClick = noop$
|
|
194387
|
+
this.handleHeaderClick = noop$5;
|
|
194414
194388
|
setTimeout(() => {
|
|
194415
194389
|
this.debouncedFetchNextDatasetOnScroll = this.paginationService.debouncedFetchNextDatasetOnScroll(this.dataNavigator, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME, this);
|
|
194416
194390
|
}, 0);
|
|
@@ -195326,7 +195300,7 @@ const exportIconMapping = {
|
|
|
195326
195300
|
};
|
|
195327
195301
|
const ROW_OPS_FIELD = "rowOperations";
|
|
195328
195302
|
const DEFAULT_PAGE_SIZE_OPTIONS = "5,10,20,50,100";
|
|
195329
|
-
const noop = () => {};
|
|
195303
|
+
const noop$1 = () => {};
|
|
195330
195304
|
const isInputBodyWrapper = (target) => {
|
|
195331
195305
|
const classes = [
|
|
195332
195306
|
".dropdown-menu",
|
|
@@ -195471,7 +195445,7 @@ var TableComponent = class TableComponent extends StylableComponent {
|
|
|
195471
195445
|
this.rowActions = [];
|
|
195472
195446
|
this.shownavigation = false;
|
|
195473
195447
|
this.showFirstRow = false;
|
|
195474
|
-
this.documentClickBind = noop;
|
|
195448
|
+
this.documentClickBind = noop$1;
|
|
195475
195449
|
this.prevFilterExpression = [];
|
|
195476
195450
|
this.fieldDefs = [];
|
|
195477
195451
|
this.rowDef = {};
|
|
@@ -195482,15 +195456,15 @@ var TableComponent = class TableComponent extends StylableComponent {
|
|
|
195482
195456
|
this.redraw = debounce$2(this._redraw, 150);
|
|
195483
195457
|
this.debouncedHandleLoading = debounce$2(this.handleLoading, 350);
|
|
195484
195458
|
this.rowFilter = {};
|
|
195485
|
-
this._searchSortHandler = noop;
|
|
195459
|
+
this._searchSortHandler = noop$1;
|
|
195486
195460
|
this.searchSortHandler = (...args) => {
|
|
195487
195461
|
this._searchSortHandler.apply(this, args);
|
|
195488
195462
|
};
|
|
195489
|
-
this.onRowFilterChange = noop;
|
|
195490
|
-
this.onFilterConditionSelect = noop;
|
|
195491
|
-
this.showClearIcon = noop;
|
|
195492
|
-
this.clearRowFilter = noop;
|
|
195493
|
-
this.adjustContainer = noop;
|
|
195463
|
+
this.onRowFilterChange = noop$1;
|
|
195464
|
+
this.onFilterConditionSelect = noop$1;
|
|
195465
|
+
this.showClearIcon = noop$1;
|
|
195466
|
+
this.clearRowFilter = noop$1;
|
|
195467
|
+
this.adjustContainer = noop$1;
|
|
195494
195468
|
this._pageLoad = true;
|
|
195495
195469
|
this.gridOptions = {
|
|
195496
195470
|
data: [],
|
|
@@ -202004,7 +201978,7 @@ var FormFieldDirective = class FormFieldDirective extends StylableComponent {
|
|
|
202004
201978
|
hostClass: "",
|
|
202005
201979
|
widgetSubType: "wm-form-field-" + (_widgetType || FormWidgetType.TEXT).trim()
|
|
202006
201980
|
};
|
|
202007
|
-
let resolveFn = noop$
|
|
201981
|
+
let resolveFn = noop$5;
|
|
202008
201982
|
super(inj, WIDGET_CONFIG, explicitContext, new Promise((res) => resolveFn = res));
|
|
202009
201983
|
this._initPropsRes = resolveFn;
|
|
202010
201984
|
this.app = app;
|
|
@@ -205475,7 +205449,7 @@ var AccordionDirective = class AccordionDirective extends StylableComponent {
|
|
|
205475
205449
|
this.initializeProps = registerProps$g();
|
|
205476
205450
|
}
|
|
205477
205451
|
constructor(inj, statePersistence, dynamicComponentProvider, explicitContext) {
|
|
205478
|
-
let resolveFn = noop$
|
|
205452
|
+
let resolveFn = noop$5;
|
|
205479
205453
|
super(inj, WIDGET_CONFIG$1$6, explicitContext, new Promise((res) => resolveFn = res));
|
|
205480
205454
|
this.dynamicComponentRefs = [];
|
|
205481
205455
|
this.promiseResolverFn = resolveFn;
|
|
@@ -205727,7 +205701,7 @@ var AccordionPaneComponent = class AccordionPaneComponent extends StylableCompon
|
|
|
205727
205701
|
super(inj, WIDGET_CONFIG$c, explicitContext);
|
|
205728
205702
|
this.accordionRef = accordionRef;
|
|
205729
205703
|
this.isActive = false;
|
|
205730
|
-
this.$lazyLoad = noop$
|
|
205704
|
+
this.$lazyLoad = noop$5;
|
|
205731
205705
|
this._isOnLoadTriggered = false;
|
|
205732
205706
|
this._currentAccordionWidgets = {};
|
|
205733
205707
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);
|
|
@@ -206350,7 +206324,7 @@ var PanelComponent = class PanelComponent extends MenuAdapterComponent {
|
|
|
206350
206324
|
}
|
|
206351
206325
|
constructor(inj, explicitContext) {
|
|
206352
206326
|
super(inj, WIDGET_CONFIG$9, explicitContext);
|
|
206353
|
-
this.$lazyLoad = noop$
|
|
206327
|
+
this.$lazyLoad = noop$5;
|
|
206354
206328
|
this.expanded = true;
|
|
206355
206329
|
this.helpClass = "";
|
|
206356
206330
|
this.helptext = "";
|
|
@@ -206755,7 +206729,7 @@ var TabPaneComponent = class TabPaneComponent extends StylableComponent {
|
|
|
206755
206729
|
this.title = title;
|
|
206756
206730
|
this._isFirstLoad = true;
|
|
206757
206731
|
this._isOnLoadTriggered = false;
|
|
206758
|
-
this.$lazyLoad = noop$
|
|
206732
|
+
this.$lazyLoad = noop$5;
|
|
206759
206733
|
this._currentTabWidgets = {};
|
|
206760
206734
|
this.isActive = false;
|
|
206761
206735
|
this.disabled = false;
|
|
@@ -206949,7 +206923,7 @@ var TabsComponent = class TabsComponent extends StylableComponent {
|
|
|
206949
206923
|
this.initializeProps = registerProps$1$3();
|
|
206950
206924
|
}
|
|
206951
206925
|
constructor(inj, dynamicComponentProvider, _transition, _tabsPosition, statePersistence, explicitContext) {
|
|
206952
|
-
let resolveFn = noop$
|
|
206926
|
+
let resolveFn = noop$5;
|
|
206953
206927
|
super(inj, WIDGET_CONFIG$8, explicitContext, new Promise((res) => resolveFn = res));
|
|
206954
206928
|
this.dynamicComponentRefs = [];
|
|
206955
206929
|
this.iconposition = "";
|
|
@@ -207586,7 +207560,7 @@ var WizardStepComponent = class WizardStepComponent extends StylableComponent {
|
|
|
207586
207560
|
constructor(inj, ngForm, explicitContext) {
|
|
207587
207561
|
super(inj, WIDGET_CONFIG$1$2, explicitContext);
|
|
207588
207562
|
this.ngForm = ngForm;
|
|
207589
|
-
this.$lazyLoad = noop$
|
|
207563
|
+
this.$lazyLoad = noop$5;
|
|
207590
207564
|
this.isDone = false;
|
|
207591
207565
|
this.nextCBInProgress = false;
|
|
207592
207566
|
this.prevCBInProgress = false;
|
|
@@ -207768,7 +207742,7 @@ var WizardComponent = class WizardComponent extends StylableComponent {
|
|
|
207768
207742
|
return this._isLastStep(this.currentStep);
|
|
207769
207743
|
}
|
|
207770
207744
|
constructor(inj, dynamicComponentProvider, contexts, explicitContext) {
|
|
207771
|
-
let resolveFn = noop$
|
|
207745
|
+
let resolveFn = noop$5;
|
|
207772
207746
|
super(inj, WIDGET_CONFIG$6, explicitContext, new Promise((res) => resolveFn = res));
|
|
207773
207747
|
this._isFirstLoad = true;
|
|
207774
207748
|
this.isPromise = (obj) => obj instanceof Promise || obj !== null && typeof obj === "object" && typeof obj.then === "function" && typeof obj.catch === "function";
|
|
@@ -211645,7 +211619,7 @@ var CustomWidgetContainerDirective = class CustomWidgetContainerDirective extend
|
|
|
211645
211619
|
widgetType,
|
|
211646
211620
|
hostClass: DEFAULT_CLS$1
|
|
211647
211621
|
};
|
|
211648
|
-
let resolveFn = noop$
|
|
211622
|
+
let resolveFn = noop$5;
|
|
211649
211623
|
super(inj, WIDGET_CONFIG, explicitContext, void 0, new Promise((res) => resolveFn = res));
|
|
211650
211624
|
this.props = {};
|
|
211651
211625
|
this.baseWidget = {};
|
|
@@ -212556,7 +212530,7 @@ var FragmentMonitor = class FragmentMonitor {
|
|
|
212556
212530
|
this.fragmentsLoaded$ = new Subject$1();
|
|
212557
212531
|
}
|
|
212558
212532
|
init() {
|
|
212559
|
-
this.viewInitSubscription = this.viewInit$.subscribe(noop$
|
|
212533
|
+
this.viewInitSubscription = this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
212560
212534
|
this.isViewInitialized = true;
|
|
212561
212535
|
this.isReady();
|
|
212562
212536
|
});
|
|
@@ -212580,8 +212554,8 @@ var FragmentMonitor = class FragmentMonitor {
|
|
|
212580
212554
|
}
|
|
212581
212555
|
isReady() {
|
|
212582
212556
|
if (this.isViewInitialized && !this.fragments) {
|
|
212583
|
-
this.registerFragment = noop$
|
|
212584
|
-
this.resolveFragment = noop$
|
|
212557
|
+
this.registerFragment = noop$5;
|
|
212558
|
+
this.resolveFragment = noop$5;
|
|
212585
212559
|
this.fragmentsLoaded$.complete();
|
|
212586
212560
|
}
|
|
212587
212561
|
}
|
|
@@ -212636,7 +212610,7 @@ var BasePartialComponent = class BasePartialComponent extends FragmentMonitor {
|
|
|
212636
212610
|
this.activePageName = this.App.activePageName;
|
|
212637
212611
|
this.registerPageParams();
|
|
212638
212612
|
this.defineI18nProps();
|
|
212639
|
-
this.viewInit$.subscribe(noop$
|
|
212613
|
+
this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
212640
212614
|
this.pageParams = this.containerWidget.partialParams;
|
|
212641
212615
|
});
|
|
212642
212616
|
if (this.spa) this.pageDirective = this.injector ? this.injector.get(SpaPageDirective) : inject(SpaPageDirective);
|
|
@@ -212653,7 +212627,7 @@ var BasePartialComponent = class BasePartialComponent extends FragmentMonitor {
|
|
|
212653
212627
|
this.containerWidget.Widgets = this.Widgets;
|
|
212654
212628
|
}
|
|
212655
212629
|
registerDestroyListener(fn) {
|
|
212656
|
-
this.destroy$.subscribe(noop$
|
|
212630
|
+
this.destroy$.subscribe(noop$5, noop$5, () => fn());
|
|
212657
212631
|
}
|
|
212658
212632
|
initUserScript() {
|
|
212659
212633
|
try {
|
|
@@ -212674,9 +212648,9 @@ var BasePartialComponent = class BasePartialComponent extends FragmentMonitor {
|
|
|
212674
212648
|
this.containerWidget.Actions = this.Actions;
|
|
212675
212649
|
Object.entries(variableCollection.Variables).forEach(([name, variable]) => this.Variables[name] = variable);
|
|
212676
212650
|
Object.entries(variableCollection.Actions).forEach(([name, action]) => this.Actions[name] = action);
|
|
212677
|
-
this.viewInit$.subscribe(noop$
|
|
212651
|
+
this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
212678
212652
|
$invokeWatchers(true, true);
|
|
212679
|
-
variableCollection.callback(variableCollection.Variables).catch(noop$
|
|
212653
|
+
variableCollection.callback(variableCollection.Variables).catch(noop$5);
|
|
212680
212654
|
variableCollection.callback(variableCollection.Actions);
|
|
212681
212655
|
});
|
|
212682
212656
|
}
|
|
@@ -212726,7 +212700,7 @@ var BasePartialComponent = class BasePartialComponent extends FragmentMonitor {
|
|
|
212726
212700
|
this.compileContent = true;
|
|
212727
212701
|
setTimeout(() => {
|
|
212728
212702
|
this.viewInit$.complete();
|
|
212729
|
-
this.fragmentsLoaded$.subscribe(noop$
|
|
212703
|
+
this.fragmentsLoaded$.subscribe(noop$5, noop$5, () => this.invokeOnReady());
|
|
212730
212704
|
}, 100);
|
|
212731
212705
|
});
|
|
212732
212706
|
}
|
|
@@ -212946,7 +212920,7 @@ var BasePageComponent = class BasePageComponent extends FragmentMonitor {
|
|
|
212946
212920
|
this.registerDestroyListener(() => subscription.unsubscribe());
|
|
212947
212921
|
}
|
|
212948
212922
|
registerDestroyListener(fn) {
|
|
212949
|
-
this.destroy$.subscribe(noop$
|
|
212923
|
+
this.destroy$.subscribe(noop$5, noop$5, () => fn());
|
|
212950
212924
|
}
|
|
212951
212925
|
defineI18nProps() {
|
|
212952
212926
|
this.appLocale = this.i18nService.getAppLocale();
|
|
@@ -212957,16 +212931,16 @@ var BasePageComponent = class BasePageComponent extends FragmentMonitor {
|
|
|
212957
212931
|
this.Actions = Object.create(this.App.Actions);
|
|
212958
212932
|
Object.entries(variableCollection.Variables).forEach(([name, variable]) => this.Variables[name] = variable);
|
|
212959
212933
|
Object.entries(variableCollection.Actions).forEach(([name, action]) => this.Actions[name] = action);
|
|
212960
|
-
const subscription = this.viewInit$.subscribe(noop$
|
|
212934
|
+
const subscription = this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
212961
212935
|
if (!this.appManager.isAppVariablesFired()) {
|
|
212962
|
-
variableCollection.callback(this.App.Variables).catch(noop$
|
|
212936
|
+
variableCollection.callback(this.App.Variables).catch(noop$5).then(() => {
|
|
212963
212937
|
this.appManager.notify("app-variables-data-loaded", { pageName: this.pageName });
|
|
212964
212938
|
});
|
|
212965
212939
|
variableCollection.callback(this.App.Actions);
|
|
212966
212940
|
this.appManager.appVariablesReady();
|
|
212967
212941
|
this.appManager.isAppVariablesFired(true);
|
|
212968
212942
|
}
|
|
212969
|
-
variableCollection.callback(variableCollection.Variables).catch(noop$
|
|
212943
|
+
variableCollection.callback(variableCollection.Variables).catch(noop$5).then(() => {
|
|
212970
212944
|
this.appManager.notify("page-variables-data-loaded", { pageName: this.pageName });
|
|
212971
212945
|
this.startupVariablesLoaded = true;
|
|
212972
212946
|
setTimeout(() => {
|
|
@@ -213023,7 +212997,7 @@ var BasePageComponent = class BasePageComponent extends FragmentMonitor {
|
|
|
213023
212997
|
"name": this.pageName,
|
|
213024
212998
|
instance: this
|
|
213025
212999
|
});
|
|
213026
|
-
(this.App.onPageReady || noop$
|
|
213000
|
+
(this.App.onPageReady || noop$5)(this.pageName, this);
|
|
213027
213001
|
const homePage = getWmProjectProperties()?.homePage;
|
|
213028
213002
|
if (window.top.name !== window.name && homePage === this.pageName) window.top.postMessage({ key: "onHomepageLoad" }, "*");
|
|
213029
213003
|
}
|
|
@@ -213066,7 +213040,7 @@ var BasePageComponent = class BasePageComponent extends FragmentMonitor {
|
|
|
213066
213040
|
canDeactivate(nextState) {
|
|
213067
213041
|
let retVal;
|
|
213068
213042
|
retVal = this.onBeforePageLeave();
|
|
213069
|
-
if (retVal !== false) retVal = (this.App.onBeforePageLeave || noop$
|
|
213043
|
+
if (retVal !== false) retVal = (this.App.onBeforePageLeave || noop$5)(this.App.activePageName, this.App.activePage, nextState);
|
|
213070
213044
|
return retVal === void 0 ? true : retVal;
|
|
213071
213045
|
}
|
|
213072
213046
|
ngAfterViewInit() {
|
|
@@ -213082,12 +213056,12 @@ var BasePageComponent = class BasePageComponent extends FragmentMonitor {
|
|
|
213082
213056
|
this.compilePageContent = true;
|
|
213083
213057
|
setTimeout(() => {
|
|
213084
213058
|
this.onPageContentReady = () => {
|
|
213085
|
-
this.fragmentsLoaded$.subscribe(noop$
|
|
213059
|
+
this.fragmentsLoaded$.subscribe(noop$5, noop$5, () => {
|
|
213086
213060
|
this.invokeOnReady();
|
|
213087
213061
|
});
|
|
213088
213062
|
unMuteWatchers();
|
|
213089
213063
|
this.viewInit$.complete();
|
|
213090
|
-
this.onPageContentReady = noop$
|
|
213064
|
+
this.onPageContentReady = noop$5;
|
|
213091
213065
|
};
|
|
213092
213066
|
}, 0);
|
|
213093
213067
|
});
|
|
@@ -213259,7 +213233,7 @@ var BaseCustomWidgetComponent = class BaseCustomWidgetComponent extends Fragment
|
|
|
213259
213233
|
this.activePageName = this.App.activePageName;
|
|
213260
213234
|
this.registerProps();
|
|
213261
213235
|
this.defineI18nProps();
|
|
213262
|
-
this.viewInit$.subscribe(noop$
|
|
213236
|
+
this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
213263
213237
|
this.props = this.containerWidget.props;
|
|
213264
213238
|
});
|
|
213265
213239
|
if (this.spa) this.pageDirective = this.injector ? this.injector.get(SpaPageDirective) : inject(SpaPageDirective);
|
|
@@ -213332,7 +213306,7 @@ var BaseCustomWidgetComponent = class BaseCustomWidgetComponent extends Fragment
|
|
|
213332
213306
|
});
|
|
213333
213307
|
}
|
|
213334
213308
|
registerDestroyListener(fn) {
|
|
213335
|
-
this.destroy$.subscribe(noop$
|
|
213309
|
+
this.destroy$.subscribe(noop$5, noop$5, () => fn());
|
|
213336
213310
|
}
|
|
213337
213311
|
registerChangeListeners() {
|
|
213338
213312
|
this.containerWidget.registerPropertyChangeListener(this.onPropertyChange);
|
|
@@ -213363,9 +213337,9 @@ var BaseCustomWidgetComponent = class BaseCustomWidgetComponent extends Fragment
|
|
|
213363
213337
|
this.containerWidget.Actions = this.Actions;
|
|
213364
213338
|
Object.entries(variableCollection.Variables).forEach(([name, variable]) => this.Variables[name] = variable);
|
|
213365
213339
|
Object.entries(variableCollection.Actions).forEach(([name, action]) => this.Actions[name] = action);
|
|
213366
|
-
this.viewInit$.subscribe(noop$
|
|
213340
|
+
this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
213367
213341
|
$invokeWatchers(true, true);
|
|
213368
|
-
variableCollection.callback(variableCollection.Variables).catch(noop$
|
|
213342
|
+
variableCollection.callback(variableCollection.Variables).catch(noop$5);
|
|
213369
213343
|
variableCollection.callback(variableCollection.Actions);
|
|
213370
213344
|
});
|
|
213371
213345
|
}
|
|
@@ -213420,7 +213394,7 @@ var BaseCustomWidgetComponent = class BaseCustomWidgetComponent extends Fragment
|
|
|
213420
213394
|
this.registerBaseWidget();
|
|
213421
213395
|
setTimeout(() => {
|
|
213422
213396
|
this.viewInit$.complete();
|
|
213423
|
-
this.fragmentsLoaded$.subscribe(noop$
|
|
213397
|
+
this.fragmentsLoaded$.subscribe(noop$5, noop$5, () => this.invokeOnReady());
|
|
213424
213398
|
}, 100);
|
|
213425
213399
|
}
|
|
213426
213400
|
ngOnDestroy() {
|
|
@@ -213547,7 +213521,7 @@ var BasePrefabComponent = class BasePrefabComponent extends FragmentMonitor {
|
|
|
213547
213521
|
this.containerWidget.registerStyleChangeListener(this.onPropertyChange);
|
|
213548
213522
|
}
|
|
213549
213523
|
registerDestroyListener(fn) {
|
|
213550
|
-
this.destroy$.subscribe(noop$
|
|
213524
|
+
this.destroy$.subscribe(noop$5, noop$5, () => fn());
|
|
213551
213525
|
}
|
|
213552
213526
|
defineI18nProps() {
|
|
213553
213527
|
this.appLocale = this.i18nService.getPrefabLocaleBundle(this.prefabName);
|
|
@@ -213597,8 +213571,8 @@ var BasePrefabComponent = class BasePrefabComponent extends FragmentMonitor {
|
|
|
213597
213571
|
this.containerWidget.Actions = this.Actions;
|
|
213598
213572
|
Object.entries(variableCollection.Variables).forEach(([name, variable]) => this.Variables[name] = variable);
|
|
213599
213573
|
Object.entries(variableCollection.Actions).forEach(([name, action]) => this.Actions[name] = action);
|
|
213600
|
-
this.viewInit$.subscribe(noop$
|
|
213601
|
-
variableCollection.callback(variableCollection.Variables).catch(noop$
|
|
213574
|
+
this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
213575
|
+
variableCollection.callback(variableCollection.Variables).catch(noop$5);
|
|
213602
213576
|
variableCollection.callback(variableCollection.Actions);
|
|
213603
213577
|
});
|
|
213604
213578
|
}
|
|
@@ -213664,7 +213638,7 @@ var BasePrefabComponent = class BasePrefabComponent extends FragmentMonitor {
|
|
|
213664
213638
|
this.registerChangeListeners();
|
|
213665
213639
|
setTimeout(() => {
|
|
213666
213640
|
this.viewInit$.complete();
|
|
213667
|
-
this.fragmentsLoaded$.subscribe(noop$
|
|
213641
|
+
this.fragmentsLoaded$.subscribe(noop$5, noop$5, () => this.invokeOnReady());
|
|
213668
213642
|
}, 100);
|
|
213669
213643
|
});
|
|
213670
213644
|
}
|
|
@@ -214284,7 +214258,7 @@ var BaseSpaPageComponent = class BaseSpaPageComponent extends FragmentMonitor {
|
|
|
214284
214258
|
this.registerDestroyListener(() => subscription.unsubscribe());
|
|
214285
214259
|
}
|
|
214286
214260
|
registerDestroyListener(fn) {
|
|
214287
|
-
this.destroy$.subscribe(noop$
|
|
214261
|
+
this.destroy$.subscribe(noop$5, noop$5, () => fn());
|
|
214288
214262
|
}
|
|
214289
214263
|
defineI18nProps() {
|
|
214290
214264
|
this.appLocale = this.i18nService.getAppLocale();
|
|
@@ -214295,16 +214269,16 @@ var BaseSpaPageComponent = class BaseSpaPageComponent extends FragmentMonitor {
|
|
|
214295
214269
|
this.Actions = Object.create(this.App.Actions);
|
|
214296
214270
|
Object.entries(variableCollection.Variables).forEach(([name, variable]) => this.Variables[name] = variable);
|
|
214297
214271
|
Object.entries(variableCollection.Actions).forEach(([name, action]) => this.Actions[name] = action);
|
|
214298
|
-
const subscription = this.viewInit$.subscribe(noop$
|
|
214272
|
+
const subscription = this.viewInit$.subscribe(noop$5, noop$5, () => {
|
|
214299
214273
|
if (!this.appManager.isAppVariablesFired()) {
|
|
214300
|
-
variableCollection.callback(this.App.Variables).catch(noop$
|
|
214274
|
+
variableCollection.callback(this.App.Variables).catch(noop$5).then(() => {
|
|
214301
214275
|
this.appManager.notify("app-variables-data-loaded", { pageName: this.pageName });
|
|
214302
214276
|
});
|
|
214303
214277
|
variableCollection.callback(this.App.Actions);
|
|
214304
214278
|
this.appManager.appVariablesReady();
|
|
214305
214279
|
this.appManager.isAppVariablesFired(true);
|
|
214306
214280
|
}
|
|
214307
|
-
variableCollection.callback(variableCollection.Variables).catch(noop$
|
|
214281
|
+
variableCollection.callback(variableCollection.Variables).catch(noop$5).then(() => {
|
|
214308
214282
|
this.appManager.notify("page-variables-data-loaded", { pageName: this.pageName });
|
|
214309
214283
|
this.startupVariablesLoaded = true;
|
|
214310
214284
|
setTimeout(() => {
|
|
@@ -214362,7 +214336,7 @@ var BaseSpaPageComponent = class BaseSpaPageComponent extends FragmentMonitor {
|
|
|
214362
214336
|
"name": this.pageName,
|
|
214363
214337
|
instance: this
|
|
214364
214338
|
});
|
|
214365
|
-
(this.App.onPageReady || noop$
|
|
214339
|
+
(this.App.onPageReady || noop$5)(this.pageName, this);
|
|
214366
214340
|
}
|
|
214367
214341
|
loadScripts() {
|
|
214368
214342
|
return new Promise((resolve) => {
|
|
@@ -214403,7 +214377,7 @@ var BaseSpaPageComponent = class BaseSpaPageComponent extends FragmentMonitor {
|
|
|
214403
214377
|
canDeactivate(nextState) {
|
|
214404
214378
|
let retVal;
|
|
214405
214379
|
retVal = this.onBeforePageLeave();
|
|
214406
|
-
if (retVal !== false) retVal = (this.App.onBeforePageLeave || noop$
|
|
214380
|
+
if (retVal !== false) retVal = (this.App.onBeforePageLeave || noop$5)(this.App.activePageName, this.App.activePage, nextState);
|
|
214407
214381
|
return retVal === void 0 ? true : retVal;
|
|
214408
214382
|
}
|
|
214409
214383
|
ngAfterViewInit() {
|
|
@@ -214419,12 +214393,12 @@ var BaseSpaPageComponent = class BaseSpaPageComponent extends FragmentMonitor {
|
|
|
214419
214393
|
this.compilePageContent = true;
|
|
214420
214394
|
setTimeout(() => {
|
|
214421
214395
|
this.onPageContentReady = () => {
|
|
214422
|
-
this.fragmentsLoaded$.subscribe(noop$
|
|
214396
|
+
this.fragmentsLoaded$.subscribe(noop$5, noop$5, () => {
|
|
214423
214397
|
this.invokeOnReady();
|
|
214424
214398
|
});
|
|
214425
214399
|
unMuteWatchers();
|
|
214426
214400
|
this.viewInit$.complete();
|
|
214427
|
-
this.onPageContentReady = noop$
|
|
214401
|
+
this.onPageContentReady = noop$5;
|
|
214428
214402
|
};
|
|
214429
214403
|
}, 0);
|
|
214430
214404
|
});
|
|
@@ -215180,7 +215154,7 @@ const injectorMap = {
|
|
|
215180
215154
|
FIELD_WIDGET: FieldWidgetService,
|
|
215181
215155
|
DynamicComponentService: DynamicComponentRefProvider
|
|
215182
215156
|
};
|
|
215183
|
-
const noop
|
|
215157
|
+
const noop = (...args) => {};
|
|
215184
215158
|
const getHttpDependency = function() {
|
|
215185
215159
|
const httpService = this.httpService;
|
|
215186
215160
|
const fn = function(key, options) {
|
|
@@ -215214,14 +215188,14 @@ var AppRef = class AppRef {
|
|
|
215214
215188
|
this.routeReuseStrategy = routeReuseStrategy;
|
|
215215
215189
|
this.Variables = {};
|
|
215216
215190
|
this.Actions = {};
|
|
215217
|
-
this.onAppVariablesReady = noop
|
|
215218
|
-
this.onBeforeAppReady = noop
|
|
215219
|
-
this.onSessionTimeout = noop
|
|
215220
|
-
this.onPageReady = noop
|
|
215221
|
-
this.onBeforePageLeave = noop
|
|
215222
|
-
this.onBeforeServiceCall = noop
|
|
215223
|
-
this.onServiceSuccess = noop
|
|
215224
|
-
this.onServiceError = noop
|
|
215191
|
+
this.onAppVariablesReady = noop;
|
|
215192
|
+
this.onBeforeAppReady = noop;
|
|
215193
|
+
this.onSessionTimeout = noop;
|
|
215194
|
+
this.onPageReady = noop;
|
|
215195
|
+
this.onBeforePageLeave = noop;
|
|
215196
|
+
this.onBeforeServiceCall = noop;
|
|
215197
|
+
this.onServiceSuccess = noop;
|
|
215198
|
+
this.onServiceError = noop;
|
|
215225
215199
|
this.dynamicComponentContainerRef = {};
|
|
215226
215200
|
this.changeLocale = this.i18nService.setSelectedLocale.bind(this.i18nService);
|
|
215227
215201
|
this.getSelectedLocale = this.i18nService.getSelectedLocale.bind(this.i18nService);
|
|
@@ -216425,7 +216399,7 @@ var AppComponent = class AppComponent {
|
|
|
216425
216399
|
});
|
|
216426
216400
|
setTheme("bs5");
|
|
216427
216401
|
let spinnerId;
|
|
216428
|
-
let onPageRendered = noop$
|
|
216402
|
+
let onPageRendered = noop$5;
|
|
216429
216403
|
this.router.events.subscribe((e) => {
|
|
216430
216404
|
if (e instanceof NavigationStart) {
|
|
216431
216405
|
let page = e.url.split("?")[0];
|
|
@@ -216443,7 +216417,7 @@ var AppComponent = class AppComponent {
|
|
|
216443
216417
|
this.spinnerService.hide(spinnerId);
|
|
216444
216418
|
const node = document.querySelector("app-page-outlet");
|
|
216445
216419
|
if (node) removeClass(node, "page-load-in-progress");
|
|
216446
|
-
onPageRendered = noop$
|
|
216420
|
+
onPageRendered = noop$5;
|
|
216447
216421
|
this.app.activePageLoadTime = Date.now() - pageLoadStartTime;
|
|
216448
216422
|
};
|
|
216449
216423
|
} else if (e instanceof NavigationEnd || e instanceof NavigationCancel || e instanceof NavigationError) setTimeout(() => {
|
|
@@ -217046,7 +217020,7 @@ var CanDeactivatePageGuard = class CanDeactivatePageGuard {
|
|
|
217046
217020
|
let retVal;
|
|
217047
217021
|
const nextRoute = nextState ? nextState.url : void 0;
|
|
217048
217022
|
retVal = this.app.activePage && this.app.activePage.onBeforePageLeave(nextRoute);
|
|
217049
|
-
if (retVal !== false) retVal = (this.app.onBeforePageLeave || noop$
|
|
217023
|
+
if (retVal !== false) retVal = (this.app.onBeforePageLeave || noop$5)(this.app.activePageName, this.app.activePage, nextRoute);
|
|
217050
217024
|
return retVal === void 0 ? true : retVal;
|
|
217051
217025
|
}
|
|
217052
217026
|
return invokeCompDeactivate.apply(component);
|