@aplus-frontend/ui 0.6.0-beta.12 → 0.6.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/interface.d.ts +3 -3
- package/es/src/ap-form/item/index.vue.mjs +38 -34
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +9 -6
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +39 -36
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +15 -12
- package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +110 -95
- package/es/src/ap-grid/interface.d.ts +10 -0
- package/es/src/ap-grid/utils/table.mjs +15 -14
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +23 -23
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/utils.d.ts +23 -23
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-copy/ApCopy.mjs +43 -43
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-product-info/ApProductInfo.mjs +23 -24
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +23 -23
- package/es/src/business/ap-radio-group/index.d.ts +5 -0
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +96 -84
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/ap-view/index.d.ts +12 -3
- package/es/src/business/ap-view/interface.d.ts +7 -0
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/usePageListApGrid.mjs +17 -20
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +4 -4
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/es/test/setup.d.ts +5 -0
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/interface.d.ts +3 -3
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.d.ts +9 -6
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +10 -0
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +23 -23
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/utils.d.ts +23 -23
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +5 -0
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/index.d.ts +12 -3
- package/lib/src/business/ap-view/interface.d.ts +7 -0
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/lib/test/setup.d.ts +5 -0
- package/package.json +6 -5
- package/theme/ap-action/item.css +12 -1
- package/theme/ap-action/item.less +13 -1
- package/theme/ap-copy/ap-copy.css +2 -0
- package/theme/ap-copy/ap-copy.less +2 -0
- package/theme/ap-grid/index.css +12 -1
- package/theme/ap-radio-group/ap-radio-group.css +2 -1
- package/theme/ap-radio-group/ap-radio-group.less +3 -1
- package/theme/ap-table/ap-table.css +12 -1
- package/theme/ap-table-modal/index.css +12 -1
- package/theme/editable-table/index.css +12 -1
- package/theme/index.css +25 -3
- package/theme/ui-mode.css +9 -1
- package/theme/ui-mode.less +17 -1
|
@@ -2,9 +2,12 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
|
|
|
2
2
|
import { ApViewProps } from './interface';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApView: {
|
|
5
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApViewProps> & Readonly<{}>, {
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApViewProps> & Readonly<{}>, {
|
|
6
|
+
setFirstDefaultSystemView: (value: boolean) => void;
|
|
7
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
6
8
|
maxViewNum: number;
|
|
7
9
|
isDefaultSystemView: boolean;
|
|
10
|
+
isFirstDefaultSystemView: boolean;
|
|
8
11
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
9
12
|
P: {};
|
|
10
13
|
B: {};
|
|
@@ -12,16 +15,22 @@ declare const ApView: {
|
|
|
12
15
|
C: {};
|
|
13
16
|
M: {};
|
|
14
17
|
Defaults: {};
|
|
15
|
-
}, Readonly< ApViewProps> & Readonly<{}>, {
|
|
18
|
+
}, Readonly< ApViewProps> & Readonly<{}>, {
|
|
19
|
+
setFirstDefaultSystemView: (value: boolean) => void;
|
|
20
|
+
}, {}, {}, {}, {
|
|
16
21
|
maxViewNum: number;
|
|
17
22
|
isDefaultSystemView: boolean;
|
|
23
|
+
isFirstDefaultSystemView: boolean;
|
|
18
24
|
}>;
|
|
19
25
|
__isFragment?: never;
|
|
20
26
|
__isTeleport?: never;
|
|
21
27
|
__isSuspense?: never;
|
|
22
|
-
} & ComponentOptionsBase<Readonly< ApViewProps> & Readonly<{}>, {
|
|
28
|
+
} & ComponentOptionsBase<Readonly< ApViewProps> & Readonly<{}>, {
|
|
29
|
+
setFirstDefaultSystemView: (value: boolean) => void;
|
|
30
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
23
31
|
maxViewNum: number;
|
|
24
32
|
isDefaultSystemView: boolean;
|
|
33
|
+
isFirstDefaultSystemView: boolean;
|
|
25
34
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
26
35
|
$props: {
|
|
27
36
|
onClick?: () => void;
|
|
@@ -59,4 +59,11 @@ export interface ApViewProps {
|
|
|
59
59
|
* 指定默认视图为系统视图
|
|
60
60
|
*/
|
|
61
61
|
isDefaultSystemView?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* 指定初始化默认视图为系统视图(仅初始化生效)
|
|
64
|
+
*/
|
|
65
|
+
isFirstDefaultSystemView?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export interface ApViewExpose {
|
|
68
|
+
setFirstDefaultSystemView: (value: boolean) => void;
|
|
62
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index.js");const u=require("lodash-unified"),g=require("vue"),v=require("./useTableRefresh.js");function b(a){const o=g.ref(null),{isShowRowSelection:i=!0,clearSelectionOnRequest:d=!0,transformSearchFormValues:s,api:n,tableRefresh:f=!0,virtual:h,...S}=a||{};let l=null;const c=()=>{var e,r;(r=(e=o.value)==null?void 0:e.rowSelection)==null||r.clearAll()};v.useTableRefresh({...R(f),apTableRef:o});const p=async e=>{l=e.sort;const r=s?s(e):e;try{if(!n)throw new Error("api is not defined");const{records:t,total:m}=await n(r);return d&&c(),{data:t,total:m}}catch(t){return console.error(t),{data:[],total:0}}};return[u.merge({scroll:{x:"100%",y:"100%"},columnResizable:!0,request:n?p:void 0,rowSelection:i?{fixed:"left",columnWidth:34}:void 0,ref(e){o.value=e},virtual:u.merge({oSize:20,y:20},h),card:!0},S),{reload:()=>{var e;(e=o.value)==null||e.submit()},reset:()=>{var e;(e=o.value)==null||e.reset()},getSearchFormValues:(e=!0)=>{var t;const r=((t=o.value)==null?void 0:t.getSearchFormValues(!!e))||{};return s?s(r):r},getApGridInstance:()=>o.value,getSearchFormValuesAndSorted:(e=!0)=>{var t;const r=((t=o.value)==null?void 0:t.getSearchFormValues(!!e))||{};return r.sort=l&&u.cloneDeep(l),s?s(r):r},clearSelection:c}]}function R(a){return a===!0?{}:a===!1?{refreshBefore:()=>!1}:a}exports.usePageListApGrid=b;
|
|
@@ -2,7 +2,11 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
|
2
2
|
export declare const defaultNamespace = "aplus";
|
|
3
3
|
export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
|
|
4
4
|
export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
|
|
5
|
-
export declare const useNamespace: (
|
|
5
|
+
export declare const useNamespace: (
|
|
6
|
+
/**
|
|
7
|
+
* 块 一般是指组件名
|
|
8
|
+
*/
|
|
9
|
+
block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
6
10
|
namespace: ComputedRef<string>;
|
|
7
11
|
b: (blockSuffix?: string) => string;
|
|
8
12
|
e: (element?: string) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
5
5
|
expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
|
|
@@ -36,9 +36,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
36
36
|
}) => void;
|
|
37
37
|
};
|
|
38
38
|
emit: {};
|
|
39
|
-
}>) => VNode
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}> & {
|
|
39
|
+
}>) => VNode & {
|
|
42
40
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
41
|
};
|
|
44
42
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -39,9 +39,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
39
39
|
}) => void;
|
|
40
40
|
};
|
|
41
41
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
42
|
-
}>) => VNode
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}> & {
|
|
42
|
+
}>) => VNode & {
|
|
45
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
44
|
};
|
|
47
45
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
|
-
import { ScrollBarDirection, InternalScrollBarProps
|
|
2
|
+
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
110
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
122
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?:
|
|
4
|
-
lang?:
|
|
3
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?:
|
|
7
|
-
lang?:
|
|
6
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.6.0-beta.
|
|
1
|
+
declare const _default: "0.6.0-beta.14";
|
|
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="0.6.0-beta.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="0.6.0-beta.14";exports.default=e;
|
|
@@ -2,13 +2,12 @@ import { WorkOrderModalProps } from './interfaces';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath,
|
|
5
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { Recordable } from '../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
11
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '..';
|
|
14
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -113,7 +112,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
113
112
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
114
113
|
readonly initialValues?: Recordable | undefined;
|
|
115
114
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
116
|
-
readonly syncToUrl?:
|
|
115
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
117
116
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
118
117
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
119
118
|
$attrs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.14",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"hooks": {
|
|
35
35
|
"after:init": "echo Start publish ${npm.name}.",
|
|
36
36
|
"after:git:release": "gulp -f ./script/build/index.ts",
|
|
37
|
-
"after:release": "pnpm run pub:cb"
|
|
37
|
+
"after:release": "pnpm run pub:cb && pnpm send:changelog"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": [
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"sortablejs": "^1.15.2",
|
|
64
64
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
65
65
|
"vuedraggable": "^4.1.0",
|
|
66
|
-
"@aplus-frontend/
|
|
67
|
-
"@aplus-frontend/
|
|
66
|
+
"@aplus-frontend/utils": "1.0.57",
|
|
67
|
+
"@aplus-frontend/hooks": "1.0.7"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@aplus-frontend/antdv": "^1.1.5",
|
|
@@ -96,7 +96,8 @@
|
|
|
96
96
|
"release:major:beta": "release-it major --preRelease=beta",
|
|
97
97
|
"release:minor:beta": "release-it minor --preRelease=beta",
|
|
98
98
|
"release:patch:beta": "release-it patch --preRelease=beta",
|
|
99
|
-
"generate:version": "gulp -f ./script/generate-version.ts"
|
|
99
|
+
"generate:version": "gulp -f ./script/generate-version.ts",
|
|
100
|
+
"send:changelog": "gulp -f ./script/send-changelog.ts"
|
|
100
101
|
},
|
|
101
102
|
"module": "./es/index.mjs",
|
|
102
103
|
"typings": "lib/index.d.ts"
|
package/theme/ap-action/item.css
CHANGED
|
@@ -80,6 +80,17 @@
|
|
|
80
80
|
margin-right: 4px;
|
|
81
81
|
}
|
|
82
82
|
.aplus-action-item--disabled {
|
|
83
|
-
color: #CCE2FF;
|
|
84
83
|
cursor: not-allowed;
|
|
85
84
|
}
|
|
85
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
86
|
+
color: var(--ap-color-primary-disabled);
|
|
87
|
+
}
|
|
88
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
89
|
+
color: var(--ap-color-success-disabled);
|
|
90
|
+
}
|
|
91
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
92
|
+
color: var(--ap-color-error-disabled);
|
|
93
|
+
}
|
|
94
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
95
|
+
color: var(--ap-color-warn-disabled);
|
|
96
|
+
}
|
|
@@ -37,7 +37,19 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&--disabled {
|
|
40
|
-
color: #CCE2FF;
|
|
41
40
|
cursor: not-allowed;
|
|
42
41
|
}
|
|
42
|
+
|
|
43
|
+
&--primary&--disabled {
|
|
44
|
+
color: var(--ap-color-primary-disabled);
|
|
45
|
+
}
|
|
46
|
+
&--success&--disabled {
|
|
47
|
+
color: var(--ap-color-success-disabled);
|
|
48
|
+
}
|
|
49
|
+
&--error&--disabled {
|
|
50
|
+
color: var(--ap-color-error-disabled);
|
|
51
|
+
}
|
|
52
|
+
&--warn&--disabled {
|
|
53
|
+
color: var(--ap-color-warn-disabled);
|
|
54
|
+
}
|
|
43
55
|
});
|
package/theme/ap-grid/index.css
CHANGED
|
@@ -442,9 +442,20 @@
|
|
|
442
442
|
margin-right: 4px;
|
|
443
443
|
}
|
|
444
444
|
.aplus-action-item--disabled {
|
|
445
|
-
color: #CCE2FF;
|
|
446
445
|
cursor: not-allowed;
|
|
447
446
|
}
|
|
447
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
448
|
+
color: var(--ap-color-primary-disabled);
|
|
449
|
+
}
|
|
450
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
451
|
+
color: var(--ap-color-success-disabled);
|
|
452
|
+
}
|
|
453
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
454
|
+
color: var(--ap-color-error-disabled);
|
|
455
|
+
}
|
|
456
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
457
|
+
color: var(--ap-color-warn-disabled);
|
|
458
|
+
}
|
|
448
459
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
449
460
|
width: 100%;
|
|
450
461
|
}
|
|
@@ -47,13 +47,14 @@
|
|
|
47
47
|
.aplus-ap-radio-group {
|
|
48
48
|
font-size: 12px;
|
|
49
49
|
padding: 8px 8px 0;
|
|
50
|
-
background-color: #
|
|
50
|
+
background-color: #fff;
|
|
51
51
|
}
|
|
52
52
|
.aplus-ap-radio-group__item {
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
padding-inline: 12px;
|
|
55
55
|
border-radius: 4px;
|
|
56
56
|
color: var(--ap-text-color-1);
|
|
57
|
+
transition: all 0.3s ease-in-out;
|
|
57
58
|
}
|
|
58
59
|
.aplus-ap-radio-group__item:hover {
|
|
59
60
|
background-color: var(--ap-color-bg-2);
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
.b(ap-radio-group,{
|
|
5
5
|
font-size: @font-size-base;
|
|
6
6
|
padding: @spacing @spacing 0;
|
|
7
|
-
background-color:
|
|
7
|
+
background-color: @component-background;
|
|
8
|
+
|
|
8
9
|
|
|
9
10
|
&__item{
|
|
10
11
|
cursor: pointer;
|
|
11
12
|
padding-inline: @spacing-lg;
|
|
12
13
|
border-radius: 4px;
|
|
13
14
|
color: var(--ap-text-color-1);
|
|
15
|
+
transition: all 0.3s ease-in-out;
|
|
14
16
|
&:hover{
|
|
15
17
|
background-color: var(--ap-color-bg-2);
|
|
16
18
|
}
|
|
@@ -634,9 +634,20 @@
|
|
|
634
634
|
margin-right: 4px;
|
|
635
635
|
}
|
|
636
636
|
.aplus-action-item--disabled {
|
|
637
|
-
color: #CCE2FF;
|
|
638
637
|
cursor: not-allowed;
|
|
639
638
|
}
|
|
639
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
640
|
+
color: var(--ap-color-primary-disabled);
|
|
641
|
+
}
|
|
642
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
643
|
+
color: var(--ap-color-success-disabled);
|
|
644
|
+
}
|
|
645
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
646
|
+
color: var(--ap-color-error-disabled);
|
|
647
|
+
}
|
|
648
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
649
|
+
color: var(--ap-color-warn-disabled);
|
|
650
|
+
}
|
|
640
651
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
641
652
|
width: 100%;
|
|
642
653
|
}
|
|
@@ -634,9 +634,20 @@
|
|
|
634
634
|
margin-right: 4px;
|
|
635
635
|
}
|
|
636
636
|
.aplus-action-item--disabled {
|
|
637
|
-
color: #CCE2FF;
|
|
638
637
|
cursor: not-allowed;
|
|
639
638
|
}
|
|
639
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
640
|
+
color: var(--ap-color-primary-disabled);
|
|
641
|
+
}
|
|
642
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
643
|
+
color: var(--ap-color-success-disabled);
|
|
644
|
+
}
|
|
645
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
646
|
+
color: var(--ap-color-error-disabled);
|
|
647
|
+
}
|
|
648
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
649
|
+
color: var(--ap-color-warn-disabled);
|
|
650
|
+
}
|
|
640
651
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
641
652
|
width: 100%;
|
|
642
653
|
}
|
|
@@ -442,9 +442,20 @@
|
|
|
442
442
|
margin-right: 4px;
|
|
443
443
|
}
|
|
444
444
|
.aplus-action-item--disabled {
|
|
445
|
-
color: #CCE2FF;
|
|
446
445
|
cursor: not-allowed;
|
|
447
446
|
}
|
|
447
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
448
|
+
color: var(--ap-color-primary-disabled);
|
|
449
|
+
}
|
|
450
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
451
|
+
color: var(--ap-color-success-disabled);
|
|
452
|
+
}
|
|
453
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
454
|
+
color: var(--ap-color-error-disabled);
|
|
455
|
+
}
|
|
456
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
457
|
+
color: var(--ap-color-warn-disabled);
|
|
458
|
+
}
|
|
448
459
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
449
460
|
width: 100%;
|
|
450
461
|
}
|
package/theme/index.css
CHANGED
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
--ap-hover-color-base: #66a9ff;
|
|
4
4
|
--ap-active-color-base: #66a9ff;
|
|
5
5
|
--ap-color-primary: #0070ff;
|
|
6
|
+
--ap-color-primary-disabled: #cce2ff;
|
|
6
7
|
--ap-color-link: #0070ff;
|
|
7
8
|
--ap-color-link-hover: #66a9ff;
|
|
8
9
|
--ap-form-bordered-shadow-color: rgba(5, 155, 255, 0.1);
|
|
9
10
|
--ap-color-success: #2ed1a3;
|
|
11
|
+
--ap-color-success-disabled: #d5f6ed;
|
|
10
12
|
--ap-color-error: #ff4d4f;
|
|
13
|
+
--ap-color-error-disabled: #ffdbdc;
|
|
11
14
|
--ap-color-warn: #ffa940;
|
|
15
|
+
--ap-color-warn-disabled: #ffeed9;
|
|
12
16
|
--ap-table-header-bg: #f2f6f9;
|
|
13
17
|
--ap-text-color-1: #526a90;
|
|
14
18
|
--ap-text-color-2: #182948;
|
|
@@ -27,12 +31,16 @@
|
|
|
27
31
|
--ap-hover-color-base: #85d4b0;
|
|
28
32
|
--ap-active-color-base: #85d4b0;
|
|
29
33
|
--ap-color-primary: #34b77c;
|
|
34
|
+
--ap-color-primary-disabled: #d6f1e5;
|
|
30
35
|
--ap-color-link: #1890ff;
|
|
31
36
|
--ap-color-link-hover: #5eb1ff;
|
|
32
37
|
--ap-form-bordered-shadow-color: rgba(11, 166, 66, 0.09);
|
|
33
|
-
--ap-color-success: #
|
|
38
|
+
--ap-color-success: #34b77c;
|
|
39
|
+
--ap-color-success-disabled: #d6f1e5;
|
|
34
40
|
--ap-color-error: #ff4d4f;
|
|
41
|
+
--ap-color-error-disabled: #ffdbdc;
|
|
35
42
|
--ap-color-warn: #faad14;
|
|
43
|
+
--ap-color-warn-disabled: #ffeed9;
|
|
36
44
|
--ap-table-header-bg: #f7f7f7;
|
|
37
45
|
--ap-text-color-1: #666666;
|
|
38
46
|
--ap-text-color-2: #333333;
|
|
@@ -128,9 +136,20 @@
|
|
|
128
136
|
margin-right: 4px;
|
|
129
137
|
}
|
|
130
138
|
.aplus-action-item--disabled {
|
|
131
|
-
color: #CCE2FF;
|
|
132
139
|
cursor: not-allowed;
|
|
133
140
|
}
|
|
141
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
142
|
+
color: var(--ap-color-primary-disabled);
|
|
143
|
+
}
|
|
144
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
145
|
+
color: var(--ap-color-success-disabled);
|
|
146
|
+
}
|
|
147
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
148
|
+
color: var(--ap-color-error-disabled);
|
|
149
|
+
}
|
|
150
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
151
|
+
color: var(--ap-color-warn-disabled);
|
|
152
|
+
}
|
|
134
153
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
135
154
|
width: 100%;
|
|
136
155
|
}
|
|
@@ -1117,6 +1136,8 @@
|
|
|
1117
1136
|
.aplus-ap-copy__copy-btn .aplus-frontend-icon {
|
|
1118
1137
|
cursor: pointer;
|
|
1119
1138
|
color: #ABB7CC;
|
|
1139
|
+
height: 14px;
|
|
1140
|
+
line-height: 14px;
|
|
1120
1141
|
}
|
|
1121
1142
|
.aplus-ap-copy__copy-btn:hover .aplus-frontend-icon {
|
|
1122
1143
|
cursor: pointer;
|
|
@@ -3390,13 +3411,14 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
3390
3411
|
.aplus-ap-radio-group {
|
|
3391
3412
|
font-size: 12px;
|
|
3392
3413
|
padding: 8px 8px 0;
|
|
3393
|
-
background-color: #
|
|
3414
|
+
background-color: #fff;
|
|
3394
3415
|
}
|
|
3395
3416
|
.aplus-ap-radio-group__item {
|
|
3396
3417
|
cursor: pointer;
|
|
3397
3418
|
padding-inline: 12px;
|
|
3398
3419
|
border-radius: 4px;
|
|
3399
3420
|
color: var(--ap-text-color-1);
|
|
3421
|
+
transition: all 0.3s ease-in-out;
|
|
3400
3422
|
}
|
|
3401
3423
|
.aplus-ap-radio-group__item:hover {
|
|
3402
3424
|
background-color: var(--ap-color-bg-2);
|
package/theme/ui-mode.css
CHANGED
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
--ap-hover-color-base: #66a9ff;
|
|
4
4
|
--ap-active-color-base: #66a9ff;
|
|
5
5
|
--ap-color-primary: #0070ff;
|
|
6
|
+
--ap-color-primary-disabled: #cce2ff;
|
|
6
7
|
--ap-color-link: #0070ff;
|
|
7
8
|
--ap-color-link-hover: #66a9ff;
|
|
8
9
|
--ap-form-bordered-shadow-color: rgba(5, 155, 255, 0.1);
|
|
9
10
|
--ap-color-success: #2ed1a3;
|
|
11
|
+
--ap-color-success-disabled: #d5f6ed;
|
|
10
12
|
--ap-color-error: #ff4d4f;
|
|
13
|
+
--ap-color-error-disabled: #ffdbdc;
|
|
11
14
|
--ap-color-warn: #ffa940;
|
|
15
|
+
--ap-color-warn-disabled: #ffeed9;
|
|
12
16
|
--ap-table-header-bg: #f2f6f9;
|
|
13
17
|
--ap-text-color-1: #526a90;
|
|
14
18
|
--ap-text-color-2: #182948;
|
|
@@ -27,12 +31,16 @@
|
|
|
27
31
|
--ap-hover-color-base: #85d4b0;
|
|
28
32
|
--ap-active-color-base: #85d4b0;
|
|
29
33
|
--ap-color-primary: #34b77c;
|
|
34
|
+
--ap-color-primary-disabled: #d6f1e5;
|
|
30
35
|
--ap-color-link: #1890ff;
|
|
31
36
|
--ap-color-link-hover: #5eb1ff;
|
|
32
37
|
--ap-form-bordered-shadow-color: rgba(11, 166, 66, 0.09);
|
|
33
|
-
--ap-color-success: #
|
|
38
|
+
--ap-color-success: #34b77c;
|
|
39
|
+
--ap-color-success-disabled: #d6f1e5;
|
|
34
40
|
--ap-color-error: #ff4d4f;
|
|
41
|
+
--ap-color-error-disabled: #ffdbdc;
|
|
35
42
|
--ap-color-warn: #faad14;
|
|
43
|
+
--ap-color-warn-disabled: #ffeed9;
|
|
36
44
|
--ap-table-header-bg: #f7f7f7;
|
|
37
45
|
--ap-text-color-1: #666666;
|
|
38
46
|
--ap-text-color-2: #333333;
|
package/theme/ui-mode.less
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
--ap-active-color-base: #66a9ff;
|
|
8
8
|
// 系统主色
|
|
9
9
|
--ap-color-primary: #0070ff;
|
|
10
|
+
// 主色-禁用
|
|
11
|
+
--ap-color-primary-disabled: #cce2ff;
|
|
10
12
|
// 链接色
|
|
11
13
|
--ap-color-link: #0070ff;
|
|
12
14
|
// 链接hover色
|
|
@@ -15,10 +17,16 @@
|
|
|
15
17
|
--ap-form-bordered-shadow-color: rgba(5, 155, 255, 0.1);
|
|
16
18
|
// 成功色
|
|
17
19
|
--ap-color-success: #2ed1a3;
|
|
20
|
+
// 成功色-禁用
|
|
21
|
+
--ap-color-success-disabled: #d5f6ed;
|
|
18
22
|
// 失败色
|
|
19
23
|
--ap-color-error: #ff4d4f;
|
|
24
|
+
// 失败色-禁用
|
|
25
|
+
--ap-color-error-disabled: #ffdbdc;
|
|
20
26
|
// 警告色
|
|
21
27
|
--ap-color-warn: #ffa940;
|
|
28
|
+
// 警告色-禁用
|
|
29
|
+
--ap-color-warn-disabled: #ffeed9;
|
|
22
30
|
// 表格表头背景色
|
|
23
31
|
--ap-table-header-bg: #f2f6f9;
|
|
24
32
|
// 文本颜色1号色
|
|
@@ -50,17 +58,25 @@
|
|
|
50
58
|
--ap-active-color-base: #85d4b0;
|
|
51
59
|
// 系统主色
|
|
52
60
|
--ap-color-primary: #34b77c;
|
|
61
|
+
// 主色-禁用
|
|
62
|
+
--ap-color-primary-disabled: #d6f1e5;
|
|
53
63
|
// 链接色
|
|
54
64
|
--ap-color-link: #1890ff;
|
|
55
65
|
// 链接hover色
|
|
56
66
|
--ap-color-link-hover: #5eb1ff;
|
|
57
67
|
--ap-form-bordered-shadow-color: rgba(11, 166, 66, 0.09);
|
|
58
68
|
// 成功色
|
|
59
|
-
--ap-color-success: #
|
|
69
|
+
--ap-color-success: #34b77c;
|
|
70
|
+
// 成功色-禁用
|
|
71
|
+
--ap-color-success-disabled: #d6f1e5;
|
|
60
72
|
// 失败色
|
|
61
73
|
--ap-color-error: #ff4d4f;
|
|
74
|
+
// 失败色-禁用
|
|
75
|
+
--ap-color-error-disabled: #ffdbdc;
|
|
62
76
|
// 警告色
|
|
63
77
|
--ap-color-warn: #faad14;
|
|
78
|
+
// 警告色-禁用
|
|
79
|
+
--ap-color-warn-disabled: #ffeed9;
|
|
64
80
|
// 表格表头背景色
|
|
65
81
|
--ap-table-header-bg: #f7f7f7;
|
|
66
82
|
// 文本颜色1号色
|