@rhc-office/sdk 6.6.398 → 6.6.399

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 CHANGED
@@ -1120,11 +1120,11 @@ const S = "__RHC_OFFICE_READER_RUNTIME__", y = "__rhcOfficeReaderRuntimeConfig",
1120
1120
  const n = t.trim().replace(/[-_\s]/g, "").toLowerCase();
1121
1121
  return n === "view" ? "VIEW" : n === "annotation" ? "ANNOTATION" : n === "digitalsign" ? "DIGITAL_SIGN" : null;
1122
1122
  }, U = (t) => {
1123
- const n = [];
1123
+ const n = ["VIEW"];
1124
1124
  return t.split(/[;,]/).forEach((e) => {
1125
1125
  const i = bt(e);
1126
1126
  i && !n.includes(i) && n.push(i);
1127
- }), n.length > 0 ? n.join(",") : "VIEW";
1127
+ }), n.join(",");
1128
1128
  }, St = (t) => {
1129
1129
  const n = {};
1130
1130
  return t.canOpenNewFile !== void 0 && (n.canOpenNewFile = t.canOpenNewFile), t.canPrint !== void 0 && (n.canPrint = t.canPrint), t.canDownload !== void 0 && (n.canDownload = t.canDownload), Object.keys(n).length > 0 ? n : void 0;