@kinetis/vector-ui 0.13.0 → 0.15.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 (241) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/app/components/Vx/Cell/BooleanGroup.vue +20 -0
  3. package/app/components/Vx/Cell/Country.vue +13 -0
  4. package/app/components/Vx/Cell/Json.vue +2 -8
  5. package/app/components/Vx/Cell/Repeater.vue +64 -0
  6. package/app/components/Vx/Cell/Select.vue +26 -0
  7. package/app/components/Vx/Cell/Tag.vue +15 -0
  8. package/app/components/Vx/CommandPalette.vue +5 -2
  9. package/app/components/Vx/Import/Dialog.vue +2 -1
  10. package/app/components/Vx/Input/BooleanGroup.vue +39 -0
  11. package/app/components/Vx/Input/Country.vue +14 -0
  12. package/app/components/Vx/Input/Json.vue +63 -0
  13. package/app/components/Vx/Input/Repeater.vue +142 -35
  14. package/app/components/Vx/Input/Select.vue +31 -0
  15. package/app/components/Vx/Input/Tag.vue +47 -0
  16. package/app/components/Vx/Input/Textarea.vue +0 -1
  17. package/app/components/Vx/Layout.vue +1 -1
  18. package/app/components/Vx/List/BulkEdit.vue +2 -1
  19. package/app/components/Vx/List/FilterBar.vue +25 -5
  20. package/app/components/Vx/Resource/Audit.vue +2 -1
  21. package/app/components/Vx/Resource/Form.vue +13 -10
  22. package/app/components/VxAi/ApprovalCard.vue +2 -2
  23. package/app/components/VxAi/Assistant.vue +6 -7
  24. package/app/composables/useVectorAssistant.ts +64 -40
  25. package/app/composables/useVectorCountryNames.ts +38 -0
  26. package/app/composables/useVectorFields.ts +5 -1
  27. package/app/composables/useVectorForm.ts +27 -3
  28. package/app/composables/useVectorInputs.ts +7 -5
  29. package/app/i18n/ar/fields.ts +15 -0
  30. package/app/i18n/ar/list.ts +2 -0
  31. package/app/i18n/de/fields.ts +15 -0
  32. package/app/i18n/de/list.ts +2 -0
  33. package/app/i18n/en/fields.ts +15 -0
  34. package/app/i18n/en/list.ts +2 -0
  35. package/app/i18n/es/fields.ts +15 -0
  36. package/app/i18n/es/list.ts +2 -0
  37. package/app/i18n/fr/fields.ts +15 -0
  38. package/app/i18n/fr/list.ts +2 -0
  39. package/app/i18n/he/fields.ts +15 -0
  40. package/app/i18n/he/list.ts +2 -0
  41. package/app/i18n/it/fields.ts +15 -0
  42. package/app/i18n/it/list.ts +2 -0
  43. package/app/i18n/ja/fields.ts +15 -0
  44. package/app/i18n/ja/list.ts +2 -0
  45. package/app/i18n/ko/fields.ts +15 -0
  46. package/app/i18n/ko/list.ts +2 -0
  47. package/app/i18n/nl/fields.ts +15 -0
  48. package/app/i18n/nl/list.ts +2 -0
  49. package/app/i18n/pl/fields.ts +15 -0
  50. package/app/i18n/pl/list.ts +2 -0
  51. package/app/i18n/pt/fields.ts +15 -0
  52. package/app/i18n/pt/list.ts +2 -0
  53. package/app/i18n/pt-BR/fields.ts +15 -0
  54. package/app/i18n/pt-BR/list.ts +2 -0
  55. package/app/i18n/ru/fields.ts +15 -0
  56. package/app/i18n/ru/list.ts +2 -0
  57. package/app/i18n/tr/fields.ts +15 -0
  58. package/app/i18n/tr/list.ts +2 -0
  59. package/app/i18n/uk/fields.ts +15 -0
  60. package/app/i18n/uk/list.ts +2 -0
  61. package/app/i18n/zh-Hans/fields.ts +15 -0
  62. package/app/i18n/zh-Hans/list.ts +2 -0
  63. package/app/types/vector.ts +47 -8
  64. package/app/utils/countries/ar.ts +252 -0
  65. package/app/utils/countries/de.ts +252 -0
  66. package/app/utils/countries/en.ts +252 -0
  67. package/app/utils/countries/es.ts +252 -0
  68. package/app/utils/countries/fr.ts +252 -0
  69. package/app/utils/countries/he.ts +252 -0
  70. package/app/utils/countries/index.ts +44 -0
  71. package/app/utils/countries/it.ts +252 -0
  72. package/app/utils/countries/ja.ts +252 -0
  73. package/app/utils/countries/ko.ts +252 -0
  74. package/app/utils/countries/nl.ts +252 -0
  75. package/app/utils/countries/pl.ts +252 -0
  76. package/app/utils/countries/pt-BR.ts +252 -0
  77. package/app/utils/countries/pt.ts +252 -0
  78. package/app/utils/countries/ru.ts +252 -0
  79. package/app/utils/countries/tr.ts +252 -0
  80. package/app/utils/countries/uk.ts +252 -0
  81. package/app/utils/countries/zh-Hans.ts +252 -0
  82. package/app/utils/internal/repeater.ts +26 -0
  83. package/app/utils/recordLinks.ts +1 -1
  84. package/app/utils/rules.ts +7 -4
  85. package/dist/static/200.html +1 -1
  86. package/dist/static/404.html +1 -1
  87. package/dist/static/_nuxt/{CVGEoUmj.js → 1608Z87P.js} +1 -1
  88. package/dist/static/_nuxt/26EG815s.js +1 -0
  89. package/dist/static/_nuxt/{y5gvPoD3.js → 5DQbzGzQ.js} +1 -1
  90. package/dist/static/_nuxt/6LnFMZ9h.js +1 -0
  91. package/dist/static/_nuxt/{B65UlNtP.js → 81b_JWVP.js} +1 -1
  92. package/dist/static/_nuxt/951AFxTF.js +1 -0
  93. package/dist/static/_nuxt/{DDsQjoa8.js → B-3DkDEW.js} +1 -1
  94. package/dist/static/_nuxt/{BSj4WTjT.js → B-OK38pz.js} +1 -1
  95. package/dist/static/_nuxt/B4lOfJ_0.js +1 -0
  96. package/dist/static/_nuxt/{DwpSsR4l.js → B5Jt7Eqg.js} +1 -1
  97. package/dist/static/_nuxt/{CWfptrnU.js → B9JchbmS.js} +1 -1
  98. package/dist/static/_nuxt/{Dao3p0cp.js → BAH3b61H.js} +1 -1
  99. package/dist/static/_nuxt/BAkfhUIC.js +1 -0
  100. package/dist/static/_nuxt/BAz8wQLD.js +1 -0
  101. package/dist/static/_nuxt/BDoRuUKE.js +1 -0
  102. package/dist/static/_nuxt/{DOEj9Txc.js → BHK5j1Wx.js} +1 -1
  103. package/dist/static/_nuxt/{B-b861aP.js → BJ0_qGcm.js} +1 -1
  104. package/dist/static/_nuxt/BLF1JZGX.js +1 -0
  105. package/dist/static/_nuxt/BLZaIPT-.js +1 -0
  106. package/dist/static/_nuxt/BPF07eww.js +1 -0
  107. package/dist/static/_nuxt/{DGQrzV9s.js → BPXec4rF.js} +1 -1
  108. package/dist/static/_nuxt/BRKbRioI.js +1 -0
  109. package/dist/static/_nuxt/{B2rZ5lwu.js → BRRBOyND.js} +1 -1
  110. package/dist/static/_nuxt/{DHNZ4ANp.js → BTJZEoE6.js} +1 -1
  111. package/dist/static/_nuxt/{XnbMqODk.js → BU7J96HZ.js} +1 -1
  112. package/dist/static/_nuxt/{CE5HzlKJ.js → BUzE9uBK.js} +1 -1
  113. package/dist/static/_nuxt/BV8jrBHa.js +1 -0
  114. package/dist/static/_nuxt/BVtNJY11.js +1 -0
  115. package/dist/static/_nuxt/BW2cAI58.js +1 -0
  116. package/dist/static/_nuxt/{B9s6vEby.js → BXXQNvGc.js} +1 -1
  117. package/dist/static/_nuxt/{DdYMnBKs.js → B_CsPjDm.js} +1 -1
  118. package/dist/static/_nuxt/{CLJSzUt5.js → B_VpcKtj.js} +1 -1
  119. package/dist/static/_nuxt/BaztYiAl.js +1 -0
  120. package/dist/static/_nuxt/{DYPYEI74.js → BfkrLuli.js} +1 -1
  121. package/dist/static/_nuxt/{BQitPbA5.js → Bg7Wm7qC.js} +1 -1
  122. package/dist/static/_nuxt/{B8JL5gwX.js → Bk8atvdO.js} +1 -1
  123. package/dist/static/_nuxt/BklrzIIE.js +1 -0
  124. package/dist/static/_nuxt/Bl60DsIN.js +1 -0
  125. package/dist/static/_nuxt/{Clx69IQe.js → BoceWX8_.js} +1 -1
  126. package/dist/static/_nuxt/BooleanGroup.Ctn8QJv3.css +1 -0
  127. package/dist/static/_nuxt/BqdQqPGG.js +1 -0
  128. package/dist/static/_nuxt/{CFuvN8kq.js → BsHddetz.js} +1 -1
  129. package/dist/static/_nuxt/BtBn_mmM.js +1 -0
  130. package/dist/static/_nuxt/BtWvh8h-.js +1 -0
  131. package/dist/static/_nuxt/ByM6U2Qe.js +1 -0
  132. package/dist/static/_nuxt/C2ZWScju.js +1 -0
  133. package/dist/static/_nuxt/C6doA815.js +1 -0
  134. package/dist/static/_nuxt/CALBeSnc.js +1 -0
  135. package/dist/static/_nuxt/CB2gkR4K.js +1 -0
  136. package/dist/static/_nuxt/CCXHWF63.js +1 -0
  137. package/dist/static/_nuxt/CCnG_04Y.js +1 -0
  138. package/dist/static/_nuxt/CDzeC03e.js +1 -0
  139. package/dist/static/_nuxt/{BJxaGigr.js → CFgMeWCA.js} +1 -1
  140. package/dist/static/_nuxt/CG1HFqc_.js +1 -0
  141. package/dist/static/_nuxt/CGdWq8l5.js +1 -0
  142. package/dist/static/_nuxt/{CSgLLbCN.js → CJCWDpGq.js} +1 -1
  143. package/dist/static/_nuxt/{DcC5rHQt.js → CKfr82y9.js} +1 -1
  144. package/dist/static/_nuxt/CMc4sXE8.js +1 -0
  145. package/dist/static/_nuxt/CMqJrosi.js +1 -0
  146. package/dist/static/_nuxt/{CF_C4t63.js → CRKTuX5e.js} +1 -1
  147. package/dist/static/_nuxt/{tv5vSe5Y.js → CS--aGS9.js} +1 -1
  148. package/dist/static/_nuxt/{BJh6qVAK.js → CVQf7G1i.js} +1 -1
  149. package/dist/static/_nuxt/CVnTGJCS.js +1 -0
  150. package/dist/static/_nuxt/{DpWwaWd-.js → CXfD1O41.js} +12 -12
  151. package/dist/static/_nuxt/{DAXm0JlI.js → CZJzNdT8.js} +1 -1
  152. package/dist/static/_nuxt/Cdge5zAy.js +1 -0
  153. package/dist/static/_nuxt/CghQmIiQ.js +2 -0
  154. package/dist/static/_nuxt/{2u7wMpR1.js → Ci8knhX0.js} +1 -1
  155. package/dist/static/_nuxt/CjX9KrPv.js +1 -0
  156. package/dist/static/_nuxt/{Bw6FrC2B.js → CkYhLHis.js} +1 -1
  157. package/dist/static/_nuxt/{Dw7WalTb.js → CrHibPfx.js} +1 -1
  158. package/dist/static/_nuxt/CrVTXZp1.js +2 -0
  159. package/dist/static/_nuxt/CuOAA5sP.js +1 -0
  160. package/dist/static/_nuxt/{Bl4F_9Di.js → CuW09Pf9.js} +1 -1
  161. package/dist/static/_nuxt/D4MxxnmM.js +1 -0
  162. package/dist/static/_nuxt/D52PLnR1.js +1 -0
  163. package/dist/static/_nuxt/DFM4TY5F.js +1 -0
  164. package/dist/static/_nuxt/DG9iSq1o.js +1 -0
  165. package/dist/static/_nuxt/{CRAHgjs4.js → DK-FyJq0.js} +1 -1
  166. package/dist/static/_nuxt/{AbcTnLPe.js → DL-Y-SrR.js} +1 -1
  167. package/dist/static/_nuxt/DMsb54_5.js +2 -0
  168. package/dist/static/_nuxt/{CD5zJmlk.js → DPDKc2ix.js} +1 -1
  169. package/dist/static/_nuxt/DSzAMcFx.js +1 -0
  170. package/dist/static/_nuxt/DTacXreK.js +1 -0
  171. package/dist/static/_nuxt/DXCyzcMc.js +2 -0
  172. package/dist/static/_nuxt/DaThP9To.js +1 -0
  173. package/dist/static/_nuxt/{DryMzf1V.js → DoBDwz9i.js} +1 -1
  174. package/dist/static/_nuxt/{CIcNJyjb.js → Doofu92H.js} +1 -1
  175. package/dist/static/_nuxt/{SacKuioS.js → DvUd-qQE.js} +1 -1
  176. package/dist/static/_nuxt/ETG88Leh.js +1 -0
  177. package/dist/static/_nuxt/{WAarVmAq.js → IeIjl2of.js} +1 -1
  178. package/dist/static/_nuxt/MCKoiB3E.js +1 -0
  179. package/dist/static/_nuxt/{CjYmnU-l.js → NWmnUlHT.js} +1 -1
  180. package/dist/static/_nuxt/QPvezGDN.js +1 -0
  181. package/dist/static/_nuxt/QfM1ukFT.js +1 -0
  182. package/dist/static/_nuxt/RHss5Znh.js +1 -0
  183. package/dist/static/_nuxt/Repeater.Dt7fQjxv.css +1 -0
  184. package/dist/static/_nuxt/Rvt5jKoB.js +1 -0
  185. package/dist/static/_nuxt/{BowgCQje.js → UOMH3sKh.js} +1 -1
  186. package/dist/static/_nuxt/VCombobox.xsOJFBr8.css +1 -0
  187. package/dist/static/_nuxt/Yxj3clqu.js +1 -0
  188. package/dist/static/_nuxt/ZgjlRAd9.js +1 -0
  189. package/dist/static/_nuxt/{_resource_.Q2lVCG-n.css → _resource_.DiGLdv9u.css} +1 -1
  190. package/dist/static/_nuxt/builds/latest.json +1 -1
  191. package/dist/static/_nuxt/builds/meta/691bfc1d-4be7-4e21-9e24-735eb94ef678.json +1 -0
  192. package/dist/static/_nuxt/{entry.CANiyyNa.css → entry.B2UXd7Ey.css} +1 -1
  193. package/dist/static/_nuxt/{CHIGMs2v.js → jFK8N1q6.js} +1 -1
  194. package/dist/static/_nuxt/{DOq2YmIE.js → k4v9WOKm.js} +1 -1
  195. package/dist/static/_nuxt/{yIw8BzU6.js → lSAJcvgX.js} +1 -1
  196. package/dist/static/_nuxt/{B8wNbnS0.js → nJa3B-VU.js} +1 -1
  197. package/dist/static/_nuxt/{Cpel4vlt.js → sjOc3hy9.js} +1 -1
  198. package/dist/static/_nuxt/wFK8Gpv4.js +1 -0
  199. package/dist/static/_nuxt/{HdAGfEVj.js → xCL8Cexv.js} +1 -1
  200. package/dist/static/_nuxt/yks44VUO.js +1 -0
  201. package/dist/static/_nuxt/ypCgn3lo.js +1 -0
  202. package/dist/static/_nuxt/zY76lC6C.js +1 -0
  203. package/dist/static/index.html +1 -1
  204. package/dist/static/jobs/index.html +1 -1
  205. package/dist/static/login/index.html +1 -1
  206. package/dist/static/queues/index.html +1 -1
  207. package/dist/static/settings/index.html +1 -1
  208. package/dist/static/vector-bundle.json +125 -92
  209. package/package.json +1 -1
  210. package/app/components/Vx/Cell/Enum.vue +0 -14
  211. package/app/components/Vx/Input/Enum.vue +0 -21
  212. package/dist/static/_nuxt/-ksGenLl.js +0 -1
  213. package/dist/static/_nuxt/0Q9tQaGZ.js +0 -1
  214. package/dist/static/_nuxt/7hLwEPpo.js +0 -1
  215. package/dist/static/_nuxt/B4hfz7cN.js +0 -1
  216. package/dist/static/_nuxt/BE6e_jlD.js +0 -1
  217. package/dist/static/_nuxt/BFZfZyte.js +0 -1
  218. package/dist/static/_nuxt/BW9qBvMR.js +0 -1
  219. package/dist/static/_nuxt/BWscDCZb.js +0 -1
  220. package/dist/static/_nuxt/BXnWvqRw.js +0 -1
  221. package/dist/static/_nuxt/BcSEGymu.js +0 -2
  222. package/dist/static/_nuxt/Bj-QksVr.js +0 -2
  223. package/dist/static/_nuxt/BuTE4a2w.js +0 -1
  224. package/dist/static/_nuxt/C1y0neXX.js +0 -1
  225. package/dist/static/_nuxt/C52FYB-5.js +0 -1
  226. package/dist/static/_nuxt/CAXk9Oc1.js +0 -1
  227. package/dist/static/_nuxt/CQvUQgZO.js +0 -2
  228. package/dist/static/_nuxt/CXSf4TOH.js +0 -1
  229. package/dist/static/_nuxt/Cf2NM87n.js +0 -1
  230. package/dist/static/_nuxt/D3cIKCPa.js +0 -1
  231. package/dist/static/_nuxt/D3jC5ZAK.js +0 -1
  232. package/dist/static/_nuxt/D3xofh1k.js +0 -1
  233. package/dist/static/_nuxt/DOxWca9k.js +0 -1
  234. package/dist/static/_nuxt/DllQuWrz.js +0 -1
  235. package/dist/static/_nuxt/DvEvjhbF.js +0 -1
  236. package/dist/static/_nuxt/FfebEZGy.js +0 -1
  237. package/dist/static/_nuxt/PqTF-5Vs.js +0 -1
  238. package/dist/static/_nuxt/Repeater.CLIPcHKX.css +0 -1
  239. package/dist/static/_nuxt/bNqxxQg2.js +0 -1
  240. package/dist/static/_nuxt/builds/meta/f78103ad-2489-4aee-b300-160bb1a81e35.json +0 -1
  241. package/dist/static/_nuxt/rYfJ_RlJ.js +0 -1
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: 'Ładowanie: {label}',
5
5
  },
