@nocobase/plugin-action-export 1.3.44-beta → 1.4.0-alpha.0
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/dist/client/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
(function(a,d){typeof exports=="object"&&typeof module!="undefined"?d(exports,require("react/jsx-runtime"),require("@formily/shared"),require("@nocobase/client"),require("@formily/react"),require("@formily/antd-v5"),require("react"),require("react-i18next"),require("lodash"),require("antd")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@formily/shared","@nocobase/client","@formily/react","@formily/antd-v5","react","react-i18next","lodash","antd"],d):(a=typeof globalThis!="undefined"?globalThis:a||self,d(a["@nocobase/plugin-action-export"]={},a.jsxRuntime,a["@formily/shared"],a["@nocobase/client"],a["@formily/react"],a["@formily/antd-v5"],a.react,a["react-i18next"],a.lodash,a.antd))})(this,function(a,d,f,s,y,P,w,I,b,
|
|
10
|
+
(function(a,d){typeof exports=="object"&&typeof module!="undefined"?d(exports,require("react/jsx-runtime"),require("@formily/shared"),require("@nocobase/client"),require("@formily/react"),require("@formily/antd-v5"),require("react"),require("react-i18next"),require("lodash"),require("antd")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@formily/shared","@nocobase/client","@formily/react","@formily/antd-v5","react","react-i18next","lodash","antd"],d):(a=typeof globalThis!="undefined"?globalThis:a||self,d(a["@nocobase/plugin-action-export"]={},a.jsxRuntime,a["@formily/shared"],a["@nocobase/client"],a["@formily/react"],a["@formily/antd-v5"],a.react,a["react-i18next"],a.lodash,a.antd))})(this,function(a,d,f,s,y,P,w,I,b,T){"use strict";var ae=Object.defineProperty;var Y=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var Q=(a,d,f)=>d in a?ae(a,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):a[d]=f,Z=(a,d)=>{for(var f in d||(d={}))se.call(d,f)&&Q(a,f,d[f]);if(Y)for(var f of Y(d))ie.call(d,f)&&Q(a,f,d[f]);return a};var k=(a,d,f)=>new Promise((s,y)=>{var P=b=>{try{I(f.next(b))}catch(T){y(T)}},w=b=>{try{I(f.throw(b))}catch(T){y(T)}},I=b=>b.done?s(b.value):Promise.resolve(b.value).then(P,w);I((f=f.apply(a,d)).next())});const L=r=>{var u;const e=y.useFieldSchema();(u=e==null?void 0:e["x-component-props"])!=null&&u.nonfilterable;const{getCollectionFields:i}=s.useCollectionManager_deprecated(),m=i(r),v=(p,h)=>{var o;if(!p.interface)return;const t={name:p.name,title:((o=p==null?void 0:p.uiSchema)==null?void 0:o.title)||p.name,schema:p==null?void 0:p.uiSchema};if(!p.target||h>=3)return t;if(p.target&&["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(p.type)){const l=i(p.target),n=x(l,h+1).filter(Boolean);t.children=t.children||[],t.children.push(...n)}return t},x=(p,h)=>{const t=[];return p.forEach(o=>{const l=v(o,h);l&&t.push(l)}),t};return x(m,1)},$=r=>r==null?void 0:r.filter(i=>!i.children).map(i=>({dataIndex:[i.name]})),O=()=>{const r=s.useSchemaInitializerItem(),{insert:e}=s.useSchemaInitializer(),{name:i}=s.useCollection_deprecated(),m=L(i),v={type:"void",title:'{{ t("Export") }}',"x-action":"export","x-action-settings":{exportSettings:[]},"x-toolbar":"ActionSchemaToolbar","x-settings":"actionSettings:export","x-decorator":"ACLActionProvider","x-component":"Action","x-use-component-props":"useExportAction","x-component-props":{icon:"clouddownloadoutlined"}};return d.jsx(s.SchemaInitializerItem,{title:r.title,onClick:()=>{var u;v["x-action-settings"].exportSettings=$(m);const x=f.merge(v||{},r.schema||{});(u=r==null?void 0:r.schemaInitialize)==null||u.call(r,x),e(x)}})},B=()=>{const{name:r}=s.useCollection_deprecated(),e=L(r);return{schema:{type:"void","x-component":"Grid",properties:{exportSettings:{type:"array","x-component":"ArrayItems","x-decorator":"FormItem",items:{type:"object",properties:{space:{type:"void","x-component":"Space","x-component-props":{className:s.css`
|
|
11
11
|
width: 100%;
|
|
12
12
|
& .ant-space-item:nth-child(2),
|
|
13
13
|
& .ant-space-item:nth-child(3) {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
border-color: var(--colorSettings);
|
|
21
21
|
color: var(--colorSettings);
|
|
22
22
|
}
|
|
23
|
-
`}}}}}}}},ee="action-export";function D(){return I.useTranslation([ee,"client"],{nsMode:"fallback"})}const R=()=>{var
|
|
23
|
+
`}}}}}}}},ee="action-export";function D(){return I.useTranslation([ee,"client"],{nsMode:"fallback"})}const R=()=>{var p,h,t,o,l;const r=y.useField(),e=y.useFieldSchema(),{t:i}=D(),{dn:m}=s.useDesignable(),[v,x]=w.useState(),{schema:u}=B();return w.useEffect(()=>{x(u)},[r.address,(p=e==null?void 0:e["x-action-settings"])==null?void 0:p.exportSettings]),d.jsxs(s.GeneralSchemaDesigner,{disableInitializer:!0,children:[d.jsx(s.SchemaSettingsModalItem,{title:i("Edit button"),schema:{type:"object",title:i("Edit button"),properties:{title:{"x-decorator":"FormItem","x-component":"Input",title:i("Button title"),default:e.title,"x-component-props":{}},icon:{"x-decorator":"FormItem","x-component":"IconPicker",title:i("Button icon"),default:(h=e==null?void 0:e["x-component-props"])==null?void 0:h.icon,"x-component-props":{}},type:{"x-decorator":"FormItem","x-component":"Radio.Group",title:i("Button background color"),default:(t=e==null?void 0:e["x-component-props"])!=null&&t.danger?"danger":((o=e==null?void 0:e["x-component-props"])==null?void 0:o.type)==="primary"?"primary":"default",enum:[{value:"default",label:'{{t("Default")}}'},{value:"primary",label:'{{t("Highlight")}}'},{value:"danger",label:'{{t("Danger red")}}'}]}}},onSubmit:({title:n,icon:c,type:g})=>{e.title=n,r.title=n,r.componentProps.icon=c,r.componentProps.danger=g==="danger",r.componentProps.type=g,e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].icon=c,e["x-component-props"].danger=g==="danger",e["x-component-props"].type=g,m.emit("patch",{schema:{"x-uid":e["x-uid"],title:n,"x-component-props":Z({},e["x-component-props"])}}),m.refresh()}}),d.jsx(s.SchemaSettingsActionModalItem,{title:i("Exportable fields"),schema:v,initialValues:{exportSettings:(l=e==null?void 0:e["x-action-settings"])==null?void 0:l.exportSettings},scope:{t:i},components:{ArrayItems:P.ArrayItems},onSubmit:({exportSettings:n})=>{e["x-action-settings"].exportSettings=n==null?void 0:n.filter(c=>{var g;return(g=c==null?void 0:c.dataIndex)==null?void 0:g.length}).map(c=>({dataIndex:c.dataIndex.map(g=>{var S;return(S=g.name)!=null?S:g}),title:c.title})),m.emit("patch",{schema:{"x-uid":e["x-uid"],"x-action-settings":e["x-action-settings"]}}),m.refresh()}}),d.jsx(s.SchemaSettingsDivider,{}),d.jsx(s.SchemaSettingsRemove,{removeParentsIfNoChildren:!0,breakRemoveOn:n=>n["x-component"]==="Space"||n["x-component"].endsWith("ActionBar"),confirm:{title:i("Delete action")}})]})},q=r=>d.jsx(s.SchemaComponentOptions,{components:{ExportActionInitializer:O,ExportDesigner:R},scope:{useExportAction:z},children:r.children});var j=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_={exports:{}};(function(r,e){(function(i,m){m()})(j,function(){function i(t,o){return typeof o=="undefined"?o={autoBom:!1}:typeof o!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function m(t,o,l){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){h(n.response,o,l)},n.onerror=function(){console.error("could not download file")},n.send()}function v(t){var o=new XMLHttpRequest;o.open("HEAD",t,!1);try{o.send()}catch(l){}return 200<=o.status&&299>=o.status}function x(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(l){var o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(o)}}var u=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof j=="object"&&j.global===j?j:void 0,p=u.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=u.saveAs||(typeof window!="object"||window!==u?function(){}:"download"in HTMLAnchorElement.prototype&&!p?function(t,o,l){var n=u.URL||u.webkitURL,c=document.createElement("a");o=o||t.name||"download",c.download=o,c.rel="noopener",typeof t=="string"?(c.href=t,c.origin===location.origin?x(c):v(c.href)?m(t,o,l):x(c,c.target="_blank")):(c.href=n.createObjectURL(t),setTimeout(function(){n.revokeObjectURL(c.href)},4e4),setTimeout(function(){x(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,o,l){if(o=o||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(i(t,l),o);else if(v(t))m(t,o,l);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){x(n)})}}:function(t,o,l,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return m(t,o,l);var c=t.type==="application/octet-stream",g=/constructor/i.test(u.HTMLElement)||u.safari,S=/CriOS\/[\d]+/.test(navigator.userAgent);if((S||c&&g||p)&&typeof FileReader!="undefined"){var C=new FileReader;C.onloadend=function(){var E=C.result;E=S?E:E.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=E:location=E,n=null},C.readAsDataURL(t)}else{var H=u.URL||u.webkitURL,F=H.createObjectURL(t);n?n.location=F:location.href=F,n=null,setTimeout(function(){H.revokeObjectURL(F)},4e4)}});u.saveAs=h.saveAs=h,r.exports=h})})(_);var te=_.exports;const z=()=>{var S,C;const{service:r,resource:e,props:i}=s.useBlockRequestContext(),m=s.useCurrentAppInfo(),v=i==null?void 0:i.params.filter,x=y.useFieldSchema(),u=s.useCompile(),{getCollectionJoinField:p}=s.useCollectionManager_deprecated(),{name:h,title:t}=s.useCollection_deprecated(),{t:o}=D(),{modal:l}=T.App.useApp(),n=((C=(S=r.params)==null?void 0:S[1])==null?void 0:C.filters)||{},c=y.useField(),g=w.useMemo(()=>{var F;return(F=m==null?void 0:m.data)!=null&&F.exportLimit?m.data.exportLimit:2e3},[m]);return{onClick(){return k(this,null,function*(){var N,G,W,V;if(c.data=c.data||{},!(yield l.confirm({title:o("Export"),content:o("Export warning",{limit:g}),okText:o("Start export")})))return;c.data.loading=!0;const{exportSettings:E}=b.cloneDeep((N=x==null?void 0:x["x-action-settings"])!=null?N:{});E.forEach(M=>{var X,J;const{uiSchema:A,interface:ce}=(X=p(`${h}.${M.dataIndex.join(".")}`))!=null?X:{};M.enum=(J=A==null?void 0:A.enum)==null?void 0:J.map(K=>({value:K.value,label:K.label})),!M.enum&&(A==null?void 0:A.type)==="boolean"&&(M.enum=[{value:!0,label:o("Yes")},{value:!1,label:o("No")}]),M.defaultTitle=A==null?void 0:A.title});const{data:ne}=yield e.export({title:u(t),appends:(W=(G=r.params[0])==null?void 0:G.appends)==null?void 0:W.join(),filter:s.mergeFilter([...Object.values(n),v]),sort:(V=r.params[0])==null?void 0:V.sort},{method:"post",data:{columns:u(E)},responseType:"blob"}),re=new Blob([ne],{type:"application/x-xls"});c.data.loading=!1,te.saveAs(re,`${u(t)}.xlsx`)})}}},oe=new s.SchemaSettings({name:"actionSettings:export",items:[{name:"editButton",Component:s.ButtonEditor,useComponentProps(){const{buttonEditorProps:r}=s.useSchemaToolbar();return r}},{name:"exportableFields",type:"actionModal",useComponentProps(){var p,h;const r=y.useField(),e=y.useFieldSchema(),{t:i}=I.useTranslation(),{dn:m}=s.useDesignable(),[v,x]=w.useState(),{schema:u}=B();return w.useEffect(()=>{x(u)},[r.address,(p=e==null?void 0:e["x-action-settings"])==null?void 0:p.exportSettings]),{title:i("Exportable fields"),schema:v,initialValues:{exportSettings:(h=e==null?void 0:e["x-action-settings"])==null?void 0:h.exportSettings},components:{ArrayItems:P.ArrayItems},onSubmit:({exportSettings:t})=>{e["x-action-settings"].exportSettings=t==null?void 0:t.filter(o=>{var l;return(l=o==null?void 0:o.dataIndex)==null?void 0:l.length}).map(o=>({dataIndex:o.dataIndex.map(l=>{var n;return(n=l.name)!=null?n:l}),title:o.title})),m.emit("patch",{schema:{"x-uid":e["x-uid"],"x-action-settings":e["x-action-settings"]}}),m.refresh()}}}},{name:"divider",type:"divider"},{name:"delete",type:"remove",useComponentProps(){const{t:r}=I.useTranslation();return{removeParentsIfNoChildren:!0,breakRemoveOn:e=>e["x-component"]==="Space"||e["x-component"].endsWith("ActionBar"),confirm:{title:r("Delete action")}}}}]});class U extends s.Plugin{load(){return k(this,null,function*(){this.app.use(q);const e={title:"{{t('Export')}}",Component:"ExportActionInitializer",schema:{"x-align":"right","x-decorator":"ACLActionProvider","x-acl-action-props":{skipScopeCheck:!0}},useVisible:()=>s.useActionAvailable("export")},i=this.app.schemaInitializerManager.get("table:configureActions");i==null||i.add("enableActions.export",e),this.app.schemaInitializerManager.addItem("gantt:configureActions","enableActions.export",e),this.app.schemaSettingsManager.add(oe)})}}a.ExportActionInitializer=O,a.ExportDesigner=R,a.ExportPluginProvider=q,a.PluginActionExportClient=U,a.default=U,a.useExportAction=z,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/externalVersion.js
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"@formily/react": "2.3.0",
|
|
12
12
|
"@formily/shared": "2.3.2",
|
|
13
|
-
"@nocobase/client": "1.
|
|
13
|
+
"@nocobase/client": "1.4.0-alpha.0",
|
|
14
14
|
"react": "18.2.0",
|
|
15
15
|
"@formily/antd-v5": "1.1.9",
|
|
16
16
|
"react-i18next": "11.18.6",
|
|
17
17
|
"lodash": "4.17.21",
|
|
18
18
|
"antd": "5.12.8",
|
|
19
|
-
"@nocobase/server": "1.
|
|
20
|
-
"@nocobase/data-source-manager": "1.
|
|
21
|
-
"@nocobase/database": "1.
|
|
22
|
-
"@nocobase/actions": "1.
|
|
19
|
+
"@nocobase/server": "1.4.0-alpha.0",
|
|
20
|
+
"@nocobase/data-source-manager": "1.4.0-alpha.0",
|
|
21
|
+
"@nocobase/database": "1.4.0-alpha.0",
|
|
22
|
+
"@nocobase/actions": "1.4.0-alpha.0",
|
|
23
23
|
"async-mutex": "0.3.2"
|
|
24
24
|
};
|
package/dist/locale/en-US.json
CHANGED
package/dist/locale/zh-CN.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Export warning": "每次最多导出 {{limit}} 行数据,超出的将被忽略。",
|
|
3
3
|
"Start export": "开始导出",
|
|
4
|
-
"another export action is running, please try again later.": "另一导出任务正在运行,请稍后重试。"
|
|
4
|
+
"another export action is running, please try again later.": "另一导出任务正在运行,请稍后重试。",
|
|
5
|
+
"True": "是",
|
|
6
|
+
"False": "否"
|
|
5
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"xlsx","version":"0.20.2","author":"sheetjs","description":"SheetJS Spreadsheet data parser and writer","keywords":["excel","xls","xlsx","xlsb","xlsm","ods","csv","dbf","dif","sylk","office","spreadsheet"],"bin":{"xlsx":"./bin/xlsx.njs"},"main":"xlsx.js","module":"xlsx.mjs","unpkg":"dist/xlsx.full.min.js","jsdelivr":"dist/xlsx.full.min.js","types":"types/index.d.ts","exports":{".":{"import":"./xlsx.mjs","require":"./xlsx.js","types":"./types/index.d.ts"},"./xlsx.mjs":{"import":"./xlsx.mjs","types":"./types/index.d.ts"},"./xlsx.js":{"require":"./xlsx.js","types":"./types/index.d.ts"},"./dist/xlsx.core.min":{"import":"./dist/xlsx.core.min.js","require":"./dist/xlsx.core.min.js","types":"./types/index.d.ts"},"./dist/xlsx.core.min.js":{"import":"./dist/xlsx.core.min.js","require":"./dist/xlsx.core.min.js","types":"./types/index.d.ts"},"./dist/xlsx.full.min":{"import":"./dist/xlsx.full.min.js","require":"./dist/xlsx.full.min.js","types":"./types/index.d.ts"},"./dist/xlsx.full.min.js":{"import":"./dist/xlsx.full.min.js","require":"./dist/xlsx.full.min.js","types":"./types/index.d.ts"},"./dist/xlsx.mini.min":{"import":"./dist/xlsx.mini.min.js","require":"./dist/xlsx.mini.min.js","types":"./types/index.d.ts"},"./dist/xlsx.mini.min.js":{"import":"./dist/xlsx.mini.min.js","require":"./dist/xlsx.mini.min.js","types":"./types/index.d.ts"},"./dist/xlsx.zahl":{"import":"./dist/xlsx.zahl.mjs","require":"./dist/xlsx.zahl.js","types":"./dist/zahl.d.ts"},"./dist/xlsx.zahl.mjs":{"import":"./dist/xlsx.zahl.mjs","types":"./dist/zahl.d.ts"},"./dist/xlsx.zahl.js":{"require":"./dist/xlsx.zahl.js","types":"./dist/zahl.d.ts"},"./dist/cpexcel":{"import":"./dist/cpexcel.full.mjs","require":"./dist/cpexcel.js","types":"./dist/cpexcel.d.ts"},"./dist/cpexcel.js":{"require":"./dist/cpexcel.js","types":"./dist/cpexcel.d.ts"},"./dist/cpexcel.full":{"import":"./dist/cpexcel.full.mjs","require":"./dist/cpexcel.js","types":"./dist/cpexcel.d.ts"},"./dist/cpexcel.full.mjs":{"import":"./dist/cpexcel.full.mjs","types":"./dist/cpexcel.d.ts"}},"browser":{"buffer":false,"crypto":false,"stream":false,"process":false,"fs":false},"sideEffects":false,"dependencies":{},"devDependencies":{"@sheetjs/uglify-js":"~2.7.3","@types/node":"^8.5.9","acorn":"7.4.1","adler-32":"~1.3.1","alex":"8.1.1","blanket":"~1.2.3","cfb":"~1.2.2","codepage":"~1.15.0","commander":"~2.17.1","crc-32":"~1.2.2","dtslint":"^0.1.2","eslint":"7.23.0","eslint-plugin-html":"^6.1.2","eslint-plugin-json":"^2.1.2","exit-on-epipe":"~1.0.1","fflate":"^0.7.1","jsdom":"~11.1.0","markdown-spellcheck":"^1.3.1","mocha":"~2.5.3","sinon":"^1.17.7","ssf":"~0.11.2","typescript":"2.2.0","wmf":"~1.0.1","word":"~0.3.0"},"repository":{"type":"git","url":"https://git.sheetjs.com/SheetJS/sheetjs"},"scripts":{"pretest":"npm run lint","test":"npm run tests-only","pretest-only":"git submodule init && git submodule update","tests-only":"make travis","build":"make","lint":"make fullint","dtslint":"dtslint types"},"config":{"blanket":{"pattern":"xlsx.js"}},"alex":{"allow":["chinese","special","simple","just","crash","wtf","holes"]},"homepage":"https://sheetjs.com/","files":["CHANGELOG.md","LICENSE","README.md","bower.json","package.json","xlsx.js","xlsx.mjs","xlsxworker.js","bin/xlsx.njs","dist/LICENSE","dist/*.mjs","dist/*.js","dist/*.map","dist/*.d.ts","types/index.d.ts","types/tsconfig.json"],"bugs":{"url":"https://git.sheetjs.com/SheetJS/sheetjs/issues"},"license":"Apache-2.0","engines":{"node":">=0.8"},"_lastModified":"2024-11-
|
|
1
|
+
{"name":"xlsx","version":"0.20.2","author":"sheetjs","description":"SheetJS Spreadsheet data parser and writer","keywords":["excel","xls","xlsx","xlsb","xlsm","ods","csv","dbf","dif","sylk","office","spreadsheet"],"bin":{"xlsx":"./bin/xlsx.njs"},"main":"xlsx.js","module":"xlsx.mjs","unpkg":"dist/xlsx.full.min.js","jsdelivr":"dist/xlsx.full.min.js","types":"types/index.d.ts","exports":{".":{"import":"./xlsx.mjs","require":"./xlsx.js","types":"./types/index.d.ts"},"./xlsx.mjs":{"import":"./xlsx.mjs","types":"./types/index.d.ts"},"./xlsx.js":{"require":"./xlsx.js","types":"./types/index.d.ts"},"./dist/xlsx.core.min":{"import":"./dist/xlsx.core.min.js","require":"./dist/xlsx.core.min.js","types":"./types/index.d.ts"},"./dist/xlsx.core.min.js":{"import":"./dist/xlsx.core.min.js","require":"./dist/xlsx.core.min.js","types":"./types/index.d.ts"},"./dist/xlsx.full.min":{"import":"./dist/xlsx.full.min.js","require":"./dist/xlsx.full.min.js","types":"./types/index.d.ts"},"./dist/xlsx.full.min.js":{"import":"./dist/xlsx.full.min.js","require":"./dist/xlsx.full.min.js","types":"./types/index.d.ts"},"./dist/xlsx.mini.min":{"import":"./dist/xlsx.mini.min.js","require":"./dist/xlsx.mini.min.js","types":"./types/index.d.ts"},"./dist/xlsx.mini.min.js":{"import":"./dist/xlsx.mini.min.js","require":"./dist/xlsx.mini.min.js","types":"./types/index.d.ts"},"./dist/xlsx.zahl":{"import":"./dist/xlsx.zahl.mjs","require":"./dist/xlsx.zahl.js","types":"./dist/zahl.d.ts"},"./dist/xlsx.zahl.mjs":{"import":"./dist/xlsx.zahl.mjs","types":"./dist/zahl.d.ts"},"./dist/xlsx.zahl.js":{"require":"./dist/xlsx.zahl.js","types":"./dist/zahl.d.ts"},"./dist/cpexcel":{"import":"./dist/cpexcel.full.mjs","require":"./dist/cpexcel.js","types":"./dist/cpexcel.d.ts"},"./dist/cpexcel.js":{"require":"./dist/cpexcel.js","types":"./dist/cpexcel.d.ts"},"./dist/cpexcel.full":{"import":"./dist/cpexcel.full.mjs","require":"./dist/cpexcel.js","types":"./dist/cpexcel.d.ts"},"./dist/cpexcel.full.mjs":{"import":"./dist/cpexcel.full.mjs","types":"./dist/cpexcel.d.ts"}},"browser":{"buffer":false,"crypto":false,"stream":false,"process":false,"fs":false},"sideEffects":false,"dependencies":{},"devDependencies":{"@sheetjs/uglify-js":"~2.7.3","@types/node":"^8.5.9","acorn":"7.4.1","adler-32":"~1.3.1","alex":"8.1.1","blanket":"~1.2.3","cfb":"~1.2.2","codepage":"~1.15.0","commander":"~2.17.1","crc-32":"~1.2.2","dtslint":"^0.1.2","eslint":"7.23.0","eslint-plugin-html":"^6.1.2","eslint-plugin-json":"^2.1.2","exit-on-epipe":"~1.0.1","fflate":"^0.7.1","jsdom":"~11.1.0","markdown-spellcheck":"^1.3.1","mocha":"~2.5.3","sinon":"^1.17.7","ssf":"~0.11.2","typescript":"2.2.0","wmf":"~1.0.1","word":"~0.3.0"},"repository":{"type":"git","url":"https://git.sheetjs.com/SheetJS/sheetjs"},"scripts":{"pretest":"npm run lint","test":"npm run tests-only","pretest-only":"git submodule init && git submodule update","tests-only":"make travis","build":"make","lint":"make fullint","dtslint":"dtslint types"},"config":{"blanket":{"pattern":"xlsx.js"}},"alex":{"allow":["chinese","special","simple","just","crash","wtf","holes"]},"homepage":"https://sheetjs.com/","files":["CHANGELOG.md","LICENSE","README.md","bower.json","package.json","xlsx.js","xlsx.mjs","xlsxworker.js","bin/xlsx.njs","dist/LICENSE","dist/*.mjs","dist/*.js","dist/*.map","dist/*.d.ts","types/index.d.ts","types/tsconfig.json"],"bugs":{"url":"https://git.sheetjs.com/SheetJS/sheetjs/issues"},"license":"Apache-2.0","engines":{"node":">=0.8"},"_lastModified":"2024-11-06T06:24:40.155Z"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "操作:导出记录",
|
|
5
5
|
"description": "Export filtered records to excel, you can configure which fields to export.",
|
|
6
6
|
"description.zh-CN": "导出筛选后的记录到 Excel 中,可以配置导出哪些字段。",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.4.0-alpha.0",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"homepage": "https://docs.nocobase.com/handbook/action-export",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@nocobase/test": "1.x",
|
|
30
30
|
"@nocobase/utils": "1.x"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "8ffa7b54bbaf720c0c9857da4b19a99110dffc4b",
|
|
33
33
|
"keywords": [
|
|
34
34
|
"Actions"
|
|
35
35
|
]
|
|
File without changes
|