@aplus-frontend/ui 7.3.0 → 7.3.2
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/editable/form-item.vue.d.ts +4 -2
- package/es/src/ag-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ag-grid/index.vue.d.ts +4 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +18 -18
- package/es/src/ap-table/style/index.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +8 -9
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-table-modal/index.d.ts +5 -17
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/business/ap-upload/style/multiple-file.mjs +3 -3
- package/es/src/business/ap-upload/style/picture.mjs +12 -12
- package/es/src/business/ap-upload/style/single-file.mjs +8 -8
- package/es/src/business/ap-value-select-card/index.vue.d.ts +4 -2
- package/es/src/business/ap-value-select-card/style/index.mjs +4 -4
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ag-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ag-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/style/index.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/business/ap-upload/style/picture.js +1 -1
- package/lib/src/business/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +4 -2
- package/lib/src/business/ap-value-select-card/style/index.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=e=>{const{componentCls:t}=e;return{[`${t}-picture`]:{".picture-context":{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 100px)",userSelect:"none",".picture-upload":{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100px",overflow:"hidden",transition:"all 0.2s",border:`1px dashed ${e.borderColorBase}`,borderRadius:"4px",background:e.colorBgLayout,color:e.textColor4,fontSize:"16px",cursor:"pointer",aspectRatio:"1 / 1","& > * + *":{marginTop:"4px",fontSize:e.fontSize},"&:hover":{border:`1px dashed ${e.colorPrimary}`}},".picture-item":{width:"100px",padding:"8px",overflow:"hidden",border:`1px solid ${e.borderColorBase}`,borderRadius:"4px",background:"#fff",aspectRatio:"1 / 1",".picture-item-box":{position:"relative",width:"100%",height:"100%",borderRadius:"2px","& > img":{width:"100%",height:"100%",borderRadius:"2px",objectFit:"cover"},"&:hover > .picture-item-shadow":{display:"block !important"},".picture-item-shadow":{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"2px",background:"rgb(0 0 0 / 50%)",color:"#fff",fontSize:e.fontSize,".picture-item-close":{display:"flex",position:"absolute",top:0,right:0,alignItems:"center",justifyContent:"center",width:"16px",overflow:"hidden",transform:"translate(30%, -30%)",border:"1px solid #fff",borderRadius:"50%",background:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=e=>{const{componentCls:t}=e;return{[`${t}-picture`]:{".picture-context":{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 100px)",userSelect:"none",".picture-upload":{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100px",overflow:"hidden",transition:"all 0.2s",border:`1px dashed ${e.borderColorBase}`,borderRadius:"4px",background:e.colorBgLayout,color:e.textColor4,fontSize:"16px",cursor:"pointer",aspectRatio:"1 / 1","& > * + *":{marginTop:"4px",fontSize:e.fontSize},"&:hover":{border:`1px dashed ${e.colorPrimary}`}},".picture-item":{width:"100px",padding:"8px",overflow:"hidden",border:`1px solid ${e.borderColorBase}`,borderRadius:"4px",background:"#fff",aspectRatio:"1 / 1",".picture-item-box":{position:"relative",width:"100%",height:"100%",borderRadius:"2px","& > img":{width:"100%",height:"100%",borderRadius:"2px",objectFit:"cover"},"&:hover > .picture-item-shadow":{display:"block !important"},".picture-item-shadow":{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"2px",background:"rgb(0 0 0 / 50%)",color:"#fff",fontSize:e.fontSize,".picture-item-close":{display:"flex",position:"absolute",top:0,right:0,alignItems:"center",justifyContent:"center",width:"16px",overflow:"hidden",transform:"translate(30%, -30%)",border:"1px solid #fff",borderRadius:"50%",background:e.colorError,color:"#fff",fontSize:"10px",cursor:"pointer",aspectRatio:"1 / 1"},".picture-item-uploading":{position:"absolute",top:"50%",left:"50%",width:"84%",transform:"translate(-50%, -50%)",textAlign:"center"}}}}},".picture-title":{marginTop:"8px",color:e.textColor3,fontSize:"12px"}}}};exports.pictureStyle=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=e=>{const{componentCls:i}=e,t=`${i}-single-file`;return{[t]:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"200px",overflow:"hidden",transition:"all 0.3s",border:`1px dashed ${e.borderColorBase}`,borderRadius:"4px",background:"#f2f6f9",userSelect:"none","& > div":{display:"flex",alignItems:"center",justifyContent:"center"},".state-un":{flexDirection:"column",".state-un-icon":{display:"block",width:"56px"},".state-un-title":{marginTop:"10px",color:e.textColor1,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},".state-un-subtitle":{marginTop:"4px",color:e.textColor4,fontSize:"12px",lineHeight:"18px"}},".state-ing":{display:"flex",alignItems:"center",width:"min(516px, 77.24%)",height:"96px",padding:"0 24px",borderRadius:"4px",background:"#fff",".left":{flexShrink:0,width:"48px",marginRight:"16px",img:{display:"block",width:"100%"}},".center":{flex:1,".center-title":{display:"-webkit-box",overflow:"hidden",fontSize:"14px",textAlign:"start",textOverflow:"ellipsis",wordWrap:"break-word",wordBreak:"break-all",WebkitBoxOrient:"vertical",WebkitLineClamp:2},".center-progress ":{".ant-progress-line":{marginRight:0,marginBottom:0}}},".right":{flexShrink:0,marginLeft:"24px",color:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=e=>{const{componentCls:i}=e,t=`${i}-single-file`;return{[t]:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"200px",overflow:"hidden",transition:"all 0.3s",border:`1px dashed ${e.borderColorBase}`,borderRadius:"4px",background:"#f2f6f9",userSelect:"none","& > div":{display:"flex",alignItems:"center",justifyContent:"center"},".state-un":{flexDirection:"column",".state-un-icon":{display:"block",width:"56px"},".state-un-title":{marginTop:"10px",color:e.textColor1,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},".state-un-subtitle":{marginTop:"4px",color:e.textColor4,fontSize:"12px",lineHeight:"18px"}},".state-ing":{display:"flex",alignItems:"center",width:"min(516px, 77.24%)",height:"96px",padding:"0 24px",borderRadius:"4px",background:"#fff",".left":{flexShrink:0,width:"48px",marginRight:"16px",img:{display:"block",width:"100%"}},".center":{flex:1,".center-title":{display:"-webkit-box",overflow:"hidden",fontSize:"14px",textAlign:"start",textOverflow:"ellipsis",wordWrap:"break-word",wordBreak:"break-all",WebkitBoxOrient:"vertical",WebkitLineClamp:2},".center-progress ":{".ant-progress-line":{marginRight:0,marginBottom:0}}},".right":{flexShrink:0,marginLeft:"24px",color:e.colorError,fontSize:"20px",cursor:"pointer !important"}}},[`${t}-un`]:{cursor:"pointer","&:hover":{border:`1px dashed ${e.colorPrimary}`,background:`color-mix(in srgb, ${e.colorPrimary} 10%, transparent)`}}}};exports.singleFileStyle=r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApValueSelectCardProps, ApValueSelectCardOption } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, ComputedRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any> = Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onChange?: ((keys: (string | number)[]) => any) | undefined;
|
|
@@ -45,7 +45,9 @@ declare const _default: <T extends Record<string, any> = Record<string, any>>(__
|
|
|
45
45
|
(e: "remove", key: string | number): void;
|
|
46
46
|
(e: "highlight", keys: (string | number)[]): void;
|
|
47
47
|
};
|
|
48
|
-
}>) => VNode
|
|
48
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}> & {
|
|
49
51
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
52
|
};
|
|
51
53
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../../utils/cssinjs/index.js"),l=o=>{const{componentCls:r}=o;return{[r]:{position:"relative",marginBlockStart:"8px",".ant-popover":{width:"100%"},[`${r}-list`]:{display:"grid",gridTemplateColumns:"repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr))",gridAutoRows:"1fr",gap:"12px","&-item":{position:"relative",boxSizing:"border-box",padding:"8px 16px",color:o.textColor2,border:`1px solid ${o.colorBg1}`,borderRadius:o.borderRadius,cursor:"pointer","&-close":{position:"absolute",top:"8px",right:"10px",zIndex:1,color:o.textColor3,fontSize:o.fontSizeLG,cursor:"pointer","&:hover":{color:o.colorError}},".label":{marginBlockEnd:"4px",fontSize:o.fontSize,lineHeight:o.lineHeight},".value":{overflow:"hidden",fontWeight:"bold",fontSize:o.fontSizeXL,whiteSpace:"nowrap",textOverflow:"ellipsis"},"&:hover:not(.select)":{border:`1px solid ${o.colorPrimary}`},"&.select":{color:o.textColor1,borderColor:"transparent",boxShadow:"3px 10px 30px -2px rgba(123, 121, 140, 0.15)",background:"linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--ap-value-select-card-bg-color, #f5f9ff) 92%)","&:hover":{background:"var(--ap-value-select-card-bg-color, #f5f9ff)"}},"&.all":{color:o.textColor2,background:"#fff",border:`1px solid ${o.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../../utils/cssinjs/index.js"),l=o=>{const{componentCls:r}=o;return{[r]:{position:"relative",marginBlockStart:"8px",".ant-popover":{width:"100%"},[`${r}-list`]:{display:"grid",gridTemplateColumns:"repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr))",gridAutoRows:"1fr",gap:"12px","&-item":{position:"relative",boxSizing:"border-box",padding:"8px 16px",color:o.textColor2,border:`1px solid ${o.colorBg1}`,borderRadius:o.borderRadius,cursor:"pointer","&-close":{position:"absolute",top:"8px",right:"10px",zIndex:1,color:o.textColor3,fontSize:o.fontSizeLG,cursor:"pointer","&:hover":{color:o.colorError}},".label":{marginBlockEnd:"4px",fontSize:o.fontSize,lineHeight:o.lineHeight},".value":{overflow:"hidden",fontWeight:"bold",fontSize:o.fontSizeXL,whiteSpace:"nowrap",textOverflow:"ellipsis"},"&:hover:not(.select)":{border:`1px solid ${o.colorPrimary}`},"&.select":{color:o.textColor1,borderColor:"transparent",boxShadow:"3px 10px 30px -2px rgba(123, 121, 140, 0.15)",background:"linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--ap-value-select-card-bg-color, #f5f9ff) 92%)","&:hover":{background:"var(--ap-value-select-card-bg-color, #f5f9ff)"}},"&.all":{color:o.textColor2,background:"#fff",border:`1px solid ${o.borderColorBase}`,boxShadow:"none","&:hover:not(.disabled)":{borderColor:o.colorPrimary},"&.disabled":{color:o.textColor3,background:"#f9f9fa",cursor:"not-allowed",border:`1px solid ${o.colorBg1}`},"&.select":{backgroundColor:o.colorBgControl,borderColor:o.colorPrimary,cursor:"pointer"}},"&.choose":{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",color:o.colorPrimary,background:"#fff",border:"1px dashed #d1d7df",boxShadow:"none",".text":{fontSize:o.fontSize,marginInlineStart:"4px"}}}},[`${r}-title`]:{display:"flex",alignItems:"center",marginBlockEnd:"12px",color:o.textColor2,fontSize:o.fontSize,"&-icon":{marginRight:"4px",color:o.textColor4,fontSize:o.fontSizeLG}}}}},i=e.genComponentStyleHook("ApValueSelectCard",o=>[l(o)]);exports.default=i;
|
|
@@ -1,12 +1,13 @@
|
|
|
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
3
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
4
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/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 { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -109,7 +110,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
109
110
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
110
111
|
readonly initialValues?: Recordable | undefined;
|
|
111
112
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
112
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
113
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
113
114
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
114
115
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
115
116
|
$attrs: {
|
|
@@ -1,12 +1,13 @@
|
|
|
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
3
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
4
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/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 { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
|
|
@@ -110,7 +111,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
110
111
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
111
112
|
readonly initialValues?: Recordable | undefined;
|
|
112
113
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
113
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
114
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
114
115
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
115
116
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
116
117
|
$attrs: {
|
|
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
|
2
2
|
export declare const defaultNamespace = "aplus";
|
|
3
3
|
export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
|
|
4
4
|
export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
|
|
5
|
-
export declare const useNamespace: (
|
|
6
|
-
/**
|
|
7
|
-
* 块 一般是指组件名
|
|
8
|
-
*/
|
|
9
|
-
block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
5
|
+
export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
10
6
|
namespace: ComputedRef<string>;
|
|
11
7
|
b: (blockSuffix?: string) => string;
|
|
12
8
|
e: (element?: string) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
5
5
|
expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
|
|
@@ -36,7 +36,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
36
36
|
}) => void;
|
|
37
37
|
};
|
|
38
38
|
emit: {};
|
|
39
|
-
}>) => VNode
|
|
39
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}> & {
|
|
40
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
41
43
|
};
|
|
42
44
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -39,7 +39,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
39
39
|
}) => void;
|
|
40
40
|
};
|
|
41
41
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
42
|
-
}>) => VNode
|
|
42
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}> & {
|
|
43
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
46
|
};
|
|
45
47
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
|
-
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
2
|
+
import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: ColorType;
|
|
110
|
+
trackColor?: ColorType;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: ColorType;
|
|
122
|
+
trackColor?: ColorType;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
-
lang?: "en" | "zh-cn" | undefined;
|
|
3
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
4
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
-
lang?: "en" | "zh-cn" | undefined;
|
|
6
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
7
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.3.
|
|
1
|
+
declare const _default: "7.3.2";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.3.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.3.2";exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
40
40
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
41
41
|
"vuedraggable": "^4.1.0",
|
|
42
|
-
"@aplus-frontend/
|
|
43
|
-
"@aplus-frontend/
|
|
42
|
+
"@aplus-frontend/hooks": "1.0.7",
|
|
43
|
+
"@aplus-frontend/utils": "1.0.61"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@aplus-frontend/antdv": "^1.2.17",
|