tsv2-library 1.0.61-alpha.132 → 1.0.61-alpha.134
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/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 +12 -7
- package/dist/tsv2-library.umd.js +3 -3
- package/package.json +1 -1
- 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
|
@@ -66570,7 +66570,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66570
66570
|
mask: {
|
|
66571
66571
|
class: [
|
|
66572
66572
|
...(_a = unref(DialogPreset)) == null ? void 0 : _a.mask({ props: { modal: true } }).class,
|
|
66573
|
-
...Array.isArray(_ctx.$props.maskClass) ? _ctx.$props.maskClass : [_ctx.$props.maskClass]
|
|
66573
|
+
...Array.isArray(_ctx.$props.maskClass) ? _ctx.$props.maskClass : [_ctx.$props.maskClass],
|
|
66574
|
+
// Override z-index to prevent overlay component in form become hidden
|
|
66575
|
+
{ "!z-[1101]": props.autoZIndex }
|
|
66574
66576
|
]
|
|
66575
66577
|
},
|
|
66576
66578
|
root: {
|
|
@@ -70319,7 +70321,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
70319
70321
|
label: {},
|
|
70320
70322
|
textareaPt: { default: void 0 }
|
|
70321
70323
|
},
|
|
70322
|
-
emits: ["update:modelValue"],
|
|
70324
|
+
emits: ["update:modelValue", "blur"],
|
|
70323
70325
|
setup(__props, { emit: __emit }) {
|
|
70324
70326
|
var _a, _b;
|
|
70325
70327
|
const props = __props;
|
|
@@ -70363,6 +70365,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
70363
70365
|
var _a2;
|
|
70364
70366
|
field2.value = (_a2 = field2.value) == null ? void 0 : _a2.trim();
|
|
70365
70367
|
emit("update:modelValue", field2.value);
|
|
70368
|
+
emit("blur", field2.value);
|
|
70366
70369
|
};
|
|
70367
70370
|
watch(
|
|
70368
70371
|
() => props.value,
|
|
@@ -76511,7 +76514,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
76511
76514
|
validatorMessage: {},
|
|
76512
76515
|
fieldInfo: {}
|
|
76513
76516
|
},
|
|
76514
|
-
emits: ["update:modelValue"],
|
|
76517
|
+
emits: ["update:modelValue", "blur"],
|
|
76515
76518
|
setup(__props, { emit: __emit }) {
|
|
76516
76519
|
const props = __props;
|
|
76517
76520
|
const emit = __emit;
|
|
@@ -76637,7 +76640,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
76637
76640
|
"filter-fields": ["dial_code", "name"],
|
|
76638
76641
|
loading: loadingDialCode.value,
|
|
76639
76642
|
options: dialCodes.value,
|
|
76640
|
-
onChange:
|
|
76643
|
+
onChange: _cache[1] || (_cache[1] = ($event) => emit("blur")),
|
|
76641
76644
|
onHide: focusInput,
|
|
76642
76645
|
"data-ts-section": "dialcode",
|
|
76643
76646
|
filter: "",
|
|
@@ -76666,11 +76669,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
76666
76669
|
}, 8, ["modelValue", "class", "disabled", "loading", "options"]),
|
|
76667
76670
|
(openBlock(), createBlock(unref(script$D), mergeProps({ key: phoneKey.value }, _ctx.$props, {
|
|
76668
76671
|
modelValue: rawValue.value,
|
|
76669
|
-
"onUpdate:modelValue": _cache[
|
|
76672
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rawValue.value = $event),
|
|
76670
76673
|
class: unref(Preset$1).inputnumber({ isFirefoxBased: unref(isFirefoxBased), invalidInput: invalidInput.value }).class,
|
|
76671
76674
|
disabled: props.disabled,
|
|
76672
76675
|
"input-props": { autocomplete: "off" },
|
|
76673
76676
|
"use-grouping": false,
|
|
76677
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => emit("blur")),
|
|
76674
76678
|
onInput: grabValue,
|
|
76675
76679
|
"data-ts-section": "inputnumber",
|
|
76676
76680
|
"input-id": "phone-number-input",
|
|
@@ -76783,13 +76787,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
76783
76787
|
disabled: { type: Boolean },
|
|
76784
76788
|
fieldInfo: {}
|
|
76785
76789
|
},
|
|
76786
|
-
emits: ["update:modelValue"],
|
|
76790
|
+
emits: ["update:modelValue", "blur"],
|
|
76787
76791
|
setup(__props, { emit: __emit }) {
|
|
76788
76792
|
const props = __props;
|
|
76789
76793
|
const emit = __emit;
|
|
76790
76794
|
return (_ctx, _cache) => {
|
|
76791
76795
|
return openBlock(), createBlock(_sfc_main$d, mergeProps({
|
|
76792
|
-
|
|
76796
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => emit("blur", $event)),
|
|
76797
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", $event))
|
|
76793
76798
|
}, props, {
|
|
76794
76799
|
type: "url",
|
|
76795
76800
|
"validate-on-blur": ""
|