@fileverse-dev/dsheet 4.0.3 → 4.0.5

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.
Files changed (41) hide show
  1. package/dist/{constants-Cdz6oSCq.js → constants-CRFfbkoQ.js} +1 -1
  2. package/dist/constants.js +1 -1
  3. package/dist/{crypto-constants-CqpCRs86.js → crypto-constants-ZTlAYRUf.js} +33 -22
  4. package/dist/editor/components/sidebar/use-right-panels.d.ts +1 -1
  5. package/dist/editor/components/sidebars/named-ranges.d.ts +2 -0
  6. package/dist/editor/hooks/use-celldata-compaction.d.ts +2 -3
  7. package/dist/editor/utils/compact-committed-celldata.d.ts +11 -10
  8. package/dist/editor/utils/defined-names-ydoc.d.ts +31 -0
  9. package/dist/editor/utils/import-compaction.d.ts +25 -0
  10. package/dist/editor/utils/xlsx-defined-names.d.ts +41 -0
  11. package/dist/editor/utils/xlsx-import-pipeline.d.ts +28 -0
  12. package/dist/{executeStringFunction-BQvE7aeV.js → executeStringFunction-B6fhDKyN.js} +7014 -6490
  13. package/dist/formula.js +1 -1
  14. package/dist/{index-CeTa91qc.js → index-BqGOKo9u.js} +15445 -14688
  15. package/dist/index.es.js +22 -22
  16. package/dist/sheet-engine/core/api/common.d.ts +1 -0
  17. package/dist/sheet-engine/core/context.d.ts +3 -1
  18. package/dist/sheet-engine/core/index.d.ts +2 -2
  19. package/dist/sheet-engine/core/modules/formula-snapshot-eval.d.ts +11 -0
  20. package/dist/sheet-engine/core/modules/formula.d.ts +27 -0
  21. package/dist/sheet-engine/core/modules/index.d.ts +3 -2
  22. package/dist/sheet-engine/core/modules/namedRanges.d.ts +53 -0
  23. package/dist/sheet-engine/core/paste/paste-border-utils.d.ts +2 -0
  24. package/dist/sheet-engine/core/settings.d.ts +2 -0
  25. package/dist/sheet-engine/core/types.d.ts +21 -0
  26. package/dist/sheet-engine/react/components/NamedRanges/index.d.ts +4 -0
  27. package/dist/sheet-engine/react/components/Workbook/api.d.ts +1 -0
  28. package/dist/sheet-engine/react/components/Workbook/index.d.ts +1 -0
  29. package/dist/style.css +1 -1
  30. package/dist/{template-data-list-oP1s0Uxn.js → template-data-list-RKnVLsuf.js} +51 -50
  31. package/dist/use-xlsx-import-impl-Bddlxx23.js +1898 -0
  32. package/dist/worker/dsheet-worker-client.d.ts +14 -0
  33. package/dist/worker/dsheet-worker.d.ts +14 -0
  34. package/dist/xlsx-defined-names-DsWdNZw-.js +117 -0
  35. package/dist/xlsx-export-impl-DJiXCevi.js +831 -0
  36. package/dist/xlsx-hyperlink-inline-CTg4_gg1.js +2512 -0
  37. package/package.json +5 -4
  38. package/dist/use-xlsx-import-impl-BVsfV8ZV.js +0 -1572
  39. package/dist/xlsx-export-impl-Ber9FhFY.js +0 -3138
  40. package/dist/xlsx-hyperlink-inline-DzewAypN.js +0 -71
  41. package/dist/xlsx-image-utils-Cvg0qxRA.js +0 -126
