linear-react-components-ui 1.1.26-beta.22 → 1.1.26-beta.23
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/lib/inputs2/index.d.ts +2 -1
- package/lib/inputs2/index.js +11 -8
- package/lib/inputs2/index.js.map +1 -1
- package/lib/inputs2/numberfield/currency.js +4 -4
- package/lib/inputs2/numberfield/decimal.js +7 -6
- package/lib/inputs2/numberfield/decimal.js.map +1 -1
- package/lib/inputs2/numberfield/index.js +1 -1
- package/package.json +6 -1
package/lib/inputs2/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LeftSlot, RightSlot } from './slot';
|
|
1
2
|
import * as TextField from './textfield';
|
|
2
3
|
import * as TextAreaField from './textareafield';
|
|
3
4
|
import * as NumberField from './numberfield';
|
|
@@ -13,4 +14,4 @@ import * as ZipCodeField from './mask/ZipCode';
|
|
|
13
14
|
import * as CheckboxField from './checkboxfield';
|
|
14
15
|
import * as DatePeriodField from './date/dateperiodfield';
|
|
15
16
|
import * as FileField from './filefield/index';
|
|
16
|
-
export { TextField, TextAreaField, NumberField, DateField, RadioField, SelectField, ColorField, MaskField, CpfField, CnpjField, PhoneField, ZipCodeField, CheckboxField, DatePeriodField, FileField, };
|
|
17
|
+
export { TextField, TextAreaField, NumberField, DateField, RadioField, SelectField, ColorField, MaskField, CpfField, CnpjField, PhoneField, ZipCodeField, CheckboxField, DatePeriodField, FileField, LeftSlot, RightSlot, };
|
package/lib/inputs2/index.js
CHANGED
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
import * as e from "./textfield/index.js";
|
|
2
2
|
import * as i from "./textareafield/index.js";
|
|
3
3
|
import * as o from "./numberfield/index.js";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as t from "./date/datefield/index.js";
|
|
5
|
+
import * as r from "./radiofield/index.js";
|
|
6
6
|
import * as p from "./selectfield/index.js";
|
|
7
7
|
import * as d from "./colorfield/index.js";
|
|
8
8
|
import * as a from "./mask/BaseMask.js";
|
|
9
9
|
import * as s from "./mask/Cpf.js";
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
10
|
+
import * as l from "./mask/Cnpj.js";
|
|
11
|
+
import * as m from "./mask/Phone.js";
|
|
12
12
|
import * as x from "./mask/ZipCode.js";
|
|
13
13
|
import * as f from "./checkboxfield/index.js";
|
|
14
14
|
import * as n from "./date/dateperiodfield/index.js";
|
|
15
15
|
import * as _ from "./filefield/index.js";
|
|
16
|
+
import { LeftSlot as C, RightSlot as c } from "./slot/index.js";
|
|
16
17
|
export {
|
|
17
18
|
f as CheckboxField,
|
|
18
|
-
|
|
19
|
+
l as CnpjField,
|
|
19
20
|
d as ColorField,
|
|
20
21
|
s as CpfField,
|
|
21
|
-
|
|
22
|
+
t as DateField,
|
|
22
23
|
n as DatePeriodField,
|
|
23
24
|
_ as FileField,
|
|
25
|
+
C as LeftSlot,
|
|
24
26
|
a as MaskField,
|
|
25
27
|
o as NumberField,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
m as PhoneField,
|
|
29
|
+
r as RadioField,
|
|
30
|
+
c as RightSlot,
|
|
28
31
|
p as SelectField,
|
|
29
32
|
i as TextAreaField,
|
|
30
33
|
e as TextField,
|
package/lib/inputs2/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -24,8 +24,8 @@ import "../colorfield/index.js";
|
|
|
24
24
|
import "../checkboxfield/index.js";
|
|
25
25
|
import "../date/dateperiodfield/index.js";
|
|
26
26
|
import "../filefield/index.js";
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
27
|
+
import { LeftSlot as lt } from "../slot/index.js";
|
|
28
|
+
import { mergeRefs as rt } from "../../form2/helpers.js";
|
|
29
29
|
const at = tt((e, b) => {
|
|
30
30
|
const t = X.c(45);
|
|
31
31
|
let o, r, a, n, m, s, c, u, d, f, v, p, g, y;
|
|
@@ -93,9 +93,9 @@ const at = tt((e, b) => {
|
|
|
93
93
|
let S;
|
|
94
94
|
t[32] !== B ? (S = [B], t[32] = B, t[33] = S) : S = t[33], ot(F, S);
|
|
95
95
|
let i;
|
|
96
|
-
t[34] !== b ? (i =
|
|
96
|
+
t[34] !== b ? (i = rt(b, H), t[34] = b, t[35] = i) : i = t[35];
|
|
97
97
|
let l;
|
|
98
|
-
t[36] !== j ? (l = /* @__PURE__ */ O(
|
|
98
|
+
t[36] !== j ? (l = /* @__PURE__ */ O(lt, { className: "currency-left-elements", children: /* @__PURE__ */ O("span", { className: "currency-symbol", children: j }) }), t[36] = j, t[37] = l) : l = t[37];
|
|
99
99
|
let k;
|
|
100
100
|
return t[38] !== w || t[39] !== L || t[40] !== o || t[41] !== i || t[42] !== l || t[43] !== Z ? (k = /* @__PURE__ */ W(it, { ...o, ref: i, type: "text", inputMode: "numeric", value: L, textAlign: Z, onChange: nt, children: [
|
|
101
101
|
l,
|
|
@@ -23,14 +23,15 @@ import "../colorfield/index.js";
|
|
|
23
23
|
import "../checkboxfield/index.js";
|
|
24
24
|
import "../date/dateperiodfield/index.js";
|
|
25
25
|
import "../filefield/index.js";
|
|
26
|
+
import "../slot/index.js";
|
|
26
27
|
import { mergeRefs as tt } from "../../form2/helpers.js";
|
|
27
28
|
const et = U((e, V) => {
|
|
28
29
|
const t = P.c(41);
|
|
29
|
-
let o, l, a,
|
|
30
|
+
let o, l, a, r, m, n, s, u, c, d, v, f, p;
|
|
30
31
|
t[0] !== e ? ({
|
|
31
32
|
min: l,
|
|
32
33
|
max: a,
|
|
33
|
-
to:
|
|
34
|
+
to: n,
|
|
34
35
|
from: s,
|
|
35
36
|
enum: u,
|
|
36
37
|
onChange: c,
|
|
@@ -38,11 +39,11 @@ const et = U((e, V) => {
|
|
|
38
39
|
textAlign: v,
|
|
39
40
|
children: f,
|
|
40
41
|
scale: p,
|
|
41
|
-
normalizeZeros:
|
|
42
|
-
padFractionalZeros:
|
|
42
|
+
normalizeZeros: r,
|
|
43
|
+
padFractionalZeros: m,
|
|
43
44
|
...o
|
|
44
|
-
} = e, t[0] = e, t[1] = o, t[2] = l, t[3] = a, t[4] =
|
|
45
|
-
const B = l === void 0 ? void 0 : l, _ = a === void 0 ? void 0 : a, S =
|
|
45
|
+
} = e, t[0] = e, t[1] = o, t[2] = l, t[3] = a, t[4] = r, t[5] = m, t[6] = n, t[7] = s, t[8] = u, t[9] = c, t[10] = d, t[11] = v, t[12] = f, t[13] = p) : (o = t[1], l = t[2], a = t[3], r = t[4], m = t[5], n = t[6], s = t[7], u = t[8], c = t[9], d = t[10], v = t[11], f = t[12], p = t[13]);
|
|
46
|
+
const B = l === void 0 ? void 0 : l, _ = a === void 0 ? void 0 : a, S = n === void 0 ? void 0 : n, I = s === void 0 ? void 0 : s, T = u === void 0 ? void 0 : u, Z = c === void 0 ? null : c, H = d === void 0 ? !0 : d, b = v === void 0 ? "right" : v, w = f === void 0 ? null : f, y = p === void 0 ? 2 : p, A = r === void 0 ? !1 : r, C = m === void 0 ? !0 : m, L = W(null), E = g.isNil(B) ? H ? void 0 : 0 : B;
|
|
46
47
|
let x;
|
|
47
48
|
t[14] === Symbol.for("react.memo_cache_sentinel") ? (x = ["."], t[14] = x) : x = t[14];
|
|
48
49
|
let h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decimal.js","sources":["../../../src/lib/inputs2/numberfield/decimal.tsx"],"sourcesContent":["import _ from 'lodash';\nimport { useIMask } from 'react-imask';\nimport { ChangeEvent, forwardRef, useEffect, useRef } from 'react';\nimport { TextField } from '..';\nimport { mergeRefs } from '../../form2/helpers';\nimport type { DecimalFieldInputProps } from './types';\n\nconst Decimal = forwardRef<HTMLInputElement, DecimalFieldInputProps>((props, ref) => {\n const {\n min = undefined, max = undefined, to = undefined, from = undefined, enum: interval = undefined,\n onChange = null, allowNegative = true, textAlign = 'right', children = null, scale = 2, \n normalizeZeros = false, padFractionalZeros = true, ...rest\n } = props;\n const numberInputRef = useRef<HTMLInputElement | null>(null);\n\n const { value: maskedValue, setValue: setMaskedValue, unmaskedValue } = useIMask({\n mask: Number,\n unmask: true,\n min: !_.isNil(min) ? min : (allowNegative ? undefined : 0),\n enum: interval,\n radix: ',',\n mapToRadix: ['.'],\n thousandsSeparator: '.',\n max,\n to,\n from,\n scale,\n normalizeZeros,\n padFractionalZeros,\n }, {\n ref: numberInputRef,\n onAccept: (__, options, event) => {\n const parsedValueToFloat = parseFloat(options.unmaskedValue);\n const valueToReturn = !_.isNaN(parsedValueToFloat) ? parsedValueToFloat : 0;\n onChange?.({\n ...event,\n target: {\n ...event?.target,\n name: props?.name,\n value: valueToReturn as unknown,\n },\n } as ChangeEvent<HTMLInputElement>);\n },\n });\n\n useEffect(() => {\n const valueToString = _.toString(props?.value);\n if (!_.isNil(props?.value) && \n !_.isEqual(parseFloat(valueToString), parseFloat(unmaskedValue))) {\n setMaskedValue(parseFloat(valueToString).toLocaleString('pt-BR'));\n }\n }, [props?.value]);\n\n return (\n <TextField.Input\n {...rest}\n ref={mergeRefs(ref, numberInputRef)}\n type=\"text\"\n inputMode=\"numeric\"\n value={maskedValue}\n textAlign={textAlign}\n onChange={() => { }}>\n {children}\n </TextField.Input>\n );\n});\n\nDecimal.displayName = 'DecimalFieldInput';\n\nexport { Decimal };\n"],"names":["Decimal","forwardRef","props","ref","$","_c","rest","t0","t1","t10","t11","t2","t3","t4","t5","t6","t7","t8","t9","min","max","to","from","enum","onChange","allowNegative","textAlign","children","scale","normalizeZeros","padFractionalZeros","undefined","interval","numberInputRef","useRef","t12","_","isNil","t13","Symbol","for","t14","mask","Number","unmask","radix","mapToRadix","thousandsSeparator","t15","name","onAccept","__","options","event","parsedValueToFloat","parseFloat","unmaskedValue","valueToReturn","isNaN","target","value","maskedValue","setValue","setMaskedValue","useIMask","t16","valueToString","toString","isEqual","toLocaleString","t17","t18","useEffect","t19","mergeRefs","t20","TextField.Input","_temp","displayName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"decimal.js","sources":["../../../src/lib/inputs2/numberfield/decimal.tsx"],"sourcesContent":["import _ from 'lodash';\nimport { useIMask } from 'react-imask';\nimport { ChangeEvent, forwardRef, useEffect, useRef } from 'react';\nimport { TextField } from '..';\nimport { mergeRefs } from '../../form2/helpers';\nimport type { DecimalFieldInputProps } from './types';\n\nconst Decimal = forwardRef<HTMLInputElement, DecimalFieldInputProps>((props, ref) => {\n const {\n min = undefined, max = undefined, to = undefined, from = undefined, enum: interval = undefined,\n onChange = null, allowNegative = true, textAlign = 'right', children = null, scale = 2, \n normalizeZeros = false, padFractionalZeros = true, ...rest\n } = props;\n const numberInputRef = useRef<HTMLInputElement | null>(null);\n\n const { value: maskedValue, setValue: setMaskedValue, unmaskedValue } = useIMask({\n mask: Number,\n unmask: true,\n min: !_.isNil(min) ? min : (allowNegative ? undefined : 0),\n enum: interval,\n radix: ',',\n mapToRadix: ['.'],\n thousandsSeparator: '.',\n max,\n to,\n from,\n scale,\n normalizeZeros,\n padFractionalZeros,\n }, {\n ref: numberInputRef,\n onAccept: (__, options, event) => {\n const parsedValueToFloat = parseFloat(options.unmaskedValue);\n const valueToReturn = !_.isNaN(parsedValueToFloat) ? parsedValueToFloat : 0;\n onChange?.({\n ...event,\n target: {\n ...event?.target,\n name: props?.name,\n value: valueToReturn as unknown,\n },\n } as ChangeEvent<HTMLInputElement>);\n },\n });\n\n useEffect(() => {\n const valueToString = _.toString(props?.value);\n if (!_.isNil(props?.value) && \n !_.isEqual(parseFloat(valueToString), parseFloat(unmaskedValue))) {\n setMaskedValue(parseFloat(valueToString).toLocaleString('pt-BR'));\n }\n }, [props?.value]);\n\n return (\n <TextField.Input\n {...rest}\n ref={mergeRefs(ref, numberInputRef)}\n type=\"text\"\n inputMode=\"numeric\"\n value={maskedValue}\n textAlign={textAlign}\n onChange={() => { }}>\n {children}\n </TextField.Input>\n );\n});\n\nDecimal.displayName = 'DecimalFieldInput';\n\nexport { Decimal };\n"],"names":["Decimal","forwardRef","props","ref","$","_c","rest","t0","t1","t10","t11","t2","t3","t4","t5","t6","t7","t8","t9","min","max","to","from","enum","onChange","allowNegative","textAlign","children","scale","normalizeZeros","padFractionalZeros","undefined","interval","numberInputRef","useRef","t12","_","isNil","t13","Symbol","for","t14","mask","Number","unmask","radix","mapToRadix","thousandsSeparator","t15","name","onAccept","__","options","event","parsedValueToFloat","parseFloat","unmaskedValue","valueToReturn","isNaN","target","value","maskedValue","setValue","setMaskedValue","useIMask","t16","valueToString","toString","isEqual","toLocaleString","t17","t18","useEffect","t19","mergeRefs","t20","TextField.Input","_temp","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAMA,KAAUC,EAAqD,CAAAC,GAAAC,MAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA;AAAA,MAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;AAAA,EAAAd,SAAAF,KACnE;AAAA,IAAAiB,KAAAZ;AAAAA,IAAAa,KAAAZ;AAAAA,IAAAa,IAAAV;AAAAA,IAAAW,MAAAV;AAAAA,IAAAW,MAAAV;AAAAA,IAAAW,UAAAV;AAAAA,IAAAW,eAAAV;AAAAA,IAAAW,WAAAV;AAAAA,IAAAW,UAAAV;AAAAA,IAAAW,OAAAV;AAAAA,IAAAW,gBAAApB;AAAAA,IAAAqB,oBAAApB;AAAAA,IAAA,GAAAJ;AAAAA,EAAAA,IAIIJ,GAAME,OAAAF,GAAAE,OAAAE,GAAAF,OAAAG,GAAAH,OAAAI,GAAAJ,OAAAK,GAAAL,OAAAM,GAAAN,OAAAO,GAAAP,OAAAQ,GAAAR,OAAAS,GAAAT,OAAAU,GAAAV,QAAAW,GAAAX,QAAAY,GAAAZ,QAAAa,GAAAb,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AAD,KAAA;AAAA;"}
|
|
@@ -22,8 +22,8 @@ import "../colorfield/index.js";
|
|
|
22
22
|
import "../checkboxfield/index.js";
|
|
23
23
|
import "../date/dateperiodfield/index.js";
|
|
24
24
|
import "../filefield/index.js";
|
|
25
|
-
import { mergeRefs as Z } from "../../form2/helpers.js";
|
|
26
25
|
import { LeftSlot as wt, RightSlot as yt } from "../slot/index.js";
|
|
26
|
+
import { mergeRefs as Z } from "../../form2/helpers.js";
|
|
27
27
|
import { Decimal as qt } from "./decimal.js";
|
|
28
28
|
import { Currency as $t } from "./currency.js";
|
|
29
29
|
import { convertToSafeNumber as G } from "./helpers.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linear-react-components-ui",
|
|
3
|
-
"version": "1.1.26-beta.
|
|
3
|
+
"version": "1.1.26-beta.23",
|
|
4
4
|
"description": "Linear Sistemas ReactJs Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -173,6 +173,11 @@
|
|
|
173
173
|
"import": "./lib/inputs2/index.js",
|
|
174
174
|
"default": "./lib/inputs2/index.js"
|
|
175
175
|
},
|
|
176
|
+
"./inputs2/slot": {
|
|
177
|
+
"types": "./lib/inputs2/slot/index.d.ts",
|
|
178
|
+
"import": "./lib/inputs2/slot/index.js",
|
|
179
|
+
"default": "./lib/inputs2/slot/index.js"
|
|
180
|
+
},
|
|
176
181
|
"./labelMessages": {
|
|
177
182
|
"types": "./lib/labelMessages/index.d.ts",
|
|
178
183
|
"import": "./lib/labelMessages/index.js",
|