@cnc-ti/layout-basic 8.3.8 → 8.3.10
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.css +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +89 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +88 -55
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10063,7 +10063,7 @@ function Sidebar({ children, ...rest }) {
|
|
|
10063
10063
|
return /* @__PURE__ */ jsx26(Accordion.Root, { ...rest, children: /* @__PURE__ */ jsx26(
|
|
10064
10064
|
"div",
|
|
10065
10065
|
{
|
|
10066
|
-
className: "cnc-w-full cnc-h-screen-minus-70 cnc-flex cnc-flex-col cnc-py-8 cnc-bg-primary-800 cnc-px-5 \
|
|
10066
|
+
className: "cnc-w-full cnc-h-screen-minus-70 cnc-flex cnc-flex-col cnc-py-8 cnc-bg-primary-800 cnc-px-5 \n cnc-scroll-smooth cnc-overflow-y-auto\n [&::-webkit-scrollbar]:cnc-w-1\n [&::-webkit-scrollbar-track]:cnc-bg-brand-blue-500\n [&::-webkit-scrollbar-thumb]:cnc-rounded\n [&::-webkit-scrollbar-thumb]:cnc-border\n [&::-webkit-scrollbar-thumb]:cnc-border-solid\n [&::-webkit-scrollbar-thumb]:cnc-border-brand-gray-400\n [&::-webkit-scrollbar-thumb]:cnc-bg-brand-gray-200\n cnc-sidebar-child-w-0",
|
|
10067
10067
|
children
|
|
10068
10068
|
}
|
|
10069
10069
|
) });
|
|
@@ -12095,8 +12095,39 @@ var Input = React74.forwardRef(
|
|
|
12095
12095
|
);
|
|
12096
12096
|
Input.displayName = "Input";
|
|
12097
12097
|
|
|
12098
|
+
// src/components/atoms/forms/checkbox.tsx
|
|
12099
|
+
import * as React75 from "react";
|
|
12100
|
+
import { jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
12101
|
+
var Checkbox = React75.forwardRef(
|
|
12102
|
+
({ className, id, label, ...props }, ref) => {
|
|
12103
|
+
console.log();
|
|
12104
|
+
const idGenerate = id ? id : label && `field-${Date.now()}-${Math.random() * 1e5}`;
|
|
12105
|
+
return /* @__PURE__ */ jsxs12("div", { className: "cnc-w-full cnc-flex cnc-flex-row cnc-items-baseline", children: [
|
|
12106
|
+
/* @__PURE__ */ jsx38(
|
|
12107
|
+
"input",
|
|
12108
|
+
{
|
|
12109
|
+
type: "checkbox",
|
|
12110
|
+
id: idGenerate,
|
|
12111
|
+
className: cn(className),
|
|
12112
|
+
ref,
|
|
12113
|
+
...props
|
|
12114
|
+
}
|
|
12115
|
+
),
|
|
12116
|
+
label && /* @__PURE__ */ jsx38(
|
|
12117
|
+
"label",
|
|
12118
|
+
{
|
|
12119
|
+
htmlFor: idGenerate,
|
|
12120
|
+
className: "cnc-block cnc-text-sm cnc-mb-1 cnc-font-medium cnc-text-brand-gray-600 cnc-ml-2",
|
|
12121
|
+
children: label
|
|
12122
|
+
}
|
|
12123
|
+
)
|
|
12124
|
+
] });
|
|
12125
|
+
}
|
|
12126
|
+
);
|
|
12127
|
+
Checkbox.displayName = "Checkbox";
|
|
12128
|
+
|
|
12098
12129
|
// src/components/atoms/display/badge.tsx
|
|
12099
|
-
import { jsx as
|
|
12130
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
12100
12131
|
var Badge = ({
|
|
12101
12132
|
variant = "default",
|
|
12102
12133
|
rounded = true,
|
|
@@ -12118,7 +12149,7 @@ var Badge = ({
|
|
|
12118
12149
|
md: "cnc-text-sm cnc-px-3 cnc-py-1",
|
|
12119
12150
|
lg: "cnc-text-base cnc-px-4 cnc-py-2"
|
|
12120
12151
|
};
|
|
12121
|
-
return /* @__PURE__ */
|
|
12152
|
+
return /* @__PURE__ */ jsx39(
|
|
12122
12153
|
"span",
|
|
12123
12154
|
{
|
|
12124
12155
|
className: cn(
|
|
@@ -12134,12 +12165,12 @@ var Badge = ({
|
|
|
12134
12165
|
};
|
|
12135
12166
|
|
|
12136
12167
|
// src/components/molecules/card.tsx
|
|
12137
|
-
import { jsx as
|
|
12168
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
12138
12169
|
function Card({
|
|
12139
12170
|
className,
|
|
12140
12171
|
...rest
|
|
12141
12172
|
}) {
|
|
12142
|
-
return /* @__PURE__ */
|
|
12173
|
+
return /* @__PURE__ */ jsx40(
|
|
12143
12174
|
"div",
|
|
12144
12175
|
{
|
|
12145
12176
|
className: cn(
|
|
@@ -12154,7 +12185,7 @@ function CardHeader({
|
|
|
12154
12185
|
className,
|
|
12155
12186
|
...rest
|
|
12156
12187
|
}) {
|
|
12157
|
-
return /* @__PURE__ */
|
|
12188
|
+
return /* @__PURE__ */ jsx40("div", { className: "cnc-px-6 cnc-pt-6", children: /* @__PURE__ */ jsx40(
|
|
12158
12189
|
"div",
|
|
12159
12190
|
{
|
|
12160
12191
|
className: cn(
|
|
@@ -12169,13 +12200,13 @@ function CardContent({
|
|
|
12169
12200
|
className,
|
|
12170
12201
|
...rest
|
|
12171
12202
|
}) {
|
|
12172
|
-
return /* @__PURE__ */
|
|
12203
|
+
return /* @__PURE__ */ jsx40("div", { className: cn("cnc-px-6 cnc-py-2", className), ...rest });
|
|
12173
12204
|
}
|
|
12174
12205
|
function CardFooter({
|
|
12175
12206
|
className,
|
|
12176
12207
|
...rest
|
|
12177
12208
|
}) {
|
|
12178
|
-
return /* @__PURE__ */
|
|
12209
|
+
return /* @__PURE__ */ jsx40(
|
|
12179
12210
|
"div",
|
|
12180
12211
|
{
|
|
12181
12212
|
className: cn(
|
|
@@ -12190,7 +12221,7 @@ function CardFooterItem({
|
|
|
12190
12221
|
className,
|
|
12191
12222
|
...rest
|
|
12192
12223
|
}) {
|
|
12193
|
-
return /* @__PURE__ */
|
|
12224
|
+
return /* @__PURE__ */ jsx40(
|
|
12194
12225
|
"div",
|
|
12195
12226
|
{
|
|
12196
12227
|
className: cn(
|
|
@@ -12204,7 +12235,7 @@ function CardFooterItem({
|
|
|
12204
12235
|
|
|
12205
12236
|
// src/components/molecules/collapsible.tsx
|
|
12206
12237
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
12207
|
-
import { jsx as
|
|
12238
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
12208
12239
|
var Collapsible = CollapsiblePrimitive.Root;
|
|
12209
12240
|
var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
|
|
12210
12241
|
var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
|
@@ -12212,16 +12243,16 @@ var AnimatedCollapsibleContent = ({
|
|
|
12212
12243
|
className,
|
|
12213
12244
|
...rest
|
|
12214
12245
|
}) => {
|
|
12215
|
-
return /* @__PURE__ */
|
|
12246
|
+
return /* @__PURE__ */ jsx41(CollapsibleContent2, { className: "cnc-collapsible-content", ...rest });
|
|
12216
12247
|
};
|
|
12217
12248
|
|
|
12218
12249
|
// src/components/molecules/display/page-header.tsx
|
|
12219
|
-
import { jsx as
|
|
12250
|
+
import { jsx as jsx42, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
12220
12251
|
function PageHeader({
|
|
12221
12252
|
children,
|
|
12222
12253
|
className
|
|
12223
12254
|
}) {
|
|
12224
|
-
return /* @__PURE__ */
|
|
12255
|
+
return /* @__PURE__ */ jsx42(
|
|
12225
12256
|
"header",
|
|
12226
12257
|
{
|
|
12227
12258
|
className: cn(
|
|
@@ -12236,7 +12267,7 @@ function PageHeaderTitleContent({
|
|
|
12236
12267
|
children,
|
|
12237
12268
|
className
|
|
12238
12269
|
}) {
|
|
12239
|
-
return /* @__PURE__ */
|
|
12270
|
+
return /* @__PURE__ */ jsx42(
|
|
12240
12271
|
"div",
|
|
12241
12272
|
{
|
|
12242
12273
|
className: cn(
|
|
@@ -12253,16 +12284,16 @@ function PageHeaderTitle({
|
|
|
12253
12284
|
titleAs = "h1"
|
|
12254
12285
|
}) {
|
|
12255
12286
|
const ComponentTitle = titleAs;
|
|
12256
|
-
return /* @__PURE__ */
|
|
12257
|
-
/* @__PURE__ */
|
|
12258
|
-
description && /* @__PURE__ */
|
|
12287
|
+
return /* @__PURE__ */ jsxs13("div", { children: [
|
|
12288
|
+
/* @__PURE__ */ jsx42(ComponentTitle, { className: "cnc-text-2xl cnc-font-semibold cnc-text-brand-blue-600", children: title }),
|
|
12289
|
+
description && /* @__PURE__ */ jsx42("p", { className: "cnc-text-sm cnc-text-brand-gray-500", children: description })
|
|
12259
12290
|
] });
|
|
12260
12291
|
}
|
|
12261
12292
|
function PageHeaderActionsContainer({
|
|
12262
12293
|
children,
|
|
12263
12294
|
className
|
|
12264
12295
|
}) {
|
|
12265
|
-
return /* @__PURE__ */
|
|
12296
|
+
return /* @__PURE__ */ jsx42(
|
|
12266
12297
|
"div",
|
|
12267
12298
|
{
|
|
12268
12299
|
className: cn(
|
|
@@ -12274,14 +12305,14 @@ function PageHeaderActionsContainer({
|
|
|
12274
12305
|
);
|
|
12275
12306
|
}
|
|
12276
12307
|
function Title2({ title, as: Component = "h1" }) {
|
|
12277
|
-
return /* @__PURE__ */
|
|
12308
|
+
return /* @__PURE__ */ jsx42(Component, { className: "cnc-text-[24px] cnc-text-[#1F2C4D] cnc-font-bold cnc-mt-2 cnc-mb-4 text-center md:cnc-text-[28px] md:cnc-text-left", children: title });
|
|
12278
12309
|
}
|
|
12279
12310
|
|
|
12280
12311
|
// src/components/molecules/forms/combobox.tsx
|
|
12281
|
-
import * as
|
|
12312
|
+
import * as React80 from "react";
|
|
12282
12313
|
|
|
12283
12314
|
// src/components/molecules/overlay/command.tsx
|
|
12284
|
-
import * as
|
|
12315
|
+
import * as React78 from "react";
|
|
12285
12316
|
|
|
12286
12317
|
// ../../node_modules/cmdk/dist/chunk-NZJY6EH4.mjs
|
|
12287
12318
|
var U = 1;
|
|
@@ -12314,10 +12345,10 @@ function W(_, C, h) {
|
|
|
12314
12345
|
import * as t from "react";
|
|
12315
12346
|
|
|
12316
12347
|
// ../../node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
12317
|
-
import * as
|
|
12348
|
+
import * as React76 from "react";
|
|
12318
12349
|
import * as ReactDOM8 from "react-dom";
|
|
12319
12350
|
import { createSlot as createSlot5 } from "@radix-ui/react-slot";
|
|
12320
|
-
import { jsx as
|
|
12351
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
12321
12352
|
var NODES4 = [
|
|
12322
12353
|
"a",
|
|
12323
12354
|
"button",
|
|
@@ -12339,20 +12370,20 @@ var NODES4 = [
|
|
|
12339
12370
|
];
|
|
12340
12371
|
var Primitive4 = NODES4.reduce((primitive, node) => {
|
|
12341
12372
|
const Slot8 = createSlot5(`Primitive.${node}`);
|
|
12342
|
-
const Node2 =
|
|
12373
|
+
const Node2 = React76.forwardRef((props, forwardedRef) => {
|
|
12343
12374
|
const { asChild, ...primitiveProps } = props;
|
|
12344
12375
|
const Comp = asChild ? Slot8 : node;
|
|
12345
12376
|
if (typeof window !== "undefined") {
|
|
12346
12377
|
window[Symbol.for("radix-ui")] = true;
|
|
12347
12378
|
}
|
|
12348
|
-
return /* @__PURE__ */
|
|
12379
|
+
return /* @__PURE__ */ jsx43(Comp, { ...primitiveProps, ref: forwardedRef });
|
|
12349
12380
|
});
|
|
12350
12381
|
Node2.displayName = `Primitive.${node}`;
|
|
12351
12382
|
return { ...primitive, [node]: Node2 };
|
|
12352
12383
|
}, {});
|
|
12353
12384
|
|
|
12354
12385
|
// ../../node_modules/cmdk/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
12355
|
-
import * as
|
|
12386
|
+
import * as React77 from "react";
|
|
12356
12387
|
function setRef4(ref, value) {
|
|
12357
12388
|
if (typeof ref === "function") {
|
|
12358
12389
|
return ref(value);
|
|
@@ -12702,8 +12733,8 @@ function B2({ asChild: r2, children: o }, n) {
|
|
|
12702
12733
|
var Te = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
|
|
12703
12734
|
|
|
12704
12735
|
// src/components/molecules/overlay/command.tsx
|
|
12705
|
-
import { jsx as
|
|
12706
|
-
var Command =
|
|
12736
|
+
import { jsx as jsx44, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
12737
|
+
var Command = React78.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
12707
12738
|
_e,
|
|
12708
12739
|
{
|
|
12709
12740
|
ref,
|
|
@@ -12716,16 +12747,16 @@ var Command = React77.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
12716
12747
|
));
|
|
12717
12748
|
Command.displayName = _e.displayName;
|
|
12718
12749
|
var CommandDialog = ({ children, ...props }) => {
|
|
12719
|
-
return /* @__PURE__ */
|
|
12750
|
+
return /* @__PURE__ */ jsx44(Dialog2, { ...props, children: /* @__PURE__ */ jsx44(DialogContent2, { className: "cnc-overflow-hidden cnc-p-0", children: /* @__PURE__ */ jsx44(Command, { className: "cnc-[&_cmdk-group-heading]:cnc-px-2 cnc-[&_cmdk-group-heading]:cnc-font-medium cnc-[&_cmdk-group-heading]:cnc-text-muted-foreground cnc-[&_cmdk-group]:not([hidden])~[cmdk-group]:cnc-pt-0 cnc-[&_cmdk-group]:cnc-px-2 cnc-[&_cmdk-input-wrapper]_svg:cnc-h-5 cnc-[&_cmdk-input-wrapper]_svg:cnc-w-5 cnc-[&_cmdk-input]:cnc-h-12 cnc-[&_cmdk-item]:cnc-px-2 cnc-[&_cmdk-item]:cnc-py-3 cnc-[&_cmdk-item]_svg:cnc-h-5 cnc-[&_cmdk-item]_svg:cnc-w-5", children }) }) });
|
|
12720
12751
|
};
|
|
12721
|
-
var CommandInput =
|
|
12752
|
+
var CommandInput = React78.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs14(
|
|
12722
12753
|
"div",
|
|
12723
12754
|
{
|
|
12724
12755
|
className: "cnc-flex cnc-items-center cnc-border-b cnc-px-3",
|
|
12725
12756
|
"cmdk-input-wrapper": "",
|
|
12726
12757
|
children: [
|
|
12727
|
-
/* @__PURE__ */
|
|
12728
|
-
/* @__PURE__ */
|
|
12758
|
+
/* @__PURE__ */ jsx44(Search, { className: "cnc-mr-2 cnc-h-4 cnc-w-4 cnc-shrink-0 cnc-opacity-50" }),
|
|
12759
|
+
/* @__PURE__ */ jsx44(
|
|
12729
12760
|
_e.Input,
|
|
12730
12761
|
{
|
|
12731
12762
|
ref,
|
|
@@ -12740,7 +12771,7 @@ var CommandInput = React77.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
12740
12771
|
}
|
|
12741
12772
|
));
|
|
12742
12773
|
CommandInput.displayName = _e.Input.displayName;
|
|
12743
|
-
var CommandList =
|
|
12774
|
+
var CommandList = React78.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
12744
12775
|
_e.List,
|
|
12745
12776
|
{
|
|
12746
12777
|
ref,
|
|
@@ -12752,7 +12783,7 @@ var CommandList = React77.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
12752
12783
|
}
|
|
12753
12784
|
));
|
|
12754
12785
|
CommandList.displayName = _e.List.displayName;
|
|
12755
|
-
var CommandEmpty =
|
|
12786
|
+
var CommandEmpty = React78.forwardRef((props, ref) => /* @__PURE__ */ jsx44(
|
|
12756
12787
|
_e.Empty,
|
|
12757
12788
|
{
|
|
12758
12789
|
ref,
|
|
@@ -12761,7 +12792,7 @@ var CommandEmpty = React77.forwardRef((props, ref) => /* @__PURE__ */ jsx43(
|
|
|
12761
12792
|
}
|
|
12762
12793
|
));
|
|
12763
12794
|
CommandEmpty.displayName = _e.Empty.displayName;
|
|
12764
|
-
var CommandGroup =
|
|
12795
|
+
var CommandGroup = React78.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
12765
12796
|
_e.Group,
|
|
12766
12797
|
{
|
|
12767
12798
|
ref,
|
|
@@ -12773,7 +12804,7 @@ var CommandGroup = React77.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
12773
12804
|
}
|
|
12774
12805
|
));
|
|
12775
12806
|
CommandGroup.displayName = _e.Group.displayName;
|
|
12776
|
-
var CommandSeparator =
|
|
12807
|
+
var CommandSeparator = React78.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
12777
12808
|
_e.Separator,
|
|
12778
12809
|
{
|
|
12779
12810
|
ref,
|
|
@@ -12782,7 +12813,7 @@ var CommandSeparator = React77.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
12782
12813
|
}
|
|
12783
12814
|
));
|
|
12784
12815
|
CommandSeparator.displayName = _e.Separator.displayName;
|
|
12785
|
-
var CommandItem =
|
|
12816
|
+
var CommandItem = React78.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
12786
12817
|
_e.Item,
|
|
12787
12818
|
{
|
|
12788
12819
|
ref,
|
|
@@ -12798,7 +12829,7 @@ var CommandShortcut = ({
|
|
|
12798
12829
|
className,
|
|
12799
12830
|
...props
|
|
12800
12831
|
}) => {
|
|
12801
|
-
return /* @__PURE__ */
|
|
12832
|
+
return /* @__PURE__ */ jsx44(
|
|
12802
12833
|
"span",
|
|
12803
12834
|
{
|
|
12804
12835
|
className: cn(
|
|
@@ -12812,11 +12843,11 @@ var CommandShortcut = ({
|
|
|
12812
12843
|
CommandShortcut.displayName = "CommandShortcut";
|
|
12813
12844
|
|
|
12814
12845
|
// src/components/molecules/overlay/popover.tsx
|
|
12815
|
-
import * as
|
|
12816
|
-
import { jsx as
|
|
12846
|
+
import * as React79 from "react";
|
|
12847
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
12817
12848
|
var Popover3 = Root24;
|
|
12818
12849
|
var PopoverTrigger3 = Trigger4;
|
|
12819
|
-
var PopoverContent3 =
|
|
12850
|
+
var PopoverContent3 = React79.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx45(Portal6, { children: /* @__PURE__ */ jsx45(
|
|
12820
12851
|
Content23,
|
|
12821
12852
|
{
|
|
12822
12853
|
ref,
|
|
@@ -12832,7 +12863,7 @@ var PopoverContent3 = React78.forwardRef(({ className, align = "center", sideOff
|
|
|
12832
12863
|
PopoverContent3.displayName = Content23.displayName;
|
|
12833
12864
|
|
|
12834
12865
|
// src/components/molecules/forms/combobox.tsx
|
|
12835
|
-
import { jsx as
|
|
12866
|
+
import { jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
12836
12867
|
function Combobox({
|
|
12837
12868
|
options,
|
|
12838
12869
|
placeholder = "",
|
|
@@ -12840,30 +12871,31 @@ function Combobox({
|
|
|
12840
12871
|
onChange,
|
|
12841
12872
|
value = ""
|
|
12842
12873
|
}) {
|
|
12843
|
-
const [open, setOpen] =
|
|
12844
|
-
return /* @__PURE__ */
|
|
12845
|
-
/* @__PURE__ */
|
|
12846
|
-
|
|
12874
|
+
const [open, setOpen] = React80.useState(false);
|
|
12875
|
+
return /* @__PURE__ */ jsxs15(Popover3, { open, onOpenChange: setOpen, children: [
|
|
12876
|
+
/* @__PURE__ */ jsx46(PopoverTrigger3, { asChild: true, children: /* @__PURE__ */ jsxs15(
|
|
12877
|
+
Button,
|
|
12847
12878
|
{
|
|
12879
|
+
variant: "outline",
|
|
12848
12880
|
role: "combobox",
|
|
12849
12881
|
"aria-expanded": open,
|
|
12850
|
-
className: "cnc-
|
|
12882
|
+
className: "cnc-w-full cnc-justify-between",
|
|
12851
12883
|
children: [
|
|
12852
12884
|
value ? options?.find((framework) => framework.value === value)?.label : placeholder,
|
|
12853
|
-
/* @__PURE__ */
|
|
12885
|
+
/* @__PURE__ */ jsx46(ChevronsUpDown, { className: "cnc-ml-2 cnc-h-4 cnc-w-4 cnc-shrink-0 cnc-opacity-50" })
|
|
12854
12886
|
]
|
|
12855
12887
|
}
|
|
12856
12888
|
) }),
|
|
12857
|
-
/* @__PURE__ */
|
|
12889
|
+
/* @__PURE__ */ jsx46(
|
|
12858
12890
|
PopoverContent3,
|
|
12859
12891
|
{
|
|
12860
12892
|
align: "start",
|
|
12861
12893
|
className: "cnc-w-[--radix-popover-trigger-width] cnc-p-0",
|
|
12862
|
-
children: /* @__PURE__ */
|
|
12863
|
-
/* @__PURE__ */
|
|
12864
|
-
/* @__PURE__ */
|
|
12865
|
-
/* @__PURE__ */
|
|
12866
|
-
/* @__PURE__ */
|
|
12894
|
+
children: /* @__PURE__ */ jsxs15(Command, { children: [
|
|
12895
|
+
/* @__PURE__ */ jsx46(CommandInput, { placeholder: command?.placeholder }),
|
|
12896
|
+
/* @__PURE__ */ jsxs15(CommandList, { children: [
|
|
12897
|
+
/* @__PURE__ */ jsx46(CommandEmpty, { children: command?.emptyMessage ?? "Nenhum item encontrado" }),
|
|
12898
|
+
/* @__PURE__ */ jsx46(CommandGroup, { children: options?.map((option) => /* @__PURE__ */ jsxs15(
|
|
12867
12899
|
CommandItem,
|
|
12868
12900
|
{
|
|
12869
12901
|
value: option.value,
|
|
@@ -12874,7 +12906,7 @@ function Combobox({
|
|
|
12874
12906
|
},
|
|
12875
12907
|
keywords: [option.value, option.label],
|
|
12876
12908
|
children: [
|
|
12877
|
-
/* @__PURE__ */
|
|
12909
|
+
/* @__PURE__ */ jsx46(
|
|
12878
12910
|
Check,
|
|
12879
12911
|
{
|
|
12880
12912
|
className: cn(
|
|
@@ -12903,6 +12935,7 @@ export {
|
|
|
12903
12935
|
CardFooter,
|
|
12904
12936
|
CardFooterItem,
|
|
12905
12937
|
CardHeader,
|
|
12938
|
+
Checkbox,
|
|
12906
12939
|
Collapsible,
|
|
12907
12940
|
AnimatedCollapsibleContent as CollapsibleContent,
|
|
12908
12941
|
CollapsibleTrigger2 as CollapsibleTrigger,
|