x-prop-tree 0.6.19 → 0.6.20

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.
@@ -4,13 +4,13 @@ interface Props {
4
4
  }
5
5
  type __VLS_Props = Props;
6
6
  type __VLS_PublicProps = __VLS_Props & {
7
- modelValue?: string;
7
+ modelValue: string;
8
8
  };
9
9
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  delete: (...args: any[]) => void;
11
- "update:modelValue": (value: string | undefined) => void;
11
+ "update:modelValue": (value: string) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  onDelete?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
package/dist/index.js CHANGED
@@ -1157,7 +1157,7 @@ const ce = (e, t, n, r, i, o) => {
1157
1157
  else {
1158
1158
  if (n[t.key] === void 0) {
1159
1159
  const l = E(t);
1160
- t.ui === "strInput" || t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect" ? l && (n[t.key] = l, r(e, n[t.key])) : l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1160
+ t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect" ? l && (n[t.key] = l, r(e, n[t.key])) : l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1161
1161
  }
1162
1162
  return n[t.key];
1163
1163
  }
@@ -1166,7 +1166,7 @@ const ce = (e, t, n, r, i, o) => {
1166
1166
  l ? r !== n[t.key] && (n[t.key] = r, i(e, n[t.key])) : r !== n[o] && (n[o] = r, i(e, n[o]));
1167
1167
  else {
1168
1168
  let a = r;
1169
- (t.ui === "strInput" || t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect") && (r || (a = void 0)), a !== n[t.key] && (n[t.key] = a, i(e, n[t.key]));
1169
+ (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect") && (r || (a = void 0)), a !== n[t.key] && (n[t.key] = a, i(e, n[t.key]));
1170
1170
  }
1171
1171
  };
1172
1172
  function ms(e) {
@@ -1184,7 +1184,7 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1184
1184
  hasDelete: { type: Boolean, default: !1 },
1185
1185
  readonly: { type: Boolean, default: !1 }
1186
1186
  }, {
1187
- modelValue: {},
1187
+ modelValue: { required: !0 },
1188
1188
  modelModifiers: {}
1189
1189
  }),
1190
1190
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
@@ -1371,7 +1371,7 @@ function ws(e) {
1371
1371
  e,
1372
1372
  o,
1373
1373
  l
1374
- ),
1374
+ ) ?? !1,
1375
1375
  "onUpdate:modelValue": (a) => {
1376
1376
  he(
1377
1377
  n,
@@ -1447,7 +1447,7 @@ function Ps(e) {
1447
1447
  e,
1448
1448
  o,
1449
1449
  l
1450
- ),
1450
+ ) ?? "",
1451
1451
  "onUpdate:modelValue": (a) => {
1452
1452
  he(
1453
1453
  n,
@@ -1898,7 +1898,7 @@ function zs(e) {
1898
1898
  e,
1899
1899
  o,
1900
1900
  l
1901
- ),
1901
+ ) ?? "",
1902
1902
  "onUpdate:modelValue": (a) => {
1903
1903
  he(
1904
1904
  n,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-prop-tree",
3
3
  "private": false,
4
- "version": "0.6.19",
4
+ "version": "0.6.20",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "vuetify": "^3.8.1",
29
29
  "x-essential-lib": "^0.8.6",
30
30
  "x-group-list": "^0.4.1",
31
- "x-runtime-lib": "^0.6.38",
31
+ "x-runtime-lib": "^0.6.39",
32
32
  "x-state-lib": "^0.2.1"
33
33
  },
34
34
  "devDependencies": {