@opendesign-plus/components 0.0.1-rc.42 → 0.0.1-rc.44

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 (73) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +75 -59
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/banner/index.d.ts +6 -6
  5. package/dist/components/events/index.d.ts +20 -20
  6. package/dist/components/feedback-doc/OFeedbackDoc.vue.d.ts +215 -0
  7. package/dist/components/feedback-doc/OFeedbackDocContent.vue.d.ts +36 -0
  8. package/dist/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +34 -0
  9. package/dist/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +42 -0
  10. package/dist/components/feedback-doc/index.d.ts +488 -0
  11. package/dist/components/header/OHeaderMobile.vue.d.ts +14 -14
  12. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  13. package/dist/components/header/index.d.ts +23 -23
  14. package/dist/components/header-search/OHeaderSearch.vue.d.ts +4 -0
  15. package/dist/components/header-search/index.d.ts +15 -13
  16. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  17. package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
  18. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  19. package/dist/components/meeting/index.d.ts +31 -31
  20. package/dist/components/search/OSearchInput.vue.d.ts +4 -0
  21. package/dist/components/search/index.d.ts +13 -11
  22. package/dist/components/search/internal/SearchImageInput.vue.d.ts +4 -0
  23. package/dist/components.cjs.js +40 -40
  24. package/dist/components.css +1 -1
  25. package/dist/components.es.js +10142 -9610
  26. package/dist/index.d.ts +1 -0
  27. package/dist/treeshaking/_virtual/icon-smile.mjs +21 -0
  28. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  29. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  30. package/dist/treeshaking/components/events/index.d.ts +20 -20
  31. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +20 -0
  32. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.d.ts +215 -0
  33. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +7 -0
  34. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +157 -0
  35. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +115 -0
  36. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.d.ts +36 -0
  37. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +7 -0
  38. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +303 -0
  39. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +34 -0
  40. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +92 -0
  41. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue2.mjs +4 -0
  42. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.css +22 -0
  43. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +42 -0
  44. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.mjs +7 -0
  45. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue2.mjs +90 -0
  46. package/dist/treeshaking/components/feedback-doc/index.d.ts +488 -0
  47. package/dist/treeshaking/components/feedback-doc/index.mjs +30 -0
  48. package/dist/treeshaking/components/header/OHeader.css +15 -15
  49. package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
  50. package/dist/treeshaking/components/header/OHeader.vue2.mjs +6 -1
  51. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +14 -14
  52. package/dist/treeshaking/components/header/components/HeaderContent.css +176 -176
  53. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  54. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +8 -5
  55. package/dist/treeshaking/components/header/components/HeaderNav.css +43 -43
  56. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
  57. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +2 -7
  58. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  59. package/dist/treeshaking/components/header/index.d.ts +23 -23
  60. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +4 -0
  61. package/dist/treeshaking/components/header-search/index.d.ts +15 -13
  62. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  63. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
  64. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  65. package/dist/treeshaking/components/meeting/index.d.ts +31 -31
  66. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +4 -0
  67. package/dist/treeshaking/components/search/index.d.ts +13 -11
  68. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +4 -0
  69. package/dist/treeshaking/i18n/en.mjs +9 -1
  70. package/dist/treeshaking/i18n/zh.mjs +9 -1
  71. package/dist/treeshaking/index.d.ts +1 -0
  72. package/dist/treeshaking/index.mjs +5 -0
  73. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './components/config-provider';
4
4
  export * from './components/cookie-notice';
5
5
  export * from './components/element-plus';
6
6
  export * from './components/events';
7
+ export * from './components/feedback-doc';
7
8
  export * from './components/footer';
8
9
  export * from './components/header';
9
10
  export * from './components/header-language-switcher';
