@opendesign-plus/components 0.0.1-rc.101 → 0.0.1-rc.102

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 (36) hide show
  1. package/dist/chunk-element-plus.cjs.js +1 -1
  2. package/dist/chunk-element-plus.es.js +2 -0
  3. package/dist/components/article-anchor/OArticleAnchor.vue.d.ts +138 -1
  4. package/dist/components/article-anchor/index.d.ts +157 -5
  5. package/dist/components/article-anchor/types.d.ts +10 -2
  6. package/dist/components/doc-layout/ODocLayout.vue.d.ts +364 -4
  7. package/dist/components/doc-layout/index.d.ts +188 -4
  8. package/dist/components.cjs.js +4 -4
  9. package/dist/components.css +1 -1
  10. package/dist/components.es.js +1920 -1863
  11. package/dist/treeshaking/components/article/components/DocTitle.mjs +2 -2
  12. package/dist/treeshaking/components/article/components/DocTitle.vue_vue_type_script_setup_true_lang.mjs +25 -20
  13. package/dist/treeshaking/components/article/components/{DocTitle.vue_vue_type_style_index_0_scoped_ea84d56c_lang.css → DocTitle.vue_vue_type_style_index_0_scoped_12467c9f_lang.css} +52 -49
  14. package/dist/treeshaking/components/article-anchor/OArticleAnchor.mjs +2 -2
  15. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.d.ts +138 -1
  16. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue_vue_type_script_setup_true_lang.mjs +70 -5
  17. package/dist/treeshaking/components/article-anchor/{OArticleAnchor.vue_vue_type_style_index_0_scoped_6e032ecb_lang.css → OArticleAnchor.vue_vue_type_style_index_0_scoped_dcc5e0d5_lang.css} +4 -4
  18. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorItems.mjs +2 -2
  19. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorItems.vue_vue_type_script_setup_true_lang.mjs +8 -3
  20. package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorItems.vue_vue_type_style_index_0_scoped_c0fc5e57_lang.css → ArticleAnchorItems.vue_vue_type_style_index_0_scoped_126e1824_lang.css} +3 -3
  21. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.mjs +2 -2
  22. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_script_setup_true_lang.mjs +14 -12
  23. package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_648619c2_lang.css → ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_ccc0d33c_lang.css} +11 -11
  24. package/dist/treeshaking/components/article-anchor/index.d.ts +157 -5
  25. package/dist/treeshaking/components/article-anchor/types.d.ts +10 -2
  26. package/dist/treeshaking/components/doc-layout/ODocLayout.mjs +2 -2
  27. package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +364 -4
  28. package/dist/treeshaking/components/doc-layout/ODocLayout.vue_vue_type_script_setup_true_lang.mjs +18 -11
  29. package/dist/treeshaking/components/doc-layout/{ODocLayout.vue_vue_type_style_index_0_scoped_3d4751c0_lang.css → ODocLayout.vue_vue_type_style_index_0_scoped_966cd0b4_lang.css} +54 -42
  30. package/dist/treeshaking/components/doc-layout/index.d.ts +188 -4
  31. package/dist/treeshaking/components/markdown/OMarkdown.mjs +2 -2
  32. package/dist/treeshaking/components/markdown/OMarkdown.vue_vue_type_script_setup_true_lang.mjs +1 -1
  33. package/dist/treeshaking/components/markdown/{OMarkdown.vue_vue_type_style_index_1_scoped_4be4e234_lang.css → OMarkdown.vue_vue_type_style_index_1_scoped_c19788db_lang.css} +3 -3
  34. package/dist/treeshaking/i18n/en.mjs +1 -0
  35. package/dist/treeshaking/i18n/zh.mjs +1 -0
  36. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
2
  import DocTitle_vue_vue_type_script_setup_true_lang_default from "./DocTitle.vue_vue_type_script_setup_true_lang.mjs";
3
- import './DocTitle.vue_vue_type_style_index_0_scoped_ea84d56c_lang.css';
3
+ import './DocTitle.vue_vue_type_style_index_0_scoped_12467c9f_lang.css';
4
4
  // src/components/article/components/DocTitle.vue
