@aplus-frontend/ui 0.2.0-beta.3 → 0.2.0-beta.4
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-form/item-text/style/css.d.ts +0 -1
- package/es/src/ap-form/item-text/style/css.js +1 -1
- package/es/src/ap-form/item-text/style/index.d.ts +0 -1
- package/es/src/ap-form/item-text/style/index.js +1 -1
- package/es/src/ap-form/item-text-group/style/css.d.ts +0 -0
- package/es/src/ap-form/item-text-group/style/css.js +1 -0
- package/es/src/ap-form/item-text-group/style/index.d.ts +0 -0
- package/es/src/ap-form/item-text-group/style/index.js +1 -0
- package/es/src/ap-form/items/interface.d.ts +11 -0
- package/es/src/ap-form/items/text/group.vue.d.ts +42 -0
- package/es/src/ap-form/items/text/group.vue.mjs +4 -0
- package/es/src/ap-form/items/text/group.vue2.mjs +26 -0
- package/es/src/ap-form/items/text/index.d.ts +3 -1
- package/es/src/ap-form/items/text/index.mjs +10 -6
- package/es/src/ap-table/constants.d.ts +2 -0
- package/es/src/ap-table/utils.d.ts +2 -0
- package/es/src/ap-upload/apUpload.vue.d.ts +17 -1
- package/es/src/ap-upload/apUpload.vue.mjs +54 -42
- package/es/src/ap-upload/apUploadTypes.d.ts +6 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +4 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +98 -90
- package/es/src/ap-upload/components/Picture.vue.d.ts +4 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +146 -138
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +4 -1
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +84 -86
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/interface.d.ts +2 -2
- package/es/src/path-map.mjs +3 -1
- package/lib/src/ap-form/item-text/style/css.d.ts +0 -1
- package/lib/src/ap-form/item-text/style/css.js +1 -1
- package/lib/src/ap-form/item-text/style/index.d.ts +0 -1
- package/lib/src/ap-form/item-text/style/index.js +1 -1
- package/lib/src/ap-form/item-text-group/style/css.d.ts +0 -0
- package/lib/src/ap-form/item-text-group/style/css.js +1 -0
- package/lib/src/ap-form/item-text-group/style/index.d.ts +0 -0
- package/lib/src/ap-form/item-text-group/style/index.js +1 -0
- package/lib/src/ap-form/items/interface.d.ts +11 -0
- package/lib/src/ap-form/items/text/group.vue.d.ts +42 -0
- package/lib/src/ap-form/items/text/group.vue.js +1 -0
- package/lib/src/ap-form/items/text/group.vue2.js +1 -0
- package/lib/src/ap-form/items/text/index.d.ts +3 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-table/constants.d.ts +2 -0
- package/lib/src/ap-table/utils.d.ts +2 -0
- package/lib/src/ap-upload/apUpload.vue.d.ts +17 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/apUploadTypes.d.ts +6 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +4 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +4 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +4 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/interface.d.ts +2 -2
- package/lib/src/path-map.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const g=require("../utils/returnData.js"),U=require("@ant-design/icons-vue"),_=require("../hooks/useOss.js"),S=require("../utils/accept.js"),l=require("ant-design-vue"),T=require("../../config-provider/hooks/use-locale.js"),M=require("../../config-provider/hooks/use-namespace.js"),L=["accept"],G={class:"picture-context"},H={class:"picture-item-box"},J=["src"],K={class:"picture-item-shadow"},Q=["onClick"],W={key:0,class:"picture-item-uploading"},X={class:"picture-title"},Y={key:0},Z={key:1},F=e.defineComponent({__name:"Picture",setup(ee,{expose:V}){const{t:u}=T.useLocale(),{b:y}=M.useNamespace("ap-upload-picture"),{put:j}=_.useOss(),D=e.inject("theme"),q=e.inject("dirName"),v=e.inject("accept")||"image/*",k=e.inject("maxSize")??5,x=e.inject("title"),r=e.inject("maxCount")??10,f=e.inject("uploadingCount"),w=e.inject("beforeUpload"),N=e.inject("customRequest"),C=e.inject("getOssAccess"),h=e.ref(null),i=e.inject("value"),m=e.inject("needName");let c=e.ref([]);const p=[];e.watch(()=>i==null?void 0:i.value,async function(t){var s;!((s=c==null?void 0:c.value)!=null&&s.length)&&t&&E(t)},{immediate:!0});function E(t){if(!t){i.value=void 0,p.splice(0,p.length),c.value=[];return}e.nextTick(async()=>{const s=[];for(let n of t){const a=g.getPath(m,n),o=g.getName(m,n),d=await _.getOssInstance(C),O=await d.getSignatureUrl(a),$={...new File([n],o,{}),uid:`${new Date().getTime()}-${Math.random()}`,thumbUrl:O,status:"success",percent:100,path:a};s.push($),d.destroy()}if(r&&s.length>r){l.message.warning(u("ap.apUpload.fileInitializationException",{maxCount:r}));return}s.forEach(n=>{c.value.push(n),p.push({uid:n.uid,path:n.path})}),i.value=t})}V({setValue:E});function P(){var t;(t=h.value)==null||t.click()}function R(t){const s=t.target;b(s==null?void 0:s.files)}function b(t){if(t!=null&&t.length)for(let s=0;s<t.length;s++)A(t[s]);h.value&&(h.value.value="")}let B;function A(t){if(r&&r>1&&c.value.length>=r)return clearTimeout(B),B=setTimeout(()=>{l.message.warning(u("ap.apUpload.maxUploadPicture",{maxCount:r}))}),!1;if(typeof w=="function"){if(w(t)===!1)return!1}else{if(t.size>k*1024*1024)return l.message.warning(u("ap.apUpload.maxUploadFileSize",{maxSize:k})),!1;if(!/image\/\w+/.test(t.type)||!S.fileMatchesAccept(t,v))return l.message.warning(u("ap.apUpload.pictureFormatNotSupported")),!1}const s=new FileReader;s.readAsDataURL(t),s.onload=function(){const n={...t,uid:`${new Date().getTime()}-${Math.random()}`,thumbUrl:this.result,status:"uploading",percent:0};I(n,t)},s.onerror=function(){l.message.warning(u("ap.apUpload.imageParsingFailed"))}}async function I(t,s){if(f.value++,typeof N=="function"){N({onProgress:n=>{const a=c.value.find(o=>o.uid===t.uid);a&&(a.percent=n)},onError:n=>{l.message.warning(n||u("ap.apUpload.networkAnomaly"));const a=c.value.findIndex(o=>o.uid===t.uid);a>-1&&c.value.splice(a,1),f.value--},onSuccess:n=>{const a=c.value.find(o=>o.uid===t.uid);a&&(a.status="success",a.path=n),i.value?i.value.push(g.getReturnData(m,n,s.name)):i.value=[g.getReturnData(m,n,s.name)],p.push({uid:t.uid,path:n}),f.value--},file:s});return}try{const n=await _.getOssInstance(C);t.oss=n,c.value.push(t),j({file:s,dirName:q,oss:n,successCallBack(a){const o=c.value.find(d=>d.uid===t.uid);o&&(o.status="success",o.path=a),i.value?i.value.push(g.getReturnData(m,a,s.name)):i.value=[g.getReturnData(m,a,s.name)],p.push({uid:t.uid,path:a}),f.value--},errorCallBack(a){l.message.warning(a||u("ap.apUpload.networkAnomaly"));const o=c.value.findIndex(d=>d.uid===t.uid);o>-1&&c.value.splice(o,1),f.value--},progressCallBack(a){const o=c.value.find(d=>d.uid===t.uid);o&&(o.percent=a)}})}catch(n){l.message.warning(typeof(n==null?void 0:n.message)=="string"?n.message:u("ap.apUpload.networkAnomaly"));const a=c.value.findIndex(o=>o.uid===t.uid);a>-1&&c.value.splice(a,1),f.value--}}function z(t){var n;if(t.path){if(Array.isArray(i.value)){const a=p.findIndex(o=>o.uid===t.uid);a>=0&&(i==null||i.value.splice(a,1),p.splice(a,1)),i.value.length===0&&(i.value=void 0)}}else(n=t==null?void 0:t.oss)==null||n.pauseUpload();const s=c.value.findIndex(a=>a.uid===t.uid);return c.value.splice(s,1),Promise.resolve(!0)}return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({[e.unref(y)()]:!0,[e.unref(y)("admin")]:e.unref(D)==="admin"})},[e.createElementVNode("input",{style:{display:"none"},type:"file",ref_key:"fileRef",ref:h,accept:e.unref(v),onChange:R},null,40,L),e.createElementVNode("div",G,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c),n=>(e.openBlock(),e.createElementBlock("div",{key:n.uid,class:"picture-item"},[e.createElementVNode("div",H,[e.createElementVNode("img",{src:n.thumbUrl,alt:""},null,8,J),e.withDirectives(e.createElementVNode("div",K,[e.createElementVNode("div",{class:"picture-item-close",onClick:a=>z(n)},[e.createVNode(e.unref(U.CloseOutlined))],8,Q),n.status==="uploading"?(e.openBlock(),e.createElementBlock("div",W,[e.createVNode(e.unref(l.Progress),{percent:n.percent,strokeColor:"#ffffff",trailColor:"rgba(255, 255, 255, 0.3)",size:4,showInfo:!1},null,8,["percent"])])):e.createCommentVNode("",!0)],512),[[e.vShow,n.status==="uploading"]])])]))),128)),e.unref(r)===void 0||e.unref(c).length<e.unref(r)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"picture-upload",onClick:P},[e.createVNode(e.unref(U.PlusOutlined)),e.createElementVNode("div",null,e.toDisplayString(e.unref(u)("ap.apUpload.update")),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",X,[e.unref(x)?(e.openBlock(),e.createElementBlock("div",Y,e.toDisplayString(e.unref(x)),1)):(e.openBlock(),e.createElementBlock("div",Z,e.toDisplayString(`${e.unref(u)("ap.apUpload.supportExtension")}:${e.unref(S.getAcceptText)(e.unref(v))},${e.unref(u)("ap.apUpload.maxUploadPictureSize",{maxSize:e.unref(k)})}`),1))])],2))}});exports.default=F;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
declare
|
|
2
|
+
declare function setValue(val?: string | Record<string, any>): void;
|
|
3
|
+
declare const _default: DefineComponent<{}, {
|
|
4
|
+
setValue: typeof setValue;
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
3
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const w=require("../utils/returnData.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const w=require("../utils/returnData.js"),x=require("../hooks/useOss.js"),z=require("../utils/accept.js"),r=require("ant-design-vue"),Q=require("@ant-design/icons-vue"),O=require("../assets/single-file-icon.png.js"),X=require("../../config-provider/hooks/use-locale.js"),Y=require("../../config-provider/hooks/use-namespace.js"),Z=["accept"],ee={key:0,class:"state-un"},te=["src"],ne={class:"state-un-title"},ae={class:"state-un-subtitle"},oe={key:1,class:"state-ing"},le={class:"left"},se=["src"],re={class:"center"},ce={class:"center-progress"},ue=e.defineComponent({__name:"SingleFile",setup(ie,{expose:P}){const{t:s}=X.useLocale(),{b:m}=Y.useNamespace("ap-upload-single-file"),{put:T,client:F}=x.useOss(),g=e.inject("theme"),L=e.inject("dirName"),h=e.inject("accept")||"*",_=e.inject("maxSize")??500,R=e.inject("title")||s("ap.apUpload.clickOrDragUpload"),k=e.inject("subTitle"),a=e.inject("value"),D=e.inject("needName"),u=e.inject("uploadingCount"),S=e.inject("beforeUpload"),U=e.inject("customRequest"),I=e.inject("getOssAccess"),o=e.ref(null);e.watch(()=>a==null?void 0:a.value,function(t){o.value===null&&t&&j(t)},{immediate:!0});function j(t){t?setTimeout(()=>{const n=w.getName(D,t);l.value=3,o.value=new File([t],n,{}),a.value=t}):(l.value=1,o.value=null,a.value=void 0)}P({setValue:j});const l=e.ref(1),d=e.ref(0),f=e.ref(null),B=e.computed(()=>o.value&&(a==null?void 0:a.value));function M(){var t;l.value===1&&((t=f.value)==null||t.click())}function q(t){t.preventDefault(),t.stopPropagation()}function $(t){t.dataTransfer.dropEffect="copy",t.preventDefault(),t.stopPropagation()}function G(t){A(t)}function W(t){if(t.preventDefault(),t.stopPropagation(),l.value!==1)return;var n=t.dataTransfer,c=[],V=0,b=n.files.length;function i(){V===b-1&&G(c),V++}if(n.items!==void 0)for(var y=0;y<n.items.length;y++){var N=n.items[y];if(N.kind==="file"&&N.webkitGetAsEntry().isFile){var K=N.getAsFile();c.push(K),i()}}else for(let E=0;E<b;E++){var v=n.files[E];if(v.type)c.push(v),i();else try{var C=new FileReader;C.readAsDataURL(v.slice(0,3)),C.addEventListener("load",function(p){console.warn(p,"load"),c.push(v),i()},!1),C.addEventListener("error",function(p){console.warn(p,"error"),r.message.warning(s("ap.apUpload.foldersNotSupported")),i()},!1)}catch(p){console.warn(p),r.message.warning(s("ap.apUpload.foldersNotSupported")),i()}}}function H(t){const n=t.target;A(n==null?void 0:n.files),f.value&&(f.value.value="")}async function A(t){if(t!=null&&t.length){if(typeof S=="function"){if(S(t[0])===!1)return}else{if(t[0].size>_*1024*1024){r.message.warning(s("ap.apUpload.maxUploadFileSize",{maxSize:_}));return}if(!z.fileMatchesAccept(t[0],h)){r.message.warning(s("ap.apUpload.fileFormatNotSupported"));return}}if(o.value=t[0],l.value=2,d.value=0,u.value++,typeof U=="function"){U({onProgress:n=>{d.value=n},onError:n=>{r.message.warning(n||s("ap.apUpload.networkAnomaly")),l.value=1,o.value=null,u.value--},onSuccess:n=>{a.value=w.getReturnData(D,n,o.value.name),l.value=3,u.value--},file:t[0]});return}try{await x.useOssInit(I),T({file:o.value,dirName:L,oss:F,successCallBack(n){a.value=w.getReturnData(D,n,o.value.name),l.value=3,u.value--},errorCallBack(n){r.message.warning(n||s("ap.apUpload.networkAnomaly")),l.value=1,o.value=null,u.value--},progressCallBack(n){d.value=n}})}catch(n){r.message.warning(typeof(n==null?void 0:n.message)=="string"?n.message:s("ap.apUpload.networkAnomaly")),l.value=1,o.value=null,u.value--}}}function J(){o.value&&!(a!=null&&a.value)&&F.pauseUpload(),l.value=1,o.value=null,a.value=void 0}return(t,n)=>{var c;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({[e.unref(m)()]:!0,[e.unref(m)("admin")]:e.unref(g)==="admin",[e.unref(m)("un")]:l.value===1}),onClick:M,onDragenter:q,onDragover:$,onDragleave:q,onDrop:W},[e.createElementVNode("input",{style:{display:"none"},type:"file",ref_key:"fileRef",ref:f,accept:e.unref(h),onChange:H},null,40,Z),l.value===1?(e.openBlock(),e.createElementBlock("div",ee,[e.createElementVNode("img",{class:"state-un-icon",src:e.unref(O.default)},null,8,te),e.createElementVNode("div",ne,e.toDisplayString(e.unref(R)),1),e.createElementVNode("div",ae,e.toDisplayString(typeof e.unref(k)=="string"&&e.unref(k).length>0?e.unref(k):`${e.unref(s)("ap.apUpload.supportExtension")}:${e.unref(z.getAcceptText)(e.unref(h))},${e.unref(s)("ap.apUpload.maxWarnUploadFileSize",{maxSize:e.unref(_)})}`),1)])):e.createCommentVNode("",!0),[2,3].includes(l.value)?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",le,[e.createElementVNode("img",{src:e.unref(O.default)},null,8,se)]),e.createElementVNode("div",re,[e.createElementVNode("div",{class:"center-title",style:e.normalizeStyle({color:B.value?"#0070FF":"#182948"})},e.toDisplayString((c=o.value)==null?void 0:c.name),5),e.createElementVNode("div",ce,[B.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(r.Progress),{key:0,percent:d.value,size:4,showInfo:!1,trailColor:e.unref(g)==="admin"?"#D9D9D9":"#DEE4ED",strokeColor:e.unref(g)==="admin"?"#34B77C":"#0070FF"},null,8,["percent","trailColor","strokeColor"]))])]),e.createElementVNode("div",{class:"right",onClick:e.withModifiers(J,["stop"])},[e.createVNode(e.unref(Q.DeleteOutlined))])])):e.createCommentVNode("",!0)],34)}}});exports.default=ue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, VNode, CSSProperties } from 'vue';
|
|
2
2
|
import { ApLabelGroupItemProps } from './interface';
|
|
3
|
-
import { TooltipPlacement } from 'ant-design-vue/es/Tooltip';
|
|
3
|
+
import { TooltipPlacement } from 'ant-design-vue/es/tooltip/Tooltip';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
6
6
|
export declare const ApLabelGroupProps: () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BadgeProps } from 'ant-design-vue';
|
|
2
|
-
import { TooltipPlacement } from 'ant-design-vue/es/Tooltip';
|
|
3
|
-
import { TagProps } from 'ant-design-vue/es/
|
|
2
|
+
import { TooltipPlacement } from 'ant-design-vue/es/tooltip/Tooltip';
|
|
3
|
+
import { TagProps } from 'ant-design-vue/es/tag';
|
|
4
4
|
import { VNode, VNodeChild } from 'vue';
|
|
5
5
|
type Recordable = Record<string, any>;
|
|
6
6
|
export type ApLabelProps = BadgeProps & Partial<{
|
package/lib/src/path-map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={ApActionItem:["ap-action","item"],ApActionItemModal:["ap-action","item-modal"],ApActionItemPopconfirm:["ap-action","item-popconfirm"],ApActionItemDropdown:["ap-action","item-dropdown"],ApActionGroup:["ap-action","group"],ApButton:["ap-button"],ApActionButton:["ap-action-button"],ApDescriptions:["ap-descriptions"],ApDownload:["ap-download"],ApField:["ap-field"],ApFieldText:["ap-field","text"],ApFieldCheckbox:["ap-field","checkbox"],ApFieldDate:["ap-field","date"],ApFieldNumber:["ap-field","number"],ApFieldRadio:["ap-field","radio"],ApFieldSwitch:["ap-field","switch"],ApFieldTextArea:["ap-field","text-area"],ApFieldDateRange:["ap-field","date-range"],ApFieldSelect:["ap-field","select"],ApFieldPassword:["ap-field","password"],ApFieldSlider:["ap-field","slider"],ApFieldSegmented:["ap-field","segmented"],ApFieldDateRate:["ap-field","rate"],ApForm:["ap-form"],ApFormItem:["ap-form","item"],ApFormItemGroup:["ap-form","item-group"],ApFormList:["ap-form","list"],ApFormSearchForm:["ap-form","search-form"],ApFormModalForm:["ap-form","modal-form"],ApFormDependency:["ap-form","dependency"],ApFormSet:["ap-form","set"],ApFormDrawerForm:["ap-form","drawer-form"],ApFormItemText:["ap-form","item-text"],ApFormItemTextArea:["ap-form","item-text-area"],ApFormItemNumber:["ap-form","item-number"],ApFormItemDate:["ap-form","item-date"],ApFormItemDateRange:["ap-form","item-date-range"],ApFormItemRadio:["ap-form","item-radio"],ApFormItemSelect:["ap-form","item-select"],ApFormItemSwitch:["ap-form","item-switch"],ApFormItemCheckbox:["ap-form","item-checkbox"],ApFormItemTextPassword:["ap-form","item-text-password"],ApInfoLayout:["ap-info-layout"],ApList:["ap-list"],ApModal:["ap-modal"],ApTable:["ap-table"],ApTag:["ap-tag"],ApTagGroup:["ap-tag","group"],ApUpload:["ap-upload"],CheckCard:["check-card"],CheckCardGroup:["check-card","group"],ConfigProvider:["config-provider"],EditableTable:["editable-table"],EditableTableFormItem:["editable-table","form-item"],WorkOrderModal:["work-order-modal"],ApAttachment:["business","ap-attachment"],ApBatchAction:["business","ap-batch-action"],ApBatchActionGroup:["business","ap-batch-action-group"],ApButtonGroup:["business","ap-button-group"],ApCard:["business","ap-card"],ApExpandAlert:["business","ap-expand-alert"],ApExportGroup:["business","ap-export-group"],ApImage:["business","ap-image"],ApInputRadio:["business","ap-input-radio"],ApLabel:["business","ap-label"],ApLabelGroup:["business","ap-label","group"],ApLadder:["business","ap-ladder"],ApSelectLayout:["business","ap-select-layout"],ApStatus:["business","ap-status"],ApStatusGroup:["business","ap-status","group"],ApTableModal:["business","ap-table-modal"],ApTitle:["business","ap-title"]};exports.default=e;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={ApActionItem:["ap-action","item"],ApActionItemModal:["ap-action","item-modal"],ApActionItemPopconfirm:["ap-action","item-popconfirm"],ApActionItemDropdown:["ap-action","item-dropdown"],ApActionGroup:["ap-action","group"],ApButton:["ap-button"],ApActionButton:["ap-action-button"],ApDescriptions:["ap-descriptions"],ApDownload:["ap-download"],ApField:["ap-field"],ApFieldText:["ap-field","text"],ApFieldCheckbox:["ap-field","checkbox"],ApFieldDate:["ap-field","date"],ApFieldNumber:["ap-field","number"],ApFieldRadio:["ap-field","radio"],ApFieldSwitch:["ap-field","switch"],ApFieldTextArea:["ap-field","text-area"],ApFieldDateRange:["ap-field","date-range"],ApFieldSelect:["ap-field","select"],ApFieldPassword:["ap-field","password"],ApFieldSlider:["ap-field","slider"],ApFieldSegmented:["ap-field","segmented"],ApFieldDateRate:["ap-field","rate"],ApForm:["ap-form"],ApFormItem:["ap-form","item"],ApFormItemGroup:["ap-form","item-group"],ApFormList:["ap-form","list"],ApFormSearchForm:["ap-form","search-form"],ApFormModalForm:["ap-form","modal-form"],ApFormDependency:["ap-form","dependency"],ApFormSet:["ap-form","set"],ApFormDrawerForm:["ap-form","drawer-form"],ApFormItemText:["ap-form","item-text"],ApFormItemTextArea:["ap-form","item-text-area"],ApFormItemNumber:["ap-form","item-number"],ApFormItemDate:["ap-form","item-date"],ApFormItemDateRange:["ap-form","item-date-range"],ApFormItemRadio:["ap-form","item-radio"],ApFormItemSelect:["ap-form","item-select"],ApFormItemSwitch:["ap-form","item-switch"],ApFormItemCheckbox:["ap-form","item-checkbox"],ApFormItemTextPassword:["ap-form","item-text-password"],ApFormItemTextGroup:["ap-form","item-text-group"],ApInfoLayout:["ap-info-layout"],ApList:["ap-list"],ApModal:["ap-modal"],ApTable:["ap-table"],ApTag:["ap-tag"],ApTagGroup:["ap-tag","group"],ApUpload:["ap-upload"],CheckCard:["check-card"],CheckCardGroup:["check-card","group"],ConfigProvider:["config-provider"],EditableTable:["editable-table"],EditableTableFormItem:["editable-table","form-item"],WorkOrderModal:["work-order-modal"],ApAttachment:["business","ap-attachment"],ApBatchAction:["business","ap-batch-action"],ApBatchActionGroup:["business","ap-batch-action-group"],ApButtonGroup:["business","ap-button-group"],ApCard:["business","ap-card"],ApExpandAlert:["business","ap-expand-alert"],ApExportGroup:["business","ap-export-group"],ApImage:["business","ap-image"],ApInputRadio:["business","ap-input-radio"],ApLabel:["business","ap-label"],ApLabelGroup:["business","ap-label","group"],ApLadder:["business","ap-ladder"],ApSelectLayout:["business","ap-select-layout"],ApStatus:["business","ap-status"],ApStatusGroup:["business","ap-status","group"],ApTableModal:["business","ap-table-modal"],ApTitle:["business","ap-title"],ApSummary:["business","ap-summary"]};exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.4",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@aplus-frontend/oss": "^1.1.2",
|
|
70
70
|
"vue": "3.4.38",
|
|
71
71
|
"ant-design-vue": "^4.2.5",
|
|
72
|
-
"@aplus-frontend/ui-theme": "1.0.
|
|
72
|
+
"@aplus-frontend/ui-theme": "1.0.2"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"pub:cb": "pnpm publish --access public",
|