react-immutable-form-with-bootstrap 1.0.9 → 1.0.11
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/Inputs/Custom/CaptchaBox.d.ts +2 -2
- package/Inputs/Custom/CaptchaBox.js +14 -19
- package/Inputs/Custom/CaptchaBox.js.map +1 -1
- package/Inputs/DateInput.d.ts +2 -2
- package/Inputs/DateInput.js +14 -19
- package/Inputs/DateInput.js.map +1 -1
- package/Inputs/DateTemplate.d.ts +1 -1
- package/Inputs/DateTemplate.js +11 -16
- package/Inputs/DateTemplate.js.map +1 -1
- package/Inputs/InputTemplate.d.ts +2 -2
- package/Inputs/InputTemplate.js +10 -15
- package/Inputs/InputTemplate.js.map +1 -1
- package/Inputs/NumericInput.d.ts +2 -2
- package/Inputs/NumericInput.js +20 -25
- package/Inputs/NumericInput.js.map +1 -1
- package/Inputs/NumericTemplate.d.ts +1 -1
- package/Inputs/NumericTemplate.js +10 -15
- package/Inputs/NumericTemplate.js.map +1 -1
- package/Inputs/SelectTemplate.d.ts +1 -1
- package/Inputs/SelectTemplate.js +10 -15
- package/Inputs/SelectTemplate.js.map +1 -1
- package/Inputs/SimpleInput.d.ts +2 -2
- package/Inputs/SimpleInput.js +9 -14
- package/Inputs/SimpleInput.js.map +1 -1
- package/Inputs/SimpleSelect.d.ts +2 -2
- package/Inputs/SimpleSelect.js +16 -21
- package/Inputs/SimpleSelect.js.map +1 -1
- package/Inputs/SimpleTextarea.d.ts +2 -2
- package/Inputs/SimpleTextarea.js +9 -14
- package/Inputs/SimpleTextarea.js.map +1 -1
- package/Inputs/SwitchInput.d.ts +2 -2
- package/Inputs/SwitchInput.js +13 -18
- package/Inputs/SwitchInput.js.map +1 -1
- package/Inputs/TextareaTemplate.d.ts +1 -1
- package/Inputs/TextareaTemplate.js +10 -15
- package/Inputs/TextareaTemplate.js.map +1 -1
- package/Inputs/util-numeric.js +1 -3
- package/Inputs/util-numeric.js.map +1 -1
- package/Inputs/util-template.js +1 -5
- package/Inputs/util-template.js.map +1 -1
- package/RenderCount.js +5 -10
- package/RenderCount.js.map +1 -1
- package/bootstrap/onErrors.js +28 -33
- package/bootstrap/onErrors.js.map +1 -1
- package/create-form-prompt.js +12 -37
- package/create-form-prompt.js.map +1 -1
- package/form-utils.js +11 -16
- package/form-utils.js.map +1 -1
- package/index.js +16 -38
- package/index.js.map +1 -1
- package/package.json +22 -15
- package/styles/index.css +1 -0
package/index.js
CHANGED
|
@@ -1,39 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var DateTemplate_1 = require("./Inputs/DateTemplate");
|
|
18
|
-
Object.defineProperty(exports, "DateTemplate", { enumerable: true, get: function () { return __importDefault(DateTemplate_1).default; } });
|
|
19
|
-
var InputTemplate_1 = require("./Inputs/InputTemplate");
|
|
20
|
-
Object.defineProperty(exports, "InputTemplate", { enumerable: true, get: function () { return __importDefault(InputTemplate_1).default; } });
|
|
21
|
-
var NumericInput_1 = require("./Inputs/NumericInput");
|
|
22
|
-
Object.defineProperty(exports, "NumericInput", { enumerable: true, get: function () { return __importDefault(NumericInput_1).default; } });
|
|
23
|
-
var NumericTemplate_1 = require("./Inputs/NumericTemplate");
|
|
24
|
-
Object.defineProperty(exports, "NumericTemplate", { enumerable: true, get: function () { return __importDefault(NumericTemplate_1).default; } });
|
|
25
|
-
var SelectTemplate_1 = require("./Inputs/SelectTemplate");
|
|
26
|
-
Object.defineProperty(exports, "SelectTemplate", { enumerable: true, get: function () { return __importDefault(SelectTemplate_1).default; } });
|
|
27
|
-
var SimpleInput_1 = require("./Inputs/SimpleInput");
|
|
28
|
-
Object.defineProperty(exports, "SimpleInput", { enumerable: true, get: function () { return __importDefault(SimpleInput_1).default; } });
|
|
29
|
-
var SimpleSelect_1 = require("./Inputs/SimpleSelect");
|
|
30
|
-
Object.defineProperty(exports, "SimpleSelect", { enumerable: true, get: function () { return __importDefault(SimpleSelect_1).default; } });
|
|
31
|
-
var SimpleTextarea_1 = require("./Inputs/SimpleTextarea");
|
|
32
|
-
Object.defineProperty(exports, "SimpleTextarea", { enumerable: true, get: function () { return __importDefault(SimpleTextarea_1).default; } });
|
|
33
|
-
var SwitchInput_1 = require("./Inputs/SwitchInput");
|
|
34
|
-
Object.defineProperty(exports, "SwitchInput", { enumerable: true, get: function () { return __importDefault(SwitchInput_1).default; } });
|
|
35
|
-
var TextareaTemplate_1 = require("./Inputs/TextareaTemplate");
|
|
36
|
-
Object.defineProperty(exports, "TextareaTemplate", { enumerable: true, get: function () { return __importDefault(TextareaTemplate_1).default; } });
|
|
37
|
-
var util_numeric_1 = require("./Inputs/util-numeric");
|
|
38
|
-
Object.defineProperty(exports, "numericOperations", { enumerable: true, get: function () { return __importDefault(util_numeric_1).default; } });
|
|
1
|
+
export { default as formUtils } from "./form-utils.js";
|
|
2
|
+
export { default as onErrors } from "./bootstrap/onErrors.js";
|
|
3
|
+
export { default as createFormPromter } from "./create-form-prompt.js";
|
|
4
|
+
export { default as CaptchaBox } from "./Inputs/Custom/CaptchaBox.js";
|
|
5
|
+
export { default as DateInput } from "./Inputs/DateInput.js";
|
|
6
|
+
export { default as DateTemplate } from "./Inputs/DateTemplate.js";
|
|
7
|
+
export { default as InputTemplate } from "./Inputs/InputTemplate.js";
|
|
8
|
+
export { default as NumericInput } from "./Inputs/NumericInput.js";
|
|
9
|
+
export { default as NumericTemplate } from "./Inputs/NumericTemplate.js";
|
|
10
|
+
export { default as SelectTemplate } from "./Inputs/SelectTemplate.js";
|
|
11
|
+
export { default as SimpleInput } from "./Inputs/SimpleInput.js";
|
|
12
|
+
export { default as SimpleSelect } from "./Inputs/SimpleSelect.js";
|
|
13
|
+
export { default as SimpleTextarea } from "./Inputs/SimpleTextarea.js";
|
|
14
|
+
export { default as SwitchInput } from "./Inputs/SwitchInput.js";
|
|
15
|
+
export { default as TextareaTemplate } from "./Inputs/TextareaTemplate.js";
|
|
16
|
+
export { default as numericOperations } from "./Inputs/util-numeric.js";
|
|
39
17
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.11",
|
|
3
3
|
"name": "react-immutable-form-with-bootstrap",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "react-immutable-form-with-bootstrap the [i]mmutable form library for react - using hooks",
|
|
5
|
-
"
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./index.js",
|
|
10
|
+
"./*": "./*.js",
|
|
11
|
+
"./*/": "./*/index.js"
|
|
12
|
+
},
|
|
6
13
|
"scripts": {
|
|
7
|
-
"load": "npm run intern-pre &&
|
|
8
|
-
"load-beta": "npm run intern-pre &&
|
|
14
|
+
"load": "npm run intern-pre && npm run ts && npm run intern-copy && npm publish ./dist",
|
|
15
|
+
"load-beta": "npm run intern-pre && npm run ts && npm run intern-copy && npm publish ./dist --tag beta",
|
|
9
16
|
"eslint": "eslint --ext .tsx,.ts src --fix",
|
|
10
17
|
"intern-pre": "npm run eslint && npm run intern-clean && npm run intern-build",
|
|
11
18
|
"knip": "knip --include-libs",
|
|
12
|
-
"intern-build-scss": "
|
|
19
|
+
"intern-build-scss": "sass --style=compressed --no-source-map src:dist",
|
|
13
20
|
"intern-copy": " copy package.json dist",
|
|
14
21
|
"lint": "npm run knip && npm run ts:check & npm run eslint",
|
|
15
22
|
"intern-build": "npm run intern-build-scss",
|
|
@@ -21,7 +28,7 @@
|
|
|
21
28
|
"depcheck": "depcheck --ignores=@docusaurus/react-loadable,webpack-cli,@hot-loader/react-dom --ignore-patterns=server,node_modules,tmp,fonts",
|
|
22
29
|
"check:global": "npm-check -gu",
|
|
23
30
|
"ts:check": "tsc --noEmit",
|
|
24
|
-
"ts": "tsc --declaration"
|
|
31
|
+
"ts": "tsc --declaration && node script/fix-esm-imports.cjs"
|
|
25
32
|
},
|
|
26
33
|
"repository": {
|
|
27
34
|
"type": "git",
|
|
@@ -96,15 +103,15 @@
|
|
|
96
103
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
97
104
|
"eslint-plugin-import": "^2.29.0",
|
|
98
105
|
"eslint-plugin-react": "^7.33.2",
|
|
99
|
-
"
|
|
106
|
+
"knip": "^5.36.2",
|
|
100
107
|
"npm-check": "^6.0.1",
|
|
108
|
+
"rimraf": "^3.0.2",
|
|
109
|
+
"sass": "^1.98.0",
|
|
101
110
|
"style-loader": "^3.3.3",
|
|
111
|
+
"trash-cli": "^6.0.0",
|
|
102
112
|
"ts-loader": "^9.5.1",
|
|
103
113
|
"typescript": "^5.3.2",
|
|
104
114
|
"vitest": "^1.4.0",
|
|
105
|
-
"rimraf": "^3.0.2",
|
|
106
|
-
"knip": "^5.36.2",
|
|
107
|
-
"trash-cli": "^6.0.0",
|
|
108
115
|
"webpack": "^5.89.0"
|
|
109
116
|
},
|
|
110
117
|
"overrides": {
|
|
@@ -117,12 +124,12 @@
|
|
|
117
124
|
"date-fns": "^3.6.0",
|
|
118
125
|
"history": "^5.3.0",
|
|
119
126
|
"immutable": "^4.3.4",
|
|
120
|
-
"react": "^
|
|
127
|
+
"react": "^18.3.1",
|
|
121
128
|
"react-datepicker": "^4.24.0",
|
|
122
|
-
"react-dom": "^
|
|
123
|
-
"react-immutable-form": "^1.1.
|
|
124
|
-
"react-redux": "^
|
|
129
|
+
"react-dom": "^18.3.1",
|
|
130
|
+
"react-immutable-form": "^1.1.10",
|
|
131
|
+
"react-redux": "^9.2.0",
|
|
125
132
|
"react-router": "^6.22.3",
|
|
126
133
|
"x25": "^17.5.6"
|
|
127
134
|
}
|
|
128
|
-
}
|
|
135
|
+
}
|
package/styles/index.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|