@fileverse-dev/dsheet 4.1.12 → 4.1.13
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/{es-yR2JIXsz.js → es-S4GKlN-t.js} +15 -11
- package/dist/{executeStringFunction-BaZeRysE.js → executeStringFunction-DDohtIgJ.js} +3238 -3216
- package/dist/formula.js +1 -1
- package/dist/{hi-DRcLnrnZ.js → hi-DMMTDTxZ.js} +15 -11
- package/dist/{index-D0OdnFi2.js → index-Do3ORCP6.js} +2532 -2509
- package/dist/index.es.js +7 -7
- package/dist/sheet-engine/core/index.d.ts +2 -2
- package/dist/sheet-engine/core/modules/date-base-locale.d.ts +2 -0
- package/dist/sheet-engine/core/modules/index.d.ts +1 -1
- package/dist/sheet-engine/core/modules/validation.date.test.d.ts +1 -0
- package/dist/sheet-engine/core/utils/freeze.d.ts +15 -0
- package/dist/sheet-engine/core/utils/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{use-xlsx-import-impl-Cfz1iq04.js → use-xlsx-import-impl-B39jJVhb.js} +4 -4
- package/dist/{xlsx-defined-names-CQYS45zi.js → xlsx-defined-names-CVyBLew_.js} +2 -2
- package/dist/{xlsx-export-impl-06gHB4Bx.js → xlsx-export-impl-ByVvG4Rg.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-DQRkchZf.js → xlsx-hyperlink-inline-Q7OJiRv1.js} +2 -2
- package/dist/{zh-B1KUs68q.js → zh-Bv4KIDiJ.js} +15 -11
- package/dist/{zh_tw-B9_7WgLO.js → zh_tw-BdpsK45h.js} +15 -11
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as BZ from "yjs";
|
|
2
|
-
import { i as Yl, a as hl, s as eZ, r as ul, y as Il, b as pl, m as Rl } from "./index-
|
|
3
|
-
import { g as sl } from "./executeStringFunction-
|
|
2
|
+
import { i as Yl, a as hl, s as eZ, r as ul, y as Il, b as pl, m as Rl } from "./index-Do3ORCP6.js";
|
|
3
|
+
import { g as sl } from "./executeStringFunction-DDohtIgJ.js";
|
|
4
4
|
import { Workbook as al } from "exceljs";
|
|
5
5
|
import Kl from "luckyexcel";
|
|
6
|
-
import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-
|
|
7
|
-
import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-
|
|
6
|
+
import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-Q7OJiRv1.js";
|
|
7
|
+
import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-CVyBLew_.js";
|
|
8
8
|
import { toast as fZ } from "@fileverse/ui";
|
|
9
9
|
var Zl = { exports: {} };
|
|
10
10
|
(function(m) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as w } from "./executeStringFunction-
|
|
2
|
-
import { J as x } from "./xlsx-hyperlink-inline-
|
|
1
|
+
import { i as w } from "./executeStringFunction-DDohtIgJ.js";
|
|
2
|
+
import { J as x } from "./xlsx-hyperlink-inline-Q7OJiRv1.js";
|
|
3
3
|
function g(o) {
|
|
4
4
|
return o.startsWith("_xlnm.");
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { utils as S, write as nt } from "xlsx-js-style";
|
|
2
2
|
import { Workbook as pt } from "exceljs";
|
|
3
3
|
import { toast as rt } from "@fileverse/ui";
|
|
4
|
-
import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-
|
|
5
|
-
import { b as gt } from "./executeStringFunction-
|
|
6
|
-
import { e as bt } from "./index-
|
|
4
|
+
import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-Q7OJiRv1.js";
|
|
5
|
+
import { b as gt } from "./executeStringFunction-DDohtIgJ.js";
|
|
6
|
+
import { e as bt } from "./index-Do3ORCP6.js";
|
|
7
7
|
const xt = {
|
|
8
8
|
1: "thin",
|
|
9
9
|
2: "hair",
|
|
@@ -854,7 +854,7 @@ const Z = (t) => {
|
|
|
854
854
|
O
|
|
855
855
|
);
|
|
856
856
|
});
|
|
857
|
-
const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-
|
|
857
|
+
const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-CVyBLew_.js");
|
|
858
858
|
ct(
|
|
859
859
|
B,
|
|
860
860
|
(k = (C = (s = t.current).getWorkbookContext) == null ? void 0 : C.call(s)) == null ? void 0 : k.definedNames,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Rt, c as yt } from "./executeStringFunction-
|
|
2
|
-
import { c as wt } from "./index-
|
|
1
|
+
import { g as Rt, c as yt } from "./executeStringFunction-DDohtIgJ.js";
|
|
2
|
+
import { c as wt } from "./index-Do3ORCP6.js";
|
|
3
3
|
function jt(J, nt) {
|
|
4
4
|
const g = J.getImages();
|
|
5
5
|
if (!g.length) return [];
|
|
@@ -11782,18 +11782,18 @@ field 可以是与 database 第一行中某个列标题对应的文本标签,
|
|
|
11782
11782
|
// { "text": "货币整数", "value": "¥####", "example": "¥1200" },
|
|
11783
11783
|
{ text: "万元2位小数", value: "w0.00", example: "2万2500.55" },
|
|
11784
11784
|
{ text: "", value: "split", example: "" },
|
|
11785
|
-
{ text: "日期", value: "yyyy
|
|
11785
|
+
{ text: "日期", value: "d/M/yyyy", example: "29/11/2017" },
|
|
11786
11786
|
{ text: "时间", value: "hh:mm AM/PM", example: "3:00 PM" },
|
|
11787
11787
|
{ text: "时间24H", value: "hh:mm", example: "15:00" },
|
|
11788
11788
|
{
|
|
11789
11789
|
text: "日期时间",
|
|
11790
|
-
value: "yyyy
|
|
11791
|
-
example: "2017
|
|
11790
|
+
value: "d/M/yyyy hh:mm AM/PM",
|
|
11791
|
+
example: "29/11/2017 3:00 PM"
|
|
11792
11792
|
},
|
|
11793
11793
|
{
|
|
11794
11794
|
text: "日期时间24H",
|
|
11795
|
-
value: "yyyy
|
|
11796
|
-
example: "2017
|
|
11795
|
+
value: "d/M/yyyy hh:mm",
|
|
11796
|
+
example: "29/11/2017 15:00"
|
|
11797
11797
|
},
|
|
11798
11798
|
{ text: "", value: "split", example: "" },
|
|
11799
11799
|
{
|
|
@@ -11804,6 +11804,14 @@ field 可以是与 database 第一行中某个列标题对应的文本标签,
|
|
|
11804
11804
|
}
|
|
11805
11805
|
],
|
|
11806
11806
|
dateFmtList: [
|
|
11807
|
+
{
|
|
11808
|
+
name: "5/8/1930",
|
|
11809
|
+
value: "d/M/yyyy"
|
|
11810
|
+
},
|
|
11811
|
+
{
|
|
11812
|
+
name: "05/08/1930",
|
|
11813
|
+
value: "dd/MM/yyyy"
|
|
11814
|
+
},
|
|
11807
11815
|
{
|
|
11808
11816
|
name: "1930-08-05",
|
|
11809
11817
|
value: "yyyy-MM-dd"
|
|
@@ -11817,12 +11825,8 @@ field 可以是与 database 第一行中某个列标题对应的文本标签,
|
|
|
11817
11825
|
value: 'yyyy"年"M"月"d"日"'
|
|
11818
11826
|
},
|
|
11819
11827
|
{
|
|
11820
|
-
name: "
|
|
11821
|
-
value: "
|
|
11822
|
-
},
|
|
11823
|
-
{
|
|
11824
|
-
name: "8-5",
|
|
11825
|
-
value: "M-d"
|
|
11828
|
+
name: "5-8",
|
|
11829
|
+
value: "d-M"
|
|
11826
11830
|
},
|
|
11827
11831
|
{
|
|
11828
11832
|
name: "8月5日",
|
|
@@ -11769,23 +11769,31 @@ field可以是與database第一行中某個列標題對應的文字標籤,也可
|
|
|
11769
11769
|
// { "text": "貨幣整數", "value": "¥####", "example": "¥1200" },
|
|
11770
11770
|
{ text: "萬元2位小數", value: "w0.00", example: "2万2500.55" },
|
|
11771
11771
|
{ text: "", value: "split", example: "" },
|
|
11772
|
-
{ text: "日期", value: "yyyy
|
|
11772
|
+
{ text: "日期", value: "d/M/yyyy", example: "29/11/2017" },
|
|
11773
11773
|
{ text: "時間", value: "hh:mm AM/PM", example: "3:00 PM" },
|
|
11774
11774
|
{ text: "時間24H", value: "hh:mm", example: "15:00" },
|
|
11775
11775
|
{
|
|
11776
11776
|
text: "日期時間",
|
|
11777
|
-
value: "yyyy
|
|
11778
|
-
example: "2017
|
|
11777
|
+
value: "d/M/yyyy hh:mm AM/PM",
|
|
11778
|
+
example: "29/11/2017 3:00 PM"
|
|
11779
11779
|
},
|
|
11780
11780
|
{
|
|
11781
11781
|
text: "日期時間24H",
|
|
11782
|
-
value: "yyyy
|
|
11783
|
-
example: "2017
|
|
11782
|
+
value: "d/M/yyyy hh:mm",
|
|
11783
|
+
example: "29/11/2017 15:00"
|
|
11784
11784
|
},
|
|
11785
11785
|
{ text: "", value: "split", example: "" },
|
|
11786
11786
|
{ text: "自定義格式", value: "fmtOtherSelf", example: "more" }
|
|
11787
11787
|
],
|
|
11788
11788
|
dateFmtList: [
|
|
11789
|
+
{
|
|
11790
|
+
name: "5/8/1930",
|
|
11791
|
+
value: "d/M/yyyy"
|
|
11792
|
+
},
|
|
11793
|
+
{
|
|
11794
|
+
name: "05/08/1930",
|
|
11795
|
+
value: "dd/MM/yyyy"
|
|
11796
|
+
},
|
|
11789
11797
|
{
|
|
11790
11798
|
name: "1930-08-05",
|
|
11791
11799
|
value: "yyyy-MM-dd"
|
|
@@ -11799,12 +11807,8 @@ field可以是與database第一行中某個列標題對應的文字標籤,也可
|
|
|
11799
11807
|
value: 'yyyy"年"M"月"d"日"'
|
|
11800
11808
|
},
|
|
11801
11809
|
{
|
|
11802
|
-
name: "
|
|
11803
|
-
value: "
|
|
11804
|
-
},
|
|
11805
|
-
{
|
|
11806
|
-
name: "8-5",
|
|
11807
|
-
value: "M-d"
|
|
11810
|
+
name: "5-8",
|
|
11811
|
+
value: "d-M"
|
|
11808
11812
|
},
|
|
11809
11813
|
{
|
|
11810
11814
|
name: "8月5日",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/dsheet",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DSheet",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.13",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/fileverse/fileverse-dsheets.git"
|
|
@@ -133,4 +133,4 @@
|
|
|
133
133
|
"vitest": "^3.2.4",
|
|
134
134
|
"yjs": "13.6.30"
|
|
135
135
|
}
|
|
136
|
-
}
|
|
136
|
+
}
|