@retailcrm/datalens-ui 0.1.0 → 0.1.2
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/package.json +1 -1
- package/ui/assets/icons/alert.svg.js +3 -2
- package/ui/assets/icons/arr-reverse.svg.js +3 -2
- package/ui/assets/icons/arr-right.svg.js +3 -2
- package/ui/assets/icons/arrow-left.svg.js +3 -2
- package/ui/assets/icons/arrow-right.svg.js +3 -2
- package/ui/assets/icons/broken.svg.js +3 -2
- package/ui/assets/icons/charts-visualisations/vis-flat-table.svg.js +3 -2
- package/ui/assets/icons/charts-visualisations/vis-geolayers.svg.js +3 -2
- package/ui/assets/icons/charts-visualisations/vis-metric.svg.js +3 -2
- package/ui/assets/icons/check-folder.svg.js +3 -2
- package/ui/assets/icons/collections/collection-colored-big-dark.svg.js +3 -2
- package/ui/assets/icons/collections/collection-colored-big.svg.js +3 -2
- package/ui/assets/icons/collections/collection-colored-dark.svg.js +3 -2
- package/ui/assets/icons/collections/collection-colored.svg.js +3 -2
- package/ui/assets/icons/collections/collection.svg.js +3 -2
- package/ui/assets/icons/collections/grid.svg.js +3 -2
- package/ui/assets/icons/collections/workbook-colored.svg.js +3 -2
- package/ui/assets/icons/collections/workbook.svg.js +3 -2
- package/ui/assets/icons/connections/choveryt.svg.js +3 -2
- package/ui/assets/icons/connections/undefined.svg.js +3 -2
- package/ui/assets/icons/copy-xmark.svg.js +3 -2
- package/ui/assets/icons/cross.svg.js +3 -2
- package/ui/assets/icons/dl-auth-logo-dark.svg.js +3 -2
- package/ui/assets/icons/dl-auth-logo-light.svg.js +3 -2
- package/ui/assets/icons/error.svg.js +3 -2
- package/ui/assets/icons/filter-tooltip.svg.js +3 -2
- package/ui/assets/icons/folder.svg.js +3 -2
- package/ui/assets/icons/funnel-clear.svg.js +3 -2
- package/ui/assets/icons/gradients/blue-gray-red.svg.js +3 -2
- package/ui/assets/icons/gradients/blue-yellow-red.svg.js +3 -2
- package/ui/assets/icons/gradients/blue.svg.js +3 -2
- package/ui/assets/icons/gradients/cyan.svg.js +3 -2
- package/ui/assets/icons/gradients/golden.svg.js +3 -2
- package/ui/assets/icons/gradients/gray.svg.js +3 -2
- package/ui/assets/icons/gradients/green-blue.svg.js +3 -2
- package/ui/assets/icons/gradients/green.svg.js +3 -2
- package/ui/assets/icons/gradients/oceanic.svg.js +3 -2
- package/ui/assets/icons/gradients/orange-blue-green.svg.js +3 -2
- package/ui/assets/icons/gradients/orange-gray-blue.svg.js +3 -2
- package/ui/assets/icons/gradients/orange-violet-blue.svg.js +3 -2
- package/ui/assets/icons/gradients/orange-yellow.svg.js +3 -2
- package/ui/assets/icons/gradients/pink-gray-green.svg.js +3 -2
- package/ui/assets/icons/gradients/red-blue.svg.js +3 -2
- package/ui/assets/icons/gradients/red-orange-green.svg.js +3 -2
- package/ui/assets/icons/gradients/red.svg.js +3 -2
- package/ui/assets/icons/gradients/traffic-light.svg.js +3 -2
- package/ui/assets/icons/gradients/violet-blue-green.svg.js +3 -2
- package/ui/assets/icons/gradients/violet-orange.svg.js +3 -2
- package/ui/assets/icons/gradients/violet.svg.js +3 -2
- package/ui/assets/icons/gradients/yellow-green-blue.svg.js +3 -2
- package/ui/assets/icons/gradients/yellow.svg.js +3 -2
- package/ui/assets/icons/id-square.svg.js +3 -2
- package/ui/assets/icons/info.svg.js +3 -2
- package/ui/assets/icons/lock.svg.js +3 -2
- package/ui/assets/icons/monitoring.svg.js +3 -2
- package/ui/assets/icons/mono-collection.svg.js +3 -2
- package/ui/assets/icons/okay.svg.js +3 -2
- package/ui/assets/icons/os-logo.svg.js +3 -2
- package/ui/assets/icons/palettes/datalens-classic20.svg.js +3 -2
- package/ui/assets/icons/palettes/datalens-default20.svg.js +3 -2
- package/ui/assets/icons/palettes/datalens-neo20.svg.js +3 -2
- package/ui/assets/icons/palettes/emerald-20.svg.js +3 -2
- package/ui/assets/icons/palettes/golden-20.svg.js +3 -2
- package/ui/assets/icons/palettes/neutral-20.svg.js +3 -2
- package/ui/assets/icons/palettes/oceanic-20.svg.js +3 -2
- package/ui/assets/icons/palettes/traffic-light-9.svg.js +3 -2
- package/ui/assets/icons/parameter-section.svg.js +3 -2
- package/ui/assets/icons/placeholder-tooltip.svg.js +3 -2
- package/ui/assets/icons/plus.svg.js +3 -2
- package/ui/assets/icons/ql-chart.svg.js +3 -2
- package/ui/assets/icons/relations-any.svg.js +3 -2
- package/ui/assets/icons/relations-controls.svg.js +3 -2
- package/ui/assets/icons/relations-no-data.svg.js +3 -2
- package/ui/assets/icons/relations-no-link.svg.js +3 -2
- package/ui/assets/icons/relations.svg.js +3 -2
- package/ui/assets/icons/source-table.svg.js +3 -2
- package/ui/assets/icons/sync.svg.js +3 -2
- package/ui/assets/icons/vis-area-100p.svg.js +3 -2
- package/ui/assets/icons/vis-area.svg.js +3 -2
- package/ui/assets/icons/vis-bar-100p.svg.js +3 -2
- package/ui/assets/icons/vis-bar.svg.js +3 -2
- package/ui/assets/icons/vis-column-100p.svg.js +3 -2
- package/ui/assets/icons/vis-column.svg.js +3 -2
- package/ui/assets/icons/vis-combined.svg.js +3 -2
- package/ui/assets/icons/vis-donut.svg.js +3 -2
- package/ui/assets/icons/vis-flat-table.svg.js +3 -2
- package/ui/assets/icons/vis-geolayers.svg.js +3 -2
- package/ui/assets/icons/vis-heatmap.svg.js +3 -2
- package/ui/assets/icons/vis-lines.svg.js +3 -2
- package/ui/assets/icons/vis-metric.svg.js +3 -2
- package/ui/assets/icons/vis-pie.svg.js +3 -2
- package/ui/assets/icons/vis-pivot.svg.js +3 -2
- package/ui/assets/icons/vis-scatter.svg.js +3 -2
- package/ui/assets/icons/vis-treemap.svg.js +3 -2
- package/ui/assets/icons/visualization.svg.js +3 -2
- package/ui/assets/icons/warning-colored.svg.js +3 -2
- package/ui/assets/images/illustration/dark/403.svg.js +11 -2
- package/ui/assets/images/illustration/dark/404.svg.js +11 -2
- package/ui/assets/images/illustration/dark/500.svg.js +11 -2
- package/ui/assets/images/illustration/dark/bad_request.svg.js +11 -2
- package/ui/assets/images/illustration/dark/empty_directory.svg.js +11 -2
- package/ui/assets/images/illustration/dark/empty_state.svg.js +15 -2
- package/ui/assets/images/illustration/dark/no_accounts.svg.js +15 -2
- package/ui/assets/images/illustration/dark/no_permission.svg.js +11 -2
- package/ui/assets/images/illustration/dark/project.svg.js +7 -2
- package/ui/assets/images/illustration/dark/success_operation.svg.js +11 -2
- package/ui/assets/images/illustration/light/403.svg.js +11 -2
- package/ui/assets/images/illustration/light/404.svg.js +11 -2
- package/ui/assets/images/illustration/light/500.svg.js +11 -2
- package/ui/assets/images/illustration/light/bad_request.svg.js +11 -2
- package/ui/assets/images/illustration/light/empty_directory.svg.js +11 -2
- package/ui/assets/images/illustration/light/empty_state.svg.js +15 -2
- package/ui/assets/images/illustration/light/no_accounts.svg.js +15 -2
- package/ui/assets/images/illustration/light/no_permission.svg.js +11 -2
- package/ui/assets/images/illustration/light/project.svg.js +7 -2
- package/ui/assets/images/illustration/light/success_operation.svg.js +11 -2
- package/ui/components/ActionPanel/components/ChartSaveControls/components/SaveButton/SaveButton.js +2 -2
- package/ui/components/AsideHeaderAdapter/AsideHeaderAdapter.js +4 -4
- package/ui/components/CollectionFilters/CollectionFilters.js +2 -2
- package/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/StructureItemSelect.js +2 -2
- package/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/DeleteCollectionsWorkbooksContent.js +2 -2
- package/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/ColorPalettesCard.js +2 -2
- package/ui/components/ConnectorIcon/ConnectorIcon.js +2 -2
- package/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/EntryRow.js +2 -2
- package/ui/components/DialogFilter/DialogFilter.js +2 -2
- package/ui/components/DialogFilter/InputFilter/InputFilter.js +4 -4
- package/ui/components/DialogRelations/components/Content/helpers.js +8 -8
- package/ui/components/DialogRelations/constants.js +12 -12
- package/ui/components/EntityIcon/EntityIcon.js +4 -4
- package/ui/components/EntryBreadcrumbs/EntryBreadcrumbs.js +4 -8
- package/ui/components/EntryContextMenu/constants.js +2 -2
- package/ui/components/EntryIcon/EntryIcon.js +2 -2
- package/ui/components/MigrateToWorkbookDialog/components/EntryRow/EntryRow.js +2 -2
- package/ui/components/MobileHeader/MobileHeaderComponent/MobileHeaderComponent.js +4 -4
- package/ui/components/Navigation/Base/configure.js +2 -2
- package/ui/components/Navigation/Core/CreateEntry/getCreateEntryItems.js +2 -2
- package/ui/components/Navigation/Core/TableView/Row/Row.js +3 -3
- package/ui/components/SelectMigrationToWorkbookDialog/constants.js +4 -4
- package/ui/components/Widgets/Chart/components/Header.js +2 -2
- package/ui/configs/common/icons.js +58 -58
- package/ui/constants/common.js +46 -46
- package/ui/libs/DatalensChartkit/components/Drill/Drill.js +3 -3
- package/ui/units/auth/components/Signin/Signin.js +3 -3
- package/ui/units/connections/assets/icons/file-item.svg.js +3 -2
- package/ui/units/connections/assets/icons/gauth-btn-dark-en.svg.js +3 -2
- package/ui/units/connections/assets/icons/gauth-btn-dark-ru.svg.js +3 -2
- package/ui/units/connections/assets/icons/gauth-btn-light-en.svg.js +3 -2
- package/ui/units/connections/assets/icons/gauth-btn-light-ru.svg.js +3 -2
- package/ui/units/connections/components/ConnectorForm/FormActions/CheckParamsButton/CheckParamsButton.js +3 -3
- package/ui/units/connections/components/custom-forms/GSheetsV2/components/AddSection.js +2 -2
- package/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/GAuthButton.js +6 -6
- package/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/index.js +2 -2
- package/ui/units/connections/components/custom-forms/Yadocs/components/AdditionalTitleContent.js +2 -2
- package/ui/units/connections/components/custom-forms/components/ListItem/ActionDeleteView.js +2 -2
- package/ui/units/connections/components/custom-forms/components/ListItem/ActionErrorView.js +2 -2
- package/ui/units/connections/components/custom-forms/components/ListItem/ListItem.js +2 -2
- package/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/useOverlay.js +2 -2
- package/ui/units/dash/containers/Dialogs/Tabs/Tabs.js +2 -2
- package/ui/units/datasets/components/Avatar/Avatar.js +6 -6
- package/ui/units/datasets/components/DatasetTabFieldList/components/FieldRow/FieldRow.js +2 -2
- package/ui/units/datasets/components/RelationDialog/RelationDialog.js +5 -5
- package/ui/units/datasets/components/SelectSourcePrototypes/SourcesTable.js +2 -2
- package/ui/units/datasets/components/Source/Source.js +2 -2
- package/ui/units/datasets/constants/index.js +8 -8
- package/ui/units/datasets/icons/join-full-outer.svg.js +3 -2
- package/ui/units/datasets/icons/join-inner.svg.js +3 -2
- package/ui/units/datasets/icons/join-left.svg.js +3 -2
- package/ui/units/datasets/icons/join-right.svg.js +3 -2
- package/ui/units/ql/containers/QL/QLActionPanel/QLActionPanel.js +2 -2
- package/ui/units/wizard/components/DND/DNDContainer.js +2 -2
- package/ui/units/wizard/components/DatasetSelect/DatasetSelectItem.js +2 -2
- package/ui/units/wizard/containers/Wizard/SectionDataset/SectionDataset.js +2 -2
- package/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardParametersPlaceholder/DashboardParametersPlaceholder.js +2 -2
- package/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/Placeholder/Placeholder.js +2 -2
- package/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/CombinedChartLayerTypeSwitcher.js +6 -6
- package/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/VisualizationLayersControl.js +2 -2
- package/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationSelector/VisualizationSelector.js +2 -2
- package/ui/units/workbooks/components/EntryActions/EntryActions.js +2 -2
- package/ui/utils/connections/icons.js +4 -4
|
@@ -9,8 +9,8 @@ import "../../../../../shared/index.js";
|
|
|
9
9
|
import "../../../../index.js";
|
|
10
10
|
import { JOIN_TYPES_ICONS, BINARY_JOIN_OPERATORS, CONDITION_FIELD_TYPES, CONDITION_TYPES, JOIN_TYPES } from "../../constants/index.js";
|
|
11
11
|
import DatasetUtils from "../../helpers/utils.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import SvgCross from "../../../../assets/icons/cross.svg.js";
|
|
13
|
+
import SvgSourceTable from "../../../../assets/icons/source-table.svg.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import DataTypeIcon from "../../../../components/DataTypeIcon/DataTypeIcon.js";
|
|
16
16
|
import { DatasetDialogRelationQA } from "../../../../../shared/constants/qa/datasets.js";
|
|
@@ -132,7 +132,7 @@ function DeleteConditionButton(props) {
|
|
|
132
132
|
className: b("btn-delete-condition", { disabled: !deleteEnabled }),
|
|
133
133
|
view: "flat",
|
|
134
134
|
onClick: () => onClick({ conditionIndex }),
|
|
135
|
-
children: /* @__PURE__ */ jsx(Icon, { className: b("ic-cross"), data:
|
|
135
|
+
children: /* @__PURE__ */ jsx(Icon, { className: b("ic-cross"), data: SvgCross, width: 18, height: 18 })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
138
|
}
|
|
@@ -216,7 +216,7 @@ function Divider(props) {
|
|
|
216
216
|
function LeftSource(props) {
|
|
217
217
|
const { valid, leftAvatar: { title } = {} } = props;
|
|
218
218
|
return /* @__PURE__ */ jsxs("div", { className: b("left-source"), children: [
|
|
219
|
-
/* @__PURE__ */ jsx(Icon, { className: b("icon-table"), data:
|
|
219
|
+
/* @__PURE__ */ jsx(Icon, { className: b("icon-table"), data: SvgSourceTable, width: 14, height: 14 }),
|
|
220
220
|
/* @__PURE__ */ jsx("div", { className: b("avatar-name"), children: /* @__PURE__ */ jsx("span", { className: b("text-avatar-name"), title, children: title }) }),
|
|
221
221
|
/* @__PURE__ */ jsx(Divider, { valid })
|
|
222
222
|
] });
|
|
@@ -225,7 +225,7 @@ function RightSource(props) {
|
|
|
225
225
|
const { valid, rightAvatar: { title } = {} } = props;
|
|
226
226
|
return /* @__PURE__ */ jsxs("div", { className: b("right-source"), children: [
|
|
227
227
|
/* @__PURE__ */ jsx(Divider, { valid, width: 18 }),
|
|
228
|
-
/* @__PURE__ */ jsx(Icon, { className: b("icon-table"), data:
|
|
228
|
+
/* @__PURE__ */ jsx(Icon, { className: b("icon-table"), data: SvgSourceTable, width: 14, height: 14 }),
|
|
229
229
|
/* @__PURE__ */ jsx("div", { className: b("avatar-name"), children: /* @__PURE__ */ jsx("span", { className: b("text-avatar-name"), title, children: title }) })
|
|
230
230
|
] });
|
|
231
231
|
}
|
|
@@ -14,7 +14,7 @@ import "../../store/selectors/index.js";
|
|
|
14
14
|
import Source_default from "../Source/Source.js";
|
|
15
15
|
import { withDragging } from "../hoc/AvatarDnD.js";
|
|
16
16
|
import { ICON_PLUS_SIZE, SEARCH_DELAY, LIST_ITEM_HEIGHT } from "./constants.js";
|
|
17
|
-
import
|
|
17
|
+
import SvgPlus from "../../../../assets/icons/plus.svg.js";
|
|
18
18
|
import { sourceListingOptionsSelector, currentDbNameSelector, sourcesPaginationSelector, sourcePrototypesSelector, sourcesSearchLoadingSelector, sourcesErrorSelector, currentDbNamesSelector } from "../../store/selectors/dataset.js";
|
|
19
19
|
import { usePrevious } from "../../../../hooks/usePrevious.js";
|
|
20
20
|
import { changeCurrentDbName, incrementSourcesPage, searchSources } from "../../store/actions/creators/datasetTyped.js";
|
|
@@ -27,7 +27,7 @@ const filterItem = (search) => {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
const AddSourceButton = ({ onClick, disabled }) => /* @__PURE__ */ jsx("div", { className: b("bottom-section"), children: /* @__PURE__ */ jsxs(Button, { className: b("btn-add-source"), view: "flat", disabled, onClick, children: [
|
|
30
|
-
/* @__PURE__ */ jsx(Icon, { className: b("btn-add-source-ic"), data:
|
|
30
|
+
/* @__PURE__ */ jsx(Icon, { className: b("btn-add-source-ic"), data: SvgPlus, width: ICON_PLUS_SIZE }),
|
|
31
31
|
i18n("button_add-source")
|
|
32
32
|
] }) });
|
|
33
33
|
const ErrorView = ({ error, onRetry }) => {
|
|
@@ -6,7 +6,7 @@ import { I18n } from "../../../../../i18n/index.js";
|
|
|
6
6
|
import PropTypes from "prop-types";
|
|
7
7
|
import "../../constants/index.js";
|
|
8
8
|
import DatasetUtils from "../../helpers/utils.js";
|
|
9
|
-
import
|
|
9
|
+
import SvgSourceTable from "../../../../assets/icons/source-table.svg.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { MANAGED_BY } from "../../constants/datasets.js";
|
|
12
12
|
const b = block("source");
|
|
@@ -87,7 +87,7 @@ function Source(props) {
|
|
|
87
87
|
style: position,
|
|
88
88
|
"data-qa": "ds-source"
|
|
89
89
|
},
|
|
90
|
-
/* @__PURE__ */ React__default.createElement(Icon, { className: b("icon-avatar"), data:
|
|
90
|
+
/* @__PURE__ */ React__default.createElement(Icon, { className: b("icon-avatar"), data: SvgSourceTable, width: 16, height: 16 }),
|
|
91
91
|
/* @__PURE__ */ React__default.createElement("span", { title: avatarTitle, className: b("avatar-title") }, avatarTitle),
|
|
92
92
|
managed_by === MANAGED_BY.USER && /* @__PURE__ */ React__default.createElement(
|
|
93
93
|
SourceMenu,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i18n } from "../../../../i18n/index.js";
|
|
2
2
|
import "../../../index.js";
|
|
3
3
|
import "../../../components/ActionPanel/index.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import SvgJoinFullOuter from "../icons/join-full-outer.svg.js";
|
|
5
|
+
import SvgJoinInner from "../icons/join-inner.svg.js";
|
|
6
|
+
import SvgJoinLeft from "../icons/join-left.svg.js";
|
|
7
|
+
import SvgJoinRight from "../icons/join-right.svg.js";
|
|
8
8
|
import { ActionQueryParam, ComponentErrorType, DATASET_DATE_AVAILABLE_FORMAT, MANAGED_BY, MIN_AVAILABLE_DATASET_REV_DATE, QueryParam, SharedDatasetHiddenContextMenuItems, SharedWorkbookDatasetHiddenContextMenuItems, mapYTClusterToConnId } from "./datasets.js";
|
|
9
9
|
import { DL } from "../../../constants/common.js";
|
|
10
10
|
import { getFakeEntry as getFakeEntry$1 } from "../../../components/ActionPanel/utils.js";
|
|
@@ -136,16 +136,16 @@ const JOIN_TYPES = {
|
|
|
136
136
|
};
|
|
137
137
|
const JOIN_TYPES_ICONS = {
|
|
138
138
|
[JOIN_TYPES.INNER]: {
|
|
139
|
-
iconData:
|
|
139
|
+
iconData: SvgJoinInner
|
|
140
140
|
},
|
|
141
141
|
[JOIN_TYPES.LEFT]: {
|
|
142
|
-
iconData:
|
|
142
|
+
iconData: SvgJoinLeft
|
|
143
143
|
},
|
|
144
144
|
[JOIN_TYPES.RIGHT]: {
|
|
145
|
-
iconData:
|
|
145
|
+
iconData: SvgJoinRight
|
|
146
146
|
},
|
|
147
147
|
[JOIN_TYPES.FULL]: {
|
|
148
|
-
iconData:
|
|
148
|
+
iconData: SvgJoinFullOuter
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
const DATASET_UPDATE_ACTIONS = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgJoinFullOuter = (props) => /* @__PURE__ */ React.createElement("svg", { width: 42, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 12, fill: "#6B8499" }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 12, fill: "#6B8499" }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }), /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }));
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
SvgJoinFullOuter as default
|
|
4
5
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgJoinInner = (props) => /* @__PURE__ */ React.createElement("svg", { width: 42, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 12, fill: "var(--ds-color-avatar)" }), /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 12, fill: "var(--ds-color-avatar)" }), /* @__PURE__ */ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20.9999 19.9374C22.8671 17.822 24 15.0433 24 11.9999C24 8.95658 22.8671 6.17789 21.0001 4.0625C19.1329 6.17791 18 8.95668 18 12.0001C18 15.0434 19.1329 17.8221 20.9999 19.9374Z", fill: "#6B8499" }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }), /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }));
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
SvgJoinInner as default
|
|
4
5
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgJoinLeft = (props) => /* @__PURE__ */ React.createElement("svg", { width: 42, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 12, fill: "var(--ds-color-avatar)" }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 12, fill: "#6B8499" }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }), /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }));
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
SvgJoinLeft as default
|
|
4
5
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgJoinRight = (props) => /* @__PURE__ */ React.createElement("svg", { width: 42, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 12, fill: "var(--ds-color-avatar)" }), /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 12, fill: "#6B8499" }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }), /* @__PURE__ */ React.createElement("circle", { cx: 30, cy: 12, r: 11.5, stroke: "var(--ds-join-stroke-color)", strokeDasharray: "var(--ds-join-stroke-dasharray)" }));
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
SvgJoinRight as default
|
|
4
5
|
};
|
|
@@ -21,7 +21,7 @@ import { prepareChartDataBeforeSave } from "../../../modules/helpers.js";
|
|
|
21
21
|
import { setQlChartActualRevision, setEntry, updateChart, toggleTablePreview, setExtraSettings, drawPreview } from "../../../store/actions/ql.js";
|
|
22
22
|
import { getDefaultPath, getEntryNotChanged, getEntryCanBeSaved, getRedirectUrl } from "../../../store/reducers/ql.js";
|
|
23
23
|
import { useQLActionPanel } from "./useQLActionPanel.js";
|
|
24
|
-
import
|
|
24
|
+
import SvgMonitoring from "../../../../../assets/icons/monitoring.svg.js";
|
|
25
25
|
/* empty css */
|
|
26
26
|
import { getValid, getConnection, getExtraSettings, getPreviewData, getEntry } from "../../../store/selectors/ql.js";
|
|
27
27
|
import { Feature } from "../../../../../../shared/types/feature.js";
|
|
@@ -88,7 +88,7 @@ const QLActionPanel = (props) => {
|
|
|
88
88
|
if (redirectUrl) {
|
|
89
89
|
items.push({
|
|
90
90
|
text: i18n("sql", "button_open-in-monitoring"),
|
|
91
|
-
icon: /* @__PURE__ */ jsx(Icon, { data:
|
|
91
|
+
icon: /* @__PURE__ */ jsx(Icon, { data: SvgMonitoring, width: 16, height: 16 }),
|
|
92
92
|
id: "sql-to-monitoring",
|
|
93
93
|
action: () => {
|
|
94
94
|
window.open(redirectUrl, "_blank");
|
|
@@ -5,7 +5,7 @@ import block from "bem-cn-lite";
|
|
|
5
5
|
import { DropTarget } from "react-dnd";
|
|
6
6
|
import DNDItem from "./DNDItem.js";
|
|
7
7
|
import DragAndDrop from "./DragAndDrop.js";
|
|
8
|
-
import
|
|
8
|
+
import SvgFilterTooltip from "../../../../assets/icons/filter-tooltip.svg.js";
|
|
9
9
|
const b = block("dnd-container");
|
|
10
10
|
class DNDContainer extends Component {
|
|
11
11
|
constructor(props) {
|
|
@@ -118,7 +118,7 @@ class DNDContainer extends Component {
|
|
|
118
118
|
content: item.disabled,
|
|
119
119
|
placement: "right",
|
|
120
120
|
className: b("filter-tooltip"),
|
|
121
|
-
children: /* @__PURE__ */ jsx(Icon, { data:
|
|
121
|
+
children: /* @__PURE__ */ jsx(Icon, { data: SvgFilterTooltip, fill: "currentColor" })
|
|
122
122
|
}
|
|
123
123
|
)
|
|
124
124
|
] }, `${item.id}-${index}`);
|
|
@@ -8,7 +8,7 @@ import { useDispatch } from "react-redux";
|
|
|
8
8
|
import "../../../../../shared/index.js";
|
|
9
9
|
import { SharedEntryIcon } from "../../../../components/SharedEntryIcon/SharedEntryIcon.js";
|
|
10
10
|
import { openDialogErrorWithTabs } from "../../../../store/actions/dialog.js";
|
|
11
|
-
import
|
|
11
|
+
import SvgError from "../../../../assets/icons/error.svg.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { SectionDatasetQA } from "../../../../../shared/constants/qa/wizard.js";
|
|
14
14
|
const i18n = I18n.keyset("wizard");
|
|
@@ -67,7 +67,7 @@ const ErrorIcon = (props) => {
|
|
|
67
67
|
{
|
|
68
68
|
qa: "dataset-error-icon",
|
|
69
69
|
className: b("icon"),
|
|
70
|
-
data:
|
|
70
|
+
data: SvgError,
|
|
71
71
|
width: "20",
|
|
72
72
|
height: "20"
|
|
73
73
|
}
|
|
@@ -38,7 +38,7 @@ import "../../../utils/wizard.js";
|
|
|
38
38
|
import DatasetItem from "./DatasetItem/DatasetItem.js";
|
|
39
39
|
import { FieldsContainer } from "./FieldsContainer/FieldsContainer.js";
|
|
40
40
|
import HierarchyEditor from "./HierarchyEditor/HierarchyEditor.js";
|
|
41
|
-
import
|
|
41
|
+
import SvgPlus from "../../../../../assets/icons/plus.svg.js";
|
|
42
42
|
/* empty css */
|
|
43
43
|
import { getResultSchemaFromDataset } from "../../../../../../shared/modules/wizard-helpers.js";
|
|
44
44
|
import { DATASET_FIELD_TYPES } from "../../../../../../shared/types/dataset.js";
|
|
@@ -781,7 +781,7 @@ class SectionDataset extends React__default.Component {
|
|
|
781
781
|
qa: "add-param",
|
|
782
782
|
onClick,
|
|
783
783
|
onKeyDown,
|
|
784
|
-
children: /* @__PURE__ */ jsx(Icon, { data:
|
|
784
|
+
children: /* @__PURE__ */ jsx(Icon, { data: SvgPlus, size: 15 })
|
|
785
785
|
}
|
|
786
786
|
),
|
|
787
787
|
items: this.getDropdownItems()
|
|
@@ -10,7 +10,7 @@ import "../../../../../actions/visualization/index.js";
|
|
|
10
10
|
import "../../../../../constants/index.js";
|
|
11
11
|
import { updateUrlParameter } from "../../../../../utils/wizard.js";
|
|
12
12
|
import PlaceholderComponent from "../Placeholder/Placeholder.js";
|
|
13
|
-
import
|
|
13
|
+
import SvgParameterSection from "../../../../../../../assets/icons/parameter-section.svg.js";
|
|
14
14
|
import { ITEM_TYPES } from "../../../../../../../constants/misc.js";
|
|
15
15
|
import { setDashboardParameters } from "../../../../../actions/visualization/dashboard.js";
|
|
16
16
|
class DashboardParametersPlaceholder extends React__default.Component {
|
|
@@ -57,7 +57,7 @@ class DashboardParametersPlaceholder extends React__default.Component {
|
|
|
57
57
|
id: "dashboard-parameters",
|
|
58
58
|
qa: "placeholder-dashboard-parameters",
|
|
59
59
|
title: "section_parameters_from_dashboard",
|
|
60
|
-
iconProps: { data:
|
|
60
|
+
iconProps: { data: SvgParameterSection },
|
|
61
61
|
items: [...dashboardParameters],
|
|
62
62
|
onUpdate: this.handleOnUpdate,
|
|
63
63
|
noSwap: true,
|
|
@@ -15,7 +15,7 @@ import PlaceholderActionIcon from "../../../../../components/PlaceholderActionIc
|
|
|
15
15
|
import "../../../../../constants/index.js";
|
|
16
16
|
import { canAddParamToPlaceholder } from "../../../../../utils/placeholder.js";
|
|
17
17
|
import AddFieldContainer from "../../AddField/AddField.js";
|
|
18
|
-
import
|
|
18
|
+
import SvgPlaceholderTooltip from "../../../../../../../assets/icons/placeholder-tooltip.svg.js";
|
|
19
19
|
import { isParameter } from "../../../../../../../../shared/modules/predicates.js";
|
|
20
20
|
import { ITEM_TYPES } from "../../../../../../../constants/misc.js";
|
|
21
21
|
import { WizardPageQa } from "../../../../../../../../shared/constants/qa/wizard.js";
|
|
@@ -182,7 +182,7 @@ class PlaceholderComponent extends React__default.PureComponent {
|
|
|
182
182
|
Icon,
|
|
183
183
|
{
|
|
184
184
|
className: "placeholder-tooltip-icon",
|
|
185
|
-
data: placeholderTooltipIcon ||
|
|
185
|
+
data: placeholderTooltipIcon || SvgPlaceholderTooltip,
|
|
186
186
|
fill: "currentColor",
|
|
187
187
|
stroke: "currentColor"
|
|
188
188
|
}
|
|
@@ -6,9 +6,9 @@ import { useSelector, useDispatch } from "react-redux";
|
|
|
6
6
|
import { VISUALIZATION_IDS } from "../../../../../../constants/visualizations/index.js";
|
|
7
7
|
import { selectSubVisualization } from "../../../../selectors/visualization.js";
|
|
8
8
|
import { changeVisualizationLayerType } from "../../../../actions/index.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
9
|
+
import SvgVisArea from "../../../../../../assets/icons/vis-area.svg.js";
|
|
10
|
+
import SvgVisColumn from "../../../../../../assets/icons/vis-column.svg.js";
|
|
11
|
+
import SvgVisLines from "../../../../../../assets/icons/vis-lines.svg.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
const b = block("combined-chart-layer-type-switcher");
|
|
14
14
|
const CombinedChartLayerTypeSwitcher = () => {
|
|
@@ -26,15 +26,15 @@ const CombinedChartLayerTypeSwitcher = () => {
|
|
|
26
26
|
const options = [
|
|
27
27
|
{
|
|
28
28
|
value: VISUALIZATION_IDS.LINE,
|
|
29
|
-
icon:
|
|
29
|
+
icon: SvgVisLines
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
value: VISUALIZATION_IDS.COLUMN,
|
|
33
|
-
icon:
|
|
33
|
+
icon: SvgVisColumn
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
value: VISUALIZATION_IDS.AREA,
|
|
37
|
-
icon:
|
|
37
|
+
icon: SvgVisArea
|
|
38
38
|
}
|
|
39
39
|
].map(({ value, icon }, index) => {
|
|
40
40
|
return /* @__PURE__ */ jsx(SegmentedRadioGroup.Option, { value, children: /* @__PURE__ */ jsx("span", { className: b("item"), children: /* @__PURE__ */ jsx(Icon, { data: icon, size: 20 }) }) }, `${value}-${index}`);
|
|
@@ -18,7 +18,7 @@ import { createVisualizationLayer } from "../../../../utils/wizard.js";
|
|
|
18
18
|
import logger from "../../../../../../libs/logger/index.js";
|
|
19
19
|
import GeolayersSelect from "../../../../components/GeolayersSelect/GeolayersSelect.js";
|
|
20
20
|
import { CombinedChartLayerTypeSwitcher } from "./CombinedChartLayerTypeSwitcher.js";
|
|
21
|
-
import
|
|
21
|
+
import SvgPlus from "../../../../../../assets/icons/plus.svg.js";
|
|
22
22
|
/* empty css */
|
|
23
23
|
import { isVisualizationWithLayers } from "../../../../../../../shared/utils/wizard.js";
|
|
24
24
|
import { updateLayers } from "../../../../actions/visualization/layers.js";
|
|
@@ -105,7 +105,7 @@ class VisualizationLayersControl extends React__default.Component {
|
|
|
105
105
|
needUpdatePreview: false
|
|
106
106
|
});
|
|
107
107
|
},
|
|
108
|
-
children: /* @__PURE__ */ jsx(Icon, { data:
|
|
108
|
+
children: /* @__PURE__ */ jsx(Icon, { data: SvgPlus, size: 15 })
|
|
109
109
|
}
|
|
110
110
|
);
|
|
111
111
|
return /* @__PURE__ */ jsxs("div", { className: b(), children: [
|
|
@@ -18,7 +18,7 @@ import { setVisualization } from "../../../../actions/index.js";
|
|
|
18
18
|
import { openDialogChartSettings } from "../../../../actions/dialog.js";
|
|
19
19
|
import { actualizeAndSetUpdates, updatePreviewAndClientChartsConfig } from "../../../../actions/preview.js";
|
|
20
20
|
import { forceEnablePivotFallback, setExtraSettings } from "../../../../actions/widget.js";
|
|
21
|
-
import
|
|
21
|
+
import SvgVisualization from "../../../../../../assets/icons/visualization.svg.js";
|
|
22
22
|
/* empty css */
|
|
23
23
|
import { isVisualizationWithLayers } from "../../../../../../../shared/utils/wizard.js";
|
|
24
24
|
import { WizardPageQa } from "../../../../../../../shared/constants/qa/wizard.js";
|
|
@@ -101,7 +101,7 @@ class VisualizationSelector extends React__default.Component {
|
|
|
101
101
|
visualizationIcon = /* @__PURE__ */ jsx(IconById, { ...visualization.iconProps });
|
|
102
102
|
} else {
|
|
103
103
|
buttonText = i18n("wizard", "button_choose-visualization");
|
|
104
|
-
visualizationIcon = /* @__PURE__ */ jsx(Icon, { data:
|
|
104
|
+
visualizationIcon = /* @__PURE__ */ jsx(Icon, { data: SvgVisualization, width: "24" });
|
|
105
105
|
}
|
|
106
106
|
return /* @__PURE__ */ jsx("div", { ref: this.actionContainerRef, className: b(), children: /* @__PURE__ */ jsx(
|
|
107
107
|
DropdownMenu,
|
|
@@ -11,7 +11,7 @@ import "../../../../constants/index.js";
|
|
|
11
11
|
import { registry } from "../../../../registry/index.js";
|
|
12
12
|
import { getSharedEntryMockText } from "../../../collections/components/helpers.js";
|
|
13
13
|
import { isEnabledFeature } from "../../../../utils/isEnabledFeature.js";
|
|
14
|
-
import
|
|
14
|
+
import SvgIdSquare from "../../../../assets/icons/id-square.svg.js";
|
|
15
15
|
import { Feature } from "../../../../../shared/types/feature.js";
|
|
16
16
|
import { S3_BASED_CONNECTORS } from "../../../../constants/connections.js";
|
|
17
17
|
import { Capability } from "../../../../capabilities/capabilities.js";
|
|
@@ -74,7 +74,7 @@ const EntryActions = ({
|
|
|
74
74
|
if (onCopyId) {
|
|
75
75
|
subMenu.push({
|
|
76
76
|
action: onCopyId,
|
|
77
|
-
text: /* @__PURE__ */ jsx(DropdownAction, { size: 16, icon:
|
|
77
|
+
text: /* @__PURE__ */ jsx(DropdownAction, { size: 16, icon: SvgIdSquare, text: commonMenuI18n("value_copy-id") })
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
if (subMenu.length) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../constants/index.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import SvgChoveryt from "../../assets/icons/connections/choveryt.svg.js";
|
|
3
|
+
import SvgUndefined from "../../assets/icons/connections/undefined.svg.js";
|
|
4
4
|
import { DL } from "../../constants/common.js";
|
|
5
5
|
import { ConnectorAlias } from "../../constants/connections.js";
|
|
6
6
|
const getBIConnectorIconData = (type) => {
|
|
@@ -9,7 +9,7 @@ const getBIConnectorIconData = (type) => {
|
|
|
9
9
|
const getConnectorIconDataByAlias = (type) => {
|
|
10
10
|
switch (type) {
|
|
11
11
|
case ConnectorAlias.CHYT: {
|
|
12
|
-
return
|
|
12
|
+
return SvgChoveryt;
|
|
13
13
|
}
|
|
14
14
|
default: {
|
|
15
15
|
return void 0;
|
|
@@ -21,7 +21,7 @@ const getConnectorIconData = (type, withoutDefault) => {
|
|
|
21
21
|
if (iconData) {
|
|
22
22
|
return iconData;
|
|
23
23
|
}
|
|
24
|
-
return withoutDefault ? void 0 :
|
|
24
|
+
return withoutDefault ? void 0 : SvgUndefined;
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
27
|
getConnectorIconData,
|