tsv2-library 1.0.61-alpha.111 → 1.0.61-alpha.113

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.
@@ -65282,7 +65282,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
65282
65282
  });
65283
65283
  const AssetList_vue_vue_type_style_index_0_scoped_1e1d4c27_lang = "";
65284
65284
  const AssetList = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1e1d4c27"]]);
65285
- const _withScopeId = (n) => (pushScopeId("data-v-a86f10b8"), n = n(), popScopeId(), n);
65285
+ const _withScopeId = (n) => (pushScopeId("data-v-6e8dbb93"), n = n(), popScopeId(), n);
65286
65286
  const _hoisted_1$x = {
65287
65287
  key: 1,
65288
65288
  class: "flex items-center justify-between"
@@ -65639,7 +65639,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
65639
65639
  localValue.value.lng = +lng;
65640
65640
  };
65641
65641
  const apply2 = () => {
65642
- emit("update:value", localValue.value);
65642
+ emit("update:value", { ...localValue.value, address: address.value });
65643
65643
  visible4.value = false;
65644
65644
  };
65645
65645
  const resetMap = () => {
@@ -65847,8 +65847,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
65847
65847
  };
65848
65848
  }
65849
65849
  });
65850
- const DialogCoordinate_vue_vue_type_style_index_0_scoped_a86f10b8_lang = "";
65851
- const TSDialogCoordinate = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a86f10b8"]]);
65850
+ const DialogCoordinate_vue_vue_type_style_index_0_scoped_6e8dbb93_lang = "";
65851
+ const TSDialogCoordinate = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-6e8dbb93"]]);
65852
65852
  const _hoisted_1$w = {
65853
65853
  key: 0,
65854
65854
  class: "ts-form-stay-checkbox"
@@ -66118,6 +66118,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
66118
66118
  contentClass: {},
66119
66119
  headerIcon: {},
66120
66120
  severity: {},
66121
+ maskClass: {},
66122
+ autoZIndex: { type: Boolean, default: true },
66121
66123
  columnPerRow: { default: 1 },
66122
66124
  buttonsTemplate: {},
66123
66125
  validateOnSave: { type: Boolean },
@@ -66190,14 +66192,22 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
66190
66192
  };
66191
66193
  __expose({ form, clearField });
66192
66194
  return (_ctx, _cache) => {
66195
+ var _a;
66193
66196
  return openBlock(), createBlock(unref(script$13), {
66194
66197
  ref_key: "dialogForm",
66195
66198
  ref: dialogForm,
66199
+ "auto-z-index": props.autoZIndex,
66196
66200
  class: normalizeClass(props.class),
66197
66201
  closable: _ctx.closable,
66198
66202
  draggable: false,
66199
66203
  header: _ctx.header,
66200
66204
  pt: {
66205
+ mask: {
66206
+ class: [
66207
+ ...(_a = unref(DialogPreset)) == null ? void 0 : _a.mask({ props: { modal: true } }).class,
66208
+ ...Array.isArray(_ctx.$props.maskClass) ? _ctx.$props.maskClass : [_ctx.$props.maskClass]
66209
+ ]
66210
+ },
66201
66211
  root: {
66202
66212
  class: [
66203
66213
  ...unref(DialogPreset).root({ state: {} }).class,
@@ -66259,11 +66269,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
66259
66269
  })
66260
66270
  ]),
66261
66271
  footer: withCtx(() => {
66262
- var _a;
66272
+ var _a2;
66263
66273
  return [
66264
66274
  visibilityStayCheckbox.value ? (openBlock(), createBlock(_sfc_main$15, {
66265
66275
  key: 0,
66266
- "model-value": (_a = form.value) == null ? void 0 : _a.stayAfterSubmit,
66276
+ "model-value": (_a2 = form.value) == null ? void 0 : _a2.stayAfterSubmit,
66267
66277
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.value && (form.value.stayAfterSubmit = $event)),
66268
66278
  label: "Stay on this form after submitting"
66269
66279
  }, null, 8, ["model-value"])) : createCommentVNode("", true),
@@ -66323,7 +66333,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
66323
66333
  })
66324
66334
  ]),
66325
66335
  _: 3
66326
- }, 8, ["class", "closable", "header", "pt", "visible"]);
66336
+ }, 8, ["auto-z-index", "class", "closable", "header", "pt", "visible"]);
66327
66337
  };
66328
66338
  }
66329
66339
  });
@@ -74819,7 +74829,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
74819
74829
  onClick: _cache[0] || (_cache[0] = ($event) => dialogVisible.value = true)
74820
74830
  }, {
74821
74831
  default: withCtx(() => {
74822
- var _a, _b;
74832
+ var _a, _b, _c, _d;
74823
74833
  return [
74824
74834
  createElementVNode("div", _hoisted_1$c, [
74825
74835
  createVNode(unref(script$P), {
@@ -74827,14 +74837,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
74827
74837
  "ts-inputtext border-b border-b-general-200 rounded-b-none !h-[26px]"
74828
74838
  ]),
74829
74839
  invalid: invalidInput.value,
74830
- "model-value": (_a = field2.value) == null ? void 0 : _a.lat,
74840
+ "model-value": (_b = (_a = field2.value) == null ? void 0 : _a.lat) == null ? void 0 : _b.toString(),
74831
74841
  disabled: "",
74832
74842
  placeholder: "Enter latitude"
74833
74843
  }, null, 8, ["invalid", "model-value"]),
74834
74844
  createVNode(unref(script$P), {
74835
74845
  class: normalizeClass(["ts-inputtext !h-[26px]"]),
74836
74846
  invalid: invalidInput.value,
74837
- "model-value": (_b = field2.value) == null ? void 0 : _b.lng,
74847
+ "model-value": (_d = (_c = field2.value) == null ? void 0 : _c.lng) == null ? void 0 : _d.toString(),
74838
74848
  disabled: "",
74839
74849
  placeholder: "Enter longitude"
74840
74850
  }, null, 8, ["invalid", "model-value"])
@@ -74862,7 +74872,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
74862
74872
  createVNode(TSDialogCoordinate, {
74863
74873
  visible: dialogVisible.value,
74864
74874
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => dialogVisible.value = $event),
74865
- value: field2.value,
74875
+ value: field2.value ?? void 0,
74866
74876
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => applyValue($event)),
74867
74877
  mode: "drag",
74868
74878
  type: "input"