plataforma-fundacao-componentes 2.25.5 → 2.25.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/dist/components/paginator/Paginator.stories.d.ts +1 -0
- package/dist/components/textEditor/TextEditor.d.ts +19 -20
- package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +11 -11
- package/dist/components/textEditor/components/textEditorHeaderButton/TextEditorHeaderButton.d.ts +7 -10
- package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +10 -12
- package/dist/components/textEditor/components/textEditorMenuButton/TextEditorMenuButton.d.ts +3 -9
- package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +10 -10
- package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +11 -11
- package/dist/index.css +49 -36
- package/dist/index.js +193 -197
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +193 -197
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -67,8 +67,8 @@ var AddIcon = function AddIcon() {
|
|
|
67
67
|
viewBox: '0 0 24 24',
|
|
68
68
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
69
69
|
}, React$1.createElement("path", {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
fillRule: 'evenodd',
|
|
71
|
+
clipRule: 'evenodd',
|
|
72
72
|
d: 'M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12ZM17 11.5C17.2761 11.5 17.5 11.7239 17.5 12C17.5 12.2455 17.3231 12.4496 17.0899 12.4919L17 12.5H12.5V17C12.5 17.2761 12.2761 17.5 12 17.5C11.7545 17.5 11.5504 17.3231 11.5081 17.0899L11.5 17V12.5H7C6.72386 12.5 6.5 12.2761 6.5 12C6.5 11.7545 6.67688 11.5504 6.91012 11.5081L7 11.5H11.5V7C11.5 6.72386 11.7239 6.5 12 6.5C12.2455 6.5 12.4496 6.67688 12.4919 6.91012L12.5 7V11.5H17Z',
|
|
73
73
|
fill: 'currentColor'
|
|
74
74
|
}));
|
|
@@ -9036,11 +9036,14 @@ function Paginator(props) {
|
|
|
9036
9036
|
}
|
|
9037
9037
|
setArrOfNumbers(arr);
|
|
9038
9038
|
}, [props.quantidadeDePaginas, props.maxLength, props.paginaAtual]);
|
|
9039
|
+
console.log(props.loading);
|
|
9039
9040
|
return React$1.createElement("div", {
|
|
9040
9041
|
id: props.id ? props.id : undefined,
|
|
9041
9042
|
className: getMergedClassNames([rootClassName$2i, props.className || ''])
|
|
9042
9043
|
}, React$1.createElement("div", {
|
|
9043
9044
|
className: rootClassName$2i + "-center-content"
|
|
9045
|
+
}, React$1.createElement("div", {
|
|
9046
|
+
className: props.loading ? "hidden" : ''
|
|
9044
9047
|
}, props.quantidadeDePaginas > 1 ? React$1.createElement("div", {
|
|
9045
9048
|
className: rootClassName$2i + "-left-arrow"
|
|
9046
9049
|
}, React$1.createElement(IconButton$1, {
|
|
@@ -9073,7 +9076,7 @@ function Paginator(props) {
|
|
|
9073
9076
|
}
|
|
9074
9077
|
},
|
|
9075
9078
|
disabled: props.paginaAtual >= props.quantidadeDePaginas
|
|
9076
|
-
})) : undefined, React$1.createElement(CSSTransition, {
|
|
9079
|
+
})) : undefined), React$1.createElement(CSSTransition, {
|
|
9077
9080
|
classNames: rootClassName$2i + "-loader",
|
|
9078
9081
|
"in": props.loading,
|
|
9079
9082
|
timeout: 300,
|
|
@@ -9404,7 +9407,7 @@ var Pagination = function Pagination(props) {
|
|
|
9404
9407
|
}
|
|
9405
9408
|
return React$1.createElement("ul", {
|
|
9406
9409
|
key: index,
|
|
9407
|
-
className: 'paginationContainer'
|
|
9410
|
+
className: getMergedClassNames(['paginationContainer', loading ? 'hidden' : ''])
|
|
9408
9411
|
}, children);
|
|
9409
9412
|
}), React$1.createElement(CSSTransition, {
|
|
9410
9413
|
"in": loading,
|
|
@@ -10997,16 +11000,19 @@ function TextEditorHeaderInput(props) {
|
|
|
10997
11000
|
var getInputProps = function getInputProps() {
|
|
10998
11001
|
return {
|
|
10999
11002
|
onFocus: function onFocus(evt) {
|
|
11000
|
-
document.getElementById(inputLabelId)
|
|
11003
|
+
var el = document.getElementById(inputLabelId);
|
|
11004
|
+
el.classList.add('top');
|
|
11001
11005
|
if (typeof props.onFocus === 'function') props.onFocus(evt);
|
|
11002
11006
|
},
|
|
11003
|
-
onBlur: function onBlur(
|
|
11007
|
+
onBlur: function onBlur() {
|
|
11008
|
+
var el = document.getElementById(inputLabelId);
|
|
11004
11009
|
if (!props.value) {
|
|
11005
|
-
|
|
11010
|
+
el.classList.remove('top');
|
|
11006
11011
|
}
|
|
11007
11012
|
},
|
|
11008
11013
|
onChange: function onChange(evt) {
|
|
11009
|
-
|
|
11014
|
+
var _props$onChange;
|
|
11015
|
+
(_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, evt);
|
|
11010
11016
|
evt.stopPropagation();
|
|
11011
11017
|
},
|
|
11012
11018
|
className: getMergedClassNames([rootClassName$2y + "-input", props.className || '']),
|
|
@@ -11018,56 +11024,42 @@ function TextEditorHeaderInput(props) {
|
|
|
11018
11024
|
}
|
|
11019
11025
|
};
|
|
11020
11026
|
};
|
|
11021
|
-
return
|
|
11027
|
+
return React$1.createElement("div", {
|
|
11022
11028
|
className: rootClassName$2y
|
|
11023
|
-
},
|
|
11029
|
+
}, React$1.createElement("div", {
|
|
11024
11030
|
id: inputLabelId,
|
|
11025
11031
|
className: getMergedClassNames([rootClassName$2y + "-label", props.value ? 'top' : ''])
|
|
11026
|
-
}, props.label),
|
|
11032
|
+
}, props.label), React$1.createElement("input", Object.assign({}, getInputProps())));
|
|
11027
11033
|
}
|
|
11028
|
-
TextEditorHeaderInput.propTypes = {
|
|
11029
|
-
onChange: propTypes.func,
|
|
11030
|
-
label: propTypes.string,
|
|
11031
|
-
value: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
11032
|
-
onEnter: propTypes.func
|
|
11033
|
-
};
|
|
11034
11034
|
TextEditorHeaderInput.defaultProps = {
|
|
11035
11035
|
onChange: function onChange() {}
|
|
11036
11036
|
};
|
|
11037
11037
|
|
|
11038
11038
|
var rootClassName$2z = 'text-editor-menu-button';
|
|
11039
11039
|
function TextEditorMenuButton(props) {
|
|
11040
|
-
return
|
|
11040
|
+
return React$1.createElement("button", Object.assign({}, props, {
|
|
11041
11041
|
className: getMergedClassNames([props.className || '', rootClassName$2z])
|
|
11042
11042
|
}));
|
|
11043
11043
|
}
|
|
11044
|
-
TextEditorMenuButton.propTypes = {
|
|
11045
|
-
onClick: propTypes.func,
|
|
11046
|
-
disabled: propTypes.bool
|
|
11047
|
-
};
|
|
11048
11044
|
|
|
11049
11045
|
var rootClassName$2A = 'text-editor-color-picker';
|
|
11050
11046
|
var colorClassName = rootClassName$2A + "-color-button";
|
|
11051
11047
|
var defaultColors = ['#121212', '#323c32', '#5a645a', '#828a82', '#33820d', '#3fa110'];
|
|
11052
|
-
|
|
11053
|
-
return
|
|
11048
|
+
function ColorButton(props) {
|
|
11049
|
+
return React$1.createElement("button", {
|
|
11054
11050
|
disabled: props.disabled,
|
|
11055
11051
|
className: colorClassName,
|
|
11056
11052
|
onClick: function onClick() {
|
|
11057
|
-
return props.
|
|
11053
|
+
return props.onPick(props.color);
|
|
11058
11054
|
},
|
|
11059
11055
|
style: {
|
|
11060
11056
|
backgroundColor: props.color
|
|
11061
11057
|
}
|
|
11062
11058
|
});
|
|
11063
|
-
}
|
|
11064
|
-
ColorButton.propTypes = {
|
|
11065
|
-
color: propTypes.string,
|
|
11066
|
-
onClick: propTypes.func,
|
|
11067
|
-
disabled: propTypes.bool
|
|
11068
|
-
};
|
|
11059
|
+
}
|
|
11069
11060
|
var timeOutID = null;
|
|
11070
11061
|
function TextEditorColorPicker(props) {
|
|
11062
|
+
var _window$localStorage$;
|
|
11071
11063
|
var _useState = useState(''),
|
|
11072
11064
|
hexa = _useState[0],
|
|
11073
11065
|
setHexa = _useState[1];
|
|
@@ -11077,21 +11069,24 @@ function TextEditorColorPicker(props) {
|
|
|
11077
11069
|
previousSelection = _useState3[0],
|
|
11078
11070
|
setPreviousSelection = _useState3[1];
|
|
11079
11071
|
useEffect(function () {
|
|
11080
|
-
|
|
11072
|
+
var _props$atualColor;
|
|
11073
|
+
setHexa((_props$atualColor = props.atualColor) != null ? _props$atualColor : '');
|
|
11081
11074
|
}, [props.atualColor]);
|
|
11082
11075
|
useEffect(function () {
|
|
11076
|
+
var selection = window.getSelection();
|
|
11083
11077
|
if (props.opened) {
|
|
11084
|
-
|
|
11085
|
-
anchorNode =
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11078
|
+
if (selection) {
|
|
11079
|
+
var anchorNode = selection.anchorNode,
|
|
11080
|
+
anchorOffset = selection.anchorOffset,
|
|
11081
|
+
focusNode = selection.focusNode,
|
|
11082
|
+
focusOffset = selection.focusOffset;
|
|
11083
|
+
setPreviousSelection({
|
|
11084
|
+
anchorNode: anchorNode,
|
|
11085
|
+
anchorOffset: anchorOffset,
|
|
11086
|
+
focusNode: focusNode,
|
|
11087
|
+
focusOffset: focusOffset
|
|
11088
|
+
});
|
|
11089
|
+
}
|
|
11095
11090
|
var el = document.querySelector("#" + id + " input:nth-of-type(2)");
|
|
11096
11091
|
if (el) {
|
|
11097
11092
|
el.focus();
|
|
@@ -11101,49 +11096,51 @@ function TextEditorColorPicker(props) {
|
|
|
11101
11096
|
}
|
|
11102
11097
|
}
|
|
11103
11098
|
}, [props.opened]);
|
|
11104
|
-
var lastUsedColors = JSON.parse(window.localStorage.getItem('lastUsedColors')) || ['', '', '', '', '', ''];
|
|
11099
|
+
var lastUsedColors = JSON.parse((_window$localStorage$ = window.localStorage.getItem('lastUsedColors')) != null ? _window$localStorage$ : '') || ['', '', '', '', '', ''];
|
|
11105
11100
|
var submitColor = function submitColor(color) {
|
|
11106
|
-
|
|
11101
|
+
var _window$getSelection;
|
|
11102
|
+
(_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
11107
11103
|
props.onChange(color);
|
|
11108
11104
|
};
|
|
11109
11105
|
var handleSubmit = function handleSubmit() {
|
|
11106
|
+
var _window$getSelection2;
|
|
11110
11107
|
if (!validaHexadecimalColor(hexa)) return;
|
|
11111
|
-
window.getSelection().setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
11108
|
+
(_window$getSelection2 = window.getSelection()) === null || _window$getSelection2 === void 0 ? void 0 : _window$getSelection2.setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
11112
11109
|
props.onChange(hexa);
|
|
11113
11110
|
var arr = [hexa, lastUsedColors[0] || '', lastUsedColors[1] || '', lastUsedColors[2] || '', lastUsedColors[3] || '', lastUsedColors[4] || ''];
|
|
11114
11111
|
setTimeout(function () {
|
|
11115
11112
|
window.localStorage.setItem('lastUsedColors', JSON.stringify(arr));
|
|
11116
11113
|
}, 250);
|
|
11117
11114
|
};
|
|
11118
|
-
return
|
|
11115
|
+
return React$1.createElement("div", {
|
|
11119
11116
|
id: id,
|
|
11120
11117
|
className: rootClassName$2A
|
|
11121
|
-
},
|
|
11118
|
+
}, React$1.createElement("div", {
|
|
11122
11119
|
className: rootClassName$2A + "-colors"
|
|
11123
11120
|
}, defaultColors.map(function (color, index) {
|
|
11124
|
-
return
|
|
11121
|
+
return React$1.createElement(ColorButton, {
|
|
11125
11122
|
key: index,
|
|
11126
11123
|
color: color,
|
|
11127
|
-
|
|
11124
|
+
onPick: function onPick(color) {
|
|
11128
11125
|
return submitColor(color);
|
|
11129
11126
|
}
|
|
11130
11127
|
});
|
|
11131
|
-
})),
|
|
11128
|
+
})), React$1.createElement("div", {
|
|
11132
11129
|
className: rootClassName$2A + "-colors"
|
|
11133
11130
|
}, lastUsedColors.map(function (color, index) {
|
|
11134
|
-
return
|
|
11131
|
+
return React$1.createElement(ColorButton, {
|
|
11135
11132
|
key: index,
|
|
11136
11133
|
disabled: color === '',
|
|
11137
11134
|
color: color,
|
|
11138
|
-
|
|
11135
|
+
onPick: function onPick(color) {
|
|
11139
11136
|
return submitColor(color);
|
|
11140
11137
|
}
|
|
11141
11138
|
});
|
|
11142
|
-
})),
|
|
11139
|
+
})), React$1.createElement("div", {
|
|
11143
11140
|
className: rootClassName$2A + "-hexa-row"
|
|
11144
|
-
},
|
|
11141
|
+
}, React$1.createElement("div", {
|
|
11145
11142
|
className: rootClassName$2A + "-picker-col"
|
|
11146
|
-
},
|
|
11143
|
+
}, React$1.createElement("input", {
|
|
11147
11144
|
value: hexa,
|
|
11148
11145
|
onChange: function onChange(evt) {
|
|
11149
11146
|
evt.stopPropagation();
|
|
@@ -11154,15 +11151,15 @@ function TextEditorColorPicker(props) {
|
|
|
11154
11151
|
}, 200);
|
|
11155
11152
|
},
|
|
11156
11153
|
className: rootClassName$2A + "-color-picker",
|
|
11157
|
-
type:
|
|
11158
|
-
})),
|
|
11159
|
-
label:
|
|
11154
|
+
type: 'color'
|
|
11155
|
+
})), React$1.createElement(TextEditorHeaderInput, {
|
|
11156
|
+
label: 'Hexadecimal',
|
|
11160
11157
|
onChange: function onChange(evt) {
|
|
11161
11158
|
return setHexa(formatHexadecimalColor(evt.target.value));
|
|
11162
11159
|
},
|
|
11163
11160
|
value: hexa,
|
|
11164
11161
|
onEnter: handleSubmit
|
|
11165
|
-
}),
|
|
11162
|
+
}), React$1.createElement(TextEditorMenuButton, {
|
|
11166
11163
|
disabled: !validaHexadecimalColor(hexa),
|
|
11167
11164
|
onClick: handleSubmit,
|
|
11168
11165
|
style: {
|
|
@@ -11170,29 +11167,21 @@ function TextEditorColorPicker(props) {
|
|
|
11170
11167
|
}
|
|
11171
11168
|
}, "OK")));
|
|
11172
11169
|
}
|
|
11173
|
-
TextEditorColorPicker.propTypes = {
|
|
11174
|
-
onChange: propTypes.func,
|
|
11175
|
-
atualColor: propTypes.string,
|
|
11176
|
-
opened: propTypes.bool
|
|
11177
|
-
};
|
|
11178
11170
|
TextEditorColorPicker.defaultProps = {
|
|
11179
11171
|
onChange: function onChange() {}
|
|
11180
11172
|
};
|
|
11181
11173
|
|
|
11174
|
+
var _excluded$2 = ["icon", "active"];
|
|
11182
11175
|
var rootClassName$2B = 'text-editor-header-button';
|
|
11183
|
-
function TextEditorHeaderButton(
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11176
|
+
function TextEditorHeaderButton(_ref) {
|
|
11177
|
+
var _props$className;
|
|
11178
|
+
var icon = _ref.icon,
|
|
11179
|
+
active = _ref.active,
|
|
11180
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
11181
|
+
return React$1.createElement("button", Object.assign({
|
|
11182
|
+
className: getMergedClassNames([rootClassName$2B, active ? 'active' : '', (_props$className = props.className) != null ? _props$className : ''])
|
|
11183
|
+
}, props), icon);
|
|
11189
11184
|
}
|
|
11190
|
-
TextEditorHeaderButton.propTypes = {
|
|
11191
|
-
icon: propTypes.object,
|
|
11192
|
-
onClick: propTypes.func,
|
|
11193
|
-
active: propTypes.bool,
|
|
11194
|
-
disabled: propTypes.bool
|
|
11195
|
-
};
|
|
11196
11185
|
|
|
11197
11186
|
var rootClassName$2C = 'text-editor-title-choser';
|
|
11198
11187
|
function TextEditorTitleChoser(props) {
|
|
@@ -11202,18 +11191,20 @@ function TextEditorTitleChoser(props) {
|
|
|
11202
11191
|
previousSelection = _useState2[0],
|
|
11203
11192
|
setPreviousSelection = _useState2[1];
|
|
11204
11193
|
useEffect(function () {
|
|
11194
|
+
var selection = window.getSelection();
|
|
11205
11195
|
if (props.opened) {
|
|
11206
|
-
|
|
11207
|
-
anchorNode =
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11196
|
+
if (selection) {
|
|
11197
|
+
var anchorNode = selection.anchorNode,
|
|
11198
|
+
anchorOffset = selection.anchorOffset,
|
|
11199
|
+
focusNode = selection.focusNode,
|
|
11200
|
+
focusOffset = selection.focusOffset;
|
|
11201
|
+
setPreviousSelection({
|
|
11202
|
+
anchorNode: anchorNode,
|
|
11203
|
+
anchorOffset: anchorOffset,
|
|
11204
|
+
focusNode: focusNode,
|
|
11205
|
+
focusOffset: focusOffset
|
|
11206
|
+
});
|
|
11207
|
+
}
|
|
11217
11208
|
var el = document.querySelector("#" + id + " button");
|
|
11218
11209
|
if (el) {
|
|
11219
11210
|
el.focus();
|
|
@@ -11224,28 +11215,25 @@ function TextEditorTitleChoser(props) {
|
|
|
11224
11215
|
}
|
|
11225
11216
|
}, [props.opened]);
|
|
11226
11217
|
var handleChange = function handleChange(text) {
|
|
11227
|
-
|
|
11218
|
+
var _window$getSelection;
|
|
11219
|
+
(_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
11228
11220
|
if (typeof props.onChange === 'function') {
|
|
11229
11221
|
props.onChange(text);
|
|
11230
11222
|
}
|
|
11231
11223
|
};
|
|
11232
|
-
return
|
|
11224
|
+
return React$1.createElement("div", {
|
|
11233
11225
|
className: rootClassName$2C,
|
|
11234
11226
|
id: id
|
|
11235
|
-
},
|
|
11227
|
+
}, React$1.createElement("button", {
|
|
11236
11228
|
onClick: function onClick() {
|
|
11237
11229
|
return handleChange('H1');
|
|
11238
11230
|
}
|
|
11239
|
-
},
|
|
11231
|
+
}, React$1.createElement("h1", null, "T\xEDtulo")), React$1.createElement("button", {
|
|
11240
11232
|
onClick: function onClick() {
|
|
11241
11233
|
return handleChange('H6');
|
|
11242
11234
|
}
|
|
11243
|
-
},
|
|
11235
|
+
}, React$1.createElement("h6", null, "Texto")));
|
|
11244
11236
|
}
|
|
11245
|
-
TextEditorTitleChoser.propTypes = {
|
|
11246
|
-
onChange: propTypes.func,
|
|
11247
|
-
opened: propTypes.bool
|
|
11248
|
-
};
|
|
11249
11237
|
TextEditorTitleChoser.defaultProps = {
|
|
11250
11238
|
onChange: function onChange() {}
|
|
11251
11239
|
};
|
|
@@ -11271,6 +11259,7 @@ function TextEditorUrlCreator(props) {
|
|
|
11271
11259
|
setUpdating = _useState6[1];
|
|
11272
11260
|
useEffect(function () {
|
|
11273
11261
|
if (props.opened) {
|
|
11262
|
+
var _window$getSelection, _selection$anchorNode;
|
|
11274
11263
|
var selection = window.getSelection();
|
|
11275
11264
|
var anchorNode = selection.anchorNode,
|
|
11276
11265
|
anchorOffset = selection.anchorOffset,
|
|
@@ -11282,13 +11271,15 @@ function TextEditorUrlCreator(props) {
|
|
|
11282
11271
|
focusNode: focusNode,
|
|
11283
11272
|
focusOffset: focusOffset
|
|
11284
11273
|
});
|
|
11285
|
-
if (window.getSelection().toString().length) {
|
|
11286
|
-
|
|
11274
|
+
if ((_window$getSelection = window.getSelection()) !== null && _window$getSelection !== void 0 && _window$getSelection.toString().length) {
|
|
11275
|
+
var _window$getSelection$, _window$getSelection2;
|
|
11276
|
+
setTextValue((_window$getSelection$ = (_window$getSelection2 = window.getSelection()) === null || _window$getSelection2 === void 0 ? void 0 : _window$getSelection2.toString()) != null ? _window$getSelection$ : '');
|
|
11287
11277
|
}
|
|
11288
|
-
var aux = selection.anchorNode.parentElement;
|
|
11289
|
-
while (
|
|
11278
|
+
var aux = (_selection$anchorNode = selection.anchorNode) === null || _selection$anchorNode === void 0 ? void 0 : _selection$anchorNode.parentElement;
|
|
11279
|
+
while (aux && aux.getAttribute('id') !== props.editorId) {
|
|
11290
11280
|
if (aux.tagName === 'A') {
|
|
11291
|
-
|
|
11281
|
+
var _aux$getAttribute;
|
|
11282
|
+
setUrlValue((_aux$getAttribute = aux.getAttribute('href')) != null ? _aux$getAttribute : '');
|
|
11292
11283
|
setNewTab(aux.getAttribute('target') === '_blank');
|
|
11293
11284
|
setUpdating(true);
|
|
11294
11285
|
break;
|
|
@@ -11305,60 +11296,57 @@ function TextEditorUrlCreator(props) {
|
|
|
11305
11296
|
}
|
|
11306
11297
|
}, [props.opened]);
|
|
11307
11298
|
var handleSubmit = function handleSubmit() {
|
|
11299
|
+
var _window$getSelection3;
|
|
11308
11300
|
if (!urlValue || !textValue) return;
|
|
11309
|
-
window.getSelection().setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
11301
|
+
(_window$getSelection3 = window.getSelection()) === null || _window$getSelection3 === void 0 ? void 0 : _window$getSelection3.setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
11310
11302
|
props.onChange(textValue, urlValue, newTab);
|
|
11311
11303
|
};
|
|
11312
|
-
return
|
|
11304
|
+
return React$1.createElement("div", {
|
|
11313
11305
|
id: id,
|
|
11314
11306
|
className: rootClassName$2D
|
|
11315
|
-
},
|
|
11307
|
+
}, React$1.createElement(Row$1, {
|
|
11316
11308
|
className: rootClassName$2D + "-url-row"
|
|
11317
|
-
},
|
|
11318
|
-
label:
|
|
11309
|
+
}, React$1.createElement(TextEditorHeaderInput, {
|
|
11310
|
+
label: 'Url',
|
|
11319
11311
|
value: urlValue,
|
|
11320
11312
|
onChange: function onChange(evt) {
|
|
11321
11313
|
return setUrlValue(evt.target.value);
|
|
11322
11314
|
},
|
|
11323
11315
|
onEnter: handleSubmit
|
|
11324
|
-
})),
|
|
11316
|
+
})), React$1.createElement(Row$1, {
|
|
11325
11317
|
className: rootClassName$2D + "-text-row"
|
|
11326
|
-
},
|
|
11327
|
-
label:
|
|
11318
|
+
}, React$1.createElement(TextEditorHeaderInput, {
|
|
11319
|
+
label: 'Texto',
|
|
11328
11320
|
value: textValue,
|
|
11329
11321
|
onChange: function onChange(evt) {
|
|
11330
11322
|
return setTextValue(evt.target.value);
|
|
11331
11323
|
},
|
|
11332
11324
|
onEnter: handleSubmit
|
|
11333
|
-
})),
|
|
11325
|
+
})), React$1.createElement(Row$1, {
|
|
11334
11326
|
className: rootClassName$2D + "-new-tab-row"
|
|
11335
|
-
},
|
|
11327
|
+
}, React$1.createElement(Checkbox$1, {
|
|
11336
11328
|
value: newTab,
|
|
11337
11329
|
onChange: function onChange(value) {
|
|
11338
11330
|
return setNewTab(value);
|
|
11339
11331
|
}
|
|
11340
|
-
}),
|
|
11332
|
+
}), React$1.createElement("span", {
|
|
11341
11333
|
onClick: function onClick() {
|
|
11342
11334
|
return setNewTab(!newTab);
|
|
11343
11335
|
}
|
|
11344
|
-
}, "Nova Guia")),
|
|
11336
|
+
}, "Nova Guia")), React$1.createElement(Row$1, {
|
|
11345
11337
|
className: rootClassName$2D + "-ok-row"
|
|
11346
|
-
},
|
|
11338
|
+
}, React$1.createElement(TextEditorMenuButton, {
|
|
11347
11339
|
disabled: !urlValue || !textValue,
|
|
11348
11340
|
onClick: handleSubmit
|
|
11349
11341
|
}, isUpdating ? 'Atualizar' : 'OK')));
|
|
11350
11342
|
}
|
|
11351
|
-
TextEditorUrlCreator.propTypes = {
|
|
11352
|
-
opened: propTypes.bool,
|
|
11353
|
-
onChange: propTypes.func,
|
|
11354
|
-
editorId: propTypes.string
|
|
11355
|
-
};
|
|
11356
11343
|
TextEditorUrlCreator.defaultProps = {
|
|
11357
11344
|
onChange: function onChange() {}
|
|
11358
11345
|
};
|
|
11359
11346
|
|
|
11360
11347
|
var rootClassName$2E = 'component-text-editor';
|
|
11361
11348
|
function TextEditor(props) {
|
|
11349
|
+
var _cursor$foreColor;
|
|
11362
11350
|
var _useState = useState(getUniqueKey()),
|
|
11363
11351
|
id = _useState[0];
|
|
11364
11352
|
var _useState2 = useState(false),
|
|
@@ -11397,11 +11385,13 @@ function TextEditor(props) {
|
|
|
11397
11385
|
var selection = window.getSelection();
|
|
11398
11386
|
if (!selection || !selection.anchorNode) return;
|
|
11399
11387
|
var aux = selection.anchorNode.parentElement;
|
|
11400
|
-
while (!aux.hasAttribute('class'
|
|
11388
|
+
while (aux && !((_aux = aux) !== null && _aux !== void 0 && _aux.hasAttribute('class'))) {
|
|
11389
|
+
var _aux;
|
|
11401
11390
|
if (aux.tagName === 'A') {
|
|
11402
11391
|
isLink = true;
|
|
11403
11392
|
} else if (aux.tagName === 'FONT') {
|
|
11404
|
-
|
|
11393
|
+
var _aux$getAttribute;
|
|
11394
|
+
fore = (_aux$getAttribute = aux.getAttribute('color')) != null ? _aux$getAttribute : '';
|
|
11405
11395
|
}
|
|
11406
11396
|
aux = aux.parentElement;
|
|
11407
11397
|
}
|
|
@@ -11417,25 +11407,28 @@ function TextEditor(props) {
|
|
|
11417
11407
|
justifyFull: document.queryCommandState('justifyFull')
|
|
11418
11408
|
}));
|
|
11419
11409
|
};
|
|
11420
|
-
var handleChange = function handleChange(
|
|
11410
|
+
var handleChange = function handleChange() {
|
|
11421
11411
|
var editor = document.querySelector("#" + id);
|
|
11422
11412
|
if (typeof props.onChange === 'function') props.onChange(editor.innerHTML, String(editor.innerText).trim().replace(/\n/g, ' '));
|
|
11423
11413
|
};
|
|
11424
11414
|
var handlePaste = function handlePaste(evt) {
|
|
11425
11415
|
evt.preventDefault();
|
|
11426
|
-
var text =
|
|
11416
|
+
var text = (evt.originalEvent || evt).clipboardData.getData('text/plain');
|
|
11427
11417
|
if (document.queryCommandSupported('insertText')) {
|
|
11428
11418
|
document.execCommand('insertText', false, text);
|
|
11429
11419
|
} else {
|
|
11430
|
-
var
|
|
11431
|
-
range.
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11420
|
+
var _document$getSelectio;
|
|
11421
|
+
var range = (_document$getSelectio = document.getSelection()) === null || _document$getSelectio === void 0 ? void 0 : _document$getSelectio.getRangeAt(0);
|
|
11422
|
+
if (range) {
|
|
11423
|
+
range.deleteContents();
|
|
11424
|
+
var textNode = document.createTextNode(text);
|
|
11425
|
+
range.insertNode(textNode);
|
|
11426
|
+
range.selectNodeContents(textNode);
|
|
11427
|
+
range.collapse(false);
|
|
11428
|
+
var selection = window.getSelection();
|
|
11429
|
+
selection === null || selection === void 0 ? void 0 : selection.removeAllRanges();
|
|
11430
|
+
selection === null || selection === void 0 ? void 0 : selection.addRange(range);
|
|
11431
|
+
}
|
|
11439
11432
|
}
|
|
11440
11433
|
};
|
|
11441
11434
|
useEffect(function () {
|
|
@@ -11443,28 +11436,29 @@ function TextEditor(props) {
|
|
|
11443
11436
|
editor.addEventListener('input', handleChange);
|
|
11444
11437
|
editor.addEventListener('paste', handlePaste);
|
|
11445
11438
|
return function () {
|
|
11446
|
-
editor.
|
|
11439
|
+
editor.removeEventListener('paste', handlePaste);
|
|
11447
11440
|
editor.removeEventListener('input', handleChange);
|
|
11448
11441
|
};
|
|
11449
11442
|
}, []);
|
|
11450
11443
|
useEffect(function () {
|
|
11451
11444
|
var editor = document.querySelector("#" + id);
|
|
11452
11445
|
if (editor.innerHTML.toString() !== props.value) {
|
|
11453
|
-
|
|
11446
|
+
var _props$value;
|
|
11447
|
+
editor.innerHTML = (_props$value = props.value) != null ? _props$value : '';
|
|
11454
11448
|
}
|
|
11455
11449
|
}, [props.value]);
|
|
11456
|
-
return
|
|
11450
|
+
return React$1.createElement("div", {
|
|
11457
11451
|
className: rootClassName$2E + "-outer"
|
|
11458
|
-
}, !props.hideTopLabel &&
|
|
11452
|
+
}, !props.hideTopLabel && React$1.createElement("div", {
|
|
11459
11453
|
className: getMergedClassNames([rootClassName$2E + "-top-label", props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
11460
|
-
}, props.topLabel),
|
|
11454
|
+
}, props.topLabel), React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
11461
11455
|
className: rootClassName$2E + "-header"
|
|
11462
|
-
},
|
|
11456
|
+
}, React$1.createElement("div", {
|
|
11463
11457
|
className: rootClassName$2E + "-left-content"
|
|
11464
|
-
},
|
|
11458
|
+
}, React$1.createElement(DropdownMenu, {
|
|
11465
11459
|
opened: fontOpened,
|
|
11466
11460
|
setOpened: setFontOpened,
|
|
11467
|
-
content:
|
|
11461
|
+
content: React$1.createElement(TextEditorTitleChoser, {
|
|
11468
11462
|
opened: fontOpened,
|
|
11469
11463
|
onChange: function onChange(title) {
|
|
11470
11464
|
if (title === void 0) {
|
|
@@ -11474,144 +11468,146 @@ function TextEditor(props) {
|
|
|
11474
11468
|
setFontOpened(false);
|
|
11475
11469
|
}
|
|
11476
11470
|
})
|
|
11477
|
-
},
|
|
11471
|
+
}, React$1.createElement(TextEditorHeaderButton, {
|
|
11478
11472
|
disabled: props.disabled,
|
|
11479
11473
|
onClick: function onClick() {
|
|
11480
|
-
|
|
11474
|
+
var _document$querySelect;
|
|
11475
|
+
(_document$querySelect = document.querySelector("#" + id)) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.focus();
|
|
11481
11476
|
setFontOpened(!fontOpened);
|
|
11482
11477
|
},
|
|
11483
|
-
icon:
|
|
11484
|
-
})),
|
|
11478
|
+
icon: React$1.createElement(FontIcon, null)
|
|
11479
|
+
})), React$1.createElement(DropdownMenu, {
|
|
11485
11480
|
opened: fontColorOpened,
|
|
11486
11481
|
setOpened: setFontColorOpened,
|
|
11487
|
-
content:
|
|
11482
|
+
content: React$1.createElement(TextEditorColorPicker, {
|
|
11488
11483
|
opened: fontColorOpened,
|
|
11489
|
-
atualColor: cursor.foreColor,
|
|
11484
|
+
atualColor: (_cursor$foreColor = cursor.foreColor) != null ? _cursor$foreColor : '',
|
|
11490
11485
|
onChange: function onChange(color) {
|
|
11486
|
+
var _document$querySelect2;
|
|
11491
11487
|
format('foreColor', color);
|
|
11492
11488
|
setFontColorOpened(false);
|
|
11493
|
-
document.querySelector("#" + id).focus();
|
|
11489
|
+
(_document$querySelect2 = document.querySelector("#" + id)) === null || _document$querySelect2 === void 0 ? void 0 : _document$querySelect2.focus();
|
|
11494
11490
|
}
|
|
11495
11491
|
})
|
|
11496
|
-
},
|
|
11492
|
+
}, React$1.createElement(TextEditorHeaderButton, {
|
|
11497
11493
|
disabled: props.disabled,
|
|
11498
11494
|
onClick: function onClick() {
|
|
11499
|
-
|
|
11495
|
+
var _document$querySelect3;
|
|
11496
|
+
(_document$querySelect3 = document.querySelector("#" + id)) === null || _document$querySelect3 === void 0 ? void 0 : _document$querySelect3.focus();
|
|
11500
11497
|
setFontColorOpened(!fontColorOpened);
|
|
11501
11498
|
},
|
|
11502
|
-
icon:
|
|
11499
|
+
icon: React$1.createElement(FontColorIcon, {
|
|
11503
11500
|
gota: cursor.foreColor
|
|
11504
11501
|
})
|
|
11505
|
-
})),
|
|
11502
|
+
})), React$1.createElement(TextEditorHeaderButton, {
|
|
11506
11503
|
disabled: props.disabled,
|
|
11507
11504
|
active: cursor.bold,
|
|
11508
|
-
icon:
|
|
11505
|
+
icon: React$1.createElement(BoldIcon, null),
|
|
11509
11506
|
onClick: function onClick() {
|
|
11507
|
+
var _document$querySelect4;
|
|
11510
11508
|
format('bold');
|
|
11511
|
-
document.querySelector("#" + id).focus();
|
|
11509
|
+
(_document$querySelect4 = document.querySelector("#" + id)) === null || _document$querySelect4 === void 0 ? void 0 : _document$querySelect4.focus();
|
|
11512
11510
|
}
|
|
11513
|
-
}),
|
|
11511
|
+
}), React$1.createElement(TextEditorHeaderButton, {
|
|
11514
11512
|
disabled: props.disabled,
|
|
11515
11513
|
active: cursor.italic,
|
|
11516
|
-
icon:
|
|
11514
|
+
icon: React$1.createElement(ItalicIcon, null),
|
|
11517
11515
|
onClick: function onClick() {
|
|
11516
|
+
var _document$querySelect5;
|
|
11518
11517
|
format('italic');
|
|
11519
|
-
document.querySelector("#" + id).focus();
|
|
11518
|
+
(_document$querySelect5 = document.querySelector("#" + id)) === null || _document$querySelect5 === void 0 ? void 0 : _document$querySelect5.focus();
|
|
11520
11519
|
}
|
|
11521
|
-
}),
|
|
11520
|
+
}), React$1.createElement(TextEditorHeaderButton, {
|
|
11522
11521
|
disabled: props.disabled,
|
|
11523
11522
|
active: cursor.underline,
|
|
11524
|
-
icon:
|
|
11523
|
+
icon: React$1.createElement(UnderlineIcon, null),
|
|
11525
11524
|
onClick: function onClick() {
|
|
11525
|
+
var _document$querySelect6;
|
|
11526
11526
|
format('underline');
|
|
11527
|
-
document.querySelector("#" + id).focus();
|
|
11527
|
+
(_document$querySelect6 = document.querySelector("#" + id)) === null || _document$querySelect6 === void 0 ? void 0 : _document$querySelect6.focus();
|
|
11528
11528
|
}
|
|
11529
|
-
}),
|
|
11529
|
+
}), React$1.createElement(DropdownMenu, {
|
|
11530
11530
|
opened: linkOpened,
|
|
11531
11531
|
setOpened: setLinkOpened,
|
|
11532
|
-
content:
|
|
11532
|
+
content: React$1.createElement(TextEditorUrlCreator, {
|
|
11533
11533
|
editorId: id,
|
|
11534
11534
|
opened: linkOpened,
|
|
11535
11535
|
onChange: function onChange(text, link, newTab) {
|
|
11536
|
+
var _document$querySelect7;
|
|
11536
11537
|
format('insertHTML', "<a href=\"" + link + "\"" + (newTab ? 'target="_blank"' : '') + ">" + text + "</a>");
|
|
11537
11538
|
setLinkOpened(false);
|
|
11538
|
-
document.querySelector("#" + id).focus();
|
|
11539
|
+
(_document$querySelect7 = document.querySelector("#" + id)) === null || _document$querySelect7 === void 0 ? void 0 : _document$querySelect7.focus();
|
|
11539
11540
|
}
|
|
11540
11541
|
})
|
|
11541
|
-
},
|
|
11542
|
+
}, React$1.createElement(TextEditorHeaderButton, {
|
|
11542
11543
|
disabled: props.disabled,
|
|
11543
11544
|
active: cursor.link,
|
|
11544
11545
|
onClick: function onClick() {
|
|
11545
|
-
|
|
11546
|
+
var _document$querySelect8;
|
|
11547
|
+
(_document$querySelect8 = document.querySelector("#" + id)) === null || _document$querySelect8 === void 0 ? void 0 : _document$querySelect8.focus();
|
|
11546
11548
|
setLinkOpened(!linkOpened);
|
|
11547
11549
|
},
|
|
11548
|
-
icon:
|
|
11549
|
-
})),
|
|
11550
|
+
icon: React$1.createElement(LinkIcon, null)
|
|
11551
|
+
})), React$1.createElement(TextEditorHeaderButton, {
|
|
11550
11552
|
disabled: props.disabled,
|
|
11551
11553
|
active: cursor.justifyLeft,
|
|
11552
|
-
icon:
|
|
11554
|
+
icon: React$1.createElement(AlignLeftIcon, null),
|
|
11553
11555
|
onClick: function onClick() {
|
|
11556
|
+
var _document$querySelect9;
|
|
11554
11557
|
format('justifyLeft');
|
|
11555
|
-
document.querySelector("#" + id).focus();
|
|
11558
|
+
(_document$querySelect9 = document.querySelector("#" + id)) === null || _document$querySelect9 === void 0 ? void 0 : _document$querySelect9.focus();
|
|
11556
11559
|
}
|
|
11557
|
-
}),
|
|
11560
|
+
}), React$1.createElement(TextEditorHeaderButton, {
|
|
11558
11561
|
disabled: props.disabled,
|
|
11559
11562
|
active: cursor.justifyFull,
|
|
11560
|
-
icon:
|
|
11563
|
+
icon: React$1.createElement(AlignJustifyIcon, null),
|
|
11561
11564
|
onClick: function onClick() {
|
|
11565
|
+
var _document$querySelect10;
|
|
11562
11566
|
format('justifyFull');
|
|
11563
|
-
document.querySelector("#" + id).focus();
|
|
11567
|
+
(_document$querySelect10 = document.querySelector("#" + id)) === null || _document$querySelect10 === void 0 ? void 0 : _document$querySelect10.focus();
|
|
11564
11568
|
}
|
|
11565
|
-
}),
|
|
11569
|
+
}), React$1.createElement(TextEditorHeaderButton, {
|
|
11566
11570
|
disabled: props.disabled,
|
|
11567
11571
|
active: cursor.justifyCenter,
|
|
11568
|
-
icon:
|
|
11572
|
+
icon: React$1.createElement(AlignCenterIcon, null),
|
|
11569
11573
|
onClick: function onClick() {
|
|
11574
|
+
var _document$querySelect11;
|
|
11570
11575
|
format('justifyCenter');
|
|
11571
|
-
document.querySelector("#" + id).focus();
|
|
11576
|
+
(_document$querySelect11 = document.querySelector("#" + id)) === null || _document$querySelect11 === void 0 ? void 0 : _document$querySelect11.focus();
|
|
11572
11577
|
}
|
|
11573
|
-
}),
|
|
11578
|
+
}), React$1.createElement(TextEditorHeaderButton, {
|
|
11574
11579
|
disabled: props.disabled,
|
|
11575
11580
|
active: cursor.justifyRight,
|
|
11576
|
-
icon:
|
|
11581
|
+
icon: React$1.createElement(AlignRightIcon, null),
|
|
11577
11582
|
onClick: function onClick() {
|
|
11583
|
+
var _document$querySelect12;
|
|
11578
11584
|
format('justifyRight');
|
|
11579
|
-
document.querySelector("#" + id).focus();
|
|
11585
|
+
(_document$querySelect12 = document.querySelector("#" + id)) === null || _document$querySelect12 === void 0 ? void 0 : _document$querySelect12.focus();
|
|
11580
11586
|
}
|
|
11581
|
-
})),
|
|
11587
|
+
})), React$1.createElement("div", {
|
|
11582
11588
|
className: rootClassName$2E + "-right-content"
|
|
11583
|
-
},
|
|
11589
|
+
}, React$1.createElement(TextEditorHeaderButton, {
|
|
11584
11590
|
disabled: props.disabled,
|
|
11585
|
-
icon:
|
|
11591
|
+
icon: React$1.createElement(UndoIcon, null),
|
|
11586
11592
|
onClick: function onClick() {
|
|
11587
11593
|
return format('undo');
|
|
11588
11594
|
}
|
|
11589
|
-
}),
|
|
11595
|
+
}), React$1.createElement(TextEditorHeaderButton, {
|
|
11590
11596
|
disabled: props.disabled,
|
|
11591
|
-
icon:
|
|
11597
|
+
icon: React$1.createElement(RedoIcon, null),
|
|
11592
11598
|
onClick: function onClick() {
|
|
11593
11599
|
return format('redo');
|
|
11594
11600
|
}
|
|
11595
|
-
}))),
|
|
11601
|
+
}))), React$1.createElement("div", {
|
|
11596
11602
|
id: id,
|
|
11597
11603
|
className: rootClassName$2E + "-editor",
|
|
11598
11604
|
contentEditable: !props.disabled,
|
|
11599
11605
|
onClick: verifyCursor,
|
|
11600
11606
|
onKeyUp: verifyCursor
|
|
11601
|
-
})), !props.hideHelperText &&
|
|
11607
|
+
})), !props.hideHelperText && React$1.createElement("div", {
|
|
11602
11608
|
className: getMergedClassNames([rootClassName$2E + "-helper-text", props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
11603
11609
|
}, props.helperText));
|
|
11604
11610
|
}
|
|
11605
|
-
TextEditor.propTypes = {
|
|
11606
|
-
disabled: propTypes.bool,
|
|
11607
|
-
value: propTypes.string,
|
|
11608
|
-
onChange: propTypes.func,
|
|
11609
|
-
topLabel: propTypes.oneOfType([propTypes.string, propTypes.object]),
|
|
11610
|
-
helperText: propTypes.oneOfType([propTypes.string, propTypes.object]),
|
|
11611
|
-
hideTopLabel: propTypes.bool,
|
|
11612
|
-
hideHelperText: propTypes.bool,
|
|
11613
|
-
error: propTypes.bool
|
|
11614
|
-
};
|
|
11615
11611
|
TextEditor.defaultProps = {
|
|
11616
11612
|
disabled: false,
|
|
11617
11613
|
value: '',
|
|
@@ -44147,8 +44143,8 @@ var DecreaseIcon = function DecreaseIcon() {
|
|
|
44147
44143
|
viewBox: '0 0 24 24',
|
|
44148
44144
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
44149
44145
|
}, React$1.createElement("path", {
|
|
44150
|
-
|
|
44151
|
-
|
|
44146
|
+
fillRule: 'evenodd',
|
|
44147
|
+
clipRule: 'evenodd',
|
|
44152
44148
|
d: 'M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM17.5 12C17.5 11.7239 17.2761 11.5 17 11.5H7L6.91012 11.5081C6.67688 11.5504 6.5 11.7545 6.5 12C6.5 12.2761 6.72386 12.5 7 12.5H17L17.0899 12.4919C17.3231 12.4496 17.5 12.2455 17.5 12Z',
|
|
44153
44149
|
fill: 'currentColor'
|
|
44154
44150
|
}));
|