@parto-system-design/ui 1.1.17 → 1.1.18
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 +2 -2
- package/README.md +1 -1
- package/dist/components/brand/parto-logo.cjs +0 -2
- package/dist/components/brand/parto-logo.js +0 -2
- package/dist/components/charts/PartoAreaChart.cjs +2 -4
- package/dist/components/charts/PartoAreaChart.d.cts +1 -1
- package/dist/components/charts/PartoAreaChart.d.ts +1 -1
- package/dist/components/charts/PartoAreaChart.js +2 -4
- package/dist/components/charts/PartoBarChart.cjs +2 -4
- package/dist/components/charts/PartoBarChart.d.cts +1 -1
- package/dist/components/charts/PartoBarChart.d.ts +1 -1
- package/dist/components/charts/PartoBarChart.js +2 -4
- package/dist/components/charts/PartoLineChart.cjs +2 -4
- package/dist/components/charts/PartoLineChart.d.cts +1 -1
- package/dist/components/charts/PartoLineChart.d.ts +1 -1
- package/dist/components/charts/PartoLineChart.js +2 -4
- package/dist/components/charts/PartoPieChart.cjs +2 -4
- package/dist/components/charts/PartoPieChart.d.cts +1 -1
- package/dist/components/charts/PartoPieChart.d.ts +1 -1
- package/dist/components/charts/PartoPieChart.js +2 -4
- package/dist/components/ui/accordion.cjs +0 -2
- package/dist/components/ui/accordion.d.cts +4 -5
- package/dist/components/ui/accordion.d.ts +4 -5
- package/dist/components/ui/accordion.js +0 -2
- package/dist/components/ui/alert-dialog.cjs +0 -2
- package/dist/components/ui/alert-dialog.d.cts +9 -10
- package/dist/components/ui/alert-dialog.d.ts +9 -10
- package/dist/components/ui/alert-dialog.js +1 -3
- package/dist/components/ui/alert-rule-card.cjs +149 -12
- package/dist/components/ui/alert-rule-card.d.cts +2 -2
- package/dist/components/ui/alert-rule-card.d.ts +2 -2
- package/dist/components/ui/alert-rule-card.js +149 -12
- package/dist/components/ui/alert.cjs +3 -5
- package/dist/components/ui/alert.js +3 -5
- package/dist/components/ui/app-bar.cjs +0 -2
- package/dist/components/ui/app-bar.js +0 -2
- package/dist/components/ui/avatar.cjs +0 -2
- package/dist/components/ui/avatar.d.cts +3 -4
- package/dist/components/ui/avatar.d.ts +3 -4
- package/dist/components/ui/avatar.js +0 -2
- package/dist/components/ui/badge.cjs +0 -2
- package/dist/components/ui/badge.d.cts +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.js +0 -2
- package/dist/components/ui/breadcrumb.cjs +0 -2
- package/dist/components/ui/breadcrumb.d.cts +7 -8
- package/dist/components/ui/breadcrumb.d.ts +7 -8
- package/dist/components/ui/breadcrumb.js +0 -2
- package/dist/components/ui/button.cjs +0 -2
- package/dist/components/ui/button.d.cts +2 -2
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.js +1 -3
- package/dist/components/ui/calendar.cjs +0 -2
- package/dist/components/ui/calendar.d.cts +1 -2
- package/dist/components/ui/calendar.d.ts +1 -2
- package/dist/components/ui/calendar.js +1 -3
- package/dist/components/ui/card.cjs +0 -2
- package/dist/components/ui/card.js +0 -2
- package/dist/components/ui/checkbox.cjs +0 -2
- package/dist/components/ui/checkbox.js +0 -2
- package/dist/components/ui/concept-card.cjs +179 -61
- package/dist/components/ui/concept-card.d.cts +3 -3
- package/dist/components/ui/concept-card.d.ts +3 -3
- package/dist/components/ui/concept-card.js +179 -61
- package/dist/components/ui/data-table.cjs +129 -3
- package/dist/components/ui/data-table.d.cts +1 -1
- package/dist/components/ui/data-table.d.ts +1 -1
- package/dist/components/ui/data-table.js +130 -4
- package/dist/components/ui/dialog.cjs +0 -2
- package/dist/components/ui/dialog.d.cts +2 -3
- package/dist/components/ui/dialog.d.ts +2 -3
- package/dist/components/ui/dialog.js +0 -2
- package/dist/components/ui/dropdown-menu.cjs +0 -2
- package/dist/components/ui/dropdown-menu.d.cts +15 -16
- package/dist/components/ui/dropdown-menu.d.ts +15 -16
- package/dist/components/ui/dropdown-menu.js +0 -2
- package/dist/components/ui/filter-provider.cjs +0 -2
- package/dist/components/ui/filter-provider.d.cts +1 -2
- package/dist/components/ui/filter-provider.d.ts +1 -2
- package/dist/components/ui/filter-provider.js +0 -2
- package/dist/components/ui/form.cjs +0 -2
- package/dist/components/ui/form.d.cts +7 -8
- package/dist/components/ui/form.d.ts +7 -8
- package/dist/components/ui/form.js +0 -2
- package/dist/components/ui/input.cjs +0 -2
- package/dist/components/ui/input.js +0 -2
- package/dist/components/ui/iran-province-heat.cjs +1 -3
- package/dist/components/ui/iran-province-heat.d.cts +1 -1
- package/dist/components/ui/iran-province-heat.d.ts +1 -1
- package/dist/components/ui/iran-province-heat.js +1 -3
- package/dist/components/ui/label.cjs +0 -2
- package/dist/components/ui/label.d.cts +1 -2
- package/dist/components/ui/label.d.ts +1 -2
- package/dist/components/ui/label.js +0 -2
- package/dist/components/ui/page-card.cjs +170 -33
- package/dist/components/ui/page-card.d.cts +3 -3
- package/dist/components/ui/page-card.d.ts +3 -3
- package/dist/components/ui/page-card.js +170 -33
- package/dist/components/ui/page-header.cjs +128 -2
- package/dist/components/ui/page-header.d.cts +1 -1
- package/dist/components/ui/page-header.d.ts +1 -1
- package/dist/components/ui/page-header.js +128 -2
- package/dist/components/ui/password-input.cjs +0 -2
- package/dist/components/ui/password-input.js +0 -2
- package/dist/components/ui/popover.cjs +0 -2
- package/dist/components/ui/popover.js +0 -2
- package/dist/components/ui/progress.cjs +1 -3
- package/dist/components/ui/progress.js +1 -3
- package/dist/components/ui/radio-card.cjs +0 -2
- package/dist/components/ui/radio-card.js +0 -2
- package/dist/components/ui/radio-group.cjs +0 -2
- package/dist/components/ui/radio-group.js +0 -2
- package/dist/components/ui/saved-query-card.cjs +0 -2
- package/dist/components/ui/saved-query-card.d.cts +1 -1
- package/dist/components/ui/saved-query-card.d.ts +1 -1
- package/dist/components/ui/saved-query-card.js +1 -3
- package/dist/components/ui/scroll-area.cjs +0 -2
- package/dist/components/ui/scroll-area.d.cts +2 -3
- package/dist/components/ui/scroll-area.d.ts +2 -3
- package/dist/components/ui/scroll-area.js +0 -2
- package/dist/components/ui/select.cjs +0 -2
- package/dist/components/ui/select.d.cts +1 -2
- package/dist/components/ui/select.d.ts +1 -2
- package/dist/components/ui/select.js +0 -2
- package/dist/components/ui/separator.cjs +0 -2
- package/dist/components/ui/separator.js +0 -2
- package/dist/components/ui/sheet.cjs +0 -2
- package/dist/components/ui/sheet.d.cts +9 -10
- package/dist/components/ui/sheet.d.ts +9 -10
- package/dist/components/ui/sheet.js +0 -2
- package/dist/components/ui/skeleton.cjs +0 -2
- package/dist/components/ui/skeleton.d.cts +8 -9
- package/dist/components/ui/skeleton.d.ts +8 -9
- package/dist/components/ui/skeleton.js +0 -2
- package/dist/components/ui/slider.cjs +0 -2
- package/dist/components/ui/slider.d.cts +1 -2
- package/dist/components/ui/slider.d.ts +1 -2
- package/dist/components/ui/slider.js +0 -2
- package/dist/components/ui/social-platform-badge.cjs +0 -2
- package/dist/components/ui/social-platform-badge.js +1 -3
- package/dist/components/ui/sonner.cjs +4 -6
- package/dist/components/ui/sonner.d.cts +2 -2
- package/dist/components/ui/sonner.d.ts +2 -2
- package/dist/components/ui/sonner.js +4 -6
- package/dist/components/ui/sparkline.cjs +3 -5
- package/dist/components/ui/sparkline.d.cts +1 -1
- package/dist/components/ui/sparkline.d.ts +1 -1
- package/dist/components/ui/sparkline.js +3 -5
- package/dist/components/ui/switch.cjs +0 -2
- package/dist/components/ui/switch.d.cts +1 -1
- package/dist/components/ui/switch.d.ts +1 -1
- package/dist/components/ui/switch.js +0 -2
- package/dist/components/ui/table.cjs +0 -2
- package/dist/components/ui/table.d.cts +9 -10
- package/dist/components/ui/table.d.ts +9 -10
- package/dist/components/ui/table.js +0 -2
- package/dist/components/ui/tabs.cjs +0 -2
- package/dist/components/ui/tabs.js +0 -2
- package/dist/components/ui/textarea.cjs +0 -2
- package/dist/components/ui/textarea.js +0 -2
- package/dist/components/ui/toggle-group.cjs +0 -2
- package/dist/components/ui/toggle-group.d.cts +1 -2
- package/dist/components/ui/toggle-group.d.ts +1 -2
- package/dist/components/ui/toggle-group.js +0 -2
- package/dist/components/ui/tooltip.cjs +0 -2
- package/dist/components/ui/tooltip.js +0 -2
- package/dist/{concept-card-BoJ5gIJD.d.ts → concept-card-BU8JL-gj.d.cts} +5 -5
- package/dist/{concept-card-BXra9mr0.d.cts → concept-card-D7PfDkNR.d.ts} +5 -5
- package/dist/hooks/use-hotkey-registry.cjs +0 -2
- package/dist/hooks/use-hotkey-registry.d.cts +1 -2
- package/dist/hooks/use-hotkey-registry.d.ts +1 -2
- package/dist/hooks/use-hotkey-registry.js +0 -2
- package/dist/hooks/use-hotkeys.cjs +0 -2
- package/dist/hooks/use-hotkeys.js +0 -2
- package/dist/{i18n-BfRhV5aw.d.cts → i18n-DD3DMY8O.d.cts} +94 -5
- package/dist/{i18n-ewyqbKM-.d.ts → i18n-UEClNsBy.d.ts} +94 -5
- package/dist/index.cjs +1242 -1173
- package/dist/index.css +8010 -5459
- package/dist/index.d.cts +212 -991
- package/dist/index.d.ts +212 -991
- package/dist/index.js +1208 -1153
- package/dist/{page-card-C9XXXOVr.d.cts → page-card-DjztZrFM.d.cts} +4 -4
- package/dist/{page-card-DAnbez_f.d.ts → page-card-sIE4lvnb.d.ts} +4 -4
- package/dist/server-FTUA8opZ.d.cts +829 -0
- package/dist/server-m6tiB6DB.d.ts +829 -0
- package/dist/server.cjs +1565 -0
- package/dist/server.d.cts +8 -0
- package/dist/server.d.ts +8 -0
- package/dist/server.js +1483 -0
- package/dist/theme.css +50 -0
- package/dist/{toggle-group-B8r4LOQw.d.cts → toggle-group-Bis6suuR.d.cts} +3 -4
- package/dist/{toggle-group-B8r4LOQw.d.ts → toggle-group-Bis6suuR.d.ts} +3 -4
- package/dist/{utils-DlXWmDZ-.d.cts → utils-Czyp5Ned.d.cts} +1 -1
- package/dist/{utils-DlXWmDZ-.d.ts → utils-Czyp5Ned.d.ts} +1 -1
- package/package.json +455 -187
- package/tailwind.config.ts +184 -183
- package/dist/components/brand/parto-logo.cjs.map +0 -1
- package/dist/components/brand/parto-logo.js.map +0 -1
- package/dist/components/charts/PartoAreaChart.cjs.map +0 -1
- package/dist/components/charts/PartoAreaChart.js.map +0 -1
- package/dist/components/charts/PartoBarChart.cjs.map +0 -1
- package/dist/components/charts/PartoBarChart.js.map +0 -1
- package/dist/components/charts/PartoLineChart.cjs.map +0 -1
- package/dist/components/charts/PartoLineChart.js.map +0 -1
- package/dist/components/charts/PartoPieChart.cjs.map +0 -1
- package/dist/components/charts/PartoPieChart.js.map +0 -1
- package/dist/components/ui/accordion.cjs.map +0 -1
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert-dialog.cjs.map +0 -1
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert-rule-card.cjs.map +0 -1
- package/dist/components/ui/alert-rule-card.js.map +0 -1
- package/dist/components/ui/alert.cjs.map +0 -1
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/app-bar.cjs.map +0 -1
- package/dist/components/ui/app-bar.js.map +0 -1
- package/dist/components/ui/avatar.cjs.map +0 -1
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.cjs.map +0 -1
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/breadcrumb.cjs.map +0 -1
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button.cjs.map +0 -1
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.cjs.map +0 -1
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.cjs.map +0 -1
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/checkbox.cjs.map +0 -1
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/concept-card.cjs.map +0 -1
- package/dist/components/ui/concept-card.js.map +0 -1
- package/dist/components/ui/data-table.cjs.map +0 -1
- package/dist/components/ui/data-table.js.map +0 -1
- package/dist/components/ui/dialog.cjs.map +0 -1
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/dropdown-menu.cjs.map +0 -1
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/filter-provider.cjs.map +0 -1
- package/dist/components/ui/filter-provider.js.map +0 -1
- package/dist/components/ui/form.cjs.map +0 -1
- package/dist/components/ui/form.js.map +0 -1
- package/dist/components/ui/input.cjs.map +0 -1
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/iran-province-heat.cjs.map +0 -1
- package/dist/components/ui/iran-province-heat.js.map +0 -1
- package/dist/components/ui/label.cjs.map +0 -1
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/page-card.cjs.map +0 -1
- package/dist/components/ui/page-card.js.map +0 -1
- package/dist/components/ui/page-header.cjs.map +0 -1
- package/dist/components/ui/page-header.js.map +0 -1
- package/dist/components/ui/password-input.cjs.map +0 -1
- package/dist/components/ui/password-input.js.map +0 -1
- package/dist/components/ui/popover.cjs.map +0 -1
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.cjs.map +0 -1
- package/dist/components/ui/progress.js.map +0 -1
- package/dist/components/ui/radio-card.cjs.map +0 -1
- package/dist/components/ui/radio-card.js.map +0 -1
- package/dist/components/ui/radio-group.cjs.map +0 -1
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/saved-query-card.cjs.map +0 -1
- package/dist/components/ui/saved-query-card.js.map +0 -1
- package/dist/components/ui/scroll-area.cjs.map +0 -1
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.cjs.map +0 -1
- package/dist/components/ui/select.js.map +0 -1
- package/dist/components/ui/separator.cjs.map +0 -1
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.cjs.map +0 -1
- package/dist/components/ui/sheet.js.map +0 -1
- package/dist/components/ui/skeleton.cjs.map +0 -1
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.cjs.map +0 -1
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/social-platform-badge.cjs.map +0 -1
- package/dist/components/ui/social-platform-badge.js.map +0 -1
- package/dist/components/ui/sonner.cjs.map +0 -1
- package/dist/components/ui/sonner.js.map +0 -1
- package/dist/components/ui/sparkline.cjs.map +0 -1
- package/dist/components/ui/sparkline.js.map +0 -1
- package/dist/components/ui/switch.cjs.map +0 -1
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/table.cjs.map +0 -1
- package/dist/components/ui/table.js.map +0 -1
- package/dist/components/ui/tabs.cjs.map +0 -1
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.cjs.map +0 -1
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/toggle-group.cjs.map +0 -1
- package/dist/components/ui/toggle-group.js.map +0 -1
- package/dist/components/ui/tooltip.cjs.map +0 -1
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/hooks/use-hotkey-registry.cjs.map +0 -1
- package/dist/hooks/use-hotkey-registry.js.map +0 -1
- package/dist/hooks/use-hotkeys.cjs.map +0 -1
- package/dist/hooks/use-hotkeys.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -32,6 +32,134 @@ function cn(...inputs) {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// src/lib/i18n.ts
|
|
35
|
+
var EMOTION_KEYS = [
|
|
36
|
+
"anger",
|
|
37
|
+
"anticipation",
|
|
38
|
+
"joy",
|
|
39
|
+
"trust",
|
|
40
|
+
"fear",
|
|
41
|
+
"surprise",
|
|
42
|
+
"sadness",
|
|
43
|
+
"disgust",
|
|
44
|
+
"neutral"
|
|
45
|
+
];
|
|
46
|
+
var emotionLabels = {
|
|
47
|
+
fa: {
|
|
48
|
+
anger: "\u062E\u0634\u0645",
|
|
49
|
+
anticipation: "\u0627\u0646\u062A\u0638\u0627\u0631",
|
|
50
|
+
joy: "\u0634\u0627\u062F\u06CC",
|
|
51
|
+
trust: "\u0627\u0639\u062A\u0645\u0627\u062F",
|
|
52
|
+
fear: "\u062A\u0631\u0633",
|
|
53
|
+
surprise: "\u0634\u06AF\u0641\u062A\u06CC",
|
|
54
|
+
sadness: "\u063A\u0645",
|
|
55
|
+
disgust: "\u0627\u0646\u0632\u062C\u0627\u0631",
|
|
56
|
+
neutral: "\u062E\u0646\u062B\u06CC"
|
|
57
|
+
},
|
|
58
|
+
ar: {
|
|
59
|
+
anger: "\u063A\u0636\u0628",
|
|
60
|
+
anticipation: "\u062A\u0631\u0642\u0651\u0628",
|
|
61
|
+
joy: "\u0641\u0631\u062D",
|
|
62
|
+
trust: "\u062B\u0642\u0629",
|
|
63
|
+
fear: "\u062E\u0648\u0641",
|
|
64
|
+
surprise: "\u062F\u0647\u0634\u0629",
|
|
65
|
+
sadness: "\u062D\u0632\u0646",
|
|
66
|
+
disgust: "\u0627\u0634\u0645\u0626\u0632\u0627\u0632",
|
|
67
|
+
neutral: "\u0645\u062D\u0627\u064A\u062F"
|
|
68
|
+
},
|
|
69
|
+
en: {
|
|
70
|
+
anger: "Anger",
|
|
71
|
+
anticipation: "Anticipation",
|
|
72
|
+
joy: "Joy",
|
|
73
|
+
trust: "Trust",
|
|
74
|
+
fear: "Fear",
|
|
75
|
+
surprise: "Surprise",
|
|
76
|
+
sadness: "Sadness",
|
|
77
|
+
disgust: "Disgust",
|
|
78
|
+
neutral: "Neutral"
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
(() => {
|
|
82
|
+
const map = {};
|
|
83
|
+
for (const key of EMOTION_KEYS) map[key] = key;
|
|
84
|
+
for (const locale of Object.keys(emotionLabels)) {
|
|
85
|
+
for (const key of EMOTION_KEYS) {
|
|
86
|
+
map[emotionLabels[locale][key].toLowerCase()] = key;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return map;
|
|
90
|
+
})();
|
|
91
|
+
var FLOW_KEYS = [
|
|
92
|
+
"pro-gov",
|
|
93
|
+
"internal-critic",
|
|
94
|
+
"internal-opponent",
|
|
95
|
+
"external-opponent",
|
|
96
|
+
"grey"
|
|
97
|
+
];
|
|
98
|
+
var flowLabels = {
|
|
99
|
+
fa: {
|
|
100
|
+
"pro-gov": "\u062D\u0627\u0645\u06CC\u0627\u0646 \u062D\u06A9\u0648\u0645\u062A",
|
|
101
|
+
"internal-critic": "\u0645\u0646\u062A\u0642\u062F\u0627\u0646 \u062F\u0627\u062E\u0644\u06CC",
|
|
102
|
+
"internal-opponent": "\u0645\u062E\u0627\u0644\u0641\u0627\u0646 \u062F\u0627\u062E\u0644\u06CC",
|
|
103
|
+
"external-opponent": "\u0645\u062E\u0627\u0644\u0641\u0627\u0646 \u062E\u0627\u0631\u062C\u06CC",
|
|
104
|
+
grey: "\u0642\u0634\u0631 \u062E\u0627\u06A9\u0633\u062A\u0631\u06CC"
|
|
105
|
+
},
|
|
106
|
+
ar: {
|
|
107
|
+
"pro-gov": "\u0645\u0624\u064A\u062F\u0648 \u0627\u0644\u062D\u0643\u0648\u0645\u0629",
|
|
108
|
+
"internal-critic": "\u0645\u0646\u062A\u0642\u062F\u0648\u0646 \u062F\u0627\u062E\u0644\u064A\u0648\u0646",
|
|
109
|
+
"internal-opponent": "\u0645\u0639\u0627\u0631\u0636\u0648\u0646 \u062F\u0627\u062E\u0644\u064A\u0648\u0646",
|
|
110
|
+
"external-opponent": "\u0645\u0639\u0627\u0631\u0636\u0648\u0646 \u062E\u0627\u0631\u062C\u064A\u0648\u0646",
|
|
111
|
+
grey: "\u0627\u0644\u0641\u0626\u0629 \u0627\u0644\u0631\u0645\u0627\u062F\u064A\u0629"
|
|
112
|
+
},
|
|
113
|
+
en: {
|
|
114
|
+
"pro-gov": "Pro-Government",
|
|
115
|
+
"internal-critic": "Internal Critic",
|
|
116
|
+
"internal-opponent": "Internal Opponent",
|
|
117
|
+
"external-opponent": "External Opponent",
|
|
118
|
+
grey: "Grey"
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
(() => {
|
|
122
|
+
const map = {};
|
|
123
|
+
for (const key of FLOW_KEYS) map[key] = key;
|
|
124
|
+
for (const locale of Object.keys(flowLabels)) {
|
|
125
|
+
for (const key of FLOW_KEYS) {
|
|
126
|
+
map[flowLabels[locale][key].toLowerCase()] = key;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return map;
|
|
130
|
+
})();
|
|
131
|
+
var STATUS_KEYS = ["critical", "warning", "middle", "low"];
|
|
132
|
+
var statusLabels = {
|
|
133
|
+
fa: { critical: "\u0628\u062D\u0631\u0627\u0646\u06CC", warning: "\u0647\u0634\u062F\u0627\u0631", middle: "\u0645\u062A\u0648\u0633\u0637", low: "\u067E\u0627\u06CC\u06CC\u0646" },
|
|
134
|
+
ar: { critical: "\u062D\u0631\u062C", warning: "\u062A\u062D\u0630\u064A\u0631", middle: "\u0645\u062A\u0648\u0633\u0637", low: "\u0645\u0646\u062E\u0641\u0636" },
|
|
135
|
+
en: { critical: "Critical", warning: "Warning", middle: "Middle", low: "Low" }
|
|
136
|
+
};
|
|
137
|
+
(() => {
|
|
138
|
+
const map = { normal: "low" };
|
|
139
|
+
for (const key of STATUS_KEYS) map[key] = key;
|
|
140
|
+
for (const locale of Object.keys(statusLabels)) {
|
|
141
|
+
for (const key of STATUS_KEYS) {
|
|
142
|
+
map[statusLabels[locale][key].toLowerCase()] = key;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
return map;
|
|
146
|
+
})();
|
|
147
|
+
var SEVERITY_KEYS = ["urgent", "high", "medium", "low"];
|
|
148
|
+
var severityLabels = {
|
|
149
|
+
fa: { urgent: "\u0641\u0648\u0631\u06CC", high: "\u0628\u0627\u0644\u0627", medium: "\u0645\u062A\u0648\u0633\u0637", low: "\u067E\u0627\u06CC\u06CC\u0646" },
|
|
150
|
+
ar: { urgent: "\u0639\u0627\u062C\u0644", high: "\u0645\u0631\u062A\u0641\u0639", medium: "\u0645\u062A\u0648\u0633\u0637", low: "\u0645\u0646\u062E\u0641\u0636" },
|
|
151
|
+
en: { urgent: "Urgent", high: "High", medium: "Medium", low: "Low" }
|
|
152
|
+
};
|
|
153
|
+
(() => {
|
|
154
|
+
const map = {};
|
|
155
|
+
for (const key of SEVERITY_KEYS) map[key] = key;
|
|
156
|
+
for (const locale of Object.keys(severityLabels)) {
|
|
157
|
+
for (const key of SEVERITY_KEYS) {
|
|
158
|
+
map[severityLabels[locale][key].toLowerCase()] = key;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return map;
|
|
162
|
+
})();
|
|
35
163
|
var UI_STRINGS = {
|
|
36
164
|
fa: {
|
|
37
165
|
// Autocomplete
|
|
@@ -295,5 +423,3 @@ var PageHeader = React__namespace.forwardRef(
|
|
|
295
423
|
PageHeader.displayName = "PageHeader";
|
|
296
424
|
|
|
297
425
|
exports.PageHeader = PageHeader;
|
|
298
|
-
//# sourceMappingURL=page-header.cjs.map
|
|
299
|
-
//# sourceMappingURL=page-header.cjs.map
|
|
@@ -10,6 +10,134 @@ function cn(...inputs) {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// src/lib/i18n.ts
|
|
13
|
+
var EMOTION_KEYS = [
|
|
14
|
+
"anger",
|
|
15
|
+
"anticipation",
|
|
16
|
+
"joy",
|
|
17
|
+
"trust",
|
|
18
|
+
"fear",
|
|
19
|
+
"surprise",
|
|
20
|
+
"sadness",
|
|
21
|
+
"disgust",
|
|
22
|
+
"neutral"
|
|
23
|
+
];
|
|
24
|
+
var emotionLabels = {
|
|
25
|
+
fa: {
|
|
26
|
+
anger: "\u062E\u0634\u0645",
|
|
27
|
+
anticipation: "\u0627\u0646\u062A\u0638\u0627\u0631",
|
|
28
|
+
joy: "\u0634\u0627\u062F\u06CC",
|
|
29
|
+
trust: "\u0627\u0639\u062A\u0645\u0627\u062F",
|
|
30
|
+
fear: "\u062A\u0631\u0633",
|
|
31
|
+
surprise: "\u0634\u06AF\u0641\u062A\u06CC",
|
|
32
|
+
sadness: "\u063A\u0645",
|
|
33
|
+
disgust: "\u0627\u0646\u0632\u062C\u0627\u0631",
|
|
34
|
+
neutral: "\u062E\u0646\u062B\u06CC"
|
|
35
|
+
},
|
|
36
|
+
ar: {
|
|
37
|
+
anger: "\u063A\u0636\u0628",
|
|
38
|
+
anticipation: "\u062A\u0631\u0642\u0651\u0628",
|
|
39
|
+
joy: "\u0641\u0631\u062D",
|
|
40
|
+
trust: "\u062B\u0642\u0629",
|
|
41
|
+
fear: "\u062E\u0648\u0641",
|
|
42
|
+
surprise: "\u062F\u0647\u0634\u0629",
|
|
43
|
+
sadness: "\u062D\u0632\u0646",
|
|
44
|
+
disgust: "\u0627\u0634\u0645\u0626\u0632\u0627\u0632",
|
|
45
|
+
neutral: "\u0645\u062D\u0627\u064A\u062F"
|
|
46
|
+
},
|
|
47
|
+
en: {
|
|
48
|
+
anger: "Anger",
|
|
49
|
+
anticipation: "Anticipation",
|
|
50
|
+
joy: "Joy",
|
|
51
|
+
trust: "Trust",
|
|
52
|
+
fear: "Fear",
|
|
53
|
+
surprise: "Surprise",
|
|
54
|
+
sadness: "Sadness",
|
|
55
|
+
disgust: "Disgust",
|
|
56
|
+
neutral: "Neutral"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
(() => {
|
|
60
|
+
const map = {};
|
|
61
|
+
for (const key of EMOTION_KEYS) map[key] = key;
|
|
62
|
+
for (const locale of Object.keys(emotionLabels)) {
|
|
63
|
+
for (const key of EMOTION_KEYS) {
|
|
64
|
+
map[emotionLabels[locale][key].toLowerCase()] = key;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return map;
|
|
68
|
+
})();
|
|
69
|
+
var FLOW_KEYS = [
|
|
70
|
+
"pro-gov",
|
|
71
|
+
"internal-critic",
|
|
72
|
+
"internal-opponent",
|
|
73
|
+
"external-opponent",
|
|
74
|
+
"grey"
|
|
75
|
+
];
|
|
76
|
+
var flowLabels = {
|
|
77
|
+
fa: {
|
|
78
|
+
"pro-gov": "\u062D\u0627\u0645\u06CC\u0627\u0646 \u062D\u06A9\u0648\u0645\u062A",
|
|
79
|
+
"internal-critic": "\u0645\u0646\u062A\u0642\u062F\u0627\u0646 \u062F\u0627\u062E\u0644\u06CC",
|
|
80
|
+
"internal-opponent": "\u0645\u062E\u0627\u0644\u0641\u0627\u0646 \u062F\u0627\u062E\u0644\u06CC",
|
|
81
|
+
"external-opponent": "\u0645\u062E\u0627\u0644\u0641\u0627\u0646 \u062E\u0627\u0631\u062C\u06CC",
|
|
82
|
+
grey: "\u0642\u0634\u0631 \u062E\u0627\u06A9\u0633\u062A\u0631\u06CC"
|
|
83
|
+
},
|
|
84
|
+
ar: {
|
|
85
|
+
"pro-gov": "\u0645\u0624\u064A\u062F\u0648 \u0627\u0644\u062D\u0643\u0648\u0645\u0629",
|
|
86
|
+
"internal-critic": "\u0645\u0646\u062A\u0642\u062F\u0648\u0646 \u062F\u0627\u062E\u0644\u064A\u0648\u0646",
|
|
87
|
+
"internal-opponent": "\u0645\u0639\u0627\u0631\u0636\u0648\u0646 \u062F\u0627\u062E\u0644\u064A\u0648\u0646",
|
|
88
|
+
"external-opponent": "\u0645\u0639\u0627\u0631\u0636\u0648\u0646 \u062E\u0627\u0631\u062C\u064A\u0648\u0646",
|
|
89
|
+
grey: "\u0627\u0644\u0641\u0626\u0629 \u0627\u0644\u0631\u0645\u0627\u062F\u064A\u0629"
|
|
90
|
+
},
|
|
91
|
+
en: {
|
|
92
|
+
"pro-gov": "Pro-Government",
|
|
93
|
+
"internal-critic": "Internal Critic",
|
|
94
|
+
"internal-opponent": "Internal Opponent",
|
|
95
|
+
"external-opponent": "External Opponent",
|
|
96
|
+
grey: "Grey"
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
(() => {
|
|
100
|
+
const map = {};
|
|
101
|
+
for (const key of FLOW_KEYS) map[key] = key;
|
|
102
|
+
for (const locale of Object.keys(flowLabels)) {
|
|
103
|
+
for (const key of FLOW_KEYS) {
|
|
104
|
+
map[flowLabels[locale][key].toLowerCase()] = key;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return map;
|
|
108
|
+
})();
|
|
109
|
+
var STATUS_KEYS = ["critical", "warning", "middle", "low"];
|
|
110
|
+
var statusLabels = {
|
|
111
|
+
fa: { critical: "\u0628\u062D\u0631\u0627\u0646\u06CC", warning: "\u0647\u0634\u062F\u0627\u0631", middle: "\u0645\u062A\u0648\u0633\u0637", low: "\u067E\u0627\u06CC\u06CC\u0646" },
|
|
112
|
+
ar: { critical: "\u062D\u0631\u062C", warning: "\u062A\u062D\u0630\u064A\u0631", middle: "\u0645\u062A\u0648\u0633\u0637", low: "\u0645\u0646\u062E\u0641\u0636" },
|
|
113
|
+
en: { critical: "Critical", warning: "Warning", middle: "Middle", low: "Low" }
|
|
114
|
+
};
|
|
115
|
+
(() => {
|
|
116
|
+
const map = { normal: "low" };
|
|
117
|
+
for (const key of STATUS_KEYS) map[key] = key;
|
|
118
|
+
for (const locale of Object.keys(statusLabels)) {
|
|
119
|
+
for (const key of STATUS_KEYS) {
|
|
120
|
+
map[statusLabels[locale][key].toLowerCase()] = key;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return map;
|
|
124
|
+
})();
|
|
125
|
+
var SEVERITY_KEYS = ["urgent", "high", "medium", "low"];
|
|
126
|
+
var severityLabels = {
|
|
127
|
+
fa: { urgent: "\u0641\u0648\u0631\u06CC", high: "\u0628\u0627\u0644\u0627", medium: "\u0645\u062A\u0648\u0633\u0637", low: "\u067E\u0627\u06CC\u06CC\u0646" },
|
|
128
|
+
ar: { urgent: "\u0639\u0627\u062C\u0644", high: "\u0645\u0631\u062A\u0641\u0639", medium: "\u0645\u062A\u0648\u0633\u0637", low: "\u0645\u0646\u062E\u0641\u0636" },
|
|
129
|
+
en: { urgent: "Urgent", high: "High", medium: "Medium", low: "Low" }
|
|
130
|
+
};
|
|
131
|
+
(() => {
|
|
132
|
+
const map = {};
|
|
133
|
+
for (const key of SEVERITY_KEYS) map[key] = key;
|
|
134
|
+
for (const locale of Object.keys(severityLabels)) {
|
|
135
|
+
for (const key of SEVERITY_KEYS) {
|
|
136
|
+
map[severityLabels[locale][key].toLowerCase()] = key;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return map;
|
|
140
|
+
})();
|
|
13
141
|
var UI_STRINGS = {
|
|
14
142
|
fa: {
|
|
15
143
|
// Autocomplete
|
|
@@ -273,5 +401,3 @@ var PageHeader = React.forwardRef(
|
|
|
273
401
|
PageHeader.displayName = "PageHeader";
|
|
274
402
|
|
|
275
403
|
export { PageHeader };
|
|
276
|
-
//# sourceMappingURL=page-header.js.map
|
|
277
|
-
//# sourceMappingURL=page-header.js.map
|
|
@@ -28,5 +28,3 @@ var PopoverContent = React.forwardRef(({ className, align = "center", sideOffset
|
|
|
28
28
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
29
29
|
|
|
30
30
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
31
|
-
//# sourceMappingURL=popover.js.map
|
|
32
|
-
//# sourceMappingURL=popover.js.map
|
|
@@ -47,7 +47,7 @@ var progressVariants = classVarianceAuthority.cva("relative w-full overflow-hidd
|
|
|
47
47
|
var progressIndicatorVariants = classVarianceAuthority.cva("h-full w-full flex-1 transition-all origin-left rtl:origin-right", {
|
|
48
48
|
variants: {
|
|
49
49
|
variant: {
|
|
50
|
-
primary: "bg-[
|
|
50
|
+
primary: "bg-[var(--brand-default)]",
|
|
51
51
|
secondary: "bg-foreground",
|
|
52
52
|
success: "bg-sentiment-positive",
|
|
53
53
|
warning: "bg-warning-500",
|
|
@@ -91,5 +91,3 @@ var Progress = React__namespace.forwardRef(
|
|
|
91
91
|
Progress.displayName = "Progress";
|
|
92
92
|
|
|
93
93
|
exports.Progress = Progress;
|
|
94
|
-
//# sourceMappingURL=progress.cjs.map
|
|
95
|
-
//# sourceMappingURL=progress.cjs.map
|
|
@@ -24,7 +24,7 @@ var progressVariants = cva("relative w-full overflow-hidden rounded-full bg-surf
|
|
|
24
24
|
var progressIndicatorVariants = cva("h-full w-full flex-1 transition-all origin-left rtl:origin-right", {
|
|
25
25
|
variants: {
|
|
26
26
|
variant: {
|
|
27
|
-
primary: "bg-[
|
|
27
|
+
primary: "bg-[var(--brand-default)]",
|
|
28
28
|
secondary: "bg-foreground",
|
|
29
29
|
success: "bg-sentiment-positive",
|
|
30
30
|
warning: "bg-warning-500",
|
|
@@ -68,5 +68,3 @@ var Progress = React.forwardRef(
|
|
|
68
68
|
Progress.displayName = "Progress";
|
|
69
69
|
|
|
70
70
|
export { Progress };
|
|
71
|
-
//# sourceMappingURL=progress.js.map
|
|
72
|
-
//# sourceMappingURL=progress.js.map
|
|
@@ -54,5 +54,3 @@ var RadioCardDescription = React.forwardRef(
|
|
|
54
54
|
RadioCardDescription.displayName = "RadioCardDescription";
|
|
55
55
|
|
|
56
56
|
export { RadioCardDescription, RadioCardItem, RadioCardTitle, RadioCards };
|
|
57
|
-
//# sourceMappingURL=radio-card.js.map
|
|
58
|
-
//# sourceMappingURL=radio-card.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { forwardRef,
|
|
3
|
+
import { forwardRef, isValidElement, cloneElement } from 'react';
|
|
4
4
|
import { Loader2, Search, Star, Clock, Play } from 'lucide-react';
|
|
5
5
|
import { clsx } from 'clsx';
|
|
6
6
|
import { twMerge } from 'tailwind-merge';
|
|
@@ -392,5 +392,3 @@ var SavedQueryCard = React.forwardRef(
|
|
|
392
392
|
SavedQueryCard.displayName = "SavedQueryCard";
|
|
393
393
|
|
|
394
394
|
export { SavedQueryCard };
|
|
395
|
-
//# sourceMappingURL=saved-query-card.js.map
|
|
396
|
-
//# sourceMappingURL=saved-query-card.js.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
4
3
|
|
|
5
|
-
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>):
|
|
4
|
+
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): React.JSX.Element;
|
|
6
5
|
declare namespace ScrollArea {
|
|
7
6
|
var displayName: string;
|
|
8
7
|
}
|
|
9
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>):
|
|
8
|
+
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): React.JSX.Element;
|
|
10
9
|
declare namespace ScrollBar {
|
|
11
10
|
var displayName: string;
|
|
12
11
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
4
3
|
|
|
5
|
-
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>):
|
|
4
|
+
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): React.JSX.Element;
|
|
6
5
|
declare namespace ScrollArea {
|
|
7
6
|
var displayName: string;
|
|
8
7
|
}
|
|
9
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>):
|
|
8
|
+
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): React.JSX.Element;
|
|
10
9
|
declare namespace ScrollBar {
|
|
11
10
|
var displayName: string;
|
|
12
11
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
5
4
|
import { VariantProps } from 'class-variance-authority';
|
|
6
5
|
|
|
7
6
|
declare const Select: {
|
|
8
|
-
({ dir, ...props }: React.ComponentProps<typeof SelectPrimitive.Root>):
|
|
7
|
+
({ dir, ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): React.JSX.Element;
|
|
9
8
|
displayName: string;
|
|
10
9
|
};
|
|
11
10
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
5
4
|
import { VariantProps } from 'class-variance-authority';
|
|
6
5
|
|
|
7
6
|
declare const Select: {
|
|
8
|
-
({ dir, ...props }: React.ComponentProps<typeof SelectPrimitive.Root>):
|
|
7
|
+
({ dir, ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): React.JSX.Element;
|
|
9
8
|
displayName: string;
|
|
10
9
|
};
|
|
11
10
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -206,5 +206,3 @@ var SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
206
206
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
207
207
|
|
|
208
208
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerVariants, SelectValue };
|
|
209
|
-
//# sourceMappingURL=select.js.map
|
|
210
|
-
//# sourceMappingURL=select.js.map
|
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
3
|
|
|
5
|
-
declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
4
|
+
declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
|
|
6
5
|
declare namespace Sheet {
|
|
7
6
|
var displayName: string;
|
|
8
7
|
}
|
|
9
|
-
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
8
|
+
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
|
|
10
9
|
declare namespace SheetTrigger {
|
|
11
10
|
var displayName: string;
|
|
12
11
|
}
|
|
13
|
-
declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>):
|
|
12
|
+
declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
|
|
14
13
|
declare namespace SheetClose {
|
|
15
14
|
var displayName: string;
|
|
16
15
|
}
|
|
17
16
|
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
18
17
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
19
|
-
}):
|
|
18
|
+
}): React.JSX.Element;
|
|
20
19
|
declare namespace SheetContent {
|
|
21
20
|
var displayName: string;
|
|
22
21
|
}
|
|
23
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
22
|
+
declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
24
23
|
declare namespace SheetHeader {
|
|
25
24
|
var displayName: string;
|
|
26
25
|
}
|
|
27
|
-
declare function SheetBody({ className, ...props }: React.ComponentProps<'div'>):
|
|
26
|
+
declare function SheetBody({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
28
27
|
declare namespace SheetBody {
|
|
29
28
|
var displayName: string;
|
|
30
29
|
}
|
|
31
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>):
|
|
30
|
+
declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
32
31
|
declare namespace SheetFooter {
|
|
33
32
|
var displayName: string;
|
|
34
33
|
}
|
|
35
|
-
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
34
|
+
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
|
|
36
35
|
declare namespace SheetTitle {
|
|
37
36
|
var displayName: string;
|
|
38
37
|
}
|
|
39
|
-
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
38
|
+
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
|
|
40
39
|
declare namespace SheetDescription {
|
|
41
40
|
var displayName: string;
|
|
42
41
|
}
|
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
3
|
|
|
5
|
-
declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
4
|
+
declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
|
|
6
5
|
declare namespace Sheet {
|
|
7
6
|
var displayName: string;
|
|
8
7
|
}
|
|
9
|
-
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
8
|
+
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
|
|
10
9
|
declare namespace SheetTrigger {
|
|
11
10
|
var displayName: string;
|
|
12
11
|
}
|
|
13
|
-
declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>):
|
|
12
|
+
declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
|
|
14
13
|
declare namespace SheetClose {
|
|
15
14
|
var displayName: string;
|
|
16
15
|
}
|
|
17
16
|
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
18
17
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
19
|
-
}):
|
|
18
|
+
}): React.JSX.Element;
|
|
20
19
|
declare namespace SheetContent {
|
|
21
20
|
var displayName: string;
|
|
22
21
|
}
|
|
23
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
22
|
+
declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
24
23
|
declare namespace SheetHeader {
|
|
25
24
|
var displayName: string;
|
|
26
25
|
}
|
|
27
|
-
declare function SheetBody({ className, ...props }: React.ComponentProps<'div'>):
|
|
26
|
+
declare function SheetBody({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
28
27
|
declare namespace SheetBody {
|
|
29
28
|
var displayName: string;
|
|
30
29
|
}
|
|
31
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>):
|
|
30
|
+
declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
32
31
|
declare namespace SheetFooter {
|
|
33
32
|
var displayName: string;
|
|
34
33
|
}
|
|
35
|
-
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
34
|
+
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
|
|
36
35
|
declare namespace SheetTitle {
|
|
37
36
|
var displayName: string;
|
|
38
37
|
}
|
|
39
|
-
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
38
|
+
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
|
|
40
39
|
declare namespace SheetDescription {
|
|
41
40
|
var displayName: string;
|
|
42
41
|
}
|
|
@@ -107,5 +107,3 @@ SheetTitle.displayName = "SheetTitle";
|
|
|
107
107
|
SheetDescription.displayName = "SheetDescription";
|
|
108
108
|
|
|
109
109
|
export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
110
|
-
//# sourceMappingURL=sheet.js.map
|
|
111
|
-
//# sourceMappingURL=sheet.js.map
|