@parto-system-design/ui 1.1.5 → 1.1.7
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/AGENTS.md +233 -0
- package/LICENSE +21 -0
- package/README.md +96 -43
- package/dist/chunk-2UD3LGVX.cjs +316 -0
- package/dist/chunk-2UD3LGVX.cjs.map +1 -0
- package/dist/chunk-34JUCX2G.cjs +43 -0
- package/dist/chunk-34JUCX2G.cjs.map +1 -0
- package/dist/chunk-3AIJKXBV.cjs +242 -0
- package/dist/chunk-3AIJKXBV.cjs.map +1 -0
- package/dist/chunk-4SVQNEVH.js +173 -0
- package/dist/chunk-4SVQNEVH.js.map +1 -0
- package/dist/chunk-53QY4PD3.js +908 -0
- package/dist/chunk-53QY4PD3.js.map +1 -0
- package/dist/chunk-5JJSRGJD.js +31 -0
- package/dist/chunk-5JJSRGJD.js.map +1 -0
- package/dist/chunk-5K6E4ZSW.cjs +77 -0
- package/dist/chunk-5K6E4ZSW.cjs.map +1 -0
- package/dist/chunk-5NY26ULO.js +89 -0
- package/dist/chunk-5NY26ULO.js.map +1 -0
- package/dist/chunk-7RVPG3LE.cjs +231 -0
- package/dist/chunk-7RVPG3LE.cjs.map +1 -0
- package/dist/chunk-7Y4V3R3Y.cjs +120 -0
- package/dist/chunk-7Y4V3R3Y.cjs.map +1 -0
- package/dist/chunk-AXAY64KL.js +39 -0
- package/dist/chunk-AXAY64KL.js.map +1 -0
- package/dist/chunk-AYEK3WOM.js +207 -0
- package/dist/chunk-AYEK3WOM.js.map +1 -0
- package/dist/chunk-BRMBLIQG.js +53 -0
- package/dist/chunk-BRMBLIQG.js.map +1 -0
- package/dist/chunk-CAJKSTXX.cjs +54 -0
- package/dist/chunk-CAJKSTXX.cjs.map +1 -0
- package/dist/chunk-CKFWMHQU.js +401 -0
- package/dist/chunk-CKFWMHQU.js.map +1 -0
- package/dist/chunk-CV3N3HVK.js +672 -0
- package/dist/chunk-CV3N3HVK.js.map +1 -0
- package/dist/chunk-D2EBLE2B.cjs +220 -0
- package/dist/chunk-D2EBLE2B.cjs.map +1 -0
- package/dist/chunk-D5XCQDFS.js +92 -0
- package/dist/chunk-D5XCQDFS.js.map +1 -0
- package/dist/chunk-GDHRYKVM.js +45 -0
- package/dist/chunk-GDHRYKVM.js.map +1 -0
- package/dist/chunk-GKRAZGDI.cjs +84 -0
- package/dist/chunk-GKRAZGDI.cjs.map +1 -0
- package/dist/chunk-HEYMLQOV.cjs +94 -0
- package/dist/chunk-HEYMLQOV.cjs.map +1 -0
- package/dist/chunk-HF6XU5NI.js +84 -0
- package/dist/chunk-HF6XU5NI.js.map +1 -0
- package/dist/chunk-HJPDZOMJ.cjs +87 -0
- package/dist/chunk-HJPDZOMJ.cjs.map +1 -0
- package/dist/chunk-HUCC3QH5.cjs +53 -0
- package/dist/chunk-HUCC3QH5.cjs.map +1 -0
- package/dist/chunk-HYZ6BQPS.cjs +425 -0
- package/dist/chunk-HYZ6BQPS.cjs.map +1 -0
- package/dist/chunk-IQHKJ4SS.js +213 -0
- package/dist/chunk-IQHKJ4SS.js.map +1 -0
- package/dist/chunk-ISCSZMYW.cjs +106 -0
- package/dist/chunk-ISCSZMYW.cjs.map +1 -0
- package/dist/chunk-IXFEFIDO.js +82 -0
- package/dist/chunk-IXFEFIDO.js.map +1 -0
- package/dist/chunk-JUBHQAA2.js +53 -0
- package/dist/chunk-JUBHQAA2.js.map +1 -0
- package/dist/chunk-KCWRCSI7.js +62 -0
- package/dist/chunk-KCWRCSI7.js.map +1 -0
- package/dist/chunk-L2L5CKC2.js +291 -0
- package/dist/chunk-L2L5CKC2.js.map +1 -0
- package/dist/chunk-LLJR7FV3.js +135 -0
- package/dist/chunk-LLJR7FV3.js.map +1 -0
- package/dist/chunk-LZMCMZZF.js +118 -0
- package/dist/chunk-LZMCMZZF.js.map +1 -0
- package/dist/chunk-M5CHZ5BA.js +124 -0
- package/dist/chunk-M5CHZ5BA.js.map +1 -0
- package/dist/chunk-MBCTRNTG.js +89 -0
- package/dist/chunk-MBCTRNTG.js.map +1 -0
- package/dist/chunk-MEK4RSGC.js +65 -0
- package/dist/chunk-MEK4RSGC.js.map +1 -0
- package/dist/chunk-MFTX2DDQ.js +27 -0
- package/dist/chunk-MFTX2DDQ.js.map +1 -0
- package/dist/chunk-MKYVQQBV.cjs +114 -0
- package/dist/chunk-MKYVQQBV.cjs.map +1 -0
- package/dist/chunk-MQGQVI3W.cjs +950 -0
- package/dist/chunk-MQGQVI3W.cjs.map +1 -0
- package/dist/chunk-NEFZJHE4.cjs +157 -0
- package/dist/chunk-NEFZJHE4.cjs.map +1 -0
- package/dist/chunk-NEML6RCV.js +405 -0
- package/dist/chunk-NEML6RCV.js.map +1 -0
- package/dist/chunk-NV4JOKWL.cjs +197 -0
- package/dist/chunk-NV4JOKWL.cjs.map +1 -0
- package/dist/chunk-O2JG7WY5.cjs +121 -0
- package/dist/chunk-O2JG7WY5.cjs.map +1 -0
- package/dist/chunk-OEVMKFFL.cjs +140 -0
- package/dist/chunk-OEVMKFFL.cjs.map +1 -0
- package/dist/chunk-ONO2FTV4.cjs +68 -0
- package/dist/chunk-ONO2FTV4.cjs.map +1 -0
- package/dist/chunk-OS6CMYAS.cjs +79 -0
- package/dist/chunk-OS6CMYAS.cjs.map +1 -0
- package/dist/chunk-P5XHPNJG.cjs +430 -0
- package/dist/chunk-P5XHPNJG.cjs.map +1 -0
- package/dist/chunk-QJ7UB2ZQ.js +98 -0
- package/dist/chunk-QJ7UB2ZQ.js.map +1 -0
- package/dist/chunk-RA5KZNG5.js +269 -0
- package/dist/chunk-RA5KZNG5.js.map +1 -0
- package/dist/chunk-RJ3HYZ7S.js +44 -0
- package/dist/chunk-RJ3HYZ7S.js.map +1 -0
- package/dist/chunk-RZNRIOLT.js +128 -0
- package/dist/chunk-RZNRIOLT.js.map +1 -0
- package/dist/chunk-S5IPJQZ3.cjs +161 -0
- package/dist/chunk-S5IPJQZ3.cjs.map +1 -0
- package/dist/chunk-SB5DSYR5.js +211 -0
- package/dist/chunk-SB5DSYR5.js.map +1 -0
- package/dist/chunk-SCGW2BH4.cjs +69 -0
- package/dist/chunk-SCGW2BH4.cjs.map +1 -0
- package/dist/chunk-SCX6AR53.cjs +108 -0
- package/dist/chunk-SCX6AR53.cjs.map +1 -0
- package/dist/chunk-SFXV2DUH.js +106 -0
- package/dist/chunk-SFXV2DUH.js.map +1 -0
- package/dist/chunk-SXEPGD4Z.cjs +152 -0
- package/dist/chunk-SXEPGD4Z.cjs.map +1 -0
- package/dist/chunk-SZMVOHT7.cjs +107 -0
- package/dist/chunk-SZMVOHT7.cjs.map +1 -0
- package/dist/chunk-U5FLLCGC.cjs +151 -0
- package/dist/chunk-U5FLLCGC.cjs.map +1 -0
- package/dist/chunk-VO3B75F6.cjs +111 -0
- package/dist/chunk-VO3B75F6.cjs.map +1 -0
- package/dist/chunk-YAJWTNOX.js +106 -0
- package/dist/chunk-YAJWTNOX.js.map +1 -0
- package/dist/chunk-YC5KLN6I.js +139 -0
- package/dist/chunk-YC5KLN6I.js.map +1 -0
- package/dist/chunk-YE477L2H.cjs +272 -0
- package/dist/chunk-YE477L2H.cjs.map +1 -0
- package/dist/chunk-Z2TY4A75.cjs +700 -0
- package/dist/chunk-Z2TY4A75.cjs.map +1 -0
- package/dist/chunk-Z56O7UEU.cjs +136 -0
- package/dist/chunk-Z56O7UEU.cjs.map +1 -0
- package/dist/chunk-ZZFNJR2E.js +71 -0
- package/dist/chunk-ZZFNJR2E.js.map +1 -0
- package/dist/components/charts/PartoAreaChart.cjs +15 -0
- package/dist/components/charts/PartoAreaChart.cjs.map +1 -0
- package/dist/components/charts/PartoAreaChart.d.cts +51 -0
- package/dist/components/charts/PartoAreaChart.d.ts +51 -0
- package/dist/components/charts/PartoAreaChart.js +6 -0
- package/dist/components/charts/PartoAreaChart.js.map +1 -0
- package/dist/components/charts/PartoBarChart.cjs +15 -0
- package/dist/components/charts/PartoBarChart.cjs.map +1 -0
- package/dist/components/charts/PartoBarChart.d.cts +55 -0
- package/dist/components/charts/PartoBarChart.d.ts +55 -0
- package/dist/components/charts/PartoBarChart.js +6 -0
- package/dist/components/charts/PartoBarChart.js.map +1 -0
- package/dist/components/charts/PartoLineChart.cjs +15 -0
- package/dist/components/charts/PartoLineChart.cjs.map +1 -0
- package/dist/components/charts/PartoLineChart.d.cts +49 -0
- package/dist/components/charts/PartoLineChart.d.ts +49 -0
- package/dist/components/charts/PartoLineChart.js +6 -0
- package/dist/components/charts/PartoLineChart.js.map +1 -0
- package/dist/components/charts/PartoPieChart.cjs +15 -0
- package/dist/components/charts/PartoPieChart.cjs.map +1 -0
- package/dist/components/charts/PartoPieChart.d.cts +44 -0
- package/dist/components/charts/PartoPieChart.d.ts +44 -0
- package/dist/components/charts/PartoPieChart.js +6 -0
- package/dist/components/charts/PartoPieChart.js.map +1 -0
- package/dist/components/ui/alert-rule-card.cjs +15 -0
- package/dist/components/ui/alert-rule-card.cjs.map +1 -0
- package/dist/components/ui/alert-rule-card.d.cts +38 -0
- package/dist/components/ui/alert-rule-card.d.ts +38 -0
- package/dist/components/ui/alert-rule-card.js +6 -0
- package/dist/components/ui/alert-rule-card.js.map +1 -0
- package/dist/components/ui/avatar.cjs +21 -0
- package/dist/components/ui/avatar.cjs.map +1 -0
- package/dist/components/ui/avatar.d.cts +18 -0
- package/dist/components/ui/avatar.d.ts +18 -0
- package/dist/components/ui/avatar.js +4 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.cjs +17 -0
- package/dist/components/ui/badge.cjs.map +1 -0
- package/dist/components/ui/badge.d.cts +16 -0
- package/dist/components/ui/badge.d.ts +16 -0
- package/dist/components/ui/badge.js +4 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/button.cjs +18 -0
- package/dist/components/ui/button.cjs.map +1 -0
- package/dist/components/ui/button.d.cts +37 -0
- package/dist/components/ui/button.d.ts +37 -0
- package/dist/components/ui/button.js +5 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.cjs +15 -0
- package/dist/components/ui/calendar.cjs.map +1 -0
- package/dist/components/ui/calendar.d.cts +17 -0
- package/dist/components/ui/calendar.d.ts +17 -0
- package/dist/components/ui/calendar.js +6 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.cjs +37 -0
- package/dist/components/ui/card.cjs.map +1 -0
- package/dist/components/ui/card.d.cts +18 -0
- package/dist/components/ui/card.d.ts +18 -0
- package/dist/components/ui/card.js +4 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/concept-card.cjs +18 -0
- package/dist/components/ui/concept-card.cjs.map +1 -0
- package/dist/components/ui/concept-card.d.cts +5 -0
- package/dist/components/ui/concept-card.d.ts +5 -0
- package/dist/components/ui/concept-card.js +9 -0
- package/dist/components/ui/concept-card.js.map +1 -0
- package/dist/components/ui/data-table.cjs +18 -0
- package/dist/components/ui/data-table.cjs.map +1 -0
- package/dist/components/ui/data-table.d.cts +181 -0
- package/dist/components/ui/data-table.d.ts +181 -0
- package/dist/components/ui/data-table.js +9 -0
- package/dist/components/ui/data-table.js.map +1 -0
- package/dist/components/ui/dialog.cjs +49 -0
- package/dist/components/ui/dialog.cjs.map +1 -0
- package/dist/components/ui/dialog.d.cts +22 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dialog.js +4 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/filter-provider.cjs +20 -0
- package/dist/components/ui/filter-provider.cjs.map +1 -0
- package/dist/components/ui/filter-provider.d.cts +49 -0
- package/dist/components/ui/filter-provider.d.ts +49 -0
- package/dist/components/ui/filter-provider.js +3 -0
- package/dist/components/ui/filter-provider.js.map +1 -0
- package/dist/components/ui/input.cjs +22 -0
- package/dist/components/ui/input.cjs.map +1 -0
- package/dist/components/ui/input.d.cts +16 -0
- package/dist/components/ui/input.d.ts +16 -0
- package/dist/components/ui/input.js +5 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/iran-province-heat.cjs +13 -0
- package/dist/components/ui/iran-province-heat.cjs.map +1 -0
- package/dist/components/ui/iran-province-heat.d.cts +64 -0
- package/dist/components/ui/iran-province-heat.d.ts +64 -0
- package/dist/components/ui/iran-province-heat.js +4 -0
- package/dist/components/ui/iran-province-heat.js.map +1 -0
- package/dist/components/ui/page-card.cjs +16 -0
- package/dist/components/ui/page-card.cjs.map +1 -0
- package/dist/components/ui/page-card.d.cts +6 -0
- package/dist/components/ui/page-card.d.ts +6 -0
- package/dist/components/ui/page-card.js +7 -0
- package/dist/components/ui/page-card.js.map +1 -0
- package/dist/components/ui/popover.cjs +25 -0
- package/dist/components/ui/popover.cjs.map +1 -0
- package/dist/components/ui/popover.d.cts +9 -0
- package/dist/components/ui/popover.d.ts +9 -0
- package/dist/components/ui/popover.js +4 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/saved-query-card.cjs +15 -0
- package/dist/components/ui/saved-query-card.cjs.map +1 -0
- package/dist/components/ui/saved-query-card.d.cts +41 -0
- package/dist/components/ui/saved-query-card.d.ts +41 -0
- package/dist/components/ui/saved-query-card.js +6 -0
- package/dist/components/ui/saved-query-card.js.map +1 -0
- package/dist/components/ui/separator.cjs +13 -0
- package/dist/components/ui/separator.cjs.map +1 -0
- package/dist/components/ui/separator.d.cts +9 -0
- package/dist/components/ui/separator.d.ts +9 -0
- package/dist/components/ui/separator.js +4 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.cjs +45 -0
- package/dist/components/ui/sheet.cjs.map +1 -0
- package/dist/components/ui/sheet.d.cts +44 -0
- package/dist/components/ui/sheet.d.ts +44 -0
- package/dist/components/ui/sheet.js +4 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sparkline.cjs +13 -0
- package/dist/components/ui/sparkline.cjs.map +1 -0
- package/dist/components/ui/sparkline.d.cts +36 -0
- package/dist/components/ui/sparkline.d.ts +36 -0
- package/dist/components/ui/sparkline.js +4 -0
- package/dist/components/ui/sparkline.js.map +1 -0
- package/dist/components/ui/tooltip.cjs +25 -0
- package/dist/components/ui/tooltip.cjs.map +1 -0
- package/dist/components/ui/tooltip.d.cts +17 -0
- package/dist/components/ui/tooltip.d.ts +17 -0
- package/dist/components/ui/tooltip.js +4 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/concept-card-CcOBb2Nz.d.ts +83 -0
- package/dist/concept-card-RwPbqJ06.d.cts +83 -0
- package/dist/hooks/use-hotkey-registry.cjs +21 -0
- package/dist/hooks/use-hotkey-registry.cjs.map +1 -0
- package/dist/hooks/use-hotkey-registry.d.cts +65 -0
- package/dist/hooks/use-hotkey-registry.d.ts +65 -0
- package/dist/hooks/use-hotkey-registry.js +4 -0
- package/dist/hooks/use-hotkey-registry.js.map +1 -0
- package/dist/hooks/use-hotkeys.cjs +16 -0
- package/dist/hooks/use-hotkeys.cjs.map +1 -0
- package/dist/hooks/use-hotkeys.d.cts +66 -0
- package/dist/hooks/use-hotkeys.d.ts +66 -0
- package/dist/hooks/use-hotkeys.js +3 -0
- package/dist/hooks/use-hotkeys.js.map +1 -0
- package/dist/i18n-ArS3mqj0.d.ts +344 -0
- package/dist/i18n-CAd9wGOr.d.cts +344 -0
- package/dist/index.cjs +7383 -10955
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +157 -0
- package/dist/index.d.cts +726 -1144
- package/dist/index.d.ts +726 -1144
- package/dist/index.js +6735 -10912
- package/dist/index.js.map +1 -1
- package/dist/page-card-CO92oXkc.d.ts +100 -0
- package/dist/page-card-DOl50DqJ.d.cts +100 -0
- package/dist/utils-DlXWmDZ-.d.cts +35 -0
- package/dist/utils-DlXWmDZ-.d.ts +35 -0
- package/package.json +160 -4
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
|
|
5
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
6
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
8
|
+
declare const DialogClose: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const DialogHeader: {
|
|
12
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const DialogFooter: {
|
|
16
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
20
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
21
|
+
|
|
22
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
|
|
5
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
6
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
8
|
+
declare const DialogClose: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const DialogHeader: {
|
|
12
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const DialogFooter: {
|
|
16
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
20
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
21
|
+
|
|
22
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../../chunk-5NY26ULO.js';
|
|
2
|
+
import '../../chunk-4SVQNEVH.js';
|
|
3
|
+
//# sourceMappingURL=dialog.js.map
|
|
4
|
+
//# sourceMappingURL=dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"dialog.js"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5K6E4ZSW_cjs = require('../../chunk-5K6E4ZSW.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "FilterProvider", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk5K6E4ZSW_cjs.FilterProvider; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "useFilterState", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk5K6E4ZSW_cjs.useFilterState; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "useFilterStateOptional", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk5K6E4ZSW_cjs.useFilterStateOptional; }
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=filter-provider.cjs.map
|
|
20
|
+
//# sourceMappingURL=filter-provider.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"filter-provider.cjs"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Generic, type-erased filter state. Consumers cast at the `useFilterState`
|
|
6
|
+
* call-site for a typed view. We deliberately do not parameterize the
|
|
7
|
+
* Context itself — a single provider serves the whole tree, and the type
|
|
8
|
+
* lives at the read-site (call as `useFilterState<MyFilters>()`).
|
|
9
|
+
*/
|
|
10
|
+
type FilterStateShape = Record<string, unknown>;
|
|
11
|
+
interface FilterContextValue<T extends FilterStateShape = FilterStateShape> {
|
|
12
|
+
/** Current filter state. */
|
|
13
|
+
state: T;
|
|
14
|
+
/** Replace the entire filter state (full reset to a new shape). */
|
|
15
|
+
set: (next: T) => void;
|
|
16
|
+
/** Shallow-merge a partial update. Use this for most edits. */
|
|
17
|
+
patch: (partial: Partial<T>) => void;
|
|
18
|
+
/** Reset state to the initial value passed to the Provider. */
|
|
19
|
+
reset: () => void;
|
|
20
|
+
}
|
|
21
|
+
interface FilterProviderProps<T extends FilterStateShape> {
|
|
22
|
+
/** Initial filter state on first mount. */
|
|
23
|
+
initialState: T;
|
|
24
|
+
/**
|
|
25
|
+
* Controlled state. When supplied, `state` becomes a pure projection of
|
|
26
|
+
* this prop and updates flow back through `onStateChange`. Use this when
|
|
27
|
+
* the consumer manages state externally (e.g. via Redux / Zustand /
|
|
28
|
+
* useState in a parent).
|
|
29
|
+
*/
|
|
30
|
+
state?: T;
|
|
31
|
+
/** Called on every state change in both controlled and uncontrolled modes. */
|
|
32
|
+
onStateChange?: (next: T) => void;
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
declare function FilterProvider<T extends FilterStateShape>({ initialState, state: controlledState, onStateChange, children, }: FilterProviderProps<T>): react_jsx_runtime.JSX.Element;
|
|
36
|
+
/**
|
|
37
|
+
* Read + update the filter state from any descendant of `<FilterProvider>`.
|
|
38
|
+
* Cast `T` at the call site to get a typed view of the state shape.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* interface MyFilters { q: string; severity: 'low' | 'high' | null }
|
|
42
|
+
* const { state, patch } = useFilterState<MyFilters>()
|
|
43
|
+
* patch({ q: 'tehran' })
|
|
44
|
+
*/
|
|
45
|
+
declare function useFilterState<T extends FilterStateShape = FilterStateShape>(): FilterContextValue<T>;
|
|
46
|
+
/** Internal — used by `useFilterParams` / `useFilterPresets` to opt-in to the context, returning null when absent. */
|
|
47
|
+
declare function useFilterStateOptional<T extends FilterStateShape = FilterStateShape>(): FilterContextValue<T> | null;
|
|
48
|
+
|
|
49
|
+
export { type FilterContextValue, FilterProvider, type FilterProviderProps, type FilterStateShape, useFilterState, useFilterStateOptional };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Generic, type-erased filter state. Consumers cast at the `useFilterState`
|
|
6
|
+
* call-site for a typed view. We deliberately do not parameterize the
|
|
7
|
+
* Context itself — a single provider serves the whole tree, and the type
|
|
8
|
+
* lives at the read-site (call as `useFilterState<MyFilters>()`).
|
|
9
|
+
*/
|
|
10
|
+
type FilterStateShape = Record<string, unknown>;
|
|
11
|
+
interface FilterContextValue<T extends FilterStateShape = FilterStateShape> {
|
|
12
|
+
/** Current filter state. */
|
|
13
|
+
state: T;
|
|
14
|
+
/** Replace the entire filter state (full reset to a new shape). */
|
|
15
|
+
set: (next: T) => void;
|
|
16
|
+
/** Shallow-merge a partial update. Use this for most edits. */
|
|
17
|
+
patch: (partial: Partial<T>) => void;
|
|
18
|
+
/** Reset state to the initial value passed to the Provider. */
|
|
19
|
+
reset: () => void;
|
|
20
|
+
}
|
|
21
|
+
interface FilterProviderProps<T extends FilterStateShape> {
|
|
22
|
+
/** Initial filter state on first mount. */
|
|
23
|
+
initialState: T;
|
|
24
|
+
/**
|
|
25
|
+
* Controlled state. When supplied, `state` becomes a pure projection of
|
|
26
|
+
* this prop and updates flow back through `onStateChange`. Use this when
|
|
27
|
+
* the consumer manages state externally (e.g. via Redux / Zustand /
|
|
28
|
+
* useState in a parent).
|
|
29
|
+
*/
|
|
30
|
+
state?: T;
|
|
31
|
+
/** Called on every state change in both controlled and uncontrolled modes. */
|
|
32
|
+
onStateChange?: (next: T) => void;
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
declare function FilterProvider<T extends FilterStateShape>({ initialState, state: controlledState, onStateChange, children, }: FilterProviderProps<T>): react_jsx_runtime.JSX.Element;
|
|
36
|
+
/**
|
|
37
|
+
* Read + update the filter state from any descendant of `<FilterProvider>`.
|
|
38
|
+
* Cast `T` at the call site to get a typed view of the state shape.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* interface MyFilters { q: string; severity: 'low' | 'high' | null }
|
|
42
|
+
* const { state, patch } = useFilterState<MyFilters>()
|
|
43
|
+
* patch({ q: 'tehran' })
|
|
44
|
+
*/
|
|
45
|
+
declare function useFilterState<T extends FilterStateShape = FilterStateShape>(): FilterContextValue<T>;
|
|
46
|
+
/** Internal — used by `useFilterParams` / `useFilterPresets` to opt-in to the context, returning null when absent. */
|
|
47
|
+
declare function useFilterStateOptional<T extends FilterStateShape = FilterStateShape>(): FilterContextValue<T> | null;
|
|
48
|
+
|
|
49
|
+
export { type FilterContextValue, FilterProvider, type FilterProviderProps, type FilterStateShape, useFilterState, useFilterStateOptional };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"filter-provider.js"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkSCGW2BH4_cjs = require('../../chunk-SCGW2BH4.cjs');
|
|
4
|
+
require('../../chunk-34JUCX2G.cjs');
|
|
5
|
+
require('../../chunk-NV4JOKWL.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Input", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkSCGW2BH4_cjs.Input; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "InputVariants", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkSCGW2BH4_cjs.InputVariants; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "inputVariants", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkSCGW2BH4_cjs.inputVariants; }
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=input.cjs.map
|
|
22
|
+
//# sourceMappingURL=input.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"input.cjs"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
declare const inputVariants: (props?: ({
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
/** @deprecated Use inputVariants instead */
|
|
9
|
+
declare const InputVariants: (props?: ({
|
|
10
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
|
|
13
|
+
}
|
|
14
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
|
+
|
|
16
|
+
export { Input, type InputProps, InputVariants, inputVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
declare const inputVariants: (props?: ({
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
/** @deprecated Use inputVariants instead */
|
|
9
|
+
declare const InputVariants: (props?: ({
|
|
10
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
|
|
13
|
+
}
|
|
14
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
|
+
|
|
16
|
+
export { Input, type InputProps, InputVariants, inputVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"input.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk2UD3LGVX_cjs = require('../../chunk-2UD3LGVX.cjs');
|
|
4
|
+
require('../../chunk-NV4JOKWL.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "IranProvinceHeat", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk2UD3LGVX_cjs.IranProvinceHeat; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=iran-province-heat.cjs.map
|
|
13
|
+
//# sourceMappingURL=iran-province-heat.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"iran-province-heat.cjs"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { S as SupportedLocale } from '../../utils-DlXWmDZ-.cjs';
|
|
3
|
+
import 'clsx';
|
|
4
|
+
|
|
5
|
+
interface IranProvinceCell {
|
|
6
|
+
/** Province slug or ISO 3166-2:IR code (e.g. 'tehran' or 'IR-07'). */
|
|
7
|
+
code: string;
|
|
8
|
+
/** Numeric value to compare across provinces (count, score, percentage…). */
|
|
9
|
+
value: number;
|
|
10
|
+
}
|
|
11
|
+
type IranProvinceHeatScale = 'brand' | 'sentiment-positive' | 'sentiment-negative' | 'destructive' | 'warning' | 'severity-urgent' | 'severity-high' | 'flow-pro-gov' | 'flow-internal-critic';
|
|
12
|
+
interface IranProvinceHeatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
|
+
/**
|
|
14
|
+
* Either an array of `{code, value}` cells, or a record map. Provinces not
|
|
15
|
+
* in the dataset render with value 0 unless `hideMissing` is true. Cells
|
|
16
|
+
* with unknown codes are skipped (and warned via `onUnknownCode` if set).
|
|
17
|
+
*/
|
|
18
|
+
data: IranProvinceCell[] | Record<string, number>;
|
|
19
|
+
/**
|
|
20
|
+
* Color token to use for the heat bars. Bars within the dataset are tinted
|
|
21
|
+
* with progressively higher alpha based on `value / max`.
|
|
22
|
+
* @default 'brand'
|
|
23
|
+
*/
|
|
24
|
+
scale?: IranProvinceHeatScale;
|
|
25
|
+
/** Sort order for the rows. @default 'value-desc' */
|
|
26
|
+
sort?: 'value-desc' | 'value-asc' | 'name';
|
|
27
|
+
/**
|
|
28
|
+
* Show only top-N rows (after sorting). When set, a "+N more" row collapses
|
|
29
|
+
* the rest. Use 0 to show all 31 — that's the default.
|
|
30
|
+
*/
|
|
31
|
+
topN?: number;
|
|
32
|
+
/** Display rank (۱، ۲، ۳، …) at the start of each row. @default false */
|
|
33
|
+
showRank?: boolean;
|
|
34
|
+
/** Inline numeric value on each row. @default true */
|
|
35
|
+
showValue?: boolean;
|
|
36
|
+
/** Hide rows with value 0 (or missing from dataset). @default false */
|
|
37
|
+
hideMissing?: boolean;
|
|
38
|
+
/** Compact rows (28px) vs comfortable (36px). @default 'comfortable' */
|
|
39
|
+
density?: 'compact' | 'comfortable';
|
|
40
|
+
/**
|
|
41
|
+
* Suffix on the inline value (e.g. ' نظر', ' %').
|
|
42
|
+
* Useful when consumers don't want to write a custom valueFormatter.
|
|
43
|
+
*/
|
|
44
|
+
valueSuffix?: string;
|
|
45
|
+
/** Custom value formatter; overrides the locale-aware default. */
|
|
46
|
+
valueFormatter?: (value: number) => string;
|
|
47
|
+
/** Click handler — receives slug + ISO + value. Optional. */
|
|
48
|
+
onProvinceClick?: (province: {
|
|
49
|
+
slug: string;
|
|
50
|
+
iso: string;
|
|
51
|
+
value: number;
|
|
52
|
+
}) => void;
|
|
53
|
+
/** Called once per unknown code in `data`, useful for telemetry. */
|
|
54
|
+
onUnknownCode?: (code: string) => void;
|
|
55
|
+
/** Locale for labels + digit formatting. @default 'fa' */
|
|
56
|
+
locale?: SupportedLocale;
|
|
57
|
+
/** Loading skeleton while data fetches. */
|
|
58
|
+
isLoading?: boolean;
|
|
59
|
+
/** Empty-state node when `data` is empty (or all-zero with hideMissing). */
|
|
60
|
+
emptyState?: React.ReactNode;
|
|
61
|
+
}
|
|
62
|
+
declare const IranProvinceHeat: React.ForwardRefExoticComponent<IranProvinceHeatProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
+
|
|
64
|
+
export { type IranProvinceCell, IranProvinceHeat, type IranProvinceHeatProps, type IranProvinceHeatScale };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { S as SupportedLocale } from '../../utils-DlXWmDZ-.js';
|
|
3
|
+
import 'clsx';
|
|
4
|
+
|
|
5
|
+
interface IranProvinceCell {
|
|
6
|
+
/** Province slug or ISO 3166-2:IR code (e.g. 'tehran' or 'IR-07'). */
|
|
7
|
+
code: string;
|
|
8
|
+
/** Numeric value to compare across provinces (count, score, percentage…). */
|
|
9
|
+
value: number;
|
|
10
|
+
}
|
|
11
|
+
type IranProvinceHeatScale = 'brand' | 'sentiment-positive' | 'sentiment-negative' | 'destructive' | 'warning' | 'severity-urgent' | 'severity-high' | 'flow-pro-gov' | 'flow-internal-critic';
|
|
12
|
+
interface IranProvinceHeatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
|
+
/**
|
|
14
|
+
* Either an array of `{code, value}` cells, or a record map. Provinces not
|
|
15
|
+
* in the dataset render with value 0 unless `hideMissing` is true. Cells
|
|
16
|
+
* with unknown codes are skipped (and warned via `onUnknownCode` if set).
|
|
17
|
+
*/
|
|
18
|
+
data: IranProvinceCell[] | Record<string, number>;
|
|
19
|
+
/**
|
|
20
|
+
* Color token to use for the heat bars. Bars within the dataset are tinted
|
|
21
|
+
* with progressively higher alpha based on `value / max`.
|
|
22
|
+
* @default 'brand'
|
|
23
|
+
*/
|
|
24
|
+
scale?: IranProvinceHeatScale;
|
|
25
|
+
/** Sort order for the rows. @default 'value-desc' */
|
|
26
|
+
sort?: 'value-desc' | 'value-asc' | 'name';
|
|
27
|
+
/**
|
|
28
|
+
* Show only top-N rows (after sorting). When set, a "+N more" row collapses
|
|
29
|
+
* the rest. Use 0 to show all 31 — that's the default.
|
|
30
|
+
*/
|
|
31
|
+
topN?: number;
|
|
32
|
+
/** Display rank (۱، ۲، ۳، …) at the start of each row. @default false */
|
|
33
|
+
showRank?: boolean;
|
|
34
|
+
/** Inline numeric value on each row. @default true */
|
|
35
|
+
showValue?: boolean;
|
|
36
|
+
/** Hide rows with value 0 (or missing from dataset). @default false */
|
|
37
|
+
hideMissing?: boolean;
|
|
38
|
+
/** Compact rows (28px) vs comfortable (36px). @default 'comfortable' */
|
|
39
|
+
density?: 'compact' | 'comfortable';
|
|
40
|
+
/**
|
|
41
|
+
* Suffix on the inline value (e.g. ' نظر', ' %').
|
|
42
|
+
* Useful when consumers don't want to write a custom valueFormatter.
|
|
43
|
+
*/
|
|
44
|
+
valueSuffix?: string;
|
|
45
|
+
/** Custom value formatter; overrides the locale-aware default. */
|
|
46
|
+
valueFormatter?: (value: number) => string;
|
|
47
|
+
/** Click handler — receives slug + ISO + value. Optional. */
|
|
48
|
+
onProvinceClick?: (province: {
|
|
49
|
+
slug: string;
|
|
50
|
+
iso: string;
|
|
51
|
+
value: number;
|
|
52
|
+
}) => void;
|
|
53
|
+
/** Called once per unknown code in `data`, useful for telemetry. */
|
|
54
|
+
onUnknownCode?: (code: string) => void;
|
|
55
|
+
/** Locale for labels + digit formatting. @default 'fa' */
|
|
56
|
+
locale?: SupportedLocale;
|
|
57
|
+
/** Loading skeleton while data fetches. */
|
|
58
|
+
isLoading?: boolean;
|
|
59
|
+
/** Empty-state node when `data` is empty (or all-zero with hideMissing). */
|
|
60
|
+
emptyState?: React.ReactNode;
|
|
61
|
+
}
|
|
62
|
+
declare const IranProvinceHeat: React.ForwardRefExoticComponent<IranProvinceHeatProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
+
|
|
64
|
+
export { type IranProvinceCell, IranProvinceHeat, type IranProvinceHeatProps, type IranProvinceHeatScale };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"iran-province-heat.js"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkP5XHPNJG_cjs = require('../../chunk-P5XHPNJG.cjs');
|
|
4
|
+
require('../../chunk-HJPDZOMJ.cjs');
|
|
5
|
+
require('../../chunk-S5IPJQZ3.cjs');
|
|
6
|
+
require('../../chunk-Z2TY4A75.cjs');
|
|
7
|
+
require('../../chunk-NV4JOKWL.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "PageCard", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkP5XHPNJG_cjs.PageCard; }
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=page-card.cjs.map
|
|
16
|
+
//# sourceMappingURL=page-card.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"page-card.cjs"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { PageCard } from '../../chunk-NEML6RCV.js';
|
|
2
|
+
import '../../chunk-MEK4RSGC.js';
|
|
3
|
+
import '../../chunk-YC5KLN6I.js';
|
|
4
|
+
import '../../chunk-CV3N3HVK.js';
|
|
5
|
+
import '../../chunk-4SVQNEVH.js';
|
|
6
|
+
//# sourceMappingURL=page-card.js.map
|
|
7
|
+
//# sourceMappingURL=page-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"page-card.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkHUCC3QH5_cjs = require('../../chunk-HUCC3QH5.cjs');
|
|
4
|
+
require('../../chunk-NV4JOKWL.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Popover", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkHUCC3QH5_cjs.Popover; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "PopoverAnchor", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkHUCC3QH5_cjs.PopoverAnchor; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "PopoverContent", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkHUCC3QH5_cjs.PopoverContent; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "PopoverTrigger", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkHUCC3QH5_cjs.PopoverTrigger; }
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=popover.cjs.map
|
|
25
|
+
//# sourceMappingURL=popover.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"popover.cjs"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
+
|
|
4
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
5
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
+
|
|
4
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
5
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"popover.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVO3B75F6_cjs = require('../../chunk-VO3B75F6.cjs');
|
|
4
|
+
require('../../chunk-YE477L2H.cjs');
|
|
5
|
+
require('../../chunk-34JUCX2G.cjs');
|
|
6
|
+
require('../../chunk-NV4JOKWL.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "SavedQueryCard", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkVO3B75F6_cjs.SavedQueryCard; }
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=saved-query-card.cjs.map
|
|
15
|
+
//# sourceMappingURL=saved-query-card.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"saved-query-card.cjs"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { S as SupportedLocale } from '../../utils-DlXWmDZ-.cjs';
|
|
3
|
+
import 'clsx';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* SavedQueryCard — saved-search tile for analyst dashboards. Shows query
|
|
7
|
+
* description + filter summary chips, run count, last-run timestamp, and a
|
|
8
|
+
* one-click "run again" action button. Optional star/favorite toggle.
|
|
9
|
+
*/
|
|
10
|
+
interface SavedQueryFilter {
|
|
11
|
+
/** Filter label (e.g., "احساس") */
|
|
12
|
+
label: React.ReactNode;
|
|
13
|
+
/** Filter value (e.g., "منفی") */
|
|
14
|
+
value: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
interface SavedQueryCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
|
+
/** Saved query name */
|
|
18
|
+
name: React.ReactNode;
|
|
19
|
+
/** Optional 1-line description */
|
|
20
|
+
description?: React.ReactNode;
|
|
21
|
+
/** Filter chips (label + value pairs) */
|
|
22
|
+
filters?: SavedQueryFilter[];
|
|
23
|
+
/** Total run count */
|
|
24
|
+
runCount?: number;
|
|
25
|
+
/** Last-run display (e.g., "۲ روز پیش") */
|
|
26
|
+
lastRun?: React.ReactNode;
|
|
27
|
+
/** Run-now callback */
|
|
28
|
+
onRun?: () => void;
|
|
29
|
+
/** Run button label override */
|
|
30
|
+
runLabel?: React.ReactNode;
|
|
31
|
+
/** Favorite/star state. When set, renders the star toggle */
|
|
32
|
+
favorite?: {
|
|
33
|
+
starred: boolean;
|
|
34
|
+
onChange: (next: boolean) => void;
|
|
35
|
+
};
|
|
36
|
+
/** Locale @default 'fa' */
|
|
37
|
+
locale?: SupportedLocale;
|
|
38
|
+
}
|
|
39
|
+
declare const SavedQueryCard: React.ForwardRefExoticComponent<SavedQueryCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
|
|
41
|
+
export { SavedQueryCard, type SavedQueryCardProps, type SavedQueryFilter };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { S as SupportedLocale } from '../../utils-DlXWmDZ-.js';
|
|
3
|
+
import 'clsx';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* SavedQueryCard — saved-search tile for analyst dashboards. Shows query
|
|
7
|
+
* description + filter summary chips, run count, last-run timestamp, and a
|
|
8
|
+
* one-click "run again" action button. Optional star/favorite toggle.
|
|
9
|
+
*/
|
|
10
|
+
interface SavedQueryFilter {
|
|
11
|
+
/** Filter label (e.g., "احساس") */
|
|
12
|
+
label: React.ReactNode;
|
|
13
|
+
/** Filter value (e.g., "منفی") */
|
|
14
|
+
value: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
interface SavedQueryCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
|
+
/** Saved query name */
|
|
18
|
+
name: React.ReactNode;
|
|
19
|
+
/** Optional 1-line description */
|
|
20
|
+
description?: React.ReactNode;
|
|
21
|
+
/** Filter chips (label + value pairs) */
|
|
22
|
+
filters?: SavedQueryFilter[];
|
|
23
|
+
/** Total run count */
|
|
24
|
+
runCount?: number;
|
|
25
|
+
/** Last-run display (e.g., "۲ روز پیش") */
|
|
26
|
+
lastRun?: React.ReactNode;
|
|
27
|
+
/** Run-now callback */
|
|
28
|
+
onRun?: () => void;
|
|
29
|
+
/** Run button label override */
|
|
30
|
+
runLabel?: React.ReactNode;
|
|
31
|
+
/** Favorite/star state. When set, renders the star toggle */
|
|
32
|
+
favorite?: {
|
|
33
|
+
starred: boolean;
|
|
34
|
+
onChange: (next: boolean) => void;
|
|
35
|
+
};
|
|
36
|
+
/** Locale @default 'fa' */
|
|
37
|
+
locale?: SupportedLocale;
|
|
38
|
+
}
|
|
39
|
+
declare const SavedQueryCard: React.ForwardRefExoticComponent<SavedQueryCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
|
|
41
|
+
export { SavedQueryCard, type SavedQueryCardProps, type SavedQueryFilter };
|