@nocobase/plugin-client 2.1.0-beta.30 → 2.1.0-beta.33

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.
@@ -7,4 +7,4 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
 
10
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@nocobase/client-v2")):"function"==typeof define&&define.amd?define("@nocobase/plugin-client",["@nocobase/client-v2"],e):"object"==typeof exports?exports["@nocobase/plugin-client"]=e(require("@nocobase/client-v2")):t["@nocobase/plugin-client"]=e(t["@nocobase/client-v2"])}(self,function(t){return function(){"use strict";var e={485:function(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.g.importScripts&&(o=r.g.location+"");var o,i=r.g.document;if(!o&&i&&(i.currentScript&&"SCRIPT"===i.currentScript.tagName.toUpperCase()&&(o=i.currentScript.src),!o)){var c=i.getElementsByTagName("script");if(c.length)for(var u=c.length-1;u>-1&&(!o||!/^http(s?):/.test(o));)o=c[u--].src}if(!o)throw Error("Automatic publicPath is not supported in this browser");r.p=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var a={};return!function(){var t="",e="u">typeof document?document.currentScript:null;if(e&&e.src&&(t=e.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")),!t){var n=window.__webpack_public_path__||"";n&&("/"!==n.charAt(n.length-1)&&(n+="/"),t=n+"static/plugins/@nocobase/plugin-client/dist/client-v2/")}if(!t){if(!(t=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var o=window.location.pathname||"/",i=o.indexOf("/v2/");t=i>=0?o.slice(0,i+1):"/"}t&&(t=t.replace(/\/v2\/?$/,"/")),t||(t="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t+="static/plugins/@nocobase/plugin-client/dist/client-v2/"}r.p=t}(),!function(){r.r(a),r.d(a,{PluginClientV2:function(){return w},default:function(){return m}});var t=r(485);function e(t,e,n,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){n(t);return}u.done?e(a):Promise.resolve(a).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var c=t.apply(n,r);function u(t){e(c,o,i,u,a,"next",t)}function a(t){e(c,o,i,u,a,"throw",t)}u(void 0)})}}function o(t,e,n){return e=f(e),function(t,e){var n;if(e&&("object"==((n=e)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof e))return e;if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t,y()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function i(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function c(t,e,n){return(c=y()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&b(o,n.prototype),o}).apply(null,arguments)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e="function"==typeof Map?new Map:void 0;return(h=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,f(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,t)})(t)}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y=function(){return!!t})()}function v(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(c,"next",{value:a(0)}),u(c,"throw",{value:a(1)}),u(c,"return",{value:a(2)}),"function"==typeof Symbol&&u(c,Symbol.iterator,{value:function(){return this}}),c;function a(u){return function(a){var l=[u,a];if(n)throw TypeError("Generator is already executing.");for(;c&&(c=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(t){l=[6,t],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}var d=function(t){function e(){var t;return i(this,e),t=o(this,e,arguments),p(t,"section","system"),p(t,"sort",500),p(t,"label","Clear cache"),p(t,"aclSnippet","app"),t}return s(e,t),l(e,[{key:"onClick",value:function(){return n(function(){return v(this,function(t){switch(t.label){case 0:return[4,this.context.api.resource("app").clearCache()];case 1:return t.sent(),window.location.reload(),[2]}})}).call(this)}}]),e}(t.UserCenterActionItemModel);p(d,"itemId","clear-cache");var g=function(t){function e(){var t;return i(this,e),t=o(this,e,arguments),p(t,"section","system"),p(t,"sort",510),p(t,"label","Restart application"),p(t,"aclSnippet","app"),t}return s(e,t),l(e,[{key:"onClick",value:function(){return n(function(){return v(this,function(t){switch(t.label){case 0:return[4,this.context.api.resource("app").restart()];case 1:return t.sent(),[2]}})}).call(this)}}]),e}(t.UserCenterActionItemModel);p(g,"itemId","restart-application");var w=function(t){function e(){return i(this,e),o(this,e,arguments)}return s(e,t),l(e,[{key:"load",value:function(){return n(function(){return v(this,function(t){return this.app.flowEngine.registerModels({ClearCacheItemModel:d,RestartApplicationItemModel:g}),[2]})}).call(this)}}]),e}(h(t.Plugin)),m=w}(),a}()});
10
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@nocobase/client-v2")):"function"==typeof define&&define.amd?define("@nocobase/plugin-client/client-v2",["@nocobase/client-v2"],e):"object"==typeof exports?exports["@nocobase/plugin-client/client-v2"]=e(require("@nocobase/client-v2")):t["@nocobase/plugin-client/client-v2"]=e(t["@nocobase/client-v2"])}(self,function(t){return function(){"use strict";var e={485:function(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.g.importScripts&&(o=r.g.location+"");var o,i=r.g.document;if(!o&&i&&(i.currentScript&&"SCRIPT"===i.currentScript.tagName.toUpperCase()&&(o=i.currentScript.src),!o)){var c=i.getElementsByTagName("script");if(c.length)for(var u=c.length-1;u>-1&&(!o||!/^http(s?):/.test(o));)o=c[u--].src}if(!o)throw Error("Automatic publicPath is not supported in this browser");r.p=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var a={};return!function(){var t="",e="u">typeof document?document.currentScript:null;if(e&&e.src&&(t=e.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")),!t){var n=window.__webpack_public_path__||"";n&&("/"!==n.charAt(n.length-1)&&(n+="/"),t=n+"static/plugins/@nocobase/plugin-client/dist/client-v2/")}if(!t){if(!(t=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var o=window.location.pathname||"/",i=o.indexOf("/v2/");t=i>=0?o.slice(0,i+1):"/"}t&&(t=t.replace(/\/v2\/?$/,"/")),t||(t="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t+="static/plugins/@nocobase/plugin-client/dist/client-v2/"}r.p=t}(),!function(){r.r(a),r.d(a,{PluginClientV2:function(){return w},default:function(){return m}});var t=r(485);function e(t,e,n,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){n(t);return}u.done?e(a):Promise.resolve(a).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var c=t.apply(n,r);function u(t){e(c,o,i,u,a,"next",t)}function a(t){e(c,o,i,u,a,"throw",t)}u(void 0)})}}function o(t,e,n){return e=f(e),function(t,e){var n;if(e&&("object"==((n=e)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof e))return e;if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t,y()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function i(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function c(t,e,n){return(c=y()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&b(o,n.prototype),o}).apply(null,arguments)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e="function"==typeof Map?new Map:void 0;return(h=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,f(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,t)})(t)}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y=function(){return!!t})()}function v(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(c,"next",{value:a(0)}),u(c,"throw",{value:a(1)}),u(c,"return",{value:a(2)}),"function"==typeof Symbol&&u(c,Symbol.iterator,{value:function(){return this}}),c;function a(u){return function(a){var l=[u,a];if(n)throw TypeError("Generator is already executing.");for(;c&&(c=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(t){l=[6,t],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}var d=function(t){function e(){var t;return i(this,e),t=o(this,e,arguments),p(t,"section","system"),p(t,"sort",500),p(t,"label","Clear cache"),p(t,"aclSnippet","app"),t}return s(e,t),l(e,[{key:"onClick",value:function(){return n(function(){return v(this,function(t){switch(t.label){case 0:return[4,this.context.api.resource("app").clearCache()];case 1:return t.sent(),window.location.reload(),[2]}})}).call(this)}}]),e}(t.UserCenterActionItemModel);p(d,"itemId","clear-cache");var g=function(t){function e(){var t;return i(this,e),t=o(this,e,arguments),p(t,"section","system"),p(t,"sort",510),p(t,"label","Restart application"),p(t,"aclSnippet","app"),t}return s(e,t),l(e,[{key:"onClick",value:function(){return n(function(){return v(this,function(t){switch(t.label){case 0:return[4,this.context.api.resource("app").restart()];case 1:return t.sent(),[2]}})}).call(this)}}]),e}(t.UserCenterActionItemModel);p(g,"itemId","restart-application");var w=function(t){function e(){return i(this,e),o(this,e,arguments)}return s(e,t),l(e,[{key:"load",value:function(){return n(function(){return v(this,function(t){return this.app.flowEngine.registerModels({ClearCacheItemModel:d,RestartApplicationItemModel:g}),[2]})}).call(this)}}]),e}(h(t.Plugin)),m=w}(),a}()});
@@ -10,14 +10,13 @@
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
12
  "react-i18next": "11.18.6",
13
- "@nocobase/client": "2.1.0-beta.30",
13
+ "@nocobase/client": "2.1.0-beta.33",
14
14
  "antd": "5.24.2",
15
15
  "@ant-design/icons": "5.6.1",
16
16
  "@formily/react": "2.3.7",
17
- "@nocobase/utils": "2.1.0-beta.30",
17
+ "@nocobase/utils": "2.1.0-beta.33",
18
18
  "lodash": "4.18.1",
19
- "@nocobase/database": "2.1.0-beta.30",
20
- "@nocobase/client-v2": "2.1.0-beta.30",
21
- "@nocobase/plugin-localization": "2.1.0-beta.30",
22
- "@nocobase/server": "2.1.0-beta.30"
19
+ "@nocobase/database": "2.1.0-beta.33",
20
+ "@nocobase/client-v2": "2.1.0-beta.33",
21
+ "@nocobase/server": "2.1.0-beta.33"
23
22
  };
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 Stunden",
6
6
  "24 hour": "24 Stunden",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "Aufsteigend",
12
9
  "Access": "Zugriff",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 hour",
6
6
  "24 hour": "24 hour",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "ASC",
12
9
  "Access": "Access",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 horas",
6
6
  "24 hour": "24 horas",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "ASC",
12
9
  "Accept": "Aceptar",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 heures",
6
6
  "24 hour": "24 heures",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "ASC",
12
9
  "Access": "Accès",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 órás",
6
6
  "24 hour": "24 órás",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "Hozzáférés-vezérlés",
11
8
  "ASC": "Növekvő",
12
9
  "Access": "Hozzáférés",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 jam",
6
6
  "24 hour": "24 jam",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "ASC",
12
9
  "Access": "Akses",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 ore",
6
6
  "24 hour": "24 ore",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "Asc",
12
9
  "Access": "Accesso",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 時間制",
6
6
  "24 hour": "24 時間制",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "アクセス制御",
11
8
  "ASC": "昇順",
12
9
  "Access": "アクセス",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 시간",
6
6
  "24 hour": "24 시간",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "액세스 제어 목록",
11
8
  "ASC": "오름차순",
12
9
  "Access": "접근",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 uur",
6
6
  "24 hour": "24 uur",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "Toegangscontrolelijst",
11
8
  "ASC": "Oplopend",
12
9
  "Access": "Toegang",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 horas",
6
6
  "24 hour": "24 horas",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "Controle de Acesso",
11
8
  "ASC": "ASC",
12
9
  "Accept": "Aceitar",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 часов",
6
6
  "24 hour": "24 часа",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "Список контроля доступа",
11
8
  "ASC": "по возр.",
12
9
  "Access": "Доступ",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 saat",
6
6
  "24 hour": "24 saat",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "Artan",
12
9
  "Access": "Erişim",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12-годинний",
6
6
  "24 hour": "24-годинний",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "ASC",
12
9
  "Accept": "Прийняти",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 giờ",
6
6
  "24 hour": "24 giờ",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "ACL",
11
8
  "ASC": "Tăng dần",
12
9
  "Access": "Truy cập",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(该字段作为子表单/子表格不生效)",
5
5
  "12 hour": "12 小时制",
6
6
  "24 hour": "24 小时制",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "访问控制",
11
8
  "ASC": "升序",
12
9
  "Access": "访问",
@@ -4,9 +4,6 @@
4
4
  "(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
5
5
  "12 hour": "12 小時制",
6
6
  "24 hour": "24 小時制",
7
- "<": "<",
8
- "=": "=",
9
- ">": ">",
10
7
  "ACL": "訪問控制",
11
8
  "ASC": "升冪",
12
9
  "Access": "訪問",
@@ -1 +1 @@
1
- {"name":"cronstrue","title":"cRonstrue","version":"2.47.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2026-05-11T23:07:26.769Z"}
1
+ {"name":"cronstrue","title":"cRonstrue","version":"2.47.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2026-05-15T15:53:48.192Z"}
@@ -346,11 +346,7 @@ class PluginClientServer extends import_server.Plugin {
346
346
  });
347
347
  }
