@opendesign-plus-test/components 0.0.1-rc.61 → 0.0.1-rc.62

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 (64) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +148 -148
  3. package/dist/components/activity/OActivityApproval.vue.d.ts +8 -8
  4. package/dist/components/activity/OActivityForm.vue.d.ts +6 -6
  5. package/dist/components/activity/OActivityMyCalendar.vue.d.ts +2 -2
  6. package/dist/components/activity/index.d.ts +14 -14
  7. package/dist/components/{OPlusConfigProvider.vue.d.ts → config-provider/OPlusConfigProvider.vue.d.ts} +2 -2
  8. package/dist/components/config-provider/index.d.ts +27 -0
  9. package/dist/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
  10. package/dist/components/cookie-notice/index.d.ts +53 -0
  11. package/dist/components/{OFooter.vue.d.ts → footer/OFooter.vue.d.ts} +3 -3
  12. package/dist/components/footer/index.d.ts +89 -0
  13. package/dist/components/{OLanguageSwitcher.vue.d.ts → header/OHeaderLanguageSwitcher.vue.d.ts} +4 -4
  14. package/dist/components/{OHeaderSearch.vue.d.ts → header/OHeaderSearch.vue.d.ts} +145 -145
  15. package/dist/components/header/OHeaderSourceCode.vue.d.ts +18 -0
  16. package/dist/components/header/OHeaderTheme.vue.d.ts +25 -0
  17. package/dist/components/{OHeaderUser.vue.d.ts → header/OHeaderUser.vue.d.ts} +7 -7
  18. package/dist/components/header/index.d.ts +805 -1
  19. package/dist/components/meeting/OMeetingCalendar.vue.d.ts +2 -2
  20. package/dist/components/meeting/OMeetingForm.vue.d.ts +4 -4
  21. package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +2 -2
  22. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +4 -4
  23. package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +1 -1
  24. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  25. package/dist/components/meeting/index.d.ts +8 -8
  26. package/dist/components/search/OSearchInput.vue.d.ts +34 -34
  27. package/dist/components/search/index.d.ts +22 -22
  28. package/dist/components/search/internal/SearchImageInput.vue.d.ts +21 -21
  29. package/dist/components/search/internal/SearchPanel.vue.d.ts +1 -1
  30. package/dist/components/{OSection.vue.d.ts → section/OSection.vue.d.ts} +4 -4
  31. package/dist/components/section/index.d.ts +47 -0
  32. package/dist/components.cjs.js +36 -36
  33. package/dist/components.css +1 -1
  34. package/dist/components.es.js +13221 -13200
  35. package/dist/index.d.ts +4 -14
  36. package/docs/design.md +2 -2
  37. package/package.json +1 -1
  38. package/scripts/generate-components-index.js +2 -44
  39. package/src/components/common/ClientOnly.vue +13 -0
  40. package/src/components/{OPlusConfigProvider.vue → config-provider/OPlusConfigProvider.vue} +2 -2
  41. package/src/components/config-provider/index.ts +10 -0
  42. package/src/components/{OCookieNotice.vue → cookie-notice/OCookieNotice.vue} +1 -1
  43. package/src/components/cookie-notice/index.ts +10 -0
  44. package/src/components/element-plus/OElCookieNotice.vue +1 -1
  45. package/src/components/events/OEventsApply.vue +87 -1
  46. package/src/components/events/OEventsList.vue +47 -2
  47. package/src/components/{OFooter.vue → footer/OFooter.vue} +4 -4
  48. package/src/components/footer/index.ts +10 -0
  49. package/src/components/{OHeaderSearch.vue → header/OHeaderSearch.vue} +4 -4
  50. package/src/components/{OSourceCode.vue → header/OHeaderSourceCode.vue} +2 -2
  51. package/src/components/{OThemeSwitcher.vue → header/OHeaderTheme.vue} +4 -4
  52. package/src/components/{OHeaderUser.vue → header/OHeaderUser.vue} +4 -4
  53. package/src/components/header/index.ts +38 -1
  54. package/src/components/meeting/OMeetingMyCalendar.vue +3 -9
  55. package/src/components/meeting/components/OMeetingCalendarList.vue +1 -0
  56. package/src/components/{OSection.vue → section/OSection.vue} +1 -1
  57. package/src/components/section/index.ts +10 -0
  58. package/src/i18n/zh.ts +2 -0
  59. package/src/index.ts +4 -38
  60. package/dist/components/OCookieNotice.vue.d.ts +0 -17
  61. package/dist/components/OSourceCode.vue.d.ts +0 -18
  62. package/dist/components/OThemeSwitcher.vue.d.ts +0 -25
  63. package/src/components/common/ClientOnlyWrapper.ts +0 -21
  64. /package/src/components/{OLanguageSwitcher.vue → header/OHeaderLanguageSwitcher.vue} +0 -0
