@fileverse-dev/dsheet 1.2.76-example-2 → 1.2.76-example-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.
Files changed (2) hide show
  1. package/dist/index.es.js +306 -34
  2. package/package.json +3 -3
package/dist/index.es.js CHANGED
@@ -11245,7 +11245,16 @@ var $1e = Object.create, CU = Object.defineProperty, e0e = Object.getOwnProperty
11245
11245
  require: "o",
11246
11246
  type: "string"
11247
11247
  }
11248
- ]
11248
+ ],
11249
+ examples: [{
11250
+ title: "EOA",
11251
+ argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
11252
+ description: "returns the transaction history for the address vitalik.eth on the Ethereum blockchain between January 1, 2023 and January 5, 2024, returning page 1 with 2 transactions per page."
11253
+ }, {
11254
+ title: "EOA",
11255
+ argumentString: '"vitalik.eth", "balance", "gnosis"',
11256
+ description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
11257
+ }]
11249
11258
  }, u0e = {
11250
11259
  LOGO: "https://app.uniswap.org/favicon.png",
11251
11260
  BRAND_COLOR: "#fef5fc",
@@ -11283,6 +11292,18 @@ var $1e = Object.create, CU = Object.defineProperty, e0e = Object.getOwnProperty
11283
11292
  require: "o",
11284
11293
  type: "string"
11285
11294
  }
11295
+ ],
11296
+ examples: [
11297
+ {
11298
+ title: "UNISWAP",
11299
+ argumentString: '"v3", "tokens", "eth"',
11300
+ description: "returns data for the ETH token from Uniswap V3."
11301
+ },
11302
+ {
11303
+ title: "UNISWAP",
11304
+ argumentString: '"v3-raw", "markets", "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"',
11305
+ description: "returns data for the Uniswap V3 market with the specified contract address."
11306
+ }
11286
11307
  ]
11287
11308
  }, v0e = {
11288
11309
  LOGO: "https://files.readme.io/06394e687778e238a6cd43de6e1d7d339043aa50054703f64606369352ef1864-VariantCG-Symbol-Color.png",
@@ -11325,6 +11346,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11325
11346
  require: "o",
11326
11347
  type: "string"
11327
11348
  }
11349
+ ],
11350
+ examples: [
11351
+ {
11352
+ title: "COINGECKO",
11353
+ argumentString: '"stablecoins", "yield-bearing-stablecoins", "1h,24h,7d"',
11354
+ description: "returns the yield-bearing stablecoins with percentage changes over 1 hour, 24 hours, and 7 days."
11355
+ },
11356
+ {
11357
+ title: "COINGECKO",
11358
+ argumentString: '"derivatives", "binance_futures"',
11359
+ description: "returns the derivatives data from the Binance Futures exchange."
11360
+ }
11328
11361
  ]
11329
11362
  }, m0e = {
11330
11363
  API_KEY: Vs.Defillama,
@@ -11333,7 +11366,7 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11333
11366
  BRAND_SECONDARY_COLOR: "#855dcd",
11334
11367
  n: "DEFILLAMA",
11335
11368
  t: 20,
11336
- d: "Fetches content from Defillama.",
11369
+ d: "returns content from Defillama.",
11337
11370
  a: "Retrieves data from Defillama.",
11338
11371
  p: [
11339
11372
  {
@@ -11350,7 +11383,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11350
11383
  require: "o",
11351
11384
  type: "string"
11352
11385
  }
11353
- ]
11386
+ ],
11387
+ examples: [{
11388
+ title: "DEFILLAMA",
11389
+ argumentString: '"protocols"',
11390
+ description: "returns a list of DeFi protocols from Defillama."
11391
+ }, {
11392
+ title: "DEFILLAMA",
11393
+ argumentString: '"dex"',
11394
+ description: "returns decentralized exchange (DEX) data from Defillama."
11395
+ }]
11354
11396
  }, h0e = {
11355
11397
  API_KEY: Vs.Basescan,
11356
11398
  LOGO: "https://2064089921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevP3L0cUvP9xmRefuzCm%2Fuploads%2F2K1pvFsE7JAfcI3LAxYl%2Fbase-logo-in-blue.webp?alt=media&token=32c80439-dbdc-432a-b199-220e012efc3c",
@@ -11410,6 +11452,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11410
11452
  require: "o",
11411
11453
  type: "string"
11412
11454
  }
