@qrvey/utils 1.4.0-3 → 1.4.0-4

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.4.0-3*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.4.0-4*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -15,7 +15,7 @@ const getLang = (locale) => {
15
15
  exports.getLang = getLang;
16
16
  const chooseLang = (config) => {
17
17
  var _a;
18
- const lang = ((_a = config === null || config === void 0 ? void 0 : config.i18n) === null || _a === void 0 ? void 0 : _a.lang) || config.lang;
18
+ const lang = ((_a = config === null || config === void 0 ? void 0 : config.i18n) === null || _a === void 0 ? void 0 : _a.lang) || (config === null || config === void 0 ? void 0 : config.lang);
19
19
  return (lang === null || lang === void 0 ? void 0 : lang.lang) || lang || definition_1.LANG_DEFAULT;
20
20
  };
21
21
  exports.chooseLang = chooseLang;
@@ -1,7 +1,8 @@
1
1
  export interface II18nFormulaBuilderListModal {
2
- title_header: string;
3
2
  create_button: string;
3
+ create_button_tooltip: string;
4
4
  empty_message: string;
5
5
  information_text_link: string;
6
6
  information_text_text: string;
7
+ title_header: string;
7
8
  }
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.I18N_FORMULA_BUILDER = void 0;
4
4
  exports.I18N_FORMULA_BUILDER = {
5
5
  list_modal: {
6
- title_header: "Formulas",
7
6
  create_button: "Create Formula",
7
+ create_button_tooltip: "Add some records to create formulas",
8
8
  empty_message: "No Formulas Yet",
9
9
  information_text_link: "Learn how to",
10
10
  information_text_text: "create and work with formulas",
11
+ title_header: "Formulas",
11
12
  },
12
13
  list_table: {
13
14
  duplicate_copy: "Copy",
@@ -11,7 +11,7 @@ export const getLang = (locale) => {
11
11
  };
12
12
  export const chooseLang = (config) => {
13
13
  var _a;
14
- const lang = ((_a = config === null || config === void 0 ? void 0 : config.i18n) === null || _a === void 0 ? void 0 : _a.lang) || config.lang;
14
+ const lang = ((_a = config === null || config === void 0 ? void 0 : config.i18n) === null || _a === void 0 ? void 0 : _a.lang) || (config === null || config === void 0 ? void 0 : config.lang);
15
15
  return (lang === null || lang === void 0 ? void 0 : lang.lang) || lang || LANG_DEFAULT;
16
16
  };
17
17
  export const formatWithLocale = (value, outputFormat, config = {}) => {
@@ -1,7 +1,8 @@
1
1
  export interface II18nFormulaBuilderListModal {
2
- title_header: string;
3
2
  create_button: string;
3
+ create_button_tooltip: string;
4
4
  empty_message: string;
5
5
  information_text_link: string;
6
6
  information_text_text: string;
7
+ title_header: string;
7
8
  }
@@ -1,10 +1,11 @@
1
1
  export const I18N_FORMULA_BUILDER = {
2
2
  list_modal: {
3
- title_header: "Formulas",
4
3
  create_button: "Create Formula",
4
+ create_button_tooltip: "Add some records to create formulas",
5
5
  empty_message: "No Formulas Yet",
6
6
  information_text_link: "Learn how to",
7
7
  information_text_text: "create and work with formulas",
8
+ title_header: "Formulas",
8
9
  },
9
10
  list_table: {
10
11
  duplicate_copy: "Copy",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.4.0-3",
3
+ "version": "1.4.0-4",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",