@opendesign-plus/components 0.0.1-rc.77 → 0.0.1-rc.79

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 (93) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +37 -13
  3. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +29 -0
  4. package/dist/components/anchor-bar/index.d.ts +45 -0
  5. package/dist/components/anchor-bar/types.d.ts +20 -0
  6. package/dist/components/brand/OBrandFile.vue.d.ts +5 -0
  7. package/dist/components/brand/OBrandLogo.vue.d.ts +6 -0
  8. package/dist/components/brand/OBrandStandard.vue.d.ts +3 -0
  9. package/dist/components/brand/index.d.ts +63 -0
  10. package/dist/components/brand/types.d.ts +60 -0
  11. package/dist/components/brand/utils.d.ts +3 -0
  12. package/dist/components/meeting/OMeetingMinutes.vue.d.ts +1 -0
  13. package/dist/components/meeting/OMeetingMinutesCopyDetail.vue.d.ts +7 -0
  14. package/dist/components/meeting/OMeetingSendMinutesForm.vue.d.ts +144 -0
  15. package/dist/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +158 -1
  16. package/dist/components/meeting/index.d.ts +203 -1
  17. package/dist/components/meeting/types.d.ts +2 -0
  18. package/dist/components/org/OOrgDesc.vue.d.ts +22 -0
  19. package/dist/components/org/OOrgMembers.vue.d.ts +5 -0
  20. package/dist/components/org/index.d.ts +55 -0
  21. package/dist/components/org/types.d.ts +19 -0
  22. package/dist/components.cjs.js +36 -36
  23. package/dist/components.css +1 -1
  24. package/dist/components.es.js +10988 -10426
  25. package/dist/index.d.ts +3 -0
  26. package/dist/treeshaking/_virtual/icon-email.mjs +21 -0
  27. package/dist/treeshaking/components/anchor-bar/OAnchorBar.css +138 -0
  28. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +29 -0
  29. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.mjs +7 -0
  30. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue2.mjs +103 -0
  31. package/dist/treeshaking/components/anchor-bar/index.d.ts +45 -0
  32. package/dist/treeshaking/components/anchor-bar/index.mjs +9 -0
  33. package/dist/treeshaking/components/anchor-bar/types.d.ts +20 -0
  34. package/dist/treeshaking/components/brand/OBrandFile.css +65 -0
  35. package/dist/treeshaking/components/brand/OBrandFile.vue.d.ts +5 -0
  36. package/dist/treeshaking/components/brand/OBrandFile.vue.mjs +7 -0
  37. package/dist/treeshaking/components/brand/OBrandFile.vue2.mjs +70 -0
  38. package/dist/treeshaking/components/brand/OBrandLogo.css +99 -0
  39. package/dist/treeshaking/components/brand/OBrandLogo.vue.d.ts +6 -0
  40. package/dist/treeshaking/components/brand/OBrandLogo.vue.mjs +8 -0
  41. package/dist/treeshaking/components/brand/OBrandLogo.vue2.mjs +120 -0
  42. package/dist/treeshaking/components/{meeting/components/OMeetingSendMinutesDialog2.css → brand/OBrandLogo2.css} +2 -2
  43. package/dist/treeshaking/components/brand/OBrandStandard.css +120 -0
  44. package/dist/treeshaking/components/brand/OBrandStandard.vue.d.ts +3 -0
  45. package/dist/treeshaking/components/brand/OBrandStandard.vue.mjs +7 -0
  46. package/dist/treeshaking/components/brand/OBrandStandard.vue2.mjs +59 -0
  47. package/dist/treeshaking/components/brand/index.d.ts +63 -0
  48. package/dist/treeshaking/components/brand/index.mjs +23 -0
  49. package/dist/treeshaking/components/brand/types.d.ts +60 -0
  50. package/dist/treeshaking/components/brand/utils.d.ts +3 -0
  51. package/dist/treeshaking/components/brand/utils.mjs +28 -0
  52. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +5 -5
  53. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +1 -1
  54. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +1 -1
  55. package/dist/treeshaking/components/meeting/OMeetingMinutes.css +142 -365
  56. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +1 -0
  57. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +228 -210
  58. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.css +95 -0
  59. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.d.ts +7 -0
  60. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.mjs +7 -0
  61. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue2.mjs +74 -0
  62. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.css +257 -0
  63. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.d.ts +144 -0
  64. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.mjs +221 -0
  65. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue3.mjs +5 -0
  66. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +4 -266
  67. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +158 -1
  68. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -2
  69. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue2.mjs +54 -186
  70. package/dist/treeshaking/components/meeting/index.d.ts +203 -1
  71. package/dist/treeshaking/components/meeting/index.mjs +18 -3
  72. package/dist/treeshaking/components/meeting/types.d.ts +2 -0
  73. package/dist/treeshaking/components/org/OOrgDesc.css +107 -0
  74. package/dist/treeshaking/components/org/OOrgDesc.vue.d.ts +22 -0
  75. package/dist/treeshaking/components/org/OOrgDesc.vue.mjs +7 -0
  76. package/dist/treeshaking/components/org/OOrgDesc.vue2.mjs +40 -0
  77. package/dist/treeshaking/components/org/OOrgMembers.css +234 -0
  78. package/dist/treeshaking/components/org/OOrgMembers.vue.d.ts +5 -0
  79. package/dist/treeshaking/components/org/OOrgMembers.vue.mjs +7 -0
  80. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +108 -0
  81. package/dist/treeshaking/components/org/index.d.ts +55 -0
  82. package/dist/treeshaking/components/org/index.mjs +16 -0
  83. package/dist/treeshaking/components/org/types.d.ts +19 -0
  84. package/dist/treeshaking/components/summit/OSummitLive.css +20 -20
  85. package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
  86. package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +1 -1
  87. package/dist/treeshaking/i18n/en.mjs +13 -1
  88. package/dist/treeshaking/i18n/zh.mjs +13 -1
  89. package/dist/treeshaking/index.d.ts +3 -0
  90. package/dist/treeshaking/index.mjs +12 -1
  91. package/dist/treeshaking/shared/anchor.mjs +9 -0
  92. package/package.json +4 -4
  93. package/dist/treeshaking/_virtual/icon-edit.mjs +0 -17
