formeo 3.0.7 → 3.1.0
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/dist/demo/assets/css/demo.min.css +2 -2
- package/dist/demo/assets/css/demo.min.css.gz +0 -0
- package/dist/demo/assets/css/formeo.min.css +1 -1
- package/dist/demo/assets/css/formeo.min.css.gz +0 -0
- package/dist/demo/assets/js/demo.min.js +2 -2
- package/dist/demo/assets/js/demo.min.js.gz +0 -0
- package/dist/demo/assets/js/formeo.min.js +3 -3
- package/dist/demo/assets/js/formeo.min.js.gz +0 -0
- package/dist/demo/assets/js/mode-json.min.js +282 -0
- package/dist/demo/assets/js/mode-json.min.js.gz +0 -0
- package/dist/demo/assets/js/theme-github_light_default.min.js +25 -0
- package/dist/demo/index.html +1 -1
- package/dist/formeo.cjs.js +3 -3
- package/dist/formeo.es.js +18 -16
- package/dist/formeo.min.css +1 -1
- package/dist/formeo.min.js +3 -3
- package/dist/formeo.umd.js +3 -3
- package/package.json +2 -1
|
Binary file
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
formeo - https://formeo.io
|
|
4
|
+
Version: 3.0.8
|
|
5
|
+
Author: Draggable https://draggable.io
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
9
|
+
var oop = require("../lib/oop");
|
|
10
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
11
|
+
var JsonHighlightRules = function () {
|
|
12
|
+
this.$rules = {
|
|
13
|
+
"start": [
|
|
14
|
+
{
|
|
15
|
+
token: "variable", // single line
|
|
16
|
+
regex: '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'
|
|
17
|
+
}, {
|
|
18
|
+
token: "string", // single line
|
|
19
|
+
regex: '"',
|
|
20
|
+
next: "string"
|
|
21
|
+
}, {
|
|
22
|
+
token: "constant.numeric", // hex
|
|
23
|
+
regex: "0[xX][0-9a-fA-F]+\\b"
|
|
24
|
+
}, {
|
|
25
|
+
token: "constant.numeric", // float
|
|
26
|
+
regex: "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
|
27
|
+
}, {
|
|
28
|
+
token: "constant.language.boolean",
|
|
29
|
+
regex: "(?:true|false)\\b"
|
|
30
|
+
}, {
|
|
31
|
+
token: "text", // single quoted strings are not allowed
|
|
32
|
+
regex: "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
|
|
33
|
+
}, {
|
|
34
|
+
token: "comment", // comments are not allowed, but who cares?
|
|
35
|
+
regex: "\\/\\/.*$"
|
|
36
|
+
}, {
|
|
37
|
+
token: "comment.start", // comments are not allowed, but who cares?
|
|
38
|
+
regex: "\\/\\*",
|
|
39
|
+
next: "comment"
|
|
40
|
+
}, {
|
|
41
|
+
token: "paren.lparen",
|
|
42
|
+
regex: "[[({]"
|
|
43
|
+
}, {
|
|
44
|
+
token: "paren.rparen",
|
|
45
|
+
regex: "[\\])}]"
|
|
46
|
+
}, {
|
|
47
|
+
token: "punctuation.operator",
|
|
48
|
+
regex: /[,]/
|
|
49
|
+
}, {
|
|
50
|
+
token: "text",
|
|
51
|
+
regex: "\\s+"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"string": [
|
|
55
|
+
{
|
|
56
|
+
token: "constant.language.escape",
|
|
57
|
+
regex: /\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/
|
|
58
|
+
}, {
|
|
59
|
+
token: "string",
|
|
60
|
+
regex: '"|$',
|
|
61
|
+
next: "start"
|
|
62
|
+
}, {
|
|
63
|
+
defaultToken: "string"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"comment": [
|
|
67
|
+
{
|
|
68
|
+
token: "comment.end", // comments are not allowed, but who cares?
|
|
69
|
+
regex: "\\*\\/",
|
|
70
|
+
next: "start"
|
|
71
|
+
}, {
|
|
72
|
+
defaultToken: "comment"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
oop.inherits(JsonHighlightRules, TextHighlightRules);
|
|
78
|
+
exports.JsonHighlightRules = JsonHighlightRules;
|
|
79
|
+
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module){"use strict";
|
|
83
|
+
var Range = require("../range").Range;
|
|
84
|
+
var MatchingBraceOutdent = function () { };
|
|
85
|
+
(function () {
|
|
86
|
+
this.checkOutdent = function (line, input) {
|
|
87
|
+
if (!/^\s+$/.test(line))
|
|
88
|
+
return false;
|
|
89
|
+
return /^\s*\}/.test(input);
|
|
90
|
+
};
|
|
91
|
+
this.autoOutdent = function (doc, row) {
|
|
92
|
+
var line = doc.getLine(row);
|
|
93
|
+
var match = line.match(/^(\s*\})/);
|
|
94
|
+
if (!match)
|
|
95
|
+
return 0;
|
|
96
|
+
var column = match[1].length;
|
|
97
|
+
var openBracePos = doc.findMatchingBracket({ row: row, column: column });
|
|
98
|
+
if (!openBracePos || openBracePos.row == row)
|
|
99
|
+
return 0;
|
|
100
|
+
var indent = this.$getIndent(doc.getLine(openBracePos.row));
|
|
101
|
+
doc.replace(new Range(row, 0, row, column - 1), indent);
|
|
102
|
+
};
|
|
103
|
+
this.$getIndent = function (line) {
|
|
104
|
+
return line.match(/^\s*/)[0];
|
|
105
|
+
};
|
|
106
|
+
}).call(MatchingBraceOutdent.prototype);
|
|
107
|
+
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
|
108
|
+
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module){"use strict";
|
|
112
|
+
var oop = require("../../lib/oop");
|
|
113
|
+
var Range = require("../../range").Range;
|
|
114
|
+
var BaseFoldMode = require("./fold_mode").FoldMode;
|
|
115
|
+
var FoldMode = exports.FoldMode = function (commentRegex) {
|
|
116
|
+
if (commentRegex) {
|
|
117
|
+
this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start));
|
|
118
|
+
this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end));
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
oop.inherits(FoldMode, BaseFoldMode);
|
|
122
|
+
(function () {
|
|
123
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
|
124
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
|
125
|
+
this.singleLineBlockCommentRe = /^\s*(\/\*).*\*\/\s*$/;
|
|
126
|
+
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
|
127
|
+
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
|
128
|
+
this._getFoldWidgetBase = this.getFoldWidget;
|
|
129
|
+
this.getFoldWidget = function (session, foldStyle, row) {
|
|
130
|
+
var line = session.getLine(row);
|
|
131
|
+
if (this.singleLineBlockCommentRe.test(line)) {
|
|
132
|
+
if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
|
|
133
|
+
return "";
|
|
134
|
+
}
|
|
135
|
+
var fw = this._getFoldWidgetBase(session, foldStyle, row);
|
|
136
|
+
if (!fw && this.startRegionRe.test(line))
|
|
137
|
+
return "start"; // lineCommentRegionStart
|
|
138
|
+
return fw;
|
|
139
|
+
};
|
|
140
|
+
this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) {
|
|
141
|
+
var line = session.getLine(row);
|
|
142
|
+
if (this.startRegionRe.test(line))
|
|
143
|
+
return this.getCommentRegionBlock(session, line, row);
|
|
144
|
+
var match = line.match(this.foldingStartMarker);
|
|
145
|
+
if (match) {
|
|
146
|
+
var i = match.index;
|
|
147
|
+
if (match[1])
|
|
148
|
+
return this.openingBracketBlock(session, match[1], row, i);
|
|
149
|
+
var range = session.getCommentFoldRange(row, i + match[0].length, 1);
|
|
150
|
+
if (range && !range.isMultiLine()) {
|
|
151
|
+
if (forceMultiline) {
|
|
152
|
+
range = this.getSectionRange(session, row);
|
|
153
|
+
}
|
|
154
|
+
else if (foldStyle != "all")
|
|
155
|
+
range = null;
|
|
156
|
+
}
|
|
157
|
+
return range;
|
|
158
|
+
}
|
|
159
|
+
if (foldStyle === "markbegin")
|
|
160
|
+
return;
|
|
161
|
+
var match = line.match(this.foldingStopMarker);
|
|
162
|
+
if (match) {
|
|
163
|
+
var i = match.index + match[0].length;
|
|
164
|
+
if (match[1])
|
|
165
|
+
return this.closingBracketBlock(session, match[1], row, i);
|
|
166
|
+
return session.getCommentFoldRange(row, i, -1);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
this.getSectionRange = function (session, row) {
|
|
170
|
+
var line = session.getLine(row);
|
|
171
|
+
var startIndent = line.search(/\S/);
|
|
172
|
+
var startRow = row;
|
|
173
|
+
var startColumn = line.length;
|
|
174
|
+
row = row + 1;
|
|
175
|
+
var endRow = row;
|
|
176
|
+
var maxRow = session.getLength();
|
|
177
|
+
while (++row < maxRow) {
|
|
178
|
+
line = session.getLine(row);
|
|
179
|
+
var indent = line.search(/\S/);
|
|
180
|
+
if (indent === -1)
|
|
181
|
+
continue;
|
|
182
|
+
if (startIndent > indent)
|
|
183
|
+
break;
|
|
184
|
+
var subRange = this.getFoldWidgetRange(session, "all", row);
|
|
185
|
+
if (subRange) {
|
|
186
|
+
if (subRange.start.row <= startRow) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
else if (subRange.isMultiLine()) {
|
|
190
|
+
row = subRange.end.row;
|
|
191
|
+
}
|
|
192
|
+
else if (startIndent == indent) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
endRow = row;
|
|
197
|
+
}
|
|
198
|
+
return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
|
|
199
|
+
};
|
|
200
|
+
this.getCommentRegionBlock = function (session, line, row) {
|
|
201
|
+
var startColumn = line.search(/\s*$/);
|
|
202
|
+
var maxRow = session.getLength();
|
|
203
|
+
var startRow = row;
|
|
204
|
+
var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
|
|
205
|
+
var depth = 1;
|
|
206
|
+
while (++row < maxRow) {
|
|
207
|
+
line = session.getLine(row);
|
|
208
|
+
var m = re.exec(line);
|
|
209
|
+
if (!m)
|
|
210
|
+
continue;
|
|
211
|
+
if (m[1])
|
|
212
|
+
depth--;
|
|
213
|
+
else
|
|
214
|
+
depth++;
|
|
215
|
+
if (!depth)
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
var endRow = row;
|
|
219
|
+
if (endRow > startRow) {
|
|
220
|
+
return new Range(startRow, startColumn, endRow, line.length);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
}).call(FoldMode.prototype);
|
|
224
|
+
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"], function(require, exports, module){"use strict";
|
|
228
|
+
var oop = require("../lib/oop");
|
|
229
|
+
var TextMode = require("./text").Mode;
|
|
230
|
+
var HighlightRules = require("./json_highlight_rules").JsonHighlightRules;
|
|
231
|
+
var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
|
|
232
|
+
var CStyleFoldMode = require("./folding/cstyle").FoldMode;
|
|
233
|
+
var WorkerClient = require("../worker/worker_client").WorkerClient;
|
|
234
|
+
var Mode = function () {
|
|
235
|
+
this.HighlightRules = HighlightRules;
|
|
236
|
+
this.$outdent = new MatchingBraceOutdent();
|
|
237
|
+
this.$behaviour = this.$defaultBehaviour;
|
|
238
|
+
this.foldingRules = new CStyleFoldMode();
|
|
239
|
+
};
|
|
240
|
+
oop.inherits(Mode, TextMode);
|
|
241
|
+
(function () {
|
|
242
|
+
this.lineCommentStart = "//";
|
|
243
|
+
this.blockComment = { start: "/*", end: "*/" };
|
|
244
|
+
this.getNextLineIndent = function (state, line, tab) {
|
|
245
|
+
var indent = this.$getIndent(line);
|
|
246
|
+
if (state == "start") {
|
|
247
|
+
var match = line.match(/^.*[\{\(\[]\s*$/);
|
|
248
|
+
if (match) {
|
|
249
|
+
indent += tab;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return indent;
|
|
253
|
+
};
|
|
254
|
+
this.checkOutdent = function (state, line, input) {
|
|
255
|
+
return this.$outdent.checkOutdent(line, input);
|
|
256
|
+
};
|
|
257
|
+
this.autoOutdent = function (state, doc, row) {
|
|
258
|
+
this.$outdent.autoOutdent(doc, row);
|
|
259
|
+
};
|
|
260
|
+
this.createWorker = function (session) {
|
|
261
|
+
var worker = new WorkerClient(["ace"], "ace/mode/json_worker", "JsonWorker");
|
|
262
|
+
worker.attachToDocument(session.getDocument());
|
|
263
|
+
worker.on("annotate", function (e) {
|
|
264
|
+
session.setAnnotations(e.data);
|
|
265
|
+
});
|
|
266
|
+
worker.on("terminate", function () {
|
|
267
|
+
session.clearAnnotations();
|
|
268
|
+
});
|
|
269
|
+
return worker;
|
|
270
|
+
};
|
|
271
|
+
this.$id = "ace/mode/json";
|
|
272
|
+
}).call(Mode.prototype);
|
|
273
|
+
exports.Mode = Mode;
|
|
274
|
+
|
|
275
|
+
}); (function() {
|
|
276
|
+
ace.require(["ace/mode/json"], function(m) {
|
|
277
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
278
|
+
module.exports = m;
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
})();
|
|
282
|
+
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
formeo - https://formeo.io
|
|
4
|
+
Version: 3.0.8
|
|
5
|
+
Author: Draggable https://draggable.io
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
ace.define("ace/theme/github_light_default-css",["require","exports","module"], function(require, exports, module){module.exports = ".ace-github-light-default .ace_gutter {\n background: #ffffff;\n color: rgba(27, 31, 35, 0.3);\n}\n\n.ace-github-light-default .ace_print-margin {\n width: 1px;\n background: #e8e8e8;\n}\n\n.ace-github-light-default {\n background-color: #FFFFFF;\n color: #24292E;\n}\n\n.ace-github-light-default .ace_cursor {\n color: #044289;\n background: none;\n}\n\n.ace-github-light-default .ace_marker-layer .ace_selection {\n background: rgba(3, 102, 214, 0.14);\n}\n\n.ace-github-light-default.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px #FFFFFF;\n border-radius: 2px;\n}\n\n.ace-github-light-default .ace_marker-layer .ace_step {\n background: rgb(198, 219, 174);\n}\n\n.ace-github-light-default .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid rgba(52, 208, 88, 0);\n background: rgba(52, 208, 88, 0.25);\n}\n\n.ace-github-light-default .ace_marker-layer .ace_active-line {\n background: #f6f8fa;\n border: 2px solid #eeeeee;\n}\n\n.ace-github-light-default .ace_gutter-active-line {\n background-color: #f6f8fa;\n color: #24292e\n}\n\n.ace-github-light-default .ace_marker-layer .ace_selected-word {\n border: 1px solid rgba(3, 102, 214, 0.14);\n}\n\n.ace-github-light-default .ace_fold {\n background-color: #D73A49;\n border-color: #24292E;\n}\n\n.ace_tooltip.ace-github-light-default {\n background-color: #f6f8fa !important;\n color: #444d56 !important;\n border: 1px solid #444d56\n}\n\n.ace-github-light-default .language_highlight_error {\n border-bottom: dotted 1px #cb2431;\n background: none;\n}\n\n.ace-github-light-default .language_highlight_warning {\n border-bottom: solid 1px #f9c513;\n background: none;\n}\n\n.ace-github-light-default .language_highlight_info {\n border-bottom: dotted 1px #1a85ff;\n background: none;\n}\n\n.ace-github-light-default .ace_keyword {\n color: #D73A49;\n}\n\n.ace-github-light-default .ace_constant {\n color: #005CC5;\n}\n\n.ace-github-light-default .ace_support {\n color: #005CC5;\n}\n\n.ace-github-light-default .ace_support.ace_constant {\n color: #005CC5;\n}\n\n.ace-github-light-default .ace_support.ace_type {\n color: #D73A49;\n}\n\n.ace-github-light-default .ace_storage {\n color: #D73A49;\n}\n\n.ace-github-light-default .ace_storage.ace_type {\n color: #D73A49;\n}\n\n.ace-github-light-default .ace_invalid.ace_illegal {\n font-style: italic;\n color: #B31D28;\n}\n\n.ace-github-light-default .ace_invalid.ace_deprecated {\n font-style: italic;\n color: #B31D28;\n}\n\n.ace-github-light-default .ace_string {\n color: #032F62;\n}\n\n.ace-github-light-default .ace_string.ace_regexp {\n color: #032F62;\n}\n\n.ace-github-light-default .ace_comment {\n color: #6A737D;\n}\n\n.ace-github-light-default .ace_variable {\n color: #E36209;\n}\n\n.ace-github-light-default .ace_variable.ace_language {\n color: #005CC5;\n}\n\n.ace-github-light-default .ace_entity.ace_name {\n color: #6F42C1;\n}\n\n.ace-github-light-default .ace_entity {\n color: #6F42C1;\n}\n\n.ace-github-light-default .ace_entity.ace_name.ace_tag {\n color: #22863A;\n}\n\n.ace-github-light-default .ace_meta.ace_tag {\n color: #22863A;\n}\n\n.ace-github-light-default .ace_markup.ace_heading {\n color: #005CC5;\n}\n\n.ace-github-light-default .ace_indent-guide {\n background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\n}\n\n.ace-github-light-default .ace_indent-guide-active {\n background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC\") right repeat-y;\n}\n";
|
|
9
|
+
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
ace.define("ace/theme/github_light_default",["require","exports","module","ace/theme/github_light_default-css","ace/lib/dom"], function(require, exports, module){exports.isDark = false;
|
|
13
|
+
exports.cssClass = "ace-github-light-default";
|
|
14
|
+
exports.cssText = require("./github_light_default-css");
|
|
15
|
+
var dom = require("../lib/dom");
|
|
16
|
+
dom.importCssString(exports.cssText, exports.cssClass, false);
|
|
17
|
+
|
|
18
|
+
}); (function() {
|
|
19
|
+
ace.require(["ace/theme/github_light_default"], function(m) {
|
|
20
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
21
|
+
module.exports = m;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
})();
|
|
25
|
+
|
package/dist/demo/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en" xml:lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="chrome=1"><meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><meta name="description" content="Vanilla Javascript form building module"><meta name="theme-color" content="#232323"><title>Formeo | Drag & Drop Form Creation</title><script type="module" crossorigin src="/formeo/assets/js/demo.min.js"></script><link rel="stylesheet" crossorigin href="/formeo/assets/css/demo.min.css"></head><body><div class="site-wrap"><header id="demo-header"><nav aria-label="Footer navigation"><ul><li><label for="locale">Language</label> <select name="locale" id="locale" class="form-control"><option value="af-ZA" dir="ltr">Afrikaans (Suid-Afrika)</option><option value="ar-TN" dir="rtl">العربية (تونس)</option><option value="cs-CZ" dir="ltr">čeština (Česko)</option><option value="de-DE" dir="ltr">Deutsch (Deutschland)</option><option value="en-US" dir="ltr">English</option><option value="es-ES" dir="ltr">español de España</option><option value="fa-IR" dir="rtl">فارسی (ایران)</option><option value="fi-FI" dir="ltr">suomi (Suomi)</option><option value="fr-FR" dir="ltr">français (France)</option><option value="he-IL" dir="rtl">עברית (ישראל)</option><option value="hi-IN" dir="ltr">हिन्दी (भारत)</option><option value="hu-HU" dir="ltr">magyar (Magyarország)</option><option value="it-IT" dir="ltr">italiano (Italia)</option><option value="ja-JP" dir="ltr">日本語 (日本)</option><option value="nb-NO" dir="ltr">norsk bokmål (Norge)</option><option value="pl-PL" dir="ltr">polski (Polska)</option><option value="pt-BR" dir="ltr">português (Brasil)</option><option value="pt-PT" dir="ltr">português europeu</option><option value="ro-RO" dir="ltr">română (România)</option><option value="ru-RU" dir="ltr">русский (Россия)</option><option value="th-TH" dir="ltr">ไทย (ไทย)</option><option value="tr-TR" dir="ltr">Türkçe (Türkiye)</option><option value="zh-CN" dir="ltr">中文(中国)</option><option value="zh-HK" dir="ltr">中文(中國香港特別行政區)</option></select> <label for="control-filter">Control Filter:</label> <input id="control-filter" placeholder="ex. text" class="form-control"></li><li style="float:right">v3.0.
|
|
1
|
+
<!doctype html><html lang="en" xml:lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="chrome=1"><meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><meta name="description" content="Vanilla Javascript form building module"><meta name="theme-color" content="#232323"><title>Formeo | Drag & Drop Form Creation</title><script type="module" crossorigin src="/formeo/assets/js/demo.min.js"></script><link rel="stylesheet" crossorigin href="/formeo/assets/css/demo.min.css"></head><body><div class="site-wrap"><header id="demo-header"><nav aria-label="Footer navigation"><ul><li><label for="locale">Language</label> <select name="locale" id="locale" class="form-control"><option value="af-ZA" dir="ltr">Afrikaans (Suid-Afrika)</option><option value="ar-TN" dir="rtl">العربية (تونس)</option><option value="cs-CZ" dir="ltr">čeština (Česko)</option><option value="de-DE" dir="ltr">Deutsch (Deutschland)</option><option value="en-US" dir="ltr">English</option><option value="es-ES" dir="ltr">español de España</option><option value="fa-IR" dir="rtl">فارسی (ایران)</option><option value="fi-FI" dir="ltr">suomi (Suomi)</option><option value="fr-FR" dir="ltr">français (France)</option><option value="he-IL" dir="rtl">עברית (ישראל)</option><option value="hi-IN" dir="ltr">हिन्दी (भारत)</option><option value="hu-HU" dir="ltr">magyar (Magyarország)</option><option value="it-IT" dir="ltr">italiano (Italia)</option><option value="ja-JP" dir="ltr">日本語 (日本)</option><option value="nb-NO" dir="ltr">norsk bokmål (Norge)</option><option value="pl-PL" dir="ltr">polski (Polska)</option><option value="pt-BR" dir="ltr">português (Brasil)</option><option value="pt-PT" dir="ltr">português europeu</option><option value="ro-RO" dir="ltr">română (România)</option><option value="ru-RU" dir="ltr">русский (Россия)</option><option value="th-TH" dir="ltr">ไทย (ไทย)</option><option value="tr-TR" dir="ltr">Türkçe (Türkiye)</option><option value="zh-CN" dir="ltr">中文(中国)</option><option value="zh-HK" dir="ltr">中文(中國香港特別行政區)</option></select> <label for="control-filter">Control Filter:</label> <input id="control-filter" placeholder="ex. text" class="form-control"></li><li style="float:right">v3.0.8</li></ul></nav><span id="formeo-logo-wrap"></span></header><section id="main_content" class="inner"><form class="build-form"></form><div class="render-form"></div></section><div class="container render-btn-wrap" id="editor-action-buttons"></div><div id="formData-popover" popover><div class="popover-header"><h3>Test formData</h3><div><button type="button" id="format-json">Format</button> <button type="button" id="collapse-json">Collapse</button> <button type="button" id="copy-json">Copy to Clipboard</button></div></div><pre id="formData-editor"></pre><div class="formData-actions"><button popovertarget="formData-popover" popovertargetaction="hide" type="button">Cancel</button> <button id="submit-formData" type="button">Submit</button></div></div><footer id="demo-footer"><nav aria-label="Footer navigation"><ul><li><a href="https://github.com/Draggable/formeo" target="_blank" title="View project on GitHub"><img src="/formeo/assets/img/github.png" width="77" alt="GitHub"></a></li></ul></nav></footer></div></body></html>
|