@hostlink/nuxt-light 1.53.0 → 1.54.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 (352) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +9 -3
  3. package/dist/runtime/components/L/CustomField/Add.d.vue.ts +9 -6
  4. package/dist/runtime/components/L/CustomField/Add.vue.d.ts +9 -6
  5. package/dist/runtime/components/L/CustomField/List.d.vue.ts +2 -5
  6. package/dist/runtime/components/L/CustomField/List.vue.d.ts +2 -5
  7. package/dist/runtime/components/L/Database/create-table-dialog.d.vue.ts +7 -4
  8. package/dist/runtime/components/L/Database/create-table-dialog.vue.d.ts +7 -4
  9. package/dist/runtime/components/L/Fieldset.d.vue.ts +8 -6
  10. package/dist/runtime/components/L/Fieldset.vue.d.ts +8 -6
  11. package/dist/runtime/components/L/ForgetPasswordDialog.d.vue.ts +2 -1
  12. package/dist/runtime/components/L/ForgetPasswordDialog.vue +2 -1
  13. package/dist/runtime/components/L/ForgetPasswordDialog.vue.d.ts +2 -1
  14. package/dist/runtime/components/L/Revision.d.vue.ts +8 -6
  15. package/dist/runtime/components/L/Revision.vue.d.ts +8 -6
  16. package/dist/runtime/components/L/Storage.d.vue.ts +7 -5
  17. package/dist/runtime/components/L/Storage.vue.d.ts +7 -5
  18. package/dist/runtime/components/L/System/Setting/authentication.d.vue.ts +3 -8
  19. package/dist/runtime/components/L/System/Setting/authentication.vue.d.ts +3 -8
  20. package/dist/runtime/components/L/System/Setting/developer.d.vue.ts +3 -5
  21. package/dist/runtime/components/L/System/Setting/developer.vue.d.ts +3 -5
  22. package/dist/runtime/components/L/System/Setting/forget-password.d.vue.ts +3 -6
  23. package/dist/runtime/components/L/System/Setting/forget-password.vue.d.ts +3 -6
  24. package/dist/runtime/components/L/System/Setting/general.d.vue.ts +3 -7
  25. package/dist/runtime/components/L/System/Setting/general.vue.d.ts +3 -7
  26. package/dist/runtime/components/L/System/Setting/mail.d.vue.ts +3 -4
  27. package/dist/runtime/components/L/System/Setting/mail.vue.d.ts +3 -4
  28. package/dist/runtime/components/L/System/Setting/modules.d.vue.ts +2 -1
  29. package/dist/runtime/components/L/System/Setting/modules.vue.d.ts +2 -1
  30. package/dist/runtime/components/L/System/Setting/security.d.vue.ts +3 -15
  31. package/dist/runtime/components/L/System/Setting/security.vue.d.ts +3 -15
  32. package/dist/runtime/components/L/User/eventlog.d.vue.ts +2 -1
  33. package/dist/runtime/components/L/User/eventlog.vue.d.ts +2 -1
  34. package/dist/runtime/components/L/User/overview.d.vue.ts +2 -1
  35. package/dist/runtime/components/L/User/overview.vue.d.ts +2 -1
  36. package/dist/runtime/components/L/User/userlog.d.vue.ts +2 -1
  37. package/dist/runtime/components/L/User/userlog.vue.d.ts +2 -1
  38. package/dist/runtime/components/L/ValidationInput.d.vue.ts +7 -5
  39. package/dist/runtime/components/L/ValidationInput.vue.d.ts +7 -5
  40. package/dist/runtime/components/MyTest.d.vue.ts +7 -5
  41. package/dist/runtime/components/MyTest.vue.d.ts +7 -5
  42. package/dist/runtime/components/l-action-btn.d.vue.ts +5 -4
  43. package/dist/runtime/components/l-action-btn.vue.d.ts +5 -4
  44. package/dist/runtime/components/l-add-btn.d.vue.ts +9 -7
  45. package/dist/runtime/components/l-add-btn.vue.d.ts +9 -7
  46. package/dist/runtime/components/l-alert.d.vue.ts +7 -5
  47. package/dist/runtime/components/l-alert.vue.d.ts +7 -5
  48. package/dist/runtime/components/l-app-main.d.vue.ts +8 -7
  49. package/dist/runtime/components/l-app-main.vue +5 -5
  50. package/dist/runtime/components/l-app-main.vue.d.ts +8 -7
  51. package/dist/runtime/components/l-app.d.vue.ts +3 -2
  52. package/dist/runtime/components/l-app.vue.d.ts +3 -2
  53. package/dist/runtime/components/l-audit-card.d.vue.ts +4 -3
  54. package/dist/runtime/components/l-audit-card.vue.d.ts +4 -3
  55. package/dist/runtime/components/l-back-btn.d.vue.ts +2 -1
  56. package/dist/runtime/components/l-back-btn.vue.d.ts +2 -1
  57. package/dist/runtime/components/l-banner.d.vue.ts +5 -7
  58. package/dist/runtime/components/l-banner.vue.d.ts +5 -7
  59. package/dist/runtime/components/l-bar.d.vue.ts +5 -7
  60. package/dist/runtime/components/l-bar.vue.d.ts +5 -7
  61. package/dist/runtime/components/l-btn.d.vue.ts +3 -7
  62. package/dist/runtime/components/l-btn.vue.d.ts +3 -7
  63. package/dist/runtime/components/l-card.d.vue.ts +9 -11
  64. package/dist/runtime/components/l-card.vue.d.ts +9 -11
  65. package/dist/runtime/components/l-checkbox.d.vue.ts +5 -6
  66. package/dist/runtime/components/l-checkbox.vue.d.ts +5 -6
  67. package/dist/runtime/components/l-col.d.vue.ts +3 -7
  68. package/dist/runtime/components/l-col.vue.d.ts +3 -7
  69. package/dist/runtime/components/l-customizer.d.vue.ts +17 -14
  70. package/dist/runtime/components/l-customizer.vue.d.ts +17 -14
  71. package/dist/runtime/components/l-date-picker.d.vue.ts +8 -19
  72. package/dist/runtime/components/l-date-picker.vue.d.ts +8 -19
  73. package/dist/runtime/components/l-delete-btn.d.vue.ts +9 -6
  74. package/dist/runtime/components/l-delete-btn.vue.d.ts +9 -6
  75. package/dist/runtime/components/l-dialog-database-field-add.d.vue.ts +7 -4
  76. package/dist/runtime/components/l-dialog-database-field-add.vue.d.ts +7 -4
  77. package/dist/runtime/components/l-drag-drop-container.d.vue.ts +7 -5
  78. package/dist/runtime/components/l-drag-drop-container.vue.d.ts +7 -5
  79. package/dist/runtime/components/l-drag-drop-group.d.vue.ts +3 -2
  80. package/dist/runtime/components/l-drag-drop-group.vue.d.ts +3 -2
  81. package/dist/runtime/components/l-drag-drop.d.vue.ts +4 -2
  82. package/dist/runtime/components/l-drag-drop.vue.d.ts +4 -2
  83. package/dist/runtime/components/l-edit-btn.d.vue.ts +2 -1
  84. package/dist/runtime/components/l-edit-btn.vue.d.ts +2 -1
  85. package/dist/runtime/components/l-editor.d.vue.ts +3 -8
  86. package/dist/runtime/components/l-editor.vue.d.ts +3 -8
  87. package/dist/runtime/components/l-facebook-button.d.vue.ts +5 -3
  88. package/dist/runtime/components/l-facebook-button.vue.d.ts +5 -3
  89. package/dist/runtime/components/l-fav-menu.d.vue.ts +9 -7
  90. package/dist/runtime/components/l-fav-menu.vue.d.ts +9 -7
  91. package/dist/runtime/components/l-field.d.vue.ts +5 -14
  92. package/dist/runtime/components/l-field.vue +1 -1
  93. package/dist/runtime/components/l-field.vue.d.ts +5 -14
  94. package/dist/runtime/components/l-file-manager-labels.d.vue.ts +5 -3
  95. package/dist/runtime/components/l-file-manager-labels.vue.d.ts +5 -3
  96. package/dist/runtime/components/l-file-manager-move.d.vue.ts +9 -6
  97. package/dist/runtime/components/l-file-manager-move.vue +2 -1
  98. package/dist/runtime/components/l-file-manager-move.vue.d.ts +9 -6
  99. package/dist/runtime/components/l-file-manager-preview.d.vue.ts +8 -6
  100. package/dist/runtime/components/l-file-manager-preview.vue +2 -1
  101. package/dist/runtime/components/l-file-manager-preview.vue.d.ts +8 -6
  102. package/dist/runtime/components/l-file-manager.d.vue.ts +14 -11
  103. package/dist/runtime/components/l-file-manager.vue +10 -13
  104. package/dist/runtime/components/l-file-manager.vue.d.ts +14 -11
  105. package/dist/runtime/components/l-file-upload.d.vue.ts +8 -17
  106. package/dist/runtime/components/l-file-upload.vue.d.ts +8 -17
  107. package/dist/runtime/components/l-file.d.vue.ts +3 -10
  108. package/dist/runtime/components/l-file.vue.d.ts +3 -10
  109. package/dist/runtime/components/l-form-dialog.d.vue.ts +14 -11
  110. package/dist/runtime/components/l-form-dialog.vue.d.ts +14 -11
  111. package/dist/runtime/components/l-form.d.vue.ts +5 -4
  112. package/dist/runtime/components/l-form.vue.d.ts +5 -4
  113. package/dist/runtime/components/l-group-select.d.vue.ts +9 -7
  114. package/dist/runtime/components/l-group-select.vue.d.ts +9 -7
  115. package/dist/runtime/components/l-icon-picker.d.vue.ts +2 -7
  116. package/dist/runtime/components/l-icon-picker.vue.d.ts +2 -7
  117. package/dist/runtime/components/l-input-select.d.vue.ts +6 -16
  118. package/dist/runtime/components/l-input-select.vue.d.ts +6 -16
  119. package/dist/runtime/components/l-input-xlsx.d.vue.ts +4 -3
  120. package/dist/runtime/components/l-input-xlsx.vue.d.ts +4 -3
  121. package/dist/runtime/components/l-input.d.vue.ts +8 -16
  122. package/dist/runtime/components/l-input.vue.d.ts +8 -16
  123. package/dist/runtime/components/l-item.d.vue.ts +7 -10
  124. package/dist/runtime/components/l-item.vue.d.ts +7 -10
  125. package/dist/runtime/components/l-link.d.vue.ts +8 -6
  126. package/dist/runtime/components/l-link.vue.d.ts +8 -6
  127. package/dist/runtime/components/l-list.d.vue.ts +5 -8
  128. package/dist/runtime/components/l-list.vue.d.ts +5 -8
  129. package/dist/runtime/components/l-login.d.vue.ts +2 -1
  130. package/dist/runtime/components/l-login.vue +5 -3
  131. package/dist/runtime/components/l-login.vue.d.ts +2 -1
  132. package/dist/runtime/components/l-menu.d.vue.ts +9 -7
  133. package/dist/runtime/components/l-menu.vue.d.ts +9 -7
  134. package/dist/runtime/components/l-microsoft-button.d.vue.ts +2 -1
  135. package/dist/runtime/components/l-microsoft-button.vue.d.ts +2 -1
  136. package/dist/runtime/components/l-page.d.vue.ts +6 -10
  137. package/dist/runtime/components/l-page.vue.d.ts +6 -10
  138. package/dist/runtime/components/l-row.d.vue.ts +3 -4
  139. package/dist/runtime/components/l-row.vue.d.ts +3 -4
  140. package/dist/runtime/components/l-save-btn.d.vue.ts +2 -1
  141. package/dist/runtime/components/l-save-btn.vue.d.ts +2 -1
  142. package/dist/runtime/components/l-select.d.vue.ts +2 -17
  143. package/dist/runtime/components/l-select.vue.d.ts +2 -17
  144. package/dist/runtime/components/l-small-box.d.vue.ts +2 -6
  145. package/dist/runtime/components/l-small-box.vue.d.ts +2 -6
  146. package/dist/runtime/components/l-statistic.d.vue.ts +8 -6
  147. package/dist/runtime/components/l-statistic.vue.d.ts +8 -6
  148. package/dist/runtime/components/l-tab.d.vue.ts +5 -4
  149. package/dist/runtime/components/l-tab.vue.d.ts +5 -4
  150. package/dist/runtime/components/l-table.d.vue.ts +10 -30
  151. package/dist/runtime/components/l-table.vue.d.ts +10 -30
  152. package/dist/runtime/components/l-tabs.d.vue.ts +9 -10
  153. package/dist/runtime/components/l-tabs.vue.d.ts +9 -10
  154. package/dist/runtime/components/l-test2.d.vue.ts +2 -1
  155. package/dist/runtime/components/l-test2.vue.d.ts +2 -1
  156. package/dist/runtime/components/l-time-picker.d.vue.ts +8 -11
  157. package/dist/runtime/components/l-time-picker.vue.d.ts +8 -11
  158. package/dist/runtime/components/l-view-btn.d.vue.ts +2 -1
  159. package/dist/runtime/components/l-view-btn.vue.d.ts +2 -1
  160. package/dist/runtime/components/user-list.d.vue.ts +7 -5
  161. package/dist/runtime/components/user-list.vue.d.ts +7 -5
  162. package/dist/runtime/composables/collect.d.ts +1 -2
  163. package/dist/runtime/composables/collect.js +3 -2
  164. package/dist/runtime/composables/defineLightModel.js +2 -2
  165. package/dist/runtime/composables/f.d.ts +3 -0
  166. package/dist/runtime/composables/getCurrentUser.d.ts +1 -2
  167. package/dist/runtime/composables/getCurrentUser.js +4 -9
  168. package/dist/runtime/composables/getGQLFields.js +2 -2
  169. package/dist/runtime/composables/getModelField.js +2 -2
  170. package/dist/runtime/composables/getObject.d.ts +3 -0
  171. package/dist/runtime/composables/m.js +16 -2
  172. package/dist/runtime/composables/model.d.ts +2 -2
  173. package/dist/runtime/composables/model.js +2 -2
  174. package/dist/runtime/composables/sv.js +2 -2
  175. package/dist/runtime/composables/toJson.d.ts +3 -0
  176. package/dist/runtime/composables/useEntityId.d.ts +2 -0
  177. package/dist/runtime/composables/useEntityId.js +11 -0
  178. package/dist/runtime/composables/useLight.d.ts +14 -14
  179. package/dist/runtime/composables/useLight.js +1 -1
  180. package/dist/runtime/composables/{list.d.ts → useList.d.ts} +1 -2
  181. package/dist/runtime/composables/useList.js +37 -0
  182. package/dist/runtime/composables/useObject.d.ts +2 -1
  183. package/dist/runtime/composables/useObject.js +23 -38
  184. package/dist/runtime/composables/useRoles.js +1 -1
  185. package/dist/runtime/composables/useWebAuthn.d.ts +2 -4
  186. package/dist/runtime/composables/useWebAuthn.js +2 -3
  187. package/dist/runtime/formkit/Checkbox.d.vue.ts +7 -5
  188. package/dist/runtime/formkit/Checkbox.vue.d.ts +7 -5
  189. package/dist/runtime/formkit/DatePicker.d.vue.ts +7 -5
  190. package/dist/runtime/formkit/DatePicker.vue.d.ts +7 -5
  191. package/dist/runtime/formkit/Editor.d.vue.ts +7 -5
  192. package/dist/runtime/formkit/Editor.vue.d.ts +7 -5
  193. package/dist/runtime/formkit/File.d.vue.ts +7 -5
  194. package/dist/runtime/formkit/File.vue.d.ts +7 -5
  195. package/dist/runtime/formkit/FilePicker.d.vue.ts +7 -5
  196. package/dist/runtime/formkit/FilePicker.vue.d.ts +7 -5
  197. package/dist/runtime/formkit/FileUpload.d.vue.ts +7 -5
  198. package/dist/runtime/formkit/FileUpload.vue.d.ts +7 -5
  199. package/dist/runtime/formkit/Form.d.vue.ts +5 -4
  200. package/dist/runtime/formkit/Form.vue.d.ts +5 -4
  201. package/dist/runtime/formkit/GroupSelect.d.vue.ts +7 -5
  202. package/dist/runtime/formkit/GroupSelect.vue.d.ts +7 -5
  203. package/dist/runtime/formkit/Input.d.vue.ts +5 -4
  204. package/dist/runtime/formkit/Input.vue.d.ts +5 -4
  205. package/dist/runtime/formkit/InputSelect.d.vue.ts +5 -4
  206. package/dist/runtime/formkit/InputSelect.vue.d.ts +5 -4
  207. package/dist/runtime/formkit/InputXlsx.d.vue.ts +7 -5
  208. package/dist/runtime/formkit/InputXlsx.vue.d.ts +7 -5
  209. package/dist/runtime/formkit/OptionGroup.d.vue.ts +7 -5
  210. package/dist/runtime/formkit/OptionGroup.vue.d.ts +7 -5
  211. package/dist/runtime/formkit/Radio.d.vue.ts +7 -5
  212. package/dist/runtime/formkit/Radio.vue.d.ts +7 -5
  213. package/dist/runtime/formkit/Repeater.d.vue.ts +7 -5
  214. package/dist/runtime/formkit/Repeater.vue +39 -12
  215. package/dist/runtime/formkit/Repeater.vue.d.ts +7 -5
  216. package/dist/runtime/formkit/Select.d.vue.ts +7 -5
  217. package/dist/runtime/formkit/Select.vue.d.ts +7 -5
  218. package/dist/runtime/formkit/Textarea.d.vue.ts +5 -4
  219. package/dist/runtime/formkit/Textarea.vue.d.ts +5 -4
  220. package/dist/runtime/formkit/TimePicker.d.vue.ts +7 -5
  221. package/dist/runtime/formkit/TimePicker.vue.d.ts +7 -5
  222. package/dist/runtime/formkit/Toggle.d.vue.ts +5 -4
  223. package/dist/runtime/formkit/Toggle.vue.d.ts +5 -4
  224. package/dist/runtime/pages/CustomField/[custom_field_id]/edit.d.vue.ts +2 -1
  225. package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue +14 -2
  226. package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue.d.ts +2 -1
  227. package/dist/runtime/pages/CustomField/index.d.vue.ts +2 -1
  228. package/dist/runtime/pages/CustomField/index.vue.d.ts +2 -1
  229. package/dist/runtime/pages/EventLog/_eventlog_id/view.d.vue.ts +2 -1
  230. package/dist/runtime/pages/EventLog/_eventlog_id/view.vue +13 -3
  231. package/dist/runtime/pages/EventLog/_eventlog_id/view.vue.d.ts +2 -1
  232. package/dist/runtime/pages/EventLog/index.d.vue.ts +2 -1
  233. package/dist/runtime/pages/EventLog/index.vue.d.ts +2 -1
  234. package/dist/runtime/pages/FileManager/index.d.vue.ts +2 -1
  235. package/dist/runtime/pages/FileManager/index.vue.d.ts +2 -1
  236. package/dist/runtime/pages/MailLog/index.d.vue.ts +2 -1
  237. package/dist/runtime/pages/MailLog/index.vue.d.ts +2 -1
  238. package/dist/runtime/pages/Permission/add.d.vue.ts +2 -1
  239. package/dist/runtime/pages/Permission/add.vue +3 -2
  240. package/dist/runtime/pages/Permission/add.vue.d.ts +2 -1
  241. package/dist/runtime/pages/Permission/all.d.vue.ts +2 -1
  242. package/dist/runtime/pages/Permission/all.vue +2 -2
  243. package/dist/runtime/pages/Permission/all.vue.d.ts +2 -1
  244. package/dist/runtime/pages/Permission/export.d.vue.ts +2 -1
  245. package/dist/runtime/pages/Permission/export.vue +2 -2
  246. package/dist/runtime/pages/Permission/export.vue.d.ts +2 -1
  247. package/dist/runtime/pages/Permission/index.d.vue.ts +2 -1
  248. package/dist/runtime/pages/Permission/index.vue.d.ts +2 -1
  249. package/dist/runtime/pages/Role/_name/update-child.d.vue.ts +2 -1
  250. package/dist/runtime/pages/Role/_name/update-child.vue.d.ts +2 -1
  251. package/dist/runtime/pages/Role/add.d.vue.ts +2 -1
  252. package/dist/runtime/pages/Role/add.vue +7 -3
  253. package/dist/runtime/pages/Role/add.vue.d.ts +2 -1
  254. package/dist/runtime/pages/Role/add2.d.vue.ts +2 -1
  255. package/dist/runtime/pages/Role/add2.vue +2 -2
  256. package/dist/runtime/pages/Role/add2.vue.d.ts +2 -1
  257. package/dist/runtime/pages/Role/index.d.vue.ts +2 -1
  258. package/dist/runtime/pages/Role/index.vue.d.ts +2 -1
  259. package/dist/runtime/pages/System/database/backup.d.vue.ts +2 -1
  260. package/dist/runtime/pages/System/database/backup.vue.d.ts +2 -1
  261. package/dist/runtime/pages/System/database/check.d.vue.ts +2 -1
  262. package/dist/runtime/pages/System/database/check.vue.d.ts +2 -1
  263. package/dist/runtime/pages/System/database/event.d.vue.ts +2 -1
  264. package/dist/runtime/pages/System/database/event.vue.d.ts +2 -1
  265. package/dist/runtime/pages/System/database/process.d.vue.ts +2 -1
  266. package/dist/runtime/pages/System/database/process.vue.d.ts +2 -1
  267. package/dist/runtime/pages/System/database/restore.d.vue.ts +2 -1
  268. package/dist/runtime/pages/System/database/restore.vue.d.ts +2 -1
  269. package/dist/runtime/pages/System/database/table.d.vue.ts +2 -1
  270. package/dist/runtime/pages/System/database/table.vue +2 -2
  271. package/dist/runtime/pages/System/database/table.vue.d.ts +2 -1
  272. package/dist/runtime/pages/System/fs.d.vue.ts +2 -1
  273. package/dist/runtime/pages/System/fs.vue.d.ts +2 -1
  274. package/dist/runtime/pages/System/index.d.vue.ts +2 -1
  275. package/dist/runtime/pages/System/index.vue.d.ts +2 -1
  276. package/dist/runtime/pages/System/mailtest.d.vue.ts +2 -1
  277. package/dist/runtime/pages/System/mailtest.vue.d.ts +2 -1
  278. package/dist/runtime/pages/System/menu/index.d.vue.ts +2 -1
  279. package/dist/runtime/pages/System/menu/index.vue.d.ts +2 -1
  280. package/dist/runtime/pages/System/package.d.vue.ts +2 -1
  281. package/dist/runtime/pages/System/package.vue.d.ts +2 -1
  282. package/dist/runtime/pages/System/phpinfo.d.vue.ts +2 -1
  283. package/dist/runtime/pages/System/phpinfo.vue.d.ts +2 -1
  284. package/dist/runtime/pages/System/setting.d.vue.ts +2 -1
  285. package/dist/runtime/pages/System/setting.vue +1 -1
  286. package/dist/runtime/pages/System/setting.vue.d.ts +2 -1
  287. package/dist/runtime/pages/System/test.d.vue.ts +2 -1
  288. package/dist/runtime/pages/System/test.vue.d.ts +2 -1
  289. package/dist/runtime/pages/System/view_as.d.vue.ts +2 -1
  290. package/dist/runtime/pages/System/view_as.vue.d.ts +2 -1
  291. package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.d.vue.ts +2 -1
  292. package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue +7 -4
  293. package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue.d.ts +2 -1
  294. package/dist/runtime/pages/SystemValue/add.d.vue.ts +2 -1
  295. package/dist/runtime/pages/SystemValue/add.vue.d.ts +2 -1
  296. package/dist/runtime/pages/SystemValue/index.d.vue.ts +2 -1
  297. package/dist/runtime/pages/SystemValue/index.vue.d.ts +2 -1
  298. package/dist/runtime/pages/Translate/index.d.vue.ts +2 -1
  299. package/dist/runtime/pages/Translate/index.vue +10 -6
  300. package/dist/runtime/pages/Translate/index.vue.d.ts +2 -1
  301. package/dist/runtime/pages/User/_user_id/change-password.d.vue.ts +2 -1
  302. package/dist/runtime/pages/User/_user_id/change-password.vue.d.ts +2 -1
  303. package/dist/runtime/pages/User/_user_id/edit.d.vue.ts +2 -1
  304. package/dist/runtime/pages/User/_user_id/edit.vue +19 -18
  305. package/dist/runtime/pages/User/_user_id/edit.vue.d.ts +2 -1
  306. package/dist/runtime/pages/User/_user_id/update-role.d.vue.ts +2 -1
  307. package/dist/runtime/pages/User/_user_id/update-role.vue +8 -5
  308. package/dist/runtime/pages/User/_user_id/update-role.vue.d.ts +2 -1
  309. package/dist/runtime/pages/User/_user_id/view.d.vue.ts +2 -1
  310. package/dist/runtime/pages/User/_user_id/view.vue +4 -10
  311. package/dist/runtime/pages/User/_user_id/view.vue.d.ts +2 -1
  312. package/dist/runtime/pages/User/add.d.vue.ts +2 -1
  313. package/dist/runtime/pages/User/add.vue.d.ts +2 -1
  314. package/dist/runtime/pages/User/index.d.vue.ts +2 -1
  315. package/dist/runtime/pages/User/index.vue.d.ts +2 -1
  316. package/dist/runtime/pages/User/profile.d.vue.ts +2 -1
  317. package/dist/runtime/pages/User/profile.vue.d.ts +2 -1
  318. package/dist/runtime/pages/User/setting/bio-auth.d.vue.ts +2 -1
  319. package/dist/runtime/pages/User/setting/bio-auth.vue +21 -32
  320. package/dist/runtime/pages/User/setting/bio-auth.vue.d.ts +2 -1
  321. package/dist/runtime/pages/User/setting/favorite.d.vue.ts +2 -1
  322. package/dist/runtime/pages/User/setting/favorite.vue.d.ts +2 -1
  323. package/dist/runtime/pages/User/setting/index.d.vue.ts +2 -1
  324. package/dist/runtime/pages/User/setting/index.vue.d.ts +2 -1
  325. package/dist/runtime/pages/User/setting/information.d.vue.ts +2 -1
  326. package/dist/runtime/pages/User/setting/information.vue.d.ts +2 -1
  327. package/dist/runtime/pages/User/setting/menu.d.vue.ts +2 -1
  328. package/dist/runtime/pages/User/setting/menu.vue.d.ts +2 -1
  329. package/dist/runtime/pages/User/setting/open_id.d.vue.ts +2 -1
  330. package/dist/runtime/pages/User/setting/open_id.vue +5 -2
  331. package/dist/runtime/pages/User/setting/open_id.vue.d.ts +2 -1
  332. package/dist/runtime/pages/User/setting/password.d.vue.ts +2 -1
  333. package/dist/runtime/pages/User/setting/password.vue +6 -3
  334. package/dist/runtime/pages/User/setting/password.vue.d.ts +2 -1
  335. package/dist/runtime/pages/User/setting/style.d.vue.ts +2 -1
  336. package/dist/runtime/pages/User/setting/style.vue.d.ts +2 -1
  337. package/dist/runtime/pages/User/setting/two-factor-auth.d.vue.ts +2 -1
  338. package/dist/runtime/pages/User/setting/two-factor-auth.vue.d.ts +2 -1
  339. package/dist/runtime/pages/User/setting.d.vue.ts +2 -1
  340. package/dist/runtime/pages/User/setting.vue.d.ts +2 -1
  341. package/dist/runtime/pages/UserLog/index.d.vue.ts +2 -1
  342. package/dist/runtime/pages/UserLog/index.vue.d.ts +2 -1
  343. package/dist/runtime/plugin.d.ts +1 -1
  344. package/dist/runtime/plugin.js +17 -14
  345. package/package.json +8 -8
  346. package/dist/runtime/composables/api.d.ts +0 -2
  347. package/dist/runtime/composables/api.js +0 -2
  348. package/dist/runtime/composables/isGranted.d.ts +0 -1
  349. package/dist/runtime/composables/isGranted.js +0 -13
  350. package/dist/runtime/composables/list.js +0 -4
  351. package/dist/runtime/composables/q.d.ts +0 -1
  352. package/dist/runtime/composables/q.js +0 -26
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,11 +1,11 @@
1
1
  <script setup>
