@aplus-frontend/ui 0.5.13 → 0.5.15
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-button/interface.d.ts +1 -1
- package/es/src/ap-field/date/constant.d.ts +1 -1
- package/es/src/ap-field/date/constant.mjs +14 -2
- package/es/src/ap-field/date/index.vue.mjs +59 -58
- package/es/src/ap-field/date/interface.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +67 -66
- package/es/src/ap-field/interface.d.ts +18 -2
- package/es/src/ap-field/select/index.vue.d.ts +1 -0
- package/es/src/ap-field/select/index.vue.mjs +98 -92
- package/es/src/ap-modal/index.mjs +33 -15
- package/es/src/ap-modal/utils/confirm.d.ts +17 -0
- package/es/src/ap-modal/utils/confirm.mjs +110 -0
- package/es/src/ap-modal/utils/createModal.mjs +2 -1
- package/es/src/ap-modal/utils/destroyFns.d.ts +2 -0
- package/es/src/ap-modal/utils/destroyFns.mjs +4 -0
- package/es/src/ap-table/constants.d.ts +3 -0
- package/lib/src/ap-button/interface.d.ts +1 -1
- package/lib/src/ap-field/date/constant.d.ts +1 -1
- package/lib/src/ap-field/date/constant.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/interface.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +18 -2
- package/lib/src/ap-field/select/index.vue.d.ts +1 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.d.ts +17 -0
- package/lib/src/ap-modal/utils/confirm.js +1 -0
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/destroyFns.d.ts +2 -0
- package/lib/src/ap-modal/utils/destroyFns.js +1 -0
- package/lib/src/ap-table/constants.d.ts +3 -0
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commo
|
|
|
3
3
|
import { ApFormatPresetType } from './date/interface';
|
|
4
4
|
import { RangeValue } from '@aplus-frontend/antdv/es/vc-picker/interface';
|
|
5
5
|
import { RangePickerProps } from '@aplus-frontend/antdv/es/date-picker/dayjs';
|
|
6
|
-
import { LiteralUnion } from '../type';
|
|
6
|
+
import { LiteralUnion, Recordable } from '../type';
|
|
7
7
|
import { InputPasswordProps } from './text/input-password-props';
|
|
8
8
|
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
9
9
|
export type FieldMode = 'read' | 'edit';
|
|
@@ -41,6 +41,10 @@ export type ApFieldDateProps = BasicApFieldProps<Omit<DatePickerProps, 'mode' |
|
|
|
41
41
|
onChange?: (ts: number | null, dayStr: string) => void;
|
|
42
42
|
onOk?: (ts: number | null) => void;
|
|
43
43
|
format?: LiteralUnion<ApFormatPresetType, string>;
|
|
44
|
+
/**
|
|
45
|
+
* 只用于显示的自定义格式化
|
|
46
|
+
*/
|
|
47
|
+
shownFormat?: DatePickerProps['format'];
|
|
44
48
|
/**
|
|
45
49
|
* 格式化时间时是否以`format`的开始
|
|
46
50
|
* @default true
|
|
@@ -99,6 +103,10 @@ export type ApFieldDateRangeProps = BasicApFieldProps<Omit<RangePickerProps, 'va
|
|
|
99
103
|
onChange?: (ts: RangeValue<number> | null, dayStr: [string, string]) => void;
|
|
100
104
|
onOk?: (ts: RangeValue<number>) => void;
|
|
101
105
|
format?: LiteralUnion<ApFormatPresetType, string>;
|
|
106
|
+
/**
|
|
107
|
+
* 只用于显示的format
|
|
108
|
+
*/
|
|
109
|
+
shownFormat?: RangePickerProps['format'];
|
|
102
110
|
/**
|
|
103
111
|
* 指定时区,指定后value会变为特定时区下的timestamp
|
|
104
112
|
*/
|
|
@@ -114,7 +122,7 @@ export type ApFieldDateRangeProps = BasicApFieldProps<Omit<RangePickerProps, 'va
|
|
|
114
122
|
};
|
|
115
123
|
export type ApFieldSelectProps = BasicApFieldProps<Omit<SelectProps, 'mode' | 'value' | 'onUpdate:value' | 'onSearch'>> & {
|
|
116
124
|
emptyText?: string;
|
|
117
|
-
request?: (value?: string) => Promise<SelectProps['options']>;
|
|
125
|
+
request?: (value?: string, extraParams?: Recordable) => Promise<SelectProps['options']>;
|
|
118
126
|
multiple?: boolean;
|
|
119
127
|
value?: SelectProps['value'];
|
|
120
128
|
'onUpdate:value'?: SelectProps['onUpdate:value'];
|
|
@@ -134,6 +142,14 @@ export type ApFieldSelectProps = BasicApFieldProps<Omit<SelectProps, 'mode' | 'v
|
|
|
134
142
|
* 添加一个名为全部的节点(只在多选的情况下有效)
|
|
135
143
|
*/
|
|
136
144
|
addAll?: boolean | number;
|
|
145
|
+
/**
|
|
146
|
+
* 发起request额外的请求,变更后会自动重新发器请求
|
|
147
|
+
*/
|
|
148
|
+
params?: Recordable;
|
|
149
|
+
/**
|
|
150
|
+
* 发起搜索的时间间隔默认300ms
|
|
151
|
+
*/
|
|
152
|
+
searchDelay?: number;
|
|
137
153
|
};
|
|
138
154
|
export type ApFieldSelectExpose = {
|
|
139
155
|
focus: () => void;
|
|
@@ -464,6 +464,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
464
464
|
emptyText: string;
|
|
465
465
|
searchMode: "filter" | "request";
|
|
466
466
|
refetchOnFocus: boolean;
|
|
467
|
+
searchDelay: number;
|
|
467
468
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
468
469
|
selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
469
470
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),i=require("lodash-unified"),w=require("@aplus-frontend/antdv");require("../../hooks/index.js");const k=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),i=require("lodash-unified"),w=require("@aplus-frontend/antdv");require("../../hooks/index.js");const k=require("../hooks/use-default-placeholder.js"),d=require("./use-select-options.js"),M=require("../../hooks/useControllableValue.js"),U={key:0},D=o.defineComponent({name:"ApFieldSelect",__name:"index",props:{mode:{default:"edit"},class:{},style:{},defaultValue:{},notFoundContent:{},suffixIcon:{},itemIcon:{},size:{},bordered:{type:Boolean,default:void 0},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean,default:void 0},animation:{},direction:{},disabled:{type:Boolean,default:void 0},prefixCls:{},id:{},autofocus:{type:Boolean,default:void 0},getPopupContainer:{},virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{},options:{},showAction:{},onDeselect:{},loading:{type:Boolean,default:void 0},placeholder:{},clearIcon:{},allowClear:{type:Boolean,default:!0},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean,default:void 0},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{},showArrow:{type:Boolean,default:void 0},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean,default:void 0},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean,default:void 0},onClickOption:{},labelInValue:{type:Boolean,default:void 0},emptyText:{default:"--"},request:{},multiple:{type:Boolean,default:void 0},value:{},"onUpdate:value":{},searchMode:{default:"filter"},refetchOnFocus:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},addAll:{type:[Boolean,Number]},params:{},searchDelay:{default:300}},emits:["update:value"],setup(B,{expose:L,emit:b}){let r=0;const e=B,_=i.debounce(t=>{if(!i.isFunction(e.request))return;r+=1;const l=r;c([]),u.value=!0,e.request(t).then(n=>{r===l&&(c(n),u.value=!1)})},e.searchDelay),A=(t,l)=>{var a;const n=((a=e.fieldNames)==null?void 0:a.label)||"label";return typeof(l==null?void 0:l[n])=="string"&&l[n].toLowerCase().indexOf(t.toLowerCase())>-1},{options:s,updateOptions:c}=d.useSelectOptions(e),v=o.ref(),u=o.ref((e==null?void 0:e.loading)||!1),F=b;async function f(t=!0){if(!i.isFunction(e.request))return;u.value=!0,r+=1;const l=r;try{t&&c([]);const n=await e.request(void 0,e.params);if(l!==r)return;c(n)}finally{u.value=!1}}function O(t){var l;(l=e.onFocus)==null||l.call(e,t),e.refetchOnFocus&&r>0&&!u.value&&f(!0)}o.onMounted(()=>{e.lazy||f()}),o.watch(()=>e.params,()=>{f()},{deep:!0});const{value:p,updateValue:h}=M.useControllableValue(e,F),V=k.useDefaultPlaceholder("Select",e),E=o.computed(()=>{var m,g;const t=o.unref(p);if(!t)return e.emptyText;const l=((m=e.fieldNames)==null?void 0:m.label)||"label",n=((g=e.fieldNames)==null?void 0:g.value)||"value";if(i.isArray(t))return t.map(y=>{var C;return(C=o.unref(s).find(P=>P[n]===y))==null?void 0:C[l]}).filter(Boolean).join("、")||e.emptyText;const a=o.unref(s).find(y=>y[n]===t);return(a==null?void 0:a[l])||e.emptyText}),N=o.computed(()=>{const t=!!(e!=null&&e.showSearch),l=e.searchMode;let n={};return t&&(n=l==="request"?{showArrow:!1,defaultActiveFirstOption:!1,onSearch:_,notFoundContent:u.value?void 0:null,filterOption:!1}:{showArrow:!0,filterOption:i.isNil(e==null?void 0:e.filterOption)?A:e==null?void 0:e.filterOption}),{...i.omit(e,["mode","value","onUpdate:value","onSearch","request","searchMode","onFocus","onBeforeSelect"]),placeholder:o.unref(V),...n}}),S=o.computed(()=>s.value.map(t=>{var l;return t[((l=e.fieldNames)==null?void 0:l.value)||"value"]}).filter(t=>t!==d.SELECT_ALL_VALUE_KEY)),q=o.computed(()=>{if(!e.multiple||!e.addAll)return o.unref(p);if(s.value.some(t=>{var l;return t[((l=e.fieldNames)==null?void 0:l.value)||"value"]===d.SELECT_ALL_VALUE_KEY})){const t=o.unref(S),l=o.unref(p)||[];if(t.length&&t.every(n=>l==null?void 0:l.includes(n)))return[d.SELECT_ALL_VALUE_KEY]}return o.unref(p)});function T(t){return e.multiple&&t.includes(d.SELECT_ALL_VALUE_KEY)?h(o.unref(S)):h(t)}function x(){var t;(t=v.value)==null||t.focus()}function I(){var t;(t=v.value)==null||t.blur()}return L({focus:x,blur:I,request:f}),(t,l)=>t.mode==="read"?(o.openBlock(),o.createElementBlock("span",U,o.toDisplayString(E.value),1)):(o.openBlock(),o.createBlock(o.unref(w.Select),o.mergeProps({key:1,ref_key:"selectRef",ref:v,"allow-clear":""},N.value,{mode:t.multiple?"multiple":void 0,value:q.value,options:o.unref(s),loading:u.value,"onUpdate:value":T,onFocus:O}),o.createSlots({_:2},[o.renderList(t.$slots,(n,a)=>({name:a,fn:o.withCtx(m=>[o.renderSlot(t.$slots,a,o.normalizeProps(o.guardReactiveProps(m||{})))])})),u.value?{name:"notFoundContent",fn:o.withCtx(()=>[o.createVNode(o.unref(w.Spin),{size:"small"})]),key:"0"}:void 0]),1040,["mode","value","options","loading"]))}});exports.default=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@aplus-frontend/antdv");require("./utils/index.js");const c=require("lodash-unified"),n=require("./utils/confirm.js"),o=require("./utils/destroyFns.js");require("./interface.js");const u=require("./utils/createModal.js"),l=require("./utils/createModalStream.js"),e=c.omit(i.Modal,["confirm","warning","warn","error","success","info"]);e.createModal=u.createModal;e.createModalStream=l.createModalStream;function a(t){return n.default(n.withWarn(t))}e.info=function(r){return n.default(n.withInfo(r))};e.success=function(r){return n.default(n.withSuccess(r))};e.error=function(r){return n.default(n.withError(r))};e.warning=a;e.warn=a;e.confirm=function(r){return n.default(n.withConfirm(r))};e.destroyAll=function(){for(;o.default.length;){const r=o.default.pop();r&&r()}};e.name="ApModal";exports.ApModal=e;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModalFuncProps } from '@aplus-frontend/antdv';
|
|
2
|
+
type ConfigUpdate = ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps);
|
|
3
|
+
export type ModalStaticFunctions<T = ModalFunc> = Record<NonNullable<ModalFuncProps['type']>, T>;
|
|
4
|
+
export type ModalFunc = (props: ModalFuncProps) => {
|
|
5
|
+
destroy: () => void;
|
|
6
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const confirm: (config: ModalFuncProps) => {
|
|
9
|
+
destroy: (this: /*elided*/ any, ...args: any[]) => void;
|
|
10
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
11
|
+
};
|
|
12
|
+
export default confirm;
|
|
13
|
+
export declare function withWarn(props: ModalFuncProps): ModalFuncProps;
|
|
14
|
+
export declare function withInfo(props: ModalFuncProps): ModalFuncProps;
|
|
15
|
+
export declare function withSuccess(props: ModalFuncProps): ModalFuncProps;
|
|
16
|
+
export declare function withError(props: ModalFuncProps): ModalFuncProps;
|
|
17
|
+
export declare function withConfirm(props: ModalFuncProps): ModalFuncProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),g=require("@aplus-frontend/antdv/es/modal/ConfirmDialog"),y=require("lodash-unified");require("../../config-provider/index.js");const w=require("@aplus-frontend/antdv/es/modal/locale"),P=require("@aplus-frontend/antdv/es/config-provider"),s=require("./destroyFns.js"),p=require("../../config-provider/config-provider.js"),v=e=>{const u=document.createDocumentFragment();let r={...y.omit(e,["parentContext","appContext"]),close:c,open:!0,centered:!0},l=null;function d(...t){l&&(i.render(null,u),l=null);const o=t.some(n=>n&&n.triggerCancel);e.onCancel&&o&&e.onCancel(()=>{},...t.slice(1));for(let n=0;n<s.default.length;n++)if(s.default[n]===c){s.default.splice(n,1);break}}function c(...t){r={...r,open:!1,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),d.apply(this,t)}},r.visible&&delete r.visible,f(r)}function f(t){typeof t=="function"?r=t(r):r={...r,...t},l&&i.render(i.cloneVNode(l,{...r}),u)}const x=t=>{const o={...P.globalConfigForApi,...p.globalConfigCached.value},n=o.prefixCls,a=t.prefixCls||`${n}-modal`,h=o.iconPrefixCls,C=w.getConfirmLocale();return i.createVNode(p.ConfigProvider,i.mergeProps(o,{prefixCls:n}),{default:()=>[i.createVNode(g,i.mergeProps(t,{rootPrefixCls:n,prefixCls:a,iconPrefixCls:h,locale:C,cancelText:t.cancelText||C.cancelText}),null)]})};function m(t){const o=i.createVNode(x,{...t});return o.appContext=e.parentContext||e.appContext||o.appContext,i.render(o,u),o}return l=m(r),s.default.push(c),{destroy:c,update:f}};function b(e){return{...e,type:"warning"}}function q(e){return{...e,type:"info"}}function N(e){return{...e,type:"success"}}function S(e){return{...e,type:"error"}}function T(e){return{...e,type:"confirm"}}exports.default=v;exports.withConfirm=T;exports.withError=S;exports.withInfo=q;exports.withSuccess=N;exports.withWarn=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),N=require("@aplus-frontend/antdv"),m=require("../../config-provider/config-provider.js"),k=require("lodash-unified"),M=require("@aplus-frontend/utils");require("../../config-provider/index.js");const v=require("./util.js"),L=require("../../utils/index.js"),T=require("../../config-provider/hooks/use-namespace.js"),V=p=>{var C,g;let t,r;const{destroyOnClose:l=!0,wrapperOffset:s=!1}=p,{b:u}=T.useNamespace("ap-modal");function f(){t&&t(!1),setTimeout(()=>{var e;o.render(null,a),(e=a.parentElement)==null||e.removeChild(a)},500)}function y(){t&&t(!0)}function h(){t&&t(!1)}function O(e){r&&r(e)}const q=o.defineComponent({data(){return{open:l,props:p}},created(){t=e=>{this.open=e},r=e=>{this.props={...this.props,...e}}},methods:{async handleCancel(){var e,n,i,c,d;if((e=this.props)!=null&&e.onCancel){const x=((c=(i=(n=this.props)==null?void 0:n.content)==null?void 0:i.component)==null?void 0:c.exposed)??void 0;await((d=this.props)==null?void 0:d.onCancel(x))}l?f():h()},async handleOk(){var e,n,i,c;try{if(r({confirmLoading:!0}),(e=this.props)!=null&&e.onOk){const d=((c=(i=(n=this.props)==null?void 0:n.content)==null?void 0:i.component)==null?void 0:c.exposed)??void 0;await this.props.onOk(d)}r({confirmLoading:!1}),l?f():h()}catch{r({confirmLoading:!1})}}},render(){const e=k.omit(this.props,["onCancel","onOk","open","onUpdate:open","getContainer","icon"]);return o.createVNode(m.ConfigProvider,m.globalConfigCached.value,{default:()=>[o.createVNode(N.Modal,o.mergeProps({class:{[u()]:!0,[u("wrapper")]:s},open:this.open,onCancel:this.handleCancel,onOk:this.handleOk},e),{default:()=>{var n;return[o.createVNode("div",{class:{[u("body-wrapper")]:s},style:s===!1?{}:{maxHeight:`${window.innerHeight-(s===!0?100:M.isNumeric(s)?Number(s):100)*2}px`}},[(n=this.props)==null?void 0:n.content])]}})]})}}),b=v.getContainerDom((g=(C=m.globalConfigCached)==null?void 0:C.value)==null?void 0:g.getPopupContainer),w=v.getContainerDom(p.getContainer),P=b||w||L.getTopWindow().document.body,a=document.createElement("div");return P.appendChild(a),o.render(o.h(q),a),{destroy:f,update:O,open:y,close:h}};exports.createModal=V;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),N=require("@aplus-frontend/antdv"),m=require("../../config-provider/config-provider.js"),k=require("lodash-unified"),M=require("@aplus-frontend/utils");require("../../config-provider/index.js");const v=require("./util.js"),L=require("../../utils/index.js"),T=require("../../config-provider/hooks/use-namespace.js"),V=p=>{var C,g;let t,r;const{destroyOnClose:l=!0,wrapperOffset:s=!1}=p,{b:u}=T.useNamespace("ap-modal");function f(){t&&t(!1),setTimeout(()=>{var e;o.render(null,a),(e=a.parentElement)==null||e.removeChild(a)},500)}function y(){t&&t(!0)}function h(){t&&t(!1)}function O(e){r&&r(e)}const q=o.defineComponent({data(){return{open:l,props:p}},created(){t=e=>{this.open=e},r=e=>{this.props={...this.props,...e}}},methods:{async handleCancel(){var e,n,i,c,d;if((e=this.props)!=null&&e.onCancel){const x=((c=(i=(n=this.props)==null?void 0:n.content)==null?void 0:i.component)==null?void 0:c.exposed)??void 0;await((d=this.props)==null?void 0:d.onCancel(x))}l?f():h()},async handleOk(){var e,n,i,c;try{if(r({confirmLoading:!0}),(e=this.props)!=null&&e.onOk){const d=((c=(i=(n=this.props)==null?void 0:n.content)==null?void 0:i.component)==null?void 0:c.exposed)??void 0;await this.props.onOk(d)}r({confirmLoading:!1}),l?f():h()}catch{r({confirmLoading:!1})}}},render(){const e=k.omit(this.props,["onCancel","onOk","open","onUpdate:open","getContainer","icon"]);return o.createVNode(m.ConfigProvider,m.globalConfigCached.value,{default:()=>[o.createVNode(N.Modal,o.mergeProps({class:{[u()]:!0,[u("wrapper")]:s},open:this.open,onCancel:this.handleCancel,onOk:this.handleOk,centered:!0},e),{default:()=>{var n;return[o.createVNode("div",{class:{[u("body-wrapper")]:s},style:s===!1?{}:{maxHeight:`${window.innerHeight-(s===!0?100:M.isNumeric(s)?Number(s):100)*2}px`}},[(n=this.props)==null?void 0:n.content])]}})]})}}),b=v.getContainerDom((g=(C=m.globalConfigCached)==null?void 0:C.value)==null?void 0:g.getPopupContainer),w=v.getContainerDom(p.getContainer),P=b||w||L.getTopWindow().document.body,a=document.createElement("div");return P.appendChild(a),o.render(o.h(q),a),{destroy:f,update:O,open:y,close:h}};exports.createModal=V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=[];exports.default=e;
|
|
@@ -2616,6 +2616,7 @@ export declare const apTableRenderItemMap: {
|
|
|
2616
2616
|
emptyText: string;
|
|
2617
2617
|
searchMode: "filter" | "request";
|
|
2618
2618
|
refetchOnFocus: boolean;
|
|
2619
|
+
searchDelay: number;
|
|
2619
2620
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2620
2621
|
selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
2621
2622
|
value: {
|
|
@@ -3053,6 +3054,7 @@ export declare const apTableRenderItemMap: {
|
|
|
3053
3054
|
emptyText: string;
|
|
3054
3055
|
searchMode: "filter" | "request";
|
|
3055
3056
|
refetchOnFocus: boolean;
|
|
3057
|
+
searchDelay: number;
|
|
3056
3058
|
}>;
|
|
3057
3059
|
__isFragment?: never;
|
|
3058
3060
|
__isTeleport?: never;
|
|
@@ -3085,6 +3087,7 @@ export declare const apTableRenderItemMap: {
|
|
|
3085
3087
|
emptyText: string;
|
|
3086
3088
|
searchMode: "filter" | "request";
|
|
3087
3089
|
refetchOnFocus: boolean;
|
|
3090
|
+
searchDelay: number;
|
|
3088
3091
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3089
3092
|
$slots: Readonly<{
|
|
3090
3093
|
notFoundContent: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.15",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"vxe-pc-ui": "4.4.4",
|
|
69
69
|
"vxe-table": "4.11.18",
|
|
70
70
|
"@aplus-frontend/hooks": "1.0.7",
|
|
71
|
-
"@aplus-frontend/utils": "1.0.
|
|
71
|
+
"@aplus-frontend/utils": "1.0.54"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@aplus-frontend/antdv": "^1.1.
|
|
74
|
+
"@aplus-frontend/antdv": "^1.1.1",
|
|
75
75
|
"@aplus-frontend/icon": "^1.2.1",
|
|
76
76
|
"@aplus-frontend/oss": "^1.1.2",
|
|
77
77
|
"vue": "^3.5.13"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@aplus-frontend/antdv": "^1.1.
|
|
80
|
+
"@aplus-frontend/antdv": "^1.1.1",
|
|
81
81
|
"@aplus-frontend/icon": "^1.2.1",
|
|
82
82
|
"@aplus-frontend/oss": "^1.1.2",
|
|
83
83
|
"@types/sortablejs": "^1.15.8",
|