@opendesign-plus-test/components 0.0.1-rc.172 → 0.0.1-rc.173

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.
@@ -53,10 +53,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  const { topic, date } = props.meeting;
54
54
  return t("meeting.sendMinutesSubjectDefault", [topic, date || ""]);
55
55
  };
56
+ const normalizeRecipients = (source) => [...new Set(source.map((item) => item.trim()).filter(Boolean))];
56
57
  const reset = () => {
57
58
  var _a;
58
59
  if (!props.meeting) return;
59
- formModel.value.recipients = props.prefill && props.prefill.length ? [...props.prefill] : [props.meeting.email_list];
60
+ if (props.prefill && props.prefill.length) {
61
+ formModel.value.recipients = normalizeRecipients(props.prefill);
62
+ } else {
63
+ formModel.value.recipients = normalizeRecipients((props.meeting.email_list || "").split(/[,;,;]/));
64
+ }
60
65
  formModel.value.subject = defaultSubject();
61
66
  extraInput.value = "";
62
67
  (_a = formRef.value) == null ? void 0 : _a.clearValidate();
@@ -137,6 +137,7 @@ export interface MeetingItemT extends MeetingPostT {
137
137
  hasObsData?: boolean;
138
138
  minutes?: string;
139
139
  send_logs?: SendLogT[];
140
+ sender?: string;
140
141
  }
141
142
  export interface SendLogT {
142
143
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.172",
3
+ "version": "0.0.1-rc.173",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -45,8 +45,8 @@
45
45
  "vue-dompurify-html": "^3.1.2",
46
46
  "vue": "^3.5.13",
47
47
  "element-plus": "2.13.1",
48
- "@opendesign-plus/styles": "0.0.1-rc.2",
49
- "@opendesign-plus/composables": "0.0.1-rc.10"
48
+ "@opendesign-plus/composables": "0.0.1-rc.10",
49
+ "@opendesign-plus/styles": "0.0.1-rc.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@vitejs/plugin-vue": "^5.2.1",