@react-form-builder/components-rsuite 7.15.0 → 8.0.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/InputCell-tTp9fZXd.js +17 -0
- package/dist/InputCell-tTp9fZXd.js.map +1 -0
- package/dist/Labeled-8k9VvM4G.js +18 -0
- package/dist/Labeled-8k9VvM4G.js.map +1 -0
- package/dist/{WrappedInput-BRkBjl0z.js → WrappedInput-Cq5StStF.js} +2 -2
- package/dist/{WrappedInput-BRkBjl0z.js.map → WrappedInput-Cq5StStF.js.map} +1 -1
- package/dist/assets/styles.css +1 -0
- package/dist/assets/styles.ltr.css +319 -0
- package/dist/assets/styles.ltr.css.map +1 -0
- package/dist/assets/styles.rtl.css +319 -0
- package/dist/assets/styles.rtl.css.map +1 -0
- package/dist/autocomplete.js +2 -2
- package/dist/breadcrumb.js +32 -29
- package/dist/breadcrumb.js.map +1 -1
- package/dist/builder-view-with-css.js +4 -4
- package/dist/builder-view-with-css.js.map +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +18 -28
- package/dist/checkbox.js.map +1 -1
- package/dist/container.d.ts +4 -0
- package/dist/container.js +15 -16
- package/dist/container.js.map +1 -1
- package/dist/css/formengine-rsuite.css +5 -1
- package/dist/css/rsuite-ltr.css +2 -0
- package/dist/css/rsuite-rtl.css +2 -0
- package/dist/css-loader.d.ts +2 -8
- package/dist/css-loader.js +12 -12
- package/dist/css-loader.js.map +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +34 -42
- package/dist/dropdown.js.map +1 -1
- package/dist/error-message.js +25 -21
- package/dist/error-message.js.map +1 -1
- package/dist/image.js +12 -13
- package/dist/image.js.map +1 -1
- package/dist/index.d.ts +15 -28
- package/dist/index.js +80 -81
- package/dist/input.js +2 -2
- package/dist/label.js +1 -1
- package/dist/link.js +1 -1
- package/dist/localization-wrapper.d.ts +1 -1
- package/dist/localization-wrapper.js +51 -50
- package/dist/localization-wrapper.js.map +1 -1
- package/dist/menu.js +2 -2
- package/dist/message.d.ts +1 -11
- package/dist/message.js +11 -12
- package/dist/message.js.map +1 -1
- package/dist/modal-layout.js +1 -1
- package/dist/modal.js +1 -1
- package/dist/number-format.js +3 -3
- package/dist/pattern-format.js +3 -3
- package/dist/placeholder.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rsuite-ltr.css-uDbh7We6.js +4 -0
- package/dist/rsuite-ltr.css-uDbh7We6.js.map +1 -0
- package/dist/rsuite-rtl.css-icqmWEF6.js +4 -0
- package/dist/rsuite-rtl.css-icqmWEF6.js.map +1 -0
- package/dist/schemas/rsuite-components.schema.json +1 -4
- package/dist/search.js +31 -42
- package/dist/search.js.map +1 -1
- package/dist/static-content.js +1 -1
- package/dist/tab.js +26 -33
- package/dist/tab.js.map +1 -1
- package/dist/tag-picker.js +2 -2
- package/dist/text-area.js +10 -10
- package/dist/text-area.js.map +1 -1
- package/dist/time-picker.js +2 -2
- package/dist/toggle.d.ts +1 -11
- package/dist/toggle.js +16 -18
- package/dist/toggle.js.map +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/uploader.js +3 -3
- package/dist/useTouchOnEvent-BPYbKiku.js.map +1 -1
- package/dist/view-with-css.js +4 -4
- package/dist/view-with-css.js.map +1 -1
- package/dist/wizard.d.ts +6 -8
- package/dist/wizard.js +129 -177
- package/dist/wizard.js.map +1 -1
- package/package.json +7 -7
- package/dist/InputCell-BDyUJFGm.js +0 -21
- package/dist/InputCell-BDyUJFGm.js.map +0 -1
- package/dist/Labeled-BWYRwMiY.js +0 -35
- package/dist/Labeled-BWYRwMiY.js.map +0 -1
- package/dist/formengine-rsuite.css-B1zD3_ue.js +0 -5
- package/dist/formengine-rsuite.css-B1zD3_ue.js.map +0 -1
- package/dist/rsuite-no-reset-rtl.min.css-B0vQWI16.js +0 -5
- package/dist/rsuite-no-reset-rtl.min.css-B0vQWI16.js.map +0 -1
- package/dist/rsuite-no-reset.min.css-bW1P11UK.js +0 -5
- package/dist/rsuite-no-reset.min.css-bW1P11UK.js.map +0 -1
package/dist/error-message.js
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
`, E = e(g.ErrorMessage)`
|
|
14
|
-
z-index: 6;
|
|
15
|
-
`, M = ({ error: r, children: o, placement: s, className: t }) => {
|
|
16
|
-
const a = r ? "rs-form-control-wrapper" : void 0, m = d();
|
|
17
|
-
return /* @__PURE__ */ i(x, { className: c(t, a), children: [
|
|
1
|
+
import { jsxs as n, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { define as i, string as p, useAriaErrorMessage as l } from "@react-form-builder/core";
|
|
3
|
+
import g from "clsx";
|
|
4
|
+
import { Form as f } from "rsuite";
|
|
5
|
+
import { p as M } from "./commonProperties-X-t50qaZ.js";
|
|
6
|
+
import { a as d } from "./categories-_98lyB3C.js";
|
|
7
|
+
const E = "_container_1imzc_1", _ = "_errorMessage_1imzc_8", e = {
|
|
8
|
+
container: E,
|
|
9
|
+
errorMessage: _
|
|
10
|
+
}, h = ({ error: r, children: o, placement: s, className: a }) => {
|
|
11
|
+
const t = r ? "rs-form-control-wrapper" : void 0, m = l();
|
|
12
|
+
return /* @__PURE__ */ n("div", { className: g(e.container, a, t), children: [
|
|
18
13
|
o,
|
|
19
|
-
/* @__PURE__ */
|
|
14
|
+
/* @__PURE__ */ c(
|
|
15
|
+
f.ErrorMessage,
|
|
16
|
+
{
|
|
17
|
+
className: e.errorMessage,
|
|
18
|
+
show: !!r,
|
|
19
|
+
placement: s ?? "bottomStart",
|
|
20
|
+
id: m["aria-errormessage"],
|
|
21
|
+
children: r
|
|
22
|
+
}
|
|
23
|
+
)
|
|
20
24
|
] });
|
|
21
|
-
}, R =
|
|
22
|
-
placement:
|
|
23
|
-
className:
|
|
25
|
+
}, R = i(h, "RsErrorMessage").name("Error message").category(d).props({
|
|
26
|
+
placement: M.default("bottomStart"),
|
|
27
|
+
className: p
|
|
24
28
|
}).componentRole("error-message").hideFromComponentPalette();
|
|
25
29
|
export {
|
|
26
30
|
R as rsErrorMessage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-message.js","sources":["../src/components/RsErrorMessage.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"error-message.js","sources":["../src/components/RsErrorMessage.tsx"],"sourcesContent":["import type {ErrorWrapperProps} from '@react-form-builder/core'\nimport {define, string, useAriaErrorMessage} from '@react-form-builder/core'\nimport cx from 'clsx'\nimport {Form} from 'rsuite'\nimport type {TypeAttributes} from 'rsuite/esm/internals/types'\nimport {placement} from '../commonProperties'\nimport {staticCategory} from './categories'\nimport styles from './RsErrorMessage.module.css'\n\n/**\n * The properties of RsErrorMessage component.\n */\nexport interface RsErrorMessageProps extends ErrorWrapperProps {\n /**\n * The placement of an error message.\n */\n placement?: TypeAttributes.Placement8\n}\n\nconst RsErrorMessage = ({error, children, placement, className}: RsErrorMessageProps) => {\n const wrapperClassName = error ? 'rs-form-control-wrapper' : undefined\n const aria = useAriaErrorMessage()\n\n return (\n <div className={cx(styles.container, className, wrapperClassName)}>\n {children}\n <Form.ErrorMessage\n className={styles.errorMessage}\n show={Boolean(error)}\n placement={placement ?? 'bottomStart'}\n id={aria['aria-errormessage']}\n >\n {error}\n </Form.ErrorMessage>\n </div>\n )\n}\n\n/**\n * Metadata builder for rSuite-based error display component.\n */\nexport const rsErrorMessage = define(RsErrorMessage, 'RsErrorMessage')\n .name('Error message')\n .category(staticCategory)\n .props({\n placement: placement.default('bottomStart'),\n className: string,\n })\n .componentRole('error-message')\n .hideFromComponentPalette()\n"],"names":["RsErrorMessage","error","children","placement","className","wrapperClassName","aria","useAriaErrorMessage","jsxs","cx","styles","jsx","Form","rsErrorMessage","define","staticCategory","string"],"mappings":";;;;;;;;;GAmBMA,IAAiB,CAAC,EAAC,OAAAC,GAAO,UAAAC,GAAU,WAAAC,GAAW,WAAAC,QAAoC;AACvF,QAAMC,IAAmBJ,IAAQ,4BAA4B,QACvDK,IAAOC,EAAA;AAEb,SACE,gBAAAC,EAAC,SAAI,WAAWC,EAAGC,EAAO,WAAWN,GAAWC,CAAgB,GAC7D,UAAA;AAAA,IAAAH;AAAA,IACD,gBAAAS;AAAA,MAACC,EAAK;AAAA,MAAL;AAAA,QACC,WAAWF,EAAO;AAAA,QAClB,MAAM,EAAQT;AAAA,QACd,WAAWE,KAAa;AAAA,QACxB,IAAIG,EAAK,mBAAmB;AAAA,QAE3B,UAAAL;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GACF;AAEJ,GAKaY,IAAiBC,EAAOd,GAAgB,gBAAgB,EAClE,KAAK,eAAe,EACpB,SAASe,CAAc,EACvB,MAAM;AAAA,EACL,WAAWZ,EAAU,QAAQ,aAAa;AAAA,EAC1C,WAAWa;AACb,CAAC,EACA,cAAc,eAAe,EAC7B,yBAAA;"}
|
package/dist/image.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import r from "@
|
|
3
|
-
import
|
|
4
|
-
import { a as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { define as r, string as t, oneOf as C, useBuilderValue as d } from "@react-form-builder/core";
|
|
3
|
+
import H from "clsx";
|
|
4
|
+
import { a as f } from "./categories-_98lyB3C.js";
|
|
5
|
+
const V = `<svg width="3854" height="512" viewBox="0 0 247 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
6
|
<path d="M53.5933 14.7089H56.3264C55.9642 9.17671 61.0354 8.09002 65.3821 9.01206L65.2175 12.8978C63.6698 12.5026 61.3976 12.5026 61.4964 14.7089H65.1845V19.2203H61.4306V32.3263H56.2606V19.2203H53.5933V14.7089Z" fill="#282828"/>
|
|
7
7
|
<path d="M85.2694 23.4353C85.2694 36.1133 66.2689 36.0474 66.2689 23.4353C66.2689 10.7244 85.2694 10.7573 85.2694 23.4353ZM71.4718 23.4353C71.4718 29.3956 80.0665 29.4285 80.0665 23.4353C80.0665 17.3762 71.4718 17.4092 71.4718 23.4353Z" fill="#282828"/>
|
|
8
8
|
<path d="M92.8762 22.4474V32.3263H87.7062V14.5113H92.3822L92.5798 15.6968C93.7323 14.6101 95.0166 14.1491 96.4655 14.1491C97.0912 14.1491 97.7827 14.2479 98.4742 14.4125L98.4084 19.2862C97.8815 19.1215 97.2558 19.0227 96.6631 19.0227C94.7861 19.0556 92.8762 20.0435 92.8762 22.4474Z" fill="#282828"/>
|
|
@@ -22,13 +22,12 @@ const f = `<svg width="3854" height="512" viewBox="0 0 247 40" fill="none" xmlns
|
|
|
22
22
|
</linearGradient>
|
|
23
23
|
</defs>
|
|
24
24
|
</svg>
|
|
25
|
-
`,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}, M = s(p, "RsImage").name("Image").category(H).props({
|
|
25
|
+
`, p = "_image_thjnc_1", c = {
|
|
26
|
+
image: p
|
|
27
|
+
}, e = `data:image/svg+xml,${encodeURIComponent(V)}`, m = ({ alt: n, src: a, className: o, ...l }) => {
|
|
28
|
+
const i = d(a, e);
|
|
29
|
+
return /* @__PURE__ */ s("img", { ...l, className: H(c.image, o), alt: n, src: i });
|
|
30
|
+
}, u = r(m, "RsImage").name("Image").category(f).props({
|
|
32
31
|
src: t.required.default(e).dataBound,
|
|
33
32
|
alt: t.default("Image")
|
|
34
33
|
}).css({
|
|
@@ -36,6 +35,6 @@ const f = `<svg width="3854" height="512" viewBox="0 0 247 40" fill="none" xmlns
|
|
|
36
35
|
objectFit: C("contain", "cover", "fill", "none", "scale-down").default("scale-down").withEditorProps({ creatable: !1 })
|
|
37
36
|
});
|
|
38
37
|
export {
|
|
39
|
-
|
|
38
|
+
u as rsImage
|
|
40
39
|
};
|
|
41
40
|
//# sourceMappingURL=image.js.map
|
package/dist/image.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sources":["../public/images/logo.svg?raw","../src/components/RsImage.tsx"],"sourcesContent":["export default \"<svg width=\\\"3854\\\" height=\\\"512\\\" viewBox=\\\"0 0 247 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n <path d=\\\"M53.5933 14.7089H56.3264C55.9642 9.17671 61.0354 8.09002 65.3821 9.01206L65.2175 12.8978C63.6698 12.5026 61.3976 12.5026 61.4964 14.7089H65.1845V19.2203H61.4306V32.3263H56.2606V19.2203H53.5933V14.7089Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M85.2694 23.4353C85.2694 36.1133 66.2689 36.0474 66.2689 23.4353C66.2689 10.7244 85.2694 10.7573 85.2694 23.4353ZM71.4718 23.4353C71.4718 29.3956 80.0665 29.4285 80.0665 23.4353C80.0665 17.3762 71.4718 17.4092 71.4718 23.4353Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M92.8762 22.4474V32.3263H87.7062V14.5113H92.3822L92.5798 15.6968C93.7323 14.6101 95.0166 14.1491 96.4655 14.1491C97.0912 14.1491 97.7827 14.2479 98.4742 14.4125L98.4084 19.2862C97.8815 19.1215 97.2558 19.0227 96.6631 19.0227C94.7861 19.0556 92.8762 20.0435 92.8762 22.4474Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M101.41 14.5113H106.646V16.2895C107.897 14.7089 110.005 14.215 111.915 14.2479C113.956 14.3467 115.274 15.2687 116.097 16.6188C117.315 14.9394 119.917 14.182 121.991 14.2808C125.35 14.4125 128.05 16.6518 127.984 22.2828V32.3263H122.749V22.3157C122.749 20.1753 121.728 19.3849 120.542 19.352C119.258 19.3191 117.348 20.2082 117.315 22.184V32.3263H112.079V22.3157C112.079 20.1753 111.059 19.3849 109.873 19.352C108.589 19.3191 106.909 20.2411 106.909 22.2498V32.3263H101.41C101.41 24.6537 101.41 22.184 101.41 14.5113Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M150.28 22.645C150.346 23.1719 150.313 23.7317 150.214 24.1927H135.132C135.132 27.6832 138.458 29.7908 141.126 29.7908C143.332 29.7908 145.373 28.8358 146.427 26.8271H149.753C148.403 30.7128 144.748 32.6556 141.093 32.6556C136.515 32.6556 131.905 29.5602 131.905 23.4353C131.905 17.3104 136.449 14.2479 141.158 14.2479C145.571 14.2479 149.918 17.0469 150.28 22.645ZM135.264 21.5254H146.888C146.263 18.3312 143.727 17.0799 141.158 17.0799C138.557 17.0799 135.923 18.3641 135.264 21.5254Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M154.533 14.5113H157.76V16.7176C159.077 14.8077 160.987 14.2479 163.227 14.2479C168.66 14.2479 170.965 17.6397 170.965 22.7438V32.3263H167.771V22.7767C167.771 19.4508 166.915 17.1786 163.128 17.1128C159.67 17.0469 157.76 19.5167 157.76 22.645V32.3263H154.533V14.5113Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M193.734 31.6678C193.734 37.2 188.992 39.3404 184.579 39.3404C180.101 39.3404 175.919 37.5622 175.919 33.5118H179.113C179.113 35.784 182.208 36.5084 184.547 36.4755C187.378 36.4426 190.507 35.0924 190.507 31.6678V29.7908C188.959 31.8324 186.72 32.2934 184.514 32.2934C178.52 32.2934 175.063 28.3089 175.063 23.4682C175.063 18.5617 178.356 14.182 184.579 14.215C186.786 14.215 189.223 14.9724 190.54 16.8823V14.5113H193.734V31.6678ZM184.481 29.4615C188.498 29.4615 190.507 26.2673 190.507 22.9743C190.507 19.813 188.564 17.1457 184.711 17.0469C180.628 16.9481 178.29 20.2411 178.29 23.4682C178.323 26.5966 180.562 29.4615 184.481 29.4615Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M202.175 32.3263H198.948V14.3138H202.175V32.3263ZM198.553 9.93409C198.553 12.4368 202.57 12.4368 202.57 9.93409C202.57 7.43143 198.553 7.49729 198.553 9.93409Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M207.594 14.5113H210.821V16.7176C212.138 14.8077 214.048 14.2479 216.287 14.2479C221.721 14.2479 224.026 17.6397 224.026 22.7438V32.3263H220.832V22.7767C220.832 19.4508 219.975 17.1786 216.188 17.1128C212.731 17.0469 210.821 19.5167 210.821 22.645V32.3263H207.594V14.5113Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M246.175 22.645C246.241 23.1719 246.208 23.7317 246.109 24.1927H231.027C231.027 27.6832 234.353 29.7908 237.021 29.7908C239.227 29.7908 241.269 28.8358 242.322 26.8271H245.648C244.298 30.7128 240.643 32.6556 236.988 32.6556C232.41 32.6556 227.8 29.5602 227.8 23.4353C227.8 17.3104 232.345 14.2479 237.054 14.2479C241.466 14.2479 245.813 17.0469 246.175 22.645ZM231.159 21.5254H242.783C242.158 18.3312 239.622 17.0799 237.054 17.0799C234.452 17.0799 231.818 18.3641 231.159 21.5254Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M29.2573 0C29.2573 6.02479 24.0479 10.9089 17.6216 10.9092H11.0757V40H0.166504V10.9092C0.166504 4.90833 5.01171 0.0398003 11.0034 0.000976562V0.0253906C11.1408 0.0166506 11.2788 0.0100825 11.4175 0.00585938H11.4282C11.5527 0.00217235 11.6779 0 11.8032 0H29.2573Z\\\" fill=\\\"url(#paint0_linear_3210_3996)\\\"/>\\n <path d=\\\"M0.166504 26.9818C0.166504 20.9569 5.05067 16.0727 11.0756 16.0727L29.2574 16.0727C29.2574 22.0976 24.3732 26.9818 18.3483 26.9818H0.166504Z\\\" fill=\\\"#4286F4\\\"/>\\n <defs>\\n <linearGradient id=\\\"paint0_linear_3210_3996\\\" x1=\\\"3.73014\\\" y1=\\\"6.45008\\\" x2=\\\"28.9879\\\" y2=\\\"23.2045\\\" gradientUnits=\\\"userSpaceOnUse\\\">\\n <stop stop-color=\\\"#4286F4\\\"/>\\n <stop offset=\\\"1\\\" stop-color=\\\"#373B44\\\"/>\\n </linearGradient>\\n </defs>\\n</svg>\\n\"","import
|
|
1
|
+
{"version":3,"file":"image.js","sources":["../public/images/logo.svg?raw","../src/components/RsImage.tsx"],"sourcesContent":["export default \"<svg width=\\\"3854\\\" height=\\\"512\\\" viewBox=\\\"0 0 247 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n <path d=\\\"M53.5933 14.7089H56.3264C55.9642 9.17671 61.0354 8.09002 65.3821 9.01206L65.2175 12.8978C63.6698 12.5026 61.3976 12.5026 61.4964 14.7089H65.1845V19.2203H61.4306V32.3263H56.2606V19.2203H53.5933V14.7089Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M85.2694 23.4353C85.2694 36.1133 66.2689 36.0474 66.2689 23.4353C66.2689 10.7244 85.2694 10.7573 85.2694 23.4353ZM71.4718 23.4353C71.4718 29.3956 80.0665 29.4285 80.0665 23.4353C80.0665 17.3762 71.4718 17.4092 71.4718 23.4353Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M92.8762 22.4474V32.3263H87.7062V14.5113H92.3822L92.5798 15.6968C93.7323 14.6101 95.0166 14.1491 96.4655 14.1491C97.0912 14.1491 97.7827 14.2479 98.4742 14.4125L98.4084 19.2862C97.8815 19.1215 97.2558 19.0227 96.6631 19.0227C94.7861 19.0556 92.8762 20.0435 92.8762 22.4474Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M101.41 14.5113H106.646V16.2895C107.897 14.7089 110.005 14.215 111.915 14.2479C113.956 14.3467 115.274 15.2687 116.097 16.6188C117.315 14.9394 119.917 14.182 121.991 14.2808C125.35 14.4125 128.05 16.6518 127.984 22.2828V32.3263H122.749V22.3157C122.749 20.1753 121.728 19.3849 120.542 19.352C119.258 19.3191 117.348 20.2082 117.315 22.184V32.3263H112.079V22.3157C112.079 20.1753 111.059 19.3849 109.873 19.352C108.589 19.3191 106.909 20.2411 106.909 22.2498V32.3263H101.41C101.41 24.6537 101.41 22.184 101.41 14.5113Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M150.28 22.645C150.346 23.1719 150.313 23.7317 150.214 24.1927H135.132C135.132 27.6832 138.458 29.7908 141.126 29.7908C143.332 29.7908 145.373 28.8358 146.427 26.8271H149.753C148.403 30.7128 144.748 32.6556 141.093 32.6556C136.515 32.6556 131.905 29.5602 131.905 23.4353C131.905 17.3104 136.449 14.2479 141.158 14.2479C145.571 14.2479 149.918 17.0469 150.28 22.645ZM135.264 21.5254H146.888C146.263 18.3312 143.727 17.0799 141.158 17.0799C138.557 17.0799 135.923 18.3641 135.264 21.5254Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M154.533 14.5113H157.76V16.7176C159.077 14.8077 160.987 14.2479 163.227 14.2479C168.66 14.2479 170.965 17.6397 170.965 22.7438V32.3263H167.771V22.7767C167.771 19.4508 166.915 17.1786 163.128 17.1128C159.67 17.0469 157.76 19.5167 157.76 22.645V32.3263H154.533V14.5113Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M193.734 31.6678C193.734 37.2 188.992 39.3404 184.579 39.3404C180.101 39.3404 175.919 37.5622 175.919 33.5118H179.113C179.113 35.784 182.208 36.5084 184.547 36.4755C187.378 36.4426 190.507 35.0924 190.507 31.6678V29.7908C188.959 31.8324 186.72 32.2934 184.514 32.2934C178.52 32.2934 175.063 28.3089 175.063 23.4682C175.063 18.5617 178.356 14.182 184.579 14.215C186.786 14.215 189.223 14.9724 190.54 16.8823V14.5113H193.734V31.6678ZM184.481 29.4615C188.498 29.4615 190.507 26.2673 190.507 22.9743C190.507 19.813 188.564 17.1457 184.711 17.0469C180.628 16.9481 178.29 20.2411 178.29 23.4682C178.323 26.5966 180.562 29.4615 184.481 29.4615Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M202.175 32.3263H198.948V14.3138H202.175V32.3263ZM198.553 9.93409C198.553 12.4368 202.57 12.4368 202.57 9.93409C202.57 7.43143 198.553 7.49729 198.553 9.93409Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M207.594 14.5113H210.821V16.7176C212.138 14.8077 214.048 14.2479 216.287 14.2479C221.721 14.2479 224.026 17.6397 224.026 22.7438V32.3263H220.832V22.7767C220.832 19.4508 219.975 17.1786 216.188 17.1128C212.731 17.0469 210.821 19.5167 210.821 22.645V32.3263H207.594V14.5113Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M246.175 22.645C246.241 23.1719 246.208 23.7317 246.109 24.1927H231.027C231.027 27.6832 234.353 29.7908 237.021 29.7908C239.227 29.7908 241.269 28.8358 242.322 26.8271H245.648C244.298 30.7128 240.643 32.6556 236.988 32.6556C232.41 32.6556 227.8 29.5602 227.8 23.4353C227.8 17.3104 232.345 14.2479 237.054 14.2479C241.466 14.2479 245.813 17.0469 246.175 22.645ZM231.159 21.5254H242.783C242.158 18.3312 239.622 17.0799 237.054 17.0799C234.452 17.0799 231.818 18.3641 231.159 21.5254Z\\\" fill=\\\"#282828\\\"/>\\n <path d=\\\"M29.2573 0C29.2573 6.02479 24.0479 10.9089 17.6216 10.9092H11.0757V40H0.166504V10.9092C0.166504 4.90833 5.01171 0.0398003 11.0034 0.000976562V0.0253906C11.1408 0.0166506 11.2788 0.0100825 11.4175 0.00585938H11.4282C11.5527 0.00217235 11.6779 0 11.8032 0H29.2573Z\\\" fill=\\\"url(#paint0_linear_3210_3996)\\\"/>\\n <path d=\\\"M0.166504 26.9818C0.166504 20.9569 5.05067 16.0727 11.0756 16.0727L29.2574 16.0727C29.2574 22.0976 24.3732 26.9818 18.3483 26.9818H0.166504Z\\\" fill=\\\"#4286F4\\\"/>\\n <defs>\\n <linearGradient id=\\\"paint0_linear_3210_3996\\\" x1=\\\"3.73014\\\" y1=\\\"6.45008\\\" x2=\\\"28.9879\\\" y2=\\\"23.2045\\\" gradientUnits=\\\"userSpaceOnUse\\\">\\n <stop stop-color=\\\"#4286F4\\\"/>\\n <stop offset=\\\"1\\\" stop-color=\\\"#373B44\\\"/>\\n </linearGradient>\\n </defs>\\n</svg>\\n\"","import {define, oneOf, string, useBuilderValue} from '@react-form-builder/core'\nimport cx from 'clsx'\nimport type {ComponentProps} from 'react'\nimport rawLogo from '../../public/images/logo.svg?raw'\nimport type {AreaProps} from '../commonTypes'\nimport {staticCategory} from './categories'\nimport styles from './RsImage.module.css'\n\n/**\n * Props for the RsImage component.\n */\nexport interface RsImageProps extends ComponentProps<'img'>, AreaProps {\n}\n\nconst inlineLogo = `data:image/svg+xml,${encodeURIComponent(rawLogo)}`\n\n/**\n * An image component that displays an image with configurable source and styling.\n * @param props the component props.\n * @param props.alt the alternative text for the image.\n * @param props.src the image source URL.\n * @param props.className the CSS class name.\n * @returns the React element.\n */\nconst RsImage = ({alt, src, className, ...props}: RsImageProps) => {\n const source = useBuilderValue(src, inlineLogo)\n\n return <img {...props} className={cx(styles.image, className)} alt={alt} src={source}/>\n}\n\nexport const rsImage = define(RsImage, 'RsImage')\n .name('Image')\n .category(staticCategory)\n .props({\n src: string.required.default(inlineLogo).dataBound,\n alt: string.default('Image'),\n })\n .css({\n objectPosition: oneOf('top', 'bottom', 'left', 'right', 'center').default('left'),\n objectFit: oneOf('contain', 'cover', 'fill', 'none', 'scale-down').default('scale-down')\n .withEditorProps({creatable: false}),\n })\n"],"names":["rawLogo","inlineLogo","RsImage","alt","src","className","props","source","useBuilderValue","jsx","cx","styles","rsImage","define","staticCategory","string","oneOf"],"mappings":";;;;AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;GCcTC,IAAa,sBAAsB,mBAAmBD,CAAO,CAAC,IAU9DE,IAAU,CAAC,EAAC,KAAAC,GAAK,KAAAC,GAAK,WAAAC,GAAW,GAAGC,QAAyB;AACjE,QAAMC,IAASC,EAAgBJ,GAAKH,CAAU;AAE9C,SAAO,gBAAAQ,EAAC,OAAA,EAAK,GAAGH,GAAO,WAAWI,EAAGC,EAAO,OAAON,CAAS,GAAG,KAAAF,GAAU,KAAKI,EAAA,CAAO;AACvF,GAEaK,IAAUC,EAAOX,GAAS,SAAS,EAC7C,KAAK,OAAO,EACZ,SAASY,CAAc,EACvB,MAAM;AAAA,EACL,KAAKC,EAAO,SAAS,QAAQd,CAAU,EAAE;AAAA,EACzC,KAAKc,EAAO,QAAQ,OAAO;AAC7B,CAAC,EACA,IAAI;AAAA,EACH,gBAAgBC,EAAM,OAAO,UAAU,QAAQ,SAAS,QAAQ,EAAE,QAAQ,MAAM;AAAA,EAChF,WAAWA,EAAM,WAAW,SAAS,QAAQ,QAAQ,YAAY,EAAE,QAAQ,YAAY,EACpF,gBAAgB,EAAC,WAAW,IAAM;AACvC,CAAC;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { BuilderView } from '@react-form-builder/core';
|
|
|
5
5
|
import { ButtonProps } from 'rsuite';
|
|
6
6
|
import { CalendarProps } from 'rsuite/esm/Calendar/Calendar';
|
|
7
7
|
import { CheckboxProps } from 'rsuite';
|
|
8
|
-
import { ClassAttributes } from 'react';
|
|
9
8
|
import { ComponentLibraryDescription } from '@react-form-builder/core';
|
|
10
9
|
import { ComponentProps } from 'react';
|
|
11
10
|
import { CSSProperties } from 'react';
|
|
@@ -15,11 +14,10 @@ import { DividerProps } from 'rsuite';
|
|
|
15
14
|
import { ElementType } from 'react';
|
|
16
15
|
import { ErrorWrapperProps } from '@react-form-builder/core';
|
|
17
16
|
import { FormViewerWrapperComponentProps } from '@react-form-builder/core';
|
|
18
|
-
import { HTMLAttributes } from 'react';
|
|
19
17
|
import { InputPickerProps } from 'rsuite';
|
|
20
18
|
import { InputProps } from 'rsuite';
|
|
21
19
|
import { ItemDataType } from 'rsuite/esm/internals/types';
|
|
22
|
-
import { JSX } from '
|
|
20
|
+
import { JSX } from 'react/jsx-runtime';
|
|
23
21
|
import { JSX as JSX_2 } from 'react';
|
|
24
22
|
import { LabeledValue } from '@react-form-builder/core';
|
|
25
23
|
import { LanguageFullCode } from '@react-form-builder/core';
|
|
@@ -28,7 +26,6 @@ import { ModalProps } from 'rsuite';
|
|
|
28
26
|
import { Model } from '@react-form-builder/core';
|
|
29
27
|
import { NavProps } from 'rsuite';
|
|
30
28
|
import { NumericFormatProps } from 'react-number-format';
|
|
31
|
-
import { Omit as Omit_2 } from 'rsuite/esm/internals/types/utils';
|
|
32
29
|
import { OverlayTriggerType } from 'rsuite/esm/internals/Overlay/OverlayTrigger';
|
|
33
30
|
import { PanelProps } from 'rsuite';
|
|
34
31
|
import { PatternFormatProps } from 'react-number-format';
|
|
@@ -44,7 +41,6 @@ import { RefAttributes } from 'react';
|
|
|
44
41
|
import { ReplaceProps } from 'rsuite/esm/internals/types/utils';
|
|
45
42
|
import { SyntheticEvent } from 'react';
|
|
46
43
|
import { TagPickerProps } from 'rsuite';
|
|
47
|
-
import { Theme } from '@emotion/react';
|
|
48
44
|
import { ToggleProps } from 'rsuite';
|
|
49
45
|
import { TypeAttributes } from 'rsuite/esm/internals/types';
|
|
50
46
|
import { UploaderProps } from 'rsuite';
|
|
@@ -70,12 +66,6 @@ export declare const builderViewWithCss: BuilderView;
|
|
|
70
66
|
|
|
71
67
|
export declare const components: BuilderComponent[];
|
|
72
68
|
|
|
73
|
-
/**
|
|
74
|
-
* Loads FormEngine specific styles over "rsuite" library.
|
|
75
|
-
* @returns the Promise that resolves when the custom styles have been loaded successfully.
|
|
76
|
-
*/
|
|
77
|
-
export declare const formEngineRsuiteCssLoader: () => Promise<void>;
|
|
78
|
-
|
|
79
69
|
/**
|
|
80
70
|
* The callback function for loading data into the component.
|
|
81
71
|
* @param newData the new data to be loaded into the component.
|
|
@@ -112,7 +102,7 @@ declare interface LoadDataProps {
|
|
|
112
102
|
* Loads the Left-To-Right (LTR) CSS for the "rsuite" library.
|
|
113
103
|
* @returns the Promise that resolves when the LTR CSS has been loaded successfully.
|
|
114
104
|
*/
|
|
115
|
-
export declare const ltrCssLoader: () => Promise<void
|
|
105
|
+
export declare const ltrCssLoader: () => Promise<() => Promise<void>>;
|
|
116
106
|
|
|
117
107
|
/**
|
|
118
108
|
* Menu item for RsMenu component.
|
|
@@ -246,6 +236,10 @@ export declare interface RsContainerProps {
|
|
|
246
236
|
* Children elements of the container.
|
|
247
237
|
*/
|
|
248
238
|
children?: ReactNode;
|
|
239
|
+
/**
|
|
240
|
+
* CSS class name.
|
|
241
|
+
*/
|
|
242
|
+
className?: string;
|
|
249
243
|
}
|
|
250
244
|
|
|
251
245
|
export declare const rsDatePicker: Definer<RsDatePickerProps>;
|
|
@@ -416,11 +410,7 @@ export declare interface RsMenuProps extends NavProps {
|
|
|
416
410
|
itemsAs: ElementType;
|
|
417
411
|
}
|
|
418
412
|
|
|
419
|
-
export declare const rsMessage: Definer<
|
|
420
|
-
children?: ReactNode | undefined;
|
|
421
|
-
} & {
|
|
422
|
-
theme?: Theme;
|
|
423
|
-
}>;
|
|
413
|
+
export declare const rsMessage: Definer<MessageProps>;
|
|
424
414
|
|
|
425
415
|
export declare const rsModal: Definer<RsModalProps>;
|
|
426
416
|
|
|
@@ -657,11 +647,7 @@ export declare interface RsTimePickerProps extends Omit<DatePickerProps, 'value'
|
|
|
657
647
|
inline?: boolean;
|
|
658
648
|
}
|
|
659
649
|
|
|
660
|
-
export declare const rsToggle: Definer<
|
|
661
|
-
children?: ReactNode | undefined;
|
|
662
|
-
} & {
|
|
663
|
-
theme?: Theme;
|
|
664
|
-
}>;
|
|
650
|
+
export declare const rsToggle: Definer<ToggleProps>;
|
|
665
651
|
|
|
666
652
|
/**
|
|
667
653
|
* Metadata builder for rSuite-based tooltip display component.
|
|
@@ -2266,26 +2252,27 @@ export declare interface RsWizardProps extends PropsWithChildren<any> {
|
|
|
2266
2252
|
onFinish?: (event: SyntheticEvent) => void;
|
|
2267
2253
|
}
|
|
2268
2254
|
|
|
2269
|
-
export declare const rsWizardStep: Definer<
|
|
2270
|
-
theme?: Theme;
|
|
2271
|
-
as?: React.ElementType;
|
|
2272
|
-
} & RsWizardStepProps & ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>>;
|
|
2255
|
+
export declare const rsWizardStep: Definer<RsWizardStepProps>;
|
|
2273
2256
|
|
|
2274
2257
|
/**
|
|
2275
2258
|
* Props for the RsWizardStep component.
|
|
2276
2259
|
*/
|
|
2277
|
-
export declare interface RsWizardStepProps {
|
|
2260
|
+
export declare interface RsWizardStepProps extends PropsWithChildren<any> {
|
|
2278
2261
|
/**
|
|
2279
2262
|
* Label for the wizard step.
|
|
2280
2263
|
*/
|
|
2281
2264
|
label?: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* className for element.
|
|
2267
|
+
*/
|
|
2268
|
+
className?: string;
|
|
2282
2269
|
}
|
|
2283
2270
|
|
|
2284
2271
|
/**
|
|
2285
2272
|
* Loads the Right-to-Left (RTL) CSS for the "rsuite" library.
|
|
2286
2273
|
* @returns the Promise that resolves when the RTL CSS has been loaded successfully.
|
|
2287
2274
|
*/
|
|
2288
|
-
export declare const rtlCssLoader: () => Promise<void
|
|
2275
|
+
export declare const rtlCssLoader: () => Promise<() => Promise<void>>;
|
|
2289
2276
|
|
|
2290
2277
|
/**
|
|
2291
2278
|
* Common CSS text properties.
|
package/dist/index.js
CHANGED
|
@@ -1,98 +1,97 @@
|
|
|
1
1
|
import { r as e, e as t } from "./rSuiteComponentsDescriptions-lX1mwx9_.js";
|
|
2
2
|
import { RsLocalizationWrapper as p } from "./localization-wrapper.js";
|
|
3
|
-
import {
|
|
4
|
-
import { rSuiteComponents as
|
|
5
|
-
import { models as
|
|
6
|
-
import { components as
|
|
7
|
-
import { view as
|
|
8
|
-
import { viewWithCss as
|
|
9
|
-
import { builderViewWithCss as
|
|
10
|
-
import { rsAutoComplete as
|
|
11
|
-
import { rsBreadcrumb as
|
|
12
|
-
import { rsButton as
|
|
13
|
-
import { rsCalendar as
|
|
14
|
-
import { rsCard as
|
|
15
|
-
import { rsCheckbox as
|
|
16
|
-
import { rsContainer as
|
|
3
|
+
import { ltrCssLoader as x, rtlCssLoader as f } from "./css-loader.js";
|
|
4
|
+
import { rSuiteComponents as i } from "./r-suite-components.js";
|
|
5
|
+
import { models as d } from "./models.js";
|
|
6
|
+
import { components as c } from "./definitions.js";
|
|
7
|
+
import { view as u } from "./view.js";
|
|
8
|
+
import { viewWithCss as g } from "./view-with-css.js";
|
|
9
|
+
import { builderViewWithCss as L } from "./builder-view-with-css.js";
|
|
10
|
+
import { rsAutoComplete as S } from "./autocomplete.js";
|
|
11
|
+
import { rsBreadcrumb as k } from "./breadcrumb.js";
|
|
12
|
+
import { rsButton as M } from "./button.js";
|
|
13
|
+
import { rsCalendar as w } from "./calendar.js";
|
|
14
|
+
import { rsCard as z } from "./card.js";
|
|
15
|
+
import { rsCheckbox as A } from "./checkbox.js";
|
|
16
|
+
import { rsContainer as E } from "./container.js";
|
|
17
17
|
import { rsDatePicker as I } from "./date-picker.js";
|
|
18
|
-
import { rsDivider as
|
|
19
|
-
import { rsDropdown as
|
|
20
|
-
import { rsHeader as
|
|
21
|
-
import { rsImage as
|
|
22
|
-
import { rsInput as
|
|
23
|
-
import { rsLabel as
|
|
24
|
-
import { rsLink as
|
|
25
|
-
import { rsMenu as
|
|
26
|
-
import { rsMessage as
|
|
27
|
-
import { rsModal as
|
|
28
|
-
import { rsModalLayout as
|
|
29
|
-
import { rsNumberFormat as
|
|
30
|
-
import { rsPatternFormat as
|
|
31
|
-
import { rsPlaceholderGraph as
|
|
32
|
-
import { rsProgressCircle as
|
|
18
|
+
import { rsDivider as U } from "./divider.js";
|
|
19
|
+
import { rsDropdown as H } from "./dropdown.js";
|
|
20
|
+
import { rsHeader as V } from "./header.js";
|
|
21
|
+
import { rsImage as q } from "./image.js";
|
|
22
|
+
import { rsInput as K } from "./input.js";
|
|
23
|
+
import { rsLabel as Q } from "./label.js";
|
|
24
|
+
import { rsLink as Y } from "./link.js";
|
|
25
|
+
import { rsMenu as _ } from "./menu.js";
|
|
26
|
+
import { rsMessage as rr } from "./message.js";
|
|
27
|
+
import { rsModal as er } from "./modal.js";
|
|
28
|
+
import { rsModalLayout as sr } from "./modal-layout.js";
|
|
29
|
+
import { rsNumberFormat as mr } from "./number-format.js";
|
|
30
|
+
import { rsPatternFormat as fr } from "./pattern-format.js";
|
|
31
|
+
import { rsPlaceholderGraph as ir, rsPlaceholderGrid as nr, rsPlaceholderParagraph as dr } from "./placeholder.js";
|
|
32
|
+
import { rsProgressCircle as cr, rsProgressLine as Cr } from "./progress.js";
|
|
33
33
|
import { rsRadioGroup as Pr } from "./radio-group.js";
|
|
34
|
-
import { rsSearch as
|
|
35
|
-
import { rsStaticContent as
|
|
36
|
-
import { rsTab as
|
|
37
|
-
import { rsTagPicker as
|
|
38
|
-
import { rsTextArea as
|
|
39
|
-
import { rsTimePicker as
|
|
34
|
+
import { rsSearch as hr } from "./search.js";
|
|
35
|
+
import { rsStaticContent as br } from "./static-content.js";
|
|
36
|
+
import { rsTab as Tr } from "./tab.js";
|
|
37
|
+
import { rsTagPicker as Dr } from "./tag-picker.js";
|
|
38
|
+
import { rsTextArea as Wr } from "./text-area.js";
|
|
39
|
+
import { rsTimePicker as vr } from "./time-picker.js";
|
|
40
40
|
import { rsToggle as Gr } from "./toggle.js";
|
|
41
|
-
import { rsUploader as
|
|
41
|
+
import { rsUploader as Br } from "./uploader.js";
|
|
42
42
|
import { rsWizard as Fr, rsWizardStep as Ir } from "./wizard.js";
|
|
43
|
-
import { rsErrorMessage as
|
|
44
|
-
import { rsTooltip as
|
|
43
|
+
import { rsErrorMessage as Ur } from "./error-message.js";
|
|
44
|
+
import { rsTooltip as Hr } from "./tooltip.js";
|
|
45
45
|
export {
|
|
46
46
|
p as RsLocalizationWrapper,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
x as
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
n as rSuiteComponents,
|
|
47
|
+
L as builderViewWithCss,
|
|
48
|
+
c as components,
|
|
49
|
+
x as ltrCssLoader,
|
|
50
|
+
d as models,
|
|
51
|
+
i as rSuiteComponents,
|
|
53
52
|
e as rSuiteComponentsDescriptions,
|
|
54
53
|
t as rSuiteEnUsComponentsDescriptions,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
S as rsAutoComplete,
|
|
55
|
+
k as rsBreadcrumb,
|
|
56
|
+
M as rsButton,
|
|
57
|
+
w as rsCalendar,
|
|
58
|
+
z as rsCard,
|
|
59
|
+
A as rsCheckbox,
|
|
60
|
+
E as rsContainer,
|
|
62
61
|
I as rsDatePicker,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
62
|
+
U as rsDivider,
|
|
63
|
+
H as rsDropdown,
|
|
64
|
+
Ur as rsErrorMessage,
|
|
65
|
+
V as rsHeader,
|
|
66
|
+
q as rsImage,
|
|
67
|
+
K as rsInput,
|
|
68
|
+
Q as rsLabel,
|
|
69
|
+
Y as rsLink,
|
|
70
|
+
_ as rsMenu,
|
|
71
|
+
rr as rsMessage,
|
|
72
|
+
er as rsModal,
|
|
73
|
+
sr as rsModalLayout,
|
|
74
|
+
mr as rsNumberFormat,
|
|
75
|
+
fr as rsPatternFormat,
|
|
76
|
+
ir as rsPlaceholderGraph,
|
|
77
|
+
nr as rsPlaceholderGrid,
|
|
78
|
+
dr as rsPlaceholderParagraph,
|
|
79
|
+
cr as rsProgressCircle,
|
|
80
|
+
Cr as rsProgressLine,
|
|
82
81
|
Pr as rsRadioGroup,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
82
|
+
hr as rsSearch,
|
|
83
|
+
br as rsStaticContent,
|
|
84
|
+
Tr as rsTab,
|
|
85
|
+
Dr as rsTagPicker,
|
|
86
|
+
Wr as rsTextArea,
|
|
87
|
+
vr as rsTimePicker,
|
|
89
88
|
Gr as rsToggle,
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
Hr as rsTooltip,
|
|
90
|
+
Br as rsUploader,
|
|
92
91
|
Fr as rsWizard,
|
|
93
92
|
Ir as rsWizardStep,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
f as rtlCssLoader,
|
|
94
|
+
u as view,
|
|
95
|
+
g as viewWithCss
|
|
97
96
|
};
|
|
98
97
|
//# sourceMappingURL=index.js.map
|
package/dist/input.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as x, jsx as e } from "
|
|
1
|
+
import { jsxs as x, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { define as C, string as s, boolean as g, oneOf as y, useComponentData as v, useAriaAttributes as A } from "@react-form-builder/core";
|
|
3
3
|
import { Visible as V, EyeClose as k } from "@rsuite/icons";
|
|
4
4
|
import { useState as L, useCallback as j } from "react";
|
|
5
5
|
import { InputGroup as n, Input as p } from "rsuite";
|
|
6
6
|
import { i as P } from "./commonProperties-X-t50qaZ.js";
|
|
7
7
|
import { f as R } from "./categories-_98lyB3C.js";
|
|
8
|
-
import { L as S } from "./Labeled-
|
|
8
|
+
import { L as S } from "./Labeled-8k9VvM4G.js";
|
|
9
9
|
const B = ({ style: u, className: d, label: o, passwordMask: m, showPasswordAriaLabel: f, type: c, value: r, ...a }) => {
|
|
10
10
|
const [t, b] = L(!1), { id: i } = v(), l = A({ labeled: !!o }), h = j(() => b((I) => !I), []), w = m ? /* @__PURE__ */ x(n, { inside: !0, children: [
|
|
11
11
|
/* @__PURE__ */ e(p, { id: i, ...l, type: t ? "text" : "password", value: r ?? "", ...a }),
|
package/dist/label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as r } from "
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { define as s, string as l, useBuilderValue as n } from "@react-form-builder/core";
|
|
3
3
|
import { t as m } from "./commonProperties-X-t50qaZ.js";
|
|
4
4
|
import { a as c } from "./categories-_98lyB3C.js";
|
package/dist/link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as s } from "
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { define as d, event as f, string as t, node as c, boolean as m, oneOf as e } from "@react-form-builder/core";
|
|
3
3
|
import { t as p } from "./commonProperties-X-t50qaZ.js";
|
|
4
4
|
import { a as k } from "./categories-_98lyB3C.js";
|