zartui 3.1.57 → 3.1.58
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/es/hierarchy-select/HierarchySelect.mjs +6 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/hierarchy-select/HierarchySelect.js +5 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +6 -1
- package/lib/zartui.es.js +6 -1
- package/lib/zartui.js +6 -1
- package/lib/zartui.min.js +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, defineComponent, nextTick, ref, createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
|
1
|
+
import { computed, defineComponent, nextTick, ref, watch, createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
|
2
2
|
import { createNamespace, makeArrayProp, makeStringProp } from "../utils/index.mjs";
|
|
3
3
|
import { deepClone } from "../utils/deep-clone.mjs";
|
|
4
4
|
import { SubIcon } from "./svg/SubIcon.mjs";
|
|
@@ -64,6 +64,11 @@ var stdin_default = defineComponent({
|
|
|
64
64
|
const dataList = ref(deepClone(props.treeData));
|
|
65
65
|
const breadcrumbData = ref([]);
|
|
66
66
|
const historyLayers = ref([]);
|
|
67
|
+
watch(() => props.treeData, () => {
|
|
68
|
+
dataList.value = deepClone(props.treeData);
|
|
69
|
+
}, {
|
|
70
|
+
deep: true
|
|
71
|
+
});
|
|
67
72
|
const isDisabled = (item) => {
|
|
68
73
|
if (!props.autoChangeToChildren && props.disableParent && item.children) {
|
|
69
74
|
return true;
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -77,7 +77,7 @@ import { Timeline } from "./timeline/index.mjs";
|
|
|
77
77
|
import { Toast } from "./toast/index.mjs";
|
|
78
78
|
import { Uploader } from "./uploader/index.mjs";
|
|
79
79
|
import { Video } from "./video/index.mjs";
|
|
80
|
-
const version = "3.1.
|
|
80
|
+
const version = "3.1.57";
|
|
81
81
|
function install(app) {
|
|
82
82
|
const components = [
|
|
83
83
|
ActionSheet,
|
|
@@ -96,6 +96,11 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
96
96
|
const dataList = (0, import_vue.ref)((0, import_deep_clone.deepClone)(props.treeData));
|
|
97
97
|
const breadcrumbData = (0, import_vue.ref)([]);
|
|
98
98
|
const historyLayers = (0, import_vue.ref)([]);
|
|
99
|
+
(0, import_vue.watch)(() => props.treeData, () => {
|
|
100
|
+
dataList.value = (0, import_deep_clone.deepClone)(props.treeData);
|
|
101
|
+
}, {
|
|
102
|
+
deep: true
|
|
103
|
+
});
|
|
99
104
|
const isDisabled = (item) => {
|
|
100
105
|
if (!props.autoChangeToChildren && props.disableParent && item.children) {
|
|
101
106
|
return true;
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -182,7 +182,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
|
|
|
182
182
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
|
183
183
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
184
184
|
__reExport(stdin_exports, require("./video"), module.exports);
|
|
185
|
-
const version = "3.1.
|
|
185
|
+
const version = "3.1.57";
|
|
186
186
|
function install(app) {
|
|
187
187
|
const components = [
|
|
188
188
|
import_action_sheet.ActionSheet,
|