@superdoc-dev/cli 0.11.0-next.2 → 0.11.0-next.4

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -10
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -209584,7 +209584,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
209584
209584
  init_remark_gfm_BhnWr3yf_es();
209585
209585
  });
209586
209586
 
209587
- // ../../packages/superdoc/dist/chunks/src-DTrWuNvy.es.js
209587
+ // ../../packages/superdoc/dist/chunks/src-Cj1y6vM-.es.js
209588
209588
  function deleteProps(obj, propOrProps) {
209589
209589
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
209590
209590
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -267059,12 +267059,8 @@ function tableNodeToBlock(node3, { nextBlockId, positions, storyKey, trackedChan
267059
267059
  const tableProperties = node3.attrs?.tableProperties;
267060
267060
  if (tableProperties && typeof tableProperties === "object")
267061
267061
  tableAttrs.tableProperties = tableProperties;
267062
- const styleResolvedTableProps = effectiveStyleId && converterContext?.translatedLinkedStyles ? resolveTableProperties(effectiveStyleId, converterContext.translatedLinkedStyles) : undefined;
267063
267062
  const inlineProps = rawTableProperties;
267064
- const styleProps = styleResolvedTableProps;
267065
- const inlineVisual = inlineProps?.rightToLeft ?? inlineProps?.bidiVisual;
267066
- const styleVisual = styleProps?.rightToLeft ?? styleProps?.bidiVisual;
267067
- tableAttrs.tableDirectionContext = resolveTableDirection({ rightToLeft: inlineVisual ?? styleVisual }, converterContext?.sectionDirectionContext ?? resolveSectionDirection(undefined));
267063
+ tableAttrs.tableDirectionContext = resolveTableDirection({ rightToLeft: inlineProps?.rightToLeft ?? inlineProps?.bidiVisual }, converterContext?.sectionDirectionContext ?? resolveSectionDirection(undefined));
267068
267064
  let columnWidths = undefined;
267069
267065
  const twipsToPixels$2 = (twips) => {
267070
267066
  return twips / 1440 * 96;
@@ -304353,7 +304349,7 @@ menclose::after {
304353
304349
  return;
304354
304350
  console.log(...args$1);
304355
304351
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
304356
- var init_src_DTrWuNvy_es = __esm(() => {
304352
+ var init_src_Cj1y6vM_es = __esm(() => {
304357
304353
  init_rolldown_runtime_Bg48TavK_es();
304358
304354
  init_SuperConverter_CnwfJPj6_es();
304359
304355
  init_jszip_C49i9kUs_es();
@@ -322919,7 +322915,7 @@ function print() { __p += __j.call(arguments, '') }
322919
322915
  })];
322920
322916
  }
322921
322917
  });
322922
- STRONG_RTL_CHAR_RE$1 = /[\u0590-\u08FF]/;
322918
+ STRONG_RTL_CHAR_RE$1 = /[\u0590-\u08FF\p{Script=Hebrew}\p{Script=Arabic}]/u;
322923
322919
  STRONG_LTR_CHAR_RE = /[A-Za-z\u00C0-\u024F]/;
322924
322920
  MixedBidiBackspace = Extension.create({
322925
322921
  name: "mixedBidiBackspace",
@@ -331032,7 +331028,7 @@ function print() { __p += __j.call(arguments, '') }
331032
331028
  "doubleWave"
331033
331029
  ]);
331034
331030
  RTL_DATE_LIKE_TOKEN_RE = /^-?\d+(?:[./-]\d+)+$/;
331035
- STRONG_RTL_CHAR_RE = /[\u0590-\u08FF]/;
331031
+ STRONG_RTL_CHAR_RE = /[\u0590-\u08FF\p{Script=Hebrew}\p{Script=Arabic}]/u;
331036
331032
  LATIN_DIGIT_NEUTRAL_ONLY_RE = /^[\s0-9A-Za-z./\-_:,+()]+$/;
331037
331033
  OPERATOR_CHARS = new Set([
331038
331034
  "+",
@@ -342572,7 +342568,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
342572
342568
 
342573
342569
  // ../../packages/superdoc/dist/super-editor.es.js
342574
342570
  var init_super_editor_es = __esm(() => {
342575
- init_src_DTrWuNvy_es();
342571
+ init_src_Cj1y6vM_es();
342576
342572
  init_SuperConverter_CnwfJPj6_es();
342577
342573
  init_jszip_C49i9kUs_es();
342578
342574
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.11.0-next.2",
3
+ "version": "0.11.0-next.4",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -24,9 +24,9 @@
24
24
  "@types/node": "22.19.2",
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
- "@superdoc/document-api": "0.0.1",
28
27
  "@superdoc/pm-adapter": "0.0.0",
29
28
  "superdoc": "1.33.1",
29
+ "@superdoc/document-api": "0.0.1",
30
30
  "@superdoc/super-editor": "0.0.1"
31
31
  },
32
32
  "module": "src/index.ts",
@@ -34,11 +34,11 @@
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.11.0-next.2",
38
- "@superdoc-dev/cli-darwin-x64": "0.11.0-next.2",
39
- "@superdoc-dev/cli-linux-arm64": "0.11.0-next.2",
40
- "@superdoc-dev/cli-windows-x64": "0.11.0-next.2",
41
- "@superdoc-dev/cli-linux-x64": "0.11.0-next.2"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.11.0-next.4",
38
+ "@superdoc-dev/cli-darwin-x64": "0.11.0-next.4",
39
+ "@superdoc-dev/cli-linux-x64": "0.11.0-next.4",
40
+ "@superdoc-dev/cli-linux-arm64": "0.11.0-next.4",
41
+ "@superdoc-dev/cli-windows-x64": "0.11.0-next.4"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",