json-object-editor 0.10.440 → 0.10.444
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/CHANGELOG.md +2 -0
- package/build.js +61 -0
- package/css/jif/Read Me.txt +5 -5
- package/css/jif/demo-files/demo.css +153 -153
- package/css/jif/demo-files/demo.js +30 -30
- package/css/jif/demo.html +285 -285
- package/css/jif/fonts/joeiconfont.svg +24 -24
- package/css/jif/ie7/ie7.css +45 -45
- package/css/jif/ie7/ie7.js +46 -46
- package/css/jif/selection.json +573 -573
- package/css/joe.css +15 -9
- package/css/joe.min.css +7 -0
- package/css/jquery-ui-1.10.4.custom.min.css +5 -5
- package/css/jquery-ui.min.css +6 -6
- package/css/jquery.timepicker.css +72 -72
- package/es5-build/web-components/account-info.js +136 -136
- package/es5-build/web-components/capp-components.js +160 -160
- package/es5-build/web-components/capp-panel.js +85 -85
- package/es5-build/web-components/capp-view.js +73 -73
- package/es5-build/web-components/joe-autocomplete.js +149 -149
- package/es5-build/web-components/joe-button.js +132 -132
- package/es5-build/web-components/joe-card.js +92 -92
- package/es5-build/web-components/joe-component.js +74 -74
- package/es5-build/web-components/joe-field.js +70 -70
- package/es5-build/web-components/joe-list-item.js +176 -176
- package/es5-build/web-components/joe-user-cube.js +100 -100
- package/es5-build/web-components/report-components.js +133 -133
- package/grunt/build +86 -86
- package/grunt/package-lock.json +9105 -9105
- package/grunt/package.json +47 -47
- package/grunt/src +86 -86
- package/js/joe.js +12 -8
- package/js/joe.min.js +1 -15
- package/js/leaflet.js +8 -8
- package/js/libs/adapter-latest.js +4400 -4400
- package/js/libs/craydent-1.9.2.js +11741 -11741
- package/js/libs/craydent-upload-2.0.0.js +394 -394
- package/js/libs/hammer.min.208.js +6 -6
- package/js/libs/jquery-3.5.1.min.js +2 -2
- package/js/libs/moment.min.js +6 -6
- package/js/native-shim.js +46 -46
- package/js/plugins/c3/c3.min.js +5 -5
- package/js/plugins/c3/d3.v3.min.js +4 -4
- package/js/plugins/threejs/Detector.js +78 -78
- package/js/plugins/threejs/LICENSE +21 -21
- package/js/plugins/threejs/MTLLoader.js +417 -417
- package/js/plugins/threejs/OBJLoader.js +564 -564
- package/js/plugins/threejs/OrbitControls.js +1037 -1037
- package/js/plugins/threejs/README.md +9 -9
- package/js/plugins/threejs/assets/female-croupier-2013-03-26.mtl +3 -3
- package/js/plugins/threejs/index.html +178 -178
- package/js/plugins/threejs/three.js +41507 -41507
- package/package.json +9 -4
- package/server/fields/core.js +1 -1
- package/server/modules/Server.js +21 -1
- package/server/plugins/chatgpt-assistants.js +359 -359
- package/server/plugins/chatgpt-tools.js +79 -79
- package/server/plugins/engagementTracker.js +78 -0
- package/server/schemas/engagement_event.js +33 -0
- package/server/schemas/page.js +18 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
## CHANGELOG
|
|
2
2
|
|
|
3
3
|
### 0.10.400
|
|
4
|
+
443 - added npm build support
|
|
5
|
+
442 - engagements (alpha)
|
|
4
6
|
440 - added joe-chip, tags rendering logic
|
|
5
7
|
439 - Enhanced route handling in Sites.js to support paths with and without leading slashes.
|
|
6
8
|
438 - enhance get function with itemtype parameter, and improve notifier functionality
|
package/build.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// build.js
|
|
2
|
+
const concat = require('concat');
|
|
3
|
+
const terser = require('terser');
|
|
4
|
+
const CleanCSS = require('clean-css');
|
|
5
|
+
const fs = require('fs-extra');
|
|
6
|
+
const pkg = require('./package.json');
|
|
7
|
+
|
|
8
|
+
const banner = `/* --------------------------------------------------------
|
|
9
|
+
*
|
|
10
|
+
* ${pkg.projectName || pkg.name} - v${pkg.version}
|
|
11
|
+
* Created by: ${(pkg.author && pkg.author.name) || pkg.author}
|
|
12
|
+
*
|
|
13
|
+
* -------------------------------------------------------- */\n`;
|
|
14
|
+
|
|
15
|
+
async function buildCSS() {
|
|
16
|
+
// Concatenate CSS files
|
|
17
|
+
const cssFiles = [
|
|
18
|
+
"css/leaflet.css",
|
|
19
|
+
"css/esri-leaflet-geocoder.css",
|
|
20
|
+
"css/joe-styles.css",
|
|
21
|
+
"css/jquery-ui.min.css",
|
|
22
|
+
"css/jquery.timepicker.min.css",
|
|
23
|
+
"css/variants/style-variant1.css",
|
|
24
|
+
"css/joe-print.css"
|
|
25
|
+
];
|
|
26
|
+
await concat(cssFiles, 'css/joe.css');
|
|
27
|
+
// Add banner
|
|
28
|
+
let css = fs.readFileSync('css/joe.css', 'utf8');
|
|
29
|
+
css = banner + css;
|
|
30
|
+
fs.writeFileSync('css/joe.css', css, 'utf8');
|
|
31
|
+
// Minify
|
|
32
|
+
const minified = new CleanCSS().minify(css);
|
|
33
|
+
fs.writeFileSync('css/joe.min.css', minified.styles, 'utf8');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async function buildJS() {
|
|
37
|
+
// Concatenate JS files
|
|
38
|
+
const jsFiles = [
|
|
39
|
+
"js/JsonObjectEditor.jquery.craydent.js",
|
|
40
|
+
"js/leaflet.js",
|
|
41
|
+
"js/esri-leaflet-geocoder.js",
|
|
42
|
+
"js/zebra_datepicker.196.min.js",
|
|
43
|
+
"js/jquery.timepicker.min.js"
|
|
44
|
+
];
|
|
45
|
+
await concat(jsFiles, 'js/joe.js');
|
|
46
|
+
// Add banner
|
|
47
|
+
let js = fs.readFileSync('js/joe.js', 'utf8');
|
|
48
|
+
js = banner + js;
|
|
49
|
+
fs.writeFileSync('js/joe.js', js, 'utf8');
|
|
50
|
+
// Minify
|
|
51
|
+
const minified = await terser.minify(js, { mangle: false, compress: true });
|
|
52
|
+
fs.writeFileSync('js/joe.min.js', minified.code, 'utf8');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
async function main() {
|
|
56
|
+
await buildCSS();
|
|
57
|
+
await buildJS();
|
|
58
|
+
console.log('Build complete.');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
main();
|
package/css/jif/Read Me.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
|
|
2
|
-
|
|
3
|
-
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
|
|
4
|
-
|
|
5
|
-
You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu > Manage Projects) to retrieve your icon selection.
|
|
1
|
+
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
|
|
2
|
+
|
|
3
|
+
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
|
|
4
|
+
|
|
5
|
+
You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu > Manage Projects) to retrieve your icon selection.
|
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
body {
|
|
2
|
-
padding: 0;
|
|
3
|
-
margin: 0;
|
|
4
|
-
font-family: sans-serif;
|
|
5
|
-
font-size: 1em;
|
|
6
|
-
line-height: 1.5;
|
|
7
|
-
color: #555;
|
|
8
|
-
background: #fff;
|
|
9
|
-
}
|
|
10
|
-
h1 {
|
|
11
|
-
font-size: 1.5em;
|
|
12
|
-
font-weight: normal;
|
|
13
|
-
}
|
|
14
|
-
small {
|
|
15
|
-
font-size: .66666667em;
|
|
16
|
-
}
|
|
17
|
-
a {
|
|
18
|
-
color: #e74c3c;
|
|
19
|
-
text-decoration: none;
|
|
20
|
-
}
|
|
21
|
-
a:hover, a:focus {
|
|
22
|
-
box-shadow: 0 1px #e74c3c;
|
|
23
|
-
}
|
|
24
|
-
.bshadow0, input {
|
|
25
|
-
box-shadow: inset 0 -2px #e7e7e7;
|
|
26
|
-
}
|
|
27
|
-
input:hover {
|
|
28
|
-
box-shadow: inset 0 -2px #ccc;
|
|
29
|
-
}
|
|
30
|
-
input, fieldset {
|
|
31
|
-
font-size: 1em;
|
|
32
|
-
margin: 0;
|
|
33
|
-
padding: 0;
|
|
34
|
-
border: 0;
|
|
35
|
-
}
|
|
36
|
-
input {
|
|
37
|
-
color: inherit;
|
|
38
|
-
line-height: 1.5;
|
|
39
|
-
height: 1.5em;
|
|
40
|
-
padding: .25em 0;
|
|
41
|
-
}
|
|
42
|
-
input:focus {
|
|
43
|
-
outline: none;
|
|
44
|
-
box-shadow: inset 0 -2px #449fdb;
|
|
45
|
-
}
|
|
46
|
-
.glyph {
|
|
47
|
-
font-size: 16px;
|
|
48
|
-
width: 15em;
|
|
49
|
-
padding-bottom: 1em;
|
|
50
|
-
margin-right: 4em;
|
|
51
|
-
margin-bottom: 1em;
|
|
52
|
-
float: left;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
}
|
|
55
|
-
.liga {
|
|
56
|
-
width: 80%;
|
|
57
|
-
width: calc(100% - 2.5em);
|
|
58
|
-
}
|
|
59
|
-
.talign-right {
|
|
60
|
-
text-align: right;
|
|
61
|
-
}
|
|
62
|
-
.talign-center {
|
|
63
|
-
text-align: center;
|
|
64
|
-
}
|
|
65
|
-
.bgc1 {
|
|
66
|
-
background: #f1f1f1;
|
|
67
|
-
}
|
|
68
|
-
.fgc1 {
|
|
69
|
-
color: #999;
|
|
70
|
-
}
|
|
71
|
-
.fgc0 {
|
|
72
|
-
color: #000;
|
|
73
|
-
}
|
|
74
|
-
p {
|
|
75
|
-
margin-top: 1em;
|
|
76
|
-
margin-bottom: 1em;
|
|
77
|
-
}
|
|
78
|
-
.mvm {
|
|
79
|
-
margin-top: .75em;
|
|
80
|
-
margin-bottom: .75em;
|
|
81
|
-
}
|
|
82
|
-
.mtn {
|
|
83
|
-
margin-top: 0;
|
|
84
|
-
}
|
|
85
|
-
.mtl, .mal {
|
|
86
|
-
margin-top: 1.5em;
|
|
87
|
-
}
|
|
88
|
-
.mbl, .mal {
|
|
89
|
-
margin-bottom: 1.5em;
|
|
90
|
-
}
|
|
91
|
-
.mal, .mhl {
|
|
92
|
-
margin-left: 1.5em;
|
|
93
|
-
margin-right: 1.5em;
|
|
94
|
-
}
|
|
95
|
-
.mhmm {
|
|
96
|
-
margin-left: 1em;
|
|
97
|
-
margin-right: 1em;
|
|
98
|
-
}
|
|
99
|
-
.mls {
|
|
100
|
-
margin-left: .25em;
|
|
101
|
-
}
|
|
102
|
-
.ptl {
|
|
103
|
-
padding-top: 1.5em;
|
|
104
|
-
}
|
|
105
|
-
.pbs, .pvs {
|
|
106
|
-
padding-bottom: .25em;
|
|
107
|
-
}
|
|
108
|
-
.pvs, .pts {
|
|
109
|
-
padding-top: .25em;
|
|
110
|
-
}
|
|
111
|
-
.unit {
|
|
112
|
-
float: left;
|
|
113
|
-
}
|
|
114
|
-
.unitRight {
|
|
115
|
-
float: right;
|
|
116
|
-
}
|
|
117
|
-
.size1of2 {
|
|
118
|
-
width: 50%;
|
|
119
|
-
}
|
|
120
|
-
.size1of1 {
|
|
121
|
-
width: 100%;
|
|
122
|
-
}
|
|
123
|
-
.clearfix:before, .clearfix:after {
|
|
124
|
-
content: " ";
|
|
125
|
-
display: table;
|
|
126
|
-
}
|
|
127
|
-
.clearfix:after {
|
|
128
|
-
clear: both;
|
|
129
|
-
}
|
|
130
|
-
.hidden-true {
|
|
131
|
-
display: none;
|
|
132
|
-
}
|
|
133
|
-
.textbox0 {
|
|
134
|
-
width: 3em;
|
|
135
|
-
background: #f1f1f1;
|
|
136
|
-
padding: .25em .5em;
|
|
137
|
-
line-height: 1.5;
|
|
138
|
-
height: 1.5em;
|
|
139
|
-
}
|
|
140
|
-
#testDrive {
|
|
141
|
-
display: block;
|
|
142
|
-
padding-top: 24px;
|
|
143
|
-
line-height: 1.5;
|
|
144
|
-
}
|
|
145
|
-
.fs0 {
|
|
146
|
-
font-size: 16px;
|
|
147
|
-
}
|
|
148
|
-
.fs1 {
|
|
149
|
-
font-size: 32px;
|
|
150
|
-
}
|
|
151
|
-
.fs2 {
|
|
152
|
-
font-size: 32px;
|
|
153
|
-
}
|
|
1
|
+
body {
|
|
2
|
+
padding: 0;
|
|
3
|
+
margin: 0;
|
|
4
|
+
font-family: sans-serif;
|
|
5
|
+
font-size: 1em;
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
color: #555;
|
|
8
|
+
background: #fff;
|
|
9
|
+
}
|
|
10
|
+
h1 {
|
|
11
|
+
font-size: 1.5em;
|
|
12
|
+
font-weight: normal;
|
|
13
|
+
}
|
|
14
|
+
small {
|
|
15
|
+
font-size: .66666667em;
|
|
16
|
+
}
|
|
17
|
+
a {
|
|
18
|
+
color: #e74c3c;
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
}
|
|
21
|
+
a:hover, a:focus {
|
|
22
|
+
box-shadow: 0 1px #e74c3c;
|
|
23
|
+
}
|
|
24
|
+
.bshadow0, input {
|
|
25
|
+
box-shadow: inset 0 -2px #e7e7e7;
|
|
26
|
+
}
|
|
27
|
+
input:hover {
|
|
28
|
+
box-shadow: inset 0 -2px #ccc;
|
|
29
|
+
}
|
|
30
|
+
input, fieldset {
|
|
31
|
+
font-size: 1em;
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: 0;
|
|
34
|
+
border: 0;
|
|
35
|
+
}
|
|
36
|
+
input {
|
|
37
|
+
color: inherit;
|
|
38
|
+
line-height: 1.5;
|
|
39
|
+
height: 1.5em;
|
|
40
|
+
padding: .25em 0;
|
|
41
|
+
}
|
|
42
|
+
input:focus {
|
|
43
|
+
outline: none;
|
|
44
|
+
box-shadow: inset 0 -2px #449fdb;
|
|
45
|
+
}
|
|
46
|
+
.glyph {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
width: 15em;
|
|
49
|
+
padding-bottom: 1em;
|
|
50
|
+
margin-right: 4em;
|
|
51
|
+
margin-bottom: 1em;
|
|
52
|
+
float: left;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
.liga {
|
|
56
|
+
width: 80%;
|
|
57
|
+
width: calc(100% - 2.5em);
|
|
58
|
+
}
|
|
59
|
+
.talign-right {
|
|
60
|
+
text-align: right;
|
|
61
|
+
}
|
|
62
|
+
.talign-center {
|
|
63
|
+
text-align: center;
|
|
64
|
+
}
|
|
65
|
+
.bgc1 {
|
|
66
|
+
background: #f1f1f1;
|
|
67
|
+
}
|
|
68
|
+
.fgc1 {
|
|
69
|
+
color: #999;
|
|
70
|
+
}
|
|
71
|
+
.fgc0 {
|
|
72
|
+
color: #000;
|
|
73
|
+
}
|
|
74
|
+
p {
|
|
75
|
+
margin-top: 1em;
|
|
76
|
+
margin-bottom: 1em;
|
|
77
|
+
}
|
|
78
|
+
.mvm {
|
|
79
|
+
margin-top: .75em;
|
|
80
|
+
margin-bottom: .75em;
|
|
81
|
+
}
|
|
82
|
+
.mtn {
|
|
83
|
+
margin-top: 0;
|
|
84
|
+
}
|
|
85
|
+
.mtl, .mal {
|
|
86
|
+
margin-top: 1.5em;
|
|
87
|
+
}
|
|
88
|
+
.mbl, .mal {
|
|
89
|
+
margin-bottom: 1.5em;
|
|
90
|
+
}
|
|
91
|
+
.mal, .mhl {
|
|
92
|
+
margin-left: 1.5em;
|
|
93
|
+
margin-right: 1.5em;
|
|
94
|
+
}
|
|
95
|
+
.mhmm {
|
|
96
|
+
margin-left: 1em;
|
|
97
|
+
margin-right: 1em;
|
|
98
|
+
}
|
|
99
|
+
.mls {
|
|
100
|
+
margin-left: .25em;
|
|
101
|
+
}
|
|
102
|
+
.ptl {
|
|
103
|
+
padding-top: 1.5em;
|
|
104
|
+
}
|
|
105
|
+
.pbs, .pvs {
|
|
106
|
+
padding-bottom: .25em;
|
|
107
|
+
}
|
|
108
|
+
.pvs, .pts {
|
|
109
|
+
padding-top: .25em;
|
|
110
|
+
}
|
|
111
|
+
.unit {
|
|
112
|
+
float: left;
|
|
113
|
+
}
|
|
114
|
+
.unitRight {
|
|
115
|
+
float: right;
|
|
116
|
+
}
|
|
117
|
+
.size1of2 {
|
|
118
|
+
width: 50%;
|
|
119
|
+
}
|
|
120
|
+
.size1of1 {
|
|
121
|
+
width: 100%;
|
|
122
|
+
}
|
|
123
|
+
.clearfix:before, .clearfix:after {
|
|
124
|
+
content: " ";
|
|
125
|
+
display: table;
|
|
126
|
+
}
|
|
127
|
+
.clearfix:after {
|
|
128
|
+
clear: both;
|
|
129
|
+
}
|
|
130
|
+
.hidden-true {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
.textbox0 {
|
|
134
|
+
width: 3em;
|
|
135
|
+
background: #f1f1f1;
|
|
136
|
+
padding: .25em .5em;
|
|
137
|
+
line-height: 1.5;
|
|
138
|
+
height: 1.5em;
|
|
139
|
+
}
|
|
140
|
+
#testDrive {
|
|
141
|
+
display: block;
|
|
142
|
+
padding-top: 24px;
|
|
143
|
+
line-height: 1.5;
|
|
144
|
+
}
|
|
145
|
+
.fs0 {
|
|
146
|
+
font-size: 16px;
|
|
147
|
+
}
|
|
148
|
+
.fs1 {
|
|
149
|
+
font-size: 32px;
|
|
150
|
+
}
|
|
151
|
+
.fs2 {
|
|
152
|
+
font-size: 32px;
|
|
153
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
if (!('boxShadow' in document.body.style)) {
|
|
2
|
-
document.body.setAttribute('class', 'noBoxShadow');
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
document.body.addEventListener("click", function(e) {
|
|
6
|
-
var target = e.target;
|
|
7
|
-
if (target.tagName === "INPUT" &&
|
|
8
|
-
target.getAttribute('class').indexOf('liga') === -1) {
|
|
9
|
-
target.select();
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
(function() {
|
|
14
|
-
var fontSize = document.getElementById('fontSize'),
|
|
15
|
-
testDrive = document.getElementById('testDrive'),
|
|
16
|
-
testText = document.getElementById('testText');
|
|
17
|
-
function updateTest() {
|
|
18
|
-
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
|
19
|
-
if (window.icomoonLiga) {
|
|
20
|
-
window.icomoonLiga(testDrive);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function updateSize() {
|
|
24
|
-
testDrive.style.fontSize = fontSize.value + 'px';
|
|
25
|
-
}
|
|
26
|
-
fontSize.addEventListener('change', updateSize, false);
|
|
27
|
-
testText.addEventListener('input', updateTest, false);
|
|
28
|
-
testText.addEventListener('change', updateTest, false);
|
|
29
|
-
updateSize();
|
|
30
|
-
}());
|
|
1
|
+
if (!('boxShadow' in document.body.style)) {
|
|
2
|
+
document.body.setAttribute('class', 'noBoxShadow');
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
document.body.addEventListener("click", function(e) {
|
|
6
|
+
var target = e.target;
|
|
7
|
+
if (target.tagName === "INPUT" &&
|
|
8
|
+
target.getAttribute('class').indexOf('liga') === -1) {
|
|
9
|
+
target.select();
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
(function() {
|
|
14
|
+
var fontSize = document.getElementById('fontSize'),
|
|
15
|
+
testDrive = document.getElementById('testDrive'),
|
|
16
|
+
testText = document.getElementById('testText');
|
|
17
|
+
function updateTest() {
|
|
18
|
+
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
|
19
|
+
if (window.icomoonLiga) {
|
|
20
|
+
window.icomoonLiga(testDrive);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function updateSize() {
|
|
24
|
+
testDrive.style.fontSize = fontSize.value + 'px';
|
|
25
|
+
}
|
|
26
|
+
fontSize.addEventListener('change', updateSize, false);
|
|
27
|
+
testText.addEventListener('input', updateTest, false);
|
|
28
|
+
testText.addEventListener('change', updateTest, false);
|
|
29
|
+
updateSize();
|
|
30
|
+
}());
|