@opendesign-plus-test/components 0.0.1-rc.157 → 0.0.1-rc.158
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.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +40 -52
- package/dist/components/activity/OActivityApproval.vue.d.ts +19 -169
- package/dist/components/activity/OActivityForm.vue.d.ts +19 -169
- package/dist/components/activity/OActivityMyCalendar.vue.d.ts +10 -18
- package/dist/components/activity/index.d.ts +52 -356
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/footer/index.d.ts +3 -3
- package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +28 -28
- package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
- package/dist/components/header-language-switcher/index.d.ts +3 -3
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +35 -43
- package/dist/components/header-search/index.d.ts +33 -37
- package/dist/components/logo-swiper/index.d.ts +11 -11
- package/dist/components/meeting/OMeetingForm.vue.d.ts +19 -169
- package/dist/components/meeting/OMeetingMinutes.vue.d.ts +348 -2
- package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +10 -18
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +5 -9
- package/dist/components/meeting/composables/useMeetingConfig.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +232 -213
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components/search/OSearchInput.vue.d.ts +35 -43
- package/dist/components/search/index.d.ts +31 -35
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +29 -37
- package/dist/components/sig/OSigDetail.vue.d.ts +1 -1
- package/dist/components/sig/OSigList.vue.d.ts +2 -0
- package/dist/components/sig/index.d.ts +78 -0
- package/dist/components/sig/types.d.ts +1 -0
- package/dist/components/video/index.d.ts +3 -3
- package/dist/components.cjs.js +40 -40
- package/dist/components.css +1 -1
- package/dist/components.es.js +12771 -13334
- package/dist/index.d.ts +0 -1
- package/dist/treeshaking/_virtual/icon-copy.mjs +8 -7
- package/dist/treeshaking/components/activity/OActivityApproval.css +8 -11
- package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +19 -169
- package/dist/treeshaking/components/activity/OActivityApproval.vue.mjs +24 -20
- package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +19 -169
- package/dist/treeshaking/components/activity/OActivityMyCalendar.css +71 -74
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +10 -18
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.mjs +36 -34
- package/dist/treeshaking/components/activity/index.d.ts +52 -356
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/footer/index.d.ts +3 -3
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +60 -55
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/index.d.ts +28 -28
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
- package/dist/treeshaking/components/header-language-switcher/index.d.ts +3 -3
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +35 -43
- package/dist/treeshaking/components/header-search/index.d.ts +33 -37
- package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +19 -169
- package/dist/treeshaking/components/meeting/OMeetingMinutes.css +201 -223
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +348 -2
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +392 -6
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +10 -18
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +53 -53
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +5 -9
- package/dist/treeshaking/components/meeting/composables/useMeetingConfig.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +232 -213
- package/dist/treeshaking/components/meeting/index.mjs +13 -12
- package/dist/treeshaking/components/meeting/types.d.ts +1 -0
- package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +35 -43
- package/dist/treeshaking/components/search/index.d.ts +31 -35
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +29 -37
- package/dist/treeshaking/components/sig/OSigDetail.css +1 -1
- package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +1 -1
- package/dist/treeshaking/components/sig/OSigList.css +152 -130
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +2 -0
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +107 -99
- package/dist/treeshaking/components/sig/components/OSigItem.css +30 -366
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +6 -5
- package/dist/treeshaking/components/sig/index.d.ts +78 -0
- package/dist/treeshaking/components/sig/types.d.ts +1 -0
- package/dist/treeshaking/components/video/OVideoDetail.css +7 -7
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/dist/treeshaking/i18n/en.mjs +1 -7
- package/dist/treeshaking/i18n/zh.mjs +1 -7
- package/dist/treeshaking/index.d.ts +0 -1
- package/dist/treeshaking/index.mjs +0 -6
- package/dist/treeshaking/shared/theme.mjs +3 -15
- package/package.json +3 -3
- package/dist/components/markdown/MarkdownCode.vue.d.ts +0 -25
- package/dist/components/markdown/MarkdownImage.vue.d.ts +0 -21
- package/dist/components/markdown/MarkdownPageTitle.vue.d.ts +0 -28
- package/dist/components/markdown/MarkdownTable.vue.d.ts +0 -21
- package/dist/components/markdown/MarkdownTitle.vue.d.ts +0 -33
- package/dist/components/markdown/components/TableData.vue.d.ts +0 -9
- package/dist/components/markdown/components/TableExpand.vue.d.ts +0 -12
- package/dist/components/markdown/index.d.ts +0 -163
- package/dist/treeshaking/_virtual/icon-copy2.mjs +0 -21
- package/dist/treeshaking/_virtual/icon-expand.mjs +0 -21
- package/dist/treeshaking/_virtual/icon-link.mjs +0 -31
- package/dist/treeshaking/_virtual/icon-more.mjs +0 -19
- package/dist/treeshaking/_virtual/icon-unexpand.mjs +0 -22
- package/dist/treeshaking/assets/markdown/md-title-bg.png.mjs +0 -4
- package/dist/treeshaking/assets/svg-icons/icon-zoom.svg.mjs +0 -4
- package/dist/treeshaking/components/markdown/MarkdownCode.css +0 -116
- package/dist/treeshaking/components/markdown/MarkdownCode.vue.d.ts +0 -25
- package/dist/treeshaking/components/markdown/MarkdownCode.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/MarkdownCode.vue2.mjs +0 -121
- package/dist/treeshaking/components/markdown/MarkdownImage.css +0 -48
- package/dist/treeshaking/components/markdown/MarkdownImage.vue.d.ts +0 -21
- package/dist/treeshaking/components/markdown/MarkdownImage.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/MarkdownImage.vue2.mjs +0 -64
- package/dist/treeshaking/components/markdown/MarkdownPageTitle.css +0 -230
- package/dist/treeshaking/components/markdown/MarkdownPageTitle.vue.d.ts +0 -28
- package/dist/treeshaking/components/markdown/MarkdownPageTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/MarkdownPageTitle.vue2.mjs +0 -127
- package/dist/treeshaking/components/markdown/MarkdownTable.css +0 -64
- package/dist/treeshaking/components/markdown/MarkdownTable.vue.d.ts +0 -21
- package/dist/treeshaking/components/markdown/MarkdownTable.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/MarkdownTable.vue2.mjs +0 -69
- package/dist/treeshaking/components/markdown/MarkdownTitle.css +0 -76
- package/dist/treeshaking/components/markdown/MarkdownTitle.vue.d.ts +0 -33
- package/dist/treeshaking/components/markdown/MarkdownTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/MarkdownTitle.vue2.mjs +0 -66
- package/dist/treeshaking/components/markdown/components/TableData.css +0 -97
- package/dist/treeshaking/components/markdown/components/TableData.vue.d.ts +0 -9
- package/dist/treeshaking/components/markdown/components/TableData.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/TableData.vue2.mjs +0 -112
- package/dist/treeshaking/components/markdown/components/TableExpand.css +0 -66
- package/dist/treeshaking/components/markdown/components/TableExpand.vue.d.ts +0 -12
- package/dist/treeshaking/components/markdown/components/TableExpand.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/TableExpand.vue2.mjs +0 -89
- package/dist/treeshaking/components/markdown/index.d.ts +0 -163
- package/dist/treeshaking/components/markdown/index.mjs +0 -37
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue2.mjs +0 -356
- package/dist/treeshaking/components/meeting/OMeetingMinutes2.css +0 -11
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export * from './components/header-theme';
|
|
|
16
16
|
export * from './components/header-user';
|
|
17
17
|
export * from './components/icon';
|
|
18
18
|
export * from './components/logo-swiper';
|
|
19
|
-
export * from './components/markdown';
|
|
20
19
|
export * from './components/meeting';
|
|
21
20
|
export * from './components/search';
|
|
22
21
|
export * from './components/section';
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
|
-
|
|
3
|
+
version: "1.1",
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24"
|
|
8
8
|
};
|
|
9
9
|
function render(_ctx, _cache) {
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
11
|
createElementVNode("path", {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
opacity: "0.8",
|
|
13
|
+
fill: "#000",
|
|
14
|
+
d: "M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"
|
|
14
15
|
}, null, -1)
|
|
15
16
|
])]);
|
|
16
17
|
}
|
|
17
|
-
const IconCopy = { name: "
|
|
18
|
+
const IconCopy = { name: "meeting-icon-copy", render };
|
|
18
19
|
export {
|
|
19
20
|
IconCopy as default
|
|
20
21
|
};
|
|
@@ -10,9 +10,6 @@
|
|
|
10
10
|
--activity-card-radius: var(--o-radius-xs);
|
|
11
11
|
--activity-input-radius: var(--o-radius-xs);
|
|
12
12
|
}
|
|
13
|
-
.o-activity-table .expand-detail {
|
|
14
|
-
background-color: var(--o-color-fill3);
|
|
15
|
-
}
|
|
16
13
|
.o-activity-table .activity-btn {
|
|
17
14
|
display: flex;
|
|
18
15
|
flex-wrap: nowrap;
|
|
@@ -24,12 +21,12 @@
|
|
|
24
21
|
--link-gap: var(--o-gap-4);
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
|
-
@media (
|
|
24
|
+
@media (max-width: 1200px) {
|
|
28
25
|
.o-activity-table .activity-btn {
|
|
29
26
|
--link-gap: var(--o-gap-3);
|
|
30
27
|
}
|
|
31
28
|
}
|
|
32
|
-
@media (
|
|
29
|
+
@media (max-width: 600px) {
|
|
33
30
|
.o-activity-table .activity-btn {
|
|
34
31
|
margin-top: var(--o-gap-2);
|
|
35
32
|
}
|
|
@@ -142,7 +139,7 @@
|
|
|
142
139
|
margin-left: var(--o-gap-3);
|
|
143
140
|
}
|
|
144
141
|
}
|
|
145
|
-
@media (
|
|
142
|
+
@media (max-width: 1200px) {
|
|
146
143
|
.o-activity-table .dialog-footer .o-btn + .o-btn {
|
|
147
144
|
margin-left: var(--o-gap-2);
|
|
148
145
|
}
|
|
@@ -180,7 +177,7 @@
|
|
|
180
177
|
padding-bottom: var(--o-gap-3);
|
|
181
178
|
}
|
|
182
179
|
}
|
|
183
|
-
@media (
|
|
180
|
+
@media (max-width: 1200px) {
|
|
184
181
|
.o-activity-table .collapse-wrapper .o-collapse .o-collapse-item:last-child {
|
|
185
182
|
padding-bottom: var(--o-gap-2);
|
|
186
183
|
}
|
|
@@ -222,7 +219,7 @@
|
|
|
222
219
|
margin-right: var(--o-gap-3);
|
|
223
220
|
}
|
|
224
221
|
}
|
|
225
|
-
@media (
|
|
222
|
+
@media (max-width: 1200px) {
|
|
226
223
|
.o-activity-table .collapse-wrapper .o-collapse .act-sponsor {
|
|
227
224
|
margin-right: var(--o-gap-2);
|
|
228
225
|
}
|
|
@@ -257,7 +254,7 @@
|
|
|
257
254
|
margin: 0 var(--o-gap-3);
|
|
258
255
|
}
|
|
259
256
|
}
|
|
260
|
-
@media (
|
|
257
|
+
@media (max-width: 1200px) {
|
|
261
258
|
.o-activity-table .collapse-wrapper .o-collapse .o-collapse-item-header {
|
|
262
259
|
margin: 0 var(--o-gap-2);
|
|
263
260
|
}
|
|
@@ -271,7 +268,7 @@
|
|
|
271
268
|
padding: var(--o-gap-2) var(--o-gap-3);
|
|
272
269
|
}
|
|
273
270
|
}
|
|
274
|
-
@media (
|
|
271
|
+
@media (max-width: 1200px) {
|
|
275
272
|
.o-activity-table .collapse-wrapper .activity-detail {
|
|
276
273
|
padding: var(--o-gap-2) var(--o-gap-2);
|
|
277
274
|
}
|
|
@@ -291,7 +288,7 @@
|
|
|
291
288
|
padding: var(--o-gap-2) var(--o-gap-3) 0;
|
|
292
289
|
}
|
|
293
290
|
}
|
|
294
|
-
@media (
|
|
291
|
+
@media (max-width: 1200px) {
|
|
295
292
|
.o-activity-table .title-top {
|
|
296
293
|
padding: var(--o-gap-2) var(--o-gap-2) 0;
|
|
297
294
|
}
|
|
@@ -5,45 +5,22 @@ declare const _default: import('vue').DefineComponent<ActivityTablePropsT, {}, {
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
layout: "h" | "v" | "inline";
|
|
8
|
-
disabled: boolean | undefined;
|
|
9
|
-
clearable: boolean | undefined;
|
|
10
8
|
hasRequired: boolean;
|
|
11
|
-
requiredIcon: boolean;
|
|
12
|
-
labelWidth: string;
|
|
13
|
-
showMessage: boolean;
|
|
14
|
-
validateOnRuleChange: boolean;
|
|
15
|
-
scrollToError: boolean;
|
|
16
9
|
}> & Omit<{
|
|
17
10
|
readonly hasRequired: boolean;
|
|
18
|
-
readonly requiredIcon: boolean;
|
|
19
11
|
readonly layout: "v" | "h" | "inline";
|
|
20
|
-
readonly
|
|
21
|
-
readonly showMessage: boolean;
|
|
22
|
-
readonly validateOnRuleChange: boolean;
|
|
23
|
-
readonly scrollToError: boolean;
|
|
24
|
-
readonly size?: "small" | "large" | "medium" | undefined;
|
|
25
|
-
readonly round?: import('@opensig/opendesign').RoundT | undefined;
|
|
26
|
-
readonly disabled?: boolean | undefined;
|
|
12
|
+
readonly model?: Record<string, any> | undefined;
|
|
27
13
|
readonly labelAlign?: "top" | "center" | "bottom" | undefined;
|
|
28
14
|
readonly labelJustify?: "center" | "left" | "right" | undefined;
|
|
29
|
-
readonly
|
|
30
|
-
readonly model?: Record<string, any> | undefined;
|
|
31
|
-
readonly rules?: import('@opensig/opendesign').FormRulesT | undefined;
|
|
15
|
+
readonly labelWidth?: string | undefined;
|
|
32
16
|
readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
33
17
|
readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
34
18
|
readonly onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
|
|
35
19
|
readonly onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined | undefined;
|
|
36
|
-
|
|
37
|
-
field: string;
|
|
38
|
-
isValid: boolean;
|
|
39
|
-
message: string;
|
|
40
|
-
}) => any) | undefined | undefined;
|
|
41
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "clearable" | "hasRequired" | "requiredIcon" | "layout" | "labelWidth" | "showMessage" | "validateOnRuleChange" | "scrollToError">;
|
|
20
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "hasRequired" | "layout">;
|
|
42
21
|
$attrs: import('vue').Attrs;
|
|
43
22
|
$refs: {
|
|
44
23
|
[x: string]: unknown;
|
|
45
|
-
} & {
|
|
46
|
-
formEl: HTMLFormElement;
|
|
47
24
|
};
|
|
48
25
|
$slots: Readonly<{
|
|
49
26
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -51,114 +28,46 @@ declare const _default: import('vue').DefineComponent<ActivityTablePropsT, {}, {
|
|
|
51
28
|
$root: import('vue').ComponentPublicInstance | null;
|
|
52
29
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
53
30
|
$host: Element | null;
|
|
54
|
-
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "validate", results: import('@opensig/opendesign').FieldResultT[]) => void) & ((event: "
|
|
55
|
-
field: string;
|
|
56
|
-
isValid: boolean;
|
|
57
|
-
message: string;
|
|
58
|
-
}) => void) & ((event: "reset", filed?: string | string[] | undefined) => void) & ((event: "submit", results: import('@opensig/opendesign').FieldResultT[]) => void);
|
|
31
|
+
$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);
|
|
59
32
|
$el: HTMLFormElement;
|
|
60
33
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
61
|
-
labelAlign: {
|
|
62
|
-
type: import('vue').PropType<"top" | "center" | "bottom">;
|
|
63
|
-
};
|
|
64
|
-
labelJustify: {
|
|
65
|
-
type: import('vue').PropType<"left" | "center" | "right">;
|
|
66
|
-
};
|
|
67
|
-
disabled: {
|
|
68
|
-
type: import('vue').PropType<boolean | undefined>;
|
|
69
|
-
default: undefined;
|
|
70
|
-
};
|
|
71
|
-
size: {
|
|
72
|
-
type: import('vue').PropType<import('@opensig/opendesign').SizeT>;
|
|
73
|
-
};
|
|
74
|
-
round: {
|
|
75
|
-
type: import('vue').PropType<import('@opensig/opendesign').RoundT>;
|
|
76
|
-
};
|
|
77
|
-
clearable: {
|
|
78
|
-
type: import('vue').PropType<boolean | undefined>;
|
|
79
|
-
default: undefined;
|
|
80
|
-
};
|
|
81
34
|
model: {
|
|
82
35
|
type: ObjectConstructor;
|
|
83
36
|
};
|
|
84
|
-
rules: {
|
|
85
|
-
type: import('vue').PropType<import('@opensig/opendesign').FormRulesT>;
|
|
86
|
-
};
|
|
87
37
|
hasRequired: {
|
|
88
38
|
type: BooleanConstructor;
|
|
89
39
|
default: boolean;
|
|
90
40
|
};
|
|
91
|
-
requiredIcon: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
41
|
layout: {
|
|
96
42
|
type: import('vue').PropType<"h" | "v" | "inline">;
|
|
97
43
|
default: string;
|
|
98
44
|
};
|
|
99
|
-
|
|
100
|
-
type:
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
showMessage: {
|
|
104
|
-
type: BooleanConstructor;
|
|
105
|
-
default: boolean;
|
|
45
|
+
labelAlign: {
|
|
46
|
+
type: import('vue').PropType<"top" | "center" | "bottom">;
|
|
106
47
|
};
|
|
107
|
-
|
|
108
|
-
type:
|
|
109
|
-
default: boolean;
|
|
48
|
+
labelJustify: {
|
|
49
|
+
type: import('vue').PropType<"left" | "center" | "right">;
|
|
110
50
|
};
|
|
111
|
-
|
|
112
|
-
type:
|
|
113
|
-
default: boolean;
|
|
51
|
+
labelWidth: {
|
|
52
|
+
type: StringConstructor;
|
|
114
53
|
};
|
|
115
54
|
}>> & Readonly<{
|
|
116
55
|
onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
117
56
|
onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
118
57
|
onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
119
58
|
onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
120
|
-
onValidateField?: ((payload: {
|
|
121
|
-
field: string;
|
|
122
|
-
isValid: boolean;
|
|
123
|
-
message: string;
|
|
124
|
-
}) => any) | undefined;
|
|
125
59
|
}>, {
|
|
126
|
-
validate: (filed?: string | string[]
|
|
127
|
-
type: "warning" | "danger" | "success" | "";
|
|
128
|
-
message: string[];
|
|
129
|
-
}[]>;
|
|
130
|
-
validateField: (field: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
|
|
131
|
-
type: "warning" | "danger" | "success" | "";
|
|
132
|
-
message: string[];
|
|
133
|
-
}[]>;
|
|
60
|
+
validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
|
|
134
61
|
resetFields: (filed?: string | string[]) => void;
|
|
135
|
-
setInitialValues: (data: Record<string, any>) => void;
|
|
136
62
|
clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
|
|
137
|
-
scrollToField: (field: string, options?: boolean | {
|
|
138
|
-
behavior?: "auto" | "smooth" | "instant";
|
|
139
|
-
block?: "start" | "center" | "end" | "nearest";
|
|
140
|
-
inline?: "start" | "center" | "end" | "nearest";
|
|
141
|
-
}) => Promise<void>;
|
|
142
63
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
143
64
|
clear: (filed?: string | string[] | undefined) => any;
|
|
144
65
|
reset: (filed?: string | string[] | undefined) => any;
|
|
145
66
|
submit: (results: import('@opensig/opendesign').FieldResultT[]) => any;
|
|
146
67
|
validate: (results: import('@opensig/opendesign').FieldResultT[]) => any;
|
|
147
|
-
validateField: (payload: {
|
|
148
|
-
field: string;
|
|
149
|
-
isValid: boolean;
|
|
150
|
-
message: string;
|
|
151
|
-
}) => any;
|
|
152
68
|
}, string, {
|
|
153
69
|
layout: "h" | "v" | "inline";
|
|
154
|
-
disabled: boolean | undefined;
|
|
155
|
-
clearable: boolean | undefined;
|
|
156
70
|
hasRequired: boolean;
|
|
157
|
-
requiredIcon: boolean;
|
|
158
|
-
labelWidth: string;
|
|
159
|
-
showMessage: boolean;
|
|
160
|
-
validateOnRuleChange: boolean;
|
|
161
|
-
scrollToError: boolean;
|
|
162
71
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
163
72
|
beforeCreate?: (() => void) | (() => void)[];
|
|
164
73
|
created?: (() => void) | (() => void)[];
|
|
@@ -181,96 +90,37 @@ declare const _default: import('vue').DefineComponent<ActivityTablePropsT, {}, {
|
|
|
181
90
|
$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;
|
|
182
91
|
} & Readonly<{
|
|
183
92
|
layout: "h" | "v" | "inline";
|
|
184
|
-
disabled: boolean | undefined;
|
|
185
|
-
clearable: boolean | undefined;
|
|
186
93
|
hasRequired: boolean;
|
|
187
|
-
requiredIcon: boolean;
|
|
188
|
-
labelWidth: string;
|
|
189
|
-
showMessage: boolean;
|
|
190
|
-
validateOnRuleChange: boolean;
|
|
191
|
-
scrollToError: boolean;
|
|
192
94
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
193
|
-
labelAlign: {
|
|
194
|
-
type: import('vue').PropType<"top" | "center" | "bottom">;
|
|
195
|
-
};
|
|
196
|
-
labelJustify: {
|
|
197
|
-
type: import('vue').PropType<"left" | "center" | "right">;
|
|
198
|
-
};
|
|
199
|
-
disabled: {
|
|
200
|
-
type: import('vue').PropType<boolean | undefined>;
|
|
201
|
-
default: undefined;
|
|
202
|
-
};
|
|
203
|
-
size: {
|
|
204
|
-
type: import('vue').PropType<import('@opensig/opendesign').SizeT>;
|
|
205
|
-
};
|
|
206
|
-
round: {
|
|
207
|
-
type: import('vue').PropType<import('@opensig/opendesign').RoundT>;
|
|
208
|
-
};
|
|
209
|
-
clearable: {
|
|
210
|
-
type: import('vue').PropType<boolean | undefined>;
|
|
211
|
-
default: undefined;
|
|
212
|
-
};
|
|
213
95
|
model: {
|
|
214
96
|
type: ObjectConstructor;
|
|
215
97
|
};
|
|
216
|
-
rules: {
|
|
217
|
-
type: import('vue').PropType<import('@opensig/opendesign').FormRulesT>;
|
|
218
|
-
};
|
|
219
98
|
hasRequired: {
|
|
220
99
|
type: BooleanConstructor;
|
|
221
100
|
default: boolean;
|
|
222
101
|
};
|
|
223
|
-
requiredIcon: {
|
|
224
|
-
type: BooleanConstructor;
|
|
225
|
-
default: boolean;
|
|
226
|
-
};
|
|
227
102
|
layout: {
|
|
228
103
|
type: import('vue').PropType<"h" | "v" | "inline">;
|
|
229
104
|
default: string;
|
|
230
105
|
};
|
|
231
|
-
|
|
232
|
-
type:
|
|
233
|
-
default: string;
|
|
234
|
-
};
|
|
235
|
-
showMessage: {
|
|
236
|
-
type: BooleanConstructor;
|
|
237
|
-
default: boolean;
|
|
106
|
+
labelAlign: {
|
|
107
|
+
type: import('vue').PropType<"top" | "center" | "bottom">;
|
|
238
108
|
};
|
|
239
|
-
|
|
240
|
-
type:
|
|
241
|
-
default: boolean;
|
|
109
|
+
labelJustify: {
|
|
110
|
+
type: import('vue').PropType<"left" | "center" | "right">;
|
|
242
111
|
};
|
|
243
|
-
|
|
244
|
-
type:
|
|
245
|
-
default: boolean;
|
|
112
|
+
labelWidth: {
|
|
113
|
+
type: StringConstructor;
|
|
246
114
|
};
|
|
247
115
|
}>> & Readonly<{
|
|
248
116
|
onClear?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
249
117
|
onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
250
118
|
onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
251
119
|
onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
isValid: boolean;
|
|
255
|
-
message: string;
|
|
256
|
-
}) => any) | undefined;
|
|
257
|
-
}>, "disabled" | "clearable" | "hasRequired" | "requiredIcon" | "layout" | "labelWidth" | "showMessage" | "validateOnRuleChange" | "scrollToError" | "validate" | "validateField" | "resetFields" | "setInitialValues" | "clearValidate" | "scrollToField"> & {
|
|
258
|
-
validate: (filed?: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
|
|
259
|
-
type: "warning" | "danger" | "success" | "";
|
|
260
|
-
message: string[];
|
|
261
|
-
}[]>;
|
|
262
|
-
validateField: (field: string | string[], trigger?: import('@opensig/opendesign').TriggerT) => Promise<{
|
|
263
|
-
type: "warning" | "danger" | "success" | "";
|
|
264
|
-
message: string[];
|
|
265
|
-
}[]>;
|
|
120
|
+
}>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
|
|
121
|
+
validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
|
|
266
122
|
resetFields: (filed?: string | string[]) => void;
|
|
267
|
-
setInitialValues: (data: Record<string, any>) => void;
|
|
268
123
|
clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
|
|
269
|
-
scrollToField: (field: string, options?: boolean | {
|
|
270
|
-
behavior?: "auto" | "smooth" | "instant";
|
|
271
|
-
block?: "start" | "center" | "end" | "nearest";
|
|
272
|
-
inline?: "start" | "center" | "end" | "nearest";
|
|
273
|
-
}) => Promise<void>;
|
|
274
124
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
275
125
|
$slots: {
|
|
276
126
|
default?(_: {}): any;
|
|
@@ -46,9 +46,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
getActivityDetailRequest: {}
|
|
47
47
|
},
|
|
48
48
|
setup(__props) {
|
|
49
|
+
var _a, _b, _c;
|
|
49
50
|
const { t, locale } = useI18n();
|
|
50
51
|
const isZh = computed(() => locale.value === "zh");
|
|
51
52
|
const { approvalStatusMap, statusMap, activityTypeMap } = useActivityConfig();
|
|
53
|
+
console.log(statusMap.value);
|
|
54
|
+
console.log((_a = statusMap.value) == null ? void 0 : _a.get(3));
|
|
55
|
+
console.log((_c = (_b = statusMap.value) == null ? void 0 : _b.get(3)) == null ? void 0 : _c.text);
|
|
52
56
|
const message = useMessage(null);
|
|
53
57
|
const { isPhone, lePadV } = useScreen();
|
|
54
58
|
const props = __props;
|
|
@@ -141,7 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
141
145
|
}
|
|
142
146
|
const res = await props.getTableDataRequest(paramsData);
|
|
143
147
|
tableData.value = (res.data || []).map((item) => {
|
|
144
|
-
var
|
|
148
|
+
var _a2;
|
|
145
149
|
const { start_date, end_date, start, end, activity_type } = item;
|
|
146
150
|
return [
|
|
147
151
|
{
|
|
@@ -151,7 +155,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
151
155
|
end_date_time: `${end_date} ${end}`,
|
|
152
156
|
type: CalendarDataType.EVENTS,
|
|
153
157
|
dateRange: `${start_date} ${start}-${end_date} ${end}`,
|
|
154
|
-
activity_type: (
|
|
158
|
+
activity_type: (_a2 = activityTypeMap.value.get(activity_type)) == null ? void 0 : _a2.label
|
|
155
159
|
}
|
|
156
160
|
];
|
|
157
161
|
}).flat();
|
|
@@ -179,21 +183,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
179
183
|
reason: [{ required: true, message: t("meeting.enterReviewNotes") }]
|
|
180
184
|
});
|
|
181
185
|
const confirm = async () => {
|
|
182
|
-
var
|
|
186
|
+
var _a2, _b2, _c2, _d;
|
|
183
187
|
if (!props.approveActivityRequest || !props.rejectActivityRequest) {
|
|
184
188
|
return;
|
|
185
189
|
}
|
|
186
190
|
try {
|
|
187
191
|
loading.value = true;
|
|
188
|
-
const valid = await ((
|
|
192
|
+
const valid = await ((_a2 = formRef.value) == null ? void 0 : _a2.validate());
|
|
189
193
|
if (!valid || valid.some((v) => !!v)) {
|
|
190
194
|
loading.value = false;
|
|
191
195
|
return;
|
|
192
196
|
}
|
|
193
197
|
if (reviewStatus.value === 1) {
|
|
194
|
-
await props.approveActivityRequest((
|
|
198
|
+
await props.approveActivityRequest((_b2 = currentRow.value) == null ? void 0 : _b2.id, form.value);
|
|
195
199
|
} else {
|
|
196
|
-
await props.rejectActivityRequest((
|
|
200
|
+
await props.rejectActivityRequest((_c2 = currentRow.value) == null ? void 0 : _c2.id, form.value);
|
|
197
201
|
}
|
|
198
202
|
getData();
|
|
199
203
|
cancel();
|
|
@@ -212,7 +216,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
212
216
|
form.value.reason = "";
|
|
213
217
|
};
|
|
214
218
|
const confirmCancel = async () => {
|
|
215
|
-
var
|
|
219
|
+
var _a2;
|
|
216
220
|
if (props.deleteActivityRequest && props.cancelActivityRequest) {
|
|
217
221
|
try {
|
|
218
222
|
loading.value = true;
|
|
@@ -224,7 +228,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
224
228
|
getData();
|
|
225
229
|
cancel();
|
|
226
230
|
message.success({
|
|
227
|
-
content: t("meeting.activityActionSuccess", [(
|
|
231
|
+
content: t("meeting.activityActionSuccess", [(_a2 = currentRow.value) == null ? void 0 : _a2.title, cancelText.value])
|
|
228
232
|
});
|
|
229
233
|
} finally {
|
|
230
234
|
loading.value = false;
|
|
@@ -271,8 +275,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
271
275
|
}
|
|
272
276
|
fetchedDetailIds.value.add(val);
|
|
273
277
|
props.getActivityDetailRequest(val).then((res) => {
|
|
274
|
-
var
|
|
275
|
-
(
|
|
278
|
+
var _a2;
|
|
279
|
+
(_a2 = tableData.value) == null ? void 0 : _a2.forEach((item) => {
|
|
276
280
|
if (item.id === res.id) {
|
|
277
281
|
item.approve_record = res.approve_record;
|
|
278
282
|
item.approver = res.approver;
|
|
@@ -383,18 +387,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
383
387
|
createTextVNode(toDisplayString(unref(dayjs)(asItem(row).create_time).format("YYYY/MM/DD HH:mm:ss")), 1)
|
|
384
388
|
]),
|
|
385
389
|
td_status: withCtx(({ row }) => {
|
|
386
|
-
var
|
|
390
|
+
var _a2;
|
|
387
391
|
return [
|
|
388
392
|
asItem(row).is_delete !== 1 ? (openBlock(), createBlock(unref(OTag), {
|
|
389
393
|
key: 0,
|
|
390
394
|
color: "primary",
|
|
391
395
|
variant: "outline",
|
|
392
|
-
class: normalizeClass([`tag-${(
|
|
396
|
+
class: normalizeClass([`tag-${(_a2 = unref(statusMap).get(asItem(row).status)) == null ? void 0 : _a2.id}`])
|
|
393
397
|
}, {
|
|
394
398
|
default: withCtx(() => {
|
|
395
|
-
var
|
|
399
|
+
var _a3;
|
|
396
400
|
return [
|
|
397
|
-
createTextVNode(toDisplayString((
|
|
401
|
+
createTextVNode(toDisplayString(unref(statusMap).get(asItem(row).status)) + " " + toDisplayString((_a3 = unref(statusMap).get(asItem(row).status)) == null ? void 0 : _a3.text), 1)
|
|
398
402
|
];
|
|
399
403
|
}),
|
|
400
404
|
_: 2
|
|
@@ -481,7 +485,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
481
485
|
}, {
|
|
482
486
|
default: withCtx(() => [
|
|
483
487
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tableData.value, (act) => {
|
|
484
|
-
var
|
|
488
|
+
var _a2;
|
|
485
489
|
return openBlock(), createElementBlock(Fragment, {
|
|
486
490
|
key: act.id
|
|
487
491
|
}, [
|
|
@@ -491,12 +495,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
491
495
|
key: 0,
|
|
492
496
|
color: "primary",
|
|
493
497
|
variant: "outline",
|
|
494
|
-
class: normalizeClass([`tag-${(
|
|
498
|
+
class: normalizeClass([`tag-${(_a2 = unref(statusMap).get(act.status)) == null ? void 0 : _a2.id}`])
|
|
495
499
|
}, {
|
|
496
500
|
default: withCtx(() => {
|
|
497
|
-
var
|
|
501
|
+
var _a3;
|
|
498
502
|
return [
|
|
499
|
-
createTextVNode(toDisplayString((
|
|
503
|
+
createTextVNode(toDisplayString((_a3 = unref(statusMap).get(act.status)) == null ? void 0 : _a3.text), 1)
|
|
500
504
|
];
|
|
501
505
|
}),
|
|
502
506
|
_: 2
|
|
@@ -656,9 +660,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
656
660
|
createTextVNode(toDisplayString(cancelTitle.value), 1)
|
|
657
661
|
]),
|
|
658
662
|
default: withCtx(() => {
|
|
659
|
-
var
|
|
663
|
+
var _a2, _b2;
|
|
660
664
|
return [
|
|
661
|
-
createElementVNode("div", _hoisted_15, toDisplayString(cancelStatus.value === 1 ? unref(t)("meeting.confirmCancelActivity", [(
|
|
665
|
+
createElementVNode("div", _hoisted_15, toDisplayString(cancelStatus.value === 1 ? unref(t)("meeting.confirmCancelActivity", [(_a2 = currentRow.value) == null ? void 0 : _a2.title]) : unref(t)("meeting.confirmDeleteActivity", [(_b2 = currentRow.value) == null ? void 0 : _b2.title])), 1)
|
|
662
666
|
];
|
|
663
667
|
}),
|
|
664
668
|
_: 1
|