348
348
  registerLocalizationSource() {
349
- const localizationPlugin = this.app.pm.get("localization");
350
- if (!localizationPlugin) {
351
- return;
352
- }
353
- localizationPlugin.sourceManager.registerSource("desktop-routes", {
349
+ this.app.localeManager.registerSource("desktop-routes", {
354
350
  title: (0, import_utils.tval)("Desktop routes"),
355
351
  sync: async (ctx) => {
356
352
  const desktopRoutes = await ctx.db.getRepository("desktopRoutes").find({
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Provides a client interface for the NocoBase server",
7
7
  "description.ru-RU": "Предоставляет клиентский интерфейс для сервера NocoBase",
8
8
  "description.zh-CN": "为 NocoBase 服务端提供客户端界面",
9
- "version": "2.1.0-beta.30",
9
+ "version": "2.1.0-beta.33",
10
10
  "main": "./dist/server/index.js",
11
11
  "license": "Apache-2.0",
12
12
  "devDependencies": {
@@ -19,10 +19,9 @@
19
19
  "@nocobase/client": "2.x",
20
20
  "@nocobase/client-v2": "2.x",
21
21
  "@nocobase/database": "2.x",
22
- "@nocobase/plugin-localization": "2.x",
23
22
  "@nocobase/server": "2.x",
24
23
  "@nocobase/test": "2.x",
25
24
  "@nocobase/utils": "2.x"
26
25
  },
27
- "gitHead": "1a493069cd0d8a4f403668bfe592879678c894b2"
26
+ "gitHead": "4815c394e80a264fa8ed619246280923c47aeb72"
28
27
  }