@aplus-frontend/ui 6.20.0 → 6.21.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/index.mjs +159 -155
- package/es/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/es/src/ap-field/hooks/use-default-presets.mjs +18 -12
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/es/src/ap-pro-card/components/card/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +226 -0
- package/es/src/ap-pro-card/index.d.ts +42 -0
- package/es/src/ap-pro-card/index.mjs +7 -0
- package/es/src/ap-pro-card/interface.d.ts +61 -0
- package/es/src/ap-pro-card/style/css.d.ts +0 -0
- package/es/src/ap-pro-card/style/css.js +1 -0
- package/es/src/ap-pro-card/style/index.d.ts +0 -0
- package/es/src/ap-pro-card/style/index.js +1 -0
- package/es/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/es/src/ap-pro-card/utils/css-var.mjs +29 -0
- package/es/src/business/ap-value-select-card/index.d.ts +8 -0
- package/es/src/business/ap-value-select-card/index.mjs +9 -0
- package/es/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/es/src/business/ap-value-select-card/index.vue.mjs +4 -0
- package/es/src/business/ap-value-select-card/index.vue2.mjs +186 -0
- package/es/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/es/src/business/ap-value-select-card/interface.mjs +1 -0
- package/es/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/css.js +1 -0
- package/es/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/index.js +1 -0
- package/es/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/es/src/business/ap-value-select-card/utils.mjs +9 -0
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +15 -13
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +275 -271
- package/es/src/path-map.mjs +3 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/lib/src/ap-pro-card/components/card/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/index.d.ts +42 -0
- package/lib/src/ap-pro-card/index.js +1 -0
- package/lib/src/ap-pro-card/interface.d.ts +61 -0
- package/lib/src/ap-pro-card/style/css.cjs +1 -0
- package/lib/src/ap-pro-card/style/css.d.ts +0 -0
- package/lib/src/ap-pro-card/style/index.cjs +1 -0
- package/lib/src/ap-pro-card/style/index.d.ts +0 -0
- package/lib/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/lib/src/ap-pro-card/utils/css-var.js +1 -0
- package/lib/src/business/ap-value-select-card/index.d.ts +8 -0
- package/lib/src/business/ap-value-select-card/index.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/lib/src/business/ap-value-select-card/index.vue.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -0
- package/lib/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/lib/src/business/ap-value-select-card/interface.js +1 -0
- package/lib/src/business/ap-value-select-card/style/css.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/style/index.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/lib/src/business/ap-value-select-card/utils.js +1 -0
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
- package/theme/ap-pro-card/index.css +259 -0
- package/theme/ap-pro-card/index.less +129 -0
- package/theme/ap-value-select-card/index.css +163 -0
- package/theme/ap-value-select-card/index.less +157 -0
- package/theme/index.css +330 -0
- package/theme/index.less +2 -0
package/lib/src/path-map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={ApActionItem:["ap-action","item"],ApActionItemModal:["ap-action","item-modal"],ApActionItemPopconfirm:["ap-action","item-popconfirm"],ApActionItemDropdown:["ap-action","item-dropdown"],ApActionGroup:["ap-action","group"],ApButton:["ap-button"],ApActionButton:["ap-action-button"],ApDescriptions:["ap-descriptions"],ApDownload:["ap-download"],ApField:["ap-field"],ApFieldText:["ap-field","text"],ApFieldCheckbox:["ap-field","checkbox"],ApFieldDate:["ap-field","date"],ApFieldNumber:["ap-field","number"],ApFieldRadio:["ap-field","radio"],ApFieldSwitch:["ap-field","switch"],ApFieldTextArea:["ap-field","text-area"],ApFieldDateRange:["ap-field","date-range"],ApFieldSelect:["ap-field","select"],ApFieldPassword:["ap-field","password"],ApFieldSlider:["ap-field","slider"],ApFieldSegmented:["ap-field","segmented"],ApFieldDateRate:["ap-field","rate"],ApFieldTreeSelect:["ap-field","tree-select"],ApForm:["ap-form"],ApFormItem:["ap-form","item"],ApFormItemGroup:["ap-form","item-group"],ApFormList:["ap-form","list"],ApFormSearchForm:["ap-form","search-form"],ApFormModalForm:["ap-form","modal-form"],ApFormDependency:["ap-form","dependency"],ApFormSet:["ap-form","set"],ApFormDrawerForm:["ap-form","drawer-form"],ApFormItemText:["ap-form","item-text"],ApFormItemTextArea:["ap-form","item-text-area"],ApFormItemNumber:["ap-form","item-number"],ApFormItemDate:["ap-form","item-date"],ApFormItemDateRange:["ap-form","item-date-range"],ApFormItemRadio:["ap-form","item-radio"],ApFormItemSelect:["ap-form","item-select"],ApFormItemSwitch:["ap-form","item-switch"],ApFormItemCheckbox:["ap-form","item-checkbox"],ApFormItemTextPassword:["ap-form","item-text-password"],ApFormItemTreeSelect:["ap-form","item-tree-select"],ApFormItemTextGroup:["ap-form","item-text-group"],ApList:["ap-list"],ApModal:["ap-modal"],ApDrawer:["ap-drawer"],ApTable:["ap-table"],ApTag:["ap-tag"],ApTagGroup:["ap-tag","group"],ApUpload:["ap-upload"],CheckCard:["check-card"],CheckCardGroup:["check-card","group"],ConfigProvider:["config-provider"],EditableTable:["editable-table"],EditableTableFormItem:["editable-table","form-item"],WorkOrderModal:["work-order-modal"],ApAttachment:["business","ap-attachment"],ApBatchAction:["business","ap-batch-action"],ApBatchActionGroup:["business","ap-batch-action-group"],ApButtonGroup:["business","ap-button-group"],ApCard:["business","ap-card"],ApExpandAlert:["business","ap-expand-alert"],ApExportGroup:["business","ap-export-group"],ApImage:["business","ap-image"],ApInputRadio:["business","ap-input-radio"],ApSizeInput:["business","ap-size-input"],ApLabel:["business","ap-label"],ApLabelGroup:["business","ap-label","group"],ApLadder:["business","ap-ladder"],ApProductInfo:["business","ap-product-info"],ApCopy:["business","ap-copy"],ApSelectLayout:["business","ap-select-layout"],ApStatus:["business","ap-status"],ApStatusGroup:["business","ap-status","group"],ApTableModal:["business","ap-table-modal"],useTableModal:["business","ap-table-modal"],useTableSelectModal:["business","ap-table-modal"],ApTitle:["business","ap-title"],ApSummary:["business","ap-summary"],ScrollBar:["scroll-bar"],ScrollView:["scroll-view"],ApAppendix:["business","ap-appendix"],ApPopoverSelect:["business","ap-group-search","popover-select"],ApExtensionSelect:["business","ap-group-search","extension-select"],ApUploadSingle:["business","ap-upload-file","ap-upload-single"],BatchInputGroup:["business","batch-input-group"],ApFormControlRender:["ap-form","render"],ApFormItemRender:["ap-form","render"],Portal:["portal"],FullScreen:["full-screen"],ResizeObserver:["resize-observer"],ApGrid:["ap-grid"],EditableGrid:["ap-grid","editable"],EditableGridFormItem:["ap-grid","editable"],ApText:["text"],Mask:["mask"],Splitter:["splitter"],ApView:["business","ap-view"],ApRadioGroup:["business","ap-radio-group"],ApDraggableGrid:["business","ap-draggable-grid"]};exports.default=e;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={ApActionItem:["ap-action","item"],ApActionItemModal:["ap-action","item-modal"],ApActionItemPopconfirm:["ap-action","item-popconfirm"],ApActionItemDropdown:["ap-action","item-dropdown"],ApActionGroup:["ap-action","group"],ApButton:["ap-button"],ApActionButton:["ap-action-button"],ApDescriptions:["ap-descriptions"],ApDownload:["ap-download"],ApField:["ap-field"],ApFieldText:["ap-field","text"],ApFieldCheckbox:["ap-field","checkbox"],ApFieldDate:["ap-field","date"],ApFieldNumber:["ap-field","number"],ApFieldRadio:["ap-field","radio"],ApFieldSwitch:["ap-field","switch"],ApFieldTextArea:["ap-field","text-area"],ApFieldDateRange:["ap-field","date-range"],ApFieldSelect:["ap-field","select"],ApFieldPassword:["ap-field","password"],ApFieldSlider:["ap-field","slider"],ApFieldSegmented:["ap-field","segmented"],ApFieldDateRate:["ap-field","rate"],ApFieldTreeSelect:["ap-field","tree-select"],ApForm:["ap-form"],ApFormItem:["ap-form","item"],ApFormItemGroup:["ap-form","item-group"],ApFormList:["ap-form","list"],ApFormSearchForm:["ap-form","search-form"],ApFormModalForm:["ap-form","modal-form"],ApFormDependency:["ap-form","dependency"],ApFormSet:["ap-form","set"],ApFormDrawerForm:["ap-form","drawer-form"],ApFormItemText:["ap-form","item-text"],ApFormItemTextArea:["ap-form","item-text-area"],ApFormItemNumber:["ap-form","item-number"],ApFormItemDate:["ap-form","item-date"],ApFormItemDateRange:["ap-form","item-date-range"],ApFormItemRadio:["ap-form","item-radio"],ApFormItemSelect:["ap-form","item-select"],ApFormItemSwitch:["ap-form","item-switch"],ApFormItemCheckbox:["ap-form","item-checkbox"],ApFormItemTextPassword:["ap-form","item-text-password"],ApFormItemTreeSelect:["ap-form","item-tree-select"],ApFormItemTextGroup:["ap-form","item-text-group"],ApList:["ap-list"],ApModal:["ap-modal"],ApDrawer:["ap-drawer"],ApTable:["ap-table"],ApTag:["ap-tag"],ApTagGroup:["ap-tag","group"],ApUpload:["ap-upload"],CheckCard:["check-card"],CheckCardGroup:["check-card","group"],ConfigProvider:["config-provider"],EditableTable:["editable-table"],EditableTableFormItem:["editable-table","form-item"],WorkOrderModal:["work-order-modal"],ApAttachment:["business","ap-attachment"],ApBatchAction:["business","ap-batch-action"],ApBatchActionGroup:["business","ap-batch-action-group"],ApButtonGroup:["business","ap-button-group"],ApCard:["business","ap-card"],ApExpandAlert:["business","ap-expand-alert"],ApExportGroup:["business","ap-export-group"],ApImage:["business","ap-image"],ApInputRadio:["business","ap-input-radio"],ApSizeInput:["business","ap-size-input"],ApLabel:["business","ap-label"],ApLabelGroup:["business","ap-label","group"],ApLadder:["business","ap-ladder"],ApProductInfo:["business","ap-product-info"],ApCopy:["business","ap-copy"],ApSelectLayout:["business","ap-select-layout"],ApStatus:["business","ap-status"],ApStatusGroup:["business","ap-status","group"],ApTableModal:["business","ap-table-modal"],useTableModal:["business","ap-table-modal"],useTableSelectModal:["business","ap-table-modal"],ApTitle:["business","ap-title"],ApSummary:["business","ap-summary"],ScrollBar:["scroll-bar"],ScrollView:["scroll-view"],ApAppendix:["business","ap-appendix"],ApPopoverSelect:["business","ap-group-search","popover-select"],ApExtensionSelect:["business","ap-group-search","extension-select"],ApUploadSingle:["business","ap-upload-file","ap-upload-single"],BatchInputGroup:["business","batch-input-group"],ApFormControlRender:["ap-form","render"],ApFormItemRender:["ap-form","render"],Portal:["portal"],FullScreen:["full-screen"],ResizeObserver:["resize-observer"],ApGrid:["ap-grid"],EditableGrid:["ap-grid","editable"],EditableGridFormItem:["ap-grid","editable"],ApText:["text"],Mask:["mask"],Splitter:["splitter"],ApView:["business","ap-view"],ApRadioGroup:["business","ap-radio-group"],ApDraggableGrid:["business","ap-draggable-grid"],ApValueSelectCard:["business","ap-value-select-card"],ApProCard:["ap-pro-card"]};exports.default=e;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "6.
|
|
1
|
+
declare const _default: "6.21.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.21.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.21.0",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@aplus-frontend/hooks": "1.0.7"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
42
|
+
"@aplus-frontend/antdv": "^1.2.1",
|
|
43
43
|
"@aplus-frontend/icon": "^1.2.6",
|
|
44
44
|
"@aplus-frontend/oss": "^1.1.2",
|
|
45
45
|
"vue": "^3.5.14",
|
|
46
46
|
"vxe-table": "^4.13.37"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
49
|
+
"@aplus-frontend/antdv": "^1.2.1",
|
|
50
50
|
"@aplus-frontend/icon": "^1.2.6",
|
|
51
51
|
"@aplus-frontend/oss": "^1.1.2",
|
|
52
52
|
"@types/sortablejs": "^1.15.8",
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
.reset-component {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
color: #182948;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
font-family: inherit;
|
|
8
|
+
line-height: 18px;
|
|
9
|
+
list-style: none;
|
|
10
|
+
}
|
|
11
|
+
.reset-scrollbar ::-webkit-scrollbar {
|
|
12
|
+
width: 10px;
|
|
13
|
+
height: 10px;
|
|
14
|
+
}
|
|
15
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb {
|
|
16
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
17
|
+
background-clip: content-box;
|
|
18
|
+
border: 1px solid transparent;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
}
|
|
21
|
+
.reset-scrollbar ::-webkit-scrollbar-track,
|
|
22
|
+
.reset-scrollbar ::-webkit-scrollbar-corner {
|
|
23
|
+
background-color: var(--ap-table-header-bg, #f2f6f9);
|
|
24
|
+
}
|
|
25
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:hover,
|
|
26
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:active {
|
|
27
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
28
|
+
}
|
|
29
|
+
.clear-fix::before {
|
|
30
|
+
display: table;
|
|
31
|
+
content: '';
|
|
32
|
+
}
|
|
33
|
+
.clear-fix::after {
|
|
34
|
+
display: table;
|
|
35
|
+
clear: both;
|
|
36
|
+
content: '';
|
|
37
|
+
}
|
|
38
|
+
.common-style {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
font-family: inherit;
|
|
42
|
+
}
|
|
43
|
+
.common-style::before,
|
|
44
|
+
.common-style::after {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
.aplus-pro-card {
|
|
48
|
+
position: relative;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
padding: 0;
|
|
53
|
+
width: 100%;
|
|
54
|
+
transition: all 0.3s;
|
|
55
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
56
|
+
border-radius: var(--ap-pro-card-border-radius);
|
|
57
|
+
}
|
|
58
|
+
.aplus-pro-card-border {
|
|
59
|
+
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
60
|
+
}
|
|
61
|
+
.aplus-pro-card-box-shadow {
|
|
62
|
+
border-color: transparent;
|
|
63
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
64
|
+
}
|
|
65
|
+
.aplus-pro-card-hoverable {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
transition: box-shadow 0.3s, border-color 0.3s;
|
|
68
|
+
}
|
|
69
|
+
.aplus-pro-card-hoverable:hover {
|
|
70
|
+
border-color: transparent;
|
|
71
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
72
|
+
}
|
|
73
|
+
.aplus-pro-card-header {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
padding: var(--ap-pro-card-header-padding);
|
|
77
|
+
}
|
|
78
|
+
.aplus-pro-card-header-title {
|
|
79
|
+
display: flex;
|
|
80
|
+
font-size: var(--ap-pro-card-header-title-font-size);
|
|
81
|
+
color: var(--ap-pro-card-header-title-font-color);
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
}
|
|
84
|
+
.aplus-pro-card-header-title-tooltip {
|
|
85
|
+
margin-left: 5px;
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
color: var(--ap-pro-card-tooltip-color);
|
|
88
|
+
}
|
|
89
|
+
.aplus-pro-card-header-extra {
|
|
90
|
+
margin-inline-start: auto;
|
|
91
|
+
}
|
|
92
|
+
.aplus-pro-card-header-border {
|
|
93
|
+
padding-block-end: var(--ap-pro-card-header-padding-bottom);
|
|
94
|
+
border-block-end: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
95
|
+
}
|
|
96
|
+
.aplus-pro-card-type-inner > .aplus-pro-card-header {
|
|
97
|
+
background: var(--ap-pro-card-area-color);
|
|
98
|
+
}
|
|
99
|
+
.aplus-pro-card-body {
|
|
100
|
+
display: block;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
height: 100%;
|
|
103
|
+
padding: var(--ap-pro-card-body-padding);
|
|
104
|
+
}
|
|
105
|
+
.aplus-pro-card-body-center {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
}
|
|
110
|
+
.aplus-pro-card-body-direction-column {
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
}
|
|
113
|
+
.aplus-pro-card-body-wrap {
|
|
114
|
+
flex-wrap: wrap;
|
|
115
|
+
}
|
|
116
|
+
.aplus-pro-card-contain-card > .aplus-pro-card-body {
|
|
117
|
+
display: flex;
|
|
118
|
+
}
|
|
119
|
+
.aplus-pro-card-split > .aplus-pro-card-body {
|
|
120
|
+
padding: 0;
|
|
121
|
+
}
|
|
122
|
+
.aplus-pro-card-ghost {
|
|
123
|
+
background: transparent;
|
|
124
|
+
}
|
|
125
|
+
.aplus-pro-card-ghost > .aplus-pro-card-body {
|
|
126
|
+
background: transparent;
|
|
127
|
+
padding: 0;
|
|
128
|
+
}
|
|
129
|
+
.aplus-pro-card-col {
|
|
130
|
+
width: 100%;
|
|
131
|
+
}
|
|
132
|
+
.aplus-pro-card-col-split-vertical {
|
|
133
|
+
position: relative;
|
|
134
|
+
}
|
|
135
|
+
.aplus-pro-card-col-split-vertical::after {
|
|
136
|
+
position: absolute;
|
|
137
|
+
height: var(--ap-pro-card-split-line-height);
|
|
138
|
+
top: 50%;
|
|
139
|
+
transform: translateY(-50%);
|
|
140
|
+
right: 0;
|
|
141
|
+
border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
142
|
+
content: '';
|
|
143
|
+
}
|
|
144
|
+
.aplus-pro-card-col-split-horizontal {
|
|
145
|
+
position: relative;
|
|
146
|
+
}
|
|
147
|
+
.aplus-pro-card-col-split-horizontal::after {
|
|
148
|
+
position: absolute;
|
|
149
|
+
width: var(--ap-pro-card-split-line-height);
|
|
150
|
+
left: 50%;
|
|
151
|
+
transform: translateX(-50%);
|
|
152
|
+
bottom: 0;
|
|
153
|
+
border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
154
|
+
content: '';
|
|
155
|
+
}
|
|
156
|
+
.aplus-pro-card-col-span-0 {
|
|
157
|
+
display: none;
|
|
158
|
+
}
|
|
159
|
+
.aplus-pro-card-col-span-1 {
|
|
160
|
+
flex-shrink: 0;
|
|
161
|
+
width: calc((1 / 24) * 100%);
|
|
162
|
+
}
|
|
163
|
+
.aplus-pro-card-col-span-2 {
|
|
164
|
+
flex-shrink: 0;
|
|
165
|
+
width: calc((2 / 24) * 100%);
|
|
166
|
+
}
|
|
167
|
+
.aplus-pro-card-col-span-3 {
|
|
168
|
+
flex-shrink: 0;
|
|
169
|
+
width: calc((3 / 24) * 100%);
|
|
170
|
+
}
|
|
171
|
+
.aplus-pro-card-col-span-4 {
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
width: calc((4 / 24) * 100%);
|
|
174
|
+
}
|
|
175
|
+
.aplus-pro-card-col-span-5 {
|
|
176
|
+
flex-shrink: 0;
|
|
177
|
+
width: calc((5 / 24) * 100%);
|
|
178
|
+
}
|
|
179
|
+
.aplus-pro-card-col-span-6 {
|
|
180
|
+
flex-shrink: 0;
|
|
181
|
+
width: calc((6 / 24) * 100%);
|
|
182
|
+
}
|
|
183
|
+
.aplus-pro-card-col-span-7 {
|
|
184
|
+
flex-shrink: 0;
|
|
185
|
+
width: calc((7 / 24) * 100%);
|
|
186
|
+
}
|
|
187
|
+
.aplus-pro-card-col-span-8 {
|
|
188
|
+
flex-shrink: 0;
|
|
189
|
+
width: calc((8 / 24) * 100%);
|
|
190
|
+
}
|
|
191
|
+
.aplus-pro-card-col-span-9 {
|
|
192
|
+
flex-shrink: 0;
|
|
193
|
+
width: calc((9 / 24) * 100%);
|
|
194
|
+
}
|
|
195
|
+
.aplus-pro-card-col-span-10 {
|
|
196
|
+
flex-shrink: 0;
|
|
197
|
+
width: calc((10 / 24) * 100%);
|
|
198
|
+
}
|
|
199
|
+
.aplus-pro-card-col-span-11 {
|
|
200
|
+
flex-shrink: 0;
|
|
201
|
+
width: calc((11 / 24) * 100%);
|
|
202
|
+
}
|
|
203
|
+
.aplus-pro-card-col-span-12 {
|
|
204
|
+
flex-shrink: 0;
|
|
205
|
+
width: calc((12 / 24) * 100%);
|
|
206
|
+
}
|
|
207
|
+
.aplus-pro-card-col-span-13 {
|
|
208
|
+
flex-shrink: 0;
|
|
209
|
+
width: calc((13 / 24) * 100%);
|
|
210
|
+
}
|
|
211
|
+
.aplus-pro-card-col-span-14 {
|
|
212
|
+
flex-shrink: 0;
|
|
213
|
+
width: calc((14 / 24) * 100%);
|
|
214
|
+
}
|
|
215
|
+
.aplus-pro-card-col-span-15 {
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
width: calc((15 / 24) * 100%);
|
|
218
|
+
}
|
|
219
|
+
.aplus-pro-card-col-span-16 {
|
|
220
|
+
flex-shrink: 0;
|
|
221
|
+
width: calc((16 / 24) * 100%);
|
|
222
|
+
}
|
|
223
|
+
.aplus-pro-card-col-span-17 {
|
|
224
|
+
flex-shrink: 0;
|
|
225
|
+
width: calc((17 / 24) * 100%);
|
|
226
|
+
}
|
|
227
|
+
.aplus-pro-card-col-span-18 {
|
|
228
|
+
flex-shrink: 0;
|
|
229
|
+
width: calc((18 / 24) * 100%);
|
|
230
|
+
}
|
|
231
|
+
.aplus-pro-card-col-span-19 {
|
|
232
|
+
flex-shrink: 0;
|
|
233
|
+
width: calc((19 / 24) * 100%);
|
|
234
|
+
}
|
|
235
|
+
.aplus-pro-card-col-span-20 {
|
|
236
|
+
flex-shrink: 0;
|
|
237
|
+
width: calc((20 / 24) * 100%);
|
|
238
|
+
}
|
|
239
|
+
.aplus-pro-card-col-span-21 {
|
|
240
|
+
flex-shrink: 0;
|
|
241
|
+
width: calc((21 / 24) * 100%);
|
|
242
|
+
}
|
|
243
|
+
.aplus-pro-card-col-span-22 {
|
|
244
|
+
flex-shrink: 0;
|
|
245
|
+
width: calc((22 / 24) * 100%);
|
|
246
|
+
}
|
|
247
|
+
.aplus-pro-card-col-span-23 {
|
|
248
|
+
flex-shrink: 0;
|
|
249
|
+
width: calc((23 / 24) * 100%);
|
|
250
|
+
}
|
|
251
|
+
.aplus-pro-card-col-span-24 {
|
|
252
|
+
flex-shrink: 0;
|
|
253
|
+
width: calc((24 / 24) * 100%);
|
|
254
|
+
}
|
|
255
|
+
.aplus-pro-card-actions {
|
|
256
|
+
border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
257
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
258
|
+
padding: var(--ap-pro-card-actions-padding);
|
|
259
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@import '../mixins/mixins.less';
|
|
2
|
+
|
|
3
|
+
.b(pro-card, {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
padding: 0;
|
|
9
|
+
width: 100%;
|
|
10
|
+
transition: all 0.3s;
|
|
11
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
12
|
+
border-radius: var(--ap-pro-card-border-radius);
|
|
13
|
+
&-border {
|
|
14
|
+
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
15
|
+
}
|
|
16
|
+
&-box-shadow {
|
|
17
|
+
border-color: transparent;
|
|
18
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
19
|
+
}
|
|
20
|
+
&-hoverable {
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
transition: box-shadow 0.3s, border-color 0.3s;
|
|
23
|
+
&:hover {
|
|
24
|
+
border-color: transparent;
|
|
25
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&-header {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
padding: var(--ap-pro-card-header-padding);
|
|
32
|
+
&-title {
|
|
33
|
+
display: flex;
|
|
34
|
+
font-size: var(--ap-pro-card-header-title-font-size);
|
|
35
|
+
color: var(--ap-pro-card-header-title-font-color);
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
&-tooltip {
|
|
38
|
+
margin-left: 5px;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
color: var(--ap-pro-card-tooltip-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&-extra {
|
|
44
|
+
margin-inline-start: auto;
|
|
45
|
+
}
|
|
46
|
+
&-border {
|
|
47
|
+
padding-block-end: var(--ap-pro-card-header-padding-bottom);
|
|
48
|
+
border-block-end: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&-type-inner > &-header {
|
|
52
|
+
background: var(--ap-pro-card-area-color);
|
|
53
|
+
}
|
|
54
|
+
&-body {
|
|
55
|
+
display: block;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
height: 100%;
|
|
58
|
+
padding: var(--ap-pro-card-body-padding);
|
|
59
|
+
&-center {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
64
|
+
&-direction-column {
|
|
65
|
+
flex-direction: column
|
|
66
|
+
}
|
|
67
|
+
&-wrap {
|
|
68
|
+
flex-wrap: wrap
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
&-contain-card > &-body {
|
|
72
|
+
display: flex;
|
|
73
|
+
}
|
|
74
|
+
&-split > &-body {
|
|
75
|
+
padding: 0;
|
|
76
|
+
}
|
|
77
|
+
&-ghost {
|
|
78
|
+
background: transparent;
|
|
79
|
+
}
|
|
80
|
+
&-ghost > &-body {
|
|
81
|
+
background: transparent;
|
|
82
|
+
padding: 0;
|
|
83
|
+
}
|
|
84
|
+
&-col {
|
|
85
|
+
width: 100%;
|
|
86
|
+
&-split-vertical {
|
|
87
|
+
position: relative;
|
|
88
|
+
&::after {
|
|
89
|
+
position: absolute;
|
|
90
|
+
height: var(--ap-pro-card-split-line-height);
|
|
91
|
+
top: 50%;
|
|
92
|
+
transform: translateY(-50%);
|
|
93
|
+
right: 0;
|
|
94
|
+
border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
95
|
+
content: '';
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
&-split-horizontal {
|
|
100
|
+
position: relative;
|
|
101
|
+
&::after {
|
|
102
|
+
position: absolute;
|
|
103
|
+
width: var(--ap-pro-card-split-line-height);
|
|
104
|
+
left: 50%;
|
|
105
|
+
transform: translateX(-50%);
|
|
106
|
+
bottom: 0;
|
|
107
|
+
border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
108
|
+
content: '';
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
&-span-0 {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
.loop-span(@i) when (@i <= 24) {
|
|
116
|
+
&-span-@{i} {
|
|
117
|
+
flex-shrink: 0;
|
|
118
|
+
width: calc((@i / 24) * 100%);
|
|
119
|
+
}
|
|
120
|
+
.loop-span(@i + 1);
|
|
121
|
+
}
|
|
122
|
+
.loop-span(1);
|
|
123
|
+
}
|
|
124
|
+
&-actions {
|
|
125
|
+
border-block-start:var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
126
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
127
|
+
padding: var(--ap-pro-card-actions-padding);
|
|
128
|
+
}
|
|
129
|
+
});
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
.reset-component {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
color: #182948;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
font-family: inherit;
|
|
8
|
+
line-height: 18px;
|
|
9
|
+
list-style: none;
|
|
10
|
+
}
|
|
11
|
+
.reset-scrollbar ::-webkit-scrollbar {
|
|
12
|
+
width: 10px;
|
|
13
|
+
height: 10px;
|
|
14
|
+
}
|
|
15
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb {
|
|
16
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
17
|
+
background-clip: content-box;
|
|
18
|
+
border: 1px solid transparent;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
}
|
|
21
|
+
.reset-scrollbar ::-webkit-scrollbar-track,
|
|
22
|
+
.reset-scrollbar ::-webkit-scrollbar-corner {
|
|
23
|
+
background-color: var(--ap-table-header-bg, #f2f6f9);
|
|
24
|
+
}
|
|
25
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:hover,
|
|
26
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:active {
|
|
27
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
28
|
+
}
|
|
29
|
+
.clear-fix::before {
|
|
30
|
+
display: table;
|
|
31
|
+
content: '';
|
|
32
|
+
}
|
|
33
|
+
.clear-fix::after {
|
|
34
|
+
display: table;
|
|
35
|
+
clear: both;
|
|
36
|
+
content: '';
|
|
37
|
+
}
|
|
38
|
+
.common-style {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
font-family: inherit;
|
|
42
|
+
}
|
|
43
|
+
.common-style::before,
|
|
44
|
+
.common-style::after {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
.aplus-ap-value-select-card {
|
|
48
|
+
position: relative;
|
|
49
|
+
margin-top: 8px;
|
|
50
|
+
}
|
|
51
|
+
.aplus-ap-value-select-card .ant-popover {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.aplus-ap-value-select-card-list {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-template-columns: repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr));
|
|
57
|
+
gap: 12px;
|
|
58
|
+
}
|
|
59
|
+
.aplus-ap-value-select-card-list-item {
|
|
60
|
+
position: relative;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
padding: 8px 16px;
|
|
63
|
+
color: var(--ap-text-color-1);
|
|
64
|
+
border: 1px solid var(--ap-color-bg);
|
|
65
|
+
border-radius: 4px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
transition: all 0.2s ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
.aplus-ap-value-select-card-list-item-close {
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 4px;
|
|
72
|
+
right: 12px;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
padding: 4px;
|
|
75
|
+
color: var(--ap-text-color-3);
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
79
|
+
.aplus-ap-value-select-card-list-item-close:hover {
|
|
80
|
+
color: #ed6f6f;
|
|
81
|
+
}
|
|
82
|
+
.aplus-ap-value-select-card-list-item .label {
|
|
83
|
+
margin-bottom: 4px;
|
|
84
|
+
font-size: 12px;
|
|
85
|
+
line-height: 18px;
|
|
86
|
+
}
|
|
87
|
+
.aplus-ap-value-select-card-list-item .value {
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
font-size: 16px;
|
|
91
|
+
line-height: 24px;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
}
|
|
95
|
+
.aplus-ap-value-select-card-list-item:hover:not(.select) {
|
|
96
|
+
border: 1px solid var(--ap-color-primary);
|
|
97
|
+
}
|
|
98
|
+
.aplus-ap-value-select-card-list-item.select {
|
|
99
|
+
color: var(--ap-text-color-2);
|
|
100
|
+
border-color: transparent;
|
|
101
|
+
box-shadow: 3px 10px 30px -2px rgba(123, 121, 140, 0.15);
|
|
102
|
+
background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--ap-value-select-card-bg-color, #f5f9ff) 92%);
|
|
103
|
+
}
|
|
104
|
+
.aplus-ap-value-select-card-list-item.select:hover {
|
|
105
|
+
background: var(--ap-value-select-card-bg-color, #f5f9ff);
|
|
106
|
+
}
|
|
107
|
+
.aplus-ap-value-select-card-list-item.all {
|
|
108
|
+
color: var(--ap-text-color-1);
|
|
109
|
+
background: #ffffff;
|
|
110
|
+
border: 1px solid var(--ap-color-bg);
|
|
111
|
+
box-shadow: none;
|
|
112
|
+
}
|
|
113
|
+
.aplus-ap-value-select-card-list-item.all:hover:not(.disabled) {
|
|
114
|
+
border-color: var(--ap-color-primary);
|
|
115
|
+
}
|
|
116
|
+
.aplus-ap-value-select-card-list-item.all.disabled {
|
|
117
|
+
color: #8896b0;
|
|
118
|
+
background: #f9f9fa;
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
}
|
|
121
|
+
.aplus-ap-value-select-card-list-item.all.select {
|
|
122
|
+
background: #f5f9ff;
|
|
123
|
+
border-color: var(--ap-color-primary);
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
}
|
|
126
|
+
.aplus-ap-value-select-card-list-item.choose {
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
color: var(--ap-color-primary);
|
|
132
|
+
background: #ffffff;
|
|
133
|
+
border: 1px dashed #d1d7df;
|
|
134
|
+
box-shadow: none;
|
|
135
|
+
}
|
|
136
|
+
.aplus-ap-value-select-card-list-item.choose .text {
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
margin-left: 4px;
|
|
139
|
+
}
|
|
140
|
+
.aplus-ap-value-select-card-list-item.choose:hover {
|
|
141
|
+
border-color: var(--ap-color-primary);
|
|
142
|
+
}
|
|
143
|
+
.aplus-ap-value-select-card-title {
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
margin-bottom: 12px;
|
|
147
|
+
color: #526a90;
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
}
|
|
150
|
+
.aplus-ap-value-select-card-title-icon {
|
|
151
|
+
margin-right: 4px;
|
|
152
|
+
color: #abb7cc;
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
}
|
|
155
|
+
.aplus-ap-value-select-card--admin .aplus-ap-value-select-card-list-item.all.select {
|
|
156
|
+
background: #F7FCFA;
|
|
157
|
+
}
|
|
158
|
+
.aplus-ap-value-select-card--admin .aplus-ap-value-select-card-list-item.all.disabled {
|
|
159
|
+
color: #999;
|
|
160
|
+
}
|
|
161
|
+
.aplus-ap-value-select-card--admin .aplus-ap-value-select-card-title {
|
|
162
|
+
color: #666;
|
|
163
|
+
}
|