6
+ json: {
7
+ invalid: 'Wpisz poprawny obiekt lub tablicę JSON.',
8
+ },
6
9
  keyValue: {
7
10
  key: 'Klucz',
8
11
  value: 'Wartość',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: 'Nieprawidłowy format',
75
78
  notAllowed: 'Niedozwolona wartość',
76
79
  },
80
+ rows: {
81
+ add: 'Dodaj wiersz',
82
+ remove: 'Usuń wiersz {n}',
83
+ row: 'Wiersz {n}',
84
+ drag: 'Przenieś wiersz {n}: przeciągnij go lub użyj klawiszy strzałek',
85
+ moved: 'Wiersz {from} przeniesiono na pozycję {to}',
86
+ none: 'Brak wierszy',
87
+ },
88
+ tags: {
89
+ hint: 'Wpisz tag i naciśnij Enter',
90
+ tooMany: 'Najwyżej {max} tagów',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: 'zawiera',
105
105
  nlike: 'nie zawiera',
106
106
  between: 'jest między',
107
+ any: 'zawiera jedno z',
108
+ all: 'zawiera wszystkie',
107
109
  null: 'jest puste',
108
110
  nnull: 'nie jest puste',
109
111
  },
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: 'A carregar {label}',
5
5
  },
6
+ json: {
7
+ invalid: 'Introduza um objeto ou uma matriz JSON válidos.',
8
+ },
6
9
  keyValue: {
7
10
  key: 'Chave',
8
11
  value: 'Valor',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: 'Formato inválido',
75
78
  notAllowed: 'Valor não permitido',
76
79
  },
