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/esm.js CHANGED
@@ -2203,6 +2203,27 @@ const widgetCheckListContent = {
2203
2203
  arr: [],
2204
2204
  };
2205
2205
 
2206
+ const widgetDatasourceTableDefinition = {
2207
+ label: 'WIDGET_Datasource_Table',
2208
+ description: 'WIDGET_Datasource_Table_Description',
2209
+ name: WidgetsName.DatasourceTable,
2210
+ img: '/img/fast-intranet/widget-text.png',
2211
+ available: true,
2212
+ panel: {
2213
+ useWrapper: false,
2214
+ useEditor: true,
2215
+ useWidgets: false,
2216
+ },
2217
+ };
2218
+ const widgetDatasourceTaleContent = {
2219
+ tableHeadColor: '#f1f1f1',
2220
+ tableHeadTextColor: '#000',
2221
+ tableHeadIconColor: '#000',
2222
+ tableRowColor: '#f5f5f5',
2223
+ tableRowTextColor: '#000',
2224
+ limit: 20,
2225
+ };
2226
+
2206
2227
  function widgetDefinition(name) {
2207
2228
  switch (name) {
2208
2229
  default:
@@ -2221,6 +2242,8 @@ function widgetDefinition(name) {
2221
2242
  return widgetArticleImageDefinition;
2222
2243
  case 'widget-api':
2223
2244
  return widgetApiDefinition;
2245
+ case 'widget-datasource-table':
2246
+ return widgetDatasourceTableDefinition;
2224
2247
  case 'widget-article-button':
2225
2248
  return widgetArticleButtonDefinition;
2226
2249
  case 'widget-check-list':
@@ -2248,6 +2271,8 @@ function content(name) {
2248
2271
  return Object.assign({}, widgetArticleAttachmentContent);
2249
2272
  case 'widget-api':
2250
2273
  return Object.assign({}, widgetApiContent);
2274
+ case 'widget-datasource-table':
2275
+ return Object.assign({}, widgetDatasourceTaleContent);
2251
2276
  case 'widget-article-slider':
2252
2277
  return Object.assign({}, widgetArticleSliderContent);
2253
2278
  case 'widget-article-gallery':