@opendesign-plus-test/components 0.0.1-rc.50 → 0.0.1-rc.51

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 (65) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +68 -48
  3. package/dist/components/OHeaderSearch.vue.d.ts +814 -534
  4. package/dist/components/OThemeSwitcher.vue.d.ts +5 -2
  5. package/dist/components/activity/index.d.ts +2 -2
  6. package/dist/components/meeting/index.d.ts +3 -3
  7. package/dist/components/search/OSearchInput.vue.d.ts +1003 -0
  8. package/dist/components/search/composables/useImageSearch.d.ts +48 -0
  9. package/dist/components/search/composables/useKeywordHighlight.d.ts +2 -0
  10. package/dist/components/search/composables/useSearchHistory.d.ts +14 -0
  11. package/dist/components/search/index.d.ts +590 -0
  12. package/dist/components/search/internal/HighlightText.vue.d.ts +9 -0
  13. package/dist/components/search/internal/SearchImageInput.vue.d.ts +716 -0
  14. package/dist/components/search/internal/SearchPanel.vue.d.ts +100 -0
  15. package/dist/components/search/types.d.ts +20 -0
  16. package/dist/components.cjs.js +42 -42
  17. package/dist/components.css +1 -1
  18. package/dist/components.es.js +11517 -10501
  19. package/dist/index.d.ts +1 -0
  20. package/package.json +4 -2
  21. package/src/assets/svg-icons/icon-delete-hover.svg +4 -0
  22. package/src/assets/svg-icons/icon-delete.svg +5 -1
  23. package/src/assets/svg-icons/icon-image-close.svg +4 -0
  24. package/src/assets/svg-icons/icon-image-upload.svg +3 -0
  25. package/src/assets/svg-icons/icon-image-zoomin.svg +3 -0
  26. package/src/assets/svg-icons/icon-refresh.svg +3 -0
  27. package/src/components/OHeaderSearch.vue +437 -415
  28. package/src/components/OThemeSwitcher.vue +27 -51
  29. package/src/components/activity/OActivityApproval.vue +6 -10
  30. package/src/components/activity/OActivityForm.vue +3 -5
  31. package/src/components/activity/{OActivityMyCalendar.vue → OMyActivityCalendar.vue} +21 -43
  32. package/src/components/activity/index.ts +4 -4
  33. package/src/components/events/OEventsApply.vue +1 -2
  34. package/src/components/events/OEventsCalendar.vue +5 -7
  35. package/src/components/events/OEventsList.vue +4 -6
  36. package/src/components/meeting/OMeetingCalendar.vue +12 -15
  37. package/src/components/meeting/OMeetingForm.vue +10 -16
  38. package/src/components/meeting/OMeetingPlayback.vue +8 -32
  39. package/src/components/meeting/{OMeetingMyCalendar.vue → OMyMeetingCalendar.vue} +38 -73
  40. package/src/components/meeting/{OMeetingSigCalendar.vue → OSigMeetingCalendar.vue} +3 -6
  41. package/src/components/meeting/components/OMeetingCalendarList.vue +3 -3
  42. package/src/components/meeting/components/OMeetingCalendarSelector.vue +1 -1
  43. package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +9 -10
  44. package/src/components/meeting/components/OMeetingPlaybackVideo.vue +6 -6
  45. package/src/components/meeting/components/{OMeetingSigAside.vue → OSigMeetingAside.vue} +1 -1
  46. package/src/components/meeting/config.ts +1 -1
  47. package/src/components/meeting/index.ts +8 -8
  48. package/src/components/search/OSearchInput.vue +463 -0
  49. package/src/components/search/composables/useImageSearch.ts +157 -0
  50. package/src/components/search/composables/useKeywordHighlight.ts +30 -0
  51. package/src/components/search/composables/useSearchHistory.ts +75 -0
  52. package/src/components/search/index.ts +23 -0
  53. package/src/components/search/internal/HighlightText.vue +37 -0
  54. package/src/components/search/internal/SearchImageInput.vue +488 -0
  55. package/src/components/search/internal/SearchPanel.vue +430 -0
  56. package/src/components/search/types.ts +25 -0
  57. package/src/i18n/en.ts +12 -2
  58. package/src/i18n/zh.ts +10 -0
  59. package/src/index.ts +1 -0
  60. package/vite.config.ts +5 -1
  61. package/src/assets/styles/element-plus.scss +0 -204
  62. /package/dist/components/activity/{OActivityMyCalendar.vue.d.ts → OMyActivityCalendar.vue.d.ts} +0 -0
  63. /package/dist/components/meeting/{OMeetingMyCalendar.vue.d.ts → OMyMeetingCalendar.vue.d.ts} +0 -0
  64. /package/dist/components/meeting/{OMeetingSigCalendar.vue.d.ts → OSigMeetingCalendar.vue.d.ts} +0 -0
  65. /package/dist/components/meeting/components/{OMeetingSigAside.vue.d.ts → OSigMeetingAside.vue.d.ts} +0 -0
