@adaptabletools/adaptable 11.1.4 → 11.1.7
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/bundle.cjs.js +129 -129
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +139 -9
- package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +3 -3
- package/src/AdaptableOptions/SmartEdit.d.ts +2 -2
- package/src/Api/AdaptableApi.d.ts +4 -1
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +4 -1
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +11 -7
- package/src/Api/Implementation/InternalApiImpl.d.ts +4 -0
- package/src/Api/Implementation/InternalApiImpl.js +9 -0
- package/src/Api/Implementation/ScopeApiImpl.d.ts +2 -0
- package/src/Api/Implementation/ScopeApiImpl.js +12 -0
- package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +3 -0
- package/src/Api/InternalApi.d.ts +4 -0
- package/src/Api/ScopeApi.d.ts +10 -0
- package/src/Api/ThemeApi.d.ts +4 -0
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +8 -0
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +144 -3
- package/src/PredefinedConfig/Common/Menu.d.ts +4 -0
- package/src/Redux/Store/AdaptableStore.js +11 -1
- package/src/Strategy/AlertModule.js +1 -3
- package/src/Strategy/CalculatedColumnModule.js +1 -1
- package/src/Strategy/SmartEditModule.js +1 -1
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
- package/src/Utilities/Helpers/FormatHelper.js +6 -0
- package/src/Utilities/Services/AlertService.d.ts +3 -3
- package/src/Utilities/Services/AlertService.js +6 -6
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +3 -3
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +20 -20
- package/src/Utilities/Services/EntitlementService.d.ts +3 -3
- package/src/Utilities/Services/EntitlementService.js +12 -8
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
- package/src/Utilities/Services/MetamodelService.d.ts +3 -3
- package/src/Utilities/Services/MetamodelService.js +4 -4
- package/src/Utilities/Services/ModuleService.d.ts +3 -3
- package/src/Utilities/Services/ModuleService.js +12 -12
- package/src/Utilities/Services/QueryLanguageService.d.ts +3 -3
- package/src/Utilities/Services/QueryLanguageService.js +20 -19
- package/src/Utilities/Services/ReportService.d.ts +4 -4
- package/src/Utilities/Services/ReportService.js +50 -44
- package/src/Utilities/Services/TeamSharingService.d.ts +3 -3
- package/src/Utilities/Services/TeamSharingService.js +19 -16
- package/src/Utilities/Services/ValidationService.d.ts +3 -3
- package/src/Utilities/Services/ValidationService.js +19 -17
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +46 -9
- package/src/View/Alert/Wizard/AlertWizard.js +22 -24
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +5 -5
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -1
- package/src/View/Components/Selectors/ColumnSelector.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +1 -3
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +15 -2
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +2 -1
- package/src/View/GridInfo/AdaptableObjectsSummary.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
- package/src/agGrid/Adaptable.js +12 -12
- package/src/agGrid/agGridMenuHelper.js +1 -0
- package/src/components/StylePreview.js +2 -2
- package/src/components/icons/analysis.d.ts +3 -0
- package/src/components/icons/analysis.js +8 -0
- package/src/components/icons/call.d.ts +3 -0
- package/src/components/icons/call.js +7 -0
- package/src/components/icons/chat.d.ts +3 -0
- package/src/components/icons/chat.js +8 -0
- package/src/components/icons/index.js +14 -0
- package/src/components/icons/instrument.d.ts +3 -0
- package/src/components/icons/instrument.js +8 -0
- package/src/components/icons/news.d.ts +3 -0
- package/src/components/icons/news.js +8 -0
- package/src/components/icons/person.d.ts +3 -0
- package/src/components/icons/person.js +7 -0
- package/src/components/icons/quote.d.ts +3 -0
- package/src/components/icons/quote.js +7 -0
- package/src/metamodel/adaptable.metamodel.d.ts +112 -5
- package/src/metamodel/adaptable.metamodel.js +218 -21
- package/src/types.d.ts +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -9,6 +9,39 @@ const CheckBox_1 = require("../../../components/CheckBox");
|
|
|
9
9
|
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
10
10
|
const rebass_1 = require("rebass");
|
|
11
11
|
const ValueSelector_1 = require("../../Components/ValueSelector");
|
|
12
|
+
const StyleComponent_1 = require("../../Components/StyleComponent");
|
|
13
|
+
const DropdownButton_1 = tslib_1.__importDefault(require("../../../components/DropdownButton"));
|
|
14
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
15
|
+
const AdaptableContext_1 = require("../../AdaptableContext");
|
|
16
|
+
const StylePreview_1 = require("../../../components/StylePreview");
|
|
17
|
+
const HighlightStyle = (props) => {
|
|
18
|
+
const adaptable = AdaptableContext_1.useAdaptable();
|
|
19
|
+
const options = [
|
|
20
|
+
{
|
|
21
|
+
label: 'Use Message Type',
|
|
22
|
+
onClick: () => {
|
|
23
|
+
props.onChange(true);
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: 'Custom Style',
|
|
28
|
+
onClick: () => {
|
|
29
|
+
const initialStyle = ObjectFactory_1.default.CreateEmptyStyle();
|
|
30
|
+
props.onChange(initialStyle);
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
return (React.createElement(React.Fragment, null,
|
|
35
|
+
React.createElement(rebass_1.Flex, null,
|
|
36
|
+
React.createElement(CheckBox_1.CheckBox, { mr: 2, style: { alignItems: 'flex-start' }, checked: Boolean(props.highlight), onChange: (checked) => {
|
|
37
|
+
props.onChange(checked);
|
|
38
|
+
} }, props.label),
|
|
39
|
+
Boolean(props.highlight) && (React.createElement(DropdownButton_1.default, { items: options }, typeof props.highlight === 'boolean' ? (React.createElement(rebass_1.Text, { fontSize: 2, mt: 1 }, "Use Message Type")) : (React.createElement(rebass_1.Text, { fontSize: 2, mt: 1 }, "Custom Style"))))),
|
|
40
|
+
typeof props.highlight === 'object' && (React.createElement(rebass_1.Box, { paddingLeft: 3 },
|
|
41
|
+
React.createElement(StyleComponent_1.StyleComponent, { headless: true, api: adaptable.api, Style: props.highlight, UpdateStyle: (style) => {
|
|
42
|
+
props.onChange(style);
|
|
43
|
+
} })))));
|
|
44
|
+
};
|
|
12
45
|
// both used in wizard and list view
|
|
13
46
|
exports.renderAlertBehaviourSummary = (alert, api, allowWrap = false) => {
|
|
14
47
|
const { AlertProperties = {} } = alert;
|
|
@@ -31,7 +64,15 @@ exports.renderAlertBehaviourSummary = (alert, api, allowWrap = false) => {
|
|
|
31
64
|
if (!values.length) {
|
|
32
65
|
values.push({ label: 'No behaviour selected', id: 'none' });
|
|
33
66
|
}
|
|
34
|
-
return (React.createElement(ValueSelector_1.ValueOptionsTags, { allowWrap: allowWrap, options: values, value: values.map((v) => v.id), readOnly: true, toIdentifier: (x) => x.id, toLabel: (x) =>
|
|
67
|
+
return (React.createElement(ValueSelector_1.ValueOptionsTags, { allowWrap: allowWrap, options: values, value: values.map((v) => v.id), readOnly: true, toIdentifier: (x) => x.id, toLabel: (x) => {
|
|
68
|
+
if (x.id === 'highlightCell' && typeof AlertProperties.HighlightCell === 'object') {
|
|
69
|
+
return (React.createElement(StylePreview_1.StylePreview, { padding: 0, mt: 0, styleObject: AlertProperties.HighlightCell }, "Highlight Cell"));
|
|
70
|
+
}
|
|
71
|
+
if (x.id === 'highlightRow' && typeof AlertProperties.HighlightRow === 'object') {
|
|
72
|
+
return (React.createElement(StylePreview_1.StylePreview, { padding: 0, mt: 0, styleObject: AlertProperties.HighlightRow }, "Highlight Row"));
|
|
73
|
+
}
|
|
74
|
+
return React.createElement(React.Fragment, null, x.label);
|
|
75
|
+
} }));
|
|
35
76
|
};
|
|
36
77
|
exports.AlertBehaviourWizardSection = (props) => {
|
|
37
78
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
@@ -52,16 +93,12 @@ exports.AlertBehaviourWizardSection = (props) => {
|
|
|
52
93
|
} },
|
|
53
94
|
"Prevent Cell Edit",
|
|
54
95
|
React.createElement(rebass_1.Text, { fontSize: 2, mt: 1 }, "(automatically undo data change which triggered Alert)"))),
|
|
55
|
-
cellChangedAlert && (React.createElement(
|
|
96
|
+
cellChangedAlert && (React.createElement(HighlightStyle, { highlight: AlertProperties.HighlightCell, label: "Highlight Cell", onChange: (HighlightCell) => {
|
|
56
97
|
onChange({ HighlightCell });
|
|
57
|
-
} },
|
|
58
|
-
|
|
59
|
-
React.createElement(rebass_1.Text, { fontSize: 2, mt: 1 }, "(using the Alert message type)"))),
|
|
60
|
-
rowAddedAlert && (React.createElement(CheckBox_1.CheckBox, { style: { alignItems: 'flex-start' }, checked: Boolean(AlertProperties.HighlightRow), onChange: (HighlightRow) => {
|
|
98
|
+
} })),
|
|
99
|
+
rowAddedAlert && (React.createElement(HighlightStyle, { highlight: AlertProperties.HighlightRow, label: "Highlight Row", onChange: (HighlightRow) => {
|
|
61
100
|
onChange({ HighlightRow });
|
|
62
|
-
} },
|
|
63
|
-
"Highlight Row",
|
|
64
|
-
React.createElement(rebass_1.Text, { fontSize: 2, mt: 1 }, "(using the Alert message type)"))),
|
|
101
|
+
} })),
|
|
65
102
|
cellChangedAlert && (React.createElement(CheckBox_1.CheckBox, { checked: AlertProperties.JumpToCell, onChange: (JumpToCell) => {
|
|
66
103
|
onChange({ JumpToCell });
|
|
67
104
|
} }, "Jump To Cell")),
|
|
@@ -78,7 +78,7 @@ exports.AlertWizard = (props) => {
|
|
|
78
78
|
};
|
|
79
79
|
if (alertDefinition.AlertForm && typeof alertDefinition.AlertForm !== 'string') {
|
|
80
80
|
const alertButtons = (_a = alertDefinition.AlertForm) === null || _a === void 0 ? void 0 : _a.Buttons;
|
|
81
|
-
alertButtons.forEach((alertButton) => {
|
|
81
|
+
alertButtons === null || alertButtons === void 0 ? void 0 : alertButtons.forEach((alertButton) => {
|
|
82
82
|
const alertAction = alertButton.Action;
|
|
83
83
|
if (Array.isArray(alertAction)) {
|
|
84
84
|
alertButton.Action = alertAction
|
|
@@ -89,29 +89,27 @@ exports.AlertWizard = (props) => {
|
|
|
89
89
|
alertButton.Action = mapValidButtonActions(alertAction);
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
delete alertDefinition.AlertProperties.JumpToCell;
|
|
114
|
-
}
|
|
92
|
+
}
|
|
93
|
+
// map Alert Properties(Behaviour)
|
|
94
|
+
if (isCellChangeAlert) {
|
|
95
|
+
alertDefinition.AlertProperties.HighlightCell = alertDefinition.AlertProperties.HighlightRow;
|
|
96
|
+
delete alertDefinition.AlertProperties.HighlightRow;
|
|
97
|
+
alertDefinition.AlertProperties.JumpToCell = alertDefinition.AlertProperties.JumpToRow;
|
|
98
|
+
delete alertDefinition.AlertProperties.JumpToRow;
|
|
99
|
+
}
|
|
100
|
+
if (isAddedRowChangeAlert) {
|
|
101
|
+
alertDefinition.AlertProperties.HighlightRow = alertDefinition.AlertProperties.HighlightCell;
|
|
102
|
+
delete alertDefinition.AlertProperties.HighlightCell;
|
|
103
|
+
alertDefinition.AlertProperties.JumpToRow = alertDefinition.AlertProperties.JumpToCell;
|
|
104
|
+
delete alertDefinition.AlertProperties.JumpToCell;
|
|
105
|
+
delete alertDefinition.AlertProperties.PreventEdit;
|
|
106
|
+
}
|
|
107
|
+
if (isRemovedRowChangeAlert) {
|
|
108
|
+
delete alertDefinition.AlertProperties.PreventEdit;
|
|
109
|
+
delete alertDefinition.AlertProperties.HighlightRow;
|
|
110
|
+
delete alertDefinition.AlertProperties.JumpToRow;
|
|
111
|
+
delete alertDefinition.AlertProperties.HighlightCell;
|
|
112
|
+
delete alertDefinition.AlertProperties.JumpToCell;
|
|
115
113
|
}
|
|
116
114
|
setAlertDefinition(alertDefinition);
|
|
117
115
|
};
|
|
@@ -90,15 +90,15 @@ exports.CalculatedColumnSettingsWizardSection = (props) => {
|
|
|
90
90
|
React.createElement(rebass_1.Flex, { flexDirection: "row" },
|
|
91
91
|
React.createElement(FormLayout_1.default, null,
|
|
92
92
|
React.createElement(FormLayout_1.FormRow, { label: "Id" },
|
|
93
|
-
React.createElement(Input_1.default, { value: data.ColumnId || '', width: 300, autoFocus: !inEdit, disabled: inEdit, type: "text", placeholder: "Enter an Id for the column", onChange: handleColumnIdChange })),
|
|
93
|
+
React.createElement(Input_1.default, { "data-name": "column-id", value: data.ColumnId || '', width: 300, autoFocus: !inEdit, disabled: inEdit, type: "text", placeholder: "Enter an Id for the column", onChange: handleColumnIdChange })),
|
|
94
94
|
React.createElement(FormLayout_1.FormRow, { label: "Name" },
|
|
95
|
-
React.createElement(Input_1.default, { autoFocus: inEdit, onFocus: () => {
|
|
95
|
+
React.createElement(Input_1.default, { "data-name": "column-name", autoFocus: inEdit, onFocus: () => {
|
|
96
96
|
setColumnNameFocused(true);
|
|
97
97
|
}, onBlur: () => {
|
|
98
98
|
setColumnNameFocused(false);
|
|
99
99
|
}, value: ColumnNameFocused ? ColumnName || '' : ColumnName || ColumnId || '', width: 300, type: "text", placeholder: "Enter column name", onChange: handleColumnNameChange })),
|
|
100
100
|
React.createElement(FormLayout_1.FormRow, { label: "Type" },
|
|
101
|
-
React.createElement(DropdownButton_1.default, { style: {
|
|
101
|
+
React.createElement(DropdownButton_1.default, { "data-name": "column-type", style: {
|
|
102
102
|
width: '300px',
|
|
103
103
|
whiteSpace: 'normal',
|
|
104
104
|
overflow: 'hidden',
|
|
@@ -109,11 +109,11 @@ exports.CalculatedColumnSettingsWizardSection = (props) => {
|
|
|
109
109
|
onClick: () => handleDataTypeChange(item.value),
|
|
110
110
|
})) }, dataType ? dataType : 'Select Data Type')),
|
|
111
111
|
React.createElement(FormLayout_1.FormRow, { label: "Width" },
|
|
112
|
-
React.createElement(Input_1.default, { type: "number", width: 300, value: Width || '', onChange: (e) => handleSpecialColumnSettingsChange({
|
|
112
|
+
React.createElement(Input_1.default, { "data-name": "column-width", type: "number", width: 300, value: Width || '', onChange: (e) => handleSpecialColumnSettingsChange({
|
|
113
113
|
Width: Number(e.target.value),
|
|
114
114
|
}) })),
|
|
115
115
|
React.createElement(FormLayout_1.FormRow, { label: "" },
|
|
116
|
-
React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleSpecialColumnSettingsChange({ ShowToolTip: checked }), checked: ShowToolTip }, "Show Expression as Tooltip")))))),
|
|
116
|
+
React.createElement(CheckBox_1.CheckBox, { "data-name": "column-show-tooltip", onChange: (checked) => handleSpecialColumnSettingsChange({ ShowToolTip: checked }), checked: ShowToolTip }, "Show Expression as Tooltip")))))),
|
|
117
117
|
ErrorMessage ? React.createElement(ErrorBox_1.default, { marginTop: 2 }, ErrorMessage) : null,
|
|
118
118
|
React.createElement(SpecialColumnSettingsWizardStep_1.SpecialColumnSettingsWizardStep, { isEditable: false, settings: data.CalculatedColumnSettings, onChange: handleSpecialColumnSettingsChange })));
|
|
119
119
|
};
|
|
@@ -17,7 +17,7 @@ const SuspendToggleButton_1 = require("../Buttons/SuspendToggleButton/SuspendTog
|
|
|
17
17
|
const ValueSelector_1 = require("../ValueSelector");
|
|
18
18
|
const ICON_SIZE = 26;
|
|
19
19
|
exports.AdaptableObjectListItem = (props) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
21
21
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
22
22
|
const dispatch = react_redux_1.useDispatch();
|
|
23
23
|
const [isEditWizardVisible, setIsEditWizardVisible] = React.useState(false);
|
|
@@ -56,8 +56,8 @@ exports.AdaptableObjectListItem = (props) => {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
const isEditDisabled = !Boolean(EditWizard || viewOptions.onOpenEditPopup);
|
|
59
|
-
return (React.createElement(rebass_1.Flex, { as: "li", mb: 3, className: itemClassName },
|
|
60
|
-
React.createElement(rebass_1.Box, { flex: 1, className: `${baseClassName}__rows` }, (_g = props.data.items) === null || _g === void 0 ? void 0 :
|
|
59
|
+
return (React.createElement(rebass_1.Flex, { "data-name": "adaptable-object-list-item", "data-value": props.data.abObject.Uuid, as: "li", mb: 3, className: itemClassName },
|
|
60
|
+
React.createElement(rebass_1.Box, { flex: 1, className: `${baseClassName}__rows` }, (_j = (_h = (_g = props.data.items).filter) === null || _h === void 0 ? void 0 : _h.call(_g, Boolean)) === null || _j === void 0 ? void 0 : _j.map((tag, index) => {
|
|
61
61
|
var _a;
|
|
62
62
|
return (React.createElement(rebass_1.Flex, { "data-name": tag.name, key: index, mb: 2, className: `${baseClassName}__row` },
|
|
63
63
|
React.createElement(rebass_1.Box, { className: `${baseClassName}__label`, mr: 3 },
|
|
@@ -82,7 +82,7 @@ exports.AdaptablePopupModuleView = (props) => {
|
|
|
82
82
|
props.onClosePopup();
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
-
return (React.createElement(PopupPanel_1.PopupPanel, { glyphicon: moduleInfo.Glyph, infoLink: moduleInfo.HelpPage, headerText: moduleInfo.FriendlyName, button: newButton },
|
|
85
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { glyphicon: moduleInfo.Glyph, infoLink: moduleInfo.HelpPage, headerText: moduleInfo.FriendlyName, button: newButton, infoLinkDisabled: !props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
86
86
|
(items === null || items === void 0 ? void 0 : items.length) ? (React.createElement(AdaptableObjectList_1.AdaptableObjectList, { module: props.module, items: items })) : (React.createElement(EmptyContent_1.default, null, emptyContent !== null && emptyContent !== void 0 ? emptyContent : `Click 'New' to create a new ${moduleInfo.FriendlyName}`)),
|
|
87
87
|
isWizardOpen && EditWizard && (React.createElement(EditWizard, { abObjectType: abObjectType, moduleInfo: moduleInfo, data: null, popupParams: props.popupParams, configEntities: null, onCloseWizard: handleWizardClose, onFinishWizard: handleWizardClose }))));
|
|
88
88
|
};
|
|
@@ -37,7 +37,7 @@ class ColumnSelector extends React.Component {
|
|
|
37
37
|
let currentColumnName = selectedColumnIds.length > 0
|
|
38
38
|
? (_a = this.props.ColumnList.find((c) => c.columnId == selectedColumnIds[0])) === null || _a === void 0 ? void 0 : _a.friendlyName : 'Select a column';
|
|
39
39
|
return (React.createElement("div", { "data-name": 'column-selector' },
|
|
40
|
-
React.createElement(FormLayout_1.default, { columns: [
|
|
40
|
+
React.createElement(FormLayout_1.default, { columns: [{ name: 'columnSelector', style: { display: 'flex' } }], style: this.props.style },
|
|
41
41
|
React.createElement(FormLayout_1.FormRow, null,
|
|
42
42
|
React.createElement(DropdownButton_1.default, { marginRight: 2, columns: ['label'], showClearButton: currentColumnName != 'Select a column', onClear: () => this.onClearButton(), style: { width: '100%', fontSize: 'small' }, className: "ab-DashboardToolbar__Layout__select", items: sortedColumnOptions, disabled: sortedColumnOptions.length == 0 }, currentColumnName)))));
|
|
43
43
|
}
|
|
@@ -53,9 +53,7 @@ class DataChangeHistoryPopupComponent extends React.Component {
|
|
|
53
53
|
this.props.api.dataChangeHistoryApi.undoDataChangeHistoryEntry(changeToBeUndone);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
-
const currentAgGridTheme = this.props.api.
|
|
57
|
-
.getAdaptableInstance()
|
|
58
|
-
.getAgGridCurrentThemeName();
|
|
56
|
+
const currentAgGridTheme = this.props.api.themeApi.getAgGridCurrentThemeName();
|
|
59
57
|
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
60
58
|
React.createElement(rebass_1.Flex, { className: "ab-DataChangeHistoryPopup", flexDirection: "column", style: { height: '100%' } },
|
|
61
59
|
React.createElement(rebass_1.Flex, { style: {
|
|
@@ -307,7 +307,11 @@ const renderStringFormat = (data, _onChange, setFormatOption) => {
|
|
|
307
307
|
React.createElement(Radio_1.default, { marginLeft: 2, checked: data.DisplayFormat.Options.Case == 'Upper', onChange: (checked) => setFormatOption('Case', 'Upper') }, "Upper"),
|
|
308
308
|
React.createElement(Radio_1.default, { marginLeft: 2, checked: data.DisplayFormat.Options.Case == 'Sentence', onChange: (checked) => setFormatOption('Case', 'Sentence') }, "Sentence"),
|
|
309
309
|
React.createElement(Radio_1.default, { marginLeft: 2, checked: data.DisplayFormat.Options.Case == undefined, onChange: (checked) => setFormatOption('Case', undefined) }, "None"),
|
|
310
|
-
React.createElement(CheckBox_1.CheckBox, { marginLeft: 5, checked: data.DisplayFormat.Options.Trim, onChange: (checked) => setFormatOption('Trim', checked) }, "Trim"))
|
|
310
|
+
React.createElement(CheckBox_1.CheckBox, { marginLeft: 5, checked: data.DisplayFormat.Options.Trim, onChange: (checked) => setFormatOption('Trim', checked) }, "Trim")),
|
|
311
|
+
React.createElement(FormLayout_1.FormRow, { label: "Prefix" },
|
|
312
|
+
React.createElement(Input_1.default, { value: data.DisplayFormat.Options.Prefix, onChange: (e) => setFormatOption('Prefix', e.currentTarget.value) })),
|
|
313
|
+
React.createElement(FormLayout_1.FormRow, { label: "Suffix" },
|
|
314
|
+
React.createElement(Input_1.default, { value: data.DisplayFormat.Options.Suffix, onChange: (e) => setFormatOption('Suffix', e.currentTarget.value) })))))),
|
|
311
315
|
React.createElement(Tabs_1.Tabs, { marginTop: 2, keyboardNavigation: false },
|
|
312
316
|
React.createElement(Tabs_1.Tabs.Tab, null, "Example"),
|
|
313
317
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormatColumn } from '../../../PredefinedConfig/FormatColumnState';
|
|
3
3
|
import { AdaptableApi } from '../../../Api/AdaptableApi';
|
|
4
|
-
export declare const isFormatColumnStyleValid: (data: FormatColumn, api: AdaptableApi) => true | "No format applied";
|
|
4
|
+
export declare const isFormatColumnStyleValid: (data: FormatColumn, api: AdaptableApi) => true | "No format applied" | "Invalid Cell Range" | "Invalid Column Comparison Range";
|
|
5
5
|
declare type FormatColumnStyleWizardSectionProps = {
|
|
6
6
|
onChange: (data: FormatColumn) => void;
|
|
7
7
|
};
|
|
@@ -17,6 +17,7 @@ const ColorPicker_1 = require("../../ColorPicker");
|
|
|
17
17
|
const UIHelper_1 = tslib_1.__importStar(require("../../UIHelper"));
|
|
18
18
|
const StyleVisualItem_1 = require("../../Components/StyleVisualItem");
|
|
19
19
|
exports.isFormatColumnStyleValid = (data, api) => {
|
|
20
|
+
var _a, _b, _c, _d, _e;
|
|
20
21
|
if (!data.ColumnStyle &&
|
|
21
22
|
data.Style &&
|
|
22
23
|
UIHelper_1.default.IsEmptyStyle(data.Style) &&
|
|
@@ -26,6 +27,17 @@ exports.isFormatColumnStyleValid = (data, api) => {
|
|
|
26
27
|
!api.scopeApi.isSingleBooleanColumnScope(data.Scope)) {
|
|
27
28
|
return 'No format applied';
|
|
28
29
|
}
|
|
30
|
+
if ((_c = (_b = (_a = data.ColumnStyle) === null || _a === void 0 ? void 0 : _a.PercentBarStyle) === null || _b === void 0 ? void 0 : _b.CellRanges) === null || _c === void 0 ? void 0 : _c.length) {
|
|
31
|
+
if (data.ColumnStyle.PercentBarStyle.CellRanges.some((cellRange) => cellRange.Min == undefined || cellRange.Max == undefined)) {
|
|
32
|
+
return 'Invalid Cell Range';
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if ((_e = (_d = data.ColumnStyle) === null || _d === void 0 ? void 0 : _d.PercentBarStyle) === null || _e === void 0 ? void 0 : _e.ColumnComparison) {
|
|
36
|
+
if (data.ColumnStyle.PercentBarStyle.ColumnComparison.MinValue == undefined ||
|
|
37
|
+
data.ColumnStyle.PercentBarStyle.ColumnComparison.MaxValue == undefined) {
|
|
38
|
+
return 'Invalid Column Comparison Range';
|
|
39
|
+
}
|
|
40
|
+
}
|
|
29
41
|
return true;
|
|
30
42
|
};
|
|
31
43
|
const toStyle = (style) => {
|
|
@@ -95,7 +107,8 @@ function FormatColumnStyleWizardSection(props) {
|
|
|
95
107
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
96
108
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
97
109
|
const singleNumericColumn = api.scopeApi.isSingleNumericColumnScope(data.Scope);
|
|
98
|
-
const
|
|
110
|
+
const onlyBooleanColumnsInScope = api.scopeApi.areAllBooleanColumnsInScope(data.Scope) ||
|
|
111
|
+
api.scopeApi.scopeHasOnlyBooleanDataType(data.Scope);
|
|
99
112
|
const onPercentBarCellTextCellValueChanged = (checked) => {
|
|
100
113
|
var _a;
|
|
101
114
|
let percentBarStyle = (_a = data.ColumnStyle) === null || _a === void 0 ? void 0 : _a.PercentBarStyle;
|
|
@@ -259,7 +272,7 @@ function FormatColumnStyleWizardSection(props) {
|
|
|
259
272
|
}
|
|
260
273
|
};
|
|
261
274
|
return (React.createElement(React.Fragment, null,
|
|
262
|
-
|
|
275
|
+
onlyBooleanColumnsInScope && (React.createElement(Tabs_1.Tabs, null,
|
|
263
276
|
React.createElement(Tabs_1.Tabs.Tab, null, "CheckBox Column"),
|
|
264
277
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
265
278
|
React.createElement(HelpBlock_1.default, { fontSize: 2 }, "Shows each cell in the Column as a Checkbox"),
|
|
@@ -62,7 +62,8 @@ const adjustDisplayFormat = (formatColumn, api) => {
|
|
|
62
62
|
const adjustFormatColumn = (formatColumn, api) => {
|
|
63
63
|
formatColumn = adjustDisplayFormat(formatColumn, api);
|
|
64
64
|
if (!api.scopeApi.isSingleNumericColumnScope(formatColumn.Scope) &&
|
|
65
|
-
!api.scopeApi.
|
|
65
|
+
!(api.scopeApi.areAllBooleanColumnsInScope(formatColumn.Scope) ||
|
|
66
|
+
api.scopeApi.scopeHasOnlyBooleanDataType(formatColumn.Scope))) {
|
|
66
67
|
// when people change the scope and select more than one (numeric) column
|
|
67
68
|
// we have to discard any column style we might have
|
|
68
69
|
delete formatColumn.ColumnStyle;
|
|
@@ -19,7 +19,7 @@ exports.AdaptableObjectsSummary = () => {
|
|
|
19
19
|
if (!(items === null || items === void 0 ? void 0 : items.length)) {
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
|
-
return (React.createElement("div",
|
|
22
|
+
return (React.createElement("div", { key: module.moduleInfo.ModuleName },
|
|
23
23
|
React.createElement("b", null, module.moduleInfo.FriendlyName),
|
|
24
24
|
(items === null || items === void 0 ? void 0 : items.length) && React.createElement(AdaptableObjectList_1.AdaptableObjectList, { items: items, module: module })));
|
|
25
25
|
})));
|
|
@@ -162,7 +162,7 @@ exports.OnePageAdaptableWizard = (props) => {
|
|
|
162
162
|
navIndexMap.set(navIndex, index);
|
|
163
163
|
const active = index === currentSection;
|
|
164
164
|
const disabled = false; //!active && !currentSectionValid;
|
|
165
|
-
return (React.createElement(rebass_1.Flex, { className: "ab-OnePageWizard__section-title", flexDirection: "row", style: {
|
|
165
|
+
return (React.createElement(rebass_1.Flex, { className: "ab-OnePageWizard__section-title", "data-name": section.title, flexDirection: "row", style: {
|
|
166
166
|
cursor: disabled ? 'auto' : 'pointer',
|
|
167
167
|
zIndex: 10,
|
|
168
168
|
transition: 'color 0.2s',
|
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -344,15 +344,15 @@ class Adaptable {
|
|
|
344
344
|
this.initStore();
|
|
345
345
|
// create the services
|
|
346
346
|
this.LicenseService = this.initLicenseService();
|
|
347
|
-
this.ValidationService = new ValidationService_1.ValidationService(this);
|
|
348
|
-
this.ReportService = new ReportService_1.ReportService(this);
|
|
349
|
-
this.ModuleService = new ModuleService_1.ModuleService(this);
|
|
350
|
-
this.CalculatedColumnExpressionService = new CalculatedColumnExpressionService_1.CalculatedColumnExpressionService(this);
|
|
351
|
-
this.EntitlementService = new EntitlementService_1.EntitlementService(this);
|
|
352
|
-
this.QueryLanguageService = new QueryLanguageService_1.QueryLanguageService(this);
|
|
353
|
-
this.AlertService = new AlertService_1.AlertService(this);
|
|
354
|
-
this.TeamSharingService = new TeamSharingService_1.TeamSharingService(this);
|
|
355
|
-
this.MetamodelService = new MetamodelService_1.MetamodelService(this);
|
|
347
|
+
this.ValidationService = new ValidationService_1.ValidationService(this.api);
|
|
348
|
+
this.ReportService = new ReportService_1.ReportService(this.api);
|
|
349
|
+
this.ModuleService = new ModuleService_1.ModuleService(this.api);
|
|
350
|
+
this.CalculatedColumnExpressionService = new CalculatedColumnExpressionService_1.CalculatedColumnExpressionService(this.api);
|
|
351
|
+
this.EntitlementService = new EntitlementService_1.EntitlementService(this.api);
|
|
352
|
+
this.QueryLanguageService = new QueryLanguageService_1.QueryLanguageService(this.api);
|
|
353
|
+
this.AlertService = new AlertService_1.AlertService(this.api);
|
|
354
|
+
this.TeamSharingService = new TeamSharingService_1.TeamSharingService(this.api);
|
|
355
|
+
this.MetamodelService = new MetamodelService_1.MetamodelService(this.api);
|
|
356
356
|
this.forPlugins((plugin) => plugin.afterInitServices(this));
|
|
357
357
|
// Set up Modules - we set up all the Modules suitable for AG Grid
|
|
358
358
|
// But users can make some hidden or readonly in their entitlements
|
|
@@ -3357,9 +3357,9 @@ class Adaptable {
|
|
|
3357
3357
|
}
|
|
3358
3358
|
getFormatColumnComparisonChanges(dataChangedScope, cellDataChangedInfos) {
|
|
3359
3359
|
this.api.formatColumnApi.getAllFormatColumn().forEach((fc) => {
|
|
3360
|
-
let
|
|
3361
|
-
if (
|
|
3362
|
-
let affectedColumnIds = this.api.formatColumnApi.getColumnIdsFromColumnComparison(
|
|
3360
|
+
let columnComparison = this.api.formatColumnApi.getColumnComparisonForFormatColumn(fc);
|
|
3361
|
+
if (columnComparison) {
|
|
3362
|
+
let affectedColumnIds = this.api.formatColumnApi.getColumnIdsFromColumnComparison(columnComparison);
|
|
3363
3363
|
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(affectedColumnIds)) {
|
|
3364
3364
|
cellDataChangedInfos.forEach((cellDataChangedInfo) => {
|
|
3365
3365
|
if (affectedColumnIds.includes(cellDataChangedInfo.column.columnId)) {
|
|
@@ -249,6 +249,7 @@ class agGridMenuHelper {
|
|
|
249
249
|
rowNode: params.node,
|
|
250
250
|
isGroupedNode: params.node ? params.node.group : false,
|
|
251
251
|
isSingleSelectedColumn: isSingleSelectedColumn,
|
|
252
|
+
isSingleSelectedCell: isSelectedCell && (selectedCellInfo === null || selectedCellInfo === void 0 ? void 0 : selectedCellInfo.gridCells.length) == 1,
|
|
252
253
|
primaryKeyValue: clickedCell ? clickedCell.primaryKeyValue : undefined,
|
|
253
254
|
adaptableApi: this.adaptable.api,
|
|
254
255
|
selectedCellInfo: selectedCellInfo,
|
|
@@ -6,6 +6,6 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const rebass_1 = require("rebass");
|
|
7
7
|
const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
|
|
8
8
|
exports.StylePreview = (props) => {
|
|
9
|
-
var _a;
|
|
10
|
-
return (React.createElement(rebass_1.Box, Object.assign({}, props, { padding: 2, mt: 2, style: Object.assign(Object.assign({}, StyleHelper_1.toStyle(props.styleObject)), props.style) }), (
|
|
9
|
+
var _a, _b, _c;
|
|
10
|
+
return (React.createElement(rebass_1.Box, Object.assign({}, props, { padding: (_a = props.padding) !== null && _a !== void 0 ? _a : 2, mt: (_b = props.mt) !== null && _b !== void 0 ? _b : 2, style: Object.assign(Object.assign({}, StyleHelper_1.toStyle(props.styleObject)), props.style) }), (_c = props.children) !== null && _c !== void 0 ? _c : 'Preview result'));
|
|
11
11
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M6.5 10h-2v7h2v-7zm6 0h-2v7h2v-7zm8.5 9H2v2h19v-2zm-2.5-9h-2v7h2v-7zm-7-6.74L16.71 6H6.29l5.21-2.74m0-2.26L2 6v2h19V6l-9.5-5z" }),
|
|
8
|
+
' '));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z" })));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z" }),
|
|
8
|
+
' '));
|
|
@@ -13,14 +13,17 @@ const triangle_down_1 = tslib_1.__importDefault(require("./triangle-down"));
|
|
|
13
13
|
const check_1 = tslib_1.__importDefault(require("./check"));
|
|
14
14
|
const attach_file_1 = tslib_1.__importDefault(require("./attach-file"));
|
|
15
15
|
const plus_1 = tslib_1.__importDefault(require("./plus"));
|
|
16
|
+
const person_1 = tslib_1.__importDefault(require("./person"));
|
|
16
17
|
const clear_1 = tslib_1.__importDefault(require("./clear"));
|
|
17
18
|
const clone_1 = tslib_1.__importDefault(require("./clone"));
|
|
19
|
+
const chat_1 = tslib_1.__importDefault(require("./chat"));
|
|
18
20
|
const query_1 = tslib_1.__importDefault(require("./query"));
|
|
19
21
|
const info_1 = tslib_1.__importDefault(require("./info"));
|
|
20
22
|
const alert_1 = tslib_1.__importDefault(require("./alert"));
|
|
21
23
|
const list_1 = tslib_1.__importDefault(require("./list"));
|
|
22
24
|
const smart_edit_1 = tslib_1.__importDefault(require("./smart-edit"));
|
|
23
25
|
const home_1 = tslib_1.__importDefault(require("./home"));
|
|
26
|
+
const call_1 = tslib_1.__importDefault(require("./call"));
|
|
24
27
|
const justify_1 = tslib_1.__importDefault(require("./justify"));
|
|
25
28
|
const error_1 = tslib_1.__importDefault(require("./error"));
|
|
26
29
|
const export_1 = tslib_1.__importDefault(require("./export"));
|
|
@@ -129,16 +132,26 @@ const regex_1 = tslib_1.__importDefault(require("./regex"));
|
|
|
129
132
|
const track_changes_1 = tslib_1.__importDefault(require("./track-changes"));
|
|
130
133
|
const menu_1 = tslib_1.__importDefault(require("./menu"));
|
|
131
134
|
const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
135
|
+
const quote_1 = tslib_1.__importDefault(require("./quote"));
|
|
136
|
+
const news_1 = tslib_1.__importDefault(require("./news"));
|
|
137
|
+
const instrument_1 = tslib_1.__importDefault(require("./instrument"));
|
|
138
|
+
const analysis_1 = tslib_1.__importDefault(require("./analysis"));
|
|
132
139
|
const allIcons = {
|
|
133
140
|
// toolbars
|
|
134
141
|
application: application_1.default,
|
|
135
142
|
alert: alert_1.default,
|
|
143
|
+
analysis: analysis_1.default,
|
|
136
144
|
'bulk-update': bulk_update_1.default,
|
|
137
145
|
chart: chart_1.default,
|
|
138
146
|
'cell-summary': cell_summary_1.default,
|
|
139
147
|
'column-chooser': column_chooser_1.default,
|
|
140
148
|
'column-add': column_add_1.default,
|
|
141
149
|
'column-filter': column_filter_1.default,
|
|
150
|
+
person: person_1.default,
|
|
151
|
+
quote: quote_1.default,
|
|
152
|
+
call: call_1.default,
|
|
153
|
+
instrument: instrument_1.default,
|
|
154
|
+
news: news_1.default,
|
|
142
155
|
'data-source': data_source_1.default,
|
|
143
156
|
export: export_1.default,
|
|
144
157
|
campaign: campaign_1.default,
|
|
@@ -153,6 +166,7 @@ const allIcons = {
|
|
|
153
166
|
calendar: calendar_1.default,
|
|
154
167
|
'cell-validation': cell_validation_1.default,
|
|
155
168
|
'conditional-style': conditional_style_1.default,
|
|
169
|
+
chat: chat_1.default,
|
|
156
170
|
'column-info': column_info_1.default,
|
|
157
171
|
'custom-sort': custom_sort_1.default,
|
|
158
172
|
dashboard: dashboard_1.default,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M15.82,7.22l-1,0.4c-0.21-0.16-0.43-0.29-0.67-0.39L14,6.17C13.98,6.07,13.9,6,13.8,6h-1.6c-0.1,0-0.18,0.07-0.19,0.17 l-0.15,1.06c-0.24,0.1-0.47,0.23-0.67,0.39l-1-0.4c-0.09-0.03-0.2,0-0.24,0.09l-0.8,1.38c-0.05,0.09-0.03,0.2,0.05,0.26l0.85,0.66 C10.02,9.73,10,9.87,10,10c0,0.13,0.01,0.26,0.03,0.39l-0.84,0.66c-0.08,0.06-0.1,0.17-0.05,0.25l0.8,1.39 c0.05,0.09,0.15,0.12,0.25,0.09l0.99-0.4c0.21,0.16,0.43,0.29,0.68,0.39L12,13.83c0.02,0.1,0.1,0.17,0.2,0.17h1.6 c0.1,0,0.18-0.07,0.2-0.17l0.15-1.06c0.24-0.1,0.47-0.23,0.67-0.39l0.99,0.4c0.09,0.04,0.2,0,0.24-0.09l0.8-1.39 c0.05-0.09,0.03-0.19-0.05-0.25l-0.83-0.66C15.99,10.26,16,10.13,16,10c0-0.14-0.01-0.27-0.03-0.39l0.85-0.66 c0.08-0.06,0.1-0.17,0.05-0.26l-0.8-1.38C16.02,7.22,15.91,7.19,15.82,7.22z M13,11.43c-0.79,0-1.43-0.64-1.43-1.43 S12.21,8.57,13,8.57s1.43,0.64,1.43,1.43S13.79,11.43,13,11.43z" }),
|
|
8
|
+
React.createElement("path", { d: "M19.94,9.06c-0.43-3.27-3.23-5.86-6.53-6.05C13.27,3,13.14,3,13,3C9.47,3,6.57,5.61,6.08,9l-1.93,3.48 C3.74,13.14,4.22,14,5,14h1v2c0,1.1,0.9,2,2,2h1v3h7v-4.68C18.62,15.07,20.35,12.24,19.94,9.06z M14.89,14.63L14,15.05V19h-3v-3H8 v-4H6.7l1.33-2.33C8.21,7.06,10.35,5,13,5c2.76,0,5,2.24,5,5C18,12.09,16.71,13.88,14.89,14.63z" })));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M16,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V8L16,3z M19,19H5V5h10v4h4V19z M7,17h10v-2H7V17z M12,7H7 v2h5V7z M7,13h10v-2H7V13z" }),
|
|
8
|
+
' '));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M14,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8L14,2z M6,20V4h7v4h5v12H6z M11,19h2v-1h1 c0.55,0,1-0.45,1-1v-3c0-0.55-0.45-1-1-1h-3v-1h4v-2h-2V9h-2v1h-1c-0.55,0-1,0.45-1,1v3c0,0.55,0.45,1,1,1h3v1H9v2h2V19z" })));
|