@nocobase/client 2.1.0-alpha.2 → 2.1.0-alpha.21
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/LICENSE +201 -661
- package/README.md +79 -10
- package/es/ai/index.d.ts +1 -0
- package/es/ai/skills-manager/index.d.ts +9 -0
- package/es/ai/skills-manager/types.d.ts +23 -0
- package/es/ai/tools-manager/index.d.ts +0 -1
- package/es/ai/tools-manager/types.d.ts +11 -1
- package/es/application/Application.d.ts +5 -1
- package/es/block-provider/BlockProvider.d.ts +1 -0
- package/es/collection-manager/templates/view.d.ts +11 -11
- package/es/flow/actions/afterSuccess.d.ts +9 -0
- package/es/flow/actions/index.d.ts +1 -0
- package/es/flow/components/FieldAssignValueInput.d.ts +26 -1
- package/es/flow/components/RunJSValueEditor.d.ts +1 -1
- package/es/flow/components/code-editor/core/tooltipParent.d.ts +9 -0
- package/es/flow/components/code-editor/resolveScenes.d.ts +10 -0
- package/es/flow/components/code-editor/runjsDiagnostics.d.ts +5 -2
- package/es/flow/components/filter/LinkageFilterItem.d.ts +23 -0
- package/es/flow/internal/utils/modelUtils.d.ts +4 -0
- package/es/flow/models/actions/AddChildActionModel.d.ts +1 -0
- package/es/flow/models/actions/BulkDeleteActionModel.d.ts +1 -0
- package/es/flow/models/actions/JSItemActionModel.d.ts +19 -0
- package/es/flow/models/actions/LinkActionModel.d.ts +1 -4
- package/es/flow/models/actions/LinkActionUtils.d.ts +34 -0
- package/es/flow/models/actions/UpdateRecordActionUtils.d.ts +12 -0
- package/es/flow/models/actions/index.d.ts +1 -0
- package/es/flow/models/actions/joinUrlSearch.d.ts +12 -0
- package/es/flow/models/base/ActionGroupModel.d.ts +8 -0
- package/es/flow/models/base/BlockModel.d.ts +26 -0
- package/es/flow/models/base/CollectionBlockModel.d.ts +9 -27
- package/es/flow/models/base/GridModel.d.ts +1 -0
- package/es/flow/models/base/PageModel/ChildPageModel.d.ts +1 -0
- package/es/flow/models/base/PageModel/PageModel.d.ts +1 -1
- package/es/flow/models/base/PageModel/RootPageModel.d.ts +8 -0
- package/es/flow/models/blocks/details/DetailsBlockModel.d.ts +4 -0
- package/es/flow/models/blocks/details/DetailsItemModel.d.ts +7 -0
- package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +12 -1
- package/es/flow/models/blocks/form/CreateFormModel.d.ts +1 -0
- package/es/flow/models/blocks/form/EditFormModel.d.ts +2 -0
- package/es/flow/models/blocks/form/FormBlockModel.d.ts +1 -0
- package/es/flow/models/blocks/form/submitValues.d.ts +21 -0
- package/es/flow/models/blocks/form/value-runtime/rules.d.ts +3 -0
- package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +1 -0
- package/es/flow/models/blocks/table/TableBlockModel.d.ts +1 -23
- package/es/flow/models/fields/AssociationFieldModel/AssociationFieldModel.d.ts +1 -0
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/popupSubTableBeforeClose.d.ts +25 -0
- package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +10 -0
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +1 -0
- package/es/flow/models/fields/AssociationFieldModel/itemChain.d.ts +5 -0
- package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +2 -13
- package/es/flow/models/fields/DisplayAssociationField/displaySubListUtils.d.ts +14 -0
- package/es/flow/models/fields/DisplayTextFieldModel.d.ts +1 -0
- package/es/flow/utils/actionCapability.d.ts +60 -0
- package/es/flow/utils/index.d.ts +1 -0
- package/es/flow/utils/pagination.d.ts +29 -0
- package/es/index.css +1 -1
- package/es/index.mjs +2225 -107889
- package/es/index.mjs.LICENSE.txt +8 -0
- package/es/lazy-helper/index.d.ts +8 -6
- package/es/pm/AdminSettingsLayoutModel.d.ts +13 -0
- package/es/pm/PluginSetting.d.ts +2 -1
- package/es/pm/index.d.ts +1 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +27 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutRouteCoordinator.d.ts +50 -0
- package/es/route-switch/antd/admin-layout/index.d.ts +4 -0
- package/es/route-switch/antd/admin-layout/mobileMenuNavigation.d.ts +15 -0
- package/es/schema-component/antd/association-field/Table.d.ts +0 -57
- package/es/schema-component/antd/date-picker/DatePicker.d.ts +26 -0
- package/es/schema-settings/SchemaSettings.d.ts +2 -0
- package/es/schema-settings/SchemaSettingsDefaultValue.d.ts +18 -0
- package/es/schema-settings/VariableInput/hooks/useParentIterationVariable.d.ts +3 -3
- package/lib/index.css +1 -1
- package/lib/index.js +2032 -2018
- package/lib/index.js.LICENSE.txt +1 -0
- package/lib/locale/de-DE.json +5 -1
- package/lib/locale/en-US.json +5 -0
- package/lib/locale/es-ES.json +5 -1
- package/lib/locale/fr-FR.json +5 -1
- package/lib/locale/hu-HU.json +5 -1
- package/lib/locale/id-ID.json +5 -1
- package/lib/locale/it-IT.json +5 -1
- package/lib/locale/ja-JP.json +5 -1
- package/lib/locale/ko-KR.json +5 -1
- package/lib/locale/nl-NL.json +5 -1
- package/lib/locale/pt-BR.json +5 -1
- package/lib/locale/ru-RU.json +5 -1
- package/lib/locale/tr-TR.json +5 -1
- package/lib/locale/uk-UA.json +5 -1
- package/lib/locale/vi-VN.json +5 -1
- package/lib/locale/zh-CN.json +6 -1
- package/lib/locale/zh-TW.json +5 -1
- package/package.json +9 -9
- package/es/md-BbvRKckr.mjs +0 -61
- package/es/md-oH2RssNY.mjs +0 -61
- package/lib/md-BbvRKckr-IQIU5F3r.js +0 -1
- package/lib/md-oH2RssNY-IQIU5F3r.js +0 -1
package/es/md-BbvRKckr.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
var A = Object.defineProperty;
|
|
2
|
-
var f = Object.getOwnPropertySymbols;
|
|
3
|
-
var H = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var h = (r, e, t) => e in r ? A(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e) => {
|
|
5
|
-
for (var t in e || (e = {}))
|
|
6
|
-
H.call(e, t) && h(r, t, e[t]);
|
|
7
|
-
if (f)
|
|
8
|
-
for (var t of f(e))
|
|
9
|
-
L.call(e, t) && h(r, t, e[t]);
|
|
10
|
-
return r;
|
|
11
|
-
};
|
|
12
|
-
import M from "markdown-it";
|
|
13
|
-
import R from "markdown-it-highlightjs";
|
|
14
|
-
import y from "mermaid";
|
|
15
|
-
/* istanbul ignore file -- @preserve */
|
|
16
|
-
function b(r, e) {
|
|
17
|
-
y.initialize(p({
|
|
18
|
-
securityLevel: "loose"
|
|
19
|
-
}, e));
|
|
20
|
-
function t(n) {
|
|
21
|
-
return n.split(/\s+/g)[0];
|
|
22
|
-
}
|
|
23
|
-
const d = r.renderer.rules.fence;
|
|
24
|
-
function x(n, s, I, $, c) {
|
|
25
|
-
const l = n[s], u = l.info.trim(), k = u ? t(u) : "";
|
|
26
|
-
if (["mermaid", "{mermaid}"].indexOf(k) === -1)
|
|
27
|
-
return d !== void 0 ? d(n, s, I, $, c) : "";
|
|
28
|
-
let g = "";
|
|
29
|
-
const m = [], o = document.createElement("div");
|
|
30
|
-
document.body.appendChild(o);
|
|
31
|
-
try {
|
|
32
|
-
const i = "mermaid-container";
|
|
33
|
-
y.mermaidAPI.render(
|
|
34
|
-
i,
|
|
35
|
-
l.content,
|
|
36
|
-
(w) => {
|
|
37
|
-
const a = document.getElementById(i);
|
|
38
|
-
a !== null && m.push(["style", `max-width:${a.style.maxWidth};max-height:${a.style.maxHeight}`]), g = w;
|
|
39
|
-
},
|
|
40
|
-
o
|
|
41
|
-
);
|
|
42
|
-
} catch (i) {
|
|
43
|
-
return `<div class="alert alert-danger">${i}</div>`;
|
|
44
|
-
} finally {
|
|
45
|
-
o.remove();
|
|
46
|
-
}
|
|
47
|
-
return m.push(["src", `data:image/svg+xml,${encodeURIComponent(g)}`]), `<img ${c.renderAttrs({ attrs: m })}>`;
|
|
48
|
-
}
|
|
49
|
-
r.renderer.rules.fence = x;
|
|
50
|
-
}
|
|
51
|
-
const v = new M({
|
|
52
|
-
html: !0,
|
|
53
|
-
linkify: !0,
|
|
54
|
-
typographer: !0,
|
|
55
|
-
breaks: !0
|
|
56
|
-
});
|
|
57
|
-
v.use(R);
|
|
58
|
-
v.use(b);
|
|
59
|
-
export {
|
|
60
|
-
v as default
|
|
61
|
-
};
|
package/es/md-oH2RssNY.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
var A = Object.defineProperty;
|
|
2
|
-
var f = Object.getOwnPropertySymbols;
|
|
3
|
-
var H = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var h = (r, e, t) => e in r ? A(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e) => {
|
|
5
|
-
for (var t in e || (e = {}))
|
|
6
|
-
H.call(e, t) && h(r, t, e[t]);
|
|
7
|
-
if (f)
|
|
8
|
-
for (var t of f(e))
|
|
9
|
-
L.call(e, t) && h(r, t, e[t]);
|
|
10
|
-
return r;
|
|
11
|
-
};
|
|
12
|
-
import M from "markdown-it";
|
|
13
|
-
import R from "markdown-it-highlightjs";
|
|
14
|
-
import y from "mermaid";
|
|
15
|
-
/* istanbul ignore file -- @preserve */
|
|
16
|
-
function b(r, e) {
|
|
17
|
-
y.initialize(p({
|
|
18
|
-
securityLevel: "loose"
|
|
19
|
-
}, e));
|
|
20
|
-
function t(n) {
|
|
21
|
-
return n.split(/\s+/g)[0];
|
|
22
|
-
}
|
|
23
|
-
const d = r.renderer.rules.fence;
|
|
24
|
-
function x(n, s, I, $, c) {
|
|
25
|
-
const l = n[s], u = l.info.trim(), k = u ? t(u) : "";
|
|
26
|
-
if (["mermaid", "{mermaid}"].indexOf(k) === -1)
|
|
27
|
-
return d !== void 0 ? d(n, s, I, $, c) : "";
|
|
28
|
-
let g = "";
|
|
29
|
-
const m = [], o = document.createElement("div");
|
|
30
|
-
document.body.appendChild(o);
|
|
31
|
-
try {
|
|
32
|
-
const i = "mermaid-container";
|
|
33
|
-
y.mermaidAPI.render(
|
|
34
|
-
i,
|
|
35
|
-
l.content,
|
|
36
|
-
(w) => {
|
|
37
|
-
const a = document.getElementById(i);
|
|
38
|
-
a !== null && m.push(["style", `max-width:${a.style.maxWidth};max-height:${a.style.maxHeight}`]), g = w;
|
|
39
|
-
},
|
|
40
|
-
o
|
|
41
|
-
);
|
|
42
|
-
} catch (i) {
|
|
43
|
-
return `<div class="alert alert-danger">${i}</div>`;
|
|
44
|
-
} finally {
|
|
45
|
-
o.remove();
|
|
46
|
-
}
|
|
47
|
-
return m.push(["src", `data:image/svg+xml,${encodeURIComponent(g)}`]), `<img ${c.renderAttrs({ attrs: m })}>`;
|
|
48
|
-
}
|
|
49
|
-
r.renderer.rules.fence = x;
|
|
50
|
-
}
|
|
51
|
-
const v = new M({
|
|
52
|
-
html: !0,
|
|
53
|
-
linkify: !0,
|
|
54
|
-
typographer: !0,
|
|
55
|
-
breaks: !0
|
|
56
|
-
});
|
|
57
|
-
v.use(R);
|
|
58
|
-
v.use(b);
|
|
59
|
-
export {
|
|
60
|
-
v as default
|
|
61
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("markdown-it"),P=require("markdown-it-highlightjs"),p=require("mermaid");var $=Object.defineProperty,v=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,b=(r,e,t)=>e in r?$(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,q=(r,e)=>{for(var t in e||(e={}))I.call(e,t)&&b(r,t,e[t]);if(v)for(var t of v(e))k.call(e,t)&&b(r,t,e[t]);return r};/* istanbul ignore file -- @preserve */function A(r,e){p.initialize(q({securityLevel:"loose"},e));function t(n){return n.split(/\s+/g)[0]}const s=r.renderer.rules.fence;function g(n,u,h,O,d){const m=n[u],y=m.info.trim(),x=y?t(y):"";if(["mermaid","{mermaid}"].indexOf(x)===-1)return s!==void 0?s(n,u,h,O,d):"";let f="";const o=[],a=document.createElement("div");document.body.appendChild(a);try{const i="mermaid-container";p.mermaidAPI.render(i,m.content,j=>{const l=document.getElementById(i);l!==null&&o.push(["style",`max-width:${l.style.maxWidth};max-height:${l.style.maxHeight}`]),f=j},a)}catch(i){return`<div class="alert alert-danger">${i}</div>`}finally{a.remove()}return o.push(["src",`data:image/svg+xml,${encodeURIComponent(f)}`]),`<img ${d.renderAttrs({attrs:o})}>`}r.renderer.rules.fence=g}const c=new w({html:!0,linkify:!0,typographer:!0,breaks:!0});c.use(P);c.use(A);exports.default=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("markdown-it"),P=require("markdown-it-highlightjs"),p=require("mermaid");var $=Object.defineProperty,v=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,b=(r,e,t)=>e in r?$(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,q=(r,e)=>{for(var t in e||(e={}))I.call(e,t)&&b(r,t,e[t]);if(v)for(var t of v(e))k.call(e,t)&&b(r,t,e[t]);return r};/* istanbul ignore file -- @preserve */function A(r,e){p.initialize(q({securityLevel:"loose"},e));function t(n){return n.split(/\s+/g)[0]}const s=r.renderer.rules.fence;function g(n,u,h,O,d){const m=n[u],y=m.info.trim(),x=y?t(y):"";if(["mermaid","{mermaid}"].indexOf(x)===-1)return s!==void 0?s(n,u,h,O,d):"";let f="";const o=[],a=document.createElement("div");document.body.appendChild(a);try{const i="mermaid-container";p.mermaidAPI.render(i,m.content,j=>{const l=document.getElementById(i);l!==null&&o.push(["style",`max-width:${l.style.maxWidth};max-height:${l.style.maxHeight}`]),f=j},a)}catch(i){return`<div class="alert alert-danger">${i}</div>`}finally{a.remove()}return o.push(["src",`data:image/svg+xml,${encodeURIComponent(f)}`]),`<img ${d.renderAttrs({attrs:o})}>`}r.renderer.rules.fence=g}const c=new w({html:!0,linkify:!0,typographer:!0,breaks:!0});c.use(P);c.use(A);exports.default=c;
|