5
- var DocTitle_default = /*#__PURE__*/ _plugin_vue_export_helper_default(DocTitle_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ea84d56c"]]);
5
+ var DocTitle_default = /*#__PURE__*/ _plugin_vue_export_helper_default(DocTitle_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-12467c9f"]]);
6
6
  export { DocTitle_default as default };
@@ -27,15 +27,14 @@ var _hoisted_6 = {
27
27
  key: 0,
28
28
  class: "o-doc-title-update-time"
29
29
  };
30
- var _hoisted_7 = { class: "o-doc-title-dlg-action-box-container" };
31
- var _hoisted_8 = { class: "o-doc-title-dlg-action-box-icon" };
32
- var _hoisted_9 = { class: "o-doc-title-dlg-action-box-label" };
33
- var _hoisted_10 = { class: "o-doc-title-dlg-action-box-icon" };
34
- var _hoisted_11 = { class: "o-doc-title-dlg-action-box-label" };
35
- var _hoisted_12 = { class: "o-doc-title-dlg-action-box-icon" };
36
- var _hoisted_13 = { class: "o-doc-title-dlg-action-box-label" };
37
- var _hoisted_14 = { class: "o-doc-title-dlg-action-box-icon" };
38
- var _hoisted_15 = { class: "o-doc-title-dlg-action-box-label" };
30
+ var _hoisted_7 = { class: "o-doc-title-dlg-action-box-icon" };
31
+ var _hoisted_8 = { class: "o-doc-title-dlg-action-box-label" };
32
+ var _hoisted_9 = { class: "o-doc-title-dlg-action-box-icon" };
33
+ var _hoisted_10 = { class: "o-doc-title-dlg-action-box-label" };
34
+ var _hoisted_11 = { class: "o-doc-title-dlg-action-box-icon" };
35
+ var _hoisted_12 = { class: "o-doc-title-dlg-action-box-label" };
36
+ var _hoisted_13 = { class: "o-doc-title-dlg-action-box-icon" };
37
+ var _hoisted_14 = { class: "o-doc-title-dlg-action-box-label" };
39
38
  var DocTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
40
39
  __name: "DocTitle",
41
40
  props: {
@@ -50,7 +49,7 @@ var DocTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
50
49
  },
51
50
  emits: ["download", "collect"],
52
51
  setup(__props, { emit: __emit }) {
53
- useCssVars((_ctx) => ({ "bc7b9dec": bgImage.value }));
52
+ useCssVars((_ctx) => ({ "v2780f8b8": bgImage.value }));
54
53
  const props = __props;
55
54
  const emit = __emit;
56
55
  const bgImage = computed(() => {
@@ -64,6 +63,12 @@ var DocTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
64
63
  const enableCopyLink = computed(() => toValue(props.enableCopyLink));
65
64
  const showActions = computed(() => sourceUrl.value || updateTime.value || enableDownload.value || enableStar.value || enableCopyLink.value);
66
65
  const showDivider = computed(() => sourceUrl.value && (enableDownload.value || enableStar.value));
66
+ const actionCount = computed(() => [
67
+ enableDownload.value,
68
+ enableStar.value,
69
+ enableCopyLink.value,
70
+ sourceUrl.value
71
+ ].filter(Boolean).length);
67
72
  const vDompurifyHtml = buildVueDompurifyHTMLDirective({ default: { FORBID_ATTR: ["style"] } });
68
73
  const { lePadV } = useScreen();
69
74
  const { t } = useI18n();
@@ -177,40 +182,40 @@ var DocTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
177
182
  "phone-half-full": ""
178
183
  }, {
179
184
  header: withCtx(() => [createTextVNode(toDisplayString(unref(t)("md.moreActions")), 1)]),
180
- default: withCtx(() => [createElementVNode("div", _hoisted_7, [
185
+ default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["o-doc-title-dlg-action-box-container", { "is-center": actionCount.value < 3 }]) }, [
181
186
  enableDownload.value ? (openBlock(), createElementBlock("div", {
182
187
  key: 0,
183
188
  class: "o-doc-title-dlg-action-box",
184
189
  onClick: onDownload
185
- }, [createElementVNode("div", _hoisted_8, [createVNode(unref(OIcon), null, {
190
+ }, [createElementVNode("div", _hoisted_7, [createVNode(unref(OIcon), null, {
186
191
  default: withCtx(() => [createVNode(unref(icon_download_default))]),
187
192
  _: 1
188
- })]), createElementVNode("div", _hoisted_9, toDisplayString(unref(t)("md.downloadDoc")), 1)])) : createCommentVNode("", true),
193
+ })]), createElementVNode("div", _hoisted_8, toDisplayString(unref(t)("md.downloadDoc")), 1)])) : createCommentVNode("", true),
189
194
  enableStar.value ? (openBlock(), createElementBlock("div", {
190
195
  key: 1,
191
196
  class: "o-doc-title-dlg-action-box",
192
197
  onClick: onCollect
193
- }, [createElementVNode("div", _hoisted_10, [createVNode(unref(OIcon), null, {
198
+ }, [createElementVNode("div", _hoisted_9, [createVNode(unref(OIcon), null, {
194
199
  default: withCtx(() => [createVNode(unref(icon_star_default))]),
195
200
  _: 1
196
- })]), createElementVNode("div", _hoisted_11, toDisplayString(unref(t)("md.starDoc")), 1)])) : createCommentVNode("", true),
201
+ })]), createElementVNode("div", _hoisted_10, toDisplayString(unref(t)("md.starDoc")), 1)])) : createCommentVNode("", true),
197
202
  enableCopyLink.value ? (openBlock(), createElementBlock("div", {
198
203
  key: 2,
199
204
  class: "o-doc-title-dlg-action-box",
200
205
  onClick: copyLink
201
- }, [createElementVNode("div", _hoisted_12, [createVNode(unref(OIcon), null, {
206
+ }, [createElementVNode("div", _hoisted_11, [createVNode(unref(OIcon), null, {
202
207
  default: withCtx(() => [createVNode(unref(icon_link_default))]),
203
208
  _: 1
204
- })]), createElementVNode("div", _hoisted_13, toDisplayString(unref(t)("common.copyLink")), 1)])) : createCommentVNode("", true),
209
+ })]), createElementVNode("div", _hoisted_12, toDisplayString(unref(t)("common.copyLink")), 1)])) : createCommentVNode("", true),
205
210
  sourceUrl.value ? (openBlock(), createElementBlock("div", {
206
211
  key: 3,
207
212
  class: "o-doc-title-dlg-action-box",
208
213
  onClick: openSourceUrl
209
- }, [createElementVNode("div", _hoisted_14, [createVNode(unref(OIcon), null, {
214
+ }, [createElementVNode("div", _hoisted_13, [createVNode(unref(OIcon), null, {
210
215
  default: withCtx(() => [createVNode(unref(icon_outlink_default))]),
211
216
  _: 1
212
- })]), createElementVNode("div", _hoisted_15, toDisplayString(unref(t)("md.gitSource")), 1)])) : createCommentVNode("", true)
213
- ])]),
217
+ })]), createElementVNode("div", _hoisted_14, toDisplayString(unref(t)("md.gitSourceShort")), 1)])) : createCommentVNode("", true)
218
+ ], 2)]),
214
219
  _: 1
