jamespot-front-business 1.1.54 → 1.1.55

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/dist/cjs.js CHANGED
@@ -2211,6 +2211,27 @@ const widgetCheckListContent = {
2211
2211
  arr: [],
2212
2212
  };
2213
2213
 
2214
+ const widgetDatasourceTableDefinition = {
2215
+ label: 'WIDGET_Datasource_Table',
2216
+ description: 'WIDGET_Datasource_Table_Description',
2217
+ name: jamespot.WidgetsName.DatasourceTable,
2218
+ img: '/img/fast-intranet/widget-text.png',
2219
+ available: true,
2220
+ panel: {
2221
+ useWrapper: false,
2222
+ useEditor: true,
2223
+ useWidgets: false,
2224
+ },
2225
+ };
2226
+ const widgetDatasourceTaleContent = {
2227
+ tableHeadColor: '#f1f1f1',
2228
+ tableHeadTextColor: '#000',
2229
+ tableHeadIconColor: '#000',
2230
+ tableRowColor: '#f5f5f5',
2231
+ tableRowTextColor: '#000',
2232
+ limit: 20,
2233
+ };
2234
+
2214
2235
  function widgetDefinition(name) {
2215
2236
  switch (name) {
2216
2237
  default:
@@ -2229,6 +2250,8 @@ function widgetDefinition(name) {
2229
2250
  return widgetArticleImageDefinition;
2230
2251
  case 'widget-api':
2231
2252
  return widgetApiDefinition;
2253
+ case 'widget-datasource-table':
2254
+ return widgetDatasourceTableDefinition;
2232
2255
  case 'widget-article-button':
2233
2256
  return widgetArticleButtonDefinition;
2234
2257
  case 'widget-check-list':
@@ -2256,6 +2279,8 @@ function content(name) {
2256
2279
  return Object.assign({}, widgetArticleAttachmentContent);
2257
2280
  case 'widget-api':
2258
2281
  return Object.assign({}, widgetApiContent);
2282
+ case 'widget-datasource-table':
2283
+ return Object.assign({}, widgetDatasourceTaleContent);
2259
2284
  case 'widget-article-slider':
2260
2285
  return Object.assign({}, widgetArticleSliderContent);
2261
2286
  case 'widget-article-gallery':