@nocobase/plugin-action-print 1.0.0-alpha.2 → 1.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { SchemaSettings } from '@nocobase/client';
2
10
  /**
3
11
  * @deprecated
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  export declare const PrintActionInitializer: (props: any) => React.JSX.Element;
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  export declare const PrintActionPluginProvider: (props: any) => React.JSX.Element;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { Plugin } from '@nocobase/client';
2
10
  export declare class PluginActionPrintClient extends Plugin {
3
11
  load(): Promise<void>;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
1
10
  (function(he,Y){typeof exports=="object"&&typeof module!="undefined"?Y(exports,require("@nocobase/client"),require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","@nocobase/client","react/jsx-runtime","react"],Y):(he=typeof globalThis!="undefined"?globalThis:he||self,Y(he["@nocobase/plugin-action-print"]={},he["@nocobase/client"],he.jsxRuntime,he.react))})(this,function(he,Y,Le,Kr){"use strict";var Vf=Object.defineProperty,Wf=Object.defineProperties;var Hf=Object.getOwnPropertyDescriptors;var Fa=Object.getOwnPropertySymbols;var Qf=Object.prototype.hasOwnProperty,$f=Object.prototype.propertyIsEnumerable;var Aa=(he,Y,Le)=>Y in he?Vf(he,Y,{enumerable:!0,configurable:!0,writable:!0,value:Le}):he[Y]=Le,$i=(he,Y)=>{for(var Le in Y||(Y={}))Qf.call(Y,Le)&&Aa(he,Le,Y[Le]);if(Fa)for(var Le of Fa(Y))$f.call(Y,Le)&&Aa(he,Le,Y[Le]);return he},Ki=(he,Y)=>Wf(he,Hf(Y));var Yi=(he,Y,Le)=>new Promise((Kr,ir)=>{var to=$n=>{try{ur(Le.next($n))}catch(Ft){ir(Ft)}},ro=$n=>{try{ur(Le.throw($n))}catch(Ft){ir(Ft)}},ur=$n=>$n.done?Kr($n.value):Promise.resolve($n.value).then(to,ro);ur((Le=Le.apply(he,Y)).next())});const ir=[{name:"Customize",Component:F=>F.children,children:[{name:"editButton",Component:Y.ActionDesigner.ButtonEditor,useComponentProps(){const{buttonEditorProps:F}=Y.useSchemaToolbar();return F}},{name:"linkageRules",Component:Y.SchemaSettingsLinkageRules,useComponentProps(){const{name:F}=Y.useCollection_deprecated(),{linkageRulesProps:J}=Y.useSchemaToolbar();return Ki($i({},J),{collectionName:F})}},{name:"remove",sort:100,Component:Y.ActionDesigner.RemoveButton,useComponentProps(){const{removeButtonProps:F}=Y.useSchemaToolbar();return F}}]}],to=new Y.SchemaSettings({name:"ActionSettings:print",items:ir}),ro=new Y.SchemaSettings({name:"actionSettings:print",items:ir}),ur=F=>{const J={title:'{{ t("Print") }}',"x-action":"print","x-component":"Action","x-use-component-props":"useDetailPrintActionProps","x-component-props":{icon:"PrinterOutlined"}};return Le.jsx(Y.ActionInitializer,Ki($i({},F),{schema:J}))};var $n=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ft={exports:{}},lo={exports:{}},rn={},oo={exports:{}},io={};/**
2
11
  * @license React
3
12
  * scheduler.production.min.js
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  export declare const useDetailPrintActionProps: () => {
2
10
  onClick(): Promise<void>;
3
11
  };
@@ -1,6 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
1
10
  module.exports = {
2
- "@nocobase/client": "1.0.0-alpha.2",
11
+ "@nocobase/client": "1.0.0-alpha.4",
3
12
  "react": "18.2.0",
4
- "@nocobase/server": "1.0.0-alpha.2",
5
- "@nocobase/test": "1.0.0-alpha.2"
13
+ "@nocobase/server": "1.0.0-alpha.4",
14
+ "@nocobase/test": "1.0.0-alpha.4"
6
15
  };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  export * from './server';
2
10
  export { default } from './server';
package/dist/index.js CHANGED
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
1
10
  var __create = Object.create;
2
11
  var __defProp = Object.defineProperty;
3
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1 +1,9 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  export { default } from './plugin';
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
1
10
  var __create = Object.create;
2
11
  var __defProp = Object.defineProperty;
3
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { InstallOptions, Plugin } from '@nocobase/server';
2
10
  export declare class PluginActionPrintServer extends Plugin {
3
11
  afterAdd(): void;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
1
10
  var __defProp = Object.defineProperty;
2
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
12
  var __getOwnPropNames = Object.getOwnPropertyNames;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-action-print",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.4",
4
4
  "main": "dist/server/index.js",
5
5
  "homepage": "https://docs.nocobase.com/handbook/action-print",
6
6
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/action-print",
@@ -14,7 +14,7 @@
14
14
  "@nocobase/server": "1.x",
15
15
  "@nocobase/test": "1.x"
16
16
  },
17
- "gitHead": "f89dbc9e67d58404a2e484a5e124f739f340dcf8",
17
+ "gitHead": "7a7005ce3bddf33498580a6486c45b5d9ea64ffb",
18
18
  "keywords": [
19
19
  "Actions"
20
20
  ]