@wrdagency/blockout 0.0.18 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2NBKRL7C-7XoDiJp9.js +85 -0
- package/dist/2RSXSRCN-qt84MtKs.js +61 -0
- package/dist/4CMBR7SL-BHIN8rB4.js +308 -0
- package/dist/5JTVDSTH-CG1NL6Fw.js +174 -0
- package/dist/5VQZOHHZ-CscZGerP.js +59 -0
- package/dist/6VRAQV3D-Clhw_nNS.js +201 -0
- package/dist/7PRQYBBV-91wrWGjk.js +17 -0
- package/dist/ArrowRight.es-xyNbtVOa.js +60 -0
- package/dist/DG5U6ZEL-CVj-Czp2.js +17 -0
- package/dist/F5MUBM3I-87B2_4WK.js +54 -0
- package/dist/LMDWO4NN--KEvZePp.js +610 -0
- package/dist/MTZPJQMC-DyCWBG18.js +14 -0
- package/dist/P7GR5CS5-BoOYUfSQ.js +19 -0
- package/dist/PFRGBC2K-BEg8ahbY.js +303 -0
- package/dist/RS7LB2H4-D0fWv5qu.js +15 -0
- package/dist/RZ4GPYOB-13-5LlEb.js +37 -0
- package/dist/S43UC3DV-Dn8EFLaT.js +22 -0
- package/dist/Square.es-KJLdY11q.js +72 -0
- package/dist/T7VMP3TM-DeRMoW8g.js +77 -0
- package/dist/TP7N7UIH-BHb1rEeb.js +34 -0
- package/dist/UQQRIHDV-Bu8e1bYU.js +69 -0
- package/dist/UYGDZTLQ-DcCmv5SE.js +12 -0
- package/dist/VIIRIBF3-D5DmZNtI.js +26 -0
- package/dist/WMYDSCNQ-DECXdiUT.js +1346 -0
- package/dist/WYCIER3C-8jmp2F15.js +175 -0
- package/dist/YV4JVR4I-LkUIiJWj.js +351 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -0
- package/dist/assets/index15.css +1 -0
- package/dist/assets/index16.css +1 -0
- package/dist/assets/index17.css +1 -0
- package/dist/assets/index18.css +1 -0
- package/dist/assets/index19.css +1 -0
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/assets/style2.css +1 -0
- package/dist/assets/style3.css +1 -0
- package/dist/assets/style4.css +1 -0
- package/dist/assets/styles.css +1 -1
- package/dist/components/block-editor/editor.d.ts +5 -0
- package/dist/components/block-editor/editor.js +6 -0
- package/dist/components/block-editor/index.d.ts +1 -0
- package/dist/components/block-editor/index.js +4 -0
- package/dist/components/breadcrumbs/index.js +87 -31
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +5 -5
- package/dist/components/button/icon.d.ts +1 -2
- package/dist/components/button/icon.js +10 -3
- package/dist/components/button/index.d.ts +4 -0
- package/dist/components/controls/base-control/affix.js +7 -7
- package/dist/components/controls/base-control/index.js +11 -11
- package/dist/components/controls/base-popover-control/index.d.ts +9 -0
- package/dist/components/controls/base-popover-control/index.js +47 -0
- package/dist/components/controls/checkbox-control/index.d.ts +8 -0
- package/dist/components/controls/checkbox-control/index.js +57 -0
- package/dist/components/controls/choice-control/choice.js +13 -11
- package/dist/components/controls/choice-control/index.js +1 -1
- package/dist/components/controls/index.d.ts +4 -1
- package/dist/components/controls/index.js +25 -16
- package/dist/components/controls/number-control/index.js +29 -27
- package/dist/components/controls/password-control/index.js +1 -1
- package/dist/components/controls/recurrence-control/index.d.ts +8 -0
- package/dist/components/controls/recurrence-control/index.js +208 -0
- package/dist/components/controls/select-control/component.d.ts +12 -0
- package/dist/components/controls/select-control/component.js +1879 -0
- package/dist/components/controls/select-control/index.d.ts +2 -12
- package/dist/components/controls/select-control/index.js +5 -1860
- package/dist/components/controls/select-control/options.d.ts +7 -0
- package/dist/components/controls/select-control/options.js +9 -0
- package/dist/components/controls/textarea-control/index.js +1 -1
- package/dist/components/controls/toggle-control/index.js +11 -9
- package/dist/components/controls/toggle-group-control/index.d.ts +19 -0
- package/dist/components/controls/toggle-group-control/index.js +50 -0
- package/dist/components/data-table/header.js +120 -171
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/filesystem/file.d.ts +7 -0
- package/dist/components/filesystem/file.js +44 -0
- package/dist/components/filesystem/folder.d.ts +6 -0
- package/dist/components/filesystem/folder.js +160 -0
- package/dist/components/filesystem/icon.d.ts +7 -0
- package/dist/components/filesystem/icon.js +908 -0
- package/dist/components/filesystem/index.js +14 -0
- package/dist/components/filesystem/list.d.ts +4 -0
- package/dist/components/filesystem/list.js +18 -0
- package/dist/components/filesystem/root.d.ts +3 -0
- package/dist/components/filesystem/root.js +7 -0
- package/dist/components/form/components/index.js +12 -12
- package/dist/components/form/components/pagination.js +23 -16
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +50 -31
- package/dist/components/markdown/{index.d.ts → editor/component.d.ts} +2 -2
- package/dist/components/markdown/editor/component.js +25583 -0
- package/dist/components/markdown/editor/index.d.ts +1 -0
- package/dist/components/markdown/editor/index.js +4 -0
- package/dist/components/markdown/formats.js +29 -27
- package/dist/components/markdown/index.js +5 -25842
- package/dist/components/markdown/prose.d.ts +3 -0
- package/dist/components/markdown/prose.js +15 -0
- package/dist/components/menu/index.js +24 -23
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +14 -42
- package/dist/components/menu/items/submenu.js +2 -2
- package/dist/components/menu/items/toggle.js +25 -91
- package/dist/components/progress/index.js +1 -1
- package/dist/components/tabs/index.js +12 -0
- package/dist/components/tabs/list.d.ts +7 -0
- package/dist/components/tabs/list.js +42 -0
- package/dist/components/tabs/panel.d.ts +8 -0
- package/dist/components/tabs/panel.js +132 -0
- package/dist/components/tabs/root.d.ts +9 -0
- package/dist/components/tabs/root.js +173 -0
- package/dist/components/tabs/tab.d.ts +7 -0
- package/dist/components/tabs/tab.js +81 -0
- package/dist/components/toolbar/index.js +27 -0
- package/dist/components/toolbar/root.d.ts +6 -0
- package/dist/components/toolbar/root.js +6 -0
- package/dist/composite-provider-DxKEAxsZ.js +10 -0
- package/dist/floating-ui.dom-BqewRPVB.js +1124 -0
- package/dist/hooks/state.d.ts +4 -0
- package/dist/hooks/state.js +7 -0
- package/dist/hooks/theme.js +7 -38
- package/dist/index-1AjPIqTN.js +73 -0
- package/dist/index-B5y9bioP.js +258 -0
- package/dist/index-BI5rPXbu.js +391 -0
- package/dist/index.js +63 -40
- package/dist/{item-D9r2-3fk.js → item-BrZqCoM7.js} +240 -234
- package/dist/options-Cfoqhxw2.js +96 -0
- package/dist/primitives/index.d.ts +2 -0
- package/dist/primitives/index.js +4 -0
- package/dist/primitives/resizable/index.js +1 -1
- package/dist/primitives/scroll-area/index.d.ts +7 -0
- package/dist/primitives/scroll-area/index.js +545 -0
- package/dist/primitives/truncate/index.d.ts +7 -0
- package/dist/primitives/truncate/index.js +46 -0
- package/dist/primitives/visually-hidden/index.d.ts +2 -2
- package/dist/primitives/visually-hidden/index.js +13 -3
- package/dist/root-CdR32nP9.js +73 -0
- package/dist/tslib.es6-DN7pKd6F.js +44 -0
- package/dist/types/date.d.ts +39 -0
- package/dist/types/date.js +1749 -0
- package/dist/types/options.d.ts +8 -6
- package/dist/utils/components.d.ts +5 -0
- package/dist/utils/components.js +14 -0
- package/dist/utils/date.d.ts +1 -0
- package/dist/utils/date.js +15 -0
- package/dist/utils/string.d.ts +4 -0
- package/dist/utils/string.js +18 -0
- package/package.json +4 -1
- package/dist/2NBKRL7C-D-Q0qGRV.js +0 -81
- package/dist/P7GR5CS5-qyeuZVEs.js +0 -640
- package/dist/T7VMP3TM-BxgFbvdx.js +0 -2106
- package/dist/UQQRIHDV-BGs025hb.js +0 -1046
- package/dist/VIIRIBF3-D9clDhln.js +0 -21
- package/dist/floating-ui.dom-9sqP7IwC.js +0 -1512
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cn as h } from "../../../utils/css.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { Affix as
|
|
4
|
+
import { Affix as r } from "./affix.js";
|
|
5
5
|
import '../../../assets/index3.css';const C = ({
|
|
6
6
|
as: n = "div",
|
|
7
|
-
label:
|
|
7
|
+
label: c,
|
|
8
8
|
className: a,
|
|
9
|
-
id:
|
|
10
|
-
help:
|
|
9
|
+
id: l,
|
|
10
|
+
help: s,
|
|
11
11
|
children: m,
|
|
12
12
|
prefix: i,
|
|
13
13
|
suffix: d,
|
|
14
14
|
required: p
|
|
15
15
|
}) => {
|
|
16
16
|
const _ = n, b = n === "fieldset" ? "legend" : "label", f = () => {
|
|
17
|
-
var
|
|
18
|
-
(
|
|
17
|
+
var t;
|
|
18
|
+
(t = document.getElementById(l)) == null || t.focus();
|
|
19
19
|
};
|
|
20
20
|
return /* @__PURE__ */ e(_, { className: h("component-base-control", a), children: [
|
|
21
|
-
/* @__PURE__ */ e(b, { className: "component-base-control__label", htmlFor:
|
|
22
|
-
|
|
21
|
+
c && /* @__PURE__ */ e(b, { className: "component-base-control__label", htmlFor: l, children: [
|
|
22
|
+
c,
|
|
23
23
|
p && /* @__PURE__ */ o("span", { className: "component-base-control__label__required", children: "*" })
|
|
24
24
|
] }),
|
|
25
25
|
/* @__PURE__ */ e("div", { className: "component-base-control__box", onClick: f, children: [
|
|
26
|
-
/* @__PURE__ */ o(
|
|
26
|
+
/* @__PURE__ */ o(r, { children: i }),
|
|
27
27
|
/* @__PURE__ */ o("div", { className: "component-base-control__control", children: m }),
|
|
28
|
-
/* @__PURE__ */ o(
|
|
28
|
+
/* @__PURE__ */ o(r, { suffix: !0, children: d })
|
|
29
29
|
] }),
|
|
30
|
-
|
|
30
|
+
s && /* @__PURE__ */ o("div", { className: "component-base-control__help", children: s })
|
|
31
31
|
] });
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC, InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../base-control/props';
|
|
3
|
+
interface BasePopoverControlProps extends CommonProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
placeholder: ReactNode;
|
|
6
|
+
inputProps: Omit<InputHTMLAttributes<HTMLInputElement>, "type">;
|
|
7
|
+
}
|
|
8
|
+
export declare const BasePopoverControl: FC<BasePopoverControlProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import '../../../assets/styles.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/index16.css';/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { Truncate as a } from "../../../primitives/truncate/index.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { e as c } from "../../../CaretDown.es-eySGHzTJ.js";
|
|
8
|
+
import { BaseControl as i } from "../base-control/index.js";
|
|
9
|
+
import { useBaseControlProps as l } from "../base-control/props.js";
|
|
10
|
+
import { u as m, P as v, a as d } from "../../../WMYDSCNQ-DECXdiUT.js";
|
|
11
|
+
import { a as u } from "../../../MTZPJQMC-DyCWBG18.js";
|
|
12
|
+
function P(r = {}) {
|
|
13
|
+
const e = m(r);
|
|
14
|
+
return /* @__PURE__ */ o(u, { value: e, children: r.children });
|
|
15
|
+
}
|
|
16
|
+
const y = (r) => {
|
|
17
|
+
const { baseProps: e, controlProps: p } = l(r, {
|
|
18
|
+
className: "component-base-popover-control"
|
|
19
|
+
}), { placeholder: n, children: s } = p;
|
|
20
|
+
return /* @__PURE__ */ t(i, { ...e, children: [
|
|
21
|
+
/* @__PURE__ */ o("input", { ...p.inputProps, id: p.id, type: "hidden" }),
|
|
22
|
+
/* @__PURE__ */ t(P, { children: [
|
|
23
|
+
/* @__PURE__ */ t(v, { className: "component-base-popover-control__input", children: [
|
|
24
|
+
/* @__PURE__ */ o(a, { className: "component-base-popover-control__value", children: n }),
|
|
25
|
+
/* @__PURE__ */ o("div", { className: "component-base-popover-control__caret", children: /* @__PURE__ */ o(c, {}) })
|
|
26
|
+
] }),
|
|
27
|
+
/* @__PURE__ */ o(
|
|
28
|
+
d,
|
|
29
|
+
{
|
|
30
|
+
className: "component-base-popover-control__popover",
|
|
31
|
+
"data-colour-scheme": "invert",
|
|
32
|
+
wrapperProps: {
|
|
33
|
+
className: "component-base-popover-control__popover__wrapper"
|
|
34
|
+
},
|
|
35
|
+
fitViewport: !0,
|
|
36
|
+
gutter: 8,
|
|
37
|
+
overflowPadding: 4,
|
|
38
|
+
portal: !0,
|
|
39
|
+
children: s
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
] })
|
|
43
|
+
] });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
y as BasePopoverControl
|
|
47
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { ControlFC } from '../base-control/props';
|
|
3
|
+
interface CheckboxControlProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "checked"> {
|
|
4
|
+
value?: boolean;
|
|
5
|
+
onChangeValue?: (value: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const CheckboxControl: ControlFC<CheckboxControlProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cn as N } from "../../../utils/css.js";
|
|
3
|
+
import { noop as t } from "../../../utils/noop.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/index4.css';/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { VisuallyHidden as g } from "../../../primitives/visually-hidden/index.js";
|
|
9
|
+
import { r as C, a as P } from "../../../Square.es-KJLdY11q.js";
|
|
10
|
+
import { Affix as l } from "../base-control/affix.js";
|
|
11
|
+
import { useBaseControlProps as j } from "../base-control/props.js";
|
|
12
|
+
const q = (s) => {
|
|
13
|
+
const { baseProps: a, controlProps: m } = j(s, {
|
|
14
|
+
className: "component-checkbox-control"
|
|
15
|
+
}), { id: i, label: p, prefix: h, suffix: x, help: e, className: d } = a, {
|
|
16
|
+
value: c = !1,
|
|
17
|
+
onChange: f = t,
|
|
18
|
+
onChangeValue: b = t,
|
|
19
|
+
...u
|
|
20
|
+
} = m, k = (n) => {
|
|
21
|
+
b(n.currentTarget.checked), f(n);
|
|
22
|
+
}, _ = c ? C : P;
|
|
23
|
+
return /* @__PURE__ */ r(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
className: N(d, c && "component-checkbox-control--checked"),
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ o(g, { children: /* @__PURE__ */ o(
|
|
29
|
+
"input",
|
|
30
|
+
{
|
|
31
|
+
className: "component-checkbox-control__input",
|
|
32
|
+
type: "checkbox",
|
|
33
|
+
checked: c,
|
|
34
|
+
onChange: k,
|
|
35
|
+
...u
|
|
36
|
+
}
|
|
37
|
+
) }),
|
|
38
|
+
/* @__PURE__ */ r("label", { className: "component-checkbox-control__label", htmlFor: i, children: [
|
|
39
|
+
/* @__PURE__ */ o(
|
|
40
|
+
_,
|
|
41
|
+
{
|
|
42
|
+
className: "component-checkbox-control__icon",
|
|
43
|
+
weight: c ? "fill" : "regular"
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
/* @__PURE__ */ o(l, { children: h }),
|
|
47
|
+
/* @__PURE__ */ o("span", { className: "component-checkbox-control__text", children: p }),
|
|
48
|
+
/* @__PURE__ */ o(l, { suffix: !0, children: x })
|
|
49
|
+
] }),
|
|
50
|
+
e && /* @__PURE__ */ o("div", { className: "component-checkbox-control__help", children: e })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
q as CheckboxControl
|
|
57
|
+
};
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { jsx as c, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
2
|
+
import { cn as h } from "../../../utils/css.js";
|
|
3
3
|
import { useId as s } from "react";
|
|
4
|
-
import '../../../assets/
|
|
4
|
+
import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
5
7
|
import { VisuallyHidden as a } from "../../../primitives/visually-hidden/index.js";
|
|
6
|
-
const
|
|
8
|
+
const v = ({
|
|
7
9
|
value: t,
|
|
8
|
-
label:
|
|
10
|
+
label: r,
|
|
9
11
|
description: o,
|
|
10
|
-
disabled:
|
|
12
|
+
disabled: l,
|
|
11
13
|
multiple: e = !1,
|
|
12
14
|
className: _,
|
|
13
|
-
...
|
|
15
|
+
...m
|
|
14
16
|
}) => {
|
|
15
17
|
const i = s();
|
|
16
18
|
return /* @__PURE__ */ c(
|
|
17
19
|
"label",
|
|
18
20
|
{
|
|
19
|
-
className:
|
|
21
|
+
className: h(
|
|
20
22
|
"component-choice-control__choice",
|
|
21
23
|
`component-choice-control__choice--${e ? "multiple" : "single"}`,
|
|
22
24
|
_
|
|
@@ -26,12 +28,12 @@ const x = ({
|
|
|
26
28
|
/* @__PURE__ */ c(a, { children: /* @__PURE__ */ c(
|
|
27
29
|
"input",
|
|
28
30
|
{
|
|
29
|
-
...
|
|
31
|
+
...m,
|
|
30
32
|
className: "component-choice-control__choice__input",
|
|
31
33
|
id: i,
|
|
32
34
|
type: e ? "checkbox" : "radio",
|
|
33
35
|
value: t,
|
|
34
|
-
disabled:
|
|
36
|
+
disabled: l
|
|
35
37
|
}
|
|
36
38
|
) }),
|
|
37
39
|
/* @__PURE__ */ c(
|
|
@@ -42,7 +44,7 @@ const x = ({
|
|
|
42
44
|
}
|
|
43
45
|
),
|
|
44
46
|
/* @__PURE__ */ n("div", { className: "component-choice-control__choice__text", children: [
|
|
45
|
-
/* @__PURE__ */ c("div", { className: "component-choice-control__choice__label", children:
|
|
47
|
+
/* @__PURE__ */ c("div", { className: "component-choice-control__choice__label", children: r }),
|
|
46
48
|
o && /* @__PURE__ */ c("p", { className: "component-choice-control__choice__description", children: o })
|
|
47
49
|
] })
|
|
48
50
|
] })
|
|
@@ -50,5 +52,5 @@ const x = ({
|
|
|
50
52
|
);
|
|
51
53
|
};
|
|
52
54
|
export {
|
|
53
|
-
|
|
55
|
+
v as Choice
|
|
54
56
|
};
|
|
@@ -5,7 +5,7 @@ import "react";
|
|
|
5
5
|
import { BaseControl as g } from "../base-control/index.js";
|
|
6
6
|
import { useBaseControlProps as v } from "../base-control/props.js";
|
|
7
7
|
import { Choice as P } from "./choice.js";
|
|
8
|
-
import '../../../assets/
|
|
8
|
+
import '../../../assets/index5.css';const _ = (l) => {
|
|
9
9
|
const { baseProps: a, controlProps: s } = v(l, {
|
|
10
10
|
className: "component-choice-control"
|
|
11
11
|
}), {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export { BaseControl } from './base-control';
|
|
2
|
+
export { CheckboxControl } from './checkbox-control';
|
|
2
3
|
export { ChoiceControl } from './choice-control';
|
|
3
4
|
export { NumberControl } from './number-control';
|
|
4
5
|
export { PasswordControl } from './password-control';
|
|
5
|
-
export {
|
|
6
|
+
export { RecurrenceControl } from './recurrence-control';
|
|
7
|
+
export { Options, SelectControl } from './select-control';
|
|
6
8
|
export { TextControl } from './text-control';
|
|
7
9
|
export { TextareaControl } from './textarea-control';
|
|
8
10
|
export { ToggleControl } from './toggle-control';
|
|
11
|
+
export { ToggleGroupControl } from './toggle-group-control';
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import { BaseControl as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
1
|
+
import { BaseControl as e } from "./base-control/index.js";
|
|
2
|
+
import { CheckboxControl as x } from "./checkbox-control/index.js";
|
|
3
|
+
import { ChoiceControl as m } from "./choice-control/index.js";
|
|
4
|
+
import { NumberControl as C } from "./number-control/index.js";
|
|
5
|
+
import { PasswordControl as a } from "./password-control/index.js";
|
|
6
|
+
import { RecurrenceControl as s } from "./recurrence-control/index.js";
|
|
7
|
+
import '../../assets/style.css';/* empty css */
|
|
8
|
+
import { SelectControl as T } from "./select-control/component.js";
|
|
9
|
+
import { o as u } from "../../options-Cfoqhxw2.js";
|
|
10
|
+
import { TextControl as h } from "./text-control/index.js";
|
|
11
|
+
import { TextareaControl as k } from "./textarea-control/index.js";
|
|
12
|
+
import { ToggleControl as B } from "./toggle-control/index.js";
|
|
13
|
+
import { ToggleGroupControl as N } from "./toggle-group-control/index.js";
|
|
9
14
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
m as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
e as BaseControl,
|
|
16
|
+
x as CheckboxControl,
|
|
17
|
+
m as ChoiceControl,
|
|
18
|
+
C as NumberControl,
|
|
19
|
+
u as Options,
|
|
20
|
+
a as PasswordControl,
|
|
21
|
+
s as RecurrenceControl,
|
|
22
|
+
T as SelectControl,
|
|
23
|
+
h as TextControl,
|
|
24
|
+
k as TextareaControl,
|
|
25
|
+
B as ToggleControl,
|
|
26
|
+
N as ToggleGroupControl
|
|
18
27
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { noop as
|
|
3
|
-
import { e as
|
|
1
|
+
import { jsxs as l, Fragment as p, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { noop as c } from "../../../utils/noop.js";
|
|
3
|
+
import { e as f } from "../../../CaretDown.es-eySGHzTJ.js";
|
|
4
4
|
import { r as h } from "../../../CaretUp.es-Cy8czlHG.js";
|
|
5
5
|
import { useRef as x } from "react";
|
|
6
6
|
import { BaseControl as C } from "../base-control/index.js";
|
|
7
7
|
import { Affix as _ } from "../base-control/affix.js";
|
|
8
8
|
import { useBaseControlProps as g } from "../base-control/props.js";
|
|
9
|
-
import '../../../assets/
|
|
10
|
-
const
|
|
9
|
+
import '../../../assets/index6.css';const T = (o) => {
|
|
10
|
+
const r = x(null), s = () => /* @__PURE__ */ l("div", { className: "component-number-control__spinbox", children: [
|
|
11
11
|
/* @__PURE__ */ n(
|
|
12
12
|
"button",
|
|
13
13
|
{
|
|
@@ -15,9 +15,10 @@ import '../../../assets/index5.css';const T = (r) => {
|
|
|
15
15
|
className: "component-number-control__spinbox__button",
|
|
16
16
|
"aria-label": "Increment",
|
|
17
17
|
role: "spinbutton",
|
|
18
|
-
"aria-controls":
|
|
19
|
-
onClick: () =>
|
|
18
|
+
"aria-controls": o.id,
|
|
19
|
+
onClick: () => i(1),
|
|
20
20
|
tabIndex: -1,
|
|
21
|
+
disabled: o.disabled,
|
|
21
22
|
children: /* @__PURE__ */ n(h, {})
|
|
22
23
|
}
|
|
23
24
|
),
|
|
@@ -28,38 +29,39 @@ import '../../../assets/index5.css';const T = (r) => {
|
|
|
28
29
|
className: "component-number-control__spinbox__button",
|
|
29
30
|
"aria-label": "Decrement",
|
|
30
31
|
role: "spinbutton",
|
|
31
|
-
"aria-controls":
|
|
32
|
-
onClick: () =>
|
|
32
|
+
"aria-controls": o.id,
|
|
33
|
+
onClick: () => i(-1),
|
|
33
34
|
tabIndex: -1,
|
|
34
|
-
|
|
35
|
+
disabled: o.disabled,
|
|
36
|
+
children: /* @__PURE__ */ n(f, {})
|
|
35
37
|
}
|
|
36
38
|
)
|
|
37
|
-
] }),
|
|
38
|
-
|
|
39
|
-
}, { baseProps:
|
|
39
|
+
] }), i = (e) => {
|
|
40
|
+
r.current && (e > 0 ? r.current.stepUp(e) : r.current.stepDown(e * -1), t(Number(r.current.value)), r.current.focus());
|
|
41
|
+
}, { baseProps: a, controlProps: u } = g(o, {
|
|
40
42
|
className: "component-number-control",
|
|
41
|
-
suffix: /* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */ n(_, { suffix: !0, children:
|
|
43
|
-
/* @__PURE__ */ n(
|
|
43
|
+
suffix: /* @__PURE__ */ l(p, { children: [
|
|
44
|
+
/* @__PURE__ */ n(_, { suffix: !0, children: o.suffix }),
|
|
45
|
+
/* @__PURE__ */ n(s, {})
|
|
44
46
|
] })
|
|
45
47
|
}), {
|
|
46
|
-
onChangeValue: t =
|
|
47
|
-
onChange:
|
|
48
|
-
value:
|
|
49
|
-
...
|
|
50
|
-
} =
|
|
51
|
-
return /* @__PURE__ */ n(C, { ...
|
|
48
|
+
onChangeValue: t = c,
|
|
49
|
+
onChange: m = c,
|
|
50
|
+
value: b = "",
|
|
51
|
+
...d
|
|
52
|
+
} = u;
|
|
53
|
+
return /* @__PURE__ */ n(C, { ...a, children: /* @__PURE__ */ n(
|
|
52
54
|
"input",
|
|
53
55
|
{
|
|
54
56
|
className: "component-number-control__input",
|
|
55
57
|
type: "number",
|
|
56
58
|
inputMode: "numeric",
|
|
57
|
-
ref:
|
|
58
|
-
onChange: (
|
|
59
|
-
|
|
59
|
+
ref: r,
|
|
60
|
+
onChange: (e) => {
|
|
61
|
+
e.currentTarget.value === "" ? t(void 0) : t(Number(e.currentTarget.value)), m(e);
|
|
60
62
|
},
|
|
61
|
-
value:
|
|
62
|
-
...
|
|
63
|
+
value: b,
|
|
64
|
+
...d
|
|
63
65
|
}
|
|
64
66
|
) });
|
|
65
67
|
};
|
|
@@ -5,7 +5,7 @@ import { useState as E, useRef as g } from "react";
|
|
|
5
5
|
import { w as o } from "../../../SSRBase.es-BUXS72ra.js";
|
|
6
6
|
import { BaseControl as f } from "../base-control/index.js";
|
|
7
7
|
import { useBaseControlProps as M } from "../base-control/props.js";
|
|
8
|
-
import '../../../assets/
|
|
8
|
+
import '../../../assets/index18.css';const L = /* @__PURE__ */ new Map([
|
|
9
9
|
[
|
|
10
10
|
"bold",
|
|
11
11
|
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z" }))
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ControlFC } from '../base-control/props';
|
|
2
|
+
interface RecurrenceControlProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
onChangeValue?: (value: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const RecurrenceControl: ControlFC<RecurrenceControlProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { jsxs as m, jsx as r, Fragment as M } from "react/jsx-runtime";
|
|
2
|
+
import { useObjectState as b } from "../../../hooks/state.js";
|
|
3
|
+
import { Weekday as y, Frequency as p, createRRule as v } from "../../../types/date.js";
|
|
4
|
+
import { getOrdinalSuffix as d } from "../../../utils/date.js";
|
|
5
|
+
import { noop as w } from "../../../utils/noop.js";
|
|
6
|
+
import * as e from "react";
|
|
7
|
+
import { useMemo as F } from "react";
|
|
8
|
+
import { w as A } from "../../../SSRBase.es-BUXS72ra.js";
|
|
9
|
+
import { useBaseControlProps as C } from "../base-control/props.js";
|
|
10
|
+
import { BasePopoverControl as k } from "../base-popover-control/index.js";
|
|
11
|
+
import { NumberControl as h } from "../number-control/index.js";
|
|
12
|
+
import '../../../assets/style.css';import '../../../assets/index19.css';/* empty css */
|
|
13
|
+
import { SelectControl as s } from "../select-control/component.js";
|
|
14
|
+
import { f as q, w as S, a as B } from "../../../options-Cfoqhxw2.js";
|
|
15
|
+
import { ToggleGroupControl as x } from "../toggle-group-control/index.js";
|
|
16
|
+
const P = /* @__PURE__ */ new Map([
|
|
17
|
+
[
|
|
18
|
+
"bold",
|
|
19
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Z" }))
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"duotone",
|
|
23
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ e.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z" }))
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"fill",
|
|
27
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M232,128A104,104,0,1,1,128,24,104.13,104.13,0,0,1,232,128Z" }))
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
"light",
|
|
31
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z" }))
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"regular",
|
|
35
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z" }))
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"thin",
|
|
39
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z" }))
|
|
40
|
+
]
|
|
41
|
+
]), Z = e.forwardRef((o, n) => /* @__PURE__ */ e.createElement(A, { ref: n, ...o, weights: P }));
|
|
42
|
+
Z.displayName = "CircleIcon";
|
|
43
|
+
const _ = /* @__PURE__ */ new Map([
|
|
44
|
+
[
|
|
45
|
+
"bold",
|
|
46
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm0-140a56,56,0,1,0,56,56A56.06,56.06,0,0,0,128,72Zm0,88a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z" }))
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"duotone",
|
|
50
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z", opacity: "0.2" }), /* @__PURE__ */ e.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm0-144a56,56,0,1,0,56,56A56.06,56.06,0,0,0,128,72Zm0,96a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" }))
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
"fill",
|
|
54
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm56-88a56,56,0,1,1-56-56A56.06,56.06,0,0,1,184,128Z" }))
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
"light",
|
|
58
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm0-144a54,54,0,1,0,54,54A54.06,54.06,0,0,0,128,74Zm0,96a42,42,0,1,1,42-42A42,42,0,0,1,128,170Z" }))
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
"regular",
|
|
62
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm0-144a56,56,0,1,0,56,56A56.06,56.06,0,0,0,128,72Zm0,96a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" }))
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
"thin",
|
|
66
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm0-144a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,96a44,44,0,1,1,44-44A44.05,44.05,0,0,1,128,172Z" }))
|
|
67
|
+
]
|
|
68
|
+
]), g = e.forwardRef((o, n) => /* @__PURE__ */ e.createElement(A, { ref: n, ...o, weights: _ }));
|
|
69
|
+
g.displayName = "RadioButtonIcon";
|
|
70
|
+
const J = (o) => {
|
|
71
|
+
const { baseProps: n, controlProps: u } = C(o, {
|
|
72
|
+
className: "component-recurrence-control"
|
|
73
|
+
}), { onChangeValue: c = w, ...i } = u, [t, l] = b({
|
|
74
|
+
interval: 1,
|
|
75
|
+
frequency: p.Weekly,
|
|
76
|
+
frequencySubtype: "byweekday",
|
|
77
|
+
weeklyByWeekday: [y.Monday],
|
|
78
|
+
monthlyByMonthDay: 1,
|
|
79
|
+
monthlySetPos: "first",
|
|
80
|
+
monthlyByWeekday: y.Monday
|
|
81
|
+
}), E = F(() => v(t).toText(), [t]);
|
|
82
|
+
return /* @__PURE__ */ m(
|
|
83
|
+
k,
|
|
84
|
+
{
|
|
85
|
+
...n,
|
|
86
|
+
placeholder: E,
|
|
87
|
+
inputProps: i,
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ m("div", { className: "component-recurrence-control__row", children: [
|
|
90
|
+
/* @__PURE__ */ r(
|
|
91
|
+
h,
|
|
92
|
+
{
|
|
93
|
+
value: t.interval,
|
|
94
|
+
onChangeValue: (a) => l({ interval: a || 1 }),
|
|
95
|
+
suffix: d(t.interval),
|
|
96
|
+
min: 1,
|
|
97
|
+
"aria-label": "Recurrence frequency"
|
|
98
|
+
}
|
|
99
|
+
),
|
|
100
|
+
/* @__PURE__ */ r(
|
|
101
|
+
s,
|
|
102
|
+
{
|
|
103
|
+
"aria-label": "Recurrence period",
|
|
104
|
+
value: t.frequency,
|
|
105
|
+
onChangeValue: (a) => l({ frequency: a }),
|
|
106
|
+
options: q
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] }),
|
|
110
|
+
t.frequency === p.Weekly && /* @__PURE__ */ r("div", { style: { marginTop: "1rem" }, children: /* @__PURE__ */ r(
|
|
111
|
+
x,
|
|
112
|
+
{
|
|
113
|
+
value: t.weeklyByWeekday,
|
|
114
|
+
onChangeValue: (a) => l({ weeklyByWeekday: a }),
|
|
115
|
+
label: "On every",
|
|
116
|
+
options: S,
|
|
117
|
+
multiple: !0
|
|
118
|
+
}
|
|
119
|
+
) }),
|
|
120
|
+
t.frequency === p.Monthly && /* @__PURE__ */ m(M, { children: [
|
|
121
|
+
/* @__PURE__ */ r(
|
|
122
|
+
f,
|
|
123
|
+
{
|
|
124
|
+
type: "bymonthday",
|
|
125
|
+
parsed: t,
|
|
126
|
+
setParsed: l,
|
|
127
|
+
children: /* @__PURE__ */ r(
|
|
128
|
+
h,
|
|
129
|
+
{
|
|
130
|
+
prefix: "On the",
|
|
131
|
+
suffix: d(t.monthlyByMonthDay) + " of the month",
|
|
132
|
+
value: t.monthlyByMonthDay,
|
|
133
|
+
onChangeValue: (a) => l({ monthlyByMonthDay: a || 1 }),
|
|
134
|
+
min: 1,
|
|
135
|
+
max: 31
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
/* @__PURE__ */ m(f, { type: "byweekday", parsed: t, setParsed: l, children: [
|
|
141
|
+
/* @__PURE__ */ r(
|
|
142
|
+
s,
|
|
143
|
+
{
|
|
144
|
+
prefix: "On the",
|
|
145
|
+
options: [
|
|
146
|
+
{
|
|
147
|
+
value: "first",
|
|
148
|
+
label: "First"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
value: "second",
|
|
152
|
+
label: "Second"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
value: "third",
|
|
156
|
+
label: "Third"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
value: "fourth",
|
|
160
|
+
label: "Fourth"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
value: "last",
|
|
164
|
+
label: "Last"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
value: t.monthlySetPos,
|
|
168
|
+
onChangeValue: (a) => l({ monthlySetPos: a })
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
/* @__PURE__ */ r(
|
|
172
|
+
s,
|
|
173
|
+
{
|
|
174
|
+
options: B,
|
|
175
|
+
value: t.monthlyByWeekday,
|
|
176
|
+
onChangeValue: (a) => l({ monthlyByWeekday: a })
|
|
177
|
+
}
|
|
178
|
+
)
|
|
179
|
+
] })
|
|
180
|
+
] })
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
);
|
|
184
|
+
}, f = (o) => {
|
|
185
|
+
const { type: n, children: u, parsed: c, setParsed: i } = o;
|
|
186
|
+
return /* @__PURE__ */ m("div", { className: "component-recurrence-control__frequency_type", children: [
|
|
187
|
+
/* @__PURE__ */ r(
|
|
188
|
+
"button",
|
|
189
|
+
{
|
|
190
|
+
className: "component-recurrence-control__radio",
|
|
191
|
+
"aria-pressed": c.frequencySubtype === n,
|
|
192
|
+
onClick: () => i({ frequencySubtype: n }),
|
|
193
|
+
children: c.frequencySubtype === n ? /* @__PURE__ */ r(g, { weight: "fill" }) : /* @__PURE__ */ r(Z, {})
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
/* @__PURE__ */ r(
|
|
197
|
+
"fieldset",
|
|
198
|
+
{
|
|
199
|
+
className: "component-recurrence-control__row",
|
|
200
|
+
disabled: c.frequencySubtype !== n,
|
|
201
|
+
children: u
|
|
202
|
+
}
|
|
203
|
+
)
|
|
204
|
+
] });
|
|
205
|
+
};
|
|
206
|
+
export {
|
|
207
|
+
J as RecurrenceControl
|
|
208
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Optionable } from '../../../types/options';
|
|
2
|
+
import { ControlProps } from '../base-control/props';
|
|
3
|
+
import * as Ariakit from "@ariakit/react";
|
|
4
|
+
interface SelectControlProps<T extends string = string> extends Ariakit.SelectOptions {
|
|
5
|
+
value?: T;
|
|
6
|
+
onChangeValue?: (value: T) => void;
|
|
7
|
+
options?: Optionable<T>[];
|
|
8
|
+
searchable?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function SelectControl<T extends string = string>(props: ControlProps<SelectControlProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|