3h1-ui 2.11.2 → 2.11.4
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 +8 -3
- package/es/style.css +8 -4
- package/es/ui/src/Page/src/PageSecond.d.ts +9 -0
- package/lib/index.js +8 -3
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -11894,6 +11894,10 @@ const PageSecond = /* @__PURE__ */ defineComponent({
|
|
|
11894
11894
|
isShowConfirmButton: {
|
|
11895
11895
|
type: Boolean,
|
|
11896
11896
|
default: () => true
|
|
11897
|
+
},
|
|
11898
|
+
isShowFooter: {
|
|
11899
|
+
type: Boolean,
|
|
11900
|
+
default: () => false
|
|
11897
11901
|
}
|
|
11898
11902
|
},
|
|
11899
11903
|
emits: ["click-return"],
|
|
@@ -11904,6 +11908,7 @@ const PageSecond = /* @__PURE__ */ defineComponent({
|
|
|
11904
11908
|
const handleClick = () => {
|
|
11905
11909
|
emit("click-return");
|
|
11906
11910
|
};
|
|
11911
|
+
console.log(1);
|
|
11907
11912
|
return () => {
|
|
11908
11913
|
var _a2;
|
|
11909
11914
|
return createVNode("div", {
|
|
@@ -11915,9 +11920,9 @@ const PageSecond = /* @__PURE__ */ defineComponent({
|
|
|
11915
11920
|
"onClick": handleClick
|
|
11916
11921
|
}, null), createVNode("div", {
|
|
11917
11922
|
"class": `${prefixCls}-header-title`
|
|
11918
|
-
}, [props2.title])]), createVNode("div", {
|
|
11923
|
+
}, [(slots == null ? void 0 : slots.title) ? slots == null ? void 0 : slots.title() : props2.title])]), createVNode("div", {
|
|
11919
11924
|
"class": `${prefixCls}-body`
|
|
11920
|
-
}, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)]), createVNode("div", {
|
|
11925
|
+
}, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)]), props2.isShowFooter ? createVNode("div", {
|
|
11921
11926
|
"class": `${prefixCls}-footer`
|
|
11922
11927
|
}, [createVNode(Space, null, {
|
|
11923
11928
|
default: () => {
|
|
@@ -11933,7 +11938,7 @@ const PageSecond = /* @__PURE__ */ defineComponent({
|
|
|
11933
11938
|
default: () => [createTextVNode("确定")]
|
|
11934
11939
|
}) : null, (_c = slots.beforeConfirmButton) == null ? void 0 : _c.call(slots)];
|
|
11935
11940
|
}
|
|
11936
|
-
})])]);
|
|
11941
|
+
})]) : null]);
|
|
11937
11942
|
};
|
|
11938
11943
|
}
|
|
11939
11944
|
});
|
package/es/style.css
CHANGED
|
@@ -25272,15 +25272,19 @@ span.iconify {
|
|
|
25272
25272
|
.shy-page-wrapper--dense .shy-page-wrapper-content {
|
|
25273
25273
|
margin: 0;
|
|
25274
25274
|
}.shy-basic-page-second-wrapper {
|
|
25275
|
-
|
|
25276
|
-
padding: 15px;
|
|
25275
|
+
display: flex;
|
|
25277
25276
|
overflow: hidden;
|
|
25277
|
+
padding: 0 15px;
|
|
25278
|
+
height: 100%;
|
|
25279
|
+
background-color: #fff;
|
|
25280
|
+
flex-flow: column nowrap;
|
|
25278
25281
|
}
|
|
25279
25282
|
.shy-basic-page-second-header {
|
|
25280
25283
|
display: flex;
|
|
25281
25284
|
align-items: center;
|
|
25282
25285
|
line-height: 40px;
|
|
25283
25286
|
height: 40px;
|
|
25287
|
+
flex: none;
|
|
25284
25288
|
}
|
|
25285
25289
|
.shy-basic-page-second-header-icon {
|
|
25286
25290
|
font-size: 16px;
|
|
@@ -25293,8 +25297,8 @@ span.iconify {
|
|
|
25293
25297
|
color: #131415;
|
|
25294
25298
|
}
|
|
25295
25299
|
.shy-basic-page-second-body {
|
|
25296
|
-
|
|
25297
|
-
overflow:
|
|
25300
|
+
flex: auto;
|
|
25301
|
+
overflow: hidden;
|
|
25298
25302
|
}
|
|
25299
25303
|
.shy-basic-page-second-footer {
|
|
25300
25304
|
display: flex;
|
|
@@ -11,6 +11,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: () => boolean;
|
|
13
13
|
};
|
|
14
|
+
isShowFooter: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: () => boolean;
|
|
17
|
+
};
|
|
14
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-return"[], "click-return", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
19
|
title: {
|
|
16
20
|
type: StringConstructor;
|
|
@@ -24,11 +28,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
28
|
type: BooleanConstructor;
|
|
25
29
|
default: () => boolean;
|
|
26
30
|
};
|
|
31
|
+
isShowFooter: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: () => boolean;
|
|
34
|
+
};
|
|
27
35
|
}>> & {
|
|
28
36
|
"onClick-return"?: (...args: any[]) => any;
|
|
29
37
|
}, {
|
|
30
38
|
title: string;
|
|
31
39
|
isShowCancelButton: boolean;
|
|
32
40
|
isShowConfirmButton: boolean;
|
|
41
|
+
isShowFooter: boolean;
|
|
33
42
|
}>;
|
|
34
43
|
export default _default;
|
package/lib/index.js
CHANGED
|
@@ -11896,6 +11896,10 @@ const PageSecond = /* @__PURE__ */ vue.defineComponent({
|
|
|
11896
11896
|
isShowConfirmButton: {
|
|
11897
11897
|
type: Boolean,
|
|
11898
11898
|
default: () => true
|
|
11899
|
+
},
|
|
11900
|
+
isShowFooter: {
|
|
11901
|
+
type: Boolean,
|
|
11902
|
+
default: () => false
|
|
11899
11903
|
}
|
|
11900
11904
|
},
|
|
11901
11905
|
emits: ["click-return"],
|
|
@@ -11906,6 +11910,7 @@ const PageSecond = /* @__PURE__ */ vue.defineComponent({
|
|
|
11906
11910
|
const handleClick = () => {
|
|
11907
11911
|
emit("click-return");
|
|
11908
11912
|
};
|
|
11913
|
+
console.log(1);
|
|
11909
11914
|
return () => {
|
|
11910
11915
|
var _a2;
|
|
11911
11916
|
return vue.createVNode("div", {
|
|
@@ -11917,9 +11922,9 @@ const PageSecond = /* @__PURE__ */ vue.defineComponent({
|
|
|
11917
11922
|
"onClick": handleClick
|
|
11918
11923
|
}, null), vue.createVNode("div", {
|
|
11919
11924
|
"class": `${prefixCls}-header-title`
|
|
11920
|
-
}, [props2.title])]), vue.createVNode("div", {
|
|
11925
|
+
}, [(slots == null ? void 0 : slots.title) ? slots == null ? void 0 : slots.title() : props2.title])]), vue.createVNode("div", {
|
|
11921
11926
|
"class": `${prefixCls}-body`
|
|
11922
|
-
}, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)]), vue.createVNode("div", {
|
|
11927
|
+
}, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)]), props2.isShowFooter ? vue.createVNode("div", {
|
|
11923
11928
|
"class": `${prefixCls}-footer`
|
|
11924
11929
|
}, [vue.createVNode(antDesignVue.Space, null, {
|
|
11925
11930
|
default: () => {
|
|
@@ -11935,7 +11940,7 @@ const PageSecond = /* @__PURE__ */ vue.defineComponent({
|
|
|
11935
11940
|
default: () => [vue.createTextVNode("确定")]
|
|
11936
11941
|
}) : null, (_c = slots.beforeConfirmButton) == null ? void 0 : _c.call(slots)];
|
|
11937
11942
|
}
|
|
11938
|
-
})])]);
|
|
11943
|
+
})]) : null]);
|
|
11939
11944
|
};
|
|
11940
11945
|
}
|
|
11941
11946
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"major": "npm version major",
|
|
44
44
|
"minor": "npm version minor",
|
|
45
45
|
"patch": "npm version patch",
|
|
46
|
-
"deploy": "
|
|
46
|
+
"deploy": "pnpm -v",
|
|
47
47
|
"build": "export NODE_OPTIONS=--max_old_space_size=8096&&vite build",
|
|
48
48
|
"build:less": "esno build/buildLess"
|
|
49
49
|
}
|