3h1-ui 2.14.84 → 2.14.85
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 -6
- package/lib/index.js +22 -6
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -24536,6 +24536,10 @@ const basicContainerProps = reactive({
|
|
|
24536
24536
|
title: {
|
|
24537
24537
|
type: String
|
|
24538
24538
|
},
|
|
24539
|
+
loading: {
|
|
24540
|
+
type: Boolean,
|
|
24541
|
+
default: false
|
|
24542
|
+
},
|
|
24539
24543
|
isShowHeader: {
|
|
24540
24544
|
type: Boolean,
|
|
24541
24545
|
default: true
|
|
@@ -24587,7 +24591,8 @@ const setDefaultConfig$1 = (config) => {
|
|
|
24587
24591
|
const _sfc_main$1 = defineComponent({
|
|
24588
24592
|
components: {
|
|
24589
24593
|
Button: Button$1,
|
|
24590
|
-
ArrowLeftOutlined: ArrowLeftOutlined$1
|
|
24594
|
+
ArrowLeftOutlined: ArrowLeftOutlined$1,
|
|
24595
|
+
LoadingOutlined: LoadingOutlined$1
|
|
24591
24596
|
},
|
|
24592
24597
|
props: basicContainerProps,
|
|
24593
24598
|
emits: ["submit", "cancel", "save"],
|
|
@@ -24610,6 +24615,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
24610
24615
|
const BasicContainer_vue_vue_type_style_index_0_lang = "";
|
|
24611
24616
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24612
24617
|
const _component_ArrowLeftOutlined = resolveComponent("ArrowLeftOutlined");
|
|
24618
|
+
const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
|
|
24613
24619
|
const _component_Button = resolveComponent("Button");
|
|
24614
24620
|
return openBlock(), createElementBlock("div", {
|
|
24615
24621
|
class: normalizeClass(_ctx.prefixCls)
|
|
@@ -24621,12 +24627,19 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24621
24627
|
createElementVNode("div", {
|
|
24622
24628
|
class: normalizeClass(`${_ctx.prefixCls}-header-title`)
|
|
24623
24629
|
}, [
|
|
24624
|
-
|
|
24630
|
+
!_ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
24631
|
+
key: 0,
|
|
24625
24632
|
class: normalizeClass(`${_ctx.prefixCls}-header-title-icon`),
|
|
24626
24633
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.emit("cancel"))
|
|
24627
24634
|
}, [
|
|
24628
24635
|
createVNode(_component_ArrowLeftOutlined, { style: { fontSize: `16px` } })
|
|
24629
|
-
], 2),
|
|
24636
|
+
], 2)) : createCommentVNode("", true),
|
|
24637
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
24638
|
+
key: 1,
|
|
24639
|
+
class: normalizeClass(`${_ctx.prefixCls}-header-title-loading-icon`)
|
|
24640
|
+
}, [
|
|
24641
|
+
createVNode(_component_LoadingOutlined, { style: { fontSize: `16px` } })
|
|
24642
|
+
], 2)) : createCommentVNode("", true),
|
|
24630
24643
|
createElementVNode("div", {
|
|
24631
24644
|
class: normalizeClass(`${_ctx.prefixCls}-header-title-text`)
|
|
24632
24645
|
}, toDisplayString(_ctx.title), 3)
|
|
@@ -24653,36 +24666,39 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24653
24666
|
_ctx.isShowCancelBtn ? (openBlock(), createBlock(_component_Button, {
|
|
24654
24667
|
key: 0,
|
|
24655
24668
|
class: normalizeClass(`${_ctx.prefixCls}-footer-cancel-button`),
|
|
24669
|
+
loading: _ctx.loading,
|
|
24656
24670
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.emit("cancel"))
|
|
24657
24671
|
}, {
|
|
24658
24672
|
default: withCtx(() => [
|
|
24659
24673
|
createTextVNode(toDisplayString(_ctx.cancelBtnText), 1)
|
|
24660
24674
|
]),
|
|
24661
24675
|
_: 1
|
|
24662
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
24676
|
+
}, 8, ["class", "loading"])) : createCommentVNode("", true),
|
|
24663
24677
|
createElementVNode("div", {
|
|
24664
24678
|
class: normalizeClass(`${_ctx.prefixCls}-footer-fn-buttons`)
|
|
24665
24679
|
}, [
|
|
24666
24680
|
_ctx.isShowSaveBtn ? (openBlock(), createBlock(_component_Button, {
|
|
24667
24681
|
key: 0,
|
|
24668
24682
|
type: "primary",
|
|
24683
|
+
loading: _ctx.loading,
|
|
24669
24684
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.emit("save"))
|
|
24670
24685
|
}, {
|
|
24671
24686
|
default: withCtx(() => [
|
|
24672
24687
|
createTextVNode(toDisplayString(_ctx.saveBtnText), 1)
|
|
24673
24688
|
]),
|
|
24674
24689
|
_: 1
|
|
24675
|
-
})) : createCommentVNode("", true),
|
|
24690
|
+
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
24676
24691
|
_ctx.isShowSubmitBtn ? (openBlock(), createBlock(_component_Button, {
|
|
24677
24692
|
key: 1,
|
|
24678
24693
|
type: "primary",
|
|
24694
|
+
loading: _ctx.loading,
|
|
24679
24695
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.emit("submit"))
|
|
24680
24696
|
}, {
|
|
24681
24697
|
default: withCtx(() => [
|
|
24682
24698
|
createTextVNode(toDisplayString(_ctx.submitBtnText), 1)
|
|
24683
24699
|
]),
|
|
24684
24700
|
_: 1
|
|
24685
|
-
})) : createCommentVNode("", true),
|
|
24701
|
+
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
24686
24702
|
renderSlot(_ctx.$slots, "buttons")
|
|
24687
24703
|
], 2)
|
|
24688
24704
|
], 2)) : createCommentVNode("", true),
|
package/lib/index.js
CHANGED
|
@@ -24538,6 +24538,10 @@ const basicContainerProps = vue.reactive({
|
|
|
24538
24538
|
title: {
|
|
24539
24539
|
type: String
|
|
24540
24540
|
},
|
|
24541
|
+
loading: {
|
|
24542
|
+
type: Boolean,
|
|
24543
|
+
default: false
|
|
24544
|
+
},
|
|
24541
24545
|
isShowHeader: {
|
|
24542
24546
|
type: Boolean,
|
|
24543
24547
|
default: true
|
|
@@ -24589,7 +24593,8 @@ const setDefaultConfig$1 = (config) => {
|
|
|
24589
24593
|
const _sfc_main$1 = vue.defineComponent({
|
|
24590
24594
|
components: {
|
|
24591
24595
|
Button: antDesignVue.Button,
|
|
24592
|
-
ArrowLeftOutlined: ArrowLeftOutlined$1
|
|
24596
|
+
ArrowLeftOutlined: ArrowLeftOutlined$1,
|
|
24597
|
+
LoadingOutlined: LoadingOutlined$1
|
|
24593
24598
|
},
|
|
24594
24599
|
props: basicContainerProps,
|
|
24595
24600
|
emits: ["submit", "cancel", "save"],
|
|
@@ -24612,6 +24617,7 @@ const _sfc_main$1 = vue.defineComponent({
|
|
|
24612
24617
|
const BasicContainer_vue_vue_type_style_index_0_lang = "";
|
|
24613
24618
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24614
24619
|
const _component_ArrowLeftOutlined = vue.resolveComponent("ArrowLeftOutlined");
|
|
24620
|
+
const _component_LoadingOutlined = vue.resolveComponent("LoadingOutlined");
|
|
24615
24621
|
const _component_Button = vue.resolveComponent("Button");
|
|
24616
24622
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
24617
24623
|
class: vue.normalizeClass(_ctx.prefixCls)
|
|
@@ -24623,12 +24629,19 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24623
24629
|
vue.createElementVNode("div", {
|
|
24624
24630
|
class: vue.normalizeClass(`${_ctx.prefixCls}-header-title`)
|
|
24625
24631
|
}, [
|
|
24626
|
-
vue.
|
|
24632
|
+
!_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
24633
|
+
key: 0,
|
|
24627
24634
|
class: vue.normalizeClass(`${_ctx.prefixCls}-header-title-icon`),
|
|
24628
24635
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.emit("cancel"))
|
|
24629
24636
|
}, [
|
|
24630
24637
|
vue.createVNode(_component_ArrowLeftOutlined, { style: { fontSize: `16px` } })
|
|
24631
|
-
], 2),
|
|
24638
|
+
], 2)) : vue.createCommentVNode("", true),
|
|
24639
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
24640
|
+
key: 1,
|
|
24641
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-header-title-loading-icon`)
|
|
24642
|
+
}, [
|
|
24643
|
+
vue.createVNode(_component_LoadingOutlined, { style: { fontSize: `16px` } })
|
|
24644
|
+
], 2)) : vue.createCommentVNode("", true),
|
|
24632
24645
|
vue.createElementVNode("div", {
|
|
24633
24646
|
class: vue.normalizeClass(`${_ctx.prefixCls}-header-title-text`)
|
|
24634
24647
|
}, vue.toDisplayString(_ctx.title), 3)
|
|
@@ -24655,36 +24668,39 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24655
24668
|
_ctx.isShowCancelBtn ? (vue.openBlock(), vue.createBlock(_component_Button, {
|
|
24656
24669
|
key: 0,
|
|
24657
24670
|
class: vue.normalizeClass(`${_ctx.prefixCls}-footer-cancel-button`),
|
|
24671
|
+
loading: _ctx.loading,
|
|
24658
24672
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.emit("cancel"))
|
|
24659
24673
|
}, {
|
|
24660
24674
|
default: vue.withCtx(() => [
|
|
24661
24675
|
vue.createTextVNode(vue.toDisplayString(_ctx.cancelBtnText), 1)
|
|
24662
24676
|
]),
|
|
24663
24677
|
_: 1
|
|
24664
|
-
}, 8, ["class"])) : vue.createCommentVNode("", true),
|
|
24678
|
+
}, 8, ["class", "loading"])) : vue.createCommentVNode("", true),
|
|
24665
24679
|
vue.createElementVNode("div", {
|
|
24666
24680
|
class: vue.normalizeClass(`${_ctx.prefixCls}-footer-fn-buttons`)
|
|
24667
24681
|
}, [
|
|
24668
24682
|
_ctx.isShowSaveBtn ? (vue.openBlock(), vue.createBlock(_component_Button, {
|
|
24669
24683
|
key: 0,
|
|
24670
24684
|
type: "primary",
|
|
24685
|
+
loading: _ctx.loading,
|
|
24671
24686
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.emit("save"))
|
|
24672
24687
|
}, {
|
|
24673
24688
|
default: vue.withCtx(() => [
|
|
24674
24689
|
vue.createTextVNode(vue.toDisplayString(_ctx.saveBtnText), 1)
|
|
24675
24690
|
]),
|
|
24676
24691
|
_: 1
|
|
24677
|
-
})) : vue.createCommentVNode("", true),
|
|
24692
|
+
}, 8, ["loading"])) : vue.createCommentVNode("", true),
|
|
24678
24693
|
_ctx.isShowSubmitBtn ? (vue.openBlock(), vue.createBlock(_component_Button, {
|
|
24679
24694
|
key: 1,
|
|
24680
24695
|
type: "primary",
|
|
24696
|
+
loading: _ctx.loading,
|
|
24681
24697
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.emit("submit"))
|
|
24682
24698
|
}, {
|
|
24683
24699
|
default: vue.withCtx(() => [
|
|
24684
24700
|
vue.createTextVNode(vue.toDisplayString(_ctx.submitBtnText), 1)
|
|
24685
24701
|
]),
|
|
24686
24702
|
_: 1
|
|
24687
|
-
})) : vue.createCommentVNode("", true),
|
|
24703
|
+
}, 8, ["loading"])) : vue.createCommentVNode("", true),
|
|
24688
24704
|
vue.renderSlot(_ctx.$slots, "buttons")
|
|
24689
24705
|
], 2)
|
|
24690
24706
|
], 2)) : vue.createCommentVNode("", true),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.85",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"main": "lib/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/use": "1.0.9",
|
|
34
|
+
"@shy-plugins/utils": "1.1.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|