@qrvey/utils 1.12.0-2 → 1.12.0-4

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 (237) hide show
  1. package/dist/cjs/globalization/index.d.ts +1 -0
  2. package/dist/cjs/globalization/index.js +1 -0
  3. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +5 -0
  4. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +36 -0
  5. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +5 -0
  6. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +124 -0
  7. package/dist/cjs/globalization/labels/bucket_builder/index.d.ts +1 -0
  8. package/dist/cjs/globalization/labels/bucket_builder/index.js +17 -0
  9. package/dist/cjs/globalization/labels/calendar/I18N_CALENDAR.d.ts +5 -0
  10. package/dist/cjs/globalization/labels/calendar/I18N_CALENDAR.js +13 -0
  11. package/dist/cjs/globalization/labels/calendar/index.d.ts +1 -0
  12. package/dist/cjs/globalization/labels/calendar/index.js +17 -0
  13. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +5 -0
  14. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +74 -0
  15. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +5 -0
  16. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +39 -0
  17. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +7 -0
  18. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +38 -0
  19. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +7 -0
  20. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +267 -0
  21. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +7 -0
  22. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +141 -0
  23. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +7 -0
  24. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +39 -0
  25. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +7 -0
  26. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +31 -0
  27. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +7 -0
  28. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +298 -0
  29. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +7 -0
  30. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +20 -0
  31. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +7 -0
  32. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +39 -0
  33. package/dist/cjs/globalization/labels/chart_builder/index.d.ts +10 -0
  34. package/dist/cjs/globalization/labels/chart_builder/index.js +26 -0
  35. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +5 -0
  36. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +22 -0
  37. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +44 -0
  38. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +48 -0
  39. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +5 -0
  40. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +58 -0
  41. package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +5 -0
  42. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +46 -0
  43. package/dist/cjs/globalization/labels/common/I18N_DATE_GROUPING.d.ts +5 -0
  44. package/dist/cjs/globalization/labels/common/I18N_DATE_GROUPING.js +38 -0
  45. package/dist/cjs/globalization/labels/common/I18N_DAY_NAMES.d.ts +5 -0
  46. package/dist/cjs/globalization/labels/common/I18N_DAY_NAMES.js +32 -0
  47. package/dist/cjs/globalization/labels/common/I18N_RELATIVE_DATES.d.ts +5 -0
  48. package/dist/cjs/globalization/labels/common/I18N_RELATIVE_DATES.js +14 -0
  49. package/dist/cjs/globalization/labels/common/index.d.ts +7 -0
  50. package/dist/cjs/globalization/labels/common/index.js +23 -0
  51. package/dist/cjs/globalization/labels/cross_tabs/I18N_CROSS_TABS.d.ts +5 -0
  52. package/dist/cjs/globalization/labels/cross_tabs/I18N_CROSS_TABS.js +17 -0
  53. package/dist/cjs/globalization/labels/cross_tabs/index.d.ts +1 -0
  54. package/dist/cjs/globalization/labels/cross_tabs/index.js +17 -0
  55. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +5 -0
  56. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +52 -0
  57. package/dist/cjs/globalization/labels/dashboard/index.d.ts +1 -0
  58. package/dist/cjs/globalization/labels/dashboard/index.js +17 -0
  59. package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +5 -0
  60. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +41 -0
  61. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +5 -0
  62. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +46 -0
  63. package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.d.ts +5 -0
  64. package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.js +12 -0
  65. package/dist/cjs/globalization/labels/filters/I18N_FILTER_OPERATOR.d.ts +5 -0
  66. package/dist/cjs/globalization/labels/filters/I18N_FILTER_OPERATOR.js +10 -0
  67. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.d.ts +5 -0
  68. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +57 -0
  69. package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.d.ts +5 -0
  70. package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.js +17 -0
  71. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +5 -0
  72. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +30 -0
  73. package/dist/cjs/globalization/labels/filters/I18N_RANKING_CONTAINER.d.ts +5 -0
  74. package/dist/cjs/globalization/labels/filters/I18N_RANKING_CONTAINER.js +10 -0
  75. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.d.ts +5 -0
  76. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +20 -0
  77. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.d.ts +9 -0
  78. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +12 -0
  79. package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +5 -0
  80. package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.js +13 -0
  81. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +5 -0
  82. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +18 -0
  83. package/dist/cjs/globalization/labels/filters/index.d.ts +12 -0
  84. package/dist/cjs/globalization/labels/filters/index.js +28 -0
  85. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.d.ts +5 -0
  86. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +722 -0
  87. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_AND.d.ts +5 -0
  88. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_AND.js +16 -0
  89. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_MAX.d.ts +5 -0
  90. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_MAX.js +16 -0
  91. package/dist/cjs/globalization/labels/formula_builder/index.d.ts +3 -0
  92. package/dist/cjs/globalization/labels/formula_builder/index.js +19 -0
  93. package/dist/cjs/globalization/labels/index.d.ts +1 -0
  94. package/dist/cjs/globalization/labels/index.js +17 -0
  95. package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +5 -0
  96. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +128 -0
  97. package/dist/cjs/globalization/labels/panel/index.d.ts +1 -0
  98. package/dist/cjs/globalization/labels/panel/index.js +17 -0
  99. package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +5 -0
  100. package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.js +65 -0
  101. package/dist/cjs/globalization/labels/style_themes/index.d.ts +1 -0
  102. package/dist/cjs/globalization/labels/style_themes/index.js +17 -0
  103. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +5 -0
  104. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +42 -0
  105. package/dist/cjs/globalization/labels/table_charts/index.d.ts +1 -0
  106. package/dist/cjs/globalization/labels/table_charts/index.js +17 -0
  107. package/dist/cjs/globalization/labels/tabular_view/I18N_TABULAR_VIEW.d.ts +5 -0
  108. package/dist/cjs/globalization/labels/tabular_view/I18N_TABULAR_VIEW.js +30 -0
  109. package/dist/cjs/globalization/labels/tabular_view/index.d.ts +1 -0
  110. package/dist/cjs/globalization/labels/tabular_view/index.js +17 -0
  111. package/dist/cjs/services/api/Charts.api.js +3 -6
  112. package/dist/cjs/services/api/getAllQrveys.api.js +2 -5
  113. package/dist/cjs/services/api/getDatasetColumns.api.js +2 -5
  114. package/dist/cjs/services/api/getDatasetsByIds.api.js +2 -5
  115. package/dist/cjs/services/api/getModel.api.js +2 -5
  116. package/dist/cjs/services/helpers/Request.d.ts +2 -1
  117. package/dist/cjs/services/helpers/Request.js +18 -5
  118. package/dist/cjs/services/interfaces/IEndpointConfig.d.ts +3 -0
  119. package/dist/globalization/index.d.ts +1 -0
  120. package/dist/globalization/index.js +1 -0
  121. package/dist/globalization/labels/I18N_DEFAULT.d.ts +5 -0
  122. package/dist/globalization/labels/I18N_DEFAULT.js +33 -0
  123. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +5 -0
  124. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +121 -0
  125. package/dist/globalization/labels/bucket_builder/index.d.ts +1 -0
  126. package/dist/globalization/labels/bucket_builder/index.js +1 -0
  127. package/dist/globalization/labels/calendar/I18N_CALENDAR.d.ts +5 -0
  128. package/dist/globalization/labels/calendar/I18N_CALENDAR.js +10 -0
  129. package/dist/globalization/labels/calendar/index.d.ts +1 -0
  130. package/dist/globalization/labels/calendar/index.js +1 -0
  131. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +5 -0
  132. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +71 -0
  133. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +5 -0
  134. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +36 -0
  135. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +7 -0
  136. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +35 -0
  137. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +7 -0
  138. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +264 -0
  139. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +7 -0
  140. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +138 -0
  141. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +7 -0
  142. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +36 -0
  143. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +7 -0
  144. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +28 -0
  145. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +7 -0
  146. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +295 -0
  147. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +7 -0
  148. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +17 -0
  149. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +7 -0
  150. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +36 -0
  151. package/dist/globalization/labels/chart_builder/index.d.ts +10 -0
  152. package/dist/globalization/labels/chart_builder/index.js +10 -0
  153. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +5 -0
  154. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +19 -0
  155. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +44 -0
  156. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +45 -0
  157. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +5 -0
  158. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +55 -0
  159. package/dist/globalization/labels/common/I18N_COMMON.d.ts +5 -0
  160. package/dist/globalization/labels/common/I18N_COMMON.js +43 -0
  161. package/dist/globalization/labels/common/I18N_DATE_GROUPING.d.ts +5 -0
  162. package/dist/globalization/labels/common/I18N_DATE_GROUPING.js +35 -0
  163. package/dist/globalization/labels/common/I18N_DAY_NAMES.d.ts +5 -0
  164. package/dist/globalization/labels/common/I18N_DAY_NAMES.js +29 -0
  165. package/dist/globalization/labels/common/I18N_RELATIVE_DATES.d.ts +5 -0
  166. package/dist/globalization/labels/common/I18N_RELATIVE_DATES.js +11 -0
  167. package/dist/globalization/labels/common/index.d.ts +7 -0
  168. package/dist/globalization/labels/common/index.js +7 -0
  169. package/dist/globalization/labels/cross_tabs/I18N_CROSS_TABS.d.ts +5 -0
  170. package/dist/globalization/labels/cross_tabs/I18N_CROSS_TABS.js +14 -0
  171. package/dist/globalization/labels/cross_tabs/index.d.ts +1 -0
  172. package/dist/globalization/labels/cross_tabs/index.js +1 -0
  173. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +5 -0
  174. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +49 -0
  175. package/dist/globalization/labels/dashboard/index.d.ts +1 -0
  176. package/dist/globalization/labels/dashboard/index.js +1 -0
  177. package/dist/globalization/labels/filters/I18N_FILTER.d.ts +5 -0
  178. package/dist/globalization/labels/filters/I18N_FILTER.js +38 -0
  179. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +5 -0
  180. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +43 -0
  181. package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.d.ts +5 -0
  182. package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.js +9 -0
  183. package/dist/globalization/labels/filters/I18N_FILTER_OPERATOR.d.ts +5 -0
  184. package/dist/globalization/labels/filters/I18N_FILTER_OPERATOR.js +7 -0
  185. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.d.ts +5 -0
  186. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +54 -0
  187. package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.d.ts +5 -0
  188. package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.js +14 -0
  189. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +5 -0
  190. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +27 -0
  191. package/dist/globalization/labels/filters/I18N_RANKING_CONTAINER.d.ts +5 -0
  192. package/dist/globalization/labels/filters/I18N_RANKING_CONTAINER.js +7 -0
  193. package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.d.ts +5 -0
  194. package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +17 -0
  195. package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.d.ts +9 -0
  196. package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +9 -0
  197. package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +5 -0
  198. package/dist/globalization/labels/filters/I18N_SLIDEBAR.js +10 -0
  199. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +5 -0
  200. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +15 -0
  201. package/dist/globalization/labels/filters/index.d.ts +12 -0
  202. package/dist/globalization/labels/filters/index.js +12 -0
  203. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.d.ts +5 -0
  204. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +719 -0
  205. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_AND.d.ts +5 -0
  206. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_AND.js +13 -0
  207. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_MAX.d.ts +5 -0
  208. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER_FUNCTION_MAX.js +13 -0
  209. package/dist/globalization/labels/formula_builder/index.d.ts +3 -0
  210. package/dist/globalization/labels/formula_builder/index.js +3 -0
  211. package/dist/globalization/labels/index.d.ts +1 -0
  212. package/dist/globalization/labels/index.js +1 -0
  213. package/dist/globalization/labels/panel/I18N_PANEL.d.ts +5 -0
  214. package/dist/globalization/labels/panel/I18N_PANEL.js +125 -0
  215. package/dist/globalization/labels/panel/index.d.ts +1 -0
  216. package/dist/globalization/labels/panel/index.js +1 -0
  217. package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +5 -0
  218. package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.js +62 -0
  219. package/dist/globalization/labels/style_themes/index.d.ts +1 -0
  220. package/dist/globalization/labels/style_themes/index.js +1 -0
  221. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +5 -0
  222. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +39 -0
  223. package/dist/globalization/labels/table_charts/index.d.ts +1 -0
  224. package/dist/globalization/labels/table_charts/index.js +1 -0
  225. package/dist/globalization/labels/tabular_view/I18N_TABULAR_VIEW.d.ts +5 -0
  226. package/dist/globalization/labels/tabular_view/I18N_TABULAR_VIEW.js +27 -0
  227. package/dist/globalization/labels/tabular_view/index.d.ts +1 -0
  228. package/dist/globalization/labels/tabular_view/index.js +1 -0
  229. package/dist/services/api/Charts.api.js +1 -1
  230. package/dist/services/api/getAllQrveys.api.js +1 -1
  231. package/dist/services/api/getDatasetColumns.api.js +1 -1
  232. package/dist/services/api/getDatasetsByIds.api.js +1 -1
  233. package/dist/services/api/getModel.api.js +1 -1
  234. package/dist/services/helpers/Request.d.ts +2 -1
  235. package/dist/services/helpers/Request.js +17 -6
  236. package/dist/services/interfaces/IEndpointConfig.d.ts +3 -0
  237. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderV2FunctionAnd } from "../../interfaces/formula_builder/II18nFormulaBuilderV2FunctionAnd";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const I18N_FORMULA_BUILDER_FUNCTION_AND: II18nFormulaBuilderV2FunctionAnd;