215
220
  }, 8, ["visible"])) : createCommentVNode("", true)], 64);
216
221
  };
@@ -1,236 +1,239 @@
1
- .hover-icon-rotate .o-icon[data-v-ea84d56c] {
1
+ .hover-icon-rotate .o-icon[data-v-12467c9f] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-ea84d56c] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-12467c9f] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-doc-title[data-v-ea84d56c] {
9
+ .o-doc-title[data-v-12467c9f] {
10
10
  align-items: center;
11
11
  justify-content: space-between;
12
12
  gap: 12px;
13
13
  padding: 16px;
14
14
  border-radius: var(--o-radius-xs);
15
- background-image: var(--bc7b9dec);
15
+ background-image: var(--v2780f8b8);
16
16
  background-position: 100% 100%;
17
17
  background-repeat: no-repeat;
18
18
  background-size: cover;
19
19
  }
20
20
  @media (max-width: 1680px) {
21
- .o-doc-title[data-v-ea84d56c] {
21
+ .o-doc-title[data-v-12467c9f] {
22
22
  gap: 8px;
23
23
  padding: 12px;
24
24
  }
25
25
  }
26
26
  @media (max-width: 1200px) {
27
- .o-doc-title[data-v-ea84d56c] {
27
+ .o-doc-title[data-v-12467c9f] {
28
28
  gap: 8px;
29
29
  padding: 8px;
30
30
  }
31
31
  }
32
32
  @media (max-width: 840px) {
33
- .o-doc-title[data-v-ea84d56c] {
33
+ .o-doc-title[data-v-12467c9f] {
34
34
  gap: 12px;
35
35
  padding: 16px;
36
36
  }
37
37
  }
38
- .o-doc-title .o-doc-title-content[data-v-ea84d56c] {
38
+ .o-doc-title .o-doc-title-content[data-v-12467c9f] {
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  gap: 8px;
42
42
  min-width: 0;
43
43
  }
44
- .o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
44
+ .o-doc-title .o-doc-title-text[data-v-12467c9f] h1 {
45
45
  margin-top: 0;
46
46
  margin-bottom: 0;
47
47
  font-size: 32px;
48
48
  line-height: 44px;
49
49
  }
50
50
  @media (min-width: 1201px) and (max-width: 1680px) {
51
- .o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
51
+ .o-doc-title .o-doc-title-text[data-v-12467c9f] h1 {
52
52
  font-size: 20px;
53
53
  line-height: 28px;
54
54
  }
55
55
  }
56
56
  @media (min-width: 841px) and (max-width: 1200px) {
57
- .o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
57
+ .o-doc-title .o-doc-title-text[data-v-12467c9f] h1 {
58
58
  font-size: 20px;
59
59
  line-height: 28px;
60
60
  }
61
61
  }
62
62
  @media (min-width: 601px) and (max-width: 840px) {
63
- .o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
63
+ .o-doc-title .o-doc-title-text[data-v-12467c9f] h1 {
64
64
  font-size: 18px;
65
65
  line-height: 26px;
66
66
  }
67
67
  }
68
68
  @media (max-width: 600px) {
69
- .o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
69
+ .o-doc-title .o-doc-title-text[data-v-12467c9f] h1 {
70
70
  font-size: 16px;
71
71
  line-height: 24px;
72
72
  }
73
73
  }
74
- .o-doc-title .o-doc-title-actions[data-v-ea84d56c] {
74
+ .o-doc-title .o-doc-title-actions[data-v-12467c9f] {
75
75
  display: flex;
76
76
  align-items: center;
77
77
  justify-content: space-between;
78
78
  margin-top: 12px;
79
79
  }
80
80
  @media (max-width: 1680px) {
81
- .o-doc-title .o-doc-title-actions[data-v-ea84d56c] {
81
+ .o-doc-title .o-doc-title-actions[data-v-12467c9f] {
82
82
  margin-top: 8px;
83
83
  }
84
84
  }
85
85
  @media (max-width: 840px) {
86
- .o-doc-title .o-doc-title-actions[data-v-ea84d56c] {
86
+ .o-doc-title .o-doc-title-actions[data-v-12467c9f] {
87
87
  margin-top: 0;
88
88
  }
89
89
  }
90
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-more[data-v-ea84d56c] {
90
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-more[data-v-12467c9f] {
91
91
  font-size: 24px;
92
92
  color: var(--o-color-info2);
93
93
  }
94
- .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
94
+ .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-12467c9f] {
95
95
  font-size: 16px;
96
96
  line-height: 24px;
97
97
  }
98
98
  @media (min-width: 1201px) and (max-width: 1680px) {
99
- .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
99
+ .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-12467c9f] {
100
100
  font-size: 14px;
101
101
  line-height: 22px;
102
102
  }
103
103
  }
104
104
  @media (min-width: 841px) and (max-width: 1200px) {
105
- .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
105
+ .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-12467c9f] {
106
106
  font-size: 14px;
107
107
  line-height: 22px;
108
108
  }
109
109
  }
110
110
  @media (min-width: 601px) and (max-width: 840px) {
111
- .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
111
+ .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-12467c9f] {
112
112
  font-size: 14px;
113
113
  line-height: 22px;
114
114
  }
115
115
  }
116
116
  @media (max-width: 600px) {
117
- .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
117
+ .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-12467c9f] {
118
118
  font-size: 12px;
119
119
  line-height: 18px;
120
120
  }
121
121
  }
122
- .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] .o-link-label {
122
+ .o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-12467c9f] .o-link-label {
123
123
  display: flex;
124
124
  align-items: center;
125
125
  }
126
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
126
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-12467c9f] {
127
127
  font-size: 22px;
128
128
  line-height: 30px;
129
129
  }
130
130
  @media (min-width: 1201px) and (max-width: 1680px) {
131
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
131
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-12467c9f] {
132
132
  font-size: 18px;
133
133
  line-height: 26px;
134
134
  }
135
135
  }
136
136
  @media (min-width: 841px) and (max-width: 1200px) {
137
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
137
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-12467c9f] {
138
138
  font-size: 16px;
139
139
  line-height: 24px;
140
140
  }
141
141
  }
