json-object-editor 0.10.210 → 0.10.220

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 CHANGED
@@ -1,6 +1,8 @@
1
1
  ## CHANGELOG
2
2
 
3
3
  ### 0.10.200
4
+ 220 - updated user, added ability for manifest.js
5
+ - updated AWS uploaders
4
6
  210 - touchpoint updated
5
7
  201 - fixed window.set
6
8
  200
package/js/joe.js CHANGED
@@ -9382,7 +9382,7 @@ logit(intent)
9382
9382
  logit(response);
9383
9383
  var bucket = response.bucket || (_joe.Data.setting.where({name:'AWS_BUCKETNAME'})[0] || {value:''}).value;
9384
9384
  var region = (_joe.Utils.Settings('AWS_S3CONFIG') ||{}).region;
9385
- var prefix = 'https://s3.'+((region && region +'.')||'')+'amazonaws.com/'+bucket+'/';
9385
+ var prefix = (_joe.Data.setting.where({name:'AWS_S3PREFIX'})[0] || {value:''}).value || 'https://s3.'+((region && region +'.')||'')+'amazonaws.com/'+bucket+'/';
9386
9386
  var url = prefix+response.Key;
9387
9387
  var filename = response.Key.replace(self.current.object._id+'/','');
9388
9388
  //TODO: change file status in list.
@@ -9421,7 +9421,9 @@ logit(intent)
9421
9421
  logit(data);
9422
9422
  var bucket = data.bucket || (_joe.Data.setting.where({name:'AWS_BUCKETNAME'})[0] || {value:''}).value;
9423
9423
 
9424
- var prefix = 'https://s3.amazonaws.com/'+bucket+'/';
9424
+ //var prefix = 'https://s3.amazonaws.com/'+bucket+'/';
9425
+ var prefix = (_joe.Data.setting.where({name:'AWS_S3PREFIX'})[0] || {value:''}).value || 'https://s3.'+((region && region +'.')||'')+'amazonaws.com/'+bucket+'/';
9426
+
9425
9427
  var url = prefix+data.Key;
9426
9428
  if(field.url_field){
9427
9429
  var nprop = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-object-editor",
3
- "version": "0.10.210",
3
+ "version": "0.10.220",
4
4
  "description": "JOE the Json Object Editor | Platform Edition",
5
5
  "main": "app.js",
6
6
  "scripts": {
package/pages/joe.html CHANGED
@@ -8,7 +8,7 @@
8
8
  <link rel="icon" href="/JsonObjectEditor/favicon.ico" type="image/x-icon">
9
9
  <link rel="icon" sizes="192x192" href="/JsonObjectEditor/img/ico/android-icon-192x192.png">
10
10
  <link rel="apple-touch-icon" sizes="144x144" href="/JsonObjectEditor/img/ico/android-icon-144x144.png" />
11
-
11
+ <meta name="joe-notes" content="joe.html template" >
12
12
  <meta name="apple-mobile-web-app-capable" content="yes">
13
13
  <meta name="mobile-web-app-capable" content="yes">
14
14
 
@@ -11,13 +11,14 @@
11
11
  <link rel="icon" sizes="192x192" href="/JsonObjectEditor/img/ico/android-icon-192x192.png">
12
12
  <link rel="apple-touch-icon" sizes="144x144" href="/JsonObjectEditor/img/ico/android-icon-144x144.png" />
13
13
 
14
+ <meta name="joe-notes" content="template.html template" >
14
15
  <meta name="apple-mobile-web-app-capable" content="yes">
15
16
  <meta name="mobile-web-app-capable" content="yes">
16
17
 
17
18
  <link rel="stylesheet" href="${JOEPATH}js/plugins/c3/c3.min.css"/>
18
19
  <link rel="stylesheet" href="${JOEPATH}capp/capp.css"/>
19
20
  <link href="/JsonObjectEditor/css/joe.css" rel="stylesheet" type="text/css"/>
20
-
21
+ ${this.settings.joe_icons}
21
22
  <!--<script src="${JOEPATH}_joeinclude.js"></script>-->
22
23
 
23
24
  <script type="text/javascript" src="/JsonObjectEditor/js/libs/jquery-1.11.3.min.js"></script>
@@ -24,7 +24,12 @@ var user = function(){return{
24
24
  }*/
25
25
 
26
26
  },
27
- itemExpander:'email<br/>${email}<br/>bio<br/>${description}',
27
+ itemExpander:function(u){
28
+ return `<joe-subtext>email</joe-subtext>
29
+ ${u.email}
30
+ <br/>
31
+ ${u.description}`;
32
+ },
28
33
  menuicon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="-20 -20 140 140"><g><path d="M74 79.4c-4-6.8-13.3-14.9-24-14.9S30 72.6 26 79.4a44.1 44.1 0 0 0 24 6.7A44.1 44.1 0 0 0 74 79.4Z"/><circle cx="50" cy="39.3" r="18.8"/><path d="M50 14.9A35.1 35.1 0 1 1 14.9 50 35.1 35.1 0 0 1 50 14.9m0-1A36.1 36.1 0 1 0 86.1 50 36.1 36.1 0 0 0 50 13.9Z"/><path d="M90 50A40 40 0 1 1 50 10 40 40 0 0 1 90 50ZM50 13.9A36.1 36.1 0 1 0 86.1 50 36.1 36.1 0 0 0 50 13.9Z"/></g></svg>',
29
34
  stripeColor:function(item){
30
35
  return item.color;