Skip to content

Commit

Permalink
Install dependency and build application
Browse files Browse the repository at this point in the history
  • Loading branch information
h3llrais3r committed Sep 22, 2023
1 parent 854f665 commit 7edb00a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion web/autosubliminal/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

<body>
<app-root></app-root>
<script src="runtime.3107b86fd02d984f.js" type="module"></script><script src="polyfills.eedc44092fabcb8f.js" type="module"></script><script src="scripts.4cc9680d69b62987.js" defer></script><script src="main.f8392e81dbb182da.js" type="module"></script></body>
<script src="runtime.3107b86fd02d984f.js" type="module"></script><script src="polyfills.eedc44092fabcb8f.js" type="module"></script><script src="scripts.4cc9680d69b62987.js" defer></script><script src="main.ee62d3e85c5f6134.js" type="module"></script></body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -91150,7 +91150,7 @@ let NgxMaskApplierService = /*#__PURE__*/(() => {
inputValue = this._stripToDecimal(inputValue);
}
// eslint-disable-next-line no-param-reassign
inputValue = inputValue.length > 1 && inputValue[0] === '0' && inputValue[1] !== this.thousandSeparator && !this._compareOrIncludes(inputValue[1], this.decimalMarker, this.thousandSeparator) && !backspaced ? inputValue.slice(0, inputValue.length - 1) : inputValue;
inputValue = inputValue[0] === '-' && this.allowNegativeNumbers ? inputValue.length > 2 && inputValue[1] === '0' && inputValue[2] !== this.thousandSeparator && !this._compareOrIncludes(inputValue[2], this.decimalMarker, this.thousandSeparator) && !backspaced ? inputValue.slice(0, inputValue.length - 1) : inputValue : inputValue.length > 1 && inputValue[0] === '0' && inputValue[1] !== this.thousandSeparator && !this._compareOrIncludes(inputValue[1], this.decimalMarker, this.thousandSeparator) && !backspaced ? inputValue.slice(0, inputValue.length - 1) : inputValue;
if (backspaced) {
// eslint-disable-next-line no-param-reassign
inputValue = this._compareOrIncludes(inputValue[inputValue.length - 1], this.decimalMarker, this.thousandSeparator) ? inputValue.slice(0, inputValue.length - 1) : inputValue;
Expand Down Expand Up @@ -91373,6 +91373,12 @@ let NgxMaskApplierService = /*#__PURE__*/(() => {
}
return res;
}
_findDropSpecialChar(inputSymbol) {
if (Array.isArray(this.dropSpecialCharacters)) {
return this.dropSpecialCharacters.find(val => val === inputSymbol);
}
return this._findSpecialChar(inputSymbol);
}
_findSpecialChar(inputSymbol) {
return this.specialCharacters.find(val => val === inputSymbol);
}
Expand Down Expand Up @@ -91555,7 +91561,7 @@ let NgxMaskService = /*#__PURE__*/(() => {
if (result || result === '') {
this._previousValue = this._currentValue;
this._currentValue = result;
this._emitValue = this._previousValue !== this._currentValue || this.maskChanged;
this._emitValue = this._previousValue !== this._currentValue || this.maskChanged || this._previousValue === this._currentValue && justPasted;
}
this._emitValue ? this.formControlResult(result) : '';
if (!this.showMaskTyped || this.showMaskTyped && this.hiddenInput) {
Expand Down Expand Up @@ -91691,8 +91697,8 @@ let NgxMaskService = /*#__PURE__*/(() => {
}
Promise.resolve().then(() => this._renderer?.setProperty(this._elementRef?.nativeElement, name, value));
}
checkSpecialCharAmount(mask) {
const chars = mask.split("" /* MaskExpression.EMPTY_STRING */).filter(item => this._findSpecialChar(item));
checkDropSpecialCharAmount(mask) {
const chars = mask.split("" /* MaskExpression.EMPTY_STRING */).filter(item => this._findDropSpecialChar(item));
return chars.length;
}
removeMask(inputValue) {
Expand Down Expand Up @@ -92176,8 +92182,10 @@ let NgxMaskDirective = /*#__PURE__*/(() => {
return this._createValidationError(value);
}
if (this._maskValue.indexOf("*" /* MaskExpression.SYMBOL_STAR */) === -1 || this._maskValue.indexOf("?" /* MaskExpression.SYMBOL_QUESTION */) === -1) {
// eslint-disable-next-line no-param-reassign
value = typeof value === 'number' ? String(value) : value;
const array = this._maskValue.split('*');
const length = this._maskService.dropSpecialCharacters ? this._maskValue.length - this._maskService.checkSpecialCharAmount(this._maskValue) - counterOfOpt : this.prefix ? this._maskValue.length + this.prefix.length - counterOfOpt : this._maskValue.length - counterOfOpt;
const length = this._maskService.dropSpecialCharacters ? this._maskValue.length - this._maskService.checkDropSpecialCharAmount(this._maskValue) - counterOfOpt : this.prefix ? this._maskValue.length + this.prefix.length - counterOfOpt : this._maskValue.length - counterOfOpt;
if (array.length === 1) {
if (value.toString().length < length) {
return this._createValidationError(value);
Expand Down Expand Up @@ -101126,4 +101134,4 @@ function __disposeResources(env) {
/******/ var __webpack_exports__ = (__webpack_exec__(4913));
/******/ }
]);
//# sourceMappingURL=main.f8392e81dbb182da.js.map
//# sourceMappingURL=main.ee62d3e85c5f6134.js.map

Large diffs are not rendered by default.

0 comments on commit 7edb00a

Please sign in to comment.