deepsky 1.120.4 → 1.120.6

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.css CHANGED
@@ -4692,7 +4692,7 @@ img[data-v-18d6757b] {
4692
4692
 
4693
4693
 
4694
4694
  .dialog-presets {
4695
- .preset-meta[data-v-5c0a8c97] {
4695
+ .preset-meta[data-v-d718ce04] {
4696
4696
  display: flex;
4697
4697
  flex-direction: column;
4698
4698
  align-items: center;
@@ -4703,19 +4703,19 @@ img[data-v-18d6757b] {
4703
4703
  gap: 4px;
4704
4704
  user-select: none;
4705
4705
  }
4706
- .meta-count[data-v-5c0a8c97] {
4706
+ .meta-count[data-v-d718ce04] {
4707
4707
  font-size: 40px;
4708
4708
  font-weight: 700;
4709
4709
  color: var(--dialog-header-color);
4710
4710
  line-height: 1;
4711
4711
  letter-spacing: -1px;
4712
4712
  }
4713
- .meta-desc[data-v-5c0a8c97] {
4713
+ .meta-desc[data-v-d718ce04] {
4714
4714
  font-size: 12px;
4715
4715
  opacity: 0.55;
4716
4716
  letter-spacing: 0.5px;
4717
4717
  }
4718
- .form-group[data-v-5c0a8c97] {
4718
+ .form-group[data-v-d718ce04] {
4719
4719
  display: flex;
4720
4720
  flex-direction: column;
4721
4721
  gap: 10px;
@@ -4725,14 +4725,14 @@ img[data-v-18d6757b] {
4725
4725
  border: 1px solid rgba(0, 0, 0, 0.06);
4726
4726
  }
4727
4727
  .submit-group {
4728
- &[data-v-5c0a8c97]{
4728
+ &[data-v-d718ce04]{
4729
4729
  display: flex;
4730
4730
  gap: 8px;
4731
4731
  }
4732
- .submit[data-v-5c0a8c97] {
4732
+ .submit[data-v-d718ce04] {
4733
4733
  flex: 1;
4734
4734
  }
4735
- .submit-global[data-v-5c0a8c97] {
4735
+ .submit-global[data-v-d718ce04] {
4736
4736
  background: linear-gradient(135deg, rgba(200, 215, 255, 0.6) 0%, rgba(210, 230, 255, 0.4) 100%);
4737
4737
  color: var(--dialog-header-color, #4a6fa5);
4738
4738
  }
@@ -7189,7 +7189,7 @@ to {
7189
7189
 
7190
7190
  }
7191
7191
 
7192
- @keyframes clip-circle-b0095466 {
7192
+ @keyframes clip-circle-55bf90cb {
7193
7193
  from {
7194
7194
  clip-path: circle(0px at center);
7195
7195
  }
@@ -7198,7 +7198,7 @@ to {
7198
7198
  }
7199
7199
  }
7200
7200
  .deepsky-note {
7201
- &[data-v-b0095466]{
7201
+ &[data-v-55bf90cb]{
7202
7202
  --loading-info-color: gray;
7203
7203
  --loading-info-bg: #5fefe170;
7204
7204
  --loading-info-border: 1px solid blueviolet;
@@ -7211,25 +7211,25 @@ to {
7211
7211
  position: relative;
7212
7212
  background: var(--note-bg);
7213
7213
  }
7214
- .deepsky-note-bg[data-v-b0095466] {
7214
+ .deepsky-note-bg[data-v-55bf90cb] {
7215
7215
  position: absolute;
7216
7216
  left: 0px;
7217
7217
  top: 0px;
7218
7218
  width: 100%;
7219
7219
  height: 100%;
7220
7220
  pointer-events: none;
7221
- animation: clip-circle-b0095466 1s forwards;
7221
+ animation: clip-circle-55bf90cb 1s forwards;
7222
7222
  background: var(--background);
7223
7223
  }
7224
7224
  }
7225
7225
  .deepsky-editor-box {
7226
- &[data-v-b0095466]{
7226
+ &[data-v-55bf90cb]{
7227
7227
  display: flex;
7228
7228
  flex-flow: row nowrap;
7229
7229
 
7230
7230
  height: calc(100vh - var(--menubar-height) - var(--statusbar-height));
7231
7231
  }
7232
- .note-box[data-v-b0095466] {
7232
+ .note-box[data-v-55bf90cb] {
7233
7233
  width: 100%;
7234
7234
  /* 不要添加这个css样式会导致 冻结块选区上无法滚动页面内容 */
7235
7235
  overflow: scroll;
@@ -7237,14 +7237,14 @@ to {
7237
7237
  }
7238
7238
  @media (prefers-color-scheme: dark) {
7239
7239
  .deepsky-note {
7240
- &[data-v-b0095466]{
7240
+ &[data-v-55bf90cb]{
7241
7241
  --loading-info-color: #e6e6e6cc;
7242
7242
  --loading-info-bg: #3a3a3aa6;
7243
7243
  --loading-info-border: none;
7244
7244
  --loading-bg: black;
7245
7245
  }
7246
- .deepsky-note-bg[data-v-b0095466] {
7247
- background: var(--background-image-dark);
7246
+ .deepsky-note-bg[data-v-55bf90cb] {
7247
+ background: var(--background);
7248
7248
  }
7249
7249
  }
7250
7250
  }
@@ -7456,7 +7456,7 @@ html {
7456
7456
  }
7457
7457
 
7458
7458
 
7459
- @keyframes clip-circle-c7c113f4 {
7459
+ @keyframes clip-circle-2822e0b5 {
7460
7460
  from {
7461
7461
  clip-path: circle(0px at center);
7462
7462
  }
@@ -7465,7 +7465,7 @@ to {
7465
7465
  }
7466
7466
  }
7467
7467
  .deepsky-note {
7468
- &[data-v-c7c113f4]{
7468
+ &[data-v-2822e0b5]{
7469
7469
  --loading-info-color: gray;
7470
7470
  --loading-info-bg: #5fefe170;
7471
7471
  --loading-info-border: 1px solid blueviolet;
@@ -7478,37 +7478,37 @@ to {
7478
7478
  position: relative;
7479
7479
  background: var(--note-bg);
7480
7480
  }
7481
- .deepsky-note-bg[data-v-c7c113f4] {
7481
+ .deepsky-note-bg[data-v-2822e0b5] {
7482
7482
  position: absolute;
7483
7483
  left: 0px;
7484
7484
  top: 0px;
7485
7485
  width: 100%;
7486
7486
  height: 100%;
7487
7487
  pointer-events: none;
7488
- animation: clip-circle-c7c113f4 1s forwards;
7489
- background: var(--background-image-light);
7488
+ animation: clip-circle-2822e0b5 1s forwards;
7489
+ background: var(--background);
7490
7490
  }
7491
7491
  }
7492
7492
  .deepsky-editor-box {
7493
- &[data-v-c7c113f4]{
7493
+ &[data-v-2822e0b5]{
7494
7494
  display: flex;
7495
7495
  flex-flow: row nowrap;
7496
7496
 
7497
7497
  height: calc(100vh - var(--menubar-height) - var(--statusbar-height));
7498
7498
  }
7499
7499
  .note-box {
7500
- &[data-v-c7c113f4]{
7500
+ &[data-v-2822e0b5]{
7501
7501
  position: relative;
7502
7502
  width: 100%;
7503
7503
  overflow: scroll;
7504
7504
  display: flex;
7505
7505
  flex-flow: column wrap;
7506
7506
  }
7507
- & > div[data-v-c7c113f4]:first-child {
7507
+ & > div[data-v-2822e0b5]:first-child {
7508
7508
  flex-shrink: 0;
7509
7509
  width: 100%;
7510
7510
  }
7511
- .note[data-v-c7c113f4] {
7511
+ .note[data-v-2822e0b5] {
7512
7512
  flex: 1;
7513
7513
  width: 100%;
7514
7514
  }
@@ -7516,14 +7516,14 @@ to {
7516
7516
  }
7517
7517
  @media (prefers-color-scheme: dark) {
7518
7518
  .deepsky-note {
7519
- &[data-v-c7c113f4]{
7519
+ &[data-v-2822e0b5]{
7520
7520
  --loading-info-color: #e6e6e6cc;
7521
7521
  --loading-info-bg: #3a3a3aa6;
7522
7522
  --loading-info-border: none;
7523
7523
  --loading-bg: black;
7524
7524
  }
7525
- .deepsky-note-bg[data-v-c7c113f4]{
7526
- background: var(--background-image-dark);
7525
+ .deepsky-note-bg[data-v-2822e0b5]{
7526
+ background: var(--background);
7527
7527
  }
7528
7528
  }
7529
7529
  }
package/dist/index.d.ts CHANGED
@@ -390,7 +390,7 @@ export declare class UITheme extends UIBase {
390
390
  };
391
391
  get background_filter(): _BgFilters;
392
392
  get background_url(): string;
393
- get background_css(): {
393
+ get css(): {
394
394
  "--background": string;
395
395
  filter: string;
396
396
  };
package/dist/index.js CHANGED
@@ -290,7 +290,7 @@ n.d(t,{_:()=>/* reexport */l});
290
290
  var o=n(7633),r=n(2149),i=n(8018),s=n(8438),a=n(28);
291
291
  // EXTERNAL MODULE: ./src/types/index.ts + 10 modules
292
292
  // ./src/ui-theme/ui-theme.ts
293
- class l extends i/* UIBase */.e{_link=null;_list_theme=(0,o/* reactive */.Kh)([]);_list_bg=(0,o/* reactive */.Kh)([]);_default_theme=(0,o/* ref */.KR)(void 0);_default_bg=(0,o/* ref */.KR)(void 0);data;constructor(e){super(e);const t=this.update_data(this.uidata.theme||a/* UIDefault */.U.theme);this.data=(0,o/* reactive */.Kh)(t),this.data.theme?.path&&this.use(this.data.theme)}get list_bg(){return[...this._list_bg]}get default_bg(){return this._default_bg.value}set default_bg(e){this._default_bg.value=e,this.data.background.active||(this.data.background.active=e.name)}get default_theme(){return this._default_theme.value}set default_theme(e){this._default_theme.value=e}get list_theme(){return[...this._list_theme]}get background(){return this.data.background}get background_filter(){const e=this.background.active;let t=this.background.filters[e];return t||(t=this.get_default_filter(),this.background.filters[e]=t),t}get background_url(){const e=this.data.background.active||this.default_bg?.name;for(let t of this.list_bg)if(t.name===e)return t.path;return""}get background_css(){const e=this.background.active;return{"--background":`url(${this.background_url}) center/cover no-repeat`,filter:this.get_css_filter(e)}}get meta(){return l.meta}load_themes(e){this.list_theme.length=0,this.list_theme.push(...e)}load_background(e){this._list_bg.length=0,this._list_bg.push(...e)}set_default_bg(e){this._default_bg.value=e,this.data.background.active||(this.data.background.active=e.name)}set_default_theme(e){this._default_theme.value=e,this.data.theme||this.use(e)}get_css_filter(e){let t=this.background.filters[e];return t||(t=this.get_default_filter(),this.background.filters[e]=t),`blur(${t.blur}px) \n brightness(${t.brightness}) \n contrast(${t.contrast}) \n hue-rotate(${t.hue}deg) \n saturate(${t.saturate})\n opacity(${t.opacity})\n invert(${t.invert})\n sepia(${t.sepia})\n `}set_background(e){this.data.background.active=e}export(){return structuredClone((0,o/* toRaw */.ux)(this.data))}update_data(e){return(this.versions.theme||1)<2&&(e.background=a/* UIDefault */.U.theme.background),e}
293
+ class l extends i/* UIBase */.e{_link=null;_list_theme=(0,o/* reactive */.Kh)([]);_list_bg=(0,o/* reactive */.Kh)([]);_default_theme=(0,o/* ref */.KR)(void 0);_default_bg=(0,o/* ref */.KR)(void 0);data;constructor(e){super(e);const t=this.update_data(this.uidata.theme||a/* UIDefault */.U.theme);this.data=(0,o/* reactive */.Kh)(t),this.data.theme?.path&&this.use(this.data.theme)}get list_bg(){return[...this._list_bg]}get default_bg(){return this._default_bg.value}set default_bg(e){this._default_bg.value=e,this.data.background.active||(this.data.background.active=e.name)}get default_theme(){return this._default_theme.value}set default_theme(e){this._default_theme.value=e}get list_theme(){return[...this._list_theme]}get background(){return this.data.background}get background_filter(){const e=this.background.active;let t=this.background.filters[e];return t||(t=this.get_default_filter(),this.background.filters[e]=t),t}get background_url(){const e=this.data.background.active||this.default_bg?.name;for(let t of this.list_bg)if(t.name===e)return t.path;return""}get css(){const e=this.background.active;return{"--background":`url(${this.background_url}) center/cover no-repeat`,filter:this.get_css_filter(e)}}get meta(){return l.meta}load_themes(e){this.list_theme.length=0,this.list_theme.push(...e)}load_background(e){this._list_bg.length=0,this._list_bg.push(...e)}set_default_bg(e){this._default_bg.value=e,this.data.background.active||(this.data.background.active=e.name)}set_default_theme(e){this._default_theme.value=e,this.data.theme||this.use(e)}get_css_filter(e){let t=this.background.filters[e];return t||(t=this.get_default_filter(),this.background.filters[e]=t),`blur(${t.blur}px) \n brightness(${t.brightness}) \n contrast(${t.contrast}) \n hue-rotate(${t.hue}deg) \n saturate(${t.saturate})\n opacity(${t.opacity})\n invert(${t.invert})\n sepia(${t.sepia})\n `}set_background(e){this.data.background.active=e}export(){return structuredClone((0,o/* toRaw */.ux)(this.data))}update_data(e){return(this.versions.theme||1)<2&&(e.background=a/* UIDefault */.U.theme.background),e}
294
294
  // desc : 无参数使用默认主题
295
295
  use(e){const{tips:t}=this.editor,n=e||this.default_theme;if(!n)return;const{name:o,path:r}=n;this._link||(this._link=document.createElement("link"),document.head.appendChild(this._link)),this._link.setAttribute("rel","stylesheet"),this._link.href=r,this.data.theme=e,s/* StatusEditor */.QI.saved=!1,t.tip_info(`已更新主题:${o}`)}clear(){this._link&&(this._link.href=""),this.data.theme=void 0}reset_background(){this.data.background.active=""}get_default_filter(){return{blur:0,brightness:1,contrast:1,hue:0,saturate:1,opacity:.8,invert:0,sepia:0}}static get meta(){return{type:r/* _UIPart */.d2.theme,version:2}}}},
296
296
  /***/3709:
@@ -5626,7 +5626,7 @@ function u(e){const{deltaY:t}=e,n=e.currentTarget;if(!n)return;const o=n.lastEle
5626
5626
  // desc : 更新激活的工具
5627
5627
  // desc : 点击细分工具
5628
5628
  function p(e,t,n){n.click(e),async function(e){if(a===e)a=void 0,c.length=0;else{a=e;const t=await e.get_subtools();c.length=0,c.push(...t)}}(t)}function h(e,t){const n=[];return t.class&&n.push(...t.class),e&&"map"===e.domain&&n.push("tool-map"),n}return(e,n)=>{const o=(0,l/* resolveComponent */.g2)("el-tooltip");return(0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{class:"ui-toolbar",style:(0,m/* normalizeStyle */.Tr)(d.value)},[(0,l/* createElementVNode */.Lk)("div",{class:"box-toolbar",onWheel:u},[(0,l/* createElementVNode */.Lk)("div",QP,[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)((0,i/* unref */.R1)(t).tools,e=>((0,l/* openBlock */.uX)(),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,{key:e.tool_name},[(0,i/* unref */.R1)(s).includes(e.tool_name)?((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",YP,[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)(e.tools,t=>((0,l/* openBlock */.uX)(),(0,l/* createBlock */.Wv)(o,{content:t.tooltip},{default:(0,l/* withCtx */.k6)(()=>[(0,l/* createElementVNode */.Lk)("div",{class:(0,m/* normalizeClass */.C4)(h(e,t)),onPointerdown:n=>p(n,e,t)},null,42/* CLASS, PROPS, NEED_HYDRATION */,ZP)]),_:2/* DYNAMIC */},1032/* PROPS, DYNAMIC_SLOTS */,["content"]))),256/* UNKEYED_FRAGMENT */))])):(0,l/* createCommentVNode */.Q3)("v-if",!0)],64/* STABLE_FRAGMENT */))),128/* KEYED_FRAGMENT */))]),(0,l/* createElementVNode */.Lk)("div",JP,[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)((0,i/* unref */.R1)(c),e=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{onPointerdown:t=>(0,i/* unref */.R1)(a)?.use(e.value),style:(0,m/* normalizeStyle */.Tr)(e.css),class:(0,m/* normalizeClass */.C4)(e.class)},(0,m/* toDisplayString */.v_)(e.name),47/* TEXT, CLASS, STYLE, PROPS, NEED_HYDRATION */,eF))),256/* UNKEYED_FRAGMENT */))])],32/* NEED_HYDRATION */)],4/* STYLE */)}}}),nF=(0,J$/* default */.A)(tF,[["__scopeId","data-v-0aa87a9d"]])
5629
- /* harmony default export */,oF={class:"preset-meta"},rF={class:"meta-count"},iF={class:"form-group"},sF={class:"submit-group"},aF=(0,l/* defineComponent */.pM)({__name:"dialog-presets",props:{editor:{}},setup(e){const{root:t,presets:n,toolbar:o,dialog:r}=e.editor,s=(0,i/* reactive */.Kh)({name:"",type:""}),a=(0,i/* ref */.KR)();let c=(0,l/* watch */.wB)(()=>r.status.show_presets,async e=>{await(0,l/* nextTick */.dY)(),e?a.value?.showModal():a.value?.close()});return(0,l/* onUnmounted */.hi)(()=>{c&&c()}),(e,o)=>(0,i/* unref */.R1)(r).status.show_presets?((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("dialog",{key:0,class:"ui-dialog-box dialog-presets",ref_key:"tip",ref:a},[o[7]||(o[7]=(0,l/* createElementVNode */.Lk)("div",{class:"title"},"添加预设",-1/* CACHED */)),(0,l/* createElementVNode */.Lk)("div",{class:"close-corner",onClick:o[0]||(o[0]=e=>(0,i/* unref */.R1)(r).status.show_presets=!1)}),(0,l/* createElementVNode */.Lk)("div",oF,[(0,l/* createElementVNode */.Lk)("div",rF,(0,m/* toDisplayString */.v_)((0,i/* unref */.R1)(t).scopes.scope_count_normal),1/* TEXT */),o[6]||(o[6]=(0,l/* createElementVNode */.Lk)("div",{class:"meta-desc"},"个正常块选区",-1/* CACHED */))]),(0,l/* createElementVNode */.Lk)("div",iF,[(0,l/* createVNode */.bF)(yB,{modelValue:s.name,"onUpdate:modelValue":o[1]||(o[1]=e=>s.name=e),name:"预设名称"},null,8/* PROPS */,["modelValue"]),(0,l/* createVNode */.bF)(yB,{modelValue:s.type,"onUpdate:modelValue":o[2]||(o[2]=e=>s.type=e),name:"快捷代码",onSubmit:o[3]||(o[3]=()=>(0,i/* unref */.R1)(n).add_scope(s.name,s.type))},null,8/* PROPS */,["modelValue"])]),(0,l/* createElementVNode */.Lk)("div",sF,[(0,l/* createElementVNode */.Lk)("div",{class:"submit",onClick:o[4]||(o[4]=()=>(0,i/* unref */.R1)(n).add_scope(s.name,s.type))},"添加笔记内预设"),(0,l/* createElementVNode */.Lk)("div",{class:"submit submit-global",onClick:o[5]||(o[5]=()=>(0,i/* unref */.R1)(n).add_scope_global(s.name,s.type))},"添加全局预设")])],512/* NEED_PATCH */)):(0,l/* createCommentVNode */.Q3)("v-if",!0)}}),lF=(0,J$/* default */.A)(aF,[["__scopeId","data-v-5c0a8c97"]])
5629
+ /* harmony default export */,oF={class:"preset-meta"},rF={class:"meta-count"},iF={class:"form-group"},sF={class:"submit-group"},aF=(0,l/* defineComponent */.pM)({__name:"dialog-presets",props:{editor:{}},setup(e){const{root:t,presets:n,toolbar:o,dialog:r}=e.editor,s=(0,i/* reactive */.Kh)({name:"",type:""}),a=(0,i/* ref */.KR)();let c=(0,l/* watch */.wB)(()=>r.status.show_presets,async e=>{await(0,l/* nextTick */.dY)(),e?a.value?.showModal():a.value?.close()});return(0,l/* onUnmounted */.hi)(()=>{c&&c()}),(e,o)=>(0,i/* unref */.R1)(r).status.show_presets?((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("dialog",{key:0,class:"ui-dialog-box dialog-presets",ref_key:"tip",ref:a},[o[6]||(o[6]=(0,l/* createElementVNode */.Lk)("div",{class:"title"},"添加预设",-1/* CACHED */)),(0,l/* createElementVNode */.Lk)("div",{class:"close-corner",onClick:o[0]||(o[0]=e=>(0,i/* unref */.R1)(r).status.show_presets=!1)}),(0,l/* createElementVNode */.Lk)("div",oF,[(0,l/* createElementVNode */.Lk)("div",rF,(0,m/* toDisplayString */.v_)((0,i/* unref */.R1)(t).scopes.scope_count_normal),1/* TEXT */),o[5]||(o[5]=(0,l/* createElementVNode */.Lk)("div",{class:"meta-desc"},"个正常块选区",-1/* CACHED */))]),(0,l/* createElementVNode */.Lk)("div",iF,[(0,l/* createVNode */.bF)(yB,{modelValue:s.name,"onUpdate:modelValue":o[1]||(o[1]=e=>s.name=e),name:"预设名称"},null,8/* PROPS */,["modelValue"]),(0,l/* createVNode */.bF)(yB,{modelValue:s.type,"onUpdate:modelValue":o[2]||(o[2]=e=>s.type=e),name:"快捷代码",onSubmit:o[3]||(o[3]=()=>(0,i/* unref */.R1)(n).add_scope(s.name,s.type))},null,8/* PROPS */,["modelValue"])]),(0,l/* createElementVNode */.Lk)("div",sF,[(0,l/* createElementVNode */.Lk)("div",{class:"submit",onClick:o[4]||(o[4]=()=>(0,i/* unref */.R1)(n).add_scope(s.name,s.type))},"添加笔记内预设"),(0,l/* createCommentVNode */.Q3)('<div class="submit submit-global" @click="() => presets.add_scope_global(data.name, data.type)">添加全局预设</div>')])],512/* NEED_PATCH */)):(0,l/* createCommentVNode */.Q3)("v-if",!0)}}),lF=(0,J$/* default */.A)(aF,[["__scopeId","data-v-d718ce04"]])
5630
5630
  /* harmony default export */;
5631
5631
  // EXTERNAL MODULE: ./src/status/status-catalogue.ts
5632
5632
  var cF=n(5024);// ./node_modules/.pnpm/swc-loader@0.2.6_@swc+core@1.13.5_webpack@5.102.1/node_modules/swc-loader/src/index.js!./node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_31004bdc4f0d57d0bbec135754da3886/node_modules/vue-loader/dist/index.js??ruleSet[1].rules[9].use[0]!./src/ui-dialog/dialog-catalogue.vue?vue&type=script&setup=true&lang=ts
@@ -5712,7 +5712,7 @@ s===a||0===a?u=i:a>0&&p&&(u=p),u&&(l.tell(u,o.CommandCube.postil_add(u.id,[d])),
5712
5712
  const f=o.CubeRt.get_default();f.info.text=c,f.info.explanation=t.exp,r instanceof o.CubeText&&(f.css=structuredClone((0,i/* toRaw */.ux)(r.css))),u.tell(r,o.CommandCube.insert(d,[f],d,p,s,s))}d.record(u),a()}function a(){n.cube=void 0,n.show=!1}return(0,l/* watch */.wB)(()=>n.show,()=>{t.exp=""}),(e,o)=>(0,i/* unref */.R1)(n).show?((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{key:0,class:"float-rt",style:(0,m/* normalizeStyle */.Tr)((0,i/* unref */.R1)(n).css)},[o[1]||(o[1]=(0,l/* createElementVNode */.Lk)("div",{class:"iconfont icon-biaozhu"},null,-1/* CACHED */)),(0,l/* withDirectives */.bo)((0,l/* createElementVNode */.Lk)("input",{type:"text","onUpdate:modelValue":o[0]||(o[0]=e=>t.exp=e),onChange:r},null,544/* NEED_HYDRATION, NEED_PATCH */),[[s/* vModelText */.Jo,t.exp]]),(0,l/* createElementVNode */.Lk)("div",{class:"submit",onClick:r},"标注"),(0,l/* createElementVNode */.Lk)("div",{class:"close-corner",onClick:a})],4/* STYLE */)):(0,l/* createCommentVNode */.Q3)("v-if",!0)}}),bD=(0,J$/* default */.A)(gD,[["__scopeId","data-v-e7e23202"]])
5713
5713
  /* harmony default export */,vD=(0,l/* defineComponent */.pM)({__name:"float-words",props:{editor:{}},setup(e){const{root:t}=e.editor,n=(0,i/* ref */.KR)(),o=e.editor.float.words;function a(e,t){const n=[];return e.type===r/* _DictWordType */.oE.keyword&&n.push("float-dict-keyword"),t===o.status.active-1&&n.push("float-dict-active"),n}return(0,l/* onMounted */.sV)(()=>{o.status.dom=n.value}),(e,t)=>(0,l/* withDirectives */.bo)(((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{class:"float-dict",style:(0,m/* normalizeStyle */.Tr)((0,i/* unref */.R1)(o).status.css),ref_key:"box",ref:n},[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)((0,i/* unref */.R1)(o).status.items,(e,t)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{class:(0,m/* normalizeClass */.C4)(a(e,t))},(0,m/* toDisplayString */.v_)(e.word),3/* TEXT, CLASS */))),256/* UNKEYED_FRAGMENT */))],4/* STYLE */)),[[s/* vShow */.aG,(0,i/* unref */.R1)(o).status.show]])}}),_D=(0,J$/* default */.A)(vD,[["__scopeId","data-v-44af97fc"]])
5714
5714
  /* harmony default export */,xD={class:"note-tips"},yD={class:"msgs"},wD=["onClick"],kD=(0,l/* defineComponent */.pM)({__name:"ui-tips",props:{editor:{}},setup(e){const{tips:t}=e.editor;return(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",xD,[(0,l/* createElementVNode */.Lk)("div",yD,[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)((0,i/* unref */.R1)(t).msgs,e=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{key:e.id,class:(0,m/* normalizeClass */.C4)(["msg-item iconfont",e.icon]),style:(0,m/* normalizeStyle */.Tr)(e.css),onClick:t=>e.click&&e.click(t)},(0,m/* toDisplayString */.v_)(e.msg),15/* TEXT, CLASS, STYLE, PROPS */,wD))),128/* KEYED_FRAGMENT */))])]))}}),RD=(0,J$/* default */.A)(kD,[["__scopeId","data-v-5b66db9c"]])
5715
- /* harmony default export */,CD={class:"deepsky-note"},SD={class:"deepsky-editor-box"},ED=(0,l/* defineComponent */.pM)({__name:"ui-editor",props:{editor:{}},setup(e){const t=(0,i/* ref */.KR)(),{config:n}=e.editor;function o(e){e.preventDefault();const t=e.currentTarget,o=Math.sign(e.deltaY)*n.data.scroll_distance;e.shiftKey?tB.DomAnimation.scroll_element(t,o,"horizental"):tB.DomAnimation.scroll_element(t,o,"vertical")}return(0,l/* onMounted */.sV)(()=>{const n=t.value;n&&e.editor.root.render(n)}),(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",CD,[(0,l/* createElementVNode */.Lk)("div",{class:"deepsky-note-bg",style:(0,m/* normalizeStyle */.Tr)(e.editor.theme.background_css)},null,4/* STYLE */),(0,l/* createVNode */.bF)(eB,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",SD,[(0,l/* createVNode */.bF)(jP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{class:"note-box",onWheel:o},[(0,l/* createVNode */.bF)(nF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{ref_key:"note",ref:t},null,512/* NEED_PATCH */)],32/* NEED_HYDRATION */)]),(0,l/* createVNode */.bF)(UP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 提示 "),(0,l/* createVNode */.bF)(RD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 浮动面板 "),(0,l/* createVNode */.bF)(PF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(HF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(_D,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(sD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(lD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(dD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(mD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(bD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 弹窗 "),(0,l/* createVNode */.bF)(lF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(yF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(LF,{editor:e.editor},null,8/* PROPS */,["editor"])]))}}),MD=(0,J$/* default */.A)(ED,[["__scopeId","data-v-b0095466"]])
5715
+ /* harmony default export */,CD={class:"deepsky-note"},SD={class:"deepsky-editor-box"},ED=(0,l/* defineComponent */.pM)({__name:"ui-editor",props:{editor:{}},setup(e){const t=(0,i/* ref */.KR)(),{config:n}=e.editor;function o(e){e.preventDefault();const t=e.currentTarget,o=Math.sign(e.deltaY)*n.data.scroll_distance;e.shiftKey?tB.DomAnimation.scroll_element(t,o,"horizental"):tB.DomAnimation.scroll_element(t,o,"vertical")}return(0,l/* onMounted */.sV)(()=>{const n=t.value;n&&e.editor.root.render(n)}),(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",CD,[(0,l/* createElementVNode */.Lk)("div",{class:"deepsky-note-bg",style:(0,m/* normalizeStyle */.Tr)(e.editor.theme.css)},null,4/* STYLE */),(0,l/* createVNode */.bF)(eB,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",SD,[(0,l/* createVNode */.bF)(jP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{class:"note-box",onWheel:o},[(0,l/* createVNode */.bF)(nF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{ref_key:"note",ref:t},null,512/* NEED_PATCH */)],32/* NEED_HYDRATION */)]),(0,l/* createVNode */.bF)(UP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 提示 "),(0,l/* createVNode */.bF)(RD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 浮动面板 "),(0,l/* createVNode */.bF)(PF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(HF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(_D,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(sD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(lD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(dD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(mD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(bD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 弹窗 "),(0,l/* createVNode */.bF)(lF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(yF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(LF,{editor:e.editor},null,8/* PROPS */,["editor"])]))}}),MD=(0,J$/* default */.A)(ED,[["__scopeId","data-v-55bf90cb"]])
5716
5716
  /* harmony default export */,TD={class:"doc-title-box"},LD={class:"doc-title"},OD={class:"doc-date"},ID=(0,l/* defineComponent */.pM)({__name:"ui-export-title",props:{editor:{}},setup(e){let t;const n=OB/* UIApi */.z.api_get_noteinfo;return n&&(t=n()),(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",TD,[(0,l/* createElementVNode */.Lk)("div",LD,(0,m/* toDisplayString */.v_)((0,i/* unref */.R1)(t)?.name),1/* TEXT */),(0,l/* createElementVNode */.Lk)("div",OD,(0,m/* toDisplayString */.v_)((0,i/* unref */.R1)(tB.DateTime).get_date_string(new Date)),1/* TEXT */)]))}}),zD=(0,J$/* default */.A)(ID,[["__scopeId","data-v-640820d4"]])
5717
5717
  /* harmony default export */,AD={class:"box-catalogue"},ND={class:"box-groups"},WD={class:"group-title-box"},$D=["href"],BD=["data-id"],PD=["href"],FD=(0,l/* defineComponent */.pM)({__name:"ui-exporrt-catalogue",props:{editor:{}},setup(e){const t=e.editor.catalogue.group;function n(e){return{background:e.bg}}return(e,o)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",AD,[o[1]||(o[1]=(0,l/* createElementVNode */.Lk)("div",{class:"catalogue-title"},"catalogue",-1/* CACHED */)),(0,l/* createElementVNode */.Lk)("div",ND,[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)((0,i/* unref */.R1)(t),e=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",{key:e.uid,class:"group",style:(0,m/* normalizeStyle */.Tr)(n(e))},[(0,l/* createElementVNode */.Lk)("div",WD,[(0,l/* createElementVNode */.Lk)("a",{class:"group-title",href:`#${e.cubeid}`},(0,m/* toDisplayString */.v_)(e.name),9/* TEXT, PROPS */,$D),o[0]||(o[0]=(0,l/* createElementVNode */.Lk)("div",{class:"group-tool iconfont icon-10Colors"},null,-1/* CACHED */))]),(0,l/* createElementVNode */.Lk)("div",{ref_for:!0,ref:"links","data-id":e.uid},[((0,l/* openBlock */.uX)(!0),(0/* Fragment */,l/* createElementBlock */.CE)(l.FK,null,(0,l/* renderList */.pI)(e.items,e=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("a",{key:e.uid,class:"group-item",href:`#${e.cubeid}`},(0,m/* toDisplayString */.v_)(e.name),9/* TEXT, PROPS */,PD))),128/* KEYED_FRAGMENT */))],8/* PROPS */,BD)],4/* STYLE */))),128/* KEYED_FRAGMENT */))])]))}}),DD=(0,J$/* default */.A)(FD,[["__scopeId","data-v-dfeb6bd0"]])
5718
5718
  /* harmony default export */,KD={class:"deepsky-note"},VD={class:"deepsky-editor-box"},jD=(0,l/* defineComponent */.pM)({__name:"ui-export-pdf",props:{editor:{}},setup(e){const t=(0,i/* ref */.KR)();return(0,l/* onMounted */.sV)(()=>{const n=t.value;n&&e.editor.root.render(n)}),(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",KD,[(0,l/* createVNode */.bF)(zD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(DD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",VD,[(0,l/* createElementVNode */.Lk)("div",{ref_key:"note",ref:t},null,512/* NEED_PATCH */)])]))}}),HD=(0,J$/* default */.A)(jD,[["__scopeId","data-v-5bcba3ac"]])
@@ -5721,7 +5721,7 @@ const f=o.CubeRt.get_default();f.info.text=c,f.info.explanation=t.exp,r instance
5721
5721
  var XD=n(7925),GD=n(193),qD=n(4809),UD=n(9029),QD=n(1778),YD=n(9562),ZD=n(7333),JD=n(9444),eK=n(2662),tK=n(6219),nK=n(3539),oK=n(7999),rK=n(5450),iK=n(2332),sK=n(1276),aK=n(28),lK=n(6393),cK=n(4860),dK=n(5037);
5722
5722
  // EXTERNAL MODULE: ./src/ui-sidebar/index.ts
5723
5723
  // ./src/ui-editor/waiter.ts
5724
- const uK=new o.Waiter,pK={class:"deepsky-note"},hK={class:"deepsky-editor-box"},fK=(0,l/* defineComponent */.pM)({__name:"ui-editor-map",props:{editor:{}},setup(e){const t=(0,i/* ref */.KR)(),{config:n}=e.editor;function o(e){e.preventDefault();const t=e.currentTarget,o=Math.sign(e.deltaY)*n.data.scroll_distance;e.shiftKey?tB.DomAnimation.scroll_element(t,o,"horizental"):tB.DomAnimation.scroll_element(t,o,"vertical")}return(0,l/* onMounted */.sV)(async()=>{const n=t.value;n&&(await e.editor.root.render(n),uK.resolve(),console.log("渲染完成"))}),(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",pK,[(0,l/* createElementVNode */.Lk)("div",{class:"deepsky-note-bg",style:(0,m/* normalizeStyle */.Tr)(e.editor.theme.background_css)},null,4/* STYLE */),(0,l/* createVNode */.bF)(eB,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",hK,[(0,l/* createVNode */.bF)(jP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{class:"note-box",onWheel:o},[(0,l/* createVNode */.bF)(nF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{class:"note",ref_key:"note",ref:t},null,512/* NEED_PATCH */),(0,l/* createCommentVNode */.Q3)(' <MapStatus :editor="editor"></MapStatus> ')],32/* NEED_HYDRATION */)]),(0,l/* createVNode */.bF)(UP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 提示 "),(0,l/* createVNode */.bF)(RD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 浮动面板 "),(0,l/* createVNode */.bF)(PF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(HF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(_D,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(sD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(lD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(dD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(mD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(bD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 弹窗 "),(0,l/* createVNode */.bF)(lF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(yF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(LF,{editor:e.editor},null,8/* PROPS */,["editor"])]))}}),mK=(0,J$/* default */.A)(fK,[["__scopeId","data-v-c7c113f4"]])
5724
+ const uK=new o.Waiter,pK={class:"deepsky-note"},hK={class:"deepsky-editor-box"},fK=(0,l/* defineComponent */.pM)({__name:"ui-editor-map",props:{editor:{}},setup(e){const t=(0,i/* ref */.KR)(),{config:n}=e.editor;function o(e){e.preventDefault();const t=e.currentTarget,o=Math.sign(e.deltaY)*n.data.scroll_distance;e.shiftKey?tB.DomAnimation.scroll_element(t,o,"horizental"):tB.DomAnimation.scroll_element(t,o,"vertical")}return(0,l/* onMounted */.sV)(async()=>{const n=t.value;n&&(await e.editor.root.render(n),uK.resolve(),console.log("渲染完成"))}),(e,n)=>((0,l/* openBlock */.uX)(),(0,l/* createElementBlock */.CE)("div",pK,[(0,l/* createElementVNode */.Lk)("div",{class:"deepsky-note-bg",style:(0,m/* normalizeStyle */.Tr)(e.editor.theme.css)},null,4/* STYLE */),(0,l/* createVNode */.bF)(eB,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",hK,[(0,l/* createVNode */.bF)(jP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{class:"note-box",onWheel:o},[(0,l/* createVNode */.bF)(nF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createElementVNode */.Lk)("div",{class:"note",ref_key:"note",ref:t},null,512/* NEED_PATCH */),(0,l/* createCommentVNode */.Q3)(' <MapStatus :editor="editor"></MapStatus> ')],32/* NEED_HYDRATION */)]),(0,l/* createVNode */.bF)(UP,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 提示 "),(0,l/* createVNode */.bF)(RD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 浮动面板 "),(0,l/* createVNode */.bF)(PF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(HF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(_D,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(sD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(lD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(dD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(mD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(bD,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createCommentVNode */.Q3)(" 弹窗 "),(0,l/* createVNode */.bF)(lF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(yF,{editor:e.editor},null,8/* PROPS */,["editor"]),(0,l/* createVNode */.bF)(LF,{editor:e.editor},null,8/* PROPS */,["editor"])]))}}),mK=(0,J$/* default */.A)(fK,[["__scopeId","data-v-2822e0b5"]])
5725
5725
  /* harmony default export */;
5726
5726
  // EXTERNAL MODULE: ./src/ui-dialog/index.ts + 1 modules
5727
5727
  var gK=n(5347);// ./src/ui-editor/ui-editor.ts
@@ -5734,7 +5734,7 @@ async render(e){if(this._editor_dom=e,this.root instanceof o.CubeDoc){const t=(0
5734
5734
  // desc : 导出PDF专用页面
5735
5735
  render_pdf(e){
5736
5736
  // 提前展开所有的折叠块
5737
- const t=this.root.cubes.get_types_cube(o._NoteCubeTypes.box_folder);for(let e of this.root.children)e.attrs.fold=!1;for(let e of t.values())e.attrs.fold=!1;(0,s/* createApp */.Ef)(HD,{editor:this}).mount(e),Promise.resolve().then(()=>{this.event.emit_render_end()})}get_editor_version(){return bK.get_editor_version()}static get_editor_version(){return{version:"1.120.4",time_publish:1773299098480}}static get meta(){return{type:r/* _UIPart */.d2.editor,version:1}}}},
5737
+ const t=this.root.cubes.get_types_cube(o._NoteCubeTypes.box_folder);for(let e of this.root.children)e.attrs.fold=!1;for(let e of t.values())e.attrs.fold=!1;(0,s/* createApp */.Ef)(HD,{editor:this}).mount(e),Promise.resolve().then(()=>{this.event.emit_render_end()})}get_editor_version(){return bK.get_editor_version()}static get_editor_version(){return{version:"1.120.6",time_publish:1773365461861}}static get meta(){return{type:r/* _UIPart */.d2.editor,version:1}}}},
5738
5738
  /***/6941:
5739
5739
  /***/function(e){e.exports=function(){"use strict";return function(e,t,n){var o=t.prototype,r=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,o,i){var s=e.name?e:e.$locale(),a=r(s[t]),l=r(s[n]),c=a||l.map(function(e){return e.slice(0,o)});if(!i)return c;var d=s.weekStart;return c.map(function(e,t){return c[(t+(d||0))%7]})},s=function(){return n.Ls[n.locale()]},a=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return a(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=s();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return a(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(s(),"months")},n.monthsShort=function(){return i(s(),"monthsShort","months",3)},n.weekdays=function(e){return i(s(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(s(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(s(),"weekdaysMin","weekdays",2,e)}}}();
5740
5740
  /***/},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepsky",
3
- "version": "1.120.4",
3
+ "version": "1.120.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",