@superdoc-dev/cli 0.17.0-next.14 → 0.17.0-next.16
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/index.js +84 -20
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -68327,7 +68327,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
|
|
|
68327
68327
|
emptyOptions2 = {};
|
|
68328
68328
|
});
|
|
68329
68329
|
|
|
68330
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
68330
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-DBlOjc68.es.js
|
|
68331
68331
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
68332
68332
|
const fieldValue = extension$1.config[field];
|
|
68333
68333
|
if (typeof fieldValue === "function")
|
|
@@ -134327,7 +134327,7 @@ var isRegExp = (value) => {
|
|
|
134327
134327
|
state.kern = kernNode.attributes["w:val"];
|
|
134328
134328
|
}
|
|
134329
134329
|
}, SuperConverter;
|
|
134330
|
-
var
|
|
134330
|
+
var init_SuperConverter_DBlOjc68_es = __esm(() => {
|
|
134331
134331
|
init_rolldown_runtime_Bg48TavK_es();
|
|
134332
134332
|
init_jszip_C49i9kUs_es();
|
|
134333
134333
|
init_xml_js_CqGKpaft_es();
|
|
@@ -171887,7 +171887,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
171887
171887
|
meanDelta: 0,
|
|
171888
171888
|
maxDelta: 0.5
|
|
171889
171889
|
},
|
|
171890
|
-
candidateLicense: "
|
|
171890
|
+
candidateLicense: "GPL-2.0-only WITH Font-exception-2.0",
|
|
171891
171891
|
faceVerdicts: {
|
|
171892
171892
|
regular: "metric_safe",
|
|
171893
171893
|
bold: "visual_only",
|
|
@@ -171996,7 +171996,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
171996
171996
|
policyAction: "substitute",
|
|
171997
171997
|
measurementRefs: ["bookman-old-style__tex-gyre-bonum#visual_review#2026-06-09"],
|
|
171998
171998
|
exportRule: "preserve_original_name",
|
|
171999
|
-
candidateLicense: "GUST-Font-License-1.0"
|
|
171999
|
+
candidateLicense: "LicenseRef-GUST-Font-License-1.0"
|
|
172000
172000
|
},
|
|
172001
172001
|
{
|
|
172002
172002
|
evidenceId: "century",
|
|
@@ -172021,6 +172021,29 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
172021
172021
|
exportRule: "preserve_original_name",
|
|
172022
172022
|
candidateLicense: "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
|
|
172023
172023
|
},
|
|
172024
|
+
{
|
|
172025
|
+
evidenceId: "century-schoolbook",
|
|
172026
|
+
generic: "serif",
|
|
172027
|
+
logicalFamily: "Century Schoolbook",
|
|
172028
|
+
physicalFamily: "C059",
|
|
172029
|
+
verdict: "visual_only",
|
|
172030
|
+
faces: {
|
|
172031
|
+
regular: true,
|
|
172032
|
+
bold: true,
|
|
172033
|
+
italic: true,
|
|
172034
|
+
boldItalic: true
|
|
172035
|
+
},
|
|
172036
|
+
gates: {
|
|
172037
|
+
static: "pass",
|
|
172038
|
+
metric: "fail",
|
|
172039
|
+
layout: "not_run",
|
|
172040
|
+
ship: "fail"
|
|
172041
|
+
},
|
|
172042
|
+
policyAction: "substitute",
|
|
172043
|
+
measurementRefs: ["century-schoolbook__c059#visual_review#2026-06-09"],
|
|
172044
|
+
exportRule: "preserve_original_name",
|
|
172045
|
+
candidateLicense: "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
|
|
172046
|
+
},
|
|
172024
172047
|
{
|
|
172025
172048
|
evidenceId: "garamond",
|
|
172026
172049
|
generic: "serif",
|
|
@@ -172579,6 +172602,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
172579
172602
|
family("Carlito", "Carlito", "OFL-1.1"),
|
|
172580
172603
|
family("Caladea", "Caladea", "Apache-2.0"),
|
|
172581
172604
|
family("Liberation Sans", "LiberationSans", "OFL-1.1"),
|
|
172605
|
+
family("Liberation Sans Narrow", "LiberationSansNarrow", "GPL-2.0-only WITH Font-exception-2.0"),
|
|
172582
172606
|
family("Liberation Serif", "LiberationSerif", "OFL-1.1"),
|
|
172583
172607
|
family("Liberation Mono", "LiberationMono", "OFL-1.1"),
|
|
172584
172608
|
familyWithFaces("Caprasimo", "OFL-1.1", [{
|
|
@@ -172586,6 +172610,33 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
172586
172610
|
style: "normal",
|
|
172587
172611
|
file: "Caprasimo-Regular.woff2"
|
|
172588
172612
|
}]),
|
|
172613
|
+
familyWithFaces("Archivo Black", "OFL-1.1", [{
|
|
172614
|
+
weight: "normal",
|
|
172615
|
+
style: "normal",
|
|
172616
|
+
file: "ArchivoBlack-Regular.woff2"
|
|
172617
|
+
}]),
|
|
172618
|
+
familyWithFaces("C059", "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817", [
|
|
172619
|
+
{
|
|
172620
|
+
weight: "normal",
|
|
172621
|
+
style: "normal",
|
|
172622
|
+
file: "C059-Roman.woff2"
|
|
172623
|
+
},
|
|
172624
|
+
{
|
|
172625
|
+
weight: "bold",
|
|
172626
|
+
style: "normal",
|
|
172627
|
+
file: "C059-Bold.woff2"
|
|
172628
|
+
},
|
|
172629
|
+
{
|
|
172630
|
+
weight: "normal",
|
|
172631
|
+
style: "italic",
|
|
172632
|
+
file: "C059-Italic.woff2"
|
|
172633
|
+
},
|
|
172634
|
+
{
|
|
172635
|
+
weight: "bold",
|
|
172636
|
+
style: "italic",
|
|
172637
|
+
file: "C059-BdIta.woff2"
|
|
172638
|
+
}
|
|
172639
|
+
]),
|
|
172589
172640
|
familyWithFaces("Bacasime Antique", "OFL-1.1", [{
|
|
172590
172641
|
weight: "normal",
|
|
172591
172642
|
style: "normal",
|
|
@@ -172633,7 +172684,16 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
172633
172684
|
style: "normal",
|
|
172634
172685
|
file: "NotoSansMono-Bold.woff2"
|
|
172635
172686
|
}]),
|
|
172636
|
-
family("PT Sans", "PTSans", "OFL-1.1")
|
|
172687
|
+
family("PT Sans", "PTSans", "OFL-1.1"),
|
|
172688
|
+
familyWithFaces("PT Sans Narrow", "OFL-1.1", [{
|
|
172689
|
+
weight: "normal",
|
|
172690
|
+
style: "normal",
|
|
172691
|
+
file: "PTSansNarrow-Regular.woff2"
|
|
172692
|
+
}, {
|
|
172693
|
+
weight: "bold",
|
|
172694
|
+
style: "normal",
|
|
172695
|
+
file: "PTSansNarrow-Bold.woff2"
|
|
172696
|
+
}])
|
|
172637
172697
|
]);
|
|
172638
172698
|
SUBSTITUTION_EVIDENCE = SUBSTITUTION_EVIDENCE$1;
|
|
172639
172699
|
bundledFamilies = new Set(BUNDLED_MANIFEST.map((f2) => f2.family));
|
|
@@ -172650,12 +172710,16 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
172650
172710
|
registriesByFontSet = /* @__PURE__ */ new WeakMap;
|
|
172651
172711
|
BUNDLED_FAMILIES = new Set(BUNDLED_MANIFEST.map((f2) => f2.family));
|
|
172652
172712
|
ADVERTISED_BUILT_IN_TOOLBAR_FAMILIES = new Set([
|
|
172713
|
+
"Arial Black",
|
|
172714
|
+
"Arial Narrow",
|
|
172653
172715
|
"Baskerville Old Face",
|
|
172654
172716
|
"Brush Script MT",
|
|
172717
|
+
"Century",
|
|
172655
172718
|
"Cooper Black",
|
|
172656
172719
|
"Comic Sans MS",
|
|
172657
172720
|
"Garamond",
|
|
172658
172721
|
"Georgia",
|
|
172722
|
+
"Gill Sans MT Condensed",
|
|
172659
172723
|
"Lucida Console",
|
|
172660
172724
|
"Tahoma",
|
|
172661
172725
|
"Trebuchet MS"
|
|
@@ -174447,7 +174511,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
|
|
|
174447
174511
|
};
|
|
174448
174512
|
});
|
|
174449
174513
|
|
|
174450
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
174514
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-DWyoHv_L.es.js
|
|
174451
174515
|
function parseSizeUnit(val = "0") {
|
|
174452
174516
|
const length3 = val.toString() || "0";
|
|
174453
174517
|
const value = Number.parseFloat(length3);
|
|
@@ -184842,8 +184906,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, normalizeActorId = (value) => {
|
|
|
184842
184906
|
}
|
|
184843
184907
|
};
|
|
184844
184908
|
};
|
|
184845
|
-
var
|
|
184846
|
-
|
|
184909
|
+
var init_create_headless_toolbar_DWyoHv_L_es = __esm(() => {
|
|
184910
|
+
init_SuperConverter_DBlOjc68_es();
|
|
184847
184911
|
init_uuid_B2wVPhPi_es();
|
|
184848
184912
|
init_constants_D9qj59G2_es();
|
|
184849
184913
|
init_dist_B8HfvhaK_es();
|
|
@@ -234012,7 +234076,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
234012
234076
|
init_remark_gfm_BhnWr3yf_es();
|
|
234013
234077
|
});
|
|
234014
234078
|
|
|
234015
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
234079
|
+
// ../../packages/superdoc/dist/chunks/src-BnMjPHBh.es.js
|
|
234016
234080
|
function deleteProps(obj, propOrProps) {
|
|
234017
234081
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
234018
234082
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -331670,13 +331734,13 @@ menclose::after {
|
|
|
331670
331734
|
return;
|
|
331671
331735
|
console.log(...args$1);
|
|
331672
331736
|
}, 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, TRACKED_MARK_NAMES;
|
|
331673
|
-
var
|
|
331737
|
+
var init_src_BnMjPHBh_es = __esm(() => {
|
|
331674
331738
|
init_rolldown_runtime_Bg48TavK_es();
|
|
331675
|
-
|
|
331739
|
+
init_SuperConverter_DBlOjc68_es();
|
|
331676
331740
|
init_jszip_C49i9kUs_es();
|
|
331677
331741
|
init_xml_js_CqGKpaft_es();
|
|
331678
331742
|
init_uuid_B2wVPhPi_es();
|
|
331679
|
-
|
|
331743
|
+
init_create_headless_toolbar_DWyoHv_L_es();
|
|
331680
331744
|
init_constants_D9qj59G2_es();
|
|
331681
331745
|
init_dist_B8HfvhaK_es();
|
|
331682
331746
|
init_unified_Dsuw2be5_es();
|
|
@@ -367347,11 +367411,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
367347
367411
|
]);
|
|
367348
367412
|
});
|
|
367349
367413
|
|
|
367350
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
367414
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-Bw8pGh5l.es.js
|
|
367351
367415
|
var DEFAULT_TEXT_ALIGN_OPTIONS, DEFAULT_LINE_HEIGHT_OPTIONS, DEFAULT_ZOOM_OPTIONS, DEFAULT_DOCUMENT_MODE_OPTIONS, DEFAULT_FONT_SIZE_OPTIONS, headlessToolbarConstants, 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, FONT_SIZE_OPTIONS;
|
|
367352
|
-
var
|
|
367353
|
-
|
|
367354
|
-
|
|
367416
|
+
var init_create_super_doc_ui_Bw8pGh5l_es = __esm(() => {
|
|
367417
|
+
init_SuperConverter_DBlOjc68_es();
|
|
367418
|
+
init_create_headless_toolbar_DWyoHv_L_es();
|
|
367355
367419
|
DEFAULT_TEXT_ALIGN_OPTIONS = [
|
|
367356
367420
|
{
|
|
367357
367421
|
label: "Left",
|
|
@@ -367642,16 +367706,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
367642
367706
|
|
|
367643
367707
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
367644
367708
|
var init_super_editor_es = __esm(() => {
|
|
367645
|
-
|
|
367646
|
-
|
|
367709
|
+
init_src_BnMjPHBh_es();
|
|
367710
|
+
init_SuperConverter_DBlOjc68_es();
|
|
367647
367711
|
init_jszip_C49i9kUs_es();
|
|
367648
367712
|
init_xml_js_CqGKpaft_es();
|
|
367649
|
-
|
|
367713
|
+
init_create_headless_toolbar_DWyoHv_L_es();
|
|
367650
367714
|
init_constants_D9qj59G2_es();
|
|
367651
367715
|
init_dist_B8HfvhaK_es();
|
|
367652
367716
|
init_unified_Dsuw2be5_es();
|
|
367653
367717
|
init_DocxZipper_FUsfThjV_es();
|
|
367654
|
-
|
|
367718
|
+
init_create_super_doc_ui_Bw8pGh5l_es();
|
|
367655
367719
|
init_ui_C5PAS9hY_es();
|
|
367656
367720
|
init_eventemitter3_BnGqBE_Q_es();
|
|
367657
367721
|
init_errors_CNaD6vcg_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.17.0-next.
|
|
3
|
+
"version": "0.17.0-next.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
"@types/node": "22.19.2",
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
|
-
"@superdoc/
|
|
27
|
+
"@superdoc/document-api": "0.0.1",
|
|
28
28
|
"superdoc": "1.39.0",
|
|
29
|
-
"@superdoc/
|
|
29
|
+
"@superdoc/super-editor": "0.0.1"
|
|
30
30
|
},
|
|
31
31
|
"module": "src/index.ts",
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@superdoc-dev/cli-darwin-arm64": "0.17.0-next.
|
|
37
|
-
"@superdoc-dev/cli-darwin-x64": "0.17.0-next.
|
|
38
|
-
"@superdoc-dev/cli-linux-x64": "0.17.0-next.
|
|
39
|
-
"@superdoc-dev/cli-
|
|
40
|
-
"@superdoc-dev/cli-
|
|
36
|
+
"@superdoc-dev/cli-darwin-arm64": "0.17.0-next.16",
|
|
37
|
+
"@superdoc-dev/cli-darwin-x64": "0.17.0-next.16",
|
|
38
|
+
"@superdoc-dev/cli-linux-x64": "0.17.0-next.16",
|
|
39
|
+
"@superdoc-dev/cli-linux-arm64": "0.17.0-next.16",
|
|
40
|
+
"@superdoc-dev/cli-windows-x64": "0.17.0-next.16"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"predev": "node scripts/ensure-superdoc-build.js",
|