@@ -2036,6 +2036,7 @@ const t = [
2036
2036
  dataBlockCalcFunction: {
2037
2037
  "8_0": {
2038
2038
  formulaName: "EOA",
2039
+ formula: '=EOA(B3,"txns",B4,B5,B6)',
2039
2040
  row: 8,
2040
2041
  column: 0,
2041
2042
  rowRefrenced: [
@@ -500879,11 +500880,11 @@ const t = [
500879
500880
  name: "COINGECKO",
500880
500881
  value: [
500881
500882
  {
500882
- BTC_USD: 88033
500883
+ BITCOIN_USD: 88033
500883
500884
  }
500884
500885
  ],
500885
500886
  id: "7_1",
500886
- function: '=COINGECKO("price", "btc")',
500887
+ function: '=COINGECKO("price", "bitcoin")',
500887
500888
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
500888
500889
  },
500889
500890
  cellData: {
@@ -500896,7 +500897,7 @@ const t = [
500896
500897
  },
500897
500898
  ht: 1,
500898
500899
  fc: "#3A7527",
500899
- f: '=COINGECKO("price", "btc")'
500900
+ f: '=COINGECKO("price", "bitcoin")'
500900
500901
  }
500901
500902
  },
500902
500903
  "7_2": {
@@ -500906,11 +500907,11 @@ const t = [
500906
500907
  name: "COINGECKO",
500907
500908
  value: [
500908
500909
  {
500909
- ETH_USD: 2949.34
500910
+ ETHEREUM_USD: 2949.34
500910
500911
  }
500911
500912
  ],
500912
500913
  id: "7_2",
500913
- function: '=COINGECKO("price", "eth")',
500914
+ function: '=COINGECKO("price", "ethereum")',
500914
500915
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
500915
500916
  },
500916
500917
  cellData: {
@@ -500925,7 +500926,7 @@ const t = [
500925
500926
  fs: 10,
500926
500927
  v: {},
500927
500928
  m: "[object Promise]",
500928
- f: '=COINGECKO("price", "eth")'
500929
+ f: '=COINGECKO("price", "ethereum")'
500929
500930
  }
500930
500931
  },
500931
500932
  "7_3": {
@@ -500935,11 +500936,11 @@ const t = [
500935
500936
  name: "COINGECKO",
500936
500937
  value: [
500937
500938
  {
500938
- SOL_USD: 125.17
500939
+ SOLANA_USD: 125.17
500939
500940
  }
500940
500941
  ],
500941
500942
  id: "7_3",
500942
- function: '=COINGECKO("price", "sol")',
500943
+ function: '=COINGECKO("price", "solana")',
500943
500944
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
500944
500945
  },
500945
500946
  cellData: {
@@ -500950,7 +500951,7 @@ const t = [
500950
500951
  },
500951
500952
  ht: 2,
500952
500953
  fc: "#CB000C",
500953
- f: '=COINGECKO("price", "sol")',
500954
+ f: '=COINGECKO("price", "solana")',
500954
500955
  m: "[object Promise]",
500955
500956
  v: {}
500956
500957
  }
@@ -500962,11 +500963,11 @@ const t = [
500962
500963
  name: "COINGECKO",
500963
500964
  value: [
500964
500965
  {
500965
- HYPE_USD: 24
500966
+ HYPERLIQUID_USD: 24
500966
500967
  }
500967
500968
  ],
500968
500969
  id: "7_4",
500969
- function: '=COINGECKO("price", "hype")',
500970
+ function: '=COINGECKO("price", "hyperliquid")',
500970
500971
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
500971
500972
  },
500972
500973
  cellData: {
@@ -500977,7 +500978,7 @@ const t = [
500977
500978
  },
500978
500979
  ht: 2,
500979
500980
  fc: "#3A7527",
500980
- f: '=COINGECKO("price", "hype")',
500981
+ f: '=COINGECKO("price", "hyperliquid")',
500981
500982
  m: "[object Promise]",
500982
500983
  v: {}
500983
500984
  }
@@ -500989,11 +500990,11 @@ const t = [
500989
500990
  name: "COINGECKO",
500990
500991
  value: [
500991
500992
  {
500992
- SPX_USD: 0.485465
500993
+ SPX6900_USD: 0.485465
500993
500994
  }
500994
500995
  ],
500995
500996
  id: "7_5",
500996
- function: '=COINGECKO("price", "spx")',
500997
+ function: '=COINGECKO("price", "spx6900")',
500997
500998
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
500998
500999
  },
500999
501000
  cellData: {
@@ -501004,7 +501005,7 @@ const t = [
501004
501005
  },
501005
501006
  ht: 2,
501006
501007
  fc: "#3A7527",
501007
- f: '=COINGECKO("price", "spx")',
501008
+ f: '=COINGECKO("price", "spx6900")',
501008
501009
  m: "[object Promise]",
501009
501010
  v: {}
501010
501011
  }
@@ -501016,11 +501017,11 @@ const t = [
501016
501017
  name: "COINGECKO",
501017
501018
  value: [
501018
501019
  {
501019
- CULT_USD: 2368e-7
501020
+ "MILADY-CULT-COIN_USD": 2368e-7
501020
501021
  }
501021
501022
  ],
501022
501023
  id: "7_6",
501023
- function: '=COINGECKO("price", "cult")',
501024
+ function: '=COINGECKO("price", "milady-cult-coin")',
501024
501025
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
501025
501026
  },
501026
501027
  cellData: {
@@ -501031,7 +501032,7 @@ const t = [
501031
501032
  },
501032
501033
  ht: 2,
501033
501034
  fc: "#CB000C",
501034
- f: '=COINGECKO("price", "cult")',
501035
+ f: '=COINGECKO("price", "milady-cult-coin")',
501035
501036
  m: "[object Promise]",
501036
501037
  v: {}
501037
501038
  }
@@ -501043,11 +501044,11 @@ const t = [
501043
501044
  name: "COINGECKO",
501044
501045
  value: [
501045
501046
  {
501046
- ZEC_USD: 410.34
501047
+ ZCASH_USD: 410.34
501047
501048
  }
501048
501049
  ],
501049
501050
  id: "7_7",
501050
- function: '=COINGECKO("price", "zec")',
501051
+ function: '=COINGECKO("price", "zcash")',
501051
501052
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
501052
501053
  },
501053
501054
  cellData: {
@@ -501058,7 +501059,7 @@ const t = [
501058
501059
  },
501059
501060
  ht: 2,
501060
501061
  fc: "#3A7527",
501061
- f: '=COINGECKO("price", "zec")',
501062
+ f: '=COINGECKO("price", "zcash")',
501062
501063
  m: "[object Promise]",
501063
501064
  v: {}
501064
501065
  }
@@ -501070,11 +501071,11 @@ const t = [
501070
501071
  name: "COINGECKO",
501071
501072
  value: [
501072
501073
  {
501073
- PENGU_USD: 921145e-8
501074
+ "PUDGY-PENGUINS_USD": 921145e-8
501074
501075
  }
501075
501076
  ],
501076
501077
  id: "7_8",
501077
- function: '=COINGECKO("price", "pengu")',
501078
+ function: '=COINGECKO("price", "pudgy-penguins")',
501078
501079
  subSheetId: "0891b697-84e6-4295-b352-123d8757b1f0"
501079
501080
  },
501080
501081
  cellData: {
@@ -501085,7 +501086,7 @@ const t = [
501085
501086
  },
501086
501087
  ht: 2,
501087
501088
  fc: "#3A7527",
501088
- f: '=COINGECKO("price", "pengu")',
501089
+ f: '=COINGECKO("price", "pudgy-penguins")',
501089
501090
  m: "[object Promise]",
501090
501091
  v: {}
501091
501092
  }
@@ -501528,12 +501529,12 @@ const t = [
501528
501529
  r: 3,
501529
501530
  c: 0,
501530
501531
  v: {
501531
- m: 'Eg: =coingecko("price", "hype") or =price("btc, eth")',
501532
+ m: 'Eg: =coingecko("price", "hyperliquid") or =price("btc, eth")',
501532
501533
  ct: {
501533
501534
  fa: "General",
501534
501535
  t: "g"
501535
501536
  },
501536
- v: 'Eg: =coingecko("price", "hype") or =price("btc, eth")',
501537
+ v: 'Eg: =coingecko("price", "hyperliquid") or =price("btc, eth")',
501537
501538
  bl: 0,
501538
501539
  it: 0,
501539
501540
  ff: 0,
@@ -501788,7 +501789,7 @@ const t = [
501788
501789
  r: 6,
501789
501790
  c: 1,
501790
501791
  v: {
501791
- v: "BTC_USD",
501792
+ v: "BITCOIN_USD",
501792
501793
  fs: 10,
501793
501794
  ct: {
501794
501795
  fa: "General",
@@ -501798,14 +501799,14 @@ const t = [
501798
501799
  fc: "#000000",
501799
501800
  bg: "#FCE5CF",
501800
501801
  bl: 1,
501801
- m: "BTC_USD"
501802
+ m: "BITCOIN_USD"
501802
501803
  }
501803
501804
  },
501804
501805
  {
501805
501806
  r: 6,
501806
501807
  c: 2,
501807
501808
  v: {
501808
- v: "ETH_USD",
501809
+ v: "ETHEREUM_USD",
501809
501810
  fs: 10,
501810
501811
  bl: 1,
501811
501812
  ct: {
@@ -501814,14 +501815,14 @@ const t = [
501814
501815
  },
501815
501816
  isDataBlockFormula: !0,
501816
501817
  bg: "#C9DBF7",
501817
- m: "ETH_USD"
501818
+ m: "ETHEREUM_USD"
501818
501819
  }
501819
501820
  },
501820
501821
  {
501821
501822
  r: 6,
501822
501823
  c: 3,
501823
501824
  v: {
501824
- v: "SOL_USD",
501825
+ v: "SOLANA_USD",
501825
501826
  fs: 10,
501826
501827
  bl: 1,
501827
501828
  ct: {
@@ -501830,14 +501831,14 @@ const t = [
501830
501831
  },
501831
501832
  isDataBlockFormula: !0,
501832
501833
  bg: "#D9D3E8",
501833
- m: "SOL_USD"
501834
+ m: "SOLANA_USD"
501834
501835
  }
501835
501836
  },
501836
501837
  {
501837
501838
  r: 6,
501838
501839
  c: 4,
501839
501840
  v: {
501840
- v: "HYPE_USD",
501841
+ v: "HYPERLIQUID_USD",
501841
501842
  fs: 10,
501842
501843
  bl: 1,
501843
501844
  ct: {
@@ -501846,7 +501847,7 @@ const t = [
501846
501847
  },
501847
501848
  isDataBlockFormula: !0,
501848
501849
  bg: "#DAEAD4",
501849
- m: "HYPE_USD"
501850
+ m: "HYPERLIQUID_USD"
501850
501851
  }
501851
501852
  },
501852
501853
  {
@@ -501860,16 +501861,16 @@ const t = [
501860
501861
  t: "g"
501861
501862
  },
501862
501863
  isDataBlockFormula: !0,
501863
- v: "SPX_USD",
501864
+ v: "SPX6900_USD",
501864
501865
  bg: "#FFF1CF",
501865
- m: "SPX_USD"
501866
+ m: "SPX6900_USD"
501866
501867
  }
501867
501868
  },
501868
501869
  {
501869
501870
  r: 6,
501870
501871
  c: 6,
501871
501872
  v: {
501872
- v: "CULT_USD",
501873
+ v: "MILADY-CULT-COIN_USD",
501873
501874
  fs: 10,
501874
501875
  bl: 1,
501875
501876
  ct: {
@@ -501878,14 +501879,14 @@ const t = [
501878
501879
  },
501879
501880
  isDataBlockFormula: !0,
501880
501881
  bg: "#EAD1DC",
501881
- m: "CULT_USD"
501882
+ m: "MILADY-CULT-COIN_USD"
501882
501883
  }
501883
501884
  },
501884
501885
  {
501885
501886
  r: 6,
501886
501887
  c: 7,
501887
501888
  v: {
501888
- v: "ZEC_USD",
501889
+ v: "ZCASH_USD",
501889
501890
  fs: 10,
501890
501891
  bl: 1,
501891
501892
  ct: {
@@ -501894,14 +501895,14 @@ const t = [
501894
501895
  },
501895
501896
  isDataBlockFormula: !0,
501896
501897
  bg: "#FFE49F",
501897
- m: "ZEC_USD"
501898
+ m: "ZCASH_USD"
501898
501899
  }
501899
501900
  },
501900
501901
  {
501901
501902
  r: 6,
501902
501903
  c: 8,
501903
501904
  v: {
501904
- v: "PENGU_USD",
501905
+ v: "PUDGY-PENGUINS_USD",
501905
501906
  fs: 10,
501906
501907
  bl: 1,
501907
501908
  ct: {
@@ -501910,7 +501911,7 @@ const t = [
501910
501911
  },
501911
501912
  isDataBlockFormula: !0,
501912
501913
  bg: "#A0C6E6",
501913
- m: "PENGU_USD"
501914
+ m: "PUDGY-PENGUINS_USD"
501914
501915
  }
501915
501916
  },
501916
501917
  {
@@ -501940,7 +501941,7 @@ const t = [
501940
501941
  },
501941
501942
  ht: "2",
501942
501943
  fc: "#3A7527",
501943
- f: '=COINGECKO("price", "btc")',
501944
+ f: '=COINGECKO("price", "bitcoin")',
501944
501945
  isDataBlockFormula: !0
501945
501946
  }
501946
501947
  },
@@ -501959,7 +501960,7 @@ const t = [
501959
501960
  fs: 10,
501960
501961
  v: 2949.34,
501961
501962
  m: "2949.34",
501962
- f: '=COINGECKO("price", "eth")'
501963
+ f: '=COINGECKO("price", "ethereum")'
501963
501964
  }
501964
501965
  },
501965
501966
  {
@@ -501973,7 +501974,7 @@ const t = [
501973
501974
  },
501974
501975
  ht: 2,
501975
501976
  fc: "#CB000C",
501976
- f: '=COINGECKO("price", "sol")',
501977
+ f: '=COINGECKO("price", "solana")',
501977
501978
  m: "125.17",
501978
501979
  v: 125.17,
501979
501980
  isDataBlockFormula: !0
@@ -501990,7 +501991,7 @@ const t = [
501990
501991
  },
501991
501992
  ht: 2,
501992
501993
  fc: "#3A7527",
501993
- f: '=COINGECKO("price", "hype")',
501994
+ f: '=COINGECKO("price", "hyperliquid")',
501994
501995
  m: "24",
501995
501996
  v: 24,
501996
501997
  isDataBlockFormula: !0
@@ -502007,7 +502008,7 @@ const t = [
502007
502008
  },
502008
502009
  ht: 2,
502009
502010
  fc: "#3A7527",
502010
- f: '=COINGECKO("price", "spx")',
502011
+ f: '=COINGECKO("price", "spx6900")',
502011
502012
  m: "0.485465",
502012
502013
  v: 0.485465,
502013
502014
  isDataBlockFormula: !0
@@ -502024,7 +502025,7 @@ const t = [
502024
502025
  },
502025
502026
  ht: 2,
502026
502027
  fc: "#CB000C",
502027
- f: '=COINGECKO("price", "cult")',
502028
+ f: '=COINGECKO("price", "milady-cult-coin")',
502028
502029
  m: "0.0002368",
502029
502030
  v: 2368e-7,
502030
502031
  isDataBlockFormula: !0
@@ -502041,7 +502042,7 @@ const t = [
502041
502042
  },
502042
502043
  ht: 2,
502043
502044
  fc: "#3A7527",
502044
- f: '=COINGECKO("price", "zec")',
502045
+ f: '=COINGECKO("price", "zcash")',
502045
502046
  m: "410.34",
502046
502047
  v: 410.34,
502047
502048
  isDataBlockFormula: !0
@@ -502058,7 +502059,7 @@ const t = [
502058
502059
  },
502059
502060
  ht: 2,
502060
502061
  fc: "#3A7527",
502061
- f: '=COINGECKO("price", "pengu")',
502062
+ f: '=COINGECKO("price", "pudgy-penguins")',
502062
502063
  m: "0.00921145",
502063
502064
  v: 921145e-8,
502064
502065
  isDataBlockFormula: !0