@@ -0,0 +1,21 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ version: "1.1",
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: "24",
6
+ height: "24",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
+ createElementVNode("path", {
12
+ opacity: "0.8",
13
+ fill: "currentColor",
14
+ d: "M12 2.3c5.357 0 9.7 4.343 9.7 9.7 0 2.436-0.902 4.732-2.502 6.503-1.827 2.021-4.419 3.197-7.198 3.197-5.357 0-9.7-4.343-9.7-9.7s4.343-9.7 9.7-9.7zM12 3.7c-4.584 0-8.3 3.716-8.3 8.3s3.716 8.3 8.3 8.3c2.379 0 4.595-1.005 6.159-2.736 1.37-1.515 2.141-3.479 2.141-5.564 0-4.584-3.716-8.3-8.3-8.3zM17.326 13.329c0.342 0.18 0.474 0.603 0.294 0.945-1.082 2.057-3.236 3.374-5.626 3.374-2.378 0-4.524-1.305-5.611-3.346-0.182-0.341-0.052-0.765 0.289-0.947s0.765-0.052 0.947 0.289c0.845 1.587 2.517 2.604 4.375 2.604 1.867 0 3.546-1.027 4.387-2.626 0.18-0.342 0.603-0.474 0.945-0.294zM7.25 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25zM16.75 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25z"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const IconSmile = { name: "components-icon-smile", render };
19
+ export {
20
+ IconSmile as default
21
+ };
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  declare const OActivityForm: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ActivityFormPropsT> & Readonly<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
4
4
  onConfirm?: ((...args: any[]) => any) | undefined;
5
5
  onClose?: ((...args: any[]) => any) | undefined;
6
6
  }>, {
@@ -142,7 +142,7 @@ declare const OActivityForm: {
142
142
  C: {};
143
143
  M: {};
144
144
  Defaults: {};
145
- }, Readonly<import('./types').ActivityFormPropsT> & Readonly<{
145
+ }, Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
146
146
  onConfirm?: ((...args: any[]) => any) | undefined;
147
147
  onClose?: ((...args: any[]) => any) | undefined;
148
148
  }>, {
@@ -151,7 +151,7 @@ declare const OActivityForm: {
151
151
  __isFragment?: never;
152
152
  __isTeleport?: never;
153
153
  __isSuspense?: never;
154
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ActivityFormPropsT> & Readonly<{
154
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
155
155
  onConfirm?: ((...args: any[]) => any) | undefined;
156
156
  onClose?: ((...args: any[]) => any) | undefined;
157
157
  }>, {
@@ -163,7 +163,7 @@ declare const OActivityForm: {
163
163
  install(app: App): void;
164
164
  };
165
165
  declare const OActivityApproval: {
166
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
166
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
167
167
  formRef: ({
168
168
  $: import('vue').ComponentInternalInstance;
169
169
  $data: {};
@@ -297,11 +297,11 @@ declare const OActivityApproval: {
297
297
  C: {};
298
298
  M: {};
299
299
  Defaults: {};
300
- }, Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
300
+ }, Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
301
301
  __isFragment?: never;
302
302
  __isTeleport?: never;
303
303
  __isSuspense?: never;
304
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, 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 () => {
304
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, 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 () => {
305
305
  $slots: {
306
306
  'filter-empty'?(_: {}): any;
307
307
  'filter-empty'?(_: {}): any;
@@ -310,7 +310,7 @@ declare const OActivityApproval: {
310
310
  install(app: App): void;
311
311
  };
312
312
  declare const OActivityMyCalendar: {
313
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
313
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
314
314
  onEdit?: ((...args: any[]) => any) | undefined;
315
315
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
316
316
  edit: (...args: any[]) => void;
@@ -627,13 +627,13 @@ declare const OActivityMyCalendar: {
627
627
  C: {};
628
628
  M: {};
629
629
  Defaults: {};
630
- }, Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
630
+ }, Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
631
631
  onEdit?: ((...args: any[]) => any) | undefined;
632
632
  }>, {}, {}, {}, {}, {}>;
633
633
  __isFragment?: never;
634
634
  __isTeleport?: never;
635
635
  __isSuspense?: never;
636
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
636
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
637
637
  onEdit?: ((...args: any[]) => any) | undefined;
638
638
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
639
639
  edit: (...args: any[]) => void;
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  declare const OBanner: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
- options?: import('./types').BannerItem | import('./types').BannerItem[];
4
+ options?: import('../../index').BannerItem | import('../../index').BannerItem[];
5
5
  size?: "large" | "medium" | "small" | "tiny";
6
6
  contentJustifyCenter?: boolean;
7
7
  autoPlay?: boolean;
@@ -17,7 +17,7 @@ declare const OBanner: {
17
17
  M: {};
18
18
  Defaults: {};
19
19
  }, Readonly<{
20
- options?: import('./types').BannerItem | import('./types').BannerItem[];
20
+ options?: import('../../index').BannerItem | import('../../index').BannerItem[];
21
21
  size?: "large" | "medium" | "small" | "tiny";
22
22
  contentJustifyCenter?: boolean;
23
23
  autoPlay?: boolean;
@@ -28,7 +28,7 @@ declare const OBanner: {
28
28
  __isTeleport?: never;
29
29
  __isSuspense?: never;
30
30
  } & import('vue').ComponentOptionsBase<Readonly<{
31
- options?: import('./types').BannerItem | import('./types').BannerItem[];
31
+ options?: import('../../index').BannerItem | import('../../index').BannerItem[];
32
32
  size?: "large" | "medium" | "small" | "tiny";
33
33
  contentJustifyCenter?: boolean;
34
34
  autoPlay?: boolean;
@@ -40,7 +40,7 @@ declare const OBanner: {
40
40
  install(app: App): void;
41
41
  };
42
42
  declare const OBannerContent: {
43
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BannerContentProps> & Readonly<{
43
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BannerContentProps> & Readonly<{
44
44
  onClick?: ((href: string | undefined) => any) | undefined;
45
45
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
46
46
  click: (href: string | undefined) => any;
@@ -51,13 +51,13 @@ declare const OBannerContent: {
51
51
  C: {};
52
52
  M: {};
53
53
  Defaults: {};
54
- }, Readonly<import('./types').BannerContentProps> & Readonly<{
54
+ }, Readonly<import('../../index').BannerContentProps> & Readonly<{
55
55
  onClick?: ((href: string | undefined) => any) | undefined;
56
56
  }>, {}, {}, {}, {}, {}>;
57
57
  __isFragment?: never;
58
58
  __isTeleport?: never;
59
59
  __isSuspense?: never;
60
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').BannerContentProps> & Readonly<{
60
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').BannerContentProps> & Readonly<{
61
61
  onClick?: ((href: string | undefined) => any) | undefined;
62
62
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
63
63
  click: (href: string | undefined) => any;
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  declare const OEventsCalendar: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
- data: import('./types').CalendarItemT[];
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
+ data: import('../../index').CalendarItemT[];
5
5
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
6
6
  P: {};
7
7
  B: {};
@@ -9,24 +9,24 @@ declare const OEventsCalendar: {
9
9
  C: {};
10
10
  M: {};
11
11
  Defaults: {};
12
- }, Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, {
13
- data: import('./types').CalendarItemT[];
12
+ }, Readonly<import('../../index').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, {
13
+ data: import('../../index').CalendarItemT[];
14
14
  }>;
15
15
  __isFragment?: never;
16
16
  __isTeleport?: never;
17
17
  __isSuspense?: never;
18
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
19
- data: import('./types').CalendarItemT[];
18
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
19
+ data: import('../../index').CalendarItemT[];
20
20
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
21
21
  install(app: App): void;
22
22
  };
23
23
  declare const OEventsList: {
24
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsListPropsT> & Readonly<{
25
- onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
24
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').EventsListPropsT> & Readonly<{
25
+ onSearch?: ((params: import('../../index').SearchParamsT) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
- search: (params: import('./types').SearchParamsT) => any;
27
+ search: (params: import('../../index').SearchParamsT) => any;
28
28
  }, import('vue').PublicProps, {
29
- data: import('./types').EventsCardItemT[];
29
+ data: import('../../index').EventsCardItemT[];
30
30
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
31
31
  P: {};
32
32
  B: {};
@@ -34,20 +34,20 @@ declare const OEventsList: {
34
34
  C: {};
35
35
  M: {};
36
36
  Defaults: {};
37
- }, Readonly<import('./types').EventsListPropsT> & Readonly<{
38
- onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
37
+ }, Readonly<import('../../index').EventsListPropsT> & Readonly<{
38
+ onSearch?: ((params: import('../../index').SearchParamsT) => any) | undefined;
39
39
  }>, {}, {}, {}, {}, {
40
- data: import('./types').EventsCardItemT[];
40
+ data: import('../../index').EventsCardItemT[];
41
41
  }>;
42
42
  __isFragment?: never;
43
43
  __isTeleport?: never;
44
44
  __isSuspense?: never;
45
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').EventsListPropsT> & Readonly<{
46
- onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
45
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').EventsListPropsT> & Readonly<{
46
+ onSearch?: ((params: import('../../index').SearchParamsT) => any) | undefined;
47
47
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
48
- search: (params: import('./types').SearchParamsT) => any;
48
+ search: (params: import('../../index').SearchParamsT) => any;
49
49
  }, string, {
50
- data: import('./types').EventsCardItemT[];
50
+ data: import('../../index').EventsCardItemT[];
51
51
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
52
52
  $slots: Readonly<{
53
53
  empty?: () => any;
@@ -58,18 +58,18 @@ declare const OEventsList: {
58
58
  install(app: App): void;
59
59
  };
60
60
  declare const OEventsApply: {
61
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
61
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
62
62
  P: {};
63
63
  B: {};
64
64
  D: {};
65
65
  C: {};
66
66
  M: {};
67
67
  Defaults: {};
68
- }, Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
68
+ }, Readonly<import('../../index').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
69
69
  __isFragment?: never;
70
70
  __isTeleport?: never;
71
71
  __isSuspense?: never;
72
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, 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 () => {
72
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, 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 () => {
73
73
  $slots: Partial<Record<`step${number}`, (_: {}) => any>>;
74
74
  }) & {
75
75
  install(app: App): void;
@@ -0,0 +1,20 @@
1
+ .hover-icon-rotate .o-icon[data-v-9b45490c] {
2
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
+ }
4
+ @media (hover: hover) {
5
+ .hover-icon-rotate:hover .o-icon[data-v-9b45490c] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-feedback-doc-wrap[data-v-9b45490c] {
10
+ color: var(--o-color-info1);
11
+ cursor: pointer;
12
+ }
13
+ @media (hover: hover) {
14
+ .o-feedback-doc-wrap[data-v-9b45490c]:hover {
15
+ color: var(--o-color-primary1);
16
+ }
17
+ }
18
+ .o-feedback-doc-wrap .o-feedback-icon-smile[data-v-9b45490c] {
19
+ font-size: 24px;
20
+ }
@@ -0,0 +1,215 @@
1
+ import { ComponentPublicInstance } from 'vue';
2
+ type __VLS_Props = {
3
+ wrapper?: string | HTMLElement | null | undefined;
4
+ target?: string | HTMLElement | ComponentPublicInstance | null;
5
+ position?: 'br' | 'rt' | 'tr' | 'left' | 'right' | 'top' | 'bottom' | 'rb' | 'tl' | 'bl' | 'lt' | 'lb';
6
+ disableTip?: boolean;
7
+ submitData?: (data: Record<string, any>) => Promise<boolean>;
8
+ submitIssue?: (data: Record<string, any>) => Promise<boolean>;
9
+ };
10
+ type __VLS_PublicProps = {
11
+ 'efficiency'?: number;
12
+ 'accuracy'?: number;
13
+ 'completeness'?: number;
14
+ 'usability'?: number;
15
+ 'feedback'?: string;
16
+ } & __VLS_Props;
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: {
20
+ default?(_: {}): any;
21
+ };
22
+ refs: {
23
+ feedbackRef: ({
24
+ $: import('vue').ComponentInternalInstance;
25
+ $data: {};
26
+ $props: Partial<{
27
+ button: boolean;
28
+ disabled: boolean;
29
+ loading: boolean;
30
+ }> & Omit<{
31
+ readonly loading: boolean;
32
+ readonly disabled: boolean;
33
+ readonly button: boolean;
34
+ readonly icon?: import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any> | undefined;
35
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "button">;
36
+ $attrs: import('vue').Attrs;
37
+ $refs: {
38
+ [x: string]: unknown;
39
+ };
40
+ $slots: Readonly<{
41
+ [name: string]: import('vue').Slot<any> | undefined;
42
+ }>;
43
+ $root: ComponentPublicInstance | null;
44
+ $parent: ComponentPublicInstance | null;
45
+ $host: Element | null;
46
+ $emit: (event: string, ...args: any[]) => void;
47
+ $el: HTMLDivElement;
48
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
49
+ icon: {
50
+ type: import('vue').PropType<import('vue').Component>;
51
+ };
52
+ button: {
53
+ type: BooleanConstructor;
54
+ };
55
+ disabled: {
56
+ type: BooleanConstructor;
57
+ };
58
+ loading: {
59
+ type: BooleanConstructor;
60
+ };
61
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
62
+ button: boolean;
63
+ disabled: boolean;
64
+ loading: boolean;
65
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
66
+ beforeCreate?: (() => void) | (() => void)[];
67
+ created?: (() => void) | (() => void)[];
68
+ beforeMount?: (() => void) | (() => void)[];
69
+ mounted?: (() => void) | (() => void)[];
70
+ beforeUpdate?: (() => void) | (() => void)[];
71
+ updated?: (() => void) | (() => void)[];
72
+ activated?: (() => void) | (() => void)[];
73
+ deactivated?: (() => void) | (() => void)[];
74
+ beforeDestroy?: (() => void) | (() => void)[];
75
+ beforeUnmount?: (() => void) | (() => void)[];
76
+ destroyed?: (() => void) | (() => void)[];
77
+ unmounted?: (() => void) | (() => void)[];
78
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
79
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
80
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
81
+ };
82
+ $forceUpdate: () => void;
83
+ $nextTick: typeof import('vue').nextTick;
84
+ $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;
85
+ } & Readonly<{
86
+ button: boolean;
87
+ disabled: boolean;
88
+ loading: boolean;
89
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
90
+ icon: {
91
+ type: import('vue').PropType<import('vue').Component>;
92
+ };
93
+ button: {
94
+ type: BooleanConstructor;
95
+ };
96
+ disabled: {
97
+ type: BooleanConstructor;
98
+ };
99
+ loading: {
100
+ type: BooleanConstructor;
101
+ };
102
+ }>> & Readonly<{}>, "loading" | "disabled" | "button"> & {} & import('vue').ComponentCustomProperties & {} & {
103
+ $slots: {
104
+ default?(_: {}): any;
105
+ };
106
+ }) | null;
107
+ };
108
+ rootEl: HTMLDivElement;
109
+ };
110
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
111
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
112
+ "update:efficiency": (value: number) => any;
113
+ "update:accuracy": (value: number) => any;
114
+ "update:completeness": (value: number) => any;
115
+ "update:usability": (value: number) => any;
116
+ "update:feedback": (value: string) => any;
117
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
118
+ "onUpdate:efficiency"?: ((value: number) => any) | undefined;
119
+ "onUpdate:accuracy"?: ((value: number) => any) | undefined;
120
+ "onUpdate:completeness"?: ((value: number) => any) | undefined;
121
+ "onUpdate:usability"?: ((value: number) => any) | undefined;
122
+ "onUpdate:feedback"?: ((value: string) => any) | undefined;
123
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
124
+ feedbackRef: ({
125
+ $: import('vue').ComponentInternalInstance;
126
+ $data: {};
127
+ $props: Partial<{
128
+ button: boolean;
129
+ disabled: boolean;
130
+ loading: boolean;
131
+ }> & Omit<{
132
+ readonly loading: boolean;
133
+ readonly disabled: boolean;
134
+ readonly button: boolean;
135
+ readonly icon?: import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any> | undefined;
136
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "button">;
137
+ $attrs: import('vue').Attrs;
138
+ $refs: {
139
+ [x: string]: unknown;
140
+ };
141
+ $slots: Readonly<{
142
+ [name: string]: import('vue').Slot<any> | undefined;
143
+ }>;
144
+ $root: ComponentPublicInstance | null;
145
+ $parent: ComponentPublicInstance | null;
146
+ $host: Element | null;
147
+ $emit: (event: string, ...args: any[]) => void;
148
+ $el: HTMLDivElement;
149
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
150
+ icon: {
151
+ type: import('vue').PropType<import('vue').Component>;
152
+ };
153
+ button: {
154
+ type: BooleanConstructor;
155
+ };
156
+ disabled: {
157
+ type: BooleanConstructor;
158
+ };
159
+ loading: {
160
+ type: BooleanConstructor;
161
+ };
162
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
163
+ button: boolean;
164
+ disabled: boolean;
165
+ loading: boolean;
166
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
167
+ beforeCreate?: (() => void) | (() => void)[];
168
+ created?: (() => void) | (() => void)[];
169
+ beforeMount?: (() => void) | (() => void)[];
170
+ mounted?: (() => void) | (() => void)[];
171
+ beforeUpdate?: (() => void) | (() => void)[];
172
+ updated?: (() => void) | (() => void)[];
173
+ activated?: (() => void) | (() => void)[];
174
+ deactivated?: (() => void) | (() => void)[];
175
+ beforeDestroy?: (() => void) | (() => void)[];
176
+ beforeUnmount?: (() => void) | (() => void)[];
177
+ destroyed?: (() => void) | (() => void)[];
178
+ unmounted?: (() => void) | (() => void)[];
179
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
180
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
181
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
182
+ };
183
+ $forceUpdate: () => void;
184
+ $nextTick: typeof import('vue').nextTick;
185
+ $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;
186
+ } & Readonly<{
187
+ button: boolean;
188
+ disabled: boolean;
189
+ loading: boolean;
190
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
191
+ icon: {
192
+ type: import('vue').PropType<import('vue').Component>;
193
+ };
194
+ button: {
195
+ type: BooleanConstructor;
196
+ };
197
+ disabled: {
198
+ type: BooleanConstructor;
199
+ };
200
+ loading: {
201
+ type: BooleanConstructor;
202
+ };
203
+ }>> & Readonly<{}>, "loading" | "disabled" | "button"> & {} & import('vue').ComponentCustomProperties & {} & {
204
+ $slots: {
205
+ default?(_: {}): any;
206
+ };
207
+ }) | null;
208
+ }, HTMLDivElement>;
209
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
210
+ export default _default;
211
+ type __VLS_WithTemplateSlots<T, S> = T & {
212
+ new (): {
213
+ $slots: S;
214
+ };
215
+ };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./OFeedbackDoc.vue2.mjs";
2
+ import './OFeedbackDoc.css';
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _OFeedbackDoc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9b45490c"]]);
5
+ export {
6
+ _OFeedbackDoc as default
7
+ };
@@ -0,0 +1,157 @@
1
+ import { defineComponent, useModel, ref, openBlock, createElementBlock, renderSlot, createVNode, unref, withCtx, createBlock, mergeModels } from "vue";
2
+ import { OIcon } from "@opensig/opendesign";
3
+ import { useScreen } from "@opendesign-plus/composables";
4
+ import _OFeedbackDocPopup from "./OFeedbackDocPopup.vue.mjs";
5
+ import _sfc_main$1 from "./OFeedbackDocDialog.vue.mjs";
6
+ import IconSmile from "../../_virtual/icon-smile.mjs";
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "OFeedbackDoc",
9
+ props: /* @__PURE__ */ mergeModels({
10
+ wrapper: {},
11
+ target: {},
12
+ position: {},
13
+ disableTip: { type: Boolean },
14
+ submitData: { type: Function },
15
+ submitIssue: { type: Function }
16
+ }, {
17
+ "efficiency": {
18
+ default: 0
19
+ },
20
+ "efficiencyModifiers": {},
21
+ "accuracy": {
22
+ default: 0
23
+ },
24
+ "accuracyModifiers": {},
25
+ "completeness": {
26
+ default: 0
27
+ },
28
+ "completenessModifiers": {},
29
+ "usability": {
30
+ default: 0
31
+ },
32
+ "usabilityModifiers": {},
33
+ "feedback": {
34
+ default: ""
35
+ },
36
+ "feedbackModifiers": {}
37
+ }),
38
+ emits: ["update:efficiency", "update:accuracy", "update:completeness", "update:usability", "update:feedback"],
39
+ setup(__props) {
40
+ const efficiencyRate = useModel(__props, "efficiency");
41
+ const accuracyRate = useModel(__props, "accuracy");
42
+ const completenessRate = useModel(__props, "completeness");
43
+ const usabilityRate = useModel(__props, "usability");
44
+ const feedback = useModel(__props, "feedback");
45
+ const { lePad } = useScreen();
46
+ const feedbackRef = ref();
47
+ const showDlg = ref(false);
48
+ const showPopup = ref(false);
49
+ const autoHide = ref(true);
50
+ let timer;
51
+ const onMouseEnter = () => {
52
+ if (lePad.value) {
53
+ return;
54
+ }
55
+ clearTimeout(timer);
56
+ showPopup.value = true;
57
+ };
58
+ const onMouseLeave = () => {
59
+ if (lePad.value) {
60
+ return;
61
+ }
62
+ if (!autoHide.value) {
63
+ return;
64
+ }
65
+ clearTimeout(timer);
66
+ timer = setTimeout(() => {
67
+ showPopup.value = false;
68
+ }, 300);
69
+ };
70
+ const onClose = () => {
71
+ showDlg.value = false;
72
+ showPopup.value = false;
73
+ autoHide.value = true;
74
+ efficiencyRate.value = 0;
75
+ accuracyRate.value = 0;
76
+ completenessRate.value = 0;
77
+ usabilityRate.value = 0;
78
+ feedback.value = "";
79
+ };
80
+ const onChange = () => {
81
+ autoHide.value = false;
82
+ };
83
+ const onClick = () => {
84
+ if (!lePad.value) {
85
+ return;
86
+ }
87
+ showDlg.value = true;
88
+ };
89
+ return (_ctx, _cache) => {
90
+ return openBlock(), createElementBlock("div", {
91
+ id: "o-feedback-doc-wrap",
92
+ class: "o-feedback-doc-wrap",
93
+ onMouseenter: onMouseEnter,
94
+ onMouseleave: onMouseLeave
95
+ }, [
96
+ renderSlot(_ctx.$slots, "default", {}, () => [
97
+ createVNode(unref(OIcon), {
98
+ ref_key: "feedbackRef",
99
+ ref: feedbackRef,
100
+ class: "o-feedback-icon-smile",
101
+ onClick
102
+ }, {
103
+ default: withCtx(() => [
104
+ createVNode(unref(IconSmile))
105
+ ]),
106
+ _: 1
107
+ }, 512)
108
+ ], true),
109
+ unref(lePad) ? (openBlock(), createBlock(_sfc_main$1, {
110
+ key: 0,
111
+ visible: showDlg.value,
112
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => showDlg.value = $event),
113
+ efficiency: efficiencyRate.value,
114
+ "onUpdate:efficiency": _cache[1] || (_cache[1] = ($event) => efficiencyRate.value = $event),
115
+ accuracy: accuracyRate.value,
116
+ "onUpdate:accuracy": _cache[2] || (_cache[2] = ($event) => accuracyRate.value = $event),
117
+ completeness: completenessRate.value,
118
+ "onUpdate:completeness": _cache[3] || (_cache[3] = ($event) => completenessRate.value = $event),
119
+ usability: usabilityRate.value,
120
+ "onUpdate:usability": _cache[4] || (_cache[4] = ($event) => usabilityRate.value = $event),
121
+ feedback: feedback.value,
122
+ "onUpdate:feedback": _cache[5] || (_cache[5] = ($event) => feedback.value = $event),
123
+ "disable-tip": __props.disableTip,
124
+ "submit-data": __props.submitData,
125
+ "submit-issue": __props.submitIssue,
126
+ onChange,
127
+ onClose
128
+ }, null, 8, ["visible", "efficiency", "accuracy", "completeness", "usability", "feedback", "disable-tip", "submit-data", "submit-issue"])) : (openBlock(), createBlock(_OFeedbackDocPopup, {
129
+ key: 1,
130
+ efficiency: efficiencyRate.value,
131
+ "onUpdate:efficiency": _cache[6] || (_cache[6] = ($event) => efficiencyRate.value = $event),
132
+ accuracy: accuracyRate.value,
133
+ "onUpdate:accuracy": _cache[7] || (_cache[7] = ($event) => accuracyRate.value = $event),
134
+ completeness: completenessRate.value,
135
+ "onUpdate:completeness": _cache[8] || (_cache[8] = ($event) => completenessRate.value = $event),
136
+ usability: usabilityRate.value,
137
+ "onUpdate:usability": _cache[9] || (_cache[9] = ($event) => usabilityRate.value = $event),
138
+ feedback: feedback.value,
139
+ "onUpdate:feedback": _cache[10] || (_cache[10] = ($event) => feedback.value = $event),
140
+ visible: showPopup.value,
141
+ target: __props.target || feedbackRef.value,
142
+ "auto-hide": autoHide.value,
143
+ wrapper: __props.wrapper || "#o-feedback-doc-wrap",
144
+ position: __props.position,
145
+ "disable-tip": __props.disableTip,
146
+ "submit-data": __props.submitData,
147
+ "submit-issue": __props.submitIssue,
148
+ onChange,
149
+ onClose
150
+ }, null, 8, ["efficiency", "accuracy", "completeness", "usability", "feedback", "visible", "target", "auto-hide", "wrapper", "position", "disable-tip", "submit-data", "submit-issue"]))
151
+ ], 32);
152
+ };
153
+ }
154
+ });
155
+ export {
156
+ _sfc_main as default
157
+ };