142
142
  @media (min-width: 601px) and (max-width: 840px) {
143
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
143
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-12467c9f] {
144
144
  font-size: 16px;
145
145
  line-height: 24px;
146
146
  }
147
147
  }
148
148
  @media (max-width: 600px) {
149
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
149
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-12467c9f] {
150
150
  font-size: 16px;
151
151
  line-height: 24px;
152
152
  }
153
153
  }
154
- .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
154
+ .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-12467c9f] {
155
155
  color: var(--o-color-info3);
156
156
  font-size: 14px;
157
157
  line-height: 22px;
158
158
  }
159
159
  @media (min-width: 1201px) and (max-width: 1680px) {
160
- .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
160
+ .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-12467c9f] {
161
161
  font-size: 14px;
162
162
  line-height: 18px;
163
163
  }
164
164
  }
165
165
  @media (min-width: 841px) and (max-width: 1200px) {
166
- .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
166
+ .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-12467c9f] {
167
167
  font-size: 12px;
168
168
  line-height: 18px;
169
169
  }
170
170
  }
171
171
  @media (min-width: 601px) and (max-width: 840px) {
172
- .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
172
+ .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-12467c9f] {
173
173
  font-size: 12px;
174
174
  line-height: 18px;
175
175
  }
176
176
  }
