tsv2-library 1.0.61-alpha.143 → 1.0.61-alpha.145
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/Dialog/Dialog.vue.d.ts +1 -0
- package/dist/src/components/v2/InputCoordinate/InputCoordinate.vue.d.ts +6 -0
- package/dist/tsv2-library.es.js +17 -5
- package/dist/tsv2-library.umd.js +2 -2
- package/package.json +1 -1
- package/src/components/v2/Dialog/Dialog.vue.d.ts +1 -0
- package/src/components/v2/InputCoordinate/InputCoordinate.vue.d.ts +6 -0
|
@@ -37,6 +37,12 @@ export interface InputCoordinateProps {
|
|
|
37
37
|
* It is rarely use, this component has handled the validator message.
|
|
38
38
|
*/
|
|
39
39
|
validatorMessage?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Wether to show the input or not.
|
|
42
|
+
*
|
|
43
|
+
* @default true
|
|
44
|
+
*/
|
|
45
|
+
showInput?: boolean;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
package/dist/tsv2-library.es.js
CHANGED
|
@@ -31012,6 +31012,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
31012
31012
|
blockScroll: { type: Boolean, default: false },
|
|
31013
31013
|
baseZIndex: { default: 0 },
|
|
31014
31014
|
autoZIndex: { type: Boolean, default: true },
|
|
31015
|
+
maskClass: {},
|
|
31015
31016
|
position: { default: "center" },
|
|
31016
31017
|
maximizable: { type: Boolean, default: false },
|
|
31017
31018
|
breakpoints: { default: void 0 },
|
|
@@ -31035,8 +31036,17 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
31035
31036
|
emits: ["update:visible", "hide", "afterHide", "show", "maximize", "unmaximize", "dragend"],
|
|
31036
31037
|
setup(__props) {
|
|
31037
31038
|
return (_ctx, _cache) => {
|
|
31039
|
+
var _a;
|
|
31038
31040
|
return openBlock(), createBlock(unref(script$13), mergeProps(_ctx.$props, {
|
|
31039
31041
|
pt: {
|
|
31042
|
+
mask: {
|
|
31043
|
+
class: [
|
|
31044
|
+
...(_a = unref(DialogPreset)) == null ? void 0 : _a.mask({ props: { modal: true } }).class,
|
|
31045
|
+
...Array.isArray(_ctx.$props.maskClass) ? _ctx.$props.maskClass : [_ctx.$props.maskClass],
|
|
31046
|
+
// Override z-index to prevent overlay component in form become hidden
|
|
31047
|
+
{ "!z-[1101]": _ctx.$props.autoZIndex }
|
|
31048
|
+
]
|
|
31049
|
+
},
|
|
31040
31050
|
root: {
|
|
31041
31051
|
class: [
|
|
31042
31052
|
...unref(DialogPreset).root({ state: {} }).class,
|
|
@@ -66742,7 +66752,6 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66742
66752
|
return openBlock(), createBlock(unref(script$13), {
|
|
66743
66753
|
ref_key: "dialogForm",
|
|
66744
66754
|
ref: dialogForm,
|
|
66745
|
-
"auto-z-index": props.autoZIndex,
|
|
66746
66755
|
class: normalizeClass(props.class),
|
|
66747
66756
|
closable: _ctx.closable,
|
|
66748
66757
|
draggable: false,
|
|
@@ -66881,7 +66890,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66881
66890
|
})
|
|
66882
66891
|
]),
|
|
66883
66892
|
_: 3
|
|
66884
|
-
}, 8, ["
|
|
66893
|
+
}, 8, ["class", "closable", "header", "pt", "visible"]);
|
|
66885
66894
|
};
|
|
66886
66895
|
}
|
|
66887
66896
|
});
|
|
@@ -75406,7 +75415,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
75406
75415
|
label: {},
|
|
75407
75416
|
mandatory: { type: Boolean },
|
|
75408
75417
|
invalid: { type: Boolean },
|
|
75409
|
-
validatorMessage: {}
|
|
75418
|
+
validatorMessage: {},
|
|
75419
|
+
showInput: { type: Boolean, default: true }
|
|
75410
75420
|
},
|
|
75411
75421
|
emits: ["update:modelValue"],
|
|
75412
75422
|
setup(__props, { emit: __emit }) {
|
|
@@ -75442,7 +75452,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
75442
75452
|
};
|
|
75443
75453
|
return (_ctx, _cache) => {
|
|
75444
75454
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
75445
|
-
createVNode(_sfc_main$1l, {
|
|
75455
|
+
withDirectives(createVNode(_sfc_main$1l, {
|
|
75446
75456
|
label: props.label,
|
|
75447
75457
|
mandatory: props.mandatory
|
|
75448
75458
|
}, {
|
|
@@ -75493,7 +75503,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
75493
75503
|
}, null, 8, ["message"])
|
|
75494
75504
|
]),
|
|
75495
75505
|
_: 1
|
|
75496
|
-
}, 8, ["label", "mandatory"]),
|
|
75506
|
+
}, 8, ["label", "mandatory"]), [
|
|
75507
|
+
[vShow, props.showInput]
|
|
75508
|
+
]),
|
|
75497
75509
|
createVNode(TSDialogCoordinate, {
|
|
75498
75510
|
visible: dialogVisible.value,
|
|
75499
75511
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => dialogVisible.value = $event),
|