@remoteoss/json-schema-form 0.5.0-dev.20230705093926 → 0.5.0-dev.20230705114115
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.cjs +3 -10
- package/dist/index.js +3 -10
- package/dist/standalone.js +3 -10
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.5.0-dev.
|
|
5
|
-
Generated: Wed, 05 Jul 2023
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.5.0-dev.20230705114115
|
|
5
|
+
Generated: Wed, 05 Jul 2023 11:41:29 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
|
@@ -350,13 +350,6 @@ function convertDiskSizeFromTo(from, to) {
|
|
|
350
350
|
return value * Math.pow(1024, units.indexOf(from.toLowerCase())) / Math.pow(1024, units.indexOf(to.toLowerCase()));
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
|
-
function containsHTML(str = "") {
|
|
354
|
-
return /<[a-z][\s\S]*>/i.test(str);
|
|
355
|
-
}
|
|
356
|
-
function wrapWithSpan(html, properties = {}) {
|
|
357
|
-
const attributes = Object.entries(properties).reduce((acc, [key, value]) => `${acc}${key}="${value}" `, "").trim();
|
|
358
|
-
return `<span ${attributes}>${html}</span>`;
|
|
359
|
-
}
|
|
360
353
|
function hasProperty(object2, propertyName) {
|
|
361
354
|
return Object.prototype.hasOwnProperty.call(object2, propertyName);
|
|
362
355
|
}
|
|
@@ -878,7 +871,7 @@ function extractParametersFromNode(schemaNode) {
|
|
|
878
871
|
const errorMessage = pickXKey(schemaNode, "errorMessage") ?? {};
|
|
879
872
|
const node = (0, import_omit.default)(schemaNode, ["x-jsf-presentation", "presentation"]);
|
|
880
873
|
const description = presentation?.description || node.description;
|
|
881
|
-
const statementDescription =
|
|
874
|
+
const statementDescription = presentation.statement?.description;
|
|
882
875
|
return (0, import_omitBy.default)(
|
|
883
876
|
{
|
|
884
877
|
label: node.title,
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.5.0-dev.
|
|
5
|
-
Generated: Wed, 05 Jul 2023
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.5.0-dev.20230705114115
|
|
5
|
+
Generated: Wed, 05 Jul 2023 11:41:29 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
|
@@ -314,13 +314,6 @@ function convertDiskSizeFromTo(from, to) {
|
|
|
314
314
|
return value * Math.pow(1024, units.indexOf(from.toLowerCase())) / Math.pow(1024, units.indexOf(to.toLowerCase()));
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
|
-
function containsHTML(str = "") {
|
|
318
|
-
return /<[a-z][\s\S]*>/i.test(str);
|
|
319
|
-
}
|
|
320
|
-
function wrapWithSpan(html, properties = {}) {
|
|
321
|
-
const attributes = Object.entries(properties).reduce((acc, [key, value]) => `${acc}${key}="${value}" `, "").trim();
|
|
322
|
-
return `<span ${attributes}>${html}</span>`;
|
|
323
|
-
}
|
|
324
317
|
function hasProperty(object2, propertyName) {
|
|
325
318
|
return Object.prototype.hasOwnProperty.call(object2, propertyName);
|
|
326
319
|
}
|
|
@@ -842,7 +835,7 @@ function extractParametersFromNode(schemaNode) {
|
|
|
842
835
|
const errorMessage = pickXKey(schemaNode, "errorMessage") ?? {};
|
|
843
836
|
const node = omit(schemaNode, ["x-jsf-presentation", "presentation"]);
|
|
844
837
|
const description = presentation?.description || node.description;
|
|
845
|
-
const statementDescription =
|
|
838
|
+
const statementDescription = presentation.statement?.description;
|
|
846
839
|
return omitBy(
|
|
847
840
|
{
|
|
848
841
|
label: node.title,
|
package/dist/standalone.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.5.0-dev.
|
|
5
|
-
Generated: Wed, 05 Jul 2023
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.5.0-dev.20230705114115
|
|
5
|
+
Generated: Wed, 05 Jul 2023 11:41:29 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
|
@@ -11291,13 +11291,6 @@ function convertDiskSizeFromTo(from2, to) {
|
|
|
11291
11291
|
return value * Math.pow(1024, units.indexOf(from2.toLowerCase())) / Math.pow(1024, units.indexOf(to.toLowerCase()));
|
|
11292
11292
|
};
|
|
11293
11293
|
}
|
|
11294
|
-
function containsHTML(str = "") {
|
|
11295
|
-
return /<[a-z][\s\S]*>/i.test(str);
|
|
11296
|
-
}
|
|
11297
|
-
function wrapWithSpan(html, properties = {}) {
|
|
11298
|
-
const attributes = Object.entries(properties).reduce((acc, [key, value]) => `${acc}${key}="${value}" `, "").trim();
|
|
11299
|
-
return `<span ${attributes}>${html}</span>`;
|
|
11300
|
-
}
|
|
11301
11294
|
function hasProperty(object2, propertyName) {
|
|
11302
11295
|
return Object.prototype.hasOwnProperty.call(object2, propertyName);
|
|
11303
11296
|
}
|
|
@@ -11818,7 +11811,7 @@ function extractParametersFromNode(schemaNode) {
|
|
|
11818
11811
|
const errorMessage = pickXKey(schemaNode, "errorMessage") ?? {};
|
|
11819
11812
|
const node = (0, import_omit.default)(schemaNode, ["x-jsf-presentation", "presentation"]);
|
|
11820
11813
|
const description = presentation?.description || node.description;
|
|
11821
|
-
const statementDescription =
|
|
11814
|
+
const statementDescription = presentation.statement?.description;
|
|
11822
11815
|
return (0, import_omitBy.default)(
|
|
11823
11816
|
{
|
|
11824
11817
|
label: node.title,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remoteoss/json-schema-form",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.20230705114115",
|
|
4
4
|
"description": "Headless UI form powered by JSON Schemas",
|
|
5
5
|
"author": "Remote.com <engineering@remote.com> (https://remote.com/)",
|
|
6
6
|
"license": "MIT",
|