• R/O
  • SSH

fcf: Commit

FCF - Full Stack Javascript Framework

OpenSource is a full stack development framework designed to simplify the development of WEB projects of various complexity levels.

It is based on unique technologies that open up new opportunities in development approaches with NODEJS.


Commit MetaInfo

Revisionc6b8610094e153fd3f6d702e6d94b5e94a96341a (tree)
Time2021-04-08 22:50:08
AuthorVladimir Markin <v.o.markin221@gmai...>
CommiterVladimir Markin

Log Message

save

Change Summary

Incremental Difference

diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/datetime-edit.tmpl
--- a/packages/fcfControls/templates/datetime-edit.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/datetime-edit.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -26,10 +26,10 @@
2626 class="${{decor.textEditClass}}$"
2727 style='width:100%'
2828 onclick="fcf.getWrapper(this).onClick(event)"
29- oninput="fcf.getWrapper(this).onInput(event)"
29+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event)"
3030 value="@{{fcf.encodeHtml(fcf.dateFormat(args.value, args.format))}}@"
3131 ></input>
3232 </td>
3333 </tr>
3434 </table>
35-<input name="dtsel" style="display:none" oninput="fcf.getWrapper(this).onInputDT(event)"/>
35+<input name="dtsel" style="display:none" oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInputDT(event)"/>
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/float-edit.tmpl
--- a/packages/fcfControls/templates/float-edit.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/float-edit.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -33,7 +33,7 @@
3333 @{{!args.enable ? "readonly" : ""}}@
3434 class="${{decor.textEditClass}}$"
3535 style='width:100%'
36- oninput="fcf.getWrapper(this).onInput(event)"
36+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event)"
3737 value="@{{fcf.encodeHtml(args.value)}}@"
3838 >
3939 </td>
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/int-edit.tmpl
--- a/packages/fcfControls/templates/int-edit.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/int-edit.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -33,7 +33,7 @@
3333 @{{!args.enable ? "readonly" : ""}}@
3434 class="${{decor.textEditClass}}$"
3535 style='width:100%'
36- oninput="fcf.getWrapper(this).onInput(event)"
36+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event)"
3737 value="@{{fcf.encodeHtml(args.value)}}@"
3838 >
3939 </td>
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/password.hooks.js
--- a/packages/fcfControls/templates/password.hooks.js Thu Apr 08 16:39:32 2021 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
1-fcf.module({
2- name: "fcfControls:templates/password.hooks.js",
3- dependencies: [],
4- module: function(){
5- return {
6- //
7- // void hookBeforeBuild(a_taskInfo)
8- // The hook is executed before assembling the template arguments
9- //
10- // hookBeforeBuild: function(a_taskInfo) {
11- // },
12-
13- //
14- // void hookAfterBuild(a_taskInfo)
15- // The hook is executed after assembling the template arguments
16- //
17- // hookAfterBuild: function(a_taskInfo) {
18- // },
19-
20- //
21- // void hookAfterBuild(a_taskInfo)
22- // The hook is executed after building the template's system arguments
23- //
24- // hookAfterSystemBuild: function(a_taskInfo) {
25- // },
26-
27- //
28- // Object of hooks for programmatically populated arguments
29- //
30- // hooksProgramableArgument: {
31- // //
32- // // @result Returns the value of an argument or a Promise object
33- // //
34- // "ARG_NAME": function(a_taskInfo){
35- // }
36- // },
37-
38- //
39- // Object of the hooks preprocessing of the template arguments
40- //
41- // hooksBeforeArgument: {
42- // //
43- // // @result Can return the value of an argument or Promise or undefined
44- // //
45- // "ARG_NAME": function(a_taskInfo) {
46- // }
47- // },
48-
49- //
50- // Object of the hooks postprocessing of the template arguments
51- // hooksAfterArgument: {
52- // //
53- // // @result Can return the value of an argument or Promise or undefined
54- // //
55- // "ARG_NAME": function(a_taskInfo) {
56- // }
57- // },
58- };
59- }
60-});
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/password.tmpl
--- a/packages/fcfControls/templates/password.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/password.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -1,6 +1,7 @@
11 //~OPTIONS
22 {
3- extends: "@controls:text-edit"
3+ extends: "@controls:text-edit",
4+ clientRendering: true,
45 }
56
67 //~ARGUMENTS
@@ -23,7 +24,7 @@
2324 @{{!args.enable ? "readonly" : ""}}@
2425 class="${{decor.textEditClass}}$"
2526 style='width:100%'
26- oninput="fcf.getWrapper(this).onInput(event)"
27+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event)"
2728 value="@{{typeof args.value === "boolean" ? "*******" : fcf.encodeHtml(args.value)}}@"
2829 >
2930 </td>
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/select.tmpl
--- a/packages/fcfControls/templates/select.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/select.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -31,7 +31,7 @@
3131 @{{ args.search ? "" : "readonly" }}@
3232 @{{ args.enable ? "" : "disabled" }}@
3333 value="@{{fcf.encodeHtml(args.data)}}@"
34- oninput="fcf.getWrapper(this).onInput(event);"
34+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event);"
3535 >
3636 </input>
3737 </td>
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/text-edit.tmpl
--- a/packages/fcfControls/templates/text-edit.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/text-edit.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -30,7 +30,7 @@
3030 @{{!args.enable ? "readonly" : ""}}@
3131 class="${{decor.textEditClass}}$"
3232 style='width:100%'
33- oninput="fcf.getWrapper(this).onInput(event)"
33+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event)"
3434 value="@{{fcf.encodeHtml(args.value)}}@"
3535 ></input>
3636 </td>
diff -r f33d8733709c -r c6b8610094e1 packages/fcfControls/templates/textarea.tmpl
--- a/packages/fcfControls/templates/textarea.tmpl Thu Apr 08 16:39:32 2021 +0300
+++ b/packages/fcfControls/templates/textarea.tmpl Thu Apr 08 16:50:08 2021 +0300
@@ -10,6 +10,6 @@
1010 <textarea @{{args.autofocus ? "autofocus" : ""}}@
1111 style="@{{fcf.styleElement("width", args.width)}}@ @{{fcf.styleElement("height", args.height)}}@"
1212 class="@{{decor.textareaClass}}@"
13- oninput="fcf.getWrapper(this).onInput(event)"
13+ oninput="if (fcf.getWrapper(this)) fcf.getWrapper(this).onInput(event)"
1414 onkeypress="fcf.getWrapper(this).onKeyPress(event)"
1515 >%{{ render.write(fcf.encodeHtml(args.value)); }}%</textarea>
Show on old repository browser