177
177
  @media (max-width: 600px) {
178
- .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
178
+ .o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-12467c9f] {
179
179
  font-size: 12px;
180
180
  line-height: 18px;
181
181
  }
182
182
  }
183
- .o-doc-title .o-doc-title-actions .o-doc-title-actions-left[data-v-ea84d56c] {
183
+ .o-doc-title .o-doc-title-actions .o-doc-title-actions-left[data-v-12467c9f] {
184
184
  display: flex;
185
185
  align-items: center;
186
186
  gap: 12px;
187
187
  }
188
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-ea84d56c],
189
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-ea84d56c],
190
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-ea84d56c] {
188
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-12467c9f],
189
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-12467c9f],
190
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-12467c9f] {
191
191
  font-size: 24px;
192
192
  cursor: pointer;
193
193
  }
194
194
  @media (hover: hover) {
195
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-ea84d56c]:hover,
196
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-ea84d56c]:hover,
197
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-ea84d56c]:hover {
195
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-12467c9f]:hover,
196
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-12467c9f]:hover,
197
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-12467c9f]:hover {
198
198
  color: var(--o-color-info1);
199
199
  }
200
200
  }
201
201
  @media (max-width: 1680px) {
202
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-ea84d56c],
203
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-ea84d56c],
204
- .o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-ea84d56c] {
202
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-12467c9f],
203
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-12467c9f],
204
+ .o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-12467c9f] {
205
205
  font-size: 20px;
206
206
  }
207
207
  }
