@aplus-frontend/ui 6.29.3 → 6.30.1
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/ag-grid/index.vue.mjs +228 -222
- package/es/src/ag-grid/renderer/select.mjs +8 -11
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +4 -4
- package/es/src/ap-field/date/index.vue.mjs +11 -10
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +8 -7
- package/es/src/ap-field/date-range/index.vue.d.ts +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +1 -0
- package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/read.vue2.mjs +1 -0
- package/es/src/ap-field/index.d.ts +7 -7
- package/es/src/ap-field/number/index.vue.d.ts +90 -50
- package/es/src/ap-field/number/index.vue.mjs +14 -12
- package/es/src/ap-field/number/read.vue2.mjs +8 -6
- package/es/src/ap-field/rate/index.vue.d.ts +6 -6
- package/es/src/ap-field/select/index.vue.d.ts +241 -241
- package/es/src/ap-field/select/index.vue.mjs +27 -27
- package/es/src/ap-field/select/read.vue2.mjs +27 -27
- package/es/src/ap-field/slider/index.vue.d.ts +9 -9
- package/es/src/ap-field/switch/index.vue.d.ts +1 -1
- package/es/src/ap-field/switch/read.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +39 -38
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +34 -33
- package/es/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/es/src/ap-field/text/read-password.vue2.mjs +31 -30
- package/es/src/ap-field/text/read.vue.d.ts +1 -1
- package/es/src/ap-field/text/read.vue2.mjs +21 -20
- package/es/src/ap-field/text-area/index.vue.d.ts +67 -57
- package/es/src/ap-field/text-area/index.vue.mjs +15 -14
- package/es/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/read.vue2.mjs +11 -10
- package/es/src/ap-field/tree-select/index.vue.d.ts +326 -326
- package/es/src/ap-field/tree-select/index.vue.mjs +46 -46
- package/es/src/ap-field/tree-select/read.vue2.mjs +45 -45
- package/es/src/ap-form/ap-form.vue.d.ts +71 -67
- package/es/src/ap-form/drawer-form/index.vue.d.ts +65 -65
- package/es/src/ap-form/item/index.vue.d.ts +36 -36
- package/es/src/ap-form/item/index.vue.mjs +10 -10
- package/es/src/ap-form/items/number/index.vue.d.ts +103 -59
- package/es/src/ap-form/items/select/index.vue.d.ts +306 -306
- package/es/src/ap-form/items/text/index.vue.d.ts +19 -17
- package/es/src/ap-form/items/text/password.vue.d.ts +19 -17
- package/es/src/ap-form/items/text-area/index.vue.d.ts +138 -118
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
- package/es/src/ap-form/modal-form/index.vue.d.ts +69 -70
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +67 -67
- package/es/src/ap-form/search-form/index.vue.mjs +40 -40
- package/es/src/ap-grid/constants.d.ts +3 -0
- package/es/src/ap-grid/constants.mjs +6 -3
- package/es/src/ap-grid/index.vue.mjs +221 -214
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +59 -62
- package/es/src/ap-table/constants.d.ts +499 -465
- package/es/src/ap-table/utils.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -8
- package/es/src/business/ap-label/ApLabel.d.ts +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/index.d.ts +9 -9
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
- package/es/src/business/ap-radio-group/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +80 -80
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
- package/es/src/business/ap-view/interface.d.ts +13 -3
- package/es/src/business/batch-input-group/index.vue.d.ts +11 -10
- package/es/src/business/batch-input-group/index.vue.mjs +20 -19
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +64 -52
- package/es/src/config-provider/config-provider-props.mjs +10 -2
- package/es/src/config-provider/config-provider.d.ts +130 -113
- package/es/src/config-provider/config-provider.mjs +26 -24
- package/es/src/config-provider/hooks/use-global-config.d.ts +60 -49
- package/es/src/config-provider/index.d.ts +214 -197
- package/es/src/mask/utils.d.ts +1 -1
- package/es/src/mask/utils.mjs +29 -13
- package/es/src/text/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +36 -49
- 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 +33 -33
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/renderer/select.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +4 -4
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +4 -4
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/index.d.ts +7 -7
- package/lib/src/ap-field/number/index.vue.d.ts +90 -50
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +6 -6
- package/lib/src/ap-field/select/index.vue.d.ts +241 -241
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +9 -9
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -1
- package/lib/src/ap-field/switch/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read.vue2.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +67 -57
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +326 -326
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +71 -67
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +65 -65
- package/lib/src/ap-form/item/index.vue.d.ts +36 -36
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +103 -59
- package/lib/src/ap-form/items/select/index.vue.d.ts +306 -306
- package/lib/src/ap-form/items/text/index.vue.d.ts +19 -17
- package/lib/src/ap-form/items/text/password.vue.d.ts +19 -17
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +138 -118
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
- package/lib/src/ap-form/modal-form/index.vue.d.ts +69 -70
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
- package/lib/src/ap-form/search-form/index.vue.d.ts +67 -67
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -0
- package/lib/src/ap-grid/constants.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-table/constants.d.ts +499 -465
- package/lib/src/ap-table/utils.d.ts +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -8
- package/lib/src/business/ap-label/ApLabel.d.ts +4 -4
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/index.d.ts +9 -9
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
- package/lib/src/business/ap-view/interface.d.ts +13 -3
- package/lib/src/business/batch-input-group/index.vue.d.ts +11 -10
- package/lib/src/business/batch-input-group/index.vue.js +1 -1
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +64 -52
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +130 -113
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +60 -49
- package/lib/src/config-provider/index.d.ts +214 -197
- package/lib/src/mask/utils.d.ts +1 -1
- package/lib/src/mask/utils.js +3 -3
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +36 -49
- 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 +33 -33
- package/package.json +3 -3
- package/theme/ag-grid/index.css +0 -6
- package/theme/antdv-override.css +0 -6
- package/theme/antdv-override.less +0 -8
- package/theme/ap-expand-alert/ap-expand-alert.css +0 -4
- package/theme/ap-expand-alert/ap-expand-alert.less +6 -5
- package/theme/ap-form/ap-form-item.css +0 -6
- package/theme/ap-form/ap-form-item.less +0 -6
- package/theme/ap-form/index.css +0 -6
- package/theme/ap-form/search-form.css +0 -6
- package/theme/ap-grid/index.css +0 -6
- package/theme/ap-table/ap-table.css +0 -6
- package/theme/ap-table-modal/index.css +0 -6
- package/theme/ap-view/ap-view.css +4 -0
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/editable-table/index.css +0 -6
- package/theme/index.css +4 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@aplus-frontend/antdv");require("../../hooks/index.js");const g=require("lodash-unified"),q=require("./use-request.js"),P=require("../../hooks/useControllableValue.js");function v(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!e.isVNode(r)}const _=e.defineComponent({name:"ApFieldTreeSelect",__name:"index",props:{mode:{default:"edit"},class:{},style:{},suffixIcon:{},size:{},bordered:{type:Boolean,default:void 0},treeLine:{},replaceFields:{},placement:{},status:{},popupClassName:{},dropdownClassName:{},"onUpdate:value":{},"onUpdate:treeExpandedKeys":{},"onUpdate:searchValue":{},variant:{},value:{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean,default:void 0},animation:{},direction:{},multiple:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},prefixCls:{},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@aplus-frontend/antdv");require("../../hooks/index.js");const g=require("lodash-unified"),q=require("./use-request.js"),P=require("../../hooks/useControllableValue.js");function v(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!e.isVNode(r)}const _=e.defineComponent({name:"ApFieldTreeSelect",__name:"index",props:{mode:{default:"edit"},class:{},style:{},suffixIcon:{},size:{},bordered:{type:Boolean,default:void 0},treeLine:{},replaceFields:{},placement:{},status:{},popupClassName:{},dropdownClassName:{},"onUpdate:value":{},"onUpdate:treeExpandedKeys":{},"onUpdate:searchValue":{},variant:{},value:{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean,default:void 0},animation:{},direction:{},multiple:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},prefixCls:{},id:{},autofocus:{type:Boolean,default:void 0},getPopupContainer:{},virtual:{type:Boolean,default:!0},dropdownMatchSelectWidth:{default:!0},placeholder:{},loading:{type:Boolean,default:void 0},defaultValue:{},prefix:{},clearIcon:{},allowClear:{type:Boolean,default:void 0},getRawInputElement:{},fieldNames:{},inputValue:{},searchValue:{},onSearch:{},autoClearSearchValue:{type:Boolean,default:void 0},onDeselect:{},listItemHeight:{},labelInValue:{type:Boolean,default:void 0},maxCount:{},showSearch:{type:Boolean,default:void 0},tagRender:{},optionLabelRender:{},notFoundContent:{},onClear:{},choiceTransitionName:{},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{},maxTagTextLength:{},maxTagCount:{},maxTagPlaceholder:{},tokenSeparators:{},removeIcon:{},transitionName:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showAction:{},onPopupScroll:{},onInputKeyDown:{},showArrow:{type:Boolean,default:void 0},showCheckedStrategy:{},filterTreeNode:{},treeNodeFilterProp:{},treeNodeLabelProp:{},treeCheckable:{type:Boolean,default:void 0},treeCheckStrictly:{type:Boolean,default:void 0},treeData:{},treeDataSimpleMode:{},treeLoadedKeys:{},onTreeLoad:{},treeDefaultExpandAll:{type:Boolean,default:void 0},treeExpandedKeys:{},treeDefaultExpandedKeys:{},onTreeExpand:{},treeIcon:{},switcherIcon:{},treeExpandAction:{},dropdownPopupAlign:{},emptyText:{default:"--"},request:{},lazy:{type:Boolean},params:{},loadData:{type:Boolean}},emits:["update:value"],setup(r,{expose:S,emit:B}){const o=r,C=e.useSlots(),N=B,s=e.ref(),{value:p,updateValue:w}=P.useControllableValue(o,N),{treeData:f,loading:m,request:y}=q.useRequest(o),x=e.computed(()=>{let t;const d=e.unref(p),u=g.isArray(d)?d:[d].filter(Boolean);if(!u.length)return e.createVNode(e.Fragment,null,[o.emptyText]);const n=[],c=o.fieldNames?.label||"label",k=o.fieldNames?.value||"value";function h(a){for(const l of a){if(u.find(D=>D===l[k])&&n.push(l[c]),n.length===u.length)return;l.children?.length&&h(l.children)}}return h(e.unref(f)),n.length?n.length===1?e.createVNode("span",null,[n[0]]):e.createVNode(i.Space,{size:4},v(t=n.map((a,l)=>e.createVNode(i.Tag,{style:"margin-right: 0px",key:`${a}-${l}`},v(a)?a:{default:()=>[a]})))?t:{default:()=>[t]}):e.createVNode(e.Fragment,null,[o.emptyText])});function V(){s.value?.focus?.()}function b(){s.value?.blur?.()}function T(t){return y(t)}return S({request:y,focus:V,blur:b}),(t,d)=>t.mode==="read"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(x.value),{key:0})):(e.openBlock(),e.createBlock(e.unref(i.TreeSelect),e.mergeProps({key:1},e.unref(g.omit)(o,["onUpdate:value","value","treeData","loadData"]),{ref_key:"treeSelectRef",ref:s,value:e.unref(p),"tree-data":e.unref(f),loading:e.unref(m),"load-data":t.loadData?T:void 0,"onUpdate:value":e.unref(w)}),e.createSlots({_:2},[e.renderList(C,(u,n)=>({name:n,fn:e.withCtx(c=>[e.renderSlot(t.$slots,n,e.normalizeProps(e.guardReactiveProps(c||{})))])})),e.unref(m)?{name:"notFoundContent",fn:e.withCtx(()=>[e.createVNode(e.unref(i.Spin),{size:"small"})]),key:"0"}:void 0]),1040,["value","tree-data","loading","load-data","onUpdate:value"]))}});exports.default=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("lodash-unified"),c=require("@aplus-frontend/antdv");function s(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!e.isVNode(l)}const g=e.defineComponent({name:"ApFieldTreeSelectRead",__name:"read",props:{mode:{default:"edit"},class:{},style:{},suffixIcon:{},size:{},bordered:{type:Boolean},treeLine:{},replaceFields:{},placement:{},status:{},popupClassName:{},dropdownClassName:{},"onUpdate:value":{},"onUpdate:treeExpandedKeys":{},"onUpdate:searchValue":{},variant:{},value:{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},multiple:{type:Boolean},disabled:{type:Boolean},prefixCls:{},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("lodash-unified"),c=require("@aplus-frontend/antdv");function s(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!e.isVNode(l)}const g=e.defineComponent({name:"ApFieldTreeSelectRead",__name:"read",props:{mode:{default:"edit"},class:{},style:{},suffixIcon:{},size:{},bordered:{type:Boolean},treeLine:{},replaceFields:{},placement:{},status:{},popupClassName:{},dropdownClassName:{},"onUpdate:value":{},"onUpdate:treeExpandedKeys":{},"onUpdate:searchValue":{},variant:{},value:{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},multiple:{type:Boolean},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},getPopupContainer:{},virtual:{type:Boolean},dropdownMatchSelectWidth:{},placeholder:{},loading:{type:Boolean},defaultValue:{},prefix:{},clearIcon:{},allowClear:{type:Boolean},getRawInputElement:{},fieldNames:{},inputValue:{},searchValue:{},onSearch:{},autoClearSearchValue:{type:Boolean},onDeselect:{},listItemHeight:{},labelInValue:{type:Boolean},maxCount:{},showSearch:{type:Boolean},tagRender:{},optionLabelRender:{},notFoundContent:{},onClear:{},choiceTransitionName:{},defaultOpen:{type:Boolean},onDropdownVisibleChange:{},maxTagTextLength:{},maxTagCount:{},maxTagPlaceholder:{},tokenSeparators:{},removeIcon:{},transitionName:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showAction:{},onPopupScroll:{},onInputKeyDown:{},showArrow:{type:Boolean},showCheckedStrategy:{},filterTreeNode:{},treeNodeFilterProp:{},treeNodeLabelProp:{},treeCheckable:{type:Boolean},treeCheckStrictly:{type:Boolean},treeData:{},treeDataSimpleMode:{},treeLoadedKeys:{},onTreeLoad:{},treeDefaultExpandAll:{type:Boolean},treeExpandedKeys:{},treeDefaultExpandedKeys:{},onTreeExpand:{},treeIcon:{},switcherIcon:{},treeExpandAction:{},dropdownPopupAlign:{},emptyText:{default:"--"},request:{},lazy:{type:Boolean},params:{},loadData:{type:Boolean}},setup(l){const o=l,u=e.computed(()=>{let r;const d=o.value,p=h.isArray(d)?d:[d].filter(Boolean);if(!p.length)return e.createVNode(e.Fragment,null,[o.emptyText]);const t=[],y=o.fieldNames?.label||"label",m=o.fieldNames?.value||"value";function i(a){for(const n of a){if(p.find(f=>f===n[m])&&t.push(n[y]),t.length===p.length)return;n.children?.length&&i(n.children)}}return i(o.treeData),t.length?t.length===1?e.createVNode("span",null,[t[0]]):e.createVNode(c.Space,{size:4},s(r=t.map((a,n)=>e.createVNode(c.Tag,{style:"margin-right: 0px",key:`${a}-${n}`},s(a)?a:{default:()=>[a]})))?r:{default:()=>[r]}):e.createVNode(e.Fragment,null,[o.emptyText])});return(r,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value)))}});exports.default=g;
|
|
@@ -7,7 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
|
-
import {
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
13
|
attrs: Partial<{}>;
|
|
@@ -211,8 +211,8 @@ declare function __VLS_template(): {
|
|
|
211
211
|
default: string | string[];
|
|
212
212
|
};
|
|
213
213
|
size: {
|
|
214
|
-
type: PropType<
|
|
215
|
-
default:
|
|
214
|
+
type: PropType<SizeType>;
|
|
215
|
+
default: SizeType;
|
|
216
216
|
};
|
|
217
217
|
disabled: {
|
|
218
218
|
type: BooleanConstructor;
|
|
@@ -243,15 +243,15 @@ declare function __VLS_template(): {
|
|
|
243
243
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
244
244
|
};
|
|
245
245
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
246
|
-
size:
|
|
246
|
+
size: SizeType;
|
|
247
247
|
onSubmit: (e: Event) => void;
|
|
248
248
|
disabled: boolean;
|
|
249
249
|
validateTrigger: string | string[];
|
|
250
|
-
|
|
250
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
251
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
251
252
|
onFinish: (values: any) => void;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
colon: boolean;
|
|
253
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
254
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
255
255
|
labelCol: Partial< ExtractPropTypes<{
|
|
256
256
|
span: (StringConstructor | NumberConstructor)[];
|
|
257
257
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -285,8 +285,6 @@ declare function __VLS_template(): {
|
|
|
285
285
|
prefixCls: StringConstructor;
|
|
286
286
|
flex: (StringConstructor | NumberConstructor)[];
|
|
287
287
|
}>> & HTMLAttributes;
|
|
288
|
-
labelAlign: FormLabelAlign;
|
|
289
|
-
labelWrap: boolean;
|
|
290
288
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
291
289
|
span: (StringConstructor | NumberConstructor)[];
|
|
292
290
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -320,19 +318,21 @@ declare function __VLS_template(): {
|
|
|
320
318
|
prefixCls: StringConstructor;
|
|
321
319
|
flex: (StringConstructor | NumberConstructor)[];
|
|
322
320
|
}>> & HTMLAttributes;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
328
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
329
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
321
|
+
colon: boolean;
|
|
322
|
+
labelAlign: FormLabelAlign;
|
|
323
|
+
labelWrap: boolean;
|
|
324
|
+
requiredMark: "" | RequiredMark;
|
|
330
325
|
hideRequiredMark: boolean;
|
|
331
326
|
model: {
|
|
332
327
|
[key: string]: any;
|
|
333
328
|
};
|
|
329
|
+
rules: {
|
|
330
|
+
[k: string]: RuleObject | RuleObject[];
|
|
331
|
+
};
|
|
332
|
+
validateMessages: ValidateMessages;
|
|
334
333
|
validateOnRuleChange: boolean;
|
|
335
334
|
scrollToFirstError: boolean | Options<any>;
|
|
335
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
336
336
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
337
337
|
P: {};
|
|
338
338
|
B: {};
|
|
@@ -370,7 +370,9 @@ declare function __VLS_template(): {
|
|
|
370
370
|
default: string | number | ColSize;
|
|
371
371
|
};
|
|
372
372
|
xxl: {
|
|
373
|
-
type:
|
|
373
|
+
type: **
|
|
374
|
+
* 执行Watch回调
|
|
375
|
+
*/).PropType<string | number | ColSize>;
|
|
374
376
|
default: string | number | ColSize;
|
|
375
377
|
};
|
|
376
378
|
prefixCls: StringConstructor;
|
|
@@ -536,8 +538,8 @@ declare function __VLS_template(): {
|
|
|
536
538
|
default: string | string[];
|
|
537
539
|
};
|
|
538
540
|
size: {
|
|
539
|
-
type: PropType<
|
|
540
|
-
default:
|
|
541
|
+
type: PropType<SizeType>;
|
|
542
|
+
default: SizeType;
|
|
541
543
|
};
|
|
542
544
|
disabled: {
|
|
543
545
|
type: BooleanConstructor;
|
|
@@ -568,15 +570,15 @@ declare function __VLS_template(): {
|
|
|
568
570
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
569
571
|
};
|
|
570
572
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
571
|
-
size:
|
|
573
|
+
size: SizeType;
|
|
572
574
|
onSubmit: (e: Event) => void;
|
|
573
575
|
disabled: boolean;
|
|
574
576
|
validateTrigger: string | string[];
|
|
575
|
-
|
|
577
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
578
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
576
579
|
onFinish: (values: any) => void;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
colon: boolean;
|
|
580
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
581
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
580
582
|
labelCol: Partial< ExtractPropTypes<{
|
|
581
583
|
span: (StringConstructor | NumberConstructor)[];
|
|
582
584
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -610,8 +612,6 @@ declare function __VLS_template(): {
|
|
|
610
612
|
prefixCls: StringConstructor;
|
|
611
613
|
flex: (StringConstructor | NumberConstructor)[];
|
|
612
614
|
}>> & HTMLAttributes;
|
|
613
|
-
labelAlign: FormLabelAlign;
|
|
614
|
-
labelWrap: boolean;
|
|
615
615
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
616
616
|
span: (StringConstructor | NumberConstructor)[];
|
|
617
617
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -645,19 +645,21 @@ declare function __VLS_template(): {
|
|
|
645
645
|
prefixCls: StringConstructor;
|
|
646
646
|
flex: (StringConstructor | NumberConstructor)[];
|
|
647
647
|
}>> & HTMLAttributes;
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
653
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
654
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
648
|
+
colon: boolean;
|
|
649
|
+
labelAlign: FormLabelAlign;
|
|
650
|
+
labelWrap: boolean;
|
|
651
|
+
requiredMark: "" | RequiredMark;
|
|
655
652
|
hideRequiredMark: boolean;
|
|
656
653
|
model: {
|
|
657
654
|
[key: string]: any;
|
|
658
655
|
};
|
|
656
|
+
rules: {
|
|
657
|
+
[k: string]: RuleObject | RuleObject[];
|
|
658
|
+
};
|
|
659
|
+
validateMessages: ValidateMessages;
|
|
659
660
|
validateOnRuleChange: boolean;
|
|
660
661
|
scrollToFirstError: boolean | Options<any>;
|
|
662
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
661
663
|
}> | null;
|
|
662
664
|
};
|
|
663
665
|
rootEl: any;
|
|
@@ -881,8 +883,8 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
881
883
|
default: string | string[];
|
|
882
884
|
};
|
|
883
885
|
size: {
|
|
884
|
-
type: PropType<
|
|
885
|
-
default:
|
|
886
|
+
type: PropType<SizeType>;
|
|
887
|
+
default: SizeType;
|
|
886
888
|
};
|
|
887
889
|
disabled: {
|
|
888
890
|
type: BooleanConstructor;
|
|
@@ -913,15 +915,15 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
913
915
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
914
916
|
};
|
|
915
917
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
916
|
-
size:
|
|
918
|
+
size: SizeType;
|
|
917
919
|
onSubmit: (e: Event) => void;
|
|
918
920
|
disabled: boolean;
|
|
919
921
|
validateTrigger: string | string[];
|
|
920
|
-
|
|
922
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
923
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
921
924
|
onFinish: (values: any) => void;
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
colon: boolean;
|
|
925
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
926
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
925
927
|
labelCol: Partial< ExtractPropTypes<{
|
|
926
928
|
span: (StringConstructor | NumberConstructor)[];
|
|
927
929
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -955,8 +957,6 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
955
957
|
prefixCls: StringConstructor;
|
|
956
958
|
flex: (StringConstructor | NumberConstructor)[];
|
|
957
959
|
}>> & HTMLAttributes;
|
|
958
|
-
labelAlign: FormLabelAlign;
|
|
959
|
-
labelWrap: boolean;
|
|
960
960
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
961
961
|
span: (StringConstructor | NumberConstructor)[];
|
|
962
962
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -990,19 +990,21 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
990
990
|
prefixCls: StringConstructor;
|
|
991
991
|
flex: (StringConstructor | NumberConstructor)[];
|
|
992
992
|
}>> & HTMLAttributes;
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
998
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
999
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
993
|
+
colon: boolean;
|
|
994
|
+
labelAlign: FormLabelAlign;
|
|
995
|
+
labelWrap: boolean;
|
|
996
|
+
requiredMark: "" | RequiredMark;
|
|
1000
997
|
hideRequiredMark: boolean;
|
|
1001
998
|
model: {
|
|
1002
999
|
[key: string]: any;
|
|
1003
1000
|
};
|
|
1001
|
+
rules: {
|
|
1002
|
+
[k: string]: RuleObject | RuleObject[];
|
|
1003
|
+
};
|
|
1004
|
+
validateMessages: ValidateMessages;
|
|
1004
1005
|
validateOnRuleChange: boolean;
|
|
1005
1006
|
scrollToFirstError: boolean | Options<any>;
|
|
1007
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1006
1008
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1007
1009
|
P: {};
|
|
1008
1010
|
B: {};
|
|
@@ -1040,7 +1042,9 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
1040
1042
|
default: string | number | ColSize;
|
|
1041
1043
|
};
|
|
1042
1044
|
xxl: {
|
|
1043
|
-
type:
|
|
1045
|
+
type: **
|
|
1046
|
+
* 执行Watch回调
|
|
1047
|
+
*/).PropType<string | number | ColSize>;
|
|
1044
1048
|
default: string | number | ColSize;
|
|
1045
1049
|
};
|
|
1046
1050
|
prefixCls: StringConstructor;
|
|
@@ -1206,8 +1210,8 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
1206
1210
|
default: string | string[];
|
|
1207
1211
|
};
|
|
1208
1212
|
size: {
|
|
1209
|
-
type: PropType<
|
|
1210
|
-
default:
|
|
1213
|
+
type: PropType<SizeType>;
|
|
1214
|
+
default: SizeType;
|
|
1211
1215
|
};
|
|
1212
1216
|
disabled: {
|
|
1213
1217
|
type: BooleanConstructor;
|
|
@@ -1238,15 +1242,15 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
1238
1242
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
1239
1243
|
};
|
|
1240
1244
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1241
|
-
size:
|
|
1245
|
+
size: SizeType;
|
|
1242
1246
|
onSubmit: (e: Event) => void;
|
|
1243
1247
|
disabled: boolean;
|
|
1244
1248
|
validateTrigger: string | string[];
|
|
1245
|
-
|
|
1249
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
1250
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
1246
1251
|
onFinish: (values: any) => void;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
colon: boolean;
|
|
1252
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
1253
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1250
1254
|
labelCol: Partial< ExtractPropTypes<{
|
|
1251
1255
|
span: (StringConstructor | NumberConstructor)[];
|
|
1252
1256
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1280,8 +1284,6 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
1280
1284
|
prefixCls: StringConstructor;
|
|
1281
1285
|
flex: (StringConstructor | NumberConstructor)[];
|
|
1282
1286
|
}>> & HTMLAttributes;
|
|
1283
|
-
labelAlign: FormLabelAlign;
|
|
1284
|
-
labelWrap: boolean;
|
|
1285
1287
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
1286
1288
|
span: (StringConstructor | NumberConstructor)[];
|
|
1287
1289
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1315,19 +1317,21 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
|
1315
1317
|
prefixCls: StringConstructor;
|
|
1316
1318
|
flex: (StringConstructor | NumberConstructor)[];
|
|
1317
1319
|
}>> & HTMLAttributes;
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
1323
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
1324
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
1320
|
+
colon: boolean;
|
|
1321
|
+
labelAlign: FormLabelAlign;
|
|
1322
|
+
labelWrap: boolean;
|
|
1323
|
+
requiredMark: "" | RequiredMark;
|
|
1325
1324
|
hideRequiredMark: boolean;
|
|
1326
1325
|
model: {
|
|
1327
1326
|
[key: string]: any;
|
|
1328
1327
|
};
|
|
1328
|
+
rules: {
|
|
1329
|
+
[k: string]: RuleObject | RuleObject[];
|
|
1330
|
+
};
|
|
1331
|
+
validateMessages: ValidateMessages;
|
|
1329
1332
|
validateOnRuleChange: boolean;
|
|
1330
1333
|
scrollToFirstError: boolean | Options<any>;
|
|
1334
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1331
1335
|
}> | null;
|
|
1332
1336
|
}, any>;
|
|
1333
1337
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -7,7 +7,7 @@ import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
|
7
7
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
8
8
|
import { Recordable } from '../../type';
|
|
9
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
-
import {
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
13
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -323,8 +323,8 @@ declare function __VLS_template(): {
|
|
|
323
323
|
default: string | string[];
|
|
324
324
|
};
|
|
325
325
|
size: {
|
|
326
|
-
type: PropType<
|
|
327
|
-
default:
|
|
326
|
+
type: PropType<SizeType>;
|
|
327
|
+
default: SizeType;
|
|
328
328
|
};
|
|
329
329
|
disabled: {
|
|
330
330
|
type: BooleanConstructor;
|
|
@@ -355,15 +355,15 @@ declare function __VLS_template(): {
|
|
|
355
355
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
356
356
|
};
|
|
357
357
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
358
|
-
size:
|
|
358
|
+
size: SizeType;
|
|
359
359
|
onSubmit: (e: Event) => void;
|
|
360
360
|
disabled: boolean;
|
|
361
361
|
validateTrigger: string | string[];
|
|
362
|
-
|
|
362
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
363
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
363
364
|
onFinish: (values: any) => void;
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
colon: boolean;
|
|
365
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
366
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
367
367
|
labelCol: Partial< ExtractPropTypes<{
|
|
368
368
|
span: (StringConstructor | NumberConstructor)[];
|
|
369
369
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -397,8 +397,6 @@ declare function __VLS_template(): {
|
|
|
397
397
|
prefixCls: StringConstructor;
|
|
398
398
|
flex: (StringConstructor | NumberConstructor)[];
|
|
399
399
|
}>> & HTMLAttributes;
|
|
400
|
-
labelAlign: FormLabelAlign;
|
|
401
|
-
labelWrap: boolean;
|
|
402
400
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
403
401
|
span: (StringConstructor | NumberConstructor)[];
|
|
404
402
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -432,19 +430,21 @@ declare function __VLS_template(): {
|
|
|
432
430
|
prefixCls: StringConstructor;
|
|
433
431
|
flex: (StringConstructor | NumberConstructor)[];
|
|
434
432
|
}>> & HTMLAttributes;
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
440
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
441
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
433
|
+
colon: boolean;
|
|
434
|
+
labelAlign: FormLabelAlign;
|
|
435
|
+
labelWrap: boolean;
|
|
436
|
+
requiredMark: "" | RequiredMark;
|
|
442
437
|
hideRequiredMark: boolean;
|
|
443
438
|
model: {
|
|
444
439
|
[key: string]: any;
|
|
445
440
|
};
|
|
441
|
+
rules: {
|
|
442
|
+
[k: string]: RuleObject | RuleObject[];
|
|
443
|
+
};
|
|
444
|
+
validateMessages: ValidateMessages;
|
|
446
445
|
validateOnRuleChange: boolean;
|
|
447
446
|
scrollToFirstError: boolean | Options<any>;
|
|
447
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
448
448
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
449
449
|
P: {};
|
|
450
450
|
B: {};
|
|
@@ -648,8 +648,8 @@ declare function __VLS_template(): {
|
|
|
648
648
|
default: string | string[];
|
|
649
649
|
};
|
|
650
650
|
size: {
|
|
651
|
-
type: PropType<
|
|
652
|
-
default:
|
|
651
|
+
type: PropType<SizeType>;
|
|
652
|
+
default: SizeType;
|
|
653
653
|
};
|
|
654
654
|
disabled: {
|
|
655
655
|
type: BooleanConstructor;
|
|
@@ -680,15 +680,15 @@ declare function __VLS_template(): {
|
|
|
680
680
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
681
681
|
};
|
|
682
682
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
683
|
-
size:
|
|
683
|
+
size: SizeType;
|
|
684
684
|
onSubmit: (e: Event) => void;
|
|
685
685
|
disabled: boolean;
|
|
686
686
|
validateTrigger: string | string[];
|
|
687
|
-
|
|
687
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
688
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
688
689
|
onFinish: (values: any) => void;
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
colon: boolean;
|
|
690
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
691
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
692
692
|
labelCol: Partial< ExtractPropTypes<{
|
|
693
693
|
span: (StringConstructor | NumberConstructor)[];
|
|
694
694
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -722,8 +722,6 @@ declare function __VLS_template(): {
|
|
|
722
722
|
prefixCls: StringConstructor;
|
|
723
723
|
flex: (StringConstructor | NumberConstructor)[];
|
|
724
724
|
}>> & HTMLAttributes;
|
|
725
|
-
labelAlign: FormLabelAlign;
|
|
726
|
-
labelWrap: boolean;
|
|
727
725
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
728
726
|
span: (StringConstructor | NumberConstructor)[];
|
|
729
727
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -757,19 +755,21 @@ declare function __VLS_template(): {
|
|
|
757
755
|
prefixCls: StringConstructor;
|
|
758
756
|
flex: (StringConstructor | NumberConstructor)[];
|
|
759
757
|
}>> & HTMLAttributes;
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
765
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
766
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
758
|
+
colon: boolean;
|
|
759
|
+
labelAlign: FormLabelAlign;
|
|
760
|
+
labelWrap: boolean;
|
|
761
|
+
requiredMark: "" | RequiredMark;
|
|
767
762
|
hideRequiredMark: boolean;
|
|
768
763
|
model: {
|
|
769
764
|
[key: string]: any;
|
|
770
765
|
};
|
|
766
|
+
rules: {
|
|
767
|
+
[k: string]: RuleObject | RuleObject[];
|
|
768
|
+
};
|
|
769
|
+
validateMessages: ValidateMessages;
|
|
771
770
|
validateOnRuleChange: boolean;
|
|
772
771
|
scrollToFirstError: boolean | Options<any>;
|
|
772
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
773
773
|
}> | null;
|
|
774
774
|
};
|
|
775
775
|
$slots: Readonly<{
|
|
@@ -1282,8 +1282,8 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1282
1282
|
default: string | string[];
|
|
1283
1283
|
};
|
|
1284
1284
|
size: {
|
|
1285
|
-
type: PropType<
|
|
1286
|
-
default:
|
|
1285
|
+
type: PropType<SizeType>;
|
|
1286
|
+
default: SizeType;
|
|
1287
1287
|
};
|
|
1288
1288
|
disabled: {
|
|
1289
1289
|
type: BooleanConstructor;
|
|
@@ -1314,15 +1314,15 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1314
1314
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
1315
1315
|
};
|
|
1316
1316
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1317
|
-
size:
|
|
1317
|
+
size: SizeType;
|
|
1318
1318
|
onSubmit: (e: Event) => void;
|
|
1319
1319
|
disabled: boolean;
|
|
1320
1320
|
validateTrigger: string | string[];
|
|
1321
|
-
|
|
1321
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
1322
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
1322
1323
|
onFinish: (values: any) => void;
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
colon: boolean;
|
|
1324
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
1325
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1326
1326
|
labelCol: Partial< ExtractPropTypes<{
|
|
1327
1327
|
span: (StringConstructor | NumberConstructor)[];
|
|
1328
1328
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1356,8 +1356,6 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1356
1356
|
prefixCls: StringConstructor;
|
|
1357
1357
|
flex: (StringConstructor | NumberConstructor)[];
|
|
1358
1358
|
}>> & HTMLAttributes;
|
|
1359
|
-
labelAlign: FormLabelAlign;
|
|
1360
|
-
labelWrap: boolean;
|
|
1361
1359
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
1362
1360
|
span: (StringConstructor | NumberConstructor)[];
|
|
1363
1361
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1391,19 +1389,21 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1391
1389
|
prefixCls: StringConstructor;
|
|
1392
1390
|
flex: (StringConstructor | NumberConstructor)[];
|
|
1393
1391
|
}>> & HTMLAttributes;
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
1399
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
1400
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
1392
|
+
colon: boolean;
|
|
1393
|
+
labelAlign: FormLabelAlign;
|
|
1394
|
+
labelWrap: boolean;
|
|
1395
|
+
requiredMark: "" | RequiredMark;
|
|
1401
1396
|
hideRequiredMark: boolean;
|
|
1402
1397
|
model: {
|
|
1403
1398
|
[key: string]: any;
|
|
1404
1399
|
};
|
|
1400
|
+
rules: {
|
|
1401
|
+
[k: string]: RuleObject | RuleObject[];
|
|
1402
|
+
};
|
|
1403
|
+
validateMessages: ValidateMessages;
|
|
1405
1404
|
validateOnRuleChange: boolean;
|
|
1406
1405
|
scrollToFirstError: boolean | Options<any>;
|
|
1406
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1407
1407
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1408
1408
|
P: {};
|
|
1409
1409
|
B: {};
|
|
@@ -1607,8 +1607,8 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1607
1607
|
default: string | string[];
|
|
1608
1608
|
};
|
|
1609
1609
|
size: {
|
|
1610
|
-
type: PropType<
|
|
1611
|
-
default:
|
|
1610
|
+
type: PropType<SizeType>;
|
|
1611
|
+
default: SizeType;
|
|
1612
1612
|
};
|
|
1613
1613
|
disabled: {
|
|
1614
1614
|
type: BooleanConstructor;
|
|
@@ -1639,15 +1639,15 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1639
1639
|
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
1640
1640
|
};
|
|
1641
1641
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1642
|
-
size:
|
|
1642
|
+
size: SizeType;
|
|
1643
1643
|
onSubmit: (e: Event) => void;
|
|
1644
1644
|
disabled: boolean;
|
|
1645
1645
|
validateTrigger: string | string[];
|
|
1646
|
-
|
|
1646
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
1647
|
+
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
1647
1648
|
onFinish: (values: any) => void;
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
colon: boolean;
|
|
1649
|
+
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
1650
|
+
onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1651
1651
|
labelCol: Partial< ExtractPropTypes<{
|
|
1652
1652
|
span: (StringConstructor | NumberConstructor)[];
|
|
1653
1653
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1681,8 +1681,6 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1681
1681
|
prefixCls: StringConstructor;
|
|
1682
1682
|
flex: (StringConstructor | NumberConstructor)[];
|
|
1683
1683
|
}>> & HTMLAttributes;
|
|
1684
|
-
labelAlign: FormLabelAlign;
|
|
1685
|
-
labelWrap: boolean;
|
|
1686
1684
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
1687
1685
|
span: (StringConstructor | NumberConstructor)[];
|
|
1688
1686
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1716,19 +1714,21 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1716
1714
|
prefixCls: StringConstructor;
|
|
1717
1715
|
flex: (StringConstructor | NumberConstructor)[];
|
|
1718
1716
|
}>> & HTMLAttributes;
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
1724
|
-
onFieldsChange: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
1725
|
-
onFinishFailed: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
1717
|
+
colon: boolean;
|
|
1718
|
+
labelAlign: FormLabelAlign;
|
|
1719
|
+
labelWrap: boolean;
|
|
1720
|
+
requiredMark: "" | RequiredMark;
|
|
1726
1721
|
hideRequiredMark: boolean;
|
|
1727
1722
|
model: {
|
|
1728
1723
|
[key: string]: any;
|
|
1729
1724
|
};
|
|
1725
|
+
rules: {
|
|
1726
|
+
[k: string]: RuleObject | RuleObject[];
|
|
1727
|
+
};
|
|
1728
|
+
validateMessages: ValidateMessages;
|
|
1730
1729
|
validateOnRuleChange: boolean;
|
|
1731
1730
|
scrollToFirstError: boolean | Options<any>;
|
|
1731
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1732
1732
|
}> | null;
|
|
1733
1733
|
};
|
|
1734
1734
|
$slots: Readonly<{
|