80
+ rows: {
81
+ add: 'Adicionar linha',
82
+ remove: 'Remover a linha {n}',
83
+ row: 'Linha {n}',
84
+ drag: 'Mover a linha {n}: arraste-a ou utilize as teclas de seta',
85
+ moved: 'Linha {from} movida para a posição {to}',
86
+ none: 'Sem linhas',
87
+ },
88
+ tags: {
89
+ hint: 'Escreva uma etiqueta e prima Enter',
90
+ tooMany: 'No máximo {max} etiquetas',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: 'contém',
105
105
  nlike: 'não contém',
106
106
  between: 'está entre',
107
+ any: 'inclui um de',
108
+ all: 'inclui todos',
107
109
  null: 'está vazio',
108
110
  nnull: 'não está vazio',
109
111
  },
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: 'Carregando {label}',
5
5
  },
6
+ json: {
7
+ invalid: 'Insira um objeto ou array JSON válido.',
8
+ },
6
9
  keyValue: {
7
10
  key: 'Chave',
8
11
  value: 'Valor',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: 'Formato inválido',
75
78
  notAllowed: 'Valor não permitido',
76
79
  },
80
+ rows: {
81
+ add: 'Adicionar linha',
82
+ remove: 'Remover a linha {n}',
83
+ row: 'Linha {n}',
84
+ drag: 'Mover a linha {n}: arraste-a ou use as teclas de seta',
85
+ moved: 'Linha {from} movida para a posição {to}',
86
+ none: 'Nenhuma linha',
87
+ },
88
+ tags: {
89
+ hint: 'Digite uma tag e pressione Enter',
90
+ tooMany: 'No máximo {max} tags',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: 'contém',
105
105
  nlike: 'não contém',
106
106
  between: 'está entre',
107
+ any: 'inclui um de',
108
+ all: 'inclui todos',
107
109
  null: 'está vazio',
108
110
  nnull: 'não está vazio',
109
111
  },
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: 'Загрузка: {label}',
5
5
  },
