@atlaskit/renderer 108.15.14 → 108.15.16
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/CHANGELOG.md +14 -0
- package/dist/cjs/i18n/da.js +6 -1
- package/dist/cjs/i18n/de.js +6 -1
- package/dist/cjs/i18n/es.js +6 -1
- package/dist/cjs/i18n/fr.js +6 -1
- package/dist/cjs/i18n/hu.js +6 -1
- package/dist/cjs/i18n/it.js +6 -1
- package/dist/cjs/i18n/ko.js +6 -1
- package/dist/cjs/i18n/nb.js +6 -1
- package/dist/cjs/i18n/nl.js +6 -1
- package/dist/cjs/i18n/pl.js +6 -1
- package/dist/cjs/i18n/sv.js +6 -1
- package/dist/cjs/i18n/th.js +6 -1
- package/dist/cjs/i18n/tr.js +6 -1
- package/dist/cjs/i18n/uk.js +1 -1
- package/dist/cjs/i18n/vi.js +6 -1
- package/dist/cjs/i18n/zh.js +6 -1
- package/dist/cjs/i18n/zh_TW.js +6 -1
- package/dist/cjs/react/marks/textColor.js +64 -1
- package/dist/cjs/react/nodes/mediaInline.js +2 -2
- package/dist/cjs/react/nodes/tableCell.js +175 -133
- package/dist/cjs/ui/MediaCard.js +2 -2
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/ui/Renderer/style.js +1 -1
- package/dist/es2019/i18n/da.js +6 -1
- package/dist/es2019/i18n/de.js +6 -1
- package/dist/es2019/i18n/es.js +6 -1
- package/dist/es2019/i18n/fr.js +6 -1
- package/dist/es2019/i18n/hu.js +6 -1
- package/dist/es2019/i18n/it.js +6 -1
- package/dist/es2019/i18n/ko.js +6 -1
- package/dist/es2019/i18n/nb.js +6 -1
- package/dist/es2019/i18n/nl.js +6 -1
- package/dist/es2019/i18n/pl.js +6 -1
- package/dist/es2019/i18n/sv.js +6 -1
- package/dist/es2019/i18n/th.js +6 -1
- package/dist/es2019/i18n/tr.js +6 -1
- package/dist/es2019/i18n/uk.js +1 -1
- package/dist/es2019/i18n/vi.js +6 -1
- package/dist/es2019/i18n/zh.js +6 -1
- package/dist/es2019/i18n/zh_TW.js +6 -1
- package/dist/es2019/react/marks/textColor.js +65 -1
- package/dist/es2019/react/nodes/mediaInline.js +1 -1
- package/dist/es2019/react/nodes/tableCell.js +180 -106
- package/dist/es2019/ui/MediaCard.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/style.js +4 -2
- package/dist/esm/i18n/da.js +6 -1
- package/dist/esm/i18n/de.js +6 -1
- package/dist/esm/i18n/es.js +6 -1
- package/dist/esm/i18n/fr.js +6 -1
- package/dist/esm/i18n/hu.js +6 -1
- package/dist/esm/i18n/it.js +6 -1
- package/dist/esm/i18n/ko.js +6 -1
- package/dist/esm/i18n/nb.js +6 -1
- package/dist/esm/i18n/nl.js +6 -1
- package/dist/esm/i18n/pl.js +6 -1
- package/dist/esm/i18n/sv.js +6 -1
- package/dist/esm/i18n/th.js +6 -1
- package/dist/esm/i18n/tr.js +6 -1
- package/dist/esm/i18n/uk.js +1 -1
- package/dist/esm/i18n/vi.js +6 -1
- package/dist/esm/i18n/zh.js +6 -1
- package/dist/esm/i18n/zh_TW.js +6 -1
- package/dist/esm/react/marks/textColor.js +64 -1
- package/dist/esm/react/nodes/mediaInline.js +1 -1
- package/dist/esm/react/nodes/tableCell.js +177 -135
- package/dist/esm/ui/MediaCard.js +1 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/style.js +1 -1
- package/dist/types/i18n/da.d.ts +5 -0
- package/dist/types/i18n/de.d.ts +5 -0
- package/dist/types/i18n/es.d.ts +5 -0
- package/dist/types/i18n/fr.d.ts +5 -0
- package/dist/types/i18n/hu.d.ts +5 -0
- package/dist/types/i18n/it.d.ts +5 -0
- package/dist/types/i18n/ko.d.ts +5 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +5 -0
- package/dist/types/i18n/pl.d.ts +5 -0
- package/dist/types/i18n/sv.d.ts +5 -0
- package/dist/types/i18n/th.d.ts +5 -0
- package/dist/types/i18n/tr.d.ts +5 -0
- package/dist/types/i18n/vi.d.ts +5 -0
- package/dist/types/i18n/zh.d.ts +5 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/react/marks/textColor.d.ts +2 -2
- package/dist/types/react/nodes/mediaInline.d.ts +7 -7
- package/dist/types/react/nodes/tableCell.d.ts +5 -62
- package/dist/types-ts4.5/i18n/da.d.ts +5 -0
- package/dist/types-ts4.5/i18n/de.d.ts +5 -0
- package/dist/types-ts4.5/i18n/es.d.ts +5 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +5 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +5 -0
- package/dist/types-ts4.5/i18n/it.d.ts +5 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +5 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +5 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +5 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +5 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +5 -0
- package/dist/types-ts4.5/i18n/th.d.ts +5 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +5 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +5 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +5 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -0
- package/dist/types-ts4.5/react/marks/textColor.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +7 -7
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +5 -62
- package/package.json +16 -9
|
@@ -5,27 +5,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.withSortableColumn = exports.TableHeader = exports.TableCell = void 0;
|
|
8
|
-
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
9
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
12
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
15
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
16
9
|
var _react = _interopRequireDefault(require("react"));
|
|
17
10
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
18
|
-
var
|
|
11
|
+
var _tokens = require("@atlaskit/tokens");
|
|
19
12
|
var _types = require("@atlaskit/editor-common/types");
|
|
20
13
|
var _editorPalette = require("@atlaskit/editor-palette");
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
15
|
var _SortingIcon = _interopRequireDefault(require("../../ui/SortingIcon"));
|
|
22
16
|
var _events = require("../../analytics/events");
|
|
23
17
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
24
18
|
var _consts = require("../../consts");
|
|
25
19
|
var _reactIntlNext = require("react-intl-next");
|
|
26
20
|
var _messages = require("../../messages");
|
|
27
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
28
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
29
21
|
var IgnoreSorting = ['LABEL', 'INPUT'];
|
|
30
22
|
var nextStatusOrder = function nextStatusOrder(currentSortOrder) {
|
|
31
23
|
switch (currentSortOrder) {
|
|
@@ -77,13 +69,76 @@ var getDataAttributes = function getDataAttributes(colwidth, background) {
|
|
|
77
69
|
}
|
|
78
70
|
return attrs;
|
|
79
71
|
};
|
|
80
|
-
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* This function is duplicated in
|
|
75
|
+
* - @atlaskit/adf-schema
|
|
76
|
+
* - ../marks/textColor.tsx
|
|
77
|
+
* it takes a color string, and if the color string is a hex or rgb value
|
|
78
|
+
* it will invert the color and return the inverted color.
|
|
79
|
+
*/
|
|
80
|
+
function invertCustomColor(customColor) {
|
|
81
|
+
var hex;
|
|
82
|
+
if ((0, _adfSchema.isHex)(customColor)) {
|
|
83
|
+
hex = customColor;
|
|
84
|
+
} else if ((0, _adfSchema.isRgb)(customColor)) {
|
|
85
|
+
hex = (0, _adfSchema.rgbToHex)(customColor);
|
|
86
|
+
} else {
|
|
87
|
+
return customColor;
|
|
88
|
+
}
|
|
89
|
+
var hexWithoutHash = hex.replace('#', '');
|
|
90
|
+
|
|
91
|
+
// This inverts the hex color by
|
|
92
|
+
// 1. converting the hex code to a number
|
|
93
|
+
// 2. XORing it with 0xffffff
|
|
94
|
+
// 3. Converting the result back to hex
|
|
95
|
+
// 4. Removing the leading 1 from the result
|
|
96
|
+
return "#".concat((Number("0x1".concat(hexWithoutHash)) ^ 0xffffff).toString(16).substring(1).toUpperCase());
|
|
97
|
+
}
|
|
98
|
+
var getStyle = function getStyle(_ref) {
|
|
99
|
+
var background = _ref.background,
|
|
100
|
+
colGroupWidth = _ref.colGroupWidth,
|
|
101
|
+
offsetTop = _ref.offsetTop,
|
|
102
|
+
colorMode = _ref.colorMode;
|
|
81
103
|
var style = {};
|
|
82
104
|
if (background &&
|
|
83
105
|
// ignore setting inline styles if ds neutral token is detected
|
|
84
106
|
!background.includes('--ds-background-neutral')) {
|
|
85
|
-
|
|
86
|
-
|
|
107
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.dm-invert-tablecell-bgcolor_9fz6s')) {
|
|
108
|
+
/**
|
|
109
|
+
* The Editor supports users pasting content from external sources with custom table cell backgrounds and having those
|
|
110
|
+
* backgrounds persisted.
|
|
111
|
+
*
|
|
112
|
+
* This feature predates the introduction of dark mode.
|
|
113
|
+
*
|
|
114
|
+
* Without the inversion logic below, tokenised content (ie. text), can be hard to read when the user loads the page in dark mode.
|
|
115
|
+
*
|
|
116
|
+
* This introduces inversion of the presentation of the custom background color when the user is in dark mode.
|
|
117
|
+
*
|
|
118
|
+
* This can be done without additional changes to account for users copying and pasting content inside the Editor, because of
|
|
119
|
+
* how we detect table cell background colors copied from external editor sources. Where we load the background color from a
|
|
120
|
+
* seperate attribute (data-cell-background), instead of the inline style.
|
|
121
|
+
*
|
|
122
|
+
* See the following document for more details on this behaviour
|
|
123
|
+
* https://hello.atlassian.net/wiki/spaces/CCECO/pages/2892247168/Unsupported+custom+table+cell+background+colors+in+dark+theme+Editor+Job+Story
|
|
124
|
+
*/
|
|
125
|
+
var tokenColor = (0, _editorPalette.hexToEditorBackgroundPaletteRawValue)(background);
|
|
126
|
+
if (tokenColor) {
|
|
127
|
+
style.backgroundColor = tokenColor;
|
|
128
|
+
} else {
|
|
129
|
+
// if we have a custom color, we need to check if we are in dark mode
|
|
130
|
+
if (colorMode === 'dark') {
|
|
131
|
+
// if we are in dark mode, we need to invert the color
|
|
132
|
+
style.backgroundColor = invertCustomColor(background);
|
|
133
|
+
} else {
|
|
134
|
+
// if we are in light mode, we can just set the color
|
|
135
|
+
style.backgroundColor = background;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
} else {
|
|
139
|
+
var _tokenColor = (0, _editorPalette.hexToEditorBackgroundPaletteRawValue)(background) || background;
|
|
140
|
+
style.backgroundColor = _tokenColor;
|
|
141
|
+
}
|
|
87
142
|
}
|
|
88
143
|
if (colGroupWidth) {
|
|
89
144
|
style.width = colGroupWidth;
|
|
@@ -94,128 +149,115 @@ var getStyle = function getStyle(background, colGroupWidth, offsetTop) {
|
|
|
94
149
|
}
|
|
95
150
|
return style;
|
|
96
151
|
};
|
|
97
|
-
var
|
|
98
|
-
return
|
|
99
|
-
(0,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
152
|
+
var getWithCellProps = function getWithCellProps(WrapperComponent) {
|
|
153
|
+
return function WithCellProps(props) {
|
|
154
|
+
var _useThemeObserver = (0, _tokens.useThemeObserver)(),
|
|
155
|
+
colorMode = _useThemeObserver.colorMode;
|
|
156
|
+
var children = props.children,
|
|
157
|
+
className = props.className,
|
|
158
|
+
onClick = props.onClick,
|
|
159
|
+
colwidth = props.colwidth,
|
|
160
|
+
colGroupWidth = props.colGroupWidth,
|
|
161
|
+
rowspan = props.rowspan,
|
|
162
|
+
colspan = props.colspan,
|
|
163
|
+
background = props.background,
|
|
164
|
+
offsetTop = props.offsetTop,
|
|
165
|
+
ariaSort = props.ariaSort;
|
|
166
|
+
|
|
167
|
+
// This is used to set the background color of the cell
|
|
168
|
+
// to a dark mode color in mobile dark mode
|
|
169
|
+
var colorName = background ? _adfSchema.tableBackgroundColorPalette.get(background) : '';
|
|
170
|
+
return /*#__PURE__*/_react.default.createElement(WrapperComponent, (0, _extends2.default)({
|
|
171
|
+
rowSpan: rowspan,
|
|
172
|
+
colSpan: colspan
|
|
173
|
+
// Note: When content from a renderer is pasted into an editor
|
|
174
|
+
// the background color is not taken from the inline style.
|
|
175
|
+
// Instead it is taken from the data-cell-background attribute
|
|
176
|
+
// (added via getDataAttributes below).
|
|
177
|
+
,
|
|
178
|
+
style: getStyle({
|
|
179
|
+
background: background,
|
|
180
|
+
colGroupWidth: colGroupWidth,
|
|
181
|
+
offsetTop: offsetTop,
|
|
182
|
+
colorMode: colorMode
|
|
183
|
+
}),
|
|
184
|
+
colorname: colorName,
|
|
185
|
+
onClick: onClick,
|
|
186
|
+
className: className
|
|
187
|
+
}, getDataAttributes(colwidth, background), {
|
|
188
|
+
"aria-sort": ariaSort
|
|
189
|
+
}), children);
|
|
190
|
+
};
|
|
134
191
|
};
|
|
192
|
+
var TH = getWithCellProps('th');
|
|
135
193
|
var withSortableColumn = exports.withSortableColumn = function withSortableColumn(WrapperComponent) {
|
|
136
|
-
|
|
137
|
-
(0,
|
|
138
|
-
var
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
tagName = _ref.tagName;
|
|
147
|
-
// trigger sorting if space or enter are clicked but not when in an input field (template variables)
|
|
148
|
-
if (keys.includes(event.key) && !IgnoreSorting.includes(tagName)) {
|
|
149
|
-
event.preventDefault();
|
|
150
|
-
_this.sort();
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "sort", function () {
|
|
154
|
-
var _this$props2 = _this.props,
|
|
155
|
-
fireAnalyticsEvent = _this$props2.fireAnalyticsEvent,
|
|
156
|
-
onSorting = _this$props2.onSorting,
|
|
157
|
-
columnIndex = _this$props2.columnIndex,
|
|
158
|
-
sortOrdered = _this$props2.sortOrdered;
|
|
159
|
-
if (onSorting && columnIndex != null) {
|
|
160
|
-
var sortOrder = nextStatusOrder(sortOrdered);
|
|
161
|
-
onSorting(columnIndex, sortOrder);
|
|
162
|
-
fireAnalyticsEvent && fireAnalyticsEvent({
|
|
163
|
-
action: _analytics.ACTION.SORT_COLUMN,
|
|
164
|
-
actionSubject: _analytics.ACTION_SUBJECT.TABLE,
|
|
165
|
-
attributes: {
|
|
166
|
-
platform: _events.PLATFORM.WEB,
|
|
167
|
-
mode: _events.MODE.RENDERER,
|
|
168
|
-
columnIndex: columnIndex,
|
|
169
|
-
sortOrder: sortOrder
|
|
170
|
-
},
|
|
171
|
-
eventType: _analytics.EVENT_TYPE.TRACK
|
|
172
|
-
});
|
|
173
|
-
} else {
|
|
174
|
-
fireAnalyticsEvent && fireAnalyticsEvent({
|
|
175
|
-
action: _analytics.ACTION.SORT_COLUMN_NOT_ALLOWED,
|
|
176
|
-
actionSubject: _analytics.ACTION_SUBJECT.TABLE,
|
|
177
|
-
attributes: {
|
|
178
|
-
platform: _events.PLATFORM.WEB,
|
|
179
|
-
mode: _events.MODE.RENDERER
|
|
180
|
-
},
|
|
181
|
-
eventType: _analytics.EVENT_TYPE.TRACK
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
return _this;
|
|
194
|
+
return function THWithSortableColumn(props) {
|
|
195
|
+
var intl = (0, _reactIntlNext.useIntl)();
|
|
196
|
+
var allowColumnSorting = props.allowColumnSorting,
|
|
197
|
+
onSorting = props.onSorting,
|
|
198
|
+
children = props.children,
|
|
199
|
+
sortOrdered = props.sortOrdered,
|
|
200
|
+
isHeaderRow = props.isHeaderRow;
|
|
201
|
+
var sortOrderedClassName = sortOrdered === _types.SortOrder.NO_ORDER ? _consts.RendererCssClassName.SORTABLE_COLUMN_NO_ORDER : '';
|
|
202
|
+
if (!allowColumnSorting || !isHeaderRow) {
|
|
203
|
+
return /*#__PURE__*/_react.default.createElement(WrapperComponent, props);
|
|
186
204
|
}
|
|
187
|
-
(0,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
205
|
+
return /*#__PURE__*/_react.default.createElement(WrapperComponent, (0, _extends2.default)({}, props, {
|
|
206
|
+
className: _consts.RendererCssClassName.SORTABLE_COLUMN_WRAPPER,
|
|
207
|
+
ariaSort: getSortOrderLabel(intl, sortOrdered)
|
|
208
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
209
|
+
className: _consts.RendererCssClassName.SORTABLE_COLUMN
|
|
210
|
+
}, children, /*#__PURE__*/_react.default.createElement("figure", {
|
|
211
|
+
className: "".concat(_consts.RendererCssClassName.SORTABLE_COLUMN_ICON_WRAPPER, " ").concat(sortOrderedClassName)
|
|
212
|
+
}, /*#__PURE__*/_react.default.createElement(_SortingIcon.default, {
|
|
213
|
+
isSortingAllowed: !!onSorting,
|
|
214
|
+
sortOrdered: sortOrdered,
|
|
215
|
+
onClick: sort,
|
|
216
|
+
onKeyDown: onKeyPress
|
|
217
|
+
}))));
|
|
218
|
+
function onKeyPress(event) {
|
|
219
|
+
var keys = [' ', 'Enter', 'Spacebar'];
|
|
220
|
+
var _ref2 = event.target,
|
|
221
|
+
tagName = _ref2.tagName;
|
|
222
|
+
// trigger sorting if space or enter are clicked but not when in an input field (template variables)
|
|
223
|
+
if (keys.includes(event.key) && !IgnoreSorting.includes(tagName)) {
|
|
224
|
+
event.preventDefault();
|
|
225
|
+
sort();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function sort() {
|
|
229
|
+
var fireAnalyticsEvent = props.fireAnalyticsEvent,
|
|
230
|
+
onSorting = props.onSorting,
|
|
231
|
+
columnIndex = props.columnIndex,
|
|
232
|
+
sortOrdered = props.sortOrdered;
|
|
233
|
+
if (onSorting && columnIndex != null) {
|
|
234
|
+
var sortOrder = nextStatusOrder(sortOrdered);
|
|
235
|
+
onSorting(columnIndex, sortOrder);
|
|
236
|
+
fireAnalyticsEvent && fireAnalyticsEvent({
|
|
237
|
+
action: _analytics.ACTION.SORT_COLUMN,
|
|
238
|
+
actionSubject: _analytics.ACTION_SUBJECT.TABLE,
|
|
239
|
+
attributes: {
|
|
240
|
+
platform: _events.PLATFORM.WEB,
|
|
241
|
+
mode: _events.MODE.RENDERER,
|
|
242
|
+
columnIndex: columnIndex,
|
|
243
|
+
sortOrder: sortOrder
|
|
244
|
+
},
|
|
245
|
+
eventType: _analytics.EVENT_TYPE.TRACK
|
|
246
|
+
});
|
|
247
|
+
} else {
|
|
248
|
+
fireAnalyticsEvent && fireAnalyticsEvent({
|
|
249
|
+
action: _analytics.ACTION.SORT_COLUMN_NOT_ALLOWED,
|
|
250
|
+
actionSubject: _analytics.ACTION_SUBJECT.TABLE,
|
|
251
|
+
attributes: {
|
|
252
|
+
platform: _events.PLATFORM.WEB,
|
|
253
|
+
mode: _events.MODE.RENDERER
|
|
254
|
+
},
|
|
255
|
+
eventType: _analytics.EVENT_TYPE.TRACK
|
|
256
|
+
});
|
|
214
257
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
}(_react.default.Component);
|
|
218
|
-
return (0, _reactIntlNext.injectIntl)(WithSortableColumn);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
219
260
|
};
|
|
220
|
-
var TableHeader = exports.TableHeader =
|
|
221
|
-
var
|
|
261
|
+
var TableHeader = exports.TableHeader = withSortableColumn(TH);
|
|
262
|
+
var TD = getWithCellProps('td');
|
|
263
|
+
var TableCell = exports.TableCell = TD;
|
package/dist/cjs/ui/MediaCard.js
CHANGED
|
@@ -18,7 +18,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
18
18
|
var _react = _interopRequireWildcard(require("react"));
|
|
19
19
|
var _traverse = require("@atlaskit/adf-utils/traverse");
|
|
20
20
|
var _mediaCard = require("@atlaskit/media-card");
|
|
21
|
-
var
|
|
21
|
+
var _mediaClientReact = require("@atlaskit/media-client-react");
|
|
22
22
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
23
23
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -73,7 +73,7 @@ var MediaCardInternal = exports.MediaCardInternal = /*#__PURE__*/function (_Comp
|
|
|
73
73
|
while (1) switch (_context.prev = _context.next) {
|
|
74
74
|
case 0:
|
|
75
75
|
collectionName = _this.props.collection;
|
|
76
|
-
mediaClient = (0,
|
|
76
|
+
mediaClient = (0, _mediaClientReact.getMediaClient)(mediaClientConfig);
|
|
77
77
|
options = {
|
|
78
78
|
collectionName: collectionName
|
|
79
79
|
};
|
|
@@ -53,7 +53,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
53
53
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
54
54
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
55
55
|
var packageName = "@atlaskit/renderer";
|
|
56
|
-
var packageVersion = "108.15.
|
|
56
|
+
var packageVersion = "108.15.16";
|
|
57
57
|
var Renderer = exports.Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
58
58
|
(0, _inherits2.default)(Renderer, _PureComponent);
|
|
59
59
|
var _super = _createSuper(Renderer);
|
|
@@ -110,7 +110,7 @@ var fullWidthStyles = function fullWidthStyles(_ref5) {
|
|
|
110
110
|
return (0, _react.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n max-width: ", "px;\n margin: 0 auto;\n\n .fabric-editor-breakout-mark,\n .ak-renderer-extension {\n width: 100% !important;\n }\n\n ", "\n "])), _editorSharedStyles.akEditorFullWidthLayoutWidth, (0, _table.isTableResizingEnabled)(appearance) ? '' : "\n .pm-table-container {\n width: 100% !important;\n }\n ");
|
|
111
111
|
};
|
|
112
112
|
var breakoutWidthStyle = function breakoutWidthStyle() {
|
|
113
|
-
return (0, _react.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n *:not([data-mark-type='fragment'])\n .", " {\n width: 100
|
|
113
|
+
return (0, _react.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n *:not([data-mark-type='fragment'])\n .", " {\n // TODO - improve inline style logic on table container so important styles aren't required here\n width: 100% !important;\n left: 0 !important;\n }\n\n [data-mark-type='fragment'] * .", " {\n // TODO - improve inline style logic on table container so important styles aren't required here\n width: 100% !important;\n left: 0 !important;\n }\n "])), _styles.TableSharedCssClassName.TABLE_CONTAINER, _styles.TableSharedCssClassName.TABLE_CONTAINER);
|
|
114
114
|
};
|
|
115
115
|
var getShadowOverrides = function getShadowOverrides() {
|
|
116
116
|
return (0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.increase-shadow-visibility_lh89r') ? (0, _react.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n /** Shadow overrides */\n &.", "::after,\n &.", "::before {\n width: ", "px;\n background: linear-gradient(\n to left,\n transparent 0,\n ", " 140%\n ),\n linear-gradient(\n to right,\n ", " 0px,\n transparent 1px\n );\n }\n\n &.", "::after {\n background: linear-gradient(\n to right,\n transparent 0,\n ", " 140%\n ),\n linear-gradient(\n to left,\n ", " 0px,\n transparent 1px\n );\n left: calc(100% - ", "px);\n }\n "])), _ui.shadowClassNames.RIGHT_SHADOW, _ui.shadowClassNames.LEFT_SHADOW, tableShadowWidth, "var(--ds-shadow-overflow-spread, ".concat(_colors.N40A, ")"), "var(--ds-shadow-overflow-perimeter, transparent)", _ui.shadowClassNames.RIGHT_SHADOW, "var(--ds-shadow-overflow-spread, ".concat(_colors.N40A, ")"), "var(--ds-shadow-overflow-perimeter, transparent)", tableShadowWidth) : '';
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiering mislykkedes',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ En tabel med flettede celler kan ikke sorteres',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sortér kolonnen fra A til Å',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'ingen'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'ingen',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Stigende sortering anvendt',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sortér kolonnen',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Faldende sortering anvendt',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Du kan ikke sortere en tabel med flettede celler',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Ingen sortering anvendt på kolonnen'
|
|
21
26
|
};
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopieren ist fehlgeschlagen',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Tabellen mit zusammengeführten Zellen können nicht sortiert werden.',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Spalte von A nach Z sortieren',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Keine'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Keine',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Aufsteigend sortiert',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Spalte sortieren',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Absteigend sortiert',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Tabellen mit zusammengeführten Zellen können nicht sortiert werden.',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Keine Sortierung auf die Spalte angewendet'
|
|
21
26
|
};
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copia fallida',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ No puedes ordenar una tabla con celdas combinadas',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Ordenar columna de la A a la Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'ninguno'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'ninguno',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Se ha aplicado el orden ascendente',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Ordenar la columna',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Se ha aplicado el orden descendente',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'No puedes ordenar una tabla con celdas combinadas',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No hay ningún orden aplicado a la columna'
|
|
21
26
|
};
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copie impossible',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Impossible de trier un tableau comportant des cellules fusionnées',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Trier la colonne de A à Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Néant'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Néant',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Tri par ordre croissant appliqué',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Trier la colonne',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Tri par ordre décroissant appliqué',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Impossible de trier un tableau comportant des cellules fusionnées',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Aucun tri appliqué à la colonne'
|
|
21
26
|
};
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'A másolás nem sikerült',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Nem rendezhetsz egyesített cellákat tartalmazó táblázatot',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Oszlop rendezése: A → Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Nincs'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Nincs',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Növekvő sorrendbe állítva',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Oszlop rendezése',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Csökkenő sorrendbe állítva',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Nem rendezhetsz egyesített cellákat tartalmazó táblázatot',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Az oszlop nincs rendezve'
|
|
21
26
|
};
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copia non riuscita',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Non puoi ordinare una tabella con celle unite',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Ordina colonna da A a Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'nessuno'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nessuno',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ordinamento crescente applicato',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Ordina la colonna',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Ordinamento decrescente applicato',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Non puoi ordinare una tabella con celle unite',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Nessun ordinamento applicato alla colonna'
|
|
21
26
|
};
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': '복사 실패',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ 병합된 셀이 있는 표를 정렬할 수 없습니다',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': '오름차순으로 열 정렬',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': '없음'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': '없음',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': '오름차순 정렬 적용',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': '열 정렬',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': '내림차순 정렬 적용',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': '병합된 셀이 있는 표를 정렬할 수 없습니다',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': '열에 적용한 정렬이 없습니다'
|
|
21
26
|
};
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiering mislyktes',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Du kan ikke sortere en tabell med sammenslåtte celler',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sorter kolonne A til Å',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'ingen'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'ingen',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Stigende sortering brukt',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sorter kolonnen',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Synkende sortering brukt',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Du kan ikke sortere en tabell med sammenslåtte celler',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Ingen sortering brukt for kolonnen'
|
|
21
26
|
};
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiëren mislukt',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Je kan een tabel met samengevoegde cellen niet rangschikken',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Rangschik kolom van A tot Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Geen'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Geen',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Oplopende sortering toegepast',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sorteer de kolom',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Aflopende sortering toegepast',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Je kunt een tabel met samengevoegde cellen niet rangschikken',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Geen sortering toegepast op de kolom'
|
|
21
26
|
};
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiowanie nie powiodło się',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Nie można sortować tabeli ze scalonymi komórkami',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sortuj kolumnę od A do Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Brak'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Brak',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Posortowano rosnąco',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sortuj kolumnę',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Posortowano malejąco',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Nie można sortować tabeli ze scalonymi komórkami',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Do kolumny nie zastosowano żadnego sortowania'
|
|
21
26
|
};
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiering misslyckades',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Du kan inte sortera en panelvy med sammanslagna celler',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sortera kolumn A till Ö',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Ingen'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Ingen',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Stigande sortering används',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sortera kolumnen',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Fallande sortering används',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Du kan inte sortera en tabell med sammanslagna celler',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Ingen sortering används på kolumnen'
|
|
21
26
|
};
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'การคัดลอกไม่สำเร็จ',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ คุณไม่สามารถจัดเรียงตารางด้วยช่องข้อมูลที่ถูกรวมได้',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'เรียงจากคอลัมน์ A ไป Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'ไม่มี'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'ไม่มี',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'ใช้การเรียงลำดับจากน้อยไปมาก',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'จัดเรียงคอลัมน์',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'ใช้การเรียงลำดับจากมากไปน้อย',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'คุณไม่สามารถจัดเรียงตารางด้วยช่องข้อมูลที่ถูกรวมได้',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'ไม่มีการใช้การจัดเรียงกับคอลัมน์'
|
|
21
26
|
};
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopyalama işlemi başarısız oldu',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Birleştirilmiş hücre içeren bir tabloyu sıralayamazsınız',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': "Sütunu A'dan Z'ye sırala",
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'yok'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'yok',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Artan biçimde sıralama uygulandı',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sütunu sırala',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Azalan biçimde sıralama uygulandı',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Birleştirilmiş hücreler içeren bir tabloyu sıralayamazsınız',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Sütuna sıralama uygulanmadı'
|
|
21
26
|
};
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -22,5 +22,5 @@ export default {
|
|
|
22
22
|
'fabric.editor.tableHeader.sorting.default': 'Сортувати стовпець',
|
|
23
23
|
'fabric.editor.tableHeader.sorting.desc': 'Застосовано сортування за спаданням',
|
|
24
24
|
'fabric.editor.tableHeader.sorting.invalid': 'Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
25
|
-
'fabric.editor.tableHeader.sorting.no': '
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Стовпець не сортувався'
|
|
26
26
|
};
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Sao chép không thành công',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Bạn không thể sắp xếp bảng có các ô đã hợp nhất',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sắp xếp cột theo thứ tự từ A đến Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'không có'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'không có',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Đã áp dụng kiểu sắp xếp tăng dần',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sắp xếp cột',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Đã áp dụng kiểu sắp xếp giảm dần',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Bạn không thể sắp xếp bảng có các ô đã hợp nhất',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Không có kiểu sắp xếp nào được áp dụng cho cột'
|
|
21
26
|
};
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': '复制失败',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ 无法对包含合并单元格的表格进行排序',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': '按照 A 到 Z 进行列排序',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': '无'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': '无',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': '已应用升序排序',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': '对列进行排序',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': '已应用降序排序',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': '无法对包含合并单元格的表格进行排序',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': '未对该列应用任何排序'
|
|
21
26
|
};
|
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': '複製失敗',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ 您無法排序包含合併儲存格的表格',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': '從 A 欄排序到 Z 欄',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': '無'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': '無',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': '已套用遞增排序',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': '排序直欄',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': '已套用遞減排序',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': '您無法使用合併的儲存格來排序表格',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': '沒有套用至直欄的排序'
|
|
21
26
|
};
|