@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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +9 -3
- package/dist/runtime/components/L/CustomField/Add.d.vue.ts +9 -6
- package/dist/runtime/components/L/CustomField/Add.vue.d.ts +9 -6
- package/dist/runtime/components/L/CustomField/List.d.vue.ts +2 -5
- package/dist/runtime/components/L/CustomField/List.vue.d.ts +2 -5
- package/dist/runtime/components/L/Database/create-table-dialog.d.vue.ts +7 -4
- package/dist/runtime/components/L/Database/create-table-dialog.vue.d.ts +7 -4
- package/dist/runtime/components/L/Fieldset.d.vue.ts +8 -6
- package/dist/runtime/components/L/Fieldset.vue.d.ts +8 -6
- package/dist/runtime/components/L/ForgetPasswordDialog.d.vue.ts +2 -1
- package/dist/runtime/components/L/ForgetPasswordDialog.vue +2 -1
- package/dist/runtime/components/L/ForgetPasswordDialog.vue.d.ts +2 -1
- package/dist/runtime/components/L/Revision.d.vue.ts +8 -6
- package/dist/runtime/components/L/Revision.vue.d.ts +8 -6
- package/dist/runtime/components/L/Storage.d.vue.ts +7 -5
- package/dist/runtime/components/L/Storage.vue.d.ts +7 -5
- package/dist/runtime/components/L/System/Setting/authentication.d.vue.ts +3 -8
- package/dist/runtime/components/L/System/Setting/authentication.vue.d.ts +3 -8
- package/dist/runtime/components/L/System/Setting/developer.d.vue.ts +3 -5
- package/dist/runtime/components/L/System/Setting/developer.vue.d.ts +3 -5
- package/dist/runtime/components/L/System/Setting/forget-password.d.vue.ts +3 -6
- package/dist/runtime/components/L/System/Setting/forget-password.vue.d.ts +3 -6
- package/dist/runtime/components/L/System/Setting/general.d.vue.ts +3 -7
- package/dist/runtime/components/L/System/Setting/general.vue.d.ts +3 -7
- package/dist/runtime/components/L/System/Setting/mail.d.vue.ts +3 -4
- package/dist/runtime/components/L/System/Setting/mail.vue.d.ts +3 -4
- package/dist/runtime/components/L/System/Setting/modules.d.vue.ts +2 -1
- package/dist/runtime/components/L/System/Setting/modules.vue.d.ts +2 -1
- package/dist/runtime/components/L/System/Setting/security.d.vue.ts +3 -15
- package/dist/runtime/components/L/System/Setting/security.vue.d.ts +3 -15
- package/dist/runtime/components/L/User/eventlog.d.vue.ts +2 -1
- package/dist/runtime/components/L/User/eventlog.vue.d.ts +2 -1
- package/dist/runtime/components/L/User/overview.d.vue.ts +2 -1
- package/dist/runtime/components/L/User/overview.vue.d.ts +2 -1
- package/dist/runtime/components/L/User/userlog.d.vue.ts +2 -1
- package/dist/runtime/components/L/User/userlog.vue.d.ts +2 -1
- package/dist/runtime/components/L/ValidationInput.d.vue.ts +7 -5
- package/dist/runtime/components/L/ValidationInput.vue.d.ts +7 -5
- package/dist/runtime/components/MyTest.d.vue.ts +7 -5
- package/dist/runtime/components/MyTest.vue.d.ts +7 -5
- package/dist/runtime/components/l-action-btn.d.vue.ts +5 -4
- package/dist/runtime/components/l-action-btn.vue.d.ts +5 -4
- package/dist/runtime/components/l-add-btn.d.vue.ts +9 -7
- package/dist/runtime/components/l-add-btn.vue.d.ts +9 -7
- package/dist/runtime/components/l-alert.d.vue.ts +7 -5
- package/dist/runtime/components/l-alert.vue.d.ts +7 -5
- package/dist/runtime/components/l-app-main.d.vue.ts +8 -7
- package/dist/runtime/components/l-app-main.vue +5 -5
- package/dist/runtime/components/l-app-main.vue.d.ts +8 -7
- package/dist/runtime/components/l-app.d.vue.ts +3 -2
- package/dist/runtime/components/l-app.vue.d.ts +3 -2
- package/dist/runtime/components/l-audit-card.d.vue.ts +4 -3
- package/dist/runtime/components/l-audit-card.vue.d.ts +4 -3
- package/dist/runtime/components/l-back-btn.d.vue.ts +2 -1
- package/dist/runtime/components/l-back-btn.vue.d.ts +2 -1
- package/dist/runtime/components/l-banner.d.vue.ts +5 -7
- package/dist/runtime/components/l-banner.vue.d.ts +5 -7
- package/dist/runtime/components/l-bar.d.vue.ts +5 -7
- package/dist/runtime/components/l-bar.vue.d.ts +5 -7
- package/dist/runtime/components/l-btn.d.vue.ts +3 -7
- package/dist/runtime/components/l-btn.vue.d.ts +3 -7
- package/dist/runtime/components/l-card.d.vue.ts +9 -11
- package/dist/runtime/components/l-card.vue.d.ts +9 -11
- package/dist/runtime/components/l-checkbox.d.vue.ts +5 -6
- package/dist/runtime/components/l-checkbox.vue.d.ts +5 -6
- package/dist/runtime/components/l-col.d.vue.ts +3 -7
- package/dist/runtime/components/l-col.vue.d.ts +3 -7
- package/dist/runtime/components/l-customizer.d.vue.ts +17 -14
- package/dist/runtime/components/l-customizer.vue.d.ts +17 -14
- package/dist/runtime/components/l-date-picker.d.vue.ts +8 -19
- package/dist/runtime/components/l-date-picker.vue.d.ts +8 -19
- package/dist/runtime/components/l-delete-btn.d.vue.ts +9 -6
- package/dist/runtime/components/l-delete-btn.vue.d.ts +9 -6
- package/dist/runtime/components/l-dialog-database-field-add.d.vue.ts +7 -4
- package/dist/runtime/components/l-dialog-database-field-add.vue.d.ts +7 -4
- package/dist/runtime/components/l-drag-drop-container.d.vue.ts +7 -5
- package/dist/runtime/components/l-drag-drop-container.vue.d.ts +7 -5
- package/dist/runtime/components/l-drag-drop-group.d.vue.ts +3 -2
- package/dist/runtime/components/l-drag-drop-group.vue.d.ts +3 -2
- package/dist/runtime/components/l-drag-drop.d.vue.ts +4 -2
- package/dist/runtime/components/l-drag-drop.vue.d.ts +4 -2
- package/dist/runtime/components/l-edit-btn.d.vue.ts +2 -1
- package/dist/runtime/components/l-edit-btn.vue.d.ts +2 -1
- package/dist/runtime/components/l-editor.d.vue.ts +3 -8
- package/dist/runtime/components/l-editor.vue.d.ts +3 -8
- package/dist/runtime/components/l-facebook-button.d.vue.ts +5 -3
- package/dist/runtime/components/l-facebook-button.vue.d.ts +5 -3
- package/dist/runtime/components/l-fav-menu.d.vue.ts +9 -7
- package/dist/runtime/components/l-fav-menu.vue.d.ts +9 -7
- package/dist/runtime/components/l-field.d.vue.ts +5 -14
- package/dist/runtime/components/l-field.vue +1 -1
- package/dist/runtime/components/l-field.vue.d.ts +5 -14
- package/dist/runtime/components/l-file-manager-labels.d.vue.ts +5 -3
- package/dist/runtime/components/l-file-manager-labels.vue.d.ts +5 -3
- package/dist/runtime/components/l-file-manager-move.d.vue.ts +9 -6
- package/dist/runtime/components/l-file-manager-move.vue +2 -1
- package/dist/runtime/components/l-file-manager-move.vue.d.ts +9 -6
- package/dist/runtime/components/l-file-manager-preview.d.vue.ts +8 -6
- package/dist/runtime/components/l-file-manager-preview.vue +2 -1
- package/dist/runtime/components/l-file-manager-preview.vue.d.ts +8 -6
- package/dist/runtime/components/l-file-manager.d.vue.ts +14 -11
- package/dist/runtime/components/l-file-manager.vue +10 -13
- package/dist/runtime/components/l-file-manager.vue.d.ts +14 -11
- package/dist/runtime/components/l-file-upload.d.vue.ts +8 -17
- package/dist/runtime/components/l-file-upload.vue.d.ts +8 -17
- package/dist/runtime/components/l-file.d.vue.ts +3 -10
- package/dist/runtime/components/l-file.vue.d.ts +3 -10
- package/dist/runtime/components/l-form-dialog.d.vue.ts +14 -11
- package/dist/runtime/components/l-form-dialog.vue.d.ts +14 -11
- package/dist/runtime/components/l-form.d.vue.ts +5 -4
- package/dist/runtime/components/l-form.vue.d.ts +5 -4
- package/dist/runtime/components/l-group-select.d.vue.ts +9 -7
- package/dist/runtime/components/l-group-select.vue.d.ts +9 -7
- package/dist/runtime/components/l-icon-picker.d.vue.ts +2 -7
- package/dist/runtime/components/l-icon-picker.vue.d.ts +2 -7
- package/dist/runtime/components/l-input-select.d.vue.ts +6 -16
- package/dist/runtime/components/l-input-select.vue.d.ts +6 -16
- package/dist/runtime/components/l-input-xlsx.d.vue.ts +4 -3
- package/dist/runtime/components/l-input-xlsx.vue.d.ts +4 -3
- package/dist/runtime/components/l-input.d.vue.ts +8 -16
- package/dist/runtime/components/l-input.vue.d.ts +8 -16
- package/dist/runtime/components/l-item.d.vue.ts +7 -10
- package/dist/runtime/components/l-item.vue.d.ts +7 -10
- package/dist/runtime/components/l-link.d.vue.ts +8 -6
- package/dist/runtime/components/l-link.vue.d.ts +8 -6
- package/dist/runtime/components/l-list.d.vue.ts +5 -8
- package/dist/runtime/components/l-list.vue.d.ts +5 -8
- package/dist/runtime/components/l-login.d.vue.ts +2 -1
- package/dist/runtime/components/l-login.vue +5 -3
- package/dist/runtime/components/l-login.vue.d.ts +2 -1
- package/dist/runtime/components/l-menu.d.vue.ts +9 -7
- package/dist/runtime/components/l-menu.vue.d.ts +9 -7
- package/dist/runtime/components/l-microsoft-button.d.vue.ts +2 -1
- package/dist/runtime/components/l-microsoft-button.vue.d.ts +2 -1
- package/dist/runtime/components/l-page.d.vue.ts +6 -10
- package/dist/runtime/components/l-page.vue.d.ts +6 -10
- package/dist/runtime/components/l-row.d.vue.ts +3 -4
- package/dist/runtime/components/l-row.vue.d.ts +3 -4
- package/dist/runtime/components/l-save-btn.d.vue.ts +2 -1
- package/dist/runtime/components/l-save-btn.vue.d.ts +2 -1
- package/dist/runtime/components/l-select.d.vue.ts +2 -17
- package/dist/runtime/components/l-select.vue.d.ts +2 -17
- package/dist/runtime/components/l-small-box.d.vue.ts +2 -6
- package/dist/runtime/components/l-small-box.vue.d.ts +2 -6
- package/dist/runtime/components/l-statistic.d.vue.ts +8 -6
- package/dist/runtime/components/l-statistic.vue.d.ts +8 -6
- package/dist/runtime/components/l-tab.d.vue.ts +5 -4
- package/dist/runtime/components/l-tab.vue.d.ts +5 -4
- package/dist/runtime/components/l-table.d.vue.ts +10 -30
- package/dist/runtime/components/l-table.vue.d.ts +10 -30
- package/dist/runtime/components/l-tabs.d.vue.ts +9 -10
- package/dist/runtime/components/l-tabs.vue.d.ts +9 -10
- package/dist/runtime/components/l-test2.d.vue.ts +2 -1
- package/dist/runtime/components/l-test2.vue.d.ts +2 -1
- package/dist/runtime/components/l-time-picker.d.vue.ts +8 -11
- package/dist/runtime/components/l-time-picker.vue.d.ts +8 -11
- package/dist/runtime/components/l-view-btn.d.vue.ts +2 -1
- package/dist/runtime/components/l-view-btn.vue.d.ts +2 -1
- package/dist/runtime/components/user-list.d.vue.ts +7 -5
- package/dist/runtime/components/user-list.vue.d.ts +7 -5
- package/dist/runtime/composables/collect.d.ts +1 -2
- package/dist/runtime/composables/collect.js +3 -2
- package/dist/runtime/composables/defineLightModel.js +2 -2
- package/dist/runtime/composables/f.d.ts +3 -0
- package/dist/runtime/composables/getCurrentUser.d.ts +1 -2
- package/dist/runtime/composables/getCurrentUser.js +4 -9
- package/dist/runtime/composables/getGQLFields.js +2 -2
- package/dist/runtime/composables/getModelField.js +2 -2
- package/dist/runtime/composables/getObject.d.ts +3 -0
- package/dist/runtime/composables/m.js +16 -2
- package/dist/runtime/composables/model.d.ts +2 -2
- package/dist/runtime/composables/model.js +2 -2
- package/dist/runtime/composables/sv.js +2 -2
- package/dist/runtime/composables/toJson.d.ts +3 -0
- package/dist/runtime/composables/useEntityId.d.ts +2 -0
- package/dist/runtime/composables/useEntityId.js +11 -0
- package/dist/runtime/composables/useLight.d.ts +14 -14
- package/dist/runtime/composables/useLight.js +1 -1
- package/dist/runtime/composables/{list.d.ts → useList.d.ts} +1 -2
- package/dist/runtime/composables/useList.js +37 -0
- package/dist/runtime/composables/useObject.d.ts +2 -1
- package/dist/runtime/composables/useObject.js +23 -38
- package/dist/runtime/composables/useRoles.js +1 -1
- package/dist/runtime/composables/useWebAuthn.d.ts +2 -4
- package/dist/runtime/composables/useWebAuthn.js +2 -3
- package/dist/runtime/formkit/Checkbox.d.vue.ts +7 -5
- package/dist/runtime/formkit/Checkbox.vue.d.ts +7 -5
- package/dist/runtime/formkit/DatePicker.d.vue.ts +7 -5
- package/dist/runtime/formkit/DatePicker.vue.d.ts +7 -5
- package/dist/runtime/formkit/Editor.d.vue.ts +7 -5
- package/dist/runtime/formkit/Editor.vue.d.ts +7 -5
- package/dist/runtime/formkit/File.d.vue.ts +7 -5
- package/dist/runtime/formkit/File.vue.d.ts +7 -5
- package/dist/runtime/formkit/FilePicker.d.vue.ts +7 -5
- package/dist/runtime/formkit/FilePicker.vue.d.ts +7 -5
- package/dist/runtime/formkit/FileUpload.d.vue.ts +7 -5
- package/dist/runtime/formkit/FileUpload.vue.d.ts +7 -5
- package/dist/runtime/formkit/Form.d.vue.ts +5 -4
- package/dist/runtime/formkit/Form.vue.d.ts +5 -4
- package/dist/runtime/formkit/GroupSelect.d.vue.ts +7 -5
- package/dist/runtime/formkit/GroupSelect.vue.d.ts +7 -5
- package/dist/runtime/formkit/Input.d.vue.ts +5 -4
- package/dist/runtime/formkit/Input.vue.d.ts +5 -4
- package/dist/runtime/formkit/InputSelect.d.vue.ts +5 -4
- package/dist/runtime/formkit/InputSelect.vue.d.ts +5 -4
- package/dist/runtime/formkit/InputXlsx.d.vue.ts +7 -5
- package/dist/runtime/formkit/InputXlsx.vue.d.ts +7 -5
- package/dist/runtime/formkit/OptionGroup.d.vue.ts +7 -5
- package/dist/runtime/formkit/OptionGroup.vue.d.ts +7 -5
- package/dist/runtime/formkit/Radio.d.vue.ts +7 -5
- package/dist/runtime/formkit/Radio.vue.d.ts +7 -5
- package/dist/runtime/formkit/Repeater.d.vue.ts +7 -5
- package/dist/runtime/formkit/Repeater.vue +39 -12
- package/dist/runtime/formkit/Repeater.vue.d.ts +7 -5
- package/dist/runtime/formkit/Select.d.vue.ts +7 -5
- package/dist/runtime/formkit/Select.vue.d.ts +7 -5
- package/dist/runtime/formkit/Textarea.d.vue.ts +5 -4
- package/dist/runtime/formkit/Textarea.vue.d.ts +5 -4
- package/dist/runtime/formkit/TimePicker.d.vue.ts +7 -5
- package/dist/runtime/formkit/TimePicker.vue.d.ts +7 -5
- package/dist/runtime/formkit/Toggle.d.vue.ts +5 -4
- package/dist/runtime/formkit/Toggle.vue.d.ts +5 -4
- package/dist/runtime/pages/CustomField/[custom_field_id]/edit.d.vue.ts +2 -1
- package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue +14 -2
- package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue.d.ts +2 -1
- package/dist/runtime/pages/CustomField/index.d.vue.ts +2 -1
- package/dist/runtime/pages/CustomField/index.vue.d.ts +2 -1
- package/dist/runtime/pages/EventLog/_eventlog_id/view.d.vue.ts +2 -1
- package/dist/runtime/pages/EventLog/_eventlog_id/view.vue +13 -3
- package/dist/runtime/pages/EventLog/_eventlog_id/view.vue.d.ts +2 -1
- package/dist/runtime/pages/EventLog/index.d.vue.ts +2 -1
- package/dist/runtime/pages/EventLog/index.vue.d.ts +2 -1
- package/dist/runtime/pages/FileManager/index.d.vue.ts +2 -1
- package/dist/runtime/pages/FileManager/index.vue.d.ts +2 -1
- package/dist/runtime/pages/MailLog/index.d.vue.ts +2 -1
- package/dist/runtime/pages/MailLog/index.vue.d.ts +2 -1
- package/dist/runtime/pages/Permission/add.d.vue.ts +2 -1
- package/dist/runtime/pages/Permission/add.vue +3 -2
- package/dist/runtime/pages/Permission/add.vue.d.ts +2 -1
- package/dist/runtime/pages/Permission/all.d.vue.ts +2 -1
- package/dist/runtime/pages/Permission/all.vue +2 -2
- package/dist/runtime/pages/Permission/all.vue.d.ts +2 -1
- package/dist/runtime/pages/Permission/export.d.vue.ts +2 -1
- package/dist/runtime/pages/Permission/export.vue +2 -2
- package/dist/runtime/pages/Permission/export.vue.d.ts +2 -1
- package/dist/runtime/pages/Permission/index.d.vue.ts +2 -1
- package/dist/runtime/pages/Permission/index.vue.d.ts +2 -1
- package/dist/runtime/pages/Role/_name/update-child.d.vue.ts +2 -1
- package/dist/runtime/pages/Role/_name/update-child.vue.d.ts +2 -1
- package/dist/runtime/pages/Role/add.d.vue.ts +2 -1
- package/dist/runtime/pages/Role/add.vue +7 -3
- package/dist/runtime/pages/Role/add.vue.d.ts +2 -1
- package/dist/runtime/pages/Role/add2.d.vue.ts +2 -1
- package/dist/runtime/pages/Role/add2.vue +2 -2
- package/dist/runtime/pages/Role/add2.vue.d.ts +2 -1
- package/dist/runtime/pages/Role/index.d.vue.ts +2 -1
- package/dist/runtime/pages/Role/index.vue.d.ts +2 -1
- package/dist/runtime/pages/System/database/backup.d.vue.ts +2 -1
- package/dist/runtime/pages/System/database/backup.vue.d.ts +2 -1
- package/dist/runtime/pages/System/database/check.d.vue.ts +2 -1
- package/dist/runtime/pages/System/database/check.vue.d.ts +2 -1
- package/dist/runtime/pages/System/database/event.d.vue.ts +2 -1
- package/dist/runtime/pages/System/database/event.vue.d.ts +2 -1
- package/dist/runtime/pages/System/database/process.d.vue.ts +2 -1
- package/dist/runtime/pages/System/database/process.vue.d.ts +2 -1
- package/dist/runtime/pages/System/database/restore.d.vue.ts +2 -1
- package/dist/runtime/pages/System/database/restore.vue.d.ts +2 -1
- package/dist/runtime/pages/System/database/table.d.vue.ts +2 -1
- package/dist/runtime/pages/System/database/table.vue +2 -2
- package/dist/runtime/pages/System/database/table.vue.d.ts +2 -1
- package/dist/runtime/pages/System/fs.d.vue.ts +2 -1
- package/dist/runtime/pages/System/fs.vue.d.ts +2 -1
- package/dist/runtime/pages/System/index.d.vue.ts +2 -1
- package/dist/runtime/pages/System/index.vue.d.ts +2 -1
- package/dist/runtime/pages/System/mailtest.d.vue.ts +2 -1
- package/dist/runtime/pages/System/mailtest.vue.d.ts +2 -1
- package/dist/runtime/pages/System/menu/index.d.vue.ts +2 -1
- package/dist/runtime/pages/System/menu/index.vue.d.ts +2 -1
- package/dist/runtime/pages/System/package.d.vue.ts +2 -1
- package/dist/runtime/pages/System/package.vue.d.ts +2 -1
- package/dist/runtime/pages/System/phpinfo.d.vue.ts +2 -1
- package/dist/runtime/pages/System/phpinfo.vue.d.ts +2 -1
- package/dist/runtime/pages/System/setting.d.vue.ts +2 -1
- package/dist/runtime/pages/System/setting.vue +1 -1
- package/dist/runtime/pages/System/setting.vue.d.ts +2 -1
- package/dist/runtime/pages/System/test.d.vue.ts +2 -1
- package/dist/runtime/pages/System/test.vue.d.ts +2 -1
- package/dist/runtime/pages/System/view_as.d.vue.ts +2 -1
- package/dist/runtime/pages/System/view_as.vue.d.ts +2 -1
- package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.d.vue.ts +2 -1
- package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue +7 -4
- package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue.d.ts +2 -1
- package/dist/runtime/pages/SystemValue/add.d.vue.ts +2 -1
- package/dist/runtime/pages/SystemValue/add.vue.d.ts +2 -1
- package/dist/runtime/pages/SystemValue/index.d.vue.ts +2 -1
- package/dist/runtime/pages/SystemValue/index.vue.d.ts +2 -1
- package/dist/runtime/pages/Translate/index.d.vue.ts +2 -1
- package/dist/runtime/pages/Translate/index.vue +10 -6
- package/dist/runtime/pages/Translate/index.vue.d.ts +2 -1
- package/dist/runtime/pages/User/_user_id/change-password.d.vue.ts +2 -1
- package/dist/runtime/pages/User/_user_id/change-password.vue.d.ts +2 -1
- package/dist/runtime/pages/User/_user_id/edit.d.vue.ts +2 -1
- package/dist/runtime/pages/User/_user_id/edit.vue +19 -18
- package/dist/runtime/pages/User/_user_id/edit.vue.d.ts +2 -1
- package/dist/runtime/pages/User/_user_id/update-role.d.vue.ts +2 -1
- package/dist/runtime/pages/User/_user_id/update-role.vue +8 -5
- package/dist/runtime/pages/User/_user_id/update-role.vue.d.ts +2 -1
- package/dist/runtime/pages/User/_user_id/view.d.vue.ts +2 -1
- package/dist/runtime/pages/User/_user_id/view.vue +4 -10
- package/dist/runtime/pages/User/_user_id/view.vue.d.ts +2 -1
- package/dist/runtime/pages/User/add.d.vue.ts +2 -1
- package/dist/runtime/pages/User/add.vue.d.ts +2 -1
- package/dist/runtime/pages/User/index.d.vue.ts +2 -1
- package/dist/runtime/pages/User/index.vue.d.ts +2 -1
- package/dist/runtime/pages/User/profile.d.vue.ts +2 -1
- package/dist/runtime/pages/User/profile.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/bio-auth.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/bio-auth.vue +21 -32
- package/dist/runtime/pages/User/setting/bio-auth.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/favorite.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/favorite.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/index.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/index.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/information.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/information.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/menu.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/menu.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/open_id.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/open_id.vue +5 -2
- package/dist/runtime/pages/User/setting/open_id.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/password.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/password.vue +6 -3
- package/dist/runtime/pages/User/setting/password.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/style.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/style.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting/two-factor-auth.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting/two-factor-auth.vue.d.ts +2 -1
- package/dist/runtime/pages/User/setting.d.vue.ts +2 -1
- package/dist/runtime/pages/User/setting.vue.d.ts +2 -1
- package/dist/runtime/pages/UserLog/index.d.vue.ts +2 -1
- package/dist/runtime/pages/UserLog/index.vue.d.ts +2 -1
- package/dist/runtime/plugin.d.ts +1 -1
- package/dist/runtime/plugin.js +17 -14
- package/package.json +8 -8
- package/dist/runtime/composables/api.d.ts +0 -2
- package/dist/runtime/composables/api.js +0 -2
- package/dist/runtime/composables/isGranted.d.ts +0 -1
- package/dist/runtime/composables/isGranted.js +0 -13
- package/dist/runtime/composables/list.js +0 -4
- package/dist/runtime/composables/q.d.ts +0 -1
- package/dist/runtime/composables/q.js +0 -26
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
default?: ((props: {}) => any) | undefined;
|
|
14
13
|
};
|
|
14
|
+
declare const props: {
|
|
15
|
+
readonly context?: Record<string, any> | undefined;
|
|
16
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof props>;
|
|
2
5
|
context?: Record<string, any> | undefined;
|
|
3
|
-
$props: {
|
|
4
|
-
readonly context?: Record<string, any> | undefined;
|
|
5
|
-
};
|
|
6
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
|
|
7
|
+
declare const props: {
|
|
8
|
+
readonly context?: Record<string, any> | undefined;
|
|
9
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof props>;
|
|
2
5
|
context?: Record<string, any> | undefined;
|
|
3
|
-
$props: {
|
|
4
|
-
readonly context?: Record<string, any> | undefined;
|
|
5
|
-
};
|
|
6
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
|
|
7
|
+
declare const props: {
|
|
8
|
+
readonly context?: Record<string, any> | undefined;
|
|
9
|
+
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
default?: ((props: {}) => any) | undefined;
|
|
14
13
|
};
|
|
14
|
+
declare const props: {
|
|
15
|
+
readonly context?: Record<string, any> | undefined;
|
|
16
|
+
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
default?: ((props: {}) => any) | undefined;
|
|
14
13
|
};
|
|
14
|
+
declare const props: {
|
|
15
|
+
readonly context?: Record<string, any> | undefined;
|
|
16
|
+
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
default?: ((props: {
|
|
@@ -16,3 +15,6 @@ type __VLS_Slots = {
|
|
|
16
15
|
node: any;
|
|
17
16
|
}) => any) | undefined;
|
|
18
17
|
};
|
|
18
|
+
declare const props: {
|
|
19
|
+
readonly context?: Record<string, any> | undefined;
|
|
20
|
+
};
|
|
@@ -1,36 +1,62 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, ref } from "vue";
|
|
2
|
+
import { computed, ref, watch } from "vue";
|
|
3
3
|
import { useDragAndDrop } from "@formkit/drag-and-drop/vue";
|
|
4
4
|
import { animations } from "@formkit/drag-and-drop";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
context: Object
|
|
7
7
|
});
|
|
8
8
|
const node = props.context.node;
|
|
9
|
-
const min = props.context.node.props.min ??
|
|
10
|
-
const max = props.context.node.props.max ?? Infinity;
|
|
11
|
-
const sortable = props.context.node.props.sortable
|
|
12
|
-
const addLabel = props.context.node.props.addLabel ?? "Add";
|
|
9
|
+
const min = ref(props.context.node.props.min ?? 0);
|
|
10
|
+
const max = ref(props.context.node.props.max ?? Infinity);
|
|
11
|
+
const sortable = ref(props.context.node.props.sortable ?? true);
|
|
12
|
+
const addLabel = ref(props.context.node.props.addLabel ?? "Add");
|
|
13
|
+
node.on("prop", ({ payload }) => {
|
|
14
|
+
if (payload.prop == "max") {
|
|
15
|
+
max.value = payload.value;
|
|
16
|
+
}
|
|
17
|
+
if (payload.prop == "min") {
|
|
18
|
+
min.value = payload.value;
|
|
19
|
+
}
|
|
20
|
+
if (payload.prop == "sortable") {
|
|
21
|
+
sortable.value = payload.value;
|
|
22
|
+
}
|
|
23
|
+
if (payload.prop == "addLabel") {
|
|
24
|
+
addLabel.value = payload.value;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
13
27
|
if (!props.context.value) {
|
|
14
28
|
await node.input([]);
|
|
15
29
|
}
|
|
30
|
+
watch(() => max.value, (newVal) => {
|
|
31
|
+
if (localValue.value.length > newVal) {
|
|
32
|
+
localValue.value = localValue.value.slice(0, newVal);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
watch(() => min.value, (newVal) => {
|
|
36
|
+
if (localValue.value.length < newVal) {
|
|
37
|
+
for (let i = localValue.value.length; i < newVal; i++) {
|
|
38
|
+
localValue.value.push({});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
16
42
|
const [parent, localValue] = useDragAndDrop(props.context.value, {
|
|
17
43
|
dragHandle: ".l-repeater-handle",
|
|
18
44
|
plugins: [animations()]
|
|
19
45
|
});
|
|
20
|
-
if (localValue.value.length < min) {
|
|
21
|
-
for (let i = localValue.value.length; i < min; i++) {
|
|
46
|
+
if (localValue.value.length < min.value) {
|
|
47
|
+
for (let i = localValue.value.length; i < min.value; i++) {
|
|
22
48
|
localValue.value.push({});
|
|
23
49
|
}
|
|
24
50
|
}
|
|
25
|
-
if (localValue.value.length > max) {
|
|
26
|
-
localValue.value = localValue.value.slice(0, max);
|
|
51
|
+
if (localValue.value.length > max.value) {
|
|
52
|
+
localValue.value = localValue.value.slice(0, max.value);
|
|
27
53
|
}
|
|
28
54
|
const onAdd = () => {
|
|
29
|
-
if (localValue.value.length >= max) return;
|
|
55
|
+
if (localValue.value.length >= max.value) return;
|
|
30
56
|
localValue.value.push({});
|
|
31
57
|
};
|
|
32
58
|
const onRemove = (index) => {
|
|
33
|
-
if (localValue.value.length <= min) return;
|
|
59
|
+
if (localValue.value.length <= min.value) return;
|
|
34
60
|
localValue.value.splice(index, 1);
|
|
35
61
|
};
|
|
36
62
|
const onMoveUp = (index) => {
|
|
@@ -48,7 +74,7 @@ const onMoveDown = (index) => {
|
|
|
48
74
|
}
|
|
49
75
|
};
|
|
50
76
|
const isAllowRemove = computed(() => {
|
|
51
|
-
return localValue.value.length > min;
|
|
77
|
+
return localValue.value.length > min.value;
|
|
52
78
|
});
|
|
53
79
|
const isAllowMoveUp = (index) => {
|
|
54
80
|
return index > 0;
|
|
@@ -66,6 +92,7 @@ const cursor = ref("cursor-grab");
|
|
|
66
92
|
<template>
|
|
67
93
|
<FormKit type="list" v-model="localValue" dynamic #default="{ items, node }" :name="node.name">
|
|
68
94
|
<div class="col col-12">
|
|
95
|
+
|
|
69
96
|
<q-list bordered separator ref="parent">
|
|
70
97
|
<FormKit type="group" v-for="(item, index) in items" :index="index" :key="item" #default="{ node }">
|
|
71
98
|
<q-item class="q-pa-xs">
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
default?: ((props: {
|
|
@@ -16,3 +15,6 @@ type __VLS_Slots = {
|
|
|
16
15
|
node: any;
|
|
17
16
|
}) => any) | undefined;
|
|
18
17
|
};
|
|
18
|
+
declare const props: {
|
|
19
|
+
readonly context?: Record<string, any> | undefined;
|
|
20
|
+
};
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
14
13
|
[x: number]: ((props: any) => any) | undefined;
|
|
15
14
|
};
|
|
15
|
+
declare const props: {
|
|
16
|
+
readonly context?: Record<string, any> | undefined;
|
|
17
|
+
};
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
14
13
|
[x: number]: ((props: any) => any) | undefined;
|
|
15
14
|
};
|
|
15
|
+
declare const props: {
|
|
16
|
+
readonly context?: Record<string, any> | undefined;
|
|
17
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_12: string | number, __VLS_13: any;
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof
|
|
3
|
+
[K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
context: {
|
|
7
7
|
type: ObjectConstructor;
|
|
8
8
|
required: true;
|
|
@@ -13,7 +13,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_12: string | number, __VLS_13: any;
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof
|
|
3
|
+
[K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
context: {
|
|
7
7
|
type: ObjectConstructor;
|
|
8
8
|
required: true;
|
|
@@ -13,7 +13,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
14
13
|
[x: number]: ((props: any) => any) | undefined;
|
|
15
14
|
};
|
|
15
|
+
declare const props: {
|
|
16
|
+
readonly context?: Record<string, any> | undefined;
|
|
17
|
+
};
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
4
|
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
5
|
$slots: S;
|
|
5
6
|
});
|
|
6
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
|
+
$props: Partial<typeof props>;
|
|
7
9
|
context?: Record<string, any> | undefined;
|
|
8
|
-
$props: {
|
|
9
|
-
readonly context?: Record<string, any> | undefined;
|
|
10
|
-
};
|
|
11
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
11
|
type __VLS_Slots = {
|
|
13
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
14
13
|
[x: number]: ((props: any) => any) | undefined;
|
|
15
14
|
};
|
|
15
|
+
declare const props: {
|
|
16
|
+
readonly context?: Record<string, any> | undefined;
|
|
17
|
+
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
context: ObjectConstructor;
|
|
7
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
context: ObjectConstructor;
|
|
9
9
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
13
14
|
new (): {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
context: ObjectConstructor;
|
|
7
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
context: ObjectConstructor;
|
|
9
9
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
13
14
|
new (): {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
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,19 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
2
|
+
import { useObject, q } from "#imports";
|
|
3
3
|
import { ref } from "vue";
|
|
4
|
-
const obj = await
|
|
4
|
+
const { data: obj } = await useObject({
|
|
5
|
+
custom_field_id: true,
|
|
6
|
+
name: true,
|
|
7
|
+
model: true,
|
|
8
|
+
validation: true,
|
|
9
|
+
type: true,
|
|
10
|
+
label: true,
|
|
11
|
+
options: true,
|
|
12
|
+
default_value: true,
|
|
13
|
+
placeholder: true,
|
|
14
|
+
order: true,
|
|
15
|
+
help: true
|
|
16
|
+
});
|
|
5
17
|
const types = [
|
|
6
18
|
{ label: "Text", value: "text" },
|
|
7
19
|
{ label: "Textarea", value: "textarea" },
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
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:
|
|
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:
|
|
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:
|
|
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,16 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
3
|
-
const obj = await
|
|
2
|
+
import { useObject } from "#imports";
|
|
3
|
+
const { data: obj } = await useObject({
|
|
4
|
+
eventlog_id: true,
|
|
5
|
+
class: true,
|
|
6
|
+
id: true,
|
|
7
|
+
action: true,
|
|
8
|
+
created_time: true,
|
|
9
|
+
username: true,
|
|
10
|
+
source: true,
|
|
11
|
+
target: true,
|
|
12
|
+
different: true
|
|
13
|
+
});
|
|
4
14
|
const splitterModel = 50;
|
|
5
15
|
</script>
|
|
6
16
|
|
|
@@ -36,7 +46,7 @@ const splitterModel = 50;
|
|
|
36
46
|
<q-separator />
|
|
37
47
|
<div class="q-pa-md" style="overflow: auto;">
|
|
38
48
|
<div class="text-h6 q-mb-md">{{ $t('Different') }}</div>
|
|
39
|
-
<pre>{{ obj.different }}</pre>
|
|
49
|
+
<pre v-if="obj.different">{{ obj.different }}</pre>
|
|
40
50
|
</div>
|
|
41
51
|
</l-card>
|
|
42
52
|
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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:
|
|
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,12 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive } from "vue";
|
|
3
|
-
import {
|
|
3
|
+
import { m } from "#imports";
|
|
4
|
+
import { listRoles } from "@hostlink/light";
|
|
4
5
|
import { useRouter } from "vue-router";
|
|
5
6
|
const obj = reactive({
|
|
6
7
|
roles: []
|
|
7
8
|
});
|
|
8
|
-
let roles = await
|
|
9
|
+
let roles = await listRoles();
|
|
9
10
|
roles = roles.map((role) => {
|
|
10
11
|
return {
|
|
11
12
|
label: role.name,
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
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:
|
|
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,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref } from "vue";
|
|
3
|
-
import { m,
|
|
3
|
+
import { m, q } from "#imports";
|
|
4
4
|
import { useI18n } from "vue-i18n";
|
|
5
5
|
import { useQuasar } from "quasar";
|
|
6
6
|
const { t } = useI18n();
|
|
@@ -10,7 +10,7 @@ const updating = ref(/* @__PURE__ */ new Set());
|
|
|
10
10
|
const fetchApp = async () => {
|
|
11
11
|
try {
|
|
12
12
|
loading.value = true;
|
|
13
|
-
const { app: app2 } = await
|
|
13
|
+
const { app: app2 } = await q({
|
|
14
14
|
app: {
|
|
15
15
|
permissions: true,
|
|
16
16
|
roles: {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
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>;
|