3h1-ui 3.0.0-next.55 → 3.0.0-next.56
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 +7 -7
- package/es/style.css +35 -21
- package/lib/index.js +7 -7
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -31867,7 +31867,7 @@ const componentSetting = {
|
|
|
31867
31867
|
// Number of pages that can be selected
|
|
31868
31868
|
pageSizeOptions: ["10", "20", "50", "100"],
|
|
31869
31869
|
// Default display quantity on one page
|
|
31870
|
-
defaultPageSize:
|
|
31870
|
+
defaultPageSize: 20,
|
|
31871
31871
|
// Default Size
|
|
31872
31872
|
defaultSize: "small",
|
|
31873
31873
|
// Custom general sort function
|
|
@@ -35474,23 +35474,23 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
35474
35474
|
}
|
|
35475
35475
|
},
|
|
35476
35476
|
setup(__props) {
|
|
35477
|
-
const { prefixCls: prefixCls2 } = useDesign$1("ant-form");
|
|
35477
|
+
const { prefixCls: prefixCls2 } = useDesign$1("ant-form-wrapper");
|
|
35478
35478
|
const props2 = __props;
|
|
35479
35479
|
const getClass = computed(() => {
|
|
35480
35480
|
switch (props2.span) {
|
|
35481
35481
|
case 1:
|
|
35482
|
-
return `${prefixCls2}-
|
|
35482
|
+
return `${prefixCls2}-col-1`;
|
|
35483
35483
|
case 2:
|
|
35484
|
-
return `${prefixCls2}-
|
|
35484
|
+
return `${prefixCls2}-col-2`;
|
|
35485
35485
|
case 3:
|
|
35486
|
-
return `${prefixCls2}-
|
|
35486
|
+
return `${prefixCls2}-col-3`;
|
|
35487
35487
|
default:
|
|
35488
35488
|
return "";
|
|
35489
35489
|
}
|
|
35490
35490
|
});
|
|
35491
35491
|
return (_ctx, _cache) => {
|
|
35492
35492
|
return openBlock(), createElementBlock("div", {
|
|
35493
|
-
class: normalizeClass(getClass.value)
|
|
35493
|
+
class: normalizeClass([unref(prefixCls2), getClass.value])
|
|
35494
35494
|
}, [
|
|
35495
35495
|
renderSlot(_ctx.$slots, "default")
|
|
35496
35496
|
], 2);
|
|
@@ -35585,7 +35585,7 @@ function usePagination(refProps) {
|
|
|
35585
35585
|
isShowPagination,
|
|
35586
35586
|
current: 1,
|
|
35587
35587
|
pageSize: PAGE_SIZE,
|
|
35588
|
-
size:
|
|
35588
|
+
// size: '',
|
|
35589
35589
|
defaultPageSize: PAGE_SIZE,
|
|
35590
35590
|
showTotal: (total) => createVNode("span", null, [createTextVNode("共 "), createVNode("span", null, [total]), createTextVNode(" 条")]),
|
|
35591
35591
|
showSizeChanger: true,
|
package/es/style.css
CHANGED
|
@@ -948,7 +948,7 @@ input:focus.ant-input {
|
|
|
948
948
|
:is(.ant-table-body, .ant-table-content)::-webkit-scrollbar {
|
|
949
949
|
position: absolute;
|
|
950
950
|
height: 10px;
|
|
951
|
-
width:
|
|
951
|
+
width: 0;
|
|
952
952
|
}
|
|
953
953
|
:is(.ant-table-body, .ant-table-content)::-webkit-scrollbar-thumb {
|
|
954
954
|
box-shadow: inset 0 0 10px 10px var(--gray-2);
|
|
@@ -977,11 +977,17 @@ input:focus.ant-input {
|
|
|
977
977
|
.ant-table-wrapper .ant-table-ping-left .ant-table-cell-fix-left-last::after {
|
|
978
978
|
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
|
|
979
979
|
}
|
|
980
|
+
.ant-table-cell-scrollbar {
|
|
981
|
+
display: none;
|
|
982
|
+
}
|
|
980
983
|
.ant-table-body {
|
|
981
984
|
overflow: auto auto !important;
|
|
982
985
|
}
|
|
983
|
-
.ant-table-
|
|
984
|
-
|
|
986
|
+
.ant-table-body table:has(.ant-table-placeholder) {
|
|
987
|
+
height: 100%;
|
|
988
|
+
}
|
|
989
|
+
.ant-table-body table:has(.ant-table-placeholder) .ant-table-expanded-row-fixed {
|
|
990
|
+
width: 100% !important;
|
|
985
991
|
}.shy-strength-meter-bar[data-v-c8d77eaa] {
|
|
986
992
|
position: relative;
|
|
987
993
|
margin: 10px auto 6px;
|
|
@@ -8434,58 +8440,66 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
8434
8440
|
width: 100%;
|
|
8435
8441
|
background-color: var(--gray-3);
|
|
8436
8442
|
}
|
|
8443
|
+
.shy-ant-form-wrapper {
|
|
8444
|
+
--max-width-large: 1224px;
|
|
8445
|
+
--max-width-middle: 864px;
|
|
8446
|
+
--max-width-small: 720px;
|
|
8447
|
+
--min-width--large: 70%;
|
|
8448
|
+
--min-width--middle: 69%;
|
|
8449
|
+
--min-width--small: 68%;
|
|
8450
|
+
}
|
|
8437
8451
|
@media screen and (max-width: 1440px) {
|
|
8438
8452
|
.shy-ant-form-wrapper-col-1 {
|
|
8439
|
-
min-width:
|
|
8440
|
-
max-width:
|
|
8453
|
+
min-width: calc(var(--min-width--small) * (1 / 3));
|
|
8454
|
+
max-width: calc(var(--max-width-small) * (1 / 3));
|
|
8441
8455
|
}
|
|
8442
8456
|
}
|
|
8443
8457
|
@media screen and (max-width: 1920px) and (min-width: 1440px) {
|
|
8444
8458
|
.shy-ant-form-wrapper-col-1 {
|
|
8445
|
-
min-width:
|
|
8446
|
-
max-width:
|
|
8459
|
+
min-width: calc(var(--min-width--middle) * (1 / 3));
|
|
8460
|
+
max-width: calc(var(--max-width-middle) * (1 / 3));
|
|
8447
8461
|
}
|
|
8448
8462
|
}
|
|
8449
8463
|
@media screen and (min-width: 1920px) {
|
|
8450
8464
|
.shy-ant-form-wrapper-col-1 {
|
|
8451
|
-
min-width:
|
|
8452
|
-
max-width:
|
|
8465
|
+
min-width: calc(var(--min-width--large) * (1 / 3));
|
|
8466
|
+
max-width: calc(var(--max-width-large) * (1 / 3));
|
|
8453
8467
|
}
|
|
8454
8468
|
}
|
|
8455
8469
|
@media screen and (max-width: 1440px) {
|
|
8456
8470
|
.shy-ant-form-wrapper-col-2 {
|
|
8457
|
-
min-width:
|
|
8458
|
-
max-width:
|
|
8471
|
+
min-width: calc(var(--min-width--small) * (1 / 3) * 2);
|
|
8472
|
+
max-width: calc(var(--max-width-small) * (1 / 3) * 2);
|
|
8459
8473
|
}
|
|
8460
8474
|
}
|
|
8461
8475
|
@media screen and (max-width: 1920px) and (min-width: 1440px) {
|
|
8462
8476
|
.shy-ant-form-wrapper-col-2 {
|
|
8463
|
-
min-width:
|
|
8464
|
-
max-width:
|
|
8477
|
+
min-width: calc(var(--min-width--middle) * (1 / 3) * 2);
|
|
8478
|
+
max-width: calc(var(--max-width-middle) * (1 / 3) * 2);
|
|
8465
8479
|
}
|
|
8466
8480
|
}
|
|
8467
8481
|
@media screen and (min-width: 1920px) {
|
|
8468
8482
|
.shy-ant-form-wrapper-col-2 {
|
|
8469
|
-
min-width:
|
|
8470
|
-
max-width:
|
|
8483
|
+
min-width: calc(var(--min-width--large) * (1 / 3) * 2);
|
|
8484
|
+
max-width: calc(var(--max-width-large) * (1 / 3) * 2);
|
|
8471
8485
|
}
|
|
8472
8486
|
}
|
|
8473
8487
|
@media screen and (max-width: 1440px) {
|
|
8474
8488
|
.shy-ant-form-wrapper-col-3 {
|
|
8475
|
-
min-width:
|
|
8476
|
-
max-width:
|
|
8489
|
+
min-width: var(--min-width--small);
|
|
8490
|
+
max-width: var(--max-width-small);
|
|
8477
8491
|
}
|
|
8478
8492
|
}
|
|
8479
8493
|
@media screen and (max-width: 1920px) and (min-width: 1440px) {
|
|
8480
8494
|
.shy-ant-form-wrapper-col-3 {
|
|
8481
|
-
min-width:
|
|
8482
|
-
max-width:
|
|
8495
|
+
min-width: var(--min-width--middle);
|
|
8496
|
+
max-width: var(--max-width-middle);
|
|
8483
8497
|
}
|
|
8484
8498
|
}
|
|
8485
8499
|
@media screen and (min-width: 1920px) {
|
|
8486
8500
|
.shy-ant-form-wrapper-col-3 {
|
|
8487
|
-
min-width:
|
|
8488
|
-
max-width:
|
|
8501
|
+
min-width: var(--min-width--large);
|
|
8502
|
+
max-width: var(--max-width-large);
|
|
8489
8503
|
}
|
|
8490
8504
|
}.wrapper[data-v-15e2dcbb] {
|
|
8491
8505
|
display: flex;
|
package/lib/index.js
CHANGED
|
@@ -31891,7 +31891,7 @@ const componentSetting = {
|
|
|
31891
31891
|
// Number of pages that can be selected
|
|
31892
31892
|
pageSizeOptions: ["10", "20", "50", "100"],
|
|
31893
31893
|
// Default display quantity on one page
|
|
31894
|
-
defaultPageSize:
|
|
31894
|
+
defaultPageSize: 20,
|
|
31895
31895
|
// Default Size
|
|
31896
31896
|
defaultSize: "small",
|
|
31897
31897
|
// Custom general sort function
|
|
@@ -35498,23 +35498,23 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35498
35498
|
}
|
|
35499
35499
|
},
|
|
35500
35500
|
setup(__props) {
|
|
35501
|
-
const { prefixCls: prefixCls2 } = use.useDesign("ant-form");
|
|
35501
|
+
const { prefixCls: prefixCls2 } = use.useDesign("ant-form-wrapper");
|
|
35502
35502
|
const props2 = __props;
|
|
35503
35503
|
const getClass = vue.computed(() => {
|
|
35504
35504
|
switch (props2.span) {
|
|
35505
35505
|
case 1:
|
|
35506
|
-
return `${prefixCls2}-
|
|
35506
|
+
return `${prefixCls2}-col-1`;
|
|
35507
35507
|
case 2:
|
|
35508
|
-
return `${prefixCls2}-
|
|
35508
|
+
return `${prefixCls2}-col-2`;
|
|
35509
35509
|
case 3:
|
|
35510
|
-
return `${prefixCls2}-
|
|
35510
|
+
return `${prefixCls2}-col-3`;
|
|
35511
35511
|
default:
|
|
35512
35512
|
return "";
|
|
35513
35513
|
}
|
|
35514
35514
|
});
|
|
35515
35515
|
return (_ctx, _cache) => {
|
|
35516
35516
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35517
|
-
class: vue.normalizeClass(getClass.value)
|
|
35517
|
+
class: vue.normalizeClass([vue.unref(prefixCls2), getClass.value])
|
|
35518
35518
|
}, [
|
|
35519
35519
|
vue.renderSlot(_ctx.$slots, "default")
|
|
35520
35520
|
], 2);
|
|
@@ -35609,7 +35609,7 @@ function usePagination(refProps) {
|
|
|
35609
35609
|
isShowPagination,
|
|
35610
35610
|
current: 1,
|
|
35611
35611
|
pageSize: PAGE_SIZE,
|
|
35612
|
-
size:
|
|
35612
|
+
// size: '',
|
|
35613
35613
|
defaultPageSize: PAGE_SIZE,
|
|
35614
35614
|
showTotal: (total) => vue.createVNode("span", null, [vue.createTextVNode("共 "), vue.createVNode("span", null, [total]), vue.createTextVNode(" 条")]),
|
|
35615
35615
|
showSizeChanger: true,
|
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.56",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"vue-json-pretty": "^2.2.3",
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
|
-
"@shy-plugins/
|
|
32
|
+
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
33
|
"@shy-plugins/utils": "1.0.0-next.1",
|
|
34
|
-
"@shy-plugins/
|
|
34
|
+
"@shy-plugins/use": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|