@evergis/react 4.0.140 → 4.0.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.esm.js CHANGED
@@ -3369,6 +3369,18 @@ const ZOOM_FILTER_NAME = "zoom";
3369
3369
  * перехвачен системной подстановкой — ровно как в случае `geometry`.
3370
3370
  */
3371
3371
  const MAP_VIEW_FILTER_NAMES = [EXTENT_FILTER_NAME, ZOOM_FILTER_NAME];
3372
+ /** Имя системного фильтра «текущий проект» — `%project`, `%project.name`, `%project.alias`. */
3373
+ const PROJECT_FILTER_NAME = "project";
3374
+ /** Свойство `%project.name` — системное имя проекта. */
3375
+ const PROJECT_NAME_PROP = "name";
3376
+ /** Свойство `%project.alias` — алиас проекта, при пустом алиасе используется системное имя. */
3377
+ const PROJECT_ALIAS_PROP = "alias";
3378
+ /**
3379
+ * Свойства подстановки проекта в порядке замены: составные формы идут раньше голого плейсхолдера,
3380
+ * иначе `%project` съел бы начало `%project.alias`. Пустая строка — голый `%project`, он равен
3381
+ * `%project.name`.
3382
+ */
3383
+ const PROJECT_PROPS = [PROJECT_ALIAS_PROP, PROJECT_NAME_PROP, ""];
3372
3384
  const PROVIDER_PREFIX = "$";
3373
3385
  var ProviderPrefix;
