nuxt-ui-tools 1.12.0 → 1.13.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 (321) hide show
  1. package/README.md +11 -5
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +46 -0
  4. package/dist/runtime/dashboard/components/dashboard-stat.d.vue.ts +1 -1
  5. package/dist/runtime/dashboard/components/dashboard-stat.vue.d.ts +1 -1
  6. package/dist/runtime/file-preview/components/shell/file-preview-stage.d.vue.ts +2 -2
  7. package/dist/runtime/file-preview/components/shell/file-preview-stage.vue.d.ts +2 -2
  8. package/dist/runtime/i18n/locales/en.js +251 -130
  9. package/dist/runtime/i18n/locales/fr.js +251 -130
  10. package/dist/runtime/i18n/types.d.ts +241 -119
  11. package/dist/runtime/shared/types/remote-options.d.ts +11 -0
  12. package/dist/runtime/shared/utils/define-remote-options.js +6 -0
  13. package/dist/runtime/shared/utils/file.d.ts +1 -1
  14. package/dist/runtime/spreadsheet/components/{steps/review/spreadsheet-review-overflow-alert.d.vue.ts → internal/spreadsheet-import-cell-editor.d.vue.ts} +8 -5
  15. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-cell-editor.vue +73 -0
  16. package/dist/runtime/spreadsheet/components/{steps/review/spreadsheet-review-overflow-alert.vue.d.ts → internal/spreadsheet-import-cell-editor.vue.d.ts} +8 -5
  17. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-column-row.d.vue.ts +17 -0
  18. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-column-row.vue +98 -0
  19. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-column-row.vue.d.ts +17 -0
  20. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-heading.d.vue.ts +17 -0
  21. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-heading.vue +20 -0
  22. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-heading.vue.d.ts +17 -0
  23. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-status-badge.d.vue.ts +10 -0
  24. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-status-badge.vue +34 -0
  25. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-status-badge.vue.d.ts +10 -0
  26. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-value-row.d.vue.ts +13 -0
  27. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-value-row.vue +113 -0
  28. package/dist/runtime/spreadsheet/components/internal/spreadsheet-import-value-row.vue.d.ts +13 -0
  29. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-column-mapping.d.vue.ts +35 -0
  30. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-column-mapping.vue +154 -0
  31. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-column-mapping.vue.d.ts +35 -0
  32. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-dropzone.d.vue.ts +23 -0
  33. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-dropzone.vue +83 -0
  34. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-dropzone.vue.d.ts +23 -0
  35. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-expected-columns.d.vue.ts +19 -0
  36. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-expected-columns.vue +45 -0
  37. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-expected-columns.vue.d.ts +19 -0
  38. package/dist/runtime/spreadsheet/components/{shared/spreadsheet-object-preview-table.d.vue.ts → parts/spreadsheet-import-export-button.d.vue.ts} +3 -2
  39. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-export-button.vue +34 -0
  40. package/dist/runtime/spreadsheet/components/{layout/spreadsheet-import-file-bar.vue.d.ts → parts/spreadsheet-import-export-button.vue.d.ts} +3 -4
  41. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-file-card.d.vue.ts +17 -0
  42. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-file-card.vue +49 -0
  43. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-file-card.vue.d.ts +17 -0
  44. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-progress.d.vue.ts +18 -0
  45. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-progress.vue +101 -0
  46. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-progress.vue.d.ts +18 -0
  47. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-row-inspector.d.vue.ts +22 -0
  48. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-row-inspector.vue +276 -0
  49. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-row-inspector.vue.d.ts +22 -0
  50. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-source-settings.d.vue.ts +11 -0
  51. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-source-settings.vue +164 -0
  52. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-source-settings.vue.d.ts +11 -0
  53. package/dist/runtime/spreadsheet/components/{shared/spreadsheet-value-preview.d.vue.ts → parts/spreadsheet-import-stat.d.vue.ts} +7 -4
  54. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-stat.vue +30 -0
  55. package/dist/runtime/spreadsheet/components/{shared/spreadsheet-value-preview.vue.d.ts → parts/spreadsheet-import-stat.vue.d.ts} +7 -4
  56. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-stats.d.vue.ts +26 -0
  57. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-stats.vue +55 -0
  58. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-stats.vue.d.ts +26 -0
  59. package/dist/runtime/spreadsheet/components/{shared/spreadsheet-object-preview-table.vue.d.ts → parts/spreadsheet-import-submit-button.d.vue.ts} +3 -2
  60. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-submit-button.vue +27 -0
  61. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-submit-button.vue.d.ts +8 -0
  62. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-summary.d.vue.ts +16 -0
  63. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-summary.vue +51 -0
  64. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-summary.vue.d.ts +16 -0
  65. package/dist/runtime/spreadsheet/components/{layout/spreadsheet-import-file-bar.d.vue.ts → parts/spreadsheet-import-table-toolbar.d.vue.ts} +2 -4
  66. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-table-toolbar.vue +217 -0
  67. package/dist/runtime/spreadsheet/components/{shared/spreadsheet-raw-preview-table.d.vue.ts → parts/spreadsheet-import-table-toolbar.vue.d.ts} +2 -2
  68. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-table.d.vue.ts +33 -0
  69. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-table.vue +302 -0
  70. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-table.vue.d.ts +33 -0
  71. package/dist/runtime/spreadsheet/components/{layout/spreadsheet-import-sidebar.d.vue.ts → parts/spreadsheet-import-template-button.d.vue.ts} +5 -4
  72. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-template-button.vue +31 -0
  73. package/dist/runtime/spreadsheet/components/{layout/spreadsheet-import-sidebar.vue.d.ts → parts/spreadsheet-import-template-button.vue.d.ts} +5 -4
  74. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-value-mapping.d.vue.ts +27 -0
  75. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-value-mapping.vue +162 -0
  76. package/dist/runtime/spreadsheet/components/parts/spreadsheet-import-value-mapping.vue.d.ts +27 -0
  77. package/dist/runtime/spreadsheet/components/spreadsheet-import-root.d.vue.ts +24 -0
  78. package/dist/runtime/spreadsheet/components/spreadsheet-import-root.vue +23 -0
  79. package/dist/runtime/spreadsheet/components/spreadsheet-import-root.vue.d.ts +24 -0
  80. package/dist/runtime/spreadsheet/components/spreadsheet-import.d.vue.ts +21 -6
  81. package/dist/runtime/spreadsheet/components/spreadsheet-import.vue +46 -262
  82. package/dist/runtime/spreadsheet/components/spreadsheet-import.vue.d.ts +21 -6
  83. package/dist/runtime/spreadsheet/components/{layout/spreadsheet-import-header.d.vue.ts → steps/spreadsheet-import-step-nav.d.vue.ts} +6 -2
  84. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-step-nav.vue +116 -0
  85. package/dist/runtime/spreadsheet/components/{layout/spreadsheet-import-header.vue.d.ts → steps/spreadsheet-import-step-nav.vue.d.ts} +6 -2
  86. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-step.d.vue.ts +26 -0
  87. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-step.vue +106 -0
  88. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-step.vue.d.ts +26 -0
  89. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-stepper.d.vue.ts +15 -0
  90. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-stepper.vue +131 -0
  91. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-stepper.vue.d.ts +15 -0
  92. package/dist/runtime/spreadsheet/composables/index.d.ts +2 -0
  93. package/dist/runtime/spreadsheet/composables/index.js +2 -0
  94. package/dist/runtime/spreadsheet/composables/use-spreadsheet-answers.d.ts +8 -0
  95. package/dist/runtime/spreadsheet/composables/use-spreadsheet-answers.js +19 -0
  96. package/dist/runtime/spreadsheet/composables/use-spreadsheet-columns.d.ts +23 -0
  97. package/dist/runtime/spreadsheet/composables/use-spreadsheet-columns.js +75 -0
  98. package/dist/runtime/spreadsheet/composables/use-spreadsheet-context.d.ts +8 -45
  99. package/dist/runtime/spreadsheet/composables/use-spreadsheet-context.js +28 -32
  100. package/dist/runtime/spreadsheet/composables/use-spreadsheet-edits.d.ts +11 -0
  101. package/dist/runtime/spreadsheet/composables/use-spreadsheet-edits.js +25 -0
  102. package/dist/runtime/spreadsheet/composables/use-spreadsheet-fields.d.ts +16 -0
  103. package/dist/runtime/spreadsheet/composables/use-spreadsheet-fields.js +20 -0
  104. package/dist/runtime/spreadsheet/composables/use-spreadsheet-file.d.ts +14 -0
  105. package/dist/runtime/spreadsheet/composables/use-spreadsheet-file.js +44 -0
  106. package/dist/runtime/spreadsheet/composables/use-spreadsheet-import-context.d.ts +12 -0
  107. package/dist/runtime/spreadsheet/composables/use-spreadsheet-import-context.js +22 -0
  108. package/dist/runtime/spreadsheet/composables/use-spreadsheet-import.d.ts +18 -7
  109. package/dist/runtime/spreadsheet/composables/use-spreadsheet-import.js +340 -109
  110. package/dist/runtime/spreadsheet/composables/use-spreadsheet-layout.d.ts +36 -0
  111. package/dist/runtime/spreadsheet/composables/use-spreadsheet-layout.js +95 -0
  112. package/dist/runtime/spreadsheet/composables/use-spreadsheet-options.d.ts +24 -0
  113. package/dist/runtime/spreadsheet/composables/use-spreadsheet-options.js +159 -0
  114. package/dist/runtime/spreadsheet/composables/use-spreadsheet-queries.d.ts +14 -0
  115. package/dist/runtime/spreadsheet/composables/use-spreadsheet-queries.js +11 -0
  116. package/dist/runtime/spreadsheet/composables/use-spreadsheet-review.d.ts +37 -169
  117. package/dist/runtime/spreadsheet/composables/use-spreadsheet-review.js +148 -408
  118. package/dist/runtime/spreadsheet/composables/use-spreadsheet-rows.d.ts +48 -26
  119. package/dist/runtime/spreadsheet/composables/use-spreadsheet-rows.js +334 -21
  120. package/dist/runtime/spreadsheet/composables/use-spreadsheet-steps.d.ts +33 -0
  121. package/dist/runtime/spreadsheet/composables/use-spreadsheet-steps.js +126 -0
  122. package/dist/runtime/spreadsheet/composables/use-spreadsheet-submit.d.ts +37 -0
  123. package/dist/runtime/spreadsheet/composables/use-spreadsheet-submit.js +136 -0
  124. package/dist/runtime/spreadsheet/composables/use-spreadsheet-values.d.ts +27 -0
  125. package/dist/runtime/spreadsheet/composables/use-spreadsheet-values.js +121 -0
  126. package/dist/runtime/spreadsheet/index.d.ts +0 -1
  127. package/dist/runtime/spreadsheet/index.js +0 -1
  128. package/dist/runtime/spreadsheet/schema/builder.d.ts +8 -0
  129. package/dist/runtime/spreadsheet/schema/builder.js +31 -0
  130. package/dist/runtime/spreadsheet/schema/index.d.ts +24 -32
  131. package/dist/runtime/spreadsheet/schema/index.js +4 -21
  132. package/dist/runtime/spreadsheet/types/columns.d.ts +252 -273
  133. package/dist/runtime/spreadsheet/types/fields.d.ts +64 -0
  134. package/dist/runtime/spreadsheet/types/importer.d.ts +308 -0
  135. package/dist/runtime/spreadsheet/types/index.d.ts +6 -10
  136. package/dist/runtime/spreadsheet/types/options.d.ts +47 -9
  137. package/dist/runtime/spreadsheet/types/rows.d.ts +57 -48
  138. package/dist/runtime/spreadsheet/types/schema.d.ts +162 -76
  139. package/dist/runtime/spreadsheet/types/shared.d.ts +19 -21
  140. package/dist/runtime/spreadsheet/types/source.d.ts +39 -15
  141. package/dist/runtime/spreadsheet/types/steps.d.ts +76 -0
  142. package/dist/runtime/spreadsheet/types/validation.d.ts +49 -69
  143. package/dist/runtime/spreadsheet/types/values.d.ts +77 -0
  144. package/dist/runtime/spreadsheet/utils/download.d.ts +2 -0
  145. package/dist/runtime/spreadsheet/utils/download.js +8 -0
  146. package/dist/runtime/spreadsheet/utils/export.d.ts +26 -0
  147. package/dist/runtime/spreadsheet/utils/export.js +50 -0
  148. package/dist/runtime/spreadsheet/utils/fields.d.ts +26 -0
  149. package/dist/runtime/spreadsheet/utils/fields.js +169 -0
  150. package/dist/runtime/spreadsheet/utils/guards.d.ts +18 -0
  151. package/dist/runtime/spreadsheet/utils/guards.js +27 -0
  152. package/dist/runtime/spreadsheet/utils/headers.d.ts +15 -0
  153. package/dist/runtime/spreadsheet/utils/headers.js +36 -0
  154. package/dist/runtime/spreadsheet/utils/identity.d.ts +24 -0
  155. package/dist/runtime/spreadsheet/utils/identity.js +57 -0
  156. package/dist/runtime/spreadsheet/utils/index.d.ts +15 -6
  157. package/dist/runtime/spreadsheet/utils/index.js +15 -6
  158. package/dist/runtime/spreadsheet/utils/layout.d.ts +12 -0
  159. package/dist/runtime/spreadsheet/utils/layout.js +37 -0
  160. package/dist/runtime/spreadsheet/utils/options.d.ts +31 -10
  161. package/dist/runtime/spreadsheet/utils/options.js +58 -30
  162. package/dist/runtime/spreadsheet/utils/parse.d.ts +6 -0
  163. package/dist/runtime/spreadsheet/utils/parse.js +147 -0
  164. package/dist/runtime/spreadsheet/utils/paths.d.ts +4 -0
  165. package/dist/runtime/spreadsheet/utils/paths.js +29 -0
  166. package/dist/runtime/spreadsheet/utils/rows.d.ts +69 -0
  167. package/dist/runtime/spreadsheet/utils/rows.js +168 -0
  168. package/dist/runtime/spreadsheet/utils/rules.d.ts +4 -0
  169. package/dist/runtime/spreadsheet/utils/rules.js +95 -0
  170. package/dist/runtime/spreadsheet/utils/suggestions.d.ts +20 -0
  171. package/dist/runtime/spreadsheet/utils/suggestions.js +43 -0
  172. package/dist/runtime/spreadsheet/utils/text.d.ts +9 -0
  173. package/dist/runtime/spreadsheet/utils/text.js +11 -0
  174. package/dist/runtime/spreadsheet/utils/workbook.d.ts +13 -0
  175. package/dist/runtime/spreadsheet/utils/workbook.js +121 -0
  176. package/dist/runtime/table/components/filters/tags/boolean-filter-tag.d.vue.ts +2 -2
  177. package/dist/runtime/table/components/filters/tags/boolean-filter-tag.vue.d.ts +2 -2
  178. package/dist/runtime/table/components/filters/tags/date-filter-tag.d.vue.ts +2 -2
  179. package/dist/runtime/table/components/filters/tags/date-filter-tag.vue.d.ts +2 -2
  180. package/dist/runtime/table/components/filters/tags/number-filter-tag.d.vue.ts +2 -2
  181. package/dist/runtime/table/components/filters/tags/number-filter-tag.vue.d.ts +2 -2
  182. package/dist/runtime/table/components/filters/tags/option-filter-tag.d.vue.ts +2 -2
  183. package/dist/runtime/table/components/filters/tags/option-filter-tag.vue.d.ts +2 -2
  184. package/dist/runtime/table/components/filters/tags/text-filter-tag.d.vue.ts +2 -2
  185. package/dist/runtime/table/components/filters/tags/text-filter-tag.vue.d.ts +2 -2
  186. package/dist/runtime/table/components/table/table-cell-ellipsis.d.ts +1 -1
  187. package/dist/runtime/table/utils/data-list-ui.d.ts +1 -1
  188. package/package.json +18 -3
  189. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-file-bar.vue +0 -31
  190. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.d.vue.ts +0 -24
  191. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.vue +0 -69
  192. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.vue.d.ts +0 -24
  193. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-header.vue +0 -36
  194. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-sidebar.vue +0 -63
  195. package/dist/runtime/spreadsheet/components/shared/spreadsheet-object-preview-table.vue +0 -67
  196. package/dist/runtime/spreadsheet/components/shared/spreadsheet-raw-preview-table.vue +0 -41
  197. package/dist/runtime/spreadsheet/components/shared/spreadsheet-raw-preview-table.vue.d.ts +0 -7
  198. package/dist/runtime/spreadsheet/components/shared/spreadsheet-summary-stats.d.vue.ts +0 -10
  199. package/dist/runtime/spreadsheet/components/shared/spreadsheet-summary-stats.vue +0 -25
  200. package/dist/runtime/spreadsheet/components/shared/spreadsheet-summary-stats.vue.d.ts +0 -10
  201. package/dist/runtime/spreadsheet/components/shared/spreadsheet-value-preview.vue +0 -201
  202. package/dist/runtime/spreadsheet/components/steps/matching/spreadsheet-matching-summary.d.vue.ts +0 -11
  203. package/dist/runtime/spreadsheet/components/steps/matching/spreadsheet-matching-summary.vue +0 -38
  204. package/dist/runtime/spreadsheet/components/steps/matching/spreadsheet-matching-summary.vue.d.ts +0 -11
  205. package/dist/runtime/spreadsheet/components/steps/matching/spreadsheet-matching-table.d.vue.ts +0 -45
  206. package/dist/runtime/spreadsheet/components/steps/matching/spreadsheet-matching-table.vue +0 -219
  207. package/dist/runtime/spreadsheet/components/steps/matching/spreadsheet-matching-table.vue.d.ts +0 -45
  208. package/dist/runtime/spreadsheet/components/steps/references/spreadsheet-references-accordion.d.vue.ts +0 -51
  209. package/dist/runtime/spreadsheet/components/steps/references/spreadsheet-references-accordion.vue +0 -166
  210. package/dist/runtime/spreadsheet/components/steps/references/spreadsheet-references-accordion.vue.d.ts +0 -51
  211. package/dist/runtime/spreadsheet/components/steps/references/spreadsheet-references-summary.d.vue.ts +0 -11
  212. package/dist/runtime/spreadsheet/components/steps/references/spreadsheet-references-summary.vue +0 -26
  213. package/dist/runtime/spreadsheet/components/steps/references/spreadsheet-references-summary.vue.d.ts +0 -11
  214. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-inspection.d.vue.ts +0 -41
  215. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-inspection.vue +0 -392
  216. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-inspection.vue.d.ts +0 -41
  217. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-overflow-alert.vue +0 -43
  218. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-stats.d.vue.ts +0 -15
  219. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-stats.vue +0 -40
  220. package/dist/runtime/spreadsheet/components/steps/review/spreadsheet-review-stats.vue.d.ts +0 -15
  221. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-matching-step.d.vue.ts +0 -7
  222. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-matching-step.vue +0 -137
  223. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-matching-step.vue.d.ts +0 -7
  224. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-references-step.d.vue.ts +0 -7
  225. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-references-step.vue +0 -222
  226. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-references-step.vue.d.ts +0 -7
  227. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-review-step.d.vue.ts +0 -7
  228. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-review-step.vue +0 -191
  229. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-review-step.vue.d.ts +0 -7
  230. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-structure-step.d.vue.ts +0 -7
  231. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-structure-step.vue +0 -62
  232. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-structure-step.vue.d.ts +0 -7
  233. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-upload-step.d.vue.ts +0 -8
  234. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-upload-step.vue +0 -81
  235. package/dist/runtime/spreadsheet/components/steps/spreadsheet-import-upload-step.vue.d.ts +0 -8
  236. package/dist/runtime/spreadsheet/components/steps/structure/spreadsheet-structure-preview-table.d.vue.ts +0 -15
  237. package/dist/runtime/spreadsheet/components/steps/structure/spreadsheet-structure-preview-table.vue +0 -95
  238. package/dist/runtime/spreadsheet/components/steps/structure/spreadsheet-structure-preview-table.vue.d.ts +0 -15
  239. package/dist/runtime/spreadsheet/components/steps/structure/spreadsheet-structure-sheet-list.d.vue.ts +0 -15
  240. package/dist/runtime/spreadsheet/components/steps/structure/spreadsheet-structure-sheet-list.vue +0 -56
  241. package/dist/runtime/spreadsheet/components/steps/structure/spreadsheet-structure-sheet-list.vue.d.ts +0 -15
  242. package/dist/runtime/spreadsheet/components/types.d.ts +0 -41
  243. package/dist/runtime/spreadsheet/composables/use-spreadsheet-column-matching.d.ts +0 -18
  244. package/dist/runtime/spreadsheet/composables/use-spreadsheet-column-matching.js +0 -62
  245. package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.d.ts +0 -629
  246. package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.js +0 -68
  247. package/dist/runtime/spreadsheet/composables/use-spreadsheet-references.d.ts +0 -1
  248. package/dist/runtime/spreadsheet/composables/use-spreadsheet-references.js +0 -3
  249. package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.d.ts +0 -40
  250. package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.js +0 -97
  251. package/dist/runtime/spreadsheet/composables/use-spreadsheet-row-state.d.ts +0 -24
  252. package/dist/runtime/spreadsheet/composables/use-spreadsheet-row-state.js +0 -74
  253. package/dist/runtime/spreadsheet/composables/use-spreadsheet-source.d.ts +0 -27
  254. package/dist/runtime/spreadsheet/composables/use-spreadsheet-source.js +0 -109
  255. package/dist/runtime/spreadsheet/composables/use-spreadsheet-view.d.ts +0 -15
  256. package/dist/runtime/spreadsheet/composables/use-spreadsheet-view.js +0 -109
  257. package/dist/runtime/spreadsheet/schema/normalize.d.ts +0 -73
  258. package/dist/runtime/spreadsheet/schema/normalize.js +0 -136
  259. package/dist/runtime/spreadsheet/types/context.d.ts +0 -9
  260. package/dist/runtime/spreadsheet/types/import.d.ts +0 -55
  261. package/dist/runtime/spreadsheet/types/inference.d.ts +0 -83
  262. package/dist/runtime/spreadsheet/types/normalized.d.ts +0 -50
  263. package/dist/runtime/spreadsheet/types/normalized.js +0 -0
  264. package/dist/runtime/spreadsheet/types/pipeline.d.ts +0 -7
  265. package/dist/runtime/spreadsheet/types/pipeline.js +0 -0
  266. package/dist/runtime/spreadsheet/types/reference-session.d.ts +0 -43
  267. package/dist/runtime/spreadsheet/types/reference-session.js +0 -0
  268. package/dist/runtime/spreadsheet/types/references.d.ts +0 -32
  269. package/dist/runtime/spreadsheet/types/references.js +0 -0
  270. package/dist/runtime/spreadsheet/types/resolution.d.ts +0 -43
  271. package/dist/runtime/spreadsheet/types/resolution.js +0 -0
  272. package/dist/runtime/spreadsheet/utils/builders/core.d.ts +0 -17
  273. package/dist/runtime/spreadsheet/utils/builders/core.js +0 -262
  274. package/dist/runtime/spreadsheet/utils/builders/index.d.ts +0 -1
  275. package/dist/runtime/spreadsheet/utils/builders/index.js +0 -1
  276. package/dist/runtime/spreadsheet/utils/context.d.ts +0 -20
  277. package/dist/runtime/spreadsheet/utils/context.js +0 -25
  278. package/dist/runtime/spreadsheet/utils/display.d.ts +0 -6
  279. package/dist/runtime/spreadsheet/utils/display.js +0 -26
  280. package/dist/runtime/spreadsheet/utils/object.d.ts +0 -9
  281. package/dist/runtime/spreadsheet/utils/object.js +0 -78
  282. package/dist/runtime/spreadsheet/utils/references/candidates.d.ts +0 -6
  283. package/dist/runtime/spreadsheet/utils/references/candidates.js +0 -28
  284. package/dist/runtime/spreadsheet/utils/references/core.d.ts +0 -3
  285. package/dist/runtime/spreadsheet/utils/references/core.js +0 -3
  286. package/dist/runtime/spreadsheet/utils/references/guards.d.ts +0 -4
  287. package/dist/runtime/spreadsheet/utils/references/guards.js +0 -28
  288. package/dist/runtime/spreadsheet/utils/references/index.d.ts +0 -1
  289. package/dist/runtime/spreadsheet/utils/references/index.js +0 -1
  290. package/dist/runtime/spreadsheet/utils/references/resolutions.d.ts +0 -17
  291. package/dist/runtime/spreadsheet/utils/references/resolutions.js +0 -172
  292. package/dist/runtime/spreadsheet/utils/references/shared.d.ts +0 -3
  293. package/dist/runtime/spreadsheet/utils/references/shared.js +0 -26
  294. package/dist/runtime/spreadsheet/utils/references/sources.d.ts +0 -9
  295. package/dist/runtime/spreadsheet/utils/references/sources.js +0 -38
  296. package/dist/runtime/spreadsheet/utils/rows/core.d.ts +0 -4
  297. package/dist/runtime/spreadsheet/utils/rows/core.js +0 -4
  298. package/dist/runtime/spreadsheet/utils/rows/headers.d.ts +0 -2
  299. package/dist/runtime/spreadsheet/utils/rows/headers.js +0 -9
  300. package/dist/runtime/spreadsheet/utils/rows/index.d.ts +0 -1
  301. package/dist/runtime/spreadsheet/utils/rows/index.js +0 -1
  302. package/dist/runtime/spreadsheet/utils/rows/matching.d.ts +0 -5
  303. package/dist/runtime/spreadsheet/utils/rows/matching.js +0 -209
  304. package/dist/runtime/spreadsheet/utils/rows/parsing.d.ts +0 -7
  305. package/dist/runtime/spreadsheet/utils/rows/parsing.js +0 -209
  306. package/dist/runtime/spreadsheet/utils/rows/shared.d.ts +0 -17
  307. package/dist/runtime/spreadsheet/utils/rows/shared.js +0 -309
  308. package/dist/runtime/spreadsheet/utils/rows/summary.d.ts +0 -2
  309. package/dist/runtime/spreadsheet/utils/rows/summary.js +0 -10
  310. package/dist/runtime/spreadsheet/utils/source/core.d.ts +0 -9
  311. package/dist/runtime/spreadsheet/utils/source/core.js +0 -65
  312. package/dist/runtime/spreadsheet/utils/source/index.d.ts +0 -1
  313. package/dist/runtime/spreadsheet/utils/source/index.js +0 -1
  314. package/dist/runtime/spreadsheet/utils/validation/core.d.ts +0 -16
  315. package/dist/runtime/spreadsheet/utils/validation/core.js +0 -211
  316. package/dist/runtime/spreadsheet/utils/validation/index.d.ts +0 -1
  317. package/dist/runtime/spreadsheet/utils/validation/index.js +0 -1
  318. /package/dist/runtime/spreadsheet/{components/types.js → types/fields.js} +0 -0
  319. /package/dist/runtime/spreadsheet/types/{context.js → importer.js} +0 -0
  320. /package/dist/runtime/spreadsheet/types/{import.js → steps.js} +0 -0
  321. /package/dist/runtime/spreadsheet/types/{inference.js → values.js} +0 -0
