formiojs-eorion 0.1.2 → 0.1.4
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/builder.js +2 -0
- package/components/echarts/ECharts.form.js +19 -0
- package/components/echarts/ECharts.js +155 -0
- package/components/echarts/editForm/ECharts.edit.display.js +66 -0
- package/components/index.js +4 -1
- package/components/progress/Progress.form.js +19 -0
- package/components/progress/Progress.js +129 -0
- package/components/progress/editForm/Progress.edit.display.js +76 -0
- package/dist/formio.builder.css +1 -0
- package/dist/formio.builder.min.css +1 -1
- package/dist/formio.contrib.js +44 -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 +122 -4
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +26 -1
- package/dist/formio.full.css +1 -0
- package/dist/formio.full.js +122 -4
- package/dist/formio.full.min.css +1 -1
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +26 -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 +2 -2
- package/templates/bootstrap/echarts/form.ejs.js +14 -0
- package/templates/bootstrap/echarts/index.js +12 -0
- package/templates/bootstrap/index.js +5 -1
- package/templates/bootstrap/progress/form.ejs.js +8 -0
- package/templates/bootstrap/progress/index.js +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "formiojs-eorion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Common js library for client side interaction with <form.io>",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"homepage": "https://github.com/orion-automation/formiojs#readme",
|
|
16
|
-
"dependencies": {"
|
|
16
|
+
"dependencies": {"@formio/bootstrap3":"^2.12.2","@formio/choices.js":"^9.0.1","@formio/semantic":"^2.6.0","@formio/text-mask-addons":"^3.8.0-formio.2","@formio/vanilla-text-mask":"^5.1.1-formio.1","@fullcalendar/core":"^6.1.15","@fullcalendar/daygrid":"^6.1.15","@fullcalendar/list":"^6.1.15","@fullcalendar/timegrid":"^6.1.15","autocompleter":"^6.1.2","browser-cookies":"^1.2.0","browser-md5-file":"^1.1.1","compare-versions":"^4.1.3","core-js":"^3.21.1","custom-event-polyfill":"^1.0.7","datatables.net-dt":"^1.13.7","dialog-polyfill":"^0.5.6","dompurify":"^2.3.4","downloadjs":"^1.4.7","dragula":"^3.7.3","echarts":"^5.6.0","eventemitter3":"^4.0.7","fast-deep-equal":"^3.1.3","fast-json-patch":"^3.1.0","fetch-ponyfill":"^7.1.0","i18next":"^21.6.0","idb":"^6.1.5","ismobilejs":"^1.1.1","jquery":"^3.5.1","json-logic-js":"^2.0.0","jstimezonedetect":"^1.0.7","jwt-decode":"^3.1.2","lodash":"^4.17.21","moment":"^2.29.4","moment-timezone":"^0.5.40","native-promise-only":"^0.8.1","patch-package":"^8.0.0","peity":"3.3.0","qrcodejs2-fix":"^0.0.1","quill":"^2.0.0-dev.3","resize-observer-polyfill":"^1.5.1","signature_pad":"^4.0.4","string-hash":"^1.1.3","tippy.js":"^6.3.7","uuid":"^8.3.2","vanilla-picker":"^2.12.1"}
|
|
17
17
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2
|
+
value: true
|
|
3
|
+
});
|
|
4
|
+
exports.default=function(ctx) {
|
|
5
|
+
var __t, __p = '';
|
|
6
|
+
__p += '<div class="echarts-container ' +
|
|
7
|
+
((__t = ((ctx.component.type||'').toLowerCase())) == null ? '' : __t) +
|
|
8
|
+
'"\n id="echarts-container"\n style="width: ' +
|
|
9
|
+
((__t = (ctx.component.width)) == null ? '' : __t) +
|
|
10
|
+
';height:' +
|
|
11
|
+
((__t = (ctx.component.height)) == null ? '' : __t) +
|
|
12
|
+
'">\n</div>\n';
|
|
13
|
+
return __p
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _form = _interopRequireDefault(require("./form.ejs"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
var _default = {
|
|
10
|
+
form: _form.default
|
|
11
|
+
};
|
|
12
|
+
exports.default = _default;
|
|
@@ -82,6 +82,8 @@ var _customMap = _interopRequireDefault(require("./customMap"));
|
|
|
82
82
|
var _dataChinaGrid = _interopRequireDefault(require("./dataChinaGrid"));
|
|
83
83
|
var _dataChinaGridRow = _interopRequireDefault(require("./dataChinaGridRow"));
|
|
84
84
|
var _customTab = _interopRequireDefault(require("./customTab"));
|
|
85
|
+
var _progress = _interopRequireDefault(require("./progress"));
|
|
86
|
+
var _echarts = _interopRequireDefault(require("./echarts"));
|
|
85
87
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
86
88
|
var _default = {
|
|
87
89
|
transform: function transform(type, text) {
|
|
@@ -171,6 +173,8 @@ var _default = {
|
|
|
171
173
|
customMap: _customMap.default,
|
|
172
174
|
dataChinaGrid: _dataChinaGrid.default,
|
|
173
175
|
dataChinaGridRow: _dataChinaGridRow.default,
|
|
174
|
-
customTab: _customTab.default
|
|
176
|
+
customTab: _customTab.default,
|
|
177
|
+
progress: _progress.default,
|
|
178
|
+
echarts: _echarts.default
|
|
175
179
|
};
|
|
176
180
|
exports.default = _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2
|
+
value: true
|
|
3
|
+
});
|
|
4
|
+
exports.default=function(ctx) {
|
|
5
|
+
var __t, __p = '';
|
|
6
|
+
__p += '<div style="width: 100%;display: flex;flex-direction: column">\n <div class="progress" style="background-color: grey">\n <div class="progress-bar" role="progressbar" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>\n <div class="progress-bar" role="progressbar" style="width: 30%;background-color: red" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>\n <div class="progress-bar" role="progressbar" style="width: 20%;background-color: yellow" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>\n </div>\n</div>\n';
|
|
7
|
+
return __p
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _form = _interopRequireDefault(require("./form.ejs"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
var _default = {
|
|
10
|
+
form: _form.default
|
|
11
|
+
};
|
|
12
|
+
exports.default = _default;
|