@nocobase/client 2.1.0-alpha.10 → 2.1.0-alpha.12

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.
@@ -0,0 +1 @@
1
+ /*! For license information please see index.mjs.LICENSE.txt */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/client",
3
- "version": "2.1.0-alpha.10",
3
+ "version": "2.1.0-alpha.12",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",
@@ -28,10 +28,10 @@
28
28
  "@formily/reactive-react": "^2.2.27",
29
29
  "@formily/shared": "^2.2.27",
30
30
  "@formily/validator": "^2.2.27",
31
- "@nocobase/evaluators": "2.1.0-alpha.10",
32
- "@nocobase/flow-engine": "2.1.0-alpha.10",
33
- "@nocobase/sdk": "2.1.0-alpha.10",
34
- "@nocobase/utils": "2.1.0-alpha.10",
31
+ "@nocobase/evaluators": "2.1.0-alpha.12",
32
+ "@nocobase/flow-engine": "2.1.0-alpha.12",
33
+ "@nocobase/sdk": "2.1.0-alpha.12",
34
+ "@nocobase/utils": "2.1.0-alpha.12",
35
35
  "@tanstack/react-table": "^8.21.3",
36
36
  "@types/tabulator-tables": "^6.2.6",
37
37
  "acorn-jsx": "^5.3.2",
@@ -96,5 +96,5 @@
96
96
  "dumi": "2.2.14",
97
97
  "dumi-theme-nocobase": "^0.2.32"
98
98
  },
99
- "gitHead": "ce790d46c0a5768ca9618c7d0d77ab8300de75c8"
99
+ "gitHead": "f12c4a75470590b1670ce54510b96ef94c2cd7a2"
100
100
  }
@@ -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,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;