@opendesign-plus-test/components 0.0.1-rc.34 → 0.0.1-rc.35
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 +68 -62
- package/dist/components/activity/composables/useActivityConfig.d.ts +17 -0
- package/dist/components/activity/config.d.ts +0 -14
- package/dist/components/meeting/composables/useMeetingConfig.d.ts +14 -0
- package/dist/components/meeting/config.d.ts +1 -16
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components/meeting/utils.d.ts +1 -15
- package/dist/components.cjs.js +39 -39
- package/dist/components.css +1 -1
- package/dist/components.es.js +10456 -10473
- package/package.json +1 -1
- package/src/components/activity/OActivityApproval.vue +3 -4
- package/src/components/activity/OActivityForm.vue +5 -4
- package/src/components/activity/OMyActivityCalendar.vue +3 -4
- package/src/components/activity/composables/useActivityConfig.ts +141 -0
- package/src/components/activity/config.ts +1 -141
- package/src/components/meeting/OMeetingCalendar.vue +7 -9
- package/src/components/meeting/OMeetingForm.vue +11 -18
- package/src/components/meeting/OMyMeetingCalendar.vue +4 -8
- package/src/components/meeting/OSigMeetingCalendar.vue +3 -5
- package/src/components/meeting/components/OMeetingCalendarList.vue +7 -8
- package/src/components/meeting/components/OMeetingDetail.vue +9 -8
- package/src/components/meeting/components/OSigMeetingAside.vue +3 -1
- package/src/components/meeting/composables/useMeetingConfig.ts +111 -0
- package/src/components/meeting/config.ts +58 -120
- package/src/components/meeting/types.ts +1 -0
- package/src/components/meeting/utils.ts +69 -122
- package/src/i18n/en.ts +17 -14
- package/src/i18n/zh.ts +3 -0
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* 格式化时间
|
|
4
|
-
* @param {string} date 时间
|
|
5
|
-
* @param {string} format 时间格式
|
|
6
|
-
* @returns {string} 返回
|
|
7
|
-
*/
|
|
1
|
+
import { OptionItemT } from './types';
|
|
8
2
|
export declare const formatDate: (date?: string | Date, format?: string) => string;
|
|
9
3
|
export declare const findLabelFromOptions: (value: string | number, options: OptionItemT[], labelKey?: keyof OptionItemT, valueKey?: keyof OptionItemT) => string | number;
|
|
10
|
-
export declare const getPointStr: (cycleType: number, points: number[]) => string;
|
|
11
4
|
export declare const speakerNum: (val: string) => number;
|
|
12
|
-
/**
|
|
13
|
-
* 将时间转换为秒数
|
|
14
|
-
* @param {string} date 时间 hh:mm:ss
|
|
15
|
-
* @returns {number}
|
|
16
|
-
*/
|
|
17
5
|
export declare const getDateNumber: (date: string) => number;
|
|
18
6
|
export declare const formatDateNumber: (num: number) => string;
|
|
19
7
|
export declare const transformTime: (time: string) => number;
|
|
20
8
|
export declare const transformSeconds: (seconds: number) => string;
|
|
21
|
-
export declare const getConfig: (val: CalendarDataType, key: keyof meetingTabT) => string;
|
|
22
|
-
export declare const getPlatformLabel: (platform: string) => string;
|