@aplus-frontend/ui 6.24.1 → 6.25.0
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/src/ag-grid/hooks/use-search-form.d.ts +3 -0
- package/es/src/ag-grid/hooks/use-search-form.mjs +41 -0
- package/es/src/ag-grid/index.vue.mjs +248 -270
- package/es/src/ag-grid/interface.d.ts +1 -0
- package/es/src/ap-form/interface.d.ts +1 -2
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +27 -24
- package/es/src/ap-form/search-form/index.vue.d.ts +9 -3
- package/es/src/ap-form/search-form/index.vue.mjs +116 -108
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
- package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -1
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +43 -37
- package/es/src/ap-pro-card/interface.d.ts +3 -1
- package/es/src/ap-pro-card/utils/css-var.mjs +10 -10
- package/es/src/business/ap-value-select-card/index.vue.d.ts +6 -0
- package/es/src/business/ap-value-select-card/index.vue2.mjs +88 -80
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +3 -0
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -0
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +1 -0
- package/lib/src/ap-form/interface.d.ts +1 -2
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +9 -3
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/interface.d.ts +3 -1
- package/lib/src/ap-pro-card/utils/css-var.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +6 -0
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +5 -5
- package/theme/ap-grid/index.css +4 -0
- package/theme/ap-grid/index.less +4 -0
- package/theme/ap-pro-card/index.css +36 -29
- package/theme/ap-pro-card/index.less +39 -20
- package/theme/ap-value-select-card/index.css +1 -0
- package/theme/ap-value-select-card/index.less +1 -0
- package/theme/index.css +41 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),z=require("@aplus-frontend/antdv"),T=require("@ant-design/icons-vue"),$=require("@aplus-frontend/icon");require("../../config-provider/index.js");const I=require("../../config-provider/hooks/use-namespace.js"),O=require("../../config-provider/hooks/use-global-config.js"),D=["onClick"],M={class:"label"},q={class:"value"},H=["onClick"],A=["onClick"],F={class:"label"},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),z=require("@aplus-frontend/antdv"),T=require("@ant-design/icons-vue"),$=require("@aplus-frontend/icon");require("../../config-provider/index.js");const I=require("../../config-provider/hooks/use-namespace.js"),O=require("../../config-provider/hooks/use-global-config.js"),D=["onClick"],M={class:"label"},q={class:"value"},H=["onClick"],A=["onClick"],F={class:"label"},R={class:"value"},P={class:"text"},_=e.defineComponent({name:"ApValueSelectCard",__name:"index",props:{options:{},selectedKeys:{default:()=>[]},highlightedKeys:{default:()=>[]},maxSelected:{default:4},maxRowDisplay:{default:4},popoverTitle:{default:""},showTitleIcon:{type:Boolean,default:!0},showCloseIcon:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},addButtonText:{default:""},getContainer:{type:Function,default:u=>u.parentElement||document.body},getCardStyle:{type:Function,default:()=>({})},wrapperStyle:{type:[Boolean,null,String,Object,Array]}},emits:["update:selectedKeys","update:highlightedKeys","change","select","remove","highlight"],setup(u,{expose:B,emit:N}){const i=N,l=u,{b:r,m:V}=I.useNamespace("ap-value-select-card"),w=O.useGlobalConfig("uiMode","aplus"),c=e.ref(null),d=e.ref(!1),h=e.computed(()=>l.options),g=e.computed(()=>h.value.filter(t=>l.selectedKeys.includes(t.key))),v=t=>l.selectedKeys.includes(t),m=t=>l.highlightedKeys.includes(t),C=t=>{l.selectedKeys.includes(t)?p(t):S(t)},S=t=>{if(l.maxSelected&&l.selectedKeys.length>=l.maxSelected)return;const s=[...l.selectedKeys,t];i("update:selectedKeys",s),i("change",s),i("select",t),l.highlightedKeys.includes(t)||f(t)},p=t=>{if(l.selectedKeys.length<=1||l.highlightedKeys.length<=1&&l.highlightedKeys.includes(t))return;const s=l.selectedKeys.filter(a=>a!==t);if(i("update:selectedKeys",s),i("change",s),i("remove",t),l.highlightedKeys.includes(t)){const a=l.highlightedKeys.filter(n=>n!==t);i("update:highlightedKeys",a),i("highlight",a)}},f=t=>{let s;if(l.highlightedKeys.includes(t))if(l.highlightedKeys.length>1)s=l.highlightedKeys.filter(a=>a!==t);else return;else s=[...l.highlightedKeys,t];i("update:highlightedKeys",s),i("highlight",s)},E=t=>{t||(d.value=t)};return B({popoverVisible:d,allOptions:h,selectedOptions:g,isSelected:v,isHighlighted:m,toggleOption:C,addOption:S,removeOption:p,highlightOption:f}),(t,s)=>{const a=e.resolveComponent("InfoCircleFilled");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(r)(),`${e.unref(V)(e.unref(w))}`]),style:e.normalizeStyle({...t.wrapperStyle,"--ap-value-select-card-column-count":t.maxRowDisplay})},[e.createVNode(e.unref(z.Popover),{open:d.value,trigger:"click",placement:"bottomRight",arrow:!1,"get-popup-container":t.getContainer,onOpenChange:E},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("popover"))},[t.popoverTitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r)("title"))},[t.showTitleIcon?(e.openBlock(),e.createBlock(a,{key:0,class:e.normalizeClass(e.unref(r)("title-icon"))},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.popoverTitle),1)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("list"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,n=>(e.openBlock(),e.createElementBlock("div",{key:n.key,class:e.normalizeClass([e.unref(r)("list-item"),"all",{select:v(n.key),disabled:t.maxSelected&&t.selectedKeys.length>=t.maxSelected}]),onClick:e.withModifiers(y=>C(n.key),["stop"])},[e.createElementVNode("div",M,[e.renderSlot(t.$slots,"popover-label",{option:n},()=>[e.createTextVNode(e.toDisplayString(n.label),1)])]),e.createElementVNode("div",q,[e.renderSlot(t.$slots,"popover-value",{option:n},()=>[e.createTextVNode(e.toDisplayString(n.value),1)])])],10,D))),128))],2)],2)]),default:e.withCtx(()=>{var n,y,k,K;return[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("list"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,o=>(e.openBlock(),e.createElementBlock("div",{key:o.key,ref_for:!0,ref_key:"listItemRef",ref:c,class:e.normalizeClass([e.unref(r)("list-item"),{select:m(o.key),custom:o.customClass},o.customClass]),style:e.normalizeStyle(t.getCardStyle(o.key)),onClick:e.withModifiers(b=>f(o.key),["stop"])},[t.showCloseIcon&&(!(t.highlightedKeys.length===1&&m(o.key))&&g.value.length>1)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r)("list-item-close")),onClick:e.withModifiers(b=>p(o.key),["stop"])},[e.renderSlot(t.$slots,"close-icon",{},()=>[e.createVNode(e.unref($.IconApAdLinePoor))])],10,A)):e.createCommentVNode("",!0),e.createElementVNode("div",F,[e.renderSlot(t.$slots,"label",{option:o},()=>[e.createTextVNode(e.toDisplayString(o.label),1)])]),e.createElementVNode("div",R,[e.renderSlot(t.$slots,"value",{option:o},()=>[e.createTextVNode(e.toDisplayString(o.value),1)])])],14,H))),128)),t.showAddButton&&(!t.maxSelected||t.selectedKeys.length<t.maxSelected)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(r)("list-item"),"choose"]),style:e.normalizeStyle({minHeight:c.value?`${(y=(n=c.value)==null?void 0:n[0])!=null&&y.offsetHeight?`${(K=(k=c.value)==null?void 0:k[0])==null?void 0:K.offsetHeight}px`:"auto"}`:"auto"}),onClick:s[0]||(s[0]=e.withModifiers(o=>d.value=!0,["stop"]))},[e.renderSlot(t.$slots,"add-button",{},()=>[e.createVNode(e.unref(T.PlusOutlined)),e.createElementVNode("span",P,e.toDisplayString(t.addButtonText),1)])],6)):e.createCommentVNode("",!0)],2)]}),_:3},8,["open","get-popup-container"])],6)}}});exports.default=_;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "6.
|
|
1
|
+
declare const _default: "6.25.0";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.25.0";exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.25.0",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
38
38
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
39
39
|
"vuedraggable": "^4.1.0",
|
|
40
|
-
"@aplus-frontend/
|
|
41
|
-
"@aplus-frontend/
|
|
40
|
+
"@aplus-frontend/utils": "1.0.61",
|
|
41
|
+
"@aplus-frontend/hooks": "1.0.7"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
44
|
+
"@aplus-frontend/antdv": "^1.2.3",
|
|
45
45
|
"@aplus-frontend/icon": "^1.2.6",
|
|
46
46
|
"@aplus-frontend/oss": "^1.1.2",
|
|
47
47
|
"vue": "^3.5.14",
|
|
48
48
|
"vxe-table": "^4.13.37"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
51
|
+
"@aplus-frontend/antdv": "^1.2.3",
|
|
52
52
|
"@aplus-frontend/icon": "^1.2.6",
|
|
53
53
|
"@aplus-frontend/oss": "^1.1.2",
|
|
54
54
|
"@types/sortablejs": "^1.15.8",
|
package/theme/ap-grid/index.css
CHANGED
package/theme/ap-grid/index.less
CHANGED
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
transition: all 0.3s;
|
|
55
55
|
background: var(--ap-pro-card-colo-bg-container);
|
|
56
56
|
border-radius: var(--ap-pro-card-border-radius);
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
line-height: 18px;
|
|
57
59
|
}
|
|
58
60
|
.aplus-pro-card-border {
|
|
59
61
|
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
@@ -83,7 +85,7 @@
|
|
|
83
85
|
}
|
|
84
86
|
.aplus-pro-card-header-title-tooltip {
|
|
85
87
|
margin-left: 5px;
|
|
86
|
-
font-size:
|
|
88
|
+
font-size: 12px;
|
|
87
89
|
color: var(--ap-pro-card-tooltip-color);
|
|
88
90
|
}
|
|
89
91
|
.aplus-pro-card-header-extra {
|
|
@@ -382,24 +384,26 @@
|
|
|
382
384
|
.aplus-pro-card-statistic-content {
|
|
383
385
|
width: 100%;
|
|
384
386
|
}
|
|
385
|
-
.aplus-pro-card-statistic-content .ant-statistic-content
|
|
386
|
-
font-size: 22px;
|
|
387
|
-
font-weight: bold;
|
|
388
|
-
}
|
|
389
|
-
.aplus-pro-card-statistic-content .ant-statistic-content-value {
|
|
390
|
-
font-size: 22px;
|
|
391
|
-
font-weight: bold;
|
|
392
|
-
}
|
|
393
|
-
.aplus-pro-card-statistic-content .ant-statistic-content-value-decimal {
|
|
387
|
+
.aplus-pro-card-statistic-content .ant-statistic-content {
|
|
394
388
|
font-size: 22px;
|
|
389
|
+
line-height: 24px;
|
|
395
390
|
font-weight: bold;
|
|
391
|
+
font-family: DDinBold, OPPOSans, sans-serif;
|
|
396
392
|
}
|
|
397
393
|
.aplus-pro-card-statistic-description {
|
|
398
394
|
width: 100%;
|
|
399
395
|
}
|
|
400
396
|
.aplus-pro-card-statistic .ant-statistic-title {
|
|
401
|
-
color: var(--ap-text-color-
|
|
397
|
+
color: var(--ap-text-color-1);
|
|
398
|
+
font-size: 12px;
|
|
402
399
|
line-height: 18px;
|
|
400
|
+
margin-bottom: 8px;
|
|
401
|
+
}
|
|
402
|
+
.aplus-pro-card-statistic-size-small .ant-statistic-title {
|
|
403
|
+
margin-bottom: 4px;
|
|
404
|
+
}
|
|
405
|
+
.aplus-pro-card-statistic-size-small .ant-statistic-content {
|
|
406
|
+
font-size: 16px;
|
|
403
407
|
}
|
|
404
408
|
.aplus-pro-card-statistic-trend-up .ant-statistic-content {
|
|
405
409
|
color: var(--ap-color-error);
|
|
@@ -419,40 +423,43 @@
|
|
|
419
423
|
}
|
|
420
424
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
|
|
421
425
|
margin-block-end: 0;
|
|
426
|
+
color: var(--ap-text-color-3);
|
|
422
427
|
}
|
|
423
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content
|
|
428
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content {
|
|
429
|
+
color: var(--ap-text-color-2);
|
|
430
|
+
font-size: 12px;
|
|
431
|
+
line-height: 18px;
|
|
424
432
|
font-weight: 500;
|
|
425
433
|
}
|
|
426
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-suffix,
|
|
431
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-prefix,
|
|
432
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value-decimal {
|
|
433
|
-
font-size: 14px;
|
|
434
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
|
|
435
|
+
font-size: 12px;
|
|
436
|
+
line-height: 18px;
|
|
437
|
+
font-weight: 500;
|
|
434
438
|
}
|
|
435
439
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline {
|
|
436
440
|
display: inline-flex;
|
|
437
|
-
color: var(--ap-text-color-1);
|
|
438
441
|
}
|
|
439
442
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
|
|
440
443
|
margin-inline-end: 6px;
|
|
441
444
|
margin-block-end: 0;
|
|
445
|
+
color: var(--ap-text-color-3);
|
|
442
446
|
}
|
|
443
447
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content {
|
|
444
|
-
color: var(--ap-text-color-
|
|
448
|
+
color: var(--ap-text-color-2);
|
|
449
|
+
font-size: 12px;
|
|
450
|
+
line-height: 18px;
|
|
451
|
+
font-weight: 500;
|
|
445
452
|
}
|
|
446
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title
|
|
447
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value,
|
|
448
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-int,
|
|
449
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content,
|
|
450
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-suffix,
|
|
451
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-prefix,
|
|
452
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-decimal {
|
|
453
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
|
|
453
454
|
font-size: 12px;
|
|
455
|
+
line-height: 18px;
|
|
454
456
|
font-weight: 500;
|
|
455
457
|
}
|
|
458
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-vertical-center {
|
|
459
|
+
display: flex;
|
|
460
|
+
flex-direction: column;
|
|
461
|
+
align-items: center;
|
|
462
|
+
}
|
|
456
463
|
.aplus-statistic-card-chart {
|
|
457
464
|
display: flex;
|
|
458
465
|
flex-direction: column;
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
transition: all 0.3s;
|
|
11
11
|
background: var(--ap-pro-card-colo-bg-container);
|
|
12
12
|
border-radius: var(--ap-pro-card-border-radius);
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
line-height: 18px;
|
|
13
15
|
&-border {
|
|
14
16
|
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
15
17
|
}
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
font-weight: 500;
|
|
37
39
|
&-tooltip {
|
|
38
40
|
margin-left: 5px;
|
|
39
|
-
font-size:
|
|
41
|
+
font-size: 12px;
|
|
40
42
|
color: var(--ap-pro-card-tooltip-color);
|
|
41
43
|
}
|
|
42
44
|
}
|
|
@@ -257,26 +259,28 @@
|
|
|
257
259
|
&-content {
|
|
258
260
|
width: 100%;
|
|
259
261
|
.ant-statistic-content {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
&-value {
|
|
265
|
-
font-size: 22px;
|
|
266
|
-
font-weight: bold;
|
|
267
|
-
}
|
|
268
|
-
&-value-decimal {
|
|
269
|
-
font-size: 22px;
|
|
270
|
-
font-weight: bold;
|
|
271
|
-
}
|
|
262
|
+
font-size: 22px;
|
|
263
|
+
line-height: 24px;
|
|
264
|
+
font-weight: bold;
|
|
265
|
+
font-family: DDinBold,OPPOSans,sans-serif;
|
|
272
266
|
}
|
|
273
267
|
}
|
|
274
268
|
&-description {
|
|
275
269
|
width: 100%;
|
|
276
270
|
}
|
|
277
271
|
.ant-statistic-title {
|
|
278
|
-
color: var(--ap-text-color-
|
|
272
|
+
color: var(--ap-text-color-1);
|
|
273
|
+
font-size: 12px;
|
|
279
274
|
line-height: 18px;
|
|
275
|
+
margin-bottom: 8px;
|
|
276
|
+
}
|
|
277
|
+
&-size-small {
|
|
278
|
+
.ant-statistic-title {
|
|
279
|
+
margin-bottom: 4px;
|
|
280
|
+
}
|
|
281
|
+
.ant-statistic-content {
|
|
282
|
+
font-size: 16px;
|
|
283
|
+
}
|
|
280
284
|
}
|
|
281
285
|
&-trend-up {
|
|
282
286
|
.ant-statistic-content {
|
|
@@ -300,29 +304,44 @@
|
|
|
300
304
|
justify-content: space-between;
|
|
301
305
|
.ant-statistic-title {
|
|
302
306
|
margin-block-end: 0;
|
|
307
|
+
color: var(--ap-text-color-3);
|
|
303
308
|
}
|
|
304
|
-
.ant-statistic-content
|
|
309
|
+
.ant-statistic-content {
|
|
310
|
+
color: var(--ap-text-color-2);
|
|
311
|
+
font-size: 12px;
|
|
312
|
+
line-height: 18px;
|
|
305
313
|
font-weight: 500;
|
|
306
314
|
}
|
|
307
|
-
.ant-statistic-title
|
|
308
|
-
font-size:
|
|
315
|
+
.ant-statistic-title {
|
|
316
|
+
font-size: 12px;
|
|
317
|
+
line-height: 18px;
|
|
318
|
+
font-weight: 500;
|
|
309
319
|
}
|
|
310
320
|
}
|
|
311
321
|
& &-layout-inline {
|
|
312
322
|
display: inline-flex;
|
|
313
|
-
color: var(--ap-text-color-1);
|
|
314
323
|
.ant-statistic-title {
|
|
315
324
|
margin-inline-end: 6px;
|
|
316
325
|
margin-block-end: 0;
|
|
326
|
+
color: var(--ap-text-color-3);
|
|
317
327
|
}
|
|
318
328
|
.ant-statistic-content {
|
|
319
|
-
color: var(--ap-text-color-
|
|
329
|
+
color: var(--ap-text-color-2);
|
|
330
|
+
font-size: 12px;
|
|
331
|
+
line-height: 18px;
|
|
332
|
+
font-weight: 500;
|
|
320
333
|
}
|
|
321
|
-
.ant-statistic-title
|
|
334
|
+
.ant-statistic-title {
|
|
322
335
|
font-size: 12px;
|
|
336
|
+
line-height: 18px;
|
|
323
337
|
font-weight: 500;
|
|
324
338
|
}
|
|
325
339
|
}
|
|
340
|
+
& &-layout-vertical-center {
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-direction: column;;
|
|
343
|
+
align-items: center;
|
|
344
|
+
}
|
|
326
345
|
});
|
|
327
346
|
|
|
328
347
|
.b(statistic-card, {
|
package/theme/index.css
CHANGED
|
@@ -3573,6 +3573,10 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
3573
3573
|
.aplus-ap-grid .vxe-cell--checkbox span.vxe-checkbox--icon {
|
|
3574
3574
|
vertical-align: text-top;
|
|
3575
3575
|
}
|
|
3576
|
+
.aplus-ap-grid div.vxe-cell--tree-btn > i {
|
|
3577
|
+
font-size: 10px;
|
|
3578
|
+
color: var(--ap-text-color-2);
|
|
3579
|
+
}
|
|
3576
3580
|
.aplus-editable-grid__header-cell--required {
|
|
3577
3581
|
color: #FF4D4F;
|
|
3578
3582
|
padding-right: 2px;
|
|
@@ -4410,6 +4414,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4410
4414
|
color: #8896b0;
|
|
4411
4415
|
background: #f9f9fa;
|
|
4412
4416
|
cursor: not-allowed;
|
|
4417
|
+
border: 1px solid var(--ap-color-bg);
|
|
4413
4418
|
}
|
|
4414
4419
|
.aplus-ap-value-select-card-list-item.all.select {
|
|
4415
4420
|
background: #f5f9ff;
|
|
@@ -4464,6 +4469,8 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4464
4469
|
transition: all 0.3s;
|
|
4465
4470
|
background: var(--ap-pro-card-colo-bg-container);
|
|
4466
4471
|
border-radius: var(--ap-pro-card-border-radius);
|
|
4472
|
+
font-size: 12px;
|
|
4473
|
+
line-height: 18px;
|
|
4467
4474
|
}
|
|
4468
4475
|
.aplus-pro-card-border {
|
|
4469
4476
|
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
@@ -4493,7 +4500,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4493
4500
|
}
|
|
4494
4501
|
.aplus-pro-card-header-title-tooltip {
|
|
4495
4502
|
margin-left: 5px;
|
|
4496
|
-
font-size:
|
|
4503
|
+
font-size: 12px;
|
|
4497
4504
|
color: var(--ap-pro-card-tooltip-color);
|
|
4498
4505
|
}
|
|
4499
4506
|
.aplus-pro-card-header-extra {
|
|
@@ -4792,24 +4799,26 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4792
4799
|
.aplus-pro-card-statistic-content {
|
|
4793
4800
|
width: 100%;
|
|
4794
4801
|
}
|
|
4795
|
-
.aplus-pro-card-statistic-content .ant-statistic-content
|
|
4796
|
-
font-size: 22px;
|
|
4797
|
-
font-weight: bold;
|
|
4798
|
-
}
|
|
4799
|
-
.aplus-pro-card-statistic-content .ant-statistic-content-value {
|
|
4800
|
-
font-size: 22px;
|
|
4801
|
-
font-weight: bold;
|
|
4802
|
-
}
|
|
4803
|
-
.aplus-pro-card-statistic-content .ant-statistic-content-value-decimal {
|
|
4802
|
+
.aplus-pro-card-statistic-content .ant-statistic-content {
|
|
4804
4803
|
font-size: 22px;
|
|
4804
|
+
line-height: 24px;
|
|
4805
4805
|
font-weight: bold;
|
|
4806
|
+
font-family: DDinBold, OPPOSans, sans-serif;
|
|
4806
4807
|
}
|
|
4807
4808
|
.aplus-pro-card-statistic-description {
|
|
4808
4809
|
width: 100%;
|
|
4809
4810
|
}
|
|
4810
4811
|
.aplus-pro-card-statistic .ant-statistic-title {
|
|
4811
|
-
color: var(--ap-text-color-
|
|
4812
|
+
color: var(--ap-text-color-1);
|
|
4813
|
+
font-size: 12px;
|
|
4812
4814
|
line-height: 18px;
|
|
4815
|
+
margin-bottom: 8px;
|
|
4816
|
+
}
|
|
4817
|
+
.aplus-pro-card-statistic-size-small .ant-statistic-title {
|
|
4818
|
+
margin-bottom: 4px;
|
|
4819
|
+
}
|
|
4820
|
+
.aplus-pro-card-statistic-size-small .ant-statistic-content {
|
|
4821
|
+
font-size: 16px;
|
|
4813
4822
|
}
|
|
4814
4823
|
.aplus-pro-card-statistic-trend-up .ant-statistic-content {
|
|
4815
4824
|
color: var(--ap-color-error);
|
|
@@ -4829,40 +4838,43 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4829
4838
|
}
|
|
4830
4839
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
|
|
4831
4840
|
margin-block-end: 0;
|
|
4841
|
+
color: var(--ap-text-color-3);
|
|
4832
4842
|
}
|
|
4833
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content
|
|
4843
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content {
|
|
4844
|
+
color: var(--ap-text-color-2);
|
|
4845
|
+
font-size: 12px;
|
|
4846
|
+
line-height: 18px;
|
|
4834
4847
|
font-weight: 500;
|
|
4835
4848
|
}
|
|
4836
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-suffix,
|
|
4841
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-prefix,
|
|
4842
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value-decimal {
|
|
4843
|
-
font-size: 14px;
|
|
4849
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
|
|
4850
|
+
font-size: 12px;
|
|
4851
|
+
line-height: 18px;
|
|
4852
|
+
font-weight: 500;
|
|
4844
4853
|
}
|
|
4845
4854
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline {
|
|
4846
4855
|
display: inline-flex;
|
|
4847
|
-
color: var(--ap-text-color-1);
|
|
4848
4856
|
}
|
|
4849
4857
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
|
|
4850
4858
|
margin-inline-end: 6px;
|
|
4851
4859
|
margin-block-end: 0;
|
|
4860
|
+
color: var(--ap-text-color-3);
|
|
4852
4861
|
}
|
|
4853
4862
|
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content {
|
|
4854
|
-
color: var(--ap-text-color-
|
|
4863
|
+
color: var(--ap-text-color-2);
|
|
4864
|
+
font-size: 12px;
|
|
4865
|
+
line-height: 18px;
|
|
4866
|
+
font-weight: 500;
|
|
4855
4867
|
}
|
|
4856
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title
|
|
4857
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value,
|
|
4858
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-int,
|
|
4859
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content,
|
|
4860
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-suffix,
|
|
4861
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-prefix,
|
|
4862
|
-
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-decimal {
|
|
4868
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
|
|
4863
4869
|
font-size: 12px;
|
|
4870
|
+
line-height: 18px;
|
|
4864
4871
|
font-weight: 500;
|
|
4865
4872
|
}
|
|
4873
|
+
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-vertical-center {
|
|
4874
|
+
display: flex;
|
|
4875
|
+
flex-direction: column;
|
|
4876
|
+
align-items: center;
|
|
4877
|
+
}
|
|
4866
4878
|
.aplus-statistic-card-chart {
|
|
4867
4879
|
display: flex;
|
|
4868
4880
|
flex-direction: column;
|