@opendesign-plus-test/components 0.0.1-rc.169 → 0.0.1-rc.171

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 (161) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +24 -40
  3. package/dist/components/activity/OActivityApproval.vue.d.ts +19 -169
  4. package/dist/components/activity/OActivityForm.vue.d.ts +19 -169
  5. package/dist/components/activity/OActivityMyCalendar.vue.d.ts +10 -18
  6. package/dist/components/activity/index.d.ts +52 -356
  7. package/dist/components/banner/index.d.ts +6 -6
  8. package/dist/components/events/index.d.ts +20 -20
  9. package/dist/components/footer/index.d.ts +3 -3
  10. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  11. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  12. package/dist/components/header/index.d.ts +28 -28
  13. package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
  14. package/dist/components/header-language-switcher/index.d.ts +3 -3
  15. package/dist/components/header-search/OHeaderSearch.vue.d.ts +35 -43
  16. package/dist/components/header-search/index.d.ts +33 -37
  17. package/dist/components/logo-swiper/index.d.ts +11 -11
  18. package/dist/components/meeting/OMeetingForm.vue.d.ts +19 -169
  19. package/dist/components/meeting/OMeetingMinutes.vue.d.ts +11 -18
  20. package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +10 -18
  21. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  22. package/dist/components/meeting/OMeetingSendMinutesForm.vue.d.ts +127 -1
  23. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  24. package/dist/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +127 -1
  25. package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +5 -9
  26. package/dist/components/meeting/composables/useMeetingConfig.d.ts +1 -1
  27. package/dist/components/meeting/index.d.ts +202 -233
  28. package/dist/components/search/OSearchInput.vue.d.ts +35 -43
  29. package/dist/components/search/index.d.ts +31 -35
  30. package/dist/components/search/internal/SearchImageInput.vue.d.ts +29 -37
  31. package/dist/components/sig/index.d.ts +15 -15
  32. package/dist/components/summit/index.d.ts +12 -12
  33. package/dist/components/video/index.d.ts +3 -3
  34. package/dist/components.cjs.js +39 -39
  35. package/dist/components.css +1 -1
  36. package/dist/components.es.js +13351 -14220
  37. package/dist/index.d.ts +0 -1
  38. package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +19 -169
  39. package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +19 -169
  40. package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +10 -18
  41. package/dist/treeshaking/components/activity/index.d.ts +52 -356
  42. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  43. package/dist/treeshaking/components/events/index.d.ts +20 -20
  44. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  45. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  46. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  47. package/dist/treeshaking/components/header/index.d.ts +28 -28
  48. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
  49. package/dist/treeshaking/components/header-language-switcher/index.d.ts +3 -3
  50. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +35 -43
  51. package/dist/treeshaking/components/header-search/index.d.ts +33 -37
  52. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  53. package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +19 -169
  54. package/dist/treeshaking/components/meeting/OMeetingMinutes.css +25 -13
  55. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +11 -18
  56. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +50 -41
  57. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.css +17 -17
  58. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.mjs +1 -1
  59. package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue2.mjs +2 -1
  60. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +10 -18
  61. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  62. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.css +85 -66
  63. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.d.ts +127 -1
  64. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.mjs +210 -5
  65. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue3.mjs +5 -0
  66. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  67. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +3 -3
  68. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +127 -1
  69. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -1
  70. package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue2.mjs +3 -2
  71. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +5 -9
  72. package/dist/treeshaking/components/meeting/composables/useMeetingConfig.d.ts +1 -1
  73. package/dist/treeshaking/components/meeting/index.d.ts +202 -233
  74. package/dist/treeshaking/components/meeting/index.mjs +7 -6
  75. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +35 -43
  76. package/dist/treeshaking/components/search/index.d.ts +31 -35
  77. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +29 -37
  78. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  79. package/dist/treeshaking/components/summit/OSummitLive.css +20 -20
  80. package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
  81. package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +1 -1
  82. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  83. package/dist/treeshaking/components/video/index.d.ts +3 -3
  84. package/dist/treeshaking/i18n/en.mjs +1 -9
  85. package/dist/treeshaking/i18n/zh.mjs +1 -9
  86. package/dist/treeshaking/index.d.ts +0 -1
  87. package/dist/treeshaking/index.mjs +0 -3
  88. package/dist/treeshaking/shared/theme.mjs +3 -15
  89. package/package.json +3 -3
  90. package/dist/components/markdown/OMarkdown.vue.d.ts +0 -37
  91. package/dist/components/markdown/OMarkdownPagination.vue.d.ts +0 -25
  92. package/dist/components/markdown/components/MarkdownCode.vue.d.ts +0 -8
  93. package/dist/components/markdown/components/MarkdownImage.vue.d.ts +0 -8
  94. package/dist/components/markdown/components/MarkdownPageTitle.vue.d.ts +0 -12
  95. package/dist/components/markdown/components/MarkdownTable.vue.d.ts +0 -5
  96. package/dist/components/markdown/components/MarkdownTableData.vue.d.ts +0 -11
  97. package/dist/components/markdown/components/MarkdownTableExpand.vue.d.ts +0 -12
  98. package/dist/components/markdown/components/MarkdownTitle.vue.d.ts +0 -6
  99. package/dist/components/markdown/replacer/code.d.ts +0 -2
  100. package/dist/components/markdown/replacer/h1.d.ts +0 -7
  101. package/dist/components/markdown/replacer/h2.d.ts +0 -2
  102. package/dist/components/markdown/replacer/img.d.ts +0 -2
  103. package/dist/components/markdown/replacer/table.d.ts +0 -2
  104. package/dist/treeshaking/_virtual/icon-copy2.mjs +0 -20
  105. package/dist/treeshaking/_virtual/icon-expand.mjs +0 -21
  106. package/dist/treeshaking/_virtual/icon-link.mjs +0 -31
  107. package/dist/treeshaking/_virtual/icon-more.mjs +0 -19
  108. package/dist/treeshaking/_virtual/icon-next.mjs +0 -23
  109. package/dist/treeshaking/_virtual/icon-unexpand.mjs +0 -22
  110. package/dist/treeshaking/assets/markdown/md-title-bg.png.mjs +0 -4
  111. package/dist/treeshaking/assets/svg-icons/icon-zoom.svg.mjs +0 -4
  112. package/dist/treeshaking/components/markdown/OMarkdown.css +0 -1133
  113. package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +0 -37
  114. package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +0 -8
  115. package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +0 -147
  116. package/dist/treeshaking/components/markdown/OMarkdown2.css +0 -14
  117. package/dist/treeshaking/components/markdown/OMarkdownPagination.css +0 -218
  118. package/dist/treeshaking/components/markdown/OMarkdownPagination.vue.d.ts +0 -25
  119. package/dist/treeshaking/components/markdown/OMarkdownPagination.vue.mjs +0 -7
  120. package/dist/treeshaking/components/markdown/OMarkdownPagination.vue2.mjs +0 -101
  121. package/dist/treeshaking/components/markdown/components/MarkdownCode.css +0 -12
  122. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.d.ts +0 -8
  123. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.mjs +0 -8
  124. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue2.mjs +0 -121
  125. package/dist/treeshaking/components/markdown/components/MarkdownCode2.css +0 -128
  126. package/dist/treeshaking/components/markdown/components/MarkdownImage.css +0 -73
  127. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.d.ts +0 -8
  128. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.mjs +0 -7
  129. package/dist/treeshaking/components/markdown/components/MarkdownImage.vue2.mjs +0 -77
  130. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +0 -264
  131. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.d.ts +0 -12
  132. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +0 -7
  133. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue2.mjs +0 -160
  134. package/dist/treeshaking/components/markdown/components/MarkdownTable.css +0 -61
  135. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.d.ts +0 -5
  136. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.mjs +0 -7
  137. package/dist/treeshaking/components/markdown/components/MarkdownTable.vue2.mjs +0 -59
  138. package/dist/treeshaking/components/markdown/components/MarkdownTableData.css +0 -111
  139. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.d.ts +0 -11
  140. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.mjs +0 -7
  141. package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue2.mjs +0 -181
  142. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.css +0 -66
  143. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.d.ts +0 -12
  144. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.mjs +0 -7
  145. package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue2.mjs +0 -83
  146. package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +0 -173
  147. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.d.ts +0 -6
  148. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +0 -7
  149. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +0 -69
  150. package/dist/treeshaking/components/markdown/index.mjs +0 -16
  151. package/dist/treeshaking/components/markdown/replacer/code.d.ts +0 -2
  152. package/dist/treeshaking/components/markdown/replacer/code.mjs +0 -22
  153. package/dist/treeshaking/components/markdown/replacer/h1.d.ts +0 -7
  154. package/dist/treeshaking/components/markdown/replacer/h1.mjs +0 -25
  155. package/dist/treeshaking/components/markdown/replacer/h2.d.ts +0 -2
  156. package/dist/treeshaking/components/markdown/replacer/h2.mjs +0 -22
  157. package/dist/treeshaking/components/markdown/replacer/img.d.ts +0 -2
  158. package/dist/treeshaking/components/markdown/replacer/img.mjs +0 -22
  159. package/dist/treeshaking/components/markdown/replacer/table.d.ts +0 -2
  160. package/dist/treeshaking/components/markdown/replacer/table.mjs +0 -22
  161. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue2.mjs +0 -181
