@opentiny/tiny-engine-toolbar-lock 2.6.0-rc.0 → 2.6.0-rc.2
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/index.js +65 -133
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,53 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { constants as
|
|
4
|
-
import { ToolbarBase as
|
|
5
|
-
const
|
|
6
|
-
id: "engine.toolbars.lock",
|
|
7
|
-
title: "lock",
|
|
8
|
-
type: "toolbars",
|
|
9
|
-
options: {
|
|
10
|
-
icon: {
|
|
11
|
-
locked: "locked",
|
|
12
|
-
userLocked: "user-locked",
|
|
13
|
-
unlocked: "unlocked"
|
|
14
|
-
},
|
|
15
|
-
renderType: "icon"
|
|
16
|
-
}
|
|
17
|
-
}, y = M((e) => C(P.Http).get(`app-center/api/apps/canvas/lock?${e}`), {
|
|
18
|
-
metaData: {
|
|
19
|
-
id: "engine.toolbars.lock.http.requestBlockPage"
|
|
20
|
-
},
|
|
21
|
-
ctx: () => ({
|
|
22
|
-
getMetaApi: C,
|
|
23
|
-
META_SERVICE: P,
|
|
24
|
-
requestBlockPage: y
|
|
25
|
-
})
|
|
26
|
-
}), {
|
|
27
|
-
COMPONENT_NAME: x,
|
|
28
|
-
PAGE_STATUS: t
|
|
29
|
-
} = S, m = {
|
|
1
|
+
import { reactive as N, computed as m, resolveComponent as _, createBlock as b, createCommentVNode as S, openBlock as T } from "vue";
|
|
2
|
+
import { getMetaApi as x, META_SERVICE as C, useCanvas as M, useLayout as $, useBlock as A, useNotify as k } from "@opentiny/tiny-engine-meta-register";
|
|
3
|
+
import { constants as B } from "@opentiny/tiny-engine-utils";
|
|
4
|
+
import { ToolbarBase as h } from "@opentiny/tiny-engine-common";
|
|
5
|
+
const v = (e) => x(C.Http).get(`app-center/api/apps/canvas/lock?${e}`), { COMPONENT_NAME: E, PAGE_STATUS: t } = B, d = {
|
|
30
6
|
block: "区块",
|
|
31
7
|
page: "页面"
|
|
32
|
-
},
|
|
8
|
+
}, g = {
|
|
33
9
|
[t.Release]: {
|
|
34
|
-
message: (e) => `${
|
|
10
|
+
message: (e) => `${d[e]}解锁成功!`,
|
|
35
11
|
currentOptName: "解锁",
|
|
36
12
|
nextOptName: "锁定"
|
|
37
13
|
},
|
|
38
14
|
[t.Lock]: {
|
|
39
|
-
message: (e) => `${
|
|
15
|
+
message: (e) => `${d[e]}解锁成功!`,
|
|
40
16
|
currentOptName: "解锁",
|
|
41
17
|
nextOptName: "解锁"
|
|
42
18
|
},
|
|
43
19
|
[t.Occupy]: {
|
|
44
|
-
message: (e) => `${
|
|
20
|
+
message: (e) => `${d[e]}锁定成功`,
|
|
45
21
|
currentOptName: "锁定",
|
|
46
22
|
nextOptName: "解锁"
|
|
47
23
|
}
|
|
48
|
-
},
|
|
24
|
+
}, L = {
|
|
49
25
|
components: {
|
|
50
|
-
ToolbarBase:
|
|
26
|
+
ToolbarBase: h
|
|
51
27
|
},
|
|
52
28
|
props: {
|
|
53
29
|
options: {
|
|
@@ -56,19 +32,13 @@ const L = {
|
|
|
56
32
|
}
|
|
57
33
|
},
|
|
58
34
|
setup(e) {
|
|
59
|
-
const {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
layoutState: s
|
|
63
|
-
} = b(), {
|
|
64
|
-
getCurrentBlock: c
|
|
65
|
-
} = f(), o = $({
|
|
66
|
-
status: N(() => s.pageStatus.state),
|
|
67
|
-
isGuest: N(() => s.pageStatus.state === t.Guest),
|
|
35
|
+
const { pageState: a } = M(), { layoutState: o } = $(), { getCurrentBlock: c } = A(), s = N({
|
|
36
|
+
status: m(() => o.pageStatus.state),
|
|
37
|
+
isGuest: m(() => o.pageStatus.state === t.Guest),
|
|
68
38
|
type: "",
|
|
69
39
|
disabled: !1
|
|
70
|
-
}),
|
|
71
|
-
switch (
|
|
40
|
+
}), y = m(() => {
|
|
41
|
+
switch (s.status) {
|
|
72
42
|
case t.Occupy:
|
|
73
43
|
return e.options.icon.locked;
|
|
74
44
|
case t.Lock:
|
|
@@ -76,116 +46,78 @@ const L = {
|
|
|
76
46
|
default:
|
|
77
47
|
return e.options.icon.unlocked;
|
|
78
48
|
}
|
|
79
|
-
}),
|
|
80
|
-
|
|
81
|
-
var
|
|
49
|
+
}), p = (l, O, i) => {
|
|
50
|
+
v(`id=${l}&state=${i}&type=${O}`).then((n) => {
|
|
51
|
+
var f;
|
|
82
52
|
if ((n == null ? void 0 : n.operate) === "success")
|
|
83
|
-
|
|
53
|
+
k({
|
|
84
54
|
type: "success",
|
|
85
|
-
message:
|
|
86
|
-
}),
|
|
55
|
+
message: g[i].message(O)
|
|
56
|
+
}), o.pageStatus.state = i;
|
|
87
57
|
else {
|
|
88
|
-
const
|
|
89
|
-
|
|
58
|
+
const r = (f = o.pageStatus) == null ? void 0 : f.data;
|
|
59
|
+
k({
|
|
90
60
|
type: "warning",
|
|
91
|
-
message: `当前页面被 ${(
|
|
61
|
+
message: `当前页面被 ${(r == null ? void 0 : r.username) || ""} ${(r == null ? void 0 : r.resetPasswordToken) || ""} 锁定,请联系解锁`
|
|
92
62
|
});
|
|
93
63
|
}
|
|
94
64
|
}).catch((n) => {
|
|
95
|
-
|
|
65
|
+
k({
|
|
96
66
|
type: "error",
|
|
97
|
-
title: `页面${
|
|
67
|
+
title: `页面${g[i].currentOptName}失败`,
|
|
98
68
|
message: JSON.stringify((n == null ? void 0 : n.message) || n)
|
|
99
69
|
});
|
|
100
70
|
}).finally(() => {
|
|
101
|
-
|
|
71
|
+
s.disabled = !1;
|
|
102
72
|
});
|
|
103
|
-
}
|
|
104
|
-
metaData: {
|
|
105
|
-
id: "engine.toolbars.lock.Main.lockPage"
|
|
106
|
-
},
|
|
107
|
-
ctx: () => ({
|
|
108
|
-
props: e,
|
|
109
|
-
pageState: a,
|
|
110
|
-
layoutState: s,
|
|
111
|
-
getCurrentBlock: c,
|
|
112
|
-
state: o,
|
|
113
|
-
iconName: k,
|
|
114
|
-
lockPage: l,
|
|
115
|
-
lockOrUnlock: r,
|
|
116
|
-
useCanvas: O,
|
|
117
|
-
useLayout: b,
|
|
118
|
-
useBlock: f,
|
|
119
|
-
useNotify: p,
|
|
120
|
-
constants: S,
|
|
121
|
-
ToolbarBase: _,
|
|
122
|
-
requestBlockPage: y,
|
|
123
|
-
COMPONENT_NAME: x,
|
|
124
|
-
PAGE_STATUS: t,
|
|
125
|
-
componentType: m,
|
|
126
|
-
statusMessageMap: u
|
|
127
|
-
})
|
|
128
|
-
}), r = M(() => {
|
|
129
|
-
if (o.disabled)
|
|
130
|
-
return;
|
|
131
|
-
const d = o.status === t.Occupy || o.status === t.Lock ? t.Release : t.Occupy;
|
|
132
|
-
a.currentSchema = {}, a.properties = null, o.disabled = !0, a.pageSchema.componentName !== x.Block ? l(a.currentPage.id, "page", d) : l(c().id, "block", d);
|
|
133
|
-
}, {
|
|
134
|
-
metaData: {
|
|
135
|
-
id: "engine.toolbars.lock.Main.lockOrUnlock"
|
|
136
|
-
},
|
|
137
|
-
ctx: () => ({
|
|
138
|
-
props: e,
|
|
139
|
-
pageState: a,
|
|
140
|
-
layoutState: s,
|
|
141
|
-
getCurrentBlock: c,
|
|
142
|
-
state: o,
|
|
143
|
-
iconName: k,
|
|
144
|
-
lockPage: l,
|
|
145
|
-
lockOrUnlock: r,
|
|
146
|
-
useCanvas: O,
|
|
147
|
-
useLayout: b,
|
|
148
|
-
useBlock: f,
|
|
149
|
-
useNotify: p,
|
|
150
|
-
constants: S,
|
|
151
|
-
ToolbarBase: _,
|
|
152
|
-
requestBlockPage: y,
|
|
153
|
-
COMPONENT_NAME: x,
|
|
154
|
-
PAGE_STATUS: t,
|
|
155
|
-
componentType: m,
|
|
156
|
-
statusMessageMap: u
|
|
157
|
-
})
|
|
158
|
-
});
|
|
73
|
+
};
|
|
159
74
|
return {
|
|
160
|
-
state:
|
|
161
|
-
lockOrUnlock:
|
|
75
|
+
state: s,
|
|
76
|
+
lockOrUnlock: () => {
|
|
77
|
+
if (s.disabled)
|
|
78
|
+
return;
|
|
79
|
+
const l = s.status === t.Occupy || s.status === t.Lock ? t.Release : t.Occupy;
|
|
80
|
+
a.currentSchema = {}, a.properties = null, s.disabled = !0, a.pageSchema.componentName !== E.Block ? p(a.currentPage.id, "page", l) : p(c().id, "block", l);
|
|
81
|
+
},
|
|
162
82
|
PAGE_STATUS: t,
|
|
163
|
-
statusMessageMap:
|
|
164
|
-
iconName:
|
|
83
|
+
statusMessageMap: g,
|
|
84
|
+
iconName: y
|
|
165
85
|
};
|
|
166
86
|
}
|
|
167
|
-
},
|
|
168
|
-
const
|
|
169
|
-
for (const [c,
|
|
170
|
-
|
|
171
|
-
return
|
|
87
|
+
}, P = (e, a) => {
|
|
88
|
+
const o = e.__vccOpts || e;
|
|
89
|
+
for (const [c, s] of a)
|
|
90
|
+
o[c] = s;
|
|
91
|
+
return o;
|
|
172
92
|
};
|
|
173
|
-
function
|
|
174
|
-
var
|
|
175
|
-
const
|
|
176
|
-
return c.state.isGuest ?
|
|
93
|
+
function G(e, a, o, c, s, y) {
|
|
94
|
+
var u;
|
|
95
|
+
const p = _("toolbar-base");
|
|
96
|
+
return c.state.isGuest ? S("", !0) : (T(), b(p, {
|
|
177
97
|
key: 0,
|
|
178
98
|
icon: c.iconName,
|
|
179
|
-
content: (
|
|
180
|
-
options:
|
|
99
|
+
content: (u = c.statusMessageMap[c.state.status]) == null ? void 0 : u.nextOptName,
|
|
100
|
+
options: o.options,
|
|
181
101
|
onClickApi: c.lockOrUnlock
|
|
182
102
|
}, null, 8, ["icon", "content", "options", "onClickApi"]));
|
|
183
103
|
}
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
|
|
104
|
+
const U = /* @__PURE__ */ P(L, [["render", G]]), R = {
|
|
105
|
+
id: "engine.toolbars.lock",
|
|
106
|
+
title: "lock",
|
|
107
|
+
type: "toolbars",
|
|
108
|
+
options: {
|
|
109
|
+
icon: {
|
|
110
|
+
locked: "locked",
|
|
111
|
+
userLocked: "user-locked",
|
|
112
|
+
unlocked: "unlocked"
|
|
113
|
+
},
|
|
114
|
+
renderType: "icon"
|
|
115
|
+
}
|
|
116
|
+
}, H = {
|
|
117
|
+
...R,
|
|
118
|
+
entry: U
|
|
187
119
|
};
|
|
188
120
|
export {
|
|
189
|
-
|
|
121
|
+
H as default
|
|
190
122
|
};
|
|
191
123
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../meta.js","../index.ts"],"sourcesContent":["export default {\n id: 'engine.toolbars.lock',\n title: 'lock',\n type: 'toolbars',\n options: {\n icon: {\n locked: 'locked',\n userLocked: 'user-locked',\n unlocked: 'unlocked'\n },\n renderType: 'icon'\n }\n}\n","/**\n * Copyright (c) 2023 - present TinyEngine Authors.\n * Copyright (c) 2023 - present Huawei Cloud Computing Technologies Co., Ltd.\n *\n * Use of this source code is governed by an MIT-style license.\n *\n * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,\n * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR\n * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.\n *\n */\n\nimport entry from './src/Main.vue'\nimport metaData from './meta'\n\nexport default {\n ...metaData,\n entry\n}\n"],"names":["metaData","index","entry"],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/http.ts","../src/Main.vue","../meta.js","../index.ts"],"sourcesContent":["/**\n * Copyright (c) 2023 - present TinyEngine Authors.\n * Copyright (c) 2023 - present Huawei Cloud Computing Technologies Co., Ltd.\n *\n * Use of this source code is governed by an MIT-style license.\n *\n * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,\n * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR\n * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.\n *\n */\n\nimport { getMetaApi, META_SERVICE } from '@opentiny/tiny-engine-meta-register'\n\n// 锁定页面\nexport const requestBlockPage = (params: string) =>\n getMetaApi(META_SERVICE.Http).get(`app-center/api/apps/canvas/lock?${params}`)\n","<template>\n <toolbar-base\n v-if=\"!state.isGuest\"\n :icon=\"iconName\"\n :content=\"statusMessageMap[state.status]?.nextOptName\"\n :options=\"options\"\n @click-api=\"lockOrUnlock\"\n >\n </toolbar-base>\n</template>\n\n<script lang=\"ts\">\nimport { computed, reactive } from 'vue'\nimport { useCanvas, useLayout, useBlock, useNotify } from '@opentiny/tiny-engine-meta-register'\nimport { constants } from '@opentiny/tiny-engine-utils'\nimport { ToolbarBase } from '@opentiny/tiny-engine-common'\nimport { requestBlockPage } from './http'\n\nconst { COMPONENT_NAME, PAGE_STATUS } = constants\n\nconst componentType: Record<string, any> = {\n block: '区块',\n page: '页面'\n}\n\nconst statusMessageMap = {\n [PAGE_STATUS.Release]: {\n message: (type: string) => `${componentType[type]}解锁成功!`,\n currentOptName: '解锁',\n nextOptName: '锁定'\n },\n [PAGE_STATUS.Lock]: {\n message: (type: string) => `${componentType[type]}解锁成功!`,\n currentOptName: '解锁',\n nextOptName: '解锁'\n },\n [PAGE_STATUS.Occupy]: {\n message: (type: string) => `${componentType[type]}锁定成功`,\n currentOptName: '锁定',\n nextOptName: '解锁'\n }\n}\n\nexport default {\n components: {\n ToolbarBase\n },\n props: {\n options: {\n type: Object,\n default: () => ({})\n }\n },\n setup(props) {\n const { pageState } = useCanvas()\n const { layoutState } = useLayout()\n const { getCurrentBlock } = useBlock()\n\n const state = reactive({\n status: computed(() => layoutState.pageStatus.state),\n isGuest: computed(() => layoutState.pageStatus.state === PAGE_STATUS.Guest),\n type: '',\n disabled: false\n })\n\n const iconName = computed(() => {\n switch (state.status) {\n case PAGE_STATUS.Occupy:\n return props.options.icon.locked\n case PAGE_STATUS.Lock:\n return props.options.icon.userLocked\n default:\n return props.options.icon.unlocked\n }\n })\n\n const lockPage = (id: any, type: string, newState: string) => {\n requestBlockPage(`id=${id}&state=${newState}&type=${type}`)\n .then((data: { operate: string }) => {\n if (data?.operate === 'success') {\n useNotify({\n type: 'success',\n message: statusMessageMap[newState].message(type)\n })\n layoutState.pageStatus.state = newState\n } else {\n const pageInfo = layoutState.pageStatus?.data\n useNotify({\n type: 'warning',\n message: `当前页面被 ${pageInfo?.username || ''} ${pageInfo?.resetPasswordToken || ''} 锁定,请联系解锁`\n })\n }\n })\n .catch((error: { message: any }) => {\n useNotify({\n type: 'error',\n title: `页面${statusMessageMap[newState].currentOptName}失败`,\n message: JSON.stringify(error?.message || error)\n })\n })\n .finally(() => {\n state.disabled = false\n })\n }\n\n const lockOrUnlock = () => {\n if (state.disabled) {\n return\n }\n\n const optType =\n state.status === PAGE_STATUS.Occupy || state.status === PAGE_STATUS.Lock\n ? PAGE_STATUS.Release\n : PAGE_STATUS.Occupy\n\n pageState.currentSchema = {}\n pageState.properties = null\n\n state.disabled = true\n\n if (pageState.pageSchema.componentName !== COMPONENT_NAME.Block) {\n lockPage(pageState.currentPage.id, 'page', optType)\n } else {\n lockPage(getCurrentBlock().id, 'block', optType)\n }\n }\n\n return {\n state,\n lockOrUnlock,\n PAGE_STATUS,\n statusMessageMap,\n iconName\n }\n }\n}\n</script>\n","export default {\n id: 'engine.toolbars.lock',\n title: 'lock',\n type: 'toolbars',\n options: {\n icon: {\n locked: 'locked',\n userLocked: 'user-locked',\n unlocked: 'unlocked'\n },\n renderType: 'icon'\n }\n}\n","/**\n * Copyright (c) 2023 - present TinyEngine Authors.\n * Copyright (c) 2023 - present Huawei Cloud Computing Technologies Co., Ltd.\n *\n * Use of this source code is governed by an MIT-style license.\n *\n * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,\n * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR\n * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.\n *\n */\n\nimport entry from './src/Main.vue'\nimport metaData from './meta'\n\nexport default {\n ...metaData,\n entry\n}\n"],"names":["requestBlockPage","params","getMetaApi","META_SERVICE","COMPONENT_NAME","PAGE_STATUS","constants","componentType","statusMessageMap","type","_sfc_main","ToolbarBase","props","pageState","useCanvas","layoutState","useLayout","getCurrentBlock","useBlock","state","reactive","computed","iconName","lockPage","id","newState","data","useNotify","pageInfo","_a","error","optType","$setup","_createCommentVNode","_createBlock","_component_toolbar_base","$props","metaData","index","entry"],"mappings":";;;;AAeO,MAAMA,IAAmB,CAACC,MAC/BC,EAAWC,EAAa,IAAI,EAAE,IAAI,mCAAmCF,CAAM,EAAE,GCEzE,EAAE,gBAAAG,GAAgB,aAAAC,EAAA,IAAgBC,GAElCC,IAAqC;AAAA,EACzC,OAAO;AAAA,EACP,MAAM;AACR,GAEMC,IAAmB;AAAA,EACvB,CAACH,EAAY,OAAO,GAAG;AAAA,IACrB,SAAS,CAACI,MAAiB,GAAGF,EAAcE,CAAI,CAAC;AAAA,IACjD,gBAAgB;AAAA,IAChB,aAAa;AAAA,EAAA;AAAA,EAEf,CAACJ,EAAY,IAAI,GAAG;AAAA,IAClB,SAAS,CAACI,MAAiB,GAAGF,EAAcE,CAAI,CAAC;AAAA,IACjD,gBAAgB;AAAA,IAChB,aAAa;AAAA,EAAA;AAAA,EAEf,CAACJ,EAAY,MAAM,GAAG;AAAA,IACpB,SAAS,CAACI,MAAiB,GAAGF,EAAcE,CAAI,CAAC;AAAA,IACjD,gBAAgB;AAAA,IAChB,aAAa;AAAA,EAAA;AAEjB,GAEAC,IAAe;AAAA,EACb,YAAY;AAAA,IACV,aAAAC;AAAA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,MACR,YAAY;AAAA,MACZ,UAAU;AAAA,IAChB;AAAA,IACI,YAAY;AAAA,EAChB;AACA,GCGAC,IAAe;AAAA,EACb,GAAGD;AAAA,EACH,OAAAE;AACF;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-toolbar-lock",
|
|
3
|
-
"version": "2.6.0-rc.
|
|
3
|
+
"version": "2.6.0-rc.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.6.0-rc.
|
|
29
|
-
"@opentiny/tiny-engine-meta-register": "2.6.0-rc.
|
|
30
|
-
"@opentiny/tiny-engine-utils": "2.6.0-rc.
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.6.0-rc.2",
|
|
29
|
+
"@opentiny/tiny-engine-meta-register": "2.6.0-rc.2",
|
|
30
|
+
"@opentiny/tiny-engine-utils": "2.6.0-rc.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.6.0-rc.
|
|
33
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.6.0-rc.2",
|
|
34
34
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
35
35
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
36
36
|
"vite": "^5.4.2"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@opentiny/vue": "^3.20.0",
|
|
40
40
|
"vue": "^3.4.15"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "c3207eb2df1823d8e03629696d857c9ac2064242"
|
|
43
43
|
}
|