@cmstops/pro-compo 0.1.66 → 0.1.68
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/es/contentDetailList/components/Records/MatrixItem/index.js +2 -2
- package/es/resourceModal/component.js +1 -1
- package/es/resourceModal/components/MediaSelection/index.js +1 -1
- package/es/resourceModal/script/mediaSelection.d.ts +1 -1
- package/es/resourceModal/script/mediaSelection.js +1 -0
- package/lib/contentDetailList/components/Records/MatrixItem/index.js +2 -2
- package/lib/resourceModal/component.js +1 -1
- package/lib/resourceModal/components/MediaSelection/index.js +1 -1
- package/lib/resourceModal/script/mediaSelection.js +1 -0
- package/package.json +1 -1
|
@@ -106,7 +106,7 @@ const _sfc_main = defineComponent({
|
|
|
106
106
|
], 64)) : (openBlock(), createElementBlock("span", _hoisted_10, "--"))
|
|
107
107
|
]),
|
|
108
108
|
createElementVNode("span", {
|
|
109
|
-
class: normalizeClass(["abttr tags state", [`p-state-${
|
|
109
|
+
class: normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]])
|
|
110
110
|
}, toDisplayString(unref(matrixPublishStateMap)[_ctx.item.publishState]), 3),
|
|
111
111
|
createElementVNode("span", _hoisted_11, toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
|
|
112
112
|
createElementVNode("span", _hoisted_12, [
|
|
@@ -114,7 +114,7 @@ const _sfc_main = defineComponent({
|
|
|
114
114
|
createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.publishTime)), 1)
|
|
115
115
|
]),
|
|
116
116
|
createElementVNode("span", {
|
|
117
|
-
class: normalizeClass(["abttr tags state", [`m-state-${
|
|
117
|
+
class: normalizeClass(["abttr tags state", [`m-state-${_ctx.item.platformState}`]])
|
|
118
118
|
}, toDisplayString(unref(matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
|
|
119
119
|
createElementVNode("span", _hoisted_13, [
|
|
120
120
|
createVNode(unref(IconSend)),
|
|
@@ -19,7 +19,7 @@ const _sfc_main = defineComponent({
|
|
|
19
19
|
setup(__props, { emit: __emit }) {
|
|
20
20
|
const props = __props;
|
|
21
21
|
const BASE_API_R = props.BASE_API || DEFAULT_BASE_API;
|
|
22
|
-
const injectMediaUseType = inject("mediaUseType",
|
|
22
|
+
const injectMediaUseType = inject("mediaUseType", 0);
|
|
23
23
|
if (!injectMediaUseType && props.mediaUseType) {
|
|
24
24
|
provide("mediaUseType", props.mediaUseType || mediaUseEnum.THUMB);
|
|
25
25
|
}
|
|
@@ -32,7 +32,7 @@ const _sfc_main = defineComponent({
|
|
|
32
32
|
setup(__props, { emit: __emit }) {
|
|
33
33
|
const props = __props;
|
|
34
34
|
const emit = __emit;
|
|
35
|
-
const mediaUseType = inject("mediaUseType",
|
|
35
|
+
const mediaUseType = inject("mediaUseType", 0);
|
|
36
36
|
const baseApi = inject("baseAPI");
|
|
37
37
|
const aigcGenUrl = `${baseApi}/aigcm/#/inlay/aigc-image-created?scene=selectThumb`;
|
|
38
38
|
const confirm = (itemData) => {
|
|
@@ -8,7 +8,7 @@ export declare type FilesQueryParamType = {
|
|
|
8
8
|
offset: number;
|
|
9
9
|
catalog: string;
|
|
10
10
|
};
|
|
11
|
-
export declare type MediaUseType = 1 | 2 | 3 | 4 | 5 | 6;
|
|
11
|
+
export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
12
|
export declare const mediaUseEnum: {
|
|
13
13
|
[key: string]: MediaUseType;
|
|
14
14
|
};
|
|
@@ -107,7 +107,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
107
107
|
], 64)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, "--"))
|
|
108
108
|
]),
|
|
109
109
|
vue.createElementVNode("span", {
|
|
110
|
-
class: vue.normalizeClass(["abttr tags state", [`p-state-${
|
|
110
|
+
class: vue.normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]])
|
|
111
111
|
}, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 3),
|
|
112
112
|
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
|
|
113
113
|
vue.createElementVNode("span", _hoisted_12, [
|
|
@@ -115,7 +115,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
115
115
|
vue.createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.publishTime)), 1)
|
|
116
116
|
]),
|
|
117
117
|
vue.createElementVNode("span", {
|
|
118
|
-
class: vue.normalizeClass(["abttr tags state", [`m-state-${
|
|
118
|
+
class: vue.normalizeClass(["abttr tags state", [`m-state-${_ctx.item.platformState}`]])
|
|
119
119
|
}, vue.toDisplayString(vue.unref(typeMap.matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
|
|
120
120
|
vue.createElementVNode("span", _hoisted_13, [
|
|
121
121
|
vue.createVNode(vue.unref(icon.IconSend)),
|
|
@@ -20,7 +20,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
20
20
|
setup(__props, { emit: __emit }) {
|
|
21
21
|
const props = __props;
|
|
22
22
|
const BASE_API_R = props.BASE_API || config.DEFAULT_BASE_API;
|
|
23
|
-
const injectMediaUseType = vue.inject("mediaUseType",
|
|
23
|
+
const injectMediaUseType = vue.inject("mediaUseType", 0);
|
|
24
24
|
if (!injectMediaUseType && props.mediaUseType) {
|
|
25
25
|
vue.provide("mediaUseType", props.mediaUseType || mediaSelection.mediaUseEnum.THUMB);
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
33
33
|
setup(__props, { emit: __emit }) {
|
|
34
34
|
const props = __props;
|
|
35
35
|
const emit = __emit;
|
|
36
|
-
const mediaUseType = vue.inject("mediaUseType",
|
|
36
|
+
const mediaUseType = vue.inject("mediaUseType", 0);
|
|
37
37
|
const baseApi = vue.inject("baseAPI");
|
|
38
38
|
const aigcGenUrl = `${baseApi}/aigcm/#/inlay/aigc-image-created?scene=selectThumb`;
|
|
39
39
|
const confirm = (itemData) => {
|