6
+ json: {
7
+ invalid: 'Введите корректный объект или массив JSON.',
8
+ },
6
9
  keyValue: {
7
10
  key: 'Ключ',
8
11
  value: 'Значение',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: 'Неверный формат',
75
78
  notAllowed: 'Недопустимое значение',
76
79
  },
80
+ rows: {
81
+ add: 'Добавить строку',
82
+ remove: 'Удалить строку {n}',
83
+ row: 'Строка {n}',
84
+ drag: 'Переместить строку {n}: перетащите её или используйте клавиши со стрелками',
85
+ moved: 'Строка {from} перемещена на позицию {to}',
86
+ none: 'Нет строк',
87
+ },
88
+ tags: {
89
+ hint: 'Введите тег и нажмите Enter',
90
+ tooMany: 'Не более {max} тегов',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: 'содержит',
105
105
  nlike: 'не содержит',
106
106
  between: 'между',
107
+ any: 'содержит любое из',
108
+ all: 'содержит все из',
107
109
  null: 'пусто',
108
110
  nnull: 'не пусто',
109
111
  },
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: '{label} yükleniyor',
5
5
  },
6
+ json: {
7
+ invalid: 'Geçerli bir JSON nesnesi veya dizisi girin.',
8
+ },
6
9
  keyValue: {
7
10
  key: 'Anahtar',
8
11
  value: 'Değer',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: 'Geçersiz biçim',
75
78
  notAllowed: 'İzin verilen bir değer değil',
76
79
  },
