@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,7 +1,7 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<q-btn flat round icon="sym_o_arrow_back" @click="$router.back()">
|
|
3
|
-
<q-tooltip>
|
|
4
|
-
{{ $t('Back') }}
|
|
5
|
-
</q-tooltip>
|
|
6
|
-
</q-btn>
|
|
1
|
+
<template>
|
|
2
|
+
<q-btn flat round icon="sym_o_arrow_back" @click="$router.back()">
|
|
3
|
+
<q-tooltip>
|
|
4
|
+
{{ $t('Back') }}
|
|
5
|
+
</q-tooltip>
|
|
6
|
+
</q-btn>
|
|
7
7
|
</template>
|
|
@@ -3,7 +3,7 @@ export type LBannerProps = QBannerProps & {
|
|
|
3
3
|
icon?: string;
|
|
4
4
|
type?: 'primary' | 'secondary' | 'accent' | 'dark' | 'positive' | 'negative' | 'info' | 'warning';
|
|
5
5
|
};
|
|
6
|
-
declare var __VLS_17:
|
|
6
|
+
declare var __VLS_17: any, __VLS_18: any;
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
9
9
|
};
|
|
@@ -25,14 +25,14 @@ const slots = computed(() => useSlots());
|
|
|
25
25
|
</script>
|
|
26
26
|
|
|
27
27
|
<template>
|
|
28
|
-
<q-banner v-bind="$props" :class="classes">
|
|
29
|
-
|
|
30
|
-
<template v-slot:avatar v-if="localIcon">
|
|
31
|
-
<q-icon :name="localIcon" />
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<template v-for="(s, name) in slots" v-slot:[name]="props" :key="name">
|
|
35
|
-
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
36
|
-
</template>
|
|
37
|
-
</q-banner>
|
|
28
|
+
<q-banner v-bind="$props" :class="classes">
|
|
29
|
+
|
|
30
|
+
<template v-slot:avatar v-if="localIcon">
|
|
31
|
+
<q-icon :name="localIcon" />
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<template v-for="(s, name) in slots" v-slot:[name]="props" :key="name">
|
|
35
|
+
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
36
|
+
</template>
|
|
37
|
+
</q-banner>
|
|
38
38
|
</template>
|
|
@@ -3,7 +3,7 @@ export type LBannerProps = QBannerProps & {
|
|
|
3
3
|
icon?: string;
|
|
4
4
|
type?: 'primary' | 'secondary' | 'accent' | 'dark' | 'positive' | 'negative' | 'info' | 'warning';
|
|
5
5
|
};
|
|
6
|
-
declare var __VLS_17:
|
|
6
|
+
declare var __VLS_17: any, __VLS_18: any;
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
9
9
|
};
|
|
@@ -64,8 +64,8 @@ const filteredProps = computed(() => {
|
|
|
64
64
|
</script>
|
|
65
65
|
|
|
66
66
|
<template>
|
|
67
|
-
<q-btn v-if="$light.isGranted($props.permission)" @click="handleClick"
|
|
68
|
-
v-bind="{ ...filteredProps, ...$light.getButtonProps(filteredProps) }">
|
|
69
|
-
<slot></slot>
|
|
70
|
-
</q-btn>
|
|
67
|
+
<q-btn v-if="$light.isGranted($props.permission)" @click="handleClick"
|
|
68
|
+
v-bind="{ ...filteredProps, ...$light.getButtonProps(filteredProps) }">
|
|
69
|
+
<slot></slot>
|
|
70
|
+
</q-btn>
|
|
71
71
|
</template>
|
|
@@ -23,15 +23,7 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
} & {
|
|
24
24
|
default?: (props: typeof __VLS_84) => any;
|
|
25
25
|
};
|
|
26
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
close: (...args: any[]) => void;
|
|
28
|
-
"update:minimized": (value: boolean) => void;
|
|
29
|
-
"update:maximized": (value: boolean) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
"onUpdate:minimized"?: ((value: boolean) => any) | undefined;
|
|
33
|
-
"onUpdate:maximized"?: ((value: boolean) => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
28
|
declare const _default: typeof __VLS_export;
|
|
37
29
|
export default _default;
|
|
@@ -100,35 +100,35 @@ const onMinimize = () => {
|
|
|
100
100
|
</script>
|
|
101
101
|
|
|
102
102
|
<template>
|
|
103
|
-
<q-card v-bind="attrs" :class="{ 'fullscreen': maximized, 'no-margin': maximized }"
|
|
104
|
-
v-if="$light.isGranted(permission)" :dark="$q.dark.isActive">
|
|
105
|
-
<q-bar :class="barClass" v-if="showBar">
|
|
106
|
-
<div>{{ $t(title ?? "") }}</div>
|
|
107
|
-
<q-space />
|
|
108
|
-
|
|
109
|
-
<slot name="actions"></slot>
|
|
110
|
-
|
|
111
|
-
<q-btn dense flat icon="sym_o_lock" persistent v-if="showSecurity">
|
|
112
|
-
<q-menu>
|
|
113
|
-
<q-list>
|
|
114
|
-
<q-item clickable v-for="role in roles">
|
|
115
|
-
<q-item-section>
|
|
116
|
-
<q-checkbox :label="role.name" v-model="role.granted"
|
|
117
|
-
@update:model-value="onUpdatePermission(role)"></q-checkbox>
|
|
118
|
-
</q-item-section>
|
|
119
|
-
</q-item>
|
|
120
|
-
</q-list>
|
|
121
|
-
</q-menu>
|
|
122
|
-
</q-btn>
|
|
123
|
-
|
|
124
|
-
<q-btn dense flat :icon="minimized ? 'sym_o_add' : 'sym_o_remove'" @click="onMinimize"
|
|
125
|
-
v-if="minimizable && !maximized" />
|
|
126
|
-
<q-btn dense flat @click="maximized = !maximized"
|
|
127
|
-
:icon="maximized ? 'sym_o_select_window_2' : 'sym_o_crop_square'" v-if="maximizable" />
|
|
128
|
-
<q-btn dense flat icon="sym_o_close" v-close-popup v-if="closeable" @click="onClose" />
|
|
129
|
-
</q-bar>
|
|
130
|
-
<slot v-if="!minimized || maximized"></slot>
|
|
131
|
-
|
|
132
|
-
<q-inner-loading :showing="loading" label="Please wait..." label-class="text-primary" />
|
|
133
|
-
</q-card>
|
|
103
|
+
<q-card v-bind="attrs" :class="{ 'fullscreen': maximized, 'no-margin': maximized }"
|
|
104
|
+
v-if="$light.isGranted(permission)" :dark="$q.dark.isActive">
|
|
105
|
+
<q-bar :class="barClass" v-if="showBar">
|
|
106
|
+
<div>{{ $t(title ?? "") }}</div>
|
|
107
|
+
<q-space />
|
|
108
|
+
|
|
109
|
+
<slot name="actions"></slot>
|
|
110
|
+
|
|
111
|
+
<q-btn dense flat icon="sym_o_lock" persistent v-if="showSecurity">
|
|
112
|
+
<q-menu>
|
|
113
|
+
<q-list>
|
|
114
|
+
<q-item clickable v-for="role in roles">
|
|
115
|
+
<q-item-section>
|
|
116
|
+
<q-checkbox :label="role.name" v-model="role.granted"
|
|
117
|
+
@update:model-value="onUpdatePermission(role)"></q-checkbox>
|
|
118
|
+
</q-item-section>
|
|
119
|
+
</q-item>
|
|
120
|
+
</q-list>
|
|
121
|
+
</q-menu>
|
|
122
|
+
</q-btn>
|
|
123
|
+
|
|
124
|
+
<q-btn dense flat :icon="minimized ? 'sym_o_add' : 'sym_o_remove'" @click="onMinimize"
|
|
125
|
+
v-if="minimizable && !maximized" />
|
|
126
|
+
<q-btn dense flat @click="maximized = !maximized"
|
|
127
|
+
:icon="maximized ? 'sym_o_select_window_2' : 'sym_o_crop_square'" v-if="maximizable" />
|
|
128
|
+
<q-btn dense flat icon="sym_o_close" v-close-popup v-if="closeable" @click="onClose" />
|
|
129
|
+
</q-bar>
|
|
130
|
+
<slot v-if="!minimized || maximized"></slot>
|
|
131
|
+
|
|
132
|
+
<q-inner-loading :showing="loading" label="Please wait..." label-class="text-primary" />
|
|
133
|
+
</q-card>
|
|
134
134
|
</template>
|
|
@@ -23,15 +23,7 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
} & {
|
|
24
24
|
default?: (props: typeof __VLS_84) => any;
|
|
25
25
|
};
|
|
26
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
close: (...args: any[]) => void;
|
|
28
|
-
"update:minimized": (value: boolean) => void;
|
|
29
|
-
"update:maximized": (value: boolean) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
"onUpdate:minimized"?: ((value: boolean) => any) | undefined;
|
|
33
|
-
"onUpdate:maximized"?: ((value: boolean) => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
28
|
declare const _default: typeof __VLS_export;
|
|
37
29
|
export default _default;
|
|
@@ -26,7 +26,7 @@ defineProps({
|
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
28
|
<template>
|
|
29
|
-
<q-checkbox v-bind="$props" :label="label ? $t(label) : void 0">
|
|
30
|
-
<slot></slot>
|
|
31
|
-
</q-checkbox>
|
|
29
|
+
<q-checkbox v-bind="$props" :label="label ? $t(label) : void 0">
|
|
30
|
+
<slot></slot>
|
|
31
|
+
</q-checkbox>
|
|
32
32
|
</template>
|
|
@@ -18,9 +18,9 @@ const classes = computed(() => {
|
|
|
18
18
|
</script>
|
|
19
19
|
|
|
20
20
|
<template>
|
|
21
|
-
<div :class="classes">
|
|
22
|
-
<div :class="`q-gutter-${props.gutter}`">
|
|
23
|
-
<slot></slot>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
21
|
+
<div :class="classes">
|
|
22
|
+
<div :class="`q-gutter-${props.gutter}`">
|
|
23
|
+
<slot></slot>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
26
|
</template>
|
|
@@ -6,9 +6,9 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
|
6
6
|
color: string;
|
|
7
7
|
theme: string;
|
|
8
8
|
dense: boolean;
|
|
9
|
-
footer: boolean;
|
|
10
9
|
time: string;
|
|
11
10
|
miniState: boolean;
|
|
11
|
+
footer: boolean;
|
|
12
12
|
menuOverlayHeader: boolean;
|
|
13
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
declare const __VLS_emit: (event: "update:theme" | "update:menuOverlayHeader" | "update:dense" | "update:color" | "update:miniState" | "update:footer", ...args: any[]) => void;
|
|
@@ -16,8 +16,8 @@ declare const props: {
|
|
|
16
16
|
readonly color: string;
|
|
17
17
|
readonly theme: string;
|
|
18
18
|
readonly dense: boolean;
|
|
19
|
-
readonly footer: boolean;
|
|
20
19
|
readonly time: string;
|
|
21
20
|
readonly miniState: boolean;
|
|
21
|
+
readonly footer: boolean;
|
|
22
22
|
readonly menuOverlayHeader: boolean;
|
|
23
23
|
};
|
|
@@ -74,100 +74,99 @@ requestAnimationFrame(refreshServerTime);
|
|
|
74
74
|
</script>
|
|
75
75
|
|
|
76
76
|
<template>
|
|
77
|
-
<q-list>
|
|
78
|
-
<q-item-label header>
|
|
79
|
-
<q-item-label>{{ $t('Theme Customizer') }}</q-item-label>
|
|
80
|
-
<q-item-label caption>
|
|
81
|
-
{{ $t('Customize & Preview in Real Time') }}
|
|
82
|
-
</q-item-label>
|
|
83
|
-
</q-item-label>
|
|
84
|
-
<q-separator />
|
|
85
|
-
<q-item>
|
|
86
|
-
<q-item-section>
|
|
87
|
-
<q-item-label>Skin</q-item-label>
|
|
88
|
-
<div class="q-gutter-sm">
|
|
89
|
-
<q-radio :model-value="theme" val="light" label="Light"
|
|
90
|
-
@update:model-value="$emit('update:theme', $event)" />
|
|
91
|
-
<q-radio :model-value="theme" val="dark" label="Dark"
|
|
92
|
-
@update:model-value="$emit('update:theme', $event)" />
|
|
93
|
-
<q-radio :model-value="theme" val="semi-dark" label="Semi dark"
|
|
94
|
-
@update:model-value="$emit('update:theme', $event)" />
|
|
95
|
-
</div>
|
|
96
|
-
</q-item-section>
|
|
97
|
-
</q-item>
|
|
98
|
-
<q-separator />
|
|
99
|
-
<q-item>
|
|
100
|
-
<q-item-section>
|
|
101
|
-
<q-item-label>{{ $t('Color') }}</q-item-label>
|
|
102
|
-
<div class="row">
|
|
103
|
-
<div style="background-color: #7367f0; width: 1.5rem; height: 1.5rem;"
|
|
104
|
-
class="q-ma-xs cursor-pointer rounded-borders" @click="$emit('update:color', '')" />
|
|
105
|
-
|
|
106
|
-
<div v-for="c in COLORS" :key="c" :class="`bg-${c}`" style="width: 1.5rem; height: 1.5rem;"
|
|
107
|
-
class="q-ma-xs cursor-pointer rounded-borders" @click="$emit('update:color', c)" />
|
|
108
|
-
</div>
|
|
109
|
-
</q-item-section>
|
|
110
|
-
</q-item>
|
|
111
|
-
<q-separator />
|
|
112
|
-
<q-item>
|
|
113
|
-
<q-item-section>
|
|
114
|
-
<q-item-label>{{ $t('Mini mode') }}</q-item-label>
|
|
115
|
-
</q-item-section>
|
|
116
|
-
<q-item-section side>
|
|
117
|
-
<q-toggle :model-value="miniState" @update:model-value="$emit('update:miniState', $event)" />
|
|
118
|
-
</q-item-section>
|
|
119
|
-
</q-item>
|
|
120
|
-
<q-separator />
|
|
121
|
-
|
|
122
|
-
<q-item>
|
|
123
|
-
<q-item-section>
|
|
124
|
-
<q-item-label>Menu dense mode</q-item-label>
|
|
125
|
-
</q-item-section>
|
|
126
|
-
<q-item-section side>
|
|
127
|
-
<q-toggle :model-value="dense" @update:model-value="$emit('update:dense', $event)" />
|
|
128
|
-
</q-item-section>
|
|
129
|
-
</q-item>
|
|
130
|
-
|
|
131
|
-
<q-separator />
|
|
132
|
-
|
|
133
|
-
<q-item>
|
|
134
|
-
<q-item-section>
|
|
135
|
-
<q-item-label>Menu overlay header</q-item-label>
|
|
136
|
-
</q-item-section>
|
|
137
|
-
<q-item-section side>
|
|
138
|
-
<q-toggle :model-value="menuOverlayHeader"
|
|
139
|
-
@update:model-value="$emit('update:menuOverlayHeader', $event)" />
|
|
140
|
-
</q-item-section>
|
|
141
|
-
</q-item>
|
|
142
|
-
|
|
143
|
-
<q-separator />
|
|
144
|
-
|
|
145
|
-
<q-item>
|
|
146
|
-
<q-item-section>
|
|
147
|
-
<q-item-label>{{ $t('Show footer') }}</q-item-label>
|
|
148
|
-
</q-item-section>
|
|
149
|
-
<q-item-section side>
|
|
150
|
-
<q-toggle :model-value="footer" @update:model-value="$emit('update:footer', $event)" />
|
|
151
|
-
</q-item-section>
|
|
152
|
-
</q-item>
|
|
153
|
-
<q-separator />
|
|
154
|
-
<q-item>
|
|
155
|
-
<q-item-section>
|
|
156
|
-
<q-item-label>{{ $t('Menu width') }}</q-item-label>
|
|
157
|
-
<q-item-label><q-slider v-model="menuWidth" :min="200" :max="360" label /></q-item-label>
|
|
158
|
-
</q-item-section>
|
|
159
|
-
</q-item>
|
|
160
|
-
<q-separator />
|
|
161
|
-
|
|
162
|
-
<q-item>
|
|
163
|
-
<q-item-section>
|
|
164
|
-
<q-item-label>{{ $t('Server time') }}</q-item-label>
|
|
165
|
-
</q-item-section>
|
|
166
|
-
<q-item-section side>
|
|
167
|
-
<q-item-label>{{ server_date }} {{ server_time }} </q-item-label>
|
|
168
|
-
</q-item-section>
|
|
169
|
-
</q-item>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
</q-list>
|
|
77
|
+
<q-list>
|
|
78
|
+
<q-item-label header>
|
|
79
|
+
<q-item-label>{{ $t('Theme Customizer') }}</q-item-label>
|
|
80
|
+
<q-item-label caption>
|
|
81
|
+
{{ $t('Customize & Preview in Real Time') }}
|
|
82
|
+
</q-item-label>
|
|
83
|
+
</q-item-label>
|
|
84
|
+
<q-separator />
|
|
85
|
+
<q-item>
|
|
86
|
+
<q-item-section>
|
|
87
|
+
<q-item-label>Skin</q-item-label>
|
|
88
|
+
<div class="q-gutter-sm">
|
|
89
|
+
<q-radio :model-value="theme" val="light" label="Light"
|
|
90
|
+
@update:model-value="$emit('update:theme', $event)" />
|
|
91
|
+
<q-radio :model-value="theme" val="dark" label="Dark"
|
|
92
|
+
@update:model-value="$emit('update:theme', $event)" />
|
|
93
|
+
<q-radio :model-value="theme" val="semi-dark" label="Semi dark"
|
|
94
|
+
@update:model-value="$emit('update:theme', $event)" />
|
|
95
|
+
</div>
|
|
96
|
+
</q-item-section>
|
|
97
|
+
</q-item>
|
|
98
|
+
<q-separator />
|
|
99
|
+
<q-item>
|
|
100
|
+
<q-item-section>
|
|
101
|
+
<q-item-label>{{ $t('Color') }}</q-item-label>
|
|
102
|
+
<div class="row">
|
|
103
|
+
<div style="background-color: #7367f0; width: 1.5rem; height: 1.5rem;"
|
|
104
|
+
class="q-ma-xs cursor-pointer rounded-borders" @click="$emit('update:color', '')" />
|
|
105
|
+
|
|
106
|
+
<div v-for="c in COLORS" :key="c" :class="`bg-${c}`" style="width: 1.5rem; height: 1.5rem;"
|
|
107
|
+
class="q-ma-xs cursor-pointer rounded-borders" @click="$emit('update:color', c)" />
|
|
108
|
+
</div>
|
|
109
|
+
</q-item-section>
|
|
110
|
+
</q-item>
|
|
111
|
+
<q-separator />
|
|
112
|
+
<q-item>
|
|
113
|
+
<q-item-section>
|
|
114
|
+
<q-item-label>{{ $t('Mini mode') }}</q-item-label>
|
|
115
|
+
</q-item-section>
|
|
116
|
+
<q-item-section side>
|
|
117
|
+
<q-toggle :model-value="miniState" @update:model-value="$emit('update:miniState', $event)" />
|
|
118
|
+
</q-item-section>
|
|
119
|
+
</q-item>
|
|
120
|
+
<q-separator />
|
|
121
|
+
|
|
122
|
+
<q-item>
|
|
123
|
+
<q-item-section>
|
|
124
|
+
<q-item-label>Menu dense mode</q-item-label>
|
|
125
|
+
</q-item-section>
|
|
126
|
+
<q-item-section side>
|
|
127
|
+
<q-toggle :model-value="dense" @update:model-value="$emit('update:dense', $event)" />
|
|
128
|
+
</q-item-section>
|
|
129
|
+
</q-item>
|
|
130
|
+
|
|
131
|
+
<q-separator />
|
|
132
|
+
|
|
133
|
+
<q-item>
|
|
134
|
+
<q-item-section>
|
|
135
|
+
<q-item-label>Menu overlay header</q-item-label>
|
|
136
|
+
</q-item-section>
|
|
137
|
+
<q-item-section side>
|
|
138
|
+
<q-toggle :model-value="menuOverlayHeader"
|
|
139
|
+
@update:model-value="$emit('update:menuOverlayHeader', $event)" />
|
|
140
|
+
</q-item-section>
|
|
141
|
+
</q-item>
|
|
142
|
+
|
|
143
|
+
<q-separator />
|
|
144
|
+
|
|
145
|
+
<q-item>
|
|
146
|
+
<q-item-section>
|
|
147
|
+
<q-item-label>{{ $t('Show footer') }}</q-item-label>
|
|
148
|
+
</q-item-section>
|
|
149
|
+
<q-item-section side>
|
|
150
|
+
<q-toggle :model-value="footer" @update:model-value="$emit('update:footer', $event)" />
|
|
151
|
+
</q-item-section>
|
|
152
|
+
</q-item>
|
|
153
|
+
<q-separator />
|
|
154
|
+
<q-item>
|
|
155
|
+
<q-item-section>
|
|
156
|
+
<q-item-label>{{ $t('Menu width') }}</q-item-label>
|
|
157
|
+
<q-item-label><q-slider v-model="menuWidth" :min="200" :max="360" label /></q-item-label>
|
|
158
|
+
</q-item-section>
|
|
159
|
+
</q-item>
|
|
160
|
+
<q-separator />
|
|
161
|
+
|
|
162
|
+
<q-item>
|
|
163
|
+
<q-item-section>
|
|
164
|
+
<q-item-label>{{ $t('Server time') }}</q-item-label>
|
|
165
|
+
</q-item-section>
|
|
166
|
+
<q-item-section side>
|
|
167
|
+
<q-item-label>{{ server_date }} {{ server_time }} </q-item-label>
|
|
168
|
+
</q-item-section>
|
|
169
|
+
</q-item>
|
|
170
|
+
|
|
171
|
+
</q-list>
|
|
173
172
|
</template>
|
|
@@ -6,9 +6,9 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
|
6
6
|
color: string;
|
|
7
7
|
theme: string;
|
|
8
8
|
dense: boolean;
|
|
9
|
-
footer: boolean;
|
|
10
9
|
time: string;
|
|
11
10
|
miniState: boolean;
|
|
11
|
+
footer: boolean;
|
|
12
12
|
menuOverlayHeader: boolean;
|
|
13
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
declare const __VLS_emit: (event: "update:theme" | "update:menuOverlayHeader" | "update:dense" | "update:color" | "update:miniState" | "update:footer", ...args: any[]) => void;
|
|
@@ -16,8 +16,8 @@ declare const props: {
|
|
|
16
16
|
readonly color: string;
|
|
17
17
|
readonly theme: string;
|
|
18
18
|
readonly dense: boolean;
|
|
19
|
-
readonly footer: boolean;
|
|
20
19
|
readonly time: string;
|
|
21
20
|
readonly miniState: boolean;
|
|
21
|
+
readonly footer: boolean;
|
|
22
22
|
readonly menuOverlayHeader: boolean;
|
|
23
23
|
};
|
|
@@ -5,7 +5,7 @@ type __VLS_ModelProps = {
|
|
|
5
5
|
modelValue?: any;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
-
declare var __VLS_37:
|
|
8
|
+
declare var __VLS_37: any, __VLS_38: any;
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
[K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any;
|
|
11
11
|
};
|
|
@@ -186,21 +186,21 @@ const dateProps = computed(() => {
|
|
|
186
186
|
</script>
|
|
187
187
|
|
|
188
188
|
<template>
|
|
189
|
-
<q-input v-model="localValue" :mask="inputMask" :rules="inputRules" v-bind="inputProps">
|
|
190
|
-
<template v-slot:prepend>
|
|
191
|
-
<q-icon name="sym_o_event" class="cursor-pointer">
|
|
192
|
-
<q-popup-proxy cover transition-show="scale" transition-hide="scale" ref="popup">
|
|
193
|
-
<q-date mask="YYYY-MM-DD" v-model="modelValue" v-bind="dateProps">
|
|
194
|
-
<div class="row items-center justify-end">
|
|
195
|
-
<q-btn v-close-popup :label="$t('Close')" flat />
|
|
196
|
-
</div>
|
|
197
|
-
</q-date>
|
|
198
|
-
</q-popup-proxy>
|
|
199
|
-
</q-icon>
|
|
200
|
-
</template>
|
|
201
|
-
|
|
202
|
-
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
203
|
-
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
204
|
-
</template>
|
|
205
|
-
</q-input>
|
|
189
|
+
<q-input v-model="localValue" :mask="inputMask" :rules="inputRules" v-bind="inputProps">
|
|
190
|
+
<template v-slot:prepend>
|
|
191
|
+
<q-icon name="sym_o_event" class="cursor-pointer">
|
|
192
|
+
<q-popup-proxy cover transition-show="scale" transition-hide="scale" ref="popup">
|
|
193
|
+
<q-date mask="YYYY-MM-DD" v-model="modelValue" v-bind="dateProps">
|
|
194
|
+
<div class="row items-center justify-end">
|
|
195
|
+
<q-btn v-close-popup :label="$t('Close')" flat />
|
|
196
|
+
</div>
|
|
197
|
+
</q-date>
|
|
198
|
+
</q-popup-proxy>
|
|
199
|
+
</q-icon>
|
|
200
|
+
</template>
|
|
201
|
+
|
|
202
|
+
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
203
|
+
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
204
|
+
</template>
|
|
205
|
+
</q-input>
|
|
206
206
|
</template>
|
|
@@ -5,7 +5,7 @@ type __VLS_ModelProps = {
|
|
|
5
5
|
modelValue?: any;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
-
declare var __VLS_37:
|
|
8
|
+
declare var __VLS_37: any, __VLS_38: any;
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
[K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any;
|
|
11
11
|
};
|
|
@@ -16,30 +16,29 @@ const types = ["varchar", "int", "date", "time", "datetime", "timestamp", "text"
|
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<template>
|
|
19
|
-
<q-dialog ref="dialogRef">
|
|
20
|
-
<q-card class="q-dialog-plugin">
|
|
21
|
-
<q-toolbar>
|
|
22
|
-
<q-toolbar-title>Add Field</q-toolbar-title>
|
|
23
|
-
<q-space />
|
|
24
|
-
<q-btn dense flat icon="sym_o_close" v-close-popup />
|
|
25
|
-
</q-toolbar>
|
|
26
|
-
<form-kit type="l-form" :bordered="false" @submit="onOKClick" :value="{
|
|
27
|
-
name: '',
|
|
28
|
-
type: '',
|
|
29
|
-
length: '',
|
|
30
|
-
default: '',
|
|
31
|
-
nullable: false,
|
|
32
|
-
autoincrement: false
|
|
33
|
-
}">
|
|
34
|
-
<form-kit type="l-input" name="name" label="Name" validation="required" />
|
|
35
|
-
<form-kit type="l-select" name="type" label="Type" :options="types" validation="required" />
|
|
36
|
-
<form-kit type="l-input" name="length" label="Length" />
|
|
37
|
-
<form-kit type="l-input" name="default" label="Default" />
|
|
38
|
-
<form-kit type="l-checkbox" name="nullable" label="Nullable" />
|
|
39
|
-
<form-kit type="l-checkbox" name="autoincrement" label="Auto increment" />
|
|
40
|
-
</form-kit>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</q-dialog>
|
|
19
|
+
<q-dialog ref="dialogRef">
|
|
20
|
+
<q-card class="q-dialog-plugin">
|
|
21
|
+
<q-toolbar>
|
|
22
|
+
<q-toolbar-title>Add Field</q-toolbar-title>
|
|
23
|
+
<q-space />
|
|
24
|
+
<q-btn dense flat icon="sym_o_close" v-close-popup />
|
|
25
|
+
</q-toolbar>
|
|
26
|
+
<form-kit type="l-form" :bordered="false" @submit="onOKClick" :value="{
|
|
27
|
+
name: '',
|
|
28
|
+
type: '',
|
|
29
|
+
length: '',
|
|
30
|
+
default: '',
|
|
31
|
+
nullable: false,
|
|
32
|
+
autoincrement: false
|
|
33
|
+
}">
|
|
34
|
+
<form-kit type="l-input" name="name" label="Name" validation="required" />
|
|
35
|
+
<form-kit type="l-select" name="type" label="Type" :options="types" validation="required" />
|
|
36
|
+
<form-kit type="l-input" name="length" label="Length" />
|
|
37
|
+
<form-kit type="l-input" name="default" label="Default" />
|
|
38
|
+
<form-kit type="l-checkbox" name="nullable" label="Nullable" />
|
|
39
|
+
<form-kit type="l-checkbox" name="autoincrement" label="Auto increment" />
|
|
40
|
+
</form-kit>
|
|
41
|
+
|
|
42
|
+
</q-card>
|
|
43
|
+
</q-dialog>
|
|
45
44
|
</template>
|
|
@@ -39,9 +39,9 @@ watch(items, () => {
|
|
|
39
39
|
</script>
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
|
-
<div ref="parent" style="min-height: 150px;">
|
|
43
|
-
<template v-for="item in items" :key="item">
|
|
44
|
-
<component :is="item" />
|
|
45
|
-
</template>
|
|
46
|
-
</div>
|
|
42
|
+
<div ref="parent" style="min-height: 150px;">
|
|
43
|
+
<template v-for="item in items" :key="item">
|
|
44
|
+
<component :is="item" />
|
|
45
|
+
</template>
|
|
46
|
+
</div>
|
|
47
47
|
</template>
|
|
@@ -30,10 +30,10 @@ watch(items, () => {
|
|
|
30
30
|
</script>
|
|
31
31
|
|
|
32
32
|
<template>
|
|
33
|
-
<div ref="parent">
|
|
34
|
-
<template v-for="item in items" :key="item">
|
|
35
|
-
<component :is="item" />
|
|
36
|
-
</template>
|
|
37
|
-
|
|
38
|
-
</div>
|
|
33
|
+
<div ref="parent">
|
|
34
|
+
<template v-for="item in items" :key="item">
|
|
35
|
+
<component :is="item" />
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
39
|
</template>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<q-btn flat round icon="sym_o_edit" to="edit" />
|
|
1
|
+
<template>
|
|
2
|
+
<q-btn flat round icon="sym_o_edit" to="edit" />
|
|
3
3
|
</template>
|