@@ -0,0 +1,120 @@
1
+ import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock, normalizeClass, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
+ import { ORow, OCol, OCard, ODropdown, OButton, OIcon, OIconChevronDown, ODropdownItem } from "@opensig/opendesign";
3
+ import { useI18n } from "../../i18n/index.mjs";
4
+ import { useBrandDownload } from "./utils.mjs";
5
+ const _hoisted_1 = { class: "o-brand-logo" };
6
+ const _hoisted_2 = { class: "o-brand-logo-btn" };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "OBrandLogo",
9
+ props: {
10
+ list: { default: () => [] },
11
+ formats: { default: () => ["JPG", "PNG", "SVG"] }
12
+ },
13
+ setup(__props) {
14
+ const props = __props;
15
+ const { t } = useI18n();
16
+ const { downloadByUrl } = useBrandDownload();
17
+ const resolveFormats = (item) => {
18
+ var _a;
19
+ if ((_a = item.formats) == null ? void 0 : _a.length) {
20
+ return item.formats;
21
+ }
22
+ return props.formats.map((label) => {
23
+ const url = item[label.toLowerCase()];
24
+ if (!url) {
25
+ return null;
26
+ }
27
+ return { label, url, filename: `${item.title}.${label.toLowerCase()}` };
28
+ }).filter((format) => format !== null);
29
+ };
30
+ const getCover = (item) => {
31
+ var _a, _b;
32
+ return item.cover || item.png || ((_b = (_a = item.formats) == null ? void 0 : _a[0]) == null ? void 0 : _b.url);
33
+ };
34
+ const downloadLogo = (item, format) => {
35
+ downloadByUrl(format.url, format.filename || `${item.title}.${format.label.toLowerCase()}`);
36
+ };
37
+ return (_ctx, _cache) => {
38
+ return openBlock(), createElementBlock("div", _hoisted_1, [
39
+ createVNode(unref(ORow), null, {
40
+ default: withCtx(() => [
41
+ (openBlock(true), createElementBlock(Fragment, null, renderList(props.list, (item, index) => {
42
+ return openBlock(), createBlock(unref(OCol), {
43
+ key: index,
44
+ flex: "0 1 33.33%",
45
+ laptop: { flex: "0 1 33.33%" },
46
+ pad: { flex: "0 1 33.33%" },
47
+ "pad-v": { flex: "0 1 50%" },
48
+ phone: { flex: "0 1 100%" }
49
+ }, {
50
+ default: withCtx(() => [
51
+ createVNode(unref(OCard), {
52
+ title: item.title,
53
+ cover: getCover(item),
54
+ "cover-fit": "contain",
55
+ class: normalizeClass(["o-brand-logo-card", item.coverClass])
56
+ }, {
57
+ default: withCtx(() => [
58
+ createElementVNode("div", _hoisted_2, [
59
+ createVNode(unref(ODropdown), {
60
+ trigger: "hover",
61
+ optionPosition: "bottom",
62
+ optionWrapClass: "o-brand-logo-dropdown"
63
+ }, {
64
+ dropdown: withCtx(() => [
65
+ (openBlock(true), createElementBlock(Fragment, null, renderList(resolveFormats(item), (format) => {
66
+ return openBlock(), createBlock(unref(ODropdownItem), {
67
+ key: format.label,
68
+ size: "large",
69
+ color: "primary",
70
+ variant: "text",
71
+ onClick: ($event) => downloadLogo(item, format)
72
+ }, {
73
+ default: withCtx(() => [
74
+ createTextVNode(toDisplayString(unref(t)("brand.download")) + toDisplayString(format.label), 1)
75
+ ]),
76
+ _: 2
77
+ }, 1032, ["onClick"]);
78
+ }), 128))
79
+ ]),
80
+ default: withCtx(() => [
81
+ createVNode(unref(OButton), {
82
+ color: "primary",
83
+ variant: "outline",
84
+ size: "large",
85
+ round: "pill"
86
+ }, {
87
+ suffix: withCtx(() => [
88
+ createVNode(unref(OIcon), null, {
89
+ default: withCtx(() => [
90
+ createVNode(unref(OIconChevronDown))
91
+ ]),
92
+ _: 1
93
+ })
94
+ ]),
95
+ default: withCtx(() => [
96
+ createTextVNode(toDisplayString(unref(t)("brand.download")) + " ", 1)
97
+ ]),
98
+ _: 1
99
+ })
100
+ ]),
101
+ _: 2
102
+ }, 1024)
103
+ ])
104
+ ]),
105
+ _: 2
106
+ }, 1032, ["title", "cover", "class"])
107
+ ]),
108
+ _: 2
109
+ }, 1024);
110
+ }), 128))
111
+ ]),
112
+ _: 1
113
+ })
114
+ ]);
115
+ };
116
+ }
117
+ });
118
+ export {
119
+ _sfc_main as default
120
+ };
@@ -6,6 +6,6 @@
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-meeting-send-minutes-dialog {
10
- --dlg-radius: var(--o-radius-xs);
9
+ .o-brand-logo-dropdown .o-dropdown-item {
10
+ --dropdown-item-justify: flex-start;
11
11
  }
@@ -0,0 +1,120 @@
1
+ .hover-icon-rotate .o-icon[data-v-8570ed6e] {
2
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
+ }
4
+ @media (hover: hover) {
5
+ .hover-icon-rotate:hover .o-icon[data-v-8570ed6e] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-brand-standard[data-v-8570ed6e] {
10
+ --card-main-padding: var(--o-gap-7) var(--o-gap-6);
11
+ }
12
+ @media (max-width: 1680px) {
13
+ .o-brand-standard[data-v-8570ed6e] {
14
+ --card-main-padding: var(--o-gap-5);
15
+ }
16
+ }
17
+ @media (min-width: ) {
18
+ .o-brand-standard[data-v-8570ed6e] {
19
+ --card-main-padding: var(--o-gap-4);
20
+ }
21
+ }
22
+ @media (max-width: 840px) {
23
+ .o-brand-standard[data-v-8570ed6e] {
24
+ --card-main-padding: var(--o-gap-3);
25
+ }
26
+ }
27
+ .o-brand-standard .o-brand-standard-content[data-v-8570ed6e] {
28
+ color: var(--o-color-info1);
29
+ font-weight: 400;
30
+ font-size: 18px;
31
+ line-height: 26px;
32
+ }
33
+ @media (min-width: 1201px) and (max-width: 1680px) {
34
+ .o-brand-standard .o-brand-standard-content[data-v-8570ed6e] {
35
+ font-size: 16px;
36
+ line-height: 24px;
37
+ }
38
+ }
39
+ @media (min-width: 841px) and (max-width: 1200px) {
40
+ .o-brand-standard .o-brand-standard-content[data-v-8570ed6e] {
41
+ font-size: 14px;
42
+ line-height: 22px;
43
+ }
44
+ }
45
+ @media (min-width: 601px) and (max-width: 840px) {
46
+ .o-brand-standard .o-brand-standard-content[data-v-8570ed6e] {
47
+ font-size: 14px;
48
+ line-height: 22px;
49
+ }
50
+ }
51
+ @media (max-width: 600px) {
52
+ .o-brand-standard .o-brand-standard-content[data-v-8570ed6e] {
53
+ font-size: 14px;
54
+ line-height: 22px;
55
+ }
56
+ }
57
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line + .o-brand-standard-line[data-v-8570ed6e] {
58
+ margin-top: var(--o-gap-3);
59
+ }
60
+ @media (max-width: 1680px) {
61
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line + .o-brand-standard-line[data-v-8570ed6e] {
62
+ margin-top: var(--o-gap-2);
63
+ }
64
+ }
65
+ @media (max-width: 840px) {
66
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line + .o-brand-standard-line[data-v-8570ed6e] {
67
+ margin-top: var(--o-gap-3);
68
+ }
69
+ }
70
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line + .o-brand-standard-line.more-gap[data-v-8570ed6e] {
71
+ margin-top: var(--o-gap-4);
72
+ }
73
+ @media (max-width: 1680px) {
74
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line + .o-brand-standard-line.more-gap[data-v-8570ed6e] {
75
+ margin-top: var(--o-gap-3);
76
+ }
77
+ }
78
+ @media (min-width: ) {
79
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line + .o-brand-standard-line.more-gap[data-v-8570ed6e] {
80
+ margin-top: var(--o-gap-2);
81
+ }
82
+ }
83
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-line.none-gap[data-v-8570ed6e] {
84
+ margin-top: 0;
85
+ }
86
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-code[data-v-8570ed6e] {
87
+ display: inline-block;
88
+ width: 1em;
89
+ }
90
+ .o-brand-standard .o-brand-standard-content .o-brand-standard-strong[data-v-8570ed6e] {
91
+ font-weight: 500;
92
+ }
93
+ .o-brand-standard .o-brand-standard-img[data-v-8570ed6e] {
94
+ margin-top: var(--o-gap-5);
95
+ display: flex;
96
+ align-items: center;
97
+ justify-content: center;
98
+ }
99
+ @media (max-width: 1680px) {
100
+ .o-brand-standard .o-brand-standard-img[data-v-8570ed6e] {
101
+ margin-top: var(--o-gap-4);
102
+ }
103
+ }
104
+ @media (min-width: ) {
105
+ .o-brand-standard .o-brand-standard-img[data-v-8570ed6e] {
106
+ margin-top: var(--o-gap-3);
107
+ }
108
+ }
109
+ .o-brand-standard .o-brand-standard-img .o-brand-standard-img-light[data-v-8570ed6e] {
110
+ display: block;
111
+ }
112
+ .o-brand-standard .o-brand-standard-img .o-brand-standard-img-dark[data-v-8570ed6e] {
113
+ display: none;
114
+ }
115
+ .o-brand-standard .o-brand-standard-img [data-o-theme*=dark] .o-brand-standard-img-light[data-v-8570ed6e] {
116
+ display: none;
117
+ }
118
+ .o-brand-standard .o-brand-standard-img [data-o-theme*=dark] .o-brand-standard-img-dark[data-v-8570ed6e] {
119
+ display: block;
120
+ }
@@ -0,0 +1,3 @@
1
+ import { BrandStandardPropsT } from './types';
2
+ declare const _default: import('vue').DefineComponent<BrandStandardPropsT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./OBrandStandard.vue2.mjs";
2
+ import './OBrandStandard.css';
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _OBrandStandard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8570ed6e"]]);
5
+ export {
6
+ _OBrandStandard as default
7
+ };
@@ -0,0 +1,59 @@
1
+ import { defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode } from "vue";
2
+ import { OCard, OFigure } from "@opensig/opendesign";
3
+ const _hoisted_1 = { class: "o-brand-standard-content" };
4
+ const _hoisted_2 = {
5
+ key: 0,
6
+ class: "o-brand-standard-code"
7
+ };
8
+ const _hoisted_3 = {
9
+ key: 1,
10
+ class: "o-brand-standard-strong"
11
+ };
12
+ const _hoisted_4 = { key: 2 };
13
+ const _hoisted_5 = {
14
+ key: 0,
15
+ class: "o-brand-standard-img"
16
+ };
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ __name: "OBrandStandard",
19
+ props: {
20
+ item: {}
21
+ },
22
+ setup(__props) {
23
+ const props = __props;
24
+ return (_ctx, _cache) => {
25
+ return openBlock(), createBlock(unref(OCard), { class: "o-brand-standard" }, {
26
+ default: withCtx(() => [
27
+ createElementVNode("div", _hoisted_1, [
28
+ (openBlock(true), createElementBlock(Fragment, null, renderList(props.item.descs, (line, index) => {
29
+ return openBlock(), createElementBlock("div", {
30
+ key: index,
31
+ class: normalizeClass(["o-brand-standard-line", { "more-gap": line.gap === "more", "none-gap": line.gap === "none" }])
32
+ }, [
33
+ line.code ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(line.code), 1)) : createCommentVNode("", true),
34
+ line.titleText ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(line.titleText), 1)) : createCommentVNode("", true),
35
+ line.text ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(line.text), 1)) : createCommentVNode("", true)
36
+ ], 2);
37
+ }), 128))
38
+ ]),
39
+ props.item.image || props.item.imageDark ? (openBlock(), createElementBlock("div", _hoisted_5, [
40
+ props.item.image ? (openBlock(), createBlock(unref(OFigure), {
41
+ key: 0,
42
+ class: "o-brand-standard-img-light",
43
+ src: props.item.image
44
+ }, null, 8, ["src"])) : createCommentVNode("", true),
45
+ props.item.imageDark ? (openBlock(), createBlock(unref(OFigure), {
46
+ key: 1,
47
+ class: "o-brand-standard-img-dark",
48
+ src: props.item.imageDark
49
+ }, null, 8, ["src"])) : createCommentVNode("", true)
50
+ ])) : createCommentVNode("", true)
51
+ ]),
52
+ _: 1
53
+ });
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ _sfc_main as default
59
+ };
@@ -0,0 +1,63 @@
1
+ import { App } from 'vue';
2
+ declare const OBrandLogo: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
+ list: import('./types').BrandLogoItemT[];
5
+ formats: string[];
6
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
7
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, Readonly<import('./types').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, {
14
+ list: import('./types').BrandLogoItemT[];
15
+ formats: string[];
16
+ }>;
17
+ __isFragment?: never;
18
+ __isTeleport?: never;
19
+ __isSuspense?: never;
20
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
21
+ list: import('./types').BrandLogoItemT[];
22
+ formats: string[];
23
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
24
+ install(app: App): void;
25
+ };
26
+ declare const OBrandFile: {
27
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
28
+ list: import('./types').BrandFileItemT[];
29
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
30
+ P: {};
31
+ B: {};
32
+ D: {};
33
+ C: {};
34
+ M: {};
35
+ Defaults: {};
36
+ }, Readonly<import('./types').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, {
37
+ list: import('./types').BrandFileItemT[];
38
+ }>;
39
+ __isFragment?: never;
40
+ __isTeleport?: never;
41
+ __isSuspense?: never;
42
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
43
+ list: import('./types').BrandFileItemT[];
44
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
45
+ install(app: App): void;
46
+ };
47
+ declare const OBrandStandard: {
48
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
49
+ P: {};
50
+ B: {};
51
+ D: {};
52
+ C: {};
53
+ M: {};
54
+ Defaults: {};
55
+ }, Readonly<import('./types').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
56
+ __isFragment?: never;
57
+ __isTeleport?: never;
58
+ __isSuspense?: never;
59
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
60
+ install(app: App): void;
61
+ };
62
+ export { OBrandLogo, OBrandFile, OBrandStandard };
63
+ export * from './types';
@@ -0,0 +1,23 @@
1
+ import _OBrandLogo from "./OBrandLogo.vue.mjs";
2
+ import _OBrandFile from "./OBrandFile.vue.mjs";
3
+ import _OBrandStandard from "./OBrandStandard.vue.mjs";
4
+ const OBrandLogo = Object.assign(_OBrandLogo, {
5
+ install(app) {
6
+ app.component("OBrandLogo", _OBrandLogo);
7
+ }
8
+ });
9
+ const OBrandFile = Object.assign(_OBrandFile, {
10
+ install(app) {
11
+ app.component("OBrandFile", _OBrandFile);
12
+ }
13
+ });
14
+ const OBrandStandard = Object.assign(_OBrandStandard, {
15
+ install(app) {
16
+ app.component("OBrandStandard", _OBrandStandard);
17
+ }
18
+ });
19
+ export {
20
+ OBrandFile,
21
+ OBrandLogo,
22
+ OBrandStandard
23
+ };
@@ -0,0 +1,60 @@
1
+ export type BrandFormatLabelT = string;
2
+ export interface BrandLogoFormatT {
3
+ /** 格式展示名(如 JPG / PNG / SVG / AI) */
4
+ label: string;
5
+ /** 下载地址 */
6
+ url: string;
7
+ /** 下载文件名;缺省用 `${title}.${label小写}` */
8
+ filename?: string;
9
+ }
10
+ export interface BrandLogoItemT {
11
+ title: string;
12
+ /** 封面图(默认用 png 字段或 formats 第一项) */
13
+ cover?: string;
14
+ /** 自描述格式列表;未传时 fallback 到组件级 formats prop + item[lower(label)] 动态字段 */
15
+ formats?: BrandLogoFormatT[];
16
+ /** 附加到 OCard 上的 class,供调用者深度定制(如黑底 logo 卡) */
17
+ coverClass?: string;
18
+ [key: string]: unknown;
19
+ }
20
+ export interface BrandFileItemT {
21
+ title: string;
22
+ /** 封面图 */
23
+ cover?: string;
24
+ /** 附件下载地址 */
25
+ file: string;
26
+ /** 下载文件名;缺省取 file 的 basename */
27
+ filename?: string;
28
+ /** 附加到 OCard 上的 class */
29
+ coverClass?: string;
30
+ [key: string]: unknown;
31
+ }
32
+ export interface BrandLogoPropsT {
33
+ list: BrandLogoItemT[];
34
+ /** 默认格式列表;item.formats 未传时生效 */
35
+ formats?: string[];
36
+ }
37
+ export interface BrandFilePropsT {
38
+ list: BrandFileItemT[];
39
+ }
40
+ export interface BrandStandardLineT {
41
+ /** 加粗前缀(与 text 同行);只传它不传 text 即独立标题行 */
42
+ titleText?: string;
43
+ /** 行主文本 */
44
+ text?: string;
45
+ /** 行首 1em 缩进占位(如 A. / B.,用于枚举对齐) */
46
+ code?: string;
47
+ /** 与上一行的间距:more 更大 / none 无;缺省为默认间距 */
48
+ gap?: 'more' | 'none';
49
+ }
50
+ export interface BrandStandardItemT {
51
+ /** 描述行数组 */
52
+ descs: BrandStandardLineT[];
53
+ /** 配图(底部居中展示) */
54
+ image?: string;
55
+ /** 暗色主题配图(与 image 成对使用,暗色主题下替换显示) */
56
+ imageDark?: string;
57
+ }
58
+ export interface BrandStandardPropsT {
59
+ item: BrandStandardItemT;
60
+ }
@@ -0,0 +1,3 @@
1
+ export declare function useBrandDownload(): {
2
+ downloadByUrl: (url: string, filename: string) => Promise<void>;
3
+ };
@@ -0,0 +1,28 @@
1
+ import { useMessage } from "@opensig/opendesign";
2
+ import { useI18n } from "../../i18n/index.mjs";
3
+ function useBrandDownload() {
4
+ const { t } = useI18n();
5
+ const message = useMessage();
6
+ const downloadByUrl = async (url, filename) => {
7
+ try {
8
+ const response = await fetch(url);
9
+ const blob = await response.blob();
10
+ const blobUrl = URL.createObjectURL(blob);
11
+ const a = document.createElement("a");
12
+ a.href = blobUrl;
13
+ a.download = filename;
14
+ document.body.appendChild(a);
15
+ a.click();
16
+ document.body.removeChild(a);
17
+ URL.revokeObjectURL(blobUrl);
18
+ } catch {
19
+ message.danger({
20
+ content: t("brand.downloadFail")
21
+ });
22
+ }
23
+ };
24
+ return { downloadByUrl };
25
+ }
26
+ export {
27
+ useBrandDownload
28
+ };
@@ -1,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-8badb8f3] {
1
+ .hover-icon-rotate .o-icon[data-v-a8f7d8ef] {
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-8badb8f3] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-a8f7d8ef] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-feedback-doc-wrap[data-v-8badb8f3] {
9
+ .o-feedback-doc-wrap[data-v-a8f7d8ef] {
10
10
  display: inline-flex;
11
11
  align-items: center;
12
12
  justify-content: center;
@@ -14,10 +14,10 @@
14
14
  cursor: pointer;
15
15
  }
16
16
  @media (hover: hover) {
17
- .o-feedback-doc-wrap[data-v-8badb8f3]:hover {
17
+ .o-feedback-doc-wrap[data-v-a8f7d8ef]:hover {
18
18
  color: var(--o-color-primary1);
19
19
  }
20
20
  }
21
- .o-feedback-doc-wrap .o-feedback-icon-smile[data-v-8badb8f3] {
21
+ .o-feedback-doc-wrap .o-feedback-icon-smile[data-v-a8f7d8ef] {
22
22
  font-size: 24px;
23
23
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OFeedbackDoc.vue2.mjs";
2
2
  import './OFeedbackDoc.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OFeedbackDoc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8badb8f3"]]);
4
+ const _OFeedbackDoc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a8f7d8ef"]]);
5
5
  export {
6
6
  _OFeedbackDoc as default
7
7
  };
@@ -493,7 +493,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
493
493
  createElementVNode("div", _hoisted_10, [
494
494
  createElementVNode("div", _hoisted_11, [
495
495
  createTextVNode(toDisplayString(unref(t)("meeting.latestMeeting")) + "  ", 1),
496
- createElementVNode("span", null, toDisplayString(unref(formatDate)(unref(dayjs)(latestDay.value))), 1)
496
+ createElementVNode("span", null, toDisplayString(latestDay.value ? latestDay.value : unref(formatDate)()), 1)
497
497
  ]),
498
498
  createElementVNode("div", _hoisted_12, [
499
499
  createElementVNode("div", _hoisted_13, [