@nocobase/plugin-action-export 1.5.0-beta.1 → 1.5.0-beta.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
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
(function(
|
|
10
|
+
(function(s,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):(s=typeof globalThis!="undefined"?globalThis:s||self,d(s["@nocobase/plugin-action-export"]={},s.jsxRuntime,s["@formily/shared"],s["@nocobase/client"],s["@formily/react"],s["@formily/antd-v5"],s.react,s["react-i18next"],s.lodash,s.antd))})(this,function(s,d,x,a,y,P,E,w,b,C){"use strict";var se=Object.defineProperty;var Q=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable;var Z=(s,d,x)=>d in s?se(s,d,{enumerable:!0,configurable:!0,writable:!0,value:x}):s[d]=x,$=(s,d)=>{for(var x in d||(d={}))ie.call(d,x)&&Z(s,x,d[x]);if(Q)for(var x of Q(d))ce.call(d,x)&&Z(s,x,d[x]);return s};var L=(s,d,x)=>new Promise((a,y)=>{var P=b=>{try{w(x.next(b))}catch(C){y(C)}},E=b=>{try{w(x.throw(b))}catch(C){y(C)}},w=b=>b.done?a(b.value):Promise.resolve(b.value).then(P,E);w((x=x.apply(s,d)).next())});const B=r=>{var u;const e=y.useFieldSchema();(u=e==null?void 0:e["x-component-props"])!=null&&u.nonfilterable;const{getCollectionFields:i}=a.useCollectionManager_deprecated(),m=i(r),f=(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 c=i(p.target),n=v(c,h+1).filter(Boolean);t.children=t.children||[],t.children.push(...n)}return t},v=(p,h)=>{const t=[];return p.forEach(o=>{const c=f(o,h);c&&t.push(c)}),t};return v(m,1)},ee=r=>r==null?void 0:r.filter(i=>!i.children).map(i=>({dataIndex:[i.name]})),O=()=>{const r=a.useSchemaInitializerItem(),{insert:e}=a.useSchemaInitializer(),{name:i}=a.useCollection_deprecated(),m=B(i),f={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(a.SchemaInitializerItem,{title:r.title,onClick:()=>{var u;f["x-action-settings"].exportSettings=ee(m);const v=x.merge(f||{},r.schema||{});(u=r==null?void 0:r.schemaInitialize)==null||u.call(r,v),e(v)}})},D=()=>{const{name:r}=a.useCollection_deprecated(),e=B(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:a.css`
|
|
11
11
|
width: 100%;
|
|
12
12
|
& .ant-space-item:nth-child(2),
|
|
13
13
|
& .ant-space-item:nth-child(3) {
|
|
14
14
|
flex: 1;
|
|
15
15
|
}
|
|
16
|
-
`},properties:{sort:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.SortHandle"},dataIndex:{type:"array","x-decorator":"FormItem","x-component":
|
|
16
|
+
`},properties:{sort:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.SortHandle"},dataIndex:{type:"array","x-decorator":"FormItem","x-component":a.Cascader,required:!0,enum:e,"x-component-props":{fieldNames:{label:"title",value:"name",children:"children"},changeOnSelect:!1}},title:{type:"string","x-decorator":"FormItem","x-component":"Input","x-component-props":{placeholder:'{{ t("Custom column title") }}'}},remove:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.Remove"}}}}},properties:{add:{type:"void",title:'{{ t("Add exportable field") }}',"x-component":"ArrayItems.Addition","x-component-props":{className:a.css`
|
|
17
17
|
border-color: var(--colorSettings);
|
|
18
18
|
color: var(--colorSettings);
|
|
19
19
|
&.ant-btn-dashed:hover {
|
|
20
20
|
border-color: var(--colorSettings);
|
|
21
21
|
color: var(--colorSettings);
|
|
22
22
|
}
|
|
23
|
-
`}}}}}}}},
|
|
23
|
+
`}}}}}}}},te="action-export";function R(){return w.useTranslation([te,"client"],{nsMode:"fallback"})}const q=()=>{var p,h,t,o,c;const r=y.useField(),e=y.useFieldSchema(),{t:i}=R(),{dn:m}=a.useDesignable(),[f,v]=E.useState(),{schema:u}=D();return E.useEffect(()=>{v(u)},[r.address,(p=e==null?void 0:e["x-action-settings"])==null?void 0:p.exportSettings]),d.jsxs(a.GeneralSchemaDesigner,{disableInitializer:!0,children:[d.jsx(a.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:l,type:g})=>{e.title=n,r.title=n,r.componentProps.icon=l,r.componentProps.danger=g==="danger",r.componentProps.type=g,e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].icon=l,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":$({},e["x-component-props"])}}),m.refresh()}}),d.jsx(a.SchemaSettingsActionModalItem,{title:i("Exportable fields"),schema:f,initialValues:{exportSettings:(c=e==null?void 0:e["x-action-settings"])==null?void 0:c.exportSettings},scope:{t:i},components:{ArrayItems:P.ArrayItems},onSubmit:({exportSettings:n})=>{e["x-action-settings"].exportSettings=n==null?void 0:n.filter(l=>{var g;return(g=l==null?void 0:l.dataIndex)==null?void 0:g.length}).map(l=>({dataIndex:l.dataIndex.map(g=>{var I;return(I=g.name)!=null?I:g}),title:l.title})),m.emit("patch",{schema:{"x-uid":e["x-uid"],"x-action-settings":e["x-action-settings"]}}),m.refresh()}}),d.jsx(a.SchemaSettingsDivider,{}),d.jsx(a.SchemaSettingsRemove,{removeParentsIfNoChildren:!0,breakRemoveOn:n=>n["x-component"]==="Space"||n["x-component"].endsWith("ActionBar"),confirm:{title:i("Delete action")}})]})},_=r=>d.jsx(a.SchemaComponentOptions,{components:{ExportActionInitializer:O,ExportDesigner:q},scope:{useExportAction:U},children:r.children});var T=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={exports:{}};(function(r,e){(function(i,m){m()})(T,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,c){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){h(n.response,o,c)},n.onerror=function(){console.error("could not download file")},n.send()}function f(t){var o=new XMLHttpRequest;o.open("HEAD",t,!1);try{o.send()}catch(c){}return 200<=o.status&&299>=o.status}function v(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(c){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,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,c){var n=u.URL||u.webkitURL,l=document.createElement("a");o=o||t.name||"download",l.download=o,l.rel="noopener",typeof t=="string"?(l.href=t,l.origin===location.origin?v(l):f(l.href)?m(t,o,c):v(l,l.target="_blank")):(l.href=n.createObjectURL(t),setTimeout(function(){n.revokeObjectURL(l.href)},4e4),setTimeout(function(){v(l)},0))}:"msSaveOrOpenBlob"in navigator?function(t,o,c){if(o=o||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(i(t,c),o);else if(f(t))m(t,o,c);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){v(n)})}}:function(t,o,c,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return m(t,o,c);var l=t.type==="application/octet-stream",g=/constructor/i.test(u.HTMLElement)||u.safari,I=/CriOS\/[\d]+/.test(navigator.userAgent);if((I||l&&g||p)&&typeof FileReader!="undefined"){var F=new FileReader;F.onloadend=function(){var A=F.result;A=I?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=A:location=A,n=null},F.readAsDataURL(t)}else{var j=u.URL||u.webkitURL,k=j.createObjectURL(t);n?n.location=k:location.href=k,n=null,setTimeout(function(){j.revokeObjectURL(k)},4e4)}});u.saveAs=h.saveAs=h,r.exports=h})})(z);var oe=z.exports;const U=()=>{var F,j;const{service:r,resource:e,props:i}=a.useBlockRequestContext(),m=a.useDataBlockResource(),f=a.useCurrentAppInfo(),v=i==null?void 0:i.params.filter,u=y.useFieldSchema(),p=a.useCompile(),{getCollectionJoinField:h}=a.useCollectionManager_deprecated(),{name:t,title:o}=a.useCollection_deprecated(),{t:c}=R(),{modal:n}=C.App.useApp(),l=((j=(F=r.params)==null?void 0:F[1])==null?void 0:j.filters)||{},g=y.useField(),I=E.useMemo(()=>{var A;return(A=f==null?void 0:f.data)!=null&&A.exportLimit?f.data.exportLimit:2e3},[f]);return{onClick(){return L(this,null,function*(){var G,W,V,X;if(g.data=g.data||{},!(yield n.confirm({title:c("Export"),content:c("Export warning",{limit:I}),okText:c("Start export")})))return;g.data.loading=!0;const{exportSettings:N}=b.cloneDeep((G=u==null?void 0:u["x-action-settings"])!=null?G:{});N.forEach(M=>{var J,K;const{uiSchema:S,interface:pe}=(J=h(`${t}.${M.dataIndex.join(".")}`))!=null?J:{};M.enum=(K=S==null?void 0:S.enum)==null?void 0:K.map(Y=>({value:Y.value,label:Y.label})),!M.enum&&(S==null?void 0:S.type)==="boolean"&&(M.enum=[{value:!0,label:c("Yes")},{value:!1,label:c("No")}]),M.defaultTitle=S==null?void 0:S.title});const{data:re}=yield m.export({title:p(o),appends:(V=(W=r.params[0])==null?void 0:W.appends)==null?void 0:V.join(),filter:a.mergeFilter([...Object.values(l),v]),sort:(X=r.params[0])==null?void 0:X.sort,values:{columns:p(N)}},{responseType:"blob"}),ae=new Blob([re],{type:"application/x-xls"});g.data.loading=!1,oe.saveAs(ae,`${p(o)}.xlsx`)})}}},ne=new a.SchemaSettings({name:"actionSettings:export",items:[{name:"editButton",Component:a.ButtonEditor,useComponentProps(){const{buttonEditorProps:r}=a.useSchemaToolbar();return r}},{name:"exportableFields",type:"actionModal",useComponentProps(){var p,h;const r=y.useField(),e=y.useFieldSchema(),{t:i}=w.useTranslation(),{dn:m}=a.useDesignable(),[f,v]=E.useState(),{schema:u}=D();return E.useEffect(()=>{v(u)},[r.address,(p=e==null?void 0:e["x-action-settings"])==null?void 0:p.exportSettings]),{title:i("Exportable fields"),schema:f,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 c;return(c=o==null?void 0:o.dataIndex)==null?void 0:c.length}).map(o=>({dataIndex:o.dataIndex.map(c=>{var n;return(n=c.name)!=null?n:c}),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}=w.useTranslation();return{removeParentsIfNoChildren:!0,breakRemoveOn:e=>e["x-component"]==="Space"||e["x-component"].endsWith("ActionBar"),confirm:{title:r("Delete action")}}}}]});class H extends a.Plugin{load(){return L(this,null,function*(){this.app.use(_);const e={title:"{{t('Export')}}",Component:"ExportActionInitializer",schema:{"x-align":"right","x-decorator":"ACLActionProvider","x-acl-action-props":{skipScopeCheck:!0}},useVisible:()=>a.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(ne)})}}s.ExportActionInitializer=O,s.ExportDesigner=q,s.ExportPluginProvider=_,s.PluginActionExportClient=H,s.default=H,s.useExportAction=U,Object.defineProperties(s,{__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.5.0-beta.
|
|
13
|
+
"@nocobase/client": "1.5.0-beta.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.5.0-beta.
|
|
20
|
-
"@nocobase/data-source-manager": "1.5.0-beta.
|
|
21
|
-
"@nocobase/database": "1.5.0-beta.
|
|
22
|
-
"@nocobase/actions": "1.5.0-beta.
|
|
19
|
+
"@nocobase/server": "1.5.0-beta.3",
|
|
20
|
+
"@nocobase/data-source-manager": "1.5.0-beta.3",
|
|
21
|
+
"@nocobase/database": "1.5.0-beta.3",
|
|
22
|
+
"@nocobase/actions": "1.5.0-beta.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-12-
|
|
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-12-10T07:14:26.570Z"}
|
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.5.0-beta.
|
|
7
|
+
"version": "1.5.0-beta.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": "81afcf4affdb652faf4636e6d9351828ce8906be",
|
|
33
33
|
"keywords": [
|
|
34
34
|
"Actions"
|
|
35
35
|
]
|