@wavemaker/app-runtime-wm-build 11.4.0-next.25704 → 11.4.0-next.25707
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.
- app-runtime-wm-build/package.json +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-libs.js +2 -0
- app-runtime-wm-build/wmapp/scripts/wm-libs.min.js +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +28 -21
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +2 -2
- app-runtime-wm-build/wmmobile/scripts/wm-libs.js +2 -0
- app-runtime-wm-build/wmmobile/scripts/wm-libs.min.js +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +28 -21
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +2 -2
|
@@ -203224,6 +203224,8 @@ window.requestAnimationFrame = function() {
|
|
|
203224
203224
|
if (json) {
|
|
203225
203225
|
if (Object.keys(json).length === 0) {
|
|
203226
203226
|
json = null;
|
|
203227
|
+
} else if (lodash__WEBPACK_IMPORTED_MODULE_1___default().get(json, "html.body.parsererror")) {
|
|
203228
|
+
json = null;
|
|
203227
203229
|
} else {
|
|
203228
203230
|
json = lodash__WEBPACK_IMPORTED_MODULE_1___default().get(json, Object.keys(json)[0]);
|
|
203229
203231
|
}
|
|
@@ -4371,7 +4371,7 @@ i.version="2.29.4",o(Zn),i.fn=lo,i.min=er,i.max=tr,i.now=nr,i.utc=m,i.unix=co,i.
|
|
|
4371
4371
|
/*!***************************!*\
|
|
4372
4372
|
!*** ./src/util/utils.ts ***!
|
|
4373
4373
|
\***************************/
|
|
4374
|
-
(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_FORMATS:()=>l,DataType:()=>u,IDGenerator:()=>m,extractType:()=>w,findValueOf:()=>A,getBlob:()=>T,getClonedObject:()=>C,getValidJSON:()=>x,hasCordova:()=>v,isDateTimeType:()=>S,isDefined:()=>y,isNumberType:()=>b,isObject:()=>_,isPageable:()=>f,isValidWebURL:()=>h,noop:()=>p,removeExtraSlashes:()=>g,replace:()=>k,stringStartsWith:()=>M,triggerFn:()=>D,xmlToJson:()=>E});var r=n(/*! x2js */"./node_modules/x2js/x2js.js"),i=n.n(r),o=n(/*! lodash */"./node_modules/lodash/lodash.js"),a=n.n(o),s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u={INTEGER:"integer",BIG_INTEGER:"big_integer",SHORT:"short",FLOAT:"float",BIG_DECIMAL:"big_decimal",DOUBLE:"double",LONG:"long",BYTE:"byte",STRING:"string",CHARACTER:"character",TEXT:"text",DATE:"date",TIME:"time",TIMESTAMP:"timestamp",DATETIME:"datetime",LOCALDATETIME:"localdatetime",BOOLEAN:"boolean",LIST:"list",CLOB:"clob",BLOB:"blob"},l={DATE:"yyyy-MM-dd",TIME:"HH:mm:ss",TIMESTAMP:"timestamp",DATETIME:"yyyy-MM-ddTHH:mm:ss",LOCALDATETIME:"yyyy-MM-ddTHH:mm:ss",DATETIME_ORACLE:"yyyy-MM-dd HH:mm:ss",DATE_TIME:"yyyy-MM-dd HH:mm:ss"},c={SNAKE_CASE:/[A-Z]/g,ANDROID:/Android/i,IPHONE:/iPhone/i,IPOD:/iPod/i,IPAD:/iPad/i,MAC:/Mac/i,ANDROID_TABLET:/android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,MOBILE:/Mobile/i,WINDOWS:/Windows Phone/i,SUPPORTED_IMAGE_FORMAT:/\.(bmp|gif|jpe|jpg|jpeg|tif|tiff|pbm|png|ico)$/i,SUPPORTED_FILE_FORMAT:/\.(txt|js|css|html|script|properties|json|java|xml|smd|xmi|sql|log|wsdl|vm|ftl|jrxml|yml|yaml|md|less|jsp)$/i,SUPPORTED_AUDIO_FORMAT:/\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,SUPPORTED_VIDEO_FORMAT:/\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,PAGE_RESOURCE_PATH:/^\/pages\/.*\.(js|css|html|json)$/,MIN_PAGE_RESOURCE_PATH:/.*(page.min.html)$/,VALID_EMAIL:/^[a-zA-Z][\w.+]+@[a-zA-Z_]+?\.[a-zA-Z.]{1,4}[a-zA-Z]$/,VALID_WEB_URL:/^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,VALID_WEBSOCKET_URL:/^(ws[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,VALID_RELATIVE_URL:/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/).*/,REPLACE_PATTERN:/\$\{([^\}]+)\}/g,ZIP_FILE:/\.zip$/i,EXE_FILE:/\.exe$/i,NO_QUOTES_ALLOWED:/^[^'|"]*$/,NO_DOUBLE_QUOTES_ALLOWED:/^[^"]*$/,VALID_HTML:/<[a-z][\s\S]*>/i,VALID_PASSWORD:/^[0-9a-zA-Z-_.@&*!#$%]+$/,SPECIAL_CHARACTERS:/[^A-Z0-9a-z_]+/i,APP_SERVER_URL_FORMAT:/^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9\.\-]+([:]?[0-9]{2,5}|\.[a-zA-Z]{2,5}[\.]{0,1})\/+[^?#&=]+$/,JSON_DATE_FORMAT:/\d{4}-[0-1]\d-[0-3]\d(T[0-2]\d:[0-5]\d:[0-5]\d.\d{1,3}Z$)?/,DATA_URL:/^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i},d=["int",u.INTEGER,u.FLOAT,u.DOUBLE,u.LONG,u.SHORT,u.BYTE,u.BIG_INTEGER,u.BIG_DECIMAL],p=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]};var h=function(e){return c.VALID_WEB_URL.test(e)},f=function(e){var t=a().omit(e,"empty");return a().isEqual(a().keys({content:[],first:!0,last:!0,number:0,numberOfElements:10,size:20,sort:null,totalElements:10,totalPages:1}),a().keys(t).sort())},m=function(){function e(e){this.generator=function(e){var t;return s(this,(function(n){switch(n.label){case 0:t=1,n.label=1;case 1:return[4,""+e+t++];case 2:return n.sent(),[3,1];case 3:return[2]}}))}(e)}return e.prototype.nextUid=function(){return this.generator.next().value},e}(),v=function(){return!!window.cordova},g=function(e){if(a().isString(e))return a().startsWith(e,"file:///")||/^data:image\/([a-z]{2,});base64,/.test(e)?e:e.replace(new RegExp("([^:]/)(/)+","g"),"$1")},y=function(e){return void 0!==e},_=function(e){return null!==e&&"object"==typeof e},b=function(e){return-1!==d.indexOf(w(e).toLowerCase())},w=function(e){var t;return e?t=(t=(t=e&&e.substring(e.lastIndexOf(".")+1))&&t.toLowerCase())===u.LOCALDATETIME?u.DATETIME:t:u.STRING},S=function(e){return a().includes(e,".")&&(e=a().toLower(w(e))),a().includes([u.DATE,u.TIME,u.TIMESTAMP,u.DATETIME,u.LOCALDATETIME],e)},x=function(e){if(e)try{var t=parseInt(e,10);return _(e)||!isNaN(t)?e:JSON.parse(e)}catch(e){return}},E=function(e){var t=new(i())({emptyNodeForm:"content",attributePrefix:"",enableToStringFunc:!1}).xml2js(e);return t&&(t=0===Object.keys(t).length?null:a().get(t,Object.keys(t)[0])),t},k=function(e,t,n){var r=c.REPLACE_PATTERN;if(e)return n&&(r=/\{([^\}]+)\}/g),e.replace(r,(function(e,n){return a().get(t,n)}))},T=function(e,t){if(e instanceof Blob)return e;var n=x(e);return e=n&&n instanceof Object?new Blob([JSON.stringify(n)],{type:t||"application/json"}):new Blob([e],{type:t||"text/plain"})},C=function(e){return a().cloneDeep(e)},M=function(e,t,n){return!!e&&new RegExp("^"+t,n?"i":"").test(e)};function D(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=1,i=arguments.length,o=new Array(i-r);r<i;r++)o[r-1]=arguments[r];if(a().isFunction(e))return e.apply(null,o)}var A=function(e,t,n){if(e&&t){if(!n)return a().get(e,t);var r,i=t.split("."),o=[];if(i.forEach((function(e){if(!i.length)return r=!0,!1;for(var t,n=e.match(/\w+/g);n.length;)t=n.shift(),o.push({key:t,value:n.length?[]:{}})})),!r)return o.forEach((function(t){var n=e[t.key];_(n)||(n=x(n))||(n=t.value),e[t.key]=n,e=n})),e}}},"./src/util/variable/live-variable.http.utils.ts":
|
|
4374
|
+
(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_FORMATS:()=>l,DataType:()=>u,IDGenerator:()=>m,extractType:()=>w,findValueOf:()=>A,getBlob:()=>T,getClonedObject:()=>C,getValidJSON:()=>x,hasCordova:()=>v,isDateTimeType:()=>S,isDefined:()=>y,isNumberType:()=>b,isObject:()=>_,isPageable:()=>f,isValidWebURL:()=>h,noop:()=>p,removeExtraSlashes:()=>g,replace:()=>k,stringStartsWith:()=>M,triggerFn:()=>D,xmlToJson:()=>E});var r=n(/*! x2js */"./node_modules/x2js/x2js.js"),i=n.n(r),o=n(/*! lodash */"./node_modules/lodash/lodash.js"),a=n.n(o),s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u={INTEGER:"integer",BIG_INTEGER:"big_integer",SHORT:"short",FLOAT:"float",BIG_DECIMAL:"big_decimal",DOUBLE:"double",LONG:"long",BYTE:"byte",STRING:"string",CHARACTER:"character",TEXT:"text",DATE:"date",TIME:"time",TIMESTAMP:"timestamp",DATETIME:"datetime",LOCALDATETIME:"localdatetime",BOOLEAN:"boolean",LIST:"list",CLOB:"clob",BLOB:"blob"},l={DATE:"yyyy-MM-dd",TIME:"HH:mm:ss",TIMESTAMP:"timestamp",DATETIME:"yyyy-MM-ddTHH:mm:ss",LOCALDATETIME:"yyyy-MM-ddTHH:mm:ss",DATETIME_ORACLE:"yyyy-MM-dd HH:mm:ss",DATE_TIME:"yyyy-MM-dd HH:mm:ss"},c={SNAKE_CASE:/[A-Z]/g,ANDROID:/Android/i,IPHONE:/iPhone/i,IPOD:/iPod/i,IPAD:/iPad/i,MAC:/Mac/i,ANDROID_TABLET:/android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,MOBILE:/Mobile/i,WINDOWS:/Windows Phone/i,SUPPORTED_IMAGE_FORMAT:/\.(bmp|gif|jpe|jpg|jpeg|tif|tiff|pbm|png|ico)$/i,SUPPORTED_FILE_FORMAT:/\.(txt|js|css|html|script|properties|json|java|xml|smd|xmi|sql|log|wsdl|vm|ftl|jrxml|yml|yaml|md|less|jsp)$/i,SUPPORTED_AUDIO_FORMAT:/\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,SUPPORTED_VIDEO_FORMAT:/\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,PAGE_RESOURCE_PATH:/^\/pages\/.*\.(js|css|html|json)$/,MIN_PAGE_RESOURCE_PATH:/.*(page.min.html)$/,VALID_EMAIL:/^[a-zA-Z][\w.+]+@[a-zA-Z_]+?\.[a-zA-Z.]{1,4}[a-zA-Z]$/,VALID_WEB_URL:/^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,VALID_WEBSOCKET_URL:/^(ws[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,VALID_RELATIVE_URL:/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/).*/,REPLACE_PATTERN:/\$\{([^\}]+)\}/g,ZIP_FILE:/\.zip$/i,EXE_FILE:/\.exe$/i,NO_QUOTES_ALLOWED:/^[^'|"]*$/,NO_DOUBLE_QUOTES_ALLOWED:/^[^"]*$/,VALID_HTML:/<[a-z][\s\S]*>/i,VALID_PASSWORD:/^[0-9a-zA-Z-_.@&*!#$%]+$/,SPECIAL_CHARACTERS:/[^A-Z0-9a-z_]+/i,APP_SERVER_URL_FORMAT:/^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9\.\-]+([:]?[0-9]{2,5}|\.[a-zA-Z]{2,5}[\.]{0,1})\/+[^?#&=]+$/,JSON_DATE_FORMAT:/\d{4}-[0-1]\d-[0-3]\d(T[0-2]\d:[0-5]\d:[0-5]\d.\d{1,3}Z$)?/,DATA_URL:/^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i},d=["int",u.INTEGER,u.FLOAT,u.DOUBLE,u.LONG,u.SHORT,u.BYTE,u.BIG_INTEGER,u.BIG_DECIMAL],p=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]};var h=function(e){return c.VALID_WEB_URL.test(e)},f=function(e){var t=a().omit(e,"empty");return a().isEqual(a().keys({content:[],first:!0,last:!0,number:0,numberOfElements:10,size:20,sort:null,totalElements:10,totalPages:1}),a().keys(t).sort())},m=function(){function e(e){this.generator=function(e){var t;return s(this,(function(n){switch(n.label){case 0:t=1,n.label=1;case 1:return[4,""+e+t++];case 2:return n.sent(),[3,1];case 3:return[2]}}))}(e)}return e.prototype.nextUid=function(){return this.generator.next().value},e}(),v=function(){return!!window.cordova},g=function(e){if(a().isString(e))return a().startsWith(e,"file:///")||/^data:image\/([a-z]{2,});base64,/.test(e)?e:e.replace(new RegExp("([^:]/)(/)+","g"),"$1")},y=function(e){return void 0!==e},_=function(e){return null!==e&&"object"==typeof e},b=function(e){return-1!==d.indexOf(w(e).toLowerCase())},w=function(e){var t;return e?t=(t=(t=e&&e.substring(e.lastIndexOf(".")+1))&&t.toLowerCase())===u.LOCALDATETIME?u.DATETIME:t:u.STRING},S=function(e){return a().includes(e,".")&&(e=a().toLower(w(e))),a().includes([u.DATE,u.TIME,u.TIMESTAMP,u.DATETIME,u.LOCALDATETIME],e)},x=function(e){if(e)try{var t=parseInt(e,10);return _(e)||!isNaN(t)?e:JSON.parse(e)}catch(e){return}},E=function(e){var t=new(i())({emptyNodeForm:"content",attributePrefix:"",enableToStringFunc:!1}).xml2js(e);return t&&(t=0===Object.keys(t).length||a().get(t,"html.body.parsererror")?null:a().get(t,Object.keys(t)[0])),t},k=function(e,t,n){var r=c.REPLACE_PATTERN;if(e)return n&&(r=/\{([^\}]+)\}/g),e.replace(r,(function(e,n){return a().get(t,n)}))},T=function(e,t){if(e instanceof Blob)return e;var n=x(e);return e=n&&n instanceof Object?new Blob([JSON.stringify(n)],{type:t||"application/json"}):new Blob([e],{type:t||"text/plain"})},C=function(e){return a().cloneDeep(e)},M=function(e,t,n){return!!e&&new RegExp("^"+t,n?"i":"").test(e)};function D(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=1,i=arguments.length,o=new Array(i-r);r<i;r++)o[r-1]=arguments[r];if(a().isFunction(e))return e.apply(null,o)}var A=function(e,t,n){if(e&&t){if(!n)return a().get(e,t);var r,i=t.split("."),o=[];if(i.forEach((function(e){if(!i.length)return r=!0,!1;for(var t,n=e.match(/\w+/g);n.length;)t=n.shift(),o.push({key:t,value:n.length?[]:{}})})),!r)return o.forEach((function(t){var n=e[t.key];_(n)||(n=x(n))||(n=t.value),e[t.key]=n,e=n})),e}}},"./src/util/variable/live-variable.http.utils.ts":
|
|
4375
4375
|
/*!*******************************************************!*\
|
|
4376
4376
|
!*** ./src/util/variable/live-variable.http.utils.ts ***!
|
|
4377
4377
|
\*******************************************************/
|
|
@@ -63359,30 +63359,37 @@
|
|
|
63359
63359
|
toaster.onHidden.subscribe(this.onToasterHide.bind(this, variable));
|
|
63360
63360
|
}
|
|
63361
63361
|
};
|
|
63362
|
+
NotificationActionManager.prototype.getDialogConfig = function(variable, options, dialogId, closeCallBackFn) {
|
|
63363
|
+
return {
|
|
63364
|
+
title: options.title || variable.dataBinding.title,
|
|
63365
|
+
text: options.message || variable.dataBinding.text,
|
|
63366
|
+
okButtonText: options.okButtonText || variable.dataBinding.okButtonText || "OK",
|
|
63367
|
+
cancelButtonText: options.cancelButtonText || variable.dataBinding.cancelButtonText || "CANCEL",
|
|
63368
|
+
alerttype: options.alerttype || variable.dataBinding.alerttype || "information",
|
|
63369
|
+
onOk: function() {
|
|
63370
|
+
exports.dialogService.close(dialogId, undefined, closeCallBackFn);
|
|
63371
|
+
},
|
|
63372
|
+
onCancel: function() {
|
|
63373
|
+
initiateCallback("onCancel", variable, options.data);
|
|
63374
|
+
exports.dialogService.close(dialogId, undefined);
|
|
63375
|
+
},
|
|
63376
|
+
onClose: function() {
|
|
63377
|
+
initiateCallback("onClose", variable, options.data);
|
|
63378
|
+
}
|
|
63379
|
+
};
|
|
63380
|
+
};
|
|
63362
63381
|
NotificationActionManager.prototype.notifyViaDialog = function(variable, options) {
|
|
63363
|
-
var
|
|
63382
|
+
var isPrefabType = core.getWmProjectProperties().type === "PREFAB";
|
|
63383
|
+
var dialogPrefix = isPrefabType ? "Prefab" : "Common";
|
|
63384
|
+
var dialogId = dialogPrefix + _.capitalize(variable.operation) + "Dialog";
|
|
63364
63385
|
var closeCallBackFn = function() {
|
|
63365
63386
|
return initiateCallback("onOk", variable, options.data);
|
|
63366
63387
|
};
|
|
63367
|
-
|
|
63368
|
-
|
|
63369
|
-
|
|
63370
|
-
|
|
63371
|
-
|
|
63372
|
-
cancelButtonText: options.cancelButtonText || variable.dataBinding.cancelButtonText || "CANCEL",
|
|
63373
|
-
alerttype: options.alerttype || variable.dataBinding.alerttype || "information",
|
|
63374
|
-
onOk: function() {
|
|
63375
|
-
exports.dialogService.close(dialogId, undefined, closeCallBackFn);
|
|
63376
|
-
},
|
|
63377
|
-
onCancel: function() {
|
|
63378
|
-
initiateCallback("onCancel", variable, options.data);
|
|
63379
|
-
exports.dialogService.close(dialogId, undefined);
|
|
63380
|
-
},
|
|
63381
|
-
onClose: function() {
|
|
63382
|
-
initiateCallback("onClose", variable, options.data);
|
|
63383
|
-
}
|
|
63384
|
-
}
|
|
63385
|
-
});
|
|
63388
|
+
var dialogConfig = this.getDialogConfig(variable, options, dialogId, closeCallBackFn);
|
|
63389
|
+
dialogConfig = isPrefabType ? dialogConfig : {
|
|
63390
|
+
notification: dialogConfig
|
|
63391
|
+
};
|
|
63392
|
+
exports.dialogService.open(dialogId, undefined, dialogConfig);
|
|
63386
63393
|
};
|
|
63387
63394
|
NotificationActionManager.prototype.notify = function(variable, options, success, error) {
|
|
63388
63395
|
var operation = variable.operation;
|
|
@@ -69143,7 +69150,7 @@
|
|
|
69143
69150
|
type: i0.Component,
|
|
69144
69151
|
args: [ {
|
|
69145
69152
|
selector: "app-root",
|
|
69146
|
-
template: '<ng-container *ngIf="startApp">\n <router-outlet></router-outlet>\n <div wmContainer partialContainer content="Common" hidden class="ng-hide" *ngIf="isApplicationType"></div>\n <app-spinner name="globalspinner" classname="global-spinner" role="alert" aria-live="assertive" [attr.aria-label]="spinner.arialabel || \'Loading\'" [show]="spinner.show" [spinnermessages]="spinner.messages"></app-spinner>\n <div wmDialog name="oAuthLoginDialog" title="Application is requesting you to sign in with"\n close.event="closeOAuthDialog()">\n <ng-template #dialogBody>\n <ul class="list-items">\n <li class="list-item" *ngFor="let provider of providersConfig">\n <button class="btn" (click)="provider.invoke()">{{provider.name}}</button>\n </li>\n </ul>\n </ng-template>\n </div>\n <div wmConfirmDialog name="_app-confirm-dialog" title.bind="title" message.bind="message" oktext.bind="oktext"\n canceltext.bind="canceltext" closable="false" iconclass.bind="iconclass"\n escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>\n <div wmAppExt></div>\n <i id="wm-mobile-display"></i>\n</ng-container>\n\x3c!--Dummy container to create the component dynamically--\x3e\n<ng-container #dynamicComponent></ng-container>\n',
|
|
69153
|
+
template: '<ng-container *ngIf="startApp">\n <router-outlet></router-outlet>\n <div wmContainer partialContainer content="Common" hidden class="ng-hide" *ngIf="isApplicationType"></div>\n <app-spinner name="globalspinner" classname="global-spinner" role="alert" aria-live="assertive" [attr.aria-label]="spinner.arialabel || \'Loading\'" [show]="spinner.show" [spinnermessages]="spinner.messages"></app-spinner>\n <div wmDialog name="oAuthLoginDialog" title="Application is requesting you to sign in with"\n close.event="closeOAuthDialog()">\n <ng-template #dialogBody>\n <ul class="list-items">\n <li class="list-item" *ngFor="let provider of providersConfig">\n <button class="btn" (click)="provider.invoke()">{{provider.name}}</button>\n </li>\n </ul>\n </ng-template>\n </div>\n <div wmConfirmDialog name="_app-confirm-dialog" title.bind="title" message.bind="message" oktext.bind="oktext"\n canceltext.bind="canceltext" closable="false" iconclass.bind="iconclass"\n escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>\n <div *ngIf="!isApplicationType" wmConfirmDialog name="PrefabConfirmDialog" title.bind="title" message.bind="text" oktext.bind="okButtonText"\n canceltext.bind="cancelButtonText" closable="false" iconclass.bind="iconclass"\n escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>\n <div *ngIf="!isApplicationType" wmAlertDialog name="PrefabAlertDialog" title.bind="title" message.bind="text" oktext.bind="okButtonText"\n canceltext.bind="cancelButtonText" closable="false" iconclass.bind="iconclass"\n escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>\n <div wmAppExt></div>\n <i id="wm-mobile-display"></i>\n</ng-container>\n\x3c!--Dummy container to create the component dynamically--\x3e\n<ng-container #dynamicComponent></ng-container>\n',
|
|
69147
69154
|
encapsulation: i0.ViewEncapsulation.None
|
|
69148
69155
|
} ]
|
|
69149
69156
|
} ];
|