officialblock 1.0.8 → 1.0.9

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.
Files changed (41) hide show
  1. package/dist/official-block.cjs.js +1 -1
  2. package/dist/official-block.es.js +43 -11
  3. package/dist/official-block.umd.js +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +1 -1
  6. package/src/assets/icon-email.svg +3 -0
  7. package/src/components/ArticleList/setting.vue +316 -142
  8. package/src/components/BannerImageWithLink/index.ts +11 -0
  9. package/src/components/BannerImageWithLink/index.vue +323 -0
  10. package/src/components/BannerImageWithLink/setting.vue +344 -0
  11. package/src/components/BannerImageWithLink/type.ts +17 -0
  12. package/src/components/ContactUsList/index.ts +11 -0
  13. package/src/components/ContactUsList/index.vue +369 -0
  14. package/src/components/ContactUsList/setting.vue +497 -0
  15. package/src/components/ContactUsList/type.ts +17 -0
  16. package/src/components/CountDown/index.ts +11 -0
  17. package/src/components/CountDown/index.vue +315 -0
  18. package/src/components/CountDown/setting.vue +302 -0
  19. package/src/components/CountDown/type.ts +17 -0
  20. package/src/components/CustomIframe/index.ts +11 -0
  21. package/src/components/CustomIframe/index.vue +118 -0
  22. package/src/components/CustomIframe/setting.vue +323 -0
  23. package/src/components/CustomIframe/type.ts +17 -0
  24. package/src/components/Operate/index.vue +1 -2
  25. package/src/components/ScrollKeyInfo/index.ts +11 -0
  26. package/src/components/ScrollKeyInfo/index.vue +1345 -0
  27. package/src/components/ScrollKeyInfo/setting.vue +302 -0
  28. package/src/components/ScrollKeyInfo/type.ts +17 -0
  29. package/src/components/TabDefault/components/ComponentSelector/compsData.js +143 -0
  30. package/src/components/TabDefault/components/ComponentSelector/index.vue +188 -0
  31. package/src/components/TabDefault/components/PageContent.vue +207 -0
  32. package/src/components/TabDefault/index.vue +475 -0
  33. package/src/components/TabDefault/setting.vue +581 -0
  34. package/src/components/TabDefault/type.ts +17 -0
  35. package/src/components/TableTwo/index.ts +11 -0
  36. package/src/components/TableTwo/index.vue +232 -0
  37. package/src/components/TableTwo/setting.vue +558 -0
  38. package/src/components/TableTwo/type.ts +17 -0
  39. package/src/components/index.ts +17 -0
  40. package/src/styles/component-isolation.scss +2 -1
  41. 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(E.findIndex((A) => A.id === x), 1);
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(E.findIndex((A) => A.id === x), 1);
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(E.findIndex((A) => A.id === x), 1);
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(E.findIndex((A) => A === x), 1);
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", { "sortable-disabled": !s($.buttonList) }]),
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", { "sortable-disabled": !s($.linkList) }]),
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", { "sortable-disabled": !s($.categories) }]),
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", { "sortable-disabled": !s($.linkList) }]),
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", { "sortable-disabled": !s($.imageList) }]),
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-ab056873"]]), i2t = { class: "operate-page operate-component" }, a2t = { class: "operate-btn d-flex justify-end" }, u2t = /* @__PURE__ */ de({
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-56c55041"]]), s2t = { class: "article-list-left" }, l2t = { class: "article-list-right" }, c2t = /* @__PURE__ */ de({
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: {