@opendesign-plus/components 0.0.1-rc.83 → 0.0.1-rc.84

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 (131) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +81 -55
  3. package/dist/components/activity/OActivityApproval.vue.d.ts +169 -19
  4. package/dist/components/activity/OActivityForm.vue.d.ts +169 -19
  5. package/dist/components/activity/OActivityMyCalendar.vue.d.ts +18 -10
  6. package/dist/components/activity/index.d.ts +347 -43
  7. package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
  8. package/dist/components/header-language-switcher/index.d.ts +3 -3
  9. package/dist/components/header-search/OHeaderSearch.vue.d.ts +43 -35
  10. package/dist/components/header-search/index.d.ts +24 -20
  11. package/dist/components/markdown/OMarkdown.vue.d.ts +49 -0
  12. package/dist/components/markdown/OMarkdownPagination.vue.d.ts +25 -0
  13. package/dist/components/markdown/components/MarkdownCode.vue.d.ts +8 -0
  14. package/dist/components/markdown/components/MarkdownImage.vue.d.ts +8 -0
  15. package/dist/components/markdown/components/MarkdownPageTitle.vue.d.ts +23 -0
  16. package/dist/components/markdown/components/MarkdownTable.vue.d.ts +5 -0
  17. package/dist/components/markdown/components/MarkdownTableData.vue.d.ts +11 -0
  18. package/dist/components/markdown/components/MarkdownTableExpand.vue.d.ts +12 -0
  19. package/dist/components/markdown/components/MarkdownTitle.vue.d.ts +6 -0
  20. package/dist/components/markdown/replacer/code.d.ts +2 -0
  21. package/dist/components/markdown/replacer/h1.d.ts +11 -0
  22. package/dist/components/markdown/replacer/h2.d.ts +2 -0
  23. package/dist/components/markdown/replacer/img.d.ts +2 -0
  24. package/dist/components/markdown/replacer/table.d.ts +2 -0
  25. package/dist/components/meeting/OMeetingForm.vue.d.ts +169 -19
  26. package/dist/components/meeting/OMeetingMinutes.vue.d.ts +18 -10
  27. package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +18 -10
  28. package/dist/components/meeting/OMeetingSendMinutesForm.vue.d.ts +169 -19
  29. package/dist/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +169 -19
  30. package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +9 -5
  31. package/dist/components/meeting/index.d.ts +356 -48
  32. package/dist/components/search/OSearchInput.vue.d.ts +43 -35
  33. package/dist/components/search/index.d.ts +24 -20
  34. package/dist/components/search/internal/SearchImageInput.vue.d.ts +37 -29
  35. package/dist/components/sig/OSigDetail.vue.d.ts +1 -0
  36. package/dist/components/sig/components/OSigRepo.vue.d.ts +1 -0
  37. package/dist/components.cjs.js +45 -45
  38. package/dist/components.css +1 -1
  39. package/dist/components.es.js +13939 -12909
  40. package/dist/index.d.ts +1 -0
  41. package/dist/treeshaking/_virtual/icon-copy2.mjs +20 -0
  42. package/dist/treeshaking/_virtual/icon-download.mjs +17 -0
  43. package/dist/treeshaking/_virtual/icon-expand.mjs +21 -0
  44. package/dist/treeshaking/_virtual/icon-link.mjs +31 -0
  45. package/dist/treeshaking/_virtual/icon-more.mjs +19 -0
  46. package/dist/treeshaking/_virtual/icon-next.mjs +23 -0
  47. package/dist/treeshaking/_virtual/icon-star.mjs +20 -0
  48. package/dist/treeshaking/_virtual/icon-unexpand.mjs +22 -0
  49. package/dist/treeshaking/assets/markdown/md-title-bg.png.mjs +4 -0
  50. package/dist/treeshaking/assets/svg-icons/icon-zoom.svg.mjs +4 -0
  51. package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +169 -19
  52. package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +169 -19
  53. package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +18 -10
  54. package/dist/treeshaking/components/activity/index.d.ts +347 -43
  55. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +5 -5
  56. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
  57. package/dist/treeshaking/components/header-language-switcher/index.d.ts +3 -3
  58. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +43 -35
  59. package/dist/treeshaking/components/header-search/index.d.ts +24 -20
  60. package/dist/treeshaking/components/markdown/OMarkdown.css +1153 -0
  61. package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +49 -0
  62. package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +8 -0
  63. package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +158 -0
  64. package/dist/treeshaking/components/markdown/OMarkdown2.css +14 -0
  65. package/dist/treeshaking/components/markdown/OMarkdownPagination.css +218 -0
  66. package/dist/treeshaking/components/markdown/OMarkdownPagination.vue.d.ts +25 -0
  67. package/dist/treeshaking/components/markdown/OMarkdownPagination.vue.mjs +7 -0
  68. package/dist/treeshaking/components/markdown/OMarkdownPagination.vue2.mjs +101 -0
  69. package/dist/treeshaking/components/markdown/components/MarkdownCode.css +12 -0
  70. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.d.ts +8 -0
  71. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.mjs +8 -0
  72. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue2.mjs +125 -0
  73. package/dist/treeshaking/components/markdown/components/MarkdownCode2.css +130 -0
  74. package/dist/treeshaking/components/markdown/components/MarkdownImage.css +73 -0
  75. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.d.ts +8 -0
  76. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.mjs +7 -0
  77. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue2.mjs +76 -0
  78. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +288 -0
  79. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.d.ts +23 -0
  80. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +7 -0
  81. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue2.mjs +253 -0
  82. package/dist/treeshaking/components/markdown/components/MarkdownTable.css +61 -0
  83. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.d.ts +5 -0
  84. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.mjs +7 -0
  85. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue2.mjs +59 -0
  86. package/dist/treeshaking/components/markdown/components/MarkdownTableData.css +111 -0
  87. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.d.ts +11 -0
  88. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.mjs +7 -0
  89. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue2.mjs +181 -0
  90. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.css +66 -0
  91. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.d.ts +12 -0
  92. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.mjs +7 -0
  93. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue2.mjs +57 -0
  94. package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +173 -0
  95. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.d.ts +6 -0
  96. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +7 -0
  97. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +69 -0
  98. package/dist/treeshaking/components/markdown/index.mjs +16 -0
  99. package/dist/treeshaking/components/markdown/replacer/code.d.ts +2 -0
  100. package/dist/treeshaking/components/markdown/replacer/code.mjs +22 -0
  101. package/dist/treeshaking/components/markdown/replacer/h1.d.ts +11 -0
  102. package/dist/treeshaking/components/markdown/replacer/h1.mjs +29 -0
  103. package/dist/treeshaking/components/markdown/replacer/h2.d.ts +2 -0
  104. package/dist/treeshaking/components/markdown/replacer/h2.mjs +22 -0
  105. package/dist/treeshaking/components/markdown/replacer/img.d.ts +2 -0
  106. package/dist/treeshaking/components/markdown/replacer/img.mjs +22 -0
  107. package/dist/treeshaking/components/markdown/replacer/table.d.ts +2 -0
  108. package/dist/treeshaking/components/markdown/replacer/table.mjs +22 -0
  109. package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +169 -19
  110. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +18 -10
  111. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +18 -10
  112. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.d.ts +169 -19
  113. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +169 -19
  114. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +9 -5
  115. package/dist/treeshaking/components/meeting/index.d.ts +356 -48
  116. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +43 -35
  117. package/dist/treeshaking/components/search/index.d.ts +24 -20
  118. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +37 -29
  119. package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +1 -0
  120. package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +7 -4
  121. package/dist/treeshaking/components/sig/components/OSigRepo.css +3 -0
  122. package/dist/treeshaking/components/sig/components/OSigRepo.vue.d.ts +1 -0
  123. package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +6 -2
  124. package/dist/treeshaking/components/sig/components/OSigUserContribute.css +3 -0
  125. package/dist/treeshaking/i18n/en.mjs +13 -0
  126. package/dist/treeshaking/i18n/index.mjs +1 -1
  127. package/dist/treeshaking/i18n/zh.mjs +13 -0
  128. package/dist/treeshaking/index.d.ts +1 -0
  129. package/dist/treeshaking/index.mjs +3 -0
  130. package/dist/treeshaking/shared/theme.mjs +15 -3
  131. package/package.json +3 -3
