@krak-stack/registry 0.2.0 → 0.2.1
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/CHANGELOG.md +6 -0
- package/dist/components/ui/app-brand.js +17 -17
- package/dist/components/ui/code-block.js +6 -6
- package/dist/components/ui/color-picker.js +26 -28
- package/dist/components/ui/copy-button.js +4 -4
- package/dist/components/ui/data-table.js +441 -442
- package/dist/components/ui/editing-locale-switcher.js +10 -10
- package/dist/components/ui/effect-form.js +183 -184
- package/dist/components/ui/error-component.js +6 -6
- package/dist/components/ui/file-picker.js +2 -2
- package/dist/components/ui/form.d.ts +5 -5
- package/dist/components/ui/form.js +136 -137
- package/dist/components/ui/google-map.js +2 -2
- package/dist/components/ui/icon-input.js +45 -48
- package/dist/components/ui/krakstack-provider.js +2 -2
- package/dist/components/ui/locale-switcher.js +4 -4
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/search-menu.js +2 -2
- package/dist/components/ui/sidebar-layout.js +67 -72
- package/dist/components/ui/theme-switcher.js +6 -6
- package/dist/components/ui/virtualized-combobox.js +31 -34
- package/dist/lib/docs.js +166 -171
- package/dist/lib/docs.server.js +18 -40
- package/dist/lib/documentation-toolkit.js +19 -41
- package/dist/lib/httpapi-adapter.js +2 -2
- package/dist/lib/httpapi-cli.js +7 -7
- package/dist/lib/query.js +11 -11
- package/dist/lib/seo.js +2 -2
- package/dist/lib/webfetch-toolkit.js +6 -6
- package/dist/oxlint/anti-slop/index.js +2 -2
- package/dist/services/agent/client/index.js +153 -155
- package/dist/services/agent/index.js +2 -2
- package/dist/services/agent/schema.js +5 -5
- package/dist/services/events/browser.js +6 -6
- package/dist/services/events/client/audit-log-table.js +445 -446
- package/dist/services/events/index.js +59 -59
- package/dist/services/events/migrations.js +2 -2
- package/dist/services/events/record.js +2 -2
- package/dist/services/events/schema.js +39 -39
- package/dist/services/file-extraction/index.js +4 -4
- package/dist/services/file-extraction/schema.js +2 -2
- package/dist/services/health/index.js +9 -9
- package/dist/services/notification/channels/ses/index.js +2 -2
- package/dist/services/notification/channels/ses/schema.js +2 -2
- package/dist/services/notification/client/index.js +5 -5
- package/dist/services/notification/index.js +2 -2
- package/dist/services/notification/persistence/drizzle.js +2 -2
- package/dist/services/notification/persistence/index.js +15 -15
- package/dist/services/notification/persistence/schema.js +12 -12
- package/dist/services/notification/public.js +7 -7
- package/dist/services/notification/schema.js +2 -2
- package/dist/services/opentelemetry/api.js +2 -2
- package/dist/services/opentelemetry/browser.js +7 -7
- package/dist/services/opentelemetry/web-vitals.js +2 -2
- package/dist/services/s3/index.js +2 -2
- package/dist/services/s3/schema.js +2 -2
- package/dist/services/speech/schema.js +9 -9
- package/dist/services/webhooks/client/delivery-table.js +479 -480
- package/dist/services/webhooks/http-client.js +5 -5
- package/dist/services/webhooks/index.js +34 -34
- package/dist/services/webhooks/migrations.js +5 -5
- package/dist/services/webhooks/schema.js +20 -20
- package/dist/services/webhooks/url.js +5 -5
- package/package.json +1 -1
|
@@ -363,7 +363,7 @@ var FilePicker = ({
|
|
|
363
363
|
image,
|
|
364
364
|
invalid = false,
|
|
365
365
|
locale: localeOverride,
|
|
366
|
-
messages
|
|
366
|
+
messages,
|
|
367
367
|
multiple = false,
|
|
368
368
|
name,
|
|
369
369
|
onBlur,
|
|
@@ -374,7 +374,7 @@ var FilePicker = ({
|
|
|
374
374
|
title
|
|
375
375
|
}) => {
|
|
376
376
|
const locale = useKrakstackLocale(localeOverride);
|
|
377
|
-
const labels = filePickerMessages(locale,
|
|
377
|
+
const labels = filePickerMessages(locale, messages);
|
|
378
378
|
const inputRef = useRef(null);
|
|
379
379
|
const dragDepthRef = useRef(0);
|
|
380
380
|
const [dragging, setDragging] = useState(false);
|
|
@@ -692,12 +692,11 @@ function Label({ className, ...props }) {
|
|
|
692
692
|
|
|
693
693
|
// ../../src/components/ui/separator.tsx
|
|
694
694
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
695
|
-
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
696
695
|
|
|
697
696
|
// ../../src/components/ui/field.tsx
|
|
698
|
-
import { jsx as
|
|
697
|
+
import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
699
698
|
function FieldSet({ className, ...props }) {
|
|
700
|
-
return /* @__PURE__ */
|
|
699
|
+
return /* @__PURE__ */ jsx8("fieldset", {
|
|
701
700
|
"data-slot": "field-set",
|
|
702
701
|
className: cn("flex flex-col gap-6 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", className),
|
|
703
702
|
...props
|
|
@@ -708,7 +707,7 @@ function FieldLegend({
|
|
|
708
707
|
variant = "legend",
|
|
709
708
|
...props
|
|
710
709
|
}) {
|
|
711
|
-
return /* @__PURE__ */
|
|
710
|
+
return /* @__PURE__ */ jsx8("legend", {
|
|
712
711
|
"data-slot": "field-legend",
|
|
713
712
|
"data-variant": variant,
|
|
714
713
|
className: cn("mb-3 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base", className),
|
|
@@ -716,7 +715,7 @@ function FieldLegend({
|
|
|
716
715
|
});
|
|
717
716
|
}
|
|
718
717
|
function FieldGroup({ className, ...props }) {
|
|
719
|
-
return /* @__PURE__ */
|
|
718
|
+
return /* @__PURE__ */ jsx8("div", {
|
|
720
719
|
"data-slot": "field-group",
|
|
721
720
|
className: cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", className),
|
|
722
721
|
...props
|
|
@@ -739,7 +738,7 @@ function Field({
|
|
|
739
738
|
orientation = "vertical",
|
|
740
739
|
...props
|
|
741
740
|
}) {
|
|
742
|
-
return /* @__PURE__ */
|
|
741
|
+
return /* @__PURE__ */ jsx8("div", {
|
|
743
742
|
role: "group",
|
|
744
743
|
"data-slot": "field",
|
|
745
744
|
"data-orientation": orientation,
|
|
@@ -751,14 +750,14 @@ function FieldLabel({
|
|
|
751
750
|
className,
|
|
752
751
|
...props
|
|
753
752
|
}) {
|
|
754
|
-
return /* @__PURE__ */
|
|
753
|
+
return /* @__PURE__ */ jsx8(Label, {
|
|
755
754
|
"data-slot": "field-label",
|
|
756
755
|
className: cn("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-3 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", className),
|
|
757
756
|
...props
|
|
758
757
|
});
|
|
759
758
|
}
|
|
760
759
|
function FieldDescription({ className, ...props }) {
|
|
761
|
-
return /* @__PURE__ */
|
|
760
|
+
return /* @__PURE__ */ jsx8("p", {
|
|
762
761
|
"data-slot": "field-description",
|
|
763
762
|
className: cn("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", className),
|
|
764
763
|
...props
|
|
@@ -768,18 +767,18 @@ function FieldDescription({ className, ...props }) {
|
|
|
768
767
|
// ../../src/components/ui/select.tsx
|
|
769
768
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
770
769
|
import { ChevronDownIcon, CheckIcon as CheckIcon2, ChevronUpIcon } from "lucide-react";
|
|
771
|
-
import { jsx as
|
|
770
|
+
import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
772
771
|
"use client";
|
|
773
772
|
var Select = SelectPrimitive.Root;
|
|
774
773
|
function SelectGroup({ className, ...props }) {
|
|
775
|
-
return /* @__PURE__ */
|
|
774
|
+
return /* @__PURE__ */ jsx9(SelectPrimitive.Group, {
|
|
776
775
|
"data-slot": "select-group",
|
|
777
776
|
className: cn("scroll-my-1 p-1", className),
|
|
778
777
|
...props
|
|
779
778
|
});
|
|
780
779
|
}
|
|
781
780
|
function SelectValue({ className, ...props }) {
|
|
782
|
-
return /* @__PURE__ */
|
|
781
|
+
return /* @__PURE__ */ jsx9(SelectPrimitive.Value, {
|
|
783
782
|
"data-slot": "select-value",
|
|
784
783
|
className: cn("flex flex-1 text-left", className),
|
|
785
784
|
...props
|
|
@@ -798,8 +797,8 @@ function SelectTrigger({
|
|
|
798
797
|
...props,
|
|
799
798
|
children: [
|
|
800
799
|
children,
|
|
801
|
-
/* @__PURE__ */
|
|
802
|
-
render: /* @__PURE__ */
|
|
800
|
+
/* @__PURE__ */ jsx9(SelectPrimitive.Icon, {
|
|
801
|
+
render: /* @__PURE__ */ jsx9(ChevronDownIcon, {
|
|
803
802
|
className: "text-muted-foreground pointer-events-none size-4"
|
|
804
803
|
})
|
|
805
804
|
})
|
|
@@ -816,8 +815,8 @@ function SelectContent({
|
|
|
816
815
|
alignItemWithTrigger = true,
|
|
817
816
|
...props
|
|
818
817
|
}) {
|
|
819
|
-
return /* @__PURE__ */
|
|
820
|
-
children: /* @__PURE__ */
|
|
818
|
+
return /* @__PURE__ */ jsx9(SelectPrimitive.Portal, {
|
|
819
|
+
children: /* @__PURE__ */ jsx9(SelectPrimitive.Positioner, {
|
|
821
820
|
side,
|
|
822
821
|
sideOffset,
|
|
823
822
|
align,
|
|
@@ -830,11 +829,11 @@ function SelectContent({
|
|
|
830
829
|
className: cn("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
831
830
|
...props,
|
|
832
831
|
children: [
|
|
833
|
-
/* @__PURE__ */
|
|
834
|
-
/* @__PURE__ */
|
|
832
|
+
/* @__PURE__ */ jsx9(SelectScrollUpButton, {}),
|
|
833
|
+
/* @__PURE__ */ jsx9(SelectPrimitive.List, {
|
|
835
834
|
children
|
|
836
835
|
}),
|
|
837
|
-
/* @__PURE__ */
|
|
836
|
+
/* @__PURE__ */ jsx9(SelectScrollDownButton, {})
|
|
838
837
|
]
|
|
839
838
|
})
|
|
840
839
|
})
|
|
@@ -850,15 +849,15 @@ function SelectItem({
|
|
|
850
849
|
className: cn("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
|
|
851
850
|
...props,
|
|
852
851
|
children: [
|
|
853
|
-
/* @__PURE__ */
|
|
852
|
+
/* @__PURE__ */ jsx9(SelectPrimitive.ItemText, {
|
|
854
853
|
className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap",
|
|
855
854
|
children
|
|
856
855
|
}),
|
|
857
|
-
/* @__PURE__ */
|
|
858
|
-
render: /* @__PURE__ */
|
|
856
|
+
/* @__PURE__ */ jsx9(SelectPrimitive.ItemIndicator, {
|
|
857
|
+
render: /* @__PURE__ */ jsx9("span", {
|
|
859
858
|
className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center"
|
|
860
859
|
}),
|
|
861
|
-
children: /* @__PURE__ */
|
|
860
|
+
children: /* @__PURE__ */ jsx9(CheckIcon2, {
|
|
862
861
|
className: "pointer-events-none"
|
|
863
862
|
})
|
|
864
863
|
})
|
|
@@ -869,29 +868,29 @@ function SelectScrollUpButton({
|
|
|
869
868
|
className,
|
|
870
869
|
...props
|
|
871
870
|
}) {
|
|
872
|
-
return /* @__PURE__ */
|
|
871
|
+
return /* @__PURE__ */ jsx9(SelectPrimitive.ScrollUpArrow, {
|
|
873
872
|
"data-slot": "select-scroll-up-button",
|
|
874
873
|
className: cn("top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", className),
|
|
875
874
|
...props,
|
|
876
|
-
children: /* @__PURE__ */
|
|
875
|
+
children: /* @__PURE__ */ jsx9(ChevronUpIcon, {})
|
|
877
876
|
});
|
|
878
877
|
}
|
|
879
878
|
function SelectScrollDownButton({
|
|
880
879
|
className,
|
|
881
880
|
...props
|
|
882
881
|
}) {
|
|
883
|
-
return /* @__PURE__ */
|
|
882
|
+
return /* @__PURE__ */ jsx9(SelectPrimitive.ScrollDownArrow, {
|
|
884
883
|
"data-slot": "select-scroll-down-button",
|
|
885
884
|
className: cn("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", className),
|
|
886
885
|
...props,
|
|
887
|
-
children: /* @__PURE__ */
|
|
886
|
+
children: /* @__PURE__ */ jsx9(ChevronDownIcon, {})
|
|
888
887
|
});
|
|
889
888
|
}
|
|
890
889
|
|
|
891
890
|
// ../../src/components/ui/textarea.tsx
|
|
892
|
-
import { jsx as
|
|
891
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
893
892
|
function Textarea({ className, ...props }) {
|
|
894
|
-
return /* @__PURE__ */
|
|
893
|
+
return /* @__PURE__ */ jsx10("textarea", {
|
|
895
894
|
"data-slot": "textarea",
|
|
896
895
|
className: cn("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className),
|
|
897
896
|
...props
|
|
@@ -911,9 +910,9 @@ import {
|
|
|
911
910
|
|
|
912
911
|
// ../../src/components/ui/input-group.tsx
|
|
913
912
|
import { cva as cva5 } from "class-variance-authority";
|
|
914
|
-
import { jsx as
|
|
913
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
915
914
|
function InputGroup({ className, ...props }) {
|
|
916
|
-
return /* @__PURE__ */
|
|
915
|
+
return /* @__PURE__ */ jsx11("div", {
|
|
917
916
|
"data-slot": "input-group",
|
|
918
917
|
role: "group",
|
|
919
918
|
className: cn("group/input-group relative flex h-9 w-full min-w-0 items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5", className),
|
|
@@ -946,7 +945,7 @@ function InputGroupInput({
|
|
|
946
945
|
className,
|
|
947
946
|
...props
|
|
948
947
|
}) {
|
|
949
|
-
return /* @__PURE__ */
|
|
948
|
+
return /* @__PURE__ */ jsx11(Input, {
|
|
950
949
|
"data-slot": "input-group-control",
|
|
951
950
|
className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent", className),
|
|
952
951
|
...props
|
|
@@ -955,7 +954,7 @@ function InputGroupInput({
|
|
|
955
954
|
|
|
956
955
|
// ../../src/components/ui/virtualized-combobox.tsx
|
|
957
956
|
import { useKrakstackLocale as useKrakstackLocale2 } from "@krak-stack/registry/krakstack-provider";
|
|
958
|
-
import { jsx as
|
|
957
|
+
import { jsx as jsx12, jsxs as jsxs5, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
959
958
|
"use client";
|
|
960
959
|
var messages2 = {
|
|
961
960
|
en: {
|
|
@@ -1034,11 +1033,11 @@ var VirtualizedComboboxList = ({
|
|
|
1034
1033
|
}, [virtualizer]);
|
|
1035
1034
|
return /* @__PURE__ */ jsxs5(Fragment2, {
|
|
1036
1035
|
children: [
|
|
1037
|
-
filteredItems.length === 0 && /* @__PURE__ */
|
|
1036
|
+
filteredItems.length === 0 && /* @__PURE__ */ jsx12("div", {
|
|
1038
1037
|
className: "text-muted-foreground flex min-h-0 flex-1 flex-col items-center justify-center overflow-auto py-6 text-center text-sm",
|
|
1039
1038
|
children: emptyLabel
|
|
1040
1039
|
}),
|
|
1041
|
-
/* @__PURE__ */
|
|
1040
|
+
/* @__PURE__ */ jsx12(ComboboxPrimitive.List, {
|
|
1042
1041
|
className: "min-h-0 flex-1 scroll-py-1 overflow-auto overscroll-contain p-1",
|
|
1043
1042
|
hidden: filteredItems.length === 0,
|
|
1044
1043
|
ref: handleScrollElementRef,
|
|
@@ -1046,7 +1045,7 @@ var VirtualizedComboboxList = ({
|
|
|
1046
1045
|
height: Math.min(virtualizer.getTotalSize() + 8, 288),
|
|
1047
1046
|
maxHeight: "var(--available-height)"
|
|
1048
1047
|
},
|
|
1049
|
-
children: /* @__PURE__ */
|
|
1048
|
+
children: /* @__PURE__ */ jsx12("div", {
|
|
1050
1049
|
className: "relative w-full",
|
|
1051
1050
|
role: "presentation",
|
|
1052
1051
|
style: { height: virtualizer.getTotalSize() },
|
|
@@ -1059,9 +1058,9 @@ var VirtualizedComboboxList = ({
|
|
|
1059
1058
|
transform: `translateY(${virtualItem.start}px)`
|
|
1060
1059
|
};
|
|
1061
1060
|
if (entry.kind === "group") {
|
|
1062
|
-
return /* @__PURE__ */
|
|
1061
|
+
return /* @__PURE__ */ jsx12(ComboboxPrimitive.Group, {
|
|
1063
1062
|
className: "contents",
|
|
1064
|
-
children: /* @__PURE__ */
|
|
1063
|
+
children: /* @__PURE__ */ jsx12(ComboboxPrimitive.GroupLabel, {
|
|
1065
1064
|
className: "text-muted-foreground absolute top-0 left-0 w-full px-2 pt-3 pb-1 text-xs",
|
|
1066
1065
|
"data-index": virtualItem.index,
|
|
1067
1066
|
ref: virtualizer.measureElement,
|
|
@@ -1080,13 +1079,13 @@ var VirtualizedComboboxList = ({
|
|
|
1080
1079
|
style,
|
|
1081
1080
|
value: entry.item,
|
|
1082
1081
|
children: [
|
|
1083
|
-
renderItem?.(entry.item) ?? /* @__PURE__ */
|
|
1082
|
+
renderItem?.(entry.item) ?? /* @__PURE__ */ jsx12("span", {
|
|
1084
1083
|
className: "min-w-0 truncate",
|
|
1085
1084
|
children: entry.item.label
|
|
1086
1085
|
}),
|
|
1087
|
-
/* @__PURE__ */
|
|
1086
|
+
/* @__PURE__ */ jsx12(ComboboxPrimitive.ItemIndicator, {
|
|
1088
1087
|
className: "absolute right-2 flex size-4 items-center justify-center",
|
|
1089
|
-
children: /* @__PURE__ */
|
|
1088
|
+
children: /* @__PURE__ */ jsx12(Check, {})
|
|
1090
1089
|
})
|
|
1091
1090
|
]
|
|
1092
1091
|
}, entry.item.value);
|
|
@@ -1108,8 +1107,8 @@ var VirtualizedComboboxContent = ({
|
|
|
1108
1107
|
virtualizerRef
|
|
1109
1108
|
}) => {
|
|
1110
1109
|
const labels = virtualizedComboboxMessages(locale, messageOverrides);
|
|
1111
|
-
return /* @__PURE__ */
|
|
1112
|
-
children: /* @__PURE__ */
|
|
1110
|
+
return /* @__PURE__ */ jsx12(ComboboxPrimitive.Portal, {
|
|
1111
|
+
children: /* @__PURE__ */ jsx12(ComboboxPrimitive.Positioner, {
|
|
1113
1112
|
align: "start",
|
|
1114
1113
|
className: "isolate z-50",
|
|
1115
1114
|
side: "bottom",
|
|
@@ -1117,17 +1116,17 @@ var VirtualizedComboboxContent = ({
|
|
|
1117
1116
|
children: /* @__PURE__ */ jsxs5(ComboboxPrimitive.Popup, {
|
|
1118
1117
|
className: cn("relative flex max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-0 origin-(--transform-origin) flex-col overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-in-95", contentClassName),
|
|
1119
1118
|
children: [
|
|
1120
|
-
/* @__PURE__ */
|
|
1119
|
+
/* @__PURE__ */ jsx12("div", {
|
|
1121
1120
|
className: "min-w-0 shrink-0 p-1 pb-0",
|
|
1122
|
-
children: /* @__PURE__ */
|
|
1121
|
+
children: /* @__PURE__ */ jsx12(InputGroup, {
|
|
1123
1122
|
className: "border-input/30 bg-input/30 h-8 w-full min-w-0 shadow-none",
|
|
1124
|
-
children: /* @__PURE__ */
|
|
1123
|
+
children: /* @__PURE__ */ jsx12(ComboboxPrimitive.Input, {
|
|
1125
1124
|
placeholder: labels.search,
|
|
1126
|
-
render: /* @__PURE__ */
|
|
1125
|
+
render: /* @__PURE__ */ jsx12(InputGroupInput, {})
|
|
1127
1126
|
})
|
|
1128
1127
|
})
|
|
1129
1128
|
}),
|
|
1130
|
-
/* @__PURE__ */
|
|
1129
|
+
/* @__PURE__ */ jsx12(VirtualizedComboboxList, {
|
|
1131
1130
|
emptyLabel,
|
|
1132
1131
|
groupSelections,
|
|
1133
1132
|
itemIndexRef,
|
|
@@ -1151,20 +1150,20 @@ var defaultTrigger = (ariaLabel, ariaInvalid, disabled, label, triggerId) => /*
|
|
|
1151
1150
|
type: "button",
|
|
1152
1151
|
variant: "outline",
|
|
1153
1152
|
children: [
|
|
1154
|
-
/* @__PURE__ */
|
|
1153
|
+
/* @__PURE__ */ jsx12("span", {
|
|
1155
1154
|
className: "min-w-0 flex-1 truncate pr-7 text-left",
|
|
1156
1155
|
children: label
|
|
1157
1156
|
}),
|
|
1158
|
-
/* @__PURE__ */
|
|
1157
|
+
/* @__PURE__ */ jsx12(ChevronsUpDown, {
|
|
1159
1158
|
className: "text-muted-foreground shrink-0 opacity-70"
|
|
1160
1159
|
})
|
|
1161
1160
|
]
|
|
1162
1161
|
});
|
|
1163
|
-
var defaultClear = (label) => /* @__PURE__ */
|
|
1162
|
+
var defaultClear = (label) => /* @__PURE__ */ jsx12(ComboboxPrimitive.Clear, {
|
|
1164
1163
|
"aria-label": label,
|
|
1165
1164
|
className: "text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 absolute top-1/2 right-7 z-10 flex size-6 -translate-y-1/2 items-center justify-center rounded-sm outline-none focus-visible:border focus-visible:ring-3",
|
|
1166
1165
|
type: "button",
|
|
1167
|
-
children: /* @__PURE__ */
|
|
1166
|
+
children: /* @__PURE__ */ jsx12(X, {
|
|
1168
1167
|
className: "size-3.5"
|
|
1169
1168
|
})
|
|
1170
1169
|
});
|
|
@@ -1203,13 +1202,13 @@ var VirtualizedComboboxSingle = (props) => {
|
|
|
1203
1202
|
/* @__PURE__ */ jsxs5("div", {
|
|
1204
1203
|
className: "relative",
|
|
1205
1204
|
children: [
|
|
1206
|
-
/* @__PURE__ */
|
|
1205
|
+
/* @__PURE__ */ jsx12(ComboboxPrimitive.Trigger, {
|
|
1207
1206
|
render: props.trigger ?? defaultTrigger(props.ariaLabel, props.ariaInvalid, props.disabled, selectedLabel(props.value, props.placeholder), props.triggerId)
|
|
1208
1207
|
}),
|
|
1209
1208
|
props.trigger ? null : defaultClear(labels.clear)
|
|
1210
1209
|
]
|
|
1211
1210
|
}),
|
|
1212
|
-
/* @__PURE__ */
|
|
1211
|
+
/* @__PURE__ */ jsx12(VirtualizedComboboxContent, {
|
|
1213
1212
|
...props,
|
|
1214
1213
|
groupSelections: false,
|
|
1215
1214
|
itemIndexRef,
|
|
@@ -1245,13 +1244,13 @@ var VirtualizedComboboxMultiple = (props) => {
|
|
|
1245
1244
|
/* @__PURE__ */ jsxs5("div", {
|
|
1246
1245
|
className: "relative",
|
|
1247
1246
|
children: [
|
|
1248
|
-
/* @__PURE__ */
|
|
1247
|
+
/* @__PURE__ */ jsx12(ComboboxPrimitive.Trigger, {
|
|
1249
1248
|
render: props.trigger ?? defaultTrigger(props.ariaLabel, props.ariaInvalid, props.disabled, selectedLabel(props.value, props.placeholder), props.triggerId)
|
|
1250
1249
|
}),
|
|
1251
1250
|
props.trigger ? null : defaultClear(labels.clear)
|
|
1252
1251
|
]
|
|
1253
1252
|
}),
|
|
1254
|
-
/* @__PURE__ */
|
|
1253
|
+
/* @__PURE__ */ jsx12(VirtualizedComboboxContent, {
|
|
1255
1254
|
...props,
|
|
1256
1255
|
groupSelections: true,
|
|
1257
1256
|
itemIndexRef,
|
|
@@ -1263,10 +1262,10 @@ var VirtualizedComboboxMultiple = (props) => {
|
|
|
1263
1262
|
};
|
|
1264
1263
|
function VirtualizedCombobox(props) {
|
|
1265
1264
|
const locale = useKrakstackLocale2(props.locale);
|
|
1266
|
-
return props.multiple ? /* @__PURE__ */
|
|
1265
|
+
return props.multiple ? /* @__PURE__ */ jsx12(VirtualizedComboboxMultiple, {
|
|
1267
1266
|
...props,
|
|
1268
1267
|
locale
|
|
1269
|
-
}) : /* @__PURE__ */
|
|
1268
|
+
}) : /* @__PURE__ */ jsx12(VirtualizedComboboxSingle, {
|
|
1270
1269
|
...props,
|
|
1271
1270
|
locale
|
|
1272
1271
|
});
|
|
@@ -1274,7 +1273,7 @@ function VirtualizedCombobox(props) {
|
|
|
1274
1273
|
|
|
1275
1274
|
// ../../src/components/ui/effect-form.tsx
|
|
1276
1275
|
import { useKrakstackLocale as useKrakstackLocale3 } from "@krak-stack/registry/krakstack-provider";
|
|
1277
|
-
import { jsx as
|
|
1276
|
+
import { jsx as jsx13, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1278
1277
|
var messages3 = {
|
|
1279
1278
|
en: {
|
|
1280
1279
|
add: "Add",
|
|
@@ -1390,21 +1389,21 @@ var FieldWrapper = ({
|
|
|
1390
1389
|
localized && editingLocale && locales && /* @__PURE__ */ jsxs6(Badge, {
|
|
1391
1390
|
variant: "outline",
|
|
1392
1391
|
children: [
|
|
1393
|
-
/* @__PURE__ */
|
|
1392
|
+
/* @__PURE__ */ jsx13(Languages, {}),
|
|
1394
1393
|
locales.find(({ value }) => value === editingLocale)?.label
|
|
1395
1394
|
]
|
|
1396
1395
|
})
|
|
1397
1396
|
]
|
|
1398
1397
|
}),
|
|
1399
|
-
description && /* @__PURE__ */
|
|
1398
|
+
description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1400
1399
|
children: description
|
|
1401
1400
|
}),
|
|
1402
|
-
/* @__PURE__ */
|
|
1401
|
+
/* @__PURE__ */ jsx13(FieldGroup, {
|
|
1403
1402
|
children
|
|
1404
1403
|
})
|
|
1405
1404
|
]
|
|
1406
1405
|
});
|
|
1407
|
-
var ErrorMessage = ({ text }) => /* @__PURE__ */
|
|
1406
|
+
var ErrorMessage = ({ text }) => /* @__PURE__ */ jsx13("em", {
|
|
1408
1407
|
role: "alert",
|
|
1409
1408
|
className: "text-destructive text-sm",
|
|
1410
1409
|
children: text
|
|
@@ -1412,11 +1411,11 @@ var ErrorMessage = ({ text }) => /* @__PURE__ */ jsx14("em", {
|
|
|
1412
1411
|
var SubmitError = ({
|
|
1413
1412
|
result,
|
|
1414
1413
|
locale,
|
|
1415
|
-
messages
|
|
1414
|
+
messages
|
|
1416
1415
|
}) => {
|
|
1417
|
-
const labels = useEffectFormMessages(locale,
|
|
1416
|
+
const labels = useEffectFormMessages(locale, messages);
|
|
1418
1417
|
const message = AsyncResult.isFailure(result) ? Schema2.isSchemaError(Cause.squash(result.cause)) ? undefined : getCauseErrorMessage(result.cause, labels) : undefined;
|
|
1419
|
-
return message ? /* @__PURE__ */
|
|
1418
|
+
return message ? /* @__PURE__ */ jsx13(ErrorMessage, {
|
|
1420
1419
|
text: message
|
|
1421
1420
|
}) : null;
|
|
1422
1421
|
};
|
|
@@ -1424,7 +1423,7 @@ var SubmitButton = ({
|
|
|
1424
1423
|
children,
|
|
1425
1424
|
form,
|
|
1426
1425
|
locale,
|
|
1427
|
-
messages
|
|
1426
|
+
messages,
|
|
1428
1427
|
onSubmit
|
|
1429
1428
|
}) => {
|
|
1430
1429
|
const submit = useAtomSet(form.submit);
|
|
@@ -1432,7 +1431,7 @@ var SubmitButton = ({
|
|
|
1432
1431
|
const isDirty = useAtomValue(form.isDirty);
|
|
1433
1432
|
const hasChangedSinceSubmit = useAtomValue(form.hasChangedSinceSubmit);
|
|
1434
1433
|
const lastSubmittedValues = useAtomValue(form.lastSubmittedValues);
|
|
1435
|
-
const labels = useEffectFormMessages(locale,
|
|
1434
|
+
const labels = useEffectFormMessages(locale, messages);
|
|
1436
1435
|
const hasPendingChanges = Option.isNone(lastSubmittedValues) ? isDirty : hasChangedSinceSubmit;
|
|
1437
1436
|
return /* @__PURE__ */ jsxs6(Button, {
|
|
1438
1437
|
type: "button",
|
|
@@ -1443,7 +1442,7 @@ var SubmitButton = ({
|
|
|
1443
1442
|
submit();
|
|
1444
1443
|
},
|
|
1445
1444
|
children: [
|
|
1446
|
-
submitResult.waiting && /* @__PURE__ */
|
|
1445
|
+
submitResult.waiting && /* @__PURE__ */ jsx13(Loader2, {
|
|
1447
1446
|
"data-icon": "inline-start",
|
|
1448
1447
|
className: "animate-spin"
|
|
1449
1448
|
}),
|
|
@@ -1456,7 +1455,7 @@ var FieldError = ({
|
|
|
1456
1455
|
message
|
|
1457
1456
|
}) => Option.match(error, {
|
|
1458
1457
|
onNone: () => null,
|
|
1459
|
-
onSome: (errorMessage) => /* @__PURE__ */
|
|
1458
|
+
onSome: (errorMessage) => /* @__PURE__ */ jsx13(ErrorMessage, {
|
|
1460
1459
|
text: message ?? errorMessage
|
|
1461
1460
|
})
|
|
1462
1461
|
});
|
|
@@ -1471,14 +1470,14 @@ var TextField = ({
|
|
|
1471
1470
|
/* @__PURE__ */ jsxs6("div", {
|
|
1472
1471
|
className: "flex w-full items-center gap-2",
|
|
1473
1472
|
children: [
|
|
1474
|
-
/* @__PURE__ */
|
|
1473
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1475
1474
|
htmlFor: field.path,
|
|
1476
1475
|
children: label
|
|
1477
1476
|
}),
|
|
1478
1477
|
children
|
|
1479
1478
|
]
|
|
1480
1479
|
}),
|
|
1481
|
-
/* @__PURE__ */
|
|
1480
|
+
/* @__PURE__ */ jsx13(Input, {
|
|
1482
1481
|
...inputProps,
|
|
1483
1482
|
id: field.path,
|
|
1484
1483
|
name: field.path,
|
|
@@ -1487,10 +1486,10 @@ var TextField = ({
|
|
|
1487
1486
|
onChange: (event) => field.onChange(event.target.value),
|
|
1488
1487
|
"aria-invalid": Option.isSome(field.error)
|
|
1489
1488
|
}),
|
|
1490
|
-
description && /* @__PURE__ */
|
|
1489
|
+
description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1491
1490
|
children: description
|
|
1492
1491
|
}),
|
|
1493
|
-
/* @__PURE__ */
|
|
1492
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1494
1493
|
error: field.error,
|
|
1495
1494
|
message: errorMessage
|
|
1496
1495
|
})
|
|
@@ -1501,9 +1500,9 @@ var NameField = ({
|
|
|
1501
1500
|
field,
|
|
1502
1501
|
props
|
|
1503
1502
|
}) => {
|
|
1504
|
-
const { locale, messages
|
|
1505
|
-
const labels = useEffectFormMessages(locale,
|
|
1506
|
-
return /* @__PURE__ */
|
|
1503
|
+
const { locale, messages, ...fieldProps } = props;
|
|
1504
|
+
const labels = useEffectFormMessages(locale, messages);
|
|
1505
|
+
return /* @__PURE__ */ jsx13(TextField, {
|
|
1507
1506
|
field,
|
|
1508
1507
|
props: {
|
|
1509
1508
|
...fieldProps,
|
|
@@ -1522,14 +1521,14 @@ var TextAreaField = ({ field, props }) => {
|
|
|
1522
1521
|
/* @__PURE__ */ jsxs6("div", {
|
|
1523
1522
|
className: "flex w-full items-center gap-2",
|
|
1524
1523
|
children: [
|
|
1525
|
-
/* @__PURE__ */
|
|
1524
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1526
1525
|
htmlFor: field.path,
|
|
1527
1526
|
children: label
|
|
1528
1527
|
}),
|
|
1529
1528
|
children
|
|
1530
1529
|
]
|
|
1531
1530
|
}),
|
|
1532
|
-
/* @__PURE__ */
|
|
1531
|
+
/* @__PURE__ */ jsx13(Textarea, {
|
|
1533
1532
|
...nativeTextareaProps,
|
|
1534
1533
|
id: field.path,
|
|
1535
1534
|
name: field.path,
|
|
@@ -1538,19 +1537,19 @@ var TextAreaField = ({ field, props }) => {
|
|
|
1538
1537
|
onChange: (event) => field.onChange(event.target.value),
|
|
1539
1538
|
"aria-invalid": Option.isSome(field.error)
|
|
1540
1539
|
}),
|
|
1541
|
-
description && /* @__PURE__ */
|
|
1540
|
+
description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1542
1541
|
children: description
|
|
1543
1542
|
}),
|
|
1544
|
-
/* @__PURE__ */
|
|
1543
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1545
1544
|
error: field.error
|
|
1546
1545
|
})
|
|
1547
1546
|
]
|
|
1548
1547
|
});
|
|
1549
1548
|
};
|
|
1550
1549
|
var DescriptionField = ({ field, props }) => {
|
|
1551
|
-
const { locale, messages
|
|
1552
|
-
const labels = useEffectFormMessages(locale,
|
|
1553
|
-
return /* @__PURE__ */
|
|
1550
|
+
const { locale, messages, ...fieldProps } = props;
|
|
1551
|
+
const labels = useEffectFormMessages(locale, messages);
|
|
1552
|
+
return /* @__PURE__ */ jsx13(TextAreaField, {
|
|
1554
1553
|
field,
|
|
1555
1554
|
props: {
|
|
1556
1555
|
...fieldProps,
|
|
@@ -1563,11 +1562,11 @@ var FileField = ({ field, props }) => {
|
|
|
1563
1562
|
return /* @__PURE__ */ jsxs6(Field, {
|
|
1564
1563
|
"data-invalid": invalid,
|
|
1565
1564
|
children: [
|
|
1566
|
-
/* @__PURE__ */
|
|
1565
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1567
1566
|
htmlFor: field.path,
|
|
1568
1567
|
children: props.label
|
|
1569
1568
|
}),
|
|
1570
|
-
/* @__PURE__ */
|
|
1569
|
+
/* @__PURE__ */ jsx13(FilePicker, {
|
|
1571
1570
|
accept: props.accept ?? "",
|
|
1572
1571
|
canClear: field.value instanceof File,
|
|
1573
1572
|
...field.value ? { file: field.value } : {},
|
|
@@ -1588,10 +1587,10 @@ var FileField = ({ field, props }) => {
|
|
|
1588
1587
|
...props.required === undefined ? {} : { required: props.required },
|
|
1589
1588
|
title: field.value?.name ?? props.label
|
|
1590
1589
|
}),
|
|
1591
|
-
props.description && /* @__PURE__ */
|
|
1590
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1592
1591
|
children: props.description
|
|
1593
1592
|
}),
|
|
1594
|
-
/* @__PURE__ */
|
|
1593
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1595
1594
|
error: field.error
|
|
1596
1595
|
})
|
|
1597
1596
|
]
|
|
@@ -1607,14 +1606,14 @@ var NullableTextAreaField = ({ field, props }) => {
|
|
|
1607
1606
|
/* @__PURE__ */ jsxs6("div", {
|
|
1608
1607
|
className: "flex w-full items-center gap-2",
|
|
1609
1608
|
children: [
|
|
1610
|
-
/* @__PURE__ */
|
|
1609
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1611
1610
|
htmlFor: field.path,
|
|
1612
1611
|
children: label
|
|
1613
1612
|
}),
|
|
1614
1613
|
children
|
|
1615
1614
|
]
|
|
1616
1615
|
}),
|
|
1617
|
-
/* @__PURE__ */
|
|
1616
|
+
/* @__PURE__ */ jsx13(Textarea, {
|
|
1618
1617
|
...nativeTextareaProps,
|
|
1619
1618
|
id: field.path,
|
|
1620
1619
|
name: field.path,
|
|
@@ -1623,10 +1622,10 @@ var NullableTextAreaField = ({ field, props }) => {
|
|
|
1623
1622
|
onChange: (event) => field.onChange(event.target.value),
|
|
1624
1623
|
"aria-invalid": Option.isSome(field.error)
|
|
1625
1624
|
}),
|
|
1626
|
-
description && /* @__PURE__ */
|
|
1625
|
+
description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1627
1626
|
children: description
|
|
1628
1627
|
}),
|
|
1629
|
-
/* @__PURE__ */
|
|
1628
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1630
1629
|
error: field.error
|
|
1631
1630
|
})
|
|
1632
1631
|
]
|
|
@@ -1641,7 +1640,7 @@ var CheckboxField = ({
|
|
|
1641
1640
|
/* @__PURE__ */ jsxs6("div", {
|
|
1642
1641
|
className: "flex w-full flex-row items-center gap-2",
|
|
1643
1642
|
children: [
|
|
1644
|
-
/* @__PURE__ */
|
|
1643
|
+
/* @__PURE__ */ jsx13(Checkbox, {
|
|
1645
1644
|
id: field.path,
|
|
1646
1645
|
name: field.path,
|
|
1647
1646
|
checked: field.value,
|
|
@@ -1649,17 +1648,17 @@ var CheckboxField = ({
|
|
|
1649
1648
|
onCheckedChange: field.onChange,
|
|
1650
1649
|
"aria-invalid": Option.isSome(field.error)
|
|
1651
1650
|
}),
|
|
1652
|
-
/* @__PURE__ */
|
|
1651
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1653
1652
|
htmlFor: field.path,
|
|
1654
1653
|
children: props.label
|
|
1655
1654
|
}),
|
|
1656
1655
|
props.children
|
|
1657
1656
|
]
|
|
1658
1657
|
}),
|
|
1659
|
-
props.description && /* @__PURE__ */
|
|
1658
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1660
1659
|
children: props.description
|
|
1661
1660
|
}),
|
|
1662
|
-
/* @__PURE__ */
|
|
1661
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1663
1662
|
error: field.error
|
|
1664
1663
|
})
|
|
1665
1664
|
]
|
|
@@ -1670,7 +1669,7 @@ var SelectField = ({
|
|
|
1670
1669
|
}) => /* @__PURE__ */ jsxs6(Field, {
|
|
1671
1670
|
"data-invalid": Option.isSome(field.error),
|
|
1672
1671
|
children: [
|
|
1673
|
-
/* @__PURE__ */
|
|
1672
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1674
1673
|
htmlFor: field.path,
|
|
1675
1674
|
children: props.label
|
|
1676
1675
|
}),
|
|
@@ -1682,16 +1681,16 @@ var SelectField = ({
|
|
|
1682
1681
|
},
|
|
1683
1682
|
value: field.value,
|
|
1684
1683
|
children: [
|
|
1685
|
-
/* @__PURE__ */
|
|
1684
|
+
/* @__PURE__ */ jsx13(SelectTrigger, {
|
|
1686
1685
|
id: field.path,
|
|
1687
1686
|
"aria-invalid": Option.isSome(field.error),
|
|
1688
|
-
children: /* @__PURE__ */
|
|
1687
|
+
children: /* @__PURE__ */ jsx13(SelectValue, {
|
|
1689
1688
|
placeholder: props.placeholder
|
|
1690
1689
|
})
|
|
1691
1690
|
}),
|
|
1692
|
-
/* @__PURE__ */
|
|
1693
|
-
children: /* @__PURE__ */
|
|
1694
|
-
children: props.options.map((option) => /* @__PURE__ */
|
|
1691
|
+
/* @__PURE__ */ jsx13(SelectContent, {
|
|
1692
|
+
children: /* @__PURE__ */ jsx13(SelectGroup, {
|
|
1693
|
+
children: props.options.map((option) => /* @__PURE__ */ jsx13(SelectItem, {
|
|
1695
1694
|
value: option.value,
|
|
1696
1695
|
children: option.label
|
|
1697
1696
|
}, option.value))
|
|
@@ -1699,10 +1698,10 @@ var SelectField = ({
|
|
|
1699
1698
|
})
|
|
1700
1699
|
]
|
|
1701
1700
|
}),
|
|
1702
|
-
props.description && /* @__PURE__ */
|
|
1701
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1703
1702
|
children: props.description
|
|
1704
1703
|
}),
|
|
1705
|
-
/* @__PURE__ */
|
|
1704
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1706
1705
|
error: field.error
|
|
1707
1706
|
})
|
|
1708
1707
|
]
|
|
@@ -1712,7 +1711,7 @@ var FolderField = ({
|
|
|
1712
1711
|
props
|
|
1713
1712
|
}) => {
|
|
1714
1713
|
const labels = useEffectFormMessages(props.locale, props.messages);
|
|
1715
|
-
return /* @__PURE__ */
|
|
1714
|
+
return /* @__PURE__ */ jsx13(SelectField, {
|
|
1716
1715
|
field,
|
|
1717
1716
|
props: { ...props, label: labels.folder }
|
|
1718
1717
|
});
|
|
@@ -1723,7 +1722,7 @@ var MultiSelectField = ({
|
|
|
1723
1722
|
}) => /* @__PURE__ */ jsxs6(Field, {
|
|
1724
1723
|
"data-invalid": Option.isSome(field.error),
|
|
1725
1724
|
children: [
|
|
1726
|
-
/* @__PURE__ */
|
|
1725
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1727
1726
|
htmlFor: field.path,
|
|
1728
1727
|
children: props.label
|
|
1729
1728
|
}),
|
|
@@ -1733,17 +1732,17 @@ var MultiSelectField = ({
|
|
|
1733
1732
|
multiple: true,
|
|
1734
1733
|
value: Array.from(field.value),
|
|
1735
1734
|
children: [
|
|
1736
|
-
/* @__PURE__ */
|
|
1735
|
+
/* @__PURE__ */ jsx13(SelectTrigger, {
|
|
1737
1736
|
className: "gap-1",
|
|
1738
1737
|
id: field.path,
|
|
1739
1738
|
"aria-invalid": Option.isSome(field.error),
|
|
1740
|
-
children: /* @__PURE__ */
|
|
1739
|
+
children: /* @__PURE__ */ jsx13(SelectValue, {
|
|
1741
1740
|
placeholder: props.placeholder
|
|
1742
1741
|
})
|
|
1743
1742
|
}),
|
|
1744
|
-
/* @__PURE__ */
|
|
1745
|
-
children: /* @__PURE__ */
|
|
1746
|
-
children: props.options.map((option) => /* @__PURE__ */
|
|
1743
|
+
/* @__PURE__ */ jsx13(SelectContent, {
|
|
1744
|
+
children: /* @__PURE__ */ jsx13(SelectGroup, {
|
|
1745
|
+
children: props.options.map((option) => /* @__PURE__ */ jsx13(SelectItem, {
|
|
1747
1746
|
value: option.value,
|
|
1748
1747
|
children: option.label
|
|
1749
1748
|
}, option.value))
|
|
@@ -1751,10 +1750,10 @@ var MultiSelectField = ({
|
|
|
1751
1750
|
})
|
|
1752
1751
|
]
|
|
1753
1752
|
}),
|
|
1754
|
-
props.description && /* @__PURE__ */
|
|
1753
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1755
1754
|
children: props.description
|
|
1756
1755
|
}),
|
|
1757
|
-
/* @__PURE__ */
|
|
1756
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1758
1757
|
error: field.error
|
|
1759
1758
|
})
|
|
1760
1759
|
]
|
|
@@ -1765,7 +1764,7 @@ var NullableMultiSelectField = ({
|
|
|
1765
1764
|
}) => /* @__PURE__ */ jsxs6(Field, {
|
|
1766
1765
|
"data-invalid": Option.isSome(field.error),
|
|
1767
1766
|
children: [
|
|
1768
|
-
/* @__PURE__ */
|
|
1767
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1769
1768
|
htmlFor: field.path,
|
|
1770
1769
|
children: props.label
|
|
1771
1770
|
}),
|
|
@@ -1775,17 +1774,17 @@ var NullableMultiSelectField = ({
|
|
|
1775
1774
|
multiple: true,
|
|
1776
1775
|
value: field.value ? Array.from(field.value) : [],
|
|
1777
1776
|
children: [
|
|
1778
|
-
/* @__PURE__ */
|
|
1777
|
+
/* @__PURE__ */ jsx13(SelectTrigger, {
|
|
1779
1778
|
className: "gap-1",
|
|
1780
1779
|
id: field.path,
|
|
1781
1780
|
"aria-invalid": Option.isSome(field.error),
|
|
1782
|
-
children: /* @__PURE__ */
|
|
1781
|
+
children: /* @__PURE__ */ jsx13(SelectValue, {
|
|
1783
1782
|
placeholder: props.placeholder
|
|
1784
1783
|
})
|
|
1785
1784
|
}),
|
|
1786
|
-
/* @__PURE__ */
|
|
1787
|
-
children: /* @__PURE__ */
|
|
1788
|
-
children: props.options.map((option) => /* @__PURE__ */
|
|
1785
|
+
/* @__PURE__ */ jsx13(SelectContent, {
|
|
1786
|
+
children: /* @__PURE__ */ jsx13(SelectGroup, {
|
|
1787
|
+
children: props.options.map((option) => /* @__PURE__ */ jsx13(SelectItem, {
|
|
1789
1788
|
value: option.value,
|
|
1790
1789
|
children: option.label
|
|
1791
1790
|
}, option.value))
|
|
@@ -1793,10 +1792,10 @@ var NullableMultiSelectField = ({
|
|
|
1793
1792
|
})
|
|
1794
1793
|
]
|
|
1795
1794
|
}),
|
|
1796
|
-
props.description && /* @__PURE__ */
|
|
1795
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1797
1796
|
children: props.description
|
|
1798
1797
|
}),
|
|
1799
|
-
/* @__PURE__ */
|
|
1798
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1800
1799
|
error: field.error
|
|
1801
1800
|
})
|
|
1802
1801
|
]
|
|
@@ -1826,11 +1825,11 @@ var SearchableSelectField = ({
|
|
|
1826
1825
|
className: "min-w-0",
|
|
1827
1826
|
"data-invalid": invalid,
|
|
1828
1827
|
children: [
|
|
1829
|
-
/* @__PURE__ */
|
|
1828
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1830
1829
|
htmlFor: field.path,
|
|
1831
1830
|
children: props.label
|
|
1832
1831
|
}),
|
|
1833
|
-
/* @__PURE__ */
|
|
1832
|
+
/* @__PURE__ */ jsx13(VirtualizedCombobox, {
|
|
1834
1833
|
ariaInvalid: invalid,
|
|
1835
1834
|
ariaLabel,
|
|
1836
1835
|
emptyLabel: props.emptyLabel,
|
|
@@ -1846,10 +1845,10 @@ var SearchableSelectField = ({
|
|
|
1846
1845
|
triggerId: field.path,
|
|
1847
1846
|
value: selectedItems
|
|
1848
1847
|
}),
|
|
1849
|
-
props.description && /* @__PURE__ */
|
|
1848
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1850
1849
|
children: props.description
|
|
1851
1850
|
}),
|
|
1852
|
-
/* @__PURE__ */
|
|
1851
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1853
1852
|
error: field.error
|
|
1854
1853
|
})
|
|
1855
1854
|
]
|
|
@@ -1868,11 +1867,11 @@ var SingleSearchableSelectField = ({
|
|
|
1868
1867
|
className: "min-w-0",
|
|
1869
1868
|
"data-invalid": invalid,
|
|
1870
1869
|
children: [
|
|
1871
|
-
/* @__PURE__ */
|
|
1870
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1872
1871
|
htmlFor: field.path,
|
|
1873
1872
|
children: props.label
|
|
1874
1873
|
}),
|
|
1875
|
-
/* @__PURE__ */
|
|
1874
|
+
/* @__PURE__ */ jsx13(VirtualizedCombobox, {
|
|
1876
1875
|
ariaInvalid: invalid,
|
|
1877
1876
|
ariaLabel,
|
|
1878
1877
|
emptyLabel: props.emptyLabel,
|
|
@@ -1887,10 +1886,10 @@ var SingleSearchableSelectField = ({
|
|
|
1887
1886
|
triggerId: field.path,
|
|
1888
1887
|
value: selectedItems[0] ?? null
|
|
1889
1888
|
}),
|
|
1890
|
-
props.description && /* @__PURE__ */
|
|
1889
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1891
1890
|
children: props.description
|
|
1892
1891
|
}),
|
|
1893
|
-
/* @__PURE__ */
|
|
1892
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1894
1893
|
error: field.error
|
|
1895
1894
|
})
|
|
1896
1895
|
]
|
|
@@ -1906,13 +1905,13 @@ var NullableKeyValueField = ({
|
|
|
1906
1905
|
return /* @__PURE__ */ jsxs6(Field, {
|
|
1907
1906
|
"data-invalid": Option.isSome(field.error),
|
|
1908
1907
|
children: [
|
|
1909
|
-
/* @__PURE__ */
|
|
1908
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1910
1909
|
children: props.label
|
|
1911
1910
|
}),
|
|
1912
1911
|
entries.map(([key, value], index) => /* @__PURE__ */ jsxs6("div", {
|
|
1913
1912
|
className: "flex w-full flex-row items-center gap-2",
|
|
1914
1913
|
children: [
|
|
1915
|
-
/* @__PURE__ */
|
|
1914
|
+
/* @__PURE__ */ jsx13(Input, {
|
|
1916
1915
|
id: `${field.path}-${index}-key`,
|
|
1917
1916
|
name: `${field.path}.${index}.key`,
|
|
1918
1917
|
type: "text",
|
|
@@ -1923,7 +1922,7 @@ var NullableKeyValueField = ({
|
|
|
1923
1922
|
onChange: (event) => field.onChange(updateEntry(index, event.target.value, value)),
|
|
1924
1923
|
"aria-invalid": Option.isSome(field.error)
|
|
1925
1924
|
}),
|
|
1926
|
-
/* @__PURE__ */
|
|
1925
|
+
/* @__PURE__ */ jsx13(Input, {
|
|
1927
1926
|
id: `${field.path}-${index}-value`,
|
|
1928
1927
|
name: `${field.path}.${index}.value`,
|
|
1929
1928
|
type: "text",
|
|
@@ -1939,7 +1938,7 @@ var NullableKeyValueField = ({
|
|
|
1939
1938
|
variant: "secondary",
|
|
1940
1939
|
onClick: () => field.onChange(Object.fromEntries(entries.filter((_, currentIndex) => currentIndex !== index))),
|
|
1941
1940
|
children: [
|
|
1942
|
-
/* @__PURE__ */
|
|
1941
|
+
/* @__PURE__ */ jsx13(Trash, {
|
|
1943
1942
|
"data-icon": "inline-start"
|
|
1944
1943
|
}),
|
|
1945
1944
|
labels.delete
|
|
@@ -1953,16 +1952,16 @@ var NullableKeyValueField = ({
|
|
|
1953
1952
|
className: "self-start",
|
|
1954
1953
|
onClick: () => field.onChange({ ...field.value, "": "" }),
|
|
1955
1954
|
children: [
|
|
1956
|
-
/* @__PURE__ */
|
|
1955
|
+
/* @__PURE__ */ jsx13(Plus, {
|
|
1957
1956
|
"data-icon": "inline-start"
|
|
1958
1957
|
}),
|
|
1959
1958
|
labels.add
|
|
1960
1959
|
]
|
|
1961
1960
|
}),
|
|
1962
|
-
props.description && /* @__PURE__ */
|
|
1961
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
1963
1962
|
children: props.description
|
|
1964
1963
|
}),
|
|
1965
|
-
/* @__PURE__ */
|
|
1964
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
1966
1965
|
error: field.error
|
|
1967
1966
|
})
|
|
1968
1967
|
]
|
|
@@ -1978,13 +1977,13 @@ var KeyValueField = ({
|
|
|
1978
1977
|
return /* @__PURE__ */ jsxs6(Field, {
|
|
1979
1978
|
"data-invalid": Option.isSome(field.error),
|
|
1980
1979
|
children: [
|
|
1981
|
-
/* @__PURE__ */
|
|
1980
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
1982
1981
|
children: props.label
|
|
1983
1982
|
}),
|
|
1984
1983
|
entries.map(([key, value], index) => /* @__PURE__ */ jsxs6("div", {
|
|
1985
1984
|
className: "flex w-full flex-row items-center gap-2",
|
|
1986
1985
|
children: [
|
|
1987
|
-
/* @__PURE__ */
|
|
1986
|
+
/* @__PURE__ */ jsx13(Input, {
|
|
1988
1987
|
id: `${field.path}-${index}-key`,
|
|
1989
1988
|
name: `${field.path}.${index}.key`,
|
|
1990
1989
|
type: "text",
|
|
@@ -1995,7 +1994,7 @@ var KeyValueField = ({
|
|
|
1995
1994
|
onChange: (event) => field.onChange(updateEntry(index, event.target.value, value)),
|
|
1996
1995
|
"aria-invalid": Option.isSome(field.error)
|
|
1997
1996
|
}),
|
|
1998
|
-
/* @__PURE__ */
|
|
1997
|
+
/* @__PURE__ */ jsx13(Input, {
|
|
1999
1998
|
id: `${field.path}-${index}-value`,
|
|
2000
1999
|
name: `${field.path}.${index}.value`,
|
|
2001
2000
|
type: "text",
|
|
@@ -2011,7 +2010,7 @@ var KeyValueField = ({
|
|
|
2011
2010
|
variant: "secondary",
|
|
2012
2011
|
onClick: () => field.onChange(Object.fromEntries(entries.filter((_, currentIndex) => currentIndex !== index))),
|
|
2013
2012
|
children: [
|
|
2014
|
-
/* @__PURE__ */
|
|
2013
|
+
/* @__PURE__ */ jsx13(Trash, {
|
|
2015
2014
|
"data-icon": "inline-start"
|
|
2016
2015
|
}),
|
|
2017
2016
|
labels.delete
|
|
@@ -2025,16 +2024,16 @@ var KeyValueField = ({
|
|
|
2025
2024
|
className: "self-start",
|
|
2026
2025
|
onClick: () => field.onChange({ ...field.value, "": "" }),
|
|
2027
2026
|
children: [
|
|
2028
|
-
/* @__PURE__ */
|
|
2027
|
+
/* @__PURE__ */ jsx13(Plus, {
|
|
2029
2028
|
"data-icon": "inline-start"
|
|
2030
2029
|
}),
|
|
2031
2030
|
labels.add
|
|
2032
2031
|
]
|
|
2033
2032
|
}),
|
|
2034
|
-
props.description && /* @__PURE__ */
|
|
2033
|
+
props.description && /* @__PURE__ */ jsx13(FieldDescription, {
|
|
2035
2034
|
children: props.description
|
|
2036
2035
|
}),
|
|
2037
|
-
/* @__PURE__ */
|
|
2036
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
2038
2037
|
error: field.error
|
|
2039
2038
|
})
|
|
2040
2039
|
]
|
|
@@ -2045,9 +2044,9 @@ var RevertButton = ({
|
|
|
2045
2044
|
props
|
|
2046
2045
|
}) => {
|
|
2047
2046
|
const labels = useEffectFormMessages(props.locale, props.messages);
|
|
2048
|
-
return field.value === props.original ? null : /* @__PURE__ */
|
|
2047
|
+
return field.value === props.original ? null : /* @__PURE__ */ jsx13("div", {
|
|
2049
2048
|
className: "flex flex-1 justify-end",
|
|
2050
|
-
children: /* @__PURE__ */
|
|
2049
|
+
children: /* @__PURE__ */ jsx13(Button, {
|
|
2051
2050
|
type: "button",
|
|
2052
2051
|
variant: "link",
|
|
2053
2052
|
className: "-mr-4 h-auto py-0",
|
|
@@ -2063,11 +2062,11 @@ var ImageField = ({ field, props }) => {
|
|
|
2063
2062
|
return /* @__PURE__ */ jsxs6(Field, {
|
|
2064
2063
|
"data-invalid": invalid,
|
|
2065
2064
|
children: [
|
|
2066
|
-
/* @__PURE__ */
|
|
2065
|
+
/* @__PURE__ */ jsx13(FieldLabel, {
|
|
2067
2066
|
htmlFor: field.path,
|
|
2068
2067
|
children: props.label
|
|
2069
2068
|
}),
|
|
2070
|
-
/* @__PURE__ */
|
|
2069
|
+
/* @__PURE__ */ jsx13(FilePicker, {
|
|
2071
2070
|
accept: "image/*",
|
|
2072
2071
|
onBlur: field.onBlur,
|
|
2073
2072
|
canClear: Boolean(field.value),
|
|
@@ -2087,10 +2086,10 @@ var ImageField = ({ field, props }) => {
|
|
|
2087
2086
|
onClear: () => field.onChange(null),
|
|
2088
2087
|
title: field.value instanceof File ? field.value.name : props.label
|
|
2089
2088
|
}),
|
|
2090
|
-
props.size.suggestedWidth && props.size.suggestedHeight ? /* @__PURE__ */
|
|
2089
|
+
props.size.suggestedWidth && props.size.suggestedHeight ? /* @__PURE__ */ jsx13(FieldDescription, {
|
|
2091
2090
|
children: labels.suggestedImageSize(String(props.size.suggestedWidth), String(props.size.suggestedHeight))
|
|
2092
2091
|
}) : null,
|
|
2093
|
-
/* @__PURE__ */
|
|
2092
|
+
/* @__PURE__ */ jsx13(FieldError, {
|
|
2094
2093
|
error: field.error
|
|
2095
2094
|
})
|
|
2096
2095
|
]
|
|
@@ -2098,35 +2097,35 @@ var ImageField = ({ field, props }) => {
|
|
|
2098
2097
|
};
|
|
2099
2098
|
var NavigationBlock = ({
|
|
2100
2099
|
locale,
|
|
2101
|
-
messages
|
|
2100
|
+
messages,
|
|
2102
2101
|
shouldBlock
|
|
2103
2102
|
}) => {
|
|
2104
|
-
const labels = useEffectFormMessages(locale,
|
|
2105
|
-
return /* @__PURE__ */
|
|
2103
|
+
const labels = useEffectFormMessages(locale, messages);
|
|
2104
|
+
return /* @__PURE__ */ jsx13(Block, {
|
|
2106
2105
|
enableBeforeUnload: () => shouldBlock,
|
|
2107
2106
|
shouldBlockFn: () => shouldBlock,
|
|
2108
2107
|
withResolver: true,
|
|
2109
|
-
children: ({ status, proceed, reset }) => /* @__PURE__ */
|
|
2108
|
+
children: ({ status, proceed, reset }) => /* @__PURE__ */ jsx13(AlertDialog, {
|
|
2110
2109
|
open: status === "blocked",
|
|
2111
2110
|
children: /* @__PURE__ */ jsxs6(AlertDialogContent, {
|
|
2112
2111
|
children: [
|
|
2113
2112
|
/* @__PURE__ */ jsxs6(AlertDialogHeader, {
|
|
2114
2113
|
children: [
|
|
2115
|
-
/* @__PURE__ */
|
|
2114
|
+
/* @__PURE__ */ jsx13(AlertDialogTitle, {
|
|
2116
2115
|
children: labels.blockNavigationTitle
|
|
2117
2116
|
}),
|
|
2118
|
-
/* @__PURE__ */
|
|
2117
|
+
/* @__PURE__ */ jsx13(AlertDialogDescription, {
|
|
2119
2118
|
children: labels.blockNavigationDescription
|
|
2120
2119
|
})
|
|
2121
2120
|
]
|
|
2122
2121
|
}),
|
|
2123
2122
|
/* @__PURE__ */ jsxs6(AlertDialogFooter, {
|
|
2124
2123
|
children: [
|
|
2125
|
-
/* @__PURE__ */
|
|
2124
|
+
/* @__PURE__ */ jsx13(AlertDialogCancel, {
|
|
2126
2125
|
onClick: reset,
|
|
2127
2126
|
children: labels.blockNavigationCancel
|
|
2128
2127
|
}),
|
|
2129
|
-
/* @__PURE__ */
|
|
2128
|
+
/* @__PURE__ */ jsx13(AlertDialogAction, {
|
|
2130
2129
|
onClick: proceed,
|
|
2131
2130
|
children: labels.blockNavigationConfirm
|
|
2132
2131
|
})
|
|
@@ -2140,44 +2139,44 @@ var NavigationBlock = ({
|
|
|
2140
2139
|
var FormBlockNavigation = ({
|
|
2141
2140
|
form,
|
|
2142
2141
|
locale,
|
|
2143
|
-
messages
|
|
2142
|
+
messages
|
|
2144
2143
|
}) => {
|
|
2145
2144
|
const submitResult = useAtomValue(form.submit);
|
|
2146
2145
|
const isDirty = useAtomValue(form.isDirty);
|
|
2147
2146
|
const hasChangedSinceSubmit = useAtomValue(form.hasChangedSinceSubmit);
|
|
2148
2147
|
const lastSubmittedValues = useAtomValue(form.lastSubmittedValues);
|
|
2149
2148
|
const shouldBlock = !submitResult.waiting && (Option.isNone(lastSubmittedValues) ? isDirty : hasChangedSinceSubmit);
|
|
2150
|
-
return /* @__PURE__ */
|
|
2149
|
+
return /* @__PURE__ */ jsx13(NavigationBlock, {
|
|
2151
2150
|
locale,
|
|
2152
|
-
messages
|
|
2151
|
+
messages,
|
|
2153
2152
|
shouldBlock
|
|
2154
2153
|
});
|
|
2155
2154
|
};
|
|
2156
|
-
var BlockNavigation = (props) => /* @__PURE__ */
|
|
2155
|
+
var BlockNavigation = (props) => /* @__PURE__ */ jsx13(FormBlockNavigation, {
|
|
2157
2156
|
...props
|
|
2158
2157
|
});
|
|
2159
2158
|
export {
|
|
2160
|
-
|
|
2161
|
-
TextField,
|
|
2162
|
-
TextAreaField,
|
|
2163
|
-
SubmitError,
|
|
2164
|
-
SubmitButton,
|
|
2165
|
-
SingleSearchableSelectField,
|
|
2166
|
-
SelectField,
|
|
2167
|
-
SearchableSelectField,
|
|
2168
|
-
RevertButton,
|
|
2169
|
-
NullableTextAreaField,
|
|
2170
|
-
NullableMultiSelectField,
|
|
2171
|
-
NullableKeyValueField,
|
|
2172
|
-
NameField,
|
|
2173
|
-
MultiSelectField,
|
|
2174
|
-
KeyValueField,
|
|
2175
|
-
ImageField,
|
|
2176
|
-
FolderField,
|
|
2177
|
-
FileField,
|
|
2178
|
-
FieldWrapper,
|
|
2179
|
-
ErrorMessage,
|
|
2180
|
-
DescriptionField,
|
|
2159
|
+
BlockNavigation,
|
|
2181
2160
|
CheckboxField,
|
|
2182
|
-
|
|
2161
|
+
DescriptionField,
|
|
2162
|
+
ErrorMessage,
|
|
2163
|
+
FieldWrapper,
|
|
2164
|
+
FileField,
|
|
2165
|
+
FolderField,
|
|
2166
|
+
ImageField,
|
|
2167
|
+
KeyValueField,
|
|
2168
|
+
MultiSelectField,
|
|
2169
|
+
NameField,
|
|
2170
|
+
NullableKeyValueField,
|
|
2171
|
+
NullableMultiSelectField,
|
|
2172
|
+
NullableTextAreaField,
|
|
2173
|
+
RevertButton,
|
|
2174
|
+
SearchableSelectField,
|
|
2175
|
+
SelectField,
|
|
2176
|
+
SingleSearchableSelectField,
|
|
2177
|
+
SubmitButton,
|
|
2178
|
+
SubmitError,
|
|
2179
|
+
TextAreaField,
|
|
2180
|
+
TextField,
|
|
2181
|
+
effectFormMessages
|
|
2183
2182
|
};
|