@nocobase/plugin-client 2.1.0-beta.30 → 2.1.0-beta.32
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-v2/index.js +1 -1
- package/dist/externalVersion.js +5 -6
- package/dist/locale/de-DE.json +0 -3
- package/dist/locale/en-US.json +0 -3
- package/dist/locale/es-ES.json +0 -3
- package/dist/locale/fr-FR.json +0 -3
- package/dist/locale/hu-HU.json +0 -3
- package/dist/locale/id-ID.json +0 -3
- package/dist/locale/it-IT.json +0 -3
- package/dist/locale/ja-JP.json +0 -3
- package/dist/locale/ko-KR.json +0 -3
- package/dist/locale/nl-NL.json +0 -3
- package/dist/locale/pt-BR.json +0 -3
- package/dist/locale/ru-RU.json +0 -3
- package/dist/locale/tr-TR.json +0 -3
- package/dist/locale/uk-UA.json +0 -3
- package/dist/locale/vi-VN.json +0 -3
- package/dist/locale/zh-CN.json +0 -3
- package/dist/locale/zh-TW.json +0 -3
- package/dist/node_modules/cronstrue/package.json +1 -1
- package/dist/server/server.js +1 -5
- package/package.json +2 -3
package/dist/client-v2/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(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}()});
|
package/dist/externalVersion.js
CHANGED
|
@@ -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.
|
|
13
|
+
"@nocobase/client": "2.1.0-beta.32",
|
|
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.
|
|
17
|
+
"@nocobase/utils": "2.1.0-beta.32",
|
|
18
18
|
"lodash": "4.18.1",
|
|
19
|
-
"@nocobase/database": "2.1.0-beta.
|
|
20
|
-
"@nocobase/client-v2": "2.1.0-beta.
|
|
21
|
-
"@nocobase/
|
|
22
|
-
"@nocobase/server": "2.1.0-beta.30"
|
|
19
|
+
"@nocobase/database": "2.1.0-beta.32",
|
|
20
|
+
"@nocobase/client-v2": "2.1.0-beta.32",
|
|
21
|
+
"@nocobase/server": "2.1.0-beta.32"
|
|
23
22
|
};
|
package/dist/locale/de-DE.json
CHANGED
package/dist/locale/en-US.json
CHANGED
package/dist/locale/es-ES.json
CHANGED
package/dist/locale/fr-FR.json
CHANGED
package/dist/locale/hu-HU.json
CHANGED
|
@@ -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",
|
package/dist/locale/id-ID.json
CHANGED
package/dist/locale/it-IT.json
CHANGED
package/dist/locale/ja-JP.json
CHANGED
package/dist/locale/ko-KR.json
CHANGED
package/dist/locale/nl-NL.json
CHANGED
|
@@ -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",
|
package/dist/locale/pt-BR.json
CHANGED
|
@@ -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",
|
package/dist/locale/ru-RU.json
CHANGED
|
@@ -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": "Доступ",
|
package/dist/locale/tr-TR.json
CHANGED
package/dist/locale/uk-UA.json
CHANGED
package/dist/locale/vi-VN.json
CHANGED
package/dist/locale/zh-CN.json
CHANGED
package/dist/locale/zh-TW.json
CHANGED
|
@@ -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-
|
|
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-13T05:24:37.965Z"}
|
package/dist/server/server.js
CHANGED
|
@@ -346,11 +346,7 @@ class PluginClientServer extends import_server.Plugin {
|
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
registerLocalizationSource() {
|
|
349
|
-
|
|
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.
|
|
9
|
+
"version": "2.1.0-beta.32",
|
|
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": "
|
|
26
|
+
"gitHead": "659c5efe992da7118d33c768bbd9e837a2c4716f"
|
|
28
27
|
}
|