11455
+ ],
11456
+ examples: [
11457
+ {
11458
+ title: "BASE",
11459
+ argumentString: '"token-txns", "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "01/01/2024", "07/07/2024", 1, 2',
11460
+ description: "returns list ofERC-20 token transfer history for the specified address on the Base network between January 1, 2024 and July 7, 2024, returning page 1 with 2 results per page."
11461
+ },
11462
+ {
11463
+ title: "BASE",
11464
+ argumentString: '"gas"',
11465
+ description: "returns gas price metrics for the Base network."
11466
+ }
11413
11467
  ]
11414
11468
  }, d0e = {
11415
11469
  API_KEY: Vs.Gnosisscan,
@@ -11463,7 +11517,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11463
11517
  require: "o",
11464
11518
  type: "number"
11465
11519
  }
11466
- ]
11520
+ ],
11521
+ examples: [{
11522
+ title: "GNOSIS",
11523
+ argumentString: '"nft-txns", "0x90830Ed558f12D826370DC52E9D87947A7F18De9", "01/01/2024", "14/06/2025", 1, 50',
11524
+ description: "returns NFT transaction history for the address 0x90830Ed558f12D826370DC52E9D87947A7F18De9 on the Gnosis Chain between January 1, 2024 and June 14, 2025, returning page 1 with 50 transactions per page."
11525
+ }, {
11526
+ title: "GNOSIS",
11527
+ argumentString: '"gas"',
11528
+ description: "returns current gas price metrics for the Gnosis Chain."
11529
+ }]
11467
11530
  }, p0e = {
11468
11531
  API_KEY: Vs.Etherscan,
11469
11532
  LOGO: "https://etherscan.io/images/favicon3.ico",
@@ -11516,6 +11579,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11516
11579
  require: "o",
11517
11580
  type: "string"
11518
11581
  }
11582
+ ],
11583
+ examples: [
11584
+ {
11585
+ title: "ETHERSCAN",
11586
+ argumentString: '"all-txns", "ethereum", "vitalik.eth"',
11587
+ description: "returns the complete transaction history for the address vitalik.eth on the Ethereum blockchain."
11588
+ },
11589
+ {
11590
+ title: "ETHERSCAN",
11591
+ argumentString: '"token-txns", "gnosis", "vitalik.eth", "01/01/2024", "01/05/2024"',
11592
+ description: "returns the token transaction history for the address vitalik.eth on the Gnosis blockchain between January 1, 2024 and January 5, 2024."
11593
+ }
11519
11594
  ]
11520
11595
  }, b0e = {
11521
11596
  n: "PNL",
@@ -11539,7 +11614,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11539
11614
  repeat: "n",
11540
11615
  type: "range"
11541
11616
  }
11542
- ]
11617
+ ],
11618
+ examples: [{
11619
+ title: "PNL",
11620
+ argumentString: "A1:A10, B1:B10",
11621
+ description: "returns the total profit or loss by subtracting the costs in range A1:A10 from the revenues in range B1:B10."
11622
+ }, {
11623
+ title: "PNL",
11624
+ argumentString: '"{100, 200, 150}", "{250, 300, 200}"',
11625
+ description: "returns the total profit or loss by subtracting the costs {100, 200, 150} from the revenues {250, 300, 200}."
11626
+ }]
11543
11627
  }, g0e = {
11544
11628
  API_KEY: Vs.Safe,
11545
11629
  LOGO: "https://safe-transaction-mainnet.safe.global/static/safe/favicon.png",
@@ -11582,7 +11666,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11582
11666
  require: "o",
11583
11667
  repeat: "n"
11584
11668
  }
11585
- ]
11669
+ ],
11670
+ examples: [{
11671
+ title: "SAFE",
11672
+ argumentString: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253", "txns", "gnosis", 10, 0',
11673
+ description: "returns the last 10 transactions for the specified Safe address on the Gnosis chain."
11674
+ }, {
11675
+ title: "SAFE",
11676
+ argumentString: '"0x1234567890abcdef1234567890abcdef12345678", "txns", "ethereum"',
11677
+ description: "returns the last 100 transactions for the specified Safe address on the Ethereum chain."
11678
+ }]
11586
11679
  }, y0e = {
11587
11680
  LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
11588
11681
  BRAND_COLOR: "#f8f8fd",
@@ -11643,7 +11736,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11643
11736
  repeat: "n",
11644
11737
  type: "rangenumber"
11645
11738
  }
