@univerjs/preset-docs-hyper-link 0.5.2 → 0.5.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.
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/en-US"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/en-US"),s=e.merge({},r);module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/fa-IR"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/fa-IR"),s=e.merge({},r);module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/fr-FR"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/fr-FR"),s=e.merge({},r);module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/ru-RU"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/ru-RU"),s=e.merge({},r);module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/vi-VN"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/vi-VN"),s=e.merge({},r);module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/zh-CN"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/zh-CN"),s=e.merge({},r);module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/zh-TW"),s=e.Tools.deepMerge({},r);module.exports=s;
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs/docs-hyper-link-ui/locale/zh-TW"),s=e.merge({},r);module.exports=s;
@@ -1,9 +1,9 @@
1
- import { Tools as e } from "@univerjs/core";
2
- import o from "@univerjs/docs-hyper-link-ui/locale/en-US";
3
- const p = e.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import e from "@univerjs/docs-hyper-link-ui/locale/en-US";
3
+ const m = r(
4
4
  {},
5
- o
5
+ e
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { Tools as o } from "@univerjs/core";
2
- import e from "@univerjs/docs-hyper-link-ui/locale/fa-IR";
3
- const p = o.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import o from "@univerjs/docs-hyper-link-ui/locale/fa-IR";
3
+ const m = r(
4
4
  {},
5
- e
5
+ o
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { Tools as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-hyper-link-ui/locale/fr-FR";
3
- const p = o.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import o from "@univerjs/docs-hyper-link-ui/locale/fr-FR";
3
+ const m = r(
4
4
  {},
5
- r
5
+ o
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { Tools as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-hyper-link-ui/locale/ru-RU";
3
- const p = o.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import o from "@univerjs/docs-hyper-link-ui/locale/ru-RU";
3
+ const m = r(
4
4
  {},
5
- r
5
+ o
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { Tools as o } from "@univerjs/core";
2
- import e from "@univerjs/docs-hyper-link-ui/locale/vi-VN";
3
- const p = o.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import o from "@univerjs/docs-hyper-link-ui/locale/vi-VN";
3
+ const m = r(
4
4
  {},
5
- e
5
+ o
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { Tools as o } from "@univerjs/core";
2
- import e from "@univerjs/docs-hyper-link-ui/locale/zh-CN";
3
- const p = o.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import o from "@univerjs/docs-hyper-link-ui/locale/zh-CN";
3
+ const m = r(
4
4
  {},
5
- e
5
+ o
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { Tools as o } from "@univerjs/core";
2
- import e from "@univerjs/docs-hyper-link-ui/locale/zh-TW";
3
- const p = o.deepMerge(
1
+ import { merge as r } from "@univerjs/core";
2
+ import o from "@univerjs/docs-hyper-link-ui/locale/zh-TW";
3
+ const m = r(
4
4
  {},
5
- e
5
+ o
6
6
  );
7
7
  export {
8
- p as default
8
+ m as default
9
9
  };
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*{scrollbar-color:initial;scrollbar-width:initial}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.univer-docs-link-edit{border-radius:12px;border:1px solid rgb(var(--grey-200));background:rgb(var(--color-white));box-shadow:var(--box-shadow-base);padding:20px 24px;width:328px;box-sizing:border-box}.univer-docs-link-edit-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:24px;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin-bottom:16px;color:rgb(var(--color-black))}.univer-docs-link-edit-close{width:16px;height:16px;font-size:16px;color:rgb(var(--grey-600));cursor:pointer}.univer-docs-link-edit-buttons{display:flex;flex-direction:row;justify-content:flex-end}.univer-docs-link-edit-button{margin-left:12px}.univer-doc-link{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;box-shadow:var(--box-shadow-base);border-radius:8px;border:1px solid rgb(var(--grey-200));background:rgb(var(--color-white));max-width:328px;box-sizing:border-box;overflow:hidden}.univer-doc-link-type{height:20px;width:20px;font-size:16px;margin-right:8px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:rgb(var(--color-black))}.univer-doc-link-content{height:24px;display:flex;flex-direction:row;align-items:center;font-size:13px;line-height:20px;color:rgb(var(--blue-500));cursor:pointer;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-doc-link-content-error{color:rgb(var(--grey-500))}.univer-doc-link-url{flex:1;overflow:hidden;text-overflow:ellipsis}.univer-doc-link-operations{display:flex;flex-direction:row;justify-content:center;align-items:center;height:24px;flex-basis:auto;flex-grow:0;flex-shrink:0}.univer-doc-link-operation{width:24px;height:24px;margin-left:8px;font-size:16px;display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;border-radius:4px}.univer-doc-link-operation-error{color:rgb(var(--grey-500))}.univer-doc-link-operation:hover{background:#ccc}
1
+ .univer-docs-link-edit{border-radius:12px;border:1px solid rgb(var(--grey-200));background:rgb(var(--color-white));box-shadow:var(--box-shadow-base);padding:20px 24px;width:328px;box-sizing:border-box}.univer-docs-link-edit-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:24px;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin-bottom:16px;color:rgb(var(--color-black))}.univer-docs-link-edit-close{width:16px;height:16px;font-size:16px;color:rgb(var(--grey-600));cursor:pointer}.univer-docs-link-edit-buttons{display:flex;flex-direction:row;justify-content:flex-end}.univer-docs-link-edit-button{margin-left:12px}.univer-doc-link{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;box-shadow:var(--box-shadow-base);border-radius:8px;border:1px solid rgb(var(--grey-200));background:rgb(var(--color-white));max-width:328px;box-sizing:border-box;overflow:hidden}.univer-doc-link-type{height:20px;width:20px;font-size:16px;margin-right:8px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:rgb(var(--color-black))}.univer-doc-link-content{height:24px;display:flex;flex-direction:row;align-items:center;font-size:13px;line-height:20px;color:rgb(var(--blue-500));cursor:pointer;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-doc-link-content-error{color:rgb(var(--grey-500))}.univer-doc-link-url{flex:1;overflow:hidden;text-overflow:ellipsis}.univer-doc-link-operations{display:flex;flex-direction:row;justify-content:center;align-items:center;height:24px;flex-basis:auto;flex-grow:0;flex-shrink:0}.univer-doc-link-operation{width:24px;height:24px;margin-left:8px;font-size:16px;display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;border-radius:4px}.univer-doc-link-operation-error{color:rgb(var(--grey-500))}.univer-doc-link-operation:hover{background:#ccc}
package/lib/umd/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @univerjs/docs-hyper-link/index
2
- (function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@univerjs/core")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.UniverDocsHyperLink={},c.UniverCore))})(this,function(c,e){"use strict";var T=Object.defineProperty;var E=(c,e,p)=>e in c?T(c,e,{enumerable:!0,configurable:!0,writable:!0,value:p}):c[e]=p;var v=(c,e,p)=>E(c,typeof e!="symbol"?e+"":e,p);var _;const p={id:"docs.mutation.add-hyper-link",type:e.CommandType.MUTATION,handler:()=>!0},I={id:"docs.mutation.update-hyper-link",type:e.CommandType.MUTATION,handler:()=>!0},m={id:"docs.mutation.delete-hyper-link",type:e.CommandType.MUTATION,handler:()=>!0},P="docs-hyper-link.config",h={};var U=Object.defineProperty,C=Object.getOwnPropertyDescriptor,D=(o,t,r,i)=>{for(var n=i>1?void 0:i?C(t,r):t,s=o.length-1,a;s>=0;s--)(a=o[s])&&(n=(i?a(t,r,n):a(n))||n);return i&&n&&U(t,r,n),n},g=(o,t)=>(r,i)=>t(r,i,o);const y="DOC_HYPER_LINK_PLUGIN";let f=class extends e.Disposable{constructor(o,t){super(),this._resourceManagerService=o,this._univerInstanceService=t,this._init()}_init(){this._resourceManagerService.registerPluginResource({pluginName:y,businesses:[e.UniverInstanceType.UNIVER_DOC],onLoad:(o,t)=>{const r=this._univerInstanceService.getUnit(o,e.UniverInstanceType.UNIVER_DOC);if(!r)return;const i=new Map,n=s=>{var a,u;return(u=(a=s.getBody())==null?void 0:a.customRanges)==null||u.forEach(d=>{d.rangeType===e.CustomRangeType.HYPERLINK&&i.set(d.rangeId,d)}),i};r.headerModelMap.forEach(s=>{n(s)}),r.footerModelMap.forEach(s=>{n(s)}),n(r),t.links.forEach(s=>{const a=i.get(s.id);a&&(a.properties={...a.properties,url:s.payload})})},onUnLoad:o=>{},toJson:o=>{const t=this._univerInstanceService.getUnit(o,e.UniverInstanceType.UNIVER_DOC),r=[];if(t){const i=n=>{var s,a;(a=(s=n.getBody())==null?void 0:s.customRanges)==null||a.forEach(u=>{var d;u.rangeType===e.CustomRangeType.HYPERLINK&&r.push({id:u.rangeId,payload:((d=u.properties)==null?void 0:d.url)||""})})};t.headerModelMap.forEach(n=>{i(n)}),t.footerModelMap.forEach(n=>{i(n)}),i(t)}return JSON.stringify({links:r})},parseJson(o){return JSON.parse(o)}})}};f=D([g(0,e.Inject(e.IResourceManagerService)),g(1,e.IUniverInstanceService)],f);var O=Object.defineProperty,M=Object.getOwnPropertyDescriptor,N=(o,t,r,i)=>{for(var n=i>1?void 0:i?M(t,r):t,s=o.length-1,a;s>=0;s--)(a=o[s])&&(n=(i?a(t,r,n):a(n))||n);return i&&n&&O(t,r,n),n},l=(o,t)=>(r,i)=>t(r,i,o);c.UniverDocsHyperLinkPlugin=(_=class extends e.Plugin{constructor(t=h,r,i,n){super(),this._config=t,this._injector=r,this._configService=i,this._commandService=n;const{...s}=e.merge({},h,this._config);this._configService.setConfig(P,s)}onStarting(){[[f]].forEach(r=>this._injector.add(r)),[p,m,I].forEach(r=>{this.disposeWithMe(this._commandService.registerCommand(r))}),this._injector.get(f)}},v(_,"pluginName",y),v(_,"type",e.UniverInstanceType.UNIVER_DOC),_),c.UniverDocsHyperLinkPlugin=N([l(1,e.Inject(e.Injector)),l(2,e.IConfigService),l(3,e.ICommandService)],c.UniverDocsHyperLinkPlugin),Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
2
+ (function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@univerjs/core")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.UniverDocsHyperLink={},c.UniverCore))})(this,function(c,e){"use strict";var T=Object.defineProperty;var E=(c,e,p)=>e in c?T(c,e,{enumerable:!0,configurable:!0,writable:!0,value:p}):c[e]=p;var h=(c,e,p)=>E(c,typeof e!="symbol"?e+"":e,p);var _;const p={id:"docs.mutation.add-hyper-link",type:e.CommandType.MUTATION,handler:()=>!0},I={id:"docs.mutation.update-hyper-link",type:e.CommandType.MUTATION,handler:()=>!0},m={id:"docs.mutation.delete-hyper-link",type:e.CommandType.MUTATION,handler:()=>!0},P="docs-hyper-link.config",v={};var U=Object.defineProperty,C=Object.getOwnPropertyDescriptor,D=(o,t,r,i)=>{for(var n=i>1?void 0:i?C(t,r):t,s=o.length-1,a;s>=0;s--)(a=o[s])&&(n=(i?a(t,r,n):a(n))||n);return i&&n&&U(t,r,n),n},g=(o,t)=>(r,i)=>t(r,i,o);const y="DOC_HYPER_LINK_PLUGIN";let f=class extends e.Disposable{constructor(o,t){super(),this._resourceManagerService=o,this._univerInstanceService=t,this._init()}_init(){this._resourceManagerService.registerPluginResource({pluginName:y,businesses:[e.UniverInstanceType.UNIVER_DOC],onLoad:(o,t)=>{const r=this._univerInstanceService.getUnit(o,e.UniverInstanceType.UNIVER_DOC);if(!r)return;const i=new Map,n=s=>{var a,u;return(u=(a=s.getBody())==null?void 0:a.customRanges)==null||u.forEach(d=>{d.rangeType===e.CustomRangeType.HYPERLINK&&i.set(d.rangeId,d)}),i};r.headerModelMap.forEach(s=>{n(s)}),r.footerModelMap.forEach(s=>{n(s)}),n(r),t.links.forEach(s=>{const a=i.get(s.id);a&&(a.properties={...a.properties,url:s.payload})})},onUnLoad:o=>{},toJson:o=>{const t=this._univerInstanceService.getUnit(o,e.UniverInstanceType.UNIVER_DOC),r=[];if(t){const i=n=>{var s,a;(a=(s=n.getBody())==null?void 0:s.customRanges)==null||a.forEach(u=>{var d;u.rangeType===e.CustomRangeType.HYPERLINK&&r.push({id:u.rangeId,payload:((d=u.properties)==null?void 0:d.url)||""})})};t.headerModelMap.forEach(n=>{i(n)}),t.footerModelMap.forEach(n=>{i(n)}),i(t)}return JSON.stringify({links:r})},parseJson(o){return JSON.parse(o)}})}};f=D([g(0,e.Inject(e.IResourceManagerService)),g(1,e.IUniverInstanceService)],f);var O=Object.defineProperty,M=Object.getOwnPropertyDescriptor,N=(o,t,r,i)=>{for(var n=i>1?void 0:i?M(t,r):t,s=o.length-1,a;s>=0;s--)(a=o[s])&&(n=(i?a(t,r,n):a(n))||n);return i&&n&&O(t,r,n),n},l=(o,t)=>(r,i)=>t(r,i,o);c.UniverDocsHyperLinkPlugin=(_=class extends e.Plugin{constructor(t=v,r,i,n){super(),this._config=t,this._injector=r,this._configService=i,this._commandService=n;const{...s}=e.merge({},v,this._config);this._configService.setConfig(P,s)}onStarting(){[[f]].forEach(r=>this._injector.add(r)),[p,m,I].forEach(r=>{this.disposeWithMe(this._commandService.registerCommand(r))}),this._injector.get(f)}},h(_,"pluginName",y),h(_,"type",e.UniverInstanceType.UNIVER_DOC),_),c.UniverDocsHyperLinkPlugin=N([l(1,e.Inject(e.Injector)),l(2,e.IConfigService),l(3,e.ICommandService)],c.UniverDocsHyperLinkPlugin),Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
3
3
 
4
4
 
5
5
  // @univerjs/docs-hyper-link-ui/index
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/en-US
6
- (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/en-US")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/en-US"],n):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkEnUS=n(e.UniverCore,e.UniverDocsHyperLinkUiEnUS))})(this,function(e,n){"use strict";return e.Tools.deepMerge({},n)});
6
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/en-US")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/en-US"],n):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkEnUS=n(e.UniverCore,e.UniverDocsHyperLinkUiEnUS))})(this,function(e,n){"use strict";return e.merge({},n)});
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/fa-IR
6
- (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/fa-IR")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/fa-IR"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkFaIR=i(e.UniverCore,e.UniverDocsHyperLinkUiFaIR))})(this,function(e,i){"use strict";return e.Tools.deepMerge({},i)});
6
+ (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/fa-IR")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/fa-IR"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkFaIR=i(e.UniverCore,e.UniverDocsHyperLinkUiFaIR))})(this,function(e,i){"use strict";return e.merge({},i)});
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/fr-FR
6
- (function(e,r){typeof exports=="object"&&typeof module<"u"?module.exports=r(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/fr-FR")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/fr-FR"],r):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkFrFR=r(e.UniverCore,e.UniverDocsHyperLinkUiFrFR))})(this,function(e,r){"use strict";return e.Tools.deepMerge({},r)});
6
+ (function(e,r){typeof exports=="object"&&typeof module<"u"?module.exports=r(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/fr-FR")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/fr-FR"],r):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkFrFR=r(e.UniverCore,e.UniverDocsHyperLinkUiFrFR))})(this,function(e,r){"use strict";return e.merge({},r)});
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/ru-RU
6
- (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/ru-RU")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/ru-RU"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkRuRU=i(e.UniverCore,e.UniverDocsHyperLinkUiRuRU))})(this,function(e,i){"use strict";return e.Tools.deepMerge({},i)});
6
+ (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/ru-RU")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/ru-RU"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkRuRU=i(e.UniverCore,e.UniverDocsHyperLinkUiRuRU))})(this,function(e,i){"use strict";return e.merge({},i)});
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/vi-VN
6
- (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/vi-VN")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/vi-VN"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkViVN=i(e.UniverCore,e.UniverDocsHyperLinkUiViVN))})(this,function(e,i){"use strict";return e.Tools.deepMerge({},i)});
6
+ (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/vi-VN")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/vi-VN"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkViVN=i(e.UniverCore,e.UniverDocsHyperLinkUiViVN))})(this,function(e,i){"use strict";return e.merge({},i)});
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/zh-CN
6
- (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/zh-CN")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/zh-CN"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkZhCN=i(e.UniverCore,e.UniverDocsHyperLinkUiZhCN))})(this,function(e,i){"use strict";return e.Tools.deepMerge({},i)});
6
+ (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/zh-CN")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/zh-CN"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkZhCN=i(e.UniverCore,e.UniverDocsHyperLinkUiZhCN))})(this,function(e,i){"use strict";return e.merge({},i)});
@@ -3,4 +3,4 @@
3
3
 