@@ -13,6 +13,132 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
13
13
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
14
  onSent?: ((log: SendLogT) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
+ formRef: ({
17
+ $: import('vue').ComponentInternalInstance;
18
+ $data: {};
19
+ $props: Partial<{
20
+ layout: "h" | "v" | "inline";
21
+ hasRequired: boolean;
22
+ }> & Omit<{
23
+ readonly hasRequired: boolean;
24
+ readonly layout: "v" | "h" | "inline";
25
+ readonly model?: Record<string, any> | undefined;
26
+ readonly labelAlign?: "top" | "center" | "bottom" | undefined;
27
+ readonly labelJustify?: "center" | "left" | "right" | undefined;
28
+ readonly labelWidth?: string | undefined;
29
+ readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
30
+ readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
31
+ readonly onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
32
+ readonly onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
33
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "hasRequired" | "layout">;
34
+ $attrs: import('vue').Attrs;
35
+ $refs: {
36
+ [x: string]: unknown;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import('vue').Slot<any> | undefined;
40
+ }>;
41
+ $root: import('vue').ComponentPublicInstance | null;
42
+ $parent: import('vue').ComponentPublicInstance | null;
43
+ $host: Element | null;
44
+ $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);
45
+ $el: HTMLFormElement;
46
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
47
+ model: {
48
+ type: ObjectConstructor;
49
+ };
50
+ hasRequired: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ layout: {
55
+ type: import('vue').PropType<"h" | "v" | "inline">;
56
+ default: string;
57
+ };
58
+ labelAlign: {
59
+ type: import('vue').PropType<"top" | "center" | "bottom">;
60
+ };
61
+ labelJustify: {
62
+ type: import('vue').PropType<"left" | "center" | "right">;
63
+ };
64
+ labelWidth: {
65
+ type: StringConstructor;
66
+ };
67
+ }>> & Readonly<{
68
+ onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
69
+ onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
70
+ onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
71
+ onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
72
+ }>, {
73
+ validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
74
+ resetFields: (filed?: string | string[]) => void;
75
+ clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
76
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
77
+ clear: (filed?: string | string[] | undefined) => any;
78
+ reset: (filed?: string | string[] | undefined) => any;
79
+ submit: (results: import('@opensig/opendesign').FieldResultT[]) => any;
80
+ validate: (results: import('@opensig/opendesign').FieldResultT[]) => any;
81
+ }, string, {
82
+ layout: "h" | "v" | "inline";
83
+ hasRequired: boolean;
84
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
85
+ beforeCreate?: (() => void) | (() => void)[];
86
+ created?: (() => void) | (() => void)[];
87
+ beforeMount?: (() => void) | (() => void)[];
88
+ mounted?: (() => void) | (() => void)[];
89
+ beforeUpdate?: (() => void) | (() => void)[];
90
+ updated?: (() => void) | (() => void)[];
91
+ activated?: (() => void) | (() => void)[];
92
+ deactivated?: (() => void) | (() => void)[];
93
+ beforeDestroy?: (() => void) | (() => void)[];
94
+ beforeUnmount?: (() => void) | (() => void)[];
95
+ destroyed?: (() => void) | (() => void)[];
96
+ unmounted?: (() => void) | (() => void)[];
97
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
98
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
99
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
100
+ };
101
+ $forceUpdate: () => void;
102
+ $nextTick: typeof import('vue').nextTick;
103
+ $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;
104
+ } & Readonly<{
105
+ layout: "h" | "v" | "inline";
106
+ hasRequired: boolean;
107
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
108
+ model: {
109
+ type: ObjectConstructor;
110
+ };
111
+ hasRequired: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ layout: {
116
+ type: import('vue').PropType<"h" | "v" | "inline">;
117
+ default: string;
118
+ };
119
+ labelAlign: {
120
+ type: import('vue').PropType<"top" | "center" | "bottom">;
121
+ };
122
+ labelJustify: {
123
+ type: import('vue').PropType<"left" | "center" | "right">;
124
+ };
125
+ labelWidth: {
126
+ type: StringConstructor;
127
+ };
128
+ }>> & Readonly<{
129
+ onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
130
+ onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
131
+ onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
132
+ onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
133
+ }>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
134
+ validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
135
+ resetFields: (filed?: string | string[]) => void;
136
+ clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
137
+ } & {} & import('vue').ComponentCustomProperties & {} & {
138
+ $slots: {
139
+ default?(_: {}): any;
140
+ };
141
+ }) | null;
16
142
  recipientInputRef: HTMLInputElement;