11646
- ]
11739
+ ],
11740
+ examples: [{
11741
+ title: "BLOCKSCOUT",
11742
+ argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
11743
+ description: "returns transaction history for the address vitalik.eth on the Ethereum blockchain between January 1, 2023 and January 5, 2024, returning page 1 with 2 transactions per page."
11744
+ }, {
11745
+ title: "BLOCKSCOUT",
11746
+ argumentString: '"vitalik.eth", "balance", "gnosis"',
11747
+ description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
11748
+ }]
11647
11749
  }, w0e = {
11648
11750
  LOGO: "https://avatars.githubusercontent.com/u/47617460?s=200&v=4",
11649
11751
  BRAND_COLOR: "#f7f7ff",
@@ -11681,6 +11783,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11681
11783
  require: "o",
11682
11784
  type: "string"
11683
11785
  }
11786
+ ],
11787
+ examples: [
11788
+ {
11789
+ title: "AAVE",
11790
+ argumentString: '"v2", "tokens", "USDT"',
11791
+ description: "returns list data for the USDT token from Aave V2."
11792
+ },
11793
+ {
11794
+ title: "AAVE",
11795
+ argumentString: '"v2-raw", "markets", "AAVE"',
11796
+ description: "returns list data for the AAVE token from Aave V2."
11797
+ }
11684
11798
  ]
11685
11799
  }, x0e = {
11686
11800
  API_KEY: Vs.Firefly,
@@ -11721,6 +11835,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11721
11835
  require: "o",
11722
11836
  type: "number"
11723
11837
  }
11838
+ ],
11839
+ examples: [
11840
+ {
11841
+ title: "LENS",
11842
+ argumentString: '"posts", "toka,miroyato"',
11843
+ description: "returns posts made by the users with the usernames toka and miroyato on Lens."
11844
+ },
11845
+ {
11846
+ title: "LENS",
11847
+ argumentString: '"replies", "0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d"',
11848
+ description: "returns replies to the post with the specified hash on Lens."
11849
+ }
11724
11850
  ]
11725
11851
  }, k0e = {
11726
11852
  API_KEY: Vs.Firefly,
@@ -11761,6 +11887,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11761
11887
  require: "o",
11762
11888
  type: "number"
11763
11889
  }
11890
+ ],
11891
+ examples: [
11892
+ {
11893
+ title: "FARCASTER",
11894
+ argumentString: '"posts", "miroyato"',
11895
+ description: "returns posts made by the user with the username miroyato."
11896
+ },
11897
+ {
11898
+ title: "FARCASTER",
11899
+ argumentString: '"replies", "0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d"',
11900
+ description: "returns replies to the post with the specified hash."
11901
+ }
11764
11902
  ]
11765
11903
  }, C0e = {
11766
11904
  API_KEY: Vs.Firefly,
@@ -11807,6 +11945,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11807
11945
  require: "o",
11808
11946
  type: "number"
11809
11947
  }
11948
+ ],
11949
+ examples: [
11950
+ {
11951
+ title: "FIREFLY",
11952
+ argumentString: '"farcaster", "posts", "miroyato"',
11953
+ description: "returns posts made by the user with the username miroyato on Farcaster."
11954
+ },
11955
+ {
11956
+ title: "FIREFLY",
11957
+ argumentString: '"lens", "posts", "toka"',
11958
+ description: "returns posts made by the user with the username toka on Lens."
11959
+ }
11810
11960
  ]
11811
11961
  }, _0e = {
11812
11962
  API_KEY: Vs.Neynar,
@@ -11825,33 +11975,47 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11825
11975
  require: "m",
11826
11976
  type: "number"
11827
11977
  }