4
4
 
5
5
  // locale/zh-TW
6
- (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/zh-TW")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/zh-TW"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkZhTW=i(e.UniverCore,e.UniverDocsHyperLinkUiZhTW))})(this,function(e,i){"use strict";return e.Tools.deepMerge({},i)});
6
+ (function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("@univerjs/core"),require("@univerjs/docs-hyper-link-ui/locale/zh-TW")):typeof define=="function"&&define.amd?define(["@univerjs/core","@univerjs/docs-hyper-link-ui/locale/zh-TW"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverPresetDocsHyperLinkZhTW=i(e.UniverCore,e.UniverDocsHyperLinkUiZhTW))})(this,function(e,i){"use strict";return e.merge({},i)});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-hyper-link",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,17 +57,18 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs/docs-hyper-link": "0.5.2",
61
- "@univerjs/docs-hyper-link-ui": "0.5.2"
60
+ "@univerjs/docs-hyper-link": "0.5.4",
61
+ "@univerjs/docs-hyper-link-ui": "0.5.4"
62
62
  },
63
63
  "devDependencies": {
64
- "@univerjs/core": "0.5.2",
64
+ "@univerjs/core": "0.5.4",
65
65
  "typescript": "^5.7.2",
66
- "@univerjs-infra/shared": "0.5.2"
66
+ "@univerjs-infra/shared": "0.5.4"
67
67
  },
68
68
  "scripts": {
69
69
  "prebuild:preset": "tsx prepare.ts",
70
- "build:preset": "tsx build.ts"
70
+ "build:preset": "tsx build.ts",
71
+ "lint:types": "tsc --noEmit"
71
72
  },
72
73
  "module": "./lib/es/index.js"
73
74
  }