package/README.md CHANGED
@@ -3,15 +3,21 @@
3
3
  Nuxt module and runtime toolkit for UI-heavy Nuxt apps, with a local playground for integration testing and demos.
4
4
 
5
5
  The release-ready public runtimes are available through `nuxt-ui-tools/table`,
6
- `nuxt-ui-tools/form`, `nuxt-ui-tools/query-state`, `nuxt-ui-tools/shared`, and
7
- `nuxt-ui-tools/i18n`. Installing the Nuxt module also exposes the same domains
8
- through `#ui-tools/*`, auto-imports their primary functions, and registers their
6
+ `nuxt-ui-tools/form`, `nuxt-ui-tools/query-state`, `nuxt-ui-tools/spreadsheet`,
7
+ `nuxt-ui-tools/shared`, and `nuxt-ui-tools/i18n`. Installing the Nuxt module also exposes the
8
+ same domains through `#ui-tools/*`, auto-imports their primary functions, and registers their
9
9
  top-level components.
10
10
 
11
11
  The shared entrypoint exports the breakpoint-aware runtime helpers
12
12
  `getResponsiveValue`, `parseResponsiveValue`, `resolveResponsiveValueAtBreakpoint`,
13
- and `useResponsiveValue`. The spreadsheet import engine is still internal and is
14
- not part of the package export map or Nuxt public surface.
13
+ and `useResponsiveValue`.
14
+
15
+ The spreadsheet import reads files with SheetJS, an optional peer. npm only serves SheetJS up to
16
+ 0.18.5, which has known vulnerabilities; install 0.20.2 or later from the SheetJS CDN:
17
+
18
+ ```bash
19
+ bun add https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
20
+ ```
15
21
 
