widget-iccandle 0.0.2 → 0.0.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 (141) hide show
  1. package/README.md +54 -0
  2. package/dist/components/common/custom-tooltip.d.ts +6 -0
  3. package/dist/components/common/custom-tooltip.d.ts.map +1 -0
  4. package/dist/components/common/forex-icons.d.ts +5 -0
  5. package/dist/components/common/forex-icons.d.ts.map +1 -0
  6. package/dist/components/selector/end-chart-card.d.ts +6 -0
  7. package/dist/components/selector/end-chart-card.d.ts.map +1 -0
  8. package/dist/components/selector/scanner-advanced-options.d.ts +14 -0
  9. package/dist/components/selector/scanner-advanced-options.d.ts.map +1 -0
  10. package/dist/components/selector/scanner-option.d.ts +10 -0
  11. package/dist/components/selector/scanner-option.d.ts.map +1 -0
  12. package/dist/components/selector/scanner-symbol-search.d.ts +20 -0
  13. package/dist/components/selector/scanner-symbol-search.d.ts.map +1 -0
  14. package/dist/components/ui/badge.d.ts +10 -0
  15. package/dist/components/ui/badge.d.ts.map +1 -0
  16. package/dist/components/ui/button-variants.d.ts +7 -0
  17. package/dist/components/ui/button-variants.d.ts.map +1 -0
  18. package/dist/components/ui/button.d.ts +7 -0
  19. package/dist/components/ui/button.d.ts.map +1 -0
  20. package/dist/components/ui/checkbox.d.ts +5 -0
  21. package/dist/components/ui/checkbox.d.ts.map +1 -0
  22. package/dist/components/ui/custom-toast.d.ts +17 -0
  23. package/dist/components/ui/custom-toast.d.ts.map +1 -0
  24. package/dist/components/ui/form.d.ts +25 -0
  25. package/dist/components/ui/form.d.ts.map +1 -0
  26. package/dist/components/ui/index.d.ts +5 -0
  27. package/dist/components/ui/index.d.ts.map +1 -0
  28. package/dist/components/ui/input.d.ts +4 -0
  29. package/dist/components/ui/input.d.ts.map +1 -0
  30. package/dist/components/ui/label.d.ts +5 -0
  31. package/dist/components/ui/label.d.ts.map +1 -0
  32. package/dist/components/ui/popover.d.ts +7 -0
  33. package/dist/components/ui/popover.d.ts.map +1 -0
  34. package/dist/components/ui/select.d.ts +16 -0
  35. package/dist/components/ui/select.d.ts.map +1 -0
  36. package/dist/components/ui/tooltip.d.ts +8 -0
  37. package/dist/components/ui/tooltip.d.ts.map +1 -0
  38. package/dist/components/ui/typography.d.ts +10 -0
  39. package/dist/components/ui/typography.d.ts.map +1 -0
  40. package/dist/constants/app.constant.d.ts +4 -0
  41. package/dist/constants/app.constant.d.ts.map +1 -0
  42. package/dist/constants/selector.constant.d.ts +72 -0
  43. package/dist/constants/selector.constant.d.ts.map +1 -0
  44. package/dist/hooks/use-layout.d.ts +13 -0
  45. package/dist/hooks/use-layout.d.ts.map +1 -0
  46. package/dist/hooks/use-pattern-store.d.ts +18 -0
  47. package/dist/hooks/use-pattern-store.d.ts.map +1 -0
  48. package/dist/hooks/use-search-loading.d.ts +7 -0
  49. package/dist/hooks/use-search-loading.d.ts.map +1 -0
  50. package/dist/icons/scan-icon.d.ts +3 -0
  51. package/dist/icons/scan-icon.d.ts.map +1 -0
  52. package/dist/icons/type.d.ts +7 -0
  53. package/dist/icons/type.d.ts.map +1 -0
  54. package/dist/images/mini-logo.png +0 -0
  55. package/dist/images/symbols/AAPL.svg +13 -0
  56. package/dist/images/symbols/ADA.svg +6 -0
  57. package/dist/images/symbols/AMZN.svg +16 -0
  58. package/dist/images/symbols/AUD.svg +1 -0
  59. package/dist/images/symbols/AVA.svg +6 -0
  60. package/dist/images/symbols/AVAX.svg +6 -0
  61. package/dist/images/symbols/BCO.svg +1 -0
  62. package/dist/images/symbols/BNB.svg +13 -0
  63. package/dist/images/symbols/BRK.B.svg +6 -0
  64. package/dist/images/symbols/BTC.svg +1 -0
  65. package/dist/images/symbols/CAD.svg +1 -0
  66. package/dist/images/symbols/CHF.svg +1 -0
  67. package/dist/images/symbols/DOGE.svg +104 -0
  68. package/dist/images/symbols/DOT.svg +6 -0
  69. package/dist/images/symbols/ETH.svg +1 -0
  70. package/dist/images/symbols/EUR.svg +1 -0
  71. package/dist/images/symbols/GBP.svg +1 -0
  72. package/dist/images/symbols/GOOGL.svg +15 -0
  73. package/dist/images/symbols/JPY.svg +1 -0
  74. package/dist/images/symbols/KO.svg +6 -0
  75. package/dist/images/symbols/META.svg +6 -0
  76. package/dist/images/symbols/MSFT.svg +7 -0
  77. package/dist/images/symbols/NAS100.svg +1 -0
  78. package/dist/images/symbols/NFLX.svg +12 -0
  79. package/dist/images/symbols/NKE.svg +13 -0
  80. package/dist/images/symbols/NVDA.svg +13 -0
  81. package/dist/images/symbols/NZD.svg +1 -0
  82. package/dist/images/symbols/SOL.svg +1 -0
  83. package/dist/images/symbols/SPX500.svg +1 -0
  84. package/dist/images/symbols/TME.svg +6 -0
  85. package/dist/images/symbols/TRX.svg +9 -0
  86. package/dist/images/symbols/TSLA.svg +9 -0
  87. package/dist/images/symbols/US30.svg +6 -0
  88. package/dist/images/symbols/USD.svg +1 -0
  89. package/dist/images/symbols/XAG.svg +6 -0
  90. package/dist/images/symbols/XAU.svg +1 -0
  91. package/dist/images/symbols/XCU.svg +6 -0
  92. package/dist/images/symbols/XRP.svg +1 -0
  93. package/dist/index.cjs +254 -0
  94. package/dist/index.d.ts +3 -0
  95. package/dist/index.d.ts.map +1 -0
  96. package/dist/index.js +20852 -0
  97. package/dist/lib/data-feed.d.ts +13 -0
  98. package/dist/lib/data-feed.d.ts.map +1 -0
  99. package/dist/lib/find-error-message.d.ts +5 -0
  100. package/dist/lib/find-error-message.d.ts.map +1 -0
  101. package/dist/lib/utils.d.ts +10 -0
  102. package/dist/lib/utils.d.ts.map +1 -0
  103. package/dist/loader/Main_Load_Black.mov +0 -0
  104. package/dist/loader/Main_Load_Black.webm +0 -0
  105. package/dist/loader/Main_Load_white.mov +0 -0
  106. package/dist/loader/Main_Load_white.webm +0 -0
  107. package/dist/loader/ai-loader.mov +0 -0
  108. package/dist/loader/ai-loader.webm +0 -0
  109. package/dist/query/config.d.ts +8 -0
  110. package/dist/query/config.d.ts.map +1 -0
  111. package/dist/query/query-client.d.ts +3 -0
  112. package/dist/query/query-client.d.ts.map +1 -0
  113. package/dist/services/base-service.d.ts +3 -0
  114. package/dist/services/base-service.d.ts.map +1 -0
  115. package/dist/services/data-feed-services.d.ts +97 -0
  116. package/dist/services/data-feed-services.d.ts.map +1 -0
  117. package/dist/services/streaming.d.ts +6 -0
  118. package/dist/services/streaming.d.ts.map +1 -0
  119. package/dist/services/types.d.ts +66 -0
  120. package/dist/services/types.d.ts.map +1 -0
  121. package/dist/tradingview/TradingViewWidget.d.ts +5 -0
  122. package/dist/tradingview/TradingViewWidget.d.ts.map +1 -0
  123. package/dist/tradingview/key-level-dialog.d.ts +22 -0
  124. package/dist/tradingview/key-level-dialog.d.ts.map +1 -0
  125. package/dist/tradingview/key-level-option-item.d.ts +33 -0
  126. package/dist/tradingview/key-level-option-item.d.ts.map +1 -0
  127. package/dist/tradingview/key-level-options.d.ts +26 -0
  128. package/dist/tradingview/key-level-options.d.ts.map +1 -0
  129. package/dist/tradingview/ley-level-toggle-dialog.d.ts +11 -0
  130. package/dist/tradingview/ley-level-toggle-dialog.d.ts.map +1 -0
  131. package/dist/tradingview/loadScript.d.ts +6 -0
  132. package/dist/tradingview/loadScript.d.ts.map +1 -0
  133. package/dist/tradingview/scanner-popup.d.ts +34 -0
  134. package/dist/tradingview/scanner-popup.d.ts.map +1 -0
  135. package/dist/tradingview/types.d.ts +220 -0
  136. package/dist/tradingview/types.d.ts.map +1 -0
  137. package/package.json +46 -6
  138. package/dist/assets/index-Cx0xY2SL.js +0 -98
  139. package/dist/assets/index-DT9B-lrm.css +0 -1
  140. package/dist/index.html +0 -16
  141. package/dist/vite.svg +0 -1
