-
-
-
-
-
-
-
- {{ t("memories", "Show hidden folders") }}
-
+
+
+
-
- {{ t("memories", "Square grid mode") }}
-
+
+ {{ t("memories", "Square grid mode") }}
+
+
+
+
+
+
+
+
+ {{ t("memories", "Show hidden folders") }}
+
+
+
+ import("@nextcloud/vue/dist/Components/NcAppSettingsDialog");
+const NcAppSettingsSection = () =>
+ import("@nextcloud/vue/dist/Components/NcAppSettingsSection");
const NcCheckboxRadioSwitch = () =>
import("@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch");
@@ -81,10 +102,19 @@ export default defineComponent({
name: "Settings",
components: {
+ NcAppSettingsDialog,
+ NcAppSettingsSection,
NcCheckboxRadioSwitch,
MultiPathSelectionModal,
},
+ props: {
+ open: {
+ type: Boolean,
+ required: true,
+ },
+ },
+
computed: {
pathSelTitle(): string {
return this.t("memories", "Choose Timeline Paths");
@@ -92,6 +122,10 @@ export default defineComponent({
},
methods: {
+ onClose() {
+ this.$emit("update:open", false);
+ },
+
async chooseFolder(title: string, initial: string) {
const picker = getFilePickerBuilder(title)
.setMultiSelect(false)
@@ -142,4 +176,4 @@ export default defineComponent({
},
},
});
-
\ No newline at end of file
+