16
22
  ## Structure
17
23
 
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "configKey": "nuxtUiTools",
6
6
  "docs": "https://ui.nuxt.com/docs/getting-started/installation/nuxt",
7
7
  "name": "nuxt-ui-tools",
8
- "version": "1.12.0",
8
+ "version": "1.13.0",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.3",
11
11
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -46,6 +46,44 @@ function getPublicComponents(runtimeDir, options) {
46
46
  global: options.global,
47
47
  name: `${prefix}DataList${part}`
48
48
  })),
49
+ // Spreadsheet
50
+ {
51
+ filePath: `${runtimeDir}/spreadsheet/components/spreadsheet-import.vue`,
52
+ global: options.global,
53
+ name: `${prefix}SpreadsheetImport`
54
+ },
55
+ {
56
+ filePath: `${runtimeDir}/spreadsheet/components/spreadsheet-import-root.vue`,
57
+ global: options.global,
58
+ name: `${prefix}SpreadsheetImportRoot`
59
+ },
60
+ ...[
61
+ "Dropzone",
62
+ "FileCard",
63
+ "SourceSettings",
64
+ "ExpectedColumns",
65
+ "TemplateButton",
66
+ "ColumnMapping",
67
+ "ValueMapping",
68
+ "Table",
69
+ "TableToolbar",
70
+ "RowInspector",
71
+ "Stats",
72
+ "Stat",
73
+ "ExportButton",
74
+ "SubmitButton",
75
+ "Summary",
76
+ "Progress"
77
+ ].map((part) => ({
78
+ filePath: `${runtimeDir}/spreadsheet/components/parts/spreadsheet-import-${toKebabCase(part)}.vue`,
79
+ global: options.global,
80
+ name: `${prefix}SpreadsheetImport${part}`
81
+ })),
82
+ ...["Stepper", "Step", "StepNav"].map((part) => ({
83
+ filePath: `${runtimeDir}/spreadsheet/components/steps/spreadsheet-import-${toKebabCase(part)}.vue`,
84
+ global: options.global,
85
+ name: `${prefix}SpreadsheetImport${part}`
86
+ })),
49
87
  // Dashboard
