@hostlink/nuxt-light 1.66.0 → 1.66.2

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 (233) hide show
  1. package/README.md +1 -0
  2. package/dist/module.d.mts +1 -0
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +24 -0
  5. package/dist/runtime/components/{l-audit-card.d.vue.ts → L/AuditCard.d.vue.ts} +1 -1
  6. package/dist/runtime/components/{l-audit-card.vue → L/AuditCard.vue} +1 -1
  7. package/dist/runtime/components/{l-audit-card.vue.d.ts → L/AuditCard.vue.d.ts} +1 -1
  8. package/dist/runtime/components/{l-bar.vue → L/Bar.vue} +1 -2
  9. package/dist/runtime/components/{l-btn.d.vue.ts → L/Btn.d.vue.ts} +0 -1
  10. package/dist/runtime/components/{l-btn.vue → L/Btn.vue} +17 -14
  11. package/dist/runtime/components/{l-btn.vue.d.ts → L/Btn.vue.d.ts} +0 -1
  12. package/dist/runtime/components/{l-card.vue → L/Card.vue} +8 -6
  13. package/dist/runtime/components/{l-checkbox.vue → L/Checkbox.vue} +4 -2
  14. package/dist/runtime/components/{l-date-picker.vue → L/DatePicker.vue} +85 -103
  15. package/dist/runtime/components/L/DialogDatabaseFieldAdd.d.vue.ts +21 -0
  16. package/dist/runtime/components/{l-dialog-database-field-add.vue → L/DialogDatabaseFieldAdd.vue} +14 -15
  17. package/dist/runtime/components/L/DialogDatabaseFieldAdd.vue.d.ts +21 -0
  18. package/dist/runtime/components/L/DocumentViewer.d.vue.ts +1 -1
  19. package/dist/runtime/components/L/DocumentViewer.vue.d.ts +1 -1
  20. package/dist/runtime/components/L/DocumentViewerDialog.d.vue.ts +2 -2
  21. package/dist/runtime/components/L/DocumentViewerDialog.vue.d.ts +2 -2
  22. package/dist/runtime/components/{l-editor.vue → L/Editor.vue} +31 -17
  23. package/dist/runtime/components/L/Fieldset.d.vue.ts +15 -27
  24. package/dist/runtime/components/L/Fieldset.vue +4 -10
  25. package/dist/runtime/components/L/Fieldset.vue.d.ts +15 -27
  26. package/dist/runtime/components/{l-file-manager.vue → L/FileManager.vue} +2 -5
  27. package/dist/runtime/components/{l-icon-picker.vue → L/IconPicker.vue} +13 -13
  28. package/dist/runtime/components/{l-input.d.vue.ts → L/Input.d.vue.ts} +7 -3
  29. package/dist/runtime/components/{l-input.vue → L/Input.vue} +59 -80
  30. package/dist/runtime/components/{l-input.vue.d.ts → L/Input.vue.d.ts} +7 -3
  31. package/dist/runtime/components/{l-input-select.d.vue.ts → L/InputSelect.d.vue.ts} +3 -2
  32. package/dist/runtime/components/{l-input-select.vue → L/InputSelect.vue} +27 -9
  33. package/dist/runtime/components/{l-input-select.vue.d.ts → L/InputSelect.vue.d.ts} +3 -2
  34. package/dist/runtime/components/L/InputXlsx.d.vue.ts +17 -0
  35. package/dist/runtime/components/L/InputXlsx.vue +81 -0
  36. package/dist/runtime/components/L/InputXlsx.vue.d.ts +17 -0
  37. package/dist/runtime/components/{l-item.vue → L/Item.vue} +14 -5
  38. package/dist/runtime/components/{l-list.vue → L/List.vue} +18 -21
  39. package/dist/runtime/components/{l-page.vue → L/Page.vue} +6 -8
  40. package/dist/runtime/components/L/Select.d.vue.ts +46 -0
  41. package/dist/runtime/components/{l-select.vue → L/Select.vue} +37 -18
  42. package/dist/runtime/components/L/Select.vue.d.ts +46 -0
  43. package/dist/runtime/components/L/System/Setting/logs.vue +75 -0
  44. package/dist/runtime/components/{l-tab.d.vue.ts → L/Tab.d.vue.ts} +2 -2
  45. package/dist/runtime/components/L/Tab.vue +38 -0
  46. package/dist/runtime/components/{l-tab.vue.d.ts → L/Tab.vue.d.ts} +2 -2
  47. package/dist/runtime/components/{l-table.vue → L/Table.vue} +71 -78
  48. package/dist/runtime/components/{l-tabs.vue → L/Tabs.vue} +15 -8
  49. package/dist/runtime/components/{l-time-picker.d.vue.ts → L/TimePicker.d.vue.ts} +3 -2
  50. package/dist/runtime/components/L/TimePicker.vue +73 -0
  51. package/dist/runtime/components/{l-time-picker.vue.d.ts → L/TimePicker.vue.d.ts} +3 -2
  52. package/dist/runtime/components/{MyTest.d.vue.ts → L/User/apikey.d.vue.ts} +4 -4
  53. package/dist/runtime/components/L/User/apikey.vue +18 -0
  54. package/dist/runtime/components/{MyTest.vue.d.ts → L/User/apikey.vue.d.ts} +4 -4
  55. package/dist/runtime/components/L/ViewBtn.d.vue.ts +3 -0
  56. package/dist/runtime/components/L/ViewBtn.vue.d.ts +3 -0
  57. package/dist/runtime/composables/defineLightModel.d.ts +1 -1
  58. package/dist/runtime/composables/model.d.ts +1 -1
  59. package/dist/runtime/composables/showUploadFilesDialog.js +1 -1
  60. package/dist/runtime/composables/useLight.d.ts +22 -22
  61. package/dist/runtime/composables/useLightProps.d.ts +26 -0
  62. package/dist/runtime/composables/useLightProps.js +73 -0
  63. package/dist/runtime/models/APIKey.d.ts +2 -0
  64. package/dist/runtime/models/APIKey.js +20 -0
  65. package/dist/runtime/models/SystemValue.d.ts +2 -0
  66. package/dist/runtime/models/SystemValue.js +15 -0
  67. package/dist/runtime/pages/System/database/table.vue +28 -1
  68. package/dist/runtime/pages/System/index.vue +1 -1
  69. package/dist/runtime/pages/System/menu/index.vue +5 -1
  70. package/dist/runtime/pages/System/setting.vue +2 -0
  71. package/dist/runtime/pages/System/view_as.vue +4 -1
  72. package/dist/runtime/pages/SystemValue/index.vue +4 -1
  73. package/dist/runtime/pages/User/createAccessToken.vue +2 -1
  74. package/dist/runtime/pages/User/index.vue +2 -2
  75. package/dist/runtime/pages/User/profile.d.vue.ts +1 -1
  76. package/dist/runtime/pages/User/profile.vue +48 -5
  77. package/dist/runtime/pages/User/profile.vue.d.ts +1 -1
  78. package/dist/runtime/plugin.js +1 -22
  79. package/package.json +2 -1
  80. package/dist/runtime/components/MyTest.vue +0 -11
  81. package/dist/runtime/components/l-dialog-database-field-add.d.vue.ts +0 -9
  82. package/dist/runtime/components/l-dialog-database-field-add.vue.d.ts +0 -9
  83. package/dist/runtime/components/l-input-xlsx.d.vue.ts +0 -11
  84. package/dist/runtime/components/l-input-xlsx.vue +0 -60
  85. package/dist/runtime/components/l-input-xlsx.vue.d.ts +0 -11
  86. package/dist/runtime/components/l-select.d.vue.ts +0 -20
  87. package/dist/runtime/components/l-select.vue.d.ts +0 -20
  88. package/dist/runtime/components/l-tab.vue +0 -30
  89. package/dist/runtime/components/l-time-picker.vue +0 -71
  90. package/dist/runtime/components/{l-action-btn.d.vue.ts → L/ActionBtn.d.vue.ts} +0 -0
  91. package/dist/runtime/components/{l-action-btn.vue → L/ActionBtn.vue} +0 -0
  92. package/dist/runtime/components/{l-action-btn.vue.d.ts → L/ActionBtn.vue.d.ts} +0 -0
  93. package/dist/runtime/components/{l-add-btn.d.vue.ts → L/AddBtn.d.vue.ts} +0 -0
  94. package/dist/runtime/components/{l-add-btn.vue → L/AddBtn.vue} +0 -0
  95. package/dist/runtime/components/{l-add-btn.vue.d.ts → L/AddBtn.vue.d.ts} +0 -0
  96. package/dist/runtime/components/{l-alert.d.vue.ts → L/Alert.d.vue.ts} +0 -0
  97. package/dist/runtime/components/{l-alert.vue → L/Alert.vue} +0 -0
  98. package/dist/runtime/components/{l-alert.vue.d.ts → L/Alert.vue.d.ts} +0 -0
  99. package/dist/runtime/components/{l-app.d.vue.ts → L/App.d.vue.ts} +0 -0
  100. package/dist/runtime/components/{l-app.vue → L/App.vue} +0 -0
  101. package/dist/runtime/components/{l-app.vue.d.ts → L/App.vue.d.ts} +0 -0
  102. package/dist/runtime/components/{l-app-main.d.vue.ts → L/AppMain.d.vue.ts} +0 -0
  103. package/dist/runtime/components/{l-app-main.vue → L/AppMain.vue} +0 -0
  104. package/dist/runtime/components/{l-app-main.vue.d.ts → L/AppMain.vue.d.ts} +0 -0
  105. package/dist/runtime/components/{l-back-btn.d.vue.ts → L/BackBtn.d.vue.ts} +0 -0
  106. package/dist/runtime/components/{l-back-btn.vue → L/BackBtn.vue} +0 -0
  107. package/dist/runtime/components/{l-back-btn.vue.d.ts → L/BackBtn.vue.d.ts} +0 -0
  108. package/dist/runtime/components/{l-banner.d.vue.ts → L/Banner.d.vue.ts} +0 -0
  109. package/dist/runtime/components/{l-banner.vue → L/Banner.vue} +0 -0
  110. package/dist/runtime/components/{l-banner.vue.d.ts → L/Banner.vue.d.ts} +0 -0
  111. package/dist/runtime/components/{l-bar.d.vue.ts → L/Bar.d.vue.ts} +0 -0
  112. package/dist/runtime/components/{l-bar.vue.d.ts → L/Bar.vue.d.ts} +0 -0
  113. package/dist/runtime/components/{l-card.d.vue.ts → L/Card.d.vue.ts} +0 -0
  114. package/dist/runtime/components/{l-card.vue.d.ts → L/Card.vue.d.ts} +0 -0
  115. package/dist/runtime/components/{l-checkbox.d.vue.ts → L/Checkbox.d.vue.ts} +0 -0
  116. package/dist/runtime/components/{l-checkbox.vue.d.ts → L/Checkbox.vue.d.ts} +0 -0
  117. package/dist/runtime/components/{l-col.d.vue.ts → L/Col.d.vue.ts} +1 -1
  118. package/dist/runtime/components/{l-col.vue → L/Col.vue} +0 -0
  119. package/dist/runtime/components/{l-col.vue.d.ts → L/Col.vue.d.ts} +1 -1
  120. package/dist/runtime/components/{l-customizer.vue.d.ts → L/Customizer.d.vue.ts} +2 -2
  121. package/dist/runtime/components/{l-customizer.vue → L/Customizer.vue} +0 -0
  122. package/dist/runtime/components/{l-customizer.d.vue.ts → L/Customizer.vue.d.ts} +2 -2
  123. package/dist/runtime/components/{l-date-picker.d.vue.ts → L/DatePicker.d.vue.ts} +0 -0
  124. package/dist/runtime/components/{l-date-picker.vue.d.ts → L/DatePicker.vue.d.ts} +0 -0
  125. package/dist/runtime/components/{l-delete-btn.d.vue.ts → L/DeleteBtn.d.vue.ts} +0 -0
  126. package/dist/runtime/components/{l-delete-btn.vue → L/DeleteBtn.vue} +0 -0
  127. package/dist/runtime/components/{l-delete-btn.vue.d.ts → L/DeleteBtn.vue.d.ts} +0 -0
  128. package/dist/runtime/components/{l-dialog-upload-files.d.vue.ts → L/DialogUploadFiles.d.vue.ts} +0 -0
  129. package/dist/runtime/components/{l-dialog-upload-files.vue → L/DialogUploadFiles.vue} +0 -0
  130. package/dist/runtime/components/{l-dialog-upload-files.vue.d.ts → L/DialogUploadFiles.vue.d.ts} +0 -0
  131. package/dist/runtime/components/{l-drag-drop.d.vue.ts → L/DragDrop.d.vue.ts} +0 -0
  132. package/dist/runtime/components/{l-drag-drop.vue → L/DragDrop.vue} +0 -0
  133. package/dist/runtime/components/{l-drag-drop.vue.d.ts → L/DragDrop.vue.d.ts} +0 -0
  134. package/dist/runtime/components/{l-drag-drop-container.d.vue.ts → L/DragDropContainer.d.vue.ts} +0 -0
  135. package/dist/runtime/components/{l-drag-drop-container.vue → L/DragDropContainer.vue} +0 -0
  136. package/dist/runtime/components/{l-drag-drop-container.vue.d.ts → L/DragDropContainer.vue.d.ts} +0 -0
  137. package/dist/runtime/components/{l-drag-drop-group.d.vue.ts → L/DragDropGroup.d.vue.ts} +0 -0
  138. package/dist/runtime/components/{l-drag-drop-group.vue → L/DragDropGroup.vue} +0 -0
  139. package/dist/runtime/components/{l-drag-drop-group.vue.d.ts → L/DragDropGroup.vue.d.ts} +0 -0
  140. package/dist/runtime/components/{l-edit-btn.d.vue.ts → L/EditBtn.d.vue.ts} +0 -0
  141. package/dist/runtime/components/{l-edit-btn.vue → L/EditBtn.vue} +0 -0
  142. package/dist/runtime/components/{l-edit-btn.vue.d.ts → L/EditBtn.vue.d.ts} +0 -0
  143. package/dist/runtime/components/{l-editor.d.vue.ts → L/Editor.d.vue.ts} +0 -0
  144. package/dist/runtime/components/{l-editor.vue.d.ts → L/Editor.vue.d.ts} +0 -0
  145. package/dist/runtime/components/{l-facebook-button.d.vue.ts → L/FacebookButton.d.vue.ts} +0 -0
  146. package/dist/runtime/components/{l-facebook-button.vue → L/FacebookButton.vue} +0 -0
  147. package/dist/runtime/components/{l-facebook-button.vue.d.ts → L/FacebookButton.vue.d.ts} +0 -0
  148. package/dist/runtime/components/{l-fav-menu.d.vue.ts → L/FavMenu.d.vue.ts} +2 -2
  149. package/dist/runtime/components/{l-fav-menu.vue → L/FavMenu.vue} +0 -0
  150. package/dist/runtime/components/{l-menu.d.vue.ts → L/FavMenu.vue.d.ts} +2 -2
  151. package/dist/runtime/components/{l-field.d.vue.ts → L/Field.d.vue.ts} +0 -0
  152. package/dist/runtime/components/{l-field.vue → L/Field.vue} +0 -0
  153. package/dist/runtime/components/{l-field.vue.d.ts → L/Field.vue.d.ts} +0 -0
  154. package/dist/runtime/components/{l-file.d.vue.ts → L/File.d.vue.ts} +0 -0
  155. package/dist/runtime/components/{l-file.vue → L/File.vue} +0 -0
  156. package/dist/runtime/components/{l-file.vue.d.ts → L/File.vue.d.ts} +0 -0
  157. package/dist/runtime/components/{l-file-manager.d.vue.ts → L/FileManager.d.vue.ts} +1 -1
  158. package/dist/runtime/components/{l-file-manager.vue.d.ts → L/FileManager.vue.d.ts} +1 -1
  159. package/dist/runtime/components/{l-file-manager-breadcrumbs.d.vue.ts → L/FileManagerBreadcrumbs.d.vue.ts} +0 -0
  160. package/dist/runtime/components/{l-file-manager-breadcrumbs.vue → L/FileManagerBreadcrumbs.vue} +0 -0
  161. package/dist/runtime/components/{l-file-manager-breadcrumbs.vue.d.ts → L/FileManagerBreadcrumbs.vue.d.ts} +0 -0
  162. package/dist/runtime/components/{l-file-manager-labels.d.vue.ts → L/FileManagerLabels.d.vue.ts} +0 -0
  163. package/dist/runtime/components/{l-file-manager-labels.vue → L/FileManagerLabels.vue} +0 -0
  164. package/dist/runtime/components/{l-file-manager-labels.vue.d.ts → L/FileManagerLabels.vue.d.ts} +0 -0
  165. package/dist/runtime/components/{l-file-manager-move.d.vue.ts → L/FileManagerMove.d.vue.ts} +0 -0
  166. package/dist/runtime/components/{l-file-manager-move.vue → L/FileManagerMove.vue} +0 -0
  167. package/dist/runtime/components/{l-file-manager-move.vue.d.ts → L/FileManagerMove.vue.d.ts} +0 -0
  168. package/dist/runtime/components/{l-file-manager-preview.d.vue.ts → L/FileManagerPreview.d.vue.ts} +0 -0
  169. package/dist/runtime/components/{l-file-manager-preview.vue → L/FileManagerPreview.vue} +0 -0
  170. package/dist/runtime/components/{l-file-manager-preview.vue.d.ts → L/FileManagerPreview.vue.d.ts} +0 -0
  171. package/dist/runtime/components/{l-file-upload.d.vue.ts → L/FileUpload.d.vue.ts} +1 -1
  172. package/dist/runtime/components/{l-file-upload.vue → L/FileUpload.vue} +0 -0
  173. package/dist/runtime/components/{l-file-upload.vue.d.ts → L/FileUpload.vue.d.ts} +1 -1
  174. package/dist/runtime/components/{l-form.d.vue.ts → L/Form.d.vue.ts} +0 -0
  175. package/dist/runtime/components/{l-form.vue → L/Form.vue} +0 -0
  176. package/dist/runtime/components/{l-form.vue.d.ts → L/Form.vue.d.ts} +0 -0
  177. package/dist/runtime/components/{l-form-dialog.d.vue.ts → L/FormDialog.d.vue.ts} +2 -2
  178. package/dist/runtime/components/{l-form-dialog.vue → L/FormDialog.vue} +0 -0
  179. package/dist/runtime/components/{l-form-dialog.vue.d.ts → L/FormDialog.vue.d.ts} +2 -2
  180. package/dist/runtime/components/{l-group-select.d.vue.ts → L/GroupSelect.d.vue.ts} +0 -0
  181. package/dist/runtime/components/{l-group-select.vue → L/GroupSelect.vue} +0 -0
  182. package/dist/runtime/components/{l-group-select.vue.d.ts → L/GroupSelect.vue.d.ts} +0 -0
  183. package/dist/runtime/components/{l-icon-picker.d.vue.ts → L/IconPicker.d.vue.ts} +0 -0
  184. package/dist/runtime/components/{l-icon-picker.vue.d.ts → L/IconPicker.vue.d.ts} +0 -0
  185. package/dist/runtime/components/{l-item.d.vue.ts → L/Item.d.vue.ts} +0 -0
  186. package/dist/runtime/components/{l-item.vue.d.ts → L/Item.vue.d.ts} +0 -0
  187. package/dist/runtime/components/{l-link.d.vue.ts → L/Link.d.vue.ts} +0 -0
  188. package/dist/runtime/components/{l-link.vue → L/Link.vue} +0 -0
  189. package/dist/runtime/components/{l-link.vue.d.ts → L/Link.vue.d.ts} +0 -0
  190. package/dist/runtime/components/{l-list.d.vue.ts → L/List.d.vue.ts} +0 -0
  191. package/dist/runtime/components/{l-list.vue.d.ts → L/List.vue.d.ts} +0 -0
  192. package/dist/runtime/components/{l-login.d.vue.ts → L/Login.d.vue.ts} +0 -0
  193. package/dist/runtime/components/{l-login.vue → L/Login.vue} +0 -0
  194. package/dist/runtime/components/{l-login.vue.d.ts → L/Login.vue.d.ts} +0 -0
  195. package/dist/runtime/components/{l-fav-menu.vue.d.ts → L/Menu.d.vue.ts} +2 -2
  196. package/dist/runtime/components/{l-menu.vue → L/Menu.vue} +0 -0
  197. package/dist/runtime/components/{l-menu.vue.d.ts → L/Menu.vue.d.ts} +2 -2
  198. package/dist/runtime/components/{l-microsoft-button.d.vue.ts → L/MicrosoftButton.d.vue.ts} +0 -0
  199. package/dist/runtime/components/{l-microsoft-button.vue → L/MicrosoftButton.vue} +0 -0
  200. package/dist/runtime/components/{l-microsoft-button.vue.d.ts → L/MicrosoftButton.vue.d.ts} +0 -0
  201. package/dist/runtime/components/{l-page.d.vue.ts → L/Page.d.vue.ts} +1 -1
  202. package/dist/runtime/components/{l-page.vue.d.ts → L/Page.vue.d.ts} +1 -1
  203. package/dist/runtime/components/{l-repeater.d.vue.ts → L/Repeater.d.vue.ts} +2 -2
  204. package/dist/runtime/components/{l-repeater.vue → L/Repeater.vue} +0 -0
  205. package/dist/runtime/components/{l-repeater.vue.d.ts → L/Repeater.vue.d.ts} +2 -2
  206. package/dist/runtime/components/{l-row.d.vue.ts → L/Row.d.vue.ts} +0 -0
  207. package/dist/runtime/components/{l-row.vue → L/Row.vue} +0 -0
  208. package/dist/runtime/components/{l-row.vue.d.ts → L/Row.vue.d.ts} +0 -0
  209. package/dist/runtime/components/{l-save-btn.d.vue.ts → L/SaveBtn.d.vue.ts} +0 -0
  210. package/dist/runtime/components/{l-save-btn.vue → L/SaveBtn.vue} +0 -0
  211. package/dist/runtime/components/{l-save-btn.vue.d.ts → L/SaveBtn.vue.d.ts} +0 -0
  212. package/dist/runtime/components/{l-setup-2fa-dialog.d.vue.ts → L/Setup2faDialog.d.vue.ts} +0 -0
  213. package/dist/runtime/components/{l-setup-2fa-dialog.vue → L/Setup2faDialog.vue} +0 -0
  214. package/dist/runtime/components/{l-setup-2fa-dialog.vue.d.ts → L/Setup2faDialog.vue.d.ts} +0 -0
  215. package/dist/runtime/components/{l-small-box.d.vue.ts → L/SmallBox.d.vue.ts} +1 -1
  216. package/dist/runtime/components/{l-small-box.vue → L/SmallBox.vue} +0 -0
  217. package/dist/runtime/components/{l-small-box.vue.d.ts → L/SmallBox.vue.d.ts} +1 -1
  218. /package/dist/runtime/components/{l-statistic.d.vue.ts → L/Statistic.d.vue.ts} +0 -0
  219. /package/dist/runtime/components/{l-statistic.vue → L/Statistic.vue} +0 -0
  220. /package/dist/runtime/components/{l-statistic.vue.d.ts → L/Statistic.vue.d.ts} +0 -0
  221. /package/dist/runtime/components/{l-view-btn.d.vue.ts → L/System/Setting/logs.d.vue.ts} +0 -0
  222. /package/dist/runtime/components/{l-view-btn.vue.d.ts → L/System/Setting/logs.vue.d.ts} +0 -0
  223. /package/dist/runtime/components/{l-table.d.vue.ts → L/Table.d.vue.ts} +0 -0
  224. /package/dist/runtime/components/{l-table.vue.d.ts → L/Table.vue.d.ts} +0 -0
  225. /package/dist/runtime/components/{l-tabs.d.vue.ts → L/Tabs.d.vue.ts} +0 -0
  226. /package/dist/runtime/components/{l-tabs.vue.d.ts → L/Tabs.vue.d.ts} +0 -0
  227. /package/dist/runtime/components/{l-test2.d.vue.ts → L/Test2.d.vue.ts} +0 -0
  228. /package/dist/runtime/components/{l-test2.vue → L/Test2.vue} +0 -0
  229. /package/dist/runtime/components/{l-test2.vue.d.ts → L/Test2.vue.d.ts} +0 -0
  230. /package/dist/runtime/components/{user-list.d.vue.ts → L/UserList.d.vue.ts} +0 -0
  231. /package/dist/runtime/components/{user-list.vue → L/UserList.vue} +0 -0
  232. /package/dist/runtime/components/{user-list.vue.d.ts → L/UserList.vue.d.ts} +0 -0
  233. /package/dist/runtime/components/{l-view-btn.vue → L/ViewBtn.vue} +0 -0
