@cundi/refine-xaf 1.0.9 → 1.0.11

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/index.js CHANGED
@@ -20994,7 +20994,7 @@ var TriggerRuleCreate = () => {
20994
20994
  loading: isLoadingTypes,
20995
20995
  notFoundContent: isLoadingTypes ? /* @__PURE__ */ import_react21.default.createElement(import_antd19.Spin, { size: "small" }) : null,
20996
20996
  filterOption: (input, option) => (option?.label ?? "").toLowerCase().includes(input.toLowerCase()),
20997
- options: modelTypes?.filter((type) => !["TriggerRule", "TriggerLog"].includes(type.Name)).map((type) => ({
20997
+ options: modelTypes?.filter((type) => !type.Name.endsWith(".TriggerRule") && !type.Name.endsWith(".TriggerLog") && type.Name !== "TriggerRule" && type.Name !== "TriggerLog").map((type) => ({
20998
20998
  label: type.Caption || type.Name,
20999
20999
  value: type.Name
21000
21000
  }))
@@ -21137,7 +21137,7 @@ var TriggerRuleEdit = () => {
21137
21137
  loading: isLoadingTypes,
21138
21138
  notFoundContent: isLoadingTypes ? /* @__PURE__ */ import_react22.default.createElement(import_antd21.Spin, { size: "small" }) : null,
21139
21139
  filterOption: (input, option) => (option?.label ?? "").toLowerCase().includes(input.toLowerCase()),
21140
- options: modelTypes?.filter((type) => !["TriggerRule", "TriggerLog"].includes(type.Name)).map((type) => ({
21140
+ options: modelTypes?.filter((type) => !type.Name.endsWith(".TriggerRule") && !type.Name.endsWith(".TriggerLog") && type.Name !== "TriggerRule" && type.Name !== "TriggerLog").map((type) => ({
21141
21141
  label: type.Caption || type.Name,
21142
21142
  value: type.Name
21143
21143
  }))
package/dist/index.mjs CHANGED
@@ -20962,7 +20962,7 @@ var TriggerRuleCreate = () => {
20962
20962
  loading: isLoadingTypes,
20963
20963
  notFoundContent: isLoadingTypes ? /* @__PURE__ */ React20.createElement(Spin3, { size: "small" }) : null,
20964
20964
  filterOption: (input, option) => (option?.label ?? "").toLowerCase().includes(input.toLowerCase()),
20965
- options: modelTypes?.filter((type) => !["TriggerRule", "TriggerLog"].includes(type.Name)).map((type) => ({
20965
+ options: modelTypes?.filter((type) => !type.Name.endsWith(".TriggerRule") && !type.Name.endsWith(".TriggerLog") && type.Name !== "TriggerRule" && type.Name !== "TriggerLog").map((type) => ({
20966
20966
  label: type.Caption || type.Name,
20967
20967
  value: type.Name
20968
20968
  }))
@@ -21105,7 +21105,7 @@ var TriggerRuleEdit = () => {
21105
21105
  loading: isLoadingTypes,
21106
21106
  notFoundContent: isLoadingTypes ? /* @__PURE__ */ React21.createElement(Spin4, { size: "small" }) : null,
21107
21107
  filterOption: (input, option) => (option?.label ?? "").toLowerCase().includes(input.toLowerCase()),
21108
- options: modelTypes?.filter((type) => !["TriggerRule", "TriggerLog"].includes(type.Name)).map((type) => ({
21108
+ options: modelTypes?.filter((type) => !type.Name.endsWith(".TriggerRule") && !type.Name.endsWith(".TriggerLog") && type.Name !== "TriggerRule" && type.Name !== "TriggerLog").map((type) => ({
21109
21109
  label: type.Caption || type.Name,
21110
21110
  value: type.Name
21111
21111
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cundi/refine-xaf",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Integration SDK for XAF backend and Refine frontend",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,8 +34,10 @@
34
34
  "@refinedev/core": "^4.0.0 || ^5.0.0",
35
35
  "@tanstack/react-query": "^4.0.0 || ^5.0.0",
36
36
  "antd": "^5.0.0",
37
+ "i18next": "^23.0.0 || ^24.0.0 || ^25.0.0",
37
38
  "react": "^18.0.0 || ^19.0.0",
38
39
  "react-dom": "^18.0.0 || ^19.0.0",
40
+ "react-i18next": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
39
41
  "react-router": "^6.0.0 || ^7.0.0",
40
42
  "react-router-dom": "^6.0.0 || ^7.0.0"
41
43
  },
@@ -57,7 +59,9 @@
57
59
  "react-router-dom": "^7.0.2",
58
60
  "ts-jest": "^29.2.0",
59
61
  "tsup": "^8.0.0",
60
- "typescript": "^5.0.0"
62
+ "typescript": "^5.0.0",
63
+ "i18next": "^25.7.3",
64
+ "react-i18next": "^16.5.0"
61
65
  },
62
66
  "dependencies": {
63
67
  "@aarkue/tiptap-math-extension": "^1.4.0",
@@ -78,9 +82,7 @@
78
82
  "@tiptap/starter-kit": "^3.13.0",
79
83
  "classnames": "^2.5.1",
80
84
  "emoji-picker-react": "^4.16.1",
81
- "i18next": "^25.7.3",
82
85
  "katex": "^0.16.27",
83
- "react-drawio": "^1.0.7",
84
- "react-i18next": "^16.5.0"
86
+ "react-drawio": "^1.0.7"
85
87
  }
86
88
  }