11828
- ]
11978
+ ],
11979
+ examples: [{
11980
+ title: "NEYNAR",
11981
+ argumentString: '"miroyato"',
11982
+ description: "returns followers for the Farcaster user with the username miroyato."
11983
+ }, {
11984
+ title: "NEYNAR",
11985
+ argumentString: '"alice"',
11986
+ description: "returns followers for the Farcaster user with the username alice."
11987
+ }]
11829
11988
  }, T0e = {
11830
11989
  n: "SMARTCONTRACT",
11831
11990
  t: 20,
11832
- d: "Query smart contracts in cells.",
11833
- r: "Call a read-only function on a given smart contract",
11991
+ d: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
11992
+ r: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
11834
11993
  p: [
11835
11994
  {
11836
- name: "contractName",
11837
- detail: "Name of the contract you want to pull data from",
11838
- example: '"USDC"',
11995
+ name: "contract_address",
11996
+ detail: "Address of the contract you want to query",
11997
+ example: '"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb"',
11839
11998
  require: "m",
11840
11999
  type: "string"
11841
12000
  },
11842
12001
  {
11843
- name: "functionName",
11844
- detail: "Name of the function you want to call from the give contract",
11845
- example: '"balanceOf"',
12002
+ name: "chain",
12003
+ detail: 'Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.',
12004
+ example: '"GNOSIS"',
11846
12005
  require: "m",
11847
12006
  type: "string"
12007
+ }
12008
+ ],
12009
+ examples: [
12010
+ {
12011
+ title: "SMARTCONTRACT",
12012
+ argumentString: '"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "ETHEREUM"',
12013
+ description: "returns the list of functions and their arguments for Circle USDC contract on Ethereum."
11848
12014
  },
11849
12015
  {
11850
- name: "...functionArgs",
11851
- detail: "Optional arguments to pass to the contract function.",
11852
- example: '"0x50Aa3435E310d5a2d15a989Bc353ce7f5682E1d4"',
11853
- require: "o",
11854
- type: "any"
12016
+ title: "SMARTCONTRACT",
12017
+ argumentString: '"0xdac17f958d2ee523a2206206994597c13d831ec7", "ETHEREUM"',
12018
+ description: "returns the list of functions and their arguments for Tether USD (USDT) contract on Ethereum."
11855
12019
  }
11856
12020
  ]
11857
12021
  }, E0e = {
@@ -11877,7 +12041,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11877
12041
  require: "m",
11878
12042
  type: "string"
11879
12043
  }
11880
- ]
12044
+ ],
12045
+ examples: [{
12046
+ title: "TALLY",
12047
+ argumentString: '"organization", "arbitrum"',
12048
+ description: "returns details about the Arbitrum organization from Tally."
12049
+ }, {
12050
+ title: "TALLY",
12051
+ argumentString: '"proposals", "aave"',
12052
+ description: "returns proposals for the Aave organization from Tally."
12053
+ }]
11881
12054
  }, M0e = {
11882
12055
  API_KEY: Vs.DuneSim,
11883
12056
  LOGO: "https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://docs.sim.dune.com&size=32",
@@ -11923,6 +12096,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11923
12096
  require: "o",
11924
12097
  type: "number"
11925
12098
  }
12099
+ ],
12100
+ examples: [
12101
+ {
12102
+ title: "DUNE",
12103
+ argumentString: '"price", "base", 1, "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", 5',
12104
+ description: "returns the price of the specified token on the Base chain with a 1-hour historical offset, limiting results to 5 entries."
12105
+ },
12106
+ {
12107
+ title: "DUNE",
12108
+ argumentString: '"activity", "vitalik.eth", "eth", 10',
12109
+ description: "returns the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
12110
+ }
11926
12111
  ]
11927
12112
  }, A0e = {
11928
12113
  n: "PRICE",
@@ -11951,6 +12136,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11951
12136
  require: "o",
11952
12137
  type: "string"
11953
12138
  }
12139
+ ],
12140
+ examples: [
12141
+ {
12142
+ title: "PRICE",
12143
+ argumentString: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", "base", "1,24"',
12144
+ description: "returns the price of the specified token on the Base chain with 1-hour and 24-hour historical offsets."
12145
+ },
12146
+ {
12147
+ title: "PRICE",
12148
+ argumentString: '"ETH,BTC", "1,24,168"',
12149
+ description: "returns the prices of ETH and BTC with 1-hour, 24-hour, and 168-hour (7-day) historical offsets."
12150
+ }
11954
12151
  ]
11955
12152
  }, S0e = {
11956
12153
  n: "WALLET",
@@ -11986,6 +12183,18 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
11986
12183
  require: "o",
11987
12184
  type: "string"
11988
12185
  }
12186
+ ],
12187
+ examples: [
12188
+ {
12189
+ title: "WALLET",
12190
+ argumentString: '"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "ethereum", "txns", "17520"',
12191
+ description: "returns transactions for the specified wallet address on the Ethereum chain within the last 17520 hours (approximately 2 years)."
12192
+ },
12193
+ {
12194
+ title: "WALLET",
12195
+ argumentString: '"vitalik.eth", "base", "balance"',
12196
+ description: "returns the latest balance for the address vitalik.eth on the Base chain."
12197
+ }
11989
12198
  ]
11990
12199
  }, D0e = {
11991
12200
  n: "YIELD",
@@ -12000,7 +12209,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
12000
12209
  require: "m",
12001
12210
  type: "string"
12002
12211
  }
