@tachybase/client 1.3.25 → 1.5.0

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.
Files changed (68) hide show
  1. package/es/api-client/APIClient.mjs +21 -4
  2. package/es/application/components/AppComponent.mjs +3 -1
  3. package/es/application/utils/globalDeps.mjs +1 -0
  4. package/es/built-in/acl/ACLProvider.mjs +3 -1
  5. package/es/built-in/index.mjs +2 -2
  6. package/es/built-in/pm/PluginManager.mjs +51 -8
  7. package/es/built-in/system-version/SystemVersion.provider.mjs +52 -5
  8. package/es/collection-manager/Configuration/AddFieldAction.mjs +1 -1
  9. package/es/collection-manager/Configuration/ImportXlsx/xlsxFieldsConfigure.mjs +0 -1
  10. package/es/common/appInfo/CurrentAppInfoProvider.d.ts +4 -1
  11. package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.d.ts +9 -0
  12. package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +35 -2
  13. package/es/schema-component/antd/action/Action.Area.mjs +2 -2
  14. package/es/schema-component/antd/action/Action.Area.style.d.ts +1 -0
  15. package/es/schema-component/antd/action/Action.Area.style.mjs +12 -1
  16. package/es/schema-component/antd/action/types.d.ts +1 -0
  17. package/es/schema-component/antd/association-field/InternalNester.mjs +2 -2
  18. package/es/schema-component/antd/association-field/InternalSubTable.mjs +2 -2
  19. package/es/schema-component/antd/association-field/SubTable.mjs +24 -3
  20. package/es/schema-component/antd/association-field/hooks.mjs +6 -2
  21. package/es/schema-component/antd/icon-picker/IconFilterInput.mjs +3 -2
  22. package/es/schema-component/antd/icon-picker/index.d.ts +2 -0
  23. package/es/schema-component/antd/icon-picker/index.mjs +2 -0
  24. package/es/schema-component/antd/menu/Menu.mjs +1 -1
  25. package/es/schema-component/antd/page/components/AddTabForm.d.ts +1 -0
  26. package/es/schema-component/antd/page/components/AddTabForm.mjs +35 -0
  27. package/es/schema-component/antd/table-v2/Table.mjs +3 -2
  28. package/es/schema-component/antd/table-v2/Table.styles.mjs +1 -1
  29. package/es/schema-component/hooks/useDesignable.d.ts +5 -5
  30. package/es/schema-component/hooks/useDesignable.mjs +18 -18
  31. package/es/user/CurrentUser.mjs +11 -3
  32. package/lib/api-client/APIClient.js +21 -4
  33. package/lib/application/components/AppComponent.js +3 -1
  34. package/lib/application/utils/globalDeps.js +2 -1
  35. package/lib/block-provider/hooks/index.js +2 -2
  36. package/lib/built-in/acl/ACLProvider.js +3 -1
  37. package/lib/built-in/index.js +11 -11
  38. package/lib/built-in/pm/PluginManager.js +51 -8
  39. package/lib/built-in/system-version/SystemVersion.provider.js +52 -5
  40. package/lib/collection-manager/Configuration/AddFieldAction.js +1 -1
  41. package/lib/collection-manager/Configuration/ImportXlsx/xlsxFieldsConfigure.js +0 -1
  42. package/lib/locale/en_US.js +9 -0
  43. package/lib/locale/es_ES.js +4 -0
  44. package/lib/locale/fr_FR.js +4 -0
  45. package/lib/locale/ja_JP.js +4 -0
  46. package/lib/locale/ko_KR.js +4 -0
  47. package/lib/locale/pt_BR.js +4 -0
  48. package/lib/locale/ru_RU.js +4 -0
  49. package/lib/locale/tr_TR.js +4 -0
  50. package/lib/locale/uk_UA.js +4 -0
  51. package/lib/locale/zh-CN.js +10 -1
  52. package/lib/locale/zh-TW.js +4 -0
  53. package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.js +39 -3
  54. package/lib/schema-component/antd/action/Action.Area.js +2 -2
  55. package/lib/schema-component/antd/action/Action.Area.style.js +12 -1
  56. package/lib/schema-component/antd/association-field/InternalNester.js +2 -2
  57. package/lib/schema-component/antd/association-field/InternalSubTable.js +2 -2
  58. package/lib/schema-component/antd/association-field/SubTable.js +22 -1
  59. package/lib/schema-component/antd/association-field/hooks.js +6 -2
  60. package/lib/schema-component/antd/icon-picker/IconFilterInput.js +3 -2
  61. package/lib/schema-component/antd/icon-picker/index.js +18 -0
  62. package/lib/schema-component/antd/menu/Menu.js +1 -1
  63. package/lib/schema-component/antd/page/components/AddTabForm.js +69 -0
  64. package/lib/schema-component/antd/table-v2/Table.js +3 -2
  65. package/lib/schema-component/antd/table-v2/Table.styles.js +1 -1
  66. package/lib/schema-component/hooks/useDesignable.js +18 -18
  67. package/lib/user/CurrentUser.js +11 -3
  68. package/package.json +4 -4
