uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
..
/
public_html
/
post
/
scripts
/
Portal_013.js
/
/
define("Portal.EP_Common.ConfirmationDialog.mvc$model", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.EP_Common.Modal.mvc$model", "Portal.EP_Common.Title.mvc$model", "Portal.EP_Common.Tagline.mvc$model", "Portal.EP_FormComponents.TwoButtonContainer.mvc$model", "Portal.EP_Buttons.ButtonTransparent.mvc$model", "Portal.EP_Buttons.ButtonPrimary.mvc$model"], function (OutSystems, PortalModel, Portal_EP_Common_Modal_mvcModel, Portal_EP_Common_Title_mvcModel, Portal_EP_Common_Tagline_mvcModel, Portal_EP_FormComponents_TwoButtonContainer_mvcModel, Portal_EP_Buttons_ButtonTransparent_mvcModel, Portal_EP_Buttons_ButtonPrimary_mvcModel) { var OS = OutSystems.Internal; var VariablesRecord = (function (_super) { __extends(VariablesRecord, _super); function VariablesRecord(defaults) { _super.apply(this, arguments); } VariablesRecord.attributesToDeclare = function () { return [ this.attr("ShouldShow", "shouldShowIn", "ShouldShow", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("_shouldShowInDataFetchStatus", "_shouldShowInDataFetchStatus", "_shouldShowInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("Title", "titleIn", "Title", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_titleInDataFetchStatus", "_titleInDataFetchStatus", "_titleInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("Text", "textIn", "Text", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_textInDataFetchStatus", "_textInDataFetchStatus", "_textInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("ConfirmButtonLabel", "confirmButtonLabelIn", "ConfirmButtonLabel", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_confirmButtonLabelInDataFetchStatus", "_confirmButtonLabelInDataFetchStatus", "_confirmButtonLabelInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("CancelButtonLabel", "cancelButtonLabelIn", "CancelButtonLabel", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_cancelButtonLabelInDataFetchStatus", "_cancelButtonLabelInDataFetchStatus", "_cancelButtonLabelInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("IsSubmitLoading", "isSubmitLoadingIn", "IsSubmitLoading", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("_isSubmitLoadingInDataFetchStatus", "_isSubmitLoadingInDataFetchStatus", "_isSubmitLoadingInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false) ].concat(_super.attributesToDeclare.call(this)); }; VariablesRecord.init(); return VariablesRecord; })(OS.DataTypes.GenericRecord); var WidgetsRecord = (function (_super) { __extends(WidgetsRecord, _super); function WidgetsRecord() { _super.apply(this, arguments); } WidgetsRecord.getWidgetsType = function () { return {}; }; return WidgetsRecord; })(OS.Model.BaseWidgetRecordMap); var Model = (function (_super) { __extends(Model, _super); function Model() { _super.apply(this, arguments); } Model.getVariablesRecordConstructor = function () { return VariablesRecord; }; Model.getWidgetsRecordConstructor = function () { return WidgetsRecord; }; Model._hasValidationWidgetsValue = undefined; Object.defineProperty(Model, "hasValidationWidgets", { enumerable: true, configurable: true, get: function () { if((Model._hasValidationWidgetsValue === undefined)) { Model._hasValidationWidgetsValue = (((((Portal_EP_Common_Modal_mvcModel.hasValidationWidgets || Portal_EP_Common_Title_mvcModel.hasValidationWidgets) || Portal_EP_Common_Tagline_mvcModel.hasValidationWidgets) || Portal_EP_FormComponents_TwoButtonContainer_mvcModel.hasValidationWidgets) || Portal_EP_Buttons_ButtonTransparent_mvcModel.hasValidationWidgets) || Portal_EP_Buttons_ButtonPrimary_mvcModel.hasValidationWidgets); } return Model._hasValidationWidgetsValue; } }); Model.prototype.setInputs = function (inputs) { if("ShouldShow" in inputs) { this.variables.shouldShowIn = inputs.ShouldShow; if("_shouldShowInDataFetchStatus" in inputs) { this.variables._shouldShowInDataFetchStatus = inputs._shouldShowInDataFetchStatus; } } if("Title" in inputs) { this.variables.titleIn = inputs.Title; if("_titleInDataFetchStatus" in inputs) { this.variables._titleInDataFetchStatus = inputs._titleInDataFetchStatus; } } if("Text" in inputs) { this.variables.textIn = inputs.Text; if("_textInDataFetchStatus" in inputs) { this.variables._textInDataFetchStatus = inputs._textInDataFetchStatus; } } if("ConfirmButtonLabel" in inputs) { this.variables.confirmButtonLabelIn = inputs.ConfirmButtonLabel; if("_confirmButtonLabelInDataFetchStatus" in inputs) { this.variables._confirmButtonLabelInDataFetchStatus = inputs._confirmButtonLabelInDataFetchStatus; } } if("CancelButtonLabel" in inputs) { this.variables.cancelButtonLabelIn = inputs.CancelButtonLabel; if("_cancelButtonLabelInDataFetchStatus" in inputs) { this.variables._cancelButtonLabelInDataFetchStatus = inputs._cancelButtonLabelInDataFetchStatus; } } if("IsSubmitLoading" in inputs) { this.variables.isSubmitLoadingIn = inputs.IsSubmitLoading; if("_isSubmitLoadingInDataFetchStatus" in inputs) { this.variables._isSubmitLoadingInDataFetchStatus = inputs._isSubmitLoadingInDataFetchStatus; } } }; return Model; })(OS.Model.BaseViewModel); return new OS.Model.ModelFactory(Model); }); define("Portal.EP_Common.ConfirmationDialog.mvc$view", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "react", "OutSystems/ReactView/Main", "Portal.EP_Common.ConfirmationDialog.mvc$model", "Portal.EP_Common.ConfirmationDialog.mvc$controller", "Portal.clientVariables", "Portal.EP_Common.Modal.mvc$view", "OutSystems/ReactWidgets/Main", "Portal.EP_Common.Title.mvc$view", "Portal.EP_Common.Tagline.mvc$view", "Portal.EP_FormComponents.TwoButtonContainer.mvc$view", "Portal.EP_Buttons.ButtonTransparent.mvc$view", "Portal.EP_Buttons.ButtonPrimary.mvc$view"], function (OutSystems, PortalModel, PortalController, React, OSView, Portal_EP_Common_ConfirmationDialog_mvc_model, Portal_EP_Common_ConfirmationDialog_mvc_controller, PortalClientVariables, Portal_EP_Common_Modal_mvc_view, OSWidgets, Portal_EP_Common_Title_mvc_view, Portal_EP_Common_Tagline_mvc_view, Portal_EP_FormComponents_TwoButtonContainer_mvc_view, Portal_EP_Buttons_ButtonTransparent_mvc_view, Portal_EP_Buttons_ButtonPrimary_mvc_view) { var OS = OutSystems.Internal; var PlaceholderContent = OSView.Widget.PlaceholderContent; var IteratorPlaceholderContent = OSView.Widget.IteratorPlaceholderContent; var View = (function (_super) { __extends(View,_super); function View() { try { this.initialize.apply(this, arguments); } catch (error) { View.handleError(error); throw error; } } View.prototype.initialize = function() { _super.apply(this, arguments); }; View.displayName = "EP_Common.ConfirmationDialog"; View.getCssDependencies = function() { return ["css/OutSystemsReactWidgets.css"]; }; View.getJsDependencies = function() { return []; }; View.getBlocks = function() { return [Portal_EP_Common_Modal_mvc_view, Portal_EP_Common_Title_mvc_view, Portal_EP_Common_Tagline_mvc_view, Portal_EP_FormComponents_TwoButtonContainer_mvc_view, Portal_EP_Buttons_ButtonTransparent_mvc_view, Portal_EP_Buttons_ButtonPrimary_mvc_view]; }; Object.defineProperty(View.prototype, "modelFactory", { get: function () { return Portal_EP_Common_ConfirmationDialog_mvc_model; }, enumerable: true, configurable: true }); Object.defineProperty(View.prototype, "controllerFactory", { get: function () { return Portal_EP_Common_ConfirmationDialog_mvc_controller; }, enumerable: true, configurable: true }); Object.defineProperty(View.prototype, "title", { get: function () { return ""; }, enumerable: true, configurable: true }); View.prototype.internalRender = function() { var model = this.model; var controller = this.controller; var idService = this.idService; var validationService = controller.validationService; var widgetsRecordProvider = this.widgetsRecordProvider; var callContext = controller.callContext(); var $if = View.ifWidget; var asPrimitiveValue = View.asPrimitiveValue; var _this = this; return React.createElement("div", this.getRootNodeProperties(), React.createElement(Portal_EP_Common_Modal_mvc_view, { inputs: { HasSpecialTopBorder: true, ExtendedClass: "ConfirmationDialog", ShowModal: model.variables.shouldShowIn, _showModalInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._shouldShowInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); }, closeModalRequested$Action: function () { var eventHandlerContext = callContext.clone(); controller.cancelButtonClicked$Action(controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "0", alias: "1" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { content: new PlaceholderContent(function () { return [React.createElement(Portal_EP_Common_Title_mvc_view, { inputs: { ExtendedClass: "heading3 margin-bottom-s", TitleColor: "var(--color-neutral-10)" }, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "1", alias: "2" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { icon: PlaceholderContent.Empty, text: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Expression, { value: model.variables.titleIn, _idProps: { service: idService, uuid: "2" }, _widgetRecordProvider: widgetsRecordProvider, value_dataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._titleInDataFetchStatus) })]; }) }, _dependencies: [asPrimitiveValue(model.variables._titleInDataFetchStatus), asPrimitiveValue(model.variables.titleIn)] }), React.createElement(Portal_EP_Common_Tagline_mvc_view, { inputs: { TextColor: "var(--color-neutral-6)", HasBottomMargin: true }, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "3", alias: "3" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { tagline: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Expression, { value: model.variables.textIn, _idProps: { service: idService, uuid: "4" }, _widgetRecordProvider: widgetsRecordProvider, value_dataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._textInDataFetchStatus) })]; }) }, _dependencies: [asPrimitiveValue(model.variables._textInDataFetchStatus), asPrimitiveValue(model.variables.textIn)] }), React.createElement(Portal_EP_FormComponents_TwoButtonContainer_mvc_view, { inputs: {}, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, name: "Actions", alias: "4" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { buttonLeft: new PlaceholderContent(function () { return [React.createElement(Portal_EP_Buttons_ButtonTransparent_mvc_view, { inputs: { ButtonText: model.variables.cancelButtonLabelIn, _buttonTextInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._cancelButtonLabelInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); }, onClick$Action: function () { var eventHandlerContext = callContext.clone(); controller.cancelButtonClicked$Action(controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "6", alias: "5" }, _widgetRecordProvider: widgetsRecordProvider, _dependencies: [] })]; }), buttonRight: new PlaceholderContent(function () { return [React.createElement(Portal_EP_Buttons_ButtonPrimary_mvc_view, { inputs: { IsSubmitting: model.variables.isSubmitLoadingIn, _isSubmittingInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._isSubmitLoadingInDataFetchStatus), ButtonText: model.variables.confirmButtonLabelIn, _buttonTextInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._confirmButtonLabelInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); }, onClick$Action: function () { var eventHandlerContext = callContext.clone(); controller.confirmButtonClicked$Action(controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "7", alias: "6" }, _widgetRecordProvider: widgetsRecordProvider, _dependencies: [] })]; }) }, _dependencies: [asPrimitiveValue(model.variables.confirmButtonLabelIn), asPrimitiveValue(model.variables.isSubmitLoadingIn), asPrimitiveValue(model.variables._confirmButtonLabelInDataFetchStatus), asPrimitiveValue(model.variables._isSubmitLoadingInDataFetchStatus), asPrimitiveValue(model.variables._cancelButtonLabelInDataFetchStatus), asPrimitiveValue(model.variables.cancelButtonLabelIn)] })]; }) }, _dependencies: [asPrimitiveValue(model.variables.confirmButtonLabelIn), asPrimitiveValue(model.variables.isSubmitLoadingIn), asPrimitiveValue(model.variables.cancelButtonLabelIn), asPrimitiveValue(model.variables.textIn), asPrimitiveValue(model.variables._confirmButtonLabelInDataFetchStatus), asPrimitiveValue(model.variables._isSubmitLoadingInDataFetchStatus), asPrimitiveValue(model.variables._cancelButtonLabelInDataFetchStatus), asPrimitiveValue(model.variables._textInDataFetchStatus), asPrimitiveValue(model.variables._titleInDataFetchStatus), asPrimitiveValue(model.variables.titleIn)] })); }; return View; })(OSView.BaseView.BaseWebBlock); return View; }); define("Portal.EP_Common.ConfirmationDialog.mvc$controller", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "Portal.languageResources", "Portal.clientVariables"], function (OutSystems, PortalModel, PortalController, PortalLanguageResources, PortalClientVariables) { var OS = OutSystems.Internal; var Controller = (function (_super) { __extends(Controller, _super); function Controller() { _super.apply(this, arguments); var controller = this.controller; this.clientActionProxies = {}; this.dataFetchDependenciesOriginal = {}; this.dataFetchDependentsGraph = {}; this.useImprovedDataFetch = false; this.hasDependenciesBetweenSources = false; this.shouldSendClientVarsToDataSources = false; } // Server Actions // Aggregates and Data Actions Controller.prototype.dataFetchActionNames = []; // Client Actions Controller.prototype.confirmButtonClicked$Action = function () { return Promise.resolve(); }; Controller.prototype.cancelButtonClicked$Action = function () { return Promise.resolve(); }; // Event Handler Actions Controller.prototype.onInitializeEventHandler = null; Controller.prototype.onReadyEventHandler = null; Controller.prototype.onRenderEventHandler = null; Controller.prototype.onDestroyEventHandler = null; Controller.prototype.onParametersChangedEventHandler = null; Controller.prototype.handleError = function (ex) { return controller.handleError(ex); }; Controller.checkPermissions = function () { }; Controller.prototype.getDefaultTimeout = function () { return PortalController.default.defaultTimeout; }; return Controller; })(OS.Controller.BaseViewController); return new OS.Controller.ControllerFactory(Controller, PortalLanguageResources); });
/home2/wtmwscom/public_html/../public_html/post/scripts/Portal_013.js