80
+ rows: {
81
+ add: 'Satır ekle',
82
+ remove: '{n}. satırı kaldır',
83
+ row: '{n}. satır',
84
+ drag: '{n}. satırı taşı: sürükleyin ya da ok tuşlarını kullanın',
85
+ moved: '{from}. satır {to}. sıraya taşındı',
86
+ none: 'Satır yok',
87
+ },
88
+ tags: {
89
+ hint: 'Bir etiket yazıp Enter tuşuna basın',
90
+ tooMany: 'En fazla {max} etiket',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: 'içerir',
105
105
  nlike: 'içermez',
106
106
  between: 'arasında',
107
+ any: 'şunlardan birini içerir',
108
+ all: 'şunların hepsini içerir',
107
109
  null: 'boş',
108
110
  nnull: 'boş değil',
109
111
  },
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: 'Завантаження: {label}',
5
5
  },
6
+ json: {
7
+ invalid: 'Введіть коректний об’єкт або масив JSON.',
8
+ },
6
9
  keyValue: {
7
10
  key: 'Ключ',
8
11
  value: 'Значення',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: 'Неправильний формат',
75
78
  notAllowed: 'Недопустиме значення',
76
79
  },
80
+ rows: {
81
+ add: 'Додати рядок',
82
+ remove: 'Вилучити рядок {n}',
83
+ row: 'Рядок {n}',
84
+ drag: 'Перемістити рядок {n}: перетягніть його або скористайтеся клавішами зі стрілками',
85
+ moved: 'Рядок {from} переміщено на позицію {to}',
86
+ none: 'Немає рядків',
87
+ },
88
+ tags: {
89
+ hint: 'Введіть тег і натисніть Enter',
90
+ tooMany: 'Не більше {max} тегів',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: 'містить',
105
105
  nlike: 'не містить',
106
106
  between: 'у межах',
107
+ any: 'містить будь-яке з',
108
+ all: 'містить усі з',
107
109
  null: 'порожнє',
108
110
  nnull: 'не порожнє',
109
111
  },
