@itrocks/framework 0.0.25 → 0.0.27
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/cjs/dependencies.js +1 -1
- package/cjs/framework.js +1 -1
- package/package.json +1 -1
- package/cjs/workflow.d.ts +0 -1
- package/cjs/workflow.js +0 -19
package/cjs/dependencies.js
CHANGED
|
@@ -81,7 +81,7 @@ function bind() {
|
|
|
81
81
|
toStoreName: rename_1.toColumn
|
|
82
82
|
});
|
|
83
83
|
(0, translate_1.trInit)('fr-FR');
|
|
84
|
-
(0, translate_1.trLoad)((0, node_path_1.join)(__dirname, '..', 'fr-FR.csv'));
|
|
84
|
+
(0, translate_1.trLoad)((0, node_path_1.join)(__dirname, '..', 'fr-FR.csv')).catch();
|
|
85
85
|
(0, translate_1.trLoad)((0, node_path_1.join)(app_dir_1.appDir, 'app', 'fr-FR.csv')).catch();
|
|
86
86
|
(0, translate_1.trLoad)((0, node_path_1.join)(app_dir_1.appDir, 'fr-FR.csv')).catch();
|
|
87
87
|
action_1.Action.prototype.htmlTemplateResponse = async function (data, request, templateFile, statusCode = 200, headers = {}) {
|
package/cjs/framework.js
CHANGED
|
@@ -11,8 +11,8 @@ var reflect_property_1 = require("./reflect-property");
|
|
|
11
11
|
Object.defineProperty(exports, "ReflectProperty", { enumerable: true, get: function () { return reflect_property_1.ReflectProperty; } });
|
|
12
12
|
(0, config_2.scanConfigFiles)().then(() => {
|
|
13
13
|
(0, compose_1.compose)(__dirname, config_1.config.compose);
|
|
14
|
+
require('@itrocks/default-action-workflow').build();
|
|
14
15
|
require('./dependencies').bind();
|
|
15
|
-
require('./workflow').build();
|
|
16
16
|
require('./main').run();
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=framework.js.map
|
package/package.json
CHANGED
package/cjs/workflow.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function build(): void;
|
package/cjs/workflow.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.build = build;
|
|
4
|
-
const action_1 = require("@itrocks/action");
|
|
5
|
-
const action_2 = require("@itrocks/action");
|
|
6
|
-
const action_3 = require("@itrocks/action");
|
|
7
|
-
function build() {
|
|
8
|
-
(0, action_2.setActionCss)({ file: '/node_modules/@itrocks/(action)/css/action.css' });
|
|
9
|
-
(0, action_3.setActionTemplates)({ need: 'object', file: __dirname + '/../../action/cjs/selectionAction.html' }, { file: __dirname + '/../../action/cjs/action.html' });
|
|
10
|
-
(0, action_1.setAction)('edit', 'delete');
|
|
11
|
-
(0, action_1.setAction)('login', 'forgot-password');
|
|
12
|
-
(0, action_1.setAction)('login', 'signup', { caption: 'Sign up' });
|
|
13
|
-
(0, action_1.setAction)('list', 'new');
|
|
14
|
-
(0, action_1.setAction)('list', 'delete', { need: 'object' });
|
|
15
|
-
(0, action_1.setAction)('output', 'edit');
|
|
16
|
-
(0, action_1.setAction)('output', 'print', { target: undefined });
|
|
17
|
-
(0, action_1.setAction)('output', 'delete');
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=workflow.js.map
|