@aplus-frontend/ui 0.0.32 → 0.0.34
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 +217 -215
- package/es/src/ap-field/select/index.vue.mjs +36 -32
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +7 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +30 -25
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -31
- package/es/src/ap-form/ap-form.vue2.mjs +11 -11
- package/es/src/ap-form/modal-form/index.vue.d.ts +2 -1
- package/es/src/ap-form/modal-form/index.vue.mjs +43 -39
- package/es/src/ap-form/search-form/index.vue.mjs +79 -78
- package/es/src/ap-modal/utils/createModal.mjs +34 -31
- package/es/src/ap-table/ap-table.vue.d.ts +54 -11
- package/es/src/ap-table/ap-table.vue.mjs +171 -148
- package/es/src/ap-table/hooks/use-table-paging.d.ts +1 -0
- package/es/src/ap-table/hooks/use-table-paging.mjs +47 -46
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +60 -0
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +62 -0
- package/es/src/ap-table/interface.d.ts +14 -2
- package/es/src/ap-table/style/ap-table.css +2 -0
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +16 -6
- package/es/src/ap-tag/ap-tag-group.vue.mjs +81 -61
- package/es/src/ap-tag/interface.d.ts +24 -0
- package/es/src/ap-tag/style/ap-tag-group.css +8 -0
- package/es/src/ap-upload/apUpload.vue.d.ts +3 -3
- package/es/src/ap-upload/hooks/useOss.d.ts +3 -3
- package/es/src/business/ap-select-layout/index.css +117 -0
- package/es/src/business/ap-select-layout/index.d.ts +4 -0
- package/es/src/business/ap-select-layout/interface.d.ts +9 -0
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +76 -0
- package/es/src/business/ap-select-layout/select-layout.vue.mjs +4 -0
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +145 -0
- package/es/src/business/index.d.ts +76 -1
- package/es/src/business/index.mjs +9 -6
- package/es/src/config-provider/config-provider.d.ts +144 -1
- package/es/src/config-provider/config-provider.mjs +35 -29
- package/es/src/config-provider/index.mjs +22 -20
- package/es/src/design-token/index.mjs +6 -2
- package/es/src/editable-table/form-item.vue.d.ts +7 -7
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +7 -7
- package/es/src/editable-table/index.vue.mjs +10 -10
- package/es/src/editable-table/interface.d.ts +1 -1
- package/es/src/index.mjs +188 -186
- package/es/src/theme/ap-select-layout/ap-select-layout.css +117 -0
- package/es/src/theme/ap-table/ap-table.css +2 -0
- package/es/src/theme/ap-tag/ap-tag-group.css +8 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +7 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +2 -1
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +54 -11
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +1 -0
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +60 -0
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -0
- package/lib/src/ap-table/interface.d.ts +14 -2
- package/lib/src/ap-table/style/ap-table.css +2 -0
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +16 -6
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +24 -0
- package/lib/src/ap-tag/style/ap-tag-group.css +8 -0
- package/lib/src/ap-upload/apUpload.vue.d.ts +3 -3
- package/lib/src/ap-upload/hooks/useOss.d.ts +3 -3
- package/lib/src/business/ap-select-layout/index.css +117 -0
- package/lib/src/business/ap-select-layout/index.d.ts +4 -0
- package/lib/src/business/ap-select-layout/interface.d.ts +9 -0
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +76 -0
- package/lib/src/business/ap-select-layout/select-layout.vue.js +1 -0
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -0
- package/lib/src/business/index.d.ts +76 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +144 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/index.js +1 -1
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/editable-table/form-item.vue.d.ts +7 -7
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +7 -7
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/theme/ap-select-layout/ap-select-layout.css +117 -0
- package/lib/src/theme/ap-table/ap-table.css +2 -0
- package/lib/src/theme/ap-tag/ap-tag-group.css +8 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("ant-design-vue"),N=require("@ant-design/icons-vue");require("./ap-tag.vue2.js");require("../config-provider/index.js");const q=require("lodash-unified");require("./style/ap-tag-group.css");const B=require("../config-provider/hooks/use-locale.js"),b=require("../config-provider/hooks/use-global-config.js"),T=require("../config-provider/hooks/use-namespace.js"),z=require("./ap-tag.vue.js"),M=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"master_svg0_1133_24991"},[e.createElementVNode("rect",{x:"0",y:"0",width:"16",height:"16",rx:"0"})])]),e.createElementVNode("g",{"clip-path":"url(#master_svg0_1133_24991)"},[e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"8",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"3.25",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"12.75",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})])])],-1),S=e.defineComponent({__name:"ap-tag-group",props:{list:{default:()=>[]},space:{default:4},ellipsisColor:{},ellipsis:{default:()=>({})}},setup(v){const{t:g}=B.useLocale(),l=v,h=b.useGlobalConfig("uiMode"),{b:y,bm:m}=T.useNamespace("tag-group"),i=e.ref(),o=e.computed(()=>({...{iconColor:"#34B77C",symbol:"icon",text:g("ap.common.more")},...l.ellipsis})),x=e.computed(()=>o.value.tooltip&&typeof o.value.tooltip=="object"?q.omit(o.value.tooltip,["trigger","title"]):{}),p=e.computed(()=>e.unref(n)<l.list.length),_=e.computed(()=>l.list.slice(0,e.unref(n))),n=e.ref(0),a=e.ref(0),u=e.ref(l.list.length),C=e.computed(()=>l.list.map(t=>t.text).join("、")),w=e.computed(()=>[y()].filter(Boolean)),k=e.computed(()=>h.value==="aplus"?[m("ellipsis-text","aplus")]:[m("ellipsis-text","admin")]),c=()=>{if(!i.value)return;const t=i.value.scrollWidth,r=i.value.clientWidth;if(e.unref(a)<=e.unref(u)){const s=Math.floor((e.unref(a)+e.unref(u))/2);t<=r?(n.value=s,a.value=s+1):u.value=s-1,e.nextTick(()=>{requestAnimationFrame(c)})}else t>r&&(n.value=n.value-1,e.nextTick(()=>{requestAnimationFrame(c)}))},d=()=>{a.value=0,u.value=l.list.length,n.value=0};e.watch(()=>l.list,(t,r)=>{t!==r&&(d(),e.nextTick(()=>c()))},{immediate:!0});const f=()=>{d(),c()};return e.onMounted(()=>{[["ellipsisColor","ellipse.color"]].forEach(([t,r])=>{l[t]&&console.error(`[ApTagGroup]: \`${t}\` is deprecated, please use \`${r}\` instead.`)}),window.addEventListener("resize",f)}),e.onUnmounted(()=>{window.removeEventListener("resize",f)}),(t,r)=>(e.openBlock(),e.createBlock(e.unref(V.Tooltip),e.mergeProps({trigger:"hover"},x.value),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{tags:t.list},()=>[e.createTextVNode(e.toDisplayString(C.value),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(w.value),ref_key:"container",ref:i,style:e.normalizeStyle({pointerEvents:p.value?"auto":"none"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(s,E)=>(e.openBlock(),e.createBlock(z.default,e.mergeProps({ref_for:!0},s,{key:E,style:{marginRight:`${t.space}px`}}),null,16,["style"]))),128)),p.value&&o.value.symbol==="icon"?(e.openBlock(),e.createBlock(e.unref(N),{key:0,style:e.normalizeStyle({color:t.ellipsisColor||o.value.iconColor})},{component:e.withCtx(()=>[M]),_:1},8,["style"])):p.value&&o.value.symbol==="text"?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(k.value)},e.toDisplayString(o.value.text),3)):e.createCommentVNode("",!0)],6)]),_:3},16))}});exports.default=S;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { TooltipProps } from 'ant-design-vue/es/tooltip';
|
|
2
|
+
|
|
1
3
|
export interface ApTagProps {
|
|
2
4
|
/**
|
|
3
5
|
* 标签内容
|
|
@@ -17,6 +19,27 @@ export interface ApTagProps {
|
|
|
17
19
|
*/
|
|
18
20
|
disabled?: boolean;
|
|
19
21
|
}
|
|
22
|
+
export type EllipsisProps = {
|
|
23
|
+
/**
|
|
24
|
+
* 省略号标志
|
|
25
|
+
* @default 'icon' - 内置图标不能自定义
|
|
26
|
+
* @type 'icon' | 'text'
|
|
27
|
+
*/
|
|
28
|
+
symbol?: 'icon' | 'text';
|
|
29
|
+
/**
|
|
30
|
+
* 省略号文本 - symbol为text时生效
|
|
31
|
+
*/
|
|
32
|
+
text?: string;
|
|
33
|
+
/**
|
|
34
|
+
* 省略号颜色 - symbol为icon时生效
|
|
35
|
+
* @default #34B77C
|
|
36
|
+
*/
|
|
37
|
+
iconColor?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 省略号气泡内容
|
|
40
|
+
*/
|
|
41
|
+
tooltip?: Omit<TooltipProps, 'trigger' | 'title'>;
|
|
42
|
+
};
|
|
20
43
|
export interface ApTagGroupProps {
|
|
21
44
|
/**
|
|
22
45
|
* 标签组内容
|
|
@@ -32,4 +55,5 @@ export interface ApTagGroupProps {
|
|
|
32
55
|
* @default #34B77C
|
|
33
56
|
*/
|
|
34
57
|
ellipsisColor?: string;
|
|
58
|
+
ellipsis?: EllipsisProps;
|
|
35
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, VNode, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, RendererNode, RendererElement } from 'vue';
|
|
2
2
|
import { FileUploadType, BeforeUpload, CustomRequest } from './apUploadTypes';
|
|
3
|
-
import {
|
|
3
|
+
import { GetOssAccess } from './hooks/useOss';
|
|
4
4
|
|
|
5
5
|
declare function clear(): void;
|
|
6
6
|
declare const _default: DefineComponent<{
|
|
@@ -42,7 +42,7 @@ declare const _default: DefineComponent<{
|
|
|
42
42
|
type: PropType<CustomRequest>;
|
|
43
43
|
};
|
|
44
44
|
getOssAccess: {
|
|
45
|
-
type: PropType<
|
|
45
|
+
type: PropType<GetOssAccess>;
|
|
46
46
|
};
|
|
47
47
|
}, {
|
|
48
48
|
done: ComputedRef<boolean>;
|
|
@@ -88,7 +88,7 @@ declare const _default: DefineComponent<{
|
|
|
88
88
|
type: PropType<CustomRequest>;
|
|
89
89
|
};
|
|
90
90
|
getOssAccess: {
|
|
91
|
-
type: PropType<
|
|
91
|
+
type: PropType<GetOssAccess>;
|
|
92
92
|
};
|
|
93
93
|
}>> & {
|
|
94
94
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { accessCreate, Oss } from '@aplus-frontend/oss';
|
|
2
2
|
import { Translator } from '../../config-provider';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
|
|
5
5
|
export type { Oss } from '@aplus-frontend/oss';
|
|
6
|
-
export type GetOssAccess =
|
|
6
|
+
export type GetOssAccess = () => Promise<accessCreate>;
|
|
7
7
|
export declare function injectLocaleToOss(tValue: Translator, langValue: Ref<string>): void;
|
|
8
8
|
declare function put({ file, dirName, oss, successCallBack, errorCallBack, progressCallBack }: {
|
|
9
9
|
file: File;
|
|
@@ -21,4 +21,4 @@ export declare function useOssInit(getOssAccess: GetOssAccess): Promise<{
|
|
|
21
21
|
client: Oss;
|
|
22
22
|
put: typeof put;
|
|
23
23
|
}>;
|
|
24
|
-
export declare function getOssInstance(getOssAccess:
|
|
24
|
+
export declare function getOssInstance(getOssAccess: GetOssAccess): Promise<Oss>;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.aplus-ap-select-layout {
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
.aplus-ap-select-layout .v-enter-active,
|
|
7
|
+
.aplus-ap-select-layout .v-leave-active {
|
|
8
|
+
transition: all 0.2s, background 0s;
|
|
9
|
+
}
|
|
10
|
+
.aplus-ap-select-layout .v-enter-from,
|
|
11
|
+
.aplus-ap-select-layout .v-leave-to {
|
|
12
|
+
width: 0;
|
|
13
|
+
min-width: 0;
|
|
14
|
+
max-width: 0;
|
|
15
|
+
margin-right: 0;
|
|
16
|
+
}
|
|
17
|
+
.aplus-ap-select-layout-side {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
width: 214px;
|
|
21
|
+
min-width: 214px;
|
|
22
|
+
max-width: 214px;
|
|
23
|
+
margin-right: 16px;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
background-color: #fff;
|
|
26
|
+
}
|
|
27
|
+
.aplus-ap-select-layout-side__header {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
padding: 12px 16px;
|
|
32
|
+
border-bottom: 1px solid #e9e9e9;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
}
|
|
36
|
+
.aplus-ap-select-layout-side__header > h3 {
|
|
37
|
+
margin: 0;
|
|
38
|
+
color: #333;
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
font-weight: bold;
|
|
41
|
+
line-height: 18px;
|
|
42
|
+
}
|
|
43
|
+
.aplus-ap-select-layout-side__header--imgWrap {
|
|
44
|
+
border-radius: 2px;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
font-size: 24px;
|
|
47
|
+
}
|
|
48
|
+
.aplus-ap-select-layout-side__header--imgWrap:hover {
|
|
49
|
+
background: #f5f5f5;
|
|
50
|
+
}
|
|
51
|
+
.aplus-ap-select-layout-side__header--imgWrap > img {
|
|
52
|
+
width: 24px;
|
|
53
|
+
height: 24px;
|
|
54
|
+
}
|
|
55
|
+
.aplus-ap-select-layout-side__body {
|
|
56
|
+
position: relative;
|
|
57
|
+
flex: 1;
|
|
58
|
+
}
|
|
59
|
+
.aplus-ap-select-layout-side__body--search {
|
|
60
|
+
margin: 10px 0;
|
|
61
|
+
padding: 0 16px;
|
|
62
|
+
}
|
|
63
|
+
.aplus-ap-select-layout-side__body--scroll {
|
|
64
|
+
position: absolute;
|
|
65
|
+
inset: 52px 0 0;
|
|
66
|
+
overflow-y: auto;
|
|
67
|
+
padding: 0 16px;
|
|
68
|
+
}
|
|
69
|
+
.aplus-ap-select-layout-side__body--scroll-item {
|
|
70
|
+
margin-bottom: 8px;
|
|
71
|
+
padding: 8px 12px;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
color: #333;
|
|
74
|
+
line-height: 22px;
|
|
75
|
+
width: calc(214px - 32px);
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
text-wrap: nowrap;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
border-radius: 4px;
|
|
80
|
+
}
|
|
81
|
+
.aplus-ap-select-layout-side__body--scroll-item:hover {
|
|
82
|
+
background: #f5f5f5;
|
|
83
|
+
}
|
|
84
|
+
.aplus-ap-select-layout-side__body--scroll-item.active {
|
|
85
|
+
background-color: #e4faf1;
|
|
86
|
+
color: #34b77c;
|
|
87
|
+
font-weight: bold;
|
|
88
|
+
}
|
|
89
|
+
.aplus-ap-select-layout-content {
|
|
90
|
+
flex: 1;
|
|
91
|
+
overflow-x: hidden;
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
}
|
|
95
|
+
.aplus-ap-select-layout-content__header {
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
height: 32px;
|
|
99
|
+
padding: 16px 16px 0;
|
|
100
|
+
box-sizing: content-box;
|
|
101
|
+
background: #fff;
|
|
102
|
+
}
|
|
103
|
+
.aplus-ap-select-layout-content__header--imgWrap {
|
|
104
|
+
margin-right: 10px;
|
|
105
|
+
border-radius: 2px;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
font-size: 24px;
|
|
108
|
+
}
|
|
109
|
+
.aplus-ap-select-layout-content__header--imgWrap:hover {
|
|
110
|
+
background: #f5f5f5;
|
|
111
|
+
}
|
|
112
|
+
.aplus-ap-select-layout-content__header--title {
|
|
113
|
+
margin: 0;
|
|
114
|
+
font-size: 16px;
|
|
115
|
+
font-weight: bold;
|
|
116
|
+
line-height: 32px;
|
|
117
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ApSelectItem } from './interface';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: <T extends ApSelectItem>(__VLS_props: {
|
|
5
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
6
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
7
|
+
title: string;
|
|
8
|
+
request: () => Promise<T[]>;
|
|
9
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
10
|
+
defaultFold?: boolean | undefined;
|
|
11
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: {
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {
|
|
14
|
+
itemRender?(_: {
|
|
15
|
+
item: T;
|
|
16
|
+
}): any;
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
emit: {
|
|
20
|
+
(event: 'onSelect', value: T): void;
|
|
21
|
+
(event: 'afterEnter', el: Element): void;
|
|
22
|
+
(event: 'afterLeave', el: Element): void;
|
|
23
|
+
};
|
|
24
|
+
} | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
25
|
+
props: {
|
|
26
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
27
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
28
|
+
title: string;
|
|
29
|
+
request: () => Promise<T[]>;
|
|
30
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
31
|
+
defaultFold?: boolean | undefined;
|
|
32
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
33
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
34
|
+
attrs: any;
|
|
35
|
+
slots: {
|
|
36
|
+
itemRender?(_: {
|
|
37
|
+
item: T;
|
|
38
|
+
}): any;
|
|
39
|
+
default?(_: {}): any;
|
|
40
|
+
};
|
|
41
|
+
emit: {
|
|
42
|
+
(event: 'onSelect', value: T): void;
|
|
43
|
+
(event: 'afterEnter', el: Element): void;
|
|
44
|
+
(event: 'afterLeave', el: Element): void;
|
|
45
|
+
};
|
|
46
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}> & {
|
|
49
|
+
__ctx?: {
|
|
50
|
+
props: {
|
|
51
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
52
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
53
|
+
title: string;
|
|
54
|
+
request: () => Promise<T[]>;
|
|
55
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
56
|
+
defaultFold?: boolean | undefined;
|
|
57
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
58
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
59
|
+
attrs: any;
|
|
60
|
+
slots: {
|
|
61
|
+
itemRender?(_: {
|
|
62
|
+
item: T;
|
|
63
|
+
}): any;
|
|
64
|
+
default?(_: {}): any;
|
|
65
|
+
};
|
|
66
|
+
emit: {
|
|
67
|
+
(event: 'onSelect', value: T): void;
|
|
68
|
+
(event: 'afterEnter', el: Element): void;
|
|
69
|
+
(event: 'afterLeave', el: Element): void;
|
|
70
|
+
};
|
|
71
|
+
} | undefined;
|
|
72
|
+
};
|
|
73
|
+
export default _default;
|
|
74
|
+
type __VLS_Prettify<T> = {
|
|
75
|
+
[K in keyof T]: T[K];
|
|
76
|
+
} & {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select-layout.vue2.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../ap-field/index.js");const E=require("@aplus-frontend/icon");require("../../config-provider/index.js");const p=require("ant-design-vue"),S=require("lodash-unified");require("./index.css");const b=require("../../config-provider/hooks/use-namespace.js"),w=require("../../ap-field/text/index.js"),x=["onClick"],B=e.defineComponent({__name:"select-layout",props:{title:{},request:{},defaultFold:{type:Boolean,default:!1}},emits:["onSelect","afterEnter","afterLeave"],setup(k,{emit:y}){const{b:s,be:c,bem:a}=b.useNamespace("ap-select-layout"),o=k,i=y,u=e.ref(),r=e.ref(o.defaultFold),d=e.ref(!o.defaultFold),f=e.ref(),v=e.ref(),m=e.ref(),h=e.ref(""),C=()=>{r.value=!r.value,f.value=!1,v.value=!1},N=t=>{m.value=t,i("onSelect",t)},g=S.debounce(t=>{var n;h.value=(n=t.target)==null?void 0:n.value},500),z=e.computed(()=>{var t;return(t=u.value)==null?void 0:t.filter(n=>n.name.includes(h.value))}),T=t=>{d.value=!0,i("afterEnter",t)},q=t=>{d.value=!1,i("afterLeave",t)};return e.onMounted(()=>{o.request().then(t=>{var n;u.value=t,N((n=u.value)==null?void 0:n[0])})}),(t,n)=>{var V;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)())},[e.createVNode(e.Transition,{mode:"out-in",onAfterEnter:T,onAfterLeave:q},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("side"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("side","header"))},[e.createElementVNode("h3",null,e.toDisplayString(o.title),1),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("side","header","imgWrap"))},[e.createVNode(e.unref(p.Tooltip),{open:f.value,"onUpdate:open":n[0]||(n[0]=l=>f.value=l)},{title:e.withCtx(()=>[e.createTextVNode("收起")]),default:e.withCtx(()=>[e.createVNode(e.unref(E.IconApLeftarrow),{onClick:C})]),_:1},8,["open"])],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("side","body"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("side","body","search"))},[e.createVNode(e.unref(w.ApFieldText),{placeholder:"请输入",onChange:e.unref(g)},null,8,["onChange"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("side","body","scroll"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,l=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(`${e.unref(a)("side","body","scroll-item")} ${m.value===l?"active":""}`),onClick:L=>N(l)},[e.renderSlot(t.$slots,"itemRender",{item:l},()=>[e.createVNode(e.unref(p.TypographyText),{ellipsis:{tooltip:l.name},content:`${l.name}`},null,8,["ellipsis","content"])])],10,x)),[[e.vShow,d.value]])),128))],2)],2)],2),[[e.vShow,!r.value]])]),_:3}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("content"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("content","header"))},[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a)("content","header","imgWrap"))},[e.createVNode(e.unref(p.Tooltip),{open:v.value,"onUpdate:open":n[1]||(n[1]=l=>v.value=l)},{title:e.withCtx(()=>[e.createTextVNode("展开")]),default:e.withCtx(()=>[e.createVNode(e.unref(E.IconApMenu),{onClick:C})]),_:1},8,["open"])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("content","header","title"))},e.toDisplayString((V=m.value)==null?void 0:V.name),3)],2),e.renderSlot(t.$slots,"default")],2)],2)}}});exports.default=B;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, CSSProperties } from 'vue';
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, CSSProperties, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
2
2
|
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
3
3
|
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
4
4
|
import { ApStatusProps } from './ap-status/interface';
|
|
5
|
+
import { ApSelectItem } from './ap-select-layout/interface';
|
|
5
6
|
export type { ApTitleProps } from './title/interface';
|
|
6
7
|
export type { ApExpandAlertProps } from './expandAlert/interface';
|
|
7
8
|
export type { ApLabelProps } from './ap-label/interface';
|
|
8
9
|
export type { ApStatusProps, ApStatusGroupProps, ApStatusGroupItemProps } from './ap-status/interface';
|
|
10
|
+
export type { ApSelectItem, ApSelectLayoutProps } from './ap-select-layout/interface';
|
|
9
11
|
export declare const ApTitle: {
|
|
10
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
13
|
trigger: {
|
|
@@ -839,3 +841,76 @@ export declare const ApStatusGroup: {
|
|
|
839
841
|
onClick?: (() => void) | undefined;
|
|
840
842
|
};
|
|
841
843
|
});
|
|
844
|
+
export declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: {
|
|
845
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
846
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
847
|
+
title: string;
|
|
848
|
+
request: () => Promise<T[]>;
|
|
849
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
850
|
+
defaultFold?: boolean | undefined;
|
|
851
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: {
|
|
852
|
+
attrs: any;
|
|
853
|
+
slots: {
|
|
854
|
+
itemRender?(_: {
|
|
855
|
+
item: T;
|
|
856
|
+
}): any;
|
|
857
|
+
default?(_: {}): any;
|
|
858
|
+
};
|
|
859
|
+
emit: {
|
|
860
|
+
(event: "onSelect", value: T): void;
|
|
861
|
+
(event: "afterEnter", el: Element): void;
|
|
862
|
+
(event: "afterLeave", el: Element): void;
|
|
863
|
+
};
|
|
864
|
+
} | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
865
|
+
props: {
|
|
866
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
867
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
868
|
+
title: string;
|
|
869
|
+
request: () => Promise<T[]>;
|
|
870
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
871
|
+
defaultFold?: boolean | undefined;
|
|
872
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
873
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
874
|
+
attrs: any;
|
|
875
|
+
slots: {
|
|
876
|
+
itemRender?(_: {
|
|
877
|
+
item: T;
|
|
878
|
+
}): any;
|
|
879
|
+
default?(_: {}): any;
|
|
880
|
+
};
|
|
881
|
+
emit: {
|
|
882
|
+
(event: "onSelect", value: T): void;
|
|
883
|
+
(event: "afterEnter", el: Element): void;
|
|
884
|
+
(event: "afterLeave", el: Element): void;
|
|
885
|
+
};
|
|
886
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
887
|
+
[key: string]: any;
|
|
888
|
+
}> & {
|
|
889
|
+
__ctx?: {
|
|
890
|
+
props: {
|
|
891
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
892
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
893
|
+
title: string;
|
|
894
|
+
request: () => Promise<T[]>;
|
|
895
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
896
|
+
defaultFold?: boolean | undefined;
|
|
897
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
898
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
899
|
+
attrs: any;
|
|
900
|
+
slots: {
|
|
901
|
+
itemRender?(_: {
|
|
902
|
+
item: T;
|
|
903
|
+
}): any;
|
|
904
|
+
default?(_: {}): any;
|
|
905
|
+
};
|
|
906
|
+
emit: {
|
|
907
|
+
(event: "onSelect", value: T): void;
|
|
908
|
+
(event: "afterEnter", el: Element): void;
|
|
909
|
+
(event: "afterLeave", el: Element): void;
|
|
910
|
+
};
|
|
911
|
+
} | undefined;
|
|
912
|
+
}) & Plugin & (new (...args: any[]) => {
|
|
913
|
+
$props: {
|
|
914
|
+
onClick?: (() => void) | undefined;
|
|
915
|
+
};
|
|
916
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");require("./ap-label/ApLabel.vue.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");const t=require("./title/ApTitle.vue2.js"),u=require("./expandAlert/ApExpandAlert.vue2.js"),r=require("./ap-label/ApLabel.vue2.js"),p=require("./ap-status/ApStatus.vue2.js"),_=require("./ap-status/ApStatusGroup.vue2.js"),s=require("./ap-select-layout/select-layout.vue2.js"),l=e.withInstall(t.default),a=u.default,i=e.withInstall(r.default),n=e.withInstall(p.default),c=e.withInstall(_.default),o=e.withInstall(s.default);exports.ApExpandAlert=a;exports.ApLabel=i;exports.ApSelectLayout=o;exports.ApStatus=n;exports.ApStatusGroup=c;exports.ApTitle=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ref, ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps } from 'vue';
|
|
2
2
|
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
3
3
|
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
4
4
|
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
@@ -9,6 +9,149 @@ import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
|
9
9
|
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
10
10
|
import { LocaleType } from 'src';
|
|
11
11
|
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig } from './constants';
|
|
12
|
+
|
|
13
|
+
export declare const globalConfigCached: Ref<Partial< ExtractPropTypes<{
|
|
14
|
+
iconPrefixCls: StringConstructor;
|
|
15
|
+
getTargetContainer: {
|
|
16
|
+
type: PropType<() => Window | HTMLElement>;
|
|
17
|
+
};
|
|
18
|
+
getPopupContainer: {
|
|
19
|
+
type: PropType<(triggerNode?: HTMLElement | undefined) => HTMLElement>;
|
|
20
|
+
};
|
|
21
|
+
prefixCls: StringConstructor;
|
|
22
|
+
getPrefixCls: {
|
|
23
|
+
type: PropType<(suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string>;
|
|
24
|
+
};
|
|
25
|
+
renderEmpty: {
|
|
26
|
+
type: PropType<__DTS_DEFAULT_0__>;
|
|
27
|
+
};
|
|
28
|
+
transformCellText: {
|
|
29
|
+
type: PropType<(tableProps: TransformCellTextProps) => any>;
|
|
30
|
+
};
|
|
31
|
+
csp: {
|
|
32
|
+
type: PropType<CSPConfig>;
|
|
33
|
+
default: CSPConfig;
|
|
34
|
+
};
|
|
35
|
+
input: {
|
|
36
|
+
type: PropType<{
|
|
37
|
+
autocomplete?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
default: {
|
|
40
|
+
autocomplete?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
autoInsertSpaceInButton: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: any;
|
|
46
|
+
};
|
|
47
|
+
locale: {
|
|
48
|
+
type: PropType<Locale>;
|
|
49
|
+
default: Locale;
|
|
50
|
+
};
|
|
51
|
+
pageHeader: {
|
|
52
|
+
type: PropType<{
|
|
53
|
+
ghost?: boolean | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
default: {
|
|
56
|
+
ghost?: boolean | undefined;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
componentSize: {
|
|
60
|
+
type: PropType<ButtonSize>;
|
|
61
|
+
};
|
|
62
|
+
componentDisabled: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: any;
|
|
65
|
+
};
|
|
66
|
+
direction: {
|
|
67
|
+
type: PropType<"ltr" | "rtl">;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
space: {
|
|
71
|
+
type: PropType<{
|
|
72
|
+
size?: number | ButtonSize;
|
|
73
|
+
}>;
|
|
74
|
+
default: {
|
|
75
|
+
size?: number | ButtonSize;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
virtual: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: any;
|
|
81
|
+
};
|
|
82
|
+
dropdownMatchSelectWidth: {
|
|
83
|
+
type: (BooleanConstructor | NumberConstructor)[];
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
form: {
|
|
87
|
+
type: PropType<{
|
|
88
|
+
validateMessages?: ValidateMessages | undefined;
|
|
89
|
+
requiredMark?: RequiredMark | undefined;
|
|
90
|
+
colon?: boolean | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
default: {
|
|
93
|
+
validateMessages?: ValidateMessages | undefined;
|
|
94
|
+
requiredMark?: RequiredMark | undefined;
|
|
95
|
+
colon?: boolean | undefined;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
pagination: {
|
|
99
|
+
type: PropType<{
|
|
100
|
+
showSizeChanger?: boolean | undefined;
|
|
101
|
+
}>;
|
|
102
|
+
default: {
|
|
103
|
+
showSizeChanger?: boolean | undefined;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
theme: {
|
|
107
|
+
type: PropType<ThemeConfig>;
|
|
108
|
+
default: ThemeConfig;
|
|
109
|
+
};
|
|
110
|
+
select: {
|
|
111
|
+
type: PropType<{
|
|
112
|
+
showSearch?: boolean | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
default: {
|
|
115
|
+
showSearch?: boolean | undefined;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
wave: {
|
|
119
|
+
type: PropType<{
|
|
120
|
+
disabled?: boolean | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
default: {
|
|
123
|
+
disabled?: boolean | undefined;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
aplusLocale: {
|
|
127
|
+
type: PropType<LocaleType>;
|
|
128
|
+
};
|
|
129
|
+
namespace: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
api: {
|
|
134
|
+
type: PropType<ApiType>;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
table: {
|
|
138
|
+
type: PropType<TableDefaultConfig>;
|
|
139
|
+
};
|
|
140
|
+
scrollbar: {
|
|
141
|
+
type: PropType<ScrollbarGlobalConfig>;
|
|
142
|
+
default: () => {
|
|
143
|
+
native: boolean;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
uiMode: {
|
|
147
|
+
type: PropType<"aplus" | "admin">;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
apUpload: {
|
|
151
|
+
type: PropType<ApUploadConfig>;
|
|
152
|
+
default: () => {};
|
|
153
|
+
};
|
|
154
|
+
}>>>;
|
|
12
155
|
export declare const ConfigProvider: DefineComponent<{
|
|
13
156
|
iconPrefixCls: StringConstructor;
|
|
14
157
|
getTargetContainer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),l=require("ant-design-vue"),c=require("./hooks/use-global-config.js"),u=require("./config-provider-props.js"),d=require("./constants.js"),f=require("../utils/config-provider-preset.js");function s(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!o.isVNode(e)}const n=o.ref({}),g=o.defineComponent({name:"AplusConfigProvider",props:u.configProviderProps(),setup(e,{slots:i}){const a=o.computed(()=>({namespace:e.namespace,aplusLocale:e.aplusLocale,api:e.api,table:{...d.tableDefaultConfig,...e.table||{}},scrollbar:e.scrollbar,uiMode:e.uiMode,apUpload:e.apUpload})),r=c.provideGlobalConfig(a);return o.watch(()=>e,t=>{n.value=f.mergeAntdProvideConfig(t)},{deep:!0,immediate:!0}),()=>{let t;return o.createVNode(l.ConfigProvider,n.value,s(t=o.renderSlot(i,"default",{config:r==null?void 0:r.value}))?t:{default:()=>[t]})}}});exports.ConfigProvider=g;exports.globalConfigCached=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("@aplus-frontend/utils"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("@aplus-frontend/utils"),a=require("./config-provider.js"),l=require("./config-provider-props.js"),i=require("./constants.js"),r=require("./hooks/use-global-config.js"),e=require("./hooks/use-locale.js"),o=require("./hooks/use-namespace.js"),t=n.withInstall(a.ConfigProvider);exports.ConfigProvider=a.ConfigProvider;exports.globalConfigCached=a.globalConfigCached;exports.configProviderProps=l.configProviderProps;exports.configProviderContextKey=i.configProviderContextKey;exports.tableDefaultConfig=i.tableDefaultConfig;exports.keysOf=r.keysOf;exports.provideGlobalConfig=r.provideGlobalConfig;exports.useGlobalConfig=r.useGlobalConfig;exports.buildLocaleContext=e.buildLocaleContext;exports.buildTranslator=e.buildTranslator;exports.localeContextKey=e.localeContextKey;exports.translate=e.translate;exports.useLocale=e.useLocale;exports.defaultNamespace=o.defaultNamespace;exports.namespaceContextKey=o.namespaceContextKey;exports.useGetDerivedNamespace=o.useGetDerivedNamespace;exports.useNamespace=o.useNamespace;exports.APConfigProvider=t;exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={borderRadius:4},r={...o,colorPrimary:"#0070FF",colorPrimaryHover:"#66A9FF",colorPrimaryActive:"#338CFF",colorTextBase:"#182948",colorText:"#182948",colorTextSecondary:"#526A90",colorTextTertiary:"#8896B0",colorTextPlaceholder:"#BFBFBF",colorBorder:"#DEE4ED",colorSplit:"#E9EDF3",colorInfo:"#0070FF",colorSuccess:"#2ED1A3",colorError:"#FF4D4F",colorWarning:"#FFA940",colorBgContainerDisabled:"#F9F9FA",wireframe:!1,colorBgLayout:"#F2F6F9",colorBgSpotlight:"#000000cc"},c={...o,colorPrimary:"#34B77C",colorPrimaryHover:"#85D4B0",colorPrimaryActive:"#5DC596",colorBgContainerDisabled:"#f5f5f5",colorText:"#333333",colorTextSecondary:"#666666",colorTextTertiary:"#999999",colorTextPlaceholder:"#ABB7CC",colorBorder:"#D9D9D9",colorSplit:"#E9E9E9",colorInfo:"#1890FF",colorSuccess:"#52C41A",colorError:"#FF4D4F",colorWarning:"#FAAD14",colorLink:"#1890FF",wireframe:!1,colorBgLayout:"#FAFAFA",colorBgSpotlight:"#000000cc"};exports.adminToken=c;exports.aplusToken=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={borderRadius:4},r={...o,colorPrimary:"#0070FF",colorPrimaryHover:"#66A9FF",colorPrimaryActive:"#338CFF",colorTextBase:"#182948",colorText:"#182948",colorTextSecondary:"#526A90",colorTextTertiary:"#8896B0",colorTextPlaceholder:"#BFBFBF",colorBorder:"#DEE4ED",colorSplit:"#E9EDF3",colorInfo:"#0070FF",colorSuccess:"#2ED1A3",colorError:"#FF4D4F",colorWarning:"#FFA940",colorBgContainerDisabled:"#F9F9FA",wireframe:!1,colorBgLayout:"#F2F6F9",colorBgSpotlight:"#000000cc",controlItemBgActive:"#F5F9FF",controlItemBgActiveHover:"#EAF2FF"},c={...o,colorPrimary:"#34B77C",colorPrimaryHover:"#85D4B0",colorPrimaryActive:"#5DC596",colorBgContainerDisabled:"#f5f5f5",colorText:"#333333",colorTextSecondary:"#666666",colorTextTertiary:"#999999",colorTextPlaceholder:"#ABB7CC",colorBorder:"#D9D9D9",colorSplit:"#E9E9E9",colorInfo:"#1890FF",colorSuccess:"#52C41A",colorError:"#FF4D4F",colorWarning:"#FAAD14",colorLink:"#1890FF",wireframe:!1,colorBgLayout:"#FAFAFA",colorBgSpotlight:"#000000cc",controlItemBgActive:"#f3fbf7",controlItemBgActiveHover:"#e6f6ef"};exports.adminToken=c;exports.aplusToken=r;
|