zartui 3.1.56 → 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 +7 -2
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/hierarchy-select/HierarchySelect.js +6 -1
- 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 +7 -2
- package/lib/zartui.es.js +7 -2
- package/lib/zartui.js +7 -2
- package/lib/zartui.min.js +1 -1
- package/package.json +4 -4
package/lib/zartui.cjs.js
CHANGED
|
@@ -11670,6 +11670,11 @@ var stdin_default$T = vue.defineComponent({
|
|
|
11670
11670
|
const dataList = vue.ref(deepClone(props.treeData));
|
|
11671
11671
|
const breadcrumbData = vue.ref([]);
|
|
11672
11672
|
const historyLayers = vue.ref([]);
|
|
11673
|
+
vue.watch(() => props.treeData, () => {
|
|
11674
|
+
dataList.value = deepClone(props.treeData);
|
|
11675
|
+
}, {
|
|
11676
|
+
deep: true
|
|
11677
|
+
});
|
|
11673
11678
|
const isDisabled = (item) => {
|
|
11674
11679
|
if (!props.autoChangeToChildren && props.disableParent && item.children) {
|
|
11675
11680
|
return true;
|
|
@@ -11883,7 +11888,7 @@ var stdin_default$T = vue.defineComponent({
|
|
|
11883
11888
|
if (!props.autoChangeToChildren) {
|
|
11884
11889
|
return item && (item == null ? void 0 : item.children);
|
|
11885
11890
|
}
|
|
11886
|
-
return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && ((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
|
|
11891
|
+
return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && !!((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
|
|
11887
11892
|
};
|
|
11888
11893
|
const getToSubDisabled = (item) => {
|
|
11889
11894
|
var _a;
|
|
@@ -20963,7 +20968,7 @@ const Lazyload = {
|
|
|
20963
20968
|
});
|
|
20964
20969
|
}
|
|
20965
20970
|
};
|
|
20966
|
-
const version = "3.1.
|
|
20971
|
+
const version = "3.1.57";
|
|
20967
20972
|
function install(app) {
|
|
20968
20973
|
const components = [
|
|
20969
20974
|
ActionSheet,
|
package/lib/zartui.es.js
CHANGED
|
@@ -11668,6 +11668,11 @@ var stdin_default$T = defineComponent({
|
|
|
11668
11668
|
const dataList = ref(deepClone(props.treeData));
|
|
11669
11669
|
const breadcrumbData = ref([]);
|
|
11670
11670
|
const historyLayers = ref([]);
|
|
11671
|
+
watch(() => props.treeData, () => {
|
|
11672
|
+
dataList.value = deepClone(props.treeData);
|
|
11673
|
+
}, {
|
|
11674
|
+
deep: true
|
|
11675
|
+
});
|
|
11671
11676
|
const isDisabled = (item) => {
|
|
11672
11677
|
if (!props.autoChangeToChildren && props.disableParent && item.children) {
|
|
11673
11678
|
return true;
|
|
@@ -11881,7 +11886,7 @@ var stdin_default$T = defineComponent({
|
|
|
11881
11886
|
if (!props.autoChangeToChildren) {
|
|
11882
11887
|
return item && (item == null ? void 0 : item.children);
|
|
11883
11888
|
}
|
|
11884
|
-
return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && ((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
|
|
11889
|
+
return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && !!((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
|
|
11885
11890
|
};
|
|
11886
11891
|
const getToSubDisabled = (item) => {
|
|
11887
11892
|
var _a;
|
|
@@ -20961,7 +20966,7 @@ const Lazyload = {
|
|
|
20961
20966
|
});
|
|
20962
20967
|
}
|
|
20963
20968
|
};
|
|
20964
|
-
const version = "3.1.
|
|
20969
|
+
const version = "3.1.57";
|
|
20965
20970
|
function install(app) {
|
|
20966
20971
|
const components = [
|
|
20967
20972
|
ActionSheet,
|
package/lib/zartui.js
CHANGED
|
@@ -11908,6 +11908,11 @@
|
|
|
11908
11908
|
const dataList = vue.ref(deepClone(props.treeData));
|
|
11909
11909
|
const breadcrumbData = vue.ref([]);
|
|
11910
11910
|
const historyLayers = vue.ref([]);
|
|
11911
|
+
vue.watch(() => props.treeData, () => {
|
|
11912
|
+
dataList.value = deepClone(props.treeData);
|
|
11913
|
+
}, {
|
|
11914
|
+
deep: true
|
|
11915
|
+
});
|
|
11911
11916
|
const isDisabled = (item) => {
|
|
11912
11917
|
if (!props.autoChangeToChildren && props.disableParent && item.children) {
|
|
11913
11918
|
return true;
|
|
@@ -12121,7 +12126,7 @@
|
|
|
12121
12126
|
if (!props.autoChangeToChildren) {
|
|
12122
12127
|
return item && (item == null ? void 0 : item.children);
|
|
12123
12128
|
}
|
|
12124
|
-
return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && ((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
|
|
12129
|
+
return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && !!((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
|
|
12125
12130
|
};
|
|
12126
12131
|
const getToSubDisabled = (item) => {
|
|
12127
12132
|
var _a;
|
|
@@ -25023,7 +25028,7 @@
|
|
|
25023
25028
|
});
|
|
25024
25029
|
}
|
|
25025
25030
|
};
|
|
25026
|
-
const version = "3.1.
|
|
25031
|
+
const version = "3.1.57";
|
|
25027
25032
|
function install(app) {
|
|
25028
25033
|
const components = [
|
|
25029
25034
|
ActionSheet,
|