@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.
Files changed (30) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +68 -62
  3. package/dist/components/activity/composables/useActivityConfig.d.ts +17 -0
  4. package/dist/components/activity/config.d.ts +0 -14
  5. package/dist/components/meeting/composables/useMeetingConfig.d.ts +14 -0
  6. package/dist/components/meeting/config.d.ts +1 -16
  7. package/dist/components/meeting/types.d.ts +1 -0
  8. package/dist/components/meeting/utils.d.ts +1 -15
  9. package/dist/components.cjs.js +39 -39
  10. package/dist/components.css +1 -1
  11. package/dist/components.es.js +10456 -10473
  12. package/package.json +1 -1
  13. package/src/components/activity/OActivityApproval.vue +3 -4
  14. package/src/components/activity/OActivityForm.vue +5 -4
  15. package/src/components/activity/OMyActivityCalendar.vue +3 -4
  16. package/src/components/activity/composables/useActivityConfig.ts +141 -0
  17. package/src/components/activity/config.ts +1 -141
  18. package/src/components/meeting/OMeetingCalendar.vue +7 -9
  19. package/src/components/meeting/OMeetingForm.vue +11 -18
  20. package/src/components/meeting/OMyMeetingCalendar.vue +4 -8
  21. package/src/components/meeting/OSigMeetingCalendar.vue +3 -5
  22. package/src/components/meeting/components/OMeetingCalendarList.vue +7 -8
  23. package/src/components/meeting/components/OMeetingDetail.vue +9 -8
  24. package/src/components/meeting/components/OSigMeetingAside.vue +3 -1
  25. package/src/components/meeting/composables/useMeetingConfig.ts +111 -0
  26. package/src/components/meeting/config.ts +58 -120
  27. package/src/components/meeting/types.ts +1 -0
  28. package/src/components/meeting/utils.ts +69 -122
  29. package/src/i18n/en.ts +17 -14
  30. package/src/i18n/zh.ts +3 -0
@@ -1,22 +1,8 @@
1
- import { CalendarDataType, meetingTabT, OptionItemT } from './types.ts';
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;