@nocobase/client 2.0.0-alpha.54 → 2.0.0-alpha.55
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/es/index.mjs
CHANGED
|
@@ -9667,7 +9667,7 @@ function addAppVersion(e, t) {
|
|
|
9667
9667
|
addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
|
|
9668
9668
|
}), e;
|
|
9669
9669
|
}
|
|
9670
|
-
const name = "@nocobase/client", version = "2.0.0-alpha.
|
|
9670
|
+
const name = "@nocobase/client", version = "2.0.0-alpha.55", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
9671
9671
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
9672
9672
|
"@ant-design/cssinjs": "^1.11.1",
|
|
9673
9673
|
"@ant-design/icons": "^5.6.1",
|
|
@@ -9690,10 +9690,10 @@ const name = "@nocobase/client", version = "2.0.0-alpha.54", license = "AGPL-3.0
|
|
|
9690
9690
|
"@formily/reactive-react": "^2.2.27",
|
|
9691
9691
|
"@formily/shared": "^2.2.27",
|
|
9692
9692
|
"@formily/validator": "^2.2.27",
|
|
9693
|
-
"@nocobase/evaluators": "2.0.0-alpha.
|
|
9694
|
-
"@nocobase/flow-engine": "2.0.0-alpha.
|
|
9695
|
-
"@nocobase/sdk": "2.0.0-alpha.
|
|
9696
|
-
"@nocobase/utils": "2.0.0-alpha.
|
|
9693
|
+
"@nocobase/evaluators": "2.0.0-alpha.55",
|
|
9694
|
+
"@nocobase/flow-engine": "2.0.0-alpha.55",
|
|
9695
|
+
"@nocobase/sdk": "2.0.0-alpha.55",
|
|
9696
|
+
"@nocobase/utils": "2.0.0-alpha.55",
|
|
9697
9697
|
"@tanstack/react-table": "^8.21.3",
|
|
9698
9698
|
"@types/tabulator-tables": "^6.2.6",
|
|
9699
9699
|
"acorn-jsx": "^5.3.2",
|
|
@@ -30129,7 +30129,7 @@ const useStyles$a = genStyleHook("nb-markdown", (e, { isDarkTheme: t }) => {
|
|
|
30129
30129
|
}, t ? i : r)
|
|
30130
30130
|
};
|
|
30131
30131
|
}), parseMarkdown$1 = _.memoize((e) => O(void 0, null, function* () {
|
|
30132
|
-
return e && (yield import("./md-
|
|
30132
|
+
return e && (yield import("./md-oH2RssNY.mjs")).default.render(e);
|
|
30133
30133
|
}));
|
|
30134
30134
|
function useParseMarkdown$1(e) {
|
|
30135
30135
|
const [t, o] = useState(""), [n, r] = useState(!0);
|
|
@@ -68386,7 +68386,7 @@ BlockGridModel.registerFlow({
|
|
|
68386
68386
|
}
|
|
68387
68387
|
});
|
|
68388
68388
|
const parseMarkdown = _.memoize((e) => O(void 0, null, function* () {
|
|
68389
|
-
return e && (yield import("./md-
|
|
68389
|
+
return e && (yield import("./md-BbvRKckr.mjs")).default.render(e);
|
|
68390
68390
|
}));
|
|
68391
68391
|
function useParseMarkdown(e) {
|
|
68392
68392
|
const [t, o] = useState(""), [n, r] = useState(!0);
|
|
@@ -71791,7 +71791,7 @@ class LinkActionModel extends ActionModel {
|
|
|
71791
71791
|
});
|
|
71792
71792
|
}
|
|
71793
71793
|
}
|
|
71794
|
-
k(LinkActionModel, "scene", ActionSceneEnum.
|
|
71794
|
+
k(LinkActionModel, "scene", ActionSceneEnum.all);
|
|
71795
71795
|
LinkActionModel.define({
|
|
71796
71796
|
label: tExpr("Link")
|
|
71797
71797
|
});
|
|
@@ -74792,9 +74792,13 @@ class FilterFormItemModel extends FilterableItemModel {
|
|
|
74792
74792
|
* @returns
|
|
74793
74793
|
*/
|
|
74794
74794
|
getFilterValue() {
|
|
74795
|
-
var
|
|
74796
|
-
const o = this.getCurrentOperatorMeta();
|
|
74797
|
-
|
|
74795
|
+
var r, i, a;
|
|
74796
|
+
const o = this.subModels.field.getFilterValue ? this.subModels.field.getFilterValue() : (r = this.context.form) == null ? void 0 : r.getFieldValue(this.props.name), n = this.getCurrentOperatorMeta();
|
|
74797
|
+
if (n != null && n.noValue) {
|
|
74798
|
+
const l = (a = (i = n == null ? void 0 : n.schema) == null ? void 0 : i["x-component-props"]) == null ? void 0 : a.options;
|
|
74799
|
+
return Array.isArray(l) ? o : !0;
|
|
74800
|
+
}
|
|
74801
|
+
return o;
|
|
74798
74802
|
}
|
|
74799
74803
|
getValueProps(o) {
|
|
74800
74804
|
return this.context.blockModel.autoTriggerFilter && this.debouncedDoFilter(), {
|