@itrocks/framework 0.0.38 → 0.0.40

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.
@@ -33,6 +33,7 @@ const sql_functions_1 = require("@itrocks/sql-functions");
33
33
  const storage_1 = require("@itrocks/storage");
34
34
  const store_1 = require("@itrocks/store");
35
35
  const store_2 = require("@itrocks/store");
36
+ const template_1 = require("@itrocks/template");
36
37
  const template_insight_1 = require("@itrocks/template-insight");
37
38
  const transformer_1 = require("@itrocks/transformer");
38
39
  const transformer_2 = require("@itrocks/transformer");
@@ -95,6 +96,11 @@ function bind() {
95
96
  (0, property_translate_1.propertyTranslateDependsOn)({
96
97
  setTransformers: transformers_2.setPropertyTranslateTransformers
97
98
  });
99
+ (0, template_1.templateDependsOn)({
100
+ toString: async (data) => (((typeof data)[0] === 'o') && (data.toString === Object.prototype.toString))
101
+ ? (await require('@itrocks/class-view').representativeValueOf(data))
102
+ : '' + data
103
+ });
98
104
  (0, translate_1.trInit)('fr-FR');
99
105
  (0, translate_1.trLoad)((0, node_path_1.join)(__dirname, '..', 'fr-FR.csv')).catch();
100
106
  (0, translate_1.trLoad)((0, node_path_1.join)(app_dir_1.appDir, 'app', 'fr-FR.csv')).catch();
package/package.json CHANGED
@@ -36,6 +36,7 @@
36
36
  "@itrocks/forgot-password": "latest",
37
37
  "@itrocks/home": "latest",
38
38
  "@itrocks/lazy-loading": "latest",
39
+ "@itrocks/links": "latest",
39
40
  "@itrocks/list-properties": "latest",
40
41
  "@itrocks/modal": "latest",
41
42
  "@itrocks/mysql": "latest",
@@ -100,5 +101,5 @@
100
101
  "build:front": "tsc -p src/front/tsconfig.json && sed -i 's#../../##g' *.js *.d.ts"
101
102
  },
102
103
  "types": "./cjs/framework.d.ts",
103
- "version": "0.0.38"
104
+ "version": "0.0.40"
104
105
  }