@datum-cloud/datum-ui 0.5.0 → 0.6.0-alpha.a9a8815
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/README.md +78 -40
- package/dist/adapter-context-rWveHhDd.mjs +25 -0
- package/dist/combobox/index.mjs +2 -0
- package/dist/combobox-cKTFK4uN.mjs +96 -0
- package/dist/components/features/combobox/combobox.d.ts +27 -0
- package/dist/components/features/combobox/combobox.d.ts.map +1 -0
- package/dist/components/features/combobox/index.d.ts +3 -0
- package/dist/components/features/combobox/index.d.ts.map +1 -0
- package/dist/components/features/combobox/types.d.ts +78 -0
- package/dist/components/features/combobox/types.d.ts.map +1 -0
- package/dist/components/features/date-time-picker/date-time-picker.d.ts +9 -0
- package/dist/components/features/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/components/features/date-time-picker/index.d.ts +3 -0
- package/dist/components/features/date-time-picker/index.d.ts.map +1 -0
- package/dist/components/features/date-time-picker/types.d.ts +53 -0
- package/dist/components/features/date-time-picker/types.d.ts.map +1 -0
- package/dist/components/features/date-time-picker/utils/format.d.ts +13 -0
- package/dist/components/features/date-time-picker/utils/format.d.ts.map +1 -0
- package/dist/components/features/date-time-picker/utils/index.d.ts +3 -0
- package/dist/components/features/date-time-picker/utils/index.d.ts.map +1 -0
- package/dist/components/features/date-time-picker/utils/timezone.d.ts +23 -0
- package/dist/components/features/date-time-picker/utils/timezone.d.ts.map +1 -0
- package/dist/components/features/form/adapter-context.d.ts +17 -0
- package/dist/components/features/form/adapter-context.d.ts.map +1 -0
- package/dist/components/features/form/adapter-types.d.ts +120 -0
- package/dist/components/features/form/adapter-types.d.ts.map +1 -0
- package/dist/components/features/form/adapters/conform/conform-adapter.d.ts +9 -0
- package/dist/components/features/form/adapters/conform/conform-adapter.d.ts.map +1 -0
- package/dist/components/features/form/adapters/conform/conform-provider.d.ts +22 -0
- package/dist/components/features/form/adapters/conform/conform-provider.d.ts.map +1 -0
- package/dist/components/features/form/adapters/conform/index.d.ts +3 -0
- package/dist/components/features/form/adapters/conform/index.d.ts.map +1 -0
- package/dist/components/features/form/adapters/rhf/index.d.ts +3 -0
- package/dist/components/features/form/adapters/rhf/index.d.ts.map +1 -0
- package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts +10 -0
- package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts.map +1 -0
- package/dist/components/features/form/adapters/rhf/rhf-provider.d.ts +22 -0
- package/dist/components/features/form/adapters/rhf/rhf-provider.d.ts.map +1 -0
- package/dist/components/features/form/components/form-autocomplete.d.ts.map +1 -1
- package/dist/components/features/form/components/form-autosearch.d.ts +25 -0
- package/dist/components/features/form/components/form-autosearch.d.ts.map +1 -0
- package/dist/components/features/form/components/form-checkbox.d.ts.map +1 -1
- package/dist/components/features/form/components/form-combobox.d.ts +76 -0
- package/dist/components/features/form/components/form-combobox.d.ts.map +1 -0
- package/dist/components/features/form/components/form-copy-box.d.ts.map +1 -1
- package/dist/components/features/form/components/form-custom.d.ts.map +1 -1
- package/dist/components/features/form/components/form-date-picker.d.ts +38 -0
- package/dist/components/features/form/components/form-date-picker.d.ts.map +1 -0
- package/dist/components/features/form/components/form-date-time-picker.d.ts +37 -0
- package/dist/components/features/form/components/form-date-time-picker.d.ts.map +1 -0
- package/dist/components/features/form/components/form-field-array.d.ts +5 -17
- package/dist/components/features/form/components/form-field-array.d.ts.map +1 -1
- package/dist/components/features/form/components/form-field.d.ts +7 -21
- package/dist/components/features/form/components/form-field.d.ts.map +1 -1
- package/dist/components/features/form/components/form-input-group.d.ts +4 -4
- package/dist/components/features/form/components/form-input-group.d.ts.map +1 -1
- package/dist/components/features/form/components/form-input.d.ts.map +1 -1
- package/dist/components/features/form/components/form-radio-group.d.ts.map +1 -1
- package/dist/components/features/form/components/form-root.d.ts +5 -25
- package/dist/components/features/form/components/form-root.d.ts.map +1 -1
- package/dist/components/features/form/components/form-select.d.ts.map +1 -1
- package/dist/components/features/form/components/form-switch.d.ts.map +1 -1
- package/dist/components/features/form/components/form-textarea.d.ts.map +1 -1
- package/dist/components/features/form/components/form-time-picker.d.ts +21 -0
- package/dist/components/features/form/components/form-time-picker.d.ts.map +1 -0
- package/dist/components/features/form/components/form-transfer.d.ts +37 -0
- package/dist/components/features/form/components/form-transfer.d.ts.map +1 -0
- package/dist/components/features/form/components/index.d.ts +6 -1
- package/dist/components/features/form/components/index.d.ts.map +1 -1
- package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +1 -1
- package/dist/components/features/form/context/form-context.d.ts +2 -2
- package/dist/components/features/form/context/form-context.d.ts.map +1 -1
- package/dist/components/features/form/hooks/index.d.ts +1 -1
- package/dist/components/features/form/hooks/index.d.ts.map +1 -1
- package/dist/components/features/form/hooks/use-field.d.ts +12 -18
- package/dist/components/features/form/hooks/use-field.d.ts.map +1 -1
- package/dist/components/features/form/hooks/use-form-state.d.ts +36 -0
- package/dist/components/features/form/hooks/use-form-state.d.ts.map +1 -0
- package/dist/components/features/form/hooks/use-watch.d.ts +9 -20
- package/dist/components/features/form/hooks/use-watch.d.ts.map +1 -1
- package/dist/components/features/form/index.d.ts +69 -44
- package/dist/components/features/form/index.d.ts.map +1 -1
- package/dist/components/features/form/stepper/index.d.ts +17 -0
- package/dist/components/features/form/stepper/index.d.ts.map +1 -0
- package/dist/components/features/form/types/index.d.ts +68 -32
- package/dist/components/features/form/types/index.d.ts.map +1 -1
- package/dist/components/features/form/utils/get-field-constraints.d.ts +43 -0
- package/dist/components/features/form/utils/get-field-constraints.d.ts.map +1 -0
- package/dist/components/features/form/utils/get-schema-defaults.d.ts +24 -0
- package/dist/components/features/form/utils/get-schema-defaults.d.ts.map +1 -0
- package/dist/components/features/time-picker/index.d.ts +3 -0
- package/dist/components/features/time-picker/index.d.ts.map +1 -0
- package/dist/components/features/time-picker/time-picker.d.ts +22 -0
- package/dist/components/features/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/features/time-picker/types.d.ts +31 -0
- package/dist/components/features/time-picker/types.d.ts.map +1 -0
- package/dist/components/features/transfer/components/index.d.ts +9 -0
- package/dist/components/features/transfer/components/index.d.ts.map +1 -0
- package/dist/components/features/transfer/components/transfer-group.d.ts +7 -0
- package/dist/components/features/transfer/components/transfer-group.d.ts.map +1 -0
- package/dist/components/features/transfer/components/transfer-item.d.ts +10 -0
- package/dist/components/features/transfer/components/transfer-item.d.ts.map +1 -0
- package/dist/components/features/transfer/components/transfer-panel.d.ts +18 -0
- package/dist/components/features/transfer/components/transfer-panel.d.ts.map +1 -0
- package/dist/components/features/transfer/components/transfer-search.d.ts +9 -0
- package/dist/components/features/transfer/components/transfer-search.d.ts.map +1 -0
- package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts +26 -0
- package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts.map +1 -0
- package/dist/components/features/transfer/hooks/use-transfer-state.d.ts +20 -0
- package/dist/components/features/transfer/hooks/use-transfer-state.d.ts.map +1 -0
- package/dist/components/features/transfer/index.d.ts +3 -0
- package/dist/components/features/transfer/index.d.ts.map +1 -0
- package/dist/components/features/transfer/transfer.d.ts +6 -0
- package/dist/components/features/transfer/transfer.d.ts.map +1 -0
- package/dist/components/features/transfer/types.d.ts +69 -0
- package/dist/components/features/transfer/types.d.ts.map +1 -0
- package/dist/date-picker/index.mjs +1 -1
- package/dist/date-time-picker/index.mjs +2 -0
- package/dist/date-time-picker-Bx_n4nEJ.mjs +177 -0
- package/dist/form/adapters/conform/index.mjs +326 -0
- package/dist/form/adapters/rhf/index.mjs +275 -0
- package/dist/form/index.mjs +3 -2
- package/dist/form/stepper/index.mjs +542 -0
- package/dist/form-context-Ccxm-wqL.mjs +17 -0
- package/dist/form-zf5QOnAk.mjs +1611 -0
- package/dist/get-field-constraints-CxfZ753o.mjs +49 -0
- package/dist/grid/index.mjs +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.mjs +14 -13
- package/dist/input-number/index.mjs +1 -1
- package/dist/map/index.mjs +1 -1
- package/dist/{map-ClxB41Hg.mjs → map-CWIQ-eql.mjs} +1 -1
- package/dist/more-actions/index.mjs +1 -1
- package/dist/page-title/index.mjs +1 -1
- package/dist/stepper/index.mjs +1 -320
- package/dist/stepper-DvIOp0hh.mjs +321 -0
- package/dist/tag-input/index.mjs +1 -1
- package/dist/task-queue/index.mjs +1 -1
- package/dist/time-picker/index.mjs +2 -0
- package/dist/time-picker-BoF7pZZ2.mjs +43 -0
- package/dist/transfer/index.mjs +2 -0
- package/dist/transfer-C55XfEXy.mjs +243 -0
- package/package.json +58 -2
- package/dist/form-Co3fM4B7.mjs +0 -2114
- /package/dist/{col-q-J99UHe.mjs → col-1T0Q3SlH.mjs} +0 -0
- /package/dist/{hooks-Cb7YlxN4.mjs → hooks-D8r2M2U6.mjs} +0 -0
- /package/dist/{input-number-mDB-5M5C.mjs → input-number-a7uydAsw.mjs} +0 -0
- /package/dist/{map-leaflet-imports-CaMm_rdF.mjs → map-leaflet-imports-CRSKA79m.mjs} +0 -0
- /package/dist/{more-actions-CGagbIDT.mjs → more-actions-ILnEZq_E.mjs} +0 -0
- /package/dist/{page-title-R7QbfbWp.mjs → page-title-ChsnpBiH.mjs} +0 -0
- /package/dist/{tag-input-BVSwNcRd.mjs → tag-input-T9cUX9-G.mjs} +0 -0
- /package/dist/{task-queue-dropdown-DyM5R8KF.mjs → task-queue-dropdown-Wcbj-f0V.mjs} +0 -0
- /package/dist/{to-api-format-BnbRFYQI.mjs → to-api-format-Bh3c01gr.mjs} +0 -0
- /package/dist/{use-copy-to-clipboard-BGdTmkFV.mjs → use-copy-to-clipboard-uNeeVHC4.mjs} +0 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { t as cn } from "./cn-D2KYQ917.mjs";
|
|
2
|
+
import { t as Button } from "./button-D3RrsMfQ.mjs";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import * as React$1 from "react";
|
|
5
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
7
|
+
import * as Stepperize from "@stepperize/react";
|
|
8
|
+
//#region src/components/features/stepper/stepper.tsx
|
|
9
|
+
const StepperContext = React$1.createContext(null);
|
|
10
|
+
function useStepperProvider() {
|
|
11
|
+
const context = React$1.use(StepperContext);
|
|
12
|
+
if (!context) throw new Error("useStepper must be used within a StepperProvider.");
|
|
13
|
+
return context;
|
|
14
|
+
}
|
|
15
|
+
const classForNavigationList = cva("flex gap-2", { variants: { variant: {
|
|
16
|
+
horizontal: "flex-row items-center justify-between",
|
|
17
|
+
vertical: "flex-col",
|
|
18
|
+
circle: "flex-row items-center justify-between"
|
|
19
|
+
} } });
|
|
20
|
+
const classForSeparator = cva([
|
|
21
|
+
"bg-muted",
|
|
22
|
+
"data-[state=completed]:bg-primary data-[disabled]:opacity-50",
|
|
23
|
+
"transition-all duration-300 ease-in-out"
|
|
24
|
+
], { variants: {
|
|
25
|
+
orientation: {
|
|
26
|
+
horizontal: "h-0.5 flex-1",
|
|
27
|
+
vertical: "h-full w-0.5"
|
|
28
|
+
},
|
|
29
|
+
labelOrientation: { vertical: "absolute left-[calc(50%+30px)] right-[calc(-50%+20px)] top-5 block shrink-0" }
|
|
30
|
+
} });
|
|
31
|
+
function defineStepper(...steps) {
|
|
32
|
+
const { Scoped, useStepper, steps: stepList, Stepper: StepperizePrimitives } = Stepperize.defineStepper(...steps);
|
|
33
|
+
const StepperContainer = ({ children, className, ...props }) => {
|
|
34
|
+
const methods = useStepper();
|
|
35
|
+
return /* @__PURE__ */ jsx("div", {
|
|
36
|
+
"date-component": "stepper",
|
|
37
|
+
className: cn("w-full", className),
|
|
38
|
+
...props,
|
|
39
|
+
children: typeof children === "function" ? children({ methods }) : children
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
return {
|
|
43
|
+
steps: stepList,
|
|
44
|
+
useStepper,
|
|
45
|
+
Stepper: {
|
|
46
|
+
...StepperizePrimitives,
|
|
47
|
+
Provider: ({ variant = "horizontal", labelOrientation = "horizontal", tracking = false, children, className, ...props }) => {
|
|
48
|
+
return /* @__PURE__ */ jsx(StepperContext, {
|
|
49
|
+
value: {
|
|
50
|
+
variant,
|
|
51
|
+
labelOrientation,
|
|
52
|
+
tracking
|
|
53
|
+
},
|
|
54
|
+
children: /* @__PURE__ */ jsx(Scoped, {
|
|
55
|
+
initialStep: props.initialStep,
|
|
56
|
+
initialMetadata: props.initialMetadata,
|
|
57
|
+
children: /* @__PURE__ */ jsx(StepperContainer, {
|
|
58
|
+
className,
|
|
59
|
+
...props,
|
|
60
|
+
children
|
|
61
|
+
})
|
|
62
|
+
})
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
Navigation: ({ children, "aria-label": ariaLabel = "Stepper Navigation", ...props }) => {
|
|
66
|
+
const { variant } = useStepperProvider();
|
|
67
|
+
return /* @__PURE__ */ jsx("nav", {
|
|
68
|
+
"date-component": "stepper-navigation",
|
|
69
|
+
"aria-label": ariaLabel,
|
|
70
|
+
role: "tablist",
|
|
71
|
+
...props,
|
|
72
|
+
children: /* @__PURE__ */ jsx("ol", {
|
|
73
|
+
"date-component": "stepper-navigation-list",
|
|
74
|
+
className: classForNavigationList({ variant }),
|
|
75
|
+
children
|
|
76
|
+
})
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
Step: ({ children, className, icon, ...props }) => {
|
|
80
|
+
const { variant, labelOrientation } = useStepperProvider();
|
|
81
|
+
const stepper = useStepper();
|
|
82
|
+
const steps = stepList;
|
|
83
|
+
const stepIndex = stepper.lookup.getIndex(props.of);
|
|
84
|
+
const step = steps[stepIndex];
|
|
85
|
+
const currentIndex = stepper.lookup.getIndex(stepper.state.current.data.id);
|
|
86
|
+
const isLast = stepper.lookup.getLast().id === props.of;
|
|
87
|
+
const isActive = stepper.state.current.data.id === props.of;
|
|
88
|
+
const dataState = getStepState(currentIndex, stepIndex);
|
|
89
|
+
const childMap = useStepChildren(children);
|
|
90
|
+
const title = childMap.get("title");
|
|
91
|
+
const description = childMap.get("description");
|
|
92
|
+
const panel = childMap.get("panel");
|
|
93
|
+
if (variant === "circle") return /* @__PURE__ */ jsxs("li", {
|
|
94
|
+
"date-component": "stepper-step",
|
|
95
|
+
className: cn("flex shrink-0 items-center gap-4 rounded-md transition-colors", className),
|
|
96
|
+
children: [/* @__PURE__ */ jsx(CircleStepIndicator, {
|
|
97
|
+
currentStep: stepIndex + 1,
|
|
98
|
+
totalSteps: steps.length
|
|
99
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
100
|
+
"date-component": "stepper-step-content",
|
|
101
|
+
className: "flex flex-col items-start gap-1",
|
|
102
|
+
children: [title, description]
|
|
103
|
+
})]
|
|
104
|
+
});
|
|
105
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
106
|
+
/* @__PURE__ */ jsxs("li", {
|
|
107
|
+
"date-component": "stepper-step",
|
|
108
|
+
className: cn([
|
|
109
|
+
"group peer relative flex items-center gap-2",
|
|
110
|
+
"data-[variant=vertical]:flex-row",
|
|
111
|
+
"data-[label-orientation=vertical]:w-full",
|
|
112
|
+
"data-[label-orientation=vertical]:flex-col",
|
|
113
|
+
"data-[label-orientation=vertical]:justify-center"
|
|
114
|
+
]),
|
|
115
|
+
"data-variant": variant,
|
|
116
|
+
"data-label-orientation": labelOrientation,
|
|
117
|
+
"data-state": dataState,
|
|
118
|
+
"data-disabled": props.disabled,
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ jsx(Button, {
|
|
121
|
+
id: `step-${step.id}`,
|
|
122
|
+
"date-component": "stepper-step-indicator",
|
|
123
|
+
type: "button",
|
|
124
|
+
role: "tab",
|
|
125
|
+
tabIndex: dataState !== "inactive" ? 0 : -1,
|
|
126
|
+
className: cn("rounded-full", className),
|
|
127
|
+
variant: dataState !== "inactive" ? "default" : "secondary",
|
|
128
|
+
size: "icon",
|
|
129
|
+
"aria-controls": `step-panel-${props.of}`,
|
|
130
|
+
"aria-current": isActive ? "step" : void 0,
|
|
131
|
+
"aria-posinset": stepIndex + 1,
|
|
132
|
+
"aria-setsize": steps.length,
|
|
133
|
+
"aria-selected": isActive,
|
|
134
|
+
onKeyDown: (e) => onStepKeyDown(e, stepper.lookup.getNext(props.of), stepper.lookup.getPrev(props.of)),
|
|
135
|
+
...props,
|
|
136
|
+
children: icon ?? stepIndex + 1
|
|
137
|
+
}),
|
|
138
|
+
variant === "horizontal" && labelOrientation === "vertical" && /* @__PURE__ */ jsx(StepperSeparator, {
|
|
139
|
+
orientation: "horizontal",
|
|
140
|
+
labelOrientation,
|
|
141
|
+
isLast,
|
|
142
|
+
state: dataState,
|
|
143
|
+
disabled: props.disabled
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ jsxs("div", {
|
|
146
|
+
"date-component": "stepper-step-content",
|
|
147
|
+
className: "flex flex-col items-start",
|
|
148
|
+
children: [title, description]
|
|
149
|
+
})
|
|
150
|
+
]
|
|
151
|
+
}),
|
|
152
|
+
variant === "horizontal" && labelOrientation === "horizontal" && /* @__PURE__ */ jsx(StepperSeparator, {
|
|
153
|
+
orientation: "horizontal",
|
|
154
|
+
isLast,
|
|
155
|
+
state: dataState,
|
|
156
|
+
disabled: props.disabled
|
|
157
|
+
}),
|
|
158
|
+
variant === "vertical" && /* @__PURE__ */ jsxs("div", {
|
|
159
|
+
className: "flex gap-4",
|
|
160
|
+
children: [!isLast && /* @__PURE__ */ jsx("div", {
|
|
161
|
+
className: "flex justify-center ps-[calc(var(--spacing)_*_4.5_-_1px)]",
|
|
162
|
+
children: /* @__PURE__ */ jsx(StepperSeparator, {
|
|
163
|
+
orientation: "vertical",
|
|
164
|
+
isLast,
|
|
165
|
+
state: dataState,
|
|
166
|
+
disabled: props.disabled
|
|
167
|
+
})
|
|
168
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
169
|
+
className: "my-3 flex-1 ps-4",
|
|
170
|
+
children: panel
|
|
171
|
+
})]
|
|
172
|
+
})
|
|
173
|
+
] });
|
|
174
|
+
},
|
|
175
|
+
Title,
|
|
176
|
+
Description,
|
|
177
|
+
Panel: ({ children, asChild, ...props }) => {
|
|
178
|
+
const Comp = asChild ? Slot : "div";
|
|
179
|
+
const { tracking } = useStepperProvider();
|
|
180
|
+
return /* @__PURE__ */ jsx(Comp, {
|
|
181
|
+
"date-component": "stepper-step-panel",
|
|
182
|
+
ref: (node) => scrollIntoStepperPanel(node, tracking),
|
|
183
|
+
...props,
|
|
184
|
+
children
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
Controls: ({ children, className, asChild, ...props }) => {
|
|
188
|
+
return /* @__PURE__ */ jsx(asChild ? Slot : "div", {
|
|
189
|
+
"date-component": "stepper-controls",
|
|
190
|
+
className: cn("flex justify-end gap-4", className),
|
|
191
|
+
...props,
|
|
192
|
+
children
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
function Title({ children, className, asChild, ...props }) {
|
|
199
|
+
return /* @__PURE__ */ jsx(asChild ? Slot : "h4", {
|
|
200
|
+
"date-component": "stepper-step-title",
|
|
201
|
+
className: cn("text-base font-medium", className),
|
|
202
|
+
...props,
|
|
203
|
+
children
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
function Description({ children, className, asChild, ...props }) {
|
|
207
|
+
return /* @__PURE__ */ jsx(asChild ? Slot : "p", {
|
|
208
|
+
"date-component": "stepper-step-description",
|
|
209
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
210
|
+
...props,
|
|
211
|
+
children
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
function StepperSeparator({ orientation, isLast, labelOrientation, state, disabled }) {
|
|
215
|
+
if (isLast) return null;
|
|
216
|
+
return /* @__PURE__ */ jsx("div", {
|
|
217
|
+
"date-component": "stepper-separator",
|
|
218
|
+
"data-orientation": orientation,
|
|
219
|
+
"data-state": state,
|
|
220
|
+
"data-disabled": disabled,
|
|
221
|
+
role: "separator",
|
|
222
|
+
tabIndex: -1,
|
|
223
|
+
className: classForSeparator({
|
|
224
|
+
orientation,
|
|
225
|
+
labelOrientation
|
|
226
|
+
})
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function CircleStepIndicator({ currentStep, totalSteps, size = 80, strokeWidth = 6 }) {
|
|
230
|
+
const radius = (size - strokeWidth) / 2;
|
|
231
|
+
const circumference = radius * 2 * Math.PI;
|
|
232
|
+
const dashOffset = circumference - circumference * (currentStep / totalSteps * 100) / 100;
|
|
233
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
234
|
+
"date-component": "stepper-step-indicator",
|
|
235
|
+
role: "progressbar",
|
|
236
|
+
"aria-valuenow": currentStep,
|
|
237
|
+
"aria-valuemin": 1,
|
|
238
|
+
"aria-valuemax": totalSteps,
|
|
239
|
+
tabIndex: -1,
|
|
240
|
+
className: "relative inline-flex items-center justify-center",
|
|
241
|
+
children: [/* @__PURE__ */ jsxs("svg", {
|
|
242
|
+
width: size,
|
|
243
|
+
height: size,
|
|
244
|
+
children: [
|
|
245
|
+
/* @__PURE__ */ jsx("title", { children: "Step Indicator" }),
|
|
246
|
+
/* @__PURE__ */ jsx("circle", {
|
|
247
|
+
cx: size / 2,
|
|
248
|
+
cy: size / 2,
|
|
249
|
+
r: radius,
|
|
250
|
+
fill: "none",
|
|
251
|
+
stroke: "currentColor",
|
|
252
|
+
strokeWidth,
|
|
253
|
+
className: "text-muted-foreground"
|
|
254
|
+
}),
|
|
255
|
+
/* @__PURE__ */ jsx("circle", {
|
|
256
|
+
cx: size / 2,
|
|
257
|
+
cy: size / 2,
|
|
258
|
+
r: radius,
|
|
259
|
+
fill: "none",
|
|
260
|
+
stroke: "currentColor",
|
|
261
|
+
strokeWidth,
|
|
262
|
+
strokeDasharray: circumference,
|
|
263
|
+
strokeDashoffset: dashOffset,
|
|
264
|
+
className: "text-primary transition-all duration-300 ease-in-out",
|
|
265
|
+
transform: `rotate(-90 ${size / 2} ${size / 2})`
|
|
266
|
+
})
|
|
267
|
+
]
|
|
268
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
269
|
+
className: "absolute inset-0 flex items-center justify-center",
|
|
270
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
271
|
+
className: "text-sm font-medium",
|
|
272
|
+
"aria-live": "polite",
|
|
273
|
+
children: [
|
|
274
|
+
currentStep,
|
|
275
|
+
" ",
|
|
276
|
+
"of",
|
|
277
|
+
totalSteps
|
|
278
|
+
]
|
|
279
|
+
})
|
|
280
|
+
})]
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
function scrollIntoStepperPanel(node, tracking) {
|
|
284
|
+
if (tracking) node?.scrollIntoView({
|
|
285
|
+
behavior: "smooth",
|
|
286
|
+
block: "center"
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
function useStepChildren(children) {
|
|
290
|
+
return React$1.useMemo(() => extractChildren(children), [children]);
|
|
291
|
+
}
|
|
292
|
+
function extractChildren(children) {
|
|
293
|
+
const childrenArray = React$1.Children.toArray(children);
|
|
294
|
+
const map = /* @__PURE__ */ new Map();
|
|
295
|
+
for (const child of childrenArray) if (React$1.isValidElement(child)) if (child.type === Title) map.set("title", child);
|
|
296
|
+
else if (child.type === Description) map.set("description", child);
|
|
297
|
+
else map.set("panel", child);
|
|
298
|
+
return map;
|
|
299
|
+
}
|
|
300
|
+
function onStepKeyDown(e, nextStep, prevStep) {
|
|
301
|
+
const { key } = e;
|
|
302
|
+
const directions = {
|
|
303
|
+
next: ["ArrowRight", "ArrowDown"],
|
|
304
|
+
prev: ["ArrowLeft", "ArrowUp"]
|
|
305
|
+
};
|
|
306
|
+
if (directions.next.includes(key) || directions.prev.includes(key)) {
|
|
307
|
+
const direction = directions.next.includes(key) ? "next" : "prev";
|
|
308
|
+
const step = direction === "next" ? nextStep : prevStep;
|
|
309
|
+
if (!step) return;
|
|
310
|
+
const stepElement = document.getElementById(`step-${step.id}`);
|
|
311
|
+
if (!stepElement) return;
|
|
312
|
+
if (stepElement.parentElement?.getAttribute("data-state") !== "inactive" || direction === "prev") stepElement.focus();
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
function getStepState(currentIndex, stepIndex) {
|
|
316
|
+
if (currentIndex === stepIndex) return "active";
|
|
317
|
+
if (currentIndex > stepIndex) return "completed";
|
|
318
|
+
return "inactive";
|
|
319
|
+
}
|
|
320
|
+
//#endregion
|
|
321
|
+
export { defineStepper as t };
|
package/dist/tag-input/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TagsInput } from "../tag-input-
|
|
1
|
+
import { t as TagsInput } from "../tag-input-T9cUX9-G.mjs";
|
|
2
2
|
export { TagsInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-
|
|
1
|
+
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-Wcbj-f0V.mjs";
|
|
2
2
|
export { LocalTaskStorage, RedisTaskStorage, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskSummaryDialog, createOrgMetadata, createProjectMetadata, createUserMetadata, detectStorage, getContextLabel, matchesCurrentScope, useCurrentScope, useTaskQueue, useTasksWithLabels };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { t as cn } from "./cn-D2KYQ917.mjs";
|
|
2
|
+
import { t as Input } from "./input-FKGqZypx.mjs";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/features/time-picker/time-picker.tsx
|
|
6
|
+
/**
|
|
7
|
+
* TimePicker - Simple time input component
|
|
8
|
+
*
|
|
9
|
+
* Provides a native HTML time input for selecting hours and minutes.
|
|
10
|
+
* Value format: "HH:mm" (e.g., "14:30")
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <TimePicker
|
|
15
|
+
* value="14:30"
|
|
16
|
+
* onChange={(time) => console.log(time)}
|
|
17
|
+
* min="09:00"
|
|
18
|
+
* max="17:00"
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function TimePicker({ value, onChange, min, max, step, placeholder, disabled, className, id, "aria-invalid": ariaInvalid, "aria-describedby": ariaDescribedBy }) {
|
|
23
|
+
const handleChange = React$1.useCallback((e) => {
|
|
24
|
+
onChange?.(e.target.value);
|
|
25
|
+
}, [onChange]);
|
|
26
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
27
|
+
id,
|
|
28
|
+
type: "time",
|
|
29
|
+
value: value || "",
|
|
30
|
+
onChange: handleChange,
|
|
31
|
+
min,
|
|
32
|
+
max,
|
|
33
|
+
step,
|
|
34
|
+
placeholder,
|
|
35
|
+
disabled,
|
|
36
|
+
className: cn(className),
|
|
37
|
+
"aria-invalid": ariaInvalid,
|
|
38
|
+
"aria-describedby": ariaDescribedBy
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
TimePicker.displayName = "TimePicker";
|
|
42
|
+
//#endregion
|
|
43
|
+
export { TimePicker as t };
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { t as cn } from "./cn-D2KYQ917.mjs";
|
|
2
|
+
import { t as Button } from "./button-BllvE9Lm.mjs";
|
|
3
|
+
import { Search, X } from "lucide-react";
|
|
4
|
+
import * as React$1 from "react";
|
|
5
|
+
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/features/transfer/components/transfer-group.tsx
|
|
8
|
+
const TransferGroup = ({ title, children }) => {
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
10
|
+
className: "space-y-1",
|
|
11
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
12
|
+
className: "text-xs font-semibold text-muted-foreground px-2 py-1",
|
|
13
|
+
children: title
|
|
14
|
+
}), children]
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/components/features/transfer/components/transfer-item.tsx
|
|
19
|
+
const TransferItem = ({ label, onClick, disabled = false, panelType }) => {
|
|
20
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
21
|
+
className: cn("group flex items-center gap-2 rounded p-2", "hover:bg-accent transition-colors", panelType === "source" && "cursor-pointer", disabled && "opacity-50 cursor-not-allowed"),
|
|
22
|
+
onClick: panelType === "source" && !disabled ? onClick : void 0,
|
|
23
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: "min-w-0 flex-1",
|
|
25
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
26
|
+
className: "text-sm font-medium",
|
|
27
|
+
children: label
|
|
28
|
+
})
|
|
29
|
+
}), panelType === "target" && /* @__PURE__ */ jsx("button", {
|
|
30
|
+
type: "button",
|
|
31
|
+
className: "h-6 w-6 p-0 rounded opacity-0 group-hover:opacity-100 hover:bg-muted transition-opacity inline-flex items-center justify-center",
|
|
32
|
+
onClick,
|
|
33
|
+
disabled,
|
|
34
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
35
|
+
})]
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/features/transfer/components/transfer-search.tsx
|
|
40
|
+
const TransferSearch = ({ value, onChange, placeholder = "Search...", disabled = false }) => {
|
|
41
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
42
|
+
className: "relative",
|
|
43
|
+
children: [/* @__PURE__ */ jsx(Search, { className: "absolute left-2 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ jsx("input", {
|
|
44
|
+
type: "text",
|
|
45
|
+
value,
|
|
46
|
+
onChange: (e) => onChange(e.target.value),
|
|
47
|
+
placeholder,
|
|
48
|
+
disabled,
|
|
49
|
+
"aria-label": placeholder,
|
|
50
|
+
className: cn("flex h-9 w-full rounded-md border border-input bg-transparent pl-8 pr-3 py-1", "text-sm shadow-sm transition-colors", "placeholder:text-muted-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50")
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/components/features/transfer/components/transfer-panel.tsx
|
|
56
|
+
const TransferPanel = ({ items, groups, searchable, searchValue, onSearchChange, searchPlaceholder, onItemClick, onSelectAll, enableSelectAll, disabled = false, panelType }) => {
|
|
57
|
+
const groupedItems = React$1.useMemo(() => {
|
|
58
|
+
if (groups.length === 0) return { "": items };
|
|
59
|
+
const grouped = {};
|
|
60
|
+
groups.forEach((group) => {
|
|
61
|
+
grouped[group] = items.filter((item) => item.group === group);
|
|
62
|
+
});
|
|
63
|
+
return grouped;
|
|
64
|
+
}, [items, groups]);
|
|
65
|
+
const renderItems = (groupItems) => {
|
|
66
|
+
return groupItems.map((item) => /* @__PURE__ */ jsx(TransferItem, {
|
|
67
|
+
itemKey: item.key,
|
|
68
|
+
label: item.label,
|
|
69
|
+
onClick: () => onItemClick(item.key),
|
|
70
|
+
disabled,
|
|
71
|
+
panelType
|
|
72
|
+
}, item.key));
|
|
73
|
+
};
|
|
74
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
75
|
+
className: "flex flex-col h-full bg-background",
|
|
76
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
77
|
+
className: "border-b p-3",
|
|
78
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
79
|
+
className: "flex min-h-[2.25rem] items-center justify-between mb-2",
|
|
80
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
81
|
+
className: "text-sm font-medium",
|
|
82
|
+
children: panelType === "source" ? `${items.length} items` : `${items.length} selected`
|
|
83
|
+
}), enableSelectAll && items.length > 0 && /* @__PURE__ */ jsx(Button, {
|
|
84
|
+
htmlType: "button",
|
|
85
|
+
type: "quaternary",
|
|
86
|
+
theme: "borderless",
|
|
87
|
+
size: "small",
|
|
88
|
+
onClick: onSelectAll,
|
|
89
|
+
disabled,
|
|
90
|
+
children: panelType === "source" ? "Select All" : "Clear All"
|
|
91
|
+
})]
|
|
92
|
+
}), searchable && /* @__PURE__ */ jsx(TransferSearch, {
|
|
93
|
+
value: searchValue,
|
|
94
|
+
onChange: onSearchChange,
|
|
95
|
+
placeholder: searchPlaceholder,
|
|
96
|
+
disabled
|
|
97
|
+
})]
|
|
98
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
99
|
+
className: "flex-1 overflow-y-auto p-2",
|
|
100
|
+
children: items.length === 0 ? /* @__PURE__ */ jsx("div", {
|
|
101
|
+
className: "text-sm text-muted-foreground text-center py-8",
|
|
102
|
+
children: panelType === "source" ? "No items" : "No items selected"
|
|
103
|
+
}) : groups.length === 0 ? /* @__PURE__ */ jsx("div", {
|
|
104
|
+
className: "space-y-1",
|
|
105
|
+
children: renderItems(items)
|
|
106
|
+
}) : Object.entries(groupedItems).map(([group, groupItems]) => groupItems.length > 0 && /* @__PURE__ */ jsx(TransferGroup, {
|
|
107
|
+
title: group,
|
|
108
|
+
children: renderItems(groupItems)
|
|
109
|
+
}, group))
|
|
110
|
+
})]
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/components/features/transfer/hooks/use-transfer-state.ts
|
|
115
|
+
function useTransferState({ items, value, itemKey, itemLabel, itemGroup }) {
|
|
116
|
+
const [sourceSearch, setSourceSearch] = useState("");
|
|
117
|
+
const [debouncedSourceSearch, setDebouncedSourceSearch] = useState("");
|
|
118
|
+
useEffect(() => {
|
|
119
|
+
const timer = setTimeout(() => {
|
|
120
|
+
setDebouncedSourceSearch(sourceSearch);
|
|
121
|
+
}, 300);
|
|
122
|
+
return () => clearTimeout(timer);
|
|
123
|
+
}, [sourceSearch]);
|
|
124
|
+
const getKey = useCallback((item) => {
|
|
125
|
+
return typeof itemKey === "function" ? itemKey(item) : String(item[itemKey]);
|
|
126
|
+
}, [itemKey]);
|
|
127
|
+
const getLabel = useCallback((item) => {
|
|
128
|
+
return typeof itemLabel === "function" ? itemLabel(item) : String(item[itemLabel]);
|
|
129
|
+
}, [itemLabel]);
|
|
130
|
+
const getGroup = useCallback((item) => {
|
|
131
|
+
if (!itemGroup) return void 0;
|
|
132
|
+
return typeof itemGroup === "function" ? itemGroup(item) : String(item[itemGroup]);
|
|
133
|
+
}, [itemGroup]);
|
|
134
|
+
const transferItems = useMemo(() => {
|
|
135
|
+
return items.map((item) => ({
|
|
136
|
+
key: getKey(item),
|
|
137
|
+
label: getLabel(item),
|
|
138
|
+
group: getGroup(item),
|
|
139
|
+
data: item
|
|
140
|
+
}));
|
|
141
|
+
}, [
|
|
142
|
+
items,
|
|
143
|
+
getKey,
|
|
144
|
+
getLabel,
|
|
145
|
+
getGroup
|
|
146
|
+
]);
|
|
147
|
+
const { sourceItems, targetItems } = useMemo(() => {
|
|
148
|
+
const valueSet = new Set(value);
|
|
149
|
+
return {
|
|
150
|
+
sourceItems: transferItems.filter((item) => !valueSet.has(item.key)),
|
|
151
|
+
targetItems: transferItems.filter((item) => valueSet.has(item.key))
|
|
152
|
+
};
|
|
153
|
+
}, [transferItems, value]);
|
|
154
|
+
const filterItems = useCallback((items, search) => {
|
|
155
|
+
if (!search) return items;
|
|
156
|
+
const searchLower = search.toLowerCase();
|
|
157
|
+
return items.filter((item) => item.label.toLowerCase().includes(searchLower) || item.group?.toLowerCase().includes(searchLower) || item.key.toLowerCase().includes(searchLower));
|
|
158
|
+
}, []);
|
|
159
|
+
const filteredSourceItems = useMemo(() => filterItems(sourceItems, debouncedSourceSearch), [
|
|
160
|
+
sourceItems,
|
|
161
|
+
debouncedSourceSearch,
|
|
162
|
+
filterItems
|
|
163
|
+
]);
|
|
164
|
+
const getGroups = useCallback((items) => {
|
|
165
|
+
const groups = /* @__PURE__ */ new Set();
|
|
166
|
+
items.forEach((item) => {
|
|
167
|
+
if (item.group) groups.add(item.group);
|
|
168
|
+
});
|
|
169
|
+
return Array.from(groups).sort();
|
|
170
|
+
}, []);
|
|
171
|
+
return {
|
|
172
|
+
sourceItems,
|
|
173
|
+
targetItems,
|
|
174
|
+
filteredSourceItems,
|
|
175
|
+
sourceGroups: useMemo(() => getGroups(filteredSourceItems), [filteredSourceItems, getGroups]),
|
|
176
|
+
targetGroups: useMemo(() => getGroups(targetItems), [targetItems, getGroups]),
|
|
177
|
+
sourceSearch,
|
|
178
|
+
setSourceSearch
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/components/features/transfer/transfer.tsx
|
|
183
|
+
function Transfer({ items, value, onChange, itemKey, itemLabel, itemGroup, searchable = true, searchPlaceholder = "Search...", sourceTitle = "Available", targetTitle = "Selected", enableSelectAll = true, disabled = false, className }) {
|
|
184
|
+
const state = useTransferState({
|
|
185
|
+
items,
|
|
186
|
+
value,
|
|
187
|
+
itemKey,
|
|
188
|
+
itemLabel,
|
|
189
|
+
itemGroup
|
|
190
|
+
});
|
|
191
|
+
const handleSelect = (key) => {
|
|
192
|
+
if (value.includes(key)) return;
|
|
193
|
+
onChange([...value, key]);
|
|
194
|
+
};
|
|
195
|
+
const handleDeselect = (key) => {
|
|
196
|
+
onChange(value.filter((k) => k !== key));
|
|
197
|
+
};
|
|
198
|
+
const handleSelectAll = () => {
|
|
199
|
+
const sourceKeys = state.filteredSourceItems.map((item) => item.key);
|
|
200
|
+
onChange([...value, ...sourceKeys]);
|
|
201
|
+
};
|
|
202
|
+
const handleClearAll = () => {
|
|
203
|
+
onChange([]);
|
|
204
|
+
};
|
|
205
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
206
|
+
className: cn("flex h-[400px]", className),
|
|
207
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
208
|
+
className: "flex-1 border-r",
|
|
209
|
+
children: /* @__PURE__ */ jsx(TransferPanel, {
|
|
210
|
+
title: sourceTitle,
|
|
211
|
+
items: state.filteredSourceItems,
|
|
212
|
+
groups: state.sourceGroups,
|
|
213
|
+
searchable,
|
|
214
|
+
searchValue: state.sourceSearch,
|
|
215
|
+
onSearchChange: state.setSourceSearch,
|
|
216
|
+
searchPlaceholder,
|
|
217
|
+
onItemClick: handleSelect,
|
|
218
|
+
onSelectAll: handleSelectAll,
|
|
219
|
+
enableSelectAll,
|
|
220
|
+
disabled,
|
|
221
|
+
panelType: "source"
|
|
222
|
+
})
|
|
223
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
224
|
+
className: "flex-1",
|
|
225
|
+
children: /* @__PURE__ */ jsx(TransferPanel, {
|
|
226
|
+
title: targetTitle,
|
|
227
|
+
items: state.targetItems,
|
|
228
|
+
groups: state.targetGroups,
|
|
229
|
+
searchable: false,
|
|
230
|
+
searchValue: "",
|
|
231
|
+
onSearchChange: () => {},
|
|
232
|
+
onItemClick: handleDeselect,
|
|
233
|
+
onSelectAll: handleClearAll,
|
|
234
|
+
enableSelectAll,
|
|
235
|
+
disabled,
|
|
236
|
+
panelType: "target"
|
|
237
|
+
})
|
|
238
|
+
})]
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
Transfer.displayName = "Transfer";
|
|
242
|
+
//#endregion
|
|
243
|
+
export { Transfer as t };
|