@superdoc-dev/cli 0.2.0-next.143 → 0.2.0-next.144

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 +239 -102
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1352,8 +1352,7 @@ var init_operation_definitions = __esm(() => {
1352
1352
  throws: T_NOT_FOUND
1353
1353
  }),
1354
1354
  referenceDocPath: "get-node-by-id.mdx",
1355
- referenceGroup: "core",
1356
- essential: true
1355
+ referenceGroup: "core"
1357
1356
  },
1358
1357
  getText: {
1359
1358
  memberPath: "getText",
@@ -1363,7 +1362,8 @@ var init_operation_definitions = __esm(() => {
1363
1362
  metadata: readOperation(),
1364
1363
  referenceDocPath: "get-text.mdx",
1365
1364
  referenceGroup: "core",
1366
- essential: true
1365
+ intentGroup: "get_content",
1366
+ intentAction: "text"
1367
1367
  },
1368
1368
  getMarkdown: {
1369
1369
  memberPath: "getMarkdown",
@@ -1372,7 +1372,9 @@ var init_operation_definitions = __esm(() => {
1372
1372
  requiresDocumentContext: true,
1373
1373
  metadata: readOperation(),
1374
1374
  referenceDocPath: "get-markdown.mdx",
1375
- referenceGroup: "core"
1375
+ referenceGroup: "core",
1376
+ intentGroup: "get_content",
1377
+ intentAction: "markdown"
1376
1378
  },
1377
1379
  getHtml: {
1378
1380
  memberPath: "getHtml",
@@ -1381,7 +1383,9 @@ var init_operation_definitions = __esm(() => {
1381
1383
  requiresDocumentContext: true,
1382
1384
  metadata: readOperation(),
1383
1385
  referenceDocPath: "get-html.mdx",
1384
- referenceGroup: "core"
1386
+ referenceGroup: "core",
1387
+ intentGroup: "get_content",
1388
+ intentAction: "html"
1385
1389
  },
1386
1390
  markdownToFragment: {
1387
1391
  memberPath: "markdownToFragment",
@@ -1399,7 +1403,9 @@ var init_operation_definitions = __esm(() => {
1399
1403
  requiresDocumentContext: true,
1400
1404
  metadata: readOperation(),
1401
1405
  referenceDocPath: "info.mdx",
1402
- referenceGroup: "core"
1406
+ referenceGroup: "core",
1407
+ intentGroup: "get_content",
1408
+ intentAction: "info"
1403
1409
  },
1404
1410
  clearContent: {
1405
1411
  memberPath: "clearContent",
@@ -1453,7 +1459,9 @@ var init_operation_definitions = __esm(() => {
1453
1459
  ]
1454
1460
  }),
1455
1461
  referenceDocPath: "insert.mdx",
1456
- referenceGroup: "core"
1462
+ referenceGroup: "core",
1463
+ intentGroup: "edit",
1464
+ intentAction: "insert"
1457
1465
  },
1458
1466
  replace: {
1459
1467
  memberPath: "replace",
@@ -1490,7 +1498,9 @@ var init_operation_definitions = __esm(() => {
1490
1498
  ]
1491
1499
  }),
1492
1500
  referenceDocPath: "replace.mdx",
1493
- referenceGroup: "core"
1501
+ referenceGroup: "core",
1502
+ intentGroup: "edit",
1503
+ intentAction: "replace"
1494
1504
  },
1495
1505
  delete: {
1496
1506
  memberPath: "delete",
@@ -1505,7 +1515,9 @@ var init_operation_definitions = __esm(() => {
1505
1515
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET", "INVALID_INPUT"]
1506
1516
  }),
1507
1517
  referenceDocPath: "delete.mdx",
1508
- referenceGroup: "core"
1518
+ referenceGroup: "core",
1519
+ intentGroup: "edit",
1520
+ intentAction: "delete"
1509
1521
  },
1510
1522
  "blocks.list": {
1511
1523
  memberPath: "blocks.list",
@@ -1516,8 +1528,7 @@ var init_operation_definitions = __esm(() => {
1516
1528
  throws: ["INVALID_INPUT"]
1517
1529
  }),
1518
1530
  referenceDocPath: "blocks/list.mdx",
1519
- referenceGroup: "blocks",
1520
- essential: true
1531
+ referenceGroup: "blocks"
1521
1532
  },
1522
1533
  "blocks.delete": {
1523
1534
  memberPath: "blocks.delete",
@@ -1576,7 +1587,9 @@ var init_operation_definitions = __esm(() => {
1576
1587
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET", "INVALID_INPUT"]
1577
1588
  }),
1578
1589
  referenceDocPath: "format/apply.mdx",
1579
- referenceGroup: "format"
1590
+ referenceGroup: "format",
1591
+ intentGroup: "format",
1592
+ intentAction: "inline"
1580
1593
  },
1581
1594
  ...FORMAT_INLINE_ALIAS_OPERATION_DEFINITIONS,
1582
1595
  "styles.apply": {
@@ -1608,7 +1621,9 @@ var init_operation_definitions = __esm(() => {
1608
1621
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET", "AMBIGUOUS_TARGET"]
1609
1622
  }),
1610
1623
  referenceDocPath: "create/paragraph.mdx",
1611
- referenceGroup: "create"
1624
+ referenceGroup: "create",
1625
+ intentGroup: "create",
1626
+ intentAction: "paragraph"
1612
1627
  },
1613
1628
  "create.heading": {
1614
1629
  memberPath: "create.heading",
@@ -1623,7 +1638,9 @@ var init_operation_definitions = __esm(() => {
1623
1638
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET", "AMBIGUOUS_TARGET"]
1624
1639
  }),
1625
1640
  referenceDocPath: "create/heading.mdx",
1626
- referenceGroup: "create"
1641
+ referenceGroup: "create",
1642
+ intentGroup: "create",
1643
+ intentAction: "heading"
1627
1644
  },
1628
1645
  "create.sectionBreak": {
1629
1646
  memberPath: "create.sectionBreak",
@@ -1933,7 +1950,9 @@ var init_operation_definitions = __esm(() => {
1933
1950
  throws: T_PARAGRAPH_MUTATION
1934
1951
  }),
1935
1952
  referenceDocPath: "styles/paragraph/set-style.mdx",
1936
- referenceGroup: "styles.paragraph"
1953
+ referenceGroup: "styles.paragraph",
1954
+ intentGroup: "format",
1955
+ intentAction: "set_style"
1937
1956
  },
1938
1957
  "styles.paragraph.clearStyle": {
1939
1958
  memberPath: "styles.paragraph.clearStyle",
@@ -1978,7 +1997,9 @@ var init_operation_definitions = __esm(() => {
1978
1997
  throws: T_PARAGRAPH_MUTATION
1979
1998
  }),
1980
1999
  referenceDocPath: "format/paragraph/set-alignment.mdx",
1981
- referenceGroup: "format.paragraph"
2000
+ referenceGroup: "format.paragraph",
2001
+ intentGroup: "format",
2002
+ intentAction: "set_alignment"
1982
2003
  },
1983
2004
  "format.paragraph.clearAlignment": {
1984
2005
  memberPath: "format.paragraph.clearAlignment",
@@ -2008,7 +2029,9 @@ var init_operation_definitions = __esm(() => {
2008
2029
  throws: T_PARAGRAPH_MUTATION
2009
2030
  }),
2010
2031
  referenceDocPath: "format/paragraph/set-indentation.mdx",
2011
- referenceGroup: "format.paragraph"
2032
+ referenceGroup: "format.paragraph",
2033
+ intentGroup: "format",
2034
+ intentAction: "set_indentation"
2012
2035
  },
2013
2036
  "format.paragraph.clearIndentation": {
2014
2037
  memberPath: "format.paragraph.clearIndentation",
@@ -2038,7 +2061,9 @@ var init_operation_definitions = __esm(() => {
2038
2061
  throws: T_PARAGRAPH_MUTATION
2039
2062
  }),
2040
2063
  referenceDocPath: "format/paragraph/set-spacing.mdx",
2041
- referenceGroup: "format.paragraph"
2064
+ referenceGroup: "format.paragraph",
2065
+ intentGroup: "format",
2066
+ intentAction: "set_spacing"
2042
2067
  },
2043
2068
  "format.paragraph.clearSpacing": {
2044
2069
  memberPath: "format.paragraph.clearSpacing",
@@ -2242,7 +2267,9 @@ var init_operation_definitions = __esm(() => {
2242
2267
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2243
2268
  }),
2244
2269
  referenceDocPath: "lists/insert.mdx",
2245
- referenceGroup: "lists"
2270
+ referenceGroup: "lists",
2271
+ intentGroup: "list",
2272
+ intentAction: "insert"
2246
2273
  },
2247
2274
  "lists.create": {
2248
2275
  memberPath: "lists.create",
@@ -2257,7 +2284,9 @@ var init_operation_definitions = __esm(() => {
2257
2284
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2258
2285
  }),
2259
2286
  referenceDocPath: "lists/create.mdx",
2260
- referenceGroup: "lists"
2287
+ referenceGroup: "lists",
2288
+ intentGroup: "list",
2289
+ intentAction: "create"
2261
2290
  },
2262
2291
  "lists.attach": {
2263
2292
  memberPath: "lists.attach",
@@ -2287,7 +2316,9 @@ var init_operation_definitions = __esm(() => {
2287
2316
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2288
2317
  }),
2289
2318
  referenceDocPath: "lists/detach.mdx",
2290
- referenceGroup: "lists"
2319
+ referenceGroup: "lists",
2320
+ intentGroup: "list",
2321
+ intentAction: "detach"
2291
2322
  },
2292
2323
  "lists.indent": {
2293
2324
  memberPath: "lists.indent",
@@ -2302,7 +2333,9 @@ var init_operation_definitions = __esm(() => {
2302
2333
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2303
2334
  }),
2304
2335
  referenceDocPath: "lists/indent.mdx",
2305
- referenceGroup: "lists"
2336
+ referenceGroup: "lists",
2337
+ intentGroup: "list",
2338
+ intentAction: "indent"
2306
2339
  },
2307
2340
  "lists.outdent": {
2308
2341
  memberPath: "lists.outdent",
@@ -2317,7 +2350,9 @@ var init_operation_definitions = __esm(() => {
2317
2350
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2318
2351
  }),
2319
2352
  referenceDocPath: "lists/outdent.mdx",
2320
- referenceGroup: "lists"
2353
+ referenceGroup: "lists",
2354
+ intentGroup: "list",
2355
+ intentAction: "outdent"
2321
2356
  },
2322
2357
  "lists.join": {
2323
2358
  memberPath: "lists.join",
@@ -2379,7 +2414,9 @@ var init_operation_definitions = __esm(() => {
2379
2414
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2380
2415
  }),
2381
2416
  referenceDocPath: "lists/set-level.mdx",
2382
- referenceGroup: "lists"
2417
+ referenceGroup: "lists",
2418
+ intentGroup: "list",
2419
+ intentAction: "set_level"
2383
2420
  },
2384
2421
  "lists.setValue": {
2385
2422
  memberPath: "lists.setValue",
@@ -2496,7 +2533,9 @@ var init_operation_definitions = __esm(() => {
2496
2533
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET", "INVALID_INPUT"]
2497
2534
  }),
2498
2535
  referenceDocPath: "lists/set-type.mdx",
2499
- referenceGroup: "lists"
2536
+ referenceGroup: "lists",
2537
+ intentGroup: "list",
2538
+ intentAction: "set_type"
2500
2539
  },
2501
2540
  "lists.captureTemplate": {
2502
2541
  memberPath: "lists.captureTemplate",
@@ -2651,7 +2690,9 @@ var init_operation_definitions = __esm(() => {
2651
2690
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET"]
2652
2691
  }),
2653
2692
  referenceDocPath: "comments/create.mdx",
2654
- referenceGroup: "comments"
2693
+ referenceGroup: "comments",
2694
+ intentGroup: "comment",
2695
+ intentAction: "create"
2655
2696
  },
2656
2697
  "comments.patch": {
2657
2698
  memberPath: "comments.patch",
@@ -2666,7 +2707,9 @@ var init_operation_definitions = __esm(() => {
2666
2707
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_TARGET", "INVALID_INPUT"]
2667
2708
  }),
2668
2709
  referenceDocPath: "comments/patch.mdx",
2669
- referenceGroup: "comments"
2710
+ referenceGroup: "comments",
2711
+ intentGroup: "comment",
2712
+ intentAction: "update"
2670
2713
  },
2671
2714
  "comments.delete": {
2672
2715
  memberPath: "comments.delete",
@@ -2681,7 +2724,9 @@ var init_operation_definitions = __esm(() => {
2681
2724
  throws: T_NOT_FOUND_CAPABLE
2682
2725
  }),
2683
2726
  referenceDocPath: "comments/delete.mdx",
2684
- referenceGroup: "comments"
2727
+ referenceGroup: "comments",
2728
+ intentGroup: "comment",
2729
+ intentAction: "delete"
2685
2730
  },
2686
2731
  "comments.get": {
2687
2732
  memberPath: "comments.get",
@@ -2693,7 +2738,9 @@ var init_operation_definitions = __esm(() => {
2693
2738
  throws: T_NOT_FOUND
2694
2739
  }),
2695
2740
  referenceDocPath: "comments/get.mdx",
2696
- referenceGroup: "comments"
2741
+ referenceGroup: "comments",
2742
+ intentGroup: "comment",
2743
+ intentAction: "get"
2697
2744
  },
2698
2745
  "comments.list": {
2699
2746
  memberPath: "comments.list",
@@ -2705,7 +2752,9 @@ var init_operation_definitions = __esm(() => {
2705
2752
  throws: ["INVALID_INPUT"]
2706
2753
  }),
2707
2754
  referenceDocPath: "comments/list.mdx",
2708
- referenceGroup: "comments"
2755
+ referenceGroup: "comments",
2756
+ intentGroup: "comment",
2757
+ intentAction: "list"
2709
2758
  },
2710
2759
  "trackChanges.list": {
2711
2760
  memberPath: "trackChanges.list",
@@ -2717,7 +2766,9 @@ var init_operation_definitions = __esm(() => {
2717
2766
  throws: ["INVALID_INPUT"]
2718
2767
  }),
2719
2768
  referenceDocPath: "track-changes/list.mdx",
2720
- referenceGroup: "trackChanges"
2769
+ referenceGroup: "trackChanges",
2770
+ intentGroup: "track_changes",
2771
+ intentAction: "list"
2721
2772
  },
2722
2773
  "trackChanges.get": {
2723
2774
  memberPath: "trackChanges.get",
@@ -2744,7 +2795,9 @@ var init_operation_definitions = __esm(() => {
2744
2795
  throws: [...T_NOT_FOUND_CAPABLE, "INVALID_INPUT", "INVALID_TARGET"]
2745
2796
  }),
2746
2797
  referenceDocPath: "track-changes/decide.mdx",
2747
- referenceGroup: "trackChanges"
2798
+ referenceGroup: "trackChanges",
2799
+ intentGroup: "track_changes",
2800
+ intentAction: "decide"
2748
2801
  },
2749
2802
  "query.match": {
2750
2803
  memberPath: "query.match",
@@ -2758,7 +2811,8 @@ var init_operation_definitions = __esm(() => {
2758
2811
  }),
2759
2812
  referenceDocPath: "query/match.mdx",
2760
2813
  referenceGroup: "query",
2761
- essential: true
2814
+ intentGroup: "search",
2815
+ intentAction: "match"
2762
2816
  },
2763
2817
  "ranges.resolve": {
2764
2818
  memberPath: "ranges.resolve",
@@ -2771,8 +2825,7 @@ var init_operation_definitions = __esm(() => {
2771
2825
  deterministicTargetResolution: true
2772
2826
  }),
2773
2827
  referenceDocPath: "ranges/resolve.mdx",
2774
- referenceGroup: "ranges",
2775
- essential: true
2828
+ referenceGroup: "ranges"
2776
2829
  },
2777
2830
  "mutations.preview": {
2778
2831
  memberPath: "mutations.preview",
@@ -2785,7 +2838,9 @@ var init_operation_definitions = __esm(() => {
2785
2838
  deterministicTargetResolution: true
2786
2839
  }),
2787
2840
  referenceDocPath: "mutations/preview.mdx",
2788
- referenceGroup: "mutations"
2841
+ referenceGroup: "mutations",
2842
+ intentGroup: "mutations",
2843
+ intentAction: "preview"
2789
2844
  },
2790
2845
  "mutations.apply": {
2791
2846
  memberPath: "mutations.apply",
@@ -2808,7 +2863,8 @@ var init_operation_definitions = __esm(() => {
2808
2863
  }),
2809
2864
  referenceDocPath: "mutations/apply.mdx",
2810
2865
  referenceGroup: "mutations",
2811
- essential: true
2866
+ intentGroup: "mutations",
2867
+ intentAction: "apply"
2812
2868
  },
2813
2869
  "capabilities.get": {
2814
2870
  memberPath: "capabilities",
@@ -3630,7 +3686,8 @@ var init_operation_definitions = __esm(() => {
3630
3686
  }),
3631
3687
  referenceDocPath: "history/undo.mdx",
3632
3688
  referenceGroup: "history",
3633
- essential: true
3689
+ intentGroup: "edit",
3690
+ intentAction: "undo"
3634
3691
  },
3635
3692
  "history.redo": {
3636
3693
  memberPath: "history.redo",
@@ -3645,7 +3702,9 @@ var init_operation_definitions = __esm(() => {
3645
3702
  throws: ["CAPABILITY_UNAVAILABLE"]
3646
3703
  }),
3647
3704
  referenceDocPath: "history/redo.mdx",
3648
- referenceGroup: "history"
3705
+ referenceGroup: "history",
3706
+ intentGroup: "edit",
3707
+ intentAction: "redo"
3649
3708
  },
3650
3709
  "create.image": {
3651
3710
  memberPath: "create.image",
@@ -11873,6 +11932,7 @@ var init_step_op_catalog = __esm(() => {
11873
11932
 
11874
11933
  // ../../packages/document-api/src/contract/index.ts
11875
11934
  var init_contract = __esm(() => {
11935
+ init_operation_definitions();
11876
11936
  init_types2();
11877
11937
  init_command_catalog();
11878
11938
  init_schemas();
@@ -23454,9 +23514,9 @@ var init_jszip_ChlR43oI_es = __esm(() => {
23454
23514
  });
23455
23515
  });
23456
23516
 
23457
- // ../../packages/superdoc/dist/chunks/xml-js-DLE8mr0n.es.js
23517
+ // ../../packages/superdoc/dist/chunks/xml-js-BtmJ6bNs.es.js
23458
23518
  var require_events, require_inherits_browser, require_stream_browser, require_dist, require_shams$1, require_shams, require_es_object_atoms, require_es_errors, require_eval, require_range, require_ref, require_syntax, require_type, require_uri, require_abs, require_floor, require_max, require_min, require_pow, require_round, require_isNaN, require_sign, require_gOPD, require_gopd, require_es_define_property, require_has_symbols, require_Reflect_getPrototypeOf, require_Object_getPrototypeOf, require_implementation, require_function_bind, require_functionCall, require_functionApply, require_reflectApply, require_actualApply, require_call_bind_apply_helpers, require_get, require_get_proto, require_hasown, require_get_intrinsic, require_call_bound, require_is_arguments, require_is_regex, require_safe_regex_test, require_generator_function, require_is_generator_function, require_is_callable, require_for_each, require_possible_typed_array_names, require_available_typed_arrays, require_define_data_property, require_has_property_descriptors, require_set_function_length, require_applyBind, require_call_bind, require_which_typed_array, require_is_typed_array, require_types, require_isBufferBrowser, require_util, require_buffer_list, require_destroy, require_errors_browser, require_state, require_browser, require__stream_writable, require__stream_duplex, require_safe_buffer, require_string_decoder, require_end_of_stream, require_async_iterator, require_from_browser, require__stream_readable, require__stream_transform, require__stream_passthrough, require_pipeline, require_stream_browserify, require_sax, require_array_helper, require_options_helper, require_xml2js, require_xml2json, require_js2xml, require_json2xml, require_lib;
23459
- var init_xml_js_DLE8mr0n_es = __esm(() => {
23519
+ var init_xml_js_BtmJ6bNs_es = __esm(() => {
23460
23520
  init_rolldown_runtime_B2q5OVn9_es();
23461
23521
  init_jszip_ChlR43oI_es();
23462
23522
  require_events = /* @__PURE__ */ __commonJSMin((exports, module) => {
@@ -30007,6 +30067,9 @@ var init_xml_js_DLE8mr0n_es = __esm(() => {
30007
30067
  parser.opt = opt || {};
30008
30068
  parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags;
30009
30069
  parser.looseCase = parser.opt.lowercase ? "toLowerCase" : "toUpperCase";
30070
+ parser.opt.maxEntityCount = parser.opt.maxEntityCount || 512;
30071
+ parser.opt.maxEntityDepth = parser.opt.maxEntityDepth || 4;
30072
+ parser.entityCount = parser.entityDepth = 0;
30010
30073
  parser.tags = [];
30011
30074
  parser.closed = parser.closedRoot = parser.sawRoot = false;
30012
30075
  parser.tag = parser.error = null;
@@ -31255,9 +31318,14 @@ Actual: ` + parser.attribValue);
31255
31318
  if (c === ";") {
31256
31319
  var parsedEntity = parseEntity(parser);
31257
31320
  if (parser.opt.unparsedEntities && !Object.values(sax$1.XML_ENTITIES).includes(parsedEntity)) {
31321
+ if ((parser.entityCount += 1) > parser.opt.maxEntityCount)
31322
+ error(parser, "Parsed entity count exceeds max entity count");
31323
+ if ((parser.entityDepth += 1) > parser.opt.maxEntityDepth)
31324
+ error(parser, "Parsed entity depth exceeds max entity depth");
31258
31325
  parser.entity = "";
31259
31326
  parser.state = returnState;
31260
31327
  parser.write(parsedEntity);
31328
+ parser.entityDepth -= 1;
31261
31329
  } else {
31262
31330
  parser[buffer$2] += parsedEntity;
31263
31331
  parser.entity = "";
@@ -32200,7 +32268,7 @@ var init_uuid_qzgm05fK_es = __esm(() => {
32200
32268
  v5_default = v35("v5", 80, sha1);
32201
32269
  });
32202
32270
 
32203
- // ../../packages/superdoc/dist/chunks/constants-CMPtQbp7.es.js
32271
+ // ../../packages/superdoc/dist/chunks/constants-ep1_Gwqi.es.js
32204
32272
  function computeCrc32Hex(data) {
32205
32273
  let crc = 4294967295;
32206
32274
  for (let i2 = 0;i2 < data.length; i2++)
@@ -32592,8 +32660,8 @@ var import_lib, CRC32_TABLE, REMOTE_RESOURCE_PATTERN, DATA_URI_PATTERN, getArray
32592
32660
  return "webp";
32593
32661
  return null;
32594
32662
  }, COMMENT_FILE_BASENAMES, COMMENT_RELATIONSHIP_TYPES;
32595
- var init_constants_CMPtQbp7_es = __esm(() => {
32596
- init_xml_js_DLE8mr0n_es();
32663
+ var init_constants_ep1_Gwqi_es = __esm(() => {
32664
+ init_xml_js_BtmJ6bNs_es();
32597
32665
  import_lib = require_lib();
32598
32666
  CRC32_TABLE = new Uint32Array(256);
32599
32667
  for (let i2 = 0;i2 < 256; i2++) {
@@ -38800,7 +38868,7 @@ var init_remark_gfm_z_sDF4ss_es = __esm(() => {
38800
38868
  emptyOptions2 = {};
38801
38869
  });
38802
38870
 
38803
- // ../../packages/superdoc/dist/chunks/SuperConverter-voJQZ_PC.es.js
38871
+ // ../../packages/superdoc/dist/chunks/SuperConverter-DBTvnSJQ.es.js
38804
38872
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
38805
38873
  const fieldValue = extension$1.config[field];
38806
38874
  if (typeof fieldValue === "function")
@@ -75628,12 +75696,12 @@ var isRegExp = (value) => {
75628
75696
  state.kern = kernNode.attributes["w:val"];
75629
75697
  }
75630
75698
  }, SuperConverter;
75631
- var init_SuperConverter_voJQZ_PC_es = __esm(() => {
75699
+ var init_SuperConverter_DBTvnSJQ_es = __esm(() => {
75632
75700
  init_rolldown_runtime_B2q5OVn9_es();
75633
75701
  init_jszip_ChlR43oI_es();
75634
- init_xml_js_DLE8mr0n_es();
75702
+ init_xml_js_BtmJ6bNs_es();
75635
75703
  init_uuid_qzgm05fK_es();
75636
- init_constants_CMPtQbp7_es();
75704
+ init_constants_ep1_Gwqi_es();
75637
75705
  init_unified_BRHLwnjP_es();
75638
75706
  init_lib_HnbxUP96_es();
75639
75707
  init_lib_DAB30bX1_es();
@@ -78600,8 +78668,7 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78600
78668
  throws: T_NOT_FOUND2
78601
78669
  }),
78602
78670
  referenceDocPath: "get-node-by-id.mdx",
78603
- referenceGroup: "core",
78604
- essential: true
78671
+ referenceGroup: "core"
78605
78672
  },
78606
78673
  getText: {
78607
78674
  memberPath: "getText",
@@ -78611,7 +78678,8 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78611
78678
  metadata: readOperation2(),
78612
78679
  referenceDocPath: "get-text.mdx",
78613
78680
  referenceGroup: "core",
78614
- essential: true
78681
+ intentGroup: "get_content",
78682
+ intentAction: "text"
78615
78683
  },
78616
78684
  getMarkdown: {
78617
78685
  memberPath: "getMarkdown",
@@ -78620,7 +78688,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78620
78688
  requiresDocumentContext: true,
78621
78689
  metadata: readOperation2(),
78622
78690
  referenceDocPath: "get-markdown.mdx",
78623
- referenceGroup: "core"
78691
+ referenceGroup: "core",
78692
+ intentGroup: "get_content",
78693
+ intentAction: "markdown"
78624
78694
  },
78625
78695
  getHtml: {
78626
78696
  memberPath: "getHtml",
@@ -78629,7 +78699,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78629
78699
  requiresDocumentContext: true,
78630
78700
  metadata: readOperation2(),
78631
78701
  referenceDocPath: "get-html.mdx",
78632
- referenceGroup: "core"
78702
+ referenceGroup: "core",
78703
+ intentGroup: "get_content",
78704
+ intentAction: "html"
78633
78705
  },
78634
78706
  markdownToFragment: {
78635
78707
  memberPath: "markdownToFragment",
@@ -78647,7 +78719,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78647
78719
  requiresDocumentContext: true,
78648
78720
  metadata: readOperation2(),
78649
78721
  referenceDocPath: "info.mdx",
78650
- referenceGroup: "core"
78722
+ referenceGroup: "core",
78723
+ intentGroup: "get_content",
78724
+ intentAction: "info"
78651
78725
  },
78652
78726
  clearContent: {
78653
78727
  memberPath: "clearContent",
@@ -78701,7 +78775,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78701
78775
  ]
78702
78776
  }),
78703
78777
  referenceDocPath: "insert.mdx",
78704
- referenceGroup: "core"
78778
+ referenceGroup: "core",
78779
+ intentGroup: "edit",
78780
+ intentAction: "insert"
78705
78781
  },
78706
78782
  replace: {
78707
78783
  memberPath: "replace",
@@ -78738,7 +78814,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78738
78814
  ]
78739
78815
  }),
78740
78816
  referenceDocPath: "replace.mdx",
78741
- referenceGroup: "core"
78817
+ referenceGroup: "core",
78818
+ intentGroup: "edit",
78819
+ intentAction: "replace"
78742
78820
  },
78743
78821
  delete: {
78744
78822
  memberPath: "delete",
@@ -78757,7 +78835,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78757
78835
  ]
78758
78836
  }),
78759
78837
  referenceDocPath: "delete.mdx",
78760
- referenceGroup: "core"
78838
+ referenceGroup: "core",
78839
+ intentGroup: "edit",
78840
+ intentAction: "delete"
78761
78841
  },
78762
78842
  "blocks.list": {
78763
78843
  memberPath: "blocks.list",
@@ -78766,8 +78846,7 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78766
78846
  requiresDocumentContext: true,
78767
78847
  metadata: readOperation2({ throws: ["INVALID_INPUT"] }),
78768
78848
  referenceDocPath: "blocks/list.mdx",
78769
- referenceGroup: "blocks",
78770
- essential: true
78849
+ referenceGroup: "blocks"
78771
78850
  },
78772
78851
  "blocks.delete": {
78773
78852
  memberPath: "blocks.delete",
@@ -78830,7 +78909,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78830
78909
  ]
78831
78910
  }),
78832
78911
  referenceDocPath: "format/apply.mdx",
78833
- referenceGroup: "format"
78912
+ referenceGroup: "format",
78913
+ intentGroup: "format",
78914
+ intentAction: "inline"
78834
78915
  },
78835
78916
  ...FORMAT_INLINE_ALIAS_OPERATION_DEFINITIONS2,
78836
78917
  "styles.apply": {
@@ -78871,7 +78952,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78871
78952
  ]
78872
78953
  }),
78873
78954
  referenceDocPath: "create/paragraph.mdx",
78874
- referenceGroup: "create"
78955
+ referenceGroup: "create",
78956
+ intentGroup: "create",
78957
+ intentAction: "paragraph"
78875
78958
  },
78876
78959
  "create.heading": {
78877
78960
  memberPath: "create.heading",
@@ -78890,7 +78973,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
78890
78973
  ]
78891
78974
  }),
78892
78975
  referenceDocPath: "create/heading.mdx",
78893
- referenceGroup: "create"
78976
+ referenceGroup: "create",
78977
+ intentGroup: "create",
78978
+ intentAction: "heading"
78894
78979
  },
78895
78980
  "create.sectionBreak": {
78896
78981
  memberPath: "create.sectionBreak",
@@ -79260,7 +79345,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79260
79345
  throws: T_PARAGRAPH_MUTATION2
79261
79346
  }),
79262
79347
  referenceDocPath: "styles/paragraph/set-style.mdx",
79263
- referenceGroup: "styles.paragraph"
79348
+ referenceGroup: "styles.paragraph",
79349
+ intentGroup: "format",
79350
+ intentAction: "set_style"
79264
79351
  },
79265
79352
  "styles.paragraph.clearStyle": {
79266
79353
  memberPath: "styles.paragraph.clearStyle",
@@ -79305,7 +79392,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79305
79392
  throws: T_PARAGRAPH_MUTATION2
79306
79393
  }),
79307
79394
  referenceDocPath: "format/paragraph/set-alignment.mdx",
79308
- referenceGroup: "format.paragraph"
79395
+ referenceGroup: "format.paragraph",
79396
+ intentGroup: "format",
79397
+ intentAction: "set_alignment"
79309
79398
  },
79310
79399
  "format.paragraph.clearAlignment": {
79311
79400
  memberPath: "format.paragraph.clearAlignment",
@@ -79335,7 +79424,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79335
79424
  throws: T_PARAGRAPH_MUTATION2
79336
79425
  }),
79337
79426
  referenceDocPath: "format/paragraph/set-indentation.mdx",
79338
- referenceGroup: "format.paragraph"
79427
+ referenceGroup: "format.paragraph",
79428
+ intentGroup: "format",
79429
+ intentAction: "set_indentation"
79339
79430
  },
79340
79431
  "format.paragraph.clearIndentation": {
79341
79432
  memberPath: "format.paragraph.clearIndentation",
@@ -79365,7 +79456,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79365
79456
  throws: T_PARAGRAPH_MUTATION2
79366
79457
  }),
79367
79458
  referenceDocPath: "format/paragraph/set-spacing.mdx",
79368
- referenceGroup: "format.paragraph"
79459
+ referenceGroup: "format.paragraph",
79460
+ intentGroup: "format",
79461
+ intentAction: "set_spacing"
79369
79462
  },
79370
79463
  "format.paragraph.clearSpacing": {
79371
79464
  memberPath: "format.paragraph.clearSpacing",
@@ -79573,7 +79666,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79573
79666
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
79574
79667
  }),
79575
79668
  referenceDocPath: "lists/insert.mdx",
79576
- referenceGroup: "lists"
79669
+ referenceGroup: "lists",
79670
+ intentGroup: "list",
79671
+ intentAction: "insert"
79577
79672
  },
79578
79673
  "lists.create": {
79579
79674
  memberPath: "lists.create",
@@ -79588,7 +79683,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79588
79683
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
79589
79684
  }),
79590
79685
  referenceDocPath: "lists/create.mdx",
79591
- referenceGroup: "lists"
79686
+ referenceGroup: "lists",
79687
+ intentGroup: "list",
79688
+ intentAction: "create"
79592
79689
  },
79593
79690
  "lists.attach": {
79594
79691
  memberPath: "lists.attach",
@@ -79618,7 +79715,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79618
79715
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
79619
79716
  }),
79620
79717
  referenceDocPath: "lists/detach.mdx",
79621
- referenceGroup: "lists"
79718
+ referenceGroup: "lists",
79719
+ intentGroup: "list",
79720
+ intentAction: "detach"
79622
79721
  },
79623
79722
  "lists.indent": {
79624
79723
  memberPath: "lists.indent",
@@ -79637,7 +79736,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79637
79736
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
79638
79737
  }),
79639
79738
  referenceDocPath: "lists/indent.mdx",
79640
- referenceGroup: "lists"
79739
+ referenceGroup: "lists",
79740
+ intentGroup: "list",
79741
+ intentAction: "indent"
79641
79742
  },
79642
79743
  "lists.outdent": {
79643
79744
  memberPath: "lists.outdent",
@@ -79656,7 +79757,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79656
79757
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
79657
79758
  }),
79658
79759
  referenceDocPath: "lists/outdent.mdx",
79659
- referenceGroup: "lists"
79760
+ referenceGroup: "lists",
79761
+ intentGroup: "list",
79762
+ intentAction: "outdent"
79660
79763
  },
79661
79764
  "lists.join": {
79662
79765
  memberPath: "lists.join",
@@ -79726,7 +79829,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79726
79829
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
79727
79830
  }),
79728
79831
  referenceDocPath: "lists/set-level.mdx",
79729
- referenceGroup: "lists"
79832
+ referenceGroup: "lists",
79833
+ intentGroup: "list",
79834
+ intentAction: "set_level"
79730
79835
  },
79731
79836
  "lists.setValue": {
79732
79837
  memberPath: "lists.setValue",
@@ -79877,7 +79982,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
79877
79982
  ]
79878
79983
  }),
79879
79984
  referenceDocPath: "lists/set-type.mdx",
79880
- referenceGroup: "lists"
79985
+ referenceGroup: "lists",
79986
+ intentGroup: "list",
79987
+ intentAction: "set_type"
79881
79988
  },
79882
79989
  "lists.captureTemplate": {
79883
79990
  memberPath: "lists.captureTemplate",
@@ -80083,7 +80190,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80083
80190
  throws: [...T_NOT_FOUND_CAPABLE2, "INVALID_TARGET"]
80084
80191
  }),
80085
80192
  referenceDocPath: "comments/create.mdx",
80086
- referenceGroup: "comments"
80193
+ referenceGroup: "comments",
80194
+ intentGroup: "comment",
80195
+ intentAction: "create"
80087
80196
  },
80088
80197
  "comments.patch": {
80089
80198
  memberPath: "comments.patch",
@@ -80102,7 +80211,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80102
80211
  ]
80103
80212
  }),
80104
80213
  referenceDocPath: "comments/patch.mdx",
80105
- referenceGroup: "comments"
80214
+ referenceGroup: "comments",
80215
+ intentGroup: "comment",
80216
+ intentAction: "update"
80106
80217
  },
80107
80218
  "comments.delete": {
80108
80219
  memberPath: "comments.delete",
@@ -80117,7 +80228,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80117
80228
  throws: T_NOT_FOUND_CAPABLE2
80118
80229
  }),
80119
80230
  referenceDocPath: "comments/delete.mdx",
80120
- referenceGroup: "comments"
80231
+ referenceGroup: "comments",
80232
+ intentGroup: "comment",
80233
+ intentAction: "delete"
80121
80234
  },
80122
80235
  "comments.get": {
80123
80236
  memberPath: "comments.get",
@@ -80129,7 +80242,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80129
80242
  throws: T_NOT_FOUND2
80130
80243
  }),
80131
80244
  referenceDocPath: "comments/get.mdx",
80132
- referenceGroup: "comments"
80245
+ referenceGroup: "comments",
80246
+ intentGroup: "comment",
80247
+ intentAction: "get"
80133
80248
  },
80134
80249
  "comments.list": {
80135
80250
  memberPath: "comments.list",
@@ -80141,7 +80256,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80141
80256
  throws: ["INVALID_INPUT"]
80142
80257
  }),
80143
80258
  referenceDocPath: "comments/list.mdx",
80144
- referenceGroup: "comments"
80259
+ referenceGroup: "comments",
80260
+ intentGroup: "comment",
80261
+ intentAction: "list"
80145
80262
  },
80146
80263
  "trackChanges.list": {
80147
80264
  memberPath: "trackChanges.list",
@@ -80153,7 +80270,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80153
80270
  throws: ["INVALID_INPUT"]
80154
80271
  }),
80155
80272
  referenceDocPath: "track-changes/list.mdx",
80156
- referenceGroup: "trackChanges"
80273
+ referenceGroup: "trackChanges",
80274
+ intentGroup: "track_changes",
80275
+ intentAction: "list"
80157
80276
  },
80158
80277
  "trackChanges.get": {
80159
80278
  memberPath: "trackChanges.get",
@@ -80184,7 +80303,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80184
80303
  ]
80185
80304
  }),
80186
80305
  referenceDocPath: "track-changes/decide.mdx",
80187
- referenceGroup: "trackChanges"
80306
+ referenceGroup: "trackChanges",
80307
+ intentGroup: "track_changes",
80308
+ intentAction: "decide"
80188
80309
  },
80189
80310
  "query.match": {
80190
80311
  memberPath: "query.match",
@@ -80198,7 +80319,8 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80198
80319
  }),
80199
80320
  referenceDocPath: "query/match.mdx",
80200
80321
  referenceGroup: "query",
80201
- essential: true
80322
+ intentGroup: "search",
80323
+ intentAction: "match"
80202
80324
  },
80203
80325
  "ranges.resolve": {
80204
80326
  memberPath: "ranges.resolve",
@@ -80217,8 +80339,7 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80217
80339
  deterministicTargetResolution: true
80218
80340
  }),
80219
80341
  referenceDocPath: "ranges/resolve.mdx",
80220
- referenceGroup: "ranges",
80221
- essential: true
80342
+ referenceGroup: "ranges"
80222
80343
  },
80223
80344
  "mutations.preview": {
80224
80345
  memberPath: "mutations.preview",
@@ -80231,7 +80352,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80231
80352
  deterministicTargetResolution: true
80232
80353
  }),
80233
80354
  referenceDocPath: "mutations/preview.mdx",
80234
- referenceGroup: "mutations"
80355
+ referenceGroup: "mutations",
80356
+ intentGroup: "mutations",
80357
+ intentAction: "preview"
80235
80358
  },
80236
80359
  "mutations.apply": {
80237
80360
  memberPath: "mutations.apply",
@@ -80254,7 +80377,8 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
80254
80377
  }),
80255
80378
  referenceDocPath: "mutations/apply.mdx",
80256
80379
  referenceGroup: "mutations",
80257
- essential: true
80380
+ intentGroup: "mutations",
80381
+ intentAction: "apply"
80258
80382
  },
80259
80383
  "capabilities.get": {
80260
80384
  memberPath: "capabilities",
@@ -81110,7 +81234,8 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
81110
81234
  }),
81111
81235
  referenceDocPath: "history/undo.mdx",
81112
81236
  referenceGroup: "history",
81113
- essential: true
81237
+ intentGroup: "edit",
81238
+ intentAction: "undo"
81114
81239
  },
81115
81240
  "history.redo": {
81116
81241
  memberPath: "history.redo",
@@ -81125,7 +81250,9 @@ var init_SuperConverter_voJQZ_PC_es = __esm(() => {
81125
81250
  throws: ["CAPABILITY_UNAVAILABLE"]
81126
81251
  }),
81127
81252
  referenceDocPath: "history/redo.mdx",
81128
- referenceGroup: "history"
81253
+ referenceGroup: "history",
81254
+ intentGroup: "edit",
81255
+ intentAction: "redo"
81129
81256
  },
81130
81257
  "create.image": {
81131
81258
  memberPath: "create.image",
@@ -110314,7 +110441,7 @@ var init_remark_stringify_D8vxv_XI_es = __esm(() => {
110314
110441
  eol = /\r?\n|\r/g;
110315
110442
  });
110316
110443
 
110317
- // ../../packages/superdoc/dist/chunks/DocxZipper-BmRnFofk.es.js
110444
+ // ../../packages/superdoc/dist/chunks/DocxZipper-DTP6a0rR.es.js
110318
110445
  function getLens2(b64) {
110319
110446
  var len$1 = b64.length;
110320
110447
  if (len$1 % 4 > 0)
@@ -110950,11 +111077,11 @@ var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.docum
110950
111077
  return `image/${MIME_TYPE_FOR_EXT[detectedType] || detectedType}`;
110951
111078
  }
110952
111079
  }, DocxZipper_default;
110953
- var init_DocxZipper_BmRnFofk_es = __esm(() => {
111080
+ var init_DocxZipper_DTP6a0rR_es = __esm(() => {
110954
111081
  init_rolldown_runtime_B2q5OVn9_es();
110955
111082
  init_jszip_ChlR43oI_es();
110956
- init_xml_js_DLE8mr0n_es();
110957
- init_constants_CMPtQbp7_es();
111083
+ init_xml_js_BtmJ6bNs_es();
111084
+ init_constants_ep1_Gwqi_es();
110958
111085
  buffer2 = {};
110959
111086
  base64Js2 = {};
110960
111087
  base64Js2.byteLength = byteLength2;
@@ -136053,7 +136180,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
136053
136180
  init_remark_gfm_z_sDF4ss_es();
136054
136181
  });
136055
136182
 
136056
- // ../../packages/superdoc/dist/chunks/src-D_53T9-x.es.js
136183
+ // ../../packages/superdoc/dist/chunks/src-DUt8-PYY.es.js
136057
136184
  function deleteProps(obj, propOrProps) {
136058
136185
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
136059
136186
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -221920,16 +222047,16 @@ var Node$13 = class Node$14 {
221920
222047
  return false;
221921
222048
  return Boolean(checker(attrs));
221922
222049
  }, SuperToolbar, ICONS, TEXTS, tableActionsOptions;
221923
- var init_src_D_53T9_x_es = __esm(() => {
222050
+ var init_src_DUt8_PYY_es = __esm(() => {
221924
222051
  init_rolldown_runtime_B2q5OVn9_es();
221925
- init_SuperConverter_voJQZ_PC_es();
222052
+ init_SuperConverter_DBTvnSJQ_es();
221926
222053
  init_jszip_ChlR43oI_es();
221927
222054
  init_uuid_qzgm05fK_es();
221928
- init_constants_CMPtQbp7_es();
222055
+ init_constants_ep1_Gwqi_es();
221929
222056
  init_unified_BRHLwnjP_es();
221930
222057
  init_remark_gfm_z_sDF4ss_es();
221931
222058
  init_remark_stringify_D8vxv_XI_es();
221932
- init_DocxZipper_BmRnFofk_es();
222059
+ init_DocxZipper_DTP6a0rR_es();
221933
222060
  init_vue_DQHWm9lq_es();
221934
222061
  init__plugin_vue_export_helper_HmhZBO0u_es();
221935
222062
  init_eventemitter3_DGBTyUUP_es();
@@ -255770,13 +255897,13 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
255770
255897
 
255771
255898
  // ../../packages/superdoc/dist/super-editor.es.js
255772
255899
  var init_super_editor_es = __esm(() => {
255773
- init_src_D_53T9_x_es();
255774
- init_SuperConverter_voJQZ_PC_es();
255900
+ init_src_DUt8_PYY_es();
255901
+ init_SuperConverter_DBTvnSJQ_es();
255775
255902
  init_jszip_ChlR43oI_es();
255776
- init_xml_js_DLE8mr0n_es();
255777
- init_constants_CMPtQbp7_es();
255903
+ init_xml_js_BtmJ6bNs_es();
255904
+ init_constants_ep1_Gwqi_es();
255778
255905
  init_unified_BRHLwnjP_es();
255779
- init_DocxZipper_BmRnFofk_es();
255906
+ init_DocxZipper_DTP6a0rR_es();
255780
255907
  init_vue_DQHWm9lq_es();
255781
255908
  init_eventemitter3_DGBTyUUP_es();
255782
255909
  init_zipper_DqXT7uTa_es();
@@ -259525,7 +259652,7 @@ var init_utilities = __esm(() => {
259525
259652
  init_clipboardUtils();
259526
259653
  });
259527
259654
 
259528
- // ../../node_modules/.pnpm/sax@1.4.4/node_modules/sax/lib/sax.js
259655
+ // ../../node_modules/.pnpm/sax@1.5.0/node_modules/sax/lib/sax.js
259529
259656
  var require_sax2 = __commonJS((exports) => {
259530
259657
  (function(sax) {
259531
259658
  sax.parser = function(strict, opt) {
@@ -259580,6 +259707,9 @@ var require_sax2 = __commonJS((exports) => {
259580
259707
  parser.opt = opt || {};
259581
259708
  parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags;
259582
259709
  parser.looseCase = parser.opt.lowercase ? "toLowerCase" : "toUpperCase";
259710
+ parser.opt.maxEntityCount = parser.opt.maxEntityCount || 512;
259711
+ parser.opt.maxEntityDepth = parser.opt.maxEntityDepth || 4;
259712
+ parser.entityCount = parser.entityDepth = 0;
259583
259713
  parser.tags = [];
259584
259714
  parser.closed = parser.closedRoot = parser.sawRoot = false;
259585
259715
  parser.tag = parser.error = null;
@@ -260890,9 +261020,16 @@ Char: ` + parser.c;
260890
261020
  if (c === ";") {
260891
261021
  var parsedEntity = parseEntity(parser);
260892
261022
  if (parser.opt.unparsedEntities && !Object.values(sax.XML_ENTITIES).includes(parsedEntity)) {
261023
+ if ((parser.entityCount += 1) > parser.opt.maxEntityCount) {
261024
+ error(parser, "Parsed entity count exceeds max entity count");
261025
+ }
261026
+ if ((parser.entityDepth += 1) > parser.opt.maxEntityDepth) {
261027
+ error(parser, "Parsed entity depth exceeds max entity depth");
261028
+ }
260893
261029
  parser.entity = "";
260894
261030
  parser.state = returnState;
260895
261031
  parser.write(parsedEntity);
261032
+ parser.entityDepth -= 1;
260896
261033
  } else {
260897
261034
  parser[buffer4] += parsedEntity;
260898
261035
  parser.entity = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.2.0-next.143",
3
+ "version": "0.2.0-next.144",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -30,11 +30,11 @@
30
30
  "access": "public"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@superdoc-dev/cli-darwin-arm64": "0.2.0-next.143",
34
- "@superdoc-dev/cli-darwin-x64": "0.2.0-next.143",
35
- "@superdoc-dev/cli-linux-x64": "0.2.0-next.143",
36
- "@superdoc-dev/cli-linux-arm64": "0.2.0-next.143",
37
- "@superdoc-dev/cli-windows-x64": "0.2.0-next.143"
33
+ "@superdoc-dev/cli-darwin-arm64": "0.2.0-next.144",
34
+ "@superdoc-dev/cli-linux-x64": "0.2.0-next.144",
35
+ "@superdoc-dev/cli-darwin-x64": "0.2.0-next.144",
36
+ "@superdoc-dev/cli-linux-arm64": "0.2.0-next.144",
37
+ "@superdoc-dev/cli-windows-x64": "0.2.0-next.144"
38
38
  },
39
39
  "scripts": {
40
40
  "dev": "bun run src/index.ts",