@@ -0,0 +1,13 @@
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 I18N_FORMULA_BUILDER_FUNCTION_AND = {
5
+ description: "Evaluates different logical tests and returns true if all logical tests are true and false if at least one of the logical tests returns false. ",
6
+ function_placeholder: "AND(logicalTest1,logicalTest2,...logicalTestn)",
7
+ param_logicalTest1_name: "logicalTest1 (required)",
8
+ param_logicalTest1_description: "Logical test between two values, it should include logical operators such as =, >, <, >=, <= or <>. This argument can also be anything that returns a boolean value.",
9
+ param_logicalTest2_name: "logicalTest2 (required)",
10
+ param_logicalTest2_description: "Logical test between two values, it should include logical operators such as =, >, <, >=, <= or <>. This argument can also be anything that returns a boolean value.",
11
+ param_logicalTestn_name: "logicalTestn (optional)",
12
+ param_logicalTestn_description: "Logical test between two values, it should include logical operators such as =, >, <, >=, <= or <>. This argument can also be anything that returns a boolean value.",
13
+ };
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderV2FunctionMax } from "../../interfaces/formula_builder/II18nFormulaBuilderV2FunctionMax";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const I18N_FORMULA_BUILDER_FUNCTION_MAX: II18nFormulaBuilderV2FunctionMax;
@@ -0,0 +1,13 @@
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 I18N_FORMULA_BUILDER_FUNCTION_MAX = {
5
+ description: "Returns the greater of two or more numeric or datetime values.",
6
+ function_placeholder: "MAX(value1, value2, [valuen])",
7
+ param_value1_name: "value1",
8
+ param_value1_description: "First argument. It can be a number or datetime value.",
9
+ param_value2_name: "value2",
10
+ param_value2_description: "Second argument. Its data type should match with the first argument.",
11
+ param_valuen_name: "valuen (optional)",
12
+ param_valuen_description: "Its data type should match with the previous arguments.",
13
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./I18N_FORMULA_BUILDER";
2
+ export * from "./I18N_FORMULA_BUILDER_FUNCTION_AND";
3
+ export * from "./I18N_FORMULA_BUILDER_FUNCTION_MAX";
@@ -0,0 +1,3 @@
1
+ export * from "./I18N_FORMULA_BUILDER";
2
+ export * from "./I18N_FORMULA_BUILDER_FUNCTION_AND";
3
+ export * from "./I18N_FORMULA_BUILDER_FUNCTION_MAX";
@@ -0,0 +1 @@
1
+ export * from "./I18N_DEFAULT";
@@ -0,0 +1 @@
1
+ export * from "./I18N_DEFAULT";
@@ -0,0 +1,5 @@
1
+ import { II18nPanel } from "../../interfaces/panel/II18nPanel";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const I18N_PANEL: II18nPanel;
@@ -0,0 +1,125 @@
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 I18N_PANEL = {
5
+ embed: {
6
+ embed_chart: "Embed Chart",
7
+ embed_analyze_section: "Embed Analyze Section",
8
+ learn_more: "Learn more",
9
+ about_widget: "about widget implementation.",
10
+ copy: "Copy",
11
+ },
12
+ errors: {
13
+ chart_not_found: "This {{panel}} is no longer available.",
14
+ continuous_date_limit: "The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using a <i>Date Grouping</i> that returns less data<br>• Using another chart visualization<br>• Switching to Discrete Values",
15
+ continuous_numeric_limit: "The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using another chart visualization<br>• Switching to Discrete Values",
16
+ continuous_time_limit: "The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using a <i>Time Grouping</i> that returns less data<br>• Using another chart visualization<br>• Switching to Discrete Values",
17
+ drilldown_unavailable: "No data found with drilldown.",
18
+ invalid_data_for_chart: "No valid data for this chart.",
19
+ invalid_data_log_scale: "The data contains 0 or negative values and cannot be plotted in logarithmic scale.",
20
+ longer_available_panel: "This panel is no longer available.",
21
+ long_text: "long-text",
22
+ max_buckets_limit: "The combination of data used in this chart exceeds the maximum number of aggregation buckets allowed in a single response.<br><br>To fix this issue, try the following:<br>• <i>Filter</i> your data<br>• Apply a <i>Date Grouping</i> that returns less data<br>• Use another chart visualization",
23
+ missing_column: "Missing Column.",
24
+ missing_bucket_column: "Missing bucket column.",
25
+ missing_formula_column: "Missing formula column.",
26
+ missing_linked_column: "Missing linked column.",
27
+ no_data_found: "No data found.",
28
+ no_features_found: "No location match",
29
+ refresh_panel: "Refresh panel",
30
+ server_error: "Server Error.",
31
+ restore_panel: "Restore panel",
32
+ service_unavailable: "{{panel}} not available at the moment.",
33
+ try_again: "Try Again",
34
+ table_calculation_no_data_found: "This <i>Table Calculation</i> resulted in NaN for all values.<br><br>We recommend you try:<br>• Another <i>Table Calculation</i><br>• Another <i>Aggregation</i>",
35
+ },
36
+ menu: {
37
+ edit: "Edit",
38
+ download: "Download",
39
+ duplicate: "Duplicate",
40
+ size: "Size",
41
+ delete: "Delete",
42
+ embed_chart: "Embed chart",
43
+ small: "Small",
44
+ medium: "Medium",
45
+ large: "Large",
46
+ jpg: "JPG",
47
+ pdf: "PDF",
48
+ csv: "CSV",
49
+ csv_summary: "CSV-Summary",
50
+ excel: "Excel",
51
+ },
52
+ menu_options: {
53
+ see_data: "See Data",
54
+ filter_by: "Filter by",
55
+ drill_down_to: "Drill-down to",
56
+ custom_drill: "Drill Down to Next Level",
57
+ },
58
+ name: "Panel",
59
+ records: "Records",
60
+ refresh: "Refresh",
61
+ summary_display: {
62
+ display: "Display",
63
+ value: "Value",
64
+ both: "Both",
65
+ },
66
+ summary_filter: {
67
+ positive: "Positive",
68
+ negative: "Negative",
69
+ both: "Both",
70
+ },
71
+ summary_group: {
72
+ country: "Country",
73
+ state: "State",
74
+ city: "City",
75
+ zip_code: "Zip Code",
76
+ no_group: "No Group",
77
+ },
78
+ summary_sorting: {
79
+ ascending: "Ascending",
80
+ descending: "Descending",
81
+ order_descending: "% Order Descending",
82
+ order_ascending: "% Order Ascending",
83
+ stop_order_descending: "Stop Order Descending",
84
+ stop_order_ascending: "Stop Order Ascending",
85
+ starts_order_descending: "Stars Order Descending",
86
+ starts_order_ascending: "Stars Order Ascending",
87
+ range_order_descending: "Range Order Descending",
88
+ range_order_ascending: "Range Order Ascending",
89
+ },
90
+ summary_views: {
91
+ bar_chart: "Bar Chart",
92
+ bubble_map: "Bubble Map",
93
+ bubble_view: "Bubble",
94
+ categories: "Categories",
95
+ cluster_chart: "Cluster Chart",
96
+ dot_map: "Dot Map",
97
+ entities: "Entities",
98
+ fill_null: "Fill / Null",
99
+ histogram: "Histogram",
100
+ keyphrases: "Keyphrases",
101
+ list_view: "List View",
102
+ metric_filled_in: "Filled in",
103
+ metric_label_average: "Average",
104
+ metric_label_count: "Count",
105
+ metric_label_maximum: "Maximum",
106
+ metric_label_minimum: "Minimum",
107
+ metric_label_standar_desviation: "Standard Deviation",
108
+ metric_label_sum: "Sum",
109
+ metric_null: "Null",
110
+ metrics: "Metrics",
111
+ multiseries: "Multiseries",
112
+ no_data_found_for_this_field: "No data found for this field",
113
+ pie_chart: "Pie Chart",
114
+ restore_panel: "Restore panel",
115
+ sentiment: "Sentiment",
116
+ stars: "Stars",
117
+ wordcloud: "Wordcloud",
118
+ },
119
+ timeout_message: "Calculating {{type}}. This process may take a while.",
120
+ tooltips: {
121
+ fit_panel: "Fit to panel",
122
+ no_filters: "No filters applied",
123
+ },
124
+ top: "Top",
125
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_PANEL";
@@ -0,0 +1 @@
1
+ export * from "./I18N_PANEL";
@@ -0,0 +1,5 @@
1
+ import { II18nStyleThemes } from "../../interfaces/style_themes/II18nStyleThemes";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const I18N_STYLE_THEMES: II18nStyleThemes;
@@ -0,0 +1,62 @@
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 I18N_STYLE_THEMES = {
5
+ delete_dialog: {
6
+ no: "No",
7
+ theme_in_use: "This theme is in use. If you delete it the visualizations will reset to the default theme.",
8
+ want_to_continue: "Are you sure you want to continue?",
9
+ yes: "Yes",
10
+ },
11
+ menu: {
12
+ delete: "Delete",
13
+ duplicate: "Duplicate",
14
+ edit: "Edit",
15
+ use_all: "Use in all applications",
16
+ },
17
+ messages: {
18
+ theme_could_not_be_created: "Theme could not be created.",
19
+ theme_could_not_be_deleted: "Theme could not be deleted.",
20
+ theme_could_not_be_duplicated: "Theme could not be duplicated.",
21
+ theme_could_not_be_saved: "Theme could not be saved.",
22
+ theme_could_not_be_selected: "Theme could not be selected.",
23
+ theme_could_not_be_used_in_all_applications: "Theme could not be used in all applications.",
24
+ themes_could_not_be_loaded: "Themes could not be loaded.",
25
+ },
26
+ theme: {
27
+ axis_data_labels: "Axis and Data Labels",
28
+ cancel_theme: "Cancel",
29
+ chart_titles_color: "Chart Titles Color",
30
+ copy: "Copy",
31
+ create_theme: "Create New Theme",
32
+ data_styles: "Data Styles",
33
+ data_visualization: "Data Visualization",
34
+ edit_theme: "Edit Theme",
35
+ generate_new: "Generate New",
36
+ header_font_color: "Header Font Color",
37
+ header_main_color: "Header BG Color",
38
+ id: "ID",
39
+ legends: "Legends",
40
+ main_color: "Main Color",
41
+ name_placeholder: "Type name",
42
+ panel_background: "Panel Background",
43
+ panel_styles: "Panel Styles",
44
+ qrvey_theme: "Qrvey Theme",
45
+ restore_to_default: "Restore to Default",
46
+ save_theme: "Save Theme",
47
+ show_header: "Show Header",
48
+ show_title: "Show Title",
49
+ table_header_styles: "Table Header Styles",
50
+ text_styles: "Text Styles",
51
+ tooltips: "Tooltips",
52
+ typeface: "Typeface",
53
+ untitled_theme: "Untitled",
54
+ use_theme_in_all_apps: "Use Theme in All Apps",
55
+ values: "Values",
56
+ },
57
+ title: "Style Themes",
58
+ tooltips: {
59
+ theme_used_in_all_applications: "This theme is being used in all applications",
60
+ theme_will_be_used_in_all_applications: "This theme will be used in all applications",
61
+ },
62
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_STYLE_THEMES";
@@ -0,0 +1 @@
1
+ export * from "./I18N_STYLE_THEMES";
@@ -0,0 +1,5 @@
1
+ import { II18nTableCharts } from "../../interfaces/table_charts/II18nTableCharts";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const I18N_TABLE_CHARTS: II18nTableCharts;
@@ -0,0 +1,39 @@
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 I18N_TABLE_CHARTS = {
5
+ edit_label: "Edit Label",
6
+ inner_charts: {
7
+ tooltip: {
8
+ end: "End",
9
+ max: "Max",
10
+ min: "Min",
11
+ start: "Start",
12
+ },
13
+ },
14
+ pagination: {
15
+ page_info: "Page {{currentPage}} of {{pages}}",
16
+ records: "Records",
17
+ records_per_page: "Records per page",
18
+ total_records: "Total records",
19
+ },
20
+ sort: {
21
+ asc: "Asc",
22
+ desc: "Desc",
23
+ multi_column_sort: "Apply Multi-Column Sort",
24
+ no_sorting: "No Sorting",
25
+ no_sorting_applied: "No Sorting Applied",
26
+ select_column: "Select column to sort by",
27
+ sorted_by: "Order by",
28
+ },
29
+ sort_tooltip: {
30
+ disabled_multi_sort_dropdown: "Multi-Sorting disabled, add more columns to enable it.",
31
+ will_replace: "Selecting this column will replace the '{{column_name}}' sorting",
32
+ },
33
+ total: "total",
34
+ visualization: "Visualization",
35
+ visualization_items: {
36
+ values: "Values",
37
+ bars: "Bars",
38
+ },
39
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_TABLE_CHARTS";
@@ -0,0 +1 @@
1
+ export * from "./I18N_TABLE_CHARTS";
@@ -0,0 +1,5 @@
1
+ import { II18nTabularView } from "../../interfaces/tabular_view/II18nTabularView";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const I18N_TABULAR_VIEW: II18nTabularView;
@@ -0,0 +1,27 @@
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 I18N_TABULAR_VIEW = {
5
+ add_access_point: "Add",
6
+ add_modal_title: "Add Record",
7
+ add_modal_add_option: "Add",
8
+ add_modal_cancel_option: "Cancel",
9
+ delete_access_point: "Delete",
10
+ delete_modal_title: "Delete Record",
11
+ delete_modal_description_one: "I confirm I want to delete {{number_records}} record",
12
+ delete_modal_description_other: "I confirm I want to delete {{number_records}} records",
13
+ delete_modal_delete_option: "Delete",
14
+ delete_modal_cancel_option: "Cancel",
15
+ edit_access_point: "Edit",
16
+ edit_modal_title: "Edit Record",
17
+ edit_modal_edit_option: "Update",
18
+ edit_modal_cancel_option: "Cancel",
19
+ filter_access_point: "Filter",
20
+ no_columns_selected_message: "No columns selected",
21
+ no_records_found_message: "No Records Found",
22
+ select_columns_all_option: "All",
23
+ select_columns_date_option: "Date",
24
+ select_columns_time_option: "Time",
25
+ select_columns: "Select Columns",
26
+ sort_access_point: "Sort",
27
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_TABULAR_VIEW";
@@ -0,0 +1 @@
1
+ export * from "./I18N_TABULAR_VIEW";
@@ -1,4 +1,4 @@
1
- import Request from "../helpers/Request";
1
+ import { Request } from "../helpers/Request";
2
2
  import { CHART_ENDPOINT } from "../constants/CHART_ENDPOINT";
3
3
  import { UCHART_ENDPOINT } from "../constants/UCHART_ENDPOINT";
4
4
  import { UCHART_PAGINATION_ENDPOINT } from "../constants/UCHART_PAGINATION_ENDPOINT";
@@ -1,5 +1,5 @@
1
1
  import { QRVEY_ENDPOINT } from "../constants/QRVEY_ENDPOINT";
2
- import Request from "../helpers/Request";
2
+ import { Request } from "../helpers/Request";
3
3
  /**
4
4
  * Request function for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
5
5
  * @param config Configuration
@@ -1,5 +1,5 @@
1
1
  import { CHART_ENDPOINT } from "../constants/CHART_ENDPOINT";
2
- import Request from "../helpers/Request";
2
+ import { Request } from "../helpers/Request";
3
3
  import { BDatasetsToUIDatasets } from "../adapters/BDatasetsToUIDatasets.adapter";
4
4
  import { getDefaultQuestionListOptionsAttributes } from "../helpers/getDefaultQuestionListOptionsAttributes";
5
5
  import { chooseLang } from "../../format/localization";
@@ -1,4 +1,4 @@
1
- import Request from "../helpers/Request";
1
+ import { Request } from "../helpers/Request";
2
2
  import { BDatasetsToUIDatasets } from "../adapters/BDatasetsToUIDatasets.adapter";
3
3
  import { isEmpty } from "../../general/mix/isEmpty";
4
4
  import { chooseLang } from "../../format/localization";
@@ -1,4 +1,4 @@
1
- import Request from "../helpers/Request";
1
+ import { Request } from "../helpers/Request";
2
2
  import { chooseLang } from "../../format/localization";
3
3
  import { ANALYTIQ_ENDPOINT } from "../constants/MODEL_ENDPOINT";
4
4
  import { BModelToUIModel } from "../adapters/BModelToUIModel.adapter";
@@ -1,4 +1,4 @@
1
- export default class Request {
1
+ export declare class Request {
2
2
  static checkStatus(response: any): Promise<any>;
3
3
  static hasQvToken(config: any): boolean;
4
4
  static getQvToken(config: any): any;
@@ -6,6 +6,7 @@ export default class Request {
6
6
  static hasApiKey(config: any): boolean;
7
7
  static getApiKey(config: any): any;
8
8
  static makeUrl(config: any, url: any, params?: any): string;
9
+ private static getApiUrl;
9
10
  static parseUrl: (url: any, config: any) => string;
10
11
  static requestConfig(reqData: any): any;
11
12
  static resolveRequest(reqData: any): Promise<any>;
@@ -12,7 +12,7 @@ import { isEmpty } from "../../general/mix/isEmpty";
12
12
  import { getAttribute } from "../../general/object/getAttribute";
13
13
  import { serialize } from "../../general/object/serialize";
14
14
  import { parseUrl } from "../../general/string/parseUrl";
15
- class Request {
15
+ export class Request {
16
16
  static checkStatus(response) {
17
17
  return __awaiter(this, void 0, void 0, function* () {
18
18
  if (!response.ok)
@@ -42,18 +42,30 @@ class Request {
42
42
  static makeUrl(config, url, params) {
43
43
  let _url = url;
44
44
  _url += typeof params === "object" ? serialize(params) : "";
45
- if (config.endpoint) {
45
+ if (!isEmpty(config.endpoint)) {
46
46
  const endpoint = config.endpoint;
47
- const version = `v${endpoint.version || 4}`;
48
- const api = this.hasQvToken(config) || this.hasApiKey(config) ? "devapi" : "api";
47
+ const version = `/v${endpoint.version || 4}`;
48
+ const admin = endpoint.admin ? "/admin" : "";
49
+ const api = Request.getApiUrl(config);
49
50
  const user = getAttribute(config, "user_id") || this.hasQvToken(config)
50
51
  ? "/user/:user_id"
51
52
  : "";
52
- const base = `/${api}/${version}${user}`;
53
+ const base = `${admin}${api}${version}${user}`;
53
54
  _url = (config.domain || "") + base + endpoint.uri + _url;
54
55
  }
55
56
  return this.parseUrl(_url, config);
56
57
  }
58
+ static getApiUrl(config) {
59
+ const endpoint = config.endpoint || {};
60
+ if (endpoint.noApi)
61
+ return "";
62
+ const isDevApi = !isEmpty(endpoint.devApi) && endpoint.devApi;
63
+ return isDevApi ||
64
+ (isEmpty(endpoint.devApi) &&
65
+ (this.hasQvToken(config) || this.hasApiKey(config)))
66
+ ? "/devapi"
67
+ : "/api";
68
+ }
57
69
  static requestConfig(reqData) {
58
70
  const cfg = {
59
71
  method: reqData.type,
@@ -102,4 +114,3 @@ class Request {
102
114
  }
103
115
  }
104
116
  Request.parseUrl = (url, config) => parseUrl(url, (key) => getAttribute(config, key));
105
- export default Request;
@@ -1,4 +1,7 @@
1
1
  export interface IEndpointConfig {
2
+ noApi?: boolean;
3
+ admin?: boolean;
4
+ devApi?: boolean;
2
5
  uri: string;
3
6
  version?: number;
4
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.12.0-2",
3
+ "version": "1.12.0-4",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",