formiojs-eorion 0.1.39 → 0.1.41
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/Formio.js +1 -1
- package/components/Data/editForm/Data.edit.display.js +2 -2
- package/components/builder.js +2 -0
- package/components/file_china_grid/File.form.js +36 -0
- package/components/file_china_grid/File.js +1018 -0
- package/components/file_china_grid/File.unit.js +175 -0
- package/components/file_china_grid/editForm/File.edit.data.js +11 -0
- package/components/file_china_grid/editForm/File.edit.display.js +11 -0
- package/components/file_china_grid/editForm/File.edit.file.js +257 -0
- package/components/file_china_grid/editForm/File.edit.validation.js +14 -0
- package/components/file_china_grid/fixtures/comp1.js +21 -0
- package/components/file_china_grid/fixtures/comp2.js +36 -0
- package/components/file_china_grid/fixtures/index.js +20 -0
- package/components/file_china_grid/fixtures/values.js +16 -0
- package/components/index.js +2 -0
- package/dist/formio.builder.css +38 -0
- package/dist/formio.builder.min.css +1 -1
- package/dist/formio.contrib.js +23 -2
- package/dist/formio.contrib.min.js +1 -1
- package/dist/formio.contrib.min.js.LICENSE.txt +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +92 -5
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.css +38 -0
- package/dist/formio.full.js +92 -5
- package/dist/formio.full.min.css +1 -1
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +1 -1
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/templates/bootstrap/fileUDS/form.ejs.js +227 -0
- package/templates/bootstrap/fileUDS/index.js +12 -0
- package/templates/bootstrap/index.js +3 -1
package/Formio.js
CHANGED
|
@@ -1724,7 +1724,7 @@ Formio.projectUrlSet = false;
|
|
|
1724
1724
|
Formio.plugins = [];
|
|
1725
1725
|
Formio.cache = {};
|
|
1726
1726
|
Formio.Providers = _providers.default;
|
|
1727
|
-
Formio.version = '0.1.
|
|
1727
|
+
Formio.version = '0.1.41';
|
|
1728
1728
|
Formio.pathType = '';
|
|
1729
1729
|
Formio.events = new _EventEmitter.default();
|
|
1730
1730
|
Formio.cdn = new _CDN.default();
|
|
@@ -99,7 +99,7 @@ var _default = [{
|
|
|
99
99
|
input: true,
|
|
100
100
|
type: 'textfield',
|
|
101
101
|
validate: {
|
|
102
|
-
required:
|
|
102
|
+
required: false
|
|
103
103
|
}
|
|
104
104
|
}, {
|
|
105
105
|
label: 'Value',
|
|
@@ -107,7 +107,7 @@ var _default = [{
|
|
|
107
107
|
input: true,
|
|
108
108
|
type: 'textfield',
|
|
109
109
|
validate: {
|
|
110
|
-
required:
|
|
110
|
+
required: false
|
|
111
111
|
}
|
|
112
112
|
}]
|
|
113
113
|
}, {
|
package/components/builder.js
CHANGED
|
@@ -75,7 +75,9 @@ var _Tabs2 = _interopRequireDefault(require("./CustomTabs/Tabs.form"));
|
|
|
75
75
|
var _ECharts = _interopRequireDefault(require("./echarts/ECharts.form"));
|
|
76
76
|
var _IconButton = _interopRequireDefault(require("./iconButton/IconButton.form"));
|
|
77
77
|
var _ButtonGroups = _interopRequireDefault(require("./buttonGroups/ButtonGroups.form"));
|
|
78
|
+
var _File2 = _interopRequireDefault(require("./file_china_grid/File.form"));
|
|
78
79
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
80
|
+
_.default.fileUds.editForm = _File2.default;
|
|
79
81
|
_.default.buttonGroups.editForm = _ButtonGroups.default;
|
|
80
82
|
_.default.iconButton.editForm = _IconButton.default;
|
|
81
83
|
_.default.echarts.editForm = _ECharts.default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
require("core-js/modules/es.array.concat.js");
|
|
8
|
+
var _Components = _interopRequireDefault(require("../Components"));
|
|
9
|
+
var _FileEdit = _interopRequireDefault(require("./editForm/File.edit.data"));
|
|
10
|
+
var _FileEdit2 = _interopRequireDefault(require("./editForm/File.edit.display"));
|
|
11
|
+
var _FileEdit3 = _interopRequireDefault(require("./editForm/File.edit.file"));
|
|
12
|
+
var _FileEdit4 = _interopRequireDefault(require("./editForm/File.edit.validation"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
function _default() {
|
|
15
|
+
for (var _len = arguments.length, extend = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
16
|
+
extend[_key] = arguments[_key];
|
|
17
|
+
}
|
|
18
|
+
return _Components.default.baseEditForm.apply(_Components.default, [[{
|
|
19
|
+
key: 'display',
|
|
20
|
+
components: _FileEdit2.default
|
|
21
|
+
}, {
|
|
22
|
+
key: 'data',
|
|
23
|
+
components: _FileEdit.default
|
|
24
|
+
}, {
|
|
25
|
+
label: 'File',
|
|
26
|
+
key: 'file',
|
|
27
|
+
weight: 5,
|
|
28
|
+
components: _FileEdit3.default
|
|
29
|
+
}, {
|
|
30
|
+
key: 'validation',
|
|
31
|
+
components: _FileEdit4.default
|
|
32
|
+
}, {
|
|
33
|
+
key: 'addons',
|
|
34
|
+
ignore: true
|
|
35
|
+
}]].concat(extend));
|
|
36
|
+
}
|