@jsonforms/examples 3.5.0-beta.1 → 3.5.0
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.
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var core = require('@jsonforms/core');
|
|
6
|
-
var lodash = require('lodash');
|
|
7
6
|
var get = require('lodash/get');
|
|
8
7
|
var localize = require('ajv-i18n/localize');
|
|
9
8
|
|
|
@@ -886,7 +885,7 @@ var translations$2 = {
|
|
|
886
885
|
};
|
|
887
886
|
var translate$3 = function (key, defaultMessage) {
|
|
888
887
|
var _a;
|
|
889
|
-
return (_a =
|
|
888
|
+
return (_a = get__default["default"](translations$2, key)) !== null && _a !== void 0 ? _a : defaultMessage;
|
|
890
889
|
};
|
|
891
890
|
registerExamples([
|
|
892
891
|
{
|