@arbidocs/blocks 0.4.93 → 0.4.94
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/agents/index.cjs +283 -283
- package/dist/agents/index.js +7 -7
- package/dist/{chunk-6XS5IJ5R.cjs → chunk-3OXWJ3CZ.cjs} +5 -5
- package/dist/{chunk-6XS5IJ5R.cjs.map → chunk-3OXWJ3CZ.cjs.map} +1 -1
- package/dist/{chunk-3WW32OUU.cjs → chunk-3US5OIDQ.cjs} +3 -3
- package/dist/{chunk-3WW32OUU.cjs.map → chunk-3US5OIDQ.cjs.map} +1 -1
- package/dist/chunk-AF6RDAJF.js +14 -0
- package/dist/chunk-AF6RDAJF.js.map +1 -0
- package/dist/chunk-AOFATOT3.cjs +196 -0
- package/dist/chunk-AOFATOT3.cjs.map +1 -0
- package/dist/chunk-D3QPYKZG.js +173 -0
- package/dist/chunk-D3QPYKZG.js.map +1 -0
- package/dist/{chunk-2ZDFVRGV.cjs → chunk-E2AAIMXO.cjs} +975 -61
- package/dist/chunk-E2AAIMXO.cjs.map +1 -0
- package/dist/{chunk-MROSCSPW.cjs → chunk-KKU7MUWE.cjs} +46 -46
- package/dist/{chunk-MROSCSPW.cjs.map → chunk-KKU7MUWE.cjs.map} +1 -1
- package/dist/{chunk-AMC5PMJ3.cjs → chunk-LENXDIMY.cjs} +36 -68
- package/dist/chunk-LENXDIMY.cjs.map +1 -0
- package/dist/{chunk-SF4BDUZS.js → chunk-PGDL26TQ.js} +3 -3
- package/dist/{chunk-SF4BDUZS.js.map → chunk-PGDL26TQ.js.map} +1 -1
- package/dist/chunk-RC25WMVB.cjs +16 -0
- package/dist/chunk-RC25WMVB.cjs.map +1 -0
- package/dist/{chunk-5YXG342J.cjs → chunk-RPCQBET5.cjs} +3 -3
- package/dist/{chunk-5YXG342J.cjs.map → chunk-RPCQBET5.cjs.map} +1 -1
- package/dist/{chunk-YFPIJUV3.cjs → chunk-RZGVMV6B.cjs} +5 -5
- package/dist/{chunk-YFPIJUV3.cjs.map → chunk-RZGVMV6B.cjs.map} +1 -1
- package/dist/{chunk-W2R7YVFM.js → chunk-WXLKMEMB.js} +970 -65
- package/dist/chunk-WXLKMEMB.js.map +1 -0
- package/dist/{chunk-BX62HJZU.js → chunk-YPKSLTL5.js} +3 -3
- package/dist/{chunk-BX62HJZU.js.map → chunk-YPKSLTL5.js.map} +1 -1
- package/dist/{chunk-UO74FLRK.js → chunk-Z3G65XHZ.js} +22 -53
- package/dist/chunk-Z3G65XHZ.js.map +1 -0
- package/dist/{chunk-W7NZRZ54.js → chunk-Z7OMEYDG.js} +3 -3
- package/dist/{chunk-W7NZRZ54.js.map → chunk-Z7OMEYDG.js.map} +1 -1
- package/dist/{chunk-UDLMLU6T.js → chunk-ZNDAXSDP.js} +3 -3
- package/dist/{chunk-UDLMLU6T.js.map → chunk-ZNDAXSDP.js.map} +1 -1
- package/dist/{chunk-SJVUKXS6.js → chunk-ZNGDEQBN.js} +8 -8
- package/dist/{chunk-SJVUKXS6.js.map → chunk-ZNGDEQBN.js.map} +1 -1
- package/dist/connect/docx.cjs +8 -6
- package/dist/connect/docx.cjs.map +1 -1
- package/dist/connect/docx.js +6 -4
- package/dist/connect/docx.js.map +1 -1
- package/dist/connect/index.cjs +55 -53
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +11 -9
- package/dist/connect/index.js.map +1 -1
- package/dist/docx/NativeDocxEditor.d.ts +6 -0
- package/dist/docx/definitions/DefinedTerms.d.ts +50 -0
- package/dist/docx/definitions/commands.d.ts +78 -0
- package/dist/docx/definitions/fragment.d.ts +29 -0
- package/dist/docx/definitions/port.d.ts +76 -0
- package/dist/docx/index.cjs +53 -15
- package/dist/docx/index.cjs.map +1 -1
- package/dist/docx/index.d.ts +3 -0
- package/dist/docx/index.js +5 -3
- package/dist/docx/index.js.map +1 -1
- package/dist/facts/index.cjs +9 -14
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +5 -12
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +2 -2
- package/dist/files/index.js +2 -2
- package/dist/home/index.cjs +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +914 -774
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +102 -15
- package/dist/index.js.map +1 -1
- package/dist/settings/index.cjs +35 -35
- package/dist/settings/index.js +3 -3
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/tags/definitions.d.ts +92 -0
- package/dist/tags/glossary.d.ts +44 -0
- package/dist/tags/index.d.ts +2 -0
- package/dist/tags/ooxml.d.ts +46 -0
- package/dist/tags/tagTableDocx.d.ts +1 -1
- package/dist/workflow-canvas/index.cjs +50 -50
- package/dist/workflow-canvas/index.js +7 -7
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.js +1 -1
- package/package.json +4 -4
- package/src/docx/README.md +11 -0
- package/dist/chunk-2ZDFVRGV.cjs.map +0 -1
- package/dist/chunk-AMC5PMJ3.cjs.map +0 -1
- package/dist/chunk-UO74FLRK.js.map +0 -1
- package/dist/chunk-W2R7YVFM.js.map +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
// src/facts/fact-text.ts
|
|
5
|
+
var WHITESPACE_CODE_POINTS = /* @__PURE__ */ new Set([32, 9, 160]);
|
|
6
|
+
function decodeWhitespaceEntities(text) {
|
|
7
|
+
if (!text) return "";
|
|
8
|
+
return text.replace(/&#x([0-9a-f]+);|&#(\d+);/gi, (match, hex, dec) => {
|
|
9
|
+
const code = hex ? parseInt(hex, 16) : parseInt(dec, 10);
|
|
10
|
+
return WHITESPACE_CODE_POINTS.has(code) ? String.fromCodePoint(code) : match;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
exports.decodeWhitespaceEntities = decodeWhitespaceEntities;
|
|
15
|
+
//# sourceMappingURL=chunk-RC25WMVB.cjs.map
|
|
16
|
+
//# sourceMappingURL=chunk-RC25WMVB.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/facts/fact-text.ts"],"names":[],"mappings":";;;AAiBA,IAAM,yCAAyB,IAAI,GAAA,CAAI,CAAC,EAAA,EAAM,CAAA,EAAM,GAAI,CAAC,CAAA;AAElD,SAAS,yBAAyB,IAAA,EAAyC;AAChF,EAAA,IAAI,CAAC,MAAM,OAAO,EAAA;AAClB,EAAA,OAAO,KAAK,OAAA,CAAQ,4BAAA,EAA8B,CAAC,KAAA,EAAO,KAAa,GAAA,KAAgB;AACrF,IAAA,MAAM,IAAA,GAAO,MAAM,QAAA,CAAS,GAAA,EAAK,EAAE,CAAA,GAAI,QAAA,CAAS,KAAK,EAAE,CAAA;AACvD,IAAA,OAAO,uBAAuB,GAAA,CAAI,IAAI,IAAI,MAAA,CAAO,aAAA,CAAc,IAAI,CAAA,GAAI,KAAA;AAAA,EACzE,CAAC,CAAA;AACH","file":"chunk-RC25WMVB.cjs","sourcesContent":["/**\n * A fact's text is written in the rich markdown editor, which encodes\n * otherwise-insignificant whitespace as HTML character references so it survives\n * markdown's round-trip — a trailing space becomes ` `, a tab `	`, and\n * so on. The editor decodes them back when it re-renders, but anything that\n * shows the raw text (the grid cell, its tooltip) prints the reference verbatim,\n * so a fact reads like `This is a fact. ` instead of `This is a fact.`.\n *\n * {@link decodeWhitespaceEntities} turns those references back into the\n * characters they stand for. Only WHITESPACE code points are decoded, so the\n * result is safe both to store as markdown (an escaped `*` or `<` is never\n * turned back into active syntax) and to show as plain text.\n */\n\n// Horizontal whitespace the editor emits as an entity: space, tab, no-break\n// space. Newline/CR are deliberately left alone — decoding them could change a\n// stored fact's block structure.\nconst WHITESPACE_CODE_POINTS = new Set([0x20, 0x09, 0xa0])\n\nexport function decodeWhitespaceEntities(text: string | null | undefined): string {\n if (!text) return ''\n return text.replace(/&#x([0-9a-f]+);|&#(\\d+);/gi, (match, hex: string, dec: string) => {\n const code = hex ? parseInt(hex, 16) : parseInt(dec, 10)\n return WHITESPACE_CODE_POINTS.has(code) ? String.fromCodePoint(code) : match\n })\n}\n"]}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkADOKTJHV_cjs = require('./chunk-ADOKTJHV.cjs');
|
|
5
|
-
var chunkKDG6FER6_cjs = require('./chunk-KDG6FER6.cjs');
|
|
6
5
|
var chunkULWRNGGE_cjs = require('./chunk-ULWRNGGE.cjs');
|
|
6
|
+
var chunkKDG6FER6_cjs = require('./chunk-KDG6FER6.cjs');
|
|
7
7
|
var chunkMHVNT4J3_cjs = require('./chunk-MHVNT4J3.cjs');
|
|
8
8
|
var react = require('react');
|
|
9
9
|
var lucideReact = require('lucide-react');
|
|
@@ -1443,5 +1443,5 @@ exports.toActiveSessionViews = toActiveSessionViews;
|
|
|
1443
1443
|
exports.toDeleteBlockerViews = toDeleteBlockerViews;
|
|
1444
1444
|
exports.toLogoutSessionViews = toLogoutSessionViews;
|
|
1445
1445
|
exports.toNotificationCategories = toNotificationCategories;
|
|
1446
|
-
//# sourceMappingURL=chunk-
|
|
1447
|
-
//# sourceMappingURL=chunk-
|
|
1446
|
+
//# sourceMappingURL=chunk-RPCQBET5.cjs.map
|
|
1447
|
+
//# sourceMappingURL=chunk-RPCQBET5.cjs.map
|