@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
@@ -0,0 +1,75 @@
1
+ /**
2
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
3
+ */
4
+ export const EXPORTING_MODAL = {
5
+ apply_button_label: { export_now: "Export Now" },
6
+ cancel_button_label: "Cancel",
7
+ error_messages: {
8
+ special_characters: "Special characters are not allowed in file name.",
9
+ },
10
+ file_name_label: "File Name",
11
+ recurrence: {
12
+ label: "Recurrence",
13
+ value: { does_not_repeat: "Does not repeat" },
14
+ },
15
+ time_stamp: {
16
+ label: "Time and Date",
17
+ value: { now_and_today: "Now and Today" },
18
+ none_label: "None",
19
+ },
20
+ time_zone_label: "Time Zone",
21
+ title_label: "Export",
22
+ uniqueness_concatenate: "For Uniqueness Concatenate",
23
+ toast_messages: {
24
+ failed_scheduling: "The export could not be scheduled at this time.",
25
+ successful_scheduling: "The export of {{fileName}} has been scheduled successfully.",
26
+ },
27
+ schedule: {
28
+ chart_download_ready: "Chart is ready to download",
29
+ page_download_ready: "Dashboard is ready to download",
30
+ schedule_button_label: {
31
+ schedule: "Schedule",
32
+ reset_to_default: "Reset to Default",
33
+ },
34
+ title: "Scheduling",
35
+ start: {
36
+ date: "Date",
37
+ time: "Time",
38
+ },
39
+ repeat: {
40
+ every: "Repeat Every",
41
+ placeholder: "Select",
42
+ on: "Repeat On",
43
+ intervals: {
44
+ hour: "Hour",
45
+ day: "Day",
46
+ week: "Week",
47
+ month: "Month",
48
+ year: "Year",
49
+ },
50
+ },
51
+ time_zone: {
52
+ label: "Time Zone",
53
+ placeholder: "Select",
54
+ },
55
+ days_of_week_short: {
56
+ sunday: "S",
57
+ monday: "M",
58
+ tuesday: "T",
59
+ wednesday: "W",
60
+ thursday: "T",
61
+ friday: "F",
62
+ saturday: "S",
63
+ },
64
+ end: {
65
+ ends: "Ends",
66
+ radio_buttons: {
67
+ never: "Never",
68
+ on: "On",
69
+ after: "After",
70
+ },
71
+ select_date_placeholder: "Select Date",
72
+ recurrences: "occurrences",
73
+ },
74
+ },
75
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_EXPORT_MODAL";
@@ -0,0 +1 @@
1
+ export * from "./I18N_EXPORT_MODAL";
@@ -114,10 +114,12 @@ export const I18N_FORMULA_BUILDER = {
114
114
  param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS".',
115
115
  },
116
116
  hour: {
117
- description: "Returns the hour of a datetime value. The hour is given as an integer ranging from 0 to 23.",
118
- function_placeholder: "HOUR(date_value1)",
117
+ description: "Returns the hour of a datetime value. The hour is given as an integer ranging from 0 to 23 or from 0 to 12 depending on the defined format.",
118
+ function_placeholder: "HOUR(date_value1,[time_format])",
119
119
  param_date_value1_name: "date_value1",
120
120
  param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS", datetime values without time will be assumed as 00:00:00.',
121
+ param_time_format_name: "time_format (optional)",
122
+ param_time_format_description: "if set to “24h“ it will return a number from 0 to 23, if set to “12h“ it will return a number from 1 to 12. If not set it will always return the hour in 24h format.",
121
123
  },
122
124
  minute: {
123
125
  description: "Returns the minute of a datetime value. The minute is given as an integer ranging from 0 to 59.",
@@ -274,7 +276,7 @@ export const I18N_FORMULA_BUILDER = {
274
276
  param_string2_description: "Text with a sequence of characters that will be searched in string1.",
275
277
  },
276
278
  replace: {
277
- description: "Looks for an specific sequence of characters inside a string and replaces it with a different sequence of characters.",
279
+ description: "Looks for a specific sequence of characters inside a string and replaces it with a different sequence of characters.",
278
280
  function_placeholder: "REPLACE(string1, target, replacement)",
279
281
  param_string1_name: "string1",
280
282
  param_string1_description: "Text to perform the replace into.",
@@ -331,7 +333,7 @@ export const I18N_FORMULA_BUILDER = {
331
333
  },
332
334
  random: {
333
335
  description: "Returns a positive decimal number between 0 (inclusive) and 1 (exclusive).",
334
- function_placeholder: "LOG(num1, [base])",
336
+ function_placeholder: "RANDOM()",
335
337
  },
336
338
  round: {
337
339
  description: "Rounds a number to a specified number of digits. For negative numbers it rounds to the next negative number with greater absolute value.",
@@ -357,6 +359,18 @@ export const I18N_FORMULA_BUILDER = {
357
359
  param_digits_name: "digits",
358
360
  param_digits_description: "Number of decimal digits, up to 10 digits.",
359
361
  },
362
+ millisecond: {
363
+ description: "Returns the millisecond of a datetime value. The millisecond is given as an integer ranging from 0 to 999.",
364
+ function_placeholder: "MILLISECOND(date_value1)",
365
+ param_date_value1_name: "date_value1",
366
+ param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS", datetime values without time will be assumed as 00:00:00.',
367
+ },
368
+ text: {
369
+ description: "Transforms a number into a string.",
370
+ function_placeholder: "TEXT(num1)",
371
+ param_num1_name: "num1",
372
+ param_num1_description: "The number that you want to convert to text.",
373
+ },
360
374
  },
361
375
  editor: {
362
376
  error_messages: {
@@ -388,7 +402,7 @@ export const I18N_FORMULA_BUILDER = {
388
402
  NOT_ALLOWED_OPERATION: "Expression not allowed. Allowed operators between {{i18n.function.expression.types}}: {{i18n.function.expression.operators}}",
389
403
  NOT_ALLOWED_OPERATION_DIFFERENT_TYPES: "Expression not allowed {{i18n.function.expression.value}}",
390
404
  NOT_ALLOWED_OPERATION_MISSING_OPERATOR: "Expression not allowed. Missing operator",
391
- INVALID_ALLOW_VALUE: "Argument {{i18n.function.argument.position}} has to be {{i18n.function.argument.allow_value}}",
405
+ INVALID_ALLOW_VALUE: "Argument {{i18n.function.argument.position}} has to be equal to {{i18n.function.argument.allow_value}}",
392
406
  MATCH_RANGE: "Argument {{i18n.function.argument.position}} has to be {{i18n.function.expression.dynamic}}",
393
407
  GREATER_THAN: "greater than {{i18n.function.argument.greater_than}}",
394
408
  LESS_THAN: "less than {{i18n.function.argument.less_than}}",
@@ -398,6 +412,7 @@ export const I18N_FORMULA_BUILDER = {
398
412
  special_words: {
399
413
  and: "and",
400
414
  between: "between",
415
+ or: "or",
401
416
  },
402
417
  },
403
418
  },
@@ -2,6 +2,11 @@
2
2
  * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
3
3
  */
4
4
  export const I18N_PANEL = {
5
+ columns_interactive: {
6
+ search_placeholder: "Search",
7
+ no_records_found: "No records found",
8
+ missing_column: "Missing Column",
9
+ },
5
10
  embed: {
6
11
  embed_chart: "Embed Chart",
7
12
  embed_analyze_section: "Embed Analyze Section",
@@ -24,6 +29,7 @@ export const I18N_PANEL = {
24
29
  missing_bucket_column: "Missing bucket column.",
25
30
  missing_formula_column: "Missing formula column.",
26
31
  missing_linked_column: "Missing linked column.",
32
+ missing_value: "Missing Value.",
27
33
  no_data_found: "No data found.",
28
34
  no_features_found: "No location match",
29
35
  refresh_panel: "Refresh panel",
@@ -120,6 +126,9 @@ export const I18N_PANEL = {
120
126
  tooltips: {
121
127
  fit_panel: "Fit to panel",
122
128
  no_filters: "No filters applied",
129
+ select_columns: "Select columns",
130
+ sort_by: "Sort by",
131
+ smart_analyzer: "Smart analyzer",
123
132
  },
124
133
  top: "Top",
125
134
  };
@@ -25,6 +25,7 @@ export const I18N_STYLE_THEMES = {
25
25
  },
26
26
  theme: {
27
27
  axis_data_labels: "Axis and Data Labels",
28
+ canvas_background_color: "Canvas Background Color",
28
29
  cancel_theme: "Cancel",
29
30
  chart_titles_color: "Chart Titles Color",
30
31
  copy: "Copy",
@@ -39,8 +40,9 @@ export const I18N_STYLE_THEMES = {
39
40
  legends: "Legends",
40
41
  main_color: "Main Color",
41
42
  name_placeholder: "Type name",
42
- panel_background: "Panel Background",
43
43
  panel_styles: "Panel Styles",
44
+ panel_background_color: "Panel Background Color",
45
+ panel_icons_foreground_color: "Icons and Foreground Color",
44
46
  qrvey_theme: "Qrvey Theme",
45
47
  restore_to_default: "Restore to Default",
46
48
  save_theme: "Save Theme",
@@ -53,6 +55,7 @@ export const I18N_STYLE_THEMES = {
53
55
  untitled_theme: "Untitled",
54
56
  use_theme_in_all_apps: "Use Theme in All Apps",
55
57
  values: "Values",
58
+ workspace_settings: "Workspace Settings",
56
59
  },
57
60
  title: "Style Themes",
58
61
  tooltips: {
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import i18next from "i18next";
11
- import { _get } from "../../general";
11
+ import { isEmpty } from "../../general";
12
12
  import { mergeDeep } from "../../general/object/mergeDeep";
13
13
  export class I18nServiceBuilder {
14
14
  static buildI18n(i18nResource, i18nDefault) {
@@ -16,9 +16,8 @@ export class I18nServiceBuilder {
16
16
  }
17
17
  static _initI18n(i18nResource = {}, i18nDefault = {}) {
18
18
  return __awaiter(this, void 0, void 0, function* () {
19
- if (!i18next.isInitialized ||
20
- _get(i18next, "store.data.en.translation.common.aggregates") !==
21
- _get(i18nResource, "common.aggregates")) {
19
+ //Temporarily we meed to review this code
20
+ if (!i18next.isInitialized || !isEmpty(i18nResource)) {
22
21
  yield this.getI18nInstance(i18nResource, i18nDefault, i18next);
23
22
  }
24
23
  return new I18nServiceConcrete(i18next);
package/dist/index.d.ts CHANGED
@@ -14,3 +14,4 @@ export * from "./services/index";
14
14
  export * from "./typescript/index";
15
15
  export * from "./tokens/index";
16
16
  export * from "./column_format/index";
17
+ export * from "./themes";
package/dist/index.js CHANGED
@@ -14,3 +14,4 @@ export * from "./services/index";
14
14
  export * from "./typescript/index";
15
15
  export * from "./tokens/index";
16
16
  export * from "./column_format/index";
17
+ export * from "./themes";
@@ -1,4 +1,4 @@
1
- import IPayloadQrveyAll from "../interfaces/IPayloadQrveyAll";
1
+ import { IPayloadQrveyAll } from "../interfaces/IPayloadQrveyAll";
2
2
  /**
3
3
  * Request function for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
4
4
  * @param config Configuration
@@ -107,9 +107,12 @@ export class Request {
107
107
  static resolveRequest(reqData) {
108
108
  const url = this.makeUrl(reqData.config, reqData.url, reqData.params);
109
109
  const config = this.requestConfig(reqData);
110
- return fetch(url, config)
110
+ const controller = new AbortController();
111
+ const { signal } = controller;
112
+ return fetch(url, Object.assign(Object.assign({}, config), { signal }))
111
113
  .then((res) => this.checkStatus(res))
112
- .then((res) => res.json());
114
+ .then((res) => res.json())
115
+ .finally(() => signal.aborted && controller.abort());
113
116
  }
114
117
  static get(config, url = "", params) {
115
118
  return this.resolveRequest({ config, url, type: "GET", params });
@@ -10,13 +10,13 @@ export function getDefaultQuestionListOptionsAttributes() {
10
10
  "formulaType",
11
11
  "geogroup",
12
12
  "outputFormat",
13
- "answers",
14
- "imageUploadOption",
15
- "sliderVal",
16
- "value",
17
- "activeCat",
18
- "words",
19
- "negative",
13
+ "answers", // For multiples webform column types
14
+ "imageUploadOption", // For Image upload
15
+ "sliderVal", // For slidebar
16
+ "value", // For lookup
17
+ "activeCat", // For Expressions
18
+ "words", // For Expressions with disabled categories
19
+ "negative", // For Expressions with enabled categories
20
20
  "positive", // For Expressions with enabled categories
21
21
  ];
22
22
  }
@@ -1,4 +1,4 @@
1
- export default interface IPayloadQrveyAll {
1
+ export interface IPayloadQrveyAll {
2
2
  sortby?: string;
3
3
  sortdir?: string;
4
4
  status: string | string[];
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Collection of CSS Variables for Dark Theme and its assigned values. Canvas porpuses
3
+ */
4
+ export declare const AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK: {
5
+ "--qv-canvas-border-color": string;
6
+ };
@@ -0,0 +1,7 @@
1
+ import { CANVAS_CSS_VARIABLES } from "./CANVAS_CSS_VARIABLES";
2
+ /**
3
+ * Collection of CSS Variables for Dark Theme and its assigned values. Canvas porpuses
4
+ */
5
+ export const AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK = {
6
+ [CANVAS_CSS_VARIABLES.BORDER]: "#FFFFFF20",
7
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Collection of CSS Variables for Light Theme and its assigned values. Canvas porpuses
3
+ */
4
+ export declare const AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT: {
5
+ "--qv-canvas-border-color": string;
6
+ };
@@ -0,0 +1,7 @@
1
+ import { CANVAS_CSS_VARIABLES } from "./CANVAS_CSS_VARIABLES";
2
+ /**
3
+ * Collection of CSS Variables for Light Theme and its assigned values. Canvas porpuses
4
+ */
5
+ export const AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT = {
6
+ [CANVAS_CSS_VARIABLES.BORDER]: "#00000010",
7
+ };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Collection of CSS Variables for the theme and its assigned values.
3
+ */
4
+ export declare const AUTOMATIC_CANVAS_CSS_VARIABLES: {
5
+ GLOBAL: {
6
+ DARK: {
7
+ "--qv-global-header-background-color": string;
8
+ "--qv-global-opacity-black-color": string;
9
+ "--qv-global-border-color": string;
10
+ "--qv-global-divider-color": string;
11
+ "--qv-global-hover-color": string;
12
+ "--qv-global-placeholder-color": string;
13
+ "--qv-pills-background-color": string;
14
+ "--qv-global-text-color": string;
15
+ "--qv-global-text-secondary-color": string;
16
+ "--qv-global-text-tertiary-color": string;
17
+ };
18
+ LIGHT: {
19
+ "--qv-global-header-background-color": string;
20
+ "--qv-global-opacity-black-color": string;
21
+ "--qv-global-border-color": string;
22
+ "--qv-global-divider-color": string;
23
+ "--qv-global-hover-color": string;
24
+ "--qv-global-placeholder-color": string;
25
+ "--qv-pills-background-color": string;
26
+ "--qv-global-text-color": any;
27
+ "--qv-global-text-secondary-color": string;
28
+ "--qv-global-text-tertiary-color": string;
29
+ };
30
+ };
31
+ CANVAS: {
32
+ DARK: {
33
+ "--qv-canvas-border-color": string;
34
+ };
35
+ LIGHT: {
36
+ "--qv-canvas-border-color": string;
37
+ };
38
+ };
39
+ };
@@ -0,0 +1,19 @@
1
+ import { AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK } from "./AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK";
2
+ import { AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT } from "./AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT";
3
+ import { AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK } from "./AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK";
4
+ import { AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT } from "./AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT";
5
+ import { COLOR_TYPE } from "./COLOR_TYPE";
6
+ import { CSS_VARIABLE_DESTINATION } from "./CSS_VARIABLE_DESTINATION";
7
+ /**
8
+ * Collection of CSS Variables for the theme and its assigned values.
9
+ */
10
+ export const AUTOMATIC_CANVAS_CSS_VARIABLES = {
11
+ [CSS_VARIABLE_DESTINATION.GLOBAL]: {
12
+ [COLOR_TYPE.DARK]: AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK,
13
+ [COLOR_TYPE.LIGHT]: AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT,
14
+ },
15
+ [CSS_VARIABLE_DESTINATION.CANVAS]: {
16
+ [COLOR_TYPE.DARK]: AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_DARK,
17
+ [COLOR_TYPE.LIGHT]: AUTOMATIC_CANVAS_CSS_VARIABLES_FOR_LIGHT,
18
+ },
19
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Collection of CSS Variables for Dark Theme and its assigned values.
3
+ */
4
+ export declare const AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK: {
5
+ "--qv-global-header-background-color": string;
6
+ "--qv-global-opacity-black-color": string;
7
+ "--qv-global-border-color": string;
8
+ "--qv-global-divider-color": string;
9
+ "--qv-global-hover-color": string;
10
+ "--qv-global-placeholder-color": string;
11
+ "--qv-pills-background-color": string;
12
+ "--qv-global-text-color": string;
13
+ "--qv-global-text-secondary-color": string;
14
+ "--qv-global-text-tertiary-color": string;
15
+ };
@@ -0,0 +1,16 @@
1
+ import { GLOBAL_CSS_VARIABLES } from "./GLOBAL_CSS_VARIABLES";
2
+ /**
3
+ * Collection of CSS Variables for Dark Theme and its assigned values.
4
+ */
5
+ export const AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_DARK = {
6
+ [GLOBAL_CSS_VARIABLES.HEADER_BACKGROUND_COLOR]: "#FFFFFF20",
7
+ [GLOBAL_CSS_VARIABLES.BACKGROUND_OPACITY_BLACK_COLOR]: "#00000010",
8
+ [GLOBAL_CSS_VARIABLES.BORDER_COLOR]: "#FFFFFF20",
9
+ [GLOBAL_CSS_VARIABLES.DIVIDER_COLOR]: "#FFFFFF20",
10
+ [GLOBAL_CSS_VARIABLES.HOVER_COLOR]: "#FFFFFF10",
11
+ [GLOBAL_CSS_VARIABLES.PLACEHOLDER_COLOR]: "#FFFFFF90",
12
+ [GLOBAL_CSS_VARIABLES.PILLS_BACKGROUND_COLOR]: "#00000020",
13
+ [GLOBAL_CSS_VARIABLES.TEXT_COLOR]: "#FFFFFF",
14
+ [GLOBAL_CSS_VARIABLES.TEXT_SECONDARY_COLOR]: "#FFFFFF90",
15
+ [GLOBAL_CSS_VARIABLES.TEXT_TERTIARY_COLOR]: "#FFFFFF80",
16
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Collection of CSS Variables for Light Themes and its assigned values.
3
+ */
4
+ export declare const AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT: {
5
+ "--qv-global-header-background-color": string;
6
+ "--qv-global-opacity-black-color": string;
7
+ "--qv-global-border-color": string;
8
+ "--qv-global-divider-color": string;
9
+ "--qv-global-hover-color": string;
10
+ "--qv-global-placeholder-color": string;
11
+ "--qv-pills-background-color": string;
12
+ "--qv-global-text-color": any;
13
+ "--qv-global-text-secondary-color": string;
14
+ "--qv-global-text-tertiary-color": string;
15
+ };
@@ -0,0 +1,16 @@
1
+ import { GLOBAL_CSS_VARIABLES } from "./GLOBAL_CSS_VARIABLES";
2
+ /**
3
+ * Collection of CSS Variables for Light Themes and its assigned values.
4
+ */
5
+ export const AUTOMATIC_GLOBAL_CSS_VARIABLES_FOR_LIGHT = {
6
+ [GLOBAL_CSS_VARIABLES.HEADER_BACKGROUND_COLOR]: "#00000009",
7
+ [GLOBAL_CSS_VARIABLES.BACKGROUND_OPACITY_BLACK_COLOR]: "#FFFFFF10",
8
+ [GLOBAL_CSS_VARIABLES.BORDER_COLOR]: "#00000020",
9
+ [GLOBAL_CSS_VARIABLES.DIVIDER_COLOR]: "#00000020",
10
+ [GLOBAL_CSS_VARIABLES.HOVER_COLOR]: "#00000010",
11
+ [GLOBAL_CSS_VARIABLES.PLACEHOLDER_COLOR]: "#00000070",
12
+ [GLOBAL_CSS_VARIABLES.PILLS_BACKGROUND_COLOR]: "#FFFFFF40",
13
+ [GLOBAL_CSS_VARIABLES.TEXT_COLOR]: undefined,
14
+ [GLOBAL_CSS_VARIABLES.TEXT_SECONDARY_COLOR]: "#00000080",
15
+ [GLOBAL_CSS_VARIABLES.TEXT_TERTIARY_COLOR]: "#00000070",
16
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Collection of CSS Variables to apply for Dark Theme
3
+ */
4
+ export declare enum CANVAS_CSS_VARIABLES {
5
+ BORDER = "--qv-canvas-border-color"
6
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Collection of CSS Variables to apply for Dark Theme
3
+ */
4
+ export var CANVAS_CSS_VARIABLES;
5
+ (function (CANVAS_CSS_VARIABLES) {
6
+ CANVAS_CSS_VARIABLES["BORDER"] = "--qv-canvas-border-color";
7
+ })(CANVAS_CSS_VARIABLES || (CANVAS_CSS_VARIABLES = {}));
@@ -0,0 +1,5 @@
1
+ import { IColorChannel } from "../interfaces/IColorChannel";
2
+ /**
3
+ * Default channel values for the black color
4
+ */
5
+ export declare const CHANNEL_BLACK_COLOR: IColorChannel;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Default channel values for the black color
3
+ */
4
+ export const CHANNEL_BLACK_COLOR = {
5
+ r: 0,
6
+ g: 0,
7
+ b: 0,
8
+ a: 1,
9
+ };
@@ -0,0 +1,5 @@
1
+ import { IColorChannel } from "../interfaces/IColorChannel";
2
+ /**
3
+ * Default channel values for the white color
4
+ */
5
+ export declare const CHANNEL_WHITE_COLOR: IColorChannel;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Default channel values for the white color
3
+ */
4
+ export const CHANNEL_WHITE_COLOR = {
5
+ r: 255,
6
+ g: 255,
7
+ b: 255,
8
+ a: 1,
9
+ };