50
88
  ...[
51
89
  "Grid",
@@ -174,6 +212,13 @@ function setupImports(runtimeDir) {
174
212
  { from: "table", name: "tableSource" },
175
213
  { from: "table", name: "useTable" }
176
214
  ]),
215
+ // Spreadsheet
216
+ ...withRuntime(runtimeDir, [
217
+ { from: "spreadsheet", name: "defineSpreadsheetSchema" },
218
+ { from: "spreadsheet", name: "spreadsheetSteps" },
219
+ { from: "spreadsheet", name: "useSpreadsheetImport" },
220
+ { from: "spreadsheet", name: "useSpreadsheetSteps" }
221
+ ]),
177
222
  // Dashboard
178
223
  ...withRuntime(runtimeDir, [
179
224
  { from: "dashboard", name: "defineDashboardSchema" },
@@ -377,6 +422,7 @@ const publicRuntimeDomains = [
377
422
  "query-prefetch",
378
423
  "query-state",
379
424
  "shared",
425
+ "spreadsheet",
380
426
  "table"
381
427
  ];
382
428
  const require$1 = createRequire(import.meta.url);
@@ -1,7 +1,7 @@
1
1
  import type { LazyTextValue } from '#ui-tools/shared/types/utils';
2
2
  import type { DashboardBlockBaseProps, DashboardBlockUi, DashboardSeriesColor, DashboardSourceLike, DashboardStatUi, DashboardStatus, DashboardValueFormat } from '../types/index.js';
3
3
  declare const __VLS_export: <TData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: import("vue").PublicProps & __VLS_PrettifyLocal<Omit<DashboardBlockBaseProps, "ui" | "title" | "subtitle"> & {
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<Omit<DashboardBlockBaseProps, "title" | "ui" | "subtitle"> & {
5
5
  source: DashboardSourceLike<TData>;
6
6
  /** KPI label, shown above the value. */
7
7
  label: LazyTextValue;
@@ -1,7 +1,7 @@
1
1
  import type { LazyTextValue } from '#ui-tools/shared/types/utils';
2
2
  import type { DashboardBlockBaseProps, DashboardBlockUi, DashboardSeriesColor, DashboardSourceLike, DashboardStatUi, DashboardStatus, DashboardValueFormat } from '../types/index.js';
3
3
  declare const __VLS_export: <TData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: import("vue").PublicProps & __VLS_PrettifyLocal<Omit<DashboardBlockBaseProps, "ui" | "title" | "subtitle"> & {
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<Omit<DashboardBlockBaseProps, "title" | "ui" | "subtitle"> & {
5
5
  source: DashboardSourceLike<TData>;
6
6
  /** KPI label, shown above the value. */
7
7
  label: LazyTextValue;
@@ -17,13 +17,13 @@ type __VLS_Slots = {} & {
17
17
  default?: (props: typeof __VLS_64) => any;
18
18
  };
19
19
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- ready: (details: readonly FilePreviewDetail[]) => any;
21
20
  previous: () => any;
21
+ ready: (details: readonly FilePreviewDetail[]) => any;
22
22
  download: () => any;
23
23
  next: () => any;
24
24
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onReady?: ((details: readonly FilePreviewDetail[]) => any) | undefined;
26
25
  onPrevious?: (() => any) | undefined;
26
+ onReady?: ((details: readonly FilePreviewDetail[]) => any) | undefined;
27
27
  onDownload?: (() => any) | undefined;
28
28
  onNext?: (() => any) | undefined;
29
29
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -17,13 +17,13 @@ type __VLS_Slots = {} & {
17
17
  default?: (props: typeof __VLS_64) => any;
18
18
  };
19
19
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- ready: (details: readonly FilePreviewDetail[]) => any;
21
20
  previous: () => any;
21
+ ready: (details: readonly FilePreviewDetail[]) => any;
22
22
  download: () => any;
23
23
  next: () => any;
24
24
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onReady?: ((details: readonly FilePreviewDetail[]) => any) | undefined;
26
25
  onPrevious?: (() => any) | undefined;
26
+ onReady?: ((details: readonly FilePreviewDetail[]) => any) | undefined;
27
27
  onDownload?: (() => any) | undefined;
28
28
  onNext?: (() => any) | undefined;
29
29
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -318,144 +318,265 @@ export default defineUiToolsLocale({
318
318
  }
319
319
  },
320
320
  spreadsheet: {
321
- common: {
322
- arraySummary: "{count} item(s)",
323
- arrayValue: "Array value",
324
- clickToChangeHeaderRow: "Click on a row to change the header position",
325
- closeImport: "Close import",
326
- continue: "Continue",
327
- exportDiscardedRows: "Export {count} discarded rows",
328
- importRows: "Import {count} rows",
329
- importSummary: "{importable} of {total} rows will be imported",
330
- objectSummary: "{count} field(s)",
331
- objectValue: "Object value",
332
- preparingReview: "Preparing review...",
333
- preparingReviewDescription: "Validation and review data are being prepared.",
334
- previous: "Previous",
335
- referencesStepHint: "Resolve what you can here, then review row validity in the next step",
336
- sheetStats: "{rows} rows \xB7 {columns} columns",
337
- steps: "Steps"
321
+ issues: {
322
+ required: "Required value is missing",
323
+ number: "\u201C{value}\u201D is not a number",
324
+ date: "\u201C{value}\u201D is not a date this column reads",
325
+ boolean: "\u201C{value}\u201D is not yes or no",
326
+ unknownValue: "\u201C{value}\u201D is not a known value \xB7 choose it in Values",
327
+ notFound: "\u201C{value}\u201D is not a known value",
328
+ skipped: "Left out: \u201C{value}\u201D is set to skip its rows",
329
+ duplicate: "Same key as row {row}",
330
+ exists: "Already stored",
331
+ email: "Not an email address",
332
+ pattern: "Unexpected format",
333
+ minLength: "At least {min} characters",
334
+ maxLength: "At most {max} characters",
335
+ min: "{value} is below {min}",
336
+ max: "{value} is above {max}",
337
+ between: "{value} is not between {min} and {max}",
338
+ notFuture: "The date is in the future"
339
+ },
340
+ template: {
341
+ sheet: "Import",
342
+ guide: "Columns",
343
+ column: "Column",
344
+ required: "Required",
345
+ allowed: "Allowed values",
346
+ description: "Description",
347
+ yes: "Yes"
338
348
  },
339
349
  steps: {
340
- matching: {
341
- assigned: "Assigned",
342
- autoMapped: "Auto-mapped",
343
- autoMappedField: "Auto-mapped field",
344
- available: "Available",
345
- columnFallback: "Column {index}",
346
- description: "Review how file columns map to system fields. Fix any missing or ambiguous matches.",
347
- ignoreField: "Ignore this field",
348
- ignored: "Ignored",
349
- ignoredColumns: "Ignored spreadsheet columns",
350
- matched: "Matched",
351
- missing: "Missing",
352
- needsMatch: "Needs match",
353
- optional: "Optional",
354
- required: "Required",
355
- requirement: "Requirement",
356
- searchColumns: "Search spreadsheet columns...",
357
- selectColumn: "Select a spreadsheet column...",
358
- spreadsheetColumn: "Spreadsheet column",
359
- statusHeader: "Status",
360
- systemField: "System field",
361
- title: "Column matching"
362
- },
363
- references: {
364
- description: "Match imported values to internal products. Resolve once, apply to all matching rows.",
365
- title: "Reconciliation"
350
+ file: "File",
351
+ columns: "Columns",
352
+ values: "Values",
353
+ review: "Review",
354
+ submit: "Import",
355
+ auto: "nothing to do"
356
+ },
357
+ stepHints: {
358
+ file: "The Excel or CSV file",
359
+ columns: "File columns \u2192 fields",
360
+ values: "Unknown values",
361
+ review: "Valid rows and issues",
362
+ submit: "Summary and import"
363
+ },
364
+ headings: {
365
+ file: {
366
+ title: "File to import",
367
+ description: "Excel or CSV. The sheet and the row of column names are found for you."
368
+ },
369
+ columns: {
370
+ title: "Columns",
371
+ description: "Each field reads the column of the file with its name. Choose a column for what is missing."
372
+ },
373
+ values: {
374
+ title: "Values",
375
+ description: "These values match no known value. Each choice applies to every row using the value."
366
376
  },
367
377
  review: {
368
- affectsFullRow: "Affects the full row",
369
- allIssues: "All issues",
370
- allRows: "All rows {count}",
371
- autoTrim: "Auto-trim",
372
- backToTable: "Back to table",
373
- blocking: "Blocking {count}",
374
- blockingIssues: "Blocking issues",
375
- blockingStatus: "Blocking",
376
- byIssueType: "By issue type",
377
- byProperty: "By property",
378
- description: "Review rows, discard overflow, and confirm the final import payload.",
379
- discard: "Discard",
380
- discardRow: "Discard row",
381
- discarded: "Discarded {count}",
382
- discardedStatus: "Discarded",
383
- groupedByIssueType: "Grouped by issue type",
384
- importLimit: "Import limit: {importable} of {total}",
385
- inspectingRow: "Inspecting row #{row}",
386
- invalid: "Invalid {count}",
387
- issueBadgeBlocking: "BLOCKING",
388
- issueBadgeWarning: "WARNING",
389
- issueGroups: "{count} issue groups",
390
- issueRowsProgress: "{current} of {total} with issues",
391
- issuesOnThisRow: "Issues on this row",
392
- next: "Next",
393
- noBlockingIssues: "No blocking issues",
394
- noValue: "\u2014",
395
- nothingDiscarded: "Nothing discarded",
396
- overflowDescription: "Select rows to discard below, or auto-trim the last {count} rows. Discarded rows can be exported.",
397
- overflowTitle: "Import limit exceeded \u2014 {total} rows detected, max is {max}",
398
- prev: "Prev",
399
- property: "Property: {key}",
400
- propertyGroups: "{count} property groups",
401
- ready: "ready",
402
- restore: "Restore",
403
- restoreRow: "Restore row",
404
- row: "Row",
405
- rowData: "Row data",
406
- rowLevelIssue: "Row-level issue",
407
- ruleKey: "Rule key: {key}",
408
- selected: "{count} selected",
409
- title: "Review & import",
410
- valid: "Valid {count}",
411
- validRow: "Valid row",
412
- validRows: "{count} valid rows",
413
- validStatus: "Valid",
414
- valueInFile: "Value in file",
415
- viewAllRowsWithThisIssue: "View all {count} rows with this issue",
416
- warningStatus: "Warning",
417
- warnings: "Warnings {count}",
418
- warningsOnly: "Warnings only",
419
- willNotBeImported: "Will not be imported"
420
- },
421
- structure: {
422
- autoDetected: "Auto-detected",
423
- description: "Select the correct sheet and verify the header row detected by the system.",
424
- headerDetectedAtRow: "Header detected at row {row}",
425
- loadWorkbookFirstDescription: "The structure step becomes available after a file is uploaded.",
426
- loadWorkbookFirstTitle: "Load a workbook first",
427
- previewTitle: "Sheet preview",
428
- sheetLabel: "Sheet",
429
- stageTitle: "Confirm file structure",
430
- title: "Structure"
378
+ title: "Review",
379
+ description: "Click a cell to edit it. Click a row number to see its issues."
431
380
  },
432
- upload: {
433
- description: "Drag and drop or select an Excel / CSV file to begin the import process.",
434
- stageTitle: "Upload your file",
435
- title: "Upload file"
381
+ submit: {
382
+ title: "Ready to import",
383
+ description: "Check the summary, then import."
436
384
  }
437
385
  },
438
- upload: {
439
- downloadTemplate: "Download template",
440
- downloadTemplateDescription: "Get the expected format for assessment imports",
441
- dropzoneDescription: "or click to browse \u2014 .xlsx, .xls, .csv supported",
442
- dropzoneLabel: "Drop your spreadsheet here",
443
- parsingFailed: "Workbook parsing failed"
386
+ nav: {
387
+ back: "Back",
388
+ continue: "Continue",
389
+ cancel: "Cancel",
390
+ close: "Close",
391
+ import: "Import {count} rows",
392
+ another: "Import another file",
393
+ blockers: {
394
+ file: "Choose a file to continue",
395
+ columns: "Required columns missing: {count}",
396
+ values: "Values to choose: {count}",
397
+ review: "No row to import",
398
+ invalid: "Rows with errors are left out: {count}"
399
+ }
444
400
  },
445
- validation: {
446
- between: "{value} must be between {min} and {max}",
447
- invalidBooleanInput: 'Enter Yes or No instead of "{value}"',
448
- invalidNumberInput: 'Enter a valid number instead of "{value}"',
449
- max: "{value} must be lower than or equal to {max}",
450
- maxLength: "Max {max} characters, got {length}",
451
- min: "{value} must be greater than or equal to {min}",
452
- minLength: "Min {min} characters, got {length}",
453
- missingValue: 'Add a value for "{field}"',
454
- number: "This field must be a valid number",
455
- oneOf: "{value} must be one of {values}",
456
- parseFailed: 'We could not read the value for "{field}"',
457
- required: "This field is required",
458
- unrecognizedValue: 'The value "{value}" is not recognized'
401
+ file: {
402
+ dropTitle: "Drop your file here",
403
+ dropBrowse: "or browse",
404
+ dropHint: "{types} \xB7 up to {count} rows",
405
+ dropHintNoLimit: "{types}",
406
+ paste: "You can also paste rows copied from a spreadsheet.",
407
+ reading: "Reading {name}\u2026",
408
+ readFailed: "This file can\u2019t be read. Check that it is an Excel or CSV file.",
409
+ replace: "Replace",
410
+ summary: "{rows} rows \xB7 {sheets} sheets",
411
+ sheet: "Sheet",
412
+ sheetOption: "{name} \xB7 {count} rows",
413
+ headerRow: "Column names on",
414
+ rowOption: "Row {row} \xB7 {preview}",
415
+ emptyRow: "Row {row}",
416
+ detected: "Found automatically",
417
+ titleRows: "{count} title rows above",
418
+ ambiguous: "Several sheets match. Check this is the right one.",
419
+ noMatch: "No expected column in this sheet. Check the sheet and the row of column names.",
420
+ useDetected: "Use what was found",
421
+ previewTitle: "title",
422
+ previewHeader: "column names",
423
+ expected: "Expected columns",
424
+ expectedCount: "{count} columns",
425
+ optional: "optional",
426
+ fromContext: "Highlighted columns depend on your selection.",
427
+ template: "Template"
428
+ },
429
+ columns: {
430
+ field: "Field",
431
+ column: "Column in the file",
432
+ samples: "In the file",
433
+ none: "Not in the file",
434
+ columnFor: "Column for {field}",
435
+ emptyColumn: "Empty column",
436
+ statuses: {
437
+ matched: "Found",
438
+ manual: "Chosen",
439
+ default: "Default value",
440
+ missing: "Missing",
441
+ unmatched: "Not in the file"
442
+ },
443
+ suggestion: "\u201C{header}\u201D has values like {samples}",
444
+ useSuggestion: "Use it",
445
+ reset: "Undo",
446
+ reads: "reads {field}",
447
+ found: "{count} fields found in the file",
448
+ allFound: "Every field was found in the file",
449
+ unused: "Not imported: {columns}"
450
+ },
451
+ values: {
452
+ value: "Value in the file",
453
+ rows: "Rows",
454
+ answer: "Becomes",
455
+ rowCount: "{count} rows",
456
+ choose: "Choose\u2026",
457
+ search: "Search\u2026",
458
+ loading: "Loading the list\u2026",
459
+ valueFor: "Answer for {value}",
460
+ scope: "For {conditions}",
461
+ condition: "{label}: {values}",
462
+ leaveEmpty: "Leave empty",
463
+ skipRows: "Don\u2019t import these rows",
464
+ create: "Create \u201C{value}\u201D",
465
+ statuses: {
466
+ open: "To choose",
467
+ user: "Chosen",
468
+ policy: "By default",
469
+ recognized: "Found"
470
+ },
471
+ recognized: "{count} values found in the list",
472
+ nothing: "Every value was found in the list"
473
+ },
474
+ table: {
475
+ tabs: {
476
+ all: "All",
477
+ importable: "To import",
478
+ invalid: "Invalid",
479
+ discarded: "Left out"
480
+ },
481
+ levels: {
482
+ all: "All issues",
483
+ blocking: "Blocking",
484
+ warnings: "Warnings"
485
+ },
486
+ modes: {
487
+ all: "New and updates",
488
+ create: "New",
489
+ update: "Updates"
490
+ },
491
+ search: "Search rows",
492
+ anyIssue: "Any issue",
493
+ byColumn: "By column",
494
+ byIssue: "By issue",
495
+ columnIssueOption: "{field} \xB7 {count} rows",
496
+ issueOption: "{field} \xB7 {message} \xB7 {count}",
497
+ clearFilter: "Clear",
498
+ selected: "{count} selected",
499
+ discard: "Leave out",
500
+ restore: "Restore",
501
+ clearSelection: "Clear",
502
+ row: "Row",
503
+ selectRow: "Select row {row}",
504
+ selectAll: "Select all visible rows",
505
+ inspectRow: "Inspect row {row}",
506
+ empty: "No rows match these filters.",
507
+ emptyCell: "empty",
508
+ edited: "Edited \xB7 in the file: {value}",
509
+ defaulted: "Default value",
510
+ created: "new",
511
+ stored: "Stored: {value}",
512
+ rowCount: "{count} rows",
513
+ modeCreate: "New",
514
+ modeUpdate: "Update",
515
+ status: {
516
+ valid: "Valid",
517
+ warning: "Warning",
518
+ blocking: "Blocking",
519
+ discarded: "Left out"
520
+ },
521
+ reasons: {
522
+ manual: "Left out by you",
523
+ value: "Left out by a value answer",
524
+ limit: "Past the row limit",
525
+ duplicate: "Duplicate of another row",
526
+ existing: "Already stored, left as it is"
527
+ }
528
+ },
529
+ inspector: {
530
+ title: "Row {row}",
531
+ close: "Close",
532
+ position: "{current} of {total} rows with issues",
533
+ positionNone: "{total} rows with issues",
534
+ previous: "Previous row with issues",
535
+ next: "Next row with issues",
536
+ issues: "Issues",
537
+ noIssue: "No issue on this row",
538
+ values: "Values",
539
+ inFile: "In the file",
540
+ revert: "Revert",
541
+ discard: "Leave out this row",
542
+ restore: "Restore this row",
543
+ allRows: "All {count} rows with this issue",
544
+ answerIt: "Choose it in Values"
545
+ },
546
+ stats: {
547
+ importable: "rows to import",
548
+ invalid: "rows with errors",
549
+ discarded: "rows left out",
550
+ create: "{count} new",
551
+ update: "{count} updates",
552
+ warnings: "{count} with warnings",
553
+ blocking: "{count} blocking issues"
554
+ },
555
+ review: {
556
+ issuesColumn: "Issues",
557
+ export: "Invalid rows"
558
+ },
559
+ summary: {
560
+ file: "File",
561
+ toImport: "Rows to import",
562
+ create: "New records",
563
+ update: "Updated records",
564
+ invalid: "Invalid, not imported",
565
+ discarded: "Left out",
566
+ edited: "Cells edited",
567
+ created: "Values created"
568
+ },
569
+ progress: {
570
+ running: "Importing\u2026",
571
+ count: "{done} of {total}",
572
+ done: "{count} rows imported",
573
+ doneHint: "The import is complete.",
574
+ rejected: "Rows refused: {count}",
575
+ rejectedHint: "They are back in review with the reason. Fix them and send them again.",
576
+ retry: "Send them again",
577
+ review: "See them",
578
+ error: "The import failed",
579
+ tryAgain: "Try again"
459
580
  }
460
581
  },
461
582
  table: {