@@ -36,19 +36,20 @@ __webpack_require__.d(__webpack_exports__, {
36
36
  IconFilterInput: ()=>IconFilterInput
37
37
  });
38
38
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
39
- require("react");
40
39
  const external_antd_namespaceObject = require("antd");
41
40
  const external_lodash_namespaceObject = require("lodash");
42
41
  var external_lodash_default = /*#__PURE__*/ __webpack_require__.n(external_lodash_namespaceObject);
42
+ const external_react_i18next_namespaceObject = require("react-i18next");
43
43
  const IconFilterInput = (props)=>{
44
44
  const { changeFilterKey } = props;
45
+ const { t } = (0, external_react_i18next_namespaceObject.useTranslation)();
45
46
  const onChange = external_lodash_default().debounce((e)=>{
46
47
  const inputValue = e.target.value;
47
48
  changeFilterKey(inputValue);
48
49
  }, 100);
49
50
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Input, {
50
51
  allowClear: true,
51
- placeholder: 'Antd\u7684key,\u4F8B\u5982"ApiOutlined",\u5FFD\u7565\u5927\u5C0F\u5199',
52
+ placeholder: t("The key in Antd, such as 'ApiOutlined', ignoring case"),
52
53
  onChange: onChange
53
54
  });
54
55
  };
@@ -1,5 +1,11 @@
1
1
  "use strict";
2
2
  var __webpack_modules__ = {
3
+ "./IconFilterInput": function(module) {
4
+ module.exports = require("./IconFilterInput.js");
5
+ },
6
+ "./IconList": function(module) {
7
+ module.exports = require("./IconList.js");
8
+ },
3
9
  "./IconPicker": function(module) {
4
10
  module.exports = require("./IconPicker.js");
5
11
  }
@@ -53,6 +59,18 @@ var __webpack_exports__ = {};
53
59
  return _IconPicker__WEBPACK_IMPORTED_MODULE_0__[key];
54
60
  }).bind(0, __WEBPACK_IMPORT_KEY__);
55
61
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
62
+ var _IconList__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./IconList");
63
+ var __WEBPACK_REEXPORT_OBJECT__ = {};
64
+ for(var __WEBPACK_IMPORT_KEY__ in _IconList__WEBPACK_IMPORTED_MODULE_1__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
65
+ return _IconList__WEBPACK_IMPORTED_MODULE_1__[key];
66
+ }).bind(0, __WEBPACK_IMPORT_KEY__);
67
+ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
68
+ var _IconFilterInput__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./IconFilterInput");
69
+ var __WEBPACK_REEXPORT_OBJECT__ = {};
70
+ for(var __WEBPACK_IMPORT_KEY__ in _IconFilterInput__WEBPACK_IMPORTED_MODULE_2__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
71
+ return _IconFilterInput__WEBPACK_IMPORTED_MODULE_2__[key];
72
+ }).bind(0, __WEBPACK_IMPORT_KEY__);
73
+ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
56
74
  })();
57
75
  for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