@@ -3,6 +3,9 @@ export default {
3
3
  cell: {
4
4
  loading: '正在加载{label}',
5
5
  },
6
+ json: {
7
+ invalid: '请输入有效的 JSON 对象或数组。',
8
+ },
6
9
  keyValue: {
7
10
  key: '键',
8
11
  value: '值',
@@ -74,4 +77,16 @@ export default {
74
77
  invalidFormat: '格式无效',
75
78
  notAllowed: '不是允许的值',
76
79
  },
80
+ rows: {
81
+ add: '添加行',
82
+ remove: '移除第 {n} 行',
83
+ row: '第 {n} 行',
84
+ drag: '移动第 {n} 行:拖动它,或使用方向键',
85
+ moved: '第 {from} 行已移到第 {to} 位',
86
+ none: '没有行',
87
+ },
88
+ tags: {
89
+ hint: '输入标签后按 Enter',
90
+ tooMany: '最多 {max} 个标签',
91
+ },
77
92
  }
@@ -104,6 +104,8 @@ export default {
104
104
  like: '包含',
105
105
  nlike: '不包含',
106
106
  between: '介于',
107
+ any: '包含任一',
108
+ all: '包含全部',
107
109
  null: '为空',
108
110
  nnull: '不为空',
109
111
  },
@@ -5,9 +5,34 @@
5
5
 
6
6
  export type VectorFieldType =
7
7
  | 'id' | 'string' | 'text' | 'markdown' | 'number' | 'money' | 'boolean'
8
- | 'enum' | 'date' | 'datetime' | 'email' | 'url' | 'password' | 'slug'
8
+ | 'select' | 'country' | 'booleanGroup' | 'date' | 'datetime' | 'email' | 'url' | 'password' | 'slug'
9
9
  | 'color' | 'json' | 'keyValue' | 'currency' | 'file' | 'image'
10
10
  | 'belongsTo' | 'hasOne' | 'hasMany' | 'manyToMany' | 'computed' | 'richtext'
11
+ | 'repeater' | 'tag'
12
+
13
+ /**
14
+ * A repeater's rows. `json`: a JSON list of objects of `rowFields`.
15
+ * `relationship`: child records of `relation.resource`, `fields` naming
16
+ * the child fields a row writes. `sortable`: rows reorder by dragging
17
+ * (always for `json`; for `relationship` when `orderBy` names the child
18
+ * property that takes each row's index).
19
+ */
20
+ export interface VectorRepeater {
21
+ mode: 'json' | 'relationship'
22
+ fields: string[]
23
+ min: number
24
+ max: number
25
+ sortable: boolean
26
+ orderBy: string | null
27
+ rowFields?: VectorField[]
28
+ }
29
+
30
+ /** A tag field's suggestions (any other text is a tag too) and limits. */
31
+ export interface VectorTags {
32
+ suggestions: string[]
33
+ maxLength: number
34
+ maxTags: number
35
+ }
11
36
 
12
37
  /** A rich-text feature: a node or mark type the field's schema allows (or one a runtime extension added). */
13
38
  export type VectorRichTextFeature = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'heading' | 'list' | 'blockquote' | 'codeBlock' | 'horizontalRule' | 'link' | 'table' | 'image' | 'mention' | (string & {})
@@ -25,11 +50,12 @@ export interface VectorRichText {
25
50
  }
26
51
 
27
52
  /** What a computed field is shown as. */
28
- export type VectorComputedAs = 'text' | 'number' | 'money' | 'boolean' | 'date' | 'datetime' | 'enum'
53
+ export type VectorComputedAs = 'text' | 'number' | 'money' | 'boolean' | 'date' | 'datetime' | 'select'
29
54
 
30
55
  export type VectorView = 'index' | 'show' | 'create' | 'update'
31
56
 
32
- export interface VectorEnumOption {
57
+ /** One choice of a select (or a currency): its stored value, label and chip colour. */
58
+ export interface VectorSelectOption {
33
59
  value: string | number
34
60
  label: string
35
61
  color: string | null
@@ -50,7 +76,8 @@ export interface VectorRelation {
50
76
  dependsOn?: { field: string, on: string, label: string } | null
51
77
  }
52
78
 
53
- export type VectorOperator = 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'nin' | 'like' | 'nlike' | 'between' | 'null' | 'nnull'
79
+ /** `any` and `all` filter a list (a multiple select's options, tags) by a comma-separated list of values. */
80
+ export type VectorOperator = 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'nin' | 'like' | 'nlike' | 'between' | 'any' | 'all' | 'null' | 'nnull'
54
81
 
55
82
  /**
56
83
  * A resource's or field's metadata bag, as `#[Resource(meta: ...)]` and
@@ -72,8 +99,10 @@ export interface VectorField {
72
99
  inline?: boolean
73
100
  /** Unique among the resource's records: a duplicate starts without it; an import may match by it. */
74
101
  unique?: boolean
75
- /** hasMany: the owned rows edited inside the parent's form */
76
- repeater?: { fields: string[], min: number, max: number } | null
102
+ /** A repeater: the rows edited inside the record's form. */
103
+ repeater?: VectorRepeater | null
104
+ /** A tag field: free-text strings shown as chips. */
105
+ tags?: VectorTags
77
106
  help: string | null
78
107
  component: string | null
79
108
  views: VectorView[]
@@ -84,8 +113,18 @@ export interface VectorField {
84
113
  hasDefault: boolean
85
114
  operators: VectorOperator[]
86
115
  nullable?: boolean
87
- valueType?: 'string' | 'int' | 'float' | 'bool' | 'timestamp' | 'date'
88
- options?: VectorEnumOption[]
116
+ valueType?: 'string' | 'int' | 'float' | 'bool' | 'timestamp' | 'date' | 'json'
117
+ options?: VectorSelectOption[]
118
+ /** A select holding several options: a list, in the order the options are declared. */
119
+ multiple?: boolean
120
+ /** A select whose input searches its options (searchable()). */
121
+ autocomplete?: boolean
122
+ /** A select shown as coloured chips (badge()). */
123
+ badge?: boolean
124
+ /** A flag group's storage: a bool column per option (each also filtered and sorted as `group.key`), or one JSON object. */
125
+ storage?: 'columns' | 'json'
126
+ /** A columns-mode flag group whose flags sort as `group.key`. */
127
+ flagsSortable?: boolean
89
128
  relation?: VectorRelation
90
129
  conditions?: VectorFieldConditions
91
130
  /** A computed field: shown as `as`, computed on the server from the `from` fields. */
@@ -0,0 +1,252 @@
1
+ // generated by scripts/generate-countries.mjs from CLDR data (Node 26.13.1, ICU 78.3, CLDR 48.0); do not edit by hand
2
+ export default {
3
+ AD: 'أندورا',
4
+ AE: 'الإمارات العربية المتحدة',
5
+ AF: 'أفغانستان',
6
+ AG: 'أنتيغوا وبربودا',
7
+ AI: 'أنغويلا',
8
+ AL: 'ألبانيا',
9
+ AM: 'أرمينيا',
10
+ AO: 'أنغولا',
11
+ AQ: 'أنتاركتيكا',
12
+ AR: 'الأرجنتين',
13
+ AS: 'ساموا الأمريكية',
14
+ AT: 'النمسا',
15
+ AU: 'أستراليا',
16
+ AW: 'أروبا',
17
+ AX: 'جزر آلاند',
18
+ AZ: 'أذربيجان',
19
+ BA: 'البوسنة والهرسك',
20
+ BB: 'بربادوس',
21
+ BD: 'بنغلاديش',
22
+ BE: 'بلجيكا',
23
+ BF: 'بوركينا فاسو',
24
+ BG: 'بلغاريا',
25
+ BH: 'البحرين',
26
+ BI: 'بوروندي',
27
+ BJ: 'بنين',
28
+ BL: 'سان بارتليمي',
29
+ BM: 'برمودا',
30
+ BN: 'بروناي',
31
+ BO: 'بوليفيا',
32
+ BQ: 'هولندا الكاريبية',
33
+ BR: 'البرازيل',
34
+ BS: 'جزر البهاما',
35
+ BT: 'بوتان',
36
+ BV: 'جزيرة بوفيه',
37
+ BW: 'بوتسوانا',
38
+ BY: 'بيلاروس',
39
+ BZ: 'بليز',
40
+ CA: 'كندا',
41
+ CC: 'جزر كوكوس (كيلينغ)',
42
+ CD: 'الكونغو - كينشاسا',
43
+ CF: 'جمهورية أفريقيا الوسطى',
44
+ CG: 'الكونغو - برازافيل',
45
+ CH: 'سويسرا',
46
+ CI: 'ساحل العاج',
47
+ CK: 'جزر كوك',
48
+ CL: 'تشيلي',
49
+ CM: 'الكاميرون',
50
+ CN: 'الصين',
51
+ CO: 'كولومبيا',
52
+ CR: 'كوستاريكا',
53
+ CU: 'كوبا',
54
+ CV: 'الرأس الأخضر',
55
+ CW: 'كوراساو',
56
+ CX: 'جزيرة كريسماس',
57
+ CY: 'قبرص',
58
+ CZ: 'التشيك',
59
+ DE: 'ألمانيا',
60
+ DJ: 'جيبوتي',
61
+ DK: 'الدانمرك',
62
+ DM: 'دومينيكا',
63
+ DO: 'جمهورية الدومينيكان',
64
+ DZ: 'الجزائر',
65
+ EC: 'الإكوادور',
66
+ EE: 'إستونيا',
67
+ EG: 'مصر',
68
+ EH: 'الصحراء الغربية',
69
+ ER: 'إريتريا',
70
+ ES: 'إسبانيا',
71
+ ET: 'إثيوبيا',
72
+ FI: 'فنلندا',
73
+ FJ: 'فيجي',
74
+ FK: 'جزر فوكلاند',
75
+ FM: 'ميكرونيزيا',
76
+ FO: 'جزر فارو',
77
+ FR: 'فرنسا',
78
+ GA: 'الغابون',
79
+ GB: 'المملكة المتحدة',
80
+ GD: 'غرينادا',
81
+ GE: 'جورجيا',
82
+ GF: 'غويانا الفرنسية',
83
+ GG: 'غيرنزي',
84
+ GH: 'غانا',
85
+ GI: 'جبل طارق',
86
+ GL: 'غرينلاند',
87
+ GM: 'غامبيا',
88
+ GN: 'غينيا',
89
+ GP: 'غوادلوب',
90
+ GQ: 'غينيا الاستوائية',
91
+ GR: 'اليونان',
92
+ GS: 'جورجيا الجنوبية وجزر ساندويتش الجنوبية',
93
+ GT: 'غواتيمالا',
94
+ GU: 'غوام',
95
+ GW: 'غينيا بيساو',
96
+ GY: 'غيانا',
97
+ HK: 'هونغ كونغ الصينية (منطقة إدارية خاصة)',
98
+ HM: 'جزيرة هيرد وجزر ماكدونالد',
99
+ HN: 'هندوراس',
100
+ HR: 'كرواتيا',
101
+ HT: 'هايتي',
102
+ HU: 'هنغاريا',
103
+ ID: 'إندونيسيا',
104
+ IE: 'أيرلندا',
105
+ IL: 'إسرائيل',
106
+ IM: 'جزيرة مان',
107
+ IN: 'الهند',
108
+ IO: 'الإقليم البريطاني في المحيط الهندي',
109
+ IQ: 'العراق',
110
+ IR: 'إيران',
111
+ IS: 'آيسلندا',
112
+ IT: 'إيطاليا',
113
+ JE: 'جيرسي',
114
+ JM: 'جامايكا',
115
+ JO: 'الأردن',
116
+ JP: 'اليابان',
117
+ KE: 'كينيا',
118
+ KG: 'قيرغيزستان',
119
+ KH: 'كمبوديا',
120
+ KI: 'كيريباتي',
121
+ KM: 'جزر القمر',
122
+ KN: 'سانت كيتس ونيفيس',
123
+ KP: 'كوريا الشمالية',
124
+ KR: 'كوريا الجنوبية',
125
+ KW: 'الكويت',
126
+ KY: 'جزر كايمان',
127
+ KZ: 'كازاخستان',
128
+ LA: 'لاوس',
129
+ LB: 'لبنان',
130
+ LC: 'سانت لوسيا',
131
+ LI: 'ليختنشتاين',
132
+ LK: 'سريلانكا',
133
+ LR: 'ليبيريا',
134
+ LS: 'ليسوتو',
135
+ LT: 'ليتوانيا',
136
+ LU: 'لوكسمبورغ',
137
+ LV: 'لاتفيا',
138
+ LY: 'ليبيا',
139
+ MA: 'المغرب',
140
+ MC: 'موناكو',
141
+ MD: 'مولدوفا',
142
+ ME: 'الجبل الأسود',
143
+ MF: 'سان مارتن',
144
+ MG: 'مدغشقر',
145
+ MH: 'جزر مارشال',
146
+ MK: 'مقدونيا الشمالية',
147
+ ML: 'مالي',
148
+ MM: 'ميانمار (بورما)',
149
+ MN: 'منغوليا',
150
+ MO: 'منطقة ماكاو الإدارية الخاصة',
151
+ MP: 'جزر ماريانا الشمالية',
152
+ MQ: 'جزر المارتينيك',
153
+ MR: 'موريتانيا',
154
+ MS: 'مونتسرات',
155
+ MT: 'مالطا',
156
+ MU: 'موريشيوس',
157
+ MV: 'جزر المالديف',
158
+ MW: 'ملاوي',
159
+ MX: 'المكسيك',
160
+ MY: 'ماليزيا',
161
+ MZ: 'موزمبيق',
162
+ NA: 'ناميبيا',
163
+ NC: 'كاليدونيا الجديدة',
164
+ NE: 'النيجر',
165
+ NF: 'جزيرة نورفولك',
166
+ NG: 'نيجيريا',
167
+ NI: 'نيكاراغوا',
168
+ NL: 'هولندا',
169
+ NO: 'النرويج',
170
+ NP: 'نيبال',
171
+ NR: 'ناورو',
172
+ NU: 'نيوي',
173
+ NZ: 'نيوزيلندا',
174
+ OM: 'عُمان',
175
+ PA: 'بنما',
176
+ PE: 'بيرو',
177
+ PF: 'بولينيزيا الفرنسية',
178
+ PG: 'بابوا غينيا الجديدة',
179
+ PH: 'الفلبين',
180
+ PK: 'باكستان',
181
+ PL: 'بولندا',
182
+ PM: 'سان بيير ومكويلون',
183
+ PN: 'جزر بيتكيرن',
184
+ PR: 'بورتوريكو',
185
+ PS: 'الأراضي الفلسطينية',
186
+ PT: 'البرتغال',
187
+ PW: 'بالاو',
188
+ PY: 'باراغواي',
189
+ QA: 'قطر',
190
+ RE: 'روينيون',
191
+ RO: 'رومانيا',
192
+ RS: 'صربيا',
193
+ RU: 'روسيا',
194
+ RW: 'رواندا',
195
+ SA: 'المملكة العربية السعودية',
196
+ SB: 'جزر سليمان',
197
+ SC: 'سيشل',
198
+ SD: 'السودان',
199
+ SE: 'السويد',
200
+ SG: 'سنغافورة',
201
+ SH: 'سانت هيلينا',
202
+ SI: 'سلوفينيا',
203
+ SJ: 'سفالبارد وجان ماين',
204
+ SK: 'سلوفاكيا',
205
+ SL: 'سيراليون',
206
+ SM: 'سان مارينو',
207
+ SN: 'السنغال',
208
+ SO: 'الصومال',
209
+ SR: 'سورينام',
210
+ SS: 'جنوب السودان',
211
+ ST: 'ساو تومي وبرينسيبي',
212
+ SV: 'السلفادور',
213
+ SX: 'سانت مارتن',
214
+ SY: 'سوريا',
215
+ SZ: 'إسواتيني',
216
+ TC: 'جزر توركس وكايكوس',
217
+ TD: 'تشاد',
218
+ TF: 'الأقاليم الجنوبية الفرنسية',
219
+ TG: 'توغو',
220
+ TH: 'تايلاند',
221
+ TJ: 'طاجيكستان',
222
+ TK: 'توكيلاو',
223
+ TL: 'تيمور - ليشتي',
224
+ TM: 'تركمانستان',
225
+ TN: 'تونس',
226
+ TO: 'تونغا',
227
+ TR: 'تركيا',
228
+ TT: 'ترينيداد وتوباغو',
229
+ TV: 'توفالو',
230
+ TW: 'تايوان',
231
+ TZ: 'تنزانيا',
232
+ UA: 'أوكرانيا',
233
+ UG: 'أوغندا',
234
+ UM: 'جزر الولايات المتحدة النائية',
235
+ US: 'الولايات المتحدة',
236
+ UY: 'أورغواي',
237
+ UZ: 'أوزبكستان',
238
+ VA: 'الفاتيكان',
239
+ VC: 'سانت فنسنت وجزر غرينادين',
240
+ VE: 'فنزويلا',
241
+ VG: 'جزر فيرجن البريطانية',
242
+ VI: 'جزر فيرجن الأمريكية',
243
+ VN: 'فيتنام',
244
+ VU: 'فانواتو',
245
+ WF: 'جزر والس وفوتونا',
246
+ WS: 'ساموا',
247
+ YE: 'اليمن',
248
+ YT: 'مايوت',
249
+ ZA: 'جنوب أفريقيا',
250
+ ZM: 'زامبيا',
251
+ ZW: 'زيمبابوي',
252
+ } as const satisfies Record<string, string>