@react-form-builder/components-rsuite 7.7.0 → 7.8.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.
Files changed (166) hide show
  1. package/dist/InputCell-f4236002.js +21 -0
  2. package/dist/InputCell-f4236002.js.map +1 -0
  3. package/dist/Labeled-751c2353.js +35 -0
  4. package/dist/Labeled-751c2353.js.map +1 -0
  5. package/dist/WrappedInput-bc5a6d33.js +11 -0
  6. package/dist/WrappedInput-bc5a6d33.js.map +1 -0
  7. package/dist/autocomplete.d.ts +30 -0
  8. package/dist/autocomplete.js +62 -0
  9. package/dist/autocomplete.js.map +1 -0
  10. package/dist/breadcrumb.d.ts +38 -0
  11. package/dist/breadcrumb.js +42 -0
  12. package/dist/breadcrumb.js.map +1 -0
  13. package/dist/builder-view-with-css.d.ts +9 -0
  14. package/dist/builder-view-with-css.js +66 -0
  15. package/dist/builder-view-with-css.js.map +1 -0
  16. package/dist/button.d.ts +6 -0
  17. package/dist/button.js +23 -0
  18. package/dist/button.js.map +1 -0
  19. package/dist/calendar.d.ts +20 -0
  20. package/dist/calendar.js +24 -0
  21. package/dist/calendar.js.map +1 -0
  22. package/dist/card.d.ts +20 -0
  23. package/dist/card.js +30 -0
  24. package/dist/card.js.map +1 -0
  25. package/dist/categories-7064b279.js +8 -0
  26. package/dist/categories-7064b279.js.map +1 -0
  27. package/dist/checkbox.d.ts +6 -0
  28. package/dist/checkbox.js +36 -0
  29. package/dist/checkbox.js.map +1 -0
  30. package/dist/commonProperties-d849cd5b.js +74 -0
  31. package/dist/commonProperties-d849cd5b.js.map +1 -0
  32. package/dist/components-descriptions.d.ts +6 -0
  33. package/dist/components-descriptions.js +5 -0
  34. package/dist/components-descriptions.js.map +1 -0
  35. package/dist/container.d.ts +25 -0
  36. package/dist/container.js +23 -0
  37. package/dist/container.js.map +1 -0
  38. package/dist/css/rsuite-no-reset-rtl.min.css +1 -1
  39. package/dist/css/rsuite-no-reset.min.css +1 -1
  40. package/dist/css-loader.d.ts +19 -0
  41. package/dist/css-loader.js +20 -0
  42. package/dist/css-loader.js.map +1 -0
  43. package/dist/date-picker.d.ts +25 -0
  44. package/dist/date-picker.js +75 -0
  45. package/dist/date-picker.js.map +1 -0
  46. package/dist/dateTimeUtils-b07ce438.js +26 -0
  47. package/dist/dateTimeUtils-b07ce438.js.map +1 -0
  48. package/dist/definitions.d.ts +5 -0
  49. package/dist/definitions.js +59 -0
  50. package/dist/definitions.js.map +1 -0
  51. package/dist/divider.d.ts +11 -0
  52. package/dist/divider.js +12 -0
  53. package/dist/divider.js.map +1 -0
  54. package/dist/dropdown.d.ts +58 -0
  55. package/dist/dropdown.js +57 -0
  56. package/dist/dropdown.js.map +1 -0
  57. package/dist/error-message.d.ts +20 -0
  58. package/dist/error-message.js +28 -0
  59. package/dist/error-message.js.map +1 -0
  60. package/dist/header.d.ts +69 -0
  61. package/dist/header.js +20 -0
  62. package/dist/header.js.map +1 -0
  63. package/dist/hooks-ff273a8a.js +53 -0
  64. package/dist/hooks-ff273a8a.js.map +1 -0
  65. package/dist/image.d.ts +22 -0
  66. package/dist/image.js +41 -0
  67. package/dist/image.js.map +1 -0
  68. package/dist/images/logo.svg +20 -0
  69. package/dist/index.d.ts +3 -0
  70. package/dist/index.js +116 -19516
  71. package/dist/index.js.map +1 -1
  72. package/dist/input.d.ts +32 -0
  73. package/dist/input.js +28 -0
  74. package/dist/input.js.map +1 -0
  75. package/dist/label.d.ts +47 -0
  76. package/dist/label.js +16 -0
  77. package/dist/label.js.map +1 -0
  78. package/dist/link.d.ts +56 -0
  79. package/dist/link.js +20 -0
  80. package/dist/link.js.map +1 -0
  81. package/dist/localization-wrapper.d.ts +164 -0
  82. package/dist/localization-wrapper.js +246 -0
  83. package/dist/localization-wrapper.js.map +1 -0
  84. package/dist/menu.d.ts +35 -0
  85. package/dist/menu.js +50 -0
  86. package/dist/menu.js.map +1 -0
  87. package/dist/message.d.ts +16 -0
  88. package/dist/message.js +18 -0
  89. package/dist/message.js.map +1 -0
  90. package/dist/modal-layout.d.ts +28 -0
  91. package/dist/modal-layout.js +21 -0
  92. package/dist/modal-layout.js.map +1 -0
  93. package/dist/modal.d.ts +16 -0
  94. package/dist/modal.js +27 -0
  95. package/dist/modal.js.map +1 -0
  96. package/dist/models.d.ts +8 -0
  97. package/dist/models.js +60 -0
  98. package/dist/models.js.map +1 -0
  99. package/dist/number-format.d.ts +25 -0
  100. package/dist/number-format.js +53 -0
  101. package/dist/number-format.js.map +1 -0
  102. package/dist/pattern-format.d.ts +25 -0
  103. package/dist/pattern-format.js +39 -0
  104. package/dist/pattern-format.js.map +1 -0
  105. package/dist/placeholder.d.ts +17 -0
  106. package/dist/placeholder.js +38 -0
  107. package/dist/placeholder.js.map +1 -0
  108. package/dist/progress.d.ts +14 -0
  109. package/dist/progress.js +27 -0
  110. package/dist/progress.js.map +1 -0
  111. package/dist/r-suite-components.d.ts +8 -0
  112. package/dist/r-suite-components.js +115 -0
  113. package/dist/r-suite-components.js.map +1 -0
  114. package/dist/rSuiteComponentsDescriptions-d616cdc1.js +17911 -0
  115. package/dist/rSuiteComponentsDescriptions-d616cdc1.js.map +1 -0
  116. package/dist/radio-group.d.ts +26 -0
  117. package/dist/radio-group.js +24 -0
  118. package/dist/radio-group.js.map +1 -0
  119. package/dist/rsuite-no-reset-rtl.min-af106e5c.js +5 -0
  120. package/dist/rsuite-no-reset-rtl.min-af106e5c.js.map +1 -0
  121. package/dist/rsuite-no-reset.min-3caeeea0.js +5 -0
  122. package/dist/rsuite-no-reset.min-3caeeea0.js.map +1 -0
  123. package/dist/search.d.ts +54 -0
  124. package/dist/search.js +60 -0
  125. package/dist/search.js.map +1 -0
  126. package/dist/static-content.d.ts +19 -0
  127. package/dist/static-content.js +15 -0
  128. package/dist/static-content.js.map +1 -0
  129. package/dist/tab.d.ts +39 -0
  130. package/dist/tab.js +59 -0
  131. package/dist/tab.js.map +1 -0
  132. package/dist/tag-picker.d.ts +21 -0
  133. package/dist/tag-picker.js +42 -0
  134. package/dist/tag-picker.js.map +1 -0
  135. package/dist/text-area.d.ts +24 -0
  136. package/dist/text-area.js +24 -0
  137. package/dist/text-area.js.map +1 -0
  138. package/dist/time-picker.d.ts +29 -0
  139. package/dist/time-picker.js +74 -0
  140. package/dist/time-picker.js.map +1 -0
  141. package/dist/toggle.d.ts +16 -0
  142. package/dist/toggle.js +29 -0
  143. package/dist/toggle.js.map +1 -0
  144. package/dist/tooltip.d.ts +29 -0
  145. package/dist/tooltip.js +37 -0
  146. package/dist/tooltip.js.map +1 -0
  147. package/dist/uploader.d.ts +20 -0
  148. package/dist/uploader.js +70 -0
  149. package/dist/uploader.js.map +1 -0
  150. package/dist/useTouchOnEvent-2be3c60d.js +12 -0
  151. package/dist/useTouchOnEvent-2be3c60d.js.map +1 -0
  152. package/dist/view-with-css.d.ts +9 -0
  153. package/dist/view-with-css.js +66 -0
  154. package/dist/view-with-css.js.map +1 -0
  155. package/dist/view.d.ts +8 -0
  156. package/dist/view.js +61 -0
  157. package/dist/view.js.map +1 -0
  158. package/dist/wizard.d.ts +88 -0
  159. package/dist/wizard.js +294 -0
  160. package/dist/wizard.js.map +1 -0
  161. package/package.json +191 -5
  162. package/dist/images/logo.png +0 -0
  163. package/dist/rsuite-no-reset-rtl.min-f9b04ca7.js +0 -5
  164. package/dist/rsuite-no-reset-rtl.min-f9b04ca7.js.map +0 -1
  165. package/dist/rsuite-no-reset.min-12eea714.js +0 -5
  166. package/dist/rsuite-no-reset.min-12eea714.js.map +0 -1
