@progress/kendo-vue-inputs 6.4.1-develop.2 → 6.4.2-develop.3
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.
- package/checkbox/Checkbox.mjs +20 -20
- package/colors/ColorGradient.mjs +22 -22
- package/colors/ColorInput.mjs +3 -3
- package/colors/ColorPalette.mjs +9 -9
- package/colors/ColorPicker.mjs +12 -12
- package/colors/FlatColorPicker.mjs +12 -12
- package/colors/utils/color-parser.js +1 -1
- package/colors/utils/color-parser.mjs +1 -1
- package/dist/cdn/js/kendo-vue-inputs.js +1 -1
- package/input/Input.mjs +5 -5
- package/maskedtextbox/MaskedTextBox.mjs +16 -16
- package/maskedtextbox/masking.service.mjs +9 -9
- package/numerictextbox/NumericTextBox.mjs +20 -20
- package/numerictextbox/utils/main.js +1 -1
- package/numerictextbox/utils/main.mjs +37 -37
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/radiobutton/RadioButton.mjs +9 -9
- package/radiobutton/RadioGroup.mjs +6 -6
- package/range-slider/RangeSlider.mjs +7 -7
- package/rating/Rating.mjs +7 -7
- package/rating/RatingItem.mjs +6 -6
- package/signature/Signature.mjs +2 -2
- package/signature/SignatureDialog.mjs +1 -1
- package/slider/Slider.mjs +6 -6
- package/switch/Switch.mjs +6 -6
- package/textarea/TextArea.mjs +8 -8
- package/textbox/TextBox.mjs +6 -6
package/input/Input.mjs
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as h,
|
|
9
|
-
import {
|
|
8
|
+
import { defineComponent as h, h as f, createVNode as c, ref as m, isVNode as y } from "vue";
|
|
9
|
+
import { kendoThemeMaps as n, validatePackage as g, guid as v } from "@progress/kendo-vue-common";
|
|
10
10
|
import { packageMetadata as $ } from "../package-metadata.mjs";
|
|
11
11
|
import { FloatingLabel as b } from "@progress/kendo-vue-labels";
|
|
12
12
|
function V(t) {
|
|
@@ -118,7 +118,7 @@ const M = /* @__PURE__ */ h({
|
|
|
118
118
|
},
|
|
119
119
|
setup() {
|
|
120
120
|
return {
|
|
121
|
-
inputRef:
|
|
121
|
+
inputRef: m(null)
|
|
122
122
|
};
|
|
123
123
|
},
|
|
124
124
|
render() {
|
|
@@ -130,7 +130,7 @@ const M = /* @__PURE__ */ h({
|
|
|
130
130
|
ariaLabel: u,
|
|
131
131
|
ariaLabelledBy: r,
|
|
132
132
|
ariaDescribedBy: o
|
|
133
|
-
} = this.$props, l = e || this._inputId, a =
|
|
133
|
+
} = this.$props, l = e || this._inputId, a = f("input", {
|
|
134
134
|
...this.$attrs,
|
|
135
135
|
placeholder: this.$props.placeholder,
|
|
136
136
|
id: l,
|
|
@@ -156,7 +156,7 @@ const M = /* @__PURE__ */ h({
|
|
|
156
156
|
onAnimationstart: this.handleAutoFill,
|
|
157
157
|
onAnimationend: this.handleAutoFillEnd
|
|
158
158
|
});
|
|
159
|
-
return i ?
|
|
159
|
+
return i ? c(b, {
|
|
160
160
|
label: i,
|
|
161
161
|
editorId: l,
|
|
162
162
|
editorValue: this.computedValue,
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as b,
|
|
8
|
+
import { defineComponent as b, h as c, createVNode as n, mergeProps as C, ref as w } from "vue";
|
|
9
9
|
import { MaskingService as x } from "./masking.service.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { templateDefinition as m,
|
|
10
|
+
import { returnFalse as h, defaultRules as f, maskingChanged as P } from "./utils.mjs";
|
|
11
|
+
import { templateDefinition as m, templateRendering as g, getListeners as v, getTemplate as $, Icon as u, setRef as I, getTabIndex as B, kendoThemeMaps as S, validatePackage as M, guid as O } from "@progress/kendo-vue-common";
|
|
12
12
|
import { packageMetadata as L } from "../package-metadata.mjs";
|
|
13
13
|
import { checkIcon as R, exclamationCircleIcon as F, xIcon as D } from "@progress/kendo-svg-icons";
|
|
14
14
|
const z = /* @__PURE__ */ b({
|
|
@@ -76,7 +76,7 @@ const z = /* @__PURE__ */ b({
|
|
|
76
76
|
rules: {
|
|
77
77
|
type: Object,
|
|
78
78
|
default: function() {
|
|
79
|
-
return
|
|
79
|
+
return f;
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
selection: Object,
|
|
@@ -114,11 +114,11 @@ const z = /* @__PURE__ */ b({
|
|
|
114
114
|
};
|
|
115
115
|
},
|
|
116
116
|
created() {
|
|
117
|
-
|
|
117
|
+
M(L), this.hasMounted = !1, this.valueDuringOnChange = void 0, this.inputId = `k-${O()}`, this.service = new x(), this.isPasted = !1;
|
|
118
118
|
},
|
|
119
119
|
setup() {
|
|
120
120
|
return {
|
|
121
|
-
inputRef:
|
|
121
|
+
inputRef: w(null)
|
|
122
122
|
};
|
|
123
123
|
},
|
|
124
124
|
mounted() {
|
|
@@ -164,7 +164,7 @@ const z = /* @__PURE__ */ b({
|
|
|
164
164
|
},
|
|
165
165
|
computed: {
|
|
166
166
|
computedRules() {
|
|
167
|
-
return Object.assign({},
|
|
167
|
+
return Object.assign({}, f, this.$props.rules);
|
|
168
168
|
},
|
|
169
169
|
spanClassNames() {
|
|
170
170
|
const e = !this.hasMounted || !this.$props.validityStyles || this.validity().valid;
|
|
@@ -187,9 +187,9 @@ const z = /* @__PURE__ */ b({
|
|
|
187
187
|
return {
|
|
188
188
|
"k-maskedtextbox": !0,
|
|
189
189
|
"k-input": !0,
|
|
190
|
-
[`k-input-${
|
|
190
|
+
[`k-input-${S.sizeMap[e] || e}`]: e,
|
|
191
191
|
[`k-input-${t}`]: t,
|
|
192
|
-
[`k-rounded-${
|
|
192
|
+
[`k-rounded-${S.roundedMap[i] || i}`]: i,
|
|
193
193
|
"k-invalid": !s,
|
|
194
194
|
"k-required": this.required,
|
|
195
195
|
"k-disabled": this.$props.disabled,
|
|
@@ -299,14 +299,14 @@ const z = /* @__PURE__ */ b({
|
|
|
299
299
|
inputAttributes: o
|
|
300
300
|
} = this.$props, l = !this.$props.validityStyles || this.validity().valid, r = this.computedValue();
|
|
301
301
|
this.inputValue;
|
|
302
|
-
const p =
|
|
302
|
+
const p = g.call(this, this.$props.inputPrefix, v.call(this)), k = g.call(this, this.$props.inputSuffix, v.call(this)), V = $.call(this, {
|
|
303
303
|
h: c,
|
|
304
304
|
template: p,
|
|
305
305
|
additionalProps: {
|
|
306
306
|
value: r,
|
|
307
307
|
valid: l
|
|
308
308
|
}
|
|
309
|
-
}), y =
|
|
309
|
+
}), y = $.call(this, {
|
|
310
310
|
h: c,
|
|
311
311
|
template: k,
|
|
312
312
|
additionalProps: {
|
|
@@ -324,7 +324,7 @@ const z = /* @__PURE__ */ b({
|
|
|
324
324
|
class: "k-input-icon"
|
|
325
325
|
}, null), this.$props.inputPrefix && n("span", {
|
|
326
326
|
class: "k-input-prefix"
|
|
327
|
-
}, [V]), n("input",
|
|
327
|
+
}, [V]), n("input", C({
|
|
328
328
|
type: this.$props.type,
|
|
329
329
|
autocomplete: "off",
|
|
330
330
|
autocorrect: "off",
|
|
@@ -337,7 +337,7 @@ const z = /* @__PURE__ */ b({
|
|
|
337
337
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
338
338
|
"aria-disabled": this.$props.disabled,
|
|
339
339
|
name: this.$props.name,
|
|
340
|
-
tabindex:
|
|
340
|
+
tabindex: B(this.$props.tabIndex, this.$props.disabled, !0),
|
|
341
341
|
accesskey: this.$props.accessKey,
|
|
342
342
|
title: this.$props.title,
|
|
343
343
|
disabled: this.$props.disabled || void 0,
|
|
@@ -345,14 +345,14 @@ const z = /* @__PURE__ */ b({
|
|
|
345
345
|
placeholder: this.$props.placeholder,
|
|
346
346
|
"aria-placeholder": this.$props.placeholder,
|
|
347
347
|
required: this.$props.required,
|
|
348
|
-
ref:
|
|
348
|
+
ref: I(this, "input")
|
|
349
349
|
}, o, {
|
|
350
350
|
onInput: this.onChangeHandler,
|
|
351
351
|
onPaste: this.pasteHandler,
|
|
352
352
|
onFocus: this.focusHandler,
|
|
353
353
|
onBlur: this.blurHandler,
|
|
354
|
-
onDragstart:
|
|
355
|
-
onDrop:
|
|
354
|
+
onDragstart: h,
|
|
355
|
+
onDrop: h
|
|
356
356
|
}), null), this.$props.inputSuffix && n("span", {
|
|
357
357
|
class: "k-input-suffix"
|
|
358
358
|
}, [y]), i && l && n(u, {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { sequence as i, greedy as k } from "./parsing/combinators.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { mask as d, literal as T, unmask as p, unliteral as f, rawMask as m, rawLiteral as c, token as u } from "./parsing/parsers.mjs";
|
|
10
10
|
class C {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.rules = {}, this.prompt = "_", this.mask = "", this.promptPlaceholder = " ", this.includeLiterals = !1, this.maskTokens = [], this.unmaskTokens = [], this.rawTokens = [], this.validationTokens = [];
|
|
@@ -79,28 +79,28 @@ class C {
|
|
|
79
79
|
get maskTokenCreator() {
|
|
80
80
|
const { prompt: e, promptPlaceholder: s } = this;
|
|
81
81
|
return {
|
|
82
|
-
literal: (t) =>
|
|
83
|
-
mask: (t) =>
|
|
82
|
+
literal: (t) => T(t),
|
|
83
|
+
mask: (t) => d({ prompt: e, promptPlaceholder: s })(t)
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
get unmaskTokenCreator() {
|
|
87
87
|
return {
|
|
88
|
-
literal: (e) =>
|
|
89
|
-
mask: (e) =>
|
|
88
|
+
literal: (e) => f(e),
|
|
89
|
+
mask: (e) => p(this.prompt)(e)
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
get rawTokenCreator() {
|
|
93
93
|
const { prompt: e, promptPlaceholder: s, includeLiterals: t } = this;
|
|
94
94
|
return {
|
|
95
|
-
literal: (r) =>
|
|
96
|
-
mask: (r) =>
|
|
95
|
+
literal: (r) => c(t),
|
|
96
|
+
mask: (r) => m({ prompt: e, promptPlaceholder: s })
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
get validationTokenCreator() {
|
|
100
100
|
const { prompt: e } = this;
|
|
101
101
|
return {
|
|
102
|
-
literal: (s) =>
|
|
103
|
-
mask: (s) =>
|
|
102
|
+
literal: (s) => c(!1),
|
|
103
|
+
mask: (s) => m({ prompt: e, promptPlaceholder: "" })
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
tokenize() {
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as P,
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { defineComponent as P, h as v, createVNode as i, mergeProps as M, ref as V, inject as b } from "vue";
|
|
9
|
+
import { getDefaultSlots as w, templateRendering as S, getListeners as _, getTemplate as C, Icon as u, setRef as R, canUseDOM as $, kendoThemeMaps as k, getRef as F, validatePackage as z, guid as T } from "@progress/kendo-vue-common";
|
|
10
|
+
import { provideLocalizationService as U, provideIntlService as A } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { Button as y } from "@progress/kendo-vue-buttons";
|
|
12
12
|
import { numericIncreaseValue as d, messages as h, numericDecreaseValue as c } from "../messages/main.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { sanitizeNumber as I, formatValue as m, rangeValue as f, decreaseValue as x, increaseValue as L, getStateOrPropsValue as O } from "./utils/main.mjs";
|
|
14
14
|
import { packageMetadata as W } from "../package-metadata.mjs";
|
|
15
15
|
import { checkIcon as j, exclamationCircleIcon as q, xIcon as K, caretAltUpIcon as H, caretAltDownIcon as Y } from "@progress/kendo-svg-icons";
|
|
16
16
|
const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
@@ -124,7 +124,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
124
124
|
};
|
|
125
125
|
},
|
|
126
126
|
created() {
|
|
127
|
-
|
|
127
|
+
z(W), this._textBeforeInput = "", this._inputId = T(), this.$data.currentLooseValue = null, this.$data.valueDuringOnChange = void 0, this._intl = A(this), this._symbols = this._intl.numberSymbols(), this.$props.value !== void 0 ? this.$data.currentValue = this.$props.value : this.$props.modelValue !== void 0 ? this.$data.currentValue = this.$props.modelValue : this.$props.defaultValue !== void 0 ? this.$data.currentValue = this.$props.defaultValue : this.$data.currentValue = null;
|
|
128
128
|
},
|
|
129
129
|
mounted() {
|
|
130
130
|
this._input = F(this, "input"), this._elementWrapper = this.elementWrapperRef, this.$data.hasMounted = !0, this._input && (this._textBeforeInput = this._input.value), this.setValidity();
|
|
@@ -137,7 +137,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
137
137
|
return this.$data.valueDuringOnChange !== void 0 ? this.$data.valueDuringOnChange : this.$data.currentValue;
|
|
138
138
|
},
|
|
139
139
|
looseValue() {
|
|
140
|
-
return m(this.$data.focused ? this.$data.currentLooseValue :
|
|
140
|
+
return m(this.$data.focused ? this.$data.currentLooseValue : O(this.$props.value, this.$data.currentValue), this.$props.format, this._intl);
|
|
141
141
|
},
|
|
142
142
|
spanClassNames() {
|
|
143
143
|
const t = !this.$data.hasMounted || !this.$props.validityStyles || this.validity().valid, e = this.computedValue;
|
|
@@ -161,9 +161,9 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
161
161
|
return {
|
|
162
162
|
"k-input": !0,
|
|
163
163
|
"k-numerictextbox": !0,
|
|
164
|
-
[`k-input-${
|
|
164
|
+
[`k-input-${k.sizeMap[t] || t}`]: t,
|
|
165
165
|
[`k-input-${e}`]: e,
|
|
166
|
-
[`k-rounded-${
|
|
166
|
+
[`k-rounded-${k.roundedMap[s] || s}`]: s,
|
|
167
167
|
"k-invalid": !n,
|
|
168
168
|
"k-required": a,
|
|
169
169
|
"k-disabled": l,
|
|
@@ -219,7 +219,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
219
219
|
},
|
|
220
220
|
getCurrentState() {
|
|
221
221
|
return {
|
|
222
|
-
eventValue:
|
|
222
|
+
eventValue: O(this.$props.value, this.$data.currentValue),
|
|
223
223
|
prevLooseValue: this._prevLooseValue,
|
|
224
224
|
currentLooseValue: this._input.value,
|
|
225
225
|
selectionStart: this._input.selectionStart,
|
|
@@ -236,7 +236,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
236
236
|
},
|
|
237
237
|
elementChange(t) {
|
|
238
238
|
const e = this.getCurrentState();
|
|
239
|
-
this._isPaste = !1, this.triggerChange(t,
|
|
239
|
+
this._isPaste = !1, this.triggerChange(t, I(e, this.$props.format, this._intl));
|
|
240
240
|
},
|
|
241
241
|
triggerChange(t, e) {
|
|
242
242
|
if (this.$props.disabled)
|
|
@@ -270,7 +270,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
270
270
|
},
|
|
271
271
|
decrease(t) {
|
|
272
272
|
const e = this.getCurrentState();
|
|
273
|
-
|
|
273
|
+
x(this.parseNumber(String(e.currentLooseValue)), e, this.$props.step, this.$props.min, this.$props.max, this.$props.format, this._intl), this.triggerChange(t, e);
|
|
274
274
|
},
|
|
275
275
|
wheel(t) {
|
|
276
276
|
!$ || document.activeElement !== this._input || !this._input || (t.deltaY < 0 && (t.preventDefault(), this.increase(t)), t.deltaY > 0 && (t.preventDefault(), this.decrease(t)));
|
|
@@ -284,13 +284,13 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
284
284
|
L(r, e, this.$props.step, this.$props.min, this.$props.max, this.$props.format, this._intl);
|
|
285
285
|
break;
|
|
286
286
|
case 40:
|
|
287
|
-
|
|
287
|
+
x(r, e, this.$props.step, this.$props.min, this.$props.max, this.$props.format, this._intl);
|
|
288
288
|
break;
|
|
289
289
|
case 13:
|
|
290
290
|
s = m(f(r, this.$props.min, this.$props.max), this.$props.format, this._intl), a = f(this.parseNumber(s), this.$props.min, this.$props.max), e.eventValue = a, e.currentLooseValue = m(a, this.$props.format, this._intl), e.selectionStart = e.selectionEnd = e.currentLooseValue.length;
|
|
291
291
|
break;
|
|
292
292
|
case 110:
|
|
293
|
-
l = this._input, n = this._intl.numberSymbols(), l && (e.currentLooseValue = e.currentLooseValue.slice(0, e.selectionStart) + n.decimal + e.currentLooseValue.slice(e.selectionEnd), e.selectionStart = e.selectionEnd = e.selectionStart + 1, e =
|
|
293
|
+
l = this._input, n = this._intl.numberSymbols(), l && (e.currentLooseValue = e.currentLooseValue.slice(0, e.selectionStart) + n.decimal + e.currentLooseValue.slice(e.selectionEnd), e.selectionStart = e.selectionEnd = e.selectionStart + 1, e = I(e, this.$props.format, this._intl));
|
|
294
294
|
break;
|
|
295
295
|
default:
|
|
296
296
|
return;
|
|
@@ -303,7 +303,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
303
303
|
}
|
|
304
304
|
},
|
|
305
305
|
setup() {
|
|
306
|
-
const t =
|
|
306
|
+
const t = V(null), e = V(null), s = b("kendoLocalizationService", {}), a = b("kendoIntlService", {});
|
|
307
307
|
return {
|
|
308
308
|
inputRef: t,
|
|
309
309
|
elementWrapperRef: e,
|
|
@@ -318,17 +318,17 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
318
318
|
showLoadingIcon: s,
|
|
319
319
|
showClearButton: a,
|
|
320
320
|
inputAttributes: l
|
|
321
|
-
} = this.$props, n = this.$props.id || this._inputId, r =
|
|
321
|
+
} = this.$props, n = this.$props.id || this._inputId, r = w(this), o = U(this), p = this.validity().valid;
|
|
322
322
|
this.$props.value !== void 0 && this.$props.value !== this.$data.currentValue ? this.$data.currentValue = this.$props.value : this.$props.modelValue !== void 0 && this.$props.modelValue !== this.$data.currentValue && (this.$data.currentValue = this.$props.modelValue), this._prevLooseValue = this.$data.currentLooseValue ? this.looseValue : this.looseValue;
|
|
323
|
-
const D =
|
|
324
|
-
h:
|
|
323
|
+
const D = S.call(this, this.$props.inputPrefix, _.call(this)), N = S.call(this, this.$props.inputSuffix, _.call(this)), E = C.call(this, {
|
|
324
|
+
h: v,
|
|
325
325
|
template: D,
|
|
326
326
|
additionalProps: {
|
|
327
327
|
value: this.computedValue,
|
|
328
328
|
valid: p
|
|
329
329
|
}
|
|
330
|
-
}), B =
|
|
331
|
-
h:
|
|
330
|
+
}), B = C.call(this, {
|
|
331
|
+
h: v,
|
|
332
332
|
template: N,
|
|
333
333
|
additionalProps: {
|
|
334
334
|
value: this.computedValue,
|
|
@@ -368,7 +368,7 @@ const G = "Please enter a valid value!", ae = /* @__PURE__ */ P({
|
|
|
368
368
|
onFocus: this.emitFocus,
|
|
369
369
|
onBlur: this.emitBlur,
|
|
370
370
|
onPaste: this.onPasteHandler,
|
|
371
|
-
ref:
|
|
371
|
+
ref: R(this, "input")
|
|
372
372
|
}, l), null), this.$props.inputSuffix && i("span", {
|
|
373
373
|
class: "k-input-suffix"
|
|
374
374
|
}, [B]), e && p && i(u, {
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=11111111111111e-7,be=.31111111111111117,Le=1,w=1,ee=0,V=/\d/,ne=15,he=(t,n)=>t!==void 0?t:n,m=(t,n,r)=>t===null&&t===void 0?"":typeof t=="string"?t:r.formatNumber(t,n),B=t=>(String(t).split(".")[1]||"").length,te=(t,n)=>Math.max(B(t),B(n)),re=t=>Math.min(t,ne),j=(t,n)=>{const r=re(n);return parseFloat(t.toFixed(r))},Ie=(t,n,r,e,u,s,a)=>{const o=te(t||0,r||0),c=G(j((t||0)+(r||0),o),e,u);n.eventValue=c,n.currentLooseValue=m(c,s,a),n.selectionStart=n.selectionEnd=N(n.currentLooseValue,V)},Ne=(t,n,r,e,u,s,a)=>{const o=te(t||0,r||0),c=G(j((t||0)-(r||0),o),e,u);n.eventValue=c,n.currentLooseValue=m(c,s,a),n.selectionStart=n.selectionEnd=N(n.currentLooseValue,V)},G=(t,n,r)=>t==null?t:!(t>1||t<1||t===1)||r!==void 0&&n!==void 0&&r<n?null:(r!==void 0&&t>r&&(t=r),n!==void 0&&t<n&&(t=n),t),oe=(t,n)=>{const r=n.findIndex(([u,s])=>!!s&&t.indexOf(s)===t.length-s.length);if(r===-1)return-1;const e=n[r][1];return t.length-e.length},se=(t,n)=>{const r=n.findIndex(([u,s])=>!!u&&t.indexOf(u)===0);return r===-1?-1:n[r][0].length},ue=(t,n,r)=>{const e=oe(t,n);if(e!==-1&&r.selectionStart>e){r.selectionStart=r.selectionEnd=e;return}r.selectionStart>t.length&&(r.selectionStart=r.selectionEnd=t.length);const u=se(t,n);u!==-1&&r.selectionStart<u&&(r.selectionStart=r.selectionEnd=u),r.selectionStart===-1&&(r.selectionStart=r.selectionEnd=0)},p=(t,n,r,e)=>{t.selectionStart=t.selectionEnd=n,ue(r,e,t)},y=(t,n,r,e)=>{t.eventValue=e.parseNumber(t.prevLooseValue,n),t.currentLooseValue=t.prevLooseValue,t.valueIsCorrected=!0,p(t,t.selectionStart,t.currentLooseValue,r)},ie=(t,n)=>{const r=String(t.currentLooseValue),e=String(t.prevLooseValue);return r.split(n.minusSign).length!==e.split(n.minusSign).length&&r.length===e.length+n.minusSign.length},ce=(t,n)=>{const r=String(t.currentLooseValue),e=String(t.prevLooseValue);return r.indexOf(n.minusSign)===-1&&e.indexOf(n.minusSign)!==-1},le=(t,n)=>String(t.currentLooseValue).split(n.decimal).length>2,ae=(t,n)=>{const r=n.formatNumber(Y,t),e=n.formatNumber(-11111111111111e-7,t),u=n.formatNumber(ee,t),s=n.formatNumber(w,t),a=O(r),o=O(e),c=O(u),l=O(s),P=R(r),E=R(e),b=R(u),L=R(s);return{positiveInfo:[a,P],negativeInfo:[o,E],zeroInfo:[c,b],oneInfo:[l,L]}},de=(t,n)=>{const r=n.formatNumber(Y,t),e=n.formatNumber(-11111111111111e-7,t),u=n.formatNumber(ee,t),s=n.formatNumber(w,t),a=n.numberSymbols(),o=new RegExp(`[\\d\\${a.decimal}${a.group}]`,"g");return[r,e,u,s].map(l=>l.replace(o,"")).join("").split("").filter((l,P,E)=>E.indexOf(l)===P).join("")},C=(t,n)=>{const r=t.indexOf(n.decimal);return r>-1?r:N(t,V)},S=t=>t.split("").reverse().join(""),N=(t,n)=>t.length-S(t).search(n),O=t=>t.split(t[t.search(V)])[0],R=t=>{const n=S(t);return S(n.split(n[n.search(V)])[0])},F=(t,n)=>t.search(n),v=(t,n)=>{const r=t.indexOf(n);return r>-1?t.length-r-1:0},$=(t,n,r,e,u)=>{const s=t.replace(u,"")[0]==="0",a=n.replace(u,"")[0]==="0";if(s&&!a)return r-1;if(a&&e)return r+1;let o=0;for(let l=0;l<r;l++)V.test(t.charAt(l))&&o++;let c=0;for(;o>0&&n.length>c;)V.test(n.charAt(c))&&o--,c++;return c},Pe=(t,n,r)=>{const e={...t},{prevLooseValue:u}=e,s=r.numberSymbols(),a=de(n,r),o=String(e.currentLooseValue),c=String(u),l=new RegExp(`[^\\d\\${s.decimal}]`,"g"),P=new RegExp(`[^\\d\\${s.decimal}\\${s.group}]`,"g"),E=new RegExp(`[\\d\\${s.decimal}\\${s.group}]`),b=o.replace(l,""),L=F(o,V),D=L===-1?-1:N(o,V),ge=o.indexOf(s.decimal),U=(o.substring(0,L)+o.substring(L,D).replace(P,"")+o.substring(D,o.length)).split("").filter(x=>a.indexOf(x)!==-1||x.search(E)!==-1).join(""),X=r.formatNumber(be,n).replace(l,""),Z=X.indexOf(s.decimal),I=Z>-1?X.length-Z-1:0,W=r.formatNumber(Le,n).replace(l,""),k=W.indexOf(s.decimal),M=k>-1?W.length-k-1:0,{positiveInfo:fe,negativeInfo:me,zeroInfo:Ve,oneInfo:xe}=ae(n,r),g=[fe,me,Ve,xe],pe=g.findIndex(x=>x.findIndex(h=>!!h)!==-1)!==1,z=o.length>0&&o.length<c.length,q=n&&n[0]==="p"&&o&&o.indexOf(s.percentSign)===-1;if(!e.isPaste){if(o==="")return e.eventValue=null,e.currentLooseValue="",e;if(e.currentLooseValue===s.minusSign&&r.formatNumber(-0,n)!==c)return e.eventValue=-0,e.currentLooseValue=m(e.eventValue,n,r),p(e,C(e.currentLooseValue,s),e.currentLooseValue,g),e;if(ie(e,s)){const f=r.parseNumber(u,n);e.eventValue=-(f!==null?f:0),e.currentLooseValue=m(e.eventValue,n,r);const i=F(e.currentLooseValue,V),d=F(c,V);return p(e,e.selectionEnd-1+(i-d),e.currentLooseValue,g),e}if(ce(e,s))return e.eventValue=r.parseNumber(e.currentLooseValue,n),p(e,e.selectionStart,e.currentLooseValue,g),e;if(e.currentLooseValue===s.decimal){e.eventValue=0;const f=m(e.eventValue,n,r);if(M===0&&I>0){const i=N(f,V);e.currentLooseValue=f.substring(0,i)+s.decimal+f.substring(i)}else e.currentLooseValue=f;return p(e,C(e.currentLooseValue,s)+1,e.currentLooseValue,g),e}if(le(e,s))return y(e,n,g,r),e;if(q)return e.eventValue=r.parseNumber(o,n)/100,e.currentLooseValue=m(e.eventValue,n,r),e;if(String(e.currentLooseValue).replace(/[^\d]/g,"").length>ne||b!==o&&o&&pe&&g.findIndex(([i,d])=>{const T=o.indexOf(i),_=o.indexOf(d),H=T===0,J=_===o.length-d.length,K=T+i.length!==L&&L!==-1&&o[T+i.length]!==s.decimal,Q=_!==D&&D!==-1&&o[_-1]!==s.decimal;return i&&d?K||Q?!1:H&&J:i?K?!1:H:d?Q?!1:J:!1})===-1)return y(e,n,g,r),e;if(b[b.length-1]===s.decimal&&I>0)return e.eventValue=r.parseNumber(o,n),e.currentLooseValue=U,e;if(e.currentLooseValue&&u&&(a+s.decimal+s.group).split("").findIndex(i=>o.split("").filter(d=>d===i).length<c.split("").filter(d=>d===i).length&&o.length+1===c.length?!(i===s.decimal&&v(c.replace(l,""),s.decimal)===0):!1)>-1)return e.eventValue=r.parseNumber(t.prevLooseValue,n),e.currentLooseValue=t.prevLooseValue,e;const h=v(b,s.decimal),A=b[b.length-1]==="0";if(z&&A&&h<M)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=m(e.eventValue,n,r),e;if(h>0){const f=o.substring(0,ge);if(A&&(!f||c.indexOf(f)!==0)){e.eventValue=r.parseNumber(e.currentLooseValue,n);const i=m(e.eventValue,n,r);return p(e,$(o,i,e.selectionEnd,z,l),i,g),e.currentLooseValue=i,e}if(h>I){const i=o.indexOf(s.decimal),d=o.substring(0,i)+o.substring(i,i+1+I)+o.substring(D,String(e.currentLooseValue).length);return e.eventValue=r.parseNumber(d,n),e.currentLooseValue=d,p(e,e.selectionStart,d,g),e}if(M!==I&&h<=I&&A)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=U,e;if(h<M)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=m(e.eventValue,n,r),e}}if(e.eventValue=r.parseNumber(e.currentLooseValue,n),q&&(e.eventValue=e.eventValue/100),typeof e.eventValue=="number"){const x=m(e.eventValue,n,r);o.length===1?p(e,C(x,s),x,g):p(e,$(o,x,e.selectionEnd,z,l),x,g),e.currentLooseValue=x}else e.currentLooseValue=m(r.parseNumber(b),n,r);return e};exports.changeBasedSelection=$;exports.decreaseValue=Ne;exports.formatValue=m;exports.fractionLength=B;exports.getDecimalCount=v;exports.getFirstNumberIndex=F;exports.getFormatPrefixSufix=ae;exports.getFormatSymbols=de;exports.getInitialPosition=C;exports.getLastNumberIndex=N;exports.getMaxCursorPosition=oe;exports.getMinCursorPosition=se;exports.getPrefix=O;exports.getStateOrPropsValue=he;exports.getSuffix=R;exports.increaseValue=Ie;exports.isDecimalDuplicated=le;exports.isMinusSymbolAdded=ie;exports.isMinusSymbolRemoved=ce;exports.limitPrecision=re;exports.rangeSelection=ue;exports.rangeValue=G;exports.reverseString=S;exports.sanitizeNumber=Pe;exports.setInvalid=y;exports.setSelection=p;exports.toFixedPrecision=j;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const K = 11111111111111e-7, le = 0.31111111111111117, ae = 1, Q = 1, Y = 0, m = /\d/, w = 15, he = (t, n) => t !== void 0 ? t : n, p = (t, n, r) => t === null && t === void 0 ? "" : typeof t == "string" ? t : r.formatNumber(t, n), q = (t) => (String(t).split(".")[1] || "").length, ee = (t, n) => Math.max(q(t), q(n)), de = (t) => Math.min(t, w), ne = (t, n) => {
|
|
9
9
|
const r = de(n);
|
|
10
10
|
return parseFloat(t.toFixed(r));
|
|
11
11
|
}, Ne = (t, n, r, e, u, o, a) => {
|
|
@@ -34,7 +34,7 @@ const C = 11111111111111e-7, le = 0.31111111111111117, ae = 1, Q = 1, Y = 0, m =
|
|
|
34
34
|
u !== -1 && r.selectionStart < u && (r.selectionStart = r.selectionEnd = u), r.selectionStart === -1 && (r.selectionStart = r.selectionEnd = 0);
|
|
35
35
|
}, L = (t, n, r, e) => {
|
|
36
36
|
t.selectionStart = t.selectionEnd = n, me(r, e, t);
|
|
37
|
-
},
|
|
37
|
+
}, A = (t, n, r, e) => {
|
|
38
38
|
t.eventValue = e.parseNumber(t.prevLooseValue, n), t.currentLooseValue = t.prevLooseValue, t.valueIsCorrected = !0, L(t, t.selectionStart, t.currentLooseValue, r);
|
|
39
39
|
}, Ve = (t, n) => {
|
|
40
40
|
const r = String(t.currentLooseValue), e = String(t.prevLooseValue);
|
|
@@ -43,7 +43,7 @@ const C = 11111111111111e-7, le = 0.31111111111111117, ae = 1, Q = 1, Y = 0, m =
|
|
|
43
43
|
const r = String(t.currentLooseValue), e = String(t.prevLooseValue);
|
|
44
44
|
return r.indexOf(n.minusSign) === -1 && e.indexOf(n.minusSign) !== -1;
|
|
45
45
|
}, xe = (t, n) => String(t.currentLooseValue).split(n.decimal).length > 2, Le = (t, n) => {
|
|
46
|
-
const r = n.formatNumber(
|
|
46
|
+
const r = n.formatNumber(K, t), e = n.formatNumber(-11111111111111e-7, t), u = n.formatNumber(Y, t), o = n.formatNumber(Q, t), a = P(r), s = P(e), i = P(u), l = P(o), I = M(r), E = M(e), x = M(u), b = M(o);
|
|
47
47
|
return {
|
|
48
48
|
positiveInfo: [a, I],
|
|
49
49
|
negativeInfo: [s, E],
|
|
@@ -51,18 +51,18 @@ const C = 11111111111111e-7, le = 0.31111111111111117, ae = 1, Q = 1, Y = 0, m =
|
|
|
51
51
|
oneInfo: [l, b]
|
|
52
52
|
};
|
|
53
53
|
}, be = (t, n) => {
|
|
54
|
-
const r = n.formatNumber(
|
|
54
|
+
const r = n.formatNumber(K, t), e = n.formatNumber(-11111111111111e-7, t), u = n.formatNumber(Y, t), o = n.formatNumber(Q, t), a = n.numberSymbols(), s = new RegExp(`[\\d\\${a.decimal}${a.group}]`, "g");
|
|
55
55
|
return [r, e, u, o].map((l) => l.replace(s, "")).join("").split("").filter((l, I, E) => E.indexOf(l) === I).join("");
|
|
56
|
-
},
|
|
56
|
+
}, _ = (t, n) => {
|
|
57
57
|
const r = t.indexOf(n.decimal);
|
|
58
58
|
return r > -1 ? r : D(t, m);
|
|
59
|
-
},
|
|
60
|
-
const n =
|
|
61
|
-
return
|
|
62
|
-
},
|
|
59
|
+
}, B = (t) => t.split("").reverse().join(""), D = (t, n) => t.length - B(t).search(n), P = (t) => t.split(t[t.search(m)])[0], M = (t) => {
|
|
60
|
+
const n = B(t);
|
|
61
|
+
return B(n.split(n[n.search(m)])[0]);
|
|
62
|
+
}, T = (t, n) => t.search(n), H = (t, n) => {
|
|
63
63
|
const r = t.indexOf(n);
|
|
64
64
|
return r > -1 ? t.length - r - 1 : 0;
|
|
65
|
-
},
|
|
65
|
+
}, J = (t, n, r, e, u) => {
|
|
66
66
|
const o = t.replace(u, "")[0] === "0", a = n.replace(u, "")[0] === "0";
|
|
67
67
|
if (o && !a)
|
|
68
68
|
return r - 1;
|
|
@@ -80,21 +80,21 @@ const C = 11111111111111e-7, le = 0.31111111111111117, ae = 1, Q = 1, Y = 0, m =
|
|
|
80
80
|
...t
|
|
81
81
|
}, {
|
|
82
82
|
prevLooseValue: u
|
|
83
|
-
} = e, o = r.numberSymbols(), a = be(n, r), s = String(e.currentLooseValue), i = String(u), l = new RegExp(`[^\\d\\${o.decimal}]`, "g"), I = new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`, "g"), E = new RegExp(`[\\d\\${o.decimal}\\${o.group}]`), x = s.replace(l, ""), b =
|
|
83
|
+
} = e, o = r.numberSymbols(), a = be(n, r), s = String(e.currentLooseValue), i = String(u), l = new RegExp(`[^\\d\\${o.decimal}]`, "g"), I = new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`, "g"), E = new RegExp(`[\\d\\${o.decimal}\\${o.group}]`), x = s.replace(l, ""), b = T(s, m), R = b === -1 ? -1 : D(s, m), re = s.indexOf(o.decimal), $ = (s.substring(0, b) + s.substring(b, R).replace(I, "") + s.substring(R, s.length)).split("").filter((V) => a.indexOf(V) !== -1 || V.search(E) !== -1).join(""), G = r.formatNumber(le, n).replace(l, ""), U = G.indexOf(o.decimal), N = U > -1 ? G.length - U - 1 : 0, j = r.formatNumber(ae, n).replace(l, ""), v = j.indexOf(o.decimal), O = v > -1 ? j.length - v - 1 : 0, {
|
|
84
84
|
positiveInfo: se,
|
|
85
85
|
negativeInfo: oe,
|
|
86
86
|
zeroInfo: ue,
|
|
87
87
|
oneInfo: ce
|
|
88
|
-
} = Le(n, r), g = [se, oe, ue, ce], ie = g.findIndex((V) => V.findIndex((h) => !!h) !== -1) !== 1,
|
|
88
|
+
} = Le(n, r), g = [se, oe, ue, ce], ie = g.findIndex((V) => V.findIndex((h) => !!h) !== -1) !== 1, C = s.length > 0 && s.length < i.length, X = n && n[0] === "p" && s && s.indexOf(o.percentSign) === -1;
|
|
89
89
|
if (!e.isPaste) {
|
|
90
90
|
if (s === "")
|
|
91
91
|
return e.eventValue = null, e.currentLooseValue = "", e;
|
|
92
92
|
if (e.currentLooseValue === o.minusSign && r.formatNumber(-0, n) !== i)
|
|
93
|
-
return e.eventValue = -0, e.currentLooseValue = p(e.eventValue, n, r), L(e,
|
|
93
|
+
return e.eventValue = -0, e.currentLooseValue = p(e.eventValue, n, r), L(e, _(e.currentLooseValue, o), e.currentLooseValue, g), e;
|
|
94
94
|
if (Ve(e, o)) {
|
|
95
95
|
const f = r.parseNumber(u, n);
|
|
96
96
|
e.eventValue = -(f !== null ? f : 0), e.currentLooseValue = p(e.eventValue, n, r);
|
|
97
|
-
const c =
|
|
97
|
+
const c = T(e.currentLooseValue, m), d = T(i, m);
|
|
98
98
|
return L(e, e.selectionEnd - 1 + (c - d), e.currentLooseValue, g), e;
|
|
99
99
|
}
|
|
100
100
|
if (pe(e, o))
|
|
@@ -107,58 +107,58 @@ const C = 11111111111111e-7, le = 0.31111111111111117, ae = 1, Q = 1, Y = 0, m =
|
|
|
107
107
|
e.currentLooseValue = f.substring(0, c) + o.decimal + f.substring(c);
|
|
108
108
|
} else
|
|
109
109
|
e.currentLooseValue = f;
|
|
110
|
-
return L(e,
|
|
110
|
+
return L(e, _(e.currentLooseValue, o) + 1, e.currentLooseValue, g), e;
|
|
111
111
|
}
|
|
112
112
|
if (xe(e, o))
|
|
113
|
-
return
|
|
114
|
-
if (
|
|
113
|
+
return A(e, n, g, r), e;
|
|
114
|
+
if (X)
|
|
115
115
|
return e.eventValue = r.parseNumber(s, n) / 100, e.currentLooseValue = p(e.eventValue, n, r), e;
|
|
116
116
|
if (String(e.currentLooseValue).replace(/[^\d]/g, "").length > w || x !== s && s && ie && g.findIndex(([c, d]) => {
|
|
117
|
-
const
|
|
118
|
-
return c && d ?
|
|
117
|
+
const y = s.indexOf(c), z = s.indexOf(d), Z = y === 0, W = z === s.length - d.length, S = y + c.length !== b && b !== -1 && s[y + c.length] !== o.decimal, k = z !== R && R !== -1 && s[z - 1] !== o.decimal;
|
|
118
|
+
return c && d ? S || k ? !1 : Z && W : c ? S ? !1 : Z : d ? k ? !1 : W : !1;
|
|
119
119
|
}) === -1)
|
|
120
|
-
return
|
|
120
|
+
return A(e, n, g, r), e;
|
|
121
121
|
if (x[x.length - 1] === o.decimal && N > 0)
|
|
122
|
-
return e.eventValue = r.parseNumber(s, n), e.currentLooseValue =
|
|
123
|
-
if (e.currentLooseValue && u && (a + o.decimal + o.group).split("").findIndex((c) => s.split("").filter((d) => d === c).length < i.split("").filter((d) => d === c).length && s.length + 1 === i.length ? !(c === o.decimal &&
|
|
122
|
+
return e.eventValue = r.parseNumber(s, n), e.currentLooseValue = $, e;
|
|
123
|
+
if (e.currentLooseValue && u && (a + o.decimal + o.group).split("").findIndex((c) => s.split("").filter((d) => d === c).length < i.split("").filter((d) => d === c).length && s.length + 1 === i.length ? !(c === o.decimal && H(i.replace(l, ""), o.decimal) === 0) : !1) > -1)
|
|
124
124
|
return e.eventValue = r.parseNumber(t.prevLooseValue, n), e.currentLooseValue = t.prevLooseValue, e;
|
|
125
|
-
const h =
|
|
126
|
-
if (
|
|
125
|
+
const h = H(x, o.decimal), F = x[x.length - 1] === "0";
|
|
126
|
+
if (C && F && h < O)
|
|
127
127
|
return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = p(e.eventValue, n, r), e;
|
|
128
128
|
if (h > 0) {
|
|
129
129
|
const f = s.substring(0, re);
|
|
130
|
-
if (
|
|
130
|
+
if (F && (!f || i.indexOf(f) !== 0)) {
|
|
131
131
|
e.eventValue = r.parseNumber(e.currentLooseValue, n);
|
|
132
132
|
const c = p(e.eventValue, n, r);
|
|
133
|
-
return L(e,
|
|
133
|
+
return L(e, J(s, c, e.selectionEnd, C, l), c, g), e.currentLooseValue = c, e;
|
|
134
134
|
}
|
|
135
135
|
if (h > N) {
|
|
136
136
|
const c = s.indexOf(o.decimal), d = s.substring(0, c) + s.substring(c, c + 1 + N) + s.substring(R, String(e.currentLooseValue).length);
|
|
137
137
|
return e.eventValue = r.parseNumber(d, n), e.currentLooseValue = d, L(e, e.selectionStart, d, g), e;
|
|
138
138
|
}
|
|
139
|
-
if (O !== N && h <= N &&
|
|
140
|
-
return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue =
|
|
139
|
+
if (O !== N && h <= N && F)
|
|
140
|
+
return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = $, e;
|
|
141
141
|
if (h < O)
|
|
142
142
|
return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = p(e.eventValue, n, r), e;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
if (e.eventValue = r.parseNumber(e.currentLooseValue, n),
|
|
145
|
+
if (e.eventValue = r.parseNumber(e.currentLooseValue, n), X && (e.eventValue = e.eventValue / 100), typeof e.eventValue == "number") {
|
|
146
146
|
const V = p(e.eventValue, n, r);
|
|
147
|
-
s.length === 1 ? L(e,
|
|
147
|
+
s.length === 1 ? L(e, _(V, o), V, g) : L(e, J(s, V, e.selectionEnd, C, l), V, g), e.currentLooseValue = V;
|
|
148
148
|
} else
|
|
149
149
|
e.currentLooseValue = p(r.parseNumber(x), n, r);
|
|
150
150
|
return e;
|
|
151
151
|
};
|
|
152
152
|
export {
|
|
153
|
-
|
|
153
|
+
J as changeBasedSelection,
|
|
154
154
|
Ie as decreaseValue,
|
|
155
155
|
p as formatValue,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
q as fractionLength,
|
|
157
|
+
H as getDecimalCount,
|
|
158
|
+
T as getFirstNumberIndex,
|
|
159
159
|
Le as getFormatPrefixSufix,
|
|
160
160
|
be as getFormatSymbols,
|
|
161
|
-
|
|
161
|
+
_ as getInitialPosition,
|
|
162
162
|
D as getLastNumberIndex,
|
|
163
163
|
ge as getMaxCursorPosition,
|
|
164
164
|
fe as getMinCursorPosition,
|
|
@@ -172,9 +172,9 @@ export {
|
|
|
172
172
|
de as limitPrecision,
|
|
173
173
|
me as rangeSelection,
|
|
174
174
|
te as rangeValue,
|
|
175
|
-
|
|
175
|
+
B as reverseString,
|
|
176
176
|
Ee as sanitizeNumber,
|
|
177
|
-
|
|
177
|
+
A as setInvalid,
|
|
178
178
|
L as setSelection,
|
|
179
179
|
ne as toFixedPrecision
|
|
180
180
|
};
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-inputs",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-inputs",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1750421683,version:"6.4.2-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "6.4.
|
|
13
|
+
publishDate: 1750421683,
|
|
14
|
+
version: "6.4.2-develop.3",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-inputs",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.2-develop.3",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@progress/kendo-drawing": "^1.21.1",
|
|
22
22
|
"@progress/kendo-licensing": "^1.4.0",
|
|
23
|
-
"@progress/kendo-vue-animation": "6.4.
|
|
24
|
-
"@progress/kendo-vue-buttons": "6.4.
|
|
25
|
-
"@progress/kendo-vue-common": "6.4.
|
|
26
|
-
"@progress/kendo-vue-dialogs": "6.4.
|
|
27
|
-
"@progress/kendo-vue-intl": "6.4.
|
|
28
|
-
"@progress/kendo-vue-labels": "6.4.
|
|
29
|
-
"@progress/kendo-vue-popup": "6.4.
|
|
23
|
+
"@progress/kendo-vue-animation": "6.4.2-develop.3",
|
|
24
|
+
"@progress/kendo-vue-buttons": "6.4.2-develop.3",
|
|
25
|
+
"@progress/kendo-vue-common": "6.4.2-develop.3",
|
|
26
|
+
"@progress/kendo-vue-dialogs": "6.4.2-develop.3",
|
|
27
|
+
"@progress/kendo-vue-intl": "6.4.2-develop.3",
|
|
28
|
+
"@progress/kendo-vue-labels": "6.4.2-develop.3",
|
|
29
|
+
"@progress/kendo-vue-popup": "6.4.2-develop.3",
|
|
30
30
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
31
31
|
"vue": "^3.0.2"
|
|
32
32
|
},
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"package": {
|
|
50
50
|
"productName": "Kendo UI for Vue",
|
|
51
51
|
"productCode": "KENDOUIVUE",
|
|
52
|
-
"publishDate":
|
|
52
|
+
"publishDate": 1750421683,
|
|
53
53
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
54
54
|
}
|
|
55
55
|
},
|