package/README.md CHANGED
@@ -1,3 +1,57 @@
1
+ # widget-iccandle
2
+
3
+ React wrapper that mounts the TradingView Charting Library widget.
4
+
5
+ ## Partner usage (React)
6
+
7
+ 1) Install:
8
+
9
+ ```bash
10
+ npm i widget-iccandle
11
+ ```
12
+
13
+ 2) Host TradingView assets in your app (required):
14
+
15
+ - Put the TradingView **Charting Library** folder at: `public/charting_library/`
16
+ - Put the **UDF datafeed bundle** at: `public/datafeeds/udf/dist/bundle.js`
17
+
18
+ If you want to copy them from this npm package:
19
+
20
+ ```bash
21
+ mkdir -p public
22
+ cp -R node_modules/widget-iccandle/dist/charting_library public/charting_library
23
+ cp -R node_modules/widget-iccandle/dist/datafeeds public/datafeeds
24
+ ```
25
+
26
+ So these URLs work in the browser:
27
+
28
+ - `/charting_library/charting_library.js`
29
+ - `/datafeeds/udf/dist/bundle.js`
30
+
31
+ 3) Use the component:
32
+
33
+ ```tsx
34
+ import { TradingViewWidget } from "widget-iccandle";
35
+
36
+ export function Chart() {
37
+ return (
38
+ <div style={{ width: "100%", height: 600 }}>
39
+ <TradingViewWidget
40
+ libraryPath="/charting_library/"
41
+ udfBundleUrl="/datafeeds/udf/dist/bundle.js"
42
+ datafeedUrl="https://demo_feed.tradingview.com"
43
+ symbol="AAPL"
44
+ interval="D"
45
+ />
46
+ </div>
47
+ );
48
+ }
49
+ ```
50
+
51
+ ## Next.js note
52
+
53
+ This component uses `window` and must run on the client. Use it in a Client Component (`"use client"`) or via dynamic import with `ssr: false`.
54
+
1
55
  # React + TypeScript + Vite
