@orangesix/react 2.2.0 → 2.3.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/api/input/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as d, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
const n = ({ iconPrefix: e = "bi bi-", ...a }) => a.label && /* @__PURE__ */ i("p", { className: "form-label", children: [
|
|
3
3
|
a.icon && /* @__PURE__ */ d("i", { className: e + a.icon + " me-1" }),
|
|
4
4
|
a.label,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../../../src/autocomplete/autocomplete.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box } from \"../box\";\nimport { InputLabel } from \"../api\";\nimport { AutocompleteProps } from \".\";\nimport { autocompleCore } from \"./core/core\";\nimport { autocompleteEvent } from \"./core/event\";\nimport * as AutoCompletePrimeReact from \"primereact/autocomplete\";\n\n/**\n * Componente - `Autocomplete`\n *\n * AutoComplete é um componente de entrada que fornece sugestões em tempo real enquanto é digitado\n */\nexport const Autocomplete = ({ ...props }: AutocompleteProps) => {\n return (\n <Box
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../src/autocomplete/autocomplete.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box } from \"../box\";\nimport { InputLabel } from \"../api\";\nimport { AutocompleteProps } from \".\";\nimport { autocompleCore } from \"./core/core\";\nimport { autocompleteEvent } from \"./core/event\";\nimport * as AutoCompletePrimeReact from \"primereact/autocomplete\";\n\n/**\n * Componente - `Autocomplete`\n *\n * AutoComplete é um componente de entrada que fornece sugestões em tempo real enquanto é digitado\n */\nexport const Autocomplete = ({ ...props }: AutocompleteProps) => {\n return (\n <Box\n className={\"autocomplete\" + (props.className ?? \"\")}\n css={props.css}\n size={props.size ?? \"100\"}>\n <InputLabel {...props}/>\n <AutoCompletePrimeReact.AutoComplete\n delay={props.searchDelay ?? 500}\n maxLength={props.searchMax}\n minLength={props.searchMin ?? 1}\n suggestions={props.data ?? []}\n value={props.value}\n {...autocompleCore(props)}\n {...autocompleteEvent(props)}/>\n <div data-name={props.name}\n id=\"j_feedback\"/>\n </Box>\n );\n};\nAutocomplete.displayName = \"Autocomplete\";"],"names":["Autocomplete","props","jsxs","Box","jsx","InputLabel","AutoCompletePrimeReact","autocompleCore","autocompleteEvent"],"mappings":"qlBAaaA,EAAe,CAAC,CAAE,GAAGC,KAE1BC,EAAAA,KAACC,EAAAA,IAAA,CACG,UAAW,gBAAkBF,EAAM,WAAa,IAChD,IAAKA,EAAM,IACX,KAAMA,EAAM,MAAQ,MACpB,SAAA,CAAAG,EAAAA,IAACC,EAAAA,WAAA,CAAY,GAAGJ,EAAM,EACtBG,EAAAA,IAACE,EAAuB,aAAvB,CACG,MAAOL,EAAM,aAAe,IAC5B,UAAWA,EAAM,UACjB,UAAWA,EAAM,WAAa,EAC9B,YAAaA,EAAM,MAAQ,CAAA,EAC3B,MAAOA,EAAM,MACZ,GAAGM,EAAAA,eAAeN,CAAK,EACvB,GAAGO,EAAAA,kBAAkBP,CAAK,CAAA,CAAA,EAC/BG,EAAAA,IAAC,MAAA,CAAI,YAAWH,EAAM,KAClB,GAAG,YAAA,CAAA,CAAY,CAAA,CAAA,EAI/BD,EAAa,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../src/autocomplete/autocomplete.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box } from \"../box\";\nimport { InputLabel } from \"../api\";\nimport { AutocompleteProps } from \".\";\nimport { autocompleCore } from \"./core/core\";\nimport { autocompleteEvent } from \"./core/event\";\nimport * as AutoCompletePrimeReact from \"primereact/autocomplete\";\n\n/**\n * Componente - `Autocomplete`\n *\n * AutoComplete é um componente de entrada que fornece sugestões em tempo real enquanto é digitado\n */\nexport const Autocomplete = ({ ...props }: AutocompleteProps) => {\n return (\n <Box
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../src/autocomplete/autocomplete.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box } from \"../box\";\nimport { InputLabel } from \"../api\";\nimport { AutocompleteProps } from \".\";\nimport { autocompleCore } from \"./core/core\";\nimport { autocompleteEvent } from \"./core/event\";\nimport * as AutoCompletePrimeReact from \"primereact/autocomplete\";\n\n/**\n * Componente - `Autocomplete`\n *\n * AutoComplete é um componente de entrada que fornece sugestões em tempo real enquanto é digitado\n */\nexport const Autocomplete = ({ ...props }: AutocompleteProps) => {\n return (\n <Box\n className={\"autocomplete\" + (props.className ?? \"\")}\n css={props.css}\n size={props.size ?? \"100\"}>\n <InputLabel {...props}/>\n <AutoCompletePrimeReact.AutoComplete\n delay={props.searchDelay ?? 500}\n maxLength={props.searchMax}\n minLength={props.searchMin ?? 1}\n suggestions={props.data ?? []}\n value={props.value}\n {...autocompleCore(props)}\n {...autocompleteEvent(props)}/>\n <div data-name={props.name}\n id=\"j_feedback\"/>\n </Box>\n );\n};\nAutocomplete.displayName = \"Autocomplete\";"],"names":["Autocomplete","props","jsxs","Box","jsx","InputLabel","AutoCompletePrimeReact","autocompleCore","autocompleteEvent"],"mappings":";;;;;;AAaO,MAAMA,IAAe,CAAC,EAAE,GAAGC,QAE1B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACG,WAAW,kBAAkBF,EAAM,aAAa;AAAA,IAChD,KAAKA,EAAM;AAAA,IACX,MAAMA,EAAM,QAAQ;AAAA,IACpB,UAAA;AAAA,MAAA,gBAAAG,EAACC,GAAA,EAAY,GAAGJ,GAAM;AAAA,MACtB,gBAAAG;AAAA,QAACE,EAAuB;AAAA,QAAvB;AAAA,UACG,OAAOL,EAAM,eAAe;AAAA,UAC5B,WAAWA,EAAM;AAAA,UACjB,WAAWA,EAAM,aAAa;AAAA,UAC9B,aAAaA,EAAM,QAAQ,CAAA;AAAA,UAC3B,OAAOA,EAAM;AAAA,UACZ,GAAGM,EAAeN,CAAK;AAAA,UACvB,GAAGO,EAAkBP,CAAK;AAAA,QAAA;AAAA,MAAA;AAAA,MAC/B,gBAAAG;AAAA,QAAC;AAAA,QAAA;AAAA,UAAI,aAAWH,EAAM;AAAA,UAClB,IAAG;AAAA,QAAA;AAAA,MAAA;AAAA,IAAY;AAAA,EAAA;AAAA;AAI/BD,EAAa,cAAc;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as m, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { InputFeedback as t } from "../../../api/input/index.esm.js";
|
|
3
3
|
import { Calendar as o } from "primereact/calendar";
|
|
4
|
-
import {
|
|
4
|
+
import { handleResponse as d, handleValue as u } from "../handle/index.esm.js";
|
|
5
5
|
function C({ core: r, ...e }) {
|
|
6
6
|
return /* @__PURE__ */ l(m, { children: [
|
|
7
7
|
/* @__PURE__ */ l("div", { className: "w-100 d-flex flex-column", children: [
|
|
@@ -16,13 +16,13 @@ function C({ core: r, ...e }) {
|
|
|
16
16
|
locale: "pt-BR",
|
|
17
17
|
numberOfMonths: e.numberMonths ?? 1,
|
|
18
18
|
panelClassName: "calendar-panel",
|
|
19
|
-
value:
|
|
19
|
+
value: u(e.value),
|
|
20
20
|
view: e.view ?? "date",
|
|
21
21
|
onBlur: (a) => {
|
|
22
22
|
e.onBlur && e.onBlur(a.target);
|
|
23
23
|
},
|
|
24
24
|
onChange: (a) => {
|
|
25
|
-
e.onChange && e.onChange(
|
|
25
|
+
e.onChange && e.onChange(d(a.target.value));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
),
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { InputFeedback as u } from "../../../api/input/index.esm.js";
|
|
3
3
|
import { Controller as d } from "react-hook-form";
|
|
4
4
|
import { Calendar as i } from "primereact/calendar";
|
|
5
|
-
import {
|
|
5
|
+
import { handleResponse as o, handleValue as c } from "../handle/index.esm.js";
|
|
6
6
|
function B({ core: t, ...e }) {
|
|
7
7
|
return /* @__PURE__ */ r(
|
|
8
8
|
d,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangesix/react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Luiz Fernando Bernardes de Paula",
|
|
6
6
|
"description": "Biblioteca de components React UI.",
|
|
@@ -14,34 +14,34 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@tippyjs/react": "^4.2.6",
|
|
17
|
-
"@tiptap/extension-color": "^3.
|
|
18
|
-
"@tiptap/extension-highlight": "^3.
|
|
19
|
-
"@tiptap/extension-image": "^3.
|
|
20
|
-
"@tiptap/extension-link": "^3.
|
|
21
|
-
"@tiptap/extension-text-style": "^3.
|
|
22
|
-
"@tiptap/extension-underline": "^3.
|
|
23
|
-
"@tiptap/pm": "^3.
|
|
24
|
-
"@tiptap/react": "^3.
|
|
25
|
-
"@tiptap/starter-kit": "^3.
|
|
26
|
-
"@webdatarocks/react-webdatarocks": "^1.4.
|
|
17
|
+
"@tiptap/extension-color": "^3.20.0",
|
|
18
|
+
"@tiptap/extension-highlight": "^3.20.0",
|
|
19
|
+
"@tiptap/extension-image": "^3.20.0",
|
|
20
|
+
"@tiptap/extension-link": "^3.20.0",
|
|
21
|
+
"@tiptap/extension-text-style": "^3.20.0",
|
|
22
|
+
"@tiptap/extension-underline": "^3.20.0",
|
|
23
|
+
"@tiptap/pm": "^3.20.0",
|
|
24
|
+
"@tiptap/react": "^3.20.0",
|
|
25
|
+
"@tiptap/starter-kit": "^3.20.0",
|
|
26
|
+
"@webdatarocks/react-webdatarocks": "^1.4.22",
|
|
27
27
|
"animate.css": "^4.1.1",
|
|
28
|
-
"axios": "^1.13.
|
|
28
|
+
"axios": "^1.13.5",
|
|
29
29
|
"bootstrap": "^5.3.8",
|
|
30
30
|
"bootstrap-icons": "^1.13.1",
|
|
31
31
|
"date-fns": "^4.1.0",
|
|
32
|
-
"jquery": "^
|
|
32
|
+
"jquery": "^4.0.0",
|
|
33
33
|
"lightbox2": "^2.11.5",
|
|
34
34
|
"node-snackbar": "^0.1.16",
|
|
35
35
|
"primeicons": "^7.0.0",
|
|
36
36
|
"primereact": "^10.9.7",
|
|
37
|
-
"react": "^
|
|
38
|
-
"
|
|
39
|
-
"react-pdf": "^10.3.0",
|
|
40
|
-
"sweetalert2": "^11.26.17",
|
|
37
|
+
"react-pdf": "^10.4.0",
|
|
38
|
+
"sweetalert2": "^11.26.20",
|
|
41
39
|
"sweetalert2-react-content": "^5.1.1",
|
|
42
40
|
"tippy.js": "^6.3.7"
|
|
43
41
|
},
|
|
44
42
|
"peerDependencies": {
|
|
45
|
-
"react
|
|
43
|
+
"react": "^19.0.0",
|
|
44
|
+
"react-dom": "^19.0.0",
|
|
45
|
+
"react-hook-form": "^7.71.2"
|
|
46
46
|
}
|
|
47
47
|
}
|