@ttoss/forms 0.23.5 → 0.23.7
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.
|
@@ -7,6 +7,12 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
7
7
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
configurable: true,
|
|
13
|
+
writable: true,
|
|
14
|
+
value
|
|
15
|
+
}) : obj[key] = value;
|
|
10
16
|
var __export = (target, all) => {
|
|
11
17
|
for (var name in all) __defProp(target, name, {
|
|
12
18
|
get: all[name],
|
|
@@ -35,6 +41,10 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
35
41
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
36
42
|
value: true
|
|
37
43
|
}), mod);
|
|
44
|
+
var __publicField = (obj, key, value) => {
|
|
45
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
46
|
+
return value;
|
|
47
|
+
};
|
|
38
48
|
|
|
39
49
|
// src/MultistepForm/index.ts
|
|
40
50
|
var MultistepForm_exports = {};
|
|
@@ -2673,24 +2683,24 @@ function defineIconifyIcon(name = "iconify-icon") {
|
|
|
2673
2683
|
// Customisations
|
|
2674
2684
|
"width", "height", "rotate", "flip"];
|
|
2675
2685
|
const IconifyIcon2 = class extends ParentClass {
|
|
2676
|
-
// Root
|
|
2677
|
-
_shadowRoot;
|
|
2678
|
-
// Initialised
|
|
2679
|
-
_initialised = false;
|
|
2680
|
-
// Icon state
|
|
2681
|
-
_state;
|
|
2682
|
-
// Attributes check queued
|
|
2683
|
-
_checkQueued = false;
|
|
2684
|
-
// Connected
|
|
2685
|
-
_connected = false;
|
|
2686
|
-
// Observer
|
|
2687
|
-
_observer = null;
|
|
2688
|
-
_visible = true;
|
|
2689
2686
|
/**
|
|
2690
2687
|
* Constructor
|
|
2691
2688
|
*/
|
|
2692
2689
|
constructor() {
|
|
2693
2690
|
super();
|
|
2691
|
+
// Root
|
|
2692
|
+
__publicField(this, "_shadowRoot");
|
|
2693
|
+
// Initialised
|
|
2694
|
+
__publicField(this, "_initialised", false);
|
|
2695
|
+
// Icon state
|
|
2696
|
+
__publicField(this, "_state");
|
|
2697
|
+
// Attributes check queued
|
|
2698
|
+
__publicField(this, "_checkQueued", false);
|
|
2699
|
+
// Connected
|
|
2700
|
+
__publicField(this, "_connected", false);
|
|
2701
|
+
// Observer
|
|
2702
|
+
__publicField(this, "_observer", null);
|
|
2703
|
+
__publicField(this, "_visible", true);
|
|
2694
2704
|
const root = this._shadowRoot = this.attachShadow({
|
|
2695
2705
|
mode: "open"
|
|
2696
2706
|
});
|
package/dist/esm/Brazil/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { FormField, FormFieldCNPJ, FormFieldPatternFormat, isCnpjValid } from "../chunk-
|
|
2
|
+
import { FormField, FormFieldCNPJ, FormFieldPatternFormat, isCnpjValid } from "../chunk-KCGLFWPY.js";
|
|
3
3
|
|
|
4
4
|
// src/Brazil/FormFieldPhone.tsx
|
|
5
5
|
import { Input } from "@ttoss/ui";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { Form, useForm, yupResolver } from "../chunk-
|
|
2
|
+
import { Form, __publicField, useForm, yupResolver } from "../chunk-KCGLFWPY.js";
|
|
3
3
|
|
|
4
4
|
// src/MultistepForm/MultistepForm.tsx
|
|
5
5
|
import * as React3 from "react";
|
|
@@ -1929,24 +1929,24 @@ function defineIconifyIcon(name = "iconify-icon") {
|
|
|
1929
1929
|
// Customisations
|
|
1930
1930
|
"width", "height", "rotate", "flip"];
|
|
1931
1931
|
const IconifyIcon2 = class extends ParentClass {
|
|
1932
|
-
// Root
|
|
1933
|
-
_shadowRoot;
|
|
1934
|
-
// Initialised
|
|
1935
|
-
_initialised = false;
|
|
1936
|
-
// Icon state
|
|
1937
|
-
_state;
|
|
1938
|
-
// Attributes check queued
|
|
1939
|
-
_checkQueued = false;
|
|
1940
|
-
// Connected
|
|
1941
|
-
_connected = false;
|
|
1942
|
-
// Observer
|
|
1943
|
-
_observer = null;
|
|
1944
|
-
_visible = true;
|
|
1945
1932
|
/**
|
|
1946
1933
|
* Constructor
|
|
1947
1934
|
*/
|
|
1948
1935
|
constructor() {
|
|
1949
1936
|
super();
|
|
1937
|
+
// Root
|
|
1938
|
+
__publicField(this, "_shadowRoot");
|
|
1939
|
+
// Initialised
|
|
1940
|
+
__publicField(this, "_initialised", false);
|
|
1941
|
+
// Icon state
|
|
1942
|
+
__publicField(this, "_state");
|
|
1943
|
+
// Attributes check queued
|
|
1944
|
+
__publicField(this, "_checkQueued", false);
|
|
1945
|
+
// Connected
|
|
1946
|
+
__publicField(this, "_connected", false);
|
|
1947
|
+
// Observer
|
|
1948
|
+
__publicField(this, "_observer", null);
|
|
1949
|
+
__publicField(this, "_visible", true);
|
|
1950
1950
|
const root = this._shadowRoot = this.attachShadow({
|
|
1951
1951
|
mode: "open"
|
|
1952
1952
|
});
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
4
|
+
enumerable: true,
|
|
5
|
+
configurable: true,
|
|
6
|
+
writable: true,
|
|
7
|
+
value
|
|
8
|
+
}) : obj[key] = value;
|
|
9
|
+
var __publicField = (obj, key, value) => {
|
|
10
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
+
return value;
|
|
12
|
+
};
|
|
2
13
|
|
|
3
14
|
// src/index.ts
|
|
4
15
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
@@ -718,4 +729,4 @@ var FormGroup = props => {
|
|
|
718
729
|
// src/index.ts
|
|
719
730
|
import { useForm, useFormContext as useFormContext2, useWatch, useFieldArray, useController as useController4, useFormState, Controller, FormProvider as FormProvider2 } from "react-hook-form";
|
|
720
731
|
export * from "react-hook-form";
|
|
721
|
-
export { isCnpjValid, FormFieldCNPJ, yup2 as yup, Form, FormField, FormFieldCheckbox, FormFieldPatternFormat, FormFieldCreditCardNumber, FormFieldNumericFormat, FormFieldCurrencyInput, FormFieldInput, FormFieldPassword, FormFieldRadio, FormFieldSelect, FormFieldTextarea, useFormGroup, FormGroup, yupResolver, useForm, useFormContext2 as useFormContext, useWatch, useFieldArray, useController4 as useController, useFormState, Controller, FormProvider2 as FormProvider };
|
|
732
|
+
export { __publicField, isCnpjValid, FormFieldCNPJ, yup2 as yup, Form, FormField, FormFieldCheckbox, FormFieldPatternFormat, FormFieldCreditCardNumber, FormFieldNumericFormat, FormFieldCurrencyInput, FormFieldInput, FormFieldPassword, FormFieldRadio, FormFieldSelect, FormFieldTextarea, useFormGroup, FormGroup, yupResolver, useForm, useFormContext2 as useFormContext, useWatch, useFieldArray, useController4 as useController, useFormState, Controller, FormProvider2 as FormProvider };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { Controller, Form, FormField, FormFieldCheckbox, FormFieldCreditCardNumber, FormFieldCurrencyInput, FormFieldInput, FormFieldNumericFormat, FormFieldPassword, FormFieldPatternFormat, FormFieldRadio, FormFieldSelect, FormFieldTextarea, FormGroup, FormProvider, useController, useFieldArray, useForm, useFormContext, useFormGroup, useFormState, useWatch, yup, yupResolver } from "./chunk-
|
|
2
|
+
import { Controller, Form, FormField, FormFieldCheckbox, FormFieldCreditCardNumber, FormFieldCurrencyInput, FormFieldInput, FormFieldNumericFormat, FormFieldPassword, FormFieldPatternFormat, FormFieldRadio, FormFieldSelect, FormFieldTextarea, FormGroup, FormProvider, useController, useFieldArray, useForm, useFormContext, useFormGroup, useFormState, useWatch, yup, yupResolver } from "./chunk-KCGLFWPY.js";
|
|
3
3
|
export { Controller, Form, FormField, FormFieldCheckbox, FormFieldCreditCardNumber, FormFieldCurrencyInput, FormFieldInput, FormFieldNumericFormat, FormFieldPassword, FormFieldPatternFormat, FormFieldRadio, FormFieldSelect, FormFieldTextarea, FormGroup, FormProvider, useController, useFieldArray, useForm, useFormContext, useFormGroup, useFormState, useWatch, yup, yupResolver };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/forms",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.7",
|
|
4
4
|
"author": "ttoss",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Pedro Arantes <pedro@arantespp.com> (https://arantespp.com/contact)"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=16.8.0",
|
|
44
|
-
"@ttoss/react-i18n": "^1.26.
|
|
45
|
-
"@ttoss/ui": "^4.1.
|
|
44
|
+
"@ttoss/react-i18n": "^1.26.7",
|
|
45
|
+
"@ttoss/ui": "^4.1.9"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/jest": "^29.5.12",
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
"theme-ui": "^0.16.2",
|
|
54
54
|
"tsup": "^8.0.2",
|
|
55
55
|
"yup": "^1.4.0",
|
|
56
|
-
"@ttoss/config": "^1.32.
|
|
57
|
-
"@ttoss/i18n
|
|
58
|
-
"@ttoss/
|
|
59
|
-
"@ttoss/react-icons": "^0.3.
|
|
60
|
-
"@ttoss/test-utils": "^2.1.
|
|
61
|
-
"@ttoss/ui": "^4.1.
|
|
56
|
+
"@ttoss/config": "^1.32.3",
|
|
57
|
+
"@ttoss/react-i18n": "^1.26.7",
|
|
58
|
+
"@ttoss/i18n-cli": "^0.7.11",
|
|
59
|
+
"@ttoss/react-icons": "^0.3.6",
|
|
60
|
+
"@ttoss/test-utils": "^2.1.6",
|
|
61
|
+
"@ttoss/ui": "^4.1.9"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public",
|