@@ -1,11 +0,0 @@
1
- declare const modelValue: import("vue").ModelRef<unknown[], string, unknown[], unknown[]>;
2
- type __VLS_ModelProps = {
3
- modelValue?: typeof modelValue['value'];
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:modelValue": (value: unknown[]) => any;
7
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
8
- "onUpdate:modelValue"?: ((value: unknown[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const _default: typeof __VLS_export;
11
- export default _default;
@@ -1,60 +0,0 @@
1
- <script setup>
2
- import * as XLSX from "xlsx";
3
- import { ref } from "vue";
4
- const modelValue = defineModel({
5
- type: Array,
6
- default: []
7
- });
8
- const loading = ref(false);
9
- const hasFile = ref(false);
10
- const file = ref(null);
11
- const onChange = () => {
12
- hasFile.value = true;
13
- loading.value = true;
14
- file.value.files[0].arrayBuffer().then((data) => {
15
- const workbook = XLSX.read(data);
16
- const sheet = workbook.Sheets[workbook.SheetNames[0]];
17
- const json = XLSX.utils.sheet_to_json(sheet);
18
- loading.value = false;
19
- modelValue.value = json;
20
- });
21
- };
22
- const onClear = () => {
23
- hasFile.value = false;
24
- modelValue.value = [];
25
- };
26
- const showView = ref(false);
27
- </script>
28
-
29
- <template>
30
- <q-field v-bind="{ ...$light.styles.input, ...$attrs }" :loading="loading" :model-value="localData"
31
- @update:model-value="onClear">
32
- <template v-slot:control>
33
- <template v-if="!hasFile">
34
- <input type="file" accept=".xlsx" @change="onChange" ref="file" />
35
- </template>
36
-
37
- <template v-else>
38
- {{ modelValue.length }} records
39
- </template>
40
-
41
- </template>
42
-
43
- <template v-slot:prepend v-if="hasFile">
44
- <q-icon name="sym_o_table_view" @click="showView = true" class="cursor-pointer" />
45
- </template>
46
-
47
- <template v-slot:append v-if="hasFile">
48
- <q-icon name="cancel" @click="onClear" class="cursor-pointer" />
49
- </template>
50
-
51
- <q-dialog v-model="showView" full-width>
52
- <q-card>
53
- <q-card-section>
54
- <q-table :rows="modelValue" dense separator="cell" flat bordered></q-table>
55
- </q-card-section>
56
- </q-card>
57
- </q-dialog>
58
-
59
- </q-field>
60
- </template>
@@ -1,11 +0,0 @@
1
- declare const modelValue: import("vue").ModelRef<unknown[], string, unknown[], unknown[]>;
2
- type __VLS_ModelProps = {
3
- modelValue?: typeof modelValue['value'];
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:modelValue": (value: unknown[]) => any;
7
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
8
- "onUpdate:modelValue"?: ((value: unknown[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const _default: typeof __VLS_export;
11
- export default _default;
@@ -1,20 +0,0 @@
1
- import type { QSelectProps } from "quasar";
2
- declare const __VLS_export: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
3
- dark: boolean | null;
4
- rounded: boolean;
5
- square: boolean;
6
- dense: boolean;
7
- outlined: boolean;
8
- optionValue: string | ((option: string | any) => any);
9
- filled: boolean;
10
- stackLabel: boolean;
11
- standout: string | boolean;
12
- hideBottomSpace: boolean;
13
- emitValue: boolean;
14
- mapOptions: boolean;
15
- inputDebounce: string | number;
16
- optionLabel: string | ((option: string | any) => string);
17
- optionsDark: boolean | null;
18
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
- declare const _default: typeof __VLS_export;
20
- export default _default;
@@ -1,20 +0,0 @@
1
- import type { QSelectProps } from "quasar";
2
- declare const __VLS_export: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
3
- dark: boolean | null;
4
- rounded: boolean;
5
- square: boolean;
6
- dense: boolean;
7
- outlined: boolean;
8
- optionValue: string | ((option: string | any) => any);
9
- filled: boolean;
10
- stackLabel: boolean;
11
- standout: string | boolean;
12
- hideBottomSpace: boolean;
13
- emitValue: boolean;
14
- mapOptions: boolean;
15
- inputDebounce: string | number;
16
- optionLabel: string | ((option: string | any) => string);
17
- optionsDark: boolean | null;
18
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
- declare const _default: typeof __VLS_export;
20
- export default _default;
@@ -1,30 +0,0 @@
1
- <script setup>
2
- import { getCurrentInstance } from "vue";
3
- const instance = getCurrentInstance();
4
- const props = defineProps({
5
- name: { type: [Number, String], required: false },
6
- disable: { type: Boolean, required: false },
7
- icon: { type: null, required: false },
8
- label: { type: null, required: false },
9
- alert: { type: [Boolean, String], required: false, skipCheck: true },
10
- alertIcon: { type: null, required: false },
11
- noCaps: { type: Boolean, required: false, skipCheck: true },
12
- contentClass: { type: null, required: false },
13
- ripple: { type: Boolean, required: false, skipCheck: true },
14
- tabindex: { type: null, required: false }
15
- });
16
- const parent_type = instance?.parent?.type.name;
17
- </script>
18
-
19
- <template>
20
- <template v-if="parent_type == 'QTabPanels'">
21
- <q-tab-panel :name="name">
22
- <slot></slot>
23
- </q-tab-panel>
24
- </template>
25
-
26
- <template v-if="parent_type == 'QTabs'">
27
- <q-tab v-bind="$props" :label="$t(String($props.label))">
28
- </q-tab>
29
- </template>
30
- </template>
@@ -1,71 +0,0 @@
1
- <script setup>
2
- import { computed, ref, useAttrs } from "vue";
3
- import { useLight } from "#imports";
4
- import { useI18n } from "vue-i18n";
5
- const light = useLight();
6
- const { t } = useI18n();
7
- const modelValue = defineModel({ type: null });
8
- const props = defineProps({
9
- modelValue: { type: null, required: false },
10
- required: { type: Boolean, required: false, default: false },
11
- label: { type: String, required: false },
12
- hint: { type: String, required: false },
13
- nowBtn: { type: Boolean, required: false },
14
- withSeconds: { type: Boolean, required: false },
15
- format24h: { type: Boolean, required: false, default: true },
16
- mask: { type: String, required: false, default: "time" },
17
- hideBottomSpace: { type: Boolean, required: false, default: true },
18
- color: { type: String, required: false }
19
- });
20
- const popup = ref(null);
21
- const localValue = computed({
22
- get: () => {
23
- return modelValue.value;
24
- },
25
- set: (value) => {
26
- modelValue.value = value;
27
- }
28
- });
29
- const rules = [];
30
- if (props.required) {
31
- rules.push((v) => !!v || t("This field is required"));
32
- }
33
- rules.push((v) => {
34
- if (v) {
35
- const time = v.split(":");
36
- if (time.length == 2) {
37
- if (time[0] >= 0 && time[0] <= 23 && time[1] >= 0 && time[1] <= 59) {
38
- return true;
39
- }
40
- }
41
- if (time.length == 3) {
42
- if (time[0] >= 0 && time[0] <= 23 && time[1] >= 0 && time[1] <= 59 && time[2] >= 0 && time[2] <= 59) {
43
- return true;
44
- }
45
- }
46
- return t("Invalid time format");
47
- }
48
- return true;
49
- });
50
- </script>
51
-
52
- <template>
53
- <q-input v-bind="$light.getInputProps(props)" v-model="localValue" :rules="rules"
54
- :hide-bottom-space="hideBottomSpace">
55
- <template v-slot:prepend>
56
- <q-btn icon="sym_o_access_time" round dense flat>
57
- <q-popup-proxy cover transition-show="scale" transition-hide="scale" ref="popup">
58
- <q-time v-model="localValue" :format24h="format24h" :now-btn="nowBtn" :with-seconds="withSeconds">
59
- <div class="row items-center justify-end">
60
- <q-btn v-close-popup label="Close" flat />
61
- </div>
62
- </q-time>
63
- </q-popup-proxy>
64
- </q-btn>
65
- </template>
66
-
67
- <template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
68
- <slot :name="name" v-bind="props ?? {}"></slot>
69
- </template>
70
- </q-input>
71
- </template>
File without changes
@@ -9,8 +9,8 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<LColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LColProps> & Readonly<{}>, {
12
- sm: number | string;
13
12
  xs: number | string;
13
+ sm: number | string;
14
14
  md: number | string;
15
15
  gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
File without changes
@@ -9,8 +9,8 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<LColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LColProps> & Readonly<{}>, {
12
- sm: number | string;
13
12
  xs: number | string;
13
+ sm: number | string;
14
14
  md: number | string;
15
15
  gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -83,9 +83,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
83
83
  }>, {
84
84
  color: string;
85
85
  theme: string;
86
+ dense: boolean;
86
87
  footer: boolean;
87
88
  time: string;
88
- dense: boolean;
89
- menuOverlayHeader: boolean;
90
89
  miniState: boolean;
90
+ menuOverlayHeader: boolean;
91
91
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -83,9 +83,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
83
83
  }>, {
84
84
  color: string;
85
85
  theme: string;
86
+ dense: boolean;
86
87
  footer: boolean;
87
88
  time: string;
88
- dense: boolean;
89
- menuOverlayHeader: boolean;
90
89
  miniState: boolean;
90
+ menuOverlayHeader: boolean;
91
91
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,9 +1,9 @@
1
1
  declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{
4
- dense?: any;
5
4
  value?: any;
6
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
5
  dense?: any;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
7
  value?: any;
8
+ dense?: any;
9
9
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,9 +1,9 @@
1
1
  declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{
4
- dense?: any;
5
4
  value?: any;
6
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
5
  dense?: any;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
7
  value?: any;
8
+ dense?: any;
9
9
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -43,9 +43,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
43
43
  onInput?: ((...args: any[]) => any) | undefined;
44
44
  onClose?: ((...args: any[]) => any) | undefined;
45
45
  }>, {
46
- base: string;
47
46
  height: string;
48
47
  multiple: boolean;
48
+ base: string;
49
49
  closeable: boolean;
50
50
  defaultAction: string;
51
51
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -43,9 +43,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
43
43
  onInput?: ((...args: any[]) => any) | undefined;
44
44
  onClose?: ((...args: any[]) => any) | undefined;
45
45
  }>, {
46
- base: string;
47
46
  height: string;
48
47
  multiple: boolean;
48
+ base: string;
49
49
  closeable: boolean;
50
50
  defaultAction: string;
51
51
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -26,10 +26,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
26
26
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
27
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
28
28
  }>, {
29
- path: string;
30
29
  rounded: boolean;
31
30
  square: boolean;
32
31
  dense: boolean;
32
+ path: string;
33
33
  outlined: boolean;
34
34
  filled: boolean;
35
35
  stackLabel: boolean;
@@ -26,10 +26,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
26
26
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
27
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
28
28
  }>, {
29
- path: string;
30
29
  rounded: boolean;
31
30
  square: boolean;
32
31
  dense: boolean;
32
+ path: string;
33
33
  outlined: boolean;
34
34
  filled: boolean;
35
35
  stackLabel: boolean;
@@ -59,10 +59,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
59
59
  }>> & Readonly<{
60
60
  onSubmit?: ((...args: any[]) => any) | undefined;
61
61
  }>, {
62
- title: string;
63
- cancel: Function;
64
62
  value: Record<string, any>;
63
+ cancel: Function;
65
64
  width: string;
65
+ title: string;
66
66
  save: Function;
67
67
  showNotification: boolean;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -59,10 +59,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
59
59
  }>> & Readonly<{
60
60
  onSubmit?: ((...args: any[]) => any) | undefined;
61
61
  }>, {
62
- title: string;
63
- cancel: Function;
64
62
  value: Record<string, any>;
63
+ cancel: Function;
65
64
  width: string;
65
+ title: string;
66
66
  save: Function;
67
67
  showNotification: boolean;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;