3374
3386
  (function (ProviderPrefix) {
@@ -4268,6 +4280,22 @@ const getDataSourceFilterValue = ({ filterName, filterProp, attributeAlias, data
4268
4280
  return feature?.properties?.[filterProp];
4269
4281
  };
4270
4282
 
4283
+ /**
4284
+ * Значение системной подстановки текущего проекта. Голый `%project` и `%project.name` дают
4285
+ * системное имя, `%project.alias` — алиас с фолбэком на имя: пустой алиас не должен уводить
4286
+ * запрос в пустое значение. Чужое свойство (`%project.foo`) не наше — вернём `undefined`,
4287
+ * и плейсхолдер останется нетронутым, как у незаполненного фильтра.
4288
+ */
4289
+ const getProjectValue = ({ prop, projectName, projectAlias, }) => {
4290
+ if (prop && prop !== PROJECT_NAME_PROP && prop !== PROJECT_ALIAS_PROP) {
4291
+ return undefined;
4292
+ }
4293
+ if (prop === PROJECT_ALIAS_PROP) {
4294
+ return projectAlias || projectName || undefined;
4295
+ }
4296
+ return projectName || undefined;
4297
+ };
4298
+
4271
4299
  const getSelectedFilterValue = (filterName, selectedFilters, defaultValue) => {
4272
4300
  return ((!isNil(selectedFilters?.[filterName]?.value) &&
4273
4301
  Array.isArray(defaultValue) &&
@@ -4276,7 +4304,7 @@ const getSelectedFilterValue = (filterName, selectedFilters, defaultValue) => {
4276
4304
  : selectedFilters?.[filterName]?.value) ?? defaultValue);
4277
4305
  };
4278
4306
 
4279
- const applyQueryFilters = ({ parameters: configParameters, filters: configFilters, selectedFilters, geometry, extent, zoomLevel, attributes, layerInfo, dataSources, projectDataSources, }) => {
4307
+ const applyQueryFilters = ({ parameters: configParameters, filters: configFilters, selectedFilters, geometry, extent, zoomLevel, projectName, projectAlias, attributes, layerInfo, dataSources, projectDataSources, }) => {
4280
4308
  if (!configParameters) {
4281
4309
  return {};
4282
4310
  }
@@ -4342,6 +4370,18 @@ const applyQueryFilters = ({ parameters: configParameters, filters: configFilter
4342
4370
  [key]: zoomLevel,
4343
4371
  };
4344
4372
  }
4373
+ // Текущий проект: значение приходит из `GlobalContext`, а не из `SelectedFilters`. Резолвим
4374
+ // до веток `.min` / `.max` / `.property`, как экстент и зум, — имя `project` зарезервировано.
4375
+ if (filterName === PROJECT_FILTER_NAME) {
4376
+ const projectValue = getProjectValue({ prop: filterProp, projectName, projectAlias });
4377
+ if (isNil(projectValue)) {
4378
+ return result;
4379
+ }
4380
+ return {
4381
+ ...result,
4382
+ [key]: projectValue,
4383
+ };
4384
+ }
4345
4385
  if (configParameters[key].endsWith(".max")) {
4346
4386
  return {
4347
4387
  ...result,
@@ -4600,7 +4640,7 @@ const applyFiltersToCondition = ({ condition, name, defaultValue, filters, isSin
4600
4640
  }
4601
4641
  return isSingle && isNumeric(result) ? Number(result) : result;
4602
4642
  };
4603
- const applyVarsToCondition = ({ section, configFilters, filters, attributes, layerParams, eqlParameters, geometry, extent, zoomLevel, isSetParams, }) => {
4643
+ const applyVarsToCondition = ({ section, configFilters, filters, attributes, layerParams, eqlParameters, geometry, extent, zoomLevel, projectName, projectAlias, isSetParams, }) => {
4604
4644
  if (!section?.length)
4605
4645
  return [];
4606
4646
  const isSingle = typeof section === "string";
@@ -4620,6 +4660,15 @@ const applyVarsToCondition = ({ section, configFilters, filters, attributes, lay
4620
4660
  if (!isNil(zoomLevel)) {
4621
4661
  result[index] = result[index].replace(new RegExp(`${FILTER_PREFIX}${ZOOM_FILTER_NAME}(?![\\w.])`, "g"), String(zoomLevel));
4622
4662
  }
4663
+ // Текущий проект — строковая подстановка, поэтому в кавычках, как `%geometry`. Свойства
4664
+ // заменяются раньше голого плейсхолдера, а граница `(?![\w.])` оставляет фильтрам составные
4665
+ // формы (`%project_id`) и не трогает чужое свойство (`%project.foo`).
4666
+ PROJECT_PROPS.forEach(prop => {
4667
+ const projectValue = getProjectValue({ prop, projectName, projectAlias });
4668
+ if (isNil(projectValue))
4669
+ return;
4670
+ result[index] = result[index].replace(new RegExp(`${FILTER_PREFIX}${PROJECT_FILTER_NAME}${prop ? `\\.${prop}` : ""}(?![\\w.])`, "g"), `'${projectValue}'`);
4671
+ });
4623
4672
  if (configFilters?.length) {
4624
4673
  configFilters.forEach(filter => {
4625
4674
  result[index] = applyFiltersToCondition({
@@ -4648,7 +4697,7 @@ const applyVarsToCondition = ({ section, configFilters, filters, attributes, lay
4648
4697
  });
4649
4698
  return isSingle ? result?.[0] : result;
4650
4699
  };
4651
- const formatSingleCondition = (condition, { configFilters, filters, attributes, eqlParameters, layerParams, geometry, extent, zoomLevel, }) => {
4700
+ const formatSingleCondition = (condition, { configFilters, filters, attributes, eqlParameters, layerParams, geometry, extent, zoomLevel, projectName, projectAlias, }) => {
4652
4701
  const setParams = condition.match(new RegExp("\\$\\([^)]+\\)", "g"));
4653
4702
  const setParamsSection = applyVarsToCondition({
4654
4703
  section: setParams,
@@ -4660,6 +4709,8 @@ const formatSingleCondition = (condition, { configFilters, filters, attributes,
4660
4709
  geometry,
4661
4710
  extent,
4662
4711
  zoomLevel,
4712
+ projectName,
4713
+ projectAlias,
4663
4714
  isSetParams: true,
4664
4715
  });
4665
4716
  const splitter = " AND ";
@@ -4674,6 +4725,8 @@ const formatSingleCondition = (condition, { configFilters, filters, attributes,
4674
4725
  geometry,
4675
4726
  extent,
4676
4727
  zoomLevel,
4728
+ projectName,
4729
+ projectAlias,
4677
4730
  });
4678
4731
  return setParamsSection?.length && conditionSection.length
4679
4732
  ? [setParamsSection.join(""), conditionSection.join(splitter)].join(" ")
@@ -5531,7 +5584,7 @@ const ServerNotificationsProvider = ({ url, initialized, apiClient, children })
5531
5584
  };
5532
5585
 
5533
5586
  const useGlobalContext = () => {
5534
- const { t, language, themeName, api, ewktGeometry, ewktExtent, zoomLevel, notification } = useContext(GlobalContext) || {};
5587
+ const { t, language, themeName, api, ewktGeometry, ewktExtent, zoomLevel, projectName, projectAlias, notification } = useContext(GlobalContext) || {};
5535
5588
  const translate = useCallback((value, options) => {
5536
5589
  if (t)
5537
5590
  return t(value, options);
@@ -5545,8 +5598,21 @@ const useGlobalContext = () => {
5545
5598
  ewktGeometry,
5546
5599
  ewktExtent,
5547
5600
  zoomLevel,
5601
+ projectName,
5602
+ projectAlias,
5548
5603
  notification,
5549
- }), [language, translate, api, ewktGeometry, ewktExtent, zoomLevel, themeName, notification]);
5604
+ }), [
5605
+ language,
5606
+ translate,
5607
+ api,
5608
+ ewktGeometry,
5609
+ ewktExtent,
5610
+ zoomLevel,
5611
+ projectName,
5612
+ projectAlias,
5613
+ themeName,
5614
+ notification,
5615
+ ]);
5550
5616
  };
5551
5617
 
5552
5618
  const GRID_TILE_SIZE = "4.5rem";
@@ -6248,7 +6314,6 @@ const useMapImages = ({ images }) => {
6248
6314
  const { map, loaded: mapLoaded } = useMapContext();
6249
6315
  const [loaded, setLoaded] = useState(false);
6250
6316
  const [errors, setErrors] = useState({});
6251
- const loadedImagesRef = useRef(new Set());
6252
6317
  const previouslyLoadedImages = useRef([]);
6253
6318
  const hasImage = useCallback((name) => {
6254
6319
  if (!map?.current) {
@@ -6262,7 +6327,6 @@ const useMapImages = ({ images }) => {
6262
6327
  }
6263
6328
  if (map.current.hasImage(name)) {
6264
6329
  map.current.removeImage(name);
6265
- loadedImagesRef.current.delete(name);
6266
6330
  }
6267
6331
  }, [map]);
6268
6332
  const addImage = useCallback(async (config) => {
@@ -6283,7 +6347,6 @@ const useMapImages = ({ images }) => {
6283
6347
  sdf,
6284
6348
  pixelRatio,
6285
6349
  });
6286
- loadedImagesRef.current.add(config.name);
6287
6350
  }
6288
6351
  catch (error) {
6289
6352
  const message = error instanceof Error ? error.message : "Unknown error";
@@ -6299,7 +6362,6 @@ const useMapImages = ({ images }) => {
6299
6362
  sdf,
6300
6363
  pixelRatio,
6301
6364
  });
6302
- loadedImagesRef.current.add(config.name);
6303
6365
  }
6304
6366
  catch (error) {
6305
6367
  const message = error instanceof Error ? error.message : "Unknown error";
@@ -6316,7 +6378,6 @@ const useMapImages = ({ images }) => {
6316
6378
  sdf,
6317
6379
  pixelRatio,
6318
6380
  });
6319
- loadedImagesRef.current.add(config.name);
6320
6381
  resolve();
6321
6382
  }
6322
6383
  }).catch(error => {
@@ -6357,16 +6418,19 @@ const useMapImages = ({ images }) => {
6357
6418
  if (!mapLoaded) {
6358
6419
  return;
6359
6420
  }
6360
- map.current.on("styleimagemissing", async (e) => {
6361
- const missingImage = images.find(item => item.name === e.id);
6362
- if (missingImage && !map.current.hasImage(e.id)) {
6421
+ map.current.on("style.load", async () => {
6422
+ if (previouslyLoadedImages.current.length === 0) {
6423
+ return;
6424
+ }
6425
+ const loadPromises = previouslyLoadedImages.current.map(async (config) => {
6363
6426
  try {
6364
- await addImage(missingImage);
6427
+ await addImage(config);
6365
6428
  }
6366
6429
  catch {
6367
6430
  // Ошибка уже записана в errors
6368
6431
  }
6369
- }
6432
+ });
6433
+ await Promise.all(loadPromises);
6370
6434
  });
6371
6435
  }, [mapLoaded]);
6372
6436
  return { loaded, errors, addImage, removeImage, hasImage };
@@ -7393,7 +7457,7 @@ const useDataSourceLoading = (type) => {
7393
7457
 
7394
7458
  /* eslint-disable max-lines */
7395
7459
  const useDataSources = ({ type: widgetType, config, attributes, filters, layerParams, eqlParameters, }) => {
7396
- const { ewktGeometry, ewktExtent, zoomLevel, api } = useGlobalContext();
7460
+ const { ewktGeometry, ewktExtent, zoomLevel, projectName, projectAlias, api } = useGlobalContext();
7397
7461
  const { dataSources, layerInfo } = useWidgetContext(widgetType);
7398
7462
  const { dataSources: projectDataSources } = useWidgetContext(WidgetType.Dashboard);
7399
7463
  const { filters: configFilters, dataSources: configDataSources } = config || {};
@@ -7423,6 +7487,8 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
7423
7487
  geometry: ewktGeometry,
7424
7488
  extent: ewktExtent,
7425
7489
  zoomLevel,
7490
+ projectName,
7491
+ projectAlias,
7426
7492
  layerInfo,
7427
7493
  dataSources,
7428
7494
  projectDataSources,
@@ -7499,6 +7565,8 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
7499
7565
  geometry: ewktGeometry,
7500
7566
  extent: ewktExtent,
7501
7567
  zoomLevel,
7568
+ projectName,
7569
+ projectAlias,
7502
7570
  attributes,
7503
7571
  layerParams,
7504
7572
  eqlParameters,
@@ -7522,6 +7590,8 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
7522
7590
  ewktGeometry,
7523
7591
  ewktExtent,
7524
7592
  zoomLevel,
7593
+ projectName,
7594
+ projectAlias,
7525
7595
  api,
7526
7596
  attributes,
7527
7597
  layerParams,
@@ -19205,5 +19275,5 @@ const DEFAULT_HEATMAP_STYLE = {
19205
19275
  ],
19206
19276
  };
19207
19277
 
19208
- export { ALIGNMENTS, ALIGN_ITEMS, ATTRIBUTE_ICON_ELEMENT_TYPES, AddButtonRow, AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttachmentContainer, AttributeGalleryContainer, AttributeLabel, BASE_CONTAINER_STYLE, BG_IMAGE_SLOT_ID, BaseMapTheme, CHART_TYPES, COMPACT_FRACTION_DIGITS, CONFIG_PAGES_ID, CONFIG_PAGE_ID, CONTAINERS_GROUP_DEFAULTS, CONTAINER_BODY_ATTRIBUTE, CONTAINER_BODY_FILL_STYLE, CameraContainer, Chart, ChartContainer, ChartLegend, ChartLoading, Container, ContainerBackground, ContainerChildren, ContainerLoading, ContainerRoot, ContainerTemplate, ContainerWrapper, ContainersGroupContainer, DASHBOARD_OVERLAY_Z_INDEX, DEFAULT_ATTRIBUTE_NAME, DEFAULT_BARCHART_RADIUS, DEFAULT_BASE_MAP, DEFAULT_BLUR, DEFAULT_CHART_ANGLE, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CIRCLE_RADIUS, DEFAULT_CIRCLE_STROKE_WIDTH, DEFAULT_CIRCLE_STYLE, DEFAULT_COLOR, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DATA_SOURCE_LIMIT, DEFAULT_DROPDOWN_WIDTH, DEFAULT_FILL_EXTRUSION_BASE, DEFAULT_FILL_EXTRUSION_HEIGHT, DEFAULT_FILL_EXTRUSION_STYLE, DEFAULT_FILL_EXTRUSION_VERTICAL_GRADIENT, DEFAULT_FILL_STYLE, DEFAULT_FILTER_PADDING, DEFAULT_GRID_GAP, DEFAULT_HEATMAP_COLOR, DEFAULT_HEATMAP_INTENSITY, DEFAULT_HEATMAP_RADIUS, DEFAULT_HEATMAP_STYLE, DEFAULT_HEATMAP_WEIGHT, DEFAULT_ICON_ANCHOR, DEFAULT_ICON_OVERLAP, DEFAULT_ICON_PADDING, DEFAULT_ICON_ROTATE, DEFAULT_ICON_SIZE, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LAT, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_LINE_STYLE, DEFAULT_LINE_WIDTH, DEFAULT_LNG, DEFAULT_OPACITY, DEFAULT_PAGES_CONFIG, DEFAULT_PIECHART_RADIUS, DEFAULT_SYMBOL_COLOR, DEFAULT_SYMBOL_HALO_COLOR, DEFAULT_SYMBOL_PLACEMENT, DEFAULT_SYMBOL_SPACING, DEFAULT_SYMBOL_STYLE, DEFAULT_TEXT_ANCHOR, DEFAULT_TEXT_JUSTIFY, DEFAULT_TEXT_SIZE, DEFAULT_TEXT_TRANSFORM, DEFAULT_TRACK_FR, DEFAULT_TRANSLATE, DEFAULT_ZOOM, DRAG_THRESHOLD_PX, Dashboard, DashboardCheckbox, DashboardChip, DashboardContent, DashboardContext, DashboardDefaultHeader, DashboardHeader, DashboardLoading, DashboardPlaceholder, DashboardPlaceholderWrap, DashboardProvider, DashboardWrapper, DataSourceContainer, DataSourceError, DataSourceErrorContainer, DataSourceInnerContainer, DataSourceProgressContainer, DateFormat, DefaultAttributesContainer, DefaultHeaderContainer, DefaultHeaderWrapper, DividerContainer, EMPTY_DATA_SOURCE_LAYER_INFO, EXTENT_FILTER_NAME, EditGeometryType, ElementButton, ElementCamera, ElementChart, ElementChips, ElementControl, ElementIcon, ElementImage, ElementLegend, ElementLink, ElementMarkdown, ElementSlideshow, ElementSvg, ElementTable, ElementTooltip, ElementValueWrapper, ExpandableTitle, FEATURE_CARD_DEFAULT_COLORS, FEATURE_CARD_OTHER_COLOR, FILL_SIZE, FILTERED_VALUE_OPACITY, FILTER_PREFIX, FR_PRECISION, FeatureCardBackgroundHeader, FeatureCardButtons, FeatureCardContext, FeatureCardDefaultHeader, FeatureCardHeader, FeatureCardProvider, FeatureCardSlideshowHeader, FeatureCardTitle, FeatureControls, FeatureTitleContainer, FiltersContainer, GEOMETRY_ATTRIBUTE, GEOMETRY_FILTER_NAME, GRID_AUTO_FILL_DEFAULTS, GRID_CELL_ATTR, GRID_CELL_ID_PREFIX, GRID_DRAGGING_ATTR, GRID_DRAG_SOURCE_ATTR, GRID_DROP_TARGET_ATTR, GRID_FILL_DEFAULTS, GRID_HANDLE_ATTR, GRID_HANDLE_PROPS, GRID_ROW_ID_PREFIX, GlobalContext, GlobalProvider, GridRowContainer, HANDLE_BLEED_PX, Header, HeaderContainer, HeaderFontColorMixin, HeaderFrontView, HeaderTemplate, HeaderTitleContainer, HiddenTitleItems, IconContainer, ImageContainer, LEFT_PANEL_HEADER_HEIGHT, Layer, LayerDescription, LayerGroupList, LayerIcon, LayerIconContainer, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogTerminal, LogoContainer, MAP_VIEW_FILTER_NAMES, MAX_CHART_WIDTH, MAX_TRACKS, MIN_TRACK_PX, MIN_TRACK_RATIO, Map$1 as Map, MapContext, MapProvider, NON_TRACK_SLOT_IDS, NO_CELL_DRAG_SELECTOR, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OBJECT_FITS, OVERFLOWS, OneColumnContainer, PIE_CHART_TOOLTIP_STYLE, POLL_SUBTASK_INTERVAL_MS, POLL_SUBTASK_TIMEOUT_MS, PROVIDER_PREFIX, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, ProviderPrefix, QUERY_DESCRIPTION_CACHE_TTL, RoundedBackgroundContainer, SAVE_HOOK_RESULT_DURATION, SERVER_NOTIFICATION_EVENT, STACK_BAR_TOTAL_HEIGHT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, StructuredDataContainer, SvgImage, TILE_ALIGNMENTS, TIME_ZONE_FORMAT, TITLE_SLOT_IDS, TabsContainer, TextTrim, ThemeName, TitleContainer, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, VIEW_MODES, VoteContainer, WidgetType, ZOOM_FILTER_NAME, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyTreeFilterToCondition, applyVarsToCondition, asAttributeName, asChartId, asContainerId, asDataSourceName, asFilterName, asLayerName, asModalId, asResourceId, asTabId, buildGridTemplate, buildTrackTemplate, checkEqualOrIncludes, checkIsLoading, collectConfigIds, containsNodeId, createConfigLayer, createConfigPage, createGridCell, createGridIdFactory, createGridRow, createNewPageId, createSaveNotificationId, dateOptions, debounce, decimalOpacityToHex, enrichStyleItemsWithIds, enrichStyleModelsWithIds, eqlParametersToPayload, fetchQueryDescription, findAttributeInExpression, findCellContext, formatArea, formatAttributeValue, formatChartRelatedValue, formatConditionValue, formatDataSourceCondition, formatDate$1 as formatDate, formatElementValue, formatLength, formatNumber, formatPolygonMeasure, geometryToEwkt, getActualExtrusionHeight, getAttributeByName, getAttributeConfigurationByName, getAttributeIconElement, getAttributeIconUrl, getAttributeValue, getAttributesConfiguration, getAverageTrackSize, getChartAxes, getChartFilterName, getChartMarkers, getConfigFilter, getContainerComponent, getDashboardHeader, getDataFromAttributes, getDataFromRelatedFeatures, getDataSource, getDataSourceFilterValue, getDataSourceLayerInfo, getDate, getDefaultConfig, getDisplayTemplateNameFromAttribute, getElementValue, getFeatureAttributes, getFeatureCardHeader, getFilterComponent, getFilterSelectedItems, getFilterValue, getFormattedAttributes, getGradientColors, getImageUrl, getLayerClientStyle, getLayerInfo, getLayerInfoAttribute, getLayerInfoFromDataSources, getLayoutChildren, getMapViewDataSources, getPagesFromConfig, getPagesFromProjectInfo, getProxyService, getRelatedAttribute, getRenderElement, getResourceUrl, getRootElementId, getSelectedFilterValue, getSlideshowImages, getStyleAttributes, getSvgUrl, getTemplateNameFromAttribute, getThemeByName, getTotalFromAttributes, getTotalFromRelatedFeatures, getTrackSize, getTrackSizeKey, getTrackSizes, getWrapperSizeStyle, hasContainerBgImage, hexToRgba, isCrossOriginUrl, isEmptyElementValue, isEmptyValue, isFeaturesFilterValue, isFillSize, isFrSize, isGridNode, isHiddenEmptyValue, isHookActive, isLayerService, isNotValidSelectedTab, isNumeric, isObject, isProxyService, isRootOwningContainer, isTreeFilterValue, isVisibleContainer, mapNodeById, mergeAttributeConfigurations, metersPerPixel, noMarginMixin, numberOptions, parseFrValue, parseIconNames, parseIconNamesFromClientStyle, pieChartTooltipFromAttributes, pieChartTooltipFromRelatedFeatures, pointOptions, removeDataSource, removeTracks, replaceNodesByIds, rgbToHex, roundFr, roundTotalSum, setLayoutChildren, sizeCssMixin, sliceShownOtherItems, stretchPalette, timeOptions, toConditionsArray, toCssSize, toFrSize, toPxNumber, toRenderableValue, tooltipNameFromAttributes, tooltipValueFromAttributes, tooltipValueFromRelatedFeatures, transparentizeColor, updateDataSource, useAfterSave, useAppHeight, useAttachmentDownload, useAttachmentItems, useAttachmentPreviewImages, useAutoCompleteControl, useBeforeSave, useBgImageHost, useChartChange, useChartData, useContainerAttributes, useContainerRoot, useCurrentPageLayers, useCustomFeatureSelect, useDashboardHeader, useDataSourceLoading, useDataSources, useDebouncedCallback, useDiffPage, useEditGroupAttributes, useEqualTileWidth, useExpandableContainers, useExportPdf, useFeatureSaveHooks, useFetchImageWithAuth, useFetchWithAuth, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useLayerHiddenAttributes, useLayerParams, useMapContext, useMapDraw, useMapImages, useMaxZoomTo, useProjectDashboardInit, usePythonSandbox, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRemoteTask, useRenderElement, useResizeBox, useSavePrototypeBuilder, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useVisibleProjectItems, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useWrapperSize, useZoomToFeatures, useZoomToPoint, withTrackSize };
19278
+ export { ALIGNMENTS, ALIGN_ITEMS, ATTRIBUTE_ICON_ELEMENT_TYPES, AddButtonRow, AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttachmentContainer, AttributeGalleryContainer, AttributeLabel, BASE_CONTAINER_STYLE, BG_IMAGE_SLOT_ID, BaseMapTheme, CHART_TYPES, COMPACT_FRACTION_DIGITS, CONFIG_PAGES_ID, CONFIG_PAGE_ID, CONTAINERS_GROUP_DEFAULTS, CONTAINER_BODY_ATTRIBUTE, CONTAINER_BODY_FILL_STYLE, CameraContainer, Chart, ChartContainer, ChartLegend, ChartLoading, Container, ContainerBackground, ContainerChildren, ContainerLoading, ContainerRoot, ContainerTemplate, ContainerWrapper, ContainersGroupContainer, DASHBOARD_OVERLAY_Z_INDEX, DEFAULT_ATTRIBUTE_NAME, DEFAULT_BARCHART_RADIUS, DEFAULT_BASE_MAP, DEFAULT_BLUR, DEFAULT_CHART_ANGLE, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CIRCLE_RADIUS, DEFAULT_CIRCLE_STROKE_WIDTH, DEFAULT_CIRCLE_STYLE, DEFAULT_COLOR, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DATA_SOURCE_LIMIT, DEFAULT_DROPDOWN_WIDTH, DEFAULT_FILL_EXTRUSION_BASE, DEFAULT_FILL_EXTRUSION_HEIGHT, DEFAULT_FILL_EXTRUSION_STYLE, DEFAULT_FILL_EXTRUSION_VERTICAL_GRADIENT, DEFAULT_FILL_STYLE, DEFAULT_FILTER_PADDING, DEFAULT_GRID_GAP, DEFAULT_HEATMAP_COLOR, DEFAULT_HEATMAP_INTENSITY, DEFAULT_HEATMAP_RADIUS, DEFAULT_HEATMAP_STYLE, DEFAULT_HEATMAP_WEIGHT, DEFAULT_ICON_ANCHOR, DEFAULT_ICON_OVERLAP, DEFAULT_ICON_PADDING, DEFAULT_ICON_ROTATE, DEFAULT_ICON_SIZE, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LAT, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_LINE_STYLE, DEFAULT_LINE_WIDTH, DEFAULT_LNG, DEFAULT_OPACITY, DEFAULT_PAGES_CONFIG, DEFAULT_PIECHART_RADIUS, DEFAULT_SYMBOL_COLOR, DEFAULT_SYMBOL_HALO_COLOR, DEFAULT_SYMBOL_PLACEMENT, DEFAULT_SYMBOL_SPACING, DEFAULT_SYMBOL_STYLE, DEFAULT_TEXT_ANCHOR, DEFAULT_TEXT_JUSTIFY, DEFAULT_TEXT_SIZE, DEFAULT_TEXT_TRANSFORM, DEFAULT_TRACK_FR, DEFAULT_TRANSLATE, DEFAULT_ZOOM, DRAG_THRESHOLD_PX, Dashboard, DashboardCheckbox, DashboardChip, DashboardContent, DashboardContext, DashboardDefaultHeader, DashboardHeader, DashboardLoading, DashboardPlaceholder, DashboardPlaceholderWrap, DashboardProvider, DashboardWrapper, DataSourceContainer, DataSourceError, DataSourceErrorContainer, DataSourceInnerContainer, DataSourceProgressContainer, DateFormat, DefaultAttributesContainer, DefaultHeaderContainer, DefaultHeaderWrapper, DividerContainer, EMPTY_DATA_SOURCE_LAYER_INFO, EXTENT_FILTER_NAME, EditGeometryType, ElementButton, ElementCamera, ElementChart, ElementChips, ElementControl, ElementIcon, ElementImage, ElementLegend, ElementLink, ElementMarkdown, ElementSlideshow, ElementSvg, ElementTable, ElementTooltip, ElementValueWrapper, ExpandableTitle, FEATURE_CARD_DEFAULT_COLORS, FEATURE_CARD_OTHER_COLOR, FILL_SIZE, FILTERED_VALUE_OPACITY, FILTER_PREFIX, FR_PRECISION, FeatureCardBackgroundHeader, FeatureCardButtons, FeatureCardContext, FeatureCardDefaultHeader, FeatureCardHeader, FeatureCardProvider, FeatureCardSlideshowHeader, FeatureCardTitle, FeatureControls, FeatureTitleContainer, FiltersContainer, GEOMETRY_ATTRIBUTE, GEOMETRY_FILTER_NAME, GRID_AUTO_FILL_DEFAULTS, GRID_CELL_ATTR, GRID_CELL_ID_PREFIX, GRID_DRAGGING_ATTR, GRID_DRAG_SOURCE_ATTR, GRID_DROP_TARGET_ATTR, GRID_FILL_DEFAULTS, GRID_HANDLE_ATTR, GRID_HANDLE_PROPS, GRID_ROW_ID_PREFIX, GlobalContext, GlobalProvider, GridRowContainer, HANDLE_BLEED_PX, Header, HeaderContainer, HeaderFontColorMixin, HeaderFrontView, HeaderTemplate, HeaderTitleContainer, HiddenTitleItems, IconContainer, ImageContainer, LEFT_PANEL_HEADER_HEIGHT, Layer, LayerDescription, LayerGroupList, LayerIcon, LayerIconContainer, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogTerminal, LogoContainer, MAP_VIEW_FILTER_NAMES, MAX_CHART_WIDTH, MAX_TRACKS, MIN_TRACK_PX, MIN_TRACK_RATIO, Map$1 as Map, MapContext, MapProvider, NON_TRACK_SLOT_IDS, NO_CELL_DRAG_SELECTOR, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OBJECT_FITS, OVERFLOWS, OneColumnContainer, PIE_CHART_TOOLTIP_STYLE, POLL_SUBTASK_INTERVAL_MS, POLL_SUBTASK_TIMEOUT_MS, PROJECT_ALIAS_PROP, PROJECT_FILTER_NAME, PROJECT_NAME_PROP, PROJECT_PROPS, PROVIDER_PREFIX, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, ProviderPrefix, QUERY_DESCRIPTION_CACHE_TTL, RoundedBackgroundContainer, SAVE_HOOK_RESULT_DURATION, SERVER_NOTIFICATION_EVENT, STACK_BAR_TOTAL_HEIGHT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, StructuredDataContainer, SvgImage, TILE_ALIGNMENTS, TIME_ZONE_FORMAT, TITLE_SLOT_IDS, TabsContainer, TextTrim, ThemeName, TitleContainer, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, VIEW_MODES, VoteContainer, WidgetType, ZOOM_FILTER_NAME, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyTreeFilterToCondition, applyVarsToCondition, asAttributeName, asChartId, asContainerId, asDataSourceName, asFilterName, asLayerName, asModalId, asResourceId, asTabId, buildGridTemplate, buildTrackTemplate, checkEqualOrIncludes, checkIsLoading, collectConfigIds, containsNodeId, createConfigLayer, createConfigPage, createGridCell, createGridIdFactory, createGridRow, createNewPageId, createSaveNotificationId, dateOptions, debounce, decimalOpacityToHex, enrichStyleItemsWithIds, enrichStyleModelsWithIds, eqlParametersToPayload, fetchQueryDescription, findAttributeInExpression, findCellContext, formatArea, formatAttributeValue, formatChartRelatedValue, formatConditionValue, formatDataSourceCondition, formatDate$1 as formatDate, formatElementValue, formatLength, formatNumber, formatPolygonMeasure, geometryToEwkt, getActualExtrusionHeight, getAttributeByName, getAttributeConfigurationByName, getAttributeIconElement, getAttributeIconUrl, getAttributeValue, getAttributesConfiguration, getAverageTrackSize, getChartAxes, getChartFilterName, getChartMarkers, getConfigFilter, getContainerComponent, getDashboardHeader, getDataFromAttributes, getDataFromRelatedFeatures, getDataSource, getDataSourceFilterValue, getDataSourceLayerInfo, getDate, getDefaultConfig, getDisplayTemplateNameFromAttribute, getElementValue, getFeatureAttributes, getFeatureCardHeader, getFilterComponent, getFilterSelectedItems, getFilterValue, getFormattedAttributes, getGradientColors, getImageUrl, getLayerClientStyle, getLayerInfo, getLayerInfoAttribute, getLayerInfoFromDataSources, getLayoutChildren, getMapViewDataSources, getPagesFromConfig, getPagesFromProjectInfo, getProjectValue, getProxyService, getRelatedAttribute, getRenderElement, getResourceUrl, getRootElementId, getSelectedFilterValue, getSlideshowImages, getStyleAttributes, getSvgUrl, getTemplateNameFromAttribute, getThemeByName, getTotalFromAttributes, getTotalFromRelatedFeatures, getTrackSize, getTrackSizeKey, getTrackSizes, getWrapperSizeStyle, hasContainerBgImage, hexToRgba, isCrossOriginUrl, isEmptyElementValue, isEmptyValue, isFeaturesFilterValue, isFillSize, isFrSize, isGridNode, isHiddenEmptyValue, isHookActive, isLayerService, isNotValidSelectedTab, isNumeric, isObject, isProxyService, isRootOwningContainer, isTreeFilterValue, isVisibleContainer, mapNodeById, mergeAttributeConfigurations, metersPerPixel, noMarginMixin, numberOptions, parseFrValue, parseIconNames, parseIconNamesFromClientStyle, pieChartTooltipFromAttributes, pieChartTooltipFromRelatedFeatures, pointOptions, removeDataSource, removeTracks, replaceNodesByIds, rgbToHex, roundFr, roundTotalSum, setLayoutChildren, sizeCssMixin, sliceShownOtherItems, stretchPalette, timeOptions, toConditionsArray, toCssSize, toFrSize, toPxNumber, toRenderableValue, tooltipNameFromAttributes, tooltipValueFromAttributes, tooltipValueFromRelatedFeatures, transparentizeColor, updateDataSource, useAfterSave, useAppHeight, useAttachmentDownload, useAttachmentItems, useAttachmentPreviewImages, useAutoCompleteControl, useBeforeSave, useBgImageHost, useChartChange, useChartData, useContainerAttributes, useContainerRoot, useCurrentPageLayers, useCustomFeatureSelect, useDashboardHeader, useDataSourceLoading, useDataSources, useDebouncedCallback, useDiffPage, useEditGroupAttributes, useEqualTileWidth, useExpandableContainers, useExportPdf, useFeatureSaveHooks, useFetchImageWithAuth, useFetchWithAuth, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useLayerHiddenAttributes, useLayerParams, useMapContext, useMapDraw, useMapImages, useMaxZoomTo, useProjectDashboardInit, usePythonSandbox, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRemoteTask, useRenderElement, useResizeBox, useSavePrototypeBuilder, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useVisibleProjectItems, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useWrapperSize, useZoomToFeatures, useZoomToPoint, withTrackSize };
19209
19279
  //# sourceMappingURL=react.esm.js.map