@nocobase/plugin-user-data-sync 1.6.0-beta.8 → 1.7.0-alpha.1
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/LICENSE.txt +5 -5
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +7 -7
- package/dist/locale/it-IT.json +21 -0
- package/package.json +2 -2
package/LICENSE.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Updated Date: February
|
|
1
|
+
Updated Date: February 20, 2025
|
|
2
2
|
|
|
3
3
|
NocoBase License Agreement
|
|
4
4
|
|
|
@@ -88,7 +88,7 @@ Except for Third-Party Open Source Software, the Company owns all copyrights, tr
|
|
|
88
88
|
|
|
89
89
|
6.6 Can sell plugins developed for Software in the Marketplace.
|
|
90
90
|
|
|
91
|
-
6.7 The User with
|
|
91
|
+
6.7 The User with an Enterprise Edition License can sell Upper Layer Application to their clients.
|
|
92
92
|
|
|
93
93
|
6.8 Not restricted by the AGPL-3.0 agreement.
|
|
94
94
|
|
|
@@ -106,9 +106,9 @@ Except for Third-Party Open Source Software, the Company owns all copyrights, tr
|
|
|
106
106
|
|
|
107
107
|
7.4 It is not allowed to provide any form of no-code, zero-code, low-code platform SaaS products to the public using the original or modified Software.
|
|
108
108
|
|
|
109
|
-
7.5 It is not allowed for the User
|
|
109
|
+
7.5 It is not allowed for the User withot an Enterprise Edition license to sell Upper Layer Application to clients without a Commercial license.
|
|
110
110
|
|
|
111
|
-
7.6 It is not allowed for the User with
|
|
111
|
+
7.6 It is not allowed for the User with an Enterprise Edition license to sell Upper Layer Application to clients without a Commercial license with access to further development and configuration.
|
|
112
112
|
|
|
113
113
|
7.7 It is not allowed to publicly sell plugins developed for Software outside of the Marketplace.
|
|
114
114
|
|
|
@@ -126,7 +126,7 @@ Except for Third-Party Open Source Software, the Company owns all copyrights, tr
|
|
|
126
126
|
|
|
127
127
|
8.3 Can be used for commercial purposes without restrictions on the number of applications or users.
|
|
128
128
|
|
|
129
|
-
8.4 The User with
|
|
129
|
+
8.4 The User with an Enterprise Edition License can use the Commercial Plugin in Upper Layer Applications sold to their customers.
|
|
130
130
|
|
|
131
131
|
8.5 Not restricted by the AGPL-3.0 agreement.
|
|
132
132
|
|
package/dist/client/index.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react-i18next"),require("@nocobase/utils/client"),require("@
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react-i18next"),require("@nocobase/utils/client"),require("@nocobase/client"),require("@formily/core"),require("antd"),require("@ant-design/icons"),require("@formily/react"),require("react")):"function"==typeof define&&define.amd?define("@nocobase/plugin-user-data-sync",["react-i18next","@nocobase/utils/client","@nocobase/client","@formily/core","antd","@ant-design/icons","@formily/react","react"],t):"object"==typeof exports?exports["@nocobase/plugin-user-data-sync"]=t(require("react-i18next"),require("@nocobase/utils/client"),require("@nocobase/client"),require("@formily/core"),require("antd"),require("@ant-design/icons"),require("@formily/react"),require("react")):e["@nocobase/plugin-user-data-sync"]=t(e["react-i18next"],e["@nocobase/utils/client"],e["@nocobase/client"],e["@formily/core"],e.antd,e["@ant-design/icons"],e["@formily/react"],e.react)}(self,function(e,t,n,r,o,i,u,c){return function(){var a,s,l,f,p,d,y={60:function(e,t,n){"use strict";n.r(t),n.d(t,{PluginUserDataSyncClient:function(){return b}});var r=n(772),o=n(584),i=n(573),u=n(581);function c(e,t,n,r,o,i,u){try{var c=e[i](u),a=c.value}catch(e){n(e);return}c.done?t(a):Promise.resolve(a).then(r,o)}function a(e,t,n){return(a=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&f(o,n.prototype),o}).apply(null,arguments)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){var n;if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return a(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)})(e)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}var y=(0,r.lazy)(function(){return u("imported_-1c4lqme_component",n.e("157").then(n.bind(n,700)))},"UserDataSyncSource").UserDataSyncSource,b=function(e){var t,n,r;function u(){var e,t,n,r,i,c,a;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,u),t=this,n=u,r=arguments,n=l(n),i=e=function(e,t){return t&&("object"===function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(t)||"function"==typeof t)?t:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,d()?Reflect.construct(n,r||[],l(t).constructor):n.apply(t,r)),c="sourceTypes",a=new o.Registry,c in i?Object.defineProperty(i,c,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[c]=a,e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(u,e),t=u,n=[{key:"registerType",value:function(e,t){this.sourceTypes.register(e,t)}},{key:"load",value:function(){var e,t=this;return(e=function(){return function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,function(e){return t.app.pluginSettingsManager.add("users-permissions.sync",{title:(0,o.tval)("Synchronize",{ns:i.A}),icon:"SyncOutlined",Component:y,sort:99,aclSnippet:"pm.user-data-sync"}),[2]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(e){c(i,r,o,u,a,"next",e)}function a(e){c(i,r,o,u,a,"throw",e)}u(void 0)})})()}}],s(t.prototype,n),u}(p(r.Plugin));t.default=b},573:function(e,t,n){"use strict";n.d(t,{A:function(){return o},S:function(){return i}});var r=n(238),o="user-data-sync";function i(){return(0,r.useTranslation)([o,"client"],{nsMode:"fallback"})}},581:function(e){e.exports=function(e,t){return"undefined"!=typeof __deoptimization_sideEffect__&&__deoptimization_sideEffect__(e,t),t}},482:function(e){"use strict";e.exports=i},563:function(e){"use strict";e.exports=r},505:function(e){"use strict";e.exports=u},772:function(e){"use strict";e.exports=n},584:function(e){"use strict";e.exports=t},721:function(e){"use strict";e.exports=o},156:function(e){"use strict";e.exports=c},238:function(t){"use strict";t.exports=e}},b={};function h(e){var t=b[e];if(void 0!==t)return t.exports;var n=b[e]={exports:{}};return y[e](n,n.exports,h),n.exports}return h.m=y,h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,n){return h.f[n](e,t),t},[]))},h.u=function(e){return"4dfc6081fd6cc6eb.js"},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a={},s="@nocobase/plugin-user-data-sync:",h.l=function(e,t,n,r){if(a[e]){a[e].push(t);return}if(void 0!==n){for(var o,i,u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var l=u[c];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==s+n){o=l;break}}}!o&&(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,h.nc&&o.setAttribute("nonce",h.nc),o.setAttribute("data-webpack",s+n),o.src=e),a[e]=[t];var f=function(t,n){o.onerror=o.onload=null,clearTimeout(p);var r=a[e];if(delete a[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),i&&document.head.appendChild(o)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.p=(!(l=window.__nocobase_public_path__||"/").endsWith("/")&&(l+="/"),l+"static/plugins/@nocobase/plugin-user-data-sync/dist/client/"),f={909:0},h.f.j=function(e,t){var n=h.o(f,e)?f[e]:void 0;if(0!==n){if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=f[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.u(e),i=Error();h.l(o,function(t){if(h.o(f,e)&&(0!==(n=f[e])&&(f[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}}},p=function(e,t){var n=t[0],r=t[1],o=t[2],i,u,c=0;if(n.some(function(e){return 0!==f[e]})){for(i in r)h.o(r,i)&&(h.m[i]=r[i]);o&&o(h)}for(e&&e(t);c<n.length;c++)u=n[c],h.o(f,u)&&f[u]&&f[u][0](),f[u]=0},(d=self.webpackChunk_nocobase_plugin_user_data_sync=self.webpackChunk_nocobase_plugin_user_data_sync||[]).forEach(p.bind(null,0)),d.push=p.bind(null,d.push.bind(d)),h("60")}()});
|
package/dist/externalVersion.js
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"react": "18.2.0",
|
|
12
12
|
"@formily/react": "2.3.0",
|
|
13
|
-
"@nocobase/client": "1.
|
|
14
|
-
"@ant-design/icons": "5.
|
|
13
|
+
"@nocobase/client": "1.7.0-alpha.1",
|
|
14
|
+
"@ant-design/icons": "5.6.1",
|
|
15
15
|
"@formily/core": "2.3.0",
|
|
16
16
|
"antd": "5.12.8",
|
|
17
|
-
"@nocobase/utils": "1.
|
|
18
|
-
"@nocobase/server": "1.
|
|
19
|
-
"@nocobase/logger": "1.
|
|
20
|
-
"@nocobase/actions": "1.
|
|
17
|
+
"@nocobase/utils": "1.7.0-alpha.1",
|
|
18
|
+
"@nocobase/server": "1.7.0-alpha.1",
|
|
19
|
+
"@nocobase/logger": "1.7.0-alpha.1",
|
|
20
|
+
"@nocobase/actions": "1.7.0-alpha.1",
|
|
21
21
|
"dayjs": "1.11.10",
|
|
22
|
-
"@nocobase/database": "1.
|
|
22
|
+
"@nocobase/database": "1.7.0-alpha.1",
|
|
23
23
|
"react-i18next": "11.18.6"
|
|
24
24
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Synchronize": "Sincronizza",
|
|
3
|
+
"Source name": "Nome origine",
|
|
4
|
+
"Source display name": "Nome visualizzato origine",
|
|
5
|
+
"Type": "Tipo",
|
|
6
|
+
"Sync": "Sincronizza",
|
|
7
|
+
"Tasks": "Attività",
|
|
8
|
+
"Batch": "Batch",
|
|
9
|
+
"Status": "Stato",
|
|
10
|
+
"Message": "Messaggio",
|
|
11
|
+
"Init": "Inizializzazione",
|
|
12
|
+
"Processing": "Elaborazione",
|
|
13
|
+
"Success": "Successo",
|
|
14
|
+
"Failed": "Fallito",
|
|
15
|
+
"Authenticator": "Autenticatore",
|
|
16
|
+
"Retry": "Riprova",
|
|
17
|
+
"No user data source plugin installed": "Nessun plugin origine dati utente installato",
|
|
18
|
+
"View documentation": "Visualizza documentazione",
|
|
19
|
+
"The synchronization has started. You can click on 'Tasks' to view the synchronization status.": "La sincronizzazione è iniziata. Puoi cliccare su 'Attività' per visualizzare lo stato della sincronizzazione.",
|
|
20
|
+
"The sync source API call failed. Please check the logs to troubleshoot the issue.": "La chiamata API di sincronizzazione all' origine è fallita. Controlla i registri per risolvere il problema."
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "用户数据同步",
|
|
5
5
|
"description": "Reigster and manage extensible user data synchronization sources, with HTTP API provided by default. Support for synchronizing data to resources such as users and departments.",
|
|
6
6
|
"description.zh-CN": "注册和管理可扩展的用户数据同步来源,默认提供 HTTP API。支持向用户和部门等资源同步数据。",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.7.0-alpha.1",
|
|
8
8
|
"main": "dist/server/index.js",
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@nocobase/client": "1.x",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"keywords": [
|
|
15
15
|
"Users & permissions"
|
|
16
16
|
],
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "e411c9728b4d1f16b0beac16e40dd3499352b052"
|
|
18
18
|
}
|