@opendesign-plus-test/components 0.0.1-rc.177 → 0.0.1-rc.179

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.
@@ -56,34 +56,6 @@
56
56
  height: var(--item-height);
57
57
  align-items: center;
58
58
  }
59
- .o-meeting-send-minutes .o-form-item:first-child .o-form-item-label, .o-meeting-send-minutes .o-form-item:last-child .o-form-item-label {
60
- font-size: 16px;
61
- line-height: 24px;
62
- }
63
- @media (min-width: 1201px) and (max-width: 1680px) {
64
- .o-meeting-send-minutes .o-form-item:first-child .o-form-item-label, .o-meeting-send-minutes .o-form-item:last-child .o-form-item-label {
65
- font-size: 14px;
66
- line-height: 22px;
67
- }
68
- }
69
- @media (min-width: 841px) and (max-width: 1200px) {
70
- .o-meeting-send-minutes .o-form-item:first-child .o-form-item-label, .o-meeting-send-minutes .o-form-item:last-child .o-form-item-label {
71
- font-size: 14px;
72
- line-height: 22px;
73
- }
74
- }
75
- @media (min-width: 601px) and (max-width: 840px) {
76
- .o-meeting-send-minutes .o-form-item:first-child .o-form-item-label, .o-meeting-send-minutes .o-form-item:last-child .o-form-item-label {
77
- font-size: 14px;
78
- line-height: 22px;
79
- }
80
- }
81
- @media (max-width: 600px) {
82
- .o-meeting-send-minutes .o-form-item:first-child .o-form-item-label, .o-meeting-send-minutes .o-form-item:last-child .o-form-item-label {
83
- font-size: 12px;
84
- line-height: 18px;
85
- }
86
- }
87
59
  .o-meeting-send-minutes .sender-text {
88
60
  color: var(--o-color-info1);
89
61
  line-height: var(--o-control_size-m);
@@ -123,6 +95,7 @@
123
95
  border: 1px solid var(--o-color-control1);
124
96
  border-radius: var(--minutes-input-radius);
125
97
  min-height: var(--item-height);
98
+ width: 100%;
126
99
  cursor: text;
127
100
  transition: border-color var(--o-duration-s) var(--o-easing-standard);
128
101
  color: var(--o-color-info1);
@@ -223,6 +196,7 @@
223
196
  .o-meeting-send-minutes .email-body-content {
224
197
  color: var(--o-color-info1);
225
198
  white-space: pre-wrap;
199
+ min-width: 480px;
226
200
  font-size: 16px;
227
201
  line-height: 24px;
228
202
  }
@@ -249,4 +223,7 @@
249
223
  font-size: 12px;
250
224
  line-height: 18px;
251
225
  }
226
+ }
227
+ .o-meeting-send-minutes .text-item .o-form-item-label {
228
+ height: 32px;
252
229
  }
@@ -46,17 +46,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  };
47
47
  const sender = computed(() => {
48
48
  var _a;
49
- return ((_a = props.meeting) == null ? void 0 : _a.email_list) || "";
49
+ return ((_a = props.meeting) == null ? void 0 : _a.sender) || "";
50
50
  });
51
51
  const defaultSubject = () => {
52
52
  if (!props.meeting) return "";
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();
@@ -117,7 +122,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
117
122
  }, {
118
123
  default: withCtx(() => [
119
124
  createVNode(unref(OFormItem), {
120
- label: unref(t)("meeting.sendMinutesSender")
125
+ label: unref(t)("meeting.sendMinutesSender"),
126
+ class: "text-item"
121
127
  }, {
122
128
  default: withCtx(() => [
123
129
  createElementVNode("span", _hoisted_1, toDisplayString(sender.value), 1)
@@ -184,7 +190,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
184
190
  _: 1
185
191
  }, 8, ["label", "rules"]),
186
192
  createVNode(unref(OFormItem), {
187
- label: unref(t)("meeting.sendMinutesBody")
193
+ label: unref(t)("meeting.sendMinutesBody"),
194
+ class: "text-item"
188
195
  }, {
189
196
  default: withCtx(() => [
190
197
  createVNode(unref(OScroller), {
@@ -1222,6 +1222,7 @@ declare const OMeetingMinutes: {
1222
1222
  }, {}, {}, {}, 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 & (new () => {
1223
1223
  $slots: {
1224
1224
  empty?(_: {}): any;
1225
+ empty?(_: {}): any;
1225
1226
  };
1226
1227
  }) & {
1227
1228
  install(app: App): void;
@@ -137,6 +137,8 @@ export interface MeetingItemT extends MeetingPostT {
137
137
  hasObsData?: boolean;
138
138
  minutes?: string;
139
139
  send_logs?: SendLogT[];
140
+ sender?: string;
141
+ updated_at?: string;
140
142
  }
141
143
  export interface SendLogT {
142
144
  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.177",
3
+ "version": "0.0.1-rc.179",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",