17
- }, HTMLDivElement>;
143
+ }, HTMLFormElement>;
18
144
  export default _default;
@@ -1,7 +1,212 @@
1
- import _sfc_main from "./OMeetingSendMinutesForm.vue2.mjs";
2
- import './OMeetingSendMinutesForm.css';
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OMeetingSendMinutesForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c32ba974"]]);
1
+ import { defineComponent, ref, computed, watch, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, toDisplayString, createElementBlock, Fragment, renderList, createTextVNode, withDirectives, withKeys, withModifiers, vModelText } from "vue";
2
+ import { useMessage, OForm, OFormItem, OTag, OInput, OScroller } from "@opensig/opendesign";
3
+ import { useScreen } from "@opendesign-plus/composables";
4
+ import { useMeetingConfig } from "./composables/useMeetingConfig.mjs";
5
+ import { EMAIL_REGEX } from "./config.mjs";
6
+ const _hoisted_1 = { class: "sender-text" };
7
+ const _hoisted_2 = ["placeholder", "onKeydown"];
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "OMeetingSendMinutesForm",
10
+ props: {
11
+ meeting: {},
12
+ prefill: {},
13
+ sendMinutesRequest: {}
14
+ },
15
+ emits: ["sent"],
16
+ setup(__props, { expose: __expose, emit: __emit }) {
17
+ const props = __props;
18
+ const emit = __emit;
19
+ const { t } = useMeetingConfig();
20
+ const { lePadV } = useScreen();
21
+ const message = useMessage(null);
22
+ const formModel = ref({
23
+ recipients: [],
24
+ subject: ""
25
+ });
26
+ const extraInput = ref("");
27
+ const sending = ref(false);
28
+ const recipientInputRef = ref(null);
29
+ const formRef = ref(null);
30
+ const rules = {
31
+ recipients: [{ required: true, message: t("meeting.sendMinutesEmptyRecipient") }],
32
+ subject: [
33
+ { required: true, message: t("meeting.sendMinutesSubjectPlaceholder") },
34
+ {
35
+ validator: (value) => {
36
+ if (value.length > 128) {
37
+ return {
38
+ type: "danger",
39
+ message: t("meeting.sendMinutesSubjectTooLong")
40
+ };
41
+ }
42
+ }
43
+ }
44
+ ]
45
+ };
46
+ const sender = computed(() => {
47
+ var _a;
48
+ return ((_a = props.meeting) == null ? void 0 : _a.email_list) || "";
49
+ });
50
+ const defaultSubject = () => {
51
+ if (!props.meeting) return "";
52
+ const { topic, date } = props.meeting;
53
+ return t("meeting.sendMinutesSubjectDefault", [topic, date || ""]);
54
+ };
55
+ const reset = () => {
56
+ var _a;
57
+ if (!props.meeting) return;
58
+ formModel.value.recipients = props.prefill && props.prefill.length ? [...props.prefill] : [props.meeting.email_list];
59
+ formModel.value.subject = defaultSubject();
60
+ extraInput.value = "";
61
+ (_a = formRef.value) == null ? void 0 : _a.clearValidate();
62
+ };
63
+ watch([() => props.meeting, () => props.prefill], reset, { immediate: true });
64
+ const addRecipient = () => {
65
+ var _a;
66
+ const val = extraInput.value.trim();
67
+ if (!val) return;
68
+ if (!EMAIL_REGEX.test(val)) {
69
+ message.warning({ content: t("meeting.sendMinutesEmailInvalid") });
70
+ return;
71
+ }
72
+ if (formModel.value.recipients.includes(val)) {
73
+ message.warning({ content: t("meeting.sendMinutesEmailExists") });
74
+ return;
75
+ }
76
+ formModel.value.recipients.push(val);
77
+ extraInput.value = "";
78
+ (_a = formRef.value) == null ? void 0 : _a.clearValidate("recipients");
79
+ };
80
+ const removeRecipient = (email) => {
81
+ formModel.value.recipients = formModel.value.recipients.filter((r) => r !== email);
82
+ };
83
+ const handleBackspace = (e) => {
84
+ if (extraInput.value === "" && formModel.value.recipients.length > 0) {
85
+ e.preventDefault();
86
+ formModel.value.recipients.pop();
87
+ }
88
+ };
89
+ const focusRecipientInput = () => {
90
+ var _a;
91
+ (_a = recipientInputRef.value) == null ? void 0 : _a.focus();
92
+ };
93
+ const send = async () => {
94
+ var _a;
95
+ if (!props.meeting || !props.sendMinutesRequest) return;
96
+ const results = await ((_a = formRef.value) == null ? void 0 : _a.validate());
97
+ if (results == null ? void 0 : results.some((r) => !!r)) return;
98
+ try {
99
+ sending.value = true;
100
+ const log = await props.sendMinutesRequest(props.meeting.id, formModel.value.recipients, formModel.value.subject);
101
+ message.success({ content: t("meeting.sendMinutesSent") });
102
+ emit("sent", log);
103
+ } finally {
104
+ sending.value = false;
105
+ }
106
+ };
107
+ __expose({ send, sending, reset });
108
+ return (_ctx, _cache) => {
109
+ return openBlock(), createBlock(unref(OForm), {
110
+ ref_key: "formRef",
111
+ ref: formRef,
112
+ class: "o-meeting-send-minutes",
113
+ model: formModel.value,
114
+ "has-required": "",
115
+ layout: unref(lePadV) ? "v" : "h"
116
+ }, {
117
+ default: withCtx(() => [
118
+ createVNode(unref(OFormItem), {
119
+ label: unref(t)("meeting.sendMinutesSender"),
120
+ class: "text-item"
121
+ }, {
122
+ default: withCtx(() => [
123
+ createElementVNode("span", _hoisted_1, toDisplayString(sender.value), 1)
124
+ ]),
125
+ _: 1
126
+ }, 8, ["label"]),
127
+ createVNode(unref(OFormItem), {
128
+ label: unref(t)("meeting.sendMinutesRecipient"),
129
+ field: "recipients",
130
+ rules: rules.recipients
131
+ }, {
132
+ default: withCtx(() => [
133
+ createElementVNode("div", {
134
+ class: "o-meeting-send-minutes-recipient-editor",
135
+ onClick: focusRecipientInput
136
+ }, [
137
+ (openBlock(true), createElementBlock(Fragment, null, renderList(formModel.value.recipients, (email) => {
138
+ return openBlock(), createBlock(unref(OTag), {
139
+ key: email,
140
+ class: "recipient-tag",
141
+ variant: "solid",
142
+ color: "primary",
143
+ closable: "",
144
+ onClose: ($event) => removeRecipient(email)
145
+ }, {
146
+ default: withCtx(() => [
147
+ createTextVNode(toDisplayString(email), 1)
148
+ ]),
149
+ _: 2
150
+ }, 1032, ["onClose"]);
151
+ }), 128)),
152
+ withDirectives(createElementVNode("input", {
153
+ ref_key: "recipientInputRef",
154
+ ref: recipientInputRef,
155
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => extraInput.value = $event),
156
+ class: "recipient-native-input",
157
+ type: "text",
158
+ placeholder: unref(t)("meeting.sendMinutesRecipientPlaceholder"),
159
+ onKeydown: [
160
+ withKeys(withModifiers(addRecipient, ["prevent"]), ["enter"]),
161
+ withKeys(handleBackspace, ["backspace"])
162
+ ]
163
+ }, null, 40, _hoisted_2), [
164
+ [vModelText, extraInput.value]
165
+ ])
166
+ ])
167
+ ]),
168
+ _: 1
169
+ }, 8, ["label", "rules"]),
170
+ createVNode(unref(OFormItem), {
171
+ label: unref(t)("meeting.sendMinutesSubject"),
172
+ field: "subject",
173
+ rules: rules.subject
174
+ }, {
175
+ default: withCtx(() => [
176
+ createVNode(unref(OInput), {
177
+ modelValue: formModel.value.subject,
178
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formModel.value.subject = $event),
179
+ class: "subject-input",
180
+ size: "large",
181
+ placeholder: unref(t)("meeting.sendMinutesSubjectPlaceholder")
182
+ }, null, 8, ["modelValue", "placeholder"])
183
+ ]),
184
+ _: 1
185
+ }, 8, ["label", "rules"]),
186
+ createVNode(unref(OFormItem), {
187
+ label: unref(t)("meeting.sendMinutesBody"),
188
+ class: "text-item"
189
+ }, {
190
+ default: withCtx(() => [
191
+ createVNode(unref(OScroller), {
192
+ class: "o-meeting-send-minutes-email-body-scroller",
193
+ "disabled-x": "",
194
+ "show-type": "auto"
195
+ }, {
196
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
197
+ createElementVNode("div", { class: "email-body-content" }, "'这是一段zh9ongwen文字'", -1)
198
+ ])]),
199
+ _: 1
200
+ })
201
+ ]),
202
+ _: 1
203
+ }, 8, ["label"])
204
+ ]),
205
+ _: 1
206
+ }, 8, ["model", "layout"]);
207
+ };
208
+ }
209
+ });
5
210
  export {
6
- _OMeetingSendMinutesForm as default
211
+ _sfc_main as default
7
212
  };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from "./OMeetingSendMinutesForm.vue.mjs";
