@hostlink/nuxt-light 1.55.0 → 1.56.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/README.md +120 -120
- package/dist/module.json +1 -1
- package/dist/runtime/components/L/CustomField/Add.vue +40 -42
- package/dist/runtime/components/L/CustomField/List.vue +5 -5
- package/dist/runtime/components/L/Database/create-table-dialog.vue +33 -34
- package/dist/runtime/components/L/Fieldset.vue +8 -11
- package/dist/runtime/components/L/ForgetPasswordDialog.vue +26 -27
- package/dist/runtime/components/L/Revision.vue +89 -93
- package/dist/runtime/components/L/Storage.vue +7 -7
- package/dist/runtime/components/L/System/Setting/authentication.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/authentication.vue +16 -16
- package/dist/runtime/components/L/System/Setting/authentication.vue.d.ts +1 -5
- package/dist/runtime/components/L/System/Setting/developer.vue +10 -11
- package/dist/runtime/components/L/System/Setting/forget-password.vue +9 -9
- package/dist/runtime/components/L/System/Setting/general.vue +9 -9
- package/dist/runtime/components/L/System/Setting/mail.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/mail.vue +28 -32
- package/dist/runtime/components/L/System/Setting/mail.vue.d.ts +1 -5
- package/dist/runtime/components/L/System/Setting/modules.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/modules.vue +6 -6
- package/dist/runtime/components/L/System/Setting/modules.vue.d.ts +1 -5
- package/dist/runtime/components/L/System/Setting/security.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/security.vue +38 -41
- package/dist/runtime/components/L/System/Setting/security.vue.d.ts +1 -5
- package/dist/runtime/components/L/User/eventlog.vue +5 -5
- package/dist/runtime/components/L/User/overview.vue +19 -19
- package/dist/runtime/components/L/User/userlog.vue +1 -1
- package/dist/runtime/components/L/ValidationInput.vue +14 -14
- package/dist/runtime/components/MyTest.vue +3 -3
- package/dist/runtime/components/l-action-btn.vue +4 -4
- package/dist/runtime/components/l-add-btn.vue +3 -3
- package/dist/runtime/components/l-alert.vue +8 -8
- package/dist/runtime/components/l-app-main.d.vue.ts +1 -5
- package/dist/runtime/components/l-app-main.vue +170 -171
- package/dist/runtime/components/l-app-main.vue.d.ts +1 -5
- package/dist/runtime/components/l-app.vue +27 -27
- package/dist/runtime/components/l-audit-card.vue +8 -8
- package/dist/runtime/components/l-back-btn.vue +6 -6
- package/dist/runtime/components/l-banner.d.vue.ts +1 -1
- package/dist/runtime/components/l-banner.vue +10 -10
- package/dist/runtime/components/l-banner.vue.d.ts +1 -1
- package/dist/runtime/components/l-bar.vue +3 -3
- package/dist/runtime/components/l-btn.vue +4 -4
- package/dist/runtime/components/l-card.d.vue.ts +1 -9
- package/dist/runtime/components/l-card.vue +31 -31
- package/dist/runtime/components/l-card.vue.d.ts +1 -9
- package/dist/runtime/components/l-checkbox.vue +3 -3
- package/dist/runtime/components/l-col.vue +5 -5
- package/dist/runtime/components/l-customizer.d.vue.ts +2 -2
- package/dist/runtime/components/l-customizer.vue +95 -96
- package/dist/runtime/components/l-customizer.vue.d.ts +2 -2
- package/dist/runtime/components/l-date-picker.d.vue.ts +1 -1
- package/dist/runtime/components/l-date-picker.vue +17 -17
- package/dist/runtime/components/l-date-picker.vue.d.ts +1 -1
- package/dist/runtime/components/l-delete-btn.vue +1 -1
- package/dist/runtime/components/l-dialog-database-field-add.vue +25 -26
- package/dist/runtime/components/l-drag-drop-container.vue +5 -5
- package/dist/runtime/components/l-drag-drop-group.vue +1 -1
- package/dist/runtime/components/l-drag-drop.vue +6 -6
- package/dist/runtime/components/l-edit-btn.vue +2 -2
- package/dist/runtime/components/l-editor.d.vue.ts +1 -5
- package/dist/runtime/components/l-editor.vue +41 -41
- package/dist/runtime/components/l-editor.vue.d.ts +1 -5
- package/dist/runtime/components/l-facebook-button.vue +2 -2
- package/dist/runtime/components/l-fav-menu.vue +14 -14
- package/dist/runtime/components/l-field.vue +3 -3
- package/dist/runtime/components/l-file-manager-labels.vue +11 -11
- package/dist/runtime/components/l-file-manager-move.vue +67 -67
- package/dist/runtime/components/l-file-manager-preview.vue +22 -22
- package/dist/runtime/components/l-file-manager.vue +245 -250
- package/dist/runtime/components/l-file-upload.d.vue.ts +1 -1
- package/dist/runtime/components/l-file-upload.vue +25 -25
- package/dist/runtime/components/l-file-upload.vue.d.ts +1 -1
- package/dist/runtime/components/l-file.d.vue.ts +1 -5
- package/dist/runtime/components/l-file.vue +8 -8
- package/dist/runtime/components/l-file.vue.d.ts +1 -5
- package/dist/runtime/components/l-form-dialog.vue +27 -27
- package/dist/runtime/components/l-form.d.vue.ts +1 -33
- package/dist/runtime/components/l-form.vue +11 -11
- package/dist/runtime/components/l-form.vue.d.ts +1 -33
- package/dist/runtime/components/l-group-select.vue +22 -22
- package/dist/runtime/components/l-icon-picker.vue +35 -38
- package/dist/runtime/components/l-input-select.vue +4 -4
- package/dist/runtime/components/l-input-xlsx.vue +30 -31
- package/dist/runtime/components/l-input.d.vue.ts +1 -1
- package/dist/runtime/components/l-input.vue +23 -23
- package/dist/runtime/components/l-input.vue.d.ts +1 -1
- package/dist/runtime/components/l-item.vue +18 -18
- package/dist/runtime/components/l-link.vue +3 -3
- package/dist/runtime/components/l-list.vue +12 -12
- package/dist/runtime/components/l-login.d.vue.ts +1 -5
- package/dist/runtime/components/l-login.vue +57 -57
- package/dist/runtime/components/l-login.vue.d.ts +1 -5
- package/dist/runtime/components/l-menu.vue +33 -34
- package/dist/runtime/components/l-microsoft-button.d.vue.ts +1 -11
- package/dist/runtime/components/l-microsoft-button.vue +68 -68
- package/dist/runtime/components/l-microsoft-button.vue.d.ts +1 -11
- package/dist/runtime/components/l-page.vue +21 -21
- package/dist/runtime/components/l-repeater.d.vue.ts +3 -3
- package/dist/runtime/components/l-repeater.vue +35 -35
- package/dist/runtime/components/l-repeater.vue.d.ts +3 -3
- package/dist/runtime/components/l-row.vue +5 -5
- package/dist/runtime/components/l-save-btn.vue +2 -2
- package/dist/runtime/components/l-select.vue +1 -1
- package/dist/runtime/components/l-small-box.vue +9 -9
- package/dist/runtime/components/l-statistic.vue +9 -9
- package/dist/runtime/components/l-tab.vue +10 -10
- package/dist/runtime/components/l-table.d.vue.ts +1 -1
- package/dist/runtime/components/l-table.vue +176 -190
- package/dist/runtime/components/l-table.vue.d.ts +1 -1
- package/dist/runtime/components/l-tabs.vue +9 -9
- package/dist/runtime/components/l-test2.vue +3 -3
- package/dist/runtime/components/l-time-picker.d.vue.ts +1 -1
- package/dist/runtime/components/l-time-picker.vue +18 -18
- package/dist/runtime/components/l-time-picker.vue.d.ts +1 -1
- package/dist/runtime/components/l-view-btn.vue +2 -2
- package/dist/runtime/components/user-list.vue +3 -3
- package/dist/runtime/composables/mytest.js +2 -2
- package/dist/runtime/composables/tc2sc.js +85 -85
- package/dist/runtime/formkit/Checkbox.d.vue.ts +0 -1
- package/dist/runtime/formkit/Checkbox.vue +6 -6
- package/dist/runtime/formkit/Checkbox.vue.d.ts +0 -1
- package/dist/runtime/formkit/DatePicker.d.vue.ts +0 -1
- package/dist/runtime/formkit/DatePicker.vue +11 -11
- package/dist/runtime/formkit/DatePicker.vue.d.ts +0 -1
- package/dist/runtime/formkit/Editor.vue +7 -7
- package/dist/runtime/formkit/File.d.vue.ts +0 -1
- package/dist/runtime/formkit/File.vue +6 -6
- package/dist/runtime/formkit/File.vue.d.ts +0 -1
- package/dist/runtime/formkit/FilePicker.d.vue.ts +0 -1
- package/dist/runtime/formkit/FilePicker.vue +6 -6
- package/dist/runtime/formkit/FilePicker.vue.d.ts +0 -1
- package/dist/runtime/formkit/FileUpload.d.vue.ts +0 -1
- package/dist/runtime/formkit/FileUpload.vue +6 -6
- package/dist/runtime/formkit/FileUpload.vue.d.ts +0 -1
- package/dist/runtime/formkit/Form.d.vue.ts +1 -3
- package/dist/runtime/formkit/Form.vue +11 -11
- package/dist/runtime/formkit/Form.vue.d.ts +1 -3
- package/dist/runtime/formkit/GroupSelect.d.vue.ts +0 -1
- package/dist/runtime/formkit/GroupSelect.vue +7 -7
- package/dist/runtime/formkit/GroupSelect.vue.d.ts +0 -1
- package/dist/runtime/formkit/Input.d.vue.ts +1 -1
- package/dist/runtime/formkit/Input.vue +11 -11
- package/dist/runtime/formkit/Input.vue.d.ts +1 -1
- package/dist/runtime/formkit/InputSelect.d.vue.ts +1 -1
- package/dist/runtime/formkit/InputSelect.vue +7 -7
- package/dist/runtime/formkit/InputSelect.vue.d.ts +1 -1
- package/dist/runtime/formkit/InputXlsx.vue +4 -4
- package/dist/runtime/formkit/OptionGroup.vue +5 -5
- package/dist/runtime/formkit/Radio.vue +4 -4
- package/dist/runtime/formkit/Repeater.d.vue.ts +1 -1
- package/dist/runtime/formkit/Repeater.vue +37 -37
- package/dist/runtime/formkit/Repeater.vue.d.ts +1 -1
- package/dist/runtime/formkit/Select.d.vue.ts +0 -1
- package/dist/runtime/formkit/Select.vue +6 -6
- package/dist/runtime/formkit/Select.vue.d.ts +0 -1
- package/dist/runtime/formkit/Textarea.d.vue.ts +1 -1
- package/dist/runtime/formkit/Textarea.vue +11 -11
- package/dist/runtime/formkit/Textarea.vue.d.ts +1 -1
- package/dist/runtime/formkit/TimePicker.d.vue.ts +0 -1
- package/dist/runtime/formkit/TimePicker.vue +10 -10
- package/dist/runtime/formkit/TimePicker.vue.d.ts +0 -1
- package/dist/runtime/formkit/Toggle.vue +3 -3
- package/dist/runtime/index.d.ts +39 -39
- package/dist/runtime/locales/en.json +9 -9
- package/dist/runtime/locales/zh-hk.json +213 -213
- package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue +33 -38
- package/dist/runtime/pages/CustomField/index.vue +12 -14
- package/dist/runtime/pages/EventLog/_eventlog_id/view.vue +36 -36
- package/dist/runtime/pages/EventLog/index.vue +7 -7
- package/dist/runtime/pages/FileManager/index.vue +4 -4
- package/dist/runtime/pages/MailLog/index.vue +18 -18
- package/dist/runtime/pages/Permission/add.vue +13 -13
- package/dist/runtime/pages/Permission/all.vue +63 -63
- package/dist/runtime/pages/Permission/export.vue +9 -10
- package/dist/runtime/pages/Permission/index.vue +4 -4
- package/dist/runtime/pages/Role/_name/update-child.vue +4 -4
- package/dist/runtime/pages/Role/add.vue +7 -7
- package/dist/runtime/pages/Role/add2.vue +30 -30
- package/dist/runtime/pages/Role/index.vue +27 -27
- package/dist/runtime/pages/System/database/backup.vue +72 -72
- package/dist/runtime/pages/System/database/check.vue +72 -72
- package/dist/runtime/pages/System/database/event.vue +51 -51
- package/dist/runtime/pages/System/database/process.vue +21 -21
- package/dist/runtime/pages/System/database/restore.vue +110 -110
- package/dist/runtime/pages/System/database/table.vue +67 -69
- package/dist/runtime/pages/System/fs.vue +99 -99
- package/dist/runtime/pages/System/index.vue +16 -18
- package/dist/runtime/pages/System/mailtest.vue +12 -12
- package/dist/runtime/pages/System/menu/index.vue +142 -144
- package/dist/runtime/pages/System/package.vue +11 -11
- package/dist/runtime/pages/System/phpinfo.vue +3 -3
- package/dist/runtime/pages/System/setting.vue +28 -30
- package/dist/runtime/pages/System/test.vue +12 -12
- package/dist/runtime/pages/System/view_as.vue +21 -22
- package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue +6 -6
- package/dist/runtime/pages/SystemValue/add.vue +7 -7
- package/dist/runtime/pages/SystemValue/index.vue +4 -4
- package/dist/runtime/pages/Translate/index.vue +38 -38
- package/dist/runtime/pages/User/_user_id/change-password.vue +17 -18
- package/dist/runtime/pages/User/_user_id/edit.vue +28 -28
- package/dist/runtime/pages/User/_user_id/update-role.vue +7 -8
- package/dist/runtime/pages/User/_user_id/view.vue +27 -30
- package/dist/runtime/pages/User/add.vue +35 -35
- package/dist/runtime/pages/User/index.vue +11 -11
- package/dist/runtime/pages/User/profile.vue +45 -46
- package/dist/runtime/pages/User/setting/bio-auth.vue +22 -22
- package/dist/runtime/pages/User/setting/favorite.vue +61 -62
- package/dist/runtime/pages/User/setting/index.vue +6 -6
- package/dist/runtime/pages/User/setting/information.vue +6 -6
- package/dist/runtime/pages/User/setting/menu.vue +165 -165
- package/dist/runtime/pages/User/setting/open_id.vue +161 -161
- package/dist/runtime/pages/User/setting/password.vue +19 -19
- package/dist/runtime/pages/User/setting/style.vue +104 -106
- package/dist/runtime/pages/User/setting/two-factor-auth.vue +176 -176
- package/dist/runtime/pages/User/setting.vue +32 -32
- package/dist/runtime/pages/UserLog/index.vue +4 -4
- package/package.json +63 -63
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { type QEditorProps } from "quasar";
|
|
2
2
|
export interface LEditorProps extends QEditorProps {
|
|
3
3
|
}
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<LEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (...args: any[]) => void;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<LEditorProps> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<LEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
5
|
declare const _default: typeof __VLS_export;
|
|
10
6
|
export default _default;
|
|
@@ -160,41 +160,41 @@ const newFonts = {
|
|
|
160
160
|
</script>
|
|
161
161
|
|
|
162
162
|
<template>
|
|
163
|
-
<q-editor v-model="localValue" ref="editorRef" v-bind="attrs">
|
|
164
|
-
<template v-slot:textColor>
|
|
165
|
-
<q-btn-dropdown dense no-caps ref="textColorRef" no-wrap unelevated color="white" text-color="default"
|
|
166
|
-
label="Text Color" icon="sym_o_format_color_text" size="sm">
|
|
167
|
-
<q-item tag="label" clickable @click="TextColorCMD('foreColor', foreColor)">
|
|
168
|
-
<q-item-section side>
|
|
169
|
-
<q-icon name="sym_o_format_color_text" />
|
|
170
|
-
</q-item-section>
|
|
171
|
-
<q-item-section>
|
|
172
|
-
<q-color v-model="foreColor" no-header no-footer style="max-width: 250px;" />
|
|
173
|
-
<!-- :palette="[
|
|
174
|
-
'#ff0000',
|
|
175
|
-
'#ff8000',
|
|
176
|
-
'#ffff00',
|
|
177
|
-
'#00ff00',
|
|
178
|
-
'#00ff80',
|
|
179
|
-
'#00ffff',
|
|
180
|
-
'#0080ff',
|
|
181
|
-
'#0000ff',
|
|
182
|
-
'#8000ff',
|
|
183
|
-
'#ff00ff'
|
|
184
|
-
]" -->
|
|
185
|
-
</q-item-section>
|
|
186
|
-
</q-item>
|
|
187
|
-
</q-btn-dropdown>
|
|
188
|
-
</template>
|
|
189
|
-
<template v-slot:textHightlight>
|
|
190
|
-
<q-btn-dropdown dense no-caps ref="textHightlightRef" no-wrap unelevated color="white" text-color="default"
|
|
191
|
-
label="Highlight" icon="sym_o_format_ink_highlighter" size="sm">
|
|
192
|
-
|
|
193
|
-
<q-item tag="label" clickable @click="TextHightlightCMD('backColor', highlight)">
|
|
194
|
-
<q-item-section side>
|
|
195
|
-
<q-icon name="sym_o_format_ink_highlighter" />
|
|
196
|
-
</q-item-section>
|
|
197
|
-
<q-item-section>
|
|
163
|
+
<q-editor v-model="localValue" ref="editorRef" v-bind="attrs">
|
|
164
|
+
<template v-slot:textColor>
|
|
165
|
+
<q-btn-dropdown dense no-caps ref="textColorRef" no-wrap unelevated color="white" text-color="default"
|
|
166
|
+
label="Text Color" icon="sym_o_format_color_text" size="sm">
|
|
167
|
+
<q-item tag="label" clickable @click="TextColorCMD('foreColor', foreColor)">
|
|
168
|
+
<q-item-section side>
|
|
169
|
+
<q-icon name="sym_o_format_color_text" />
|
|
170
|
+
</q-item-section>
|
|
171
|
+
<q-item-section>
|
|
172
|
+
<q-color v-model="foreColor" no-header no-footer style="max-width: 250px;" />
|
|
173
|
+
<!-- :palette="[
|
|
174
|
+
'#ff0000',
|
|
175
|
+
'#ff8000',
|
|
176
|
+
'#ffff00',
|
|
177
|
+
'#00ff00',
|
|
178
|
+
'#00ff80',
|
|
179
|
+
'#00ffff',
|
|
180
|
+
'#0080ff',
|
|
181
|
+
'#0000ff',
|
|
182
|
+
'#8000ff',
|
|
183
|
+
'#ff00ff'
|
|
184
|
+
]" -->
|
|
185
|
+
</q-item-section>
|
|
186
|
+
</q-item>
|
|
187
|
+
</q-btn-dropdown>
|
|
188
|
+
</template>
|
|
189
|
+
<template v-slot:textHightlight>
|
|
190
|
+
<q-btn-dropdown dense no-caps ref="textHightlightRef" no-wrap unelevated color="white" text-color="default"
|
|
191
|
+
label="Highlight" icon="sym_o_format_ink_highlighter" size="sm">
|
|
192
|
+
|
|
193
|
+
<q-item tag="label" clickable @click="TextHightlightCMD('backColor', highlight)">
|
|
194
|
+
<q-item-section side>
|
|
195
|
+
<q-icon name="sym_o_format_ink_highlighter" />
|
|
196
|
+
</q-item-section>
|
|
197
|
+
<q-item-section>
|
|
198
198
|
<q-color v-model="highlight" no-header no-footer default-view="palette" :palette="[
|
|
199
199
|
'#ffccccaa',
|
|
200
200
|
'#ffe6ccaa',
|
|
@@ -216,10 +216,10 @@ const newFonts = {
|
|
|
216
216
|
'#0000ffaa',
|
|
217
217
|
'#8000ffaa',
|
|
218
218
|
'#ff00ffaa'
|
|
219
|
-
]" style="max-width: 250px;" />
|
|
220
|
-
</q-item-section>
|
|
221
|
-
</q-item>
|
|
222
|
-
</q-btn-dropdown>
|
|
223
|
-
</template>
|
|
224
|
-
</q-editor>
|
|
219
|
+
]" style="max-width: 250px;" />
|
|
220
|
+
</q-item-section>
|
|
221
|
+
</q-item>
|
|
222
|
+
</q-btn-dropdown>
|
|
223
|
+
</template>
|
|
224
|
+
</q-editor>
|
|
225
225
|
</template>
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { type QEditorProps } from "quasar";
|
|
2
2
|
export interface LEditorProps extends QEditorProps {
|
|
3
3
|
}
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<LEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (...args: any[]) => void;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<LEditorProps> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<LEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
5
|
declare const _default: typeof __VLS_export;
|
|
10
6
|
export default _default;
|
|
@@ -15,6 +15,6 @@ window.onFacebookLogin = () => {
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<div class="fb-login-button" data-size="large" data-button-type="" data-layout="" data-auto-logout-link="false"
|
|
19
|
-
data-use-continue-as="false" ref="button" data-onlogin="onFacebookLogin()"></div>
|
|
18
|
+
<div class="fb-login-button" data-size="large" data-button-type="" data-layout="" data-auto-logout-link="false"
|
|
19
|
+
data-use-continue-as="false" ref="button" data-onlogin="onFacebookLogin()"></div>
|
|
20
20
|
</template>
|
|
@@ -26,18 +26,18 @@ const color2 = computed(() => {
|
|
|
26
26
|
</style>
|
|
27
27
|
|
|
28
28
|
<template>
|
|
29
|
-
<q-expansion-item :label="$t('My favorite')" :dense="dense" icon="sym_o_favorite"
|
|
30
|
-
v-model="favMenuExpanded">
|
|
31
|
-
<q-list class="q-pl-md menu-list" :dense="dense">
|
|
32
|
-
<q-item v-ripple :to="item.path" v-for="item in value">
|
|
33
|
-
<q-item-section avatar>
|
|
34
|
-
<q-icon :name="item.icon ?? 'sym_o_link'" />
|
|
35
|
-
</q-item-section>
|
|
36
|
-
<q-item-section>
|
|
37
|
-
<q-item-label v-text="$t(item.label)"></q-item-label>
|
|
38
|
-
</q-item-section>
|
|
39
|
-
|
|
40
|
-
</q-item>
|
|
41
|
-
</q-list>
|
|
42
|
-
</q-expansion-item>
|
|
29
|
+
<q-expansion-item :label="$t('My favorite')" :dense="dense" icon="sym_o_favorite"
|
|
30
|
+
v-model="favMenuExpanded">
|
|
31
|
+
<q-list class="q-pl-md menu-list" :dense="dense">
|
|
32
|
+
<q-item v-ripple :to="item.path" v-for="item in value">
|
|
33
|
+
<q-item-section avatar>
|
|
34
|
+
<q-icon :name="item.icon ?? 'sym_o_link'" />
|
|
35
|
+
</q-item-section>
|
|
36
|
+
<q-item-section>
|
|
37
|
+
<q-item-label v-text="$t(item.label)"></q-item-label>
|
|
38
|
+
</q-item-section>
|
|
39
|
+
|
|
40
|
+
</q-item>
|
|
41
|
+
</q-list>
|
|
42
|
+
</q-expansion-item>
|
|
43
43
|
</template>
|
|
@@ -41,17 +41,17 @@ const LABLES = [
|
|
|
41
41
|
</script>
|
|
42
42
|
|
|
43
43
|
<template>
|
|
44
|
-
<q-item-label header>
|
|
45
|
-
{{ $t('Labels') }}
|
|
46
|
-
</q-item-label>
|
|
47
|
-
|
|
48
|
-
<q-item v-for="label in LABLES" :key="label.type" clickable :active="modelValue == label.type"
|
|
49
|
-
:active-class="`text-primary`" @click="toggleLabel(label.type)">
|
|
50
|
-
<q-item-section avatar>
|
|
51
|
-
<q-icon :name="label.icon" />
|
|
52
|
-
</q-item-section>
|
|
53
|
-
<q-item-section> {{ $t(label.label) }} </q-item-section>
|
|
54
|
-
</q-item>
|
|
44
|
+
<q-item-label header>
|
|
45
|
+
{{ $t('Labels') }}
|
|
46
|
+
</q-item-label>
|
|
47
|
+
|
|
48
|
+
<q-item v-for="label in LABLES" :key="label.type" clickable :active="modelValue == label.type"
|
|
49
|
+
:active-class="`text-primary`" @click="toggleLabel(label.type)">
|
|
50
|
+
<q-item-section avatar>
|
|
51
|
+
<q-icon :name="label.icon" />
|
|
52
|
+
</q-item-section>
|
|
53
|
+
<q-item-section> {{ $t(label.label) }} </q-item-section>
|
|
54
|
+
</q-item>
|
|
55
55
|
</template>
|
|
56
56
|
|
|
57
57
|
<style scoped>
|
|
@@ -51,71 +51,71 @@ const onClickMove = async () => {
|
|
|
51
51
|
</script>
|
|
52
52
|
|
|
53
53
|
<template>
|
|
54
|
-
<q-menu transition-show="jump-down" transition-hide="jump-up" ref="menu">
|
|
55
|
-
<q-card>
|
|
56
|
-
<q-toolbar>
|
|
57
|
-
<template v-if="mode == 'create'">
|
|
58
|
-
<q-btn flat dense round @click="mode = 'move'" icon="sym_o_arrow_back" class="q-mr-sm">
|
|
59
|
-
<q-tooltip>Cancel</q-tooltip>
|
|
60
|
-
</q-btn>
|
|
61
|
-
|
|
62
|
-
</template>
|
|
63
|
-
<template v-else>
|
|
64
|
-
<q-btn flat dense round @click="clickBack()" v-if="folder !== '/'" icon="sym_o_arrow_back">
|
|
65
|
-
<q-tooltip>Back</q-tooltip>
|
|
66
|
-
</q-btn>
|
|
67
|
-
<q-toolbar-title>
|
|
68
|
-
{{ title }}
|
|
69
|
-
</q-toolbar-title>
|
|
70
|
-
|
|
71
|
-
</template>
|
|
72
|
-
|
|
73
|
-
</q-toolbar>
|
|
74
|
-
|
|
75
|
-
<template v-if="mode == 'empty folder'">
|
|
76
|
-
<q-card-section> Empty folder</q-card-section>
|
|
77
|
-
</template>
|
|
78
|
-
|
|
79
|
-
<template v-if="mode == 'create'">
|
|
80
|
-
<q-card-section>
|
|
81
|
-
<q-input outlined dense v-model="newFolder" :hint="`Create folder at ${folder}`" label="Foler name"
|
|
82
|
-
stack-label="">
|
|
83
|
-
<template v-slot:append v-if="newFolder">
|
|
84
|
-
<q-btn round dense flat icon="sym_o_add" @click="onClickCreate">
|
|
85
|
-
<q-tooltip>Create</q-tooltip>
|
|
86
|
-
</q-btn>
|
|
87
|
-
</template>
|
|
88
|
-
</q-input>
|
|
89
|
-
</q-card-section>
|
|
90
|
-
</template>
|
|
91
|
-
|
|
92
|
-
<template v-if="mode == 'move'">
|
|
93
|
-
<q-list>
|
|
94
|
-
<q-item v-for="(b, index) in folders" :key="index" clickable @click="parent = folder; folder = b.path;">
|
|
95
|
-
|
|
96
|
-
<q-item-section avatar>
|
|
97
|
-
<q-icon name="sym_o_folder"></q-icon>
|
|
98
|
-
</q-item-section>
|
|
99
|
-
<q-item-section>
|
|
100
|
-
<q-item-label>{{ b.name }}</q-item-label>
|
|
101
|
-
</q-item-section>
|
|
102
|
-
|
|
103
|
-
<q-item-section side avatar>
|
|
104
|
-
<q-icon name="sym_o_navigate_next"></q-icon>
|
|
105
|
-
</q-item-section>
|
|
106
|
-
</q-item>
|
|
107
|
-
</q-list>
|
|
108
|
-
</template>
|
|
109
|
-
|
|
110
|
-
<q-card-actions>
|
|
111
|
-
<q-btn flat dense @click="mode = 'create'" :disable="mode == 'create'" round icon="sym_o_create_new_folder">
|
|
112
|
-
<q-tooltip> Create new folder</q-tooltip>
|
|
113
|
-
</q-btn>
|
|
114
|
-
<q-space></q-space>
|
|
115
|
-
<q-btn dense label="Move to here" color="primary" v-if="mode == 'empty folder'">
|
|
116
|
-
</q-btn>
|
|
117
|
-
<q-btn dense label="Move" outline color="primary" v-if="mode == 'move'" @click="onClickMove"></q-btn>
|
|
118
|
-
</q-card-actions>
|
|
119
|
-
</q-card>
|
|
120
|
-
</q-menu>
|
|
54
|
+
<q-menu transition-show="jump-down" transition-hide="jump-up" ref="menu">
|
|
55
|
+
<q-card>
|
|
56
|
+
<q-toolbar>
|
|
57
|
+
<template v-if="mode == 'create'">
|
|
58
|
+
<q-btn flat dense round @click="mode = 'move'" icon="sym_o_arrow_back" class="q-mr-sm">
|
|
59
|
+
<q-tooltip>Cancel</q-tooltip>
|
|
60
|
+
</q-btn>
|
|
61
|
+
|
|
62
|
+
</template>
|
|
63
|
+
<template v-else>
|
|
64
|
+
<q-btn flat dense round @click="clickBack()" v-if="folder !== '/'" icon="sym_o_arrow_back">
|
|
65
|
+
<q-tooltip>Back</q-tooltip>
|
|
66
|
+
</q-btn>
|
|
67
|
+
<q-toolbar-title>
|
|
68
|
+
{{ title }}
|
|
69
|
+
</q-toolbar-title>
|
|
70
|
+
|
|
71
|
+
</template>
|
|
72
|
+
|
|
73
|
+
</q-toolbar>
|
|
74
|
+
|
|
75
|
+
<template v-if="mode == 'empty folder'">
|
|
76
|
+
<q-card-section> Empty folder</q-card-section>
|
|
77
|
+
</template>
|
|
78
|
+
|
|
79
|
+
<template v-if="mode == 'create'">
|
|
80
|
+
<q-card-section>
|
|
81
|
+
<q-input outlined dense v-model="newFolder" :hint="`Create folder at ${folder}`" label="Foler name"
|
|
82
|
+
stack-label="">
|
|
83
|
+
<template v-slot:append v-if="newFolder">
|
|
84
|
+
<q-btn round dense flat icon="sym_o_add" @click="onClickCreate">
|
|
85
|
+
<q-tooltip>Create</q-tooltip>
|
|
86
|
+
</q-btn>
|
|
87
|
+
</template>
|
|
88
|
+
</q-input>
|
|
89
|
+
</q-card-section>
|
|
90
|
+
</template>
|
|
91
|
+
|
|
92
|
+
<template v-if="mode == 'move'">
|
|
93
|
+
<q-list>
|
|
94
|
+
<q-item v-for="(b, index) in folders" :key="index" clickable @click="parent = folder; folder = b.path;">
|
|
95
|
+
|
|
96
|
+
<q-item-section avatar>
|
|
97
|
+
<q-icon name="sym_o_folder"></q-icon>
|
|
98
|
+
</q-item-section>
|
|
99
|
+
<q-item-section>
|
|
100
|
+
<q-item-label>{{ b.name }}</q-item-label>
|
|
101
|
+
</q-item-section>
|
|
102
|
+
|
|
103
|
+
<q-item-section side avatar>
|
|
104
|
+
<q-icon name="sym_o_navigate_next"></q-icon>
|
|
105
|
+
</q-item-section>
|
|
106
|
+
</q-item>
|
|
107
|
+
</q-list>
|
|
108
|
+
</template>
|
|
109
|
+
|
|
110
|
+
<q-card-actions>
|
|
111
|
+
<q-btn flat dense @click="mode = 'create'" :disable="mode == 'create'" round icon="sym_o_create_new_folder">
|
|
112
|
+
<q-tooltip> Create new folder</q-tooltip>
|
|
113
|
+
</q-btn>
|
|
114
|
+
<q-space></q-space>
|
|
115
|
+
<q-btn dense label="Move to here" color="primary" v-if="mode == 'empty folder'">
|
|
116
|
+
</q-btn>
|
|
117
|
+
<q-btn dense label="Move" outline color="primary" v-if="mode == 'move'" @click="onClickMove"></q-btn>
|
|
118
|
+
</q-card-actions>
|
|
119
|
+
</q-card>
|
|
120
|
+
</q-menu>
|
|
121
121
|
</template>
|
|
@@ -44,26 +44,26 @@ const canPreview = computed(() => {
|
|
|
44
44
|
</script>
|
|
45
45
|
|
|
46
46
|
<template>
|
|
47
|
-
<template v-if="canPreview">
|
|
48
|
-
<q-img :src="file.url"></q-img>
|
|
49
|
-
</template>
|
|
50
|
-
<q-list dense>
|
|
51
|
-
<l-item label="Name">{{ file.name }}</l-item>
|
|
52
|
-
<l-item label="Size">{{ size }} ({{ file.size }})</l-item>
|
|
53
|
-
<l-item label="Location">{{ file.path }}</l-item>
|
|
54
|
-
<l-item label="Last modified">{{ file.lastModifiedHuman }}</l-item>
|
|
55
|
-
|
|
56
|
-
<q-item>
|
|
57
|
-
<q-item-section side>
|
|
58
|
-
<q-item-label>URL</q-item-label>
|
|
59
|
-
</q-item-section>
|
|
60
|
-
<q-item-section style="align-items: flex-end;">
|
|
61
|
-
<q-item-label lines="1">{{ file.url }}</q-item-label>
|
|
62
|
-
</q-item-section>
|
|
63
|
-
|
|
64
|
-
<q-item-section top side>
|
|
65
|
-
<q-btn size="md" flat danse round icon="sym_o_content_copy" @click="copyToClipboard(file.url)"></q-btn>
|
|
66
|
-
</q-item-section>
|
|
67
|
-
</q-item>
|
|
68
|
-
</q-list>
|
|
47
|
+
<template v-if="canPreview">
|
|
48
|
+
<q-img :src="file.url"></q-img>
|
|
49
|
+
</template>
|
|
50
|
+
<q-list dense>
|
|
51
|
+
<l-item label="Name">{{ file.name }}</l-item>
|
|
52
|
+
<l-item label="Size">{{ size }} ({{ file.size }})</l-item>
|
|
53
|
+
<l-item label="Location">{{ file.path }}</l-item>
|
|
54
|
+
<l-item label="Last modified">{{ file.lastModifiedHuman }}</l-item>
|
|
55
|
+
|
|
56
|
+
<q-item>
|
|
57
|
+
<q-item-section side>
|
|
58
|
+
<q-item-label>URL</q-item-label>
|
|
59
|
+
</q-item-section>
|
|
60
|
+
<q-item-section style="align-items: flex-end;">
|
|
61
|
+
<q-item-label lines="1">{{ file.url }}</q-item-label>
|
|
62
|
+
</q-item-section>
|
|
63
|
+
|
|
64
|
+
<q-item-section top side>
|
|
65
|
+
<q-btn size="md" flat danse round icon="sym_o_content_copy" @click="copyToClipboard(file.url)"></q-btn>
|
|
66
|
+
</q-item-section>
|
|
67
|
+
</q-item>
|
|
68
|
+
</q-list>
|
|
69
69
|
</template>
|