@algodomain/smart-forms 0.1.10 → 0.1.12
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/{SmartFormProvider-BdyRQakk.d.cts → SmartFormProvider-DtK3qRsV.d.cts} +8 -2
- package/dist/{SmartFormProvider-BdyRQakk.d.ts → SmartFormProvider-DtK3qRsV.d.ts} +8 -2
- package/dist/{chunk-WUYS7DMR.cjs → chunk-AEN4A4ST.cjs} +49 -12
- package/dist/chunk-AEN4A4ST.cjs.map +1 -0
- package/dist/{chunk-6VKQ7EMR.js → chunk-DYTQTHGE.js} +50 -13
- package/dist/chunk-DYTQTHGE.js.map +1 -0
- package/dist/{chunk-4XK6HAJ2.js → chunk-N3SIQIJR.js} +48 -18
- package/dist/chunk-N3SIQIJR.js.map +1 -0
- package/dist/{chunk-DRMVY7TX.cjs → chunk-TX7JD2XS.cjs} +135 -105
- package/dist/chunk-TX7JD2XS.cjs.map +1 -0
- package/dist/fields.cjs +124 -114
- package/dist/fields.cjs.map +1 -1
- package/dist/fields.d.cts +1 -1
- package/dist/fields.d.ts +1 -1
- package/dist/fields.js +27 -17
- package/dist/fields.js.map +1 -1
- package/dist/index.cjs +79 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +32 -23
- package/dist/index.js.map +1 -1
- package/dist/opinionated.cjs +18 -18
- package/dist/opinionated.d.cts +1 -1
- package/dist/opinionated.d.ts +1 -1
- package/dist/opinionated.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-4XK6HAJ2.js.map +0 -1
- package/dist/chunk-6VKQ7EMR.js.map +0 -1
- package/dist/chunk-DRMVY7TX.cjs.map +0 -1
- package/dist/chunk-WUYS7DMR.cjs.map +0 -1
package/dist/fields.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkTX7JD2XS_cjs = require('./chunk-TX7JD2XS.cjs');
|
|
4
|
+
var chunkAEN4A4ST_cjs = require('./chunk-AEN4A4ST.cjs');
|
|
5
5
|
var React2 = require('react');
|
|
6
6
|
var lucideReact = require('lucide-react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
var zod = require('zod');
|
|
8
9
|
var SliderPrimitive = require('@radix-ui/react-slider');
|
|
9
10
|
|
|
10
11
|
function _interopNamespace(e) {
|
|
@@ -48,21 +49,22 @@ var SmartFileUpload = ({
|
|
|
48
49
|
disabled,
|
|
49
50
|
hidden
|
|
50
51
|
}) => {
|
|
51
|
-
const { formData, registerSubmitHook, unregisterSubmitHook } =
|
|
52
|
-
const { value, error, onChange, fieldRef, registerValidation } =
|
|
53
|
-
const fieldDetection =
|
|
52
|
+
const { formData, registerSubmitHook, unregisterSubmitHook } = chunkAEN4A4ST_cjs.useSmartForm();
|
|
53
|
+
const { value, error, onChange, fieldRef, registerValidation } = chunkAEN4A4ST_cjs.useFormField(field);
|
|
54
|
+
const fieldDetection = chunkAEN4A4ST_cjs.useFieldDetection();
|
|
54
55
|
const hasRegistered = React2.useRef(false);
|
|
55
56
|
const hasSetDefault = React2.useRef(false);
|
|
56
57
|
const inputRef = React2.useRef(null);
|
|
57
58
|
const isDisabled = typeof disabled === "function" ? disabled(formData) : disabled || false;
|
|
58
59
|
const isHidden = typeof hidden === "function" ? hidden(formData) : hidden || false;
|
|
59
60
|
if (isHidden) return null;
|
|
61
|
+
const displayName = label || field;
|
|
60
62
|
React2.useEffect(() => {
|
|
61
63
|
if (validation && !hasRegistered.current) {
|
|
62
64
|
hasRegistered.current = true;
|
|
63
|
-
registerValidation(field, validation);
|
|
65
|
+
registerValidation(field, validation, { label: displayName });
|
|
64
66
|
}
|
|
65
|
-
}, [validation, field, registerValidation]);
|
|
67
|
+
}, [validation, field, registerValidation, displayName]);
|
|
66
68
|
React2.useEffect(() => {
|
|
67
69
|
if (fieldDetection?.registerField) {
|
|
68
70
|
fieldDetection.registerField(field);
|
|
@@ -186,24 +188,24 @@ var SmartFileUpload = ({
|
|
|
186
188
|
}
|
|
187
189
|
return () => unregisterSubmitHook(key);
|
|
188
190
|
}, [field, uploadApi, uploadOnSelect, registerSubmitHook, unregisterSubmitHook, value, multiple]);
|
|
189
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
191
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkAEN4A4ST_cjs.cn("flex-1 min-w-0", className), children: [
|
|
190
192
|
label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
|
|
191
193
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
192
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
194
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
|
|
193
195
|
label,
|
|
194
196
|
" ",
|
|
195
197
|
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
|
|
196
198
|
] }),
|
|
197
|
-
info && /* @__PURE__ */ jsxRuntime.jsx(
|
|
198
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
199
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
199
|
+
info && /* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
200
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
|
|
201
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
|
|
200
202
|
] }) })
|
|
201
203
|
] }),
|
|
202
204
|
subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
|
|
203
205
|
] }),
|
|
204
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
206
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkAEN4A4ST_cjs.cn("flex items-center gap-2", error && "text-destructive"), children: [
|
|
205
207
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
206
|
-
|
|
208
|
+
chunkAEN4A4ST_cjs.Input,
|
|
207
209
|
{
|
|
208
210
|
ref: (el) => {
|
|
209
211
|
inputRef.current = el;
|
|
@@ -213,12 +215,12 @@ var SmartFileUpload = ({
|
|
|
213
215
|
accept,
|
|
214
216
|
multiple,
|
|
215
217
|
onChange: onInputChange,
|
|
216
|
-
className:
|
|
218
|
+
className: chunkAEN4A4ST_cjs.cn(error && "border-destructive"),
|
|
217
219
|
"data-field": field,
|
|
218
220
|
disabled: isDisabled
|
|
219
221
|
}
|
|
220
222
|
),
|
|
221
|
-
(Array.isArray(value) ? value.length > 0 : !!value) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
223
|
+
(Array.isArray(value) ? value.length > 0 : !!value) && /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.Button, { type: "button", variant: "secondary", onClick: clearSelection, disabled: isDisabled, children: "Clear" })
|
|
222
224
|
] }),
|
|
223
225
|
normalizedFiles.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 text-sm text-muted-foreground", children: "No file selected" }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-2 space-y-1", children: normalizedFiles.map((f, idx) => {
|
|
224
226
|
const isImage = f.type.startsWith("image/");
|
|
@@ -243,7 +245,7 @@ var SmartFileUpload = ({
|
|
|
243
245
|
] })
|
|
244
246
|
] }),
|
|
245
247
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
246
|
-
|
|
248
|
+
chunkTX7JD2XS_cjs.Button,
|
|
247
249
|
{
|
|
248
250
|
type: "button",
|
|
249
251
|
variant: "ghost",
|
|
@@ -279,7 +281,7 @@ function Slider({
|
|
|
279
281
|
value,
|
|
280
282
|
min,
|
|
281
283
|
max,
|
|
282
|
-
className:
|
|
284
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
283
285
|
"relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
|
|
284
286
|
className
|
|
285
287
|
),
|
|
@@ -289,14 +291,14 @@ function Slider({
|
|
|
289
291
|
SliderPrimitive__namespace.Track,
|
|
290
292
|
{
|
|
291
293
|
"data-slot": "slider-track",
|
|
292
|
-
className:
|
|
294
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
293
295
|
"bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
294
296
|
),
|
|
295
297
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
296
298
|
SliderPrimitive__namespace.Range,
|
|
297
299
|
{
|
|
298
300
|
"data-slot": "slider-range",
|
|
299
|
-
className:
|
|
301
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
300
302
|
"bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
301
303
|
)
|
|
302
304
|
}
|
|
@@ -332,20 +334,26 @@ var SmartSlider = ({
|
|
|
332
334
|
disabled,
|
|
333
335
|
hidden
|
|
334
336
|
}) => {
|
|
335
|
-
const { formData } =
|
|
336
|
-
const { value, error, onChange, fieldRef, registerValidation } =
|
|
337
|
-
const fieldDetection =
|
|
337
|
+
const { formData } = chunkAEN4A4ST_cjs.useSmartForm();
|
|
338
|
+
const { value, error, onChange, fieldRef, registerValidation } = chunkAEN4A4ST_cjs.useFormField(field);
|
|
339
|
+
const fieldDetection = chunkAEN4A4ST_cjs.useFieldDetection();
|
|
338
340
|
const hasRegistered = React2.useRef(false);
|
|
339
341
|
const hasSetDefault = React2.useRef(false);
|
|
340
342
|
const isDisabled = typeof disabled === "function" ? disabled(formData) : disabled || false;
|
|
341
343
|
const isHidden = typeof hidden === "function" ? hidden(formData) : hidden || false;
|
|
342
344
|
if (isHidden) return null;
|
|
345
|
+
const displayName = label || field;
|
|
346
|
+
const builtinValidation = React2.useMemo(() => {
|
|
347
|
+
if (validation || !required) return void 0;
|
|
348
|
+
return zod.z.number({ message: `${displayName} is required` });
|
|
349
|
+
}, [validation, required, displayName]);
|
|
350
|
+
const schemaToRegister = validation ?? builtinValidation;
|
|
343
351
|
React2.useEffect(() => {
|
|
344
|
-
if (
|
|
352
|
+
if (schemaToRegister && !hasRegistered.current) {
|
|
345
353
|
hasRegistered.current = true;
|
|
346
|
-
registerValidation(field,
|
|
354
|
+
registerValidation(field, schemaToRegister, { label: displayName });
|
|
347
355
|
}
|
|
348
|
-
}, [
|
|
356
|
+
}, [schemaToRegister, field, registerValidation, displayName]);
|
|
349
357
|
React2.useEffect(() => {
|
|
350
358
|
if (fieldDetection?.registerField) {
|
|
351
359
|
fieldDetection.registerField(field);
|
|
@@ -365,7 +373,7 @@ var SmartSlider = ({
|
|
|
365
373
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
|
|
366
374
|
label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
|
|
367
375
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
368
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
376
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
|
|
369
377
|
label,
|
|
370
378
|
" ",
|
|
371
379
|
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" }),
|
|
@@ -375,9 +383,9 @@ var SmartSlider = ({
|
|
|
375
383
|
")"
|
|
376
384
|
] })
|
|
377
385
|
] }),
|
|
378
|
-
info && /* @__PURE__ */ jsxRuntime.jsx(
|
|
379
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
380
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
386
|
+
info && /* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
387
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
|
|
388
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
|
|
381
389
|
] }) })
|
|
382
390
|
] }),
|
|
383
391
|
subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
|
|
@@ -427,10 +435,10 @@ var SmartDualRangeSlider = ({
|
|
|
427
435
|
disabled,
|
|
428
436
|
hidden
|
|
429
437
|
}) => {
|
|
430
|
-
const { formData } =
|
|
431
|
-
const minFormField =
|
|
432
|
-
const maxFormField =
|
|
433
|
-
const fieldDetection =
|
|
438
|
+
const { formData } = chunkAEN4A4ST_cjs.useSmartForm();
|
|
439
|
+
const minFormField = chunkAEN4A4ST_cjs.useFormField(minField);
|
|
440
|
+
const maxFormField = chunkAEN4A4ST_cjs.useFormField(maxField);
|
|
441
|
+
const fieldDetection = chunkAEN4A4ST_cjs.useFieldDetection();
|
|
434
442
|
const hasRegisteredMin = React2.useRef(false);
|
|
435
443
|
const hasRegisteredMax = React2.useRef(false);
|
|
436
444
|
const hasSetDefaultMin = React2.useRef(false);
|
|
@@ -441,15 +449,15 @@ var SmartDualRangeSlider = ({
|
|
|
441
449
|
React2.useEffect(() => {
|
|
442
450
|
if (minValidation && !hasRegisteredMin.current) {
|
|
443
451
|
hasRegisteredMin.current = true;
|
|
444
|
-
minFormField.registerValidation(minField, minValidation);
|
|
452
|
+
minFormField.registerValidation(minField, minValidation, { label: minLabel });
|
|
445
453
|
}
|
|
446
|
-
}, [minValidation, minField, minFormField]);
|
|
454
|
+
}, [minValidation, minField, minFormField, minLabel]);
|
|
447
455
|
React2.useEffect(() => {
|
|
448
456
|
if (maxValidation && !hasRegisteredMax.current) {
|
|
449
457
|
hasRegisteredMax.current = true;
|
|
450
|
-
maxFormField.registerValidation(maxField, maxValidation);
|
|
458
|
+
maxFormField.registerValidation(maxField, maxValidation, { label: maxLabel });
|
|
451
459
|
}
|
|
452
|
-
}, [maxValidation, maxField, maxFormField]);
|
|
460
|
+
}, [maxValidation, maxField, maxFormField, maxLabel]);
|
|
453
461
|
React2.useEffect(() => {
|
|
454
462
|
if (fieldDetection?.registerField) {
|
|
455
463
|
fieldDetection.registerField(minField);
|
|
@@ -479,14 +487,14 @@ var SmartDualRangeSlider = ({
|
|
|
479
487
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
|
|
480
488
|
label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
|
|
481
489
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
482
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
490
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
|
|
483
491
|
label,
|
|
484
492
|
" ",
|
|
485
493
|
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
|
|
486
494
|
] }),
|
|
487
|
-
info && /* @__PURE__ */ jsxRuntime.jsx(
|
|
488
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
489
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
495
|
+
info && /* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
496
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
|
|
497
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
|
|
490
498
|
] }) })
|
|
491
499
|
] }),
|
|
492
500
|
subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
|
|
@@ -568,7 +576,7 @@ var Tags = ({
|
|
|
568
576
|
TagsContext.Provider,
|
|
569
577
|
{
|
|
570
578
|
value: { value, setValue, open, onOpenChange, width, setWidth },
|
|
571
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
579
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.Popover, { onOpenChange, open, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkAEN4A4ST_cjs.cn("relative w-full", className), ref, children }) })
|
|
572
580
|
}
|
|
573
581
|
);
|
|
574
582
|
};
|
|
@@ -576,10 +584,10 @@ var TagsTrigger = ({
|
|
|
576
584
|
className,
|
|
577
585
|
children,
|
|
578
586
|
...props
|
|
579
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
580
|
-
|
|
587
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
588
|
+
chunkTX7JD2XS_cjs.Button,
|
|
581
589
|
{
|
|
582
|
-
className:
|
|
590
|
+
className: chunkAEN4A4ST_cjs.cn("h-auto w-full justify-between p-2", className),
|
|
583
591
|
role: "combobox",
|
|
584
592
|
variant: "outline",
|
|
585
593
|
...props,
|
|
@@ -600,7 +608,7 @@ var TagsValue = ({
|
|
|
600
608
|
event.stopPropagation();
|
|
601
609
|
onRemove?.();
|
|
602
610
|
};
|
|
603
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
611
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkTX7JD2XS_cjs.Badge, { className: chunkAEN4A4ST_cjs.cn("flex items-center gap-2", className), ...props, children: [
|
|
604
612
|
children,
|
|
605
613
|
onRemove && // biome-ignore lint/a11y/noStaticElementInteractions: "This is a clickable badge"
|
|
606
614
|
// biome-ignore lint/a11y/useKeyWithClickEvents: "This is a clickable badge"
|
|
@@ -621,27 +629,27 @@ var TagsContent = ({
|
|
|
621
629
|
}) => {
|
|
622
630
|
const { width } = useTagsContext();
|
|
623
631
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
624
|
-
|
|
632
|
+
chunkTX7JD2XS_cjs.PopoverContent,
|
|
625
633
|
{
|
|
626
|
-
className:
|
|
634
|
+
className: chunkAEN4A4ST_cjs.cn("p-0", className),
|
|
627
635
|
style: { width },
|
|
628
636
|
...props,
|
|
629
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
637
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.Command, { children })
|
|
630
638
|
}
|
|
631
639
|
);
|
|
632
640
|
};
|
|
633
|
-
var TagsInput = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
634
|
-
var TagsList = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
641
|
+
var TagsInput = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.CommandInput, { className: chunkAEN4A4ST_cjs.cn("h-9", className), ...props });
|
|
642
|
+
var TagsList = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.CommandList, { className: chunkAEN4A4ST_cjs.cn("max-h-[200px]", className), ...props });
|
|
635
643
|
var TagsEmpty = ({
|
|
636
644
|
children,
|
|
637
645
|
className,
|
|
638
646
|
...props
|
|
639
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
640
|
-
var TagsGroup =
|
|
647
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(chunkTX7JD2XS_cjs.CommandEmpty, { ...props, children: children ?? "No tags found." });
|
|
648
|
+
var TagsGroup = chunkTX7JD2XS_cjs.CommandGroup;
|
|
641
649
|
var TagsItem = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
642
|
-
|
|
650
|
+
chunkTX7JD2XS_cjs.CommandItem,
|
|
643
651
|
{
|
|
644
|
-
className:
|
|
652
|
+
className: chunkAEN4A4ST_cjs.cn("cursor-pointer items-center justify-between", className),
|
|
645
653
|
...props
|
|
646
654
|
}
|
|
647
655
|
);
|
|
@@ -662,9 +670,9 @@ var SmartAutoSuggestTags = ({
|
|
|
662
670
|
disabled,
|
|
663
671
|
hidden
|
|
664
672
|
}) => {
|
|
665
|
-
const { formData } =
|
|
666
|
-
const { value, error, onChange, fieldRef, registerValidation } =
|
|
667
|
-
const fieldDetection =
|
|
673
|
+
const { formData } = chunkAEN4A4ST_cjs.useSmartForm();
|
|
674
|
+
const { value, error, onChange, fieldRef, registerValidation } = chunkAEN4A4ST_cjs.useFormField(field);
|
|
675
|
+
const fieldDetection = chunkAEN4A4ST_cjs.useFieldDetection();
|
|
668
676
|
const hasRegistered = React2.useRef(false);
|
|
669
677
|
const hasSetDefault = React2.useRef(false);
|
|
670
678
|
const isDisabled = typeof disabled === "function" ? disabled(formData) : disabled || false;
|
|
@@ -673,12 +681,13 @@ var SmartAutoSuggestTags = ({
|
|
|
673
681
|
const [tags, setTags] = React2.useState(initialOptions);
|
|
674
682
|
const [newTag, setNewTag] = React2.useState("");
|
|
675
683
|
const selected = Array.isArray(value) ? value : [];
|
|
684
|
+
const displayName = label || field;
|
|
676
685
|
React2.useEffect(() => {
|
|
677
686
|
if (validation && !hasRegistered.current) {
|
|
678
687
|
hasRegistered.current = true;
|
|
679
|
-
registerValidation(field, validation);
|
|
688
|
+
registerValidation(field, validation, { label: displayName });
|
|
680
689
|
}
|
|
681
|
-
}, [validation, field, registerValidation]);
|
|
690
|
+
}, [validation, field, registerValidation, displayName]);
|
|
682
691
|
React2.useEffect(() => {
|
|
683
692
|
if (fieldDetection?.registerField) {
|
|
684
693
|
fieldDetection.registerField(field);
|
|
@@ -733,7 +742,7 @@ var SmartAutoSuggestTags = ({
|
|
|
733
742
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
|
|
734
743
|
label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
|
|
735
744
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
736
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
745
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
|
|
737
746
|
label,
|
|
738
747
|
" ",
|
|
739
748
|
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" }),
|
|
@@ -745,14 +754,14 @@ var SmartAutoSuggestTags = ({
|
|
|
745
754
|
")"
|
|
746
755
|
] })
|
|
747
756
|
] }),
|
|
748
|
-
info && /* @__PURE__ */ jsxRuntime.jsx(
|
|
749
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
750
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
757
|
+
info && /* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
758
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
|
|
759
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
|
|
751
760
|
] }) })
|
|
752
761
|
] }),
|
|
753
762
|
subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
|
|
754
763
|
] }),
|
|
755
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { ref: fieldRef, "data-field": field, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
764
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { ref: fieldRef, "data-field": field, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkAEN4A4ST_cjs.cn(
|
|
756
765
|
"w-full rounded-md border border-input bg-background text-sm ring-offset-background",
|
|
757
766
|
"focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
758
767
|
error && "border-destructive focus-within:ring-destructive",
|
|
@@ -875,9 +884,9 @@ var SmartBasicRichTextbox = ({
|
|
|
875
884
|
disabled,
|
|
876
885
|
hidden
|
|
877
886
|
}) => {
|
|
878
|
-
const { formData } =
|
|
879
|
-
const { value, error, onChange, fieldRef, registerValidation } =
|
|
880
|
-
const fieldDetection =
|
|
887
|
+
const { formData } = chunkAEN4A4ST_cjs.useSmartForm();
|
|
888
|
+
const { value, error, onChange, fieldRef, registerValidation } = chunkAEN4A4ST_cjs.useFormField(field);
|
|
889
|
+
const fieldDetection = chunkAEN4A4ST_cjs.useFieldDetection();
|
|
881
890
|
const hasRegistered = React2.useRef(false);
|
|
882
891
|
const hasSetDefault = React2.useRef(false);
|
|
883
892
|
const editorRef = React2.useRef(null);
|
|
@@ -885,12 +894,13 @@ var SmartBasicRichTextbox = ({
|
|
|
885
894
|
const isDisabled = typeof disabled === "function" ? disabled(formData) : disabled || false;
|
|
886
895
|
const isHidden = typeof hidden === "function" ? hidden(formData) : hidden || false;
|
|
887
896
|
if (isHidden) return null;
|
|
897
|
+
const displayName = label || field;
|
|
888
898
|
React2.useEffect(() => {
|
|
889
899
|
if (validation && !hasRegistered.current) {
|
|
890
900
|
hasRegistered.current = true;
|
|
891
|
-
registerValidation(field, validation);
|
|
901
|
+
registerValidation(field, validation, { label: displayName });
|
|
892
902
|
}
|
|
893
|
-
}, [validation, field, registerValidation]);
|
|
903
|
+
}, [validation, field, registerValidation, displayName]);
|
|
894
904
|
React2.useEffect(() => {
|
|
895
905
|
if (fieldDetection?.registerField) {
|
|
896
906
|
fieldDetection.registerField(field);
|
|
@@ -968,17 +978,17 @@ var SmartBasicRichTextbox = ({
|
|
|
968
978
|
const handleBlur = () => {
|
|
969
979
|
setIsFocused(false);
|
|
970
980
|
};
|
|
971
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
981
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkAEN4A4ST_cjs.cn("flex-1 min-w-0", className), children: [
|
|
972
982
|
label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
|
|
973
983
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
974
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
984
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
|
|
975
985
|
label,
|
|
976
986
|
" ",
|
|
977
987
|
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
|
|
978
988
|
] }),
|
|
979
|
-
info && /* @__PURE__ */ jsxRuntime.jsx(
|
|
980
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
981
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
989
|
+
info && /* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
990
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
|
|
991
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
|
|
982
992
|
] }) })
|
|
983
993
|
] }),
|
|
984
994
|
subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
|
|
@@ -988,22 +998,22 @@ var SmartBasicRichTextbox = ({
|
|
|
988
998
|
{
|
|
989
999
|
ref: fieldRef,
|
|
990
1000
|
"data-field": field,
|
|
991
|
-
className:
|
|
1001
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
992
1002
|
"w-full rounded-md border border-input bg-background",
|
|
993
1003
|
"focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
994
1004
|
error && "border-destructive focus-within:ring-destructive",
|
|
995
1005
|
isDisabled && "cursor-not-allowed opacity-50"
|
|
996
1006
|
),
|
|
997
1007
|
children: [
|
|
998
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
999
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1000
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1001
|
-
|
|
1008
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkAEN4A4ST_cjs.cn("flex items-center gap-0.5 p-1.5 border-b border-border bg-muted/30", isDisabled && "pointer-events-none"), children: [
|
|
1009
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
1010
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1011
|
+
chunkTX7JD2XS_cjs.Button,
|
|
1002
1012
|
{
|
|
1003
1013
|
type: "button",
|
|
1004
1014
|
variant: "ghost",
|
|
1005
1015
|
size: "sm",
|
|
1006
|
-
className:
|
|
1016
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
1007
1017
|
"h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
|
|
1008
1018
|
activeFormats.bold && "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
1009
1019
|
),
|
|
@@ -1012,16 +1022,16 @@ var SmartBasicRichTextbox = ({
|
|
|
1012
1022
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Bold, { className: "h-4 w-4" })
|
|
1013
1023
|
}
|
|
1014
1024
|
) }),
|
|
1015
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1025
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Bold (Ctrl+B)" }) })
|
|
1016
1026
|
] }) }),
|
|
1017
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1018
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1019
|
-
|
|
1027
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
1028
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1029
|
+
chunkTX7JD2XS_cjs.Button,
|
|
1020
1030
|
{
|
|
1021
1031
|
type: "button",
|
|
1022
1032
|
variant: "ghost",
|
|
1023
1033
|
size: "sm",
|
|
1024
|
-
className:
|
|
1034
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
1025
1035
|
"h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
|
|
1026
1036
|
activeFormats.italic && "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
1027
1037
|
),
|
|
@@ -1030,16 +1040,16 @@ var SmartBasicRichTextbox = ({
|
|
|
1030
1040
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Italic, { className: "h-4 w-4" })
|
|
1031
1041
|
}
|
|
1032
1042
|
) }),
|
|
1033
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1043
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Italic (Ctrl+I)" }) })
|
|
1034
1044
|
] }) }),
|
|
1035
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1036
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1037
|
-
|
|
1045
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
1046
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1047
|
+
chunkTX7JD2XS_cjs.Button,
|
|
1038
1048
|
{
|
|
1039
1049
|
type: "button",
|
|
1040
1050
|
variant: "ghost",
|
|
1041
1051
|
size: "sm",
|
|
1042
|
-
className:
|
|
1052
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
1043
1053
|
"h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
|
|
1044
1054
|
activeFormats.underline && "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
1045
1055
|
),
|
|
@@ -1048,17 +1058,17 @@ var SmartBasicRichTextbox = ({
|
|
|
1048
1058
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Underline, { className: "h-4 w-4" })
|
|
1049
1059
|
}
|
|
1050
1060
|
) }),
|
|
1051
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1061
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Underline (Ctrl+U)" }) })
|
|
1052
1062
|
] }) }),
|
|
1053
1063
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-px h-5 bg-border mx-1" }),
|
|
1054
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1055
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
|
-
|
|
1064
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
1065
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1066
|
+
chunkTX7JD2XS_cjs.Button,
|
|
1057
1067
|
{
|
|
1058
1068
|
type: "button",
|
|
1059
1069
|
variant: "ghost",
|
|
1060
1070
|
size: "sm",
|
|
1061
|
-
className:
|
|
1071
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
1062
1072
|
"h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
|
|
1063
1073
|
activeFormats.bulletList && "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
1064
1074
|
),
|
|
@@ -1067,16 +1077,16 @@ var SmartBasicRichTextbox = ({
|
|
|
1067
1077
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.List, { className: "h-4 w-4" })
|
|
1068
1078
|
}
|
|
1069
1079
|
) }),
|
|
1070
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1080
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Bullet List" }) })
|
|
1071
1081
|
] }) }),
|
|
1072
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1073
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1074
|
-
|
|
1082
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAEN4A4ST_cjs.Tooltip, { children: [
|
|
1083
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1084
|
+
chunkTX7JD2XS_cjs.Button,
|
|
1075
1085
|
{
|
|
1076
1086
|
type: "button",
|
|
1077
1087
|
variant: "ghost",
|
|
1078
1088
|
size: "sm",
|
|
1079
|
-
className:
|
|
1089
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
1080
1090
|
"h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
|
|
1081
1091
|
activeFormats.numberedList && "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
1082
1092
|
),
|
|
@@ -1085,7 +1095,7 @@ var SmartBasicRichTextbox = ({
|
|
|
1085
1095
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ListOrdered, { className: "h-4 w-4" })
|
|
1086
1096
|
}
|
|
1087
1097
|
) }),
|
|
1088
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1098
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAEN4A4ST_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Numbered List" }) })
|
|
1089
1099
|
] }) })
|
|
1090
1100
|
] }),
|
|
1091
1101
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1097,7 +1107,7 @@ var SmartBasicRichTextbox = ({
|
|
|
1097
1107
|
onKeyDown: handleKeyDown,
|
|
1098
1108
|
onFocus: handleFocus,
|
|
1099
1109
|
onBlur: handleBlur,
|
|
1100
|
-
className:
|
|
1110
|
+
className: chunkAEN4A4ST_cjs.cn(
|
|
1101
1111
|
"w-full px-3 py-2 text-sm text-foreground",
|
|
1102
1112
|
"bg-background",
|
|
1103
1113
|
"focus:outline-none",
|
|
@@ -1129,43 +1139,43 @@ var SmartBasicRichTextbox = ({
|
|
|
1129
1139
|
|
|
1130
1140
|
Object.defineProperty(exports, "SmartCheckbox", {
|
|
1131
1141
|
enumerable: true,
|
|
1132
|
-
get: function () { return
|
|
1142
|
+
get: function () { return chunkTX7JD2XS_cjs.SmartCheckbox; }
|
|
1133
1143
|
});
|
|
1134
1144
|
Object.defineProperty(exports, "SmartCombobox", {
|
|
1135
1145
|
enumerable: true,
|
|
1136
|
-
get: function () { return
|
|
1146
|
+
get: function () { return chunkTX7JD2XS_cjs.SmartCombobox; }
|
|
1137
1147
|
});
|
|
1138
1148
|
Object.defineProperty(exports, "SmartDatePicker", {
|
|
1139
1149
|
enumerable: true,
|
|
1140
|
-
get: function () { return
|
|
1150
|
+
get: function () { return chunkTX7JD2XS_cjs.SmartDatePicker; }
|
|
1141
1151
|
});
|
|
1142
1152
|
Object.defineProperty(exports, "SmartRadioGroup", {
|
|
1143
1153
|
enumerable: true,
|
|
1144
|
-
get: function () { return
|
|
1154
|
+
get: function () { return chunkTX7JD2XS_cjs.SmartRadioGroup; }
|
|
1145
1155
|
});
|
|
1146
1156
|
Object.defineProperty(exports, "SmartSelect", {
|
|
1147
1157
|
enumerable: true,
|
|
1148
|
-
get: function () { return
|
|
1158
|
+
get: function () { return chunkTX7JD2XS_cjs.SmartSelect; }
|
|
1149
1159
|
});
|
|
1150
1160
|
Object.defineProperty(exports, "SmartTags", {
|
|
1151
1161
|
enumerable: true,
|
|
1152
|
-
get: function () { return
|
|
1162
|
+
get: function () { return chunkTX7JD2XS_cjs.SmartTags; }
|
|
1153
1163
|
});
|
|
1154
1164
|
Object.defineProperty(exports, "SmartFormProvider", {
|
|
1155
1165
|
enumerable: true,
|
|
1156
|
-
get: function () { return
|
|
1166
|
+
get: function () { return chunkAEN4A4ST_cjs.SmartFormProvider; }
|
|
1157
1167
|
});
|
|
1158
1168
|
Object.defineProperty(exports, "SmartInput", {
|
|
1159
1169
|
enumerable: true,
|
|
1160
|
-
get: function () { return
|
|
1170
|
+
get: function () { return chunkAEN4A4ST_cjs.SmartInput; }
|
|
1161
1171
|
});
|
|
1162
1172
|
Object.defineProperty(exports, "useFormField", {
|
|
1163
1173
|
enumerable: true,
|
|
1164
|
-
get: function () { return
|
|
1174
|
+
get: function () { return chunkAEN4A4ST_cjs.useFormField; }
|
|
1165
1175
|
});
|
|
1166
1176
|
Object.defineProperty(exports, "useSmartForm", {
|
|
1167
1177
|
enumerable: true,
|
|
1168
|
-
get: function () { return
|
|
1178
|
+
get: function () { return chunkAEN4A4ST_cjs.useSmartForm; }
|
|
1169
1179
|
});
|
|
1170
1180
|
exports.SmartAutoSuggestTags = SmartAutoSuggestTags;
|
|
1171
1181
|
exports.SmartBasicRichTextbox = SmartBasicRichTextbox;
|