jamespot-front-business 1.1.56 → 1.1.57
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 +26 -3
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +26 -3
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +14336 -90375
- package/package.json +2 -2
package/dist/esm.js
CHANGED
|
@@ -2217,7 +2217,7 @@ const widgetDatasourceTableDefinition = {
|
|
|
2217
2217
|
label: 'WIDGET_Datasource_Table',
|
|
2218
2218
|
description: 'WIDGET_Datasource_Table_Description',
|
|
2219
2219
|
name: WidgetsName.DatasourceTable,
|
|
2220
|
-
img: '/img/fast-intranet/widget-
|
|
2220
|
+
img: '/img/fast-intranet/widget-datasource-table.png',
|
|
2221
2221
|
available: true,
|
|
2222
2222
|
panel: {
|
|
2223
2223
|
useWrapper: false,
|
|
@@ -2234,6 +2234,27 @@ const widgetDatasourceTaleContent = {
|
|
|
2234
2234
|
limit: 20,
|
|
2235
2235
|
};
|
|
2236
2236
|
|
|
2237
|
+
const widgetExcelDatasourceTableDefinition = {
|
|
2238
|
+
label: 'WIDGET_Excel_Datasource_Table',
|
|
2239
|
+
description: 'WIDGET_Excel_Datasource_Table_Text',
|
|
2240
|
+
name: WidgetsName.ExcelDatasourceTable,
|
|
2241
|
+
img: '/img/fast-intranet/widget-excel-datasource-table.png',
|
|
2242
|
+
available: true,
|
|
2243
|
+
panel: {
|
|
2244
|
+
useWrapper: false,
|
|
2245
|
+
useEditor: true,
|
|
2246
|
+
useWidgets: false,
|
|
2247
|
+
},
|
|
2248
|
+
};
|
|
2249
|
+
const widgetExcelDatasourceTaleContent = {
|
|
2250
|
+
tableHeadColor: '#f1f1f1',
|
|
2251
|
+
tableHeadTextColor: '#000',
|
|
2252
|
+
tableHeadIconColor: '#000',
|
|
2253
|
+
tableRowColor: '#f5f5f5',
|
|
2254
|
+
tableRowTextColor: '#000',
|
|
2255
|
+
limit: 20,
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2237
2258
|
function widgetDefinition(name) {
|
|
2238
2259
|
switch (name) {
|
|
2239
2260
|
default:
|
|
@@ -2254,6 +2275,8 @@ function widgetDefinition(name) {
|
|
|
2254
2275
|
return widgetApiDefinition;
|
|
2255
2276
|
case 'widget-datasource-table':
|
|
2256
2277
|
return widgetDatasourceTableDefinition;
|
|
2278
|
+
case 'widget-excel-datasource-table':
|
|
2279
|
+
return widgetExcelDatasourceTableDefinition;
|
|
2257
2280
|
case 'widget-article-button':
|
|
2258
2281
|
return widgetArticleButtonDefinition;
|
|
2259
2282
|
case 'widget-check-list':
|
|
@@ -2283,6 +2306,8 @@ function content(name) {
|
|
|
2283
2306
|
return Object.assign({}, widgetApiContent);
|
|
2284
2307
|
case 'widget-datasource-table':
|
|
2285
2308
|
return Object.assign({}, widgetDatasourceTaleContent);
|
|
2309
|
+
case 'widget-excel-datasource-table':
|
|
2310
|
+
return Object.assign({}, widgetExcelDatasourceTaleContent);
|
|
2286
2311
|
case 'widget-article-slider':
|
|
2287
2312
|
return Object.assign({}, widgetArticleSliderContent);
|
|
2288
2313
|
case 'widget-article-gallery':
|
|
@@ -2446,7 +2471,6 @@ const widgetsSlice = createSlice({
|
|
|
2446
2471
|
const selectToken = (state) => state.widgets.token;
|
|
2447
2472
|
const selectModal = (state) => state.widgets.modal;
|
|
2448
2473
|
const selectWidgets = (state) => state.widgets.ids;
|
|
2449
|
-
const selectWidgetContent = (state, uniqid) => { var _a; return (_a = state.widgets.ids[uniqid]) === null || _a === void 0 ? void 0 : _a.widget.content; };
|
|
2450
2474
|
const selectWidgetState = (state, uniqid) => { var _a; return (_a = state.widgets.states[uniqid]) !== null && _a !== void 0 ? _a : undefined; };
|
|
2451
2475
|
const selectWidget = (state, uniqid) => { var _a; return (_a = state.widgets.ids[uniqid]) !== null && _a !== void 0 ? _a : undefined; };
|
|
2452
2476
|
const selectWidgetObject = (state, uniqid) => { var _a; return (_a = state.widgets.widgetObject[uniqid]) !== null && _a !== void 0 ? _a : undefined; };
|
|
@@ -2466,7 +2490,6 @@ const Widget = {
|
|
|
2466
2490
|
selectWidgets,
|
|
2467
2491
|
selectWidget,
|
|
2468
2492
|
selectWidgetState,
|
|
2469
|
-
selectWidgetContent,
|
|
2470
2493
|
selectModal,
|
|
2471
2494
|
selectWidgetObject,
|
|
2472
2495
|
},
|