12003
- ]
12212
+ ],
12213
+ examples: [{
12214
+ title: "YIELD",
12215
+ argumentString: '"stablecoins"',
12216
+ description: "returns yield data for stablecoins."
12217
+ }, {
12218
+ title: "YIELD",
12219
+ argumentString: '"all"',
12220
+ description: "returns yield data for all categories."
12221
+ }]
12004
12222
  }, L0e = {
12005
12223
  LOGO: "https://avatars.githubusercontent.com/u/159135534?s=200&v=4",
12006
12224
  n: "CIRCLES",
@@ -12034,7 +12252,16 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
12034
12252
  require: "o",
12035
12253
  type: "string"
12036
12254
  }
12037
- ]
12255
+ ],
12256
+ examples: [{
12257
+ title: "CIRCLES",
12258
+ argumentString: '"trust", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
12259
+ description: "returns the trust relationships for the specified Circles address."
12260
+ }, {
12261
+ title: "CIRCLES",
12262
+ argumentString: '"transactions", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253", 5',
12263
+ description: "returns the last 5 transactions for the specified Circles address."
12264
+ }]
12038
12265
  }, F0e = [
12039
12266
  f0e,
12040
12267
  u0e,
@@ -170681,13 +170908,19 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
170681
170908
  className: " flex-grow color-text-default"
170682
170909
  }, /* @__PURE__ */ Z.createElement("code", {
170683
170910
  style: {
170684
- fontWeight: 500
170911
+ fontWeight: "bold"
170685
170912
  },
170686
170913
  className: "luckysheet-arguments-help-function-name font-family-mono mb-1 mt-2 color-text-default font-family-mono"
170687
170914
  }, o.n), /* @__PURE__ */ Z.createElement("code", {
170688
- className: "luckysheet-arguments-paren font-family-mono mb-1 mt-2 color-text-default"
170915
+ className: "luckysheet-arguments-paren font-family-mono mb-1 mt-2 color-text-default",
170916
+ style: {
170917
+ fontWeight: "bold"
170918
+ }
170689
170919
  }, "("), /* @__PURE__ */ Z.createElement("code", {
170690
- className: "luckysheet-arguments-parameter-holder font-family-mono mb-1 mt-2 color-text-default"
170920
+ className: "luckysheet-arguments-parameter-holder font-family-mono mb-1 mt-2 color-text-default",
170921
+ style: {
170922
+ fontWeight: "bold"
170923
+ }
170691
170924
  }, o.p.map(function(E, I) {
170692
170925
  var W = E.name;
170693
170926
  return E.repeat === "y" && (W += ", ..."), E.require === "o" && (W = "[".concat(W, "]")), /* @__PURE__ */ Z.createElement(Z.Fragment, null, /* @__PURE__ */ Z.createElement("code", {
@@ -170695,7 +170928,8 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
170695
170928
  dir: "auto",
170696
170929
  key: W,
170697
170930
  style: {
170698
- backgroundColor: a === I ? L(o.BRAND_SECONDARY_COLOR) : "transparent"
170931
+ backgroundColor: a === I ? L(o.BRAND_SECONDARY_COLOR) : "transparent",
170932
+ fontWeight: "bold"
170699
170933
  }
170700
170934
  }, W), I !== o.p.length - 1 && ", ");
170701
170935
  })), /* @__PURE__ */ Z.createElement("code", {
@@ -170823,12 +171057,13 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
170823
171057
  className: "font-family-mono mb-1 color-text-secondary"
170824
171058
  }, s.helpExample), /* @__PURE__ */ Z.createElement("div", null, /* @__PURE__ */ Z.createElement("code", {
170825
171059
  style: {
170826
- overflowWrap: "break-word"
171060
+ overflowWrap: "break-word",
171061
+ fontWeight: "bold"
170827
171062
  },
170828
171063
  className: "example-value-code"
170829
171064
  }, /* @__PURE__ */ Z.createElement("span", {
170830
171065
  className: "luckysheet-arguments-help-function-name"
170831
- }, o.n), /* @__PURE__ */ Z.createElement("span", {
171066
+ }, "=", o.n), /* @__PURE__ */ Z.createElement("span", {
170832
171067
  className: "luckysheet-arguments-paren"
170833
171068
  }, "("), /* @__PURE__ */ Z.createElement("span", {
170834
171069
  className: "luckysheet-arguments-parameter-holder"
@@ -170836,8 +171071,15 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
170836
171071
  return /* @__PURE__ */ Z.createElement("span", {
170837
171072
  key: E.name,
170838
171073
  className: "luckysheet-arguments-help-parameter",
170839
- dir: "auto"
170840
- }, E.example, I !== o.p.length - 1 && ", ");
171074
+ dir: "auto",
171075
+ style: {
171076
+ color: E.type === "string" ? "#177E23" : "black"
171077
+ }
171078
+ }, E.example, /* @__PURE__ */ Z.createElement("span", {
171079
+ style: {
171080
+ color: "black"
171081
+ }
171082
+ }, I !== o.p.length - 1 && ", "));
170841
171083
  })), /* @__PURE__ */ Z.createElement("span", {
170842
171084
  className: "luckysheet-arguments-paren"
170843
171085
  }, ")")))), /* @__PURE__ */ Z.createElement("div", {
@@ -170869,6 +171111,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
170869
171111
  }, /* @__PURE__ */ Z.createElement("div", null, /* @__PURE__ */ Z.createElement("code", {
170870
171112
  className: "font-family-mono mb-1 mt-2 color-text-default font-family-mono",
170871
171113
  style: {
171114
+ fontWeight: 600,
170872
171115
  backgroundColor: a === I ? L(o.BRAND_SECONDARY_COLOR) : "transparent"
170873
171116
  }
170874
171117
  }, E.name, E.repeat === "y" && /* @__PURE__ */ Z.createElement("span", {
@@ -170894,14 +171137,43 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
170894
171137
  borderBottomLeftRadius: "10px",
170895
171138
  borderBottomRightRadius: "10px"
170896
171139
  },
170897
- className: "w-full"
171140
+ className: "w-full flex items-center gap-4"
170898
171141
  }, /* @__PURE__ */ Z.createElement("div", {
170899
171142
  onClick: function() {
170900
171143
  var I;
170901
171144
  (I = document.getElementById("function-button")) === null || I === void 0 || I.click();
170902
171145
  },
170903
171146
  className: "color-text-link cursor-pointer text-helper-text-sm"
170904
- }, "Learn More"))))) : null;
171147
+ }, "Learn More"), (o.n.includes("SMARTCONTRACT") || o.n.includes("smartcontract")) && /* @__PURE__ */ Z.createElement("div", {
171148
+ className: "flex justify-center items-center gap-1 color-text-link cursor-pointer text-helper-text-sm ml-2",
171149
+ onClick: function() {
171150
+ var I;
171151
+ (I = document.getElementById("smartcontract-button")) === null || I === void 0 || I.click();
171152
+ }
171153
+ }, /* @__PURE__ */ Z.createElement("div", {
171154
+ className: ""
171155
+ }, /* @__PURE__ */ Z.createElement("svg", {
171156
+ xmlns: "http://www.w3.org/2000/svg",
171157
+ width: "17",
171158
+ height: "17",
171159
+ viewBox: "0 0 24 24",
171160
+ fill: "none",
171161
+ stroke: "currentColor",
171162
+ "stroke-width": "2",
171163
+ "stroke-linecap": "round",
171164
+ "stroke-linejoin": "round",
171165
+ className: "lucide lucide-circle-question-mark-icon lucide-circle-question-mark"
171166
+ }, /* @__PURE__ */ Z.createElement("circle", {
171167
+ cx: "12",
171168
+ cy: "12",
171169
+ r: "10"
171170
+ }), /* @__PURE__ */ Z.createElement("path", {
171171
+ d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"
171172
+ }), /* @__PURE__ */ Z.createElement("path", {
171173
+ d: "M12 17h.01"
171174
+ }))), /* @__PURE__ */ Z.createElement("span", {
171175
+ className: "font-normal text-xs text-[#5c0aff]"
171176
+ }, "How to use imported contract?")))))) : null;
170905
171177
  };
170906
171178
  function kx(e) {
170907
171179
  var t = mr(null);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "1.2.76-example-2",
5
+ "version": "1.2.76-example-4",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@fileverse-dev/dsheets-templates": "^0.0.29",
37
- "@fileverse-dev/formulajs": "^4.4.41--example-2",
38
- "@fileverse-dev/fortune-react": "1.2.78",
37
+ "@fileverse-dev/formulajs": "4.4.41-example-4",
38
+ "@fileverse-dev/fortune-react": "1.2.78-example-4",
39
39
  "@fileverse/ui": "^4.1.7-patch-40",
40
40
  "classnames": "^2.5.1",
41
41
  "exceljs": "^4.4.0",