2
2
  import { reactive } from "vue";
3
3
  import { utils, writeFileXLSX } from "xlsx";
4
- import { api } from "#imports";
4
+ import { q } from "#imports";
5
5
  const obj = reactive({
6
6
  roles: []
7
7
  });
8
- const { app } = await api.query({
8
+ const { app } = await q({
9
9
  app: {
10
10
  permissions: true,
11
11
  roles: {
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,10 @@
1
1
  <script setup>
2
- import { q } from "#imports";
3
- let roles = await q("listRole", ["name"]);
2
+ import { list, q } from "#imports";
3
+ let { listRole: roles } = await q({
4
+ listRole: {
5
+ name: true
6
+ }
7
+ });
4
8
  roles = roles.map((role) => {
5
9
  return {
6
10
  label: role.name,
@@ -11,7 +15,7 @@ roles = roles.map((role) => {
11
15
 
12
16
  <template>
13
17
  <l-page>
14
- <FormKit type="l-form" :value="{ childs: ['Users'] }" >
18
+ <FormKit type="l-form" :value="{ childs: ['Users'] }">
15
19
  <FormKit type="l-input" name="name" label="Name" validation="required" />
16
20
  <FormKit type="l-option-group" :options="roles" name="childs" label="Child" />
17
21
  </FormKit>
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
- import { m, api } from "#imports";
2
+ import { m, q } from "#imports";
3
3
  import { collect } from "collect.js";
4
- const { app } = await api.query({
4
+ const { app } = await q({
5
5
  app: {
6
6
  permissions: true
7
7
  }
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,9 +1,9 @@
1
1
  <script setup>
2
- import { api, m, useLight, useAsyncData } from "#imports";
2
+ import { q, m, useLight, useAsyncData } from "#imports";
3
3
  import { resolveComponent, ref, reactive, computed } from "vue";
4
4
  const light = useLight();
5
5
  const { data, refresh } = await useAsyncData("database", async () => {
6
- const { system } = await api.query({
6
+ const { system } = await q({
7
7
  system: {
8
8
  database: {
9
9
  table: true,
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -17,7 +17,7 @@ if (route.query.mail_driver == "gmail" && route.query.refresh_token) {
17
17
  $q.notify({ message: "Gmail account added", color: "positive" });
18
18
  }
19
19
  const light = useLight();
20
- const { app } = await q({ app: { config: ["name", "value"] } });
20
+ const { app } = await q({ app: { config: { name: true, value: true } } });
21
21
  const obj = app.config.reduce((acc, cur) => {
22
22
  acc[cur.name] = cur.value;
23
23
  return acc;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,13 +1,16 @@
1
1
  <script setup>
2
- import { getObject } from "#imports";
3
- const obj = await getObject(["name", "value"]);
2
+ import { useObject } from "#imports";
3
+ const { data } = await useObject({
4
+ name: true,
5
+ value: true
6
+ });
4
7
  </script>
5
8
 
6
9
  <template>
7
10
  <l-page>
8
- <FormKit type="l-form" :value="obj">
11
+ <FormKit type="l-form" :value="data">
9
12
  <FormKit type="l-input" label="Name" name="name" validation="required" />
10
- <FormKit type="l-input" label="Value" name="value" validation="required" input-type="textarea" />
13
+ <FormKit type="l-input" label="Value" name="value" validation="required" input-type="textarea" autogrow/>
11
14
  </FormKit>
12
15
  </l-page>
13
16
  </template>
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,13 +1,15 @@
1
1
  <script setup>
2
2
  import { ref, reactive } from "vue";
3
- import { m, q } from "#imports";
3
+ import { m, q, useAsyncData } from "#imports";
4
4
  import { useQuasar } from "quasar";
5
5
  import { useI18n } from "vue-i18n";
6
6
  const $q = useQuasar();
7
7
  const { t } = useI18n();
8
- const app = await q("app", ["languages"]);
8
+ const { app } = await q({ app: { languages: true } });
9
9
  const splitterModel = ref(62);
10
- const all = ref(await q("allTranslate", []));
10
+ const { data: all, refresh } = await useAsyncData("translate", () => {
11
+ return q({ allTranslate: true }).then((res) => res.allTranslate);
12
+ });
11
13
  const obj = reactive({
12
14
  name: ""
13
15
  });
@@ -28,7 +30,7 @@ const onSave = async () => {
28
30
  color: "positive",
29
31
  icon: "check"
30
32
  });
31
- all.value = await q("allTranslate", []);
33
+ await refresh();
32
34
  };
33
35
  const columns = [
34
36
  {
@@ -62,6 +64,7 @@ const onUpdateTranslate = async (value, language, name) => {
62
64
  icon: "check"
63
65
  });
64
66
  }
67
+ await refresh();
65
68
  };
66
69
  const onDelete = async (name) => {
67
70
  if (await m("deleteTranslate", {
@@ -72,7 +75,7 @@ const onDelete = async (name) => {
72
75
  color: "positive",
73
76
  icon: "check"
74
77
  });
75
- all.value = await q("allTranslate", []);
78
+ await refresh();
76
79
  }
77
80
  };
78
81
  </script>
@@ -82,7 +85,8 @@ const onDelete = async (name) => {
82
85
  <l-card>
83
86
  <q-splitter v-model="splitterModel" style="height:680px">
84
87
  <template #before>
85
- <q-table :rows="all" flat :rows-per-page-options="[0]" :columns="columns" dense separator="cell" :bordered="false">
88
+ <q-table :rows="all" flat :rows-per-page-options="[0]" :columns="columns" dense separator="cell"
89
+ :bordered="false">
86
90
  <template #body="props">
87
91
  <q-tr :props="props">
88
92
  <q-td key="_delete" auto-width>
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,27 +1,28 @@
1
1
  <script setup>
2
- import { reactive, ref } from "vue";
3
- import { getObject, q } from "#imports";
4
- const obj = reactive(await getObject([
5
- "username",
6
- "first_name",
7
- "last_name",
8
- "email",
9
- "phone",
10
- "addr1",
11
- "addr2",
12
- "addr3",
13
- "join_date",
14
- "expiry_date",
15
- "status",
16
- "language",
17
- "default_page"
18
- ]));
2
+ import { q, useObject } from "#imports";
3
+ const { data: obj } = await useObject({
4
+ username: true,
5
+ first_name: true,
6
+ last_name: true,
7
+ email: true,
8
+ phone: true,
9
+ addr1: true,
10
+ addr2: true,
11
+ addr3: true,
12
+ join_date: true,
13
+ expiry_date: true,
14
+ status: true,
15
+ language: true,
16
+ default_page: true
17
+ });
19
18
  const options = [
20
19
  { label: "Active", value: 0 },
21
20
  { label: "Inactive", value: 1 }
22
21
  ];
23
22
  const tt = await q({
24
- app: ["languages"]
23
+ app: {
24
+ languages: true
25
+ }
25
26
  });
26
27
  const languages = tt.app.languages.map((lang) => {
27
28
  return {
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;