@@ -1,204 +0,0 @@
1
- @use '@opendesign-plus/styles/mixin/font.scss' as *;
2
- @use '@opensig/opendesign/es/_styles/mixin.scss' as *;
3
-
4
- :root {
5
- --el-color-primary: var(--o-color-primary1);
6
- --el-border-color: var(--o-color-control1);
7
- --el-input-placeholder-color: var(--el-text-color-placeholder);
8
- --el-input-hover-border-color: var(--el-border-color-hover);
9
- --el-input-clear-hover-color: var(--el-text-color-secondary);
10
-
11
- .el-date-editor {
12
- &.el-date-editor--daterange {
13
- padding: 0 13px 0 15px;
14
- }
15
-
16
- &.el-date-editor--timerange {
17
- padding: 0 16px;
18
- }
19
-
20
- input {
21
- text-align: left;
22
- @include text1;
23
- @include respond('phone') {
24
- @include text2;
25
- }
26
- }
27
-
28
- .el-select__wrapper {
29
- gap: 0;
30
- }
31
-
32
- .el-input__wrapper {
33
-
34
- .el-input__prefix {
35
- order: 1;
36
- font-size: 16px;
37
- }
38
- }
39
-
40
- .el-input__icon {
41
- height: 100%;
42
- order: 1;
43
- font-size: 24px;
44
- margin-right: 2px;
45
- color: var(--o-color-info1);
46
- background-color: var(--o-color-info2);
47
- mask: url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiAgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxwYXRoIGQ9Ik02LjQ2MyA0Ljk3NmEuNy43IDAgMCAxIC4wOTUgMS4zOTRsLS4wOTUuMDA2SDQuNDcxYS4xNC4xNCAwIDAgMC0uMTMuMDkzbC0uMDA3LjA0M3YxLjg1NmgxNS4zMjlsLjAwMS0xLjg1NmEuMTQuMTQgMCAwIDAtLjA5My0uMTNsLS4wN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8L3N2Zz4=') no-repeat center;
48
- background-size: 24px;
49
- background-repeat: no-repeat;
50
- background-position: center center;
51
-
52
- svg {
53
- display: none;
54
- }
55
- }
56
- }
57
-
58
- .el-popper {
59
-
60
- .el-popper__arrow {
61
- display: none;
62
- }
63
-
64
- .el-picker-panel {
65
- --cell-row-gap: 6px;
66
- --cell-radius: var(--o-radius-xs);
67
- color: var(--o-color-info1);
68
-
69
- .el-date-picker__header {
70
- padding: 12px 24px;
71
- height: 48px;
72
- border-bottom: 1px solid var(--o-color-control4);
73
-
74
- .el-date-picker__header-label {
75
- font-weight: 500;
76
- }
77
- }
78
-
79
- .el-picker-panel__content {
80
- .el-date-table {
81
- th {
82
- border-bottom: none;
83
- height: 24px;
84
- color: inherit;
85
- padding: 0 0 var(--cell-row-gap);
86
- }
87
-
88
- td {
89
- padding: var(--cell-row-gap) 0px;
90
-
91
- .el-date-table-cell {
92
- padding: 0;
93
- height: 24px;
94
- line-height: 22px;
95
- border: 1px solid transparent;
96
- border-radius: var(--cell-radius);
97
-
98
- }
99
-
100
- &:hover:not(.disabled) {
101
- .el-date-table-cell {
102
- border-color: var(--o-color-primary1);
103
-
104
- }
105
- }
106
-
107
- &.disabled, &.prev-month, &.next-month {
108
- .el-date-table-cell {
109
- background: none;
110
- color: var(--o-color-info4);
111
- }
112
- }
113
-
114
- &.today {
115
- .el-date-table-cell {
116
- background: var(--o-color-control2-light);
117
-
118
- .el-date-table-cell__text {
119
- font-weight: normal;
120
- color: var(--o-color-info1);
121
- }
122
- }
123
- }
124
-
125
- &.current, &.start-date, &.end-date {
126
- .el-date-table-cell {
127
- background: var(--o-color-primary1);
128
-
129
- .el-date-table-cell__text {
130
- background: none;
131
- color: #fff;
132
- }
133
- }
134
- }
135
-
136
- &.in-range:not(:hover) {
137
- .el-date-table-cell {
138
- border-radius: 0;
139
- }
140
-
141
- &.start-date {
142
- .el-date-table-cell {
143
- border-radius: var(--cell-radius) 0 0 var(--cell-radius);
144
- }
145
- }
146
-
147
- &.end-date {
148
- .el-date-table-cell {
149
- border-radius: 0 var(--cell-radius) var(--cell-radius) 0;
150
- }
151
- }
152
- }
153
- }
154
- }
155
- }
156
- }
157
- }
158
-
159
- .el-input {
160
- --el-border-color: var(--o-color-control1);
161
- --el-input-border-color: var(--o-color-control1);
162
- --el-input-hover-border-color: var(--o-color-primary2);
163
- --el-input-focus-border-color: var(--o-color-primary3);
164
- }
165
-
166
- .el-table {
167
- --el-table-border-color: var(--o-color-control4)
168
- }
169
-
170
- .el-input__wrapper {
171
- background: var(--o-color-fill2);
172
- }
173
-
174
- .el-select__wrapper {
175
- background: var(--o-color-fill2);
176
- }
177
-
178
- .el-calendar-table {
179
- th {
180
- color: var(--o-color-info3);
181
- font-weight: 400;
182
- }
183
-
184
- td {
185
- &.prev, &.next {
186
- .date-calender {
187
- color: var(--o-color-info4);
188
- }
189
- }
190
- }
191
- }
192
-
193
- .el-select {
194
-
195
- .el-select__placeholder {
196
- @include text1;
197
- @include respond('phone') {
198
- @include text2;
199
- }
200
- }
201
- }
202
- }
203
-
204
-