2
+ import './OMeetingSendMinutesForm.css';
3
+ export {
4
+ _sfc_main as default
5
+ };
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<MeetingPlaybackVideoPropsT
11
11
  onSetTrackIdx?: ((...args: any[]) => any) | undefined;
12
12
  }>, {
13
13
  src: string;
14
- captions: import('../../../index.ts').CaptionItemT[];
14
+ captions: import('..').CaptionItemT[];
15
15
  vtt: string;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
17
  export default _default;
@@ -1,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-8f4f9074] {
1
+ .hover-icon-rotate .o-icon[data-v-1bd384f6] {
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-8f4f9074] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-1bd384f6] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-meeting-send-minutes-footer[data-v-8f4f9074] {
9
+ .o-meeting-send-minutes-footer[data-v-1bd384f6] {
10
10
  display: flex;
11
11
  justify-content: center;
12
12
  align-items: center;
@@ -25,8 +25,134 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
25
25
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
26
26
  sent: (log: SendLogT) => any;
27
27
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
28
+ formRef: ({
29
+ $: import('vue').ComponentInternalInstance;
30
+ $data: {};
31
+ $props: Partial<{
32
+ layout: "h" | "v" | "inline";
33
+ hasRequired: boolean;
34
+ }> & Omit<{
35
+ readonly hasRequired: boolean;
36
+ readonly layout: "v" | "h" | "inline";
37
+ readonly model?: Record<string, any> | undefined;
38
+ readonly labelAlign?: "top" | "center" | "bottom" | undefined;
39
+ readonly labelJustify?: "center" | "left" | "right" | undefined;
40
+ readonly labelWidth?: string | undefined;
41
+ readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
42
+ readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
43
+ readonly onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
44
+ readonly onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
45
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "hasRequired" | "layout">;
46
+ $attrs: import('vue').Attrs;
47
+ $refs: {
48
+ [x: string]: unknown;
49
+ };
50
+ $slots: Readonly<{
51
+ [name: string]: import('vue').Slot<any> | undefined;
52
+ }>;
53
+ $root: import('vue').ComponentPublicInstance | null;
54
+ $parent: import('vue').ComponentPublicInstance | null;
55
+ $host: Element | null;
56
+ $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);
57
+ $el: HTMLFormElement;
58
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
59
+ model: {
60
+ type: ObjectConstructor;
61
+ };
62
+ hasRequired: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ layout: {
67
+ type: import('vue').PropType<"h" | "v" | "inline">;
68
+ default: string;
69
+ };
70
+ labelAlign: {
71
+ type: import('vue').PropType<"top" | "center" | "bottom">;
72
+ };
73
+ labelJustify: {
74
+ type: import('vue').PropType<"left" | "center" | "right">;
75
+ };
76
+ labelWidth: {
77
+ type: StringConstructor;
78
+ };
79
+ }>> & Readonly<{
80
+ onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
81
+ onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
82
+ onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
83
+ onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
84
+ }>, {
85
+ validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
86
+ resetFields: (filed?: string | string[]) => void;
87
+ clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
88
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
89
+ clear: (filed?: string | string[] | undefined) => any;
90
+ reset: (filed?: string | string[] | undefined) => any;
91
+ submit: (results: import('@opensig/opendesign').FieldResultT[]) => any;
92
+ validate: (results: import('@opensig/opendesign').FieldResultT[]) => any;
93
+ }, string, {
94
+ layout: "h" | "v" | "inline";
95
+ hasRequired: boolean;
96
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
97
+ beforeCreate?: (() => void) | (() => void)[];
98
+ created?: (() => void) | (() => void)[];
99
+ beforeMount?: (() => void) | (() => void)[];
100
+ mounted?: (() => void) | (() => void)[];
101
+ beforeUpdate?: (() => void) | (() => void)[];
102
+ updated?: (() => void) | (() => void)[];
103
+ activated?: (() => void) | (() => void)[];
104
+ deactivated?: (() => void) | (() => void)[];
105
+ beforeDestroy?: (() => void) | (() => void)[];
106
+ beforeUnmount?: (() => void) | (() => void)[];
107
+ destroyed?: (() => void) | (() => void)[];
108
+ unmounted?: (() => void) | (() => void)[];
109
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
110
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
111
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
112
+ };
113
+ $forceUpdate: () => void;
114
+ $nextTick: typeof import('vue').nextTick;
115
+ $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;
116
+ } & Readonly<{
117
+ layout: "h" | "v" | "inline";
118
+ hasRequired: boolean;
119
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
120
+ model: {
121
+ type: ObjectConstructor;
122
+ };
123
+ hasRequired: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ layout: {
128
+ type: import('vue').PropType<"h" | "v" | "inline">;
129
+ default: string;
130
+ };
131
+ labelAlign: {
132
+ type: import('vue').PropType<"top" | "center" | "bottom">;
133
+ };
134
+ labelJustify: {
135
+ type: import('vue').PropType<"left" | "center" | "right">;
136
+ };
137
+ labelWidth: {
138
+ type: StringConstructor;
139
+ };
140
+ }>> & Readonly<{
141
+ onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
142
+ onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
143
+ onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
144
+ onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
145
+ }>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
146
+ validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
147
+ resetFields: (filed?: string | string[]) => void;
148
+ clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
149
+ } & {} & import('vue').ComponentCustomProperties & {} & {
150
+ $slots: {
151
+ default?(_: {}): any;
152
+ };
153
+ }) | null;
28
154
  recipientInputRef: HTMLInputElement;
