Skip to content

Commit

Permalink
Actualizar estáticos
Browse files Browse the repository at this point in the history
  • Loading branch information
xaabi6 committed Nov 25, 2024
1 parent cb45e8b commit 1026c38
Show file tree
Hide file tree
Showing 11 changed files with 532 additions and 407 deletions.
252 changes: 148 additions & 104 deletions x21aStatics/WebContent/rup/css/rup.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x21aStatics/WebContent/rup/css/rup.min.css

Large diffs are not rendered by default.

51 changes: 34 additions & 17 deletions x21aStatics/WebContent/rup/js/externals/jasmine/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -915,9 +915,9 @@ getJasmineRequireObj().Spec = function(j$) {
* @property {String} fullName - The full description including all ancestors of this spec.
* @property {String|null} parentSuiteId - The ID of the suite containing this spec, or null if this spec is not in a describe().
* @property {String} filename - The name of the file the spec was defined in.
* @property {Expectation[]} failedExpectations - The list of expectations that failed during execution of this spec.
* @property {Expectation[]} passedExpectations - The list of expectations that passed during execution of this spec.
* @property {Expectation[]} deprecationWarnings - The list of deprecation warnings that occurred during execution this spec.
* @property {ExpectationResult[]} failedExpectations - The list of expectations that failed during execution of this spec.
* @property {ExpectationResult[]} passedExpectations - The list of expectations that passed during execution of this spec.
* @property {ExpectationResult[]} deprecationWarnings - The list of deprecation warnings that occurred during execution this spec.
* @property {String} pendingReason - If the spec is {@link pending}, this will be the reason.
* @property {String} status - Once the spec has completed, this string represents the pass/fail status of this spec.
* @property {number} duration - The time in ms used by the spec execution, including any before/afterEach.
Expand Down Expand Up @@ -1429,12 +1429,19 @@ getJasmineRequireObj().Env = function(j$) {
* @extends Error
* @description Represents a failure of an expectation evaluated with
* {@link throwUnless}. Properties of this error are a subset of the
* properties of {@link Expectation} and have the same values.
* properties of {@link ExpectationResult} and have the same values.
*
* Note: The expected and actual properties are deprecated and may be removed
* in a future release. In many Jasmine configurations they are passed
* through JSON serialization and deserialization, which is inherently
* lossy. In such cases, the expected and actual values may be placeholders
* or approximations of the original objects.
*
* @property {String} matcherName - The name of the matcher that was executed for this expectation.
* @property {String} message - The failure message for the expectation.
* @property {Boolean} passed - Whether the expectation passed or failed.
* @property {Object} expected - If the expectation failed, what was the expected value.
* @property {Object} actual - If the expectation failed, what actual value was produced.
* @property {Object} expected - Deprecated. If the expectation failed, what was the expected value.
* @property {Object} actual - Deprecated. If the expectation failed, what actual value was produced.
*/
const error = new Error(result.message);
error.passed = result.passed;
Expand Down Expand Up @@ -2667,13 +2674,21 @@ getJasmineRequireObj().buildExpectationResult = function(j$) {
const exceptionFormatter = new j$.ExceptionFormatter();

/**
* @typedef Expectation
* Describes the result of evaluating an expectation
*
* Note: The expected and actual properties are deprecated and may be removed
* in a future release. In many Jasmine configurations they are passed
* through JSON serialization and deserialization, which is inherently
* lossy. In such cases, the expected and actual values may be placeholders
* or approximations of the original objects.
*
* @typedef ExpectationResult
* @property {String} matcherName - The name of the matcher that was executed for this expectation.
* @property {String} message - The failure message for the expectation.
* @property {String} stack - The stack trace for the failure if available.
* @property {Boolean} passed - Whether the expectation passed or failed.
* @property {Object} expected - If the expectation failed, what was the expected value.
* @property {Object} actual - If the expectation failed, what actual value was produced.
* @property {Object} expected - Deprecated. If the expectation failed, what was the expected value.
* @property {Object} actual - Deprecated. If the expectation failed, what actual value was produced.
* @property {String|undefined} globalErrorType - The type of an error that
* is reported on the top suite. Valid values are undefined, "afterAll",
* "load", "lateExpectation", and "lateError".
Expand Down Expand Up @@ -9029,8 +9044,8 @@ getJasmineRequireObj().Runner = function(j$) {
* @property {String} incompleteCode - Machine-readable explanation of why the suite was incomplete: 'focused', 'noSpecsFound', or undefined.
* @property {Order} order - Information about the ordering (random or not) of this execution of the suite. Note that this property is not present when Jasmine is run in parallel mode.
* @property {Int} numWorkers - Number of parallel workers. Note that this property is only present when Jasmine is run in parallel mode.
* @property {Expectation[]} failedExpectations - List of expectations that failed in an {@link afterAll} at the global level.
* @property {Expectation[]} deprecationWarnings - List of deprecation warnings that occurred at the global level.
* @property {ExpectationResult[]} failedExpectations - List of expectations that failed in an {@link afterAll} at the global level.
* @property {ExpectationResult[]} deprecationWarnings - List of deprecation warnings that occurred at the global level.
* @since 2.4.0
*/
const jasmineDoneInfo = {
Expand Down Expand Up @@ -9874,9 +9889,7 @@ getJasmineRequireObj().SpyStrategy = function(j$) {

getJasmineRequireObj().StackTrace = function(j$) {
function StackTrace(error) {
let lines = error.stack.split('\n').filter(function(line) {
return line !== '';
});
let lines = error.stack.split('\n');

const extractResult = extractMessage(error.message, lines);

Expand All @@ -9885,6 +9898,10 @@ getJasmineRequireObj().StackTrace = function(j$) {
lines = extractResult.remainder;
}

lines = lines.filter(function(line) {
return line !== '';
});

const parseResult = tryParseFrames(lines);
this.frames = parseResult.frames;
this.style = parseResult.style;
Expand Down Expand Up @@ -10109,8 +10126,8 @@ getJasmineRequireObj().Suite = function(j$) {
* @property {String} fullName - The full description including all ancestors of this suite.
* @property {String|null} parentSuiteId - The ID of the suite containing this suite, or null if this is not in another describe().
* @property {String} filename - The name of the file the suite was defined in.
* @property {Expectation[]} failedExpectations - The list of expectations that failed in an {@link afterAll} for this suite.
* @property {Expectation[]} deprecationWarnings - The list of deprecation warnings that occurred on this suite.
* @property {ExpectationResult[]} failedExpectations - The list of expectations that failed in an {@link afterAll} for this suite.
* @property {ExpectationResult[]} deprecationWarnings - The list of deprecation warnings that occurred on this suite.
* @property {String} status - Once the suite has completed, this string represents the pass/fail status of this suite.
* @property {number} duration - The time in ms for Suite execution, including any before/afterAll, before/afterEach.
* @property {Object} properties - User-supplied properties, if any, that were set using {@link Env#setSuiteProperty}
Expand Down Expand Up @@ -10982,5 +10999,5 @@ getJasmineRequireObj().UserContext = function(j$) {
};

getJasmineRequireObj().version = function() {
return '5.3.0';
return '5.4.0';
};
100 changes: 50 additions & 50 deletions x21aStatics/WebContent/rup/js/rup.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x21aStatics/WebContent/rup/js/rup.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2013 Sergey Romanov

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 changes: 9 additions & 0 deletions x21aStatics/WebContent/rup/js/src/rup.dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@
$overlayEl;
//Guardar el elemento que tenía el foco antes de abrir el diálogo
$(this).data('focus', $(document.activeElement));

// Bloquea el desplazamiento vertical y horizontal de la aplicación para mejorar la UX.
$('body').addClass('overflow-hidden');

var docHeight = $(document).height(),
docWidth = $(document).width();
Expand Down Expand Up @@ -390,6 +393,12 @@
return settings.onBeforeClose();
});
}

// Desbloquea el desplazamiento vertical y horizontal de la aplicación.
$(this).on('dialogclose', function() {
$('body').removeClass('overflow-hidden');
});

//Se verifica que el selector solo contenga un diálogo
if (settings.type !== null && $(this).length > 0) {

Expand Down
1 change: 1 addition & 0 deletions x21aStatics/WebContent/rup/js/src/rup.select.js
Original file line number Diff line number Diff line change
Expand Up @@ -2136,6 +2136,7 @@
* retrocompatibilidad.
* @property {boolean} [autocomplete=false] - Habilita la funcionalidad de
* autocompletado, permitiendo hacer búsquedas sobre los resultados.
* @property {boolean} [spaceEnable=true] - Habilita la funcionalidad de búsquedas con barra espaciadora.
*/
$.fn.rup_select.defaults = {
onLoadError: null,
Expand Down
36 changes: 11 additions & 25 deletions x21aStatics/WebContent/rup/js/src/rup_table/rup.table.buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,17 +524,6 @@
* Public methods
*/

/**
* Get the action of a button
*
* @name action
* @function
* @since UDA 3.4.0
*
* @param {int|string} Button index
* @return {function}
*
*/
/**
* Set the action of a button
*
Expand Down Expand Up @@ -639,10 +628,18 @@

return this;
},
/**
* Clear buttons from a collection and then insert new buttons
*/
* Clear buttons from a collection and then insert new buttons.
*
* @name collectionRebuild
* @function
* @since UDA 6.1.0
*
* @param {node} node Button element
* @param {array} [newButtons] New buttons array
*
*/
collectionRebuild: function(node, newButtons) {
var button = this._nodeToButton(node);

Expand Down Expand Up @@ -924,17 +921,6 @@
return this;
},

/**
* Get the text for a button
*
* @name text
* @function
* @since UDA 3.4.0
*
* @param {int|string} node Button index
* @return {string} Button text
*
*/
/**
* Set the text for a button
*
Expand Down
Loading

0 comments on commit 1026c38

Please sign in to comment.