@aplus-frontend/ui 7.0.0-beta.2 → 7.0.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 +216 -218
- package/es/src/ag-grid/editable/form-item.vue.mjs +68 -63
- package/es/src/ag-grid/editable/index.vue.mjs +66 -61
- package/es/src/ag-grid/editable/interface.d.ts +3 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +71 -70
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +65 -63
- package/es/src/ag-grid/index.vue.mjs +1 -0
- package/es/src/ag-grid/interface.d.ts +1 -0
- package/es/src/ag-grid/style/custom-header.d.ts +2 -2
- package/es/src/ag-grid/style/editable.d.ts +2 -2
- package/es/src/ag-grid/style/index.d.ts +30 -3
- package/es/src/ag-grid/style/index.mjs +56 -43
- package/es/src/ag-grid/theme.mjs +12 -11
- package/es/src/ap-action/item/index.vue2.mjs +14 -12
- package/es/src/ap-action/item-dropdown/index.vue.mjs +18 -17
- package/es/src/ap-action/style/dropdown-item.d.ts +2 -2
- package/es/src/ap-action/style/dropdown-item.mjs +4 -4
- package/es/src/ap-action/style/index.d.ts +7 -4
- package/es/src/ap-action/style/index.mjs +29 -23
- package/es/src/ap-button/ap-button.vue.mjs +45 -49
- package/es/src/ap-button/style/index.d.ts +2 -2
- package/es/src/ap-button/style/index.mjs +5 -4
- package/es/src/ap-button/utils/index.mjs +16 -16
- package/es/src/ap-descriptions/style/index.d.ts +2 -2
- package/es/src/ap-download/ap-download.vue.d.ts +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +27 -27
- package/es/src/ap-download/hooks/useStyle.mjs +9 -9
- package/es/src/ap-download/interface.d.ts +4 -0
- package/es/src/ap-download/style/index.d.ts +2 -2
- package/es/src/ap-drawer/style/index.d.ts +2 -2
- package/es/src/ap-field/style/index.d.ts +2 -2
- package/es/src/ap-form/style/drawer-form.d.ts +2 -2
- package/es/src/ap-form/style/item-group.d.ts +2 -2
- package/es/src/ap-form/style/item-text-group.d.ts +2 -2
- package/es/src/ap-form/style/item.d.ts +3 -4
- package/es/src/ap-form/style/item.mjs +12 -16
- package/es/src/ap-form/style/modal-form.d.ts +4 -3
- package/es/src/ap-form/style/modal-form.mjs +26 -13
- package/es/src/ap-form/style/search-form-sorter.d.ts +4 -3
- package/es/src/ap-form/style/search-form-sorter.mjs +20 -13
- package/es/src/ap-form/style/search-form.d.ts +2 -2
- package/es/src/ap-form/style/token.d.ts +25 -1
- package/es/src/ap-grid/hooks/use-table-style.mjs +1 -1
- package/es/src/ap-grid/index.vue.mjs +2 -2
- package/es/src/ap-grid/style/editable.d.ts +2 -2
- package/es/src/ap-grid/style/index.d.ts +6 -3
- package/es/src/ap-grid/style/index.mjs +10 -7
- package/es/src/ap-grid/utils/col.mjs +33 -33
- package/es/src/ap-list/style/index.d.ts +2 -2
- package/es/src/ap-modal/interface.d.ts +31 -11
- package/es/src/ap-modal/utils/createModal.mjs +52 -45
- package/es/src/ap-pro-card/style/divider.d.ts +2 -2
- package/es/src/ap-pro-card/style/index.d.ts +2 -2
- package/es/src/ap-pro-card/style/operation.d.ts +2 -2
- package/es/src/ap-pro-card/style/statistic.d.ts +2 -2
- package/es/src/ap-pro-card/style/statistics-card.d.ts +2 -2
- package/es/src/ap-pro-card/style/title.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +2 -2
- package/es/src/ap-table/style/ellipsis.d.ts +2 -2
- package/es/src/ap-table/style/index-comp.d.ts +2 -2
- package/es/src/ap-table/style/index.d.ts +2 -2
- package/es/src/ap-table/style/setting.d.ts +2 -2
- package/es/src/ap-table/utils.mjs +14 -11
- package/es/src/ap-tag/ap-tag.vue.mjs +7 -6
- package/es/src/ap-tag/style/group.d.ts +2 -2
- package/es/src/ap-tag/style/index.d.ts +2 -2
- package/es/src/ap-upload/style/index.d.ts +2 -2
- package/es/src/business/ag-grid-modal/style/index.d.ts +2 -2
- package/es/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
- package/es/src/business/ag-grid-modal/utils.mjs +23 -23
- package/es/src/business/ap-appendix/style/index.d.ts +5 -4
- package/es/src/business/ap-appendix/style/index.mjs +20 -17
- package/es/src/business/ap-appendix/style/token.d.ts +4 -0
- package/es/src/business/ap-appendix/style/token.mjs +6 -0
- package/es/src/business/ap-attachment/ApAttachment.mjs +64 -60
- package/es/src/business/ap-attachment/style/index.d.ts +2 -2
- package/es/src/business/ap-attachment/style/index.mjs +1 -0
- package/es/src/business/ap-batch-action/style/index.d.ts +3 -3
- package/es/src/business/ap-batch-action/style/index.mjs +4 -4
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +50 -56
- package/es/src/business/ap-batch-action-group/style/index.d.ts +3 -0
- package/es/src/business/ap-batch-action-group/style/index.mjs +14 -0
- package/es/src/business/ap-card/style/index.d.ts +3 -3
- package/es/src/business/ap-card/style/index.mjs +8 -8
- package/es/src/business/ap-copy/style/index.d.ts +2 -2
- package/es/src/business/ap-draggable-grid/style/index.d.ts +2 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +57 -49
- package/es/src/business/ap-expand-alert/index.d.ts +5 -2
- package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/style/index.d.ts +2 -2
- package/es/src/business/ap-image/style/index.d.ts +3 -3
- package/es/src/business/ap-image/style/index.mjs +6 -6
- package/es/src/business/ap-input-radio/style/index.d.ts +2 -2
- package/es/src/business/ap-label/style/index.d.ts +2 -2
- package/es/src/business/ap-ladder/style/index.d.ts +2 -2
- package/es/src/business/ap-product-info/style/index.d.ts +2 -2
- package/es/src/business/ap-radio-group/style/index.d.ts +2 -2
- package/es/src/business/ap-radio-group/style/index.mjs +3 -3
- package/es/src/business/ap-select-layout/style/index.d.ts +2 -2
- package/es/src/business/ap-size-input/style/index.d.ts +2 -2
- package/es/src/business/ap-status/style/index.d.ts +2 -2
- package/es/src/business/ap-summary/style/index.d.ts +2 -2
- package/es/src/business/ap-table-modal/style/index.d.ts +2 -2
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +23 -23
- package/es/src/business/ap-title/style/index.d.ts +2 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
- package/es/src/business/ap-value-select-card/style/index.d.ts +2 -2
- package/es/src/business/ap-view/style/index.d.ts +3 -3
- package/es/src/business/ap-view/style/index.mjs +19 -22
- package/es/src/business/batch-input-group/style/index.d.ts +5 -2
- package/es/src/business/batch-input-group/style/index.mjs +9 -5
- package/es/src/business/hooks/usePageListAgGrid.mjs +7 -6
- package/es/src/check-card/style/index.d.ts +2 -2
- package/es/src/check-card/style/index.mjs +37 -31
- package/es/src/config-provider/config-provider.d.ts +1 -2
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -2
- package/es/src/config-provider/hooks/use-global-config.mjs +42 -33
- package/es/src/config-provider/hooks/use-token.d.ts +7 -2
- package/es/src/config-provider/hooks/use-token.mjs +6 -3
- package/es/src/config-provider/index.d.ts +1 -2
- package/es/src/design-token/constants.d.ts +1 -6
- package/es/src/design-token/constants.mjs +2 -100
- package/es/src/design-token/index.d.ts +1 -1
- package/es/src/design-token/index.mjs +5 -6
- package/es/src/design-token/interface.d.ts +9 -1
- package/es/src/design-token/interface.mjs +1 -0
- package/es/src/editable-table/style/index.d.ts +2 -2
- package/es/src/full-screen/index.vue.mjs +31 -30
- package/es/src/full-screen/style/index.d.ts +2 -2
- package/es/src/index.mjs +196 -198
- package/es/src/mask/style/index.d.ts +2 -2
- package/es/src/mask/style/index.mjs +2 -2
- package/es/src/scroll-bar/style/index.d.ts +2 -2
- package/es/src/scroll-bar/style/index.mjs +17 -17
- package/es/src/scroll-view/style/index.d.ts +2 -2
- package/es/src/splitter/style/index.d.ts +11 -3
- package/es/src/splitter/style/index.mjs +1 -2
- package/es/src/text/style/group.d.ts +2 -2
- package/es/src/text/style/index.d.ts +6 -3
- package/es/src/text/style/index.mjs +22 -18
- package/es/src/utils/cssinjs/index.d.ts +3 -7
- package/es/src/utils/cssinjs/index.mjs +55 -39
- package/es/src/utils/cssinjs/instance.mjs +7 -7
- package/es/src/utils/cssinjs/plugin-append-cssvar.d.ts +6 -0
- package/es/src/utils/cssinjs/plugin-append-cssvar.mjs +6 -0
- package/es/src/utils/cssinjs/plugin-specificity.mjs +6 -6
- package/es/src/utils/cssinjs/utils.d.ts +6 -0
- package/es/src/utils/cssinjs/utils.mjs +15 -0
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +3 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +1 -0
- package/lib/src/ag-grid/style/custom-header.d.ts +2 -2
- package/lib/src/ag-grid/style/editable.d.ts +2 -2
- package/lib/src/ag-grid/style/index.d.ts +30 -3
- package/lib/src/ag-grid/style/index.js +1 -1
- package/lib/src/ag-grid/theme.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.d.ts +2 -2
- package/lib/src/ap-action/style/dropdown-item.js +1 -1
- package/lib/src/ap-action/style/index.d.ts +7 -4
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/style/index.d.ts +2 -2
- package/lib/src/ap-button/style/index.js +1 -1
- package/lib/src/ap-button/utils/index.js +1 -1
- package/lib/src/ap-descriptions/style/index.d.ts +2 -2
- package/lib/src/ap-download/ap-download.vue.d.ts +4 -4
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/ap-download/interface.d.ts +4 -0
- package/lib/src/ap-download/style/index.d.ts +2 -2
- package/lib/src/ap-drawer/style/index.d.ts +2 -2
- package/lib/src/ap-field/style/index.d.ts +2 -2
- package/lib/src/ap-form/style/drawer-form.d.ts +2 -2
- package/lib/src/ap-form/style/item-group.d.ts +2 -2
- package/lib/src/ap-form/style/item-text-group.d.ts +2 -2
- package/lib/src/ap-form/style/item.d.ts +3 -4
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/style/modal-form.d.ts +4 -3
- package/lib/src/ap-form/style/modal-form.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.d.ts +4 -3
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-form/style/search-form.d.ts +2 -2
- package/lib/src/ap-form/style/token.d.ts +25 -1
- package/lib/src/ap-grid/hooks/use-table-style.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/style/editable.d.ts +2 -2
- package/lib/src/ap-grid/style/index.d.ts +6 -3
- package/lib/src/ap-grid/style/index.js +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-list/style/index.d.ts +2 -2
- package/lib/src/ap-modal/interface.d.ts +31 -11
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-pro-card/style/divider.d.ts +2 -2
- package/lib/src/ap-pro-card/style/index.d.ts +2 -2
- package/lib/src/ap-pro-card/style/operation.d.ts +2 -2
- package/lib/src/ap-pro-card/style/statistic.d.ts +2 -2
- package/lib/src/ap-pro-card/style/statistics-card.d.ts +2 -2
- package/lib/src/ap-pro-card/style/title.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/style/ellipsis.d.ts +2 -2
- package/lib/src/ap-table/style/index-comp.d.ts +2 -2
- package/lib/src/ap-table/style/index.d.ts +2 -2
- package/lib/src/ap-table/style/setting.d.ts +2 -2
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/style/group.d.ts +2 -2
- package/lib/src/ap-tag/style/index.d.ts +2 -2
- package/lib/src/ap-upload/style/index.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/style/index.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/style/index.d.ts +5 -4
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-appendix/style/token.d.ts +4 -0
- package/lib/src/business/ap-appendix/style/token.js +1 -0
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/style/index.d.ts +2 -2
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-batch-action/style/index.d.ts +3 -3
- package/lib/src/business/ap-batch-action/style/index.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/style/index.d.ts +3 -0
- package/lib/src/business/ap-batch-action-group/style/index.js +1 -0
- package/lib/src/business/ap-card/style/index.d.ts +3 -3
- package/lib/src/business/ap-card/style/index.js +1 -1
- package/lib/src/business/ap-copy/style/index.d.ts +2 -2
- package/lib/src/business/ap-draggable-grid/style/index.d.ts +2 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +5 -2
- package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/style/index.d.ts +2 -2
- package/lib/src/business/ap-image/style/index.d.ts +3 -3
- package/lib/src/business/ap-image/style/index.js +1 -1
- package/lib/src/business/ap-input-radio/style/index.d.ts +2 -2
- package/lib/src/business/ap-label/style/index.d.ts +2 -2
- package/lib/src/business/ap-ladder/style/index.d.ts +2 -2
- package/lib/src/business/ap-product-info/style/index.d.ts +2 -2
- package/lib/src/business/ap-radio-group/style/index.d.ts +2 -2
- package/lib/src/business/ap-radio-group/style/index.js +1 -1
- package/lib/src/business/ap-select-layout/style/index.d.ts +2 -2
- package/lib/src/business/ap-size-input/style/index.d.ts +2 -2
- package/lib/src/business/ap-status/style/index.d.ts +2 -2
- package/lib/src/business/ap-summary/style/index.d.ts +2 -2
- package/lib/src/business/ap-table-modal/style/index.d.ts +2 -2
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-title/style/index.d.ts +2 -2
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
- package/lib/src/business/ap-value-select-card/style/index.d.ts +2 -2
- package/lib/src/business/ap-view/style/index.d.ts +3 -3
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/style/index.d.ts +5 -2
- package/lib/src/business/batch-input-group/style/index.js +1 -1
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
- package/lib/src/check-card/style/index.d.ts +2 -2
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +1 -2
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -2
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-token.d.ts +7 -2
- package/lib/src/config-provider/hooks/use-token.js +1 -1
- package/lib/src/config-provider/index.d.ts +1 -2
- package/lib/src/design-token/constants.d.ts +1 -6
- package/lib/src/design-token/constants.js +1 -1
- package/lib/src/design-token/index.d.ts +1 -1
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/design-token/interface.d.ts +9 -1
- package/lib/src/design-token/interface.js +1 -0
- package/lib/src/editable-table/style/index.d.ts +2 -2
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/full-screen/style/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/mask/style/index.d.ts +2 -2
- package/lib/src/mask/style/index.js +2 -2
- package/lib/src/scroll-bar/style/index.d.ts +2 -2
- package/lib/src/scroll-bar/style/index.js +1 -1
- package/lib/src/scroll-view/style/index.d.ts +2 -2
- package/lib/src/splitter/style/index.d.ts +11 -3
- package/lib/src/splitter/style/index.js +1 -1
- package/lib/src/text/style/group.d.ts +2 -2
- package/lib/src/text/style/index.d.ts +6 -3
- package/lib/src/text/style/index.js +1 -1
- package/lib/src/utils/cssinjs/index.d.ts +3 -7
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/cssinjs/instance.js +1 -1
- package/lib/src/utils/cssinjs/plugin-append-cssvar.d.ts +6 -0
- package/lib/src/utils/cssinjs/plugin-append-cssvar.js +1 -0
- package/lib/src/utils/cssinjs/plugin-specificity.js +1 -1
- package/lib/src/utils/cssinjs/utils.d.ts +6 -0
- package/lib/src/utils/cssinjs/utils.js +1 -0
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
-
const o = (
|
|
3
|
-
const { componentCls:
|
|
2
|
+
const o = (t) => {
|
|
3
|
+
const { componentCls: e } = t;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
6
|
-
".ant-btn-default:has(&-main-content-disabled)": {
|
|
7
|
-
borderColor: "var(--ap-border-color-base) !important"
|
|
8
|
-
},
|
|
5
|
+
[e]: {
|
|
9
6
|
"& > .ant-btn": {
|
|
10
7
|
padding: 0
|
|
11
8
|
},
|
|
12
9
|
"& > .ant-dropdown-trigger": {
|
|
13
|
-
color:
|
|
10
|
+
color: t.textColor3
|
|
14
11
|
},
|
|
15
|
-
[`${
|
|
12
|
+
[`${e}-main-content`]: {
|
|
16
13
|
padding: "4px 8px",
|
|
17
14
|
display: "flex",
|
|
18
15
|
alignItems: "center",
|
|
19
16
|
justifyContent: "center",
|
|
20
17
|
"&-disabled": {
|
|
21
|
-
color:
|
|
18
|
+
color: t.textColor4,
|
|
22
19
|
cursor: "not-allowed"
|
|
23
20
|
}
|
|
24
21
|
},
|
|
25
|
-
[`${
|
|
22
|
+
[`${e}-icon`]: {
|
|
26
23
|
width: "100%",
|
|
27
24
|
height: "100%",
|
|
28
25
|
fontSize: "14px",
|
|
@@ -31,7 +28,7 @@ const o = (e) => {
|
|
|
31
28
|
alignItems: "center"
|
|
32
29
|
}
|
|
33
30
|
},
|
|
34
|
-
[`${
|
|
31
|
+
[`${e}-main-content-popover`]: {
|
|
35
32
|
width: "340px",
|
|
36
33
|
"&-title-content": {
|
|
37
34
|
display: "flex",
|
|
@@ -55,7 +52,7 @@ const o = (e) => {
|
|
|
55
52
|
}
|
|
56
53
|
}
|
|
57
54
|
},
|
|
58
|
-
[`${
|
|
55
|
+
[`${e}-overlay`]: {
|
|
59
56
|
".ant-dropdown-menu": {
|
|
60
57
|
padding: "8px",
|
|
61
58
|
"&-item": {
|
|
@@ -65,7 +62,7 @@ const o = (e) => {
|
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
},
|
|
68
|
-
[`${
|
|
65
|
+
[`${e}-menu-list-content`]: {
|
|
69
66
|
width: "250px",
|
|
70
67
|
display: "flex",
|
|
71
68
|
padding: "6px 8px",
|
|
@@ -94,13 +91,13 @@ const o = (e) => {
|
|
|
94
91
|
fontSize: "12px",
|
|
95
92
|
display: "flex",
|
|
96
93
|
alignItems: "center",
|
|
97
|
-
color:
|
|
94
|
+
color: t.colorPrimary
|
|
98
95
|
},
|
|
99
96
|
"&-delete": {
|
|
100
97
|
cursor: "pointer",
|
|
101
98
|
display: "flex",
|
|
102
99
|
alignItems: "center",
|
|
103
|
-
color:
|
|
100
|
+
color: t.textColor3,
|
|
104
101
|
svg: {
|
|
105
102
|
outline: "none",
|
|
106
103
|
boxShadow: "none"
|
|
@@ -123,23 +120,23 @@ const o = (e) => {
|
|
|
123
120
|
cursor: "default"
|
|
124
121
|
},
|
|
125
122
|
"&:hover": {
|
|
126
|
-
background:
|
|
123
|
+
background: t.colorBg1,
|
|
127
124
|
".menu-list-content-action": {
|
|
128
125
|
display: "block"
|
|
129
126
|
}
|
|
130
127
|
}
|
|
131
128
|
},
|
|
132
|
-
[`${
|
|
129
|
+
[`${e}-menu-list-content-active`]: {
|
|
133
130
|
".menu-list-content-name": {
|
|
134
|
-
color:
|
|
131
|
+
color: t.colorPrimary
|
|
135
132
|
}
|
|
136
133
|
}
|
|
137
134
|
}
|
|
138
135
|
};
|
|
139
|
-
},
|
|
140
|
-
o(
|
|
136
|
+
}, r = n("ApView", (t) => [
|
|
137
|
+
o(t)
|
|
141
138
|
]);
|
|
142
139
|
export {
|
|
143
|
-
|
|
144
|
-
o as
|
|
140
|
+
r as default,
|
|
141
|
+
o as genApViewStyle
|
|
145
142
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
export type BatchInputGroupToken = {
|
|
3
|
+
batchInputGroupTriggerColorDisabled: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
6
|
export default _default;
|
|
@@ -17,9 +17,9 @@ const a = (o) => {
|
|
|
17
17
|
},
|
|
18
18
|
"&--disabled": {
|
|
19
19
|
cursor: "not-allowed",
|
|
20
|
-
color:
|
|
20
|
+
color: o.batchInputGroupTriggerColorDisabled,
|
|
21
21
|
"&:hover": {
|
|
22
|
-
color:
|
|
22
|
+
color: o.batchInputGroupTriggerColorDisabled
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -45,9 +45,13 @@ const a = (o) => {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
}, c = i(
|
|
49
|
-
|
|
50
|
-
]
|
|
48
|
+
}, c = i(
|
|
49
|
+
"BatchInputGroup",
|
|
50
|
+
(o) => [a(o)],
|
|
51
|
+
{
|
|
52
|
+
batchInputGroupTriggerColorDisabled: "rgba(24, 41, 72, 0.25)"
|
|
53
|
+
}
|
|
54
|
+
);
|
|
51
55
|
export {
|
|
52
56
|
c as default
|
|
53
57
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isFunction as g, merge as A, cloneDeep as F } from "lodash-unified";
|
|
2
|
-
import { ref as
|
|
3
|
-
import { useKeepAliveFlag as
|
|
2
|
+
import { ref as V } from "vue";
|
|
3
|
+
import { useKeepAliveFlag as w } from "./useKeepAliveFlag.mjs";
|
|
4
4
|
function O(l) {
|
|
5
|
-
const r =
|
|
5
|
+
const r = V(null), {
|
|
6
6
|
isShowRowSelection: u = !0,
|
|
7
7
|
clearSelectionOnRequest: d = !0,
|
|
8
8
|
transformSearchFormValues: o,
|
|
@@ -18,7 +18,7 @@ function O(l) {
|
|
|
18
18
|
r.value?.submitWith(e);
|
|
19
19
|
}, p = () => {
|
|
20
20
|
r.value?.reset();
|
|
21
|
-
}, { isDeactivated: h } =
|
|
21
|
+
}, { isDeactivated: h } = w({
|
|
22
22
|
afterActivated() {
|
|
23
23
|
(g(s) ? s() : s) && c();
|
|
24
24
|
},
|
|
@@ -47,8 +47,9 @@ function O(l) {
|
|
|
47
47
|
fixed: "left",
|
|
48
48
|
columnWidth: 38
|
|
49
49
|
} : void 0,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
/** Jackie 推荐方法 */
|
|
51
|
+
onVnodeBeforeMount(e) {
|
|
52
|
+
r.value = e.component?.exposed;
|
|
52
53
|
},
|
|
53
54
|
// 新UI规范,需要都添加分割线
|
|
54
55
|
card: !0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
export type CheckCardToken = {
|
|
3
3
|
/** 禁用背景色 */
|
|
4
4
|
checkCardDisabledBg: string;
|
|
@@ -11,5 +11,5 @@ export type CheckCardToken = {
|
|
|
11
11
|
/** 指示器位置偏移 */
|
|
12
12
|
checkCardIndicatorOffset: number;
|
|
13
13
|
};
|
|
14
|
-
declare const _default: (prefixCls: string) =>
|
|
14
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
15
15
|
export default _default;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import { resetComponent as
|
|
2
|
-
import { genComponentStyleHook as
|
|
1
|
+
import { resetComponent as t } from "../../style/index.mjs";
|
|
2
|
+
import { genComponentStyleHook as a } from "../../utils/cssinjs/index.mjs";
|
|
3
3
|
const c = (r) => {
|
|
4
|
-
const {
|
|
4
|
+
const {
|
|
5
|
+
componentCls: o,
|
|
6
|
+
checkCardDisabledOutlineColor: l,
|
|
7
|
+
checkCardIndicatorSize: e,
|
|
8
|
+
checkCardOutlineWidth: d,
|
|
9
|
+
checkCardIndicatorOffset: i
|
|
10
|
+
} = r;
|
|
5
11
|
return {
|
|
6
|
-
[`${
|
|
7
|
-
...
|
|
12
|
+
[`${o}`]: {
|
|
13
|
+
...t(r),
|
|
8
14
|
borderRadius: r.borderRadius,
|
|
9
15
|
position: "relative",
|
|
10
16
|
"&--disabled": {
|
|
@@ -14,7 +20,7 @@ const c = (r) => {
|
|
|
14
20
|
"&--bordered": {
|
|
15
21
|
outline: `1px solid ${r.borderColorBase}`
|
|
16
22
|
},
|
|
17
|
-
[`&:hover:not(${
|
|
23
|
+
[`&:hover:not(${o}--disabled)`]: {
|
|
18
24
|
cursor: "pointer",
|
|
19
25
|
outline: `1px solid ${r.colorPrimary}`
|
|
20
26
|
},
|
|
@@ -24,32 +30,32 @@ const c = (r) => {
|
|
|
24
30
|
width: 0,
|
|
25
31
|
height: 0,
|
|
26
32
|
opacity: 0,
|
|
27
|
-
insetBlockStart:
|
|
28
|
-
insetInlineEnd:
|
|
29
|
-
borderInlineStart:
|
|
30
|
-
borderBlockEnd:
|
|
33
|
+
insetBlockStart: i,
|
|
34
|
+
insetInlineEnd: i,
|
|
35
|
+
borderInlineStart: e,
|
|
36
|
+
borderBlockEnd: e,
|
|
31
37
|
borderRadius: r.borderRadius
|
|
32
38
|
},
|
|
33
39
|
"&--checked": {
|
|
34
|
-
outline: `${
|
|
35
|
-
[`&:hover:not(${
|
|
36
|
-
outline: `${
|
|
40
|
+
outline: `${d} solid ${r.colorPrimary}`,
|
|
41
|
+
[`&:hover:not(${o}--disabled)`]: {
|
|
42
|
+
outline: `${d} solid ${r.colorPrimary}`
|
|
37
43
|
},
|
|
38
44
|
"&::after": {
|
|
39
45
|
opacity: 1,
|
|
40
|
-
border: `${
|
|
41
|
-
borderInlineStart: `${
|
|
42
|
-
borderBlockEnd: `${
|
|
43
|
-
insetBlockStart:
|
|
44
|
-
insetInlineEnd:
|
|
46
|
+
border: `${e} solid ${r.colorPrimary}`,
|
|
47
|
+
borderInlineStart: `${e} solid transparent`,
|
|
48
|
+
borderBlockEnd: `${e} solid transparent`,
|
|
49
|
+
insetBlockStart: i,
|
|
50
|
+
insetInlineEnd: i,
|
|
45
51
|
transition: "all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
46
52
|
},
|
|
47
|
-
[`&${
|
|
48
|
-
outlineColor:
|
|
53
|
+
[`&${o}--disabled`]: {
|
|
54
|
+
outlineColor: l,
|
|
49
55
|
"&::after": {
|
|
50
|
-
border: `${
|
|
51
|
-
borderInlineStart: `${
|
|
52
|
-
borderBlockEnd: `${
|
|
56
|
+
border: `${e} solid ${l}`,
|
|
57
|
+
borderInlineStart: `${e} solid transparent`,
|
|
58
|
+
borderBlockEnd: `${e} solid transparent`
|
|
53
59
|
}
|
|
54
60
|
}
|
|
55
61
|
},
|
|
@@ -59,8 +65,8 @@ const c = (r) => {
|
|
|
59
65
|
"&--small": {
|
|
60
66
|
padding: `${r.spaceSM} ${r.spaceLG}`
|
|
61
67
|
},
|
|
62
|
-
[`${
|
|
63
|
-
...
|
|
68
|
+
[`${o}__title`]: {
|
|
69
|
+
...t(r),
|
|
64
70
|
marginBottom: r.spaceXS,
|
|
65
71
|
color: "#333",
|
|
66
72
|
fontWeight: "bold",
|
|
@@ -68,14 +74,14 @@ const c = (r) => {
|
|
|
68
74
|
color: r.textColor4
|
|
69
75
|
}
|
|
70
76
|
},
|
|
71
|
-
[`${
|
|
72
|
-
...
|
|
77
|
+
[`${o}__content`]: {
|
|
78
|
+
...t(r),
|
|
73
79
|
color: "#333",
|
|
74
80
|
"&--disabled": {
|
|
75
81
|
color: r.textColor4
|
|
76
82
|
}
|
|
77
83
|
},
|
|
78
|
-
[`${
|
|
84
|
+
[`${o}__checked-icon`]: {
|
|
79
85
|
position: "absolute",
|
|
80
86
|
top: 0,
|
|
81
87
|
right: 0,
|
|
@@ -83,13 +89,13 @@ const c = (r) => {
|
|
|
83
89
|
lineHeight: 1,
|
|
84
90
|
userSelect: "none",
|
|
85
91
|
"& > img": {
|
|
86
|
-
width: `calc(${
|
|
92
|
+
width: `calc(${e} - ${d})`,
|
|
87
93
|
verticalAlign: "top"
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
}
|
|
91
97
|
};
|
|
92
|
-
},
|
|
98
|
+
}, b = a(
|
|
93
99
|
"CheckCard",
|
|
94
100
|
(r) => [c(r)],
|
|
95
101
|
{
|
|
@@ -101,5 +107,5 @@ const c = (r) => {
|
|
|
101
107
|
}
|
|
102
108
|
);
|
|
103
109
|
export {
|
|
104
|
-
|
|
110
|
+
b as default
|
|
105
111
|
};
|
|
@@ -6,10 +6,9 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
6
6
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
7
7
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
8
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
|
-
import { ApGridRowSelection, AgGridRowSelection, ViewCacheOption } from '..';
|
|
9
|
+
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
10
10
|
import { LocaleType } from '../locale';
|
|
11
11
|
import { RecursivePartial } from '../type';
|
|
12
|
-
import { FullToken } from '../design-token/interface';
|
|
13
12
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
14
13
|
export declare const globalConfigCached: Ref<ConfigProviderProps>;
|
|
15
14
|
export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
@@ -7,10 +7,9 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
7
7
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
8
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
9
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
|
-
import { ApGridRowSelection, AgGridRowSelection, ViewCacheOption } from '../..';
|
|
10
|
+
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '../..';
|
|
11
11
|
import { LocaleType } from '../../locale';
|
|
12
12
|
import { RecursivePartial } from '../../type';
|
|
13
|
-
import { FullToken } from '../../design-token/interface';
|
|
14
13
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from '..';
|
|
15
14
|
export declare const keysOf: <T extends Record<string, any>>(arr: T) => Array<keyof T>;
|
|
16
15
|
export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
|
|
@@ -1,39 +1,48 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { configProviderContextKey as
|
|
3
|
-
import { localeContextKey as
|
|
4
|
-
import { namespaceContextKey as
|
|
5
|
-
import { designTokenContextKey as
|
|
6
|
-
import { merge as
|
|
7
|
-
import { defaultToken as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { ref as p, getCurrentInstance as v, inject as k, computed as c, provide as y, unref as x, watch as T } from "vue";
|
|
2
|
+
import { configProviderContextKey as d } from "../constants.mjs";
|
|
3
|
+
import { localeContextKey as b } from "./use-locale.mjs";
|
|
4
|
+
import { namespaceContextKey as K } from "./use-namespace.mjs";
|
|
5
|
+
import { designTokenContextKey as j } from "./use-token.mjs";
|
|
6
|
+
import { merge as w, cloneDeep as G, omit as O } from "lodash-unified";
|
|
7
|
+
import { defaultToken as S } from "../../design-token/constants.mjs";
|
|
8
|
+
import { css as V } from "@emotion/css";
|
|
9
|
+
import { generateCssVar as h } from "../../utils/cssinjs/utils.mjs";
|
|
10
|
+
const m = (e) => Object.keys(e), u = p();
|
|
11
|
+
function D(e, o = void 0) {
|
|
12
|
+
const n = v() ? k(d, u) : u;
|
|
13
|
+
return e ? c(() => n.value?.[e] ?? o) : n;
|
|
12
14
|
}
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
if (!
|
|
15
|
+
const J = (e, o, n = !1) => {
|
|
16
|
+
const s = !!v(), t = s ? D() : void 0, i = o?.provide ?? (s ? y : void 0);
|
|
17
|
+
if (!i)
|
|
16
18
|
return;
|
|
17
|
-
const r =
|
|
18
|
-
const
|
|
19
|
-
return
|
|
19
|
+
const r = c(() => {
|
|
20
|
+
const a = x(e);
|
|
21
|
+
return t?.value ? F(t.value, a) : a;
|
|
20
22
|
});
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
i(d, r), i(
|
|
24
|
+
b,
|
|
25
|
+
c(() => r.value.aplusLocale)
|
|
26
|
+
), i(K, r.value.namespace);
|
|
27
|
+
const f = c(() => ({
|
|
28
|
+
...w(G(S), r.value.aplusToken || {})
|
|
29
|
+
})), g = c(() => O(f.value, ["components"])), l = p();
|
|
30
|
+
return T(
|
|
31
|
+
() => g.value,
|
|
32
|
+
(a) => {
|
|
33
|
+
const C = h(a);
|
|
34
|
+
l.value = V(C);
|
|
35
|
+
},
|
|
36
|
+
{ deep: !0, immediate: !0 }
|
|
37
|
+
), i(j, { token: f, rootCls: l }), (n || !u.value) && (u.value = r.value), r;
|
|
38
|
+
}, F = (e, o) => {
|
|
39
|
+
const n = [.../* @__PURE__ */ new Set([...m(e), ...m(o)])], s = {};
|
|
40
|
+
for (const t of n)
|
|
41
|
+
s[t] = o[t] !== void 0 ? o[t] : e[t];
|
|
42
|
+
return s;
|
|
34
43
|
};
|
|
35
44
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
45
|
+
m as keysOf,
|
|
46
|
+
J as provideGlobalConfig,
|
|
47
|
+
D as useGlobalConfig
|
|
39
48
|
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from 'vue';
|
|
2
2
|
import { FullToken } from '../../design-token/interface';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type DesignTokenContextType = {
|
|
4
|
+
token: Ref<Partial<FullToken>>;
|
|
5
|
+
rootCls: Ref<string | undefined>;
|
|
6
|
+
};
|
|
7
|
+
export declare const designTokenContextKey: InjectionKey<DesignTokenContextType>;
|
|
8
|
+
export declare const useToken: () => DesignTokenContextType;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
const
|
|
1
|
+
import { inject as o, ref as e } from "vue";
|
|
2
|
+
const n = Symbol("designTokenContextKey"), r = () => o(n, {
|
|
3
|
+
token: e({}),
|
|
4
|
+
rootCls: e()
|
|
5
|
+
});
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
n as designTokenContextKey,
|
|
5
8
|
r as useToken
|
|
6
9
|
};
|
|
@@ -5,10 +5,9 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
5
5
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
6
6
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
7
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
8
|
-
import { ApGridRowSelection, AgGridRowSelection, ViewCacheOption } from '..';
|
|
8
|
+
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
9
9
|
import { LocaleType } from '../locale';
|
|
10
10
|
import { RecursivePartial } from '../type';
|
|
11
|
-
import { FullToken } from '../design-token/interface';
|
|
12
11
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
13
12
|
export * from './config-provider-props';
|
|
14
13
|
export * from './constants';
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import { BaseToken
|
|
1
|
+
import { BaseToken } from './interface';
|
|
2
2
|
export declare const defaultToken: BaseToken;
|
|
3
|
-
export declare const aplusUIAdminBaseToken: BaseToken;
|
|
4
|
-
/**
|
|
5
|
-
* 预设全量的APlus-UI admin端的token
|
|
6
|
-
*/
|
|
7
|
-
export declare const aplusUITokenAdminPreset: FullToken;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
borderColorBase: "#dee4ed",
|
|
3
3
|
hoverColorBase: "#66a9ff",
|
|
4
4
|
activeColorBase: "#66a9ff",
|
|
@@ -43,105 +43,7 @@ const e = {
|
|
|
43
43
|
scrollbarTrackColorHover: "#f2f6f9",
|
|
44
44
|
tableHeaderBg: "#f2f6f9",
|
|
45
45
|
lineClamp: 2
|
|
46
|
-
}, o = {
|
|
47
|
-
borderColorBase: "#d9d9d9",
|
|
48
|
-
hoverColorBase: "#85d4b0",
|
|
49
|
-
activeColorBase: "#85d4b0",
|
|
50
|
-
colorPrimary: "#34b77c",
|
|
51
|
-
colorPrimaryDisabled: "#d6f1e5",
|
|
52
|
-
colorLink: "#1890ff",
|
|
53
|
-
colorLinkHover: "#5eb1ff",
|
|
54
|
-
colorLinkDisabled: "#cce2ff",
|
|
55
|
-
colorSuccess: "#34b77c",
|
|
56
|
-
colorSuccessDisabled: "#d6f1e5",
|
|
57
|
-
colorError: "#ff4d4f",
|
|
58
|
-
colorErrorDisabled: "#ffdbdc",
|
|
59
|
-
colorWarn: "#faad14",
|
|
60
|
-
colorWarnDisabled: "#ffeed9",
|
|
61
|
-
textColor1: "#666",
|
|
62
|
-
textColor2: "#333",
|
|
63
|
-
textColor3: "#999",
|
|
64
|
-
textColor4: "#bfbfbf",
|
|
65
|
-
colorBg1: "#e9e9e9",
|
|
66
|
-
colorBg2: "#f6f9fa",
|
|
67
|
-
colorBg3: "#f5f5f5",
|
|
68
|
-
colorBgDisabled: "#f5f5f5",
|
|
69
|
-
fontSizeSM: 10,
|
|
70
|
-
fontSize: 12,
|
|
71
|
-
fontSizeLG: 14,
|
|
72
|
-
fontSizeXL: 16,
|
|
73
|
-
lineHeightSM: 16,
|
|
74
|
-
lineHeight: 18,
|
|
75
|
-
lineHeightLG: 22,
|
|
76
|
-
borderRadiusXS: 1,
|
|
77
|
-
borderRadius: 4,
|
|
78
|
-
spaceXXS: 2,
|
|
79
|
-
spaceXS: 4,
|
|
80
|
-
spaceSM: 6,
|
|
81
|
-
space: 8,
|
|
82
|
-
spaceMD: 10,
|
|
83
|
-
spaceLG: 12,
|
|
84
|
-
spaceXL: 16,
|
|
85
|
-
spaceXXL: 24,
|
|
86
|
-
scrollbarThumbColorBase: "#bfbfbf",
|
|
87
|
-
scrollbarThumbColorHover: "#787878",
|
|
88
|
-
scrollbarTrackColorHover: "#f7f7f7",
|
|
89
|
-
tableHeaderBg: "#f7f7f7",
|
|
90
|
-
lineClamp: 2
|
|
91
|
-
}, r = {
|
|
92
|
-
apProCardHeaderPadding: "8px 16px 0",
|
|
93
|
-
apProCardHeaderPaddingBottom: "8px",
|
|
94
|
-
apProCardBorderRadius: "4px",
|
|
95
|
-
apProCardColorBgContainer: "transparent",
|
|
96
|
-
apProCardBodyPadding: "8px 16px",
|
|
97
|
-
apProCardActionsPadding: "12px 16px",
|
|
98
|
-
apProCardBorderLineWidth: "1px",
|
|
99
|
-
apProCardBorderLineType: "solid",
|
|
100
|
-
apProCardBorderColorSplit: "#e9e9e9",
|
|
101
|
-
apProCardBoxShadow: "3px 10px 30px -2px rgba(123, 121, 140, 0.15)",
|
|
102
|
-
apProCardTooltipColor: "#999",
|
|
103
|
-
apProCardHeaderTitleFontSize: "12px",
|
|
104
|
-
apProCardHeaderTitleFontColor: "#333",
|
|
105
|
-
apProCardAreaColor: "#eff9f5",
|
|
106
|
-
apProCardSplitLineHeight: "100%",
|
|
107
|
-
apProCardDividerLineHeight: "60%"
|
|
108
|
-
}, a = {
|
|
109
|
-
...o,
|
|
110
|
-
components: {
|
|
111
|
-
ApAction: {
|
|
112
|
-
loadingOpacity: 0.35
|
|
113
|
-
},
|
|
114
|
-
CheckCard: {
|
|
115
|
-
checkCardDisabledBg: "#F9F9FA",
|
|
116
|
-
checkCardDisabledOutlineColor: "#E9EDF3",
|
|
117
|
-
checkCardIndicatorSize: 14,
|
|
118
|
-
checkCardOutlineWidth: 2,
|
|
119
|
-
checkCardIndicatorOffset: -2
|
|
120
|
-
},
|
|
121
|
-
ApForm: { apFormBorderedShadowColor: "rgba(5, 155, 255, 0.1)" },
|
|
122
|
-
ApList: {
|
|
123
|
-
apListSpinnigOpacity: 0.5
|
|
124
|
-
},
|
|
125
|
-
Scrollbar: {
|
|
126
|
-
scrollBarBarColor: "#c7c8cc",
|
|
127
|
-
scrollBarTrackColor: "#F2F2F2",
|
|
128
|
-
scrollBarTrackDisabledColor: "#FAFAFA",
|
|
129
|
-
scrollBarBarWidth: 8,
|
|
130
|
-
scrollBarTrackWidth: 10
|
|
131
|
-
},
|
|
132
|
-
Mask: { maskAnimationDuration: "0.25s", maskOpacity: 0.45 },
|
|
133
|
-
Splitter: {
|
|
134
|
-
splitterBarSize: 2,
|
|
135
|
-
splitterTriggerSize: 6,
|
|
136
|
-
splitterResizeSpinnerSize: 20,
|
|
137
|
-
splitterSplitBarDraggableSize: 20
|
|
138
|
-
},
|
|
139
|
-
ProCard: r,
|
|
140
|
-
StatisticsCard: r
|
|
141
|
-
}
|
|
142
46
|
};
|
|
143
47
|
export {
|
|
144
|
-
o as
|
|
145
|
-
a as aplusUITokenAdminPreset,
|
|
146
|
-
e as defaultToken
|
|
48
|
+
o as defaultToken
|
|
147
49
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
2
|
-
export
|
|
2
|
+
export * from './interface';
|
|
3
3
|
export declare const aplusToken: ThemeConfig['token'];
|
|
4
4
|
export declare const adminToken: ThemeConfig['token'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./interface.mjs";
|
|
2
2
|
const o = {
|
|
3
3
|
borderRadius: 4,
|
|
4
4
|
fontSize: 12,
|
|
@@ -7,7 +7,7 @@ const o = {
|
|
|
7
7
|
lineHeightSM: 1.6,
|
|
8
8
|
wireframe: !1,
|
|
9
9
|
sizeUnit: 3
|
|
10
|
-
},
|
|
10
|
+
}, e = {
|
|
11
11
|
...o,
|
|
12
12
|
// 主色
|
|
13
13
|
colorPrimary: "#0070FF",
|
|
@@ -40,7 +40,7 @@ const o = {
|
|
|
40
40
|
controlItemBgActive: "#F5F9FF",
|
|
41
41
|
controlItemBgActiveHover: "#EAF2FF",
|
|
42
42
|
colorBorderSecondary: "#E9EDF3"
|
|
43
|
-
},
|
|
43
|
+
}, c = {
|
|
44
44
|
...o,
|
|
45
45
|
// 主色
|
|
46
46
|
colorPrimary: "#34B77C",
|
|
@@ -76,7 +76,6 @@ const o = {
|
|
|
76
76
|
colorBorderSecondary: "#E9E9E9"
|
|
77
77
|
};
|
|
78
78
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
t as aplusUITokenAdminPreset
|
|
79
|
+
c as adminToken,
|
|
80
|
+
e as aplusToken
|
|
82
81
|
};
|