@itrocks/framework 0.1.4 → 0.1.5
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/app.js +5 -3
- package/cjs/main.js +3 -3
- package/package.json +3 -3
package/app.js
CHANGED
|
@@ -10,14 +10,16 @@ import { notifications } from '../notifications/notifications.js';
|
|
|
10
10
|
import '../real-viewport-height/real-viewport-height.js';
|
|
11
11
|
import { XTargetBeginEnd } from '../xtarget/begin-end.js';
|
|
12
12
|
import { buildXTarget } from '../xtarget/build.js';
|
|
13
|
+
import { XTargetSecureClick } from '../xtarget/secure-click.js';
|
|
13
14
|
import { XTargetComposite } from '../xtarget/composite.js';
|
|
14
15
|
import { XTargetDefaultTarget } from '../xtarget/default-target.js';
|
|
16
|
+
import { XTargetDefaultOptions } from '../xtarget/xtarget.js';
|
|
15
17
|
import { XTargetHead } from '../xtarget/head.js';
|
|
16
18
|
import { XTargetHeadersSize } from '../xtarget/headers-size.js';
|
|
17
19
|
import { XTargetHistory } from '../xtarget/history.js';
|
|
20
|
+
import { XTargetHoldOn } from '../xtarget/hold-on.js';
|
|
18
21
|
import { XTargetMainTarget } from '../xtarget/main-target.js';
|
|
19
22
|
import { XTargetModifier } from '../xtarget/modifier.js';
|
|
20
|
-
import { XTargetDefaultOptions } from '../xtarget/xtarget.js';
|
|
21
23
|
let selector;
|
|
22
24
|
selector = 'input[data-type=object], ul[data-type=objects] > li > input:not([type=hidden])';
|
|
23
25
|
build(selector, async (input) => {
|
|
@@ -35,7 +37,7 @@ build(selector, async (container) => containedAutoWidth(container));
|
|
|
35
37
|
build('#notifications > li', notification);
|
|
36
38
|
build('#notifications', notifications);
|
|
37
39
|
XTargetDefaultOptions({ plugins: [
|
|
38
|
-
XTargetBeginEnd, XTargetComposite, XTargetDefaultTarget, XTargetHead, XTargetHeadersSize,
|
|
39
|
-
XTargetMainTarget, XTargetModifier
|
|
40
|
+
XTargetBeginEnd, XTargetComposite, XTargetDefaultTarget, XTargetHead, XTargetHeadersSize,
|
|
41
|
+
XTargetHistory, XTargetHoldOn, XTargetMainTarget, XTargetModifier, XTargetSecureClick
|
|
40
42
|
] });
|
|
41
43
|
buildXTarget();
|
package/cjs/main.js
CHANGED
|
@@ -57,10 +57,10 @@ async function run() {
|
|
|
57
57
|
execute: request => execute(new action_request_2.Request(request)),
|
|
58
58
|
favicon: '/node_modules/@itrocks/framework/favicon.ico',
|
|
59
59
|
frontScripts: template_1.frontScripts,
|
|
60
|
-
host: config_1.config.
|
|
61
|
-
port:
|
|
60
|
+
host: config_1.config.host ?? '127.0.0.1',
|
|
61
|
+
port: 3000,
|
|
62
62
|
scriptCalls: ['loadCss', 'loadScript'],
|
|
63
|
-
secret: config_1.config.
|
|
63
|
+
secret: config_1.config.secret,
|
|
64
64
|
store: new fastify_file_session_store_1.FileStore((0, node_path_1.join)(app_dir_1.appDir, config_1.config.session.path))
|
|
65
65
|
}).run();
|
|
66
66
|
}
|
package/package.json
CHANGED
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"@itrocks/transformer": "latest",
|
|
52
52
|
"@itrocks/translate": "latest",
|
|
53
53
|
"@itrocks/xtarget": "latest",
|
|
54
|
-
"air-datepicker": "^3.
|
|
54
|
+
"air-datepicker": "^3.6",
|
|
55
55
|
"date-fns": "^4.1"
|
|
56
56
|
},
|
|
57
57
|
"description": "RAD framework for intuitive web application development, blending data and domain-driven design with modular architecture",
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"typescript": "~5.
|
|
59
|
+
"typescript": "~5.9"
|
|
60
60
|
},
|
|
61
61
|
"exports": "./cjs/framework.js",
|
|
62
62
|
"files": [
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"build:front": "tsc -p src/front/tsconfig.json && sed -i 's#../../##g' *.js *.d.ts"
|
|
92
92
|
},
|
|
93
93
|
"types": "./cjs/framework.d.ts",
|
|
94
|
-
"version": "0.1.
|
|
94
|
+
"version": "0.1.5"
|
|
95
95
|
}
|