@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,45 +1,45 @@
|
|
|
1
|
-
import { render as
|
|
1
|
+
import { render as f, defineComponent as b, createVNode as l, mergeProps as k, h as w } from "vue";
|
|
2
2
|
import { Modal as P } from "@aplus-frontend/antdv";
|
|
3
|
-
import { ConfigProvider as N, globalConfigCached as
|
|
4
|
-
import { omit as
|
|
5
|
-
import { isNumeric as
|
|
3
|
+
import { ConfigProvider as N, globalConfigCached as m } from "../../config-provider/config-provider.mjs";
|
|
4
|
+
import { omit as E } from "lodash-unified";
|
|
5
|
+
import { isNumeric as L } from "@aplus-frontend/utils";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import { getContainerDom as u, getModalGlobalAppContext as
|
|
8
|
-
import { getTopWindow as
|
|
9
|
-
import { useNamespace as
|
|
10
|
-
const
|
|
11
|
-
let
|
|
7
|
+
import { getContainerDom as u, getModalGlobalAppContext as M } from "./util.mjs";
|
|
8
|
+
import { getTopWindow as A } from "../../utils/index.mjs";
|
|
9
|
+
import { useNamespace as F } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
const q = (o) => {
|
|
11
|
+
let t, n;
|
|
12
12
|
const {
|
|
13
|
-
destroyOnClose:
|
|
14
|
-
wrapperOffset:
|
|
15
|
-
} =
|
|
16
|
-
b:
|
|
17
|
-
} =
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
destroyOnClose: i = !0,
|
|
14
|
+
wrapperOffset: r = !1
|
|
15
|
+
} = o, {
|
|
16
|
+
b: p
|
|
17
|
+
} = F("ap-modal");
|
|
18
|
+
function s() {
|
|
19
|
+
t && t(!1), setTimeout(() => {
|
|
20
|
+
f(null, a), a.parentElement?.removeChild(a);
|
|
21
21
|
}, 500);
|
|
22
22
|
}
|
|
23
23
|
function h() {
|
|
24
|
-
|
|
24
|
+
t && t(!0);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function d() {
|
|
27
|
+
t && t(!1);
|
|
28
28
|
}
|
|
29
29
|
function C(e) {
|
|
30
|
-
|
|
30
|
+
n && n(e);
|
|
31
31
|
}
|
|
32
32
|
const g = /* @__PURE__ */ b({
|
|
33
33
|
data() {
|
|
34
34
|
return {
|
|
35
|
-
open:
|
|
36
|
-
props:
|
|
35
|
+
open: i,
|
|
36
|
+
props: o
|
|
37
37
|
};
|
|
38
38
|
},
|
|
39
39
|
created() {
|
|
40
|
-
|
|
40
|
+
t = (e) => {
|
|
41
41
|
this.open = e;
|
|
42
|
-
},
|
|
42
|
+
}, n = (e) => {
|
|
43
43
|
this.props = {
|
|
44
44
|
...this.props,
|
|
45
45
|
...e
|
|
@@ -52,61 +52,68 @@ const z = (p) => {
|
|
|
52
52
|
const e = this.props?.content?.component?.exposed ?? void 0;
|
|
53
53
|
await this.props?.onCancel(e);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
i ? s() : d();
|
|
56
56
|
},
|
|
57
57
|
async handleOk() {
|
|
58
58
|
try {
|
|
59
|
-
if (
|
|
59
|
+
if (n({
|
|
60
60
|
confirmLoading: !0
|
|
61
61
|
}), this.props?.onOk) {
|
|
62
62
|
const e = this.props?.content?.component?.exposed ?? void 0;
|
|
63
63
|
await this.props.onOk(e);
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
n({
|
|
66
66
|
confirmLoading: !1
|
|
67
|
-
}),
|
|
67
|
+
}), i ? s() : d();
|
|
68
68
|
} catch {
|
|
69
|
-
|
|
69
|
+
n({
|
|
70
70
|
confirmLoading: !1
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
+
},
|
|
74
|
+
handleFooter(e) {
|
|
75
|
+
return o?.footer !== void 0 ? typeof o.footer == "function" ? o.footer({
|
|
76
|
+
...e,
|
|
77
|
+
contentExposed: this.props?.content?.component?.exposed ?? void 0
|
|
78
|
+
}) : o.footer : e?.originNode;
|
|
73
79
|
}
|
|
74
80
|
},
|
|
75
81
|
render() {
|
|
76
|
-
const e =
|
|
77
|
-
return l(N,
|
|
82
|
+
const e = E(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon", "footer"]);
|
|
83
|
+
return l(N, m.value, {
|
|
78
84
|
default: () => [l(P, k({
|
|
79
85
|
class: {
|
|
80
|
-
[
|
|
81
|
-
[
|
|
86
|
+
[p()]: !0,
|
|
87
|
+
[p("wrapper")]: r
|
|
82
88
|
},
|
|
83
89
|
centered: !0
|
|
84
90
|
}, e, {
|
|
85
91
|
open: this.open,
|
|
86
92
|
onCancel: this.handleCancel,
|
|
87
|
-
onOk: this.handleOk
|
|
93
|
+
onOk: this.handleOk,
|
|
94
|
+
footer: this?.handleFooter
|
|
88
95
|
}), {
|
|
89
96
|
default: () => [l("div", {
|
|
90
97
|
class: {
|
|
91
|
-
[
|
|
98
|
+
[p("body-wrapper")]: r
|
|
92
99
|
},
|
|
93
|
-
style:
|
|
94
|
-
maxHeight: `calc(100vh - ${(
|
|
100
|
+
style: r === !1 ? {} : {
|
|
101
|
+
maxHeight: `calc(100vh - ${(r === !0 ? 100 : L(r) ? Number(r) : 100) * 2}px)`
|
|
95
102
|
}
|
|
96
103
|
}, [this.props?.content])]
|
|
97
104
|
})]
|
|
98
105
|
});
|
|
99
106
|
}
|
|
100
|
-
}), x = u(
|
|
101
|
-
|
|
102
|
-
const
|
|
103
|
-
return
|
|
104
|
-
destroy:
|
|
107
|
+
}), x = u(m?.value?.getPopupContainer), v = u(o.getContainer), y = x || v || A().document.body, a = document.createElement("div");
|
|
108
|
+
y.appendChild(a);
|
|
109
|
+
const c = w(g), O = M();
|
|
110
|
+
return c.appContext = o.appContext || O || c.appContext, f(c, a), {
|
|
111
|
+
destroy: s,
|
|
105
112
|
update: C,
|
|
106
113
|
open: h,
|
|
107
|
-
close:
|
|
114
|
+
close: d
|
|
108
115
|
};
|
|
109
116
|
};
|
|
110
117
|
export {
|
|
111
|
-
|
|
118
|
+
q as createModal
|
|
112
119
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
2
|
import { ProCardToken } from './token';
|
|
3
|
-
import {
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
4
4
|
export declare const genProCardDividerStyle: GenStyleFunc<ProCardToken>;
|
|
5
|
-
declare const _default: (prefixCls: string) =>
|
|
5
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
6
6
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
2
|
import { ProCardToken } from './token';
|
|
3
|
-
import {
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
4
4
|
export declare const genProCardStyle: GenStyleFunc<ProCardToken>;
|
|
5
|
-
declare const _default: (prefixCls: string) =>
|
|
5
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
6
6
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genProCardOperationStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
2
|
import { ProCardToken } from './token';
|
|
3
|
-
import {
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
4
4
|
export declare const genProCardStatisticsStyle: GenStyleFunc<ProCardToken>;
|
|
5
|
-
declare const _default: (prefixCls: string) =>
|
|
5
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
6
6
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genProCardTitleStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -485,8 +485,8 @@ const Mr = /* @__PURE__ */ De({
|
|
|
485
485
|
ref: R,
|
|
486
486
|
"scroll-container": D.value?.table?.scrollBodyRef,
|
|
487
487
|
direction: "horizontal",
|
|
488
|
-
"bar-color": "var(--
|
|
489
|
-
"track-color": "var(--
|
|
488
|
+
"bar-color": "var(--scrollbar-thumb-color-base)",
|
|
489
|
+
"track-color": "var(--table-header-bg, #f2f6f9)"
|
|
490
490
|
}, null, 8, ["scroll-container"])]),
|
|
491
491
|
key: "0"
|
|
492
492
|
} : void 0, ne(o(ue)(g, ["title", "searchFormExtra", "headerCell", "summary"]), (t, d) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genTableEllipsisCellStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genTableIndexCellStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { GenStyleFunc, StyleMixin } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export type ApTableToken = {
|
|
4
4
|
apTableHeaderBg: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const genSettingTriggerBtnStyle: StyleMixin;
|
|
7
7
|
export declare const genApTableStyle: GenStyleFunc<ApTableToken>;
|
|
8
|
-
declare const _default: (prefixCls: string) =>
|
|
8
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
9
9
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genTableSettingStyle: GenStyleFunc;
|
|
4
4
|
export declare const genTableSettingSelectGroupStyle: GenStyleFunc;
|
|
5
5
|
export declare const genTableSettingSortableItemMetaStyle: GenStyleFunc;
|
|
6
6
|
export declare const genTableSettingSortableItemStyle: GenStyleFunc;
|
|
7
7
|
export declare const genTableSettingSorterStyle: GenStyleFunc;
|
|
8
|
-
declare const _default: (prefixCls: string) =>
|
|
8
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
9
9
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isVNode as T, createVNode as s, mergeProps as a, cloneVNode as h, createTextVNode as C, Fragment as j } from "vue";
|
|
2
|
-
import { isObject as d, isArray as u, isUndefined as
|
|
2
|
+
import { isObject as d, isArray as u, isUndefined as x, isFunction as g, omit as E, isBoolean as O, isString as v, isEqual as F, sortBy as m, isPlainObject as y, every as N, isEmpty as R } from "lodash-unified";
|
|
3
3
|
import { apTableRenderItemMap as P, apTableFormItemMap as S } from "./constants.mjs";
|
|
4
4
|
import { isType as I } from "@fruits-chain/utils";
|
|
5
5
|
import "../ap-form/index.mjs";
|
|
6
|
-
import { Tooltip as
|
|
7
|
-
import { QuestionCircleOutlined as
|
|
8
|
-
import
|
|
6
|
+
import { Tooltip as A } from "@aplus-frontend/antdv";
|
|
7
|
+
import { QuestionCircleOutlined as V } from "@ant-design/icons-vue";
|
|
8
|
+
import w from "../ap-form/item/index.vue.mjs";
|
|
9
9
|
function M(e) {
|
|
10
10
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !T(e);
|
|
11
11
|
}
|
|
@@ -72,7 +72,7 @@ const W = (e) => {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
}), t;
|
|
75
|
-
}, X = (e) =>
|
|
75
|
+
}, X = (e) => x(e) || e < 0 ? 0 : e;
|
|
76
76
|
function B(e, t) {
|
|
77
77
|
return !e || !g(e) ? e : e(t);
|
|
78
78
|
}
|
|
@@ -104,7 +104,7 @@ function ee(e, t) {
|
|
|
104
104
|
const o = t?.[e.valueType];
|
|
105
105
|
return () => {
|
|
106
106
|
const r = o?.renderFormItem?.(e.fieldProps.field);
|
|
107
|
-
return r ? s(
|
|
107
|
+
return r ? s(w, a(e.fieldProps, {
|
|
108
108
|
span: e.span
|
|
109
109
|
}), M(r) ? r : {
|
|
110
110
|
default: () => [r]
|
|
@@ -118,7 +118,7 @@ function te(e, t) {
|
|
|
118
118
|
value: i ? t.index + 1 : t.value
|
|
119
119
|
};
|
|
120
120
|
return e.valueEnum && (o.valueEnum = e.valueEnum), {
|
|
121
|
-
...
|
|
121
|
+
...E(o, ["request"]),
|
|
122
122
|
...f
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -126,7 +126,7 @@ function ne(e) {
|
|
|
126
126
|
const t = {
|
|
127
127
|
...e
|
|
128
128
|
};
|
|
129
|
-
return
|
|
129
|
+
return O(e.filters) && e.filters && e.valueEnum && (t.filters = b(e.valueEnum)), t;
|
|
130
130
|
}
|
|
131
131
|
function re(e, t) {
|
|
132
132
|
const n = t || {};
|
|
@@ -151,8 +151,11 @@ function ie(e, t, n, o) {
|
|
|
151
151
|
}), i = r?.filter((l) => l.type !== Symbol.for("v-cmt")) || [];
|
|
152
152
|
if (r && i.length > 0)
|
|
153
153
|
return r;
|
|
154
|
-
const c =
|
|
154
|
+
const c = v(e.title) ? s("span", {
|
|
155
155
|
class: t,
|
|
156
|
+
style: {
|
|
157
|
+
textAlign: e.align || "left"
|
|
158
|
+
},
|
|
156
159
|
title: e.title
|
|
157
160
|
}, [e._requireMark ? s("span", {
|
|
158
161
|
style: {
|
|
@@ -166,12 +169,12 @@ function ie(e, t, n, o) {
|
|
|
166
169
|
alignItems: "center",
|
|
167
170
|
maxWidth: "100%"
|
|
168
171
|
}
|
|
169
|
-
}, [c, s(
|
|
172
|
+
}, [c, s(A, {
|
|
170
173
|
title: p,
|
|
171
174
|
placement: "bottom",
|
|
172
175
|
getPopupContainer: (l) => l.closest(".ant-table") || l.closest(".ant-modal") || l.closest(".vxe-table") || document.body
|
|
173
176
|
}, {
|
|
174
|
-
default: () => [s(
|
|
177
|
+
default: () => [s(V, {
|
|
175
178
|
style: {
|
|
176
179
|
paddingInline: "4px",
|
|
177
180
|
color: o,
|
|
@@ -15,7 +15,7 @@ const k = ["title"], G = /* @__PURE__ */ $({
|
|
|
15
15
|
fixedWidth: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
setup(o) {
|
|
18
|
-
const e = o, l = I("uiMode"), { b:
|
|
18
|
+
const e = o, l = I("uiMode"), { b: a, bm: r } = W("tag"), c = z("tag");
|
|
19
19
|
function s(t, p) {
|
|
20
20
|
t.length === 4 && (t = `#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`);
|
|
21
21
|
const f = parseInt(t.slice(1, 3), 16), g = parseInt(t.slice(3, 5), 16), y = parseInt(t.slice(5, 7), 16), S = Math.round(p * 255).toString(16).padStart(2, "0");
|
|
@@ -26,13 +26,14 @@ const k = ["title"], G = /* @__PURE__ */ $({
|
|
|
26
26
|
"--tag-main-color-opacity": s(e.color, 0.06),
|
|
27
27
|
"--tag-main-color-background": s(e.color, 0.15)
|
|
28
28
|
})), u = n(() => [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
a(
|
|
29
|
+
a(),
|
|
30
|
+
a("wrapper"),
|
|
31
|
+
a(`wrapper-${e.type}`),
|
|
32
|
+
r("wrapper", e.size),
|
|
32
33
|
c.value
|
|
33
34
|
].filter(Boolean)), m = n(() => {
|
|
34
|
-
const t = [
|
|
35
|
-
return e.disabled && (l.value === "aplus" ? t.push(
|
|
35
|
+
const t = [a("inner-wrapper"), r("inner-wrapper", e.size)];
|
|
36
|
+
return e.disabled && (l.value === "aplus" ? t.push(r("inner-wrapper", "disabled")) : t.push(r("inner-wrapper", "disabled-admin"))), t;
|
|
36
37
|
});
|
|
37
38
|
return (t, p) => (w(), b("span", {
|
|
38
39
|
style: B(d.value),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genTagGroupStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genApTagStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ROW_KEY as a } from "./constants.mjs";
|
|
2
2
|
import { isFunction as p } from "lodash-unified";
|
|
3
|
-
function m(
|
|
3
|
+
function m(e, t, r) {
|
|
4
4
|
let n = null;
|
|
5
5
|
return { request: async (s) => {
|
|
6
|
-
const i =
|
|
6
|
+
const i = e;
|
|
7
7
|
if (!i)
|
|
8
8
|
return r?.(0), {
|
|
9
9
|
data: [],
|
|
@@ -12,42 +12,42 @@ function m(t, e, r) {
|
|
|
12
12
|
n && (s = Object.assign(s, n));
|
|
13
13
|
const { records: l, total: u } = await i(Object.assign({}, s));
|
|
14
14
|
return r?.(l.length || 0), {
|
|
15
|
-
data: l.map((c) => h(c,
|
|
15
|
+
data: l.map((c) => h(c, t)),
|
|
16
16
|
total: u
|
|
17
17
|
};
|
|
18
18
|
}, setExtraParams: (s) => {
|
|
19
19
|
n = s || null;
|
|
20
20
|
} };
|
|
21
21
|
}
|
|
22
|
-
function h(
|
|
23
|
-
return p(
|
|
24
|
-
...
|
|
25
|
-
[a]: e
|
|
26
|
-
} :
|
|
22
|
+
function h(e, t) {
|
|
23
|
+
return p(t) ? {
|
|
24
|
+
...e,
|
|
25
|
+
[a]: t(e)
|
|
26
|
+
} : e;
|
|
27
27
|
}
|
|
28
|
-
function g(
|
|
29
|
-
return Reflect.deleteProperty(
|
|
28
|
+
function g(e) {
|
|
29
|
+
return Reflect.deleteProperty(e, a), e;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
const { renderSelectedItem:
|
|
31
|
+
function j(e) {
|
|
32
|
+
const { renderSelectedItem: t, rightTitle: r, rightBottom: n, ...o } = e || {};
|
|
33
33
|
return {
|
|
34
|
-
props: { ...o, layoutType:
|
|
34
|
+
props: { ...o, layoutType: e && "two-column" },
|
|
35
35
|
slots: {
|
|
36
|
-
renderSelectedItem:
|
|
36
|
+
renderSelectedItem: t,
|
|
37
37
|
rightTitle: r,
|
|
38
38
|
rightBottom: n
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
class
|
|
42
|
+
class y {
|
|
43
43
|
constructor() {
|
|
44
44
|
this.p = null, this.operateFn = null;
|
|
45
45
|
}
|
|
46
46
|
buildPromise() {
|
|
47
|
-
return this.operateFn && this.operateFn.reject("reuse"), this.p = new Promise((
|
|
47
|
+
return this.operateFn && this.operateFn.reject("Ignored Reject: reuse"), this.p = new Promise((t, r) => {
|
|
48
48
|
this.operateFn = {
|
|
49
49
|
reject: r,
|
|
50
|
-
resolve:
|
|
50
|
+
resolve: t
|
|
51
51
|
};
|
|
52
52
|
}), this.p;
|
|
53
53
|
}
|
|
@@ -55,18 +55,18 @@ class P {
|
|
|
55
55
|
this.p = null, this.operateFn = null;
|
|
56
56
|
}
|
|
57
57
|
/** 兑现回调 */
|
|
58
|
-
resolve(
|
|
59
|
-
this.operateFn && (this.operateFn.resolve(
|
|
58
|
+
resolve(t) {
|
|
59
|
+
this.operateFn && (this.operateFn.resolve(t), this.clear());
|
|
60
60
|
}
|
|
61
61
|
/** 拒绝回调 */
|
|
62
|
-
reject(
|
|
63
|
-
this.operateFn && (this.operateFn.reject(
|
|
62
|
+
reject(t) {
|
|
63
|
+
this.operateFn && (this.operateFn.reject("Ignored Reject: " + t), this.clear());
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
y as AsyncCallback,
|
|
68
68
|
h as addRowKeyField,
|
|
69
69
|
g as delRowKeyField,
|
|
70
70
|
m as genRequest,
|
|
71
|
-
|
|
71
|
+
j as getModalLayoutConfig
|
|
72
72
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
|
+
import { AppendixToken } from './token';
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
4
|
+
export declare const genApAppendixStyle: GenStyleFunc<AppendixToken>;
|
|
5
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
6
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
1
|
+
import { genComponentStyleHook as e } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
import { defaultToken as n } from "./token.mjs";
|
|
2
3
|
const r = (o) => {
|
|
3
|
-
const { componentCls: t } = o
|
|
4
|
+
const { componentCls: t } = o;
|
|
4
5
|
return {
|
|
5
6
|
[t]: {
|
|
6
7
|
[`${t}__suffix`]: {
|
|
@@ -13,17 +14,17 @@ const r = (o) => {
|
|
|
13
14
|
padding: 0,
|
|
14
15
|
height: "min-content"
|
|
15
16
|
},
|
|
16
|
-
[
|
|
17
|
+
[`${t}__file-area`]: {
|
|
17
18
|
marginTop: "12px",
|
|
18
|
-
|
|
19
|
-
border:
|
|
19
|
+
"&--border": {
|
|
20
|
+
border: `1px dashed ${o.borderColorBase}`,
|
|
20
21
|
padding: "12px",
|
|
21
22
|
borderRadius: "4px"
|
|
22
23
|
},
|
|
23
|
-
|
|
24
|
+
"&-content": {
|
|
24
25
|
display: "grid",
|
|
25
26
|
gap: "16px 80px",
|
|
26
|
-
gridTemplateColumns:
|
|
27
|
+
gridTemplateColumns: o.apAppendixColumn,
|
|
27
28
|
"&-item": {
|
|
28
29
|
overflow: "hidden",
|
|
29
30
|
userSelect: "none",
|
|
@@ -38,7 +39,7 @@ const r = (o) => {
|
|
|
38
39
|
marginRight: "8px",
|
|
39
40
|
svg: {
|
|
40
41
|
width: "16px",
|
|
41
|
-
color:
|
|
42
|
+
color: o.textColor4
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
"&-file-name": {
|
|
@@ -50,13 +51,13 @@ const r = (o) => {
|
|
|
50
51
|
".ant-typography": {
|
|
51
52
|
fontSize: o.fontSize,
|
|
52
53
|
lineHeight: o.lineHeight,
|
|
53
|
-
color:
|
|
54
|
+
color: o.textColor2,
|
|
54
55
|
transition: "color 0.2s"
|
|
55
56
|
}
|
|
56
57
|
},
|
|
57
58
|
"&-content:hover": {
|
|
58
59
|
".ant-typography": {
|
|
59
|
-
color:
|
|
60
|
+
color: o.colorLink
|
|
60
61
|
}
|
|
61
62
|
},
|
|
62
63
|
"&--loading": {
|
|
@@ -64,11 +65,11 @@ const r = (o) => {
|
|
|
64
65
|
cursor: "not-allowed"
|
|
65
66
|
},
|
|
66
67
|
".ant-typography": {
|
|
67
|
-
color:
|
|
68
|
+
color: o.textColor4
|
|
68
69
|
},
|
|
69
70
|
"&-content:hover": {
|
|
70
71
|
".ant-typography": {
|
|
71
|
-
color:
|
|
72
|
+
color: o.textColor4
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
}
|
|
@@ -85,10 +86,12 @@ const r = (o) => {
|
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
};
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
]
|
|
89
|
+
}, l = e(
|
|
90
|
+
"ApAppendix",
|
|
91
|
+
(o) => [r(o)],
|
|
92
|
+
n
|
|
93
|
+
);
|
|
91
94
|
export {
|
|
92
|
-
|
|
93
|
-
r as
|
|
95
|
+
l as default,
|
|
96
|
+
r as genApAppendixStyle
|
|
94
97
|
};
|