@aplus-frontend/ui 0.4.5 → 0.4.7
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-field/date/index.vue.d.ts +1 -0
- package/es/src/ap-field/date/index.vue.mjs +22 -15
- package/es/src/ap-field/date-range/index.vue.mjs +46 -42
- package/es/src/ap-field/hooks/use-default-presets.d.ts +11 -0
- package/es/src/ap-field/hooks/use-default-presets.mjs +15 -0
- package/es/src/ap-field/interface.d.ts +7 -1
- package/es/src/ap-table/ap-table.vue2.mjs +87 -85
- package/es/src/ap-table/components/dynamic-component/diff.d.ts +2 -0
- package/es/src/ap-table/components/dynamic-component/index.vue.d.ts +4 -0
- package/es/src/ap-table/components/dynamic-component/index.vue.mjs +4 -0
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +14 -0
- package/es/src/ap-table/components/interface.d.ts +3 -0
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +55 -55
- package/es/src/ap-table/constants.d.ts +3 -0
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-column-state.mjs +92 -92
- package/es/src/ap-table/utils.d.ts +1549 -1539
- package/es/src/ap-table/utils.mjs +115 -104
- package/es/src/ap-upload/components/Picture.vue2.mjs +59 -55
- package/es/src/business/batch-input-group/form-item.vue.mjs +7 -6
- package/es/src/business/batch-input-group/interface.d.ts +5 -0
- package/es/src/business/hooks/usePageListApTable.d.ts +2 -2
- package/es/src/locale/lang/en.mjs +10 -1
- package/es/src/locale/lang/zh-cn.mjs +10 -1
- package/es/src/utils/data-range-persets.d.ts +87 -0
- package/es/src/utils/data-range-persets.mjs +107 -0
- package/lib/src/ap-field/date/index.vue.d.ts +1 -0
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +11 -0
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -0
- package/lib/src/ap-field/interface.d.ts +7 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/dynamic-component/diff.d.ts +2 -0
- package/lib/src/ap-table/components/dynamic-component/index.vue.d.ts +4 -0
- package/lib/src/ap-table/components/dynamic-component/index.vue.js +1 -0
- package/lib/src/ap-table/components/dynamic-component/index.vue2.js +1 -0
- package/lib/src/ap-table/components/interface.d.ts +3 -0
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +3 -0
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/utils.d.ts +1549 -1539
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/interface.d.ts +5 -0
- package/lib/src/business/hooks/usePageListApTable.d.ts +2 -2
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/utils/data-range-persets.d.ts +87 -0
- package/lib/src/utils/data-range-persets.js +1 -0
- package/package.json +3 -3
- package/theme/ap-table/ap-table.css +4 -4
- package/theme/ap-table/ap-table.less +4 -4
- package/theme/ap-table-modal/index.css +4 -4
- package/theme/index.css +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),s=require("lodash-unified"),p=require("./constants.js"),g=require("@fruits-chain/utils");require("../ap-form/index.js");const j=require("@aplus-frontend/antdv"),O=require("@ant-design/icons-vue");require("./components/dynamic-component/index.vue.js");const f=require("./components/dynamic-component/index.vue2.js"),h=require("../ap-form/item/index.vue.js");function E(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!l.isVNode(e)}const m=(e,t,n)=>{let o={};return s.isObject(e)?Object.keys(e).forEach(i=>{s.isObject(e[i])?o[i]=m(e[i],t[i],n):o[i]=n(e[i],t)}):o=n(e,t),o},N=(e,t)=>{switch(e){case"dayjs":return t.valueOf();case"dayjsRange":return t.map(n=>n.valueOf());case"dayjsDayRange":{const[n,o]=t;return[n.startOf("day").valueOf(),o.endOf("day").valueOf()]}case"multiple":case"multipleNumber":return s.isArray(t)?t:[t];case"boolean":return t;case"object":return t;default:return t}};function C(e){return s.isArray(e)?e.join("."):e}function F(e){const t=Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();return t==="string"&&typeof e=="object"?"object":e===null?"null":e===void 0?"undefined":t}const y=e=>F(e)==="map"?e:new Map(Object.entries(e||{})),a=e=>{const t=[],n=y(e);return n.forEach((o,i)=>{const r=n.get(i)||n.get(`${i}`);if(r){if(typeof r=="object"&&(r!=null&&r.text)){t.push({text:r==null?void 0:r.text,value:i,label:r==null?void 0:r.text,disabled:r.disabled});return}t.push({text:r,label:r,value:i})}}),t},_=e=>s.isUndefined(e)||e<0?0:e;function T(e,t){return!e||!s.isFunction(e)?e:e(t)}function v(e){let t=e.valueType||"text";return e.valueEnum&&(t="status"),t}function S(e,t,n,o){var u;const i=p.apTableRenderItemMap[e];if(i)return l.createVNode(i,l.mergeProps(t,{mode:"read"}),null);const r=o==null?void 0:o[e];return((u=r==null?void 0:r.render)==null?void 0:u.call(r,t.value,n,t))||t.value}function V(e,t){if(e.customRenderFormItem){let r=function(u){const c=u.item.customRenderFormItem(u.item);return l.cloneVNode(c,{...u.item.fieldProps,span:u.item.span,...c.props||{}})};return{Comp:f.default,render:r}}const n=p.apTableFormItemMap[e.valueType];if(n)return{Comp:n};const o=t==null?void 0:t[e.valueType];function i(r){var c;const u=(c=o==null?void 0:o.renderFormItem)==null?void 0:c.call(o,r.item.fieldProps.field);return u?l.createVNode(h.default,l.mergeProps(r.item.fieldProps,{span:r.item.fieldProps}),E(u)?u:{default:()=>[u]}):null}return{Comp:f.default,render:i}}function q(e,t){const n=T(e.fieldProps,t),o=(n==null?void 0:n.field)||n||{},i=e.valueType==="switch",r=e.valueType==="index",u=i?{checked:t.value}:{value:r?t.index+1:t.value};return e.valueEnum&&(o.valueEnum=e.valueEnum),{...s.omit(o,["request"]),...u}}function P(e){const t={...e};return s.isBoolean(e.filters)&&e.filters&&e.valueEnum&&(t.filters=a(e.valueEnum)),t}function I(e,t){var o;const n=t||{};return e.valueEnum&&!((o=n.field)!=null&&o.options)&&(n.field={...n.field,options:a(e.valueEnum)}),n}function A(e){if(!g.isType("Object")(e))return e;try{return JSON.stringify(e)}catch{return e}}function x(e,t,n,o){const i=n==null?void 0:n({title:e.title,column:e}),r=(i==null?void 0:i.filter(b=>b.type!==Symbol.for("v-cmt")))||[];if(i&&r.length>0)return i;const c=s.isString(e.title)?l.createVNode("span",{class:t,title:e.title},[e.title]):e.title,d=e.tooltip?s.isFunction(e.tooltip)?e.tooltip(e):l.createVNode(l.Fragment,null,[e.tooltip]):null;return d?l.createVNode("span",{style:{display:"inline-flex",alignItems:"center",maxWidth:"100%"}},[c,l.createVNode(j.Tooltip,{title:d,placement:"bottom"},{default:()=>[l.createVNode(O.QuestionCircleOutlined,{style:{padding:"4px",color:o,verticalAlign:"middle"}},null)]})]):c}function R(e,t){const n=[];function o(i){var r;for(const u of i)(r=u.children)!=null&&r.length?o(u.children):n.push(t(u))}return o(e),n}function w(e,t){if(s.isArray(e)&&s.isArray(t))return s.isEqual(s.sortBy(e),s.sortBy(t));if(s.isPlainObject(e)&&s.isPlainObject(t)){const n=o=>s.every(o,i=>i==null)||s.isEmpty(o);if(n(e)&&n(t))return!0}}function U(e){if(e!==!1)return e}exports.apColumnToColumn=P;exports.dataIndexToStr=C;exports.falseToUndefined=U;exports.formatParamsValueType=m;exports.getColumnOrder=_;exports.getFieldProps=T;exports.getSearchFormItemRenderNode=V;exports.getTableCellRenderNode=S;exports.getTableRenderProps=q;exports.getTableRenderType=v;exports.getTableTitle=x;exports.isEqualCustom=w;exports.objectToMap=y;exports.objectToString=A;exports.parseFieldValue=N;exports.recursionApColumns=R;exports.updateFormProps=I;exports.valueEnumToArray=a;
|
|
@@ -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 v=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 v=require("../utils/returnData.js"),S=require("@ant-design/icons-vue"),x=require("../hooks/useOss.js"),j=require("../utils/accept.js"),d=require("@aplus-frontend/antdv"),G=require("lodash-unified"),H=require("../../config-provider/hooks/use-locale.js"),J=require("../../config-provider/hooks/use-namespace.js"),K=["accept"],Q={class:"picture-context"},W={class:"picture-item-box"},X=["src"],Y={class:"picture-item-shadow"},Z=["onClick"],F={key:0,class:"picture-item-uploading"},ee={class:"picture-title"},te={key:0},ne={key:1},ae=e.defineComponent({__name:"Picture",setup(se,{expose:b}){const{t:u}=H.useLocale(),{b:y}=J.useNamespace("ap-upload-picture"),{put:q}=x.useOss(),P=e.inject("theme"),R=e.inject("dirName"),h=e.inject("accept")||"image/*",k=e.inject("maxSize")??5,_=e.inject("title"),l=e.inject("maxCount")??10,f=e.inject("uploadingCount"),w=e.inject("beforeUpload"),E=e.inject("customRequest"),U=e.inject("getOssAccess"),V=e.inject("maxSizeErrorMsg"),z=e.inject("maxCountErrorMsg"),A=e.inject("acceptErrorMsg"),m=e.ref(null),r=e.inject("value"),g=e.inject("needName");let c=e.ref([]);const p=[];e.watch(()=>r==null?void 0:r.value,async function(t){var s;!((s=c==null?void 0:c.value)!=null&&s.length)&&t&&C(t)},{immediate:!0});function C(t){if(!t){r.value=void 0,p.splice(0,p.length),c.value=[];return}e.nextTick(async()=>{const s=[];for(let n of t){const a=v.getPath(g,n),o=v.getName(g,n),i=await x.getOssInstance(U),T=await i.getSignatureUrl(a),L={...typeof n=="string"?{}:n,...new File([n],o,{}),uid:`${new Date().getTime()}-${Math.random()}`,thumbUrl:T,status:"success",percent:100,path:a};s.push(L),i.destroy()}if(l&&s.length>l){d.message.warning(u("ap.apUpload.fileInitializationException",{maxCount:l}));return}s.forEach(n=>{c.value.push(n),p.push({uid:n.uid,path:n.path})}),r.value=t})}b({setValue:C});function D(){var t;(t=m.value)==null||t.click()}function I(t){const s=t.target;M(s==null?void 0:s.files)}function M(t){if(t!=null&&t.length)for(let s=0;s<t.length;s++)$(t[s]);m.value&&(m.value.value="")}let N;async function $(t){if(l&&l>1&&c.value.length>=l)return clearTimeout(N),N=setTimeout(()=>{d.message.warning(z||u("ap.apUpload.maxUploadPicture",{maxCount:l}))}),!1;if(t.size>k*1024*1024)return d.message.warning(V||u("ap.apUpload.maxUploadFileSize",{maxSize:k})),!1;if(!/image\/\w+/.test(t.type)||!j.fileMatchesAccept(t,h))return d.message.warning(A||u("ap.apUpload.pictureFormatNotSupported")),!1;if(typeof w=="function"&&await w(t)===!1)return!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};O(n,t)},s.onerror=function(){d.message.warning(u("ap.apUpload.imageParsingFailed"))}}async function O(t,s){if(f.value++,typeof E=="function"){E({onProgress:n=>{const a=c.value.find(o=>o.uid===t.uid);a&&(a.percent=n)},onError:n=>{d.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),r.value=[...r.value||[],v.getReturnData(g,n,s.name)],p.push({uid:t.uid,path:n}),f.value--},file:s});return}try{const n=await x.getOssInstance(U);t.oss=n,c.value.push(t),q({file:s,dirName:R,oss:n,successCallBack(a){const o=c.value.find(i=>i.uid===t.uid);o&&(o.status="success",o.path=a),r.value=[...r.value||[],v.getReturnData(g,a,s.name)],p.push({uid:t.uid,path:a}),f.value--},errorCallBack(a){d.message.warning(a||u("ap.apUpload.networkAnomaly"));const o=c.value.findIndex(i=>i.uid===t.uid);o>-1&&c.value.splice(o,1),f.value--},progressCallBack(a){const o=c.value.find(i=>i.uid===t.uid);o&&(o.percent=a)}})}catch(n){d.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 B(t){var n,a;if(t.path&&r){if(Array.isArray(r.value)){const o=p.findIndex(i=>i.uid===t.uid);if(o>=0){const i=((n=r==null?void 0:r.value)==null?void 0:n.slice())??[];i==null||i.splice(o,1),r.value=i,p.splice(o,1)}r.value.length===0&&(r.value=void 0)}}else(a=t==null?void 0:t.oss)==null||a.pauseUpload();const s=c.value.findIndex(o=>o.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(P)==="admin"})},[e.createElementVNode("input",{ref_key:"fileRef",ref:m,style:{display:"none"},type:"file",accept:e.unref(h),onChange:I},null,40,K),e.createElementVNode("div",Q,[e.renderSlot(t.$slots,"pictureContext",{fileList:e.unref(c).map(n=>{var a;return{...e.unref(G.omit)(n,"oss"),oss:{pauseUpload:(a=n==null?void 0:n.oss)==null?void 0:a.pauseUpload}}}),remove:B},()=>[(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",W,[e.createElementVNode("img",{src:n.thumbUrl,alt:""},null,8,X),e.withDirectives(e.createElementVNode("div",Y,[e.createElementVNode("div",{class:"picture-item-close",onClick:a=>B(n)},[e.createVNode(e.unref(S.CloseOutlined))],8,Z),n.status==="uploading"?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(e.unref(d.Progress),{percent:n.percent,"stroke-color":"#ffffff","trail-color":"rgba(255, 255, 255, 0.3)",size:4,"show-info":!1},null,8,["percent"])])):e.createCommentVNode("",!0)],512),[[e.vShow,n.status==="uploading"]])])]))),128))]),e.unref(l)===void 0||e.unref(c).length<e.unref(l)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"picture-upload",onClick:D},[e.createVNode(e.unref(S.PlusOutlined)),e.createElementVNode("div",null,e.toDisplayString(e.unref(u)("ap.apUpload.update")),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ee,[e.unref(_)?(e.openBlock(),e.createElementBlock("div",te,e.toDisplayString(e.unref(_)),1)):(e.openBlock(),e.createElementBlock("div",ne,e.toDisplayString(`${e.unref(u)("ap.apUpload.supportExtension")}:${e.unref(j.getAcceptText)(e.unref(h))},${e.unref(u)("ap.apUpload.maxUploadPictureSize",{maxSize:e.unref(k)})}`),1))])],2))}});exports.default=ae;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");require("./index.vue2.js");require("../../ap-form/item/index.vue2.js");const s=require("@aplus-frontend/utils"),f=require("lodash-unified"),y=require("../../ap-form/item/index.vue.js"),_=require("./index.vue.js"),b=a.defineComponent({__name:"form-item",props:{htmlFor:{},prefixCls:{},label:{},help:{},extra:{},labelCol:{},wrapperCol:{},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:{},prop:{},name:{},rules:{},autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:{},validateTrigger:{},messageVariables:{},hidden:{type:Boolean},noStyle:{type:Boolean},tooltip:{},span:{},order:{},offset:{},push:{},pull:{},xs:{},sm:{},md:{},lg:{},xl:{},xxl:{},flex:{},bordered:{type:Boolean,default:!1},valuePropName:{},initialValue:{},_signal:{},transform:{},field:{default:()=>({})},disabled:{type:Boolean,default:void 0},placeholer:{},trim:{type:Boolean,default:!0}},setup(
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");require("./index.vue2.js");require("../../ap-form/item/index.vue2.js");const s=require("@aplus-frontend/utils"),f=require("lodash-unified"),y=require("../../ap-form/item/index.vue.js"),_=require("./index.vue.js"),b=a.defineComponent({__name:"form-item",props:{htmlFor:{},prefixCls:{},label:{},help:{},extra:{},labelCol:{},wrapperCol:{},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:{},prop:{},name:{},rules:{},autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:{},validateTrigger:{},messageVariables:{},hidden:{type:Boolean},noStyle:{type:Boolean},tooltip:{},span:{},order:{},offset:{},push:{},pull:{},xs:{},sm:{},md:{},lg:{},xl:{},xxl:{},flex:{},bordered:{type:Boolean,default:!1},valuePropName:{},initialValue:{},_signal:{},transform:{},field:{default:()=>({})},disabled:{type:Boolean,default:void 0},placeholer:{},trim:{type:Boolean,default:!0},defaultSelectedAllKey:{type:Boolean}},setup(p){const l=p,m=a.computed(()=>(l==null?void 0:l.transform)||{flat:!1,transformer:e=>{var u,o,r,i,n,d;if(e)return!(e!=null&&e.value)||((u=e==null?void 0:e.value)==null?void 0:u.length)<1?void 0:(o=l==null?void 0:l.field)!=null&&o.options?{...e,value:(i=(r=e==null?void 0:e.value)==null?void 0:r.filter(t=>s.isValid(t==null?void 0:t.trim())))==null?void 0:i.map(t=>l.trim?t==null?void 0:t.trim():t)}:(d=(n=e==null?void 0:e.value)==null?void 0:n.filter(t=>s.isValid(t==null?void 0:t.trim())))==null?void 0:d.map(t=>l.trim?t==null?void 0:t.trim():t)}}),c=a.computed(()=>{var e;return((e=l.field)==null?void 0:e.style)||"width:auto"}),v=a.computed(()=>{var e,u;return(l==null?void 0:l.initialValue)||{key:(u=(e=l==null?void 0:l.field)==null?void 0:e.options)==null?void 0:u.map(o=>o.value)}});return(e,u)=>{var o,r;return a.openBlock(),a.createBlock(y.default,a.mergeProps(a.unref(f.omit)(l,["field","initialValue","transform","placeholder","disabled"]),{"initial-value":v.value,transform:m.value,bordered:(r=(o=e.field)==null?void 0:o.options)!=null&&r.length?!1:e.bordered}),{default:a.withCtx(()=>[a.createVNode(_.default,a.mergeProps(a.unref(f.omit)(l.field,["style"]),{style:c.value,disabled:e.disabled,placeholer:e.placeholer}),null,16,["style","disabled","placeholer"])]),_:1},16,["initial-value","transform","bordered"])}}});exports.default=b;
|
|
@@ -30,7 +30,7 @@ export interface UsePageListApTable extends ApTableProps {
|
|
|
30
30
|
export declare function usePageListApTable(props?: UsePageListApTable): [ApTableProps, {
|
|
31
31
|
reload: () => void;
|
|
32
32
|
reset: () => void;
|
|
33
|
-
getSearchFormValues: (transform
|
|
33
|
+
getSearchFormValues: (transform?: boolean) => any;
|
|
34
34
|
getApTableInstance: () => {
|
|
35
35
|
submit: () => void;
|
|
36
36
|
reset: () => void;
|
|
@@ -50,6 +50,6 @@ export declare function usePageListApTable(props?: UsePageListApTable): [ApTable
|
|
|
50
50
|
} | undefined;
|
|
51
51
|
getShownColumns: () => TableColumnsType<any>;
|
|
52
52
|
} | null | undefined;
|
|
53
|
-
getSearchFormValuesAndSorted: (transform
|
|
53
|
+
getSearchFormValuesAndSorted: (transform?: boolean) => any;
|
|
54
54
|
clearSelection: () => void;
|
|
55
55
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More"},field:{startDateText:"Start date",endDateText:"End date"},apForm:{search:{search:"Search",reset:"Reset"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export Excel",exportSuccess:"The task has been submitted,please go to the download center to check the progress"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apSizeInput:{length:"Length",width:"Width",height:"Height"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},apGroupSearch:{defaultPlaceholder:"Please input",all:"All",close:"Close",clear:"Clear",confirm:"Confirm",tokenSeparatorsPlaceholder:"A maximum of 200 entries can be entered in batches, separated by commas and newlines"},batchInputGroup:{popoverInputPlaceholder:"A maximum of 200 entries can be entered in batches, separated by newlines"},apSummary:{total:"Total"}}};exports.default=e;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More"},field:{startDateText:"Start date",endDateText:"End date",today:"Today",yesterday:"Yesterday",thisWeek:"This week",lastWeek:"Last week",thisMonth:"This month",lastMonth:"Last month",thisYear:"This year",lastYear:"Last year",lastXDays:"Last {day} days"},apForm:{search:{search:"Search",reset:"Reset"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export Excel",exportSuccess:"The task has been submitted,please go to the download center to check the progress"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apSizeInput:{length:"Length",width:"Width",height:"Height"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},apGroupSearch:{defaultPlaceholder:"Please input",all:"All",close:"Close",clear:"Clear",confirm:"Confirm",tokenSeparatorsPlaceholder:"A maximum of 200 entries can be entered in batches, separated by commas and newlines"},batchInputGroup:{popoverInputPlaceholder:"A maximum of 200 entries can be entered in batches, separated by newlines"},apSummary:{total:"Total"}}};exports.default=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多"},field:{startDateText:"开始日期",endDateText:"结束日期"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出Excel",exportSuccess:"任务已提交,前往下载中心查看进度"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apSizeInput:{length:"长",width:"宽",height:"高"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},apGroupSearch:{defaultPlaceholder:"请输入",all:"全部",close:"关闭",clear:"清空",confirm:"确定",tokenSeparatorsPlaceholder:"支持批量输入,可用逗号、换行符号分隔,最多输入200条"},batchInputGroup:{popoverInputPlaceholder:"支持批量输入,可用换行符分隔,最多输入200条"},apSummary:{total:"合计"}}};exports.default=e;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多"},field:{startDateText:"开始日期",endDateText:"结束日期",today:"今天",yesterday:"昨天",thisWeek:"本周",lastWeek:"上周",thisMonth:"本月",lastMonth:"上月",thisYear:"今年",lastYear:"去年",lastXDays:"近{day}天"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出Excel",exportSuccess:"任务已提交,前往下载中心查看进度"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apSizeInput:{length:"长",width:"宽",height:"高"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},apGroupSearch:{defaultPlaceholder:"请输入",all:"全部",close:"关闭",clear:"清空",confirm:"确定",tokenSeparatorsPlaceholder:"支持批量输入,可用逗号、换行符号分隔,最多输入200条"},batchInputGroup:{popoverInputPlaceholder:"支持批量输入,可用换行符分隔,最多输入200条"},apSummary:{total:"合计"}}};exports.default=e;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
2
|
+
import { LiteralUnion } from '@aplus-frontend/utils/src/vue/types';
|
|
3
|
+
import { default as dayjs } from 'dayjs';
|
|
4
|
+
type Timezone = LiteralUnion<ZoneAlias, string>;
|
|
5
|
+
/**
|
|
6
|
+
* 指定时区格式化
|
|
7
|
+
* @param {Timezone} [timezone] - 时区
|
|
8
|
+
*/
|
|
9
|
+
export declare const presetsGetTimezoneFormat: (timezone?: Timezone) => dayjs.Dayjs;
|
|
10
|
+
/**
|
|
11
|
+
* 根据时区获取今日
|
|
12
|
+
* @param {Timezone} [timezone] - 时区
|
|
13
|
+
*/
|
|
14
|
+
export declare const presetsGetToday: (timezone?: Timezone) => {
|
|
15
|
+
label: string;
|
|
16
|
+
value: dayjs.Dayjs[];
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 根据时区获取昨日
|
|
20
|
+
* @param {Timezone} [timezone] - 时区
|
|
21
|
+
*/
|
|
22
|
+
export declare const presetsGetYesterday: (timezone?: Timezone) => {
|
|
23
|
+
label: string;
|
|
24
|
+
value: dayjs.Dayjs[];
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* 根据时区获取本周
|
|
28
|
+
* @param {Timezone} [timezone] - 时区
|
|
29
|
+
*/
|
|
30
|
+
export declare const presetsGetThisWeek: (timezone?: Timezone) => {
|
|
31
|
+
label: string;
|
|
32
|
+
value: dayjs.Dayjs[];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 根据时区获取上周
|
|
36
|
+
* @param {Timezone} [timezone] - 时区
|
|
37
|
+
*/
|
|
38
|
+
export declare const presetsGetLastWeek: (timezone?: Timezone) => {
|
|
39
|
+
label: string;
|
|
40
|
+
value: dayjs.Dayjs[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* 根据时区获取本月
|
|
44
|
+
* @param {Timezone} [timezone] - 时区
|
|
45
|
+
*/
|
|
46
|
+
export declare const presetsGetThisMonth: (timezone?: Timezone) => {
|
|
47
|
+
label: string;
|
|
48
|
+
value: dayjs.Dayjs[];
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* 根据时区获取上月
|
|
52
|
+
* @param {Timezone} [timezone] - 时区
|
|
53
|
+
*/
|
|
54
|
+
export declare const presetsGetLastMonth: (timezone?: Timezone) => {
|
|
55
|
+
label: string;
|
|
56
|
+
value: dayjs.Dayjs[];
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* 根据时区获取今年
|
|
60
|
+
* @param {Timezone} [timezone] - 时区
|
|
61
|
+
*/
|
|
62
|
+
export declare const presetsGetThisYear: (timezone?: Timezone) => {
|
|
63
|
+
label: string;
|
|
64
|
+
value: dayjs.Dayjs[];
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* 根据时区获取去年
|
|
68
|
+
* @param {Timezone} [timezone] - 时区
|
|
69
|
+
*/
|
|
70
|
+
export declare const presetsGetLastYear: (timezone?: Timezone) => {
|
|
71
|
+
label: string;
|
|
72
|
+
value: dayjs.Dayjs[];
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* 根据时区获取近x天
|
|
76
|
+
* @param {number} day - 天数
|
|
77
|
+
* @param {Timezone} [timezone] - 时区
|
|
78
|
+
*/
|
|
79
|
+
export declare const presetsGetLastXDays: (day: number, timezone?: Timezone) => {
|
|
80
|
+
label: string;
|
|
81
|
+
value: dayjs.Dayjs[];
|
|
82
|
+
};
|
|
83
|
+
export declare const presetsDefault: (timezone?: Timezone) => {
|
|
84
|
+
label: string;
|
|
85
|
+
value: dayjs.Dayjs[];
|
|
86
|
+
}[];
|
|
87
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@aplus-frontend/utils"),d=require("dayjs");require("../config-provider/index.js");const r=require("../config-provider/hooks/use-locale.js"),a=e=>d(l.getTimeFormatToZone(d().valueOf(),e??l.userTimezone)),f=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.today"):"今天",value:[t.startOf("day"),t.endOf("day")]}},c=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.yesterday"):"昨天",value:[t.startOf("day").subtract(1,"day").startOf("day"),t.endOf("day").subtract(1,"day").endOf("day")]}},u=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.thisWeek"):"本周",value:[t.startOf("week").startOf("day"),t.endOf("week").endOf("day")]}},y=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.lastWeek"):"上周",value:[t.startOf("week").subtract(1,"week").startOf("day"),t.endOf("week").subtract(1,"week").endOf("day")]}},O=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.thisMonth"):"本月",value:[t.startOf("month").startOf("day"),t.endOf("month").endOf("day")]}},i=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.lastMonth"):"上月",value:[t.startOf("month").subtract(1,"month").startOf("day"),t.endOf("month").subtract(1,"month").endOf("day")]}},p=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.thisYear"):"今年",value:[t.startOf("year").startOf("day"),t.endOf("year").endOf("day")]}},m=e=>{const{t:s}=r.useLocale(),t=a(e);return{label:s?s("ap.field.lastYear"):"去年",value:[t.startOf("year").subtract(1,"year").startOf("day"),t.endOf("year").subtract(1,"year").endOf("day")]}},o=(e,s)=>{const{t}=r.useLocale(),n=a(s);return{label:t?t("ap.field.lastXDays",{day:e}):`近${e}天`,value:[n.subtract(e-1,"day").startOf("day"),n.endOf("day")]}},T=e=>[f(e),c(e),u(e),y(e),O(e),i(e),o(7,e),o(30,e)];exports.presetsDefault=T;exports.presetsGetLastMonth=i;exports.presetsGetLastWeek=y;exports.presetsGetLastXDays=o;exports.presetsGetLastYear=m;exports.presetsGetThisMonth=O;exports.presetsGetThisWeek=u;exports.presetsGetThisYear=p;exports.presetsGetTimezoneFormat=a;exports.presetsGetToday=f;exports.presetsGetYesterday=c;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"sortablejs": "^1.15.2",
|
|
66
66
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
67
67
|
"vuedraggable": "^4.1.0",
|
|
68
|
-
"@aplus-frontend/
|
|
69
|
-
"@aplus-frontend/
|
|
68
|
+
"@aplus-frontend/utils": "1.0.44",
|
|
69
|
+
"@aplus-frontend/hooks": "1.0.7"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@aplus-frontend/antdv": "^1.0.10",
|
|
@@ -470,16 +470,16 @@
|
|
|
470
470
|
.aplus-ap-table-table tr > th.ant-table-cell::before {
|
|
471
471
|
background-color: #D8DDE5 !important;
|
|
472
472
|
}
|
|
473
|
-
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
473
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
474
474
|
padding: 12px 16px;
|
|
475
475
|
}
|
|
476
|
-
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
476
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
477
477
|
padding: 12px 16px;
|
|
478
478
|
}
|
|
479
|
-
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
479
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
480
480
|
padding: 9px 16px;
|
|
481
481
|
}
|
|
482
|
-
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell {
|
|
482
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
483
483
|
padding: 9px 16px;
|
|
484
484
|
}
|
|
485
485
|
.aplus-ap-table .ant-table-placeholder .ant-table-expanded-row-fixed::after {
|
|
@@ -70,16 +70,16 @@
|
|
|
70
70
|
background-color: var(--ap-table-header-bg, #F2F6F9);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
.ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
73
|
+
.ant-table.ant-table-middle .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
74
74
|
padding: 12px 16px;
|
|
75
75
|
}
|
|
76
|
-
.ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
76
|
+
.ant-table.ant-table-middle .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
77
77
|
padding: 12px 16px;
|
|
78
78
|
}
|
|
79
|
-
.ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
79
|
+
.ant-table.ant-table-small .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
80
80
|
padding: 9px 16px;
|
|
81
81
|
}
|
|
82
|
-
.ant-table.ant-table-small .ant-table-thead .ant-table-cell {
|
|
82
|
+
.ant-table.ant-table-small .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
83
83
|
padding: 9px 16px;
|
|
84
84
|
}
|
|
85
85
|
.ant-table-placeholder .ant-table-expanded-row-fixed {
|
|
@@ -470,16 +470,16 @@
|
|
|
470
470
|
.aplus-ap-table-table tr > th.ant-table-cell::before {
|
|
471
471
|
background-color: #D8DDE5 !important;
|
|
472
472
|
}
|
|
473
|
-
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
473
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
474
474
|
padding: 12px 16px;
|
|
475
475
|
}
|
|
476
|
-
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
476
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
477
477
|
padding: 12px 16px;
|
|
478
478
|
}
|
|
479
|
-
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
479
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
480
480
|
padding: 9px 16px;
|
|
481
481
|
}
|
|
482
|
-
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell {
|
|
482
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
483
483
|
padding: 9px 16px;
|
|
484
484
|
}
|
|
485
485
|
.aplus-ap-table .ant-table-placeholder .ant-table-expanded-row-fixed::after {
|
package/theme/index.css
CHANGED
|
@@ -1049,16 +1049,16 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
1049
1049
|
.aplus-ap-table-table tr > th.ant-table-cell::before {
|
|
1050
1050
|
background-color: #D8DDE5 !important;
|
|
1051
1051
|
}
|
|
1052
|
-
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
1052
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
1053
1053
|
padding: 12px 16px;
|
|
1054
1054
|
}
|
|
1055
|
-
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
1055
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
1056
1056
|
padding: 12px 16px;
|
|
1057
1057
|
}
|
|
1058
|
-
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
1058
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell:not(.ant-table-selection-column) {
|
|
1059
1059
|
padding: 9px 16px;
|
|
1060
1060
|
}
|
|
1061
|
-
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell {
|
|
1061
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell:not(.ant-table-selection-column) {
|
|
1062
1062
|
padding: 9px 16px;
|
|
1063
1063
|
}
|
|
1064
1064
|
.aplus-ap-table .ant-table-placeholder .ant-table-expanded-row-fixed::after {
|