tsv2-library 1.0.61-alpha.133 → 1.0.61-alpha.135
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/dist/src/components/v2/Icon/Icon.vue.d.ts +1 -0
- package/dist/src/components/v2/InputPhoneNumber/InputPhoneNumber.vue.d.ts +1 -0
- package/dist/src/components/v2/InputURL/InputURL.vue.d.ts +1 -0
- package/dist/src/components/v2/Textarea/Textarea.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +9 -6
- package/dist/tsv2-library.umd.js +3 -3
- package/package.json +1 -1
- package/src/components/v2/Icon/Icon.vue.d.ts +1 -0
- package/src/components/v2/InputPhoneNumber/InputPhoneNumber.vue.d.ts +1 -0
- package/src/components/v2/InputURL/InputURL.vue.d.ts +1 -0
- package/src/components/v2/Textarea/Textarea.vue.d.ts +1 -0
package/dist/tsv2-library.es.js
CHANGED
|
@@ -70321,7 +70321,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
70321
70321
|
label: {},
|
|
70322
70322
|
textareaPt: { default: void 0 }
|
|
70323
70323
|
},
|
|
70324
|
-
emits: ["update:modelValue"],
|
|
70324
|
+
emits: ["update:modelValue", "blur"],
|
|
70325
70325
|
setup(__props, { emit: __emit }) {
|
|
70326
70326
|
var _a, _b;
|
|
70327
70327
|
const props = __props;
|
|
@@ -70365,6 +70365,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
70365
70365
|
var _a2;
|
|
70366
70366
|
field2.value = (_a2 = field2.value) == null ? void 0 : _a2.trim();
|
|
70367
70367
|
emit("update:modelValue", field2.value);
|
|
70368
|
+
emit("blur", field2.value);
|
|
70368
70369
|
};
|
|
70369
70370
|
watch(
|
|
70370
70371
|
() => props.value,
|
|
@@ -76513,7 +76514,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
76513
76514
|
validatorMessage: {},
|
|
76514
76515
|
fieldInfo: {}
|
|
76515
76516
|
},
|
|
76516
|
-
emits: ["update:modelValue"],
|
|
76517
|
+
emits: ["update:modelValue", "blur"],
|
|
76517
76518
|
setup(__props, { emit: __emit }) {
|
|
76518
76519
|
const props = __props;
|
|
76519
76520
|
const emit = __emit;
|
|
@@ -76639,7 +76640,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
76639
76640
|
"filter-fields": ["dial_code", "name"],
|
|
76640
76641
|
loading: loadingDialCode.value,
|
|
76641
76642
|
options: dialCodes.value,
|
|
76642
|
-
onChange:
|
|
76643
|
+
onChange: _cache[1] || (_cache[1] = ($event) => emit("blur")),
|
|
76643
76644
|
onHide: focusInput,
|
|
76644
76645
|
"data-ts-section": "dialcode",
|
|
76645
76646
|
filter: "",
|
|
@@ -76668,11 +76669,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
76668
76669
|
}, 8, ["modelValue", "class", "disabled", "loading", "options"]),
|
|
76669
76670
|
(openBlock(), createBlock(unref(script$D), mergeProps({ key: phoneKey.value }, _ctx.$props, {
|
|
76670
76671
|
modelValue: rawValue.value,
|
|
76671
|
-
"onUpdate:modelValue": _cache[
|
|
76672
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rawValue.value = $event),
|
|
76672
76673
|
class: unref(Preset$1).inputnumber({ isFirefoxBased: unref(isFirefoxBased), invalidInput: invalidInput.value }).class,
|
|
76673
76674
|
disabled: props.disabled,
|
|
76674
76675
|
"input-props": { autocomplete: "off" },
|
|
76675
76676
|
"use-grouping": false,
|
|
76677
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => emit("blur")),
|
|
76676
76678
|
onInput: grabValue,
|
|
76677
76679
|
"data-ts-section": "inputnumber",
|
|
76678
76680
|
"input-id": "phone-number-input",
|
|
@@ -76785,13 +76787,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
76785
76787
|
disabled: { type: Boolean },
|
|
76786
76788
|
fieldInfo: {}
|
|
76787
76789
|
},
|
|
76788
|
-
emits: ["update:modelValue"],
|
|
76790
|
+
emits: ["update:modelValue", "blur"],
|
|
76789
76791
|
setup(__props, { emit: __emit }) {
|
|
76790
76792
|
const props = __props;
|
|
76791
76793
|
const emit = __emit;
|
|
76792
76794
|
return (_ctx, _cache) => {
|
|
76793
76795
|
return openBlock(), createBlock(_sfc_main$d, mergeProps({
|
|
76794
|
-
|
|
76796
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => emit("blur", $event)),
|
|
76797
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", $event))
|
|
76795
76798
|
}, props, {
|
|
76796
76799
|
type: "url",
|
|
76797
76800
|
"validate-on-blur": ""
|