@@ -52,22 +52,22 @@ declare function __VLS_template(): {
52
52
  passwordPlaceholder: string;
53
53
  onlyNumericInput: boolean;
54
54
  }> & Omit<{
55
- readonly color: "primary" | "normal" | "success" | "warning" | "danger";
56
- readonly variant: "text" | "solid" | "outline";
57
- readonly disabled: boolean;
58
55
  readonly type: "text" | "password";
59
- readonly clearable: boolean;
56
+ readonly color: "danger" | "warning" | "success" | "primary" | "normal";
57
+ readonly variant: "solid" | "outline" | "text";
58
+ readonly disabled: boolean;
60
59
  readonly readonly: boolean;
60
+ readonly clearable: boolean;
61
61
  readonly showLength: "auto" | "always" | "never";
62
62
  readonly inputOnOutlimit: boolean;
63
63
  readonly showPasswordEvent: "click" | "pointerdown";
64
64
  readonly autoWidth: boolean;
65
65
  readonly passwordPlaceholder: string;
66
66
  readonly onlyNumericInput: boolean;
67
- readonly size?: "small" | "medium" | "large" | undefined;
68
- readonly defaultValue?: string | number | undefined;
67
+ readonly size?: "small" | "large" | "medium" | undefined;
69
68
  readonly round?: import('@opensig/opendesign').RoundT | undefined;
70
69
  readonly modelValue?: string | number | undefined;
70
+ readonly defaultValue?: string | number | undefined;
71
71
  readonly placeholder?: string | undefined;
72
72
  readonly inputId?: string | undefined;
73
73
  readonly minLength?: number | undefined;
@@ -83,7 +83,7 @@ declare function __VLS_template(): {
83
83
  readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
84
84
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
85
85
  readonly onPressEnter?: ((evt: KeyboardEvent) => any) | undefined | undefined;
86
- } & import('../../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "color" | "variant" | "disabled" | "type" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
86
+ } & import('../../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "type" | "color" | "variant" | "disabled" | "readonly" | "clearable" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
87
87
  $attrs: import('../../../../vue/dist/vue.esm-bundler.js').Attrs;
88
88
  $refs: {
89
89
  [x: string]: unknown;
@@ -94,7 +94,7 @@ declare function __VLS_template(): {
94
94
  $root: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
95
95
  $parent: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
96
96
  $host: Element | null;
97
- $emit: ((event: "clear", evt?: Event | undefined) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "input", evt: Event, value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", evt: KeyboardEvent) => void);
97
+ $emit: ((event: "change", value: string) => void) & ((event: "input", evt: Event, value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "clear", evt?: Event | undefined) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", evt: KeyboardEvent) => void);
98
98
  $el: any;
99
99
  $options: import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
100
100
  size: {
@@ -332,7 +332,7 @@ declare function __VLS_template(): {
332
332
  onFocus?: ((evt: FocusEvent) => any) | undefined;
333
333
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
334
334
  onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
335
- }>, "clear" | "blur" | "focus" | "color" | "variant" | "disabled" | "type" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
335
+ }>, "blur" | "focus" | "type" | "color" | "variant" | "disabled" | "clear" | "readonly" | "clearable" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
336
336
  focus: () => void | undefined;
337
337
  blur: () => void | undefined;
338
338
  clear: () => void | undefined;
@@ -376,14 +376,14 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
376
376
  size: "small" | "medium" | "large";
377
377
  disabled: boolean;
378
378
  modelValue: string;
379
+ clearable: boolean;
380
+ expanded: boolean;
381
+ preview: boolean;
379
382
  imageUrl: string;
380
383
  enableImageSearch: boolean;
381
384
  maxImageSize: number;
382
- expanded: boolean;
383
- clearable: boolean;
384
385
  showSuffix: boolean;
385
386
  inlineThumbnail: boolean;
386
- preview: boolean;
387
387
  allowedImageTypes: string[];
388
388
  }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
389
389
  inputRef: ({
@@ -403,22 +403,22 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
403
403
  passwordPlaceholder: string;
404
404
  onlyNumericInput: boolean;
405
405
  }> & Omit<{
406
- readonly color: "primary" | "normal" | "success" | "warning" | "danger";
407
- readonly variant: "text" | "solid" | "outline";
408
- readonly disabled: boolean;
409
406
  readonly type: "text" | "password";
410
- readonly clearable: boolean;
407
+ readonly color: "danger" | "warning" | "success" | "primary" | "normal";
408
+ readonly variant: "solid" | "outline" | "text";
409
+ readonly disabled: boolean;
411
410
  readonly readonly: boolean;
411
+ readonly clearable: boolean;
412
412
  readonly showLength: "auto" | "always" | "never";
413
413
  readonly inputOnOutlimit: boolean;
414
414
  readonly showPasswordEvent: "click" | "pointerdown";
415
415
  readonly autoWidth: boolean;
416
416
  readonly passwordPlaceholder: string;
417
417
  readonly onlyNumericInput: boolean;
418
- readonly size?: "small" | "medium" | "large" | undefined;
419
- readonly defaultValue?: string | number | undefined;
418
+ readonly size?: "small" | "large" | "medium" | undefined;
420
419
  readonly round?: import('@opensig/opendesign').RoundT | undefined;
421
420
  readonly modelValue?: string | number | undefined;
421
+ readonly defaultValue?: string | number | undefined;
422
422
  readonly placeholder?: string | undefined;
423
423
  readonly inputId?: string | undefined;
424
424
  readonly minLength?: number | undefined;
@@ -434,7 +434,7 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
434
434
  readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
435
435
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
436
436
  readonly onPressEnter?: ((evt: KeyboardEvent) => any) | undefined | undefined;
437
- } & import('../../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "color" | "variant" | "disabled" | "type" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
437
+ } & import('../../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "type" | "color" | "variant" | "disabled" | "readonly" | "clearable" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
438
438
  $attrs: import('../../../../vue/dist/vue.esm-bundler.js').Attrs;
439
439
  $refs: {
440
440
  [x: string]: unknown;
@@ -445,7 +445,7 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
445
445
  $root: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
446
446
  $parent: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
447
447
  $host: Element | null;
448
- $emit: ((event: "clear", evt?: Event | undefined) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "input", evt: Event, value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", evt: KeyboardEvent) => void);
448
+ $emit: ((event: "change", value: string) => void) & ((event: "input", evt: Event, value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "clear", evt?: Event | undefined) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", evt: KeyboardEvent) => void);
449
449
  $el: any;
450
450
  $options: import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
451
451
  size: {
@@ -683,7 +683,7 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
683
683
  onFocus?: ((evt: FocusEvent) => any) | undefined;
684
684
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
685
685
  onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
686
- }>, "clear" | "blur" | "focus" | "color" | "variant" | "disabled" | "type" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
686
+ }>, "blur" | "focus" | "type" | "color" | "variant" | "disabled" | "clear" | "readonly" | "clearable" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
687
687
  focus: () => void | undefined;
688
688
  blur: () => void | undefined;
689
689
  clear: () => void | undefined;
@@ -80,6 +80,7 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
80
80
  "onHot-refresh"?: (() => any) | undefined;
81
81
  }>, {
82
82
  keyword: string;
83
+ isDark: boolean;
83
84
  onestepItems: OSearchRecommendItem[];
84
85
  suggestItems: OSearchRecommendItem[];
85
86
  recommendItems: string[];
@@ -88,7 +89,6 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
88
89
  highlightKeyword: boolean;
89
90
  hideOnKeyword: boolean;
90
91
  showSuggestEmpty: boolean;
91
- isDark: boolean;
92
92
  historyLayout: "chips" | "list";
93
93
  }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
94
94
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,4 +1,4 @@
1
- interface SectionPropsT {
1
+ export interface SectionPropsT {
2
2
  title?: string | Array<string>;
3
3
  subtitle?: string;
4
4
  full?: boolean;
@@ -20,14 +20,14 @@ declare function __VLS_template(): {
20
20
  rootEl: HTMLDivElement;
21
21
  };
22
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
- declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<SectionPropsT, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<SectionPropsT> & Readonly<{}>, {
24
- footer: string;
23
+ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<SectionPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<SectionPropsT> & Readonly<{}>, {
25
24
  title: string | Array<string>;
25
+ footer: string;
26
26
  subtitle: string;
27
27
  full: boolean;
28
28
  headerJustifyCenter: boolean;
29
29
  footerHref: string;
30
- }, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
+ }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
32
  export default _default;
33
33
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,47 @@
1
+ import { App } from '../../../vue/dist/vue.esm-bundler.js';
2
+ declare const OSection: {
3
+ new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./OSection.vue').SectionPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
4
+ title: string | Array<string>;
5
+ footer: string;
6
+ subtitle: string;
7
+ full: boolean;
8
+ headerJustifyCenter: boolean;
9
+ footerHref: string;
10
+ }, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
11
+ P: {};
12
+ B: {};
13
+ D: {};
14
+ C: {};
15
+ M: {};
16
+ Defaults: {};
17
+ }, Readonly<import('./OSection.vue').SectionPropsT> & Readonly<{}>, {}, {}, {}, {}, {
18
+ title: string | Array<string>;
19
+ footer: string;
20
+ subtitle: string;
21
+ full: boolean;
22
+ headerJustifyCenter: boolean;
23
+ footerHref: string;
24
+ }>;
25
+ __isFragment?: never;
26
+ __isTeleport?: never;
27
+ __isSuspense?: never;
28
+ } & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./OSection.vue').SectionPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
29
+ title: string | Array<string>;
30
+ footer: string;
31
+ subtitle: string;
32
+ full: boolean;
33
+ headerJustifyCenter: boolean;
34
+ footerHref: string;
35
+ }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
36
+ $slots: {
37
+ main?(_: {}): any;
38
+ header?(_: {}): any;
39
+ title?(_: {}): any;
40
+ subtitle?(_: {}): any;
41
+ default?(_: {}): any;
42
+ footer?(_: {}): any;
43
+ };
44
+ }) & {
45
+ install(app: App): void;
46
+ };
47
+ export { OSection };