@aplus-frontend/ui 6.18.0 → 6.19.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/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +14 -10
- package/es/src/ap-download/ap-download.vue.mjs +21 -18
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +9 -9
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +16 -16
- package/es/src/ap-form/ap-form.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.d.ts +15 -15
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/select/index.vue.d.ts +99 -99
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/modal-form/index.vue.d.ts +45 -16
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/es/src/ap-form/search-form/index.vue.d.ts +15 -15
- package/es/src/ap-table/constants.d.ts +326 -326
- package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +45 -30
- package/es/src/ap-tag/interface.d.ts +6 -0
- package/es/src/ap-tag/utils.d.ts +1 -0
- package/es/src/ap-tag/utils.mjs +12 -0
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/business/ap-batch-action-group/index.d.ts +30 -8
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +8 -8
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +8 -8
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/config-provider/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/utils/config-provider-preset.d.ts +5 -6
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +8 -8
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +15 -15
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +99 -99
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +45 -16
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +15 -15
- package/lib/src/ap-table/constants.d.ts +326 -326
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +6 -0
- package/lib/src/ap-tag/utils.d.ts +1 -0
- package/lib/src/ap-tag/utils.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +30 -8
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +8 -8
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +8 -8
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/utils/config-provider-preset.d.ts +5 -6
- 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 +8 -8
- package/package.json +3 -3
- package/theme/antdv-override.css +2 -6
- package/theme/antdv-override.less +2 -6
- package/theme/ap-label/ap-label.css +1 -0
- package/theme/ap-label/ap-label.less +1 -0
- package/theme/ap-tag/ap-tag.css +3 -1
- package/theme/ap-tag/ap-tag.less +3 -1
- package/theme/index.css +6 -7
|
@@ -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"),q=require("@aplus-frontend/antdv"),B=require("@ant-design/icons-vue");require("./ap-tag.vue2.js");require("../config-provider/index.js");const T=require("lodash-unified"),g=require("./utils.js");require("../hooks/index.js");const W=require("../config-provider/hooks/use-locale.js"),z=require("../config-provider/hooks/use-global-config.js"),S=require("../config-provider/hooks/use-namespace.js"),M=require("../hooks/useResize.js"),P=require("./ap-tag.vue.js"),D=e.defineComponent({__name:"ap-tag-group",props:{list:{default:()=>[]},space:{default:4},ellipsisColor:{},ellipsis:{default:()=>({})}},setup(v){const{t:y}=W.useLocale(),o=v,p=z.useGlobalConfig("uiMode"),{b:h,bm:d}=S.useNamespace("tag-group"),i=e.ref(),{observe:x,unobserve:C}=M.useResize(),r=e.computed(()=>({...{iconColor:p.value==="aplus"?"#182948":"#333",symbol:"icon",text:y("ap.common.more")},...o.ellipsis})),k=e.computed(()=>r.value.tooltip&&typeof r.value.tooltip=="object"?T.omit(r.value.tooltip,["trigger","title"]):{}),a=e.computed(()=>e.unref(u)<o.list.length),u=e.ref(0),b=e.computed(()=>o.list.map(t=>t.text).join("、")),_=e.computed(()=>[h()].filter(Boolean)),w=e.computed(()=>p.value==="aplus"?[d("ellipsis-text","aplus")]:[d("ellipsis-text","admin")]),m=()=>{let t=0,l=0;if(!i.value)return;const n=i.value.offsetWidth;for(let s of o.list){const c=s.size==="small"?8:12,V=g.getTextWidth(s.size==="large"?14:12,s.text),N=s.type==="border"?2:0,f=V+c+N+o.space;if(t+=f,t>n){t-=f;break}l++}if(l<o.list.length){const c=g.getTextWidth(12,r.value.text);o.ellipsis.symbol==="icon"?t+=16:t+=c,t>n&&l--}u.value=l};e.watch(()=>o.list,(t,l)=>{t!==l&&e.nextTick(()=>{m()})},{immediate:!0});const E=()=>{m()};return e.onMounted(()=>{[["ellipsisColor","ellipse.color"]].forEach(([t,l])=>{o[t]&&console.error(`[ApTagGroup]: \`${t}\` is deprecated, please use \`${l}\` instead.`)}),i.value&&x(i.value,E)}),e.onUnmounted(()=>{i.value&&C(i.value)}),(t,l)=>(e.openBlock(),e.createBlock(e.unref(q.Tooltip),e.mergeProps({trigger:"hover"},k.value),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{tags:t.list},()=>[e.createTextVNode(e.toDisplayString(b.value),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"container",ref:i,class:e.normalizeClass(_.value),style:e.normalizeStyle({pointerEvents:a.value?"auto":"none"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,(n,s)=>(e.openBlock(),e.createBlock(P.default,e.mergeProps({ref_for:!0},n,{key:s,style:{display:s>=u.value?"none":"inline-block",marginRight:`${t.space}px`}}),null,16,["style"]))),128)),a.value&&r.value.symbol==="icon"?(e.openBlock(),e.createBlock(e.unref(B),{key:0,style:e.normalizeStyle({color:t.ellipsisColor||r.value.iconColor,cursor:"pointer"})},{component:e.withCtx(()=>l[0]||(l[0]=[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)])),_:1},8,["style"])):a.value&&r.value.symbol==="text"?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(w.value),style:{cursor:"pointer"}},e.toDisplayString(r.value.text),3)):e.createCommentVNode("",!0)],6)]),_:3},16))}});exports.default=D;
|
|
@@ -5,5 +5,6 @@ declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOpt
|
|
|
5
5
|
type: "purely" | "border";
|
|
6
6
|
color: string;
|
|
7
7
|
disabled: boolean;
|
|
8
|
+
fixedWidth: boolean;
|
|
8
9
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
9
10
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");require("../config-provider/index.js");const y=require("@aplus-frontend/antdv"),S=require("./utils.js"),$=require("../config-provider/hooks/use-global-config.js"),v=require("../config-provider/hooks/use-namespace.js"),w=a.defineComponent({name:"ApTag",__name:"ap-tag",props:{type:{default:"purely"},text:{},color:{default:"#34B77C"},size:{default:"middle"},disabled:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1}},setup(p){const t=p,o=$.useGlobalConfig("uiMode"),{b:n,bm:s}=v.useNamespace("tag");function i(e,r){e.length===4&&(e=`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`);const m=parseInt(e.slice(1,3),16),g=parseInt(e.slice(3,5),16),f=parseInt(e.slice(5,7),16),b=Math.round(r*255).toString(16).padStart(2,"0");return`#${m.toString(16).padStart(2,"0")}${g.toString(16).padStart(2,"0")}${f.toString(16).padStart(2,"0")}${b}`}const c=a.computed(()=>({maxWidth:`${l.value}px`,"--tag-main-color":t.color,"--tag-main-color-opacity":i(t.color,.06),"--tag-main-color-background":i(t.color,.15)})),u=a.computed(()=>[n("wrapper"),n(`wrapper-${t.type}`),s("wrapper",t.size)].filter(Boolean)),d=a.computed(()=>{const e=[n("inner-wrapper"),s("inner-wrapper",t.size)];return t.disabled&&(o.value==="aplus"?e.push(s("inner-wrapper","disabled")):e.push(s("inner-wrapper","disabled-admin"))),e}),l=a.ref(0);return a.watch(()=>t.text,()=>{const e=t.type==="border"?2:0;let r=Math.ceil(S.getTextWidth(t.size==="large"?14:12,t.text));t.size==="large"||t.size==="middle"?r+=12:r+=8,l.value=r+e},{immediate:!0}),(e,r)=>(a.openBlock(),a.createElementBlock("span",{style:a.normalizeStyle(c.value),class:a.normalizeClass(u.value)},[a.createVNode(a.unref(y.TypographyText),{class:a.normalizeClass(d.value),ellipsis:{tooltip:e.text},content:e.text},null,8,["class","ellipsis","content"])],6))}});exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getTextWidth: (fontSize: number, text: string) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(n,o)=>{let t=document.createElement("canvas");const e=t.getContext("2d");e.font=`${n}px system-ui`;const s=e.measureText(o);return setTimeout(()=>{t=null},0),s.width};exports.getTextWidth=c;
|
|
@@ -189,9 +189,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
189
189
|
multiple: boolean;
|
|
190
190
|
disabled: boolean;
|
|
191
191
|
method: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
|
|
192
|
-
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
193
192
|
locale: UploadLocale;
|
|
194
193
|
action: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
|
|
194
|
+
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
195
195
|
capture: boolean | "user" | "environment";
|
|
196
196
|
iconRender: (opt: {
|
|
197
197
|
file: UploadFile<any>;
|
|
@@ -415,9 +415,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
415
415
|
multiple: boolean;
|
|
416
416
|
disabled: boolean;
|
|
417
417
|
method: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
|
|
418
|
-
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
419
418
|
locale: UploadLocale;
|
|
420
419
|
action: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
|
|
420
|
+
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
421
421
|
capture: boolean | "user" | "environment";
|
|
422
422
|
iconRender: (opt: {
|
|
423
423
|
file: UploadFile<any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, VNodeChild, CSSProperties, ComputedRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
-
import { ButtonType, ButtonShape
|
|
3
|
-
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
2
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
3
|
+
import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
5
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
6
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
7
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
@@ -26,7 +27,7 @@ declare const ApBatchActionGroup: {
|
|
|
26
27
|
type: PropType<ButtonShape>;
|
|
27
28
|
};
|
|
28
29
|
size: {
|
|
29
|
-
type: PropType<
|
|
30
|
+
type: PropType<SizeType>;
|
|
30
31
|
};
|
|
31
32
|
loading: {
|
|
32
33
|
type: PropType<boolean | {
|
|
@@ -62,6 +63,13 @@ declare const ApBatchActionGroup: {
|
|
|
62
63
|
onMousedown: {
|
|
63
64
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
64
65
|
};
|
|
66
|
+
autoInsertSpace: BooleanConstructor;
|
|
67
|
+
iconPosition: {
|
|
68
|
+
type: PropType<ButtonIconPosition>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
72
|
+
variant: PropType<ButtonVariantType>;
|
|
65
73
|
}>>, "type" | "onClick"> & {
|
|
66
74
|
type?: ( ButtonType | undefined) | "borderLink";
|
|
67
75
|
borderLinkColor?: string;
|
|
@@ -264,7 +272,7 @@ declare const ApBatchActionGroup: {
|
|
|
264
272
|
};
|
|
265
273
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
266
274
|
transitionName: StringConstructor;
|
|
267
|
-
placement: PropType<"top" | "bottom" | "
|
|
275
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
268
276
|
overlayClassName: StringConstructor;
|
|
269
277
|
overlayStyle: {
|
|
270
278
|
type: PropType<CSSProperties>;
|
|
@@ -327,7 +335,7 @@ declare const ApBatchActionGroup: {
|
|
|
327
335
|
type: PropType<ButtonShape>;
|
|
328
336
|
};
|
|
329
337
|
size: {
|
|
330
|
-
type: PropType<
|
|
338
|
+
type: PropType<SizeType>;
|
|
331
339
|
};
|
|
332
340
|
loading: {
|
|
333
341
|
type: PropType<boolean | {
|
|
@@ -363,6 +371,13 @@ declare const ApBatchActionGroup: {
|
|
|
363
371
|
onMousedown: {
|
|
364
372
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
365
373
|
};
|
|
374
|
+
autoInsertSpace: BooleanConstructor;
|
|
375
|
+
iconPosition: {
|
|
376
|
+
type: PropType<ButtonIconPosition>;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
380
|
+
variant: PropType<ButtonVariantType>;
|
|
366
381
|
}>>, "type" | "onClick"> & {
|
|
367
382
|
type?: ( ButtonType | undefined) | "borderLink";
|
|
368
383
|
borderLinkColor?: string;
|
|
@@ -565,7 +580,7 @@ declare const ApBatchActionGroup: {
|
|
|
565
580
|
};
|
|
566
581
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
567
582
|
transitionName: StringConstructor;
|
|
568
|
-
placement: PropType<"top" | "bottom" | "
|
|
583
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
569
584
|
overlayClassName: StringConstructor;
|
|
570
585
|
overlayStyle: {
|
|
571
586
|
type: PropType<CSSProperties>;
|
|
@@ -625,7 +640,7 @@ declare const ApBatchActionGroup: {
|
|
|
625
640
|
type: PropType<ButtonShape>;
|
|
626
641
|
};
|
|
627
642
|
size: {
|
|
628
|
-
type: PropType<
|
|
643
|
+
type: PropType<SizeType>;
|
|
629
644
|
};
|
|
630
645
|
loading: {
|
|
631
646
|
type: PropType<boolean | {
|
|
@@ -661,6 +676,13 @@ declare const ApBatchActionGroup: {
|
|
|
661
676
|
onMousedown: {
|
|
662
677
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
663
678
|
};
|
|
679
|
+
autoInsertSpace: BooleanConstructor;
|
|
680
|
+
iconPosition: {
|
|
681
|
+
type: PropType<ButtonIconPosition>;
|
|
682
|
+
default: string;
|
|
683
|
+
};
|
|
684
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
685
|
+
variant: PropType<ButtonVariantType>;
|
|
664
686
|
}>>, "type" | "onClick"> & {
|
|
665
687
|
type?: ButtonProps["type"] | "borderLink";
|
|
666
688
|
borderLinkColor?: string;
|
|
@@ -863,7 +885,7 @@ declare const ApBatchActionGroup: {
|
|
|
863
885
|
};
|
|
864
886
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
865
887
|
transitionName: StringConstructor;
|
|
866
|
-
placement: PropType<"top" | "bottom" | "
|
|
888
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
867
889
|
overlayClassName: StringConstructor;
|
|
868
890
|
overlayStyle: {
|
|
869
891
|
type: PropType<CSSProperties>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
|
|
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
|
-
import {
|
|
3
|
+
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
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';
|
|
@@ -18,7 +18,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
18
18
|
$: ComponentInternalInstance;
|
|
19
19
|
$data: {};
|
|
20
20
|
$props: {
|
|
21
|
-
readonly size?:
|
|
21
|
+
readonly size?: SizeType;
|
|
22
22
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
23
23
|
readonly layout?: string | undefined;
|
|
24
24
|
readonly disabled?: boolean | undefined;
|
|
@@ -313,8 +313,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
313
313
|
default: string | string[];
|
|
314
314
|
};
|
|
315
315
|
size: {
|
|
316
|
-
type: PropType<
|
|
317
|
-
default:
|
|
316
|
+
type: PropType<ButtonSize>;
|
|
317
|
+
default: ButtonSize;
|
|
318
318
|
};
|
|
319
319
|
disabled: {
|
|
320
320
|
type: BooleanConstructor;
|
|
@@ -341,7 +341,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
341
341
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
342
342
|
};
|
|
343
343
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
344
|
-
size:
|
|
344
|
+
size: ButtonSize;
|
|
345
345
|
onSubmit: (e: Event) => void;
|
|
346
346
|
disabled: boolean;
|
|
347
347
|
validateTrigger: string | string[];
|
|
@@ -633,8 +633,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
633
633
|
default: string | string[];
|
|
634
634
|
};
|
|
635
635
|
size: {
|
|
636
|
-
type: PropType<
|
|
637
|
-
default:
|
|
636
|
+
type: PropType<ButtonSize>;
|
|
637
|
+
default: ButtonSize;
|
|
638
638
|
};
|
|
639
639
|
disabled: {
|
|
640
640
|
type: BooleanConstructor;
|
|
@@ -661,7 +661,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
661
661
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
662
662
|
};
|
|
663
663
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
664
|
-
size:
|
|
664
|
+
size: ButtonSize;
|
|
665
665
|
onSubmit: (e: Event) => void;
|
|
666
666
|
disabled: boolean;
|
|
667
667
|
validateTrigger: string | string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewListModel } from '../interface';
|
|
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
|
-
import {
|
|
3
|
+
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
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';
|
|
@@ -19,7 +19,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
19
19
|
$: ComponentInternalInstance;
|
|
20
20
|
$data: {};
|
|
21
21
|
$props: {
|
|
22
|
-
readonly size?:
|
|
22
|
+
readonly size?: SizeType;
|
|
23
23
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
24
24
|
readonly layout?: string | undefined;
|
|
25
25
|
readonly disabled?: boolean | undefined;
|
|
@@ -314,8 +314,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
314
314
|
default: string | string[];
|
|
315
315
|
};
|
|
316
316
|
size: {
|
|
317
|
-
type: PropType<
|
|
318
|
-
default:
|
|
317
|
+
type: PropType<ButtonSize>;
|
|
318
|
+
default: ButtonSize;
|
|
319
319
|
};
|
|
320
320
|
disabled: {
|
|
321
321
|
type: BooleanConstructor;
|
|
@@ -342,7 +342,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
342
342
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
343
343
|
};
|
|
344
344
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
345
|
-
size:
|
|
345
|
+
size: ButtonSize;
|
|
346
346
|
onSubmit: (e: Event) => void;
|
|
347
347
|
disabled: boolean;
|
|
348
348
|
validateTrigger: string | string[];
|
|
@@ -634,8 +634,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
634
634
|
default: string | string[];
|
|
635
635
|
};
|
|
636
636
|
size: {
|
|
637
|
-
type: PropType<
|
|
638
|
-
default:
|
|
637
|
+
type: PropType<ButtonSize>;
|
|
638
|
+
default: ButtonSize;
|
|
639
639
|
};
|
|
640
640
|
disabled: {
|
|
641
641
|
type: BooleanConstructor;
|
|
@@ -662,7 +662,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
662
662
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
663
663
|
};
|
|
664
664
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
665
|
-
size:
|
|
665
|
+
size: ButtonSize;
|
|
666
666
|
onSubmit: (e: Event) => void;
|
|
667
667
|
disabled: boolean;
|
|
668
668
|
validateTrigger: string | string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchInputGroupProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { FieldMode, ApFieldTextProps } from '../../ap-field';
|
|
4
|
-
import {
|
|
4
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
5
|
import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
6
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
7
7
|
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
@@ -31,7 +31,7 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
31
31
|
readonly style?: unknown;
|
|
32
32
|
readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password" | undefined;
|
|
33
33
|
readonly lazy?: boolean | undefined;
|
|
34
|
-
readonly size?:
|
|
34
|
+
readonly size?: SizeType;
|
|
35
35
|
readonly hidden?: boolean | undefined;
|
|
36
36
|
readonly onBlur?: FocusEventHandler | undefined;
|
|
37
37
|
readonly onChange?: ChangeEventHandler | undefined;
|
|
@@ -2,9 +2,9 @@ import { BatchInputGroupPopoverInputProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
4
4
|
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
5
|
-
import {
|
|
6
|
-
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
5
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
6
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
7
|
+
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
8
8
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
10
|
"update:value": (...args: any[]) => void;
|
|
@@ -35,7 +35,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
35
35
|
};
|
|
36
36
|
valueModifiers: ObjectConstructor;
|
|
37
37
|
size: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<ButtonSize>;
|
|
39
39
|
};
|
|
40
40
|
value: {
|
|
41
41
|
type: PropType<string | number>;
|
|
@@ -43,8 +43,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
43
43
|
};
|
|
44
44
|
name: StringConstructor;
|
|
45
45
|
type: {
|
|
46
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
47
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
46
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
|
|
47
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
48
48
|
};
|
|
49
49
|
onFocus: PropType<FocusEventHandler>;
|
|
50
50
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -69,38 +69,43 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
69
69
|
default: any;
|
|
70
70
|
};
|
|
71
71
|
prefixCls: StringConstructor;
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
autocomplete: StringConstructor;
|
|
73
|
+
loading: {
|
|
74
74
|
type: BooleanConstructor;
|
|
75
75
|
default: any;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
readonly: {
|
|
77
|
+
bordered: {
|
|
79
78
|
type: BooleanConstructor;
|
|
80
79
|
default: any;
|
|
81
80
|
};
|
|
82
|
-
status: PropType<"" | "error" | "warning">;
|
|
83
81
|
defaultValue: {
|
|
84
82
|
type: PropType<string | number>;
|
|
85
83
|
default: any;
|
|
86
84
|
};
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
status: PropType<"" | "error" | "warning">;
|
|
86
|
+
placeholder: {
|
|
87
|
+
type: PropType<string | number>;
|
|
88
|
+
};
|
|
89
|
+
allowClear: {
|
|
89
90
|
type: BooleanConstructor;
|
|
90
91
|
default: any;
|
|
91
92
|
};
|
|
92
|
-
|
|
93
|
-
type:
|
|
93
|
+
autofocus: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: any;
|
|
94
96
|
};
|
|
97
|
+
id: StringConstructor;
|
|
98
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
99
|
+
readonly: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: any;
|
|
102
|
+
};
|
|
103
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
95
104
|
lazy: {
|
|
96
105
|
type: BooleanConstructor;
|
|
97
106
|
default: boolean;
|
|
98
107
|
};
|
|
99
108
|
maxlength: NumberConstructor;
|
|
100
|
-
bordered: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: any;
|
|
103
|
-
};
|
|
104
109
|
showCount: {
|
|
105
110
|
type: PropType<boolean | ShowCountProps>;
|
|
106
111
|
};
|
|
@@ -114,26 +119,21 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
114
119
|
inputElement: VueTypeValidableDef<any>;
|
|
115
120
|
triggerFocus: PropType<() => void>;
|
|
116
121
|
handleReset: PropType<MouseEventHandler>;
|
|
117
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
118
|
-
allowClear: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: any;
|
|
121
|
-
};
|
|
122
122
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
123
123
|
value: string | number;
|
|
124
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
124
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
125
125
|
onMousedown: MouseEventHandler;
|
|
126
126
|
focused: boolean;
|
|
127
127
|
hidden: boolean;
|
|
128
128
|
disabled: boolean;
|
|
129
|
+
loading: boolean;
|
|
130
|
+
bordered: boolean;
|
|
131
|
+
defaultValue: string | number;
|
|
132
|
+
allowClear: boolean;
|
|
129
133
|
autofocus: boolean;
|
|
130
134
|
readonly: boolean;
|
|
131
|
-
defaultValue: string | number;
|
|
132
|
-
loading: boolean;
|
|
133
135
|
lazy: boolean;
|
|
134
|
-
bordered: boolean;
|
|
135
136
|
onMouseUp: MouseEventHandler;
|
|
136
|
-
allowClear: boolean;
|
|
137
137
|
autosize: any;
|
|
138
138
|
autoSize: any;
|
|
139
139
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -167,7 +167,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
167
167
|
};
|
|
168
168
|
valueModifiers: ObjectConstructor;
|
|
169
169
|
size: {
|
|
170
|
-
type: PropType<
|
|
170
|
+
type: PropType<ButtonSize>;
|
|
171
171
|
};
|
|
172
172
|
value: {
|
|
173
173
|
type: PropType<string | number>;
|
|
@@ -175,8 +175,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
175
175
|
};
|
|
176
176
|
name: StringConstructor;
|
|
177
177
|
type: {
|
|
178
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
179
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
178
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
|
|
179
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
180
180
|
};
|
|
181
181
|
onFocus: PropType<FocusEventHandler>;
|
|
182
182
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -201,38 +201,43 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
201
201
|
default: any;
|
|
202
202
|
};
|
|
203
203
|
prefixCls: StringConstructor;
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
autocomplete: StringConstructor;
|
|
205
|
+
loading: {
|
|
206
206
|
type: BooleanConstructor;
|
|
207
207
|
default: any;
|
|
208
208
|
};
|
|
209
|
-
|
|
210
|
-
readonly: {
|
|
209
|
+
bordered: {
|
|
211
210
|
type: BooleanConstructor;
|
|
212
211
|
default: any;
|
|
213
212
|
};
|
|
214
|
-
status: PropType<"" | "error" | "warning">;
|
|
215
213
|
defaultValue: {
|
|
216
214
|
type: PropType<string | number>;
|
|
217
215
|
default: any;
|
|
218
216
|
};
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
status: PropType<"" | "error" | "warning">;
|
|
218
|
+
placeholder: {
|
|
219
|
+
type: PropType<string | number>;
|
|
220
|
+
};
|
|
221
|
+
allowClear: {
|
|
221
222
|
type: BooleanConstructor;
|
|
222
223
|
default: any;
|
|
223
224
|
};
|
|
224
|
-
|
|
225
|
-
type:
|
|
225
|
+
autofocus: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: any;
|
|
226
228
|
};
|
|
229
|
+
id: StringConstructor;
|
|
230
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
231
|
+
readonly: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: any;
|
|
234
|
+
};
|
|
235
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
227
236
|
lazy: {
|
|
228
237
|
type: BooleanConstructor;
|
|
229
238
|
default: boolean;
|
|
230
239
|
};
|
|
231
240
|
maxlength: NumberConstructor;
|
|
232
|
-
bordered: {
|
|
233
|
-
type: BooleanConstructor;
|
|
234
|
-
default: any;
|
|
235
|
-
};
|
|
236
241
|
showCount: {
|
|
237
242
|
type: PropType<boolean | ShowCountProps>;
|
|
238
243
|
};
|
|
@@ -246,26 +251,21 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
246
251
|
inputElement: VueTypeValidableDef<any>;
|
|
247
252
|
triggerFocus: PropType<() => void>;
|
|
248
253
|
handleReset: PropType<MouseEventHandler>;
|
|
249
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
250
|
-
allowClear: {
|
|
251
|
-
type: BooleanConstructor;
|
|
252
|
-
default: any;
|
|
253
|
-
};
|
|
254
254
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
255
255
|
value: string | number;
|
|
256
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
256
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
257
257
|
onMousedown: MouseEventHandler;
|
|
258
258
|
focused: boolean;
|
|
259
259
|
hidden: boolean;
|
|
260
260
|
disabled: boolean;
|
|
261
|
+
loading: boolean;
|
|
262
|
+
bordered: boolean;
|
|
263
|
+
defaultValue: string | number;
|
|
264
|
+
allowClear: boolean;
|
|
261
265
|
autofocus: boolean;
|
|
262
266
|
readonly: boolean;
|
|
263
|
-
defaultValue: string | number;
|
|
264
|
-
loading: boolean;
|
|
265
267
|
lazy: boolean;
|
|
266
|
-
bordered: boolean;
|
|
267
268
|
onMouseUp: MouseEventHandler;
|
|
268
|
-
allowClear: boolean;
|
|
269
269
|
autosize: any;
|
|
270
270
|
autoSize: any;
|
|
271
271
|
}> | null;
|
|
@@ -4,9 +4,8 @@ import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, d
|
|
|
4
4
|
import { ViewCacheOption } from '../business';
|
|
5
5
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
6
6
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
8
8
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
9
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
10
9
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
11
10
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
12
11
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -57,7 +56,7 @@ export declare const configProviderProps: () => {
|
|
|
57
56
|
};
|
|
58
57
|
};
|
|
59
58
|
componentSize: {
|
|
60
|
-
type: PropType<
|
|
59
|
+
type: PropType< SizeType>;
|
|
61
60
|
};
|
|
62
61
|
componentDisabled: {
|
|
63
62
|
type: BooleanConstructor;
|
|
@@ -69,10 +68,10 @@ export declare const configProviderProps: () => {
|
|
|
69
68
|
};
|
|
70
69
|
space: {
|
|
71
70
|
type: PropType<{
|
|
72
|
-
size?:
|
|
71
|
+
size?: SizeType | number;
|
|
73
72
|
}>;
|
|
74
73
|
default: {
|
|
75
|
-
size?:
|
|
74
|
+
size?: SizeType | number;
|
|
76
75
|
};
|
|
77
76
|
};
|
|
78
77
|
virtual: {
|