officialblock 1.0.8 → 1.1.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/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +55 -23
- package/dist/official-block.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/icon-email.svg +3 -0
- package/src/components/ArticleList/setting.vue +316 -142
- package/src/components/BannerImageWithLink/index.ts +11 -0
- package/src/components/BannerImageWithLink/index.vue +323 -0
- package/src/components/BannerImageWithLink/setting.vue +344 -0
- package/src/components/BannerImageWithLink/type.ts +17 -0
- package/src/components/ContactUsList/index.ts +11 -0
- package/src/components/ContactUsList/index.vue +369 -0
- package/src/components/ContactUsList/setting.vue +497 -0
- package/src/components/ContactUsList/type.ts +17 -0
- package/src/components/CountDown/index.ts +11 -0
- package/src/components/CountDown/index.vue +315 -0
- package/src/components/CountDown/setting.vue +302 -0
- package/src/components/CountDown/type.ts +17 -0
- package/src/components/CustomIframe/index.ts +11 -0
- package/src/components/CustomIframe/index.vue +118 -0
- package/src/components/CustomIframe/setting.vue +323 -0
- package/src/components/CustomIframe/type.ts +17 -0
- package/src/components/Operate/index.vue +1 -2
- package/src/components/QuoteText/index.vue +4 -4
- package/src/components/ScrollKeyInfo/index.ts +11 -0
- package/src/components/ScrollKeyInfo/index.vue +1345 -0
- package/src/components/ScrollKeyInfo/setting.vue +302 -0
- package/src/components/ScrollKeyInfo/type.ts +17 -0
- package/src/components/TabDefault/components/ComponentSelector/compsData.js +143 -0
- package/src/components/TabDefault/components/ComponentSelector/index.vue +188 -0
- package/src/components/TabDefault/components/PageContent.vue +207 -0
- package/src/components/TabDefault/index.vue +475 -0
- package/src/components/TabDefault/setting.vue +581 -0
- package/src/components/TabDefault/type.ts +17 -0
- package/src/components/TableTwo/index.ts +11 -0
- package/src/components/TableTwo/index.vue +232 -0
- package/src/components/TableTwo/setting.vue +558 -0
- package/src/components/TableTwo/type.ts +17 -0
- package/src/components/index.ts +17 -0
- package/src/styles/component-isolation.scss +2 -1
- package/src/views/components/ArticleListDemo.vue +50 -49
|
@@ -21379,7 +21379,10 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21379
21379
|
isExternal: !1
|
|
21380
21380
|
});
|
|
21381
21381
|
}, g = (E, x) => {
|
|
21382
|
-
E.splice(
|
|
21382
|
+
E.splice(
|
|
21383
|
+
E.findIndex((A) => A.id === x),
|
|
21384
|
+
1
|
|
21385
|
+
);
|
|
21383
21386
|
}, v = (E) => {
|
|
21384
21387
|
E.push({
|
|
21385
21388
|
id: At(),
|
|
@@ -21388,21 +21391,30 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21388
21391
|
isExternal: !1
|
|
21389
21392
|
});
|
|
21390
21393
|
}, y = (E, x) => {
|
|
21391
|
-
E.splice(
|
|
21394
|
+
E.splice(
|
|
21395
|
+
E.findIndex((A) => A.id === x),
|
|
21396
|
+
1
|
|
21397
|
+
);
|
|
21392
21398
|
}, h = (E) => {
|
|
21393
21399
|
E.push({
|
|
21394
21400
|
id: At(),
|
|
21395
21401
|
text: "分类"
|
|
21396
21402
|
});
|
|
21397
21403
|
}, b = (E, x) => {
|
|
21398
|
-
E.splice(
|
|
21404
|
+
E.splice(
|
|
21405
|
+
E.findIndex((A) => A.id === x),
|
|
21406
|
+
1
|
|
21407
|
+
);
|
|
21399
21408
|
}, w = (E) => {
|
|
21400
21409
|
E.push({
|
|
21401
21410
|
id: At(),
|
|
21402
21411
|
src: ""
|
|
21403
21412
|
});
|
|
21404
21413
|
}, S = (E, x) => {
|
|
21405
|
-
E.splice(
|
|
21414
|
+
E.splice(
|
|
21415
|
+
E.findIndex((A) => A === x),
|
|
21416
|
+
1
|
|
21417
|
+
);
|
|
21406
21418
|
};
|
|
21407
21419
|
return (E, x) => {
|
|
21408
21420
|
const A = at("a-option"), F = at("a-select"), R = at("icon-plus"), V = at("a-button"), M = at("a-button-group"), X = at("icon-drag-arrow"), U = at("icon-delete"), W = at("a-input"), J = at("a-checkbox"), rt = at("a-link"), ht = at("a-upload"), gt = at("a-drawer");
|
|
@@ -21612,7 +21624,11 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21612
21624
|
}), {
|
|
21613
21625
|
item: z(({ element: D }) => [
|
|
21614
21626
|
(q(), tt("div", {
|
|
21615
|
-
class: Ze(["item-button draggable-item", {
|
|
21627
|
+
class: Ze(["item-button draggable-item", {
|
|
21628
|
+
"sortable-disabled": !s(
|
|
21629
|
+
$.buttonList
|
|
21630
|
+
)
|
|
21631
|
+
}]),
|
|
21616
21632
|
key: D.id
|
|
21617
21633
|
}, [
|
|
21618
21634
|
k("div", kbt, [
|
|
@@ -21682,7 +21698,11 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21682
21698
|
}), {
|
|
21683
21699
|
item: z(({ element: D }) => [
|
|
21684
21700
|
(q(), tt("div", {
|
|
21685
|
-
class: Ze(["item-button draggable-item", {
|
|
21701
|
+
class: Ze(["item-button draggable-item", {
|
|
21702
|
+
"sortable-disabled": !s(
|
|
21703
|
+
$.linkList
|
|
21704
|
+
)
|
|
21705
|
+
}]),
|
|
21686
21706
|
key: D.id
|
|
21687
21707
|
}, [
|
|
21688
21708
|
k("div", Tbt, [
|
|
@@ -21766,7 +21786,11 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21766
21786
|
}), {
|
|
21767
21787
|
item: z(({ element: D }) => [
|
|
21768
21788
|
(q(), tt("div", {
|
|
21769
|
-
class: Ze(["item-button draggable-item", {
|
|
21789
|
+
class: Ze(["item-button draggable-item", {
|
|
21790
|
+
"sortable-disabled": !s(
|
|
21791
|
+
$.categories
|
|
21792
|
+
)
|
|
21793
|
+
}]),
|
|
21770
21794
|
key: D.id
|
|
21771
21795
|
}, [
|
|
21772
21796
|
k("div", Ibt, [
|
|
@@ -21824,7 +21848,11 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21824
21848
|
}), {
|
|
21825
21849
|
item: z(({ element: D }) => [
|
|
21826
21850
|
(q(), tt("div", {
|
|
21827
|
-
class: Ze(["item-button draggable-item", {
|
|
21851
|
+
class: Ze(["item-button draggable-item", {
|
|
21852
|
+
"sortable-disabled": !s(
|
|
21853
|
+
$.linkList
|
|
21854
|
+
)
|
|
21855
|
+
}]),
|
|
21828
21856
|
key: D.id
|
|
21829
21857
|
}, [
|
|
21830
21858
|
k("div", Vbt, [
|
|
@@ -21940,7 +21968,11 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
21940
21968
|
}), {
|
|
21941
21969
|
item: z(({ element: D }) => [
|
|
21942
21970
|
(q(), tt("div", {
|
|
21943
|
-
class: Ze(["img-list-item flex draggable-item", {
|
|
21971
|
+
class: Ze(["img-list-item flex draggable-item", {
|
|
21972
|
+
"sortable-disabled": !s(
|
|
21973
|
+
$.imageList
|
|
21974
|
+
)
|
|
21975
|
+
}]),
|
|
21944
21976
|
key: D.id
|
|
21945
21977
|
}, [
|
|
21946
21978
|
k("div", qbt, [
|
|
@@ -22033,7 +22065,7 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
22033
22065
|
}, 8, ["visible"]);
|
|
22034
22066
|
};
|
|
22035
22067
|
}
|
|
22036
|
-
}), o2t = /* @__PURE__ */ Ee(r2t, [["__scopeId", "data-v-
|
|
22068
|
+
}), o2t = /* @__PURE__ */ Ee(r2t, [["__scopeId", "data-v-c3067679"]]), i2t = { class: "operate-page operate-component" }, a2t = { class: "operate-btn d-flex justify-end" }, u2t = /* @__PURE__ */ de({
|
|
22037
22069
|
__name: "index",
|
|
22038
22070
|
props: {
|
|
22039
22071
|
show: {
|
|
@@ -22081,7 +22113,7 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
22081
22113
|
]);
|
|
22082
22114
|
};
|
|
22083
22115
|
}
|
|
22084
|
-
}), Ii = /* @__PURE__ */ Ee(u2t, [["__scopeId", "data-v-
|
|
22116
|
+
}), Ii = /* @__PURE__ */ Ee(u2t, [["__scopeId", "data-v-7426c151"]]), s2t = { class: "article-list-left" }, l2t = { class: "article-list-right" }, c2t = /* @__PURE__ */ de({
|
|
22085
22117
|
name: "ArticleList",
|
|
22086
22118
|
__name: "index",
|
|
22087
22119
|
props: {
|
|
@@ -25189,45 +25221,45 @@ const ybt = { class: "rich-text-editor" }, bbt = /* @__PURE__ */ de({
|
|
|
25189
25221
|
r("handleCopy", n.modelValue);
|
|
25190
25222
|
};
|
|
25191
25223
|
return o(), (c, l) => {
|
|
25192
|
-
var f, d, p, m, g;
|
|
25224
|
+
var f, d, p, m, g, v, y, h, b;
|
|
25193
25225
|
return q(), tt(Rt, null, [
|
|
25194
25226
|
k("div", {
|
|
25195
25227
|
class: "quote-text",
|
|
25196
|
-
onMouseenter: l[2] || (l[2] = (
|
|
25197
|
-
onMouseleave: l[3] || (l[3] = (
|
|
25228
|
+
onMouseenter: l[2] || (l[2] = (w) => i.value = !0),
|
|
25229
|
+
onMouseleave: l[3] || (l[3] = (w) => i.value = !1)
|
|
25198
25230
|
}, [
|
|
25199
25231
|
k("div", {
|
|
25200
25232
|
class: "quote-text__container quote-text--normal container-content",
|
|
25201
|
-
style: Fi({ background: ((f = t.modelValue) == null ? void 0 : f.data.bgColor) || "transparent" })
|
|
25233
|
+
style: Fi({ background: ((d = (f = t.modelValue) == null ? void 0 : f.data) == null ? void 0 : d.bgColor) || "transparent" })
|
|
25202
25234
|
}, [
|
|
25203
|
-
(
|
|
25235
|
+
(m = (p = t.modelValue) == null ? void 0 : p.data) != null && m.hasLine ? (q(), tt("div", Z4t)) : Ct("", !0),
|
|
25204
25236
|
k("div", {
|
|
25205
25237
|
class: "quote-text__content",
|
|
25206
|
-
innerHTML: (
|
|
25238
|
+
innerHTML: (v = (g = t.modelValue) == null ? void 0 : g.data) == null ? void 0 : v.text
|
|
25207
25239
|
}, null, 8, J4t),
|
|
25208
25240
|
k("div", {
|
|
25209
25241
|
class: "quote-text__desc",
|
|
25210
|
-
innerHTML: (
|
|
25242
|
+
innerHTML: (h = (y = t.modelValue) == null ? void 0 : y.data) == null ? void 0 : h.desc
|
|
25211
25243
|
}, null, 8, Q4t)
|
|
25212
25244
|
], 4),
|
|
25213
|
-
(
|
|
25245
|
+
(b = t.modelValue) != null && b.readOnly ? Ct("", !0) : (q(), le(Ii, {
|
|
25214
25246
|
key: 0,
|
|
25215
25247
|
show: i.value,
|
|
25216
|
-
"onUpdate:show": l[0] || (l[0] = (
|
|
25217
|
-
onHandleEdit: l[1] || (l[1] = (
|
|
25248
|
+
"onUpdate:show": l[0] || (l[0] = (w) => i.value = w),
|
|
25249
|
+
onHandleEdit: l[1] || (l[1] = (w) => a.value = !0),
|
|
25218
25250
|
onHandleDelete: u,
|
|
25219
25251
|
onHandleCopy: s
|
|
25220
25252
|
}, null, 8, ["show"]))
|
|
25221
25253
|
], 32),
|
|
25222
25254
|
_(X4t, {
|
|
25223
25255
|
show: a.value,
|
|
25224
|
-
"onUpdate:show": l[4] || (l[4] = (
|
|
25256
|
+
"onUpdate:show": l[4] || (l[4] = (w) => a.value = w),
|
|
25225
25257
|
data: t.modelValue
|
|
25226
25258
|
}, null, 8, ["show", "data"])
|
|
25227
25259
|
], 64);
|
|
25228
25260
|
};
|
|
25229
25261
|
}
|
|
25230
|
-
}), D$ = /* @__PURE__ */ Ee(txt, [["__scopeId", "data-v-
|
|
25262
|
+
}), D$ = /* @__PURE__ */ Ee(txt, [["__scopeId", "data-v-dc7b77ed"]]), ixt = {
|
|
25231
25263
|
install: (t) => {
|
|
25232
25264
|
t.component("ArticleList", v$);
|
|
25233
25265
|
}
|