gant-core 0.1.19 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1729,7 +1729,7 @@ type MAIN_CONFIG_TYPE = {
1729
1729
  requestTimeout?: number;
1730
1730
  siderMenuCollapsed?: boolean;
1731
1731
  headerMenu?: boolean;
1732
- navType?: 'breadcrumb' | 'tabs';
1732
+ navType?: "breadcrumb" | "tabs";
1733
1733
  menuHistory?: boolean;
1734
1734
  initialDashboardLayout?: any[];
1735
1735
  homePath?: string;
@@ -1747,6 +1747,11 @@ type MAIN_CONFIG_TYPE = {
1747
1747
  indexDbCrypt?: boolean;
1748
1748
  agentSuggest?: boolean;
1749
1749
  delegate?: boolean;
1750
+ userCardTypes?: {
1751
+ message?: boolean;
1752
+ phone?: boolean;
1753
+ email?: boolean;
1754
+ };
1750
1755
  };
1751
1756
  dateConfig?: {
1752
1757
  year: string;
@@ -1776,7 +1781,7 @@ type SYSMGMT_CONFIG_TYPE = {
1776
1781
  onApproveAutoSelectOwner?: boolean;
1777
1782
  onApproveAutoSelectSkipStep?: boolean;
1778
1783
  showWorkingKeepTime?: boolean;
1779
- todoUserTemplate?: 'multiple' | 'single';
1784
+ todoUserTemplate?: "multiple" | "single";
1780
1785
  showActionOrder?: string[];
1781
1786
  showSkipTask?: boolean;
1782
1787
  showUndoTaskBtn?: boolean;
@@ -1801,7 +1806,7 @@ type WATER_MARK_CONFIG_TYPE = {
1801
1806
  text?: string;
1802
1807
  padding?: number;
1803
1808
  showTime?: boolean;
1804
- status?: 'none' | 'guest' | 'company' | 'custom';
1809
+ status?: "none" | "guest" | "company" | "custom";
1805
1810
  };
1806
1811
  type THEME_TYPE = {
1807
1812
  themeType?: ThemeType;
package/lib/index.js CHANGED
@@ -2685,7 +2685,7 @@ class Interpolator {
2685
2685
  this.logger.warn(`failed parsing options string in nesting for key ${key}`, e);
2686
2686
  return `${key}${sep}${optionsString}`;
2687
2687
  }
2688
- delete clonedOptions.defaultValue;
2688
+ if (clonedOptions.defaultValue && clonedOptions.defaultValue.indexOf(this.prefix) > -1) delete clonedOptions.defaultValue;
2689
2689
  return key;
2690
2690
  }
2691
2691
  while (match = this.nestingRegexp.exec(str)) {