2
56
 
3
57
  This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ export declare const CustomTooltip: ({ text, children }: {
3
+ text?: string;
4
+ children?: ReactNode;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=custom-tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/common/custom-tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,aAAa,GAAI,oBAAoB;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,4CAWxF,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const ForexIcons: ({ name, cdn, }: {
2
+ name: string;
3
+ cdn?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=forex-icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forex-icons.d.ts","sourceRoot":"","sources":["../../../src/components/common/forex-icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,GAAI,gBAGxB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,4CA2CA,CAAC"}
@@ -0,0 +1,6 @@
1
+ type EndChartCardProps = {
2
+ handleCloseDialog: () => void;
3
+ };
4
+ export declare const EndChartCard: ({ handleCloseDialog }: EndChartCardProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=end-chart-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"end-chart-card.d.ts","sourceRoot":"","sources":["../../../src/components/selector/end-chart-card.tsx"],"names":[],"mappings":"AAIA,KAAK,iBAAiB,GAAG;IACvB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,uBAAuB,iBAAiB,4CAuBpE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Control } from "react-hook-form";
2
+ import type { ResolutionString } from "../../../public/charting_library/charting_library";
3
+ type FormData = {
4
+ probability: number;
5
+ top_k: number;
6
+ timeframe: ResolutionString;
7
+ period: number;
8
+ };
9
+ type ScannerAdvancedOptionsProps = {
10
+ control: Control<FormData>;
11
+ };
12
+ export declare const ScannerAdvancedOptions: ({ control, }: ScannerAdvancedOptionsProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=scanner-advanced-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanner-advanced-options.d.ts","sourceRoot":"","sources":["../../../src/components/selector/scanner-advanced-options.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AAE1F,KAAK,QAAQ,GAAG;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,gBAAgB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC5B,CAAC;AA0BF,eAAO,MAAM,sBAAsB,GAAI,cAEpC,2BAA2B,4CAgJ7B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { Dispatch, SetStateAction } from "react";
2
+ import type { ResolutionString } from "../../../public/charting_library/charting_library";
3
+ export declare const ScannerOption: ({ handleCloseDialog, timeframe, setResolution, }: ScannerOptionProps) => import("react/jsx-runtime").JSX.Element;
4
+ type ScannerOptionProps = {
5
+ setResolution: Dispatch<SetStateAction<ResolutionString>>;
6
+ timeframe: ResolutionString;
7
+ handleCloseDialog: () => void;
8
+ };
9
+ export {};
10
+ //# sourceMappingURL=scanner-option.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanner-option.d.ts","sourceRoot":"","sources":["../../../src/components/selector/scanner-option.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AAmB1F,eAAO,MAAM,aAAa,GAAI,kDAI3B,kBAAkB,4CAmMpB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC1D,SAAS,EAAE,gBAAgB,CAAC;IAC5B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC"}
@@ -0,0 +1,20 @@
1
+ type Symbol = {
2
+ ticker: string;
3
+ display_name: string;
4
+ description: string;
5
+ type: string;
6
+ };
7
+ type ScannerSymbolSearchProps = {
8
+ searchTerm: string;
9
+ onSearchChange: (value: string) => void;
10
+ selectedType: string;
11
+ onTypeChange: (value: string) => void;
12
+ selectAll: boolean;
13
+ onSelectAll: (checked: boolean) => void;
14
+ selectedSymbols: Record<string, boolean>;
15
+ onSymbolChange: (ticker: string, checked: boolean) => void;
16
+ filteredSymbols?: Symbol[];
17
+ };
18
+ export declare const ScannerSymbolSearch: ({ searchTerm, onSearchChange, selectedType, onTypeChange, selectAll, onSelectAll, selectedSymbols, onSymbolChange, filteredSymbols }: ScannerSymbolSearchProps) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=scanner-symbol-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanner-symbol-search.d.ts","sourceRoot":"","sources":["../../../src/components/selector/scanner-symbol-search.tsx"],"names":[],"mappings":"AASA,KAAK,MAAM,GAAG;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,sIAUjC,wBAAwB,4CAyF1B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "custom" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
+ asChild?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
10
+ //# sourceMappingURL=badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,aAAa;;8EAsBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAmB,EACnB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CAW3D;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ export declare const buttonVariants: (props?: ({
3
+ variant?: "link" | "default" | "warning" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export type ButtonVariantProps = VariantProps<typeof buttonVariants>;
7
+ //# sourceMappingURL=button-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button-variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,cAAc;;;8EA6B1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { type ButtonVariantProps } from "./button-variants";
3
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & ButtonVariantProps & {
4
+ asChild?: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export { Button };
7
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE3E,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAmB,EACnB,IAAgB,EAChB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,kBAAkB,GAAG;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,2CAYF;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ import { Checkbox as CheckboxPrimitive } from "radix-ui";
3
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Checkbox };
5
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAIxD,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,2CAkBrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,17 @@
1
+ type ToastVariant = "info" | "warning" | "success" | "error";
2
+ interface CustomToastProps {
3
+ title: string;
4
+ description?: string;
5
+ action?: {
6
+ label: string;
7
+ onClick: () => void;
8
+ };
9
+ dismiss?: {
10
+ label?: string;
11
+ onClick?: () => void;
12
+ } | false;
13
+ variant?: ToastVariant;
14
+ }
15
+ export declare const showToast: ({ title, description, action, dismiss, variant }: CustomToastProps) => string | number;
16
+ export {};
17
+ //# sourceMappingURL=custom-toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/custom-toast.tsx"],"names":[],"mappings":"AAGA,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7D,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,OAAO,CAAC,EACJ;QACE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;KACtB,GACD,KAAK,CAAC;IACV,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAiBD,eAAO,MAAM,SAAS,GAAI,kDAMvB,gBAAgB,oBA8ClB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import type { Label as LabelPrimitive } from "radix-ui";
3
+ import { Slot } from "radix-ui";
4
+ import { type ControllerProps, type FieldPath, type FieldValues } from "react-hook-form";
5
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
6
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
7
+ declare const useFormField: () => {
8
+ invalid: boolean;
9
+ isDirty: boolean;
10
+ isTouched: boolean;
11
+ isValidating: boolean;
12
+ error?: import("react-hook-form").FieldError;
13
+ id: string;
14
+ name: string;
15
+ formItemId: string;
16
+ formDescriptionId: string;
17
+ formMessageId: string;
18
+ };
19
+ declare function FormItem({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
20
+ declare function FormLabel({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
21
+ declare function FormControl({ ...props }: React.ComponentProps<typeof Slot.Root>): import("react/jsx-runtime").JSX.Element;
22
+ declare function FormDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
23
+ declare function FormMessage({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element | null;
24
+ export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
25
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/components/ui/form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAC/B,OAAO,EAKL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAA;AAKxB,QAAA,MAAM,IAAI,4MAAe,CAAA;AAazB,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAA;AAUD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAYrE;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAYlD;AAED,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,2CAgBxE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAW1E;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,kDAkBtE;AAED,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,GACV,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from "./button";
2
+ export * from "./form";
3
+ export * from "./typography";
4
+ export * from "./input";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
3
+ export { Input };
4
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,KAAK,sHAgBT,CAAA;AAIF,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ import { Label as LabelPrimitive } from "radix-ui";
3
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Label };
5
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AAIlD,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAWlD;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export { Popover, PopoverTrigger, PopoverContent };
7
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD,QAAA,MAAM,cAAc,gKAoBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import * as React from "react";
2
+ import { Select as SelectPrimitive } from "radix-ui";
3
+ declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
5
+ declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
6
+ declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
7
+ size?: "sm" | "default";
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare function SelectContent({ className, children, position, align, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
10
+ declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
11
+ declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
12
+ declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
13
+ declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
14
+ declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
15
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
16
+ //# sourceMappingURL=select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAA;AAIpD,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnD;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,IAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;CACxB,2CAiBA;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,QAAyB,EACzB,KAAgB,EAChB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CA6BtD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQpD;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAqBnD;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,2CAQxD;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,cAAc,CAAC,2CAa7D;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,2CAa/D;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import { Tooltip as TooltipPrimitive } from "radix-ui";
3
+ declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
4
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
8
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAItD,QAAA,MAAM,eAAe,GAAI,6BAGtB,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,4CAExD,CAAC;AAEF,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD,QAAA,MAAM,cAAc,gKAelB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type ElementType, type ReactNode } from "react";
3
+ export declare const Typography: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
4
+ variant?: "title" | "desc" | "heading2" | "heading3" | "subHeading" | "subHeading2" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
6
+ children: ReactNode;
7
+ component?: ElementType;
8
+ className?: string;
9
+ } & import("react").RefAttributes<HTMLHeadingElement | HTMLParagraphElement>>;
10
+ //# sourceMappingURL=typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/ui/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,KAAK,WAAW,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA4BrE,eAAO,MAAM,UAAU;;;cALX,SAAS;gBACP,WAAW;gBACX,MAAM;6EA6BnB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const BASE_URL = "https://api.iccandle.ai";
2
+ export declare const REQUEST_HEADER_AUTH_KEY = "Authorization";
3
+ export declare const DEFAULT_ERROR_MESSAGE = "An unknown error occurred";
4
+ //# sourceMappingURL=app.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.constant.d.ts","sourceRoot":"","sources":["../../src/constants/app.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,4BAA4B,CAAC;AAClD,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD,eAAO,MAAM,qBAAqB,8BAA8B,CAAC"}
@@ -0,0 +1,72 @@
1
+ import type { ChartingLibraryWidgetOptions, CustomTimezones } from "../../public/charting_library/charting_library";
2
+ export declare const WINDOW_SIZE = 25;
3
+ export declare const DateRangeOptions: {
4
+ shape: "date_range";
5
+ overrides: {
6
+ extendTop: boolean;
7
+ extendBottom: boolean;
8
+ linecolor: string;
9
+ linewidth: number;
10
+ linestyle: number;
11
+ backgroundColor: string;
12
+ backgroundTransparency: number;
13
+ textcolor: string;
14
+ labelBackgroundColor: string;
15
+ title: string;
16
+ };
17
+ };
18
+ export declare const SearchComponentSpacing = "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n \n \n \n \n ";
19
+ export declare function getClosestCustomTimezone(): CustomTimezones | "Etc/UTC";
20
+ export declare enum DataStatus {
21
+ THRESHOLD_LIMITED = "threshold_limited",
22
+ END_OF_DATA = "end_of_data",
23
+ HAS_MORE = "has_more"
24
+ }
25
+ export declare const symbols_types: {
26
+ name: string;
27
+ value: string;
28
+ }[];
29
+ export declare const defaultWidgetProps: Partial<ChartingLibraryWidgetOptions>;
30
+ export declare const TIMEFRAME_MAP_TEXT: Record<string, string>;
31
+ export declare const searchPreviewChartOptions: {
32
+ width: number;
33
+ height: number;
34
+ timeScale: {
35
+ visible: boolean;
36
+ };
37
+ layout: {
38
+ background: {
39
+ color: string;
40
+ };
41
+ textColor: string;
42
+ };
43
+ rightPriceScale: {
44
+ visible: boolean;
45
+ };
46
+ crosshair: {
47
+ mode: number;
48
+ };
49
+ handleScale: {
50
+ axisPressedMouseMove: boolean;
51
+ mouseWheel: boolean;
52
+ pinch: boolean;
53
+ };
54
+ handleScroll: {
55
+ mouseWheel: boolean;
56
+ pressedMouseMove: boolean;
57
+ horzTouchDrag: boolean;
58
+ vertTouchDrag: boolean;
59
+ };
60
+ watermark: {
61
+ visible: boolean;
62
+ };
63
+ grid: {
64
+ vertLines: {
65
+ visible: boolean;
66
+ };
67
+ horzLines: {
68
+ visible: boolean;
69
+ };
70
+ };
71
+ };
72
+ //# sourceMappingURL=selector.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selector.constant.d.ts","sourceRoot":"","sources":["../../src/constants/selector.constant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,eAAe,EAAoB,MAAM,gDAAgD,CAAC;AAEtI,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAgB5B,CAAC;AACF,eAAO,MAAM,sBAAsB,2tDAyEV,CAAC;AAiC1B,wBAAgB,wBAAwB,IAAI,eAAe,GAAG,SAAS,CAStE;AAED,oBAAY,UAAU;IACpB,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,aAAa;;;GAyBzB,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,4BAA4B,CAUpE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CASrD,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BrC,CAAC"}
@@ -0,0 +1,13 @@
1
+ interface LayoutState {
2
+ isSplit: boolean;
3
+ splitLayout: () => void;
4
+ hideLayout: () => void;
5
+ }
6
+ interface SelectorSummaryTabStoreState {
7
+ isSelectorSummary: boolean;
8
+ setSelectorSummary: (isSelectorSummary: boolean) => void;
9
+ }
10
+ export declare const useLayout: import("zustand").UseBoundStore<import("zustand").StoreApi<LayoutState>>;
11
+ export declare const useSelectorSummaryTabStore: import("zustand").UseBoundStore<import("zustand").StoreApi<SelectorSummaryTabStoreState>>;
12
+ export {};
13
+ //# sourceMappingURL=use-layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-layout.d.ts","sourceRoot":"","sources":["../../src/hooks/use-layout.tsx"],"names":[],"mappings":"AAIA,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AACD,UAAU,4BAA4B;IACpC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1D;AACD,eAAO,MAAM,SAAS,0EAInB,CAAC;AAEJ,eAAO,MAAM,0BAA0B,2FAGpC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { Match } from "@/tradingview/types";
2
+ type PatternsStore = {
3
+ patterns: Match[];
4
+ setPatterns: (newPatterns: Match[]) => void;
5
+ addPattern: (pattern: Match) => void;
6
+ removePattern: (id: string) => void;
7
+ clearPatterns: () => void;
8
+ };
9
+ declare const usePatternsStore: import("zustand").UseBoundStore<import("zustand").StoreApi<PatternsStore>>;
10
+ export default usePatternsStore;
11
+ interface PatternStoreType {
12
+ activeTab: string;
13
+ setActiveTab: (tab: string) => void;
14
+ selectedPattern: Match | null;
15
+ setSelectedPattern: (pattern: Match | null) => void;
16
+ }
17
+ export declare const usePatternStore: import("zustand").UseBoundStore<import("zustand").StoreApi<PatternStoreType>>;
18
+ //# sourceMappingURL=use-pattern-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-pattern-store.d.ts","sourceRoot":"","sources":["../../src/hooks/use-pattern-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGjD,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClB,WAAW,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IAC5C,UAAU,EAAE,CAAC,OAAO,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,gBAAgB,4EAgBnB,CAAC;AAEJ,eAAe,gBAAgB,CAAC;AAEhC,UAAU,gBAAgB;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,eAAe,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,kBAAkB,EAAE,CAAC,OAAO,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAED,eAAO,MAAM,eAAe,+EAKzB,CAAC"}
@@ -0,0 +1,7 @@
1
+ interface SearchLoadingState {
2
+ isLoading: boolean;
3
+ toggleLoading: (value: boolean) => void;
4
+ }
5
+ export declare const useSearchLoading: import("zustand").UseBoundStore<import("zustand").StoreApi<SearchLoadingState>>;
6
+ export {};
7
+ //# sourceMappingURL=use-search-loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-search-loading.d.ts","sourceRoot":"","sources":["../../src/hooks/use-search-loading.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,gBAAgB,iFAG1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IconPropsType } from "./type";
2
+ export declare const ScanIcon: ({ size, color, className, }: IconPropsType) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=scan-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scan-icon.d.ts","sourceRoot":"","sources":["../../src/icons/scan-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,QAAQ,GAAI,6BAItB,aAAa,4CAoDf,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type IconPropsType = {
2
+ size?: number;
3
+ color?: string;
4
+ className?: string;
5
+ stroke?: string;
6
+ };
7
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/icons/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
Binary file
@@ -0,0 +1,13 @@
1
+ <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill="url(#paint0_linear)" d="M0 0h18v18H0z" />
3
+ <path
4
+ d="M13 10.597a4.83 4.83 0 01-.678 1.287c-.269.363-.489.614-.658.753-.262.23-.544.347-.845.353-.217 0-.478-.059-.782-.177a2.34 2.34 0 00-.84-.176c-.268 0-.556.058-.864.176-.309.118-.558.18-.748.186-.288.012-.577-.108-.864-.362-.184-.151-.413-.412-.688-.78a5.289 5.289 0 01-.728-1.37A4.777 4.777 0 015 8.857c0-.603.138-1.124.413-1.56a2.424 2.424 0 012.034-1.142c.23 0 .531.068.905.2.373.133.612.2.717.2.079 0 .345-.079.796-.236.426-.145.787-.205 1.082-.182.799.062 1.399.36 1.798.898-.714.41-1.068.985-1.061 1.722.007.574.226 1.053.658 1.432.196.176.415.312.658.409zM10.99 4c.006.06.01.12.01.18 0 .45-.174.87-.52 1.26-.417.462-.922.73-1.47.687a1.325 1.325 0 01-.01-.17c0-.433.198-.895.55-1.273.176-.192.4-.35.671-.478A2.09 2.09 0 0110.99 4z"
5
+ fill="#fff" />
6
+ <defs>
7
+ <linearGradient id="paint0_linear" x1="3.349" y1="3.122" x2="21.904" y2="24.434"
8
+ gradientUnits="userSpaceOnUse">
9
+ <stop stop-color="#1A1E21" />
10
+ <stop offset="1" stop-color="#06060A" />
11
+ </linearGradient>
12
+ </defs>
13
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18">
2
+ <path fill="#30C51C" d="M0 0h18v18H0z" />
3
+ <path
4
+ d="M10.78 4.12a8 8 0 01-.64.57h.22c.48 0 1.27 0 1.98.3.74.32 1.37.97 1.55 2.19v.02c.09.97-.14 1.6-.52 2.08a4.04 4.04 0 01-.74.7c-.15.12-.29.23-.42.36-.41.4-.61.9-.72 1.5a8.4 8.4 0 00-.1 1.13 1.5 1.5 0 01-.68-.16 10.77 10.77 0 01.11-1.08 3.23 3.23 0 011.39-2.28l.13-.11c.2-.16.36-.31.5-.48.26-.33.45-.78.38-1.6-.15-.97-.63-1.42-1.16-1.65a3.78 3.78 0 00-1.5-.25l-.37-.23c-.31-.2-.63-.4-.92-.61.32-.23.6-.47.87-.73.05-.04.02-.11-.04-.11h-.42V3h.62c.57 0 .92.68.48 1.12zM7.64 5.37h.33c-.36.23-.71.48-1.06.74a9.1 9.1 0 00-2.02 2.11A4.6 4.6 0 004 10.76c0 .9.36 1.79 1.19 2.6v.01c.47.44 1.15.7 1.87.57A3.1 3.1 0 009 12.58a3.1 3.1 0 001.94 1.36 2.2 2.2 0 001.87-.56v-.01A3.6 3.6 0 0014 10.76c0-.48-.1-.95-.28-1.4a2.45 2.45 0 01-.51.61 3 3 0 01.1.79 2.9 2.9 0 01-.97 2.13c-.33.3-.8.47-1.29.39-.46-.08-.99-.38-1.5-1.1a.15.15 0 01.04-.23c.12-.06.26-.12.4-.14.3-.06.55-.37.43-.71-.11-.32-.26-.9-.2-1.4.04-.24.13-.44.27-.6.15-.16.5-.32.9-.35l-.35-.68c-.4.08-.78.28-1.05.57-.26.29-.39.64-.44.97a3.7 3.7 0 00.16 1.5.07.07 0 01-.05.08c-.28.09-.5.22-.65.33H9c-.16-.1-.38-.24-.66-.33a.07.07 0 01-.05-.08c.11-.38.23-.95.16-1.5a1.77 1.77 0 00-1.5-1.54l-.33.68c.39.06.74.2.89.35.14.16.23.36.26.6.07.5-.08 1.08-.2 1.4-.1.34.14.65.44.7.14.03.28.09.4.15.08.04.1.15.05.23-.52.71-1.05 1.02-1.51 1.1a1.5 1.5 0 01-1.29-.4 2.94 2.94 0 01-.98-2.12c0-.71.29-1.45.77-2.16.5-.75 1.15-1.4 1.87-1.95.41-.32.84-.6 1.28-.88l.08-.05c-.4-.28-.78-.57-1.17-.87L7.3 4.7c-.47 0-1.08.06-1.64.3-.74.32-1.37.97-1.55 2.19v.02c-.05.57 0 1.03.14 1.4a6.29 6.29 0 01.52-.84c0-.15 0-.31.02-.5.14-.97.62-1.42 1.15-1.65.56-.24 1.2-.25 1.7-.24zM5.19 9.83l.04.03.14.12c.15.12.29.23.42.36.41.4.61.9.72 1.5a8.38 8.38 0 01.1 1.19 1.62 1.62 0 00.68-.23 10.34 10.34 0 00-.11-1.07 3.23 3.23 0 00-1.39-2.28l-.13-.11-.17-.15a4.6 4.6 0 00-.3.64zM7.86 3.8a.07.07 0 01.04-.11h.42V3H7.7c-.57 0-.92.68-.48 1.12.81.8 1.74 1.4 2.67 1.99a8.86 8.86 0 012.66 2.49l.03.04.04-.05c.13-.17.25-.36.32-.62a9.67 9.67 0 00-2.68-2.44 14.82 14.82 0 01-2.4-1.74zm-.7 10.46l.3.24c.39.28.91.51 1.54.51v-.68c-.43 0-.8-.14-1.08-.33-.24.13-.5.21-.74.26h-.01zm3.67 0A2.62 2.62 0 019 15v-.68c.43 0 .8-.14 1.08-.33.24.13.5.21.74.26h.01zM8.66 3h.68v1.12L9 4.35l-.34-.23V3zM5.88 4.07A.68.68 0 016.43 3h.7l-.44.68h-.11a.07.07 0 00-.05.1l.65.77h-.86l-.44-.48zm6.24 0A.68.68 0 0011.57 3h-.7l.44.68h.11c.06 0 .1.06.05.1l-.65.77h.86l.44-.48z"
5
+ fill="#fff" />
6
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill="url(#paint0_linear)" d="M0 0h18v18H0z" />
3
+ <path
4
+ d="M12.907 10.562c-.272-.344-.482-.59-.482-1.251V7.116c0-.926-.063-1.793-.745-2.428C11.134 4.185 10.235 4 9.525 4c-1.5 0-2.84.61-3.168 2.25-.028.186.109.265.218.292l1.422.13c.137 0 .219-.132.246-.264.11-.556.602-1.023 1.148-1.023.3 0 .892.302.892.937v.794c-.874 0-1.849.059-2.613.376C6.77 7.863 6 8.574 6 9.712c0 1.455 1.12 2.25 2.32 2.25 1.01 0 1.56-.262 2.35-1.03.247.37.399.634.863 1.03.11.054.246.054.327-.025.272-.24.748-.74 1.047-.978.137-.107.11-.265 0-.397zM10.283 8.5c0 .529-.103 1.849-1.44 1.849-.687 0-.701-.81-.701-.81 0-1.04 1.104-1.386 2.141-1.386v.347z"
5
+ fill="#fff" />
6
+ <path
7
+ d="M13.123 12.897C12.013 13.58 10.352 14 9.005 14a8.229 8.229 0 01-4.961-1.633c-.106-.088 0-.176.106-.132a11.035 11.035 0 004.828 1.08c1.215 0 2.746-.22 3.986-.661.184-.044.343.132.159.243zm.396-.464c-.132-.154-.924-.066-1.267-.044-.107 0-.132-.066-.027-.132.607-.376 1.636-.265 1.742-.133.105.133-.027.993-.607 1.39-.08.067-.185.022-.132-.043.132-.266.423-.883.29-1.038z"
8
+ fill="#FFB300" />
9
+ <defs>
10
+ <linearGradient id="paint0_linear" x1="3.349" y1="3.122" x2="21.904" y2="24.434"
11
+ gradientUnits="userSpaceOnUse">
12
+ <stop stop-color="#1A1E21" />
13
+ <stop offset="1" stop-color="#06060A" />
14
+ </linearGradient>
15
+ </defs>
16
+ </svg>
@@ -0,0 +1 @@
1
+ <!-- by TradingView --><svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h18v18H0V0z" fill="#0D47A1"/><path d="M9 4V0H0v9h4V6l3 3h2V7L6 4h3z" fill="#F8F9FD"/><path d="M3 1V0H1v1H0v2h1v6h2V3h6V1H3z" fill="#EF5350"/><path d="M9 8L5 4H4l5 5V8z" fill="#EF5350"/><path d="M7 13l-1 .5v.5h-.5L5 15l-.5-1H4v-.5L3 13l1-.5V12h.5l.5-1 .5 1H6v.5l1 .5z" fill="#F8F9FD"/><path d="M13.06 12.62l.25.52.56-.13-.25.51.45.36-.56.12v.58l-.45-.36-.44.36V14l-.56-.12.45-.36-.25-.51.56.13.24-.52zM10.77 7.14l.24.52.56-.13-.25.51.45.36-.56.13v.57l-.44-.36-.45.36v-.57l-.56-.13.45-.36-.25-.51.56.13.25-.52zM13.06 4.01l.25.52.56-.13-.25.51.45.36-.56.12v.58l-.45-.36-.44.36v-.58l-.56-.12.45-.36-.25-.51.56.13.24-.52zM15.07 6.36l.25.52.56-.13-.25.51.44.36-.55.12v.58l-.45-.36-.45.36v-.58l-.55-.12.45-.36-.25-.51.55.13.25-.52zM13.64 9.1l.2.6h.62l-.5.37.19.6-.51-.38-.51.37.2-.6-.52-.36h.63l.2-.6z" fill="#F8F9FD"/></svg>
@@ -0,0 +1,6 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill="#393969" d="M0 0h18v18H0z" />
3
+ <path
4
+ d="M12.23 5H5.26c-.22 0-.26.13-.26.2v1.57c0 .2.16.23.24.23H8v6.25c0 .46.47.74.74.74.46 0 .73.02.93 0 .21-.01.33-.18.33-.32V7h2.77c.17 0 .22-.22.23-.34v-.88c-.01-.6-.45-.78-.77-.78Z"
5
+ fill="#fff" />
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill="#E84142" d="M0 0h18v18H0z" />
3
+ <path
4
+ d="M6.51 12H4.83c-.36 0-.53 0-.64-.06a.38.38 0 0 1-.19-.3c0-.12.08-.25.26-.53l4.15-6.6c.17-.28.26-.42.38-.47a.47.47 0 0 1 .38 0c.12.05.2.2.38.47l.86 1.35c.2.3.29.46.33.62.05.17.05.36 0 .53-.04.16-.14.31-.33.62L8.23 11.1v.01c-.2.3-.3.46-.43.58a1.3 1.3 0 0 1-.52.27c-.18.04-.37.04-.77.04Zm4.25 0h2.4c.36 0 .54 0 .65-.06a.38.38 0 0 0 .19-.3c0-.12-.08-.25-.25-.5l-.01-.04-1.21-1.86-.01-.02c-.17-.26-.26-.39-.37-.44a.47.47 0 0 0-.39 0c-.1.05-.2.2-.37.47l-1.2 1.86c-.18.28-.27.41-.27.53.01.12.08.23.2.3.1.06.28.06.64.06Z"
5
+ fill="#fff" />
6
+ </svg>
@@ -0,0 +1 @@
1
+ <!-- by TradingView --><svg width="18" height="18" xmlns="http://www.w3.org/2000/svg"><path fill="url(#paint0_linear)" d="M0 0h18v18H0z"/><path d="M12.5 10c0 2.2-1.575 4-3.5 4s-3.5-1.8-3.5-4S9 3 9 3s3.5 4.8 3.5 7z" fill="#fff"/><defs><linearGradient id="paint0_linear" x1="3.349" y1="3.122" x2="21.904" y2="24.434" gradientUnits="userSpaceOnUse"><stop stop-color="#1A1E21"/><stop offset="1" stop-color="#06060A"/></linearGradient></defs></svg>