x-prop-tree 0.8.38 → 0.8.40
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/index.js +16 -16
- package/package.json +22 -18
package/dist/index.js
CHANGED
|
@@ -1026,7 +1026,7 @@ var index_vue_vue_type_script_setup_true_lang_default$14 = /*@__PURE__*/ defineC
|
|
|
1026
1026
|
setup(__props, { emit: __emit }) {
|
|
1027
1027
|
const { t } = useI18n();
|
|
1028
1028
|
const display = useDisplay();
|
|
1029
|
-
const {
|
|
1029
|
+
const { safeAreaInsets } = useSystem();
|
|
1030
1030
|
const { backgroundColor1 } = useColor();
|
|
1031
1031
|
const adaptSlot = useModel(__props, "modelValue");
|
|
1032
1032
|
const emit = __emit;
|
|
@@ -1043,7 +1043,7 @@ var index_vue_vue_type_script_setup_true_lang_default$14 = /*@__PURE__*/ defineC
|
|
|
1043
1043
|
const contStyle = computed(() => {
|
|
1044
1044
|
return {
|
|
1045
1045
|
position: "relative",
|
|
1046
|
-
height: `calc(100% - ${
|
|
1046
|
+
height: `calc(100% - ${safeAreaInsets.top + 48 + safeAreaInsets.bottom}px)`,
|
|
1047
1047
|
paddingBottom: "60px"
|
|
1048
1048
|
};
|
|
1049
1049
|
});
|
|
@@ -1117,10 +1117,10 @@ var index_vue_vue_type_script_setup_true_lang_default$14 = /*@__PURE__*/ defineC
|
|
|
1117
1117
|
class: "elevation-2",
|
|
1118
1118
|
style: normalizeStyle(wrapStyle.value)
|
|
1119
1119
|
}, [
|
|
1120
|
-
unref(
|
|
1120
|
+
unref(safeAreaInsets).top ? (openBlock(), createBlock(_component_v_sheet, {
|
|
1121
1121
|
key: 0,
|
|
1122
1122
|
color: "transparent",
|
|
1123
|
-
height: unref(
|
|
1123
|
+
height: unref(safeAreaInsets).top
|
|
1124
1124
|
}, null, 8, ["height"])) : createCommentVNode("v-if", true),
|
|
1125
1125
|
createVNode(_component_v_sheet, {
|
|
1126
1126
|
class: "d-flex align-center px-3",
|
|
@@ -1226,7 +1226,7 @@ var index_vue_vue_type_script_setup_true_lang_default$12 = /*@__PURE__*/ defineC
|
|
|
1226
1226
|
setup(__props, { emit: __emit }) {
|
|
1227
1227
|
const { t } = useI18n();
|
|
1228
1228
|
const display = useDisplay();
|
|
1229
|
-
const {
|
|
1229
|
+
const { safeAreaInsets } = useSystem();
|
|
1230
1230
|
const { backgroundColor1 } = useColor();
|
|
1231
1231
|
const comp = useModel(__props, "modelValue");
|
|
1232
1232
|
const emit = __emit;
|
|
@@ -1243,7 +1243,7 @@ var index_vue_vue_type_script_setup_true_lang_default$12 = /*@__PURE__*/ defineC
|
|
|
1243
1243
|
const contStyle = computed(() => {
|
|
1244
1244
|
return {
|
|
1245
1245
|
position: "relative",
|
|
1246
|
-
height: `calc(100% - ${
|
|
1246
|
+
height: `calc(100% - ${safeAreaInsets.top + 48 + safeAreaInsets.bottom}px)`,
|
|
1247
1247
|
paddingBottom: "60px"
|
|
1248
1248
|
};
|
|
1249
1249
|
});
|
|
@@ -1317,10 +1317,10 @@ var index_vue_vue_type_script_setup_true_lang_default$12 = /*@__PURE__*/ defineC
|
|
|
1317
1317
|
class: "elevation-2",
|
|
1318
1318
|
style: normalizeStyle(wrapStyle.value)
|
|
1319
1319
|
}, [
|
|
1320
|
-
unref(
|
|
1320
|
+
unref(safeAreaInsets).top ? (openBlock(), createBlock(_component_v_sheet, {
|
|
1321
1321
|
key: 0,
|
|
1322
1322
|
color: "transparent",
|
|
1323
|
-
height: unref(
|
|
1323
|
+
height: unref(safeAreaInsets).top
|
|
1324
1324
|
}, null, 8, ["height"])) : createCommentVNode("v-if", true),
|
|
1325
1325
|
createVNode(_component_v_sheet, {
|
|
1326
1326
|
class: "d-flex align-center px-3",
|
|
@@ -1502,12 +1502,12 @@ var index_vue_vue_type_script_setup_true_lang_default$10 = /*@__PURE__*/ defineC
|
|
|
1502
1502
|
emits: /*@__PURE__*/ mergeModels(["delete"], ["update:modelValue"]),
|
|
1503
1503
|
setup(__props, { emit: __emit }) {
|
|
1504
1504
|
const { t } = useI18n();
|
|
1505
|
-
const {
|
|
1505
|
+
const { safeAreaInsets } = useSystem();
|
|
1506
1506
|
const { backgroundColor0, backgroundColor1, backgroundColor2 } = useColor();
|
|
1507
1507
|
const json = useModel(__props, "modelValue");
|
|
1508
1508
|
const emit = __emit;
|
|
1509
1509
|
const contStyle = computed(() => {
|
|
1510
|
-
let h =
|
|
1510
|
+
let h = safeAreaInsets.top + 48 + safeAreaInsets.bottom;
|
|
1511
1511
|
return {
|
|
1512
1512
|
position: "relative",
|
|
1513
1513
|
background: backgroundColor1.value,
|
|
@@ -1555,10 +1555,10 @@ var index_vue_vue_type_script_setup_true_lang_default$10 = /*@__PURE__*/ defineC
|
|
|
1555
1555
|
width: "100%"
|
|
1556
1556
|
}, {
|
|
1557
1557
|
default: withCtx(() => [
|
|
1558
|
-
unref(
|
|
1558
|
+
unref(safeAreaInsets).top ? (openBlock(), createBlock(_component_v_sheet, {
|
|
1559
1559
|
key: 0,
|
|
1560
1560
|
color: unref(backgroundColor2),
|
|
1561
|
-
height: unref(
|
|
1561
|
+
height: unref(safeAreaInsets).top
|
|
1562
1562
|
}, null, 8, ["color", "height"])) : createCommentVNode("v-if", true),
|
|
1563
1563
|
createVNode(_component_v_sheet, {
|
|
1564
1564
|
class: "d-flex align-center px-2",
|
|
@@ -2319,7 +2319,7 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /*@__PURE__*/ defineCo
|
|
|
2319
2319
|
setup(__props, { emit: __emit }) {
|
|
2320
2320
|
const { t } = useI18n();
|
|
2321
2321
|
const display = useDisplay();
|
|
2322
|
-
const {
|
|
2322
|
+
const { safeAreaInsets } = useSystem();
|
|
2323
2323
|
const { backgroundColor1 } = useColor();
|
|
2324
2324
|
const slot = useModel(__props, "modelValue");
|
|
2325
2325
|
const emit = __emit;
|
|
@@ -2336,7 +2336,7 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /*@__PURE__*/ defineCo
|
|
|
2336
2336
|
const contStyle = computed(() => {
|
|
2337
2337
|
return {
|
|
2338
2338
|
position: "relative",
|
|
2339
|
-
height: `calc(100% - ${
|
|
2339
|
+
height: `calc(100% - ${safeAreaInsets.top + 48 + safeAreaInsets.bottom}px)`,
|
|
2340
2340
|
paddingBottom: "60px"
|
|
2341
2341
|
};
|
|
2342
2342
|
});
|
|
@@ -2407,10 +2407,10 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /*@__PURE__*/ defineCo
|
|
|
2407
2407
|
class: "elevation-2",
|
|
2408
2408
|
style: normalizeStyle(wrapStyle.value)
|
|
2409
2409
|
}, [
|
|
2410
|
-
unref(
|
|
2410
|
+
unref(safeAreaInsets).top ? (openBlock(), createBlock(_component_v_sheet, {
|
|
2411
2411
|
key: 0,
|
|
2412
2412
|
color: "transparent",
|
|
2413
|
-
height: unref(
|
|
2413
|
+
height: unref(safeAreaInsets).top
|
|
2414
2414
|
}, null, 8, ["height"])) : createCommentVNode("v-if", true),
|
|
2415
2415
|
createVNode(_component_v_sheet, {
|
|
2416
2416
|
class: "d-flex align-center px-3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.40",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -19,34 +19,38 @@
|
|
|
19
19
|
"lint": "oxlint",
|
|
20
20
|
"fmt": "oxfmt",
|
|
21
21
|
"build": "tsdown",
|
|
22
|
+
"ncu:check": "ncu --dep dev,peer -x typescript",
|
|
23
|
+
"ncu:update": "ncu --dep dev,peer -x typescript -u",
|
|
22
24
|
"lint-staged": "lint-staged",
|
|
23
25
|
"prepare": "husky"
|
|
24
26
|
},
|
|
25
27
|
"devDependencies": {
|
|
26
28
|
"@types/lodash-es": "^4.17.12",
|
|
27
|
-
"@types/node": "^26.
|
|
29
|
+
"@types/node": "^26.6.4",
|
|
28
30
|
"husky": "^9.1.7",
|
|
29
|
-
"lint-staged": "^17.
|
|
31
|
+
"lint-staged": "^17.6.0",
|
|
30
32
|
"lodash-es": "^4.18.1",
|
|
31
|
-
"oxfmt": "^0.
|
|
32
|
-
"oxlint": "^1.
|
|
33
|
+
"oxfmt": "^0.71.0",
|
|
34
|
+
"oxlint": "^1.86.0",
|
|
35
|
+
"oxlint-tsgolint": "^7.0.2003",
|
|
33
36
|
"picomatch": "^4.0.7",
|
|
34
|
-
"sass": "^1.
|
|
37
|
+
"sass": "^1.105.1",
|
|
35
38
|
"tsdown": "^0.23.0",
|
|
36
39
|
"typescript": "^6.0.3",
|
|
37
|
-
"vite": "^8.3.
|
|
38
|
-
"
|
|
39
|
-
"x-config-
|
|
40
|
-
"x-config-
|
|
40
|
+
"vite": "^8.3.2",
|
|
41
|
+
"vue-tsc": "^3.3.12",
|
|
42
|
+
"x-config-lib": "^0.1.11",
|
|
43
|
+
"x-config-oxfmt": "^0.1.7",
|
|
44
|
+
"x-config-oxlint": "^0.1.8"
|
|
41
45
|
},
|
|
42
46
|
"peerDependencies": {
|
|
43
|
-
"vue": "^3.5.
|
|
44
|
-
"vue-i18n": "^11.4.
|
|
45
|
-
"vuetify": "^4.2.
|
|
46
|
-
"x-block-lib": "^0.11.
|
|
47
|
-
"x-essential-lib": "^0.11.
|
|
48
|
-
"x-group-list": "^0.5.
|
|
49
|
-
"x-runtime-lib": "^0.10.
|
|
50
|
-
"x-state-lib": "^0.4.
|
|
47
|
+
"vue": "^3.5.43",
|
|
48
|
+
"vue-i18n": "^11.4.13",
|
|
49
|
+
"vuetify": "^4.2.3",
|
|
50
|
+
"x-block-lib": "^0.11.14",
|
|
51
|
+
"x-essential-lib": "^0.11.13",
|
|
52
|
+
"x-group-list": "^0.5.3",
|
|
53
|
+
"x-runtime-lib": "^0.10.8",
|
|
54
|
+
"x-state-lib": "^0.4.6"
|
|
51
55
|
}
|
|
52
56
|
}
|