@nocobase/plugin-action-export 1.0.1-alpha.1 → 1.0.1-alpha.3
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
|
@@ -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 l,h,t,o,p;const r=y.useField(),e=y.useFieldSchema(),{t:s}=D(),{dn:m}=i.useDesignable(),[v,x]=w.useState(),{schema:u}=O();return w.useEffect(()=>{x(u)},[r.address,(l=e==null?void 0:e["x-action-settings"])==null?void 0:l.exportSettings]),d.jsxs(i.GeneralSchemaDesigner,{disableInitializer:!0,children:[d.jsx(i.SchemaSettingsModalItem,{title:s("Edit button"),schema:{type:"object",title:s("Edit button"),properties:{title:{"x-decorator":"FormItem","x-component":"Input",title:s("Button title"),default:e.title,"x-component-props":{}},icon:{"x-decorator":"FormItem","x-component":"IconPicker",title:s("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:s("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(i.SchemaSettingsActionModalItem,{title:s("Exportable fields"),schema:v,initialValues:{exportSettings:(p=e==null?void 0:e["x-action-settings"])==null?void 0:p.exportSettings},scope:{t:s},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 A;return(A=g.name)!=null?A:g}),title:c.title})),m.emit("patch",{schema:{"x-uid":e["x-uid"],"x-action-settings":e["x-action-settings"]}}),m.refresh()}}),d.jsx(i.SchemaSettingsDivider,{}),d.jsx(i.SchemaSettingsRemove,{removeParentsIfNoChildren:!0,breakRemoveOn:n=>n["x-component"]==="Space"||n["x-component"].endsWith("ActionBar"),confirm:{title:s("Delete action")}})]})},q=r=>d.jsx(i.SchemaComponentOptions,{components:{ExportActionInitializer:B,ExportDesigner:R},scope:{useExportAction:z},children:r.children});var T=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_={exports:{}};(function(r,e){(function(s,m){m()})(T,function(){function s(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,p){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){h(n.response,o,p)},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(p){}return 200<=o.status&&299>=o.status}function x(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(p){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 T=="object"&&T.global===T?T:void 0,l=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&&!l?function(t,o,p){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,p):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,p){if(o=o||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(s(t,p),o);else if(v(t))m(t,o,p);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){x(n)})}}:function(t,o,p,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return m(t,o,p);var c=t.type==="application/octet-stream",g=/constructor/i.test(u.HTMLElement)||u.safari,A=/CriOS\/[\d]+/.test(navigator.userAgent);if((A||c&&g||l)&&typeof FileReader!="undefined"){var C=new FileReader;C.onloadend=function(){var E=C.result;E=A?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 A,C;const{service:r,resource:e,props:s}=i.useBlockRequestContext(),m=i.useCurrentAppInfo(),v=s==null?void 0:s.params.filter,x=y.useFieldSchema(),u=i.useCompile(),{getCollectionJoinField:l}=i.useCollectionManager_deprecated(),{name:h,title:t}=i.useCollection_deprecated(),{t:o}=D(),{modal:p}=j.App.useApp(),n=((C=(A=r.params)==null?void 0:A[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,X;if(c.data=c.data||{}
|
|
23
|
+
`}}}}}}}},ee="action-export";function D(){return I.useTranslation([ee,"client"],{nsMode:"fallback"})}const R=()=>{var l,h,t,o,p;const r=y.useField(),e=y.useFieldSchema(),{t:s}=D(),{dn:m}=i.useDesignable(),[v,x]=w.useState(),{schema:u}=O();return w.useEffect(()=>{x(u)},[r.address,(l=e==null?void 0:e["x-action-settings"])==null?void 0:l.exportSettings]),d.jsxs(i.GeneralSchemaDesigner,{disableInitializer:!0,children:[d.jsx(i.SchemaSettingsModalItem,{title:s("Edit button"),schema:{type:"object",title:s("Edit button"),properties:{title:{"x-decorator":"FormItem","x-component":"Input",title:s("Button title"),default:e.title,"x-component-props":{}},icon:{"x-decorator":"FormItem","x-component":"IconPicker",title:s("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:s("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(i.SchemaSettingsActionModalItem,{title:s("Exportable fields"),schema:v,initialValues:{exportSettings:(p=e==null?void 0:e["x-action-settings"])==null?void 0:p.exportSettings},scope:{t:s},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 A;return(A=g.name)!=null?A:g}),title:c.title})),m.emit("patch",{schema:{"x-uid":e["x-uid"],"x-action-settings":e["x-action-settings"]}}),m.refresh()}}),d.jsx(i.SchemaSettingsDivider,{}),d.jsx(i.SchemaSettingsRemove,{removeParentsIfNoChildren:!0,breakRemoveOn:n=>n["x-component"]==="Space"||n["x-component"].endsWith("ActionBar"),confirm:{title:s("Delete action")}})]})},q=r=>d.jsx(i.SchemaComponentOptions,{components:{ExportActionInitializer:B,ExportDesigner:R},scope:{useExportAction:z},children:r.children});var T=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_={exports:{}};(function(r,e){(function(s,m){m()})(T,function(){function s(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,p){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){h(n.response,o,p)},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(p){}return 200<=o.status&&299>=o.status}function x(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(p){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 T=="object"&&T.global===T?T:void 0,l=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&&!l?function(t,o,p){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,p):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,p){if(o=o||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(s(t,p),o);else if(v(t))m(t,o,p);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){x(n)})}}:function(t,o,p,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return m(t,o,p);var c=t.type==="application/octet-stream",g=/constructor/i.test(u.HTMLElement)||u.safari,A=/CriOS\/[\d]+/.test(navigator.userAgent);if((A||c&&g||l)&&typeof FileReader!="undefined"){var C=new FileReader;C.onloadend=function(){var E=C.result;E=A?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 A,C;const{service:r,resource:e,props:s}=i.useBlockRequestContext(),m=i.useCurrentAppInfo(),v=s==null?void 0:s.params.filter,x=y.useFieldSchema(),u=i.useCompile(),{getCollectionJoinField:l}=i.useCollectionManager_deprecated(),{name:h,title:t}=i.useCollection_deprecated(),{t:o}=D(),{modal:p}=j.App.useApp(),n=((C=(A=r.params)==null?void 0:A[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,X;if(c.data=c.data||{},!(yield p.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 J,K;const{uiSchema:S,interface:ce}=(J=l(`${h}.${M.dataIndex.join(".")}`))!=null?J:{};M.enum=(K=S==null?void 0:S.enum)==null?void 0:K.map(V=>({value:V.value,label:V.label})),!M.enum&&(S==null?void 0:S.type)==="boolean"&&(M.enum=[{value:!0,label:o("Yes")},{value:!1,label:o("No")}]),M.defaultTitle=S==null?void 0:S.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:i.mergeFilter([...Object.values(n),v]),sort:(X=r.params[0])==null?void 0:X.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 i.SchemaSettings({name:"actionSettings:export",items:[{name:"editButton",Component:i.ButtonEditor,useComponentProps(){const{buttonEditorProps:r}=i.useSchemaToolbar();return r}},{name:"exportableFields",type:"actionModal",useComponentProps(){var l,h;const r=y.useField(),e=y.useFieldSchema(),{t:s}=I.useTranslation(),{dn:m}=i.useDesignable(),[v,x]=w.useState(),{schema:u}=O();return w.useEffect(()=>{x(u)},[r.address,(l=e==null?void 0:e["x-action-settings"])==null?void 0:l.exportSettings]),{title:s("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 p;return(p=o==null?void 0:o.dataIndex)==null?void 0:p.length}).map(o=>({dataIndex:o.dataIndex.map(p=>{var n;return(n=p.name)!=null?n:p}),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 i.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}}},s=this.app.schemaInitializerManager.get("table:configureActions");s==null||s.add("enableActions.export",e),this.app.schemaInitializerManager.addItem("gantt:configureActions","enableActions.export",e),this.app.schemaSettingsManager.add(oe)})}}a.ExportActionInitializer=B,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.0",
|
|
13
|
-
"@nocobase/client": "1.0.1-alpha.
|
|
13
|
+
"@nocobase/client": "1.0.1-alpha.3",
|
|
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.0.1-alpha.
|
|
20
|
-
"@nocobase/data-source-manager": "1.0.1-alpha.
|
|
21
|
-
"@nocobase/actions": "1.0.1-alpha.
|
|
22
|
-
"@nocobase/database": "1.0.1-alpha.
|
|
19
|
+
"@nocobase/server": "1.0.1-alpha.3",
|
|
20
|
+
"@nocobase/data-source-manager": "1.0.1-alpha.3",
|
|
21
|
+
"@nocobase/actions": "1.0.1-alpha.3",
|
|
22
|
+
"@nocobase/database": "1.0.1-alpha.3",
|
|
23
23
|
"async-mutex": "0.3.2"
|
|
24
24
|
};
|
|
@@ -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-06-
|
|
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-06-12T00:04:52.269Z"}
|
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.0.1-alpha.
|
|
7
|
+
"version": "1.0.1-alpha.3",
|
|
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": "3b2628db4eaea8973d5364e0674850591e156211",
|
|
33
33
|
"keywords": [
|
|
34
34
|
"Actions"
|
|
35
35
|
]
|