react-immutable-form-with-bootstrap 1.0.9 → 1.0.10
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 +1 -1
- package/Inputs/Custom/CaptchaBox.js +14 -19
- package/Inputs/Custom/CaptchaBox.js.map +1 -1
- package/Inputs/DateInput.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/Inputs/SimpleInput.js +9 -14
- package/Inputs/SimpleInput.js.map +1 -1
- package/Inputs/SimpleSelect.d.ts +1 -1
- package/Inputs/SimpleSelect.js +16 -21
- package/Inputs/SimpleSelect.js.map +1 -1
- package/Inputs/SimpleTextarea.d.ts +1 -1
- package/Inputs/SimpleTextarea.js +9 -14
- package/Inputs/SimpleTextarea.js.map +1 -1
- package/Inputs/SwitchInput.d.ts +1 -1
- 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 +12 -11
- 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,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.10",
|
|
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
|
-
"types": "./
|
|
6
|
+
"types": "./index.d.ts",
|
|
6
7
|
"scripts": {
|
|
7
|
-
"load": "npm run intern-pre &&
|
|
8
|
-
"load-beta": "npm run intern-pre &&
|
|
8
|
+
"load": "npm run intern-pre && npm run ts && npm run intern-copy && npm publish ./dist",
|
|
9
|
+
"load-beta": "npm run intern-pre && npm run ts && npm run intern-copy && npm publish ./dist --tag beta",
|
|
9
10
|
"eslint": "eslint --ext .tsx,.ts src --fix",
|
|
10
11
|
"intern-pre": "npm run eslint && npm run intern-clean && npm run intern-build",
|
|
11
12
|
"knip": "knip --include-libs",
|
|
12
|
-
"intern-build-scss": "
|
|
13
|
+
"intern-build-scss": "sass --style=compressed --no-source-map src:dist",
|
|
13
14
|
"intern-copy": " copy package.json dist",
|
|
14
15
|
"lint": "npm run knip && npm run ts:check & npm run eslint",
|
|
15
16
|
"intern-build": "npm run intern-build-scss",
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"depcheck": "depcheck --ignores=@docusaurus/react-loadable,webpack-cli,@hot-loader/react-dom --ignore-patterns=server,node_modules,tmp,fonts",
|
|
22
23
|
"check:global": "npm-check -gu",
|
|
23
24
|
"ts:check": "tsc --noEmit",
|
|
24
|
-
"ts": "tsc --declaration"
|
|
25
|
+
"ts": "tsc --declaration && node script/fix-esm-imports.cjs"
|
|
25
26
|
},
|
|
26
27
|
"repository": {
|
|
27
28
|
"type": "git",
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
97
98
|
"eslint-plugin-import": "^2.29.0",
|
|
98
99
|
"eslint-plugin-react": "^7.33.2",
|
|
99
|
-
"
|
|
100
|
+
"sass": "^1.98.0",
|
|
100
101
|
"npm-check": "^6.0.1",
|
|
101
102
|
"style-loader": "^3.3.3",
|
|
102
103
|
"ts-loader": "^9.5.1",
|
|
@@ -117,11 +118,11 @@
|
|
|
117
118
|
"date-fns": "^3.6.0",
|
|
118
119
|
"history": "^5.3.0",
|
|
119
120
|
"immutable": "^4.3.4",
|
|
120
|
-
"react": "^
|
|
121
|
+
"react": "^18.3.1",
|
|
121
122
|
"react-datepicker": "^4.24.0",
|
|
122
|
-
"react-dom": "^
|
|
123
|
-
"react-immutable-form": "^1.1.
|
|
124
|
-
"react-redux": "^
|
|
123
|
+
"react-dom": "^18.3.1",
|
|
124
|
+
"react-immutable-form": "^1.1.9",
|
|
125
|
+
"react-redux": "^9.2.0",
|
|
125
126
|
"react-router": "^6.22.3",
|
|
126
127
|
"x25": "^17.5.6"
|
|
127
128
|
}
|
package/styles/index.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|