3h1-ui 3.0.0-next.51 → 3.0.0-next.52
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/index.js +22 -16
- package/es/style.css +1 -1
- package/lib/index.js +22 -16
- package/lib/style.css +1 -1
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -9806,7 +9806,7 @@ function extendSlots(slots, excludeKeys = []) {
|
|
|
9806
9806
|
});
|
|
9807
9807
|
return ret;
|
|
9808
9808
|
}
|
|
9809
|
-
function _isSlot$
|
|
9809
|
+
function _isSlot$8(s) {
|
|
9810
9810
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9811
9811
|
}
|
|
9812
9812
|
const Modal$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -9839,7 +9839,7 @@ const Modal$2 = /* @__PURE__ */ defineComponent({
|
|
|
9839
9839
|
...props2,
|
|
9840
9840
|
onCancel
|
|
9841
9841
|
};
|
|
9842
|
-
return createVNode(Modal$3, propsData, _isSlot$
|
|
9842
|
+
return createVNode(Modal$3, propsData, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
|
|
9843
9843
|
default: () => [_slot]
|
|
9844
9844
|
});
|
|
9845
9845
|
};
|
|
@@ -10335,7 +10335,7 @@ const BasicButton = /* @__PURE__ */ defineComponent({
|
|
|
10335
10335
|
};
|
|
10336
10336
|
}
|
|
10337
10337
|
});
|
|
10338
|
-
function _isSlot$
|
|
10338
|
+
function _isSlot$7(s) {
|
|
10339
10339
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
10340
10340
|
}
|
|
10341
10341
|
const props$6 = {
|
|
@@ -10367,7 +10367,7 @@ const PopConfirmButton = /* @__PURE__ */ defineComponent({
|
|
|
10367
10367
|
btnBind.color = "";
|
|
10368
10368
|
const Button2 = () => {
|
|
10369
10369
|
let _slot;
|
|
10370
|
-
return createVNode(BasicButton, btnBind, _isSlot$
|
|
10370
|
+
return createVNode(BasicButton, btnBind, _isSlot$7(_slot = extendSlots$1(slots)) ? _slot : {
|
|
10371
10371
|
default: () => [_slot]
|
|
10372
10372
|
});
|
|
10373
10373
|
};
|
|
@@ -12603,7 +12603,7 @@ const useGlobalConfig = (key2) => {
|
|
|
12603
12603
|
};
|
|
12604
12604
|
return { config, setConfig };
|
|
12605
12605
|
};
|
|
12606
|
-
function _isSlot$
|
|
12606
|
+
function _isSlot$6(s) {
|
|
12607
12607
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
12608
12608
|
}
|
|
12609
12609
|
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
@@ -12921,7 +12921,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
12921
12921
|
} : {
|
|
12922
12922
|
default: () => renderComponentContent
|
|
12923
12923
|
};
|
|
12924
|
-
return createVNode(Comp, compAttr, _isSlot$
|
|
12924
|
+
return createVNode(Comp, compAttr, _isSlot$6(compSlot) ? compSlot : {
|
|
12925
12925
|
default: () => [compSlot]
|
|
12926
12926
|
});
|
|
12927
12927
|
}
|
|
@@ -12966,7 +12966,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
12966
12966
|
return createVNode(Col, {
|
|
12967
12967
|
"span": 24
|
|
12968
12968
|
}, {
|
|
12969
|
-
default: () => [createVNode(Divider$1, unref(getComponentsProps), _isSlot$
|
|
12969
|
+
default: () => [createVNode(Divider$1, unref(getComponentsProps), _isSlot$6(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
12970
12970
|
default: () => [_slot]
|
|
12971
12971
|
})]
|
|
12972
12972
|
});
|
|
@@ -13027,7 +13027,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
13027
13027
|
const getContent = () => {
|
|
13028
13028
|
return colSlot ? getSlot$1(slots, colSlot, values) : renderColContent ? renderColContent(values) : renderItem();
|
|
13029
13029
|
};
|
|
13030
|
-
return isIfShow && withDirectives(createVNode(Col, realColProps, _isSlot$
|
|
13030
|
+
return isIfShow && withDirectives(createVNode(Col, realColProps, _isSlot$6(_slot2 = getContent()) ? _slot2 : {
|
|
13031
13031
|
default: () => [_slot2]
|
|
13032
13032
|
}), [[vShow, isShow]]);
|
|
13033
13033
|
};
|
|
@@ -14556,6 +14556,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14556
14556
|
style: {
|
|
14557
14557
|
color: "#2da44e"
|
|
14558
14558
|
},
|
|
14559
|
+
class: "cursor-pointer",
|
|
14559
14560
|
onClick: handleMenuClick
|
|
14560
14561
|
})
|
|
14561
14562
|
]),
|
|
@@ -14576,8 +14577,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14576
14577
|
};
|
|
14577
14578
|
}
|
|
14578
14579
|
});
|
|
14579
|
-
const
|
|
14580
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
14580
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_d8be8a1f_lang = "";
|
|
14581
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-d8be8a1f"]]);
|
|
14581
14582
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14582
14583
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
14583
14584
|
const isString$1 = (val) => typeof val === "string";
|
|
@@ -14782,7 +14783,7 @@ function useTree(treeDataRef, getFieldNames) {
|
|
|
14782
14783
|
getSelectedNode
|
|
14783
14784
|
};
|
|
14784
14785
|
}
|
|
14785
|
-
function _isSlot$
|
|
14786
|
+
function _isSlot$5(s) {
|
|
14786
14787
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
14787
14788
|
}
|
|
14788
14789
|
const prefixCls$2 = "context-menu";
|
|
@@ -14939,7 +14940,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
14939
14940
|
"mode": "vertical",
|
|
14940
14941
|
"ref": wrapRef,
|
|
14941
14942
|
"style": unref(getStyle)
|
|
14942
|
-
}, _isSlot$
|
|
14943
|
+
}, _isSlot$5(_slot = renderMenuItem(items)) ? _slot : {
|
|
14943
14944
|
default: () => [_slot]
|
|
14944
14945
|
})]);
|
|
14945
14946
|
};
|
|
@@ -15011,6 +15012,9 @@ function useContextMenu(authRemove = true) {
|
|
|
15011
15012
|
}
|
|
15012
15013
|
return [createContextMenu, destroyContextMenu];
|
|
15013
15014
|
}
|
|
15015
|
+
function _isSlot$4(s) {
|
|
15016
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
15017
|
+
}
|
|
15014
15018
|
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
15015
15019
|
name: "BasicTree",
|
|
15016
15020
|
inheritAttrs: false,
|
|
@@ -15347,11 +15351,12 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
15347
15351
|
});
|
|
15348
15352
|
return data;
|
|
15349
15353
|
});
|
|
15350
|
-
|
|
15354
|
+
function handlePlusClick() {
|
|
15351
15355
|
emit("plus-click");
|
|
15352
15356
|
}
|
|
15353
15357
|
expose(instance);
|
|
15354
15358
|
return () => {
|
|
15359
|
+
let _slot;
|
|
15355
15360
|
const {
|
|
15356
15361
|
title,
|
|
15357
15362
|
helpMessage,
|
|
@@ -15375,9 +15380,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
15375
15380
|
"helpMessage": helpMessage,
|
|
15376
15381
|
"onStrictlyChange": onStrictlyChange,
|
|
15377
15382
|
"onSearch": handleSearch,
|
|
15378
|
-
"searchText": searchState.searchText
|
|
15379
|
-
|
|
15380
|
-
|
|
15383
|
+
"searchText": searchState.searchText,
|
|
15384
|
+
"onPlusClick": handlePlusClick
|
|
15385
|
+
}, _isSlot$4(_slot = extendSlots$1(slots)) ? _slot : {
|
|
15386
|
+
default: () => [_slot]
|
|
15381
15387
|
}), createVNode(Spin, {
|
|
15382
15388
|
"wrapperClassName": unref(props2.treeWrapperClassName),
|
|
15383
15389
|
"spinning": unref(props2.loading),
|
package/es/style.css
CHANGED
|
@@ -2045,7 +2045,7 @@ span.iconify {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
.table-children-err-popover .ant-popover-inner-content {
|
|
2047
2047
|
padding: 6px 16px;
|
|
2048
|
-
}.shy-search[data-v-
|
|
2048
|
+
}.shy-search[data-v-d8be8a1f] {
|
|
2049
2049
|
position: relative;
|
|
2050
2050
|
display: flex;
|
|
2051
2051
|
align-items: center;
|
package/lib/index.js
CHANGED
|
@@ -9830,7 +9830,7 @@ function extendSlots(slots, excludeKeys = []) {
|
|
|
9830
9830
|
});
|
|
9831
9831
|
return ret;
|
|
9832
9832
|
}
|
|
9833
|
-
function _isSlot$
|
|
9833
|
+
function _isSlot$8(s) {
|
|
9834
9834
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
9835
9835
|
}
|
|
9836
9836
|
const Modal$2 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -9863,7 +9863,7 @@ const Modal$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9863
9863
|
...props2,
|
|
9864
9864
|
onCancel
|
|
9865
9865
|
};
|
|
9866
|
-
return vue.createVNode(antDesignVue.Modal, propsData, _isSlot$
|
|
9866
|
+
return vue.createVNode(antDesignVue.Modal, propsData, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
|
|
9867
9867
|
default: () => [_slot]
|
|
9868
9868
|
});
|
|
9869
9869
|
};
|
|
@@ -10359,7 +10359,7 @@ const BasicButton = /* @__PURE__ */ vue.defineComponent({
|
|
|
10359
10359
|
};
|
|
10360
10360
|
}
|
|
10361
10361
|
});
|
|
10362
|
-
function _isSlot$
|
|
10362
|
+
function _isSlot$7(s) {
|
|
10363
10363
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
10364
10364
|
}
|
|
10365
10365
|
const props$6 = {
|
|
@@ -10391,7 +10391,7 @@ const PopConfirmButton = /* @__PURE__ */ vue.defineComponent({
|
|
|
10391
10391
|
btnBind.color = "";
|
|
10392
10392
|
const Button2 = () => {
|
|
10393
10393
|
let _slot;
|
|
10394
|
-
return vue.createVNode(BasicButton, btnBind, _isSlot$
|
|
10394
|
+
return vue.createVNode(BasicButton, btnBind, _isSlot$7(_slot = utils.extendSlots(slots)) ? _slot : {
|
|
10395
10395
|
default: () => [_slot]
|
|
10396
10396
|
});
|
|
10397
10397
|
};
|
|
@@ -12627,7 +12627,7 @@ const useGlobalConfig = (key2) => {
|
|
|
12627
12627
|
};
|
|
12628
12628
|
return { config, setConfig };
|
|
12629
12629
|
};
|
|
12630
|
-
function _isSlot$
|
|
12630
|
+
function _isSlot$6(s) {
|
|
12631
12631
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12632
12632
|
}
|
|
12633
12633
|
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -12945,7 +12945,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12945
12945
|
} : {
|
|
12946
12946
|
default: () => renderComponentContent
|
|
12947
12947
|
};
|
|
12948
|
-
return vue.createVNode(Comp, compAttr, _isSlot$
|
|
12948
|
+
return vue.createVNode(Comp, compAttr, _isSlot$6(compSlot) ? compSlot : {
|
|
12949
12949
|
default: () => [compSlot]
|
|
12950
12950
|
});
|
|
12951
12951
|
}
|
|
@@ -12990,7 +12990,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12990
12990
|
return vue.createVNode(antDesignVue.Col, {
|
|
12991
12991
|
"span": 24
|
|
12992
12992
|
}, {
|
|
12993
|
-
default: () => [vue.createVNode(Divider$1, vue.unref(getComponentsProps), _isSlot$
|
|
12993
|
+
default: () => [vue.createVNode(Divider$1, vue.unref(getComponentsProps), _isSlot$6(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
12994
12994
|
default: () => [_slot]
|
|
12995
12995
|
})]
|
|
12996
12996
|
});
|
|
@@ -13051,7 +13051,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
13051
13051
|
const getContent = () => {
|
|
13052
13052
|
return colSlot ? utils.getSlot(slots, colSlot, values) : renderColContent ? renderColContent(values) : renderItem();
|
|
13053
13053
|
};
|
|
13054
|
-
return isIfShow && vue.withDirectives(vue.createVNode(antDesignVue.Col, realColProps, _isSlot$
|
|
13054
|
+
return isIfShow && vue.withDirectives(vue.createVNode(antDesignVue.Col, realColProps, _isSlot$6(_slot2 = getContent()) ? _slot2 : {
|
|
13055
13055
|
default: () => [_slot2]
|
|
13056
13056
|
}), [[vue.vShow, isShow]]);
|
|
13057
13057
|
};
|
|
@@ -14580,6 +14580,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
14580
14580
|
style: {
|
|
14581
14581
|
color: "#2da44e"
|
|
14582
14582
|
},
|
|
14583
|
+
class: "cursor-pointer",
|
|
14583
14584
|
onClick: handleMenuClick
|
|
14584
14585
|
})
|
|
14585
14586
|
]),
|
|
@@ -14600,8 +14601,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
14600
14601
|
};
|
|
14601
14602
|
}
|
|
14602
14603
|
});
|
|
14603
|
-
const
|
|
14604
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
14604
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_d8be8a1f_lang = "";
|
|
14605
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-d8be8a1f"]]);
|
|
14605
14606
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14606
14607
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
14607
14608
|
const isString$1 = (val) => typeof val === "string";
|
|
@@ -14806,7 +14807,7 @@ function useTree(treeDataRef, getFieldNames) {
|
|
|
14806
14807
|
getSelectedNode
|
|
14807
14808
|
};
|
|
14808
14809
|
}
|
|
14809
|
-
function _isSlot$
|
|
14810
|
+
function _isSlot$5(s) {
|
|
14810
14811
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
14811
14812
|
}
|
|
14812
14813
|
const prefixCls$2 = "context-menu";
|
|
@@ -14963,7 +14964,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
14963
14964
|
"mode": "vertical",
|
|
14964
14965
|
"ref": wrapRef,
|
|
14965
14966
|
"style": vue.unref(getStyle)
|
|
14966
|
-
}, _isSlot$
|
|
14967
|
+
}, _isSlot$5(_slot = renderMenuItem(items)) ? _slot : {
|
|
14967
14968
|
default: () => [_slot]
|
|
14968
14969
|
})]);
|
|
14969
14970
|
};
|
|
@@ -15035,6 +15036,9 @@ function useContextMenu(authRemove = true) {
|
|
|
15035
15036
|
}
|
|
15036
15037
|
return [createContextMenu, destroyContextMenu];
|
|
15037
15038
|
}
|
|
15039
|
+
function _isSlot$4(s) {
|
|
15040
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
15041
|
+
}
|
|
15038
15042
|
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
15039
15043
|
name: "BasicTree",
|
|
15040
15044
|
inheritAttrs: false,
|
|
@@ -15371,11 +15375,12 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
15371
15375
|
});
|
|
15372
15376
|
return data;
|
|
15373
15377
|
});
|
|
15374
|
-
|
|
15378
|
+
function handlePlusClick() {
|
|
15375
15379
|
emit("plus-click");
|
|
15376
15380
|
}
|
|
15377
15381
|
expose(instance);
|
|
15378
15382
|
return () => {
|
|
15383
|
+
let _slot;
|
|
15379
15384
|
const {
|
|
15380
15385
|
title,
|
|
15381
15386
|
helpMessage,
|
|
@@ -15399,9 +15404,10 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
15399
15404
|
"helpMessage": helpMessage,
|
|
15400
15405
|
"onStrictlyChange": onStrictlyChange,
|
|
15401
15406
|
"onSearch": handleSearch,
|
|
15402
|
-
"searchText": searchState.searchText
|
|
15403
|
-
|
|
15404
|
-
|
|
15407
|
+
"searchText": searchState.searchText,
|
|
15408
|
+
"onPlusClick": handlePlusClick
|
|
15409
|
+
}, _isSlot$4(_slot = utils.extendSlots(slots)) ? _slot : {
|
|
15410
|
+
default: () => [_slot]
|
|
15405
15411
|
}), vue.createVNode(antDesignVue.Spin, {
|
|
15406
15412
|
"wrapperClassName": vue.unref(props2.treeWrapperClassName),
|
|
15407
15413
|
"spinning": vue.unref(props2.loading),
|
package/lib/style.css
CHANGED
|
@@ -2045,7 +2045,7 @@ span.iconify {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
.table-children-err-popover .ant-popover-inner-content {
|
|
2047
2047
|
padding: 6px 16px;
|
|
2048
|
-
}.shy-search[data-v-
|
|
2048
|
+
}.shy-search[data-v-d8be8a1f] {
|
|
2049
2049
|
position: relative;
|
|
2050
2050
|
display: flex;
|
|
2051
2051
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.52",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/
|
|
34
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/utils": "1.0.0-next.1",
|
|
34
|
+
"@shy-plugins/use": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|