@@ -1,9 +1,18 @@
1
- import { getCurrentInstance as Q, inject as X, computed as G, ref as D, defineComponent as W, onMounted as $, renderSlot as q, createCommentVNode as L, watch as ee, openBlock as u, createBlock as V, withCtx as a, Teleport as te, unref as e, createElementBlock as f, createElementVNode as t, normalizeClass as z, Fragment as x, createVNode as g, createTextVNode as p, toDisplayString as s, nextTick as ie } from "vue";
1
+ import { getCurrentInstance as Q, inject as X, computed as G, ref as D, defineComponent as W, onMounted as $, renderSlot as q, createCommentVNode as L, watch as ee, openBlock as u, createBlock as V, withCtx as a, Teleport as te, unref as e, createElementBlock as f, createElementVNode as t, normalizeClass as z, Fragment as x, createVNode as g, createTextVNode as p, toDisplayString as o, nextTick as ie } from "vue";
2
2
  import { useScreen as ne } from "@opendesign-plus/composables";
3
- import { isUndefined as se, isString as oe } from "@opensig/opendesign";
3
+ import { isUndefined as oe, isString as se } from "@opensig/opendesign";
4
4
  import { ElIcon as H, ElButton as A, ElDialog as ae, ElSwitch as me, ElDivider as ge } from "element-plus";
5
5
  import { useVModel as re } from "@vueuse/core";