208
- .o-doc-title.is-simple[data-v-ea84d56c] {
208
+ .o-doc-title.is-simple[data-v-12467c9f] {
209
209
  padding: 0;
210
210
  background-image: none;
211
211
  background-color: var(--o-color-fill2);
212
212
  }
213
213
  @media (max-width: 840px) {
214
- .o-doc-title.first-h1[data-v-ea84d56c] {
214
+ .o-doc-title.first-h1[data-v-12467c9f] {
215
215
  display: flex;
216
216
  justify-content: space-between;
217
217
  align-items: center;
218
218
  }
219
219
  }
220
- .o-doc-title-dlg-action-box-container[data-v-ea84d56c] {
220
+ .o-doc-title-dlg-action-box-container[data-v-12467c9f] {
221
221
  display: flex;
222
222
  flex-wrap: wrap;
223
223
  justify-content: flex-start;
224
224
  column-gap: 8px;
225
225
  row-gap: 24px;
226
226
  }
227
- .o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box[data-v-ea84d56c] {
227
+ .o-doc-title-dlg-action-box-container.is-center[data-v-12467c9f] {
228
+ justify-content: center;
229
+ }
230
+ .o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box[data-v-12467c9f] {
228
231
  flex: 0 0 calc(33.333% - 8px);
229
232
  align-items: center;
230
233
  display: flex;
231
234
  flex-direction: column;
232
235
  }
233
- .o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-icon[data-v-ea84d56c] {
236
+ .o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-icon[data-v-12467c9f] {
234
237
  display: flex;
235
238
  justify-content: center;
236
239
  align-items: center;
@@ -240,7 +243,7 @@
240
243
  border-radius: 50%;
241
244
  font-size: 24px;
242
245
  }
243
- .o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-label[data-v-ea84d56c] {
246
+ .o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-label[data-v-12467c9f] {
244
247
  margin-top: 8px;
245
248
  color: var(--o-color-info1);
246
249
  }
@@ -1,6 +1,6 @@
1
1
  import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
2
2
  import OArticleAnchor_vue_vue_type_script_setup_true_lang_default from "./OArticleAnchor.vue_vue_type_script_setup_true_lang.mjs";
3
- import './OArticleAnchor.vue_vue_type_style_index_0_scoped_6e032ecb_lang.css';
3
+ import './OArticleAnchor.vue_vue_type_style_index_0_scoped_dcc5e0d5_lang.css';
4
4
  // src/components/article-anchor/OArticleAnchor.vue
5
- var OArticleAnchor_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OArticleAnchor_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-6e032ecb"]]);
5
+ var OArticleAnchor_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OArticleAnchor_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-dcc5e0d5"]]);
6
6
  export { OArticleAnchor_default as default };
@@ -2,18 +2,155 @@ import { ArticleAnchorItemT, ArticleAnchorPropsT } from './types';
2
2
  declare const _default: import('vue').DefineComponent<ArticleAnchorPropsT, {
3
3
  collect: () => void;
4
4
  items: import('vue').ComputedRef<ArticleAnchorItemT[]>;
5
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ArticleAnchorPropsT> & Readonly<{}>, {
5
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ change: (link: string) => any;
7
+ click: (ev: MouseEvent, link?: string | undefined) => any;
8
+ }, string, import('vue').PublicProps, Readonly<ArticleAnchorPropsT> & Readonly<{
9
+ onChange?: ((link: string) => any) | undefined;
10
+ onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
11
+ }>, {
6
12
  size: "pc" | "pad" | "mobile";
7
13
  items: ArticleAnchorItemT[];
14
+ bounds: number;
15
+ changeHash: boolean;
8
16
  radius: string;
9
17
  showTitle: boolean;
10
18
  selector: string | HTMLElement;
11
19
  autoExtract: boolean;
12
20
  maxLevel: number;
13
21
  writeId: boolean;
22
+ idPrefix: string;
14
23
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
24
  pcSlotRef: HTMLDivElement;
16
25
  padSlotRef: HTMLDivElement;
17
26
  hiddenSlotRef: HTMLDivElement;
27
+ anchorRef: ({
28
+ $: import('vue').ComponentInternalInstance;
29
+ $data: {};
30
+ $props: Partial<{
31
+ size: "medium" | "small" | "menu";
32
+ layout: "h" | "v";
33
+ bounds: number;
34
+ targetOffset: number;
35
+ changeHash: boolean;
36
+ }> & Omit<{
37
+ readonly size: "small" | "medium" | "menu";
38
+ readonly layout: "v" | "h";
39
+ readonly targetOffset: number;
40
+ readonly bounds: number;
41
+ readonly changeHash: boolean;
42
+ readonly container?: string | Window | HTMLElement | undefined;
43
+ readonly onChange?: ((link: string) => any) | undefined | undefined;
44
+ readonly onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined | undefined;
45
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "layout" | "targetOffset" | "bounds" | "changeHash">;
46
+ $attrs: import('vue').Attrs;
47
+ $refs: {
48
+ [x: string]: unknown;
49
+ } & {
50
+ anchorRef: HTMLDivElement;
51
+ anchorItemsRef: HTMLDivElement;
52
+ };
53
+ $slots: Readonly<{
54
+ [name: string]: import('vue').Slot<any> | undefined;
55
+ }>;
56
+ $root: import('vue').ComponentPublicInstance | null;
57
+ $parent: import('vue').ComponentPublicInstance | null;
58
+ $host: Element | null;
59
+ $emit: ((event: "change", link: string) => void) & ((event: "click", ev: MouseEvent, link?: string | undefined) => void);
60
+ $el: HTMLDivElement;
61
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
62
+ layout: {
63
+ type: import('vue').PropType<import('@opensig/opendesign').AnchorDirectionT>;
64
+ default: string;
65
+ };
66
+ size: {
67
+ type: import('vue').PropType<import('@opensig/opendesign').AnchorSizeT>;
68
+ default: string;
69
+ };
70
+ container: {
71
+ type: import('vue').PropType<string | HTMLElement | Window>;
72
+ };
73
+ bounds: {
74
+ type: NumberConstructor;
75
+ default: number;
76
+ };
77
+ targetOffset: {
78
+ type: NumberConstructor;
79
+ default: number;
80
+ };
81
+ changeHash: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ }>> & Readonly<{
86
+ onChange?: ((link: string) => any) | undefined;
87
+ onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
88
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
89
+ change: (link: string) => any;
90
+ click: (ev: MouseEvent, link?: string | undefined) => any;
91
+ }, string, {
92
+ size: "medium" | "small" | "menu";
93
+ layout: "h" | "v";
94
+ bounds: number;
95
+ targetOffset: number;
96
+ changeHash: boolean;
97
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
98
+ beforeCreate?: (() => void) | (() => void)[];
99
+ created?: (() => void) | (() => void)[];
100
+ beforeMount?: (() => void) | (() => void)[];
101
+ mounted?: (() => void) | (() => void)[];
102
+ beforeUpdate?: (() => void) | (() => void)[];
103
+ updated?: (() => void) | (() => void)[];
104
+ activated?: (() => void) | (() => void)[];
105
+ deactivated?: (() => void) | (() => void)[];
106
+ beforeDestroy?: (() => void) | (() => void)[];
107
+ beforeUnmount?: (() => void) | (() => void)[];
108
+ destroyed?: (() => void) | (() => void)[];
109
+ unmounted?: (() => void) | (() => void)[];
110
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
111
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
112
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
113
+ };
114
+ $forceUpdate: () => void;
115
+ $nextTick: typeof import('vue').nextTick;
116
+ $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').WatchOptions): import('vue').WatchStopHandle;
117
+ } & Readonly<{
118
+ size: "medium" | "small" | "menu";
119
+ layout: "h" | "v";
120
+ bounds: number;
121
+ targetOffset: number;
122
+ changeHash: boolean;
123
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
124
+ layout: {
125
+ type: import('vue').PropType<import('@opensig/opendesign').AnchorDirectionT>;
126
+ default: string;
127
+ };
128
+ size: {
129
+ type: import('vue').PropType<import('@opensig/opendesign').AnchorSizeT>;
130
+ default: string;
131
+ };
132
+ container: {
133
+ type: import('vue').PropType<string | HTMLElement | Window>;
134
+ };
135
+ bounds: {
136
+ type: NumberConstructor;
137
+ default: number;
138
+ };
139
+ targetOffset: {
140
+ type: NumberConstructor;
141
+ default: number;
142
+ };
143
+ changeHash: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ }>> & Readonly<{
148
+ onChange?: ((link: string) => any) | undefined;
149
+ onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
150
+ }>, "size" | "layout" | "targetOffset" | "bounds" | "changeHash"> & {} & import('vue').ComponentCustomProperties & {} & {
151
+ $slots: {
152
+ default?(_: {}): any;
153
+ };
154
+ }) | null;
18
155
  }, any>;
19
156
  export default _default;