@qrvey/utils 1.12.0-9 → 1.13.0-0

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.
Files changed (350) hide show
  1. package/README.md +2606 -2130
  2. package/dist/charts/adapters/endpointData.js +4 -5
  3. package/dist/charts/adapters/endpointDataGet.js +3 -3
  4. package/dist/cjs/charts/adapters/endpointData.js +3 -4
  5. package/dist/cjs/charts/adapters/endpointDataGet.js +2 -2
  6. package/dist/cjs/constants/Charts.Const.d.ts +4 -1
  7. package/dist/cjs/constants/Charts.Const.js +3 -0
  8. package/dist/cjs/dates/relative/RelativeStatementAdapter.d.ts +1 -1
  9. package/dist/cjs/dates/relative/RelativeStatementAdapter.js +2 -1
  10. package/dist/cjs/dates/relative/relative.d.ts +3 -4
  11. package/dist/cjs/dates/relative/relative.js +5 -9
  12. package/dist/cjs/filters/adapters/FDToFlatUI.js +2 -2
  13. package/dist/cjs/filters/adapters/FDToUI.js +2 -2
  14. package/dist/cjs/filters/adapters/UIToFD.js +2 -2
  15. package/dist/cjs/filters/adapters/UIToFlatUI.js +2 -2
  16. package/dist/cjs/filters/adapters/UIToOldLogic.js +2 -2
  17. package/dist/cjs/filters/adapters/adaptFilterData.js +2 -2
  18. package/dist/cjs/filters/adapters/flatUIToFD.js +2 -2
  19. package/dist/cjs/filters/adapters/flatUIToOldLogic.js +2 -2
  20. package/dist/cjs/filters/adapters/flatUIToUI.js +2 -2
  21. package/dist/cjs/filters/constants/common/FILTER_SCOPE.d.ts +7 -7
  22. package/dist/cjs/filters/helpers/OLD_getAggFilters.js +2 -2
  23. package/dist/cjs/filters/helpers/backend/getLogicByScopes.js +2 -2
  24. package/dist/cjs/filters/helpers/common/excludeFiltersByAggregateColumn.js +2 -2
  25. package/dist/cjs/filters/helpers/common/excludeFiltersByParams.js +2 -2
  26. package/dist/cjs/filters/helpers/common/excludeFiltersByScopes.js +2 -2
  27. package/dist/cjs/filters/helpers/common/getFiltersByAggregateColumn.js +2 -2
  28. package/dist/cjs/filters/helpers/common/getFiltersByParams.js +2 -2
  29. package/dist/cjs/filters/helpers/common/getFiltersByScopes.js +2 -2
  30. package/dist/cjs/filters/helpers/common/getFiltersByScopesIds.js +2 -2
  31. package/dist/cjs/filters/helpers/common/getFiltersByVisibility.js +2 -2
  32. package/dist/cjs/filters/helpers/settings/getFilterSettings.js +4 -4
  33. package/dist/cjs/filters/helpers/ui/excludeUIFiltersByAggregate.js +2 -2
  34. package/dist/cjs/filters/helpers/ui/excludeUIFlatFiltersByScopes.js +2 -2
  35. package/dist/cjs/filters/helpers/ui/getUIFlatFilterByParams.js +2 -2
  36. package/dist/cjs/filters/helpers/ui/getUIFlatFiltersByParams.js +2 -2
  37. package/dist/cjs/filters/helpers/ui/getUIFlatFiltersByScopes.js +2 -2
  38. package/dist/cjs/filters/services/Filters.api.js +4 -7
  39. package/dist/cjs/filters/services/UChartApi.d.ts +1 -1
  40. package/dist/cjs/filters/services/UChartApi.js +4 -3
  41. package/dist/cjs/filters/services/UChartPaginationApi.d.ts +1 -1
  42. package/dist/cjs/filters/services/UChartPaginationApi.js +5 -4
  43. package/dist/cjs/format/format.js +2 -2
  44. package/dist/cjs/general/array/filterNestedTree.js +2 -2
  45. package/dist/cjs/general/object/objectCopy.js +8 -7
  46. package/dist/cjs/globalization/interfaces/II18nResource.d.ts +2 -0
  47. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -0
  48. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +9 -0
  49. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabels.d.ts +1 -0
  50. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +2 -0
  51. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
  52. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRadarType.d.ts +6 -0
  53. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRadarType.js +2 -0
  54. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +9 -0
  55. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +1 -0
  56. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +1 -0
  57. package/dist/cjs/globalization/interfaces/export/II18nExportingModal.d.ts +67 -0
  58. package/dist/cjs/globalization/interfaces/export/II18nExportingModal.js +2 -0
  59. package/dist/cjs/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.d.ts +3 -0
  60. package/dist/cjs/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.js +2 -0
  61. package/dist/cjs/globalization/interfaces/export/II18nExportingModalErrorMessages.d.ts +3 -0
  62. package/dist/cjs/globalization/interfaces/export/II18nExportingModalErrorMessages.js +2 -0
  63. package/dist/cjs/globalization/interfaces/export/II18nExportingModalRecurrence.d.ts +6 -0
  64. package/dist/cjs/globalization/interfaces/export/II18nExportingModalRecurrence.js +2 -0
  65. package/dist/cjs/globalization/interfaces/export/II18nExportingModalTimeStamp.d.ts +7 -0
  66. package/dist/cjs/globalization/interfaces/export/II18nExportingModalTimeStamp.js +2 -0
  67. package/dist/cjs/globalization/interfaces/export/index.d.ts +5 -0
  68. package/dist/cjs/globalization/interfaces/export/index.js +21 -0
  69. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionHour.d.ts +2 -0
  70. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.d.ts +5 -0
  71. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.js +2 -0
  72. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.d.ts +5 -0
  73. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.js +2 -0
  74. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2Functions.d.ts +4 -0
  75. package/dist/cjs/globalization/interfaces/panel/I18nPanelColumnInteractive.d.ts +5 -0
  76. package/dist/cjs/globalization/interfaces/panel/I18nPanelColumnInteractive.js +2 -0
  77. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +2 -0
  78. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +1 -0
  79. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +3 -0
  80. package/dist/cjs/globalization/interfaces/panel/index.d.ts +1 -0
  81. package/dist/cjs/globalization/interfaces/panel/index.js +1 -0
  82. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +4 -1
  83. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +1 -1
  84. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +3 -1
  85. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +7 -0
  86. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +1 -0
  87. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +7 -2
  88. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +18 -0
  89. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +2 -0
  90. package/dist/cjs/globalization/labels/export/I18N_EXPORT_MODAL.d.ts +5 -0
  91. package/dist/cjs/globalization/labels/export/I18N_EXPORT_MODAL.js +78 -0
  92. package/dist/cjs/globalization/labels/export/index.d.ts +1 -0
  93. package/dist/cjs/globalization/labels/export/index.js +17 -0
  94. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +20 -5
  95. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +9 -0
  96. package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.js +4 -1
  97. package/dist/cjs/globalization/service/i18nextBuilder.js +2 -3
  98. package/dist/cjs/index.d.ts +1 -0
  99. package/dist/cjs/index.js +1 -0
  100. package/dist/cjs/services/api/getAllQrveys.api.d.ts +1 -1
  101. package/dist/cjs/services/helpers/Request.js +5 -2
  102. package/dist/cjs/services/helpers/getDefaultQuestionListOptionsAttributes.js +7 -7
  103. package/dist/cjs/services/interfaces/IPayloadQrveyAll.d.ts +1 -1
  104. package/dist/cjs/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK.d.ts +6 -0
  105. package/dist/cjs/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK.js +10 -0
  106. package/dist/cjs/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT.d.ts +6 -0
  107. package/dist/cjs/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT.js +10 -0
  108. package/dist/cjs/themes/constants/AUTOMATIC_CSS_VARIABLES.d.ts +39 -0
  109. package/dist/cjs/themes/constants/AUTOMATIC_CSS_VARIABLES.js +22 -0
  110. package/dist/cjs/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK.d.ts +15 -0
  111. package/dist/cjs/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK.js +19 -0
  112. package/dist/cjs/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT.d.ts +15 -0
  113. package/dist/cjs/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT.js +19 -0
  114. package/dist/cjs/themes/constants/CANVAS_CSS_VARIABLES.d.ts +6 -0
  115. package/dist/cjs/themes/constants/CANVAS_CSS_VARIABLES.js +10 -0
  116. package/dist/cjs/themes/constants/CHANNEL_BLACK_COLOR.d.ts +5 -0
  117. package/dist/cjs/themes/constants/CHANNEL_BLACK_COLOR.js +12 -0
  118. package/dist/cjs/themes/constants/CHANNEL_WHITE_COLOR.d.ts +5 -0
  119. package/dist/cjs/themes/constants/CHANNEL_WHITE_COLOR.js +12 -0
  120. package/dist/cjs/themes/constants/COLOR_NAME.d.ts +154 -0
  121. package/dist/cjs/themes/constants/COLOR_NAME.js +157 -0
  122. package/dist/cjs/themes/constants/COLOR_TYPE.d.ts +7 -0
  123. package/dist/cjs/themes/constants/COLOR_TYPE.js +11 -0
  124. package/dist/cjs/themes/constants/CSS_VARIABLE_DESTINATION.d.ts +7 -0
  125. package/dist/cjs/themes/constants/CSS_VARIABLE_DESTINATION.js +11 -0
  126. package/dist/cjs/themes/constants/GLOBAL_CSS_VARIABLES.d.ts +15 -0
  127. package/dist/cjs/themes/constants/GLOBAL_CSS_VARIABLES.js +19 -0
  128. package/dist/cjs/themes/constants/HEXADECIMAL_REGULAR_EXPRESSION.d.ts +4 -0
  129. package/dist/cjs/themes/constants/HEXADECIMAL_REGULAR_EXPRESSION.js +7 -0
  130. package/dist/cjs/themes/constants/RGBA_REGULAR_EXPRESION.d.ts +4 -0
  131. package/dist/cjs/themes/constants/RGBA_REGULAR_EXPRESION.js +7 -0
  132. package/dist/cjs/themes/constants/index.d.ts +14 -0
  133. package/dist/cjs/themes/constants/index.js +30 -0
  134. package/dist/cjs/themes/helpers/calculateHSP.d.ts +8 -0
  135. package/dist/cjs/themes/helpers/calculateHSP.js +20 -0
  136. package/dist/cjs/themes/helpers/getCSSVariablesByDestination.d.ts +40 -0
  137. package/dist/cjs/themes/helpers/getCSSVariablesByDestination.js +18 -0
  138. package/dist/cjs/themes/helpers/getChannelsByHexadecimalColor.d.ts +8 -0
  139. package/dist/cjs/themes/helpers/getChannelsByHexadecimalColor.js +26 -0
  140. package/dist/cjs/themes/helpers/getChannelsByNameColor.d.ts +8 -0
  141. package/dist/cjs/themes/helpers/getChannelsByNameColor.js +26 -0
  142. package/dist/cjs/themes/helpers/getChannelsByRgbaColor.d.ts +8 -0
  143. package/dist/cjs/themes/helpers/getChannelsByRgbaColor.js +25 -0
  144. package/dist/cjs/themes/helpers/getHexadecimalOpacity.d.ts +7 -0
  145. package/dist/cjs/themes/helpers/getHexadecimalOpacity.js +19 -0
  146. package/dist/cjs/themes/helpers/getRgbaOpacity.d.ts +7 -0
  147. package/dist/cjs/themes/helpers/getRgbaOpacity.js +21 -0
  148. package/dist/cjs/themes/helpers/index.d.ts +12 -0
  149. package/dist/cjs/themes/helpers/index.js +28 -0
  150. package/dist/cjs/themes/helpers/isDarkColor.d.ts +7 -0
  151. package/dist/cjs/themes/helpers/isDarkColor.js +15 -0
  152. package/dist/cjs/themes/helpers/isHexadecimalColor.d.ts +6 -0
  153. package/dist/cjs/themes/helpers/isHexadecimalColor.js +15 -0
  154. package/dist/cjs/themes/helpers/isRGBAColor.d.ts +6 -0
  155. package/dist/cjs/themes/helpers/isRGBAColor.js +15 -0
  156. package/dist/cjs/themes/helpers/lightOrDark.d.ts +9 -0
  157. package/dist/cjs/themes/helpers/lightOrDark.js +40 -0
  158. package/dist/cjs/themes/helpers/setAutomaticCSSVariablesForDark.d.ts +9 -0
  159. package/dist/cjs/themes/helpers/setAutomaticCSSVariablesForDark.js +43 -0
  160. package/dist/cjs/themes/index.d.ts +3 -0
  161. package/dist/cjs/themes/index.js +19 -0
  162. package/dist/cjs/themes/interfaces/IColorCSSVariableDestination.d.ts +5 -0
  163. package/dist/cjs/themes/interfaces/IColorCSSVariableDestination.js +2 -0
  164. package/dist/cjs/themes/interfaces/IColorChannel.d.ts +9 -0
  165. package/dist/cjs/themes/interfaces/IColorChannel.js +2 -0
  166. package/dist/cjs/themes/interfaces/IColorType.d.ts +5 -0
  167. package/dist/cjs/themes/interfaces/IColorType.js +2 -0
  168. package/dist/cjs/themes/interfaces/index.d.ts +3 -0
  169. package/dist/cjs/themes/interfaces/index.js +19 -0
  170. package/dist/cjs/tokens/getCleanCustomTokens.d.ts +9 -0
  171. package/dist/cjs/tokens/getCleanCustomTokens.js +22 -0
  172. package/dist/cjs/tokens/getCustomtonTokens.d.ts +3 -3
  173. package/dist/cjs/tokens/getCustomtonTokens.js +7 -4
  174. package/dist/cjs/tokens/getCustomtonTokensWithKeys.js +1 -1
  175. package/dist/cjs/tokens/index.d.ts +1 -0
  176. package/dist/cjs/tokens/index.js +1 -0
  177. package/dist/constants/Charts.Const.d.ts +4 -1
  178. package/dist/constants/Charts.Const.js +3 -0
  179. package/dist/dates/relative/RelativeStatementAdapter.d.ts +1 -1
  180. package/dist/dates/relative/RelativeStatementAdapter.js +1 -1
  181. package/dist/dates/relative/relative.d.ts +3 -4
  182. package/dist/dates/relative/relative.js +4 -5
  183. package/dist/filters/adapters/FDToFlatUI.js +2 -2
  184. package/dist/filters/adapters/FDToUI.js +2 -2
  185. package/dist/filters/adapters/UIToFD.js +2 -2
  186. package/dist/filters/adapters/UIToFlatUI.js +2 -2
  187. package/dist/filters/adapters/UIToOldLogic.js +2 -2
  188. package/dist/filters/adapters/adaptFilterData.js +2 -2
  189. package/dist/filters/adapters/flatUIToFD.js +2 -2
  190. package/dist/filters/adapters/flatUIToOldLogic.js +2 -2
  191. package/dist/filters/adapters/flatUIToUI.js +2 -2
  192. package/dist/filters/constants/common/FILTER_SCOPE.d.ts +7 -7
  193. package/dist/filters/helpers/OLD_getAggFilters.js +2 -2
  194. package/dist/filters/helpers/backend/getLogicByScopes.js +2 -2
  195. package/dist/filters/helpers/common/excludeFiltersByAggregateColumn.js +2 -2
  196. package/dist/filters/helpers/common/excludeFiltersByParams.js +2 -2
  197. package/dist/filters/helpers/common/excludeFiltersByScopes.js +2 -2
  198. package/dist/filters/helpers/common/getFiltersByAggregateColumn.js +2 -2
  199. package/dist/filters/helpers/common/getFiltersByParams.js +2 -2
  200. package/dist/filters/helpers/common/getFiltersByScopes.js +2 -2
  201. package/dist/filters/helpers/common/getFiltersByScopesIds.js +2 -2
  202. package/dist/filters/helpers/common/getFiltersByVisibility.js +2 -2
  203. package/dist/filters/helpers/settings/getFilterSettings.js +4 -4
  204. package/dist/filters/helpers/ui/excludeUIFiltersByAggregate.js +2 -2
  205. package/dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js +2 -2
  206. package/dist/filters/helpers/ui/getUIFlatFilterByParams.js +2 -2
  207. package/dist/filters/helpers/ui/getUIFlatFiltersByParams.js +2 -2
  208. package/dist/filters/helpers/ui/getUIFlatFiltersByScopes.js +2 -2
  209. package/dist/filters/services/Filters.api.js +2 -2
  210. package/dist/filters/services/UChartApi.d.ts +1 -1
  211. package/dist/filters/services/UChartApi.js +3 -4
  212. package/dist/filters/services/UChartPaginationApi.d.ts +1 -1
  213. package/dist/filters/services/UChartPaginationApi.js +4 -5
  214. package/dist/format/format.js +2 -2
  215. package/dist/general/array/filterNestedTree.js +2 -2
  216. package/dist/general/object/objectCopy.js +8 -7
  217. package/dist/globalization/interfaces/II18nResource.d.ts +2 -0
  218. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -0
  219. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +9 -0
  220. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabels.d.ts +1 -0
  221. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +2 -0
  222. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
  223. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRadarType.d.ts +6 -0
  224. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +9 -0
  225. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +1 -0
  226. package/dist/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +1 -0
  227. package/dist/globalization/interfaces/export/II18nExportingModal.d.ts +67 -0
  228. package/dist/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.d.ts +3 -0
  229. package/dist/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.js +1 -0
  230. package/dist/globalization/interfaces/export/II18nExportingModalErrorMessages.d.ts +3 -0
  231. package/dist/globalization/interfaces/export/II18nExportingModalErrorMessages.js +1 -0
  232. package/dist/globalization/interfaces/export/II18nExportingModalRecurrence.d.ts +6 -0
  233. package/dist/globalization/interfaces/export/II18nExportingModalRecurrence.js +1 -0
  234. package/dist/globalization/interfaces/export/II18nExportingModalTimeStamp.d.ts +7 -0
  235. package/dist/globalization/interfaces/export/II18nExportingModalTimeStamp.js +1 -0
  236. package/dist/globalization/interfaces/export/index.d.ts +5 -0
  237. package/dist/globalization/interfaces/export/index.js +5 -0
  238. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionHour.d.ts +2 -0
  239. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.d.ts +5 -0
  240. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.js +1 -0
  241. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.d.ts +5 -0
  242. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.js +1 -0
  243. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2Functions.d.ts +4 -0
  244. package/dist/globalization/interfaces/panel/I18nPanelColumnInteractive.d.ts +5 -0
  245. package/dist/globalization/interfaces/panel/I18nPanelColumnInteractive.js +1 -0
  246. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +2 -0
  247. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +1 -0
  248. package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +3 -0
  249. package/dist/globalization/interfaces/panel/index.d.ts +1 -0
  250. package/dist/globalization/interfaces/panel/index.js +1 -0
  251. package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +4 -1
  252. package/dist/globalization/labels/I18N_DEFAULT.d.ts +1 -1
  253. package/dist/globalization/labels/I18N_DEFAULT.js +3 -1
  254. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +7 -0
  255. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +1 -0
  256. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +7 -2
  257. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +18 -0
  258. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +2 -0
  259. package/dist/globalization/labels/export/I18N_EXPORT_MODAL.d.ts +5 -0
  260. package/dist/globalization/labels/export/I18N_EXPORT_MODAL.js +75 -0
  261. package/dist/globalization/labels/export/index.d.ts +1 -0
  262. package/dist/globalization/labels/export/index.js +1 -0
  263. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +20 -5
  264. package/dist/globalization/labels/panel/I18N_PANEL.js +9 -0
  265. package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.js +4 -1
  266. package/dist/globalization/service/i18nextBuilder.js +3 -4
  267. package/dist/index.d.ts +1 -0
  268. package/dist/index.js +1 -0
  269. package/dist/services/api/getAllQrveys.api.d.ts +1 -1
  270. package/dist/services/helpers/Request.js +5 -2
  271. package/dist/services/helpers/getDefaultQuestionListOptionsAttributes.js +7 -7
  272. package/dist/services/interfaces/IPayloadQrveyAll.d.ts +1 -1
  273. package/dist/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK.d.ts +6 -0
  274. package/dist/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK.js +7 -0
  275. package/dist/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT.d.ts +6 -0
  276. package/dist/themes/constants/AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT.js +7 -0
  277. package/dist/themes/constants/AUTOMATIC_CSS_VARIABLES.d.ts +39 -0
  278. package/dist/themes/constants/AUTOMATIC_CSS_VARIABLES.js +19 -0
  279. package/dist/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK.d.ts +15 -0
  280. package/dist/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK.js +16 -0
  281. package/dist/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT.d.ts +15 -0
  282. package/dist/themes/constants/AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT.js +16 -0
  283. package/dist/themes/constants/CANVAS_CSS_VARIABLES.d.ts +6 -0
  284. package/dist/themes/constants/CANVAS_CSS_VARIABLES.js +7 -0
  285. package/dist/themes/constants/CHANNEL_BLACK_COLOR.d.ts +5 -0
  286. package/dist/themes/constants/CHANNEL_BLACK_COLOR.js +9 -0
  287. package/dist/themes/constants/CHANNEL_WHITE_COLOR.d.ts +5 -0
  288. package/dist/themes/constants/CHANNEL_WHITE_COLOR.js +9 -0
  289. package/dist/themes/constants/COLOR_NAME.d.ts +154 -0
  290. package/dist/themes/constants/COLOR_NAME.js +154 -0
  291. package/dist/themes/constants/COLOR_TYPE.d.ts +7 -0
  292. package/dist/themes/constants/COLOR_TYPE.js +8 -0
  293. package/dist/themes/constants/CSS_VARIABLE_DESTINATION.d.ts +7 -0
  294. package/dist/themes/constants/CSS_VARIABLE_DESTINATION.js +8 -0
  295. package/dist/themes/constants/GLOBAL_CSS_VARIABLES.d.ts +15 -0
  296. package/dist/themes/constants/GLOBAL_CSS_VARIABLES.js +16 -0
  297. package/dist/themes/constants/HEXADECIMAL_REGULAR_EXPRESSION.d.ts +4 -0
  298. package/dist/themes/constants/HEXADECIMAL_REGULAR_EXPRESSION.js +4 -0
  299. package/dist/themes/constants/RGBA_REGULAR_EXPRESION.d.ts +4 -0
  300. package/dist/themes/constants/RGBA_REGULAR_EXPRESION.js +4 -0
  301. package/dist/themes/constants/index.d.ts +14 -0
  302. package/dist/themes/constants/index.js +14 -0
  303. package/dist/themes/helpers/calculateHSP.d.ts +8 -0
  304. package/dist/themes/helpers/calculateHSP.js +16 -0
  305. package/dist/themes/helpers/getCSSVariablesByDestination.d.ts +40 -0
  306. package/dist/themes/helpers/getCSSVariablesByDestination.js +14 -0
  307. package/dist/themes/helpers/getChannelsByHexadecimalColor.d.ts +8 -0
  308. package/dist/themes/helpers/getChannelsByHexadecimalColor.js +22 -0
  309. package/dist/themes/helpers/getChannelsByNameColor.d.ts +8 -0
  310. package/dist/themes/helpers/getChannelsByNameColor.js +22 -0
  311. package/dist/themes/helpers/getChannelsByRgbaColor.d.ts +8 -0
  312. package/dist/themes/helpers/getChannelsByRgbaColor.js +21 -0
  313. package/dist/themes/helpers/getHexadecimalOpacity.d.ts +7 -0
  314. package/dist/themes/helpers/getHexadecimalOpacity.js +15 -0
  315. package/dist/themes/helpers/getRgbaOpacity.d.ts +7 -0
  316. package/dist/themes/helpers/getRgbaOpacity.js +17 -0
  317. package/dist/themes/helpers/index.d.ts +12 -0
  318. package/dist/themes/helpers/index.js +12 -0
  319. package/dist/themes/helpers/isDarkColor.d.ts +7 -0
  320. package/dist/themes/helpers/isDarkColor.js +11 -0
  321. package/dist/themes/helpers/isHexadecimalColor.d.ts +6 -0
  322. package/dist/themes/helpers/isHexadecimalColor.js +11 -0
  323. package/dist/themes/helpers/isRGBAColor.d.ts +6 -0
  324. package/dist/themes/helpers/isRGBAColor.js +11 -0
  325. package/dist/themes/helpers/lightOrDark.d.ts +9 -0
  326. package/dist/themes/helpers/lightOrDark.js +36 -0
  327. package/dist/themes/helpers/setAutomaticCSSVariablesForDark.d.ts +9 -0
  328. package/dist/themes/helpers/setAutomaticCSSVariablesForDark.js +39 -0
  329. package/dist/themes/index.d.ts +3 -0
  330. package/dist/themes/index.js +3 -0
  331. package/dist/themes/interfaces/IColorCSSVariableDestination.d.ts +5 -0
  332. package/dist/themes/interfaces/IColorCSSVariableDestination.js +1 -0
  333. package/dist/themes/interfaces/IColorChannel.d.ts +9 -0
  334. package/dist/themes/interfaces/IColorChannel.js +1 -0
  335. package/dist/themes/interfaces/IColorType.d.ts +5 -0
  336. package/dist/themes/interfaces/IColorType.js +1 -0
  337. package/dist/themes/interfaces/index.d.ts +3 -0
  338. package/dist/themes/interfaces/index.js +3 -0
  339. package/dist/tokens/getCleanCustomTokens.d.ts +9 -0
  340. package/dist/tokens/getCleanCustomTokens.js +18 -0
  341. package/dist/tokens/getCustomtonTokens.d.ts +3 -3
  342. package/dist/tokens/getCustomtonTokens.js +8 -5
  343. package/dist/tokens/getCustomtonTokensWithKeys.js +1 -1
  344. package/dist/tokens/index.d.ts +1 -0
  345. package/dist/tokens/index.js +1 -0
  346. package/package.json +20 -17
  347. package/dist/cjs/tokens/getCustomtonTokensWithKeys.test.js +0 -23
  348. package/dist/tokens/getCustomtonTokensWithKeys.test.js +0 -21
  349. /package/dist/{cjs/tokens/getCustomtonTokensWithKeys.test.d.ts → globalization/interfaces/chart_builder/II18nChartBuilderRadarType.js} +0 -0
  350. /package/dist/{tokens/getCustomtonTokensWithKeys.test.d.ts → globalization/interfaces/export/II18nExportingModal.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.excludeUIFiltersByAggregate = void 0;
4
- const cloneDeep_1 = require("../../../general/object/cloneDeep");
4
+ const objectCopy_1 = require("../../../general/object/objectCopy");
5
5
  /**
6
6
  * Excludes Aggregate Filters in the Flattened UI Filters array
7
7
  * @param uFilters Collection of Flat UI Filters
8
8
  * @returns a new Flat UI Filters that were excluded the aggregate filters
9
9
  */
10
10
  function excludeUIFiltersByAggregate(uFilters = []) {
11
- const _uFilters = (0, cloneDeep_1.cloneDeep)(uFilters);
11
+ const _uFilters = (0, objectCopy_1.objectCopy)(uFilters);
12
12
  return _uFilters.filter((uFilter) => uFilter.column.aggregate == null);
13
13
  }
14
14
  exports.excludeUIFiltersByAggregate = excludeUIFiltersByAggregate;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.excludeUIFlatFiltersByScopes = void 0;
4
4
  const isEmpty_1 = require("../../../general/mix/isEmpty");
5
- const cloneDeep_1 = require("../../../general/object/cloneDeep");
5
+ const objectCopy_1 = require("../../../general/object/objectCopy");
6
6
  /**
7
7
  * Excludes and returns a UI Flat Filters without filters by the given scopes
8
8
  * @param uFilters The Flatten UI Filters
@@ -12,7 +12,7 @@ const cloneDeep_1 = require("../../../general/object/cloneDeep");
12
12
  function excludeUIFlatFiltersByScopes(uFilters = [], scopes = []) {
13
13
  if ((0, isEmpty_1.isEmpty)(uFilters))
14
14
  return [];
15
- const _uFilters = (0, cloneDeep_1.cloneDeep)(uFilters);
15
+ const _uFilters = (0, objectCopy_1.objectCopy)(uFilters);
16
16
  return _uFilters.filter((uFilter) => !scopes.includes(uFilter.extras.scope));
17
17
  }
18
18
  exports.excludeUIFlatFiltersByScopes = excludeUIFlatFiltersByScopes;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getUIFlatFilterByParams = void 0;
4
4
  const isEmpty_1 = require("../../../general/mix/isEmpty");
5
- const cloneDeep_1 = require("../../../general/object/cloneDeep");
5
+ const objectCopy_1 = require("../../../general/object/objectCopy");
6
6
  const resolveUIFlatFilterByParams_1 = require("./resolveUIFlatFilterByParams");
7
7
  /**
8
8
  * Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
@@ -19,7 +19,7 @@ const resolveUIFlatFilterByParams_1 = require("./resolveUIFlatFilterByParams");
19
19
  function getUIFlatFilterByParams(uFilters = [], params = {}, getIndex = false) {
20
20
  if ((0, isEmpty_1.isEmpty)(params))
21
21
  return;
22
- const _uFilters = (0, cloneDeep_1.cloneDeep)(uFilters);
22
+ const _uFilters = (0, objectCopy_1.objectCopy)(uFilters);
23
23
  return getIndex
24
24
  ? _uFilters.findIndex((filter) => (0, resolveUIFlatFilterByParams_1.resolveUIFlatFilterByParams)(filter, params))
25
25
  : _uFilters.find((filter) => (0, resolveUIFlatFilterByParams_1.resolveUIFlatFilterByParams)(filter, params));
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getUIFlatFiltersByParams = void 0;
4
4
  const isEmpty_1 = require("../../../general/mix/isEmpty");
5
- const cloneDeep_1 = require("../../../general/object/cloneDeep");
5
+ const objectCopy_1 = require("../../../general/object/objectCopy");
6
6
  const resolveUIFlatFilterByParams_1 = require("./resolveUIFlatFilterByParams");
7
7
  /**
8
8
  * Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
@@ -20,7 +20,7 @@ const resolveUIFlatFilterByParams_1 = require("./resolveUIFlatFilterByParams");
20
20
  function getUIFlatFiltersByParams(uFilters = [], params = {}) {
21
21
  if ((0, isEmpty_1.isEmpty)(params))
22
22
  return;
23
- const _uFilters = (0, cloneDeep_1.cloneDeep)(uFilters);
23
+ const _uFilters = (0, objectCopy_1.objectCopy)(uFilters);
24
24
  return _uFilters.filter((filter) => (0, resolveUIFlatFilterByParams_1.resolveUIFlatFilterByParams)(filter, params));
25
25
  }
26
26
  exports.getUIFlatFiltersByParams = getUIFlatFiltersByParams;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getUIFlatFiltersByScopes = void 0;
4
4
  const isEmpty_1 = require("../../../general/mix/isEmpty");
5
- const cloneDeep_1 = require("../../../general/object/cloneDeep");
5
+ const objectCopy_1 = require("../../../general/object/objectCopy");
6
6
  /**
7
7
  * Filters and gets a UI Flatten Filters by the given scopes
8
8
  * @param uFilters The Flatten UI Filters
@@ -12,7 +12,7 @@ const cloneDeep_1 = require("../../../general/object/cloneDeep");
12
12
  function getUIFlatFiltersByScopes(uFilters = [], scopes = []) {
13
13
  if ((0, isEmpty_1.isEmpty)(uFilters))
14
14
  return [];
15
- const _uFilters = (0, cloneDeep_1.cloneDeep)(uFilters);
15
+ const _uFilters = (0, objectCopy_1.objectCopy)(uFilters);
16
16
  return _uFilters.filter((uFilter) => scopes.includes(uFilter.extras.scope));
17
17
  }
18
18
  exports.getUIFlatFiltersByScopes = getUIFlatFiltersByScopes;
@@ -8,13 +8,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
11
  Object.defineProperty(exports, "__esModule", { value: true });
15
12
  exports.FiltersApi = void 0;
16
- const UChartPaginationApi_1 = __importDefault(require("./UChartPaginationApi"));
17
- const UChartApi_1 = __importDefault(require("./UChartApi"));
13
+ const UChartPaginationApi_1 = require("./UChartPaginationApi");
14
+ const UChartApi_1 = require("./UChartApi");
18
15
  const isRangeValidator_1 = require("../helpers/common/isRangeValidator");
19
16
  const getFiltersByVisibility_1 = require("../helpers/common/getFiltersByVisibility");
20
17
  const excludeFiltersByAggregateColumn_1 = require("../helpers/common/excludeFiltersByAggregateColumn");
@@ -36,8 +33,8 @@ const getFiltersByParams_1 = require("../helpers/common/getFiltersByParams");
36
33
  class FiltersApi {
37
34
  constructor(cfg) {
38
35
  this.setConfig(cfg);
39
- this.chartPaginationApi = new UChartPaginationApi_1.default();
40
- this.chartApi = new UChartApi_1.default();
36
+ this.chartPaginationApi = new UChartPaginationApi_1.UChartPaginationApi();
37
+ this.chartApi = new UChartApi_1.UChartApi();
41
38
  }
42
39
  /**
43
40
  * Get the model by Qrvey ID
@@ -3,7 +3,7 @@ import { IFilterConfig } from "../interfaces/common/IFilterConfig";
3
3
  import { IFUFlattenedFilter } from "../interfaces/ui/IFUFlattenedFilter";
4
4
  import { IFBLogic } from "../interfaces/backend/IFBLogic";
5
5
  import { IFUChartSettings } from "../interfaces/ui/IFUChartSettings";
6
- export default class UChartApi {
6
+ export declare class UChartApi {
7
7
  /**
8
8
  * Gets a promise with a resulting data
9
9
  * @param config the config
@@ -3,10 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UChartApi = void 0;
6
7
  const isDateColumn_1 = require("../../columns/helpers/isDateColumn");
7
8
  const isNumericalColumn_1 = require("../../columns/helpers/isNumericalColumn");
8
9
  const isRangeValidator_1 = require("../helpers/common/isRangeValidator");
9
- const cloneDeep_1 = require("../../general/object/cloneDeep");
10
+ const objectCopy_1 = require("../../general/object/objectCopy");
10
11
  const isEmpty_1 = require("../../general/mix/isEmpty");
11
12
  const COLUMN_1 = require("../../columns/constants/COLUMN");
12
13
  const getAggFiltersBySummaryIndex_1 = require("../helpers/backend/getAggFiltersBySummaryIndex");
@@ -137,6 +138,7 @@ class UChartApi {
137
138
  }, []);
138
139
  }
139
140
  }
141
+ exports.UChartApi = UChartApi;
140
142
  /**
141
143
  * Gets request body structure
142
144
  * @param {IFUFlattenedFilter} uFilter The filter object
@@ -248,7 +250,7 @@ UChartApi._getSummariesBody = (uFilter) => {
248
250
  * @returns the body structure
249
251
  */
250
252
  UChartApi._refineBodies = (bodies, uFilter) => {
251
- const _bodies = (0, cloneDeep_1.cloneDeep)(bodies);
253
+ const _bodies = (0, objectCopy_1.objectCopy)(bodies);
252
254
  if (uFilter.property != null) {
253
255
  _bodies.forEach((body) => {
254
256
  if ((0, isDateColumn_1.isDateColumn)(uFilter.column) ||
@@ -299,4 +301,3 @@ UChartApi.isResultEmpty = (resultObject, validateNesteddata = false) => {
299
301
  }
300
302
  return validation;
301
303
  };
302
- exports.default = UChartApi;
@@ -4,7 +4,7 @@ import { IFUFlattenedFilter } from "../interfaces/ui/IFUFlattenedFilter";
4
4
  import { IFBLogic } from "../interfaces/backend/IFBLogic";
5
5
  import { IFUChartSettings } from "../interfaces/ui/IFUChartSettings";
6
6
  import { IFUColumn } from "../interfaces/ui/IFUColumn";
7
- export default class UChartPaginationApi {
7
+ export declare class UChartPaginationApi {
8
8
  afterKey: any;
9
9
  uFilter: IFUFlattenedFilter;
10
10
  /**
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UChartPaginationApi = void 0;
6
7
  const isNumericalColumn_1 = require("../../columns/helpers/isNumericalColumn");
7
8
  const isDateColumn_1 = require("../../columns/helpers/isDateColumn");
8
9
  const OLD_getAggFilters_1 = require("../helpers/OLD_getAggFilters");
@@ -14,7 +15,7 @@ const getAggFiltersBySummaryIndex_1 = require("../helpers/backend/getAggFiltersB
14
15
  const COLUMN_1 = require("../../columns/constants/COLUMN");
15
16
  const get_1 = require("../../general/object/get");
16
17
  const AGGREGATE_1 = require("../../charts/constants/AGGREGATE");
17
- const cloneDeep_1 = require("../../general/object/cloneDeep");
18
+ const objectCopy_1 = require("../../general/object/objectCopy");
18
19
  const FILTER_VALIDATOR_1 = require("../constants/common/FILTER_VALIDATOR");
19
20
  const flatUIToOldLogic_1 = require("../adapters/flatUIToOldLogic");
20
21
  class UChartPaginationApi {
@@ -90,7 +91,7 @@ class UChartPaginationApi {
90
91
  * @param uFilter
91
92
  */
92
93
  this.setProps = (uFilter) => {
93
- this.uFilter = (0, cloneDeep_1.cloneDeep)(uFilter);
94
+ this.uFilter = (0, objectCopy_1.objectCopy)(uFilter);
94
95
  };
95
96
  }
96
97
  /**
@@ -146,6 +147,7 @@ class UChartPaginationApi {
146
147
  }, []);
147
148
  }
148
149
  }
150
+ exports.UChartPaginationApi = UChartPaginationApi;
149
151
  /**
150
152
  * Gets request body structure
151
153
  * @param {IFUFlattenedFilter} uFilter The filter object
@@ -258,7 +260,7 @@ UChartPaginationApi._getSummariesBody = (uFilter) => {
258
260
  * @returns the body structure
259
261
  */
260
262
  UChartPaginationApi._refineBodies = (bodies, uFilter) => {
261
- const _bodies = (0, cloneDeep_1.cloneDeep)(bodies);
263
+ const _bodies = (0, objectCopy_1.objectCopy)(bodies);
262
264
  if (uFilter.property != null) {
263
265
  _bodies.forEach((body) => {
264
266
  if ((0, isDateColumn_1.isDateColumn)(uFilter.column) ||
@@ -331,4 +333,3 @@ UChartPaginationApi.isResultPaginationEmpty = (resultObject) => {
331
333
  const result = (0, get_1._get)(resultObject, "data");
332
334
  return (0, isEmpty_1.isEmpty)(result);
333
335
  };
334
- exports.default = UChartPaginationApi;
@@ -22,7 +22,7 @@ const FORMULA_1 = require("../formulas/constants/FORMULA");
22
22
  const localization_1 = require("./localization");
23
23
  const isObject_1 = require("../general/object/isObject");
24
24
  const DURATION_PARTS_LIST_1 = require("../column_format/constants/DURATION_PARTS_LIST");
25
- const cloneDeep_1 = require("../general/object/cloneDeep");
25
+ const objectCopy_1 = require("../general/object/objectCopy");
26
26
  dayjs_1.default.extend(updateLocale_1.default);
27
27
  dayjs_1.default.updateLocale("en", {
28
28
  yearStart: 4,
@@ -41,7 +41,7 @@ function isValidDateString(dateString = "") {
41
41
  /^\d{4}-\d{2}-\d{2}/.test(dateString)); // YYYY-MM-DD
42
42
  }
43
43
  function formatDate(dateString, format, offset) {
44
- let _format = (0, cloneDeep_1.cloneDeep)(format);
44
+ let _format = (0, objectCopy_1.objectCopy)(format);
45
45
  if ((0, isObject_1.isObject)(format))
46
46
  _format = _format.format || "";
47
47
  if ((0, isEmpty_1.isEmpty)(dateString) || !isNaN(dateString) || _format === "Default")
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.filterNestedTree = void 0;
4
4
  const isEmpty_1 = require("../mix/isEmpty");
5
- const cloneDeep_1 = require("../object/cloneDeep");
5
+ const objectCopy_1 = require("../object/objectCopy");
6
6
  /**
7
7
  * Filters a nested tree array by a custom condition on the last child node
8
8
  * - If the given arguments are not valid, the function returns the first argument.
@@ -16,7 +16,7 @@ const cloneDeep_1 = require("../object/cloneDeep");
16
16
  function filterNestedTree(arr = [], childArrKey = "", condition = undefined) {
17
17
  if (!isValid(arr, childArrKey, condition))
18
18
  return arr;
19
- return (0, cloneDeep_1.cloneDeep)(arr).filter((obj) => {
19
+ return (0, objectCopy_1.objectCopy)(arr).filter((obj) => {
20
20
  const hasChildArr = Array.isArray(obj[childArrKey]) && obj[childArrKey].length > 0;
21
21
  if (hasChildArr)
22
22
  obj[childArrKey] = filterNestedTree(obj[childArrKey], childArrKey, condition);
@@ -7,23 +7,24 @@ exports.objectCopy = void 0;
7
7
  * @param cache
8
8
  * @returns A new reference of the given argument
9
9
  */
10
- function objectCopy(entity, cache = new WeakMap()) {
10
+ function objectCopy(entity, cache) {
11
11
  if (!isClonable(entity))
12
12
  return entity;
13
- if (cache.has(entity))
14
- return cache.get(entity);
13
+ const newCache = cache ? cache : new WeakMap();
14
+ if (newCache.has(entity))
15
+ return newCache.get(entity);
15
16
  const c = new entity.constructor();
16
17
  if (c.name === "Date")
17
18
  return new Date(entity);
18
19
  if (entity instanceof Map) {
19
- entity.forEach((value, key) => c.set(objectCopy(key), objectCopy(value)));
20
+ entity.forEach((value, key) => c.set(objectCopy(key, newCache), objectCopy(value, newCache)));
20
21
  }
21
22
  if (entity instanceof Set) {
22
- entity.forEach((value) => c.add(objectCopy(value)));
23
+ entity.forEach((value) => c.add(objectCopy(value, newCache)));
23
24
  }
24
- cache.set(entity, c);
25
+ newCache.set(entity, c);
25
26
  return Object.assign(c, ...Object.keys(entity).map((prop) => ({
26
- [prop]: objectCopy(entity[prop], cache),
27
+ [prop]: objectCopy(entity[prop], newCache),
27
28
  })));
28
29
  }
29
30
  exports.objectCopy = objectCopy;
@@ -12,12 +12,14 @@ import { II18nCrossTabs } from "./cross_tabs";
12
12
  import { II18nChartBuilder } from ".";
13
13
  import { II18nStyleThemes } from "./style_themes/II18nStyleThemes";
14
14
  import { II18nTabularView } from "./tabular_view/II18nTabularView";
15
+ import { I18nExportingModal } from "./export";
15
16
  export interface II18nResource {
16
17
  bucket_builder?: II18nBucketBuilder;
17
18
  chart_builder?: II18nChartBuilder;
18
19
  common?: II18nCommon;
19
20
  cross_tabs?: II18nCrossTabs;
20
21
  dashboard?: II18nDashboard;
22
+ exporting_modal?: I18nExportingModal;
21
23
  filter?: II18nFilter;
22
24
  filter_builder?: II18nFilterBuilder;
23
25
  filter_display?: II18nFilterDisplay;
@@ -72,6 +72,7 @@ import { II18nChartBuilderWordCloud } from "./II18nChartBuilderWordCloud";
72
72
  import { II18nChartBuilderBoxWhisker } from "./II18nChartBuilderBoxWhisker";
73
73
  import { II18nChartBuilderDurationParts } from "./II18nChartBuilderDurationParts";
74
74
  import { II18nChartBuilderThresholdDynamic } from "./II18nChartBuilderThresholdDynamic";
75
+ import { II18nChartBuilderRadarType } from "./II18nChartBuilderRadarType";
75
76
  export interface II18nChartBuilder {
76
77
  action_panel: II18nChartBuilderActionPanel;
77
78
  aggregated_formula: II18nChartBuilderAggregatedFormulas;
@@ -147,4 +148,5 @@ export interface II18nChartBuilder {
147
148
  trends_line: II18nChartBuilderTrendsLine;
148
149
  word_cloud: II18nChartBuilderWordCloud;
149
150
  duration_parts: II18nChartBuilderDurationParts;
151
+ radar_type: II18nChartBuilderRadarType;
150
152
  }
@@ -8,6 +8,7 @@ export interface II18nChartBuilderAxisStyle {
8
8
  custom_axis_label: string;
9
9
  custom_label: string;
10
10
  custom_label_placeholder: string;
11
+ custom_rotation: string;
11
12
  end_date: string;
12
13
  format_title: string;
13
14
  include_starting: string;
@@ -26,6 +27,14 @@ export interface II18nChartBuilderAxisStyle {
26
27
  type_label: string;
27
28
  values_axis_check: string;
28
29
  values_check: string;
30
+ skip_labels_all_but_first_and_last: string;
31
+ skip_labels_all: string;
32
+ skip_labels_auto: string;
33
+ skip_labels_custom: string;
34
+ skip_labels_help: string;
35
+ skip_labels_none: string;
36
+ skip_labels_placeholder: string;
37
+ skip_labels: string;
29
38
  values_rotation: string;
30
39
  values_rotation_diagonal: string;
31
40
  values_rotation_horizontal: string;
@@ -22,4 +22,5 @@ export interface II18nChartBuilderChartLabels {
22
22
  boxwhisker: string;
23
23
  wordcloud: string;
24
24
  multiseries_combo: string;
25
+ radar: string;
25
26
  }
@@ -8,6 +8,7 @@ export interface II18nChartBuilderChartNames {
8
8
  combo: string;
9
9
  funnel: string;
10
10
  pie: string;
11
+ summary: string;
11
12
  minmax: string;
12
13
  metric_indicator: string;
13
14
  metric_dial: string;
@@ -22,4 +23,5 @@ export interface II18nChartBuilderChartNames {
22
23
  boxwhisker: string;
23
24
  wordcloud: string;
24
25
  multiseries_combo: string;
26
+ radar: string;
25
27
  }
@@ -2,4 +2,9 @@ export interface II18nChartBuilderMenuActions {
2
2
  title: string;
3
3
  sorting: string;
4
4
  visualization: string;
5
+ filtering: string;
6
+ column_resizing: string;
7
+ column_arrangement: string;
8
+ column_update: string;
9
+ change_aggregation: string;
5
10
  }
@@ -0,0 +1,6 @@
1
+ export interface II18nChartBuilderRadarType {
2
+ select_radar_type: string;
3
+ none: string;
4
+ line: string;
5
+ area: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,6 +26,15 @@ export interface II18nChartBuilderStyleOptions {
26
26
  line_opacity: string;
27
27
  map_borders: string;
28
28
  needle_color: string;
29
+ offset_bottom: string;
30
+ offset_icon_info: string;
31
+ offset_left: string;
32
+ offset_percentage: string;
33
+ offset_pixels: string;
34
+ offset_placeholder: string;
35
+ offset_reset: string;
36
+ offset_title: string;
37
+ offset_top: string;
29
38
  opacity: string;
30
39
  percentage_check: string;
31
40
  reversed_colors: string;
@@ -7,6 +7,7 @@ import { II18nDashboardViews } from "./II18nDashboardViews";
7
7
  export interface II18nDashboard {
8
8
  add_chart: II18nDashboardAddChart;
9
9
  export_csv: string;
10
+ export_in_progress: string;
10
11
  toast: II18nDashboardToast;
11
12
  tooltips: II18nDashboardTooltips;
12
13
  views: II18nDashboardViews;
@@ -4,5 +4,6 @@ export interface II18nDashboardToast {
4
4
  add_record_message: string;
5
5
  data_views_updated_message: string;
6
6
  failed_download: string;
7
+ successful_download: string;
7
8
  panels_loading: string;
8
9
  }
@@ -0,0 +1,67 @@
1
+ import { II18nExportingModalApplyButtonLabel } from "./II18nExportingModalApplyButtonLabel";
2
+ import { II18nExportingModalErrorMessages } from "./II18nExportingModalErrorMessages";
3
+ import { II18nExportingModalRecurrence } from "./II18nExportingModalRecurrence";
4
+ import { II18nExportingModalTimeStamp } from "./II18nExportingModalTimeStamp";
5
+ export interface I18nExportingModal {
6
+ apply_button_label: II18nExportingModalApplyButtonLabel;
7
+ cancel_button_label: string;
8
+ error_messages: II18nExportingModalErrorMessages;
9
+ file_name_label: string;
10
+ recurrence: II18nExportingModalRecurrence;
11
+ time_stamp: II18nExportingModalTimeStamp;
12
+ time_zone_label: string;
13
+ title_label: string;
14
+ uniqueness_concatenate: string;
15
+ toast_messages: {
16
+ failed_scheduling: string;
17
+ successful_scheduling: string;
18
+ };
19
+ schedule: {
20
+ chart_download_ready: string;
21
+ page_download_ready: string;
22
+ schedule_button_label: {
23
+ schedule: string;
24
+ reset_to_default: string;
25
+ };
26
+ title: string;
27
+ start: {
28
+ date: string;
29
+ time: string;
30
+ };
31
+ repeat: {
32
+ every: string;
33
+ placeholder: string;
34
+ on: string;
35
+ intervals: {
36
+ hour: string;
37
+ day: string;
38
+ week: string;
39
+ month: string;
40
+ year: string;
41
+ };
42
+ };
43
+ time_zone: {
44
+ label: string;
45
+ placeholder: string;
46
+ };
47
+ days_of_week_short: {
48
+ sunday: string;
49
+ monday: string;
50
+ tuesday: string;
51
+ wednesday: string;
52
+ thursday: string;
53
+ friday: string;
54
+ saturday: string;
55
+ };
56
+ end: {
57
+ ends: string;
58
+ radio_buttons: {
59
+ never: string;
60
+ on: string;
61
+ after: string;
62
+ };
63
+ select_date_placeholder: string;
64
+ recurrences: string;
65
+ };
66
+ };
67
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface II18nExportingModalApplyButtonLabel {
2
+ export_now: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface II18nExportingModalErrorMessages {
2
+ special_characters: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface II18nExportingModalRecurrence {
2
+ label: string;
3
+ value: {
4
+ does_not_repeat: string;
5
+ };
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface II18nExportingModalTimeStamp {
2
+ label: string;
3
+ value: {
4
+ now_and_today: string;
5
+ };
6
+ none_label: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export * from "./II18nExportingModalApplyButtonLabel";
2
+ export * from "./II18nExportingModalRecurrence";
3
+ export * from "./II18nExportingModalTimeStamp";
4
+ export * from "./II18nExportingModalErrorMessages";
5
+ export * from "./II18nExportingModal";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./II18nExportingModalApplyButtonLabel"), exports);
18
+ __exportStar(require("./II18nExportingModalRecurrence"), exports);
19
+ __exportStar(require("./II18nExportingModalTimeStamp"), exports);
20
+ __exportStar(require("./II18nExportingModalErrorMessages"), exports);
21
+ __exportStar(require("./II18nExportingModal"), exports);
@@ -2,4 +2,6 @@ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
2
  export interface II18nFormulaBuilderV2FunctionHour extends II18nFormulaBuilderFunction {
3
3
  param_date_value1_name: string;
4
4
  param_date_value1_description: string;
5
+ param_time_format_name: string;
6
+ param_time_format_description: string;
5
7
  }
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionMillisecond extends II18nFormulaBuilderFunction {
3
+ param_date_value1_name: string;
4
+ param_date_value1_description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionText extends II18nFormulaBuilderFunction {
3
+ param_num1_name: string;
4
+ param_num1_description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,6 +18,7 @@ import { II18nFormulaBuilderV2FunctionLength } from "./II18nFormulaBuilderV2Func
18
18
  import { II18nFormulaBuilderV2FunctionLog } from "./II18nFormulaBuilderV2FunctionLog";
19
19
  import { II18nFormulaBuilderV2FunctionMax } from "./II18nFormulaBuilderV2FunctionMax";
20
20
  import { II18nFormulaBuilderV2FunctionMid } from "./II18nFormulaBuilderV2FunctionMid";
21
+ import { II18nFormulaBuilderV2FunctionMillisecond } from "./II18nFormulaBuilderV2FunctionMillisecond";
21
22
  import { II18nFormulaBuilderV2FunctionMinute } from "./II18nFormulaBuilderV2FunctionMinute";
22
23
  import { II18nFormulaBuilderV2FunctionMonth } from "./II18nFormulaBuilderV2FunctionMonth";
23
24
  import { II18nFormulaBuilderV2FunctionOdd } from "./II18nFormulaBuilderV2FunctionOdd";
@@ -26,6 +27,7 @@ import { II18nFormulaBuilderV2FunctionReplace } from "./II18nFormulaBuilderV2Fun
26
27
  import { II18nFormulaBuilderV2FunctionRound } from "./II18nFormulaBuilderV2FunctionRound";
27
28
  import { II18nFormulaBuilderV2FunctionSecond } from "./II18nFormulaBuilderV2FunctionSecond";
28
29
  import { II18nFormulaBuilderV2FunctionSqrt } from "./II18nFormulaBuilderV2FunctionSqrt";
30
+ import { II18nFormulaBuilderV2FunctionText } from "./II18nFormulaBuilderV2FunctionText";
29
31
  import { II18nFormulaBuilderV2FunctionTrim } from "./II18nFormulaBuilderV2FunctionTrim";
30
32
  import { II18nFormulaBuilderV2FunctionUpper } from "./II18nFormulaBuilderV2FunctionUpper";
31
33
  import { II18nFormulaBuilderV2FunctionYear } from "./II18nFormulaBuilderV2FunctionYear";
@@ -69,4 +71,6 @@ export interface II18nFormulaBuilderV2Functions {
69
71
  round: II18nFormulaBuilderV2FunctionRound;
70
72
  rounddown: II18nFormulaBuilderV2FunctionRound;
71
73
  roundup: II18nFormulaBuilderV2FunctionRound;
74
+ millisecond: II18nFormulaBuilderV2FunctionMillisecond;
75
+ text: II18nFormulaBuilderV2FunctionText;
72
76
  }
@@ -0,0 +1,5 @@
1
+ export interface I18nPanelColumnInteractive {
2
+ search_placeholder: string;
3
+ no_records_found: string;
4
+ missing_column: string;
5
+ }