@superdoc-dev/cli 0.8.0-next.120 → 0.8.0-next.122

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 +10 -9
  2. package/package.json +8 -8
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-C3dDgx5S.es.js
209587
+ // ../../packages/superdoc/dist/chunks/src-DkqDaHKO.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) => {
@@ -286205,6 +286205,7 @@ var Node$13 = class Node$14 {
286205
286205
  "redo"
286206
286206
  ];
286207
286207
  const shouldUseLgCompactStyles = availableWidth <= RESPONSIVE_BREAKPOINTS.lg;
286208
+ const shouldIncludeFormattingMarks = superToolbar.config?.showFormattingMarksButton === true;
286208
286209
  if (shouldUseLgCompactStyles)
286209
286210
  documentMode.attributes.value = {
286210
286211
  ...documentMode.attributes.value,
@@ -286247,7 +286248,7 @@ var Node$13 = class Node$14 {
286247
286248
  linkedStyles,
286248
286249
  separator,
286249
286250
  ruler,
286250
- formattingMarks,
286251
+ ...shouldIncludeFormattingMarks ? [formattingMarks] : [],
286251
286252
  copyFormat,
286252
286253
  clearFormatting,
286253
286254
  aiButton,
@@ -286263,7 +286264,6 @@ var Node$13 = class Node$14 {
286263
286264
  toolbarItems.splice(getLinkedStylesIndex - 1, 2);
286264
286265
  const filterItems = [
286265
286266
  "ruler",
286266
- "formattingMarks",
286267
286267
  "zoom",
286268
286268
  "undo",
286269
286269
  "redo"
@@ -304088,7 +304088,7 @@ menclose::after {
304088
304088
  return;
304089
304089
  console.log(...args$1);
304090
304090
  }, 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;
304091
- var init_src_C3dDgx5S_es = __esm(() => {
304091
+ var init_src_DkqDaHKO_es = __esm(() => {
304092
304092
  init_rolldown_runtime_Bg48TavK_es();
304093
304093
  init_SuperConverter_ByqzBuoW_es();
304094
304094
  init_jszip_C49i9kUs_es();
@@ -325950,7 +325950,8 @@ function print() { __p += __j.call(arguments, '') }
325950
325950
  editor: null,
325951
325951
  aiApiKey: null,
325952
325952
  aiEndpoint: null,
325953
- customButtons: []
325953
+ customButtons: [],
325954
+ showFormattingMarksButton: false
325954
325955
  };
325955
325956
  constructor(config2) {
325956
325957
  super();
@@ -342228,9 +342229,9 @@ function print() { __p += __j.call(arguments, '') }
342228
342229
  ];
342229
342230
  });
342230
342231
 
342231
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-ohqFuGuC.es.js
342232
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-BrI339ti.es.js
342232
342233
  var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
342233
- var init_create_super_doc_ui_ohqFuGuC_es = __esm(() => {
342234
+ var init_create_super_doc_ui_BrI339ti_es = __esm(() => {
342234
342235
  init_SuperConverter_ByqzBuoW_es();
342235
342236
  init_create_headless_toolbar_CaWsmmol_es();
342236
342237
  MOD_ALIASES = new Set([
@@ -342274,7 +342275,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
342274
342275
 
342275
342276
  // ../../packages/superdoc/dist/super-editor.es.js
342276
342277
  var init_super_editor_es = __esm(() => {
342277
- init_src_C3dDgx5S_es();
342278
+ init_src_DkqDaHKO_es();
342278
342279
  init_SuperConverter_ByqzBuoW_es();
342279
342280
  init_jszip_C49i9kUs_es();
342280
342281
  init_xml_js_CqGKpaft_es();
@@ -342283,7 +342284,7 @@ var init_super_editor_es = __esm(() => {
342283
342284
  init_dist_B8HfvhaK_es();
342284
342285
  init_unified_Dsuw2be5_es();
342285
342286
  init_DocxZipper_Bphhij1P_es();
342286
- init_create_super_doc_ui_ohqFuGuC_es();
342287
+ init_create_super_doc_ui_BrI339ti_es();
342287
342288
  init_ui_CGB3qmy3_es();
342288
342289
  init_eventemitter3_UwU_CLPU_es();
342289
342290
  init_errors_C_DoKMoN_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.8.0-next.120",
3
+ "version": "0.8.0-next.122",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -26,19 +26,19 @@
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
28
  "@superdoc/pm-adapter": "0.0.0",
29
- "superdoc": "1.32.0",
30
- "@superdoc/super-editor": "0.0.1"
29
+ "@superdoc/super-editor": "0.0.1",
30
+ "superdoc": "1.32.0"
31
31
  },
32
32
  "module": "src/index.ts",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.120",
38
- "@superdoc-dev/cli-darwin-x64": "0.8.0-next.120",
39
- "@superdoc-dev/cli-linux-arm64": "0.8.0-next.120",
40
- "@superdoc-dev/cli-linux-x64": "0.8.0-next.120",
41
- "@superdoc-dev/cli-windows-x64": "0.8.0-next.120"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.122",
38
+ "@superdoc-dev/cli-darwin-x64": "0.8.0-next.122",
39
+ "@superdoc-dev/cli-linux-x64": "0.8.0-next.122",
40
+ "@superdoc-dev/cli-linux-arm64": "0.8.0-next.122",
41
+ "@superdoc-dev/cli-windows-x64": "0.8.0-next.122"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",