datastake-daf 0.6.802 → 0.6.804

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.
@@ -4778,7 +4778,7 @@ const config$2 = {
4778
4778
  Down: config$3
4779
4779
  };
4780
4780
 
4781
- const _excluded$F = ["width", "height", "size", "name", "fill"];
4781
+ const _excluded$H = ["width", "height", "size", "name", "fill"];
4782
4782
  const CustomIcon = _ref => {
4783
4783
  let {
4784
4784
  width = 14,
@@ -4787,7 +4787,7 @@ const CustomIcon = _ref => {
4787
4787
  name = "",
4788
4788
  fill = "none"
4789
4789
  } = _ref,
4790
- props = _objectWithoutProperties(_ref, _excluded$F);
4790
+ props = _objectWithoutProperties(_ref, _excluded$H);
4791
4791
  const conf = config$2[name];
4792
4792
  if (conf) {
4793
4793
  return /*#__PURE__*/jsxRuntime.jsx("svg", _objectSpread2(_objectSpread2({}, props), {}, {
@@ -5076,7 +5076,7 @@ createCommonjsModule(function (module, exports) {
5076
5076
  !function(e,n){module.exports=n();}(commonjsGlobal,(function(){return {name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var n=["th","st","nd","rd"],t=e%100;return "["+e+(n[(t-20)%10]||n[t]||n[0])+"]"}}}));
5077
5077
  });
5078
5078
 
5079
- const _excluded$E = ["view", "module", "scope", "form", "meta", "createdAt", "updatedAt"];
5079
+ const _excluded$G = ["view", "module", "scope", "form", "meta", "createdAt", "updatedAt"];
5080
5080
  dayjs__default["default"].extend(customParseFormat);
5081
5081
  dayjs__default["default"].extend(utc);
5082
5082
  dayjs__default["default"].extend(utc);
@@ -5452,7 +5452,7 @@ const filterCreateData = data => {
5452
5452
  createdAt,
5453
5453
  updatedAt
5454
5454
  } = data,
5455
- rest = _objectWithoutProperties(data, _excluded$E);
5455
+ rest = _objectWithoutProperties(data, _excluded$G);
5456
5456
  const _meta = isObjectEmpty(meta) ? undefined : meta;
5457
5457
  return _objectSpread2(_objectSpread2({}, rest), {}, {
5458
5458
  meta: _meta
@@ -5848,7 +5848,7 @@ SelectFilters.propTypes = {
5848
5848
  apiUrl: PropTypes__default["default"].string
5849
5849
  };
5850
5850
 
5851
- const _excluded$D = ["columns", "data", "defaultFilters", "style", "pagination", "loading", "onChange", "onFilterChange", "selectOptions", "filtersConfig", "rowSelection", "setShowFilters", "rowKey", "showFilters", "hideOnLoading", "sourcesKey", "className", "projects", "t", "selectedProject", "sourceId", "projectSources", "language", "scrollX", "apiUrl", "app", "doEmptyRows"];
5851
+ const _excluded$F = ["columns", "data", "defaultFilters", "style", "pagination", "loading", "onChange", "onFilterChange", "selectOptions", "filtersConfig", "rowSelection", "setShowFilters", "rowKey", "showFilters", "hideOnLoading", "sourcesKey", "className", "projects", "t", "selectedProject", "sourceId", "projectSources", "language", "scrollX", "apiUrl", "app", "doEmptyRows"];
5852
5852
  function DAFTable(_ref) {
5853
5853
  let {
5854
5854
  columns = [],
@@ -5879,7 +5879,7 @@ function DAFTable(_ref) {
5879
5879
  app,
5880
5880
  doEmptyRows
5881
5881
  } = _ref,
5882
- rest = _objectWithoutProperties(_ref, _excluded$D);
5882
+ rest = _objectWithoutProperties(_ref, _excluded$F);
5883
5883
  const [source, setSource] = React.useState([]);
5884
5884
  const projectData = (projects || []).find(p => p.id === selectedProject);
5885
5885
  const [filtersInit, setFiltersInit] = React.useState(!loading);
@@ -6623,8 +6623,8 @@ Pagination.propTypes = {
6623
6623
  isMobile: PropTypes__default["default"].bool
6624
6624
  };
6625
6625
 
6626
- var _templateObject$h;
6627
- const Style$T = styled__default["default"].div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n\n\t.p-placeholder {\n\t\tposition: absolute;\n\t\ttop: 0px;\n\t\tleft: 0px;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: transparent;\n\t\tz-index: 100;\n\t}\n"])));
6626
+ var _templateObject$i;
6627
+ const Style$T = styled__default["default"].div(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n\n\t.p-placeholder {\n\t\tposition: absolute;\n\t\ttop: 0px;\n\t\tleft: 0px;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: transparent;\n\t\tz-index: 100;\n\t}\n"])));
6628
6628
 
6629
6629
  /**
6630
6630
  * ComponentWithFocus
@@ -6696,8 +6696,8 @@ function ComponentWithFocus(_ref) {
6696
6696
  });
6697
6697
  }
6698
6698
 
6699
- var _templateObject$g;
6700
- const _excluded$C = ["size", "maxHeight", "containerHeight", "dataSource", "columns", "pagination", "doEmptyRows"];
6699
+ var _templateObject$h;
6700
+ const _excluded$E = ["size", "maxHeight", "containerHeight", "dataSource", "columns", "pagination", "doEmptyRows"];
6701
6701
  function StickyTable(_ref) {
6702
6702
  let {
6703
6703
  size = "small",
@@ -6708,7 +6708,7 @@ function StickyTable(_ref) {
6708
6708
  pagination = false,
6709
6709
  doEmptyRows = true
6710
6710
  } = _ref,
6711
- props = _objectWithoutProperties(_ref, _excluded$C);
6711
+ props = _objectWithoutProperties(_ref, _excluded$E);
6712
6712
  const data = React__default["default"].useMemo(() => {
6713
6713
  if (!doEmptyRows) {
6714
6714
  return dataSource;
@@ -6754,7 +6754,7 @@ function StickyTable(_ref) {
6754
6754
  })
6755
6755
  });
6756
6756
  }
6757
- const Style$S = styled__default["default"].div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n\tmax-width: calc(100% - 48px);\n\tmargin-left: var(--size-lg);\n\toverflow: hidden;\n\n\t.daf-table {\n\t\tpadding: 0px;\n\t\tmargin-top: 0px;\n\n\t\t.ant-tag {\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\n\t.daf-select-filters .filters {\n\t\tpadding-top: 16px;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t}\n\n\t.daf-table {\n\t\tpadding-top: 16px;\n\t}\n"])));
6757
+ const Style$S = styled__default["default"].div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n\tmax-width: calc(100% - 48px);\n\tmargin-left: var(--size-lg);\n\toverflow: hidden;\n\n\t.daf-table {\n\t\tpadding: 0px;\n\t\tmargin-top: 0px;\n\n\t\t.ant-tag {\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\n\t.daf-select-filters .filters {\n\t\tpadding-top: 16px;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t}\n\n\t.daf-table {\n\t\tpadding-top: 16px;\n\t}\n"])));
6758
6758
  StickyTable.propTypes = {
6759
6759
  size: PropTypes__default["default"].any,
6760
6760
  maxHeight: PropTypes__default["default"].number,
@@ -7236,7 +7236,7 @@ const BTN_SIZE = {
7236
7236
  LG: 'large'
7237
7237
  };
7238
7238
 
7239
- const _excluded$B = ["content", "size", "type", "icon", "onClick", "disabled", "loading", "title", "style", "className"];
7239
+ const _excluded$D = ["content", "size", "type", "icon", "onClick", "disabled", "loading", "title", "style", "className"];
7240
7240
  function DafButton(_ref) {
7241
7241
  let {
7242
7242
  content = '',
@@ -7250,7 +7250,7 @@ function DafButton(_ref) {
7250
7250
  style = {},
7251
7251
  className = ''
7252
7252
  } = _ref,
7253
- restProps = _objectWithoutProperties(_ref, _excluded$B);
7253
+ restProps = _objectWithoutProperties(_ref, _excluded$D);
7254
7254
  return /*#__PURE__*/jsxRuntime.jsx(antd.Button, _objectSpread2(_objectSpread2({
7255
7255
  icon: icon,
7256
7256
  type: type,
@@ -7369,12 +7369,12 @@ const Style$R = styled__default["default"].div`
7369
7369
  }
7370
7370
  `;
7371
7371
 
7372
- const _excluded$A = ["children"];
7372
+ const _excluded$C = ["children"];
7373
7373
  const BorderedButton = _ref => {
7374
7374
  let {
7375
7375
  children
7376
7376
  } = _ref,
7377
- props = _objectWithoutProperties(_ref, _excluded$A);
7377
+ props = _objectWithoutProperties(_ref, _excluded$C);
7378
7378
  return /*#__PURE__*/jsxRuntime.jsx(Style$R, {
7379
7379
  className: "d-btn-cont",
7380
7380
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Button, _objectSpread2(_objectSpread2({}, props), {}, {
@@ -7383,7 +7383,7 @@ const BorderedButton = _ref => {
7383
7383
  });
7384
7384
  };
7385
7385
 
7386
- var _templateObject$f;
7386
+ var _templateObject$g;
7387
7387
  const variantConfig = {
7388
7388
  default: {
7389
7389
  className: "default-badge",
@@ -7501,7 +7501,7 @@ function Badge(_ref) {
7501
7501
  })
7502
7502
  });
7503
7503
  }
7504
- const Style$Q = styled__default["default"].div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tgap: 4px;\n\tpadding: 4px;\n\tmax-width: 100%;\n\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\n\t> svg {\n\t\tflex-shrink: 0;\n\t}\n\n\t> span {\n\t\tall: unset;\n\t\tmargin-left: 4px;\n\t\tfont-weight: 600;\n\t\tfont-size: 12px;\n\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\twhite-space: nowrap;\n\t\tdisplay: block;\n\t\tmax-width: 100%;\n\t}\n"])));
7504
+ const Style$Q = styled__default["default"].div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tgap: 4px;\n\tpadding: 4px;\n\tmax-width: 100%;\n\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\n\t> svg {\n\t\tflex-shrink: 0;\n\t}\n\n\t> span {\n\t\tall: unset;\n\t\tmargin-left: 4px;\n\t\tfont-weight: 600;\n\t\tfont-size: 12px;\n\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\twhite-space: nowrap;\n\t\tdisplay: block;\n\t\tmax-width: 100%;\n\t}\n"])));
7505
7505
  Badge.propTypes = {
7506
7506
  children: PropTypes__default["default"].node,
7507
7507
  className: PropTypes__default["default"].string,
@@ -7514,12 +7514,12 @@ Badge.propTypes = {
7514
7514
  props: PropTypes__default["default"].object
7515
7515
  };
7516
7516
 
7517
- const _excluded$z = ["icon"];
7517
+ const _excluded$B = ["icon"];
7518
7518
  function GetIcon(_ref) {
7519
7519
  let {
7520
7520
  icon
7521
7521
  } = _ref,
7522
- props = _objectWithoutProperties(_ref, _excluded$z);
7522
+ props = _objectWithoutProperties(_ref, _excluded$B);
7523
7523
  let Icon = Icons__namespace.CloseOutlined;
7524
7524
  if (Icons__namespace[icon]) {
7525
7525
  Icon = Icons__namespace[icon];
@@ -7849,7 +7849,7 @@ const MultiSelectStyled = styled__default["default"](antd.Select)`
7849
7849
  }
7850
7850
  `;
7851
7851
 
7852
- const _excluded$y = ["options", "defaultSelected", "onChange", "textWhenMultiple", "withCount", "oneAlwaysSelected", "canUnselectLast", "isAvatarGroup", "maxAvatarCount", "dropDownWidth", "topAvatarValue", "isSingle", "selectionType"];
7852
+ const _excluded$A = ["options", "defaultSelected", "onChange", "textWhenMultiple", "withCount", "oneAlwaysSelected", "canUnselectLast", "isAvatarGroup", "maxAvatarCount", "dropDownWidth", "topAvatarValue", "isSingle", "selectionType"];
7853
7853
  const {
7854
7854
  useToken: useToken$n
7855
7855
  } = antd.theme;
@@ -7942,7 +7942,7 @@ function Multiselect(_ref) {
7942
7942
  isSingle = false,
7943
7943
  selectionType = SELECTION_TYPES.DEFAULT
7944
7944
  } = _ref,
7945
- restProps = _objectWithoutProperties(_ref, _excluded$y);
7945
+ restProps = _objectWithoutProperties(_ref, _excluded$A);
7946
7946
  const {
7947
7947
  token
7948
7948
  } = useToken$n();
@@ -8662,7 +8662,7 @@ DAFHeader.propTypes = {
8662
8662
  filtersConfig: PropTypes__default["default"].any
8663
8663
  };
8664
8664
 
8665
- const _excluded$x = ["tabs", "onChange", "value", "className"];
8665
+ const _excluded$z = ["tabs", "onChange", "value", "className"];
8666
8666
  function TabsHeader(_ref) {
8667
8667
  let {
8668
8668
  tabs = [],
@@ -8670,7 +8670,7 @@ function TabsHeader(_ref) {
8670
8670
  value = '',
8671
8671
  className = 'mt-2'
8672
8672
  } = _ref,
8673
- rest = _objectWithoutProperties(_ref, _excluded$x);
8673
+ rest = _objectWithoutProperties(_ref, _excluded$z);
8674
8674
  return /*#__PURE__*/jsxRuntime.jsx("div", {
8675
8675
  className: formatClassname(['daf-tabs-header pl-6 pr-6', className]),
8676
8676
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Tabs, _objectSpread2({
@@ -8767,7 +8767,7 @@ DrawerHeader.propTypes = {
8767
8767
  tabsConfig: PropTypes__default["default"].any
8768
8768
  };
8769
8769
 
8770
- const _excluded$w = ["label", "onClick", "icon", "type", "tooltip", "disabled", "loading", "style", "className"];
8770
+ const _excluded$y = ["label", "onClick", "icon", "type", "tooltip", "disabled", "loading", "style", "className"];
8771
8771
  const useFooter = _ref => {
8772
8772
  let {
8773
8773
  leftContent,
@@ -8802,7 +8802,7 @@ const useFooter = _ref => {
8802
8802
  style = {},
8803
8803
  className = ""
8804
8804
  } = button,
8805
- restProps = _objectWithoutProperties(button, _excluded$w);
8805
+ restProps = _objectWithoutProperties(button, _excluded$y);
8806
8806
  return /*#__PURE__*/jsxRuntime.jsx(DafButton, _objectSpread2({
8807
8807
  content: label,
8808
8808
  type: type,
@@ -8829,8 +8829,8 @@ const useFooter = _ref => {
8829
8829
  };
8830
8830
  };
8831
8831
 
8832
- var _templateObject$e;
8833
- const FooterContainer = styled__default["default"].div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n\t.daf-footer {\n\t\tbackground: #ffffff;\n\t\tborder-top: 1px solid #e8e8e8;\n\t\tborder-left: none;\n\t\tborder-right: none;\n\t\tborder-bottom: none;\n\t\tborder-radius: 0;\n\t\tpadding: 24px;\n\t\tmargin: 0;\n\t\tbox-shadow: none;\n\t\tz-index: 100;\n\t\tposition: relative;\n\t\tmin-height: 80px;\n\n\t\t&.daf-footer-fixed {\n\t\t\tposition: fixed;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tz-index: 1000;\n\t\t}\n\n\t\t.daf-footer-content {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\twidth: 100%;\n\t\t\tmin-height: 32px;\n\n\t\t\t.daf-footer-left {\n\t\t\t\tflex: 1;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\n\t\t\t.daf-footer-center {\n\t\t\t\tflex: 1;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\t.daf-footer-right {\n\t\t\t\tflex: 1;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: flex-end;\n\t\t\t\tgap: 12px;\n\n\t\t\t\t.daf-footer-actions {\n\t\t\t\t\t.ant-btn {\n\t\t\t\t\t\theight: 40px;\n\t\t\t\t\t\tpadding: 0 24px;\n\t\t\t\t\t\tborder-radius: 6px;\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\ttransition: all 0.3s ease;\n\t\t\t\t\t\tborder: 1px solid transparent;\n\n\t\t\t\t\t\t&.ant-btn-primary {\n\t\t\t\t\t\t\tbackground-color: var(--color-primary-70);\n\t\t\t\t\t\t\tcolor: #ffffff;\n\t\t\t\t\t\t\tborder-color: var(--color-primary-70);\n\n\t\t\t\t\t\t\t&:hover {\n\t\t\t\t\t\t\t\tbackground-color: var(--color-primary-60);\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-60);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:active {\n\t\t\t\t\t\t\t\tbackground-color: var(--color-primary-80);\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-80);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:disabled {\n\t\t\t\t\t\t\t\tbackground-color: #f5f5f5;\n\t\t\t\t\t\t\t\tcolor: #bfbfbf;\n\t\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t&.ant-btn-default {\n\t\t\t\t\t\t\tbackground: #ffffff;\n\t\t\t\t\t\t\tcolor: #666666;\n\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\n\t\t\t\t\t\t\t&:hover {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-70);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-70);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:active {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-80);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-80);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:disabled {\n\t\t\t\t\t\t\t\tbackground-color: #f5f5f5;\n\t\t\t\t\t\t\t\tcolor: #bfbfbf;\n\t\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t&.ant-btn-ghost {\n\t\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\t\tcolor: #666666;\n\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\n\t\t\t\t\t\t\t&:hover {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-70);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-70);\n\t\t\t\t\t\t\t\tbackground: rgba(0, 0, 0, 0.02);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:active {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-80);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-80);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:disabled {\n\t\t\t\t\t\t\t\tcolor: #bfbfbf;\n\t\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Responsive design */\n\t@media (max-width: 768px) {\n\t\t.daf-footer {\n\t\t\tmargin: 0;\n\t\t\tpadding: 16px;\n\n\t\t\t.daf-footer-content {\n\t\t\t\tflex-direction: column;\n\t\t\t\tgap: 16px;\n\t\t\t\talign-items: stretch;\n\n\t\t\t\t.daf-footer-left,\n\t\t\t\t.daf-footer-center,\n\t\t\t\t.daf-footer-right {\n\t\t\t\t\tflex: none;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t}\n\n\t\t\t\t.daf-footer-right {\n\t\t\t\t\t.daf-footer-actions {\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/* App-specific styling */\n\t&.sbg-app {\n\t\t.daf-footer {\n\t\t\tbackground: #f8f9fa;\n\t\t\tborder-color: #e9ecef;\n\t\t}\n\t}\n\n\t&.nashiriki-app {\n\t\t.daf-footer {\n\t\t\tbackground: #fff;\n\t\t\tborder-color: #d9d9d9;\n\t\t}\n\t}\n"])));
8832
+ var _templateObject$f;
8833
+ const FooterContainer = styled__default["default"].div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n\t.daf-footer {\n\t\tbackground: #ffffff;\n\t\tborder-top: 1px solid #e8e8e8;\n\t\tborder-left: none;\n\t\tborder-right: none;\n\t\tborder-bottom: none;\n\t\tborder-radius: 0;\n\t\tpadding: 24px;\n\t\tmargin: 0;\n\t\tbox-shadow: none;\n\t\tz-index: 100;\n\t\tposition: relative;\n\t\tmin-height: 80px;\n\n\t\t&.daf-footer-fixed {\n\t\t\tposition: fixed;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tz-index: 1000;\n\t\t}\n\n\t\t.daf-footer-content {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\twidth: 100%;\n\t\t\tmin-height: 32px;\n\n\t\t\t.daf-footer-left {\n\t\t\t\tflex: 1;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\n\t\t\t.daf-footer-center {\n\t\t\t\tflex: 1;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\t.daf-footer-right {\n\t\t\t\tflex: 1;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: flex-end;\n\t\t\t\tgap: 12px;\n\n\t\t\t\t.daf-footer-actions {\n\t\t\t\t\t.ant-btn {\n\t\t\t\t\t\theight: 40px;\n\t\t\t\t\t\tpadding: 0 24px;\n\t\t\t\t\t\tborder-radius: 6px;\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\ttransition: all 0.3s ease;\n\t\t\t\t\t\tborder: 1px solid transparent;\n\n\t\t\t\t\t\t&.ant-btn-primary {\n\t\t\t\t\t\t\tbackground-color: var(--color-primary-70);\n\t\t\t\t\t\t\tcolor: #ffffff;\n\t\t\t\t\t\t\tborder-color: var(--color-primary-70);\n\n\t\t\t\t\t\t\t&:hover {\n\t\t\t\t\t\t\t\tbackground-color: var(--color-primary-60);\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-60);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:active {\n\t\t\t\t\t\t\t\tbackground-color: var(--color-primary-80);\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-80);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:disabled {\n\t\t\t\t\t\t\t\tbackground-color: #f5f5f5;\n\t\t\t\t\t\t\t\tcolor: #bfbfbf;\n\t\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t&.ant-btn-default {\n\t\t\t\t\t\t\tbackground: #ffffff;\n\t\t\t\t\t\t\tcolor: #666666;\n\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\n\t\t\t\t\t\t\t&:hover {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-70);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-70);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:active {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-80);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-80);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:disabled {\n\t\t\t\t\t\t\t\tbackground-color: #f5f5f5;\n\t\t\t\t\t\t\t\tcolor: #bfbfbf;\n\t\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t&.ant-btn-ghost {\n\t\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\t\tcolor: #666666;\n\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\n\t\t\t\t\t\t\t&:hover {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-70);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-70);\n\t\t\t\t\t\t\t\tbackground: rgba(0, 0, 0, 0.02);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:active {\n\t\t\t\t\t\t\t\tborder-color: var(--color-primary-80);\n\t\t\t\t\t\t\t\tcolor: var(--color-primary-80);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t&:disabled {\n\t\t\t\t\t\t\t\tcolor: #bfbfbf;\n\t\t\t\t\t\t\t\tborder-color: #d9d9d9;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Responsive design */\n\t@media (max-width: 768px) {\n\t\t.daf-footer {\n\t\t\tmargin: 0;\n\t\t\tpadding: 16px;\n\n\t\t\t.daf-footer-content {\n\t\t\t\tflex-direction: column;\n\t\t\t\tgap: 16px;\n\t\t\t\talign-items: stretch;\n\n\t\t\t\t.daf-footer-left,\n\t\t\t\t.daf-footer-center,\n\t\t\t\t.daf-footer-right {\n\t\t\t\t\tflex: none;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t}\n\n\t\t\t\t.daf-footer-right {\n\t\t\t\t\t.daf-footer-actions {\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/* App-specific styling */\n\t&.sbg-app {\n\t\t.daf-footer {\n\t\t\tbackground: #f8f9fa;\n\t\t\tborder-color: #e9ecef;\n\t\t}\n\t}\n\n\t&.nashiriki-app {\n\t\t.daf-footer {\n\t\t\tbackground: #fff;\n\t\t\tborder-color: #d9d9d9;\n\t\t}\n\t}\n"])));
8834
8834
 
8835
8835
  function DAFFooter(_ref) {
8836
8836
  let {
@@ -11683,7 +11683,7 @@ Widget.propTypes = {
11683
11683
  };
11684
11684
  Widget.displayName = 'Widget';
11685
11685
 
11686
- const _excluded$v = ["loading", "title", "image", "description", "imgAlt", "noDescriptionText", "isPdf"];
11686
+ const _excluded$x = ["loading", "title", "image", "description", "imgAlt", "noDescriptionText", "isPdf"];
11687
11687
  function ImageWidget(_ref) {
11688
11688
  let {
11689
11689
  loading = false,
@@ -11694,7 +11694,7 @@ function ImageWidget(_ref) {
11694
11694
  noDescriptionText,
11695
11695
  isPdf = false
11696
11696
  } = _ref,
11697
- props = _objectWithoutProperties(_ref, _excluded$v);
11697
+ props = _objectWithoutProperties(_ref, _excluded$x);
11698
11698
  const expandable = isPdf ? false : props.expandable;
11699
11699
  return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
11700
11700
  loading: loading,
@@ -11753,8 +11753,8 @@ function ImageWidget(_ref) {
11753
11753
  }
11754
11754
  ImageWidget.displayName = 'ImageWidget';
11755
11755
 
11756
- var _templateObject$d;
11757
- const _excluded$u = ["title", "loading", "data", "current", "defaultActiveTab", "widgetClassname", "className", "direction"];
11756
+ var _templateObject$e;
11757
+ const _excluded$w = ["title", "loading", "data", "current", "defaultActiveTab", "widgetClassname", "className", "direction"];
11758
11758
  function FlowWidget(_ref) {
11759
11759
  let {
11760
11760
  title,
@@ -11766,7 +11766,7 @@ function FlowWidget(_ref) {
11766
11766
  className,
11767
11767
  direction = "horizontal"
11768
11768
  } = _ref,
11769
- rest = _objectWithoutProperties(_ref, _excluded$u);
11769
+ rest = _objectWithoutProperties(_ref, _excluded$w);
11770
11770
  const [activeTab, setActiveTab] = React.useState();
11771
11771
  React.useEffect(() => {
11772
11772
  if (defaultActiveTab) {
@@ -11903,7 +11903,7 @@ function Icon(_ref2) {
11903
11903
  return icon(status);
11904
11904
  }
11905
11905
  }
11906
- const Style$P = styled__default["default"].div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n\toverflow-x: auto;\n\toverflow-y: hidden;\n\n\t::-webkit-scrollbar {\n\t\tdisplay: none;\n\t}\n\n\tscrollbar-width: none;\n\n\t-ms-overflow-style: none;\n\n\t@media (max-width: 532px) {\n\t\toverflow-x: hidden;\n\t}\n\n\t:where(.ant-steps-horizontal):not(.ant-steps-label-vertical) {\n\t\t.ant-steps-item-content {\n\t\t\twidth: 100%;\n\n\t\t\t.ant-steps-item-description {\n\t\t\t\tmin-width: 205px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"])));
11906
+ const Style$P = styled__default["default"].div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n\toverflow-x: auto;\n\toverflow-y: hidden;\n\n\t::-webkit-scrollbar {\n\t\tdisplay: none;\n\t}\n\n\tscrollbar-width: none;\n\n\t-ms-overflow-style: none;\n\n\t@media (max-width: 532px) {\n\t\toverflow-x: hidden;\n\t}\n\n\t:where(.ant-steps-horizontal):not(.ant-steps-label-vertical) {\n\t\t.ant-steps-item-content {\n\t\t\twidth: 100%;\n\n\t\t\t.ant-steps-item-description {\n\t\t\t\tmin-width: 205px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"])));
11907
11907
  FlowWidget.propTypes = {
11908
11908
  title: PropTypes__default["default"].string,
11909
11909
  loading: PropTypes__default["default"].bool,
@@ -12441,7 +12441,7 @@ const NoMinWidth = styled__default["default"].div`
12441
12441
  }
12442
12442
  `;
12443
12443
 
12444
- var _templateObject$c;
12444
+ var _templateObject$d;
12445
12445
  function ActivityIndicatorsWidget(_ref) {
12446
12446
  let {
12447
12447
  t = s => s,
@@ -12590,7 +12590,7 @@ function renderStatus$1(configItem) {
12590
12590
  });
12591
12591
  }
12592
12592
  }
12593
- const StatusBadge = styled__default["default"].div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n\twidth: 24px;\n\theight: 24px;\n\tborder-radius: 50%;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-shrink: 0;\n\n\t&.compliant {\n\t\tbackground-color: #ECFDF3;\n\t\tborder: 1px solid #A7F3D0;\n\t}\n\n\t&.not-compliant {\n\t\tbackground-color: #FEF3F2;\n\t\tborder: 1px solid #FECACA;\n\t}\n\n\t&.empty {\n\t\tbackground-color: #F9FAFB;\n\t\tborder: 1px solid #E5E7EB;\n\t}\n"])));
12593
+ const StatusBadge = styled__default["default"].div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n\twidth: 24px;\n\theight: 24px;\n\tborder-radius: 50%;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-shrink: 0;\n\n\t&.compliant {\n\t\tbackground-color: #ECFDF3;\n\t\tborder: 1px solid #A7F3D0;\n\t}\n\n\t&.not-compliant {\n\t\tbackground-color: #FEF3F2;\n\t\tborder: 1px solid #FECACA;\n\t}\n\n\t&.empty {\n\t\tbackground-color: #F9FAFB;\n\t\tborder: 1px solid #E5E7EB;\n\t}\n"])));
12594
12594
  ActivityIndicatorsWidget.displayName = "ActivityIndicatorsWidget";
12595
12595
 
12596
12596
  function TooltipIcon(_ref) {
@@ -15482,7 +15482,7 @@ Map$3.propTypes = {
15482
15482
  link: PropTypes__default["default"].any
15483
15483
  };
15484
15484
 
15485
- const _excluded$t = ["isExpanded", "shouldRenderMap", "renderKey", "title", "loading", "t", "user", "data", "height", "widgetConfig"];
15485
+ const _excluded$v = ["isExpanded", "shouldRenderMap", "renderKey", "title", "loading", "t", "user", "data", "height", "widgetConfig"];
15486
15486
  function InExpandableWidgetMap(_ref) {
15487
15487
  let {
15488
15488
  isExpanded,
@@ -15496,7 +15496,7 @@ function InExpandableWidgetMap(_ref) {
15496
15496
  height,
15497
15497
  widgetConfig
15498
15498
  } = _ref,
15499
- rest = _objectWithoutProperties(_ref, _excluded$t);
15499
+ rest = _objectWithoutProperties(_ref, _excluded$v);
15500
15500
  const [mapKey, setMapKey] = React.useState(0);
15501
15501
  const [isMapReady, setIsMapReady] = React.useState(false);
15502
15502
  React.useEffect(() => {
@@ -17696,14 +17696,14 @@ const MapConfig = ({
17696
17696
  });
17697
17697
  };
17698
17698
 
17699
- const _excluded$s = ["config", "title", "loading"];
17699
+ const _excluded$u = ["config", "title", "loading"];
17700
17700
  const Details = _ref => {
17701
17701
  let {
17702
17702
  config = [],
17703
17703
  title,
17704
17704
  loading = false
17705
17705
  } = _ref,
17706
- rest = _objectWithoutProperties(_ref, _excluded$s);
17706
+ rest = _objectWithoutProperties(_ref, _excluded$u);
17707
17707
  return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
17708
17708
  className: "with-border-header h-w-btn-header card",
17709
17709
  loading: loading,
@@ -17719,14 +17719,14 @@ const Details = _ref => {
17719
17719
  }));
17720
17720
  };
17721
17721
 
17722
- const _excluded$r = ["config", "title", "loading"];
17722
+ const _excluded$t = ["config", "title", "loading"];
17723
17723
  const KeyIndicatorsDetails = _ref => {
17724
17724
  let {
17725
17725
  config,
17726
17726
  title,
17727
17727
  loading = false
17728
17728
  } = _ref,
17729
- rest = _objectWithoutProperties(_ref, _excluded$r);
17729
+ rest = _objectWithoutProperties(_ref, _excluded$t);
17730
17730
  return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
17731
17731
  className: "with-border-header h-w-btn-header",
17732
17732
  title: title,
@@ -17756,7 +17756,7 @@ const Style$G = styled__default["default"].div`
17756
17756
  }
17757
17757
  `;
17758
17758
 
17759
- const _excluded$q = ["children", "config", "detailsTitle", "firstColumnWidth"];
17759
+ const _excluded$s = ["children", "config", "detailsTitle", "firstColumnWidth"];
17760
17760
  const DetailsSection = _ref => {
17761
17761
  let {
17762
17762
  children,
@@ -17764,7 +17764,7 @@ const DetailsSection = _ref => {
17764
17764
  detailsTitle,
17765
17765
  firstColumnWidth = "250px"
17766
17766
  } = _ref,
17767
- rest = _objectWithoutProperties(_ref, _excluded$q);
17767
+ rest = _objectWithoutProperties(_ref, _excluded$s);
17768
17768
  return /*#__PURE__*/jsxRuntime.jsx(Style$G, {
17769
17769
  firstColumnWidth: firstColumnWidth,
17770
17770
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
@@ -17939,15 +17939,15 @@ const getGoalConfig = () => {
17939
17939
  }];
17940
17940
  };
17941
17941
 
17942
- var _templateObject$b;
17943
- const _excluded$p = ["title", "activeSdgGoals", "t"];
17942
+ var _templateObject$c;
17943
+ const _excluded$r = ["title", "activeSdgGoals", "t"];
17944
17944
  function SDGWidget(_ref) {
17945
17945
  let {
17946
17946
  title = "Sustainable Development Goals",
17947
17947
  activeSdgGoals = [],
17948
17948
  t = key => key
17949
17949
  } = _ref,
17950
- props = _objectWithoutProperties(_ref, _excluded$p);
17950
+ props = _objectWithoutProperties(_ref, _excluded$r);
17951
17951
  const sdgConfig = getGoalConfig();
17952
17952
  return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
17953
17953
  title: title,
@@ -17968,10 +17968,10 @@ function SDGWidget(_ref) {
17968
17968
  })
17969
17969
  }));
17970
17970
  }
17971
- const SDGContainer = styled__default["default"].div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n\tdisplay: grid;\n\tgrid-template-columns: repeat(auto-fit, minmax(53px, 1fr));\n\tgap: 8px;\n\n\t.sdg-item {\n\t\theight: 53px;\n\t\twidth: 53px;\n\t\tborder-radius: 8px;\n\t\tbackground-size: cover;\n\t\tbackground-position: center;\n\t\tbackground-repeat: no-repeat;\n\t}\n\n\t.sdg-item-content {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\theight: 100%;\n\t\tcolor: white;\n\t\ttext-align: center;\n\t}\n"])));
17971
+ const SDGContainer = styled__default["default"].div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n\tdisplay: grid;\n\tgrid-template-columns: repeat(auto-fit, minmax(53px, 1fr));\n\tgap: 8px;\n\n\t.sdg-item {\n\t\theight: 53px;\n\t\twidth: 53px;\n\t\tborder-radius: 8px;\n\t\tbackground-size: cover;\n\t\tbackground-position: center;\n\t\tbackground-repeat: no-repeat;\n\t}\n\n\t.sdg-item-content {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\theight: 100%;\n\t\tcolor: white;\n\t\ttext-align: center;\n\t}\n"])));
17972
17972
 
17973
- var _templateObject$a;
17974
- const Style$F = styled__default["default"].div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n\n\t.p-placeholder {\n\t\tposition: absolute;\n\t\ttop: 0px;\n\t\tleft: 0px;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: transparent;\n\t\tz-index: 100;\n\t\tcursor: default;\n\t}\n"])));
17973
+ var _templateObject$b;
17974
+ const Style$F = styled__default["default"].div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n\n\t.p-placeholder {\n\t\tposition: absolute;\n\t\ttop: 0px;\n\t\tleft: 0px;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: transparent;\n\t\tz-index: 100;\n\t\tcursor: default;\n\t}\n"])));
17975
17975
 
17976
17976
  /**
17977
17977
  * ComponentWithHoverFocus
@@ -18245,7 +18245,7 @@ function SdgList({
18245
18245
  });
18246
18246
  }
18247
18247
 
18248
- const _excluded$o = ["title", "description", "onLinkClick", "image", "linkIcon", "sdgList", "items", "onCardClick", "hideSDGList", "t"];
18248
+ const _excluded$q = ["title", "description", "onLinkClick", "image", "linkIcon", "sdgList", "items", "onCardClick", "hideSDGList", "t"];
18249
18249
  const {
18250
18250
  Meta
18251
18251
  } = antd.Card;
@@ -18265,7 +18265,7 @@ function ProjectWidget(_ref) {
18265
18265
  hideSDGList = false,
18266
18266
  t = x => x
18267
18267
  } = _ref,
18268
- props = _objectWithoutProperties(_ref, _excluded$o);
18268
+ props = _objectWithoutProperties(_ref, _excluded$q);
18269
18269
  const [isHovered, setIsHovered] = React__default["default"].useState(false);
18270
18270
  const {
18271
18271
  token
@@ -18537,13 +18537,13 @@ const WidgetCard = _ref => {
18537
18537
  });
18538
18538
  };
18539
18539
 
18540
- const _excluded$n = ["title", "children"];
18540
+ const _excluded$p = ["title", "children"];
18541
18541
  const CarouselWidget = /*#__PURE__*/React.forwardRef((_ref, ref) => {
18542
18542
  let {
18543
18543
  title,
18544
18544
  children
18545
18545
  } = _ref,
18546
- rest = _objectWithoutProperties(_ref, _excluded$n);
18546
+ rest = _objectWithoutProperties(_ref, _excluded$p);
18547
18547
  /**
18548
18548
  * Handles carousel slide change events
18549
18549
  * @param {number} currentSlide - The index of the current slide after change
@@ -18707,7 +18707,7 @@ const EmptyStateContainer = styled__default["default"].div`
18707
18707
  }
18708
18708
  `;
18709
18709
 
18710
- const _excluded$m = ["title", "images", "height", "fallback", "activeDotColor", "inactiveDotColor", "arrowIconColor", "arrowHoverIconColor", "customArrows", "emptyLogo", "emptyText"];
18710
+ const _excluded$o = ["title", "images", "height", "fallback", "activeDotColor", "inactiveDotColor", "arrowIconColor", "arrowHoverIconColor", "customArrows", "emptyLogo", "emptyText"];
18711
18711
  function ImageCarousel(_ref) {
18712
18712
  let {
18713
18713
  title,
@@ -18722,7 +18722,7 @@ function ImageCarousel(_ref) {
18722
18722
  emptyLogo = antd.Empty.PRESENTED_IMAGE_SIMPLE,
18723
18723
  emptyText = "No Image"
18724
18724
  } = _ref,
18725
- rest = _objectWithoutProperties(_ref, _excluded$m);
18725
+ rest = _objectWithoutProperties(_ref, _excluded$o);
18726
18726
  const [previewVisible, setPreviewVisible] = React.useState(false);
18727
18727
  const [current, setCurrent] = React.useState(0);
18728
18728
  const carouselRef = React.useRef(null);
@@ -19090,8 +19090,8 @@ const getVegetationConfig = () => {
19090
19090
  }];
19091
19091
  };
19092
19092
 
19093
- var _templateObject$9, _templateObject2$1;
19094
- const _excluded$l = ["title", "activeVegetationConditions", "filterKeys", "columnsPerRow", "itemWidth", "itemHeight", "growthObservations", "t"];
19093
+ var _templateObject$a, _templateObject2$3;
19094
+ const _excluded$n = ["title", "activeVegetationConditions", "filterKeys", "columnsPerRow", "itemWidth", "itemHeight", "growthObservations", "t"];
19095
19095
  function VegetationWidget(_ref) {
19096
19096
  let {
19097
19097
  title = "Vegetation Health",
@@ -19103,7 +19103,7 @@ function VegetationWidget(_ref) {
19103
19103
  growthObservations = [],
19104
19104
  t = key => key
19105
19105
  } = _ref,
19106
- props = _objectWithoutProperties(_ref, _excluded$l);
19106
+ props = _objectWithoutProperties(_ref, _excluded$n);
19107
19107
  let vegetationConfig = getVegetationConfig();
19108
19108
 
19109
19109
  // Get all VEGETATION_KEYS values before filtering (needed for mapping check)
@@ -19178,8 +19178,182 @@ function VegetationWidget(_ref) {
19178
19178
  })
19179
19179
  }));
19180
19180
  }
19181
- const VegetationWrapper = styled__default["default"].div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n\t", "\n"])), props => props.$columnsPerRow ? "\n\t\toverflow-x: auto;\n\t\twidth: 100%;\n\t" : '');
19182
- const VegetationContainer = styled__default["default"].div(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n\tdisplay: grid;\n\tgrid-template-columns: ", ";\n\tgap: 24px;\n\t", "\n\n\t.vegetation-item {\n\t\twidth: 100%;\n\t\taspect-ratio: ", ";\n\t\tborder-radius: 7px;\n\t\tflex-shrink: 0;\n\t\n\t\tbackground-size: cover;\n\t\tbackground-position: center;\n\t\tbackground-repeat: no-repeat;\n\t}\n\n\t.vegetation-item-content {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\theight: 100%;\n\t\tcolor: white;\n\t\ttext-align: center;\n\t}\n"])), props => props.$columnsPerRow ? "repeat(".concat(props.$columnsPerRow, ", 1fr)") : "repeat(auto-fit, minmax(".concat(props.$itemWidth, "px, 1fr))"), props => props.$columnsPerRow ? "\n\t\twidth: 100%;\n\t" : '', props => props.$itemWidth / props.$itemHeight);
19181
+ const VegetationWrapper = styled__default["default"].div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n\t", "\n"])), props => props.$columnsPerRow ? "\n\t\toverflow-x: auto;\n\t\twidth: 100%;\n\t" : '');
19182
+ const VegetationContainer = styled__default["default"].div(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n\tdisplay: grid;\n\tgrid-template-columns: ", ";\n\tgap: 24px;\n\t", "\n\n\t.vegetation-item {\n\t\twidth: 100%;\n\t\taspect-ratio: ", ";\n\t\tborder-radius: 7px;\n\t\tflex-shrink: 0;\n\t\n\t\tbackground-size: cover;\n\t\tbackground-position: center;\n\t\tbackground-repeat: no-repeat;\n\t}\n\n\t.vegetation-item-content {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\theight: 100%;\n\t\tcolor: white;\n\t\ttext-align: center;\n\t}\n"])), props => props.$columnsPerRow ? "repeat(".concat(props.$columnsPerRow, ", 1fr)") : "repeat(auto-fit, minmax(".concat(props.$itemWidth, "px, 1fr))"), props => props.$columnsPerRow ? "\n\t\twidth: 100%;\n\t" : '', props => props.$itemWidth / props.$itemHeight);
19183
+
19184
+ const getFaunaConfig = () => {
19185
+ return [{
19186
+ img: "/Biodiversity/birds.svg",
19187
+ key: "birds",
19188
+ disabled: "/Biodiversity/birds-default.svg"
19189
+ }, {
19190
+ img: "/Biodiversity/crabs.svg",
19191
+ key: "crabs",
19192
+ disabled: "/Biodiversity/crabs-default.svg"
19193
+ }, {
19194
+ img: "/Biodiversity/cymbium.svg",
19195
+ key: "cymbium",
19196
+ disabled: "/Biodiversity/cymbium-default.svg"
19197
+ }, {
19198
+ img: "/Biodiversity/fish.svg",
19199
+ key: "fish",
19200
+ disabled: "/Biodiversity/fish-default.svg"
19201
+ }, {
19202
+ img: "/Biodiversity/juveniles.svg",
19203
+ key: "juveniles",
19204
+ disabled: "/Biodiversity/juveniles-default.svg"
19205
+ }, {
19206
+ img: "/Biodiversity/mollusks.svg",
19207
+ key: "mollusks",
19208
+ disabled: "/Biodiversity/mollusks-default.svg"
19209
+ }, {
19210
+ img: "/Biodiversity/mongooses.svg",
19211
+ key: "mongooses",
19212
+ disabled: "/Biodiversity/mongooses-default.svg"
19213
+ }, {
19214
+ img: "/Biodiversity/monkeys.svg",
19215
+ key: "monkeys",
19216
+ disabled: "/Biodiversity/monkeys-default.svg"
19217
+ }, {
19218
+ img: "/Biodiversity/oysters.svg",
19219
+ key: "oysters",
19220
+ disabled: "/Biodiversity/oysters-default.svg"
19221
+ }, {
19222
+ img: "/Biodiversity/snails.svg",
19223
+ key: "snails",
19224
+ disabled: "/Biodiversity/snails-default.svg"
19225
+ }];
19226
+ };
19227
+
19228
+ var _templateObject$9, _templateObject2$2;
19229
+ const _excluded$m = ["title", "faunaPresent", "filterKeys", "columnsPerRow", "itemWidth", "itemHeight", "t"];
19230
+ function FaunaWidget(_ref) {
19231
+ let {
19232
+ title = "Observed Fauna",
19233
+ faunaPresent = [],
19234
+ filterKeys = null,
19235
+ columnsPerRow = 5,
19236
+ itemWidth = 100,
19237
+ itemHeight = 100,
19238
+ t = key => key
19239
+ } = _ref,
19240
+ props = _objectWithoutProperties(_ref, _excluded$m);
19241
+ let faunaConfig = getFaunaConfig();
19242
+
19243
+ // Filter to show only specific keys if filterKeys is provided
19244
+ if (filterKeys && Array.isArray(filterKeys)) {
19245
+ faunaConfig = faunaConfig.filter(item => filterKeys.includes(item.key));
19246
+ }
19247
+ return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
19248
+ title: title,
19249
+ className: "with-border-header no-p-body"
19250
+ }, props), {}, {
19251
+ children: /*#__PURE__*/jsxRuntime.jsx(FaunaWrapper, {
19252
+ $columnsPerRow: columnsPerRow,
19253
+ children: /*#__PURE__*/jsxRuntime.jsx(FaunaContainer, {
19254
+ $columnsPerRow: columnsPerRow,
19255
+ $itemWidth: itemWidth,
19256
+ $itemHeight: itemHeight,
19257
+ children: faunaConfig.map(item => {
19258
+ // Use colored SVG if the item's key exists in faunaPresent array
19259
+ // Otherwise use default SVG
19260
+ const isPresent = Array.isArray(faunaPresent) && faunaPresent.includes(item.key);
19261
+ const shouldUseColored = isPresent;
19262
+ return /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
19263
+ title: t("straatos::".concat(item.key)),
19264
+ children: /*#__PURE__*/jsxRuntime.jsx("img", {
19265
+ src: shouldUseColored ? item.img : item.disabled,
19266
+ className: "fauna-item",
19267
+ alt: item.key
19268
+ }, item.key)
19269
+ }, item.key);
19270
+ })
19271
+ })
19272
+ })
19273
+ }));
19274
+ }
19275
+ const FaunaWrapper = styled__default["default"].div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n\tpadding: 24px;\n\twidth: 100%;\n\t", "\n"])), props => props.$columnsPerRow ? "\n\t\toverflow-x: auto;\n\t" : '');
19276
+ const FaunaContainer = styled__default["default"].div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n\tdisplay: grid;\n\tgrid-template-columns: ", ";\n\tgap: 24px;\n\twidth: 100%;\n\n\t.fauna-item {\n\t\twidth: 100%;\n\t\taspect-ratio: ", ";\n\t\tborder-radius: 7px;\n\t\tflex-shrink: 0;\n\t\tdisplay: block;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tobject-fit: contain;\n\t}\n"])), props => props.$columnsPerRow ? "repeat(".concat(props.$columnsPerRow, ", 1fr)") : "repeat(auto-fit, minmax(".concat(props.$itemWidth, "px, 1fr))"), props => props.$itemWidth / props.$itemHeight);
19277
+
19278
+ const getInvasiveSpeciesConfig = () => {
19279
+ return [{
19280
+ img: "/Biodiversity/spiders.svg",
19281
+ key: "spiders",
19282
+ disabled: "/Biodiversity/spiders-default.svg"
19283
+ }, {
19284
+ img: "/Biodiversity/scale-insects.svg",
19285
+ key: "scaleInsects",
19286
+ disabled: "/Biodiversity/scale-insects-default.svg"
19287
+ }, {
19288
+ img: "/Biodiversity/caterpillars.svg",
19289
+ key: "caterpillars",
19290
+ disabled: "/Biodiversity/caterpillars-default.svg"
19291
+ }, {
19292
+ img: "/Biodiversity/ants.svg",
19293
+ key: "ants",
19294
+ disabled: "/Biodiversity/ants-default.svg"
19295
+ }, {
19296
+ img: "/Biodiversity/unidentified-pests.svg",
19297
+ key: "unidentifiedPests",
19298
+ disabled: "/Biodiversity/unidentified-pests-default.svg"
19299
+ }, {
19300
+ img: "/Biodiversity/others.svg",
19301
+ key: "other",
19302
+ disabled: "/Biodiversity/others-default.svg"
19303
+ }];
19304
+ };
19305
+
19306
+ var _templateObject$8, _templateObject2$1;
19307
+ const _excluded$l = ["title", "invasiveSpecies", "hasInvasiveSpecies", "filterKeys", "columnsPerRow", "itemWidth", "itemHeight", "t"];
19308
+ function InvasiveSpeciesWidget(_ref) {
19309
+ let {
19310
+ title = "Invasive Species",
19311
+ invasiveSpecies = [],
19312
+ hasInvasiveSpecies,
19313
+ filterKeys = null,
19314
+ columnsPerRow = 3,
19315
+ itemWidth = 100,
19316
+ itemHeight = 100,
19317
+ t = key => key
19318
+ } = _ref,
19319
+ props = _objectWithoutProperties(_ref, _excluded$l);
19320
+ let invasiveSpeciesConfig = getInvasiveSpeciesConfig();
19321
+
19322
+ // Filter to show only specific keys if filterKeys is provided
19323
+ if (filterKeys && Array.isArray(filterKeys)) {
19324
+ invasiveSpeciesConfig = invasiveSpeciesConfig.filter(item => filterKeys.includes(item.key));
19325
+ }
19326
+ return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
19327
+ title: title,
19328
+ className: "with-border-header no-p-body"
19329
+ }, props), {}, {
19330
+ children: /*#__PURE__*/jsxRuntime.jsx(InvasiveSpeciesWrapper, {
19331
+ $columnsPerRow: columnsPerRow,
19332
+ children: /*#__PURE__*/jsxRuntime.jsx(InvasiveSpeciesContainer, {
19333
+ $columnsPerRow: columnsPerRow,
19334
+ $itemWidth: itemWidth,
19335
+ $itemHeight: itemHeight,
19336
+ children: invasiveSpeciesConfig.map(item => {
19337
+ // If hasInvasiveSpecies is 'no', show all as inactive
19338
+ // If hasInvasiveSpecies is 'yes', show present ones as active
19339
+ const shouldShowAllAsNotPresent = hasInvasiveSpecies === 'no';
19340
+ const isPresent = !shouldShowAllAsNotPresent && Array.isArray(invasiveSpecies) && invasiveSpecies.includes(item.key);
19341
+ const shouldUseColored = isPresent;
19342
+ return /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
19343
+ title: t("straatos::".concat(item.key)),
19344
+ children: /*#__PURE__*/jsxRuntime.jsx("img", {
19345
+ src: shouldUseColored ? item.img : item.disabled,
19346
+ className: "invasive-species-item",
19347
+ alt: item.key
19348
+ }, item.key)
19349
+ }, item.key);
19350
+ })
19351
+ })
19352
+ })
19353
+ }));
19354
+ }
19355
+ const InvasiveSpeciesWrapper = styled__default["default"].div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n\tpadding: 24px;\n\twidth: 100%;\n\t", "\n"])), props => props.$columnsPerRow ? "\n\t\toverflow-x: auto;\n\t" : '');
19356
+ const InvasiveSpeciesContainer = styled__default["default"].div(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n\tdisplay: grid;\n\tgrid-template-columns: ", ";\n\tgap: 24px;\n\twidth: 100%;\n\n\t.invasive-species-item {\n\t\twidth: 100%;\n\t\taspect-ratio: ", ";\n\t\tborder-radius: 7px;\n\t\tflex-shrink: 0;\n\t\tdisplay: block;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tobject-fit: contain;\n\t}\n"])), props => props.$columnsPerRow ? "repeat(".concat(props.$columnsPerRow, ", 1fr)") : "repeat(auto-fit, minmax(".concat(props.$itemWidth, "px, 1fr))"), props => props.$itemWidth / props.$itemHeight);
19183
19357
 
19184
19358
  var Style$C = styled__default["default"].div`
19185
19359
  border: 1px solid var(--base-gray-40);
@@ -25768,7 +25942,7 @@ const countriesPhoneNumberLength = {
25768
25942
  ZW: 9
25769
25943
  };
25770
25944
 
25771
- var _templateObject$8;
25945
+ var _templateObject$7;
25772
25946
  const dialCodes = Object.keys(countriesList.countries).map(country => {
25773
25947
  return {
25774
25948
  name: country === 'XK' ? "+383" : "+".concat(countriesList.countries[country].phone.split(',')[0]),
@@ -25779,7 +25953,7 @@ const dialCodes = Object.keys(countriesList.countries).map(country => {
25779
25953
  length: countriesPhoneNumberLength[country] || 9
25780
25954
  };
25781
25955
  }).sort((a, b) => a.countryName > b.countryName ? 1 : b.countryName > a.countryName ? -1 : 0);
25782
- const Styles$9 = styled__default["default"].div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n flex-direction: column;\n\n .input-c {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n flex-grow: 1;\n align-items: center;\n position: relative\n\n &.highlighted-input {\n border: 0.5px solid #FF7A45;\n border-radius: 8px;\n }\n\n .ant-select {\n width: ", ";\n .ant-select-selector {\n border-top-right-radius: 0;\n background-color: var(--base-gray-20);\n border-bottom-right-radius: 0;\n }\n }\n .ant-input-number {\n border-left: none;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n\n .ant-input-number-handler-wrap {\n display: none;\n }\n width: 100%;\n }\n\n &.has-error {\n .error-icon {\n position: absolute;\n right: 10px;\n color: red;\n top: 50%;\n transform: translate(0%, -50%);\n }\n }\n }\n\n .ant-form-item-explain-error {\n margin-bottom: 0px;\n }\n"])), props => props.customSelectWidthPercentage || '100%');
25956
+ const Styles$9 = styled__default["default"].div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n flex-direction: column;\n\n .input-c {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n flex-grow: 1;\n align-items: center;\n position: relative\n\n &.highlighted-input {\n border: 0.5px solid #FF7A45;\n border-radius: 8px;\n }\n\n .ant-select {\n width: ", ";\n .ant-select-selector {\n border-top-right-radius: 0;\n background-color: var(--base-gray-20);\n border-bottom-right-radius: 0;\n }\n }\n .ant-input-number {\n border-left: none;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n\n .ant-input-number-handler-wrap {\n display: none;\n }\n width: 100%;\n }\n\n &.has-error {\n .error-icon {\n position: absolute;\n right: 10px;\n color: red;\n top: 50%;\n transform: translate(0%, -50%);\n }\n }\n }\n\n .ant-form-item-explain-error {\n margin-bottom: 0px;\n }\n"])), props => props.customSelectWidthPercentage || '100%');
25783
25957
  function PhoneInput(_ref) {
25784
25958
  let {
25785
25959
  className,
@@ -42189,8 +42363,13 @@ const Navigation = _ref => {
42189
42363
  }) : null;
42190
42364
  };
42191
42365
 
42192
- var _templateObject$7;
42193
- const StyledSelect = styled__default["default"](antd.Select)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n width: 100%;\n \n .ant-select-arrow {\n margin-top: 1px !important;\n }\n"])));
42366
+ const StyledSelect = styled__default["default"](antd.Select)`
42367
+ width: 100%;
42368
+
42369
+ .ant-select-arrow {
42370
+ margin-top: 1px !important;
42371
+ }
42372
+ `;
42194
42373
 
42195
42374
  const _excluded$f = ["onChange", "value"];
42196
42375
  function AuthForm(_ref) {
@@ -54016,7 +54195,7 @@ const getColumns$4 = ({
54016
54195
  className: "daf-default-cell"
54017
54196
  });
54018
54197
  }
54019
- const category = findOptions(value, selectOptions?.category || []) || "--";
54198
+ const category = findOptions(value, options?.locationCategories || []) || "--";
54020
54199
  return /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
54021
54200
  title: category,
54022
54201
  children: category
@@ -63677,6 +63856,7 @@ exports.DualAxesChart = DualAxesChart;
63677
63856
  exports.DynamicForm = DynamicForm;
63678
63857
  exports.EditForm = EditForm$1;
63679
63858
  exports.EditFormSections = Sections;
63859
+ exports.FaunaWidget = FaunaWidget;
63680
63860
  exports.FilterButton = FilterButton;
63681
63861
  exports.FindInformation = FindInformation;
63682
63862
  exports.FindInformationProvider = FindInformationProvider;
@@ -63698,6 +63878,7 @@ exports.InformationChannelsDataPoint = DataPoint;
63698
63878
  exports.InformationChannelsSubject = Subject;
63699
63879
  exports.InformationChannelsView = InformationChannel;
63700
63880
  exports.InformationUnavailable = InformationUnavailable;
63881
+ exports.InvasiveSpeciesWidget = InvasiveSpeciesWidget;
63701
63882
  exports.KeyIndicatorNavigateLabel = KeyIndicatorNavigateLabel;
63702
63883
  exports.KeyIndicators = KeyIndicatorsWidget$1;
63703
63884
  exports.KeyIndicatorsDetails = KeyIndicatorsDetails;