myshell-react-lib 0.1.27 → 0.1.29
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/dist/index.cjs +156 -114
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +153 -115
- package/dist/index.js.map +1 -1
- package/dist/styles/design2-dark.scss +1 -0
- package/dist/styles/design2-light.scss +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5423,7 +5423,7 @@ var PopoverRoot = PopoverPrimitive.Root;
|
|
|
5423
5423
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
5424
5424
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
5425
5425
|
var PopoverContent = React7.forwardRef(function(_param, ref) {
|
|
5426
|
-
var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_variant = _param.variant, variant = _param_variant === void 0 ? "default" : _param_variant, _param_side = _param.side, side = _param_side === void 0 ? "top" : _param_side, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? 0 : _param_alignOffset, _param_arrowPadding = _param.arrowPadding, arrowPadding = _param_arrowPadding === void 0 ? 0 : _param_arrowPadding, _param_showArrow = _param.showArrow, showArrow = _param_showArrow === void 0 ? true : _param_showArrow, children = _param.children, container = _param.container, props = _object_without_properties(_param, [
|
|
5426
|
+
var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_variant = _param.variant, variant = _param_variant === void 0 ? "default" : _param_variant, _param_side = _param.side, side = _param_side === void 0 ? "top" : _param_side, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? 0 : _param_alignOffset, _param_arrowPadding = _param.arrowPadding, arrowPadding = _param_arrowPadding === void 0 ? 0 : _param_arrowPadding, _param_showArrow = _param.showArrow, showArrow = _param_showArrow === void 0 ? true : _param_showArrow, _param_mode = _param.mode, mode = _param_mode === void 0 ? "popover" : _param_mode, children = _param.children, container = _param.container, props = _object_without_properties(_param, [
|
|
5427
5427
|
"className",
|
|
5428
5428
|
"align",
|
|
5429
5429
|
"variant",
|
|
@@ -5432,6 +5432,7 @@ var PopoverContent = React7.forwardRef(function(_param, ref) {
|
|
|
5432
5432
|
"alignOffset",
|
|
5433
5433
|
"arrowPadding",
|
|
5434
5434
|
"showArrow",
|
|
5435
|
+
"mode",
|
|
5435
5436
|
"children",
|
|
5436
5437
|
"container"
|
|
5437
5438
|
]);
|
|
@@ -5445,14 +5446,14 @@ var PopoverContent = React7.forwardRef(function(_param, ref) {
|
|
|
5445
5446
|
arrowPadding: arrowPadding,
|
|
5446
5447
|
side: side,
|
|
5447
5448
|
forceMount: true,
|
|
5448
|
-
className: cn("relative z-[49] mx-4 w-fit max-w-72 rounded-md border border-Colors-Border-Opaque p-3 text-left text-xs shadow-modal-default outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 [&[data-state=open]>span]:animate-none", variant === "default" ? "bg-cc-Tooltip-bg-default text-cc-Tooltip-fg-default border border-cc-Tooltip-border-default" : "bg-Colors-Utility-Lake-Blue-50 text-Colors-Text-Static-White", className)
|
|
5449
|
+
className: cn("relative z-[49] mx-4 w-fit max-w-72 rounded-md border border-Colors-Border-Opaque p-3 text-left text-xs shadow-modal-default outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 [&[data-state=open]>span]:animate-none", variant === "default" ? mode === "popover" ? "bg-Colors-Background-Normal-Primary-Alt border-Colors-Border-Opaque text-Colors-Text-Default" : "bg-cc-Tooltip-bg-default text-cc-Tooltip-fg-default border border-cc-Tooltip-border-default" : "bg-Colors-Utility-Lake-Blue-50 text-Colors-Text-Static-White", className)
|
|
5449
5450
|
}, props), {
|
|
5450
5451
|
children: [
|
|
5451
5452
|
children,
|
|
5452
5453
|
showArrow && /* @__PURE__ */ jsx10(PopoverPrimitive.Arrow, {
|
|
5453
5454
|
width: 16,
|
|
5454
5455
|
height: 6,
|
|
5455
|
-
className: cn("visible", variant === "default" ? "fill-cc-Tooltip-bg-default" : "fill-Colors-Utility-Lake-Blue-50")
|
|
5456
|
+
className: cn("visible", variant === "default" ? mode === "popover" ? "fill-[var(--Colors-Background-Normal-Primary-Alt)]" : "fill-cc-Tooltip-bg-default" : "fill-Colors-Utility-Lake-Blue-50")
|
|
5456
5457
|
})
|
|
5457
5458
|
]
|
|
5458
5459
|
}))
|
|
@@ -5593,6 +5594,7 @@ var Tooltip = React8.forwardRef(function(_param, ref) {
|
|
|
5593
5594
|
]
|
|
5594
5595
|
})
|
|
5595
5596
|
}) : /* @__PURE__ */ jsx11(Popover, _object_spread_props(_object_spread({
|
|
5597
|
+
mode: "tooltip",
|
|
5596
5598
|
open: open,
|
|
5597
5599
|
title: title,
|
|
5598
5600
|
content: description,
|
|
@@ -12018,14 +12020,50 @@ var ToggleGroupItem = React39.forwardRef(function(_param, ref) {
|
|
|
12018
12020
|
}));
|
|
12019
12021
|
});
|
|
12020
12022
|
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
12023
|
+
// src/components/chips.tsx
|
|
12024
|
+
import { cva as cva19 } from "class-variance-authority";
|
|
12025
|
+
import { jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
12026
|
+
var chipsVariants = cva19('min-w-10 flex items-center justify-center text-Colors-Text-Subtle rounded-sm border px-1.5 text-sm cursor-pointer focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled="true"]:cursor-not-allowed', {
|
|
12027
|
+
variants: {
|
|
12028
|
+
variant: {
|
|
12029
|
+
primary: 'border-cc-Chips-Primary-border-default bg-cc-Chips-Primary-bg-default hover:bg-cc-Chips-Primary-bg-hover data-[selected="true"]:text-Colors-Text-Bolder data-[disabled="true"]:data-[selected="true"]:text-Colors-Text-Bolder data-[selected="true"]:bg-cc-Chips-Primary-bg-select data-[disabled="true"]:text-Colors-Text-Disabled data-[disabled="true"]:bg-cc-Chips-Primary-bg-disabled data-[disabled="true"]:data-[selected="true"]:bg-cc-Chips-Primary-bg-select-disabled',
|
|
12030
|
+
basic: 'border-Colors-Border-Default bg-Colors-Background-Utilities-None hover:border-Colors-Border-Hover data-[selected="true"]:border-Colors-Border-Default data-[disabled="true"]:text-Colors-Text-Disabled data-[selected="true"]:border-Colors-Border-Bolder data-[selected="true"]:text-Colors-Text-Default data-[disabled="true"]:data-[selected="true"]:text-Colors-Text-Disabled data-[disabled="true"]:data-[selected="true"]:border-Colors-Border-Default'
|
|
12031
|
+
},
|
|
12032
|
+
size: {
|
|
12033
|
+
lg: "h-9",
|
|
12034
|
+
sm: "h-7"
|
|
12035
|
+
}
|
|
12036
|
+
},
|
|
12037
|
+
defaultVariants: {
|
|
12038
|
+
variant: "primary"
|
|
12039
|
+
}
|
|
12040
|
+
});
|
|
12041
|
+
function Chips(props) {
|
|
12042
|
+
var variant = props.variant, size = props.size, count2 = props.count, className = props.className, label = props.label, disabled = props.disabled, selected = props.selected;
|
|
12043
|
+
return /* @__PURE__ */ jsxs32("div", {
|
|
12044
|
+
"data-disabled": disabled,
|
|
12045
|
+
"data-selected": selected,
|
|
12046
|
+
className: cn(chipsVariants({
|
|
12047
|
+
variant: variant,
|
|
12048
|
+
size: size
|
|
12049
|
+
}), className),
|
|
12050
|
+
children: [
|
|
12051
|
+
label,
|
|
12052
|
+
count2 && count2 > 0 ? /* @__PURE__ */ jsx56("span", {
|
|
12053
|
+
className: "h-full pt-0.5 ml-1 font-medium text-xs leading-[1.3]",
|
|
12054
|
+
children: count2
|
|
12055
|
+
}) : null
|
|
12056
|
+
]
|
|
12057
|
+
});
|
|
12058
|
+
}
|
|
12021
12059
|
// src/components/toast/toast.tsx
|
|
12022
12060
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
12023
|
-
import { cva as
|
|
12061
|
+
import { cva as cva20 } from "class-variance-authority";
|
|
12024
12062
|
import * as React40 from "react";
|
|
12025
12063
|
import XMarkIcon3 from "@heroicons/react/24/outline/esm/XMarkIcon";
|
|
12026
|
-
import { jsx as
|
|
12064
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
12027
12065
|
var ToastProvider = ToastPrimitives.Provider;
|
|
12028
|
-
var viewportPositionVariants =
|
|
12066
|
+
var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full p-0 gap-2", {
|
|
12029
12067
|
variants: {
|
|
12030
12068
|
position: {
|
|
12031
12069
|
"top-left": "top-6 left-6 flex-col items-start",
|
|
@@ -12047,7 +12085,7 @@ var ToastViewport = React40.forwardRef(function(_param, ref) {
|
|
|
12047
12085
|
"className",
|
|
12048
12086
|
"position"
|
|
12049
12087
|
]);
|
|
12050
|
-
return /* @__PURE__ */
|
|
12088
|
+
return /* @__PURE__ */ jsx57(ToastPrimitives.Viewport, _object_spread({
|
|
12051
12089
|
ref: ref,
|
|
12052
12090
|
className: cn(viewportPositionVariants({
|
|
12053
12091
|
position: position
|
|
@@ -12055,7 +12093,7 @@ var ToastViewport = React40.forwardRef(function(_param, ref) {
|
|
|
12055
12093
|
}, props));
|
|
12056
12094
|
});
|
|
12057
12095
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
12058
|
-
var toastVariants =
|
|
12096
|
+
var toastVariants = cva20("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-sm border border-Colors-Border-Opaque p-6 pr-8 shadow-modal-default transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 max-w-md", {
|
|
12059
12097
|
variants: {
|
|
12060
12098
|
variant: {
|
|
12061
12099
|
info: "bg-Colors-Background-Normal-Primary-Default p-4",
|
|
@@ -12085,7 +12123,7 @@ var Toast = React40.forwardRef(function(_param, ref) {
|
|
|
12085
12123
|
"variant",
|
|
12086
12124
|
"position"
|
|
12087
12125
|
]);
|
|
12088
|
-
return /* @__PURE__ */
|
|
12126
|
+
return /* @__PURE__ */ jsx57(ToastPrimitives.Root, _object_spread({
|
|
12089
12127
|
ref: ref,
|
|
12090
12128
|
className: cn(toastVariants({
|
|
12091
12129
|
variant: variant,
|
|
@@ -12099,7 +12137,7 @@ var ToastAction = React40.forwardRef(function(_param, ref) {
|
|
|
12099
12137
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12100
12138
|
"className"
|
|
12101
12139
|
]);
|
|
12102
|
-
return /* @__PURE__ */
|
|
12140
|
+
return /* @__PURE__ */ jsx57(ToastPrimitives.Action, _object_spread({
|
|
12103
12141
|
ref: ref,
|
|
12104
12142
|
className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-sm border border-slate-200 bg-transparent px-3 text-sm font-medium ring-offset-white transition-colors hover:bg-slate-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-slate-100/40 group-[.destructive]:hover:border-red-500/30 group-[.destructive]:hover:bg-red-500 group-[.destructive]:hover:text-slate-50 group-[.destructive]:focus:ring-red-500 dark:border-slate-800 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:focus:ring-slate-300 dark:group-[.destructive]:border-slate-800/40 dark:group-[.destructive]:hover:border-red-900/30 dark:group-[.destructive]:hover:bg-red-900 dark:group-[.destructive]:hover:text-slate-50 dark:group-[.destructive]:focus:ring-red-900", className)
|
|
12105
12143
|
}, props));
|
|
@@ -12109,12 +12147,12 @@ var ToastClose = React40.forwardRef(function(_param, ref) {
|
|
|
12109
12147
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12110
12148
|
"className"
|
|
12111
12149
|
]);
|
|
12112
|
-
return /* @__PURE__ */
|
|
12150
|
+
return /* @__PURE__ */ jsx57(ToastPrimitives.Close, _object_spread_props(_object_spread({
|
|
12113
12151
|
ref: ref,
|
|
12114
12152
|
className: cn("absolute right-4 top-4 rounded-sm p-1 text-slate-950/50 transition-opacity hover:text-slate-950 outline-none focus:outline-none focus:ring-2 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 dark:text-slate-50/50 dark:hover:text-slate-50", className),
|
|
12115
12153
|
"toast-close": ""
|
|
12116
12154
|
}, props), {
|
|
12117
|
-
children: /* @__PURE__ */
|
|
12155
|
+
children: /* @__PURE__ */ jsx57(XMarkIcon3, {
|
|
12118
12156
|
className: "h-5 w-5"
|
|
12119
12157
|
})
|
|
12120
12158
|
}));
|
|
@@ -12124,7 +12162,7 @@ var ToastTitle = React40.forwardRef(function(_param, ref) {
|
|
|
12124
12162
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12125
12163
|
"className"
|
|
12126
12164
|
]);
|
|
12127
|
-
return /* @__PURE__ */
|
|
12165
|
+
return /* @__PURE__ */ jsx57(ToastPrimitives.Title, _object_spread({
|
|
12128
12166
|
ref: ref,
|
|
12129
12167
|
className: cn("text-sm font-semibold", className)
|
|
12130
12168
|
}, props));
|
|
@@ -12134,7 +12172,7 @@ var ToastDescription = React40.forwardRef(function(_param, ref) {
|
|
|
12134
12172
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
12135
12173
|
"className"
|
|
12136
12174
|
]);
|
|
12137
|
-
return /* @__PURE__ */
|
|
12175
|
+
return /* @__PURE__ */ jsx57(ToastPrimitives.Description, _object_spread({
|
|
12138
12176
|
ref: ref,
|
|
12139
12177
|
className: cn("text-sm opacity-90", className)
|
|
12140
12178
|
}, props));
|
|
@@ -12146,7 +12184,7 @@ import InformationCircleIcon2 from "@heroicons/react/24/outline/esm/InformationC
|
|
|
12146
12184
|
import XCircleIcon2 from "@heroicons/react/24/outline/esm/XCircleIcon";
|
|
12147
12185
|
// src/components/toast/use-toast.tsx
|
|
12148
12186
|
import * as React41 from "react";
|
|
12149
|
-
import { jsx as
|
|
12187
|
+
import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12150
12188
|
var TOAST_LIMIT = 8;
|
|
12151
12189
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
12152
12190
|
var count = 0;
|
|
@@ -12249,10 +12287,10 @@ function toast(_param) {
|
|
|
12249
12287
|
toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
12250
12288
|
position: position
|
|
12251
12289
|
}), actions && {
|
|
12252
|
-
action: /* @__PURE__ */
|
|
12290
|
+
action: /* @__PURE__ */ jsxs33("div", {
|
|
12253
12291
|
className: "flex justify-start items-center gap-2",
|
|
12254
12292
|
children: [
|
|
12255
|
-
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */
|
|
12293
|
+
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx58(Text, {
|
|
12256
12294
|
size: "sm",
|
|
12257
12295
|
weight: "medium",
|
|
12258
12296
|
color: "brand",
|
|
@@ -12262,13 +12300,13 @@ function toast(_param) {
|
|
|
12262
12300
|
},
|
|
12263
12301
|
children: actions === null || actions === void 0 ? void 0 : actions.dismissText
|
|
12264
12302
|
}),
|
|
12265
|
-
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */
|
|
12303
|
+
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx58(link_default, {
|
|
12266
12304
|
href: actions.viewUrl,
|
|
12267
12305
|
target: "_blank",
|
|
12268
12306
|
rel: "noreferrer noopener",
|
|
12269
|
-
children: /* @__PURE__ */
|
|
12307
|
+
children: /* @__PURE__ */ jsx58("div", {
|
|
12270
12308
|
className: "flex items-center gap-1.5",
|
|
12271
|
-
children: /* @__PURE__ */
|
|
12309
|
+
children: /* @__PURE__ */ jsx58(Text, {
|
|
12272
12310
|
size: "sm",
|
|
12273
12311
|
weight: "medium",
|
|
12274
12312
|
color: "default",
|
|
@@ -12319,7 +12357,7 @@ function useToast() {
|
|
|
12319
12357
|
// src/components/toast/toaster.tsx
|
|
12320
12358
|
import React42 from "react";
|
|
12321
12359
|
import { ExclamationTriangleIcon as ExclamationTriangleIcon2 } from "@heroicons/react/24/outline";
|
|
12322
|
-
import { jsx as
|
|
12360
|
+
import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
12323
12361
|
function Toaster() {
|
|
12324
12362
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
12325
12363
|
var toasts = useToast().toasts;
|
|
@@ -12356,19 +12394,19 @@ function Toaster() {
|
|
|
12356
12394
|
var renderIcon3 = function(variant2) {
|
|
12357
12395
|
switch(variant2){
|
|
12358
12396
|
case "info":
|
|
12359
|
-
return /* @__PURE__ */
|
|
12397
|
+
return /* @__PURE__ */ jsx59(InformationCircleIcon2, {
|
|
12360
12398
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12361
12399
|
});
|
|
12362
12400
|
case "success":
|
|
12363
|
-
return /* @__PURE__ */
|
|
12401
|
+
return /* @__PURE__ */ jsx59(CheckCircleIcon2, {
|
|
12364
12402
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12365
12403
|
});
|
|
12366
12404
|
case "warning":
|
|
12367
|
-
return /* @__PURE__ */
|
|
12405
|
+
return /* @__PURE__ */ jsx59(ExclamationTriangleIcon2, {
|
|
12368
12406
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12369
12407
|
});
|
|
12370
12408
|
case "error":
|
|
12371
|
-
return /* @__PURE__ */
|
|
12409
|
+
return /* @__PURE__ */ jsx59(XCircleIcon2, {
|
|
12372
12410
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12373
12411
|
});
|
|
12374
12412
|
}
|
|
@@ -12385,26 +12423,26 @@ function Toaster() {
|
|
|
12385
12423
|
return "bg-Colors-Background-Critical-Default";
|
|
12386
12424
|
}
|
|
12387
12425
|
};
|
|
12388
|
-
return /* @__PURE__ */
|
|
12426
|
+
return /* @__PURE__ */ jsxs34(Toast, _object_spread_props(_object_spread({}, toast4), {
|
|
12389
12427
|
position: toastPosition,
|
|
12390
12428
|
children: [
|
|
12391
|
-
/* @__PURE__ */
|
|
12429
|
+
/* @__PURE__ */ jsx59("div", {
|
|
12392
12430
|
className: "flex flex-col gap-3",
|
|
12393
|
-
children: /* @__PURE__ */
|
|
12431
|
+
children: /* @__PURE__ */ jsxs34("div", {
|
|
12394
12432
|
className: "flex items-start gap-3",
|
|
12395
12433
|
children: [
|
|
12396
|
-
/* @__PURE__ */
|
|
12434
|
+
/* @__PURE__ */ jsx59("div", {
|
|
12397
12435
|
className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
|
|
12398
12436
|
children: renderIcon3(variant)
|
|
12399
12437
|
}),
|
|
12400
|
-
/* @__PURE__ */
|
|
12438
|
+
/* @__PURE__ */ jsxs34("div", {
|
|
12401
12439
|
className: "grid gap-1",
|
|
12402
12440
|
children: [
|
|
12403
|
-
title && /* @__PURE__ */
|
|
12441
|
+
title && /* @__PURE__ */ jsx59(ToastTitle, {
|
|
12404
12442
|
className: "text-base text-Colors-Text-Default",
|
|
12405
12443
|
children: title
|
|
12406
12444
|
}),
|
|
12407
|
-
description && /* @__PURE__ */
|
|
12445
|
+
description && /* @__PURE__ */ jsx59(ToastDescription, {
|
|
12408
12446
|
className: "text-sm text-Colors-Text-Subtle",
|
|
12409
12447
|
children: description
|
|
12410
12448
|
}),
|
|
@@ -12414,17 +12452,17 @@ function Toaster() {
|
|
|
12414
12452
|
]
|
|
12415
12453
|
})
|
|
12416
12454
|
}),
|
|
12417
|
-
/* @__PURE__ */
|
|
12455
|
+
/* @__PURE__ */ jsx59(ToastClose, {})
|
|
12418
12456
|
]
|
|
12419
12457
|
}), id);
|
|
12420
12458
|
};
|
|
12421
|
-
return /* @__PURE__ */
|
|
12459
|
+
return /* @__PURE__ */ jsx59(ToastProvider, {
|
|
12422
12460
|
children: Object.entries(positionGroups).map(function(param) {
|
|
12423
12461
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
12424
|
-
return /* @__PURE__ */
|
|
12462
|
+
return /* @__PURE__ */ jsxs34(React42.Fragment, {
|
|
12425
12463
|
children: [
|
|
12426
12464
|
toastsForPosition.map(renderToast),
|
|
12427
|
-
toastsForPosition.length > 0 && /* @__PURE__ */
|
|
12465
|
+
toastsForPosition.length > 0 && /* @__PURE__ */ jsx59(ToastViewport, {
|
|
12428
12466
|
position: pos
|
|
12429
12467
|
})
|
|
12430
12468
|
]
|
|
@@ -12433,7 +12471,7 @@ function Toaster() {
|
|
|
12433
12471
|
});
|
|
12434
12472
|
}
|
|
12435
12473
|
// src/components/swiper/index.tsx
|
|
12436
|
-
import { cva as
|
|
12474
|
+
import { cva as cva21 } from "class-variance-authority";
|
|
12437
12475
|
import { useEffect as useEffect12, useMemo as useMemo5, useRef as useRef7, useState as useState10 } from "react";
|
|
12438
12476
|
import { useRouter } from "next/navigation";
|
|
12439
12477
|
import { Autoplay, Navigation, FreeMode, Scrollbar, Mousewheel, Grid } from "swiper/modules";
|
|
@@ -12446,8 +12484,8 @@ import "swiper/css/pagination";
|
|
|
12446
12484
|
// src/components/swiper/index.module.scss
|
|
12447
12485
|
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3hpYW9ndWFuZy9jb2RlL215c2hlbGwtcmVhY3QtbGliL3NyYy9jb21wb25lbnRzL3N3aXBlciIsInNvdXJjZXMiOlsiaW5kZXgubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRTs7QUFHRTtFQUNFO0VBQ0E7O0FBRUY7RUFDRTtFQUNBOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUVFOztBQUVGO0VBRUU7O0FBRUY7RUFDRTs7QUFHRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFLRjtFQUNFOztBQUNFO0VBQ0U7O0FBR047RUFDRTs7QUFDRTtFQUNFOzs7QUFPUjtFQUNFIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXBlckJveHtcbiAgQGFwcGx5IHctZnVsbCBoLWZpdDtcbiAgXG4gIDpnbG9iYWwoLnN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICB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lZC1mdWxsIGN1cnNvci1wb2ludGVyIGhvdmVyOmJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LUhvdmVyIGFjdGl2ZTpiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1BY3RpdmU7XG4gICAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgICBAYXBwbHkgdGV4dC1Db2xvcnMtRm9yZWdyb3VuZC1EZWZhdWx0IHRleHQteHMgZm9udC1ib2xkO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuXG4uYW5pbWF0ZSB7XG4gIDpnbG9iYWwoLnN3aXBlci1zbGlkZSkge1xuICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSA1MDBtcyBsaW5lYXI7XG4gIH1cbn1cbiJdfQ== */';
|
|
12448
12486
|
// src/components/swiper/index.tsx
|
|
12449
|
-
import { jsx as
|
|
12450
|
-
var swiperVariants =
|
|
12487
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
12488
|
+
var swiperVariants = cva21("", {
|
|
12451
12489
|
variants: {
|
|
12452
12490
|
rounded: {
|
|
12453
12491
|
none: "rounded-none",
|
|
@@ -12582,9 +12620,9 @@ function Swiper(props) {
|
|
|
12582
12620
|
}
|
|
12583
12621
|
}
|
|
12584
12622
|
};
|
|
12585
|
-
return /* @__PURE__ */
|
|
12623
|
+
return /* @__PURE__ */ jsx60("div", {
|
|
12586
12624
|
className: index_module_default.swiperBox,
|
|
12587
|
-
children: /* @__PURE__ */
|
|
12625
|
+
children: /* @__PURE__ */ jsx60(SwiperComponent, _object_spread_props(_object_spread({
|
|
12588
12626
|
observer: true,
|
|
12589
12627
|
observeParents: true
|
|
12590
12628
|
}, swiperConfigs), {
|
|
@@ -12594,9 +12632,9 @@ function Swiper(props) {
|
|
|
12594
12632
|
swiperRef.current = swiper;
|
|
12595
12633
|
},
|
|
12596
12634
|
children: swiperList.map(function(item, index) {
|
|
12597
|
-
return /* @__PURE__ */
|
|
12635
|
+
return /* @__PURE__ */ jsx60(SwiperSlide, {
|
|
12598
12636
|
className: cn(isBanner && "banner-swiper-slide !w-[90%] md:!w-[98%] h-[220px] md:h-auto max-w-[1200px] aspect-[4/1] rounded-2xl opacity-30", isFeatured && "rounded-2xl !w-[100%-32px] md:!w-[100%-72px]", isGrid && "grid-swiper-slide !w-[100%-32px] md:!w-[100%-72px] !h-[100%/3] flex justify-center items-center rounded-2xl", "text-clip", slideClassName),
|
|
12599
|
-
children: /* @__PURE__ */
|
|
12637
|
+
children: /* @__PURE__ */ jsx60(Com, {
|
|
12600
12638
|
item: item,
|
|
12601
12639
|
index: index,
|
|
12602
12640
|
onClick: handleSlideItemClick,
|
|
@@ -12617,48 +12655,48 @@ import ExclamationCircleIcon from "@heroicons/react/24/solid/esm/ExclamationCirc
|
|
|
12617
12655
|
import InformationCircleIcon3 from "@heroicons/react/24/solid/esm/InformationCircleIcon";
|
|
12618
12656
|
import XCircleIcon3 from "@heroicons/react/24/solid/esm/XCircleIcon";
|
|
12619
12657
|
import { toast as toast2 } from "react-hot-toast";
|
|
12620
|
-
import { Fragment as Fragment12, jsx as
|
|
12658
|
+
import { Fragment as Fragment12, jsx as jsx61, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
12621
12659
|
function CustomNotification(param) {
|
|
12622
12660
|
var tProps = param.tProps, customProps = param.customProps;
|
|
12623
12661
|
var type = customProps.type, title = customProps.title, content = customProps.content, _customProps_isClosable = customProps.isClosable, isClosable = _customProps_isClosable === void 0 ? false : _customProps_isClosable, action = customProps.action, loading = customProps.loading;
|
|
12624
12662
|
var id = tProps.id;
|
|
12625
12663
|
var displayedContent = !isString(content) ? JSON.stringify(content) : content;
|
|
12626
|
-
return /* @__PURE__ */
|
|
12627
|
-
children: /* @__PURE__ */
|
|
12664
|
+
return /* @__PURE__ */ jsx61("div", {
|
|
12665
|
+
children: /* @__PURE__ */ jsx61("div", {
|
|
12628
12666
|
id: id,
|
|
12629
12667
|
className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default px-3 py-2 shadow-modal-default md:max-w-[560px]",
|
|
12630
|
-
children: /* @__PURE__ */
|
|
12668
|
+
children: /* @__PURE__ */ jsxs35("div", {
|
|
12631
12669
|
className: "flex w-full items-center justify-center gap-2",
|
|
12632
12670
|
children: [
|
|
12633
|
-
loading && /* @__PURE__ */
|
|
12634
|
-
!loading && type && /* @__PURE__ */
|
|
12671
|
+
loading && /* @__PURE__ */ jsx61(Spinner, {}),
|
|
12672
|
+
!loading && type && /* @__PURE__ */ jsxs35("div", {
|
|
12635
12673
|
className: "flex flex-shrink-0 items-center",
|
|
12636
12674
|
children: [
|
|
12637
|
-
type === "info" && /* @__PURE__ */
|
|
12675
|
+
type === "info" && /* @__PURE__ */ jsx61(InformationCircleIcon3, {
|
|
12638
12676
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
12639
12677
|
}),
|
|
12640
|
-
type === "success" && /* @__PURE__ */
|
|
12678
|
+
type === "success" && /* @__PURE__ */ jsx61(CheckCircleIcon3, {
|
|
12641
12679
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
12642
12680
|
}),
|
|
12643
|
-
type === "warning" && /* @__PURE__ */
|
|
12681
|
+
type === "warning" && /* @__PURE__ */ jsx61(ExclamationCircleIcon, {
|
|
12644
12682
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
12645
12683
|
}),
|
|
12646
|
-
type === "error" && /* @__PURE__ */
|
|
12684
|
+
type === "error" && /* @__PURE__ */ jsx61(XCircleIcon3, {
|
|
12647
12685
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
12648
12686
|
})
|
|
12649
12687
|
]
|
|
12650
12688
|
}),
|
|
12651
|
-
/* @__PURE__ */
|
|
12689
|
+
/* @__PURE__ */ jsxs35("div", {
|
|
12652
12690
|
className: "flex flex-grow flex-col space-y-1 overflow-hidden",
|
|
12653
12691
|
children: [
|
|
12654
|
-
title && /* @__PURE__ */
|
|
12692
|
+
title && /* @__PURE__ */ jsx61(Text, {
|
|
12655
12693
|
size: "sm",
|
|
12656
12694
|
weight: "regular",
|
|
12657
12695
|
color: "default",
|
|
12658
12696
|
children: title
|
|
12659
12697
|
}),
|
|
12660
|
-
/* @__PURE__ */
|
|
12661
|
-
children: /* @__PURE__ */
|
|
12698
|
+
/* @__PURE__ */ jsx61("div", {
|
|
12699
|
+
children: /* @__PURE__ */ jsx61(Text, {
|
|
12662
12700
|
size: "sm",
|
|
12663
12701
|
weight: "regular",
|
|
12664
12702
|
color: "default",
|
|
@@ -12667,16 +12705,16 @@ function CustomNotification(param) {
|
|
|
12667
12705
|
})
|
|
12668
12706
|
]
|
|
12669
12707
|
}),
|
|
12670
|
-
action && /* @__PURE__ */
|
|
12708
|
+
action && /* @__PURE__ */ jsxs35(Fragment12, {
|
|
12671
12709
|
children: [
|
|
12672
|
-
/* @__PURE__ */
|
|
12710
|
+
/* @__PURE__ */ jsx61(Separator, {
|
|
12673
12711
|
orientation: "vertical",
|
|
12674
12712
|
className: "h-3"
|
|
12675
12713
|
}),
|
|
12676
12714
|
action
|
|
12677
12715
|
]
|
|
12678
12716
|
}),
|
|
12679
|
-
isClosable && /* @__PURE__ */
|
|
12717
|
+
isClosable && /* @__PURE__ */ jsx61(IconButton, {
|
|
12680
12718
|
size: "sm",
|
|
12681
12719
|
variant: "plain",
|
|
12682
12720
|
icon: XMarkIcon4,
|
|
@@ -12693,14 +12731,14 @@ function CustomNotification(param) {
|
|
|
12693
12731
|
// src/common/hooks/useNotification.tsx
|
|
12694
12732
|
import { useCallback as useCallback5 } from "react";
|
|
12695
12733
|
import { toast as toast3 } from "react-hot-toast";
|
|
12696
|
-
import { jsx as
|
|
12734
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
12697
12735
|
function useNotification() {
|
|
12698
12736
|
var addToast = useCallback5(function(config2, duration2) {
|
|
12699
12737
|
if (config2.id) {
|
|
12700
12738
|
toast3.remove(config2.id);
|
|
12701
12739
|
}
|
|
12702
12740
|
toast3.custom(function(t) {
|
|
12703
|
-
return /* @__PURE__ */
|
|
12741
|
+
return /* @__PURE__ */ jsx62(CustomNotification, {
|
|
12704
12742
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
12705
12743
|
duration: duration2
|
|
12706
12744
|
}),
|
|
@@ -12761,7 +12799,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12761
12799
|
}
|
|
12762
12800
|
var addToast = function() {
|
|
12763
12801
|
toast3.custom(function(t) {
|
|
12764
|
-
return /* @__PURE__ */
|
|
12802
|
+
return /* @__PURE__ */ jsx62(CustomNotification, {
|
|
12765
12803
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
12766
12804
|
duration: duration2
|
|
12767
12805
|
}),
|
|
@@ -12818,10 +12856,10 @@ var Message = /*#__PURE__*/ function() {
|
|
|
12818
12856
|
}();
|
|
12819
12857
|
// src/components/icons/outline/ArrowLeftIcon.tsx
|
|
12820
12858
|
import * as React43 from "react";
|
|
12821
|
-
import { jsx as
|
|
12859
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
12822
12860
|
var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
12823
|
-
return /* @__PURE__ */
|
|
12824
|
-
children: /* @__PURE__ */
|
|
12861
|
+
return /* @__PURE__ */ jsx63(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12862
|
+
children: /* @__PURE__ */ jsx63("svg", {
|
|
12825
12863
|
ref: ref,
|
|
12826
12864
|
className: "w-full h-full",
|
|
12827
12865
|
viewBox: "0 0 24 24",
|
|
@@ -12829,7 +12867,7 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
12829
12867
|
strokeWidth: "1.5",
|
|
12830
12868
|
stroke: "currentColor",
|
|
12831
12869
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12832
|
-
children: /* @__PURE__ */
|
|
12870
|
+
children: /* @__PURE__ */ jsx63("path", {
|
|
12833
12871
|
strokeLinecap: "round",
|
|
12834
12872
|
strokeLinejoin: "round",
|
|
12835
12873
|
d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
|
|
@@ -12839,10 +12877,10 @@ var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
|
|
|
12839
12877
|
});
|
|
12840
12878
|
// src/components/icons/outline/ArrowUpTrayIcon.tsx
|
|
12841
12879
|
import * as React44 from "react";
|
|
12842
|
-
import { jsx as
|
|
12880
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
12843
12881
|
var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
12844
|
-
return /* @__PURE__ */
|
|
12845
|
-
children: /* @__PURE__ */
|
|
12882
|
+
return /* @__PURE__ */ jsx64(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12883
|
+
children: /* @__PURE__ */ jsx64("svg", {
|
|
12846
12884
|
ref: ref,
|
|
12847
12885
|
className: "w-full h-full",
|
|
12848
12886
|
viewBox: "0 0 24 24",
|
|
@@ -12850,7 +12888,7 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12850
12888
|
strokeWidth: "1.5",
|
|
12851
12889
|
stroke: "currentColor",
|
|
12852
12890
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12853
|
-
children: /* @__PURE__ */
|
|
12891
|
+
children: /* @__PURE__ */ jsx64("path", {
|
|
12854
12892
|
strokeLinecap: "round",
|
|
12855
12893
|
strokeLinejoin: "round",
|
|
12856
12894
|
d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"
|
|
@@ -12860,10 +12898,10 @@ var ArrowUpTrayIcon = React44.forwardRef(function(props, ref) {
|
|
|
12860
12898
|
});
|
|
12861
12899
|
// src/components/icons/outline/WindowIcon.tsx
|
|
12862
12900
|
import * as React45 from "react";
|
|
12863
|
-
import { jsx as
|
|
12901
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
12864
12902
|
var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
12865
|
-
return /* @__PURE__ */
|
|
12866
|
-
children: /* @__PURE__ */
|
|
12903
|
+
return /* @__PURE__ */ jsx65(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12904
|
+
children: /* @__PURE__ */ jsx65("svg", {
|
|
12867
12905
|
ref: ref,
|
|
12868
12906
|
className: "w-full h-full",
|
|
12869
12907
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12871,7 +12909,7 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12871
12909
|
fill: "none",
|
|
12872
12910
|
strokeWidth: "1.5",
|
|
12873
12911
|
stroke: "currentColor",
|
|
12874
|
-
children: /* @__PURE__ */
|
|
12912
|
+
children: /* @__PURE__ */ jsx65("path", {
|
|
12875
12913
|
strokeLinecap: "round",
|
|
12876
12914
|
strokeLinejoin: "round",
|
|
12877
12915
|
d: "M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"
|
|
@@ -12881,20 +12919,20 @@ var WindowIcon = React45.forwardRef(function(props, ref) {
|
|
|
12881
12919
|
});
|
|
12882
12920
|
// src/components/icons/outline/CheckCircleIcon.tsx
|
|
12883
12921
|
import * as React46 from "react";
|
|
12884
|
-
import { jsx as
|
|
12922
|
+
import { jsx as jsx66, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
12885
12923
|
var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
12886
|
-
return /* @__PURE__ */
|
|
12887
|
-
children: /* @__PURE__ */
|
|
12924
|
+
return /* @__PURE__ */ jsx66(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12925
|
+
children: /* @__PURE__ */ jsxs36("svg", {
|
|
12888
12926
|
ref: ref,
|
|
12889
12927
|
className: "w-full h-full",
|
|
12890
12928
|
viewBox: "0 0 24 24",
|
|
12891
12929
|
fill: "currentColor",
|
|
12892
12930
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12893
12931
|
children: [
|
|
12894
|
-
/* @__PURE__ */
|
|
12932
|
+
/* @__PURE__ */ jsx66("path", {
|
|
12895
12933
|
d: "M15.4359 9.1397C15.773 9.38046 15.8511 9.84887 15.6103 10.1859L11.8603 15.4359C11.7322 15.6153 11.5316 15.7293 11.3119 15.7474C11.0921 15.7656 10.8756 15.6862 10.7197 15.5303L8.46967 13.2803C8.17678 12.9874 8.17678 12.5126 8.46967 12.2197C8.76256 11.9268 9.23744 11.9268 9.53033 12.2197L11.1543 13.8436L14.3897 9.31407C14.6305 8.97701 15.0989 8.89894 15.4359 9.1397Z"
|
|
12896
12934
|
}),
|
|
12897
|
-
/* @__PURE__ */
|
|
12935
|
+
/* @__PURE__ */ jsx66("path", {
|
|
12898
12936
|
fillRule: "evenodd",
|
|
12899
12937
|
clipRule: "evenodd",
|
|
12900
12938
|
d: "M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z"
|
|
@@ -12905,10 +12943,10 @@ var CheckCircleIcon4 = React46.forwardRef(function(props, ref) {
|
|
|
12905
12943
|
});
|
|
12906
12944
|
// src/components/icons/outline/PencilSquareIcon.tsx
|
|
12907
12945
|
import * as React47 from "react";
|
|
12908
|
-
import { jsx as
|
|
12946
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
12909
12947
|
var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
12910
|
-
return /* @__PURE__ */
|
|
12911
|
-
children: /* @__PURE__ */
|
|
12948
|
+
return /* @__PURE__ */ jsx67(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12949
|
+
children: /* @__PURE__ */ jsx67("svg", {
|
|
12912
12950
|
ref: ref,
|
|
12913
12951
|
className: "w-full h-full",
|
|
12914
12952
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12916,7 +12954,7 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12916
12954
|
viewBox: "0 0 24 24",
|
|
12917
12955
|
strokeWidth: "1.5",
|
|
12918
12956
|
stroke: "currentColor",
|
|
12919
|
-
children: /* @__PURE__ */
|
|
12957
|
+
children: /* @__PURE__ */ jsx67("path", {
|
|
12920
12958
|
strokeLinecap: "round",
|
|
12921
12959
|
strokeLinejoin: "round",
|
|
12922
12960
|
d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
|
|
@@ -12926,34 +12964,34 @@ var PencilSquareIcon = React47.forwardRef(function(props, ref) {
|
|
|
12926
12964
|
});
|
|
12927
12965
|
// src/components/icons/outline/ConfigIcon.tsx
|
|
12928
12966
|
import * as React48 from "react";
|
|
12929
|
-
import { jsx as
|
|
12967
|
+
import { jsx as jsx68, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
12930
12968
|
var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
12931
|
-
return /* @__PURE__ */
|
|
12932
|
-
children: /* @__PURE__ */
|
|
12969
|
+
return /* @__PURE__ */ jsx68(Icon, _object_spread_props(_object_spread({}, props), {
|
|
12970
|
+
children: /* @__PURE__ */ jsx68("svg", {
|
|
12933
12971
|
width: "18",
|
|
12934
12972
|
height: "18",
|
|
12935
12973
|
viewBox: "0 0 18 18",
|
|
12936
12974
|
fill: "none",
|
|
12937
12975
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12938
12976
|
className: "cursor-pointer",
|
|
12939
|
-
children: /* @__PURE__ */
|
|
12977
|
+
children: /* @__PURE__ */ jsx68("g", {
|
|
12940
12978
|
id: "wrapper",
|
|
12941
|
-
children: /* @__PURE__ */
|
|
12979
|
+
children: /* @__PURE__ */ jsxs37("g", {
|
|
12942
12980
|
id: "Union",
|
|
12943
12981
|
children: [
|
|
12944
|
-
/* @__PURE__ */
|
|
12982
|
+
/* @__PURE__ */ jsx68("path", {
|
|
12945
12983
|
fillRule: "evenodd",
|
|
12946
12984
|
clipRule: "evenodd",
|
|
12947
12985
|
d: "M4.5 2.25C4.81066 2.25 5.0625 2.50184 5.0625 2.8125L5.0625 9.65852C5.71792 9.89018 6.1875 10.5153 6.1875 11.25C6.1875 11.9847 5.71792 12.6098 5.0625 12.8415V15.1875C5.0625 15.4982 4.81066 15.75 4.5 15.75C4.18934 15.75 3.9375 15.4982 3.9375 15.1875V12.8415C3.28208 12.6098 2.8125 11.9847 2.8125 11.25C2.8125 10.5153 3.28208 9.89018 3.9375 9.65852L3.9375 2.8125C3.9375 2.50184 4.18934 2.25 4.5 2.25ZM4.5 10.6875C4.18934 10.6875 3.9375 10.9393 3.9375 11.25C3.9375 11.5607 4.18934 11.8125 4.5 11.8125C4.81066 11.8125 5.0625 11.5607 5.0625 11.25C5.0625 10.9393 4.81066 10.6875 4.5 10.6875Z",
|
|
12948
12986
|
fill: "#6D7175"
|
|
12949
12987
|
}),
|
|
12950
|
-
/* @__PURE__ */
|
|
12988
|
+
/* @__PURE__ */ jsx68("path", {
|
|
12951
12989
|
fillRule: "evenodd",
|
|
12952
12990
|
clipRule: "evenodd",
|
|
12953
12991
|
d: "M9 2.25C9.31066 2.25 9.5625 2.50184 9.5625 2.8125V5.15852C10.2179 5.39018 10.6875 6.01525 10.6875 6.75C10.6875 7.48475 10.2179 8.10982 9.5625 8.34148V15.1875C9.5625 15.4982 9.31066 15.75 9 15.75C8.68934 15.75 8.4375 15.4982 8.4375 15.1875V8.34148C7.78208 8.10982 7.3125 7.48475 7.3125 6.75C7.3125 6.01525 7.78208 5.39018 8.4375 5.15852V2.8125C8.4375 2.50184 8.68934 2.25 9 2.25ZM9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75C8.4375 7.06066 8.68934 7.3125 9 7.3125C9.31066 7.3125 9.5625 7.06066 9.5625 6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875Z",
|
|
12954
12992
|
fill: "#6D7175"
|
|
12955
12993
|
}),
|
|
12956
|
-
/* @__PURE__ */
|
|
12994
|
+
/* @__PURE__ */ jsx68("path", {
|
|
12957
12995
|
fillRule: "evenodd",
|
|
12958
12996
|
clipRule: "evenodd",
|
|
12959
12997
|
d: "M13.5 2.25C13.8107 2.25 14.0625 2.50184 14.0625 2.8125V9.65852C14.7179 9.89018 15.1875 10.5153 15.1875 11.25C15.1875 11.9847 14.7179 12.6098 14.0625 12.8415L14.0625 15.1875C14.0625 15.4982 13.8107 15.75 13.5 15.75C13.1893 15.75 12.9375 15.4982 12.9375 15.1875L12.9375 12.8415C12.2821 12.6098 11.8125 11.9847 11.8125 11.25C11.8125 10.5153 12.2821 9.89018 12.9375 9.65852V2.8125C12.9375 2.50184 13.1893 2.25 13.5 2.25ZM13.5 10.6875C13.1893 10.6875 12.9375 10.9393 12.9375 11.25C12.9375 11.5607 13.1893 11.8125 13.5 11.8125C13.8107 11.8125 14.0625 11.5607 14.0625 11.25C14.0625 10.9393 13.8107 10.6875 13.5 10.6875Z",
|
|
@@ -12967,16 +13005,16 @@ var ConfigIcon = React48.forwardRef(function(props, ref) {
|
|
|
12967
13005
|
});
|
|
12968
13006
|
// src/components/icons/solid/CaretDownIcon.tsx
|
|
12969
13007
|
import * as React49 from "react";
|
|
12970
|
-
import { jsx as
|
|
13008
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
12971
13009
|
var CaretDownIcon = React49.forwardRef(function(props, ref) {
|
|
12972
|
-
return /* @__PURE__ */
|
|
12973
|
-
children: /* @__PURE__ */
|
|
13010
|
+
return /* @__PURE__ */ jsx69(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13011
|
+
children: /* @__PURE__ */ jsx69("svg", {
|
|
12974
13012
|
ref: ref,
|
|
12975
13013
|
className: "w-full h-full",
|
|
12976
13014
|
viewBox: "0 0 24 24",
|
|
12977
13015
|
fill: "currentColor",
|
|
12978
13016
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12979
|
-
children: /* @__PURE__ */
|
|
13017
|
+
children: /* @__PURE__ */ jsx69("path", {
|
|
12980
13018
|
d: "M13.5119 17.7818C12.7143 18.7028 11.2857 18.7028 10.4881 17.7818L2.74159 8.83689C1.61984 7.54161 2.53995 5.52759 4.25345 5.52759L19.7466 5.52759C21.4601 5.52759 22.3802 7.54161 21.2584 8.8369L13.5119 17.7818Z"
|
|
12981
13019
|
})
|
|
12982
13020
|
})
|
|
@@ -12984,20 +13022,20 @@ var CaretDownIcon = React49.forwardRef(function(props, ref) {
|
|
|
12984
13022
|
});
|
|
12985
13023
|
// src/components/icons/solid/CodeIcon.tsx
|
|
12986
13024
|
import * as React50 from "react";
|
|
12987
|
-
import { jsx as
|
|
13025
|
+
import { jsx as jsx70, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
12988
13026
|
var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
12989
|
-
return /* @__PURE__ */
|
|
12990
|
-
children: /* @__PURE__ */
|
|
13027
|
+
return /* @__PURE__ */ jsx70(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13028
|
+
children: /* @__PURE__ */ jsxs38("svg", {
|
|
12991
13029
|
ref: ref,
|
|
12992
13030
|
className: "w-full h-full",
|
|
12993
13031
|
viewBox: "0 0 24 24",
|
|
12994
13032
|
fill: "currentColor",
|
|
12995
13033
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12996
13034
|
children: [
|
|
12997
|
-
/* @__PURE__ */
|
|
13035
|
+
/* @__PURE__ */ jsx70("path", {
|
|
12998
13036
|
d: "M15.3995 7.375C15.6066 7.01628 15.4837 6.55759 15.125 6.35048C14.7663 6.14337 14.3076 6.26628 14.1005 6.625L8.35048 16.5843C8.14337 16.943 8.26628 17.4017 8.625 17.6088C8.98372 17.8159 9.44241 17.693 9.64952 17.3343L15.3995 7.375Z"
|
|
12999
13037
|
}),
|
|
13000
|
-
/* @__PURE__ */
|
|
13038
|
+
/* @__PURE__ */ jsx70("path", {
|
|
13001
13039
|
fillRule: "evenodd",
|
|
13002
13040
|
clipRule: "evenodd",
|
|
13003
13041
|
d: "M6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H6ZM4.5 6C4.5 5.17157 5.17157 4.5 6 4.5H18C18.8284 4.5 19.5 5.17157 19.5 6V18C19.5 18.8284 18.8284 19.5 18 19.5H6C5.17157 19.5 4.5 18.8284 4.5 18V6Z"
|
|
@@ -13008,16 +13046,16 @@ var CodeIcon = React50.forwardRef(function(props, ref) {
|
|
|
13008
13046
|
});
|
|
13009
13047
|
// src/components/icons/solid/DragIcon.tsx
|
|
13010
13048
|
import * as React51 from "react";
|
|
13011
|
-
import { jsx as
|
|
13049
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
13012
13050
|
var DragIcon = React51.forwardRef(function(props, ref) {
|
|
13013
|
-
return /* @__PURE__ */
|
|
13014
|
-
children: /* @__PURE__ */
|
|
13051
|
+
return /* @__PURE__ */ jsx71(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13052
|
+
children: /* @__PURE__ */ jsx71("svg", {
|
|
13015
13053
|
ref: ref,
|
|
13016
13054
|
className: "w-full h-full",
|
|
13017
13055
|
viewBox: "0 0 24 24",
|
|
13018
13056
|
fill: "currentColor",
|
|
13019
13057
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13020
|
-
children: /* @__PURE__ */
|
|
13058
|
+
children: /* @__PURE__ */ jsx71("path", {
|
|
13021
13059
|
fillRule: "evenodd",
|
|
13022
13060
|
clipRule: "evenodd",
|
|
13023
13061
|
d: "M7.5 5C7.5 4.17157 8.17157 3.5 9 3.5C9.82843 3.5 10.5 4.17157 10.5 5C10.5 5.82843 9.82843 6.5 9 6.5C8.17157 6.5 7.5 5.82843 7.5 5ZM13.5 5C13.5 4.17157 14.1716 3.5 15 3.5C15.8284 3.5 16.5 4.17157 16.5 5C16.5 5.82843 15.8284 6.5 15 6.5C14.1716 6.5 13.5 5.82843 13.5 5ZM7.5 12C7.5 11.1716 8.17157 10.5 9 10.5C9.82843 10.5 10.5 11.1716 10.5 12C10.5 12.8284 9.82843 13.5 9 13.5C8.17157 13.5 7.5 12.8284 7.5 12ZM13.5 12C13.5 11.1716 14.1716 10.5 15 10.5C15.8284 10.5 16.5 11.1716 16.5 12C16.5 12.8284 15.8284 13.5 15 13.5C14.1716 13.5 13.5 12.8284 13.5 12ZM7.5 19C7.5 18.1716 8.17157 17.5 9 17.5C9.82843 17.5 10.5 18.1716 10.5 19C10.5 19.8284 9.82843 20.5 9 20.5C8.17157 20.5 7.5 19.8284 7.5 19ZM13.5 19C13.5 18.1716 14.1716 17.5 15 17.5C15.8284 17.5 16.5 18.1716 16.5 19C16.5 19.8284 15.8284 20.5 15 20.5C14.1716 20.5 13.5 19.8284 13.5 19Z"
|
|
@@ -13027,21 +13065,21 @@ var DragIcon = React51.forwardRef(function(props, ref) {
|
|
|
13027
13065
|
});
|
|
13028
13066
|
// src/components/icons/solid/PhoneIcon.tsx
|
|
13029
13067
|
import * as React52 from "react";
|
|
13030
|
-
import { jsx as
|
|
13068
|
+
import { jsx as jsx72, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
13031
13069
|
var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
13032
|
-
return /* @__PURE__ */
|
|
13033
|
-
children: /* @__PURE__ */
|
|
13070
|
+
return /* @__PURE__ */ jsx72(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13071
|
+
children: /* @__PURE__ */ jsxs39("svg", {
|
|
13034
13072
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13035
13073
|
width: "20",
|
|
13036
13074
|
height: "20",
|
|
13037
13075
|
viewBox: "0 0 20 20",
|
|
13038
13076
|
fill: "none",
|
|
13039
13077
|
children: [
|
|
13040
|
-
/* @__PURE__ */
|
|
13078
|
+
/* @__PURE__ */ jsx72("path", {
|
|
13041
13079
|
d: "M8.75 15.625C8.40482 15.625 8.125 15.9048 8.125 16.25C8.125 16.5952 8.40482 16.875 8.75 16.875H11.25C11.5952 16.875 11.875 16.5952 11.875 16.25C11.875 15.9048 11.5952 15.625 11.25 15.625H8.75Z",
|
|
13042
13080
|
fill: "#3E5CFA"
|
|
13043
13081
|
}),
|
|
13044
|
-
/* @__PURE__ */
|
|
13082
|
+
/* @__PURE__ */ jsx72("path", {
|
|
13045
13083
|
fillRule: "evenodd",
|
|
13046
13084
|
clipRule: "evenodd",
|
|
13047
13085
|
d: "M7.1875 0.625C5.6342 0.625 4.375 1.8842 4.375 3.4375V16.5625C4.375 18.1158 5.6342 19.375 7.1875 19.375H12.8125C14.3658 19.375 15.625 18.1158 15.625 16.5625V3.4375C15.625 1.8842 14.3658 0.625 12.8125 0.625H7.1875ZM6.25 3.4375C6.25 2.91973 6.66973 2.5 7.1875 2.5H8.125V2.8125C8.125 3.33027 8.54473 3.75 9.0625 3.75H10.9375C11.4553 3.75 11.875 3.33027 11.875 2.8125V2.5H12.8125C13.3303 2.5 13.75 2.91973 13.75 3.4375V16.5625C13.75 17.0803 13.3303 17.5 12.8125 17.5H7.1875C6.66973 17.5 6.25 17.0803 6.25 16.5625V3.4375Z",
|
|
@@ -13053,16 +13091,16 @@ var PhoneIcon = React52.forwardRef(function(props, ref) {
|
|
|
13053
13091
|
});
|
|
13054
13092
|
// src/components/icons/solid/RectangleGroupIcon.tsx
|
|
13055
13093
|
import * as React53 from "react";
|
|
13056
|
-
import { jsx as
|
|
13094
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
13057
13095
|
var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
13058
|
-
return /* @__PURE__ */
|
|
13059
|
-
children: /* @__PURE__ */
|
|
13096
|
+
return /* @__PURE__ */ jsx73(Icon, _object_spread_props(_object_spread({}, props), {
|
|
13097
|
+
children: /* @__PURE__ */ jsx73("svg", {
|
|
13060
13098
|
ref: ref,
|
|
13061
13099
|
className: "w-full h-full",
|
|
13062
13100
|
viewBox: "0 0 24 24",
|
|
13063
13101
|
fill: "currentColor",
|
|
13064
13102
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13065
|
-
children: /* @__PURE__ */
|
|
13103
|
+
children: /* @__PURE__ */ jsx73("path", {
|
|
13066
13104
|
fillRule: "evenodd",
|
|
13067
13105
|
clipRule: "evenodd",
|
|
13068
13106
|
d: "M1.5 7.125C1.5 6.08947 2.33947 5.25 3.375 5.25H9.375C10.4105 5.25 11.25 6.08947 11.25 7.125V10.875C11.25 11.9105 10.4105 12.75 9.375 12.75H3.375C2.33947 12.75 1.5 11.9105 1.5 10.875V7.125ZM13.5 8.625C13.5 7.58947 14.3395 6.75 15.375 6.75H20.625C21.6605 6.75 22.5 7.58947 22.5 8.625V16.875C22.5 17.9105 21.6605 18.75 20.625 18.75H15.375C14.3395 18.75 13.5 17.9105 13.5 16.875V8.625ZM3 16.125C3 15.0895 3.83947 14.25 4.875 14.25H10.125C11.1605 14.25 12 15.0895 12 16.125V18.375C12 19.4105 11.1605 20.25 10.125 20.25H4.875C3.83947 20.25 3 19.4105 3 18.375V16.125Z"
|
|
@@ -13070,7 +13108,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
|
|
|
13070
13108
|
})
|
|
13071
13109
|
}));
|
|
13072
13110
|
});
|
|
13073
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon2 as ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NavigationBar, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, SecondaryNavigationBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs, TabsContent, TabsList, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
|
|
13111
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon2 as ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NavigationBar, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, SecondaryNavigationBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs, TabsContent, TabsList, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
|
|
13074
13112
|
|
|
13075
13113
|
decimal.js/decimal.mjs:
|
|
13076
13114
|
(*!
|