@anzusystems/common-admin 2.0.0-rc.22 → 2.0.0-rc.24
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/AnzuSystemsCommonAdmin.d.ts +2 -0
- package/dist/AnzuSystemsCommonAdmin.js.map +1 -1
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.js +33 -29
- package/dist/domains/dam/api/damAssetApi.d.ts +12 -5
- package/dist/domains/dam/api/damAssetApi.js +66 -55
- package/dist/domains/dam/api/damAssetApi.js.map +1 -1
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarMetadata.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarMetadata.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/assetDetail/components/AssetMetadata.vue_vue_type_script_setup_true_lang.js +100 -108
- package/dist/domains/dam/assetDetail/components/AssetMetadata.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/assetDetail/store/assetDetailStore.d.ts +2 -0
- package/dist/domains/dam/assetSelect/components/AAssetListInner.vue.d.ts +2 -0
- package/dist/domains/dam/assetSelect/components/AAssetSelect.vue.d.ts +1 -0
- package/dist/domains/dam/assetSelect/composables/assetSelectListActions.js +1 -1
- package/dist/domains/dam/assetSelect/composables/assetSelectListActions.js.map +1 -1
- package/dist/domains/dam/assetSelect/store/assetSelectStore.d.ts +112 -0
- package/dist/domains/dam/author/components/AuthorCreateButton.vue.d.ts +6 -0
- package/dist/domains/dam/author/components/AuthorCreateButton.vue_vue_type_script_setup_true_lang.js +13 -5
- package/dist/domains/dam/author/components/AuthorCreateButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChip.js +4 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChip.js.map +1 -1
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChip.vue_vue_type_script_setup_true_lang.js +45 -39
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChip.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteWithCached.js +1 -1
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteWithCached.vue.d.ts +15 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js +118 -96
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/author/components/DamAuthorFilterRemoteAutocomplete.vue.d.ts +3 -0
- package/dist/domains/dam/author/components/DamAuthorFilterRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/domains/dam/author/components/DamAuthorFilterRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/author/components/DamSourcesAuthorsFields.js +8 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsFields.js.map +1 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsFields.vue.d.ts +67 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsFields.vue_vue_type_script_setup_true_lang.js +144 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsFields.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsRow.js +8 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsRow.js.map +1 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsRow.vue.d.ts +27 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsRow.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/domains/dam/author/components/DamSourcesAuthorsRow.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/domains/dam/author/composables/authorActions.js +2 -1
- package/dist/domains/dam/author/composables/authorActions.js.map +1 -1
- package/dist/domains/dam/author/composables/authorFieldRouting.d.ts +15 -0
- package/dist/domains/dam/author/composables/authorFieldRouting.js +18 -0
- package/dist/domains/dam/author/composables/authorFieldRouting.js.map +1 -0
- package/dist/domains/dam/author/composables/authorValidation.js +1 -1
- package/dist/domains/dam/author/composables/authorValidation.js.map +1 -1
- package/dist/domains/dam/author/composables/cachedAuthors.js +4 -2
- package/dist/domains/dam/author/composables/cachedAuthors.js.map +1 -1
- package/dist/domains/dam/author/composables/damAuthorConfig.d.ts +5 -0
- package/dist/domains/dam/author/composables/damAuthorConfig.js +5 -2
- package/dist/domains/dam/author/composables/damAuthorConfig.js.map +1 -1
- package/dist/domains/dam/author/composables/damCredit.d.ts +35 -0
- package/dist/domains/dam/author/composables/damCredit.js +44 -0
- package/dist/domains/dam/author/composables/damCredit.js.map +1 -0
- package/dist/domains/dam/author/composables/damSourceConfig.d.ts +15 -0
- package/dist/domains/dam/author/composables/damSourceConfig.js +19 -0
- package/dist/domains/dam/author/composables/damSourceConfig.js.map +1 -0
- package/dist/domains/dam/author/factory/AuthorFactory.js +3 -1
- package/dist/domains/dam/author/factory/AuthorFactory.js.map +1 -1
- package/dist/domains/dam/author/filter/AuthorFilter.d.ts +38 -4
- package/dist/domains/dam/author/filter/AuthorFilter.js +20 -6
- package/dist/domains/dam/author/filter/AuthorFilter.js.map +1 -1
- package/dist/domains/dam/author/types/DamAuthor.d.ts +4 -0
- package/dist/domains/dam/composables/commonAdminCoreDamOptions.d.ts +1 -0
- package/dist/domains/dam/composables/commonAdminCoreDamOptions.js +1 -0
- package/dist/domains/dam/composables/commonAdminCoreDamOptions.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageDetailDialogMetadata.vue.d.ts +9 -1
- package/dist/domains/dam/imageWidget/components/ImageDetailDialogMetadata.vue_vue_type_script_setup_true_lang.js +206 -204
- package/dist/domains/dam/imageWidget/components/ImageDetailDialogMetadata.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageMassOperations.vue_vue_type_script_setup_true_lang.js +165 -131
- package/dist/domains/dam/imageWidget/components/ImageMassOperations.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue_vue_type_script_setup_true_lang.js +344 -335
- package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue.d.ts +1 -0
- package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue_vue_type_script_setup_true_lang.js +251 -242
- package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue.d.ts +1 -0
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue_vue_type_script_setup_true_lang.js +308 -303
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleItem.vue.d.ts +1 -0
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleItem.vue_vue_type_script_setup_true_lang.js +84 -87
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/composables/imageDialogDamAuthors.d.ts +6 -3
- package/dist/domains/dam/imageWidget/composables/imageDialogDamAuthors.js +82 -77
- package/dist/domains/dam/imageWidget/composables/imageDialogDamAuthors.js.map +1 -1
- package/dist/domains/dam/imageWidget/composables/useImageMassOperations.d.ts +2 -0
- package/dist/domains/dam/imageWidget/composables/useImageMassOperations.js +59 -37
- package/dist/domains/dam/imageWidget/composables/useImageMassOperations.js.map +1 -1
- package/dist/domains/dam/imageWidget/store/imageStore.d.ts +2 -0
- package/dist/domains/dam/imageWidget/utils/metadataToImageMap.d.ts +3 -1
- package/dist/domains/dam/imageWidget/utils/metadataToImageMap.js +13 -22
- package/dist/domains/dam/imageWidget/utils/metadataToImageMap.js.map +1 -1
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteWithCached.js +1 -1
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/types/Asset.d.ts +1 -0
- package/dist/domains/dam/types/Asset.js.map +1 -1
- package/dist/domains/dam/types/DamConfig.d.ts +6 -0
- package/dist/domains/dam/types/DamConfig.js.map +1 -1
- package/dist/domains/dam/types/ImageAware.d.ts +1 -0
- package/dist/domains/dam/types/UploadQueue.d.ts +1 -0
- package/dist/domains/dam/types/UploadQueue.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/AssetQueueSelectedSidebar.vue_vue_type_script_setup_true_lang.js +204 -175
- package/dist/domains/dam/uploadQueue/components/AssetQueueSelectedSidebar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialog.vue_vue_type_script_setup_true_lang.js +67 -65
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingle.vue_vue_type_script_setup_true_lang.js +71 -70
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingle.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebarMetadataContent.vue_vue_type_script_setup_true_lang.js +83 -91
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebarMetadataContent.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/UploadQueueEditable.vue_vue_type_script_setup_true_lang.js +4 -0
- package/dist/domains/dam/uploadQueue/components/UploadQueueEditable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemEditable.vue.d.ts +10 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemEditable.vue_vue_type_script_setup_true_lang.js +178 -177
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemEditable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/uploadQueue/components/uploadQueueBindings.d.ts +2 -0
- package/dist/domains/dam/uploadQueue/components/uploadQueueBindings.js +4 -3
- package/dist/domains/dam/uploadQueue/components/uploadQueueBindings.js.map +1 -1
- package/dist/domains/dam/uploadQueue/composables/uploadQueueMassOperations.d.ts +1 -0
- package/dist/domains/dam/uploadQueue/composables/uploadQueueMassOperations.js +11 -8
- package/dist/domains/dam/uploadQueue/composables/uploadQueueMassOperations.js.map +1 -1
- package/dist/domains/dam/uploadQueue/core/uploadQueueFill.d.ts +2 -0
- package/dist/domains/dam/uploadQueue/core/uploadQueueFill.js +4 -1
- package/dist/domains/dam/uploadQueue/core/uploadQueueFill.js.map +1 -1
- package/dist/domains/dam/uploadQueue/factory/UploadQueueItemFactory.js +1 -0
- package/dist/domains/dam/uploadQueue/factory/UploadQueueItemFactory.js.map +1 -1
- package/dist/domains/dam/uploadQueue/settlement/uploadSettle.js +4 -4
- package/dist/domains/dam/uploadQueue/settlement/uploadSettle.js.map +1 -1
- package/dist/domains/dam/uploadQueue/store/uploadQueuesStore.d.ts +1 -0
- package/dist/domains/dam/uploadQueue/store/uploadQueuesStore.js +7 -4
- package/dist/domains/dam/uploadQueue/store/uploadQueuesStore.js.map +1 -1
- package/dist/domains/filters/datatable/components/ADatatableSidePanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/filters/datatable/components/ALiveListingPill.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocompleteWithCached.vue.d.ts +3 -0
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/lib.d.ts +5 -1
- package/dist/locales/cs/common/assetSelect.js +1 -1
- package/dist/locales/cs/common/damImage.js +84 -10
- package/dist/locales/cs/common/damImage.js.map +1 -1
- package/dist/locales/cs.d.ts +6 -0
- package/dist/locales/en/common/assetSelect.js +1 -1
- package/dist/locales/en/common/damImage.js +84 -10
- package/dist/locales/en/common/damImage.js.map +1 -1
- package/dist/locales/en.d.ts +6 -0
- package/dist/locales/sk/common/assetSelect.js +1 -1
- package/dist/locales/sk/common/damImage.js +84 -10
- package/dist/locales/sk/common/damImage.js.map +1 -1
- package/dist/locales/sk.d.ts +6 -0
- package/dist/plugins/i18n.d.ts +6 -0
- package/package.json +26 -26
|
@@ -3,43 +3,45 @@ import t from "./AImageWidgetSimple.js";
|
|
|
3
3
|
import n from "../../../form/components/AFormTextarea.js";
|
|
4
4
|
import { AImageMetadataValidationScopeSymbol as r, useImageValidation as i } from "../../composables/uploadValidations.js";
|
|
5
5
|
import { useAlerts as a } from "../../../system/composables/alerts.js";
|
|
6
|
-
import o from "../../author/components/
|
|
7
|
-
import s from "
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
6
|
+
import o from "../../author/components/DamSourcesAuthorsFields.js";
|
|
7
|
+
import { isDamSourceEnabled as s } from "../../author/composables/damSourceConfig.js";
|
|
8
|
+
import { isDamAuthorEnabled as ee } from "../../author/composables/damAuthorConfig.js";
|
|
9
|
+
import { useDamConfigState as te } from "../../config/composables/damConfigState.js";
|
|
10
|
+
import { useAssetDetailStore as ne } from "../../assetDetail/store/assetDetailStore.js";
|
|
11
|
+
import { useExtSystemIdForCached as re } from "../../composables/extSystemIdForCached.js";
|
|
12
|
+
import { isImageCreateUpdateAware as c, isMediaAware as l, useImageMediaWidgetStore as ie } from "../store/imageMediaWidgetStore.js";
|
|
13
|
+
import { DamAssetType as u } from "../../types/Asset.js";
|
|
14
|
+
import d from "../../../ui/components/ARow.js";
|
|
15
|
+
import ae from "../../components/DamAdminAssetLink.js";
|
|
16
|
+
import { isArray as oe, isNull as se } from "../../../../shared/utils/common.js";
|
|
17
|
+
import { DamMediaType as f } from "../../types/MediaAware.js";
|
|
18
|
+
import { createDamImage as ce } from "../utils/damImage.js";
|
|
19
|
+
import { useDamConfigName as le } from "../../composables/damConfigName.js";
|
|
20
|
+
import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, openBlock as S, renderSlot as ue, resolveComponent as de, toDisplayString as C, unref as w, withCtx as T, withModifiers as E } from "vue";
|
|
21
|
+
import { useI18n as fe } from "vue-i18n";
|
|
22
|
+
import { VCol as D, VRow as O, VSpacer as pe } from "vuetify/components/VGrid";
|
|
23
|
+
import { VIcon as me } from "vuetify/components/VIcon";
|
|
24
|
+
import { VProgressCircular as k } from "vuetify/components/VProgressCircular";
|
|
25
|
+
import { VCard as he, VCardActions as ge, VCardText as _e } from "vuetify/components/VCard";
|
|
26
|
+
import { useDisplay as ve } from "vuetify";
|
|
27
|
+
import { VBtn as A } from "vuetify/components/VBtn";
|
|
28
|
+
import { VDialog as ye } from "vuetify/components/VDialog";
|
|
29
|
+
import { VSwitch as j } from "vuetify/components/VSwitch";
|
|
30
|
+
import { storeToRefs as M } from "pinia";
|
|
29
31
|
// src/domains/dam/imageWidget/components/ImageDetailDialogMetadata.vue?vue&type=script&setup=true&lang.ts
|
|
30
|
-
var
|
|
32
|
+
var N = { key: 0 }, P = { class: "d-flex align-center justify-center" }, be = { key: 2 }, xe = {
|
|
31
33
|
key: 0,
|
|
32
34
|
class: "d-flex align-center justify-center"
|
|
33
|
-
},
|
|
35
|
+
}, Se = {
|
|
34
36
|
key: 1,
|
|
35
37
|
class: "position-relative"
|
|
36
|
-
},
|
|
38
|
+
}, Ce = { class: "my-4" }, we = {
|
|
37
39
|
key: 2,
|
|
38
40
|
class: "position-relative"
|
|
39
|
-
},
|
|
41
|
+
}, Te = { class: "my-4" }, Ee = { class: "font-weight-bold text-label-large" }, De = {
|
|
40
42
|
key: 0,
|
|
41
43
|
class: "my-2 text-warning text-body-small"
|
|
42
|
-
},
|
|
44
|
+
}, F = /*@__PURE__*/ x({
|
|
43
45
|
__name: "ImageDetailDialogMetadata",
|
|
44
46
|
props: {
|
|
45
47
|
modelValue: { type: Boolean },
|
|
@@ -54,6 +56,7 @@ var I = { key: 0 }, L = { class: "d-flex align-center justify-center" }, R = { k
|
|
|
54
56
|
default: !1
|
|
55
57
|
},
|
|
56
58
|
damAuthors: { default: () => [] },
|
|
59
|
+
damSources: { default: () => [] },
|
|
57
60
|
showSourceEnabled: {
|
|
58
61
|
type: Boolean,
|
|
59
62
|
default: !0
|
|
@@ -65,51 +68,54 @@ var I = { key: 0 }, L = { class: "d-flex align-center justify-center" }, R = { k
|
|
|
65
68
|
emits: [
|
|
66
69
|
"editAsset",
|
|
67
70
|
"update:damAuthors",
|
|
71
|
+
"update:damSources",
|
|
68
72
|
"confirm",
|
|
69
73
|
"close"
|
|
70
74
|
],
|
|
71
|
-
setup(
|
|
72
|
-
let
|
|
73
|
-
if (
|
|
74
|
-
fileId:
|
|
75
|
-
licenceId:
|
|
75
|
+
setup(x, { expose: F, emit: Oe }) {
|
|
76
|
+
let I = x, L = Oe, { t: R } = fe(), { mdAndDown: ke } = ve(), Ae = ie(), { detail: z } = M(Ae), je = ne(), { authorConflicts: B } = M(je), V = le(), { cachedExtSystemId: H } = re(V), Me = m(() => l(z.value) ? z.value.damMedia.assetType === f.Video ? u.Video : u.Audio : c(z.value) ? u.Image : null), Ne = m(() => I.type ?? Me.value), U = m(() => s(u.Image, H.value, V)), W = m(() => ee(u.Image, H.value, V)), { getDamConfigExtSystem: Pe } = te(void 0, V), G = m(() => Pe(H.value)?.[u.Image]), K = m(() => I.showDamAuthors && (U.value || W.value)), q = m(() => !K.value), Fe = m(() => {
|
|
77
|
+
if (l(z.value) && !se(z.value.damMedia.imageFileId)) return ce({
|
|
78
|
+
fileId: z.value.damMedia.imageFileId,
|
|
79
|
+
licenceId: z.value.damMedia.licenceId
|
|
76
80
|
}, {}, { showSource: !1 });
|
|
77
|
-
}), { v$:
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
e ||
|
|
81
|
-
},
|
|
82
|
-
|
|
81
|
+
}), { v$: J } = i(z, q, V), { showValidationError: Ie } = a(), Y = () => {
|
|
82
|
+
J.value.$touch(), J.value.$invalid ? Ie() : L("confirm");
|
|
83
|
+
}, X = (e) => {
|
|
84
|
+
e || L("close");
|
|
85
|
+
}, Z = () => {
|
|
86
|
+
c(z.value) && L("editAsset", z.value.dam.damId);
|
|
87
|
+
}, Q = (e) => {
|
|
88
|
+
L("update:damAuthors", oe(e) ? e : []);
|
|
83
89
|
}, $ = (e) => {
|
|
84
|
-
|
|
90
|
+
L("update:damSources", e);
|
|
85
91
|
};
|
|
86
|
-
return
|
|
87
|
-
let
|
|
88
|
-
return
|
|
89
|
-
default:
|
|
90
|
-
default:
|
|
92
|
+
return F({ confirm: Y }), (i, a) => {
|
|
93
|
+
let s = de("ABtnPrimary");
|
|
94
|
+
return x.expand ? (S(), _("div", N, [x.loading ? (S(), h(O, { key: 0 }, {
|
|
95
|
+
default: T(() => [b(D, null, {
|
|
96
|
+
default: T(() => [v("div", P, [b(k, { indeterminate: "" })])]),
|
|
91
97
|
_: 1
|
|
92
98
|
})]),
|
|
93
99
|
_: 1
|
|
94
|
-
})) :
|
|
95
|
-
|
|
96
|
-
default:
|
|
97
|
-
default:
|
|
98
|
-
default:
|
|
100
|
+
})) : g("", !0), w(c)(w(z)) ? (S(), _(p, { key: 1 }, [
|
|
101
|
+
b(O, null, {
|
|
102
|
+
default: T(() => [b(D, null, {
|
|
103
|
+
default: T(() => [b(A, { onClick: E(Z, ["stop"]) }, {
|
|
104
|
+
default: T(() => [y(C(x.editAssetLabel), 1)]),
|
|
99
105
|
_: 1
|
|
100
106
|
})]),
|
|
101
107
|
_: 1
|
|
102
108
|
})]),
|
|
103
109
|
_: 1
|
|
104
110
|
}),
|
|
105
|
-
|
|
106
|
-
default:
|
|
107
|
-
default:
|
|
108
|
-
modelValue:
|
|
109
|
-
"onUpdate:modelValue": a[0] ||= (e) =>
|
|
110
|
-
label:
|
|
111
|
-
help:
|
|
112
|
-
v:
|
|
111
|
+
b(O, null, {
|
|
112
|
+
default: T(() => [b(D, null, {
|
|
113
|
+
default: T(() => [b(n, {
|
|
114
|
+
modelValue: w(z).texts.description,
|
|
115
|
+
"onUpdate:modelValue": a[0] ||= (e) => w(z).texts.description = e,
|
|
116
|
+
label: w(R)("common.damImage.image.model.texts.description"),
|
|
117
|
+
help: w(R)("common.damImage.image.help.texts.description"),
|
|
118
|
+
v: w(J).image?.texts.description
|
|
113
119
|
}, null, 8, [
|
|
114
120
|
"modelValue",
|
|
115
121
|
"label",
|
|
@@ -120,41 +126,39 @@ var I = { key: 0 }, L = { class: "d-flex align-center justify-center" }, R = { k
|
|
|
120
126
|
})]),
|
|
121
127
|
_: 1
|
|
122
128
|
}),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
label: C.sourceLabel,
|
|
157
|
-
v: E(Y).image?.texts.source
|
|
129
|
+
K.value ? (S(), h(o, {
|
|
130
|
+
key: 0,
|
|
131
|
+
sources: x.damSources,
|
|
132
|
+
authors: x.damAuthors,
|
|
133
|
+
"ext-system": w(H),
|
|
134
|
+
"source-enabled": U.value,
|
|
135
|
+
"author-enabled": W.value,
|
|
136
|
+
"source-required": !!G.value?.sources?.required,
|
|
137
|
+
"author-required": !!G.value?.authors?.required,
|
|
138
|
+
"validation-scope": w(r),
|
|
139
|
+
"author-conflicts": w(B),
|
|
140
|
+
"show-credit": "",
|
|
141
|
+
"credit-label": x.sourceLabel,
|
|
142
|
+
"onUpdate:sources": $,
|
|
143
|
+
"onUpdate:authors": Q
|
|
144
|
+
}, null, 8, [
|
|
145
|
+
"sources",
|
|
146
|
+
"authors",
|
|
147
|
+
"ext-system",
|
|
148
|
+
"source-enabled",
|
|
149
|
+
"author-enabled",
|
|
150
|
+
"source-required",
|
|
151
|
+
"author-required",
|
|
152
|
+
"validation-scope",
|
|
153
|
+
"author-conflicts",
|
|
154
|
+
"credit-label"
|
|
155
|
+
])) : (S(), h(O, { key: 1 }, {
|
|
156
|
+
default: T(() => [b(D, null, {
|
|
157
|
+
default: T(() => [b(n, {
|
|
158
|
+
modelValue: w(z).texts.source,
|
|
159
|
+
"onUpdate:modelValue": a[1] ||= (e) => w(z).texts.source = e,
|
|
160
|
+
label: x.sourceLabel,
|
|
161
|
+
v: w(J).image?.texts.source
|
|
158
162
|
}, null, 8, [
|
|
159
163
|
"modelValue",
|
|
160
164
|
"label",
|
|
@@ -164,57 +168,57 @@ var I = { key: 0 }, L = { class: "d-flex align-center justify-center" }, R = { k
|
|
|
164
168
|
})]),
|
|
165
169
|
_: 1
|
|
166
170
|
})),
|
|
167
|
-
|
|
168
|
-
default:
|
|
169
|
-
default:
|
|
170
|
-
modelValue:
|
|
171
|
-
"onUpdate:modelValue": a[2] ||= (e) =>
|
|
172
|
-
label:
|
|
171
|
+
x.showSourceEnabled ? (S(), h(O, { key: 2 }, {
|
|
172
|
+
default: T(() => [b(D, null, {
|
|
173
|
+
default: T(() => [b(j, {
|
|
174
|
+
modelValue: w(z).flags.showSource,
|
|
175
|
+
"onUpdate:modelValue": a[2] ||= (e) => w(z).flags.showSource = e,
|
|
176
|
+
label: w(R)("common.damImage.image.model.flags.showSource"),
|
|
173
177
|
density: "compact",
|
|
174
178
|
"hide-details": ""
|
|
175
179
|
}, null, 8, ["modelValue", "label"])]),
|
|
176
180
|
_: 1
|
|
177
181
|
})]),
|
|
178
182
|
_: 1
|
|
179
|
-
})) :
|
|
180
|
-
], 64)) :
|
|
183
|
+
})) : g("", !0)
|
|
184
|
+
], 64)) : w(l)(w(z)) ? (S(), _("div", be, C(w(z).damMedia), 1)) : g("", !0)])) : (S(), h(ye, {
|
|
181
185
|
key: 1,
|
|
182
|
-
"model-value":
|
|
183
|
-
"max-width":
|
|
184
|
-
fullscreen:
|
|
186
|
+
"model-value": x.modelValue,
|
|
187
|
+
"max-width": 640,
|
|
188
|
+
fullscreen: w(ke),
|
|
185
189
|
eager: "",
|
|
186
|
-
"onUpdate:modelValue":
|
|
190
|
+
"onUpdate:modelValue": X
|
|
187
191
|
}, {
|
|
188
|
-
default:
|
|
189
|
-
default:
|
|
190
|
-
|
|
191
|
-
default:
|
|
192
|
+
default: T(() => [x.modelValue ? (S(), h(he, { key: 0 }, {
|
|
193
|
+
default: T(() => [
|
|
194
|
+
b(e, { onCancel: a[3] ||= (e) => X(!1) }, {
|
|
195
|
+
default: T(() => [y(C(Ne.value === w(u).Image ? w(R)("common.damImage.image.meta.edit") : w(R)("common.damImage.media.meta.edit")), 1)]),
|
|
192
196
|
_: 1
|
|
193
197
|
}),
|
|
194
|
-
|
|
195
|
-
default:
|
|
196
|
-
|
|
197
|
-
"model-value":
|
|
198
|
-
image:
|
|
198
|
+
b(_e, null, {
|
|
199
|
+
default: T(() => [x.loading ? (S(), _("div", xe, [b(k, { indeterminate: "" })])) : w(c)(w(z)) ? (S(), _("div", Se, [
|
|
200
|
+
v("div", Ce, [b(t, {
|
|
201
|
+
"model-value": w(z).id,
|
|
202
|
+
image: w(z)
|
|
199
203
|
}, null, 8, ["model-value", "image"])]),
|
|
200
|
-
|
|
201
|
-
default:
|
|
202
|
-
default:
|
|
203
|
-
default:
|
|
204
|
+
b(O, null, {
|
|
205
|
+
default: T(() => [b(D, null, {
|
|
206
|
+
default: T(() => [b(A, { onClick: E(Z, ["stop"]) }, {
|
|
207
|
+
default: T(() => [y(C(x.editAssetLabel), 1)]),
|
|
204
208
|
_: 1
|
|
205
209
|
})]),
|
|
206
210
|
_: 1
|
|
207
211
|
})]),
|
|
208
212
|
_: 1
|
|
209
213
|
}),
|
|
210
|
-
|
|
211
|
-
default:
|
|
212
|
-
default:
|
|
213
|
-
modelValue:
|
|
214
|
-
"onUpdate:modelValue": a[4] ||= (e) =>
|
|
215
|
-
label:
|
|
216
|
-
help:
|
|
217
|
-
v:
|
|
214
|
+
b(O, null, {
|
|
215
|
+
default: T(() => [b(D, null, {
|
|
216
|
+
default: T(() => [b(n, {
|
|
217
|
+
modelValue: w(z).texts.description,
|
|
218
|
+
"onUpdate:modelValue": a[4] ||= (e) => w(z).texts.description = e,
|
|
219
|
+
label: w(R)("common.damImage.image.model.texts.description"),
|
|
220
|
+
help: w(R)("common.damImage.image.help.texts.description"),
|
|
221
|
+
v: w(J).image?.texts.description
|
|
218
222
|
}, null, 8, [
|
|
219
223
|
"modelValue",
|
|
220
224
|
"label",
|
|
@@ -225,41 +229,39 @@ var I = { key: 0 }, L = { class: "d-flex align-center justify-center" }, R = { k
|
|
|
225
229
|
})]),
|
|
226
230
|
_: 1
|
|
227
231
|
}),
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
label: C.sourceLabel,
|
|
262
|
-
v: E(Y).image?.texts.source
|
|
232
|
+
K.value ? (S(), h(o, {
|
|
233
|
+
key: 0,
|
|
234
|
+
sources: x.damSources,
|
|
235
|
+
authors: x.damAuthors,
|
|
236
|
+
"ext-system": w(H),
|
|
237
|
+
"source-enabled": U.value,
|
|
238
|
+
"author-enabled": W.value,
|
|
239
|
+
"source-required": !!G.value?.sources?.required,
|
|
240
|
+
"author-required": !!G.value?.authors?.required,
|
|
241
|
+
"validation-scope": w(r),
|
|
242
|
+
"author-conflicts": w(B),
|
|
243
|
+
"show-credit": "",
|
|
244
|
+
"credit-label": x.sourceLabel,
|
|
245
|
+
"onUpdate:sources": $,
|
|
246
|
+
"onUpdate:authors": Q
|
|
247
|
+
}, null, 8, [
|
|
248
|
+
"sources",
|
|
249
|
+
"authors",
|
|
250
|
+
"ext-system",
|
|
251
|
+
"source-enabled",
|
|
252
|
+
"author-enabled",
|
|
253
|
+
"source-required",
|
|
254
|
+
"author-required",
|
|
255
|
+
"validation-scope",
|
|
256
|
+
"author-conflicts",
|
|
257
|
+
"credit-label"
|
|
258
|
+
])) : (S(), h(O, { key: 1 }, {
|
|
259
|
+
default: T(() => [b(D, null, {
|
|
260
|
+
default: T(() => [b(n, {
|
|
261
|
+
modelValue: w(z).texts.source,
|
|
262
|
+
"onUpdate:modelValue": a[5] ||= (e) => w(z).texts.source = e,
|
|
263
|
+
label: x.sourceLabel,
|
|
264
|
+
v: w(J).image?.texts.source
|
|
263
265
|
}, null, 8, [
|
|
264
266
|
"modelValue",
|
|
265
267
|
"label",
|
|
@@ -269,93 +271,93 @@ var I = { key: 0 }, L = { class: "d-flex align-center justify-center" }, R = { k
|
|
|
269
271
|
})]),
|
|
270
272
|
_: 1
|
|
271
273
|
})),
|
|
272
|
-
|
|
273
|
-
default:
|
|
274
|
-
default:
|
|
275
|
-
modelValue:
|
|
276
|
-
"onUpdate:modelValue": a[6] ||= (e) =>
|
|
277
|
-
label:
|
|
274
|
+
x.showSourceEnabled ? (S(), h(O, { key: 2 }, {
|
|
275
|
+
default: T(() => [b(D, null, {
|
|
276
|
+
default: T(() => [b(j, {
|
|
277
|
+
modelValue: w(z).flags.showSource,
|
|
278
|
+
"onUpdate:modelValue": a[6] ||= (e) => w(z).flags.showSource = e,
|
|
279
|
+
label: w(R)("common.damImage.image.model.flags.showSource"),
|
|
278
280
|
density: "compact",
|
|
279
281
|
"hide-details": ""
|
|
280
282
|
}, null, 8, ["modelValue", "label"])]),
|
|
281
283
|
_: 1
|
|
282
284
|
})]),
|
|
283
285
|
_: 1
|
|
284
|
-
})) :
|
|
285
|
-
])) :
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
286
|
+
})) : g("", !0)
|
|
287
|
+
])) : w(l)(w(z)) ? (S(), _("div", we, [
|
|
288
|
+
v("div", Te, [
|
|
289
|
+
v("h4", Ee, C(w(R)("common.damImage.media.meta.preview")) + ":", 1),
|
|
290
|
+
ue(i.$slots, "preview", { imageMedia: w(z) }),
|
|
291
|
+
w(z).damMedia.playable ? g("", !0) : (S(), h(t, {
|
|
290
292
|
key: 0,
|
|
291
293
|
"model-value": null,
|
|
292
|
-
image:
|
|
294
|
+
image: Fe.value
|
|
293
295
|
}, null, 8, ["image"]))
|
|
294
296
|
]),
|
|
295
|
-
|
|
296
|
-
default:
|
|
297
|
-
default:
|
|
297
|
+
b(O, null, {
|
|
298
|
+
default: T(() => [b(D, null, {
|
|
299
|
+
default: T(() => [b(ae, { "asset-id": w(z).damMedia.assetId }, null, 8, ["asset-id"])]),
|
|
298
300
|
_: 1
|
|
299
301
|
})]),
|
|
300
302
|
_: 1
|
|
301
303
|
}),
|
|
302
|
-
|
|
304
|
+
w(z).damMedia.playable ? g("", !0) : (S(), _("div", De, [b(me, {
|
|
303
305
|
icon: "mdi-movie-off-outline",
|
|
304
306
|
class: "mr-1",
|
|
305
307
|
size: "small"
|
|
306
|
-
}),
|
|
307
|
-
|
|
308
|
-
default:
|
|
308
|
+
}), y(C(w(R)("common.damImage.media.meta.notPlayable")), 1)])),
|
|
309
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.title") }, {
|
|
310
|
+
default: T(() => [y(C(w(z).damMedia.title), 1)]),
|
|
309
311
|
_: 1
|
|
310
312
|
}, 8, ["title"]),
|
|
311
|
-
|
|
312
|
-
default:
|
|
313
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.authorNames") }, {
|
|
314
|
+
default: T(() => [y(C(w(z).damMedia.authorNames.join(", ")), 1)]),
|
|
313
315
|
_: 1
|
|
314
316
|
}, 8, ["title"]),
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
default:
|
|
317
|
+
w(z).damMedia.assetType === "audio" ? (S(), _(p, { key: 1 }, [
|
|
318
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.seriesName") }, {
|
|
319
|
+
default: T(() => [y(C(w(z).damMedia.seriesName), 1)]),
|
|
318
320
|
_: 1
|
|
319
321
|
}, 8, ["title"]),
|
|
320
|
-
|
|
321
|
-
default:
|
|
322
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.episodeName") }, {
|
|
323
|
+
default: T(() => [y(C(w(z).damMedia.episodeName), 1)]),
|
|
322
324
|
_: 1
|
|
323
325
|
}, 8, ["title"]),
|
|
324
|
-
|
|
325
|
-
default:
|
|
326
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.episodeNumber") }, {
|
|
327
|
+
default: T(() => [y(C(w(z).damMedia.episodeNumber), 1)]),
|
|
326
328
|
_: 1
|
|
327
329
|
}, 8, ["title"])
|
|
328
|
-
], 64)) :
|
|
329
|
-
|
|
330
|
-
default:
|
|
330
|
+
], 64)) : g("", !0),
|
|
331
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.assetId") }, {
|
|
332
|
+
default: T(() => [y(C(w(z).damMedia.assetId), 1)]),
|
|
331
333
|
_: 1
|
|
332
334
|
}, 8, ["title"]),
|
|
333
|
-
|
|
334
|
-
default:
|
|
335
|
+
b(d, { title: w(R)("common.damImage.media.model.damMedia.licenceId") }, {
|
|
336
|
+
default: T(() => [y(C(w(z).damMedia.licenceId), 1)]),
|
|
335
337
|
_: 1
|
|
336
338
|
}, 8, ["title"])
|
|
337
|
-
])) :
|
|
339
|
+
])) : g("", !0)]),
|
|
338
340
|
_: 3
|
|
339
341
|
}),
|
|
340
|
-
|
|
341
|
-
default:
|
|
342
|
-
loading:
|
|
343
|
-
disabled:
|
|
344
|
-
onClick:
|
|
342
|
+
b(ge, null, {
|
|
343
|
+
default: T(() => [b(pe), b(s, {
|
|
344
|
+
loading: x.saving,
|
|
345
|
+
disabled: x.loading,
|
|
346
|
+
onClick: E(Y, ["stop"])
|
|
345
347
|
}, {
|
|
346
|
-
default:
|
|
348
|
+
default: T(() => [y(C(w(R)("common.button.confirm")), 1)]),
|
|
347
349
|
_: 1
|
|
348
350
|
}, 8, ["loading", "disabled"])]),
|
|
349
351
|
_: 1
|
|
350
352
|
})
|
|
351
353
|
]),
|
|
352
354
|
_: 3
|
|
353
|
-
})) :
|
|
355
|
+
})) : g("", !0)]),
|
|
354
356
|
_: 3
|
|
355
357
|
}, 8, ["model-value", "fullscreen"]));
|
|
356
358
|
};
|
|
357
359
|
}
|
|
358
360
|
});
|
|
359
|
-
export {
|
|
361
|
+
export { F as default };
|
|
360
362
|
|
|
361
363
|
//# sourceMappingURL=ImageDetailDialogMetadata.vue_vue_type_script_setup_true_lang.js.map
|