58
76
  Object.defineProperty(exports, '__esModule', {
@@ -29,8 +29,8 @@ __webpack_require__.d(__webpack_exports__, {
29
29
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
30
  const external_react_namespaceObject = require("react");
31
31
  const schema_namespaceObject = require("@tachybase/schema");
32
- const core_namespaceObject = require("@dnd-kit/core");
33
32
  const client_namespaceObject = require("@tego/client");
33
+ const core_namespaceObject = require("@dnd-kit/core");
34
34
  const external_antd_namespaceObject = require("antd");
35
35
  const external_react_dom_namespaceObject = require("react-dom");
36
36
  const external_index_js_namespaceObject = require("../../index.js");
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ AddTabForm: ()=>AddTabForm
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const client_namespaceObject = require("@tego/client");
31
+ const external_react_i18next_namespaceObject = require("react-i18next");
32
+ const index_js_namespaceObject = require("../../../core/index.js");
33
+ const AddTabForm = (props)=>{
34
+ const { options } = props;
35
+ const { t } = (0, external_react_i18next_namespaceObject.useTranslation)();
36
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_js_namespaceObject.SchemaComponentOptions, {
37
+ scope: options.scope,
38
+ components: {
39
+ ...options.components
40
+ },
41
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormLayout, {
42
+ layout: 'vertical',
43
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_js_namespaceObject.SchemaComponent, {
44
+ schema: {
45
+ properties: {
46
+ title: {
47
+ title: t('Tab name'),
48
+ 'x-component': 'Input',
49
+ 'x-decorator': 'FormItem',
50
+ required: true
51
+ },
52
+ icon: {
53
+ title: t('Icon'),
54
+ 'x-component': 'IconPicker',
55
+ 'x-decorator': 'FormItem'
56
+ }
57
+ }
58
+ }
59
+ })
60
+ })
61
+ });
62
+ };
63
+ exports.AddTabForm = __webpack_exports__.AddTabForm;
64
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
65
+ "AddTabForm"
66
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
67
+ Object.defineProperty(exports, '__esModule', {
68
+ value: true
69
+ });
@@ -39,9 +39,9 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
39
39
  const external_react_namespaceObject = require("react");
40
40
  var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
41
41
  const schema_namespaceObject = require("@tachybase/schema");
42
+ const client_namespaceObject = require("@tego/client");
42
43
  const icons_namespaceObject = require("@ant-design/icons");
43
44
  const sortable_namespaceObject = require("@dnd-kit/sortable");
44
- const client_namespaceObject = require("@tego/client");
45
45
  const external_ahooks_namespaceObject = require("ahooks");
46
46
  const external_antd_namespaceObject = require("antd");
47
47
  const external_classnames_namespaceObject = require("classnames");
@@ -277,7 +277,7 @@ const Table = (0, withDynamicSchemaProps_js_namespaceObject.withDynamicSchemaPro
277
277
  const { styles } = (0, external_Table_styles_js_namespaceObject.useStyles)();
278
278
  const { pagination: pagination1, useProps, ...others1 } = props;
279
279
  const { pagination: pagination2, ...others2 } = (null == useProps ? void 0 : useProps()) || {};
280
- const { dragSort = false, showIndex = true, onRowSelectionChange, onChange: onTableChange, rowSelection, rowKey, required, onExpand, onClickRow, ...others } = {
280
+ const { dragSort: tableDragSort, showIndex = true, onRowSelectionChange, onChange: onTableChange, rowSelection, rowKey, required, onExpand, onClickRow, ...others } = {
281
281
  ...others1,
282
282
  ...others2
283
283
  };
@@ -295,6 +295,7 @@ const Table = (0, withDynamicSchemaProps_js_namespaceObject.withDynamicSchemaPro
295
295
  const [selectedRow, setSelectedRow] = (0, external_react_namespaceObject.useState)([]);
296
296
  const dataSource = (null == field ? void 0 : null == (_field_value = field.value) ? void 0 : null == (_field_value_slice1 = _field_value.slice) ? void 0 : null == (_field_value_slice = _field_value_slice1.call(_field_value)) ? void 0 : null == (_field_value_slice_filter = _field_value_slice.filter) ? void 0 : _field_value_slice_filter.call(_field_value_slice, Boolean)) || [];
297
297
  const isRowSelect = (null == rowSelection ? void 0 : rowSelection.type) !== 'none';
298
+ const dragSort = tableDragSort || field.componentProps.dragSort || false;
298
299
  const defaultRowKeyMap = (0, external_react_namespaceObject.useRef)(new Map());
299
300
  let onRow = null, highlightRow = '';
300
301
  if (onClickRow) {
@@ -100,7 +100,7 @@ function _templateObject5() {
100
100
  }
101
101
  function _templateObject6() {
102
102
  const data = _tagged_template_literal([
103
- "\n max-width: 300px;\n white-space: nowrap;\n .tb-read-pretty-input-number {\n text-align: right;\n }\n .ant-color-picker-trigger {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n }\n "
103
+ "\n max-width: 300px;\n white-space: nowrap;\n .ant-color-picker-trigger {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n }\n "
104
104
  ]);
105
105
  _templateObject6 = function() {
106
106
  return data;
@@ -308,17 +308,17 @@ class Designable {
308
308
  if (this.model) update(this.model);
309
309
  if (this.query) this.query.take(update);
310
310
  }
311
- insertAdjacent(position, schema) {
311
+ async insertAdjacent(position, schema) {
312
312
  let options = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
313
313
  switch(position){
314
314
  case 'beforeBegin':
315
- return this.insertBeforeBegin(schema, options);
315
+ return await this.insertBeforeBegin(schema, options);
316
316
  case 'afterBegin':
317
- return this.insertAfterBegin(schema, options);
317
+ return await this.insertAfterBegin(schema, options);
318
318
  case 'beforeEnd':
319
- return this.insertBeforeEnd(schema, options);
319
+ return await this.insertBeforeEnd(schema, options);
320
320
  case 'afterEnd':
321
- return this.insertAfterEnd(schema, options);
321
+ return await this.insertAfterEnd(schema, options);
322
322
  }
323
323
  }
324
324
  recursiveRemoveIfNoChildren(schema, options) {
@@ -337,7 +337,7 @@ class Designable {
337
337
  }
338
338
  return removed;
339
339
  }
340
- remove(schema) {
340
+ async remove(schema) {
341
341
  let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
342
342
  const { breakRemoveOn, removeParentsIfNoChildren } = options;
343
343
  const s = schema || this.current;
@@ -348,7 +348,7 @@ class Designable {
348
348
  });
349
349
  if (parent) removed = parent;
350
350
  }
351
- return this.emit('remove', {
351
+ return await this.emit('remove', {
352
352
  removed
353
353
  });
354
354
  }
@@ -365,7 +365,7 @@ class Designable {
365
365
  }
366
366
  return removed;
367
367
  }
368
- insertBeforeBeginOrAfterEnd(schema) {
368
+ async insertBeforeBeginOrAfterEnd(schema) {
369
369
  let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
370
370
  if (!schema_namespaceObject.Schema.isSchemaInstance(this.current)) return;
371
371
  if (!schema_namespaceObject.Schema.isSchemaInstance(schema)) return;
@@ -376,9 +376,9 @@ class Designable {
376
376
  if (this.current.name === key) toIndex = index;
377
377
  if (schema.name === key) fromIndex = index;
378
378
  });
379
- return fromIndex > toIndex ? this.insertBeforeBegin(schema, options) : this.insertAfterEnd(schema, options);
379
+ return fromIndex > toIndex ? await this.insertBeforeBegin(schema, options) : await this.insertAfterEnd(schema, options);
380
380
  }
381
- insertBeforeBegin(schema) {
381
+ async insertBeforeBegin(schema) {
382
382
  let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
383
383
  if (!schema_namespaceObject.Schema.isSchemaInstance(this.current)) return;
384
384
  const opts = {
@@ -419,7 +419,7 @@ class Designable {
419
419
  s.parent = this.current.parent;
420
420
  this.current.parent.setProperties(properties);
421
421
  const [schema1, schema2] = splitWrapSchema(s, schema);
422
- this.emit('insertAdjacent', {
422
+ await this.emit('insertAdjacent', {
423
423
  position: 'beforeBegin',
424
424
  schema: schema2,
425
425
  wrapped,
@@ -427,7 +427,7 @@ class Designable {
427
427
  ...opts
428
428
  });
429
429
  }
430
- insertAfterBegin(schema) {
430
+ async insertAfterBegin(schema) {
431
431
  let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
432
432
  if (!schema_namespaceObject.Schema.isSchemaInstance(this.current)) return;
433
433
  const opts = {
@@ -459,7 +459,7 @@ class Designable {
459
459
  s.parent = this.current;
460
460
  this.current.setProperties(properties);
461
461
  const [schema1, schema2] = splitWrapSchema(s, schema);
462
- this.emit('insertAdjacent', {
462
+ await this.emit('insertAdjacent', {
463
463
  position: 'afterBegin',
464
464
  schema: schema2,
465
465
  wrap: schema1,
@@ -467,7 +467,7 @@ class Designable {
467
467
  ...opts
468
468
  });
469
469
  }
470
- insertBeforeEnd(schema) {
470
+ async insertBeforeEnd(schema) {
471
471
  let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
472
472
  if (!schema_namespaceObject.Schema.isSchemaInstance(this.current)) return;
473
473
  delete schema['x-index'];
@@ -476,7 +476,7 @@ class Designable {
476
476
  };
477
477
  const { wrap = defaultWrap, breakRemoveOn, removeParentsIfNoChildren } = options;
478
478
  if (schema_namespaceObject.Schema.isSchemaInstance(schema)) {
479
- if (this.parentsIn(schema)) return void this.emit('error', {
479
+ if (this.parentsIn(schema)) return void await this.emit('error', {
480
480
  code: 'parent_is_not_allowed',
481
481
  schema
482
482
  });
@@ -490,7 +490,7 @@ class Designable {
490
490
  const s = this.current.addProperty(wrapped.name || (0, schema_namespaceObject.uid)(), wrapped);
491
491
  s.parent = this.current;
492
492
  const [schema1, schema2] = splitWrapSchema(s, schema);
493
- return this.emit('insertAdjacent', {
493
+ return await this.emit('insertAdjacent', {
494
494
  position: 'beforeEnd',
495
495
  schema: schema2,
496
496
  wrap: schema1,
@@ -498,7 +498,7 @@ class Designable {
498
498
  ...opts
499
499
  });
500
500
  }
501
- insertAfterEnd(schema) {
501
+ async insertAfterEnd(schema) {
502
502
  let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
503
503
  if (!schema_namespaceObject.Schema.isSchemaInstance(this.current)) return;
504
504
  const opts = {
@@ -540,7 +540,7 @@ class Designable {
540
540
  s['x-index'] = newOrder;
541
541
  this.current.parent.setProperties(properties);
542
542
  const [schema1, schema2] = splitWrapSchema(s, schema);
543
- this.emit('insertAdjacent', {
543
+ await this.emit('insertAdjacent', {
544
544
  position: 'afterEnd',
545
545
  schema: schema2,
546
546
  wrap: schema1,
@@ -30,8 +30,8 @@ __webpack_require__.d(__webpack_exports__, {
30
30
  });
31
31
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
32
32
  const external_react_namespaceObject = require("react");
33
- const icons_namespaceObject = require("@ant-design/icons");
34
33
  const client_namespaceObject = require("@tego/client");
34
+ const icons_namespaceObject = require("@ant-design/icons");
35
35
  const external_antd_namespaceObject = require("antd");
36
36
  const external_antd_style_namespaceObject = require("antd-style");
37
37
  const external_react_i18next_namespaceObject = require("react-i18next");
@@ -187,8 +187,16 @@ const SettingsMenu = (props)=>{
187
187
  key: 'signout',
188
188
  label: t('Sign out'),
189
189
  onClick: async ()=>{
190
- await api.auth.signOut();
191
- navigate("/signin?redirect=".concat(encodeURIComponent(redirectUrl)));
190
+ try {
191
+ var _loginMethods_data;
192
+ const loginMethods = await api.resource('authenticators').publicList();
193
+ const methods = (null == loginMethods ? void 0 : null == (_loginMethods_data = loginMethods.data) ? void 0 : _loginMethods_data.data) || [];
194
+ await api.auth.signOut();
195
+ if (1 === methods.length && 'mainApp' === methods[0].authType) window.location.href = '/';
196
+ else navigate("/signin?redirect=".concat(encodeURIComponent(redirectUrl)));
197
+ } catch (err) {
198
+ console.error('Sign out error:', err);
199
+ }
192
200
  }
193
201
  }
194
202
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/client",
3
- "version": "1.3.25",
3
+ "version": "1.5.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",
@@ -11,7 +11,7 @@
11
11
  "@ant-design/icons": "^5.6.1",
12
12
  "@ant-design/pro-components": "2.8.9",
13
13
  "@ant-design/pro-layout": "^7.21.2",
14
- "@ctrl/tinycolor": "^3.6.1",
14
+ "@ctrl/tinycolor": "^4.2.0",
15
15
  "@dnd-kit/accessibility": "^3.1.1",
16
16
  "@dnd-kit/core": "^6.3.1",
17
17
  "@dnd-kit/modifiers": "^7.0.0",
@@ -26,7 +26,7 @@
26
26
  "ahooks": "^3.9.0",
27
27
  "antd": "5.22.5",
28
28
  "antd-style": "3.7.1",
29
- "axios": "1.7.7",
29
+ "axios": "1.13.0",
30
30
  "axios-mock-adapter": "^1.22.0",
31
31
  "classnames": "^2.5.1",
32
32
  "click-to-react-component": "1.1.2",
@@ -50,7 +50,7 @@
50
50
  "react-error-boundary": "^6.0.0",
51
51
  "react-helmet": "^6.1.0",
52
52
  "react-hotkeys-hook": "^5.1.0",
53
- "react-i18next": "15.2.0",
53
+ "react-i18next": "16.2.1",
54
54
  "react-intersection-observer": "^9.14.0",
55
55
  "react-js-cron": "^3.2.0",
56
56
  "react-pdf": "^10.0.1",