29
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
155
+ }, HTMLFormElement, import('vue').ComponentProvideOptions, {
30
156
  P: {};
31
157
  B: {};
32
158
  D: {};
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OMeetingSendMinutesDialog.vue2.mjs";
2
2
  import './OMeetingSendMinutesDialog.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const OMeetingSendMinutesDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8f4f9074"]]);
4
+ const OMeetingSendMinutesDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1bd384f6"]]);
5
5
  export {
6
6
  OMeetingSendMinutesDialog as default
7
7
  };
@@ -1,7 +1,8 @@
1
1
  import { defineComponent, ref, watch, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
2
  import { ODialog, OButton } from "@opensig/opendesign";
3
3
  import { useMeetingConfig } from "../composables/useMeetingConfig.mjs";
4
- import _OMeetingSendMinutesForm from "../OMeetingSendMinutesForm.vue.mjs";
4
+ import _sfc_main$1 from "../OMeetingSendMinutesForm.vue.mjs";
5
+ import '../OMeetingSendMinutesForm.css';
5
6
  const _hoisted_1 = { class: "o-meeting-send-minutes-footer" };
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "OMeetingSendMinutesDialog",
@@ -73,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
74
  ];
74
75
  }),
75
76
  default: withCtx(() => [
76
- createVNode(_OMeetingSendMinutesForm, {
77
+ createVNode(_sfc_main$1, {
77
78
  ref_key: "formRef",
78
79
  ref: formRef,
79
80
  meeting: __props.meeting,
@@ -175,19 +175,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
175
175
  };
176
176
  }>> & Readonly<{
177
177
  onScroll?: ((event: Event) => any) | undefined;
178
- }>, "size" | "scrollTo" | "duration" | "disabledX" | "disabledY" | "showType" | "autoUpdateOnScrollSize" | "scrollBy" | "getContainerEl"> & {
178
+ }>, "size" | "duration" | "disabledX" | "disabledY" | "showType" | "autoUpdateOnScrollSize" | "scrollTo" | "scrollBy" | "getContainerEl"> & {
179
179
  scrollTo: (options?: ScrollToOptions | undefined) => void;
180
180
  scrollBy: (options?: ScrollToOptions | undefined) => void;
181
181
  getContainerEl: () => HTMLElement | null;
182
182
  } & {} & import('vue').ComponentCustomProperties & {} & {
183
- $slots: Readonly<{
184
- default?(): any;
185
- thumb?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
186
- track?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
187
- }> & {
188
- default?(): any;
189
- thumb?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
190
- track?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
183
+ $slots: {
184
+ default?(_: {}): any;
185
+ thumb?(_: {}): any;
186
+ track?(_: {}): any;
191
187
  };
192
188
  }) | null;
193
189
  }, HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  import { CalendarDataType, meetingTabT, OptionItemT } from '../types';
2
2
  export declare const useMeetingConfig: () => {
3
3
  t: (key: string, ...args: any[]) => string;
4
- locale: import('vue').ComputedRef<import('vue').ComputedRef<string> | "zh">;
4
+ locale: import('vue').ComputedRef<string>;
5
5
  meetingTabs: import('vue').ComputedRef<meetingTabT[]>;
6
6
  cycleTypeOptions0: import('vue').ComputedRef<OptionItemT[]>;
7
7
  cycleTypeOptions: import('vue').ComputedRef<OptionItemT[]>;