@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260306085544 → 0.8.1-dev.20260318104006
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/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2038,6 +2038,7 @@ var Icon_default = Icon;
|
|
|
2038
2038
|
|
|
2039
2039
|
// src/FormReducer.tsx
|
|
2040
2040
|
var FORM_INPUT_UPDATE = "FORM_INPUT_UPDATE";
|
|
2041
|
+
var FORM_INITIAL_UPDATE = "FORM_INITIAL_UPDATE";
|
|
2041
2042
|
function setNestedProperty(obj, path, value) {
|
|
2042
2043
|
if (path.includes(".")) {
|
|
2043
2044
|
const keys = path.split(".");
|
|
@@ -2068,6 +2069,11 @@ function FormReducer(state, action) {
|
|
|
2068
2069
|
),
|
|
2069
2070
|
lastPropertyChanged: action.name.toString()
|
|
2070
2071
|
};
|
|
2072
|
+
case FORM_INITIAL_UPDATE:
|
|
2073
|
+
return {
|
|
2074
|
+
inputValues: { ...action.values },
|
|
2075
|
+
lastPropertyChanged: action.name?.toString() || ""
|
|
2076
|
+
};
|
|
2071
2077
|
default:
|
|
2072
2078
|
return state;
|
|
2073
2079
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2006,6 +2006,7 @@ var Icon_default = Icon;
|
|
|
2006
2006
|
|
|
2007
2007
|
// src/FormReducer.tsx
|
|
2008
2008
|
var FORM_INPUT_UPDATE = "FORM_INPUT_UPDATE";
|
|
2009
|
+
var FORM_INITIAL_UPDATE = "FORM_INITIAL_UPDATE";
|
|
2009
2010
|
function setNestedProperty(obj, path, value) {
|
|
2010
2011
|
if (path.includes(".")) {
|
|
2011
2012
|
const keys = path.split(".");
|
|
@@ -2036,6 +2037,11 @@ function FormReducer(state, action) {
|
|
|
2036
2037
|
),
|
|
2037
2038
|
lastPropertyChanged: action.name.toString()
|
|
2038
2039
|
};
|
|
2040
|
+
case FORM_INITIAL_UPDATE:
|
|
2041
|
+
return {
|
|
2042
|
+
inputValues: { ...action.values },
|
|
2043
|
+
lastPropertyChanged: action.name?.toString() || ""
|
|
2044
|
+
};
|
|
2039
2045
|
default:
|
|
2040
2046
|
return state;
|
|
2041
2047
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acoustte-digital-services/digitalstore-controls-dev",
|
|
3
|
-
"version": "0.8.1-dev.
|
|
3
|
+
"version": "0.8.1-dev.20260318104006",
|
|
4
4
|
"description": "Reusable React components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"react-dom": "^18 || ^19"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/node": "^25.
|
|
19
|
+
"@types/node": "^25.5.0",
|
|
20
20
|
"@types/react": "^19",
|
|
21
21
|
"@types/react-dom": "^19",
|
|
22
22
|
"tsup": "^8.5.1",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"license": "ISC",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"moment-timezone": "^0.6.0",
|
|
28
|
-
"next": "^15.5.
|
|
28
|
+
"next": "^15.5.13"
|
|
29
29
|
}
|
|
30
30
|
}
|