tnx-shared 5.3.255 → 5.3.256

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.
@@ -2007,6 +2007,7 @@
2007
2007
  _this.placeholder = '';
2008
2008
  _this.hiddenToolbar = false;
2009
2009
  _this.hiddenMenubar = false;
2010
+ _this.isFullPage = false;
2010
2011
  for (var key in init) {
2011
2012
  _this[key] = init[key];
2012
2013
  }
@@ -12115,19 +12116,21 @@
12115
12116
  new ColumnSchemaBase({
12116
12117
  field: 'code',
12117
12118
  width: '150px',
12118
- includeSelect: isInUserList
12119
+ includeSelect: isInUserList,
12120
+ isPinned: true
12119
12121
  }),
12120
12122
  new ColumnSchemaBase({
12121
12123
  field: 'fullNameNew',
12122
12124
  width: '200px',
12123
12125
  includeSelect: isInUserList,
12124
- visible: isInUserList
12126
+ visible: isInUserList,
12127
+ isPinned: true
12125
12128
  }),
12126
12129
  new ColumnSchemaBase({
12127
12130
  field: 'dob',
12128
12131
  dataType: 'date',
12129
12132
  width: '110px',
12130
- includeSelect: isInUserList
12133
+ includeSelect: isInUserList,
12131
12134
  }),
12132
12135
  new ColumnSchemaBase({
12133
12136
  field: 'email',
@@ -53120,34 +53123,37 @@
53120
53123
  },
53121
53124
  mobile: {
53122
53125
  theme: 'silver',
53123
- plugins: ['fullpage advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'],
53126
+ plugins: ['advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'],
53124
53127
  }
53125
53128
  };
53126
53129
  if (mode == 'full') {
53127
53130
  config.plugins = [
53128
- 'fullpage advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus editFileNew addNews'
53131
+ 'advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus editFileNew addNews'
53129
53132
  ];
53130
53133
  config.toolbar = 'formatselect | bold italic Strikethrough forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table link editFileNew addNews | print removeformat undo redo | fullscreen ';
53131
53134
  config.mobile.toolbar = 'bold italic Strikethrough forecolor backcolor | bullist numlist | fullscreen';
53132
- return config;
53135
+ // return config;
53133
53136
  }
53134
53137
  else if (mode == 'medium') {
53135
- config.plugins = ['fullpage advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'];
53138
+ config.plugins = ['advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'];
53136
53139
  config.toolbar = 'formatselect | bold italic Strikethrough forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table link | print removeformat undo redo | fullscreen';
53137
53140
  config.mobile.toolbar = 'bold italic Strikethrough forecolor backcolor | bullist numlist | fullscreen';
53138
- return config;
53141
+ // return config;
53139
53142
  }
53140
53143
  else if (mode == 'simple') {
53141
- config.plugins = ['fullpage advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'];
53144
+ config.plugins = ['advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'];
53142
53145
  config.toolbar = 'bold italic Strikethrough forecolor backcolor | bullist numlist | fullscreen';
53143
53146
  config.mobile.toolbar = 'fullscreen | bold italic Strikethrough forecolor backcolor | bullist numlist';
53144
- return config;
53147
+ // return config;
53145
53148
  }
53146
53149
  else {
53147
- config.plugins = ['fullpage advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'];
53150
+ config.plugins = ['advlist autolink lists link image charmap print preview anchor textcolor searchreplace visualblocks code fullscreen insertdatetime media table media code lists colorpicker imagetools tabfocus textcolor'];
53148
53151
  // config.toolbar = 'formatselect | bold italic Strikethrough forecolor backcolor| alignleft aligncenter alignright alignjustify | bullist numlist';
53149
53152
  config.toolbar = 'bold italic Strikethrough forecolor backcolor | bullist numlist | fullscreen';
53150
53153
  }
53154
+ if ($this.control.isFullPage && !config.some(function (x) { return x == 'fullpage'; })) {
53155
+ config.plugins.push(' fullpage');
53156
+ }
53151
53157
  config.paste_data_images = true;
53152
53158
  return config;
53153
53159
  };