Comparing version 6.4.2 to 6.4.3-alpha.0
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import HTMLMaskElement from './html-mask-element.js'; | ||
@@ -3,0 +3,0 @@ import IMask from '../core/holder.js'; |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import MaskElement from './mask-element.js'; | ||
@@ -3,0 +3,0 @@ import IMask from '../core/holder.js'; |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import { objectIncludes, DIRECTION } from '../core/utils.js'; | ||
@@ -102,2 +102,3 @@ import ActionDetails from '../core/action-details.js'; | ||
set: function set(str) { | ||
if (this.value === str) return; | ||
this.masked.value = str; | ||
@@ -115,2 +116,3 @@ this.updateControl(); | ||
set: function set(str) { | ||
if (this.unmaskedValue === str) return; | ||
this.masked.unmaskedValue = str; | ||
@@ -128,2 +130,3 @@ this.updateControl(); | ||
set: function set(val) { | ||
if (this.masked.typedValueEquals(val)) return; | ||
this.masked.typedValue = val; | ||
@@ -370,3 +373,6 @@ this.updateControl(); | ||
var oldRawValue = this.masked.rawInputValue; | ||
var offset = this.masked.splice(details.startChangePos, details.removed.length, details.inserted, details.removeDirection).offset; // force align in remove direction only if no input chars were removed | ||
var offset = this.masked.splice(details.startChangePos, details.removed.length, details.inserted, details.removeDirection, { | ||
input: true, | ||
raw: true | ||
}).offset; // force align in remove direction only if no input chars were removed | ||
// otherwise we still need to align with NONE (to get out from fixed symbols for instance) | ||
@@ -373,0 +379,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import IMask from '../core/holder.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import { DIRECTION } from './utils.js'; | ||
@@ -3,0 +3,0 @@ import './change-details.js'; |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
@@ -3,0 +3,0 @@ /** Provides details of continuous extracted tail */ |
@@ -1,2 +0,2 @@ | ||
import { c as _typeof } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { c as _typeof } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import ChangeDetails from './change-details.js'; | ||
@@ -3,0 +3,0 @@ |
import './controls/input.js'; | ||
import IMask from './core/holder.js'; | ||
export { default } from './core/holder.js'; | ||
import './_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import './_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import './core/utils.js'; | ||
@@ -6,0 +6,0 @@ import './core/change-details.js'; |
@@ -18,3 +18,3 @@ export { default as InputMask } from './controls/input.js'; | ||
export { PIPE_TYPE, createPipe, pipe } from './masked/pipe.js'; | ||
import './_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import './_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import './core/utils.js'; | ||
@@ -21,0 +21,0 @@ import './core/change-details.js'; |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck, f as _slicedToArray } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck, f as _slicedToArray } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import ChangeDetails from '../core/change-details.js'; | ||
@@ -280,3 +280,3 @@ import ContinuousTailDetails from '../core/continuous-tail-details.js'; | ||
var checkTail = isString(tail) ? new ContinuousTailDetails(String(tail)) : tail; | ||
if (flags && flags.tail) flags._beforeTailState = this.state; | ||
if (flags !== null && flags !== void 0 && flags.tail) flags._beforeTailState = this.state; | ||
@@ -392,2 +392,5 @@ for (var ci = 0; ci < str.length; ++ci) { | ||
value: function splice(start, deleteCount, inserted, removeDirection) { | ||
var flags = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : { | ||
input: true | ||
}; | ||
var tailPos = start + deleteCount; | ||
@@ -424,5 +427,3 @@ var tail = this.extractTail(tailPos); | ||
return details.aggregate(this.append(inserted, { | ||
input: true | ||
}, tail)); | ||
return details.aggregate(this.append(inserted, flags, tail)); | ||
} | ||
@@ -434,2 +435,8 @@ }, { | ||
} | ||
}, { | ||
key: "typedValueEquals", | ||
value: function typedValueEquals(value) { | ||
var tval = this.typedValue; | ||
return value === tval || Masked.EMPTY_VALUES.includes(value) && Masked.EMPTY_VALUES.includes(tval) || this.doFormat(value) === this.doFormat(this.typedValue); | ||
} | ||
}]); | ||
@@ -447,4 +454,5 @@ | ||
}; | ||
Masked.EMPTY_VALUES = [undefined, null, '']; | ||
IMask.Masked = Masked; | ||
export { Masked as default }; |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, f as _slicedToArray, g as _get, h as _getPrototypeOf, i as _set } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, f as _slicedToArray, a as _classCallCheck, g as _get, h as _getPrototypeOf, i as _set } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import MaskedPattern from './pattern.js'; | ||
@@ -3,0 +3,0 @@ import MaskedRange from './range.js'; |
@@ -1,7 +0,7 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, i as _set, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf, f as _slicedToArray, i as _set, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import ChangeDetails from '../core/change-details.js'; | ||
import createMask from './factory.js'; | ||
import Masked from './base.js'; | ||
import { normalizePrepare } from '../core/utils.js'; | ||
import IMask from '../core/holder.js'; | ||
import '../core/utils.js'; | ||
import '../core/continuous-tail-details.js'; | ||
@@ -64,3 +64,3 @@ | ||
if (this.currentMask) { | ||
details.aggregate(this.currentMask._appendChar(ch, flags)); | ||
details.aggregate(this.currentMask._appendChar(ch, this.currentMaskFlags(flags))); | ||
} | ||
@@ -82,3 +82,3 @@ | ||
var details = new ChangeDetails(); | ||
var prevMaskState = prevMask && prevMask.state; // clone flags to prevent overwriting `_beforeTailState` | ||
var prevMaskState = prevMask === null || prevMask === void 0 ? void 0 : prevMask.state; // clone flags to prevent overwriting `_beforeTailState` | ||
@@ -142,2 +142,11 @@ this.currentMask = this.doDispatch(appended, Object.assign({}, flags)); // restore state after dispatch | ||
} | ||
}, { | ||
key: "currentMaskFlags", | ||
value: function currentMaskFlags(flags) { | ||
var _flags$_beforeTailSta, _flags$_beforeTailSta2; | ||
return Object.assign({}, flags, { | ||
_beforeTailState: ((_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : _flags$_beforeTailSta.currentMaskRef) === this.currentMask && ((_flags$_beforeTailSta2 = flags._beforeTailState) === null || _flags$_beforeTailSta2 === void 0 ? void 0 : _flags$_beforeTailSta2.currentMask) || flags._beforeTailState | ||
}); | ||
} | ||
/** | ||
@@ -159,10 +168,32 @@ @override | ||
key: "doValidate", | ||
value: function doValidate() { | ||
var _get2, _this$currentMask; | ||
value: function doValidate(flags) { | ||
return _get(_getPrototypeOf(MaskedDynamic.prototype), "doValidate", this).call(this, flags) && (!this.currentMask || this.currentMask.doValidate(this.currentMaskFlags(flags))); | ||
} | ||
/** | ||
@override | ||
*/ | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
}, { | ||
key: "doPrepare", | ||
value: function doPrepare(str) { | ||
var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
var _normalizePrepare = normalizePrepare(_get(_getPrototypeOf(MaskedDynamic.prototype), "doPrepare", this).call(this, str, flags)), | ||
_normalizePrepare2 = _slicedToArray(_normalizePrepare, 2), | ||
s = _normalizePrepare2[0], | ||
details = _normalizePrepare2[1]; | ||
if (this.currentMask) { | ||
var currentDetails; | ||
var _normalizePrepare3 = normalizePrepare(_get(_getPrototypeOf(MaskedDynamic.prototype), "doPrepare", this).call(this, s, this.currentMaskFlags(flags))); | ||
var _normalizePrepare4 = _slicedToArray(_normalizePrepare3, 2); | ||
s = _normalizePrepare4[0]; | ||
currentDetails = _normalizePrepare4[1]; | ||
details = details.aggregate(currentDetails); | ||
} | ||
return (_get2 = _get(_getPrototypeOf(MaskedDynamic.prototype), "doValidate", this)).call.apply(_get2, [this].concat(args)) && (!this.currentMask || (_this$currentMask = this.currentMask).doValidate.apply(_this$currentMask, args)); | ||
return [s, details]; | ||
} | ||
@@ -176,5 +207,5 @@ /** | ||
value: function reset() { | ||
var _this$currentMask2; | ||
var _this$currentMask; | ||
(_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.reset(); | ||
(_this$currentMask = this.currentMask) === null || _this$currentMask === void 0 ? void 0 : _this$currentMask.reset(); | ||
this.compiledMasks.forEach(function (m) { | ||
@@ -235,5 +266,5 @@ return m.reset(); | ||
get: function get() { | ||
var _this$currentMask3; | ||
var _this$currentMask2; | ||
return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isComplete); | ||
return Boolean((_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.isComplete); | ||
} | ||
@@ -247,5 +278,5 @@ /** | ||
get: function get() { | ||
var _this$currentMask4; | ||
var _this$currentMask3; | ||
return Boolean((_this$currentMask4 = this.currentMask) === null || _this$currentMask4 === void 0 ? void 0 : _this$currentMask4.isFilled); | ||
return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isFilled); | ||
} | ||
@@ -262,5 +293,5 @@ /** | ||
if (this.currentMask) { | ||
var _this$currentMask5; | ||
var _this$currentMask4; | ||
details.aggregate((_this$currentMask5 = this.currentMask).remove.apply(_this$currentMask5, arguments)) // update with dispatch | ||
details.aggregate((_this$currentMask4 = this.currentMask).remove.apply(_this$currentMask4, arguments)) // update with dispatch | ||
.aggregate(this._applyDispatch()); | ||
@@ -278,2 +309,4 @@ } | ||
get: function get() { | ||
var _this$currentMask5; | ||
return Object.assign({}, _get(_getPrototypeOf(MaskedDynamic.prototype), "state", this), { | ||
@@ -285,3 +318,3 @@ _rawInputValue: this.rawInputValue, | ||
currentMaskRef: this.currentMask, | ||
currentMask: this.currentMask && this.currentMask.state | ||
currentMask: (_this$currentMask5 = this.currentMask) === null || _this$currentMask5 === void 0 ? void 0 : _this$currentMask5.state | ||
}); | ||
@@ -324,9 +357,9 @@ }, | ||
value: function extractTail() { | ||
var _this$currentMask7, _get3; | ||
var _this$currentMask7, _get2; | ||
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { | ||
args[_key2] = arguments[_key2]; | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
return this.currentMask ? (_this$currentMask7 = this.currentMask).extractTail.apply(_this$currentMask7, args) : (_get3 = _get(_getPrototypeOf(MaskedDynamic.prototype), "extractTail", this)).call.apply(_get3, [this].concat(args)); | ||
return this.currentMask ? (_this$currentMask7 = this.currentMask).extractTail.apply(_this$currentMask7, args) : (_get2 = _get(_getPrototypeOf(MaskedDynamic.prototype), "extractTail", this)).call.apply(_get2, [this].concat(args)); | ||
} | ||
@@ -351,9 +384,9 @@ /** | ||
value: function nearestInputPos() { | ||
var _this$currentMask8, _get4; | ||
var _this$currentMask8, _get3; | ||
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { | ||
args[_key3] = arguments[_key3]; | ||
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { | ||
args[_key2] = arguments[_key2]; | ||
} | ||
return this.currentMask ? (_this$currentMask8 = this.currentMask).nearestInputPos.apply(_this$currentMask8, args) : (_get4 = _get(_getPrototypeOf(MaskedDynamic.prototype), "nearestInputPos", this)).call.apply(_get4, [this].concat(args)); | ||
return this.currentMask ? (_this$currentMask8 = this.currentMask).nearestInputPos.apply(_this$currentMask8, args) : (_get3 = _get(_getPrototypeOf(MaskedDynamic.prototype), "nearestInputPos", this)).call.apply(_get3, [this].concat(args)); | ||
} | ||
@@ -389,2 +422,13 @@ }, { | ||
} | ||
/** | ||
@override | ||
*/ | ||
}, { | ||
key: "typedValueEquals", | ||
value: function typedValueEquals(value) { | ||
var _this$currentMask9; | ||
return Boolean((_this$currentMask9 = this.currentMask) === null || _this$currentMask9 === void 0 ? void 0 : _this$currentMask9.typedValueEquals(value)); | ||
} | ||
}]); | ||
@@ -404,3 +448,3 @@ | ||
}); | ||
m.append(appended, flags); | ||
m.append(appended, masked.currentMaskFlags(flags)); | ||
var weight = m.rawInputValue.length; | ||
@@ -407,0 +451,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import MaskedPattern from './pattern.js'; | ||
@@ -3,0 +3,0 @@ import IMask from '../core/holder.js'; |
import { isString } from '../core/utils.js'; | ||
import IMask from '../core/holder.js'; | ||
import '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import '../core/change-details.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import Masked from './base.js'; | ||
@@ -3,0 +3,0 @@ import IMask from '../core/holder.js'; |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, f as _slicedToArray, i as _set } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { j as _toConsumableArray, d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf, f as _slicedToArray, i as _set } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import { escapeRegExp, normalizePrepare, DIRECTION } from '../core/utils.js'; | ||
@@ -401,2 +401,13 @@ import ChangeDetails from '../core/change-details.js'; | ||
} | ||
/** | ||
@override | ||
*/ | ||
}, { | ||
key: "typedValueEquals", | ||
value: function typedValueEquals(value) { | ||
// handle 0 -> '' case (typed = 0 even if value = '') | ||
// for details see https://github.com/uNmAnNeR/imaskjs/issues/134 | ||
return (_get(_getPrototypeOf(MaskedNumber.prototype), "typedValueEquals", this).call(this, value) || MaskedNumber.EMPTY_VALUES.includes(value) && MaskedNumber.EMPTY_VALUES.includes(this.typedValue)) && !(value === 0 && this.value === ''); | ||
} | ||
}]); | ||
@@ -415,4 +426,5 @@ | ||
}; | ||
MaskedNumber.EMPTY_VALUES = [].concat(_toConsumableArray(Masked.EMPTY_VALUES), [0]); | ||
IMask.MaskedNumber = MaskedNumber; | ||
export { MaskedNumber as default }; |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, b as _objectWithoutProperties, i as _set } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf, b as _objectWithoutProperties, i as _set } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import { DIRECTION } from '../core/utils.js'; | ||
@@ -322,3 +322,3 @@ import ChangeDetails from '../core/change-details.js'; | ||
for (var bi = blockIter.index;; ++bi) { | ||
var _flags$_beforeTailSta; | ||
var _flags$_beforeTailSta, _flags$_beforeTailSta2; | ||
@@ -329,3 +329,3 @@ var _block = this._blocks[bi]; | ||
var blockDetails = _block._appendChar(ch, Object.assign({}, flags, { | ||
_beforeTailState: (_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : _flags$_beforeTailSta._blocks[bi] | ||
_beforeTailState: (_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : (_flags$_beforeTailSta2 = _flags$_beforeTailSta._blocks) === null || _flags$_beforeTailSta2 === void 0 ? void 0 : _flags$_beforeTailSta2[bi] | ||
})); | ||
@@ -332,0 +332,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import ChangeDetails from '../../core/change-details.js'; | ||
@@ -3,0 +3,0 @@ import { isString } from '../../core/utils.js'; |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck } from '../../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck } from '../../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import { DIRECTION } from '../../core/utils.js'; | ||
@@ -3,0 +3,0 @@ import '../../core/change-details.js'; |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck } from '../../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck } from '../../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import ChangeDetails from '../../core/change-details.js'; | ||
@@ -95,3 +95,3 @@ import { DIRECTION, isString } from '../../core/utils.js'; | ||
var appended = this.char === ch; | ||
var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && !this.eager && !flags.tail; | ||
var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && (!flags.raw || !this.eager) && !flags.tail; | ||
if (isResolved) details.rawInserted = this.char; | ||
@@ -105,3 +105,5 @@ this._value = details.inserted = this.char; | ||
value: function _appendEager() { | ||
return this._appendChar(this.char); | ||
return this._appendChar(this.char, { | ||
tail: true | ||
}); | ||
} | ||
@@ -108,0 +110,0 @@ }, { |
@@ -1,2 +0,2 @@ | ||
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import createMask from '../factory.js'; | ||
@@ -3,0 +3,0 @@ import ChangeDetails from '../../core/change-details.js'; |
import createMask from './factory.js'; | ||
import IMask from '../core/holder.js'; | ||
import '../core/utils.js'; | ||
import '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import '../core/change-details.js'; | ||
@@ -6,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, f as _slicedToArray } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf, f as _slicedToArray } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import MaskedPattern from './pattern.js'; | ||
@@ -3,0 +3,0 @@ import { normalizePrepare } from '../core/utils.js'; |
@@ -1,2 +0,2 @@ | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-b054ecd2.js'; | ||
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-67bba7fb.js'; | ||
import Masked from './base.js'; | ||
@@ -3,0 +3,0 @@ import IMask from '../core/holder.js'; |
@@ -5,3 +5,3 @@ var $$3 = require('../internals/export'); | ||
// https://tc39.es/ecma262/#sec-object.assign | ||
// eslint-disable-next-line es/no-object-assign -- required for testing | ||
// eslint-disable-next-line es-x/no-object-assign -- required for testing | ||
@@ -12,2 +12,3 @@ | ||
stat: true, | ||
arity: 2, | ||
forced: Object.assign !== assign | ||
@@ -14,0 +15,0 @@ }, { |
{ | ||
"name": "imask", | ||
"version": "6.4.2", | ||
"version": "6.4.3-alpha.0", | ||
"author": "Alexey Kryazhev", | ||
@@ -31,3 +31,3 @@ "license": "MIT", | ||
], | ||
"gitHead": "4cb5df3142822c5de910001a4294b764c439c478" | ||
"gitHead": "0fbfbfff14a55795c59144c74c1a0fdc2ae99133" | ||
} |
@@ -25,4 +25,1 @@ # imaskjs | ||
`npm run make` | ||
## Support Development | ||
[Paypal](https://www.paypal.me/alexeykryazhev/3) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
779284
8982
1
25