6
6
  const ce = {
7
+ "md.lightTheme": "浅色代码主题",
8
+ "md.darkTheme": "深色代码主题",
9
+ "md.gitSource": "获取AtomGit源文件",
10
+ "md.downloadDoc": "下载文档",
11
+ "md.starDoc": "收藏文档",
12
+ "md.moreActions": "更多操作",
13
+ "md.updateTime": "更新时间:",
14
+ "md.prevPage": "上一篇",
15
+ "md.nextPage": "下一篇",
7
16
  search: "搜索",
8
17
  "search.hot": "热门搜索",
9
18
  "search.placeholder": "搜索",
@@ -163,6 +172,8 @@ const ce = {
163
172
  "meeting.etherpad": "会议纪要",
164
173
  "common.confirm": "确认",
165
174
  "common.cancel": "取消",
175
+ "common.copyLink": "复制链接",
176
+ "common.copy": "复制",
166
177
  "common.copySuccess": "复制成功",
167
178
  "common.close": "关闭",
168
179
  "common.all": "全部",
@@ -368,6 +379,8 @@ const ce = {
368
379
  "sig.filterResultTip4": "为您找到符合条件的筛选 ",
369
380
  "sig.filterResultTip5": " 个",
370
381
  "sig.giteeMore": "在AtomGit上查看更多内容",
382
+ "sig.startDate": "开始日期",
383
+ "sig.endDate": "结束日期",
371
384
  "common.empty": "暂无数据",
372
385
  "common.search": "搜索",
373
386
  "common.confirm2": "确定",
@@ -433,6 +446,15 @@ const ce = {
433
446
  "brand.download": "下载",
434
447
  "brand.downloadFail": "下载失败,请稍后重试"
435
448
  }, le = {
449
+ "md.lightTheme": "Light Code Theme",
450
+ "md.darkTheme": "Dark Code Theme",
451
+ "md.gitSource": "Get Source Code",
452
+ "md.downloadDoc": "Download",
453
+ "md.starDoc": "Collect",
454
+ "md.moreActions": "More Actions",
455
+ "md.updateTime": "Last Updated: ",
456
+ "md.prevPage": "Previous",
457
+ "md.nextPage": "Next",
436
458
  search: "Search",
437
459
  "search.hot": "Top search",
438
460
  "search.placeholder": "Please enter the content",
@@ -593,6 +615,8 @@ const ce = {
593
615
  "meeting.etherpad": "Meeting Minutes",
594
616
  "common.confirm": "Confirm",
595
617
  "common.cancel": "Cancel",
618
+ "common.copyLink": "Copy Link",
619
+ "common.copy": "Copy",
596
620
  "common.copySuccess": "Copied Successfully",
597
621
  "common.close": "Close",
598
622
  "common.all": "All",
@@ -795,6 +819,8 @@ const ce = {
795
819
  "sig.filterResultTip4": "",
796
820
  "sig.filterResultTip5": " records found",
797
821
  "sig.giteeMore": "View More on AtomGit",
822
+ "sig.startDate": "Start date",
823
+ "sig.endDate": "End date",
798
824
  "common.empty": "No data",
799
825
  "common.search": "Search",
800
826
  "common.filter": "Filter",
@@ -862,40 +888,40 @@ const ce = {
862
888
  zh: ce,
863
889
  en: le
864
890
  });
865
- var pe = /* @__PURE__ */ ((o) => (o.ZH = "zh", o.EN = "en", o))(pe || {});
891
+ var pe = /* @__PURE__ */ ((s) => (s.ZH = "zh", s.EN = "en", s))(pe || {});
866
892
  function ve() {
867
- const r = Q() ? X(de) : null, v = G(() => (r == null ? void 0 : r.locale) || "zh");
893
+ const r = Q() ? X(de) : null, v = G(() => (r == null ? void 0 : r.locale.value) || "zh");
868
894
  return {
869
895
  locale: v,
870
896
  t: (S, ...c) => {
871
897
  const i = ue.value[v.value === "zh" ? "zh" : "en"][S];
872
- if (se(i))
898
+ if (oe(i))
873
899
  return console.warn(`Cannot translate the value of keypath '${S}'`), S;
874
- if (c.length > 0 && oe(i)) {
900
+ if (c.length > 0 && se(i)) {
875
901
  if (c.length === 1 && typeof c[0] == "object" && c[0] !== null) {
876
902
  const l = c[0];
877
- return i.replace(/{(\w+)}/g, (k, E) => l[E] ?? k);
903
+ return i.replace(/{(\w+)}/g, (T, C) => l[C] ?? T);
878
904
  }
879
- return i.replace(/{(\d+)}/g, (l, k) => c[k] ?? l);
905
+ return i.replace(/{(\d+)}/g, (l, T) => c[T] ?? l);
880
906
  }
881
907
  return i;
882
908
  }
883
909
  };
884
910
  }
885
- const ye = (o, r) => {
886
- const v = o.__vccOpts || o;
911
+ const ye = (s, r) => {
912
+ const v = s.__vccOpts || s;
887
913
  for (const [y, S] of r)
888
914
  v[y] = S;
889
915
  return v;
890
916
  }, he = /* @__PURE__ */ W({
891
917
  __name: "ClientOnly",
892
- setup(o) {
918
+ setup(s) {
893
919
  const r = D(!1);
894
920
  return $(() => {
895
921
  r.value = !0;
896
922
  }), (v, y) => r.value ? q(v.$slots, "default", { key: 0 }) : L("", !0);
897
923
  }
898
- }), fe = { class: "cookie-notice-content" }, Se = ["type"], ke = { class: "cookie-title" }, Te = {
924
+ }), fe = { class: "cookie-notice-content" }, Se = ["type"], Te = { class: "cookie-title" }, ke = {
899
925
  style: { width: "1em", height: "1em" },
900
926
  xmlns: "http://www.w3.org/2000/svg",
901
927
  version: "1.1",
@@ -911,7 +937,7 @@ const ye = (o, r) => {
911
937
  }, we = {
912
938
  key: 0,
913
939
  class: "cookie-en-content"
914
- }, Ee = { class: "cookie-en-desc" }, Ce = ["href"], De = { class: "cookie-notice-right" }, Ie = { class: "dlg-title" }, Re = { class: "cookie-dlg-content" }, Ge = { class: "content-item" }, Le = { class: "item-header" }, Ne = { class: "item-title" }, _e = { class: "item-extra" }, Pe = { class: "item-detail" }, xe = { class: "content-item" }, Ue = { class: "item-header" }, Oe = { class: "item-title" }, Be = { class: "item-extra" }, je = { class: "item-detail" }, Fe = "0", Y = "1", Ve = "2", R = "3", ze = "agreed-cookiepolicy-zh", He = "agreed-cookiepolicy-en", Ye = /* @__PURE__ */ W({
940
+ }, Ce = { class: "cookie-en-desc" }, Ee = ["href"], De = { class: "cookie-notice-right" }, Ie = { class: "dlg-title" }, Re = { class: "cookie-dlg-content" }, Ge = { class: "content-item" }, Le = { class: "item-header" }, Ne = { class: "item-title" }, Pe = { class: "item-extra" }, _e = { class: "item-detail" }, xe = { class: "content-item" }, Ue = { class: "item-header" }, Oe = { class: "item-title" }, Be = { class: "item-extra" }, je = { class: "item-detail" }, Fe = "0", Y = "1", Ve = "2", R = "3", ze = "agreed-cookiepolicy-zh", He = "agreed-cookiepolicy-en", Ye = /* @__PURE__ */ W({
915
941
  __name: "OElCookieNotice",
916
942
  props: {
917
943
  visible: { type: Boolean },
@@ -921,8 +947,8 @@ const ye = (o, r) => {
921
947
  cookieDomain: {}
922
948
  },
923
949
  emits: ["update:visible"],
924
- setup(o, { expose: r, emit: v }) {
925
- const y = o, S = v, { lePadV: c } = ne(), { locale: I, t: i } = ve(), l = G(() => I.value === "zh"), k = D(), E = G(() => k.value ? !!getComputedStyle(k.value).getPropertyValue("--grid-content-width") : !1), h = G(() => l.value ? ze : He), T = D(!1), M = re(y, "visible", S, { defaultValue: !1 }), C = (m) => {
950
+ setup(s, { expose: r, emit: v }) {
951
+ const y = s, S = v, { lePadV: c } = ne(), { locale: I, t: i } = ve(), l = G(() => I.value === "zh"), T = D(), C = G(() => T.value ? !!getComputedStyle(T.value).getPropertyValue("--grid-content-width") : !1), h = G(() => l.value ? ze : He), k = D(!1), M = re(y, "visible", S, { defaultValue: !1 }), E = (m) => {
926
952
  const n = document.cookie.split(";").find((d) => d.split("=")[0].trim() === encodeURIComponent(m));
927
953
  return n ? decodeURIComponent(n.split("=")[1]) : null;
928
954
  }, N = (m, n, d, J) => {
@@ -930,26 +956,26 @@ const ye = (o, r) => {
930
956
  document.cookie = `${encodeURIComponent(m)}=${encodeURIComponent(n)}${Z}; path=/; domain=${J}`;
931
957
  }, b = (m) => {
932
958
  typeof m == "boolean" ? M.value = m : M.value = !M.value, ie(() => {
933
- !M.value && l.value && C(h.value) !== R && N(h.value, R, 180, y.cookieDomain ?? location.hostname);
959
+ !M.value && l.value && E(h.value) !== R && N(h.value, R, 180, y.cookieDomain ?? location.hostname);
934
960
  });
935
- }, w = D(!1), _ = (m) => {
961
+ }, w = D(!1), P = (m) => {
936
962
  typeof m == "boolean" ? w.value = m : w.value = !w.value;
937
- }, U = () => l.value ? C(h.value) !== R : (C(h.value) ?? "0") === Fe, O = () => l.value ? C(h.value) === R : C(h.value) === Y;
963
+ }, U = () => l.value ? E(h.value) !== R : (E(h.value) ?? "0") === Fe, O = () => l.value ? E(h.value) === R : E(h.value) === Y;
938
964
  $(() => {
939
965
  U() && b(!0);
940
966
  }), ee(I, () => {
941
967
  b(U());
942
968
  });
943
- const P = () => {
944
- T.value = !0, N(h.value, Y, 180, y.cookieDomain ?? location.hostname), b(!1);
969
+ const _ = () => {
970
+ k.value = !0, N(h.value, Y, 180, y.cookieDomain ?? location.hostname), b(!1);
945
971
  }, B = () => {
946
- T.value = !1, N(h.value, Ve, 180, y.cookieDomain ?? location.hostname), b(!1);
972
+ k.value = !1, N(h.value, Ve, 180, y.cookieDomain ?? location.hostname), b(!1);
947
973
  }, j = () => {
948
- T.value ? P() : B(), _(!1);
974
+ k.value ? _() : B(), P(!1);
949
975
  }, F = () => {
950
- T.value = !0, P(), _(!1);
976
+ k.value = !0, _(), P(!1);
951
977
  }, K = () => {
952
- T.value = O();
978
+ k.value = O();
953
979
  };
954
980
  return r({
955
981
  check() {
@@ -958,24 +984,24 @@ const ye = (o, r) => {
958
984
  }), (m, n) => (u(), V(he, null, {
959
985
  default: a(() => [
960
986
  (u(), V(te, {
961
- to: o.wrapper || "#app"
987
+ to: s.wrapper || "#app"
962
988
  }, [
963
989
  e(M) ? (u(), f("div", {
964
990
  key: 0,
965
991
  ref_key: "cookieNoticeRef",
966
- ref: k,
992
+ ref: T,
967
993
  class: "cookie-notice"
968
994
  }, [
969
995
  t("div", fe, [
970
996
  t("div", {
971
997
  type: e(I),
972
- class: z({ "cookie-notice-wrap-grid": E.value, "cookie-notice-wrap": !E.value })
998
+ class: z({ "cookie-notice-wrap-grid": C.value, "cookie-notice-wrap": !C.value })
973
999
  }, [
974
- t("div", ke, [
1000
+ t("div", Te, [
975
1001
  l.value ? (u(), f(x, { key: 0 }, [
976
1002
  g(e(H), { style: { transform: "rotate(180deg)", "font-size": "24px", "margin-right": "4px" } }, {
977
1003
  default: a(() => [
978
- (u(), f("svg", Te, [...n[5] || (n[5] = [
1004
+ (u(), f("svg", ke, [...n[5] || (n[5] = [
979
1005
  t("path", {
980
1006
  fill: "#002fa7",
981
1007
  d: "M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z"
@@ -989,14 +1015,14 @@ const ye = (o, r) => {
989
1015
  _: 1
990
1016
  }),
991
1017
  t("p", Ae, [
992
- p(s(e(i)("cookie.desc")) + " ", 1),
1018
+ p(o(e(i)("cookie.desc")) + " ", 1),
993
1019
  t("a", {
994
- href: o.detailUrl,
1020
+ href: s.detailUrl,
995
1021
  target: "_blank",
996
1022
  rel: "noopener noreferrer"
997
- }, s(e(i)("cookie.about")), 9, Me)
1023
+ }, o(e(i)("cookie.about")), 9, Me)
998
1024
  ])
999
- ], 64)) : (u(), f("p", be, s(e(i)("cookie.title", [o.community])), 1)),
1025
+ ], 64)) : (u(), f("p", be, o(e(i)("cookie.title", [s.community])), 1)),
1000
1026
  g(e(H), {
1001
1027
  class: "cookie-notice-close",
1002
1028
  onClick: n[0] || (n[0] = (d) => b(!1))
@@ -1018,23 +1044,23 @@ const ye = (o, r) => {
1018
1044
  })
1019
1045
  ]),
1020
1046
  l.value ? L("", !0) : (u(), f("div", we, [
1021
- t("p", Ee, [
1022
- p(s(e(i)("cookie.desc")) + " ", 1),
1047
+ t("p", Ce, [
1048
+ p(o(e(i)("cookie.desc")) + " ", 1),
1023
1049
  t("a", {
1024
- href: o.detailUrl,
1050
+ href: s.detailUrl,
1025
1051
  target: "_blank",
1026
1052
  rel: "noopener noreferrer"
1027
- }, s(e(i)("cookie.about")), 9, Ce),
1053
+ }, o(e(i)("cookie.about")), 9, Ee),
1028
1054
  n[7] || (n[7] = p(". ", -1))
1029
1055
  ]),
1030
1056
  t("div", De, [
1031
1057
  g(e(A), {
1032
1058
  round: "",
1033
1059
  type: "primary",
1034
- onClick: P
1060
+ onClick: _
1035
1061
  }, {
1036
1062
  default: a(() => [
1037
- p(s(e(i)("cookie.acceptAll")), 1)
1063
+ p(o(e(i)("cookie.acceptAll")), 1)
1038
1064
  ]),
1039
1065
  _: 1
1040
1066
  }),
@@ -1044,17 +1070,17 @@ const ye = (o, r) => {
1044
1070
  onClick: B
1045
1071
  }, {
1046
1072
  default: a(() => [
1047
- p(s(e(i)("cookie.rejectAll")), 1)
1073
+ p(o(e(i)("cookie.rejectAll")), 1)
1048
1074
  ]),
1049
1075
  _: 1
1050
1076
  }),
1051
1077
  g(e(A), {
1052
1078
  round: "",
1053
1079
  type: "primary",
1054
- onClick: n[1] || (n[1] = (d) => _(!0))
1080
+ onClick: n[1] || (n[1] = (d) => P(!0))
1055
1081
  }, {
1056
1082
  default: a(() => [
1057
- p(s(e(i)("cookie.manage")), 1)
1083
+ p(o(e(i)("cookie.manage")), 1)
1058
1084
  ]),
1059
1085
  _: 1
1060
1086
  })
@@ -1064,7 +1090,7 @@ const ye = (o, r) => {
1064
1090
  ]),
1065
1091
  g(e(ae), {
1066
1092
  "show-close": !1,
1067
- class: z({ "cookie-dlg-bottom": e(c), "grid-width-dlg": E.value }),
1093
+ class: z({ "cookie-dlg-bottom": e(c), "grid-width-dlg": C.value }),
1068
1094
  modelValue: w.value,
1069
1095
  "onUpdate:modelValue": n[4] || (n[4] = (d) => w.value = d),
1070
1096
  "destroy-on-close": "",
@@ -1086,7 +1112,7 @@ const ye = (o, r) => {
1086
1112
  })
1087
1113
  ], -1)
1088
1114
  ])])),
1089
- t("span", Ie, s(e(i)("cookie.manage")), 1)
1115
+ t("span", Ie, o(e(i)("cookie.manage")), 1)
1090
1116
  ]),
1091
1117
  footer: a(() => [
1092
1118
  e(c) ? (u(), f(x, { key: 0 }, [
@@ -1095,7 +1121,7 @@ const ye = (o, r) => {
1095
1121
  onClick: j
1096
1122
  }, {
1097
1123
  default: a(() => [
1098
- p(s(e(i)("cookie.saveSetting")), 1)
1124
+ p(o(e(i)("cookie.saveSetting")), 1)
1099
1125
  ]),
1100
1126
  _: 1
1101
1127
  }),
@@ -1108,7 +1134,7 @@ const ye = (o, r) => {
1108
1134
  onClick: F
1109
1135
  }, {
1110
1136
  default: a(() => [
1111
- p(s(e(i)("cookie.acceptAll")), 1)
1137
+ p(o(e(i)("cookie.acceptAll")), 1)
1112
1138
  ]),
1113
1139
  _: 1
1114
1140
  })
@@ -1119,7 +1145,7 @@ const ye = (o, r) => {
1119
1145
  onClick: j
1120
1146
  }, {
1121
1147
  default: a(() => [
1122
- p(s(e(i)("cookie.saveSetting")), 1)
1148
+ p(o(e(i)("cookie.saveSetting")), 1)
1123
1149
  ]),
1124
1150
  _: 1
1125
1151
  }),
@@ -1129,7 +1155,7 @@ const ye = (o, r) => {
1129
1155
  onClick: F
1130
1156
  }, {
1131
1157
  default: a(() => [
1132
- p(s(e(i)("cookie.acceptAll")), 1)
1158
+ p(o(e(i)("cookie.acceptAll")), 1)
1133
1159
  ]),
1134
1160
  _: 1
1135
1161
  })
@@ -1139,22 +1165,22 @@ const ye = (o, r) => {
1139
1165
  t("div", Re, [
1140
1166
  t("div", Ge, [
1141
1167
  t("div", Le, [
1142
- t("span", Ne, s(e(i)("cookie.necessaryCookie")), 1),
1143
- t("span", _e, s(e(i)("cookie.alwaysOn")), 1)
1168
+ t("span", Ne, o(e(i)("cookie.necessaryCookie")), 1),
1169
+ t("span", Pe, o(e(i)("cookie.alwaysOn")), 1)
1144
1170
  ]),
1145
- t("div", Pe, s(e(i)("cookie.necessaryCookieDetail")), 1)
1171
+ t("div", _e, o(e(i)("cookie.necessaryCookieDetail")), 1)
1146
1172
  ]),
1147
1173
  t("div", xe, [
1148
1174
  t("div", Ue, [
1149
- t("span", Oe, s(e(i)("cookie.analyticalCookie")), 1),
1175
+ t("span", Oe, o(e(i)("cookie.analyticalCookie")), 1),
1150
1176
  t("span", Be, [
1151
1177
  g(e(me), {
1152
- modelValue: T.value,
1153
- "onUpdate:modelValue": n[3] || (n[3] = (d) => T.value = d)
1178
+ modelValue: k.value,
1179
+ "onUpdate:modelValue": n[3] || (n[3] = (d) => k.value = d)
1154
1180
  }, null, 8, ["modelValue"])
1155
1181
  ])
1156
1182
  ]),
1157
- t("div", je, s(e(i)("cookie.analyticalCookieDetail")), 1)
1183
+ t("div", je, o(e(i)("cookie.analyticalCookieDetail")), 1)
1158
1184
  ])
1159
1185
  ])
1160
1186
  ]),
@@ -5,22 +5,45 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
5
5
  $data: {};
6
6
  $props: Partial<{
7
7
  layout: "h" | "v" | "inline";
8
+ disabled: boolean | undefined;
9
+ clearable: boolean | undefined;
8
10
  hasRequired: boolean;
11
+ requiredIcon: boolean;
12
+ labelWidth: string;
13
+ showMessage: boolean;
14
+ validateOnRuleChange: boolean;
15
+ scrollToError: boolean;
9
16
  }> & Omit<{
10
17
  readonly hasRequired: boolean;
18
+ readonly requiredIcon: boolean;
11
19
  readonly layout: "v" | "h" | "inline";
12
- readonly model?: Record<string, any> | undefined;
20
+ readonly labelWidth: string;
21
+ readonly showMessage: boolean;
22
+ readonly validateOnRuleChange: boolean;
23
+ readonly scrollToError: boolean;
24
+ readonly size?: "small" | "large" | "medium" | undefined;
25
+ readonly round?: import('@opensig/opendesign').RoundT | undefined;
26
+ readonly disabled?: boolean | undefined;
13
27
  readonly labelAlign?: "top" | "center" | "bottom" | undefined;
14
28
  readonly labelJustify?: "center" | "left" | "right" | undefined;
15
- readonly labelWidth?: string | undefined;
29
+ readonly clearable?: boolean | undefined;
30
+ readonly model?: Record<string, any> | undefined;
31
+ readonly rules?: import('@opensig/opendesign').FormRulesT | undefined;
16
32
  readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
17
33
  readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
18
34
  readonly onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
19
35
  readonly onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
20
- } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "hasRequired" | "layout">;
36
+ readonly onValidateField?: ((payload: {
37
+ field: string;
38
+ isValid: boolean;
39
+ message: string;
40
+ }) => any) | undefined | undefined;
41
+ } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "disabled" | "clearable" | "hasRequired" | "requiredIcon" | "layout" | "labelWidth" | "showMessage" | "validateOnRuleChange" | "scrollToError">;
21
42
  $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
22
43
  $refs: {
23
44
  [x: string]: unknown;
45
+ } & {
46
+ formEl: HTMLFormElement;
24
47
  };
25
48
  $slots: Readonly<{
26
49
  [name: string]: import('../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
@@ -28,46 +51,114 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
28
51
  $root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
29
52
  $parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
30
53
  $host: Element | null;
31
- $emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "validate", results: import('@opensig/opendesign').FieldResultT[]) => void) & ((event: "reset", filed?: string | string[] | undefined) => void) & ((event: "submit", results: import('@opensig/opendesign').FieldResultT[]) => void);
54
+ $emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "validate", results: import('@opensig/opendesign').FieldResultT[]) => void) & ((event: "validateField", payload: {
55
+ field: string;
56
+ isValid: boolean;
57
+ message: string;
58
+ }) => void) & ((event: "reset", filed?: string | string[] | undefined) => void) & ((event: "submit", results: import('@opensig/opendesign').FieldResultT[]) => void);
32
59
  $el: HTMLFormElement;
33
60
  $options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
61
+ labelAlign: {
62
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"top" | "center" | "bottom">;
63
+ };
64
+ labelJustify: {
65
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"left" | "center" | "right">;
66
+ };
67
+ disabled: {
68
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | undefined>;
69
+ default: undefined;
70
+ };
71
+ size: {
72
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').SizeT>;
73
+ };
74
+ round: {
75
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').RoundT>;
76
+ };
77
+ clearable: {
78
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | undefined>;
79
+ default: undefined;
80
+ };
34
81
  model: {
35
82
  type: ObjectConstructor;
36
83
  };
84
+ rules: {
85
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').FormRulesT>;
86
+ };
37
87
  hasRequired: {
38
88
  type: BooleanConstructor;
39
89
  default: boolean;
40
90
  };
91
+ requiredIcon: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
41
95
  layout: {
42
96
  type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"h" | "v" | "inline">;
43
97
  default: string;
44
98
  };
45
- labelAlign: {
46
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"top" | "center" | "bottom">;
47
- };
48
- labelJustify: {
49
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"left" | "center" | "right">;
50
- };
51
99
  labelWidth: {
52
100
  type: StringConstructor;
101
+ default: string;
102
+ };
103
+ showMessage: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ validateOnRuleChange: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ scrollToError: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
53
114
  };
54
115
  }>> & Readonly<{
55
116
  onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
56
117
  onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
57
118
  onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
58
119
  onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
120
+ onValidateField?: ((payload: {
121
+ field: string;
122
+ isValid: boolean;
123
+ message: string;
124
+ }) => any) | undefined;
59
125
  }>, {
60
- validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
126
+ validate: (filed?: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
127
+ type: "warning" | "danger" | "success" | "";
128
+ message: string[];
129
+ }[]>;
130
+ validateField: (field: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
131
+ type: "warning" | "danger" | "success" | "";
132
+ message: string[];
133
+ }[]>;
61
134
  resetFields: (filed?: string | string[]) => void;
135
+ setInitialValues: (data: Record<string, any>) => void;
62
136
  clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
137
+ scrollToField: (field: string, options?: boolean | {
138
+ behavior?: "auto" | "smooth" | "instant";
139
+ block?: "start" | "center" | "end" | "nearest";
140
+ inline?: "start" | "center" | "end" | "nearest";
141
+ }) => Promise<void>;
63
142
  }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
64
143
  clear: (filed?: string | string[] | undefined) => any;
65
144
  reset: (filed?: string | string[] | undefined) => any;
66
145
  submit: (results: import('@opensig/opendesign').FieldResultT[]) => any;
67
146
  validate: (results: import('@opensig/opendesign').FieldResultT[]) => any;
147
+ validateField: (payload: {
148
+ field: string;
149
+ isValid: boolean;
150
+ message: string;
151
+ }) => any;
68
152
  }, string, {
69
153
  layout: "h" | "v" | "inline";
154
+ disabled: boolean | undefined;
155
+ clearable: boolean | undefined;
70
156
  hasRequired: boolean;
157
+ requiredIcon: boolean;
158
+ labelWidth: string;
159
+ showMessage: boolean;
160
+ validateOnRuleChange: boolean;
161
+ scrollToError: boolean;
71
162
  }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
72
163
  beforeCreate?: (() => void) | (() => void)[];
73
164
  created?: (() => void) | (() => void)[];
@@ -90,37 +181,96 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
90
181
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
91
182
  } & Readonly<{
92
183
  layout: "h" | "v" | "inline";
184
+ disabled: boolean | undefined;
185
+ clearable: boolean | undefined;
93
186
  hasRequired: boolean;
187
+ requiredIcon: boolean;
188
+ labelWidth: string;
189
+ showMessage: boolean;
190
+ validateOnRuleChange: boolean;
191
+ scrollToError: boolean;
94
192
  }> & Omit<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
193
+ labelAlign: {
194
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"top" | "center" | "bottom">;
195
+ };
196
+ labelJustify: {
197
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"left" | "center" | "right">;
198
+ };
199
+ disabled: {
200
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | undefined>;
201
+ default: undefined;
202
+ };
203
+ size: {
204
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').SizeT>;
205
+ };
206
+ round: {
207
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').RoundT>;
208
+ };
209
+ clearable: {
210
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | undefined>;
211
+ default: undefined;
212
+ };
95
213
  model: {
96
214
  type: ObjectConstructor;
97
215
  };
216
+ rules: {
217
+ type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').FormRulesT>;
218
+ };
98
219
  hasRequired: {
99
220
  type: BooleanConstructor;
100
221
  default: boolean;
101
222
  };
223
+ requiredIcon: {
224
+ type: BooleanConstructor;
225
+ default: boolean;
226
+ };
102
227
  layout: {
103
228
  type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"h" | "v" | "inline">;
104
229
  default: string;
105
230
  };
106
- labelAlign: {
107
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"top" | "center" | "bottom">;
108
- };
109
- labelJustify: {
110
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"left" | "center" | "right">;
111
- };
112
231
  labelWidth: {
113
232
  type: StringConstructor;
233
+ default: string;
234
+ };
235
+ showMessage: {
236
+ type: BooleanConstructor;
237
+ default: boolean;
238
+ };
239
+ validateOnRuleChange: {
240
+ type: BooleanConstructor;
241
+ default: boolean;
242
+ };
243
+ scrollToError: {
244
+ type: BooleanConstructor;
245
+ default: boolean;
114
246
  };
115
247
  }>> & Readonly<{
116
248
  onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
117
249
  onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
118
250
  onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
119
251
  onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
120
- }>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
121
- validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
252
+ onValidateField?: ((payload: {
253
+ field: string;
254
+ isValid: boolean;
255
+ message: string;
256
+ }) => any) | undefined;
257
+ }>, "disabled" | "clearable" | "hasRequired" | "requiredIcon" | "layout" | "labelWidth" | "showMessage" | "validateOnRuleChange" | "scrollToError" | "validate" | "validateField" | "resetFields" | "setInitialValues" | "clearValidate" | "scrollToField"> & {
258
+ validate: (filed?: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
259
+ type: "warning" | "danger" | "success" | "";
260
+ message: string[];
261
+ }[]>;
262
+ validateField: (field: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
263
+ type: "warning" | "danger" | "success" | "";
264
+ message: string[];
265
+ }[]>;
122
266
  resetFields: (filed?: string | string[]) => void;
267
+ setInitialValues: (data: Record<string, any>) => void;
123
268
  clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
269
+ scrollToField: (field: string, options?: boolean | {
270
+ behavior?: "auto" | "smooth" | "instant";
271
+ block?: "start" | "center" | "end" | "nearest";
272
+ inline?: "start" | "center" | "end" | "nearest";
273
+ }) => Promise<void>;
124
274
  } & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
125
275
  $slots: {
126
276
  default?(_: {}): any;