@@ -0,0 +1,32 @@
1
+ import { Definer } from '@react-form-builder/core';
2
+ import type { InputProps } from 'rsuite';
3
+
4
+ export declare const rsInput: Definer<RsInputProps>;
5
+
6
+ /**
7
+ * Props for the RsInput component.
8
+ */
9
+ export declare interface RsInputProps extends InputProps {
10
+ /**
11
+ * The label for the input.
12
+ */
13
+ label: string;
14
+ /**
15
+ * Whether to show password mask.
16
+ */
17
+ passwordMask?: boolean;
18
+ /**
19
+ * The aria label for the show password button.
20
+ */
21
+ showPasswordAriaLabel: string;
22
+ /**
23
+ * The type of the input.
24
+ */
25
+ type?: 'text' | 'password' | 'email' | 'number' | 'search' | 'tel' | 'url' | 'time';
26
+ /**
27
+ * The htmlSize attribute defines the width of the &laquo;input> element.
28
+ */
29
+ htmlSize?: number;
30
+ }
31
+
32
+ export { }
package/dist/input.js ADDED
@@ -0,0 +1,28 @@
1
+ import { jsxs as x, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { define as C, string as s, oneOf as g, boolean as y, useComponentData as v, useAriaAttributes as A } from "@react-form-builder/core";
3
+ import { Visible as V, EyeClose as k } from "@rsuite/icons";
4
+ import { useState as L, useCallback as j } from "react";
5
+ import { InputGroup as n, Input as p } from "rsuite";
6
+ import { i as P } from "./commonProperties-d849cd5b.js";
7
+ import { f as R } from "./categories-7064b279.js";
8
+ import { L as S } from "./Labeled-751c2353.js";
9
+ import "@emotion/react";
10
+ import "@emotion/styled";
11
+ const B = ({ style: u, className: m, label: o, passwordMask: d, showPasswordAriaLabel: f, type: c, value: r, ...a }) => {
12
+ const [t, b] = L(!1), { id: i } = v(), l = A({ labeled: !!o }), h = j(() => b((I) => !I), []), w = d ? /* @__PURE__ */ x(n, { inside: !0, children: [
13
+ /* @__PURE__ */ e(p, { id: i, ...l, type: t ? "text" : "password", value: r ?? "", ...a }),
14
+ /* @__PURE__ */ e(n.Button, { "aria-label": f, "aria-pressed": t, onClick: h, children: t ? /* @__PURE__ */ e(V, {}) : /* @__PURE__ */ e(k, {}) })
15
+ ] }) : /* @__PURE__ */ e(p, { id: i, ...l, type: c, value: r ?? "", ...a });
16
+ return /* @__PURE__ */ e(S, { label: o, style: u, className: m, passAriaToChildren: !1, children: w });
17
+ }, J = C(B, "RsInput").name("Input").category(R).props({
18
+ label: s.default("Input"),
19
+ ...P,
20
+ type: g("text", "password", "email", "number", "search", "tel", "url", "time").default("text"),
21
+ value: s.valued.uncontrolledValue(""),
22
+ passwordMask: y.default(!1),
23
+ showPasswordAriaLabel: s.default("Show password")
24
+ });
25
+ export {
26
+ J as rsInput
27
+ };
28
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sources":["../src/components/RsInput.tsx"],"sourcesContent":["import {boolean, define, oneOf, string, useAriaAttributes, useComponentData} from '@react-form-builder/core'\nimport {EyeClose as EyeSlashIcon, Visible as EyeIcon} from '@rsuite/icons'\nimport {useCallback, useState} from 'react'\nimport type {InputProps} from 'rsuite'\nimport {Input, InputGroup} from 'rsuite'\nimport {inputProps} from '../commonProperties'\nimport {fieldsCategory} from './categories'\nimport {Labeled} from './internal/Labeled'\n\n/**\n * Props for the RsInput component.\n */\nexport interface RsInputProps extends InputProps {\n /**\n * The label for the input.\n */\n label: string\n /**\n * Whether to show password mask.\n */\n passwordMask?: boolean,\n /**\n * The aria label for the show password button.\n */\n showPasswordAriaLabel: string,\n /**\n * The type of the input.\n */\n type?: 'text' | 'password' | 'email' | 'number' | 'search' | 'tel' | 'url' | 'time'\n /**\n * The htmlSize attribute defines the width of the &laquo;input> element.\n */\n htmlSize?: number\n}\n\n/**\n * Input component with label and password mask support.\n * @param props the component props.\n * @param props.style the CSS styles.\n * @param props.className the CSS class name.\n * @param props.label the label for the input.\n * @param props.passwordMask whether to show password mask.\n * @param props.showPasswordAriaLabel the aria label for the show password button.\n * @param props.type the type of the input.\n * @param props.value the value of the input.\n * @param props.props the additional input props.\n * @returns the React element.\n */\nconst RsInput = ({style, className, label, passwordMask, showPasswordAriaLabel, type, value, ...props}: RsInputProps) => {\n const [visible, setVisible] = useState(false)\n const {id} = useComponentData()\n const aria = useAriaAttributes({labeled: !!label})\n\n const toggleVisible = useCallback(() => setVisible(v => !v), [])\n\n const input = passwordMask\n ? <InputGroup inside>\n <Input id={id} {...aria} type={visible ? 'text' : 'password'} value={value ?? ''} {...props}/>\n <InputGroup.Button aria-label={showPasswordAriaLabel} aria-pressed={visible} onClick={toggleVisible}>\n {visible ? <EyeIcon/> : <EyeSlashIcon/>}\n </InputGroup.Button>\n </InputGroup>\n : <Input id={id} {...aria} type={type} value={value ?? ''} {...props}/>\n\n return <Labeled label={label} style={style} className={className} passAriaToChildren={false}>\n {input}\n </Labeled>\n}\n\nexport const rsInput = define(RsInput, 'RsInput')\n .name('Input')\n .category(fieldsCategory)\n .props({\n label: string.default('Input'),\n ...inputProps,\n type: oneOf('text', 'password', 'email', 'number', 'search', 'tel', 'url', 'time').default('text'),\n value: string.valued.uncontrolledValue(''),\n passwordMask: boolean.default(false),\n showPasswordAriaLabel: string.default('Show password')\n })\n"],"names":["RsInput","style","className","label","passwordMask","showPasswordAriaLabel","type","value","props","visible","setVisible","useState","id","useComponentData","aria","useAriaAttributes","toggleVisible","useCallback","v","input","jsxs","InputGroup","jsx","Input","EyeIcon","EyeSlashIcon","Labeled","rsInput","define","fieldsCategory","string","inputProps","oneOf","boolean"],"mappings":";;;;;;;;;;AAgDA,MAAMA,IAAU,CAAC,EAAC,OAAAC,GAAO,WAAAC,GAAW,OAAAC,GAAO,cAAAC,GAAc,uBAAAC,GAAuB,MAAAC,GAAM,OAAAC,GAAO,GAAGC,EAAA,MAAyB;AACvH,QAAM,CAACC,GAASC,CAAU,IAAIC,EAAS,EAAK,GACtC,EAAC,IAAAC,MAAMC,KACPC,IAAOC,EAAkB,EAAC,SAAS,CAAC,CAACZ,GAAM,GAE3Ca,IAAgBC,EAAY,MAAMP,EAAW,OAAK,CAACQ,CAAC,GAAG,CAAA,CAAE,GAEzDC,IAAQf,IACT,gBAAAgB,EAAAC,GAAA,EAAW,QAAM,IAClB,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAM,EAAA,IAAAX,GAAS,GAAGE,GAAM,MAAML,IAAU,SAAS,YAAY,OAAOF,KAAS,IAAK,GAAGC,EAAM,CAAA;AAAA,sBAC3Fa,EAAW,QAAX,EAAkB,cAAYhB,GAAuB,gBAAcI,GAAS,SAASO,GACnF,cAAW,gBAAAM,EAAAE,GAAA,CAAA,CAAO,IAAK,gBAAAF,EAACG,IAAY,CAAA,GACvC;AAAA,EACF,EAAA,CAAA,IACG,gBAAAH,EAAAC,GAAA,EAAM,IAAAX,GAAS,GAAGE,GAAM,MAAAR,GAAY,OAAOC,KAAS,IAAK,GAAGC,EAAM,CAAA;AAEvE,2BAAQkB,GAAQ,EAAA,OAAAvB,GAAc,OAAAF,GAAc,WAAAC,GAAsB,oBAAoB,IACnF,UACHiB,EAAA,CAAA;AACF,GAEaQ,IAAUC,EAAO5B,GAAS,SAAS,EAC7C,KAAK,OAAO,EACZ,SAAS6B,CAAc,EACvB,MAAM;AAAA,EACL,OAAOC,EAAO,QAAQ,OAAO;AAAA,EAC7B,GAAGC;AAAA,EACH,MAAMC,EAAM,QAAQ,YAAY,SAAS,UAAU,UAAU,OAAO,OAAO,MAAM,EAAE,QAAQ,MAAM;AAAA,EACjG,OAAOF,EAAO,OAAO,kBAAkB,EAAE;AAAA,EACzC,cAAcG,EAAQ,QAAQ,EAAK;AAAA,EACnC,uBAAuBH,EAAO,QAAQ,eAAe;AACvD,CAAC;"}
@@ -0,0 +1,47 @@
1
+ import { Definer } from '@react-form-builder/core';
2
+
3
+ /**
4
+ * Common CSS block properties.
5
+ */
6
+ declare interface AreaProps {
7
+ /**
8
+ * The background color.
9
+ */
10
+ backgroundColor?: string;
11
+ }
12
+
13
+ export declare const rsLabel: Definer<RsLabelProps>;
14
+
15
+ /**
16
+ * Props for the RsLabel component.
17
+ */
18
+ export declare interface RsLabelProps extends TextProps {
19
+ /**
20
+ * The label text content.
21
+ */
22
+ text: string;
23
+ }
24
+
25
+ /**
26
+ * Common CSS text properties.
27
+ */
28
+ declare interface TextProps extends AreaProps {
29
+ /**
30
+ * The text alignment.
31
+ */
32
+ alignment?: string;
33
+ /**
34
+ * The font size.
35
+ */
36
+ fontSize?: number;
37
+ /**
38
+ * The font weight.
39
+ */
40
+ fontWeight?: string;
41
+ /**
42
+ * The color.
43
+ */
44
+ color?: string;
45
+ }
46
+
47
+ export { }
package/dist/label.js ADDED
@@ -0,0 +1,16 @@
1
+ import { jsx as r } from "@emotion/react/jsx-runtime";
2
+ import { define as s, string as l, useBuilderValue as n } from "@react-form-builder/core";
3
+ import { t as m } from "./commonProperties-d849cd5b.js";
4
+ import { s as c } from "./categories-7064b279.js";
5
+ const e = "Label", i = ({ text: t, ...o }) => {
6
+ const a = n(t, e);
7
+ return /* @__PURE__ */ r("label", { ...o, children: a });
8
+ }, u = s(i, "RsLabel").name("Label").category(c).props({
9
+ text: l.default(e).dataBound
10
+ }).css({
11
+ ...m
12
+ }).componentRole("label");
13
+ export {
14
+ u as rsLabel
15
+ };
16
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","sources":["../src/components/RsLabel.tsx"],"sourcesContent":["import {define, string, useBuilderValue} from '@react-form-builder/core'\nimport {textStyles} from '../commonProperties'\nimport type {TextProps} from '../commonTypes'\nimport {staticCategory} from './categories'\n\nconst defaultText = 'Label'\n\n/**\n * Props for the RsLabel component.\n */\nexport interface RsLabelProps extends TextProps {\n /**\n * The label text content.\n */\n text: string\n}\n\n/**\n * A label component that displays text content.\n * @param props the component props.\n * @param props.text the text content to display.\n * @returns the React element.\n */\nconst RsLabel = ({text, ...props}: RsLabelProps) => {\n const children = useBuilderValue(text, defaultText)\n return <label {...props}>{children}</label>\n}\n\nexport const rsLabel = define(RsLabel, 'RsLabel')\n .name('Label')\n .category(staticCategory)\n .props({\n text: string.default(defaultText).dataBound,\n })\n .css({\n ...textStyles\n })\n .componentRole('label')\n"],"names":["defaultText","RsLabel","text","props","children","useBuilderValue","jsx","rsLabel","define","staticCategory","string","textStyles"],"mappings":";;;;AAKA,MAAMA,IAAc,SAkBdC,IAAU,CAAC,EAAC,MAAAC,GAAM,GAAGC,QAAyB;AAC5C,QAAAC,IAAWC,EAAgBH,GAAMF,CAAW;AAClD,SAAQ,gBAAAM,EAAA,SAAA,EAAO,GAAGH,GAAQ,UAAAC,EAAS,CAAA;AACrC,GAEaG,IAAUC,EAAOP,GAAS,SAAS,EAC7C,KAAK,OAAO,EACZ,SAASQ,CAAc,EACvB,MAAM;AAAA,EACL,MAAMC,EAAO,QAAQV,CAAW,EAAE;AACpC,CAAC,EACA,IAAI;AAAA,EACH,GAAGW;AACL,CAAC,EACA,cAAc,OAAO;"}
package/dist/link.d.ts ADDED
@@ -0,0 +1,56 @@
1
+ import type { ComponentProps } from 'react';
2
+ import { Definer } from '@react-form-builder/core';
3
+
4
+ /**
5
+ * Common CSS block properties.
6
+ */
7
+ declare interface AreaProps {
8
+ /**
9
+ * The background color.
10
+ */
11
+ backgroundColor?: string;
12
+ }
13
+
14
+ export declare const rsLink: Definer<RsLinkProps>;
15
+
16
+ /**
17
+ * Props for the RsLink component.
18
+ */
19
+ export declare interface RsLinkProps extends ComponentProps<'a'>, TextProps {
20
+ /**
21
+ * The link text content.
22
+ */
23
+ text: string;
24
+ /**
25
+ * The filename for download when download is enabled.
26
+ */
27
+ downloadFilename: string;
28
+ /**
29
+ * The content type (text or custom).
30
+ */
31
+ content: string;
32
+ }
33
+
34
+ /**
35
+ * Common CSS text properties.
36
+ */
37
+ declare interface TextProps extends AreaProps {
38
+ /**
39
+ * The text alignment.
40
+ */
41
+ alignment?: string;
42
+ /**
43
+ * The font size.
44
+ */
45
+ fontSize?: number;
46
+ /**
47
+ * The font weight.
48
+ */
49
+ fontWeight?: string;
50
+ /**
51
+ * The color.
52
+ */
53
+ color?: string;
54
+ }
55
+
56
+ export { }
package/dist/link.js ADDED
@@ -0,0 +1,20 @@
1
+ import { jsx as l } from "@emotion/react/jsx-runtime";
2
+ import { define as d, oneOf as e, string as t, node as f, boolean as c, event as m } from "@react-form-builder/core";
3
+ import { t as p } from "./commonProperties-d849cd5b.js";
4
+ import { s as k } from "./categories-7064b279.js";
5
+ const x = ({ text: o, download: n, downloadFilename: a, content: r, children: s, ...i }) => /* @__PURE__ */ l("a", { ...i, download: a ?? n, children: r === "text" ? o : s }), g = d(x, "RsLink").name("Link").category(k).props({
6
+ content: e("text", "custom").default("text").radio(),
7
+ text: t.default("Link"),
8
+ href: t,
9
+ children: f,
10
+ target: e("_self", "_blank", "_parent", "_top", "_unfencedTop").default("_blank").withEditorProps({ creatable: !1 }),
11
+ download: c.default(!1),
12
+ downloadFilename: t,
13
+ onClick: m
14
+ }).css({
15
+ ...p
16
+ });
17
+ export {
18
+ g as rsLink
19
+ };
20
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sources":["../src/components/RsLink.tsx"],"sourcesContent":["import {boolean, define, event, node, oneOf, string} from '@react-form-builder/core'\nimport type {ComponentProps} from 'react'\nimport {textStyles} from '../commonProperties'\nimport type {TextProps} from '../commonTypes'\nimport {staticCategory} from './categories'\n\n/**\n * Props for the RsLink component.\n */\nexport interface RsLinkProps extends ComponentProps<'a'>, TextProps {\n /**\n * The link text content.\n */\n text: string\n /**\n * The filename for download when download is enabled.\n */\n downloadFilename: string\n /**\n * The content type (text or custom).\n */\n content: string\n}\n\n/**\n * A link component that renders an anchor element with configurable content and behavior.\n * @param props the component props.\n * @param props.text the link text content.\n * @param props.download whether to download the linked resource.\n * @param props.downloadFilename the filename for download when download is enabled.\n * @param props.content the content type (text or custom).\n * @param props.children the custom content when content type is 'custom'.\n * @returns the React element.\n */\nconst RsLink = ({text, download, downloadFilename, content, children, ...props}: RsLinkProps) => (\n <a {...props} download={downloadFilename ?? download}>\n {content === 'text' ? text : children}\n </a>\n)\n\nexport const rsLink = define(RsLink, 'RsLink')\n .name('Link')\n .category(staticCategory)\n .props({\n content: oneOf('text', 'custom').default('text').radio(),\n text: string.default('Link'),\n href: string,\n children: node,\n target: oneOf('_self', '_blank', '_parent', '_top', '_unfencedTop').default('_blank')\n .withEditorProps({creatable: false}),\n download: boolean.default(false),\n downloadFilename: string,\n onClick: event,\n })\n .css({\n ...textStyles\n })\n"],"names":["RsLink","text","download","downloadFilename","content","children","props","jsx","rsLink","define","staticCategory","oneOf","string","node","boolean","event","textStyles"],"mappings":";;;;AAkCA,MAAMA,IAAS,CAAC,EAAC,MAAAC,GAAM,UAAAC,GAAU,kBAAAC,GAAkB,SAAAC,GAAS,UAAAC,GAAU,GAAGC,QACtE,gBAAAC,EAAA,KAAA,EAAG,GAAGD,GAAO,UAAUH,KAAoBD,GACzC,UAAAE,MAAY,SAASH,IAAOI,EAC/B,CAAA,GAGWG,IAASC,EAAOT,GAAQ,QAAQ,EAC1C,KAAK,MAAM,EACX,SAASU,CAAc,EACvB,MAAM;AAAA,EACL,SAASC,EAAM,QAAQ,QAAQ,EAAE,QAAQ,MAAM,EAAE,MAAM;AAAA,EACvD,MAAMC,EAAO,QAAQ,MAAM;AAAA,EAC3B,MAAMA;AAAA,EACN,UAAUC;AAAA,EACV,QAAQF,EAAM,SAAS,UAAU,WAAW,QAAQ,cAAc,EAAE,QAAQ,QAAQ,EACjF,gBAAgB,EAAC,WAAW,IAAM;AAAA,EACrC,UAAUG,EAAQ,QAAQ,EAAK;AAAA,EAC/B,kBAAkBF;AAAA,EAClB,SAASG;AACX,CAAC,EACA,IAAI;AAAA,EACH,GAAGC;AACL,CAAC;"}
@@ -0,0 +1,164 @@
1
+ import type { FormViewerWrapperComponentProps } from '@react-form-builder/core';
2
+ import { JSX } from '@emotion/react/jsx-runtime';
3
+
4
+ export declare const defaultComponentsLocale: {
5
+ code: string;
6
+ common: {
7
+ loading: string;
8
+ emptyMessage: string;
9
+ remove: string;
10
+ clear: string;
11
+ };
12
+ Plaintext: {
13
+ unfilled: string;
14
+ notSelected: string;
15
+ notUploaded: string;
16
+ };
17
+ Pagination: {
18
+ more: string;
19
+ prev: string;
20
+ next: string;
21
+ first: string;
22
+ last: string;
23
+ limit: string;
24
+ total: string;
25
+ skip: string;
26
+ };
27
+ DateTimeFormats: {
28
+ sunday: string;
29
+ monday: string;
30
+ tuesday: string;
31
+ wednesday: string;
32
+ thursday: string;
33
+ friday: string;
34
+ saturday: string;
35
+ ok: string;
36
+ today: string;
37
+ yesterday: string;
38
+ now: string;
39
+ hours: string;
40
+ minutes: string;
41
+ seconds: string;
42
+ formattedMonthPattern: string;
43
+ formattedDayPattern: string;
44
+ shortDateFormat: string;
45
+ shortTimeFormat: string;
46
+ dateLocale: any;
47
+ };
48
+ Calendar: {
49
+ sunday: string;
50
+ monday: string;
51
+ tuesday: string;
52
+ wednesday: string;
53
+ thursday: string;
54
+ friday: string;
55
+ saturday: string;
56
+ ok: string;
57
+ today: string;
58
+ yesterday: string;
59
+ now: string;
60
+ hours: string;
61
+ minutes: string;
62
+ seconds: string;
63
+ formattedMonthPattern: string;
64
+ formattedDayPattern: string;
65
+ shortDateFormat: string;
66
+ shortTimeFormat: string;
67
+ dateLocale: any;
68
+ };
69
+ DatePicker: {
70
+ sunday: string;
71
+ monday: string;
72
+ tuesday: string;
73
+ wednesday: string;
74
+ thursday: string;
75
+ friday: string;
76
+ saturday: string;
77
+ ok: string;
78
+ today: string;
79
+ yesterday: string;
80
+ now: string;
81
+ hours: string;
82
+ minutes: string;
83
+ seconds: string;
84
+ formattedMonthPattern: string;
85
+ formattedDayPattern: string;
86
+ shortDateFormat: string;
87
+ shortTimeFormat: string;
88
+ dateLocale: any;
89
+ };
90
+ DateRangePicker: {
91
+ last7Days: string;
92
+ sunday: string;
93
+ monday: string;
94
+ tuesday: string;
95
+ wednesday: string;
96
+ thursday: string;
97
+ friday: string;
98
+ saturday: string;
99
+ ok: string;
100
+ today: string;
101
+ yesterday: string;
102
+ now: string;
103
+ hours: string;
104
+ minutes: string;
105
+ seconds: string;
106
+ formattedMonthPattern: string;
107
+ formattedDayPattern: string;
108
+ shortDateFormat: string;
109
+ shortTimeFormat: string;
110
+ dateLocale: any;
111
+ };
112
+ Combobox: {
113
+ noResultsText: string;
114
+ placeholder: string;
115
+ searchPlaceholder: string;
116
+ checkAll: string;
117
+ };
118
+ InputPicker: {
119
+ newItem: string;
120
+ createOption: string;
121
+ noResultsText: string;
122
+ placeholder: string;
123
+ searchPlaceholder: string;
124
+ checkAll: string;
125
+ };
126
+ TagPicker: {
127
+ newItem: string;
128
+ createOption: string;
129
+ noResultsText: string;
130
+ placeholder: string;
131
+ searchPlaceholder: string;
132
+ checkAll: string;
133
+ };
134
+ Uploader: {
135
+ inited: string;
136
+ progress: string;
137
+ error: string;
138
+ complete: string;
139
+ emptyFile: string;
140
+ upload: string;
141
+ removeFile: string;
142
+ };
143
+ CloseButton: {
144
+ closeLabel: string;
145
+ };
146
+ Breadcrumb: {
147
+ expandText: string;
148
+ };
149
+ Toggle: {
150
+ on: string;
151
+ off: string;
152
+ };
153
+ };
154
+
155
+ /**
156
+ * Wrapper component for RSuite components localization.
157
+ * @param props the component props.
158
+ * @param props.language the language object containing the language information.
159
+ * @param props.children the children components to be wrapped.
160
+ * @returns the wrapped components with localization settings applied.
161
+ */
162
+ export declare const RsLocalizationWrapper: ({ language, children }: FormViewerWrapperComponentProps) => JSX.Element;
163
+
164
+ export { }
@@ -0,0 +1,246 @@
1
+ import { jsx as d } from "@emotion/react/jsx-runtime";
2
+ import { CustomProvider as u } from "rsuite";
3
+ import { enUS as m, arEG as g, deDE as y, itIT as f, frFR as b, esES as p, zhCN as C, daDK as h, enGB as x, esAR as P, fiFI as T, huHU as D, kkKZ as k, koKR as B, nlNL as R, ptBR as F, svSE as M, trTR as I, zhTW as S, jaJP as U } from "rsuite/esm/locales/index.js";
4
+ import L from "date-fns/locale/hi/index.js";
5
+ import E from "date-fns/locale/sr/index.js";
6
+ const $ = {
7
+ checkAll: "सब कुछ",
8
+ noResultsText: "कोई परिणाम नहीं मिला",
9
+ placeholder: "का चयन करें",
10
+ searchPlaceholder: "खोज"
11
+ }, N = {
12
+ createOption: 'विकल्प बनाएं "{{0}}"',
13
+ newItem: "नया आइटम"
14
+ }, v = {
15
+ friday: "Fr",
16
+ hours: "घंटे",
17
+ minutes: "मिनट",
18
+ monday: "मो",
19
+ now: "अब",
20
+ ok: "ठीक है।",
21
+ saturday: "एसए",
22
+ seconds: "सेकंड",
23
+ sunday: "एसयू",
24
+ thursday: "वें",
25
+ today: "आज",
26
+ tuesday: "टीयू",
27
+ wednesday: "हम",
28
+ yesterday: "कल"
29
+ }, w = {
30
+ default: {
31
+ Breadcrumb: {
32
+ expandText: "पथ दिखाएँ"
33
+ },
34
+ CloseButton: {
35
+ closeLabel: "बंद करें"
36
+ },
37
+ DateRangePicker: {
38
+ last7Days: "पिछले 7 दिन"
39
+ },
40
+ Pagination: {
41
+ first: "पहले",
42
+ last: "अंतिम",
43
+ limit: "{{0}} / पृष्ठ",
44
+ more: "अधिक",
45
+ next: "अगले",
46
+ prev: "पिछला",
47
+ skip: "के लिए जाओ{{0}}",
48
+ total: "कुल पंक्तियाँ: {{0}}"
49
+ },
50
+ Plaintext: {
51
+ notSelected: "चयनित नहीं",
52
+ notUploaded: "अपलोड नहीं किया गया",
53
+ unfilled: "अधूरा"
54
+ },
55
+ Toggle: {
56
+ off: "बंद करें",
57
+ on: "खुला हुआ"
58
+ },
59
+ Uploader: {
60
+ complete: "समाप्त हो गया",
61
+ emptyFile: "खाली",
62
+ error: "त्रुटि",
63
+ inited: "प्रारंभिक",
64
+ progress: "अपलोडिंग",
65
+ removeFile: "फ़ाइल निकालें",
66
+ upload: "अपलोड करें"
67
+ },
68
+ common: {
69
+ clear: "साफ़ करें",
70
+ emptyMessage: "कोई डेटा नहीं मिला",
71
+ loading: "लोड हो रहा है । ..",
72
+ remove: "निकालें"
73
+ }
74
+ },
75
+ genericCombobox: $,
76
+ genericCreatableComboBox: N,
77
+ genericDateTimeFormats: v
78
+ };
79
+ function a(t) {
80
+ return Object.entries(t).forEach(([i, r]) => {
81
+ typeof r == "string" && (t[i] = r.replaceAll("{{0}}", "{0}")), typeof r == "object" && a(r);
82
+ }), t;
83
+ }
84
+ const e = a(w), n = {
85
+ ...e.genericDateTimeFormats,
86
+ formattedMonthPattern: "MMM, yyyy",
87
+ formattedDayPattern: "MMM dd, yyyy",
88
+ shortDateFormat: "dd/MM/yyyy",
89
+ shortTimeFormat: "h:mm a",
90
+ dateLocale: L
91
+ }, c = {
92
+ ...e.genericCombobox,
93
+ ...e.genericCreatableComboBox
94
+ }, K = a({
95
+ code: "hi-IN",
96
+ common: e.default.common,
97
+ Plaintext: e.default.Plaintext,
98
+ Pagination: e.default.Pagination,
99
+ DateTimeFormats: n,
100
+ Calendar: n,
101
+ DatePicker: n,
102
+ DateRangePicker: {
103
+ ...n,
104
+ ...e.default.DateRangePicker
105
+ },
106
+ Combobox: {
107
+ ...e.genericCombobox
108
+ },
109
+ InputPicker: c,
110
+ TagPicker: c,
111
+ Uploader: e.default.Uploader,
112
+ CloseButton: e.default.CloseButton,
113
+ Breadcrumb: e.default.Breadcrumb,
114
+ Toggle: e.default.Toggle
115
+ }), z = {
116
+ checkAll: "Све",
117
+ noResultsText: "Нису пронађени резултати",
118
+ placeholder: "Изаберите",
119
+ searchPlaceholder: "Претрага"
120
+ }, A = {
121
+ createOption: 'Креирајте опцију "{{0}}"',
122
+ newItem: "Нова ставка"
123
+ }, G = {
124
+ friday: "Фр",
125
+ hours: "Сати",
126
+ minutes: "Минута",
127
+ monday: "Mo",
128
+ now: "Сада",
129
+ ok: "ОК",
130
+ saturday: "Са",
131
+ seconds: "Секунди",
132
+ sunday: "Су",
133
+ thursday: "Th",
134
+ today: "Данас",
135
+ tuesday: "Tu",
136
+ wednesday: "Ми",
137
+ yesterday: "Јуче"
138
+ }, j = {
139
+ default: {
140
+ Breadcrumb: {
141
+ expandText: "Прикажи пут"
142
+ },
143
+ CloseButton: {
144
+ closeLabel: "Затвори"
145
+ },
146
+ DateRangePicker: {
147
+ last7Days: "Последњих 7 дана"
148
+ },
149
+ Pagination: {
150
+ first: "Први",
151
+ last: "Последњи",
152
+ limit: "{{0}} / страна",
153
+ more: "Више",
154
+ next: "Следећи",
155
+ prev: "Претходни",
156
+ skip: "Иди на{{0}}",
157
+ total: "Укупан број редова:{{0}}"
158
+ },
159
+ Plaintext: {
160
+ notSelected: "Није изабран",
161
+ notUploaded: "Није учитан",
162
+ unfilled: "Неиспуњен"
163
+ },
164
+ Toggle: {
165
+ off: "Затвори",
166
+ on: "Отвори"
167
+ },
168
+ Uploader: {
169
+ complete: "Завршен",
170
+ emptyFile: "Празно",
171
+ error: "Грешка",
172
+ inited: "Оригинални",
173
+ progress: "Преузимање",
174
+ removeFile: "Избришите датотеку",
175
+ upload: "Преузимање"
176
+ },
177
+ common: {
178
+ clear: "Јасно",
179
+ emptyMessage: "Подаци нису пронађени",
180
+ loading: "Преузимање...",
181
+ remove: "Избриши"
182
+ }
183
+ },
184
+ genericCombobox: z,
185
+ genericCreatableComboBox: A,
186
+ genericDateTimeFormats: G
187
+ }, o = a(j), l = {
188
+ ...o.genericDateTimeFormats,
189
+ formattedMonthPattern: "MMM, yyyy",
190
+ formattedDayPattern: "MMM dd, yyyy",
191
+ shortDateFormat: "MM/dd/yyyy",
192
+ shortTimeFormat: "hh:mm aa",
193
+ dateLocale: E
194
+ }, s = {
195
+ ...o.genericCombobox,
196
+ ...o.genericCreatableComboBox
197
+ }, H = a({
198
+ code: "sr-RS",
199
+ common: o.default.common,
200
+ Plaintext: o.default.Plaintext,
201
+ Pagination: o.default.Pagination,
202
+ DateTimeFormats: l,
203
+ Calendar: l,
204
+ DatePicker: l,
205
+ DateRangePicker: {
206
+ ...l,
207
+ ...o.default.DateRangePicker
208
+ },
209
+ Combobox: {
210
+ ...o.genericCombobox
211
+ },
212
+ InputPicker: s,
213
+ TagPicker: s,
214
+ Uploader: o.default.Uploader,
215
+ CloseButton: o.default.CloseButton,
216
+ Breadcrumb: o.default.Breadcrumb,
217
+ Toggle: o.default.Toggle
218
+ }), O = {
219
+ "ar-EG": g,
220
+ "de-DE": y,
221
+ "en-US": m,
222
+ "it-IT": f,
223
+ "fr-FR": b,
224
+ "es-ES": p,
225
+ "zh-CN": C,
226
+ "da-DK": h,
227
+ "en-GB": x,
228
+ "es-AR": P,
229
+ "fi-FI": T,
230
+ "hi-IN": K,
231
+ "hu-HU": D,
232
+ "kk-KZ": k,
233
+ "ko-KR": B,
234
+ "nl-NL": R,
235
+ "pt-BR": F,
236
+ "sr-RS": H,
237
+ "sv-SE": M,
238
+ "tr-TR": I,
239
+ "zh-TW": S,
240
+ "ja-JP": U
241
+ }, W = m, X = ({ language: t, children: i }) => /* @__PURE__ */ d(u, { rtl: t.bidi === "rtl", locale: O[t.fullCode] ?? W, children: i });
242
+ export {
243
+ X as RsLocalizationWrapper,
244
+ W as defaultComponentsLocale
245
+ };
246
+ //# sourceMappingURL=localization-wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localization-wrapper.js","sources":["../src/components/i18n/patchPlaceholders.ts","../src/components/i18n/hi-IN.ts","../src/components/i18n/sr-RS.ts","../src/components/RsLocalizationWrapper.tsx"],"sourcesContent":["/**\n * Replaces placeholders for rSuite localisation.\n * @param obj the object in which you want to change the placeholders.\n * @returns the patched object.\n */\nexport function patchPlaceholders(obj: any) {\n Object.entries(obj).forEach(([key, value]) => {\n if (typeof value === 'string') {\n obj[key] = value.replaceAll('{{0}}', '{0}')\n }\n if (typeof value === 'object') {\n patchPlaceholders(value)\n }\n })\n return obj\n}\n","import dfHI from 'date-fns/locale/hi/index.js'\nimport hiInLocale from './locales/hi-IN.json'\nimport {patchPlaceholders} from './patchPlaceholders'\n\nconst locale = patchPlaceholders(hiInLocale)\n\nconst genericDateTimeFormats = {\n ...locale.genericDateTimeFormats,\n formattedMonthPattern: 'MMM, yyyy',\n formattedDayPattern: 'MMM dd, yyyy',\n shortDateFormat: 'dd/MM/yyyy',\n shortTimeFormat: 'h:mm a',\n dateLocale: dfHI\n}\n\nconst genericCreatableComboBox = {\n ...locale.genericCombobox,\n ...locale.genericCreatableComboBox,\n}\n\nexport const hiIN = patchPlaceholders({\n code: 'hi-IN',\n common: locale.default.common,\n Plaintext: locale.default.Plaintext,\n Pagination: locale.default.Pagination,\n DateTimeFormats: genericDateTimeFormats,\n Calendar: genericDateTimeFormats,\n DatePicker: genericDateTimeFormats,\n DateRangePicker: {\n ...genericDateTimeFormats,\n ...locale.default.DateRangePicker,\n },\n Combobox: {\n ...locale.genericCombobox\n },\n InputPicker: genericCreatableComboBox,\n TagPicker: genericCreatableComboBox,\n Uploader: locale.default.Uploader,\n CloseButton: locale.default.CloseButton,\n Breadcrumb: locale.default.Breadcrumb,\n Toggle: locale.default.Toggle,\n})\n","import dfSR from 'date-fns/locale/sr/index.js'\nimport srRsLocale from './locales/sr-RS.json'\nimport {patchPlaceholders} from './patchPlaceholders'\n\nconst locale = patchPlaceholders(srRsLocale)\n\nconst genericDateTimeFormats = {\n ...locale.genericDateTimeFormats,\n formattedMonthPattern: 'MMM, yyyy',\n formattedDayPattern: 'MMM dd, yyyy',\n shortDateFormat: 'MM/dd/yyyy',\n shortTimeFormat: 'hh:mm aa',\n dateLocale: dfSR\n}\n\nconst genericCreatableComboBox = {\n ...locale.genericCombobox,\n ...locale.genericCreatableComboBox,\n}\n\nexport const srRS = patchPlaceholders({\n code: 'sr-RS',\n common: locale.default.common,\n Plaintext: locale.default.Plaintext,\n Pagination: locale.default.Pagination,\n DateTimeFormats: genericDateTimeFormats,\n Calendar: genericDateTimeFormats,\n DatePicker: genericDateTimeFormats,\n DateRangePicker: {\n ...genericDateTimeFormats,\n ...locale.default.DateRangePicker,\n },\n Combobox: {\n ...locale.genericCombobox\n },\n InputPicker: genericCreatableComboBox,\n TagPicker: genericCreatableComboBox,\n Uploader: locale.default.Uploader,\n CloseButton: locale.default.CloseButton,\n Breadcrumb: locale.default.Breadcrumb,\n Toggle: locale.default.Toggle,\n})\n","import type {FormViewerWrapperComponentProps} from '@react-form-builder/core'\nimport {CustomProvider} from 'rsuite'\nimport {\n arEG,\n daDK,\n deDE,\n enGB,\n enUS,\n esAR,\n esES,\n fiFI,\n frFR,\n huHU,\n itIT,\n jaJP,\n kkKZ,\n koKR,\n nlNL,\n ptBR,\n svSE,\n trTR,\n zhCN,\n zhTW\n} from 'rsuite/esm/locales/index.js'\nimport {hiIN} from './i18n/hi-IN'\nimport {srRS} from './i18n/sr-RS'\n\nconst rSuiteLocales: Record<string, any> = {\n 'ar-EG': arEG,\n 'de-DE': deDE,\n 'en-US': enUS,\n 'it-IT': itIT,\n 'fr-FR': frFR,\n 'es-ES': esES,\n 'zh-CN': zhCN,\n 'da-DK': daDK,\n 'en-GB': enGB,\n 'es-AR': esAR,\n 'fi-FI': fiFI,\n 'hi-IN': hiIN,\n 'hu-HU': huHU,\n 'kk-KZ': kkKZ,\n 'ko-KR': koKR,\n 'nl-NL': nlNL,\n 'pt-BR': ptBR,\n 'sr-RS': srRS,\n 'sv-SE': svSE,\n 'tr-TR': trTR,\n 'zh-TW': zhTW,\n 'ja-JP': jaJP,\n}\n\nexport const defaultComponentsLocale = enUS\n\n/**\n * Wrapper component for RSuite components localization.\n * @param props the component props.\n * @param props.language the language object containing the language information.\n * @param props.children the children components to be wrapped.\n * @returns the wrapped components with localization settings applied.\n */\nexport const RsLocalizationWrapper = ({language, children}: FormViewerWrapperComponentProps) => {\n return <CustomProvider rtl={language.bidi === 'rtl'} locale={rSuiteLocales[language.fullCode] ?? defaultComponentsLocale}>\n {children}\n </CustomProvider>\n}\n"],"names":["patchPlaceholders","obj","key","value","locale","hiInLocale","genericDateTimeFormats","dfHI","genericCreatableComboBox","hiIN","srRsLocale","dfSR","srRS","rSuiteLocales","arEG","deDE","enUS","itIT","frFR","esES","zhCN","daDK","enGB","esAR","fiFI","huHU","kkKZ","koKR","nlNL","ptBR","svSE","trTR","zhTW","jaJP","defaultComponentsLocale","RsLocalizationWrapper","language","children","jsx","CustomProvider"],"mappings":"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"}