dtable-ui-component 5.3.6 → 5.3.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/lib/ButtonFormatter/index.js +8 -2
- package/lib/CheckboxEditor/index.css +8 -20
- package/lib/CheckboxEditor/index.js +98 -35
- package/lib/CheckboxFormatter/index.css +5 -0
- package/lib/CheckboxFormatter/index.js +9 -15
- package/lib/CollaboratorEditor/index.css +12 -35
- package/lib/CollaboratorEditor/index.js +18 -212
- package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.js +27 -30
- package/lib/CollaboratorEditor/pc-collaborator-editor/index.js +257 -0
- package/lib/CollaboratorItem/index.css +5 -1
- package/lib/CollaboratorItem/index.js +6 -2
- package/lib/Comment/body/comment.js +190 -0
- package/lib/Comment/body/index.css +95 -0
- package/lib/Comment/body/index.js +32 -0
- package/lib/Comment/footer/btns/index.css +40 -0
- package/lib/Comment/footer/btns/index.js +113 -0
- package/lib/Comment/footer/index.css +157 -0
- package/lib/Comment/footer/index.js +169 -0
- package/lib/Comment/footer/input/index.css +52 -0
- package/lib/Comment/footer/input/index.js +448 -0
- package/lib/Comment/footer/input/participant/index.css +0 -0
- package/lib/Comment/footer/input/participant/index.js +53 -0
- package/lib/Comment/footer/participants/index.css +22 -0
- package/lib/Comment/footer/participants/index.js +68 -0
- package/lib/Comment/footer/participants/participant/index.css +5 -0
- package/lib/Comment/footer/participants/participant/index.js +32 -0
- package/lib/Comment/footer/participants/participant-select/index.css +104 -0
- package/lib/Comment/footer/participants/participant-select/index.js +182 -0
- package/lib/Comment/index.css +19 -0
- package/lib/Comment/index.js +304 -0
- package/lib/Comment/model.js +25 -0
- package/lib/Comment/utils/common.js +62 -0
- package/lib/Comment/utils/index.js +27 -0
- package/lib/Comment/utils/utilities.js +176 -0
- package/lib/DTableCustomizeSelect/index.js +2 -2
- package/lib/DTableFiltersPopover/utils/index.js +1 -7
- package/lib/DTableFiltersPopover/widgets/filter-calendar.js +2 -2
- package/lib/DTableGroupSelect/index.js +3 -3
- package/lib/DTableSelect/index.js +3 -1
- package/lib/DateEditor/index.js +14 -51
- package/lib/DateEditor/pc-date-editor-popover.js +149 -12
- package/lib/{common/delete-tip.js → DeleteTip/index.js} +12 -16
- package/lib/Department-editor/department-single-select.js +1 -1
- package/lib/Department-editor/index.js +3 -4
- package/lib/DepartmentSingleSelectFormatter/index.js +3 -2
- package/lib/DigitalSignEditor/constants.js +7 -0
- package/lib/DigitalSignEditor/index.css +69 -0
- package/lib/DigitalSignEditor/index.js +182 -0
- package/lib/DigitalSignEditor/service.js +39 -0
- package/lib/DigitalSignEditor/signature-board/index.css +35 -0
- package/lib/DigitalSignEditor/signature-board/index.js +135 -0
- package/lib/DigitalSignEditor/signature-board/signature-tool.js +396 -0
- package/lib/DigitalSignEditor/utils.js +29 -0
- package/lib/DurationEditor/index.js +110 -0
- package/lib/EmailEditor/index.js +58 -0
- package/lib/FileEditor/addition-previewer/index.css +1 -0
- package/lib/FileEditor/addition-previewer/index.js +52 -0
- package/lib/FileEditor/addition-previewer/local-file-addition/index.css +1 -0
- package/lib/FileEditor/addition-previewer/local-file-addition/index.js +252 -0
- package/lib/FileEditor/constants.js +7 -0
- package/lib/FileEditor/files-previewer/file-previewer/dropdown-menu.js +74 -0
- package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.css +5 -0
- package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.js +77 -0
- package/lib/FileEditor/files-previewer/file-previewer/index.css +88 -0
- package/lib/FileEditor/files-previewer/file-previewer/index.js +167 -0
- package/lib/FileEditor/files-previewer/index.css +56 -0
- package/lib/FileEditor/files-previewer/index.js +277 -0
- package/lib/FileEditor/index.css +6 -0
- package/lib/FileEditor/index.js +258 -11
- package/lib/FileEditor/utils.js +22 -0
- package/lib/FileItemFormatter/index.js +19 -20
- package/lib/FileUploader/index.css +9 -0
- package/lib/FileUploader/index.js +268 -14
- package/lib/FormulaFormatter/cell-value-validator.js +17 -17
- package/lib/FormulaFormatter/index.js +2 -1
- package/lib/FormulaFormatter/utils.js +0 -31
- package/lib/GeolocationEditor/country-editor.js +319 -0
- package/lib/GeolocationEditor/index.css +641 -0
- package/lib/GeolocationEditor/index.js +240 -0
- package/lib/GeolocationEditor/location-editor.js +368 -0
- package/lib/GeolocationEditor/map-editor/index.js +456 -0
- package/lib/GeolocationEditor/map-editor/large-editor/index.css +137 -0
- package/lib/GeolocationEditor/map-editor/large-editor/index.js +461 -0
- package/lib/GeolocationEditor/map-editor-utils.js +153 -0
- package/lib/GeolocationEditor/map-selection-editor/index.js +455 -0
- package/lib/GeolocationEditor/map-selection-editor/large-editor/index.css +1 -0
- package/lib/GeolocationEditor/map-selection-editor/large-editor/index.js +447 -0
- package/lib/GeolocationEditor/parse-geolocation.js +282 -0
- package/lib/GeolocationEditor/province-city-editor.js +292 -0
- package/lib/GeolocationEditor/province-editor.js +226 -0
- package/lib/GeolocationEditor/selector-header-item.js +28 -0
- package/lib/GeolocationEditor/selector-list.js +33 -0
- package/lib/ImageEditor/addition-previewer/image-link/index.css +45 -0
- package/lib/ImageEditor/addition-previewer/image-link/index.js +73 -0
- package/lib/ImageEditor/addition-previewer/index.css +106 -0
- package/lib/ImageEditor/addition-previewer/index.js +63 -0
- package/lib/ImageEditor/addition-previewer/local-image-addition/index.css +125 -0
- package/lib/ImageEditor/addition-previewer/local-image-addition/index.js +254 -0
- package/lib/ImageEditor/constants.js +7 -0
- package/lib/ImageEditor/images-previewer/image-preview/index.css +59 -0
- package/lib/ImageEditor/images-previewer/image-preview/index.js +155 -0
- package/lib/ImageEditor/images-previewer/index.css +18 -0
- package/lib/ImageEditor/images-previewer/index.js +140 -0
- package/lib/ImageEditor/index.css +24 -0
- package/lib/ImageEditor/index.js +194 -0
- package/lib/ImageThumbnail/index.css +20 -0
- package/lib/ImageThumbnail/index.js +136 -0
- package/lib/LinkEditor/index.js +2 -3
- package/lib/LinkEditor/pc-link-editor-popover/index.js +1 -1
- package/lib/MultipleSelectEditor/index.js +16 -177
- package/lib/NumberEditor/index.js +63 -77
- package/lib/RowExpandDialog/body/index.css +21 -0
- package/lib/RowExpandDialog/body/index.js +262 -0
- package/lib/RowExpandDialog/column-content/index.css +48 -0
- package/lib/RowExpandDialog/column-content/index.js +50 -0
- package/lib/RowExpandDialog/header/index.css +31 -0
- package/lib/RowExpandDialog/header/index.js +55 -0
- package/lib/RowExpandDialog/index.css +28 -0
- package/lib/RowExpandDialog/index.js +237 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/index.css +22 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/index.js +24 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.css +18 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.js +43 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.css +5 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.js +232 -0
- package/lib/RowExpandEditor/RowExpandDateEditor/index.js +130 -0
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/index.js +106 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.css +13 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.js +208 -0
- package/lib/RowExpandEditor/RowExpandDurationEditor/index.js +105 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +2 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.js +125 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/index.js +147 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.css +17 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.js +165 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/index.css +6 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/index.js +170 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/index.css +6 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/index.js +123 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.css +44 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.js +224 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/index.js +105 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.css +13 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.js +152 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.css +58 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.js +193 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/index.css +4 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/index.js +127 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/index.css +31 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/index.js +130 -0
- package/lib/RowExpandEditor/constants.js +44 -0
- package/lib/RowExpandEditor/index.css +0 -0
- package/lib/RowExpandEditor/index.js +32 -0
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/index.js +27 -0
- package/lib/{RowExpandEmailFormatter → RowExpandFormatter/RowExpandEmailFormatter}/index.css +1 -1
- package/lib/{RowExpandEmailFormatter → RowExpandFormatter/RowExpandEmailFormatter}/index.js +1 -1
- package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/index.css +6 -6
- package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/index.js +3 -1
- package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/row-expand-file-item-formatter.js +12 -13
- package/lib/{RowExpandFormulaFormatter → RowExpandFormatter/RowExpandFormulaFormatter}/index.js +11 -10
- package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.css +6 -6
- package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.js +1 -1
- package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/row-expand-image-item-formatter.js +5 -5
- package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/collaborator-item-formatter.js +1 -1
- package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/index.css +2 -2
- package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/index.js +20 -20
- package/lib/{RowExpandRateFormatter → RowExpandFormatter/RowExpandRateFormatter}/index.css +1 -1
- package/lib/RowExpandFormatter/RowExpandUrlFormatter/index.css +1 -0
- package/lib/{RowExpandUrlFormatter → RowExpandFormatter/RowExpandUrlFormatter}/index.js +4 -3
- package/lib/RowExpandFormatter/constants.js +61 -0
- package/lib/RowExpandFormatter/index.css +28 -3
- package/lib/RowExpandFormatter/index.js +111 -130
- package/lib/SingleSelectEditor/index.js +16 -156
- package/lib/SvgIcon/index.css +11 -0
- package/lib/SvgIcon/index.js +29 -0
- package/lib/TextEditor/index.js +112 -42
- package/lib/UploadProgress/index.js +38 -0
- package/lib/UrlEditor/index.js +61 -0
- package/lib/common/editor-base.js +52 -0
- package/lib/constants/file.js +96 -0
- package/lib/constants/index.js +27 -15
- package/lib/constants/key-codes.js +109 -0
- package/lib/css/cell-editor.css +18 -2
- package/lib/formatterConfig/base-formatter-config.js +23 -23
- package/lib/formatterConfig/index.js +3 -3
- package/lib/hooks/index.js +16 -0
- package/lib/index.js +81 -46
- package/lib/lang/index.js +19 -16
- package/lib/locales/de.json +167 -0
- package/lib/locales/en.json +167 -0
- package/lib/locales/es.json +167 -0
- package/lib/locales/fr.json +167 -0
- package/lib/locales/pt.json +167 -0
- package/lib/locales/ru.json +167 -0
- package/lib/locales/zh-CN.json +167 -0
- package/lib/select-editor/index.js +6 -6
- package/lib/select-editor/{mb-select-editor-popover → mb-select-editor}/index.js +3 -3
- package/lib/select-editor/pc-select-editor/index.css +85 -0
- package/lib/select-editor/pc-select-editor/index.js +290 -0
- package/lib/utils/cell-comparer.js +35 -0
- package/lib/utils/cell.js +55 -0
- package/lib/utils/column-utils.js +25 -0
- package/lib/utils/editor-utils.js +1 -6
- package/lib/utils/get-event-transfer.js +75 -0
- package/lib/utils/hotkey.js +37 -0
- package/lib/utils/object-utils.js +61 -0
- package/lib/utils/url.js +121 -8
- package/lib/utils/utils.js +119 -2
- package/package.json +3 -2
- package/lib/CollaboratorEditor/pc-collaborator-editor-popover/index.js +0 -97
- package/lib/FileEditor/pc-files-addition/index.js +0 -1
- package/lib/FileEditor/pc-files-addition/pc-file-uploaded-item.js +0 -1
- package/lib/FileEditor/pc-files-preview/index.js +0 -1
- package/lib/FileEditor/pc-files-preview/pc-file-item-preview.js +0 -1
- package/lib/FileItemFormatter/assets/file/192/excel.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/file.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/music.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/pdf.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/pic.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/ppt.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/txt.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/video.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/word.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/excel.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/file.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/music.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/pdf.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/pic.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/ppt.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/txt.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/video.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/word.png +0 -0
- package/lib/FileItemFormatter/assets/folder/folder-192.png +0 -0
- package/lib/FileItemFormatter/assets/folder/folder-24.png +0 -0
- package/lib/FileItemFormatter/utils.js +0 -99
- package/lib/MultipleSelectEditor/index.css +0 -9
- package/lib/RowExpandLinkFormatter/utils.js +0 -71
- package/lib/RowExpandUrlFormatter/index.css +0 -1
- package/lib/SingleSelectEditor/index.css +0 -14
- package/lib/common/modal-portal.js +0 -26
- package/lib/locals/de.js +0 -103
- package/lib/locals/en.js +0 -104
- package/lib/locals/es.js +0 -103
- package/lib/locals/fr.js +0 -103
- package/lib/locals/pt.js +0 -103
- package/lib/locals/ru.js +0 -103
- package/lib/locals/zh-CN.js +0 -104
- package/lib/select-editor/pc-select-editor-popover/index.css +0 -71
- package/lib/select-editor/pc-select-editor-popover/index.js +0 -122
- /package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.css +0 -0
- /package/lib/CollaboratorEditor/{pc-collaborator-editor-popover → pc-collaborator-editor}/index.css +0 -0
- /package/lib/{common/delete-tip.css → DeleteTip/index.css} +0 -0
- /package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/value-display-utils.js +0 -0
- /package/lib/{RowExpandRateFormatter → RowExpandFormatter/RowExpandRateFormatter}/index.js +0 -0
- /package/lib/select-editor/{mb-select-editor-popover → mb-select-editor}/index.css +0 -0
package/lib/locals/ru.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/* eslint-disable quotes */
|
|
8
|
-
const ru = {
|
|
9
|
-
"Add_an_option": "Add an option",
|
|
10
|
-
"Search_option": "Search option",
|
|
11
|
-
"No_options_available": "Нет доступных вариантов.",
|
|
12
|
-
"Current_option": "Текущая опция",
|
|
13
|
-
"No_option": "Нет опций",
|
|
14
|
-
"Choose_an_option": "Choose an option",
|
|
15
|
-
"Add_a_collaborator": "Add a collaborator",
|
|
16
|
-
"Search_collaborator": "Найти сотрудников",
|
|
17
|
-
"No_collaborators_available": "Нет сотрудников.",
|
|
18
|
-
"Done": "Выполнено",
|
|
19
|
-
"Choose_a_collaborator": "Choose a collaborator",
|
|
20
|
-
"Please_input": "Please input",
|
|
21
|
-
"Please_select": "Please select",
|
|
22
|
-
"Clear": "Очистить",
|
|
23
|
-
"Are_you_sure_you_want_to_delete_this_image": "Are you sure you want to delete this image?",
|
|
24
|
-
"Are_you_sure_you_want_to_delete_this_file": "Are you sure you want to delete this file?",
|
|
25
|
-
"Cancel": "Отменить",
|
|
26
|
-
"Delete": "Удалить",
|
|
27
|
-
"Search_department": "Search department",
|
|
28
|
-
"No_departments_available": "No departments available",
|
|
29
|
-
"Current_user_department": "Current user's department",
|
|
30
|
-
"Current_user_department_and_sub": "Current user's department and sub-departments",
|
|
31
|
-
"Specific_departments": "Specific departments",
|
|
32
|
-
"Deleted_department": "Deleted department",
|
|
33
|
-
"Add_filter": "Добавить фильтр",
|
|
34
|
-
"Submit": "Сохранить",
|
|
35
|
-
"No_filters": "No filters",
|
|
36
|
-
"Select_an_option": "Выберите опцию",
|
|
37
|
-
"Add_collaborator": "Add collaborator",
|
|
38
|
-
"Add_a_creator": "Добавить создателя",
|
|
39
|
-
"Add_a_last_modifier": "Добавить последний изменивший",
|
|
40
|
-
"Invalid_filter": "Invalid filter",
|
|
41
|
-
"Search_column": "Search column",
|
|
42
|
-
"No_results": "Нет результатов.",
|
|
43
|
-
"Select_option(s)": "Выберите опцию(и)",
|
|
44
|
-
"contains": "содержит",
|
|
45
|
-
"does_not_contain": "не содержит",
|
|
46
|
-
"is": "является",
|
|
47
|
-
"is_not": "не является",
|
|
48
|
-
"equal": "=",
|
|
49
|
-
"not_equal": "≠",
|
|
50
|
-
"less": "<",
|
|
51
|
-
"greater": ">",
|
|
52
|
-
"less_or_equal": "≤",
|
|
53
|
-
"greater_or_equal": "≥",
|
|
54
|
-
"is_empty": "пусто",
|
|
55
|
-
"is_not_empty": "не пусто",
|
|
56
|
-
"include_me": "включить текущего пользователя",
|
|
57
|
-
"is_within": "внутри...",
|
|
58
|
-
"is_before": "раньше ...",
|
|
59
|
-
"is_after": "после ...",
|
|
60
|
-
"is_on_or_before": "сейчас или раньше ...",
|
|
61
|
-
"is_on_or_after": "сейчас или после ...",
|
|
62
|
-
"has_any_of": "имеет какой-либо из ...",
|
|
63
|
-
"has_all_of": "есть все ...",
|
|
64
|
-
"has_none_of": "не имеет ни одного из них...",
|
|
65
|
-
"is_exactly": "точно ...",
|
|
66
|
-
"is_current_user_ID": "это идентификатор текущего пользователя",
|
|
67
|
-
"Current_date": "Current date",
|
|
68
|
-
"Specific_date": "Specific date",
|
|
69
|
-
"x_days_before_current_date": "X days before current date",
|
|
70
|
-
"x_days_after_current_date": "X days after current date",
|
|
71
|
-
"is_any_of": "любой из ...",
|
|
72
|
-
"is_none_of": "кроме ...",
|
|
73
|
-
"today": "Сегодня",
|
|
74
|
-
"tomorrow": "завтра",
|
|
75
|
-
"yesterday": "вчера",
|
|
76
|
-
"one_week_ago": "неделю назад",
|
|
77
|
-
"one_week_from_now": "через неделю",
|
|
78
|
-
"one_month_ago": "месяц назад",
|
|
79
|
-
"one_month_from_now": "через месяц",
|
|
80
|
-
"number_of_days_ago": "количество дней назад",
|
|
81
|
-
"number_of_days_from_now": "количество дней с этого момента",
|
|
82
|
-
"exact_date": "точная дата",
|
|
83
|
-
"the_past_week": "прошлая неделя",
|
|
84
|
-
"the_past_month": "прошлый месяц",
|
|
85
|
-
"the_past_year": "прошлый год",
|
|
86
|
-
"the_next_week": "на следующей неделе",
|
|
87
|
-
"the_next_month": "в следующем месяце",
|
|
88
|
-
"the_next_year": "в следующем году",
|
|
89
|
-
"the_next_numbers_of_days": "через дней...",
|
|
90
|
-
"the_past_numbers_of_days": "до дней ...",
|
|
91
|
-
"this_week": "на этой неделе",
|
|
92
|
-
"this_month": "в этом месяце",
|
|
93
|
-
"this_year": "в этом году",
|
|
94
|
-
"last_week": "last week",
|
|
95
|
-
"last_month": "last month",
|
|
96
|
-
"last_year": "last year",
|
|
97
|
-
"URL_is_invalid": "URL-адрес недействителен",
|
|
98
|
-
"Select_department": "Select department",
|
|
99
|
-
"Default": "Нарушение обязательств",
|
|
100
|
-
"Custom": "Обычаи",
|
|
101
|
-
"Recently_used": "Недавно использованный"
|
|
102
|
-
};
|
|
103
|
-
var _default = exports.default = ru;
|
package/lib/locals/zh-CN.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/* eslint-disable quotes */
|
|
8
|
-
const zh_CN = {
|
|
9
|
-
"Add_an_option": "添加一个选项",
|
|
10
|
-
"Search_option": "查找标签",
|
|
11
|
-
"No_options_available": "没有找到标签。",
|
|
12
|
-
"Current_option": "当前标签",
|
|
13
|
-
"No_option": "没有标签",
|
|
14
|
-
"Choose_an_option": "选择一个标签",
|
|
15
|
-
"Add_a_collaborator": "添加协作者",
|
|
16
|
-
"Search_collaborator": "搜索协作者",
|
|
17
|
-
"No_collaborators_available": "没有找到协作者",
|
|
18
|
-
"Done": "完成",
|
|
19
|
-
"Choose_a_collaborator": "选择一个协作者",
|
|
20
|
-
"Please_input": "请输入",
|
|
21
|
-
"Please_select": "请选择",
|
|
22
|
-
"Clear": "清空",
|
|
23
|
-
"Are_you_sure_you_want_to_delete_this_file": "你确定要删除此文件吗?",
|
|
24
|
-
"Are_you_sure_you_want_to_delete_this_image": "你确定要删除此图片吗?",
|
|
25
|
-
"Cancel": "取消",
|
|
26
|
-
"Delete": "删除",
|
|
27
|
-
"Search_department": "查找部门",
|
|
28
|
-
"No_departments_available": "没有可用的部门",
|
|
29
|
-
"Current_user_department": "当前用户的部门",
|
|
30
|
-
"Current_user_department_and_sub": "当前用户的部门和子部门",
|
|
31
|
-
"Specific_departments": "具体部门",
|
|
32
|
-
"Deleted_department": "已经删除的部门",
|
|
33
|
-
"View_original_image": "查看原图",
|
|
34
|
-
"Add_filter": "添加过滤",
|
|
35
|
-
"Submit": "提交",
|
|
36
|
-
"No_filters": "没有过滤条件",
|
|
37
|
-
"Select_an_option": "选择标签",
|
|
38
|
-
"Add_collaborator": "添加协作人",
|
|
39
|
-
"Add_a_creator": "增加创建者",
|
|
40
|
-
"Add_a_last_modifier": "增加最后修改者",
|
|
41
|
-
"Invalid_filter": "无效的过滤器",
|
|
42
|
-
"Search_column": "查找列",
|
|
43
|
-
"No_results": "没有结果",
|
|
44
|
-
"Select_option(s)": "选择标签",
|
|
45
|
-
"contains": "包含",
|
|
46
|
-
"does_not_contain": "不包含",
|
|
47
|
-
"is": "是",
|
|
48
|
-
"is_not": "不是",
|
|
49
|
-
"equal": "=",
|
|
50
|
-
"not_equal": "≠",
|
|
51
|
-
"less": "<",
|
|
52
|
-
"greater": ">",
|
|
53
|
-
"less_or_equal": "≤",
|
|
54
|
-
"greater_or_equal": "≥",
|
|
55
|
-
"is_empty": "是空",
|
|
56
|
-
"is_not_empty": "不是空",
|
|
57
|
-
"is_within": "在某段时间内",
|
|
58
|
-
"is_before": "在某天之前",
|
|
59
|
-
"is_after": "在某天之后",
|
|
60
|
-
"is_on_or_before": "在某天或之前",
|
|
61
|
-
"is_on_or_after": "在某天或之后",
|
|
62
|
-
"has_any_of": "包含其中一个",
|
|
63
|
-
"has_all_of": "包含所有",
|
|
64
|
-
"has_none_of": "不包含",
|
|
65
|
-
"is_exactly": "精确筛选",
|
|
66
|
-
"is_current_user_ID": "是当前用户的 ID",
|
|
67
|
-
"Current_date": "当前日期",
|
|
68
|
-
"Specific_date": "指定日期",
|
|
69
|
-
"x_days_before_current_date": "当前日期的前 X 天",
|
|
70
|
-
"x_days_after_current_date": "当前日期的后 X 天",
|
|
71
|
-
"is_any_of": "是任意一个...",
|
|
72
|
-
"is_none_of": "不是任意一个...",
|
|
73
|
-
"include_me": "包括当前用户",
|
|
74
|
-
"today": "今天",
|
|
75
|
-
"tomorrow": "明天",
|
|
76
|
-
"yesterday": "昨天",
|
|
77
|
-
"one_week_ago": "一周前",
|
|
78
|
-
"one_week_from_now": "一周后",
|
|
79
|
-
"one_month_ago": "一个月前",
|
|
80
|
-
"one_month_from_now": "一个月后",
|
|
81
|
-
"number_of_days_ago": "特定天数前",
|
|
82
|
-
"number_of_days_from_now": "特定天数后",
|
|
83
|
-
"exact_date": "精确日期",
|
|
84
|
-
"the_past_week": "上个星期",
|
|
85
|
-
"the_past_month": "上个月",
|
|
86
|
-
"the_past_year": "去年",
|
|
87
|
-
"the_next_week": "下个星期",
|
|
88
|
-
"the_next_month": "下个月",
|
|
89
|
-
"the_next_year": "下一年",
|
|
90
|
-
"the_next_numbers_of_days": "今天之后的指定天数",
|
|
91
|
-
"the_past_numbers_of_days": "今天之前的指定天数",
|
|
92
|
-
"this_week": "这个星期",
|
|
93
|
-
"this_month": "这个月",
|
|
94
|
-
"this_year": "今年",
|
|
95
|
-
"last_week": "上个星期",
|
|
96
|
-
"last_month": "上个月",
|
|
97
|
-
"last_year": "去年",
|
|
98
|
-
"URL_is_invalid": "URL 无效",
|
|
99
|
-
"Select_department": "选择部门",
|
|
100
|
-
"Default": "默认",
|
|
101
|
-
"Custom": "自定义",
|
|
102
|
-
"Recently_used": "最近使用"
|
|
103
|
-
};
|
|
104
|
-
var _default = exports.default = zh_CN;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
@import url('../../css/cell-editor.css');
|
|
2
|
-
|
|
3
|
-
.dtable-ui-select-editor-popover .select-options-search {
|
|
4
|
-
padding: 10px 10px 0 10px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.dtable-ui-select-editor-popover .select-options-search input {
|
|
8
|
-
height: 28px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.dtable-ui-select-editor-popover .select-options-container {
|
|
12
|
-
min-height: 160px;
|
|
13
|
-
max-height: 200px;
|
|
14
|
-
margin: 10px 0;
|
|
15
|
-
padding: 0 10px;
|
|
16
|
-
overflow: auto;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* option item */
|
|
20
|
-
.dtable-ui-select-editor-popover .select-option-item {
|
|
21
|
-
display: flex;
|
|
22
|
-
height: 30px;
|
|
23
|
-
padding-left: 12px;
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
line-height: 30px;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.dtable-ui-select-editor-popover .select-option-item:hover {
|
|
30
|
-
background-color: #f5f5f5;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dtable-ui-select-editor-popover .option-info {
|
|
34
|
-
flex: 1;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.dtable-ui-select-editor-popover .option-checked {
|
|
40
|
-
width: 20px;
|
|
41
|
-
text-align: center;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.dtable-ui-select-editor-popover .option-checked .dtable-font {
|
|
45
|
-
font-size: 12px;
|
|
46
|
-
color: #798d99;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.dtable-ui-select-editor-popover .select-options-add {
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
padding: 0 10px;
|
|
53
|
-
height: 30px;
|
|
54
|
-
border-top: 1px solid #ccc;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.dtable-ui-select-editor-popover .select-options-add .dtable-font {
|
|
58
|
-
margin-right: 5px;
|
|
59
|
-
font-size: 12px;
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.dtable-ui-select-editor-popover .select-options-add > span {
|
|
64
|
-
display: inline-block;
|
|
65
|
-
font-size: 14px;
|
|
66
|
-
font-weight: 500;
|
|
67
|
-
color: #212529;
|
|
68
|
-
white-space: nowrap;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
text-overflow: ellipsis;
|
|
71
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _lang = require("../../lang");
|
|
10
|
-
require("./index.css");
|
|
11
|
-
class PCSelectEditorPopover extends _react.default.Component {
|
|
12
|
-
constructor(props) {
|
|
13
|
-
super(props);
|
|
14
|
-
this.onValueChanged = event => {
|
|
15
|
-
let value = event.target.value;
|
|
16
|
-
this.setState({
|
|
17
|
-
searchValue: value
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
this.onInputClick = event => {
|
|
21
|
-
event.nativeEvent.stopImmediatePropagation();
|
|
22
|
-
event.stopPropagation();
|
|
23
|
-
};
|
|
24
|
-
this.onAddNewOption = () => {
|
|
25
|
-
let name = this.state.searchValue.trim();
|
|
26
|
-
this.props.onAddNewOption(name);
|
|
27
|
-
};
|
|
28
|
-
this.onOptionItemToggle = item => {
|
|
29
|
-
this.props.onOptionItemToggle(item);
|
|
30
|
-
};
|
|
31
|
-
this.getFilterOptions = () => {
|
|
32
|
-
let {
|
|
33
|
-
options
|
|
34
|
-
} = this.props;
|
|
35
|
-
let filter = this.state.searchValue.toLowerCase();
|
|
36
|
-
if (!filter) {
|
|
37
|
-
return options;
|
|
38
|
-
}
|
|
39
|
-
return options.filter(option => {
|
|
40
|
-
return option.name.toString().toLowerCase().indexOf(filter) > -1;
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
this.getOptionStyle = option => {
|
|
44
|
-
const textColor = option.textColor || null;
|
|
45
|
-
return {
|
|
46
|
-
display: 'inline-block',
|
|
47
|
-
padding: '0px 10px',
|
|
48
|
-
height: '20px',
|
|
49
|
-
lineHeight: '20px',
|
|
50
|
-
borderRadius: '10px',
|
|
51
|
-
fontSize: '13px',
|
|
52
|
-
backgroundColor: option.color,
|
|
53
|
-
color: textColor
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
this.state = {
|
|
57
|
-
searchValue: ''
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
let options = this.getFilterOptions();
|
|
62
|
-
let {
|
|
63
|
-
popoverPosition,
|
|
64
|
-
selectedOptions,
|
|
65
|
-
isSupportNewOption
|
|
66
|
-
} = this.props;
|
|
67
|
-
let {
|
|
68
|
-
searchValue
|
|
69
|
-
} = this.state;
|
|
70
|
-
let popoverStyle = Object.assign({}, {
|
|
71
|
-
...popoverPosition
|
|
72
|
-
}, {
|
|
73
|
-
position: 'absolute'
|
|
74
|
-
});
|
|
75
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
76
|
-
className: "dtable-ui-editor-popover dtable-ui-select-editor-popover",
|
|
77
|
-
style: popoverStyle
|
|
78
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
79
|
-
className: "select-options-search"
|
|
80
|
-
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
81
|
-
className: "form-control",
|
|
82
|
-
onChange: this.onValueChanged,
|
|
83
|
-
onClick: this.onInputClick,
|
|
84
|
-
placeholder: (0, _lang.getLocale)('Search_option')
|
|
85
|
-
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
86
|
-
className: "select-options-container"
|
|
87
|
-
}, options.length > 0 && options.map((option, index) => {
|
|
88
|
-
let optionStyle = this.getOptionStyle(option);
|
|
89
|
-
let isSelect = selectedOptions.some(selectedOption => {
|
|
90
|
-
return selectedOption.id === option.id;
|
|
91
|
-
});
|
|
92
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
93
|
-
key: index,
|
|
94
|
-
className: "select-option-item",
|
|
95
|
-
onClick: this.onOptionItemToggle.bind(this, option)
|
|
96
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
97
|
-
className: "option-info"
|
|
98
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
99
|
-
className: "option-name",
|
|
100
|
-
style: optionStyle,
|
|
101
|
-
title: option.name
|
|
102
|
-
}, option.name)), /*#__PURE__*/_react.default.createElement("div", {
|
|
103
|
-
className: "option-checked"
|
|
104
|
-
}, isSelect && /*#__PURE__*/_react.default.createElement("i", {
|
|
105
|
-
className: "dtable-font dtable-icon-check-mark"
|
|
106
|
-
})));
|
|
107
|
-
}), options.length === 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
108
|
-
className: "no-search-result"
|
|
109
|
-
}, (0, _lang.getLocale)('No_options_available'))), isSupportNewOption && !!searchValue && /*#__PURE__*/_react.default.createElement("div", {
|
|
110
|
-
className: "select-options-add",
|
|
111
|
-
onClick: this.onAddNewOption
|
|
112
|
-
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
113
|
-
className: "dtable-font dtable-icon-add-table"
|
|
114
|
-
}), /*#__PURE__*/_react.default.createElement("span", null, (0, _lang.getLocale)('Add_an_option'), ' ', searchValue)));
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
PCSelectEditorPopover.defaultProps = {
|
|
118
|
-
popoverPosition: {},
|
|
119
|
-
options: [],
|
|
120
|
-
isShowAddBtn: false
|
|
121
|
-
};
|
|
122
|
-
var _default = exports.default = PCSelectEditorPopover;
|
/package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.css
RENAMED
|
File without changes
|
/package/lib/CollaboratorEditor/{pc-collaborator-editor-popover → pc-collaborator-editor}/index.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|