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

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 +48 -68
  3. package/dist/components/OHeaderSearch.vue.d.ts +534 -814
  4. package/dist/components/OThemeSwitcher.vue.d.ts +2 -5
  5. package/dist/components/activity/index.d.ts +2 -2
  6. package/dist/components/meeting/index.d.ts +3 -3
  7. package/dist/components.cjs.js +42 -42
  8. package/dist/components.css +1 -1
  9. package/dist/components.es.js +10448 -11464
  10. package/dist/index.d.ts +0 -1
  11. package/package.json +4 -6
  12. package/src/assets/styles/element-plus.scss +204 -0
  13. package/src/assets/svg-icons/icon-delete.svg +1 -5
  14. package/src/components/OHeaderSearch.vue +415 -436
  15. package/src/components/OThemeSwitcher.vue +51 -27
  16. package/src/components/activity/OActivityApproval.vue +10 -6
  17. package/src/components/activity/OActivityForm.vue +5 -3
  18. package/src/components/activity/{OMyActivityCalendar.vue → OActivityMyCalendar.vue} +43 -21
  19. package/src/components/activity/index.ts +4 -4
  20. package/src/components/events/OEventsApply.vue +2 -1
  21. package/src/components/events/OEventsCalendar.vue +7 -5
  22. package/src/components/events/OEventsList.vue +6 -4
  23. package/src/components/meeting/OMeetingCalendar.vue +15 -12
  24. package/src/components/meeting/OMeetingForm.vue +16 -10
  25. package/src/components/meeting/{OMyMeetingCalendar.vue → OMeetingMyCalendar.vue} +73 -38
  26. package/src/components/meeting/OMeetingPlayback.vue +32 -8
  27. package/src/components/meeting/{OSigMeetingCalendar.vue → OMeetingSigCalendar.vue} +6 -3
  28. package/src/components/meeting/components/OMeetingCalendarList.vue +3 -3
  29. package/src/components/meeting/components/OMeetingCalendarSelector.vue +1 -1
  30. package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +10 -9
  31. package/src/components/meeting/components/OMeetingPlaybackVideo.vue +6 -6
  32. package/src/components/meeting/components/{OSigMeetingAside.vue → OMeetingSigAside.vue} +1 -1
  33. package/src/components/meeting/config.ts +1 -1
  34. package/src/components/meeting/index.ts +8 -8
  35. package/src/i18n/en.ts +2 -12
  36. package/src/i18n/zh.ts +0 -10
  37. package/src/index.ts +0 -1
  38. package/vite.config.ts +1 -5
  39. package/dist/components/search/OSearchInput.vue.d.ts +0 -1003
  40. package/dist/components/search/composables/useImageSearch.d.ts +0 -48
  41. package/dist/components/search/composables/useKeywordHighlight.d.ts +0 -2
  42. package/dist/components/search/composables/useSearchHistory.d.ts +0 -14
  43. package/dist/components/search/index.d.ts +0 -590
  44. package/dist/components/search/internal/HighlightText.vue.d.ts +0 -9
  45. package/dist/components/search/internal/SearchImageInput.vue.d.ts +0 -716
  46. package/dist/components/search/internal/SearchPanel.vue.d.ts +0 -100
  47. package/dist/components/search/types.d.ts +0 -20
  48. package/src/assets/svg-icons/icon-delete-hover.svg +0 -4
  49. package/src/assets/svg-icons/icon-image-close.svg +0 -4
  50. package/src/assets/svg-icons/icon-image-upload.svg +0 -3
  51. package/src/assets/svg-icons/icon-image-zoomin.svg +0 -3
  52. package/src/assets/svg-icons/icon-refresh.svg +0 -3
  53. package/src/components/search/OSearchInput.vue +0 -463
  54. package/src/components/search/composables/useImageSearch.ts +0 -157
  55. package/src/components/search/composables/useKeywordHighlight.ts +0 -30
  56. package/src/components/search/composables/useSearchHistory.ts +0 -75
  57. package/src/components/search/index.ts +0 -23
  58. package/src/components/search/internal/HighlightText.vue +0 -37
  59. package/src/components/search/internal/SearchImageInput.vue +0 -488
  60. package/src/components/search/internal/SearchPanel.vue +0 -430
  61. package/src/components/search/types.ts +0 -25
  62. /package/dist/components/activity/{OMyActivityCalendar.vue.d.ts → OActivityMyCalendar.vue.d.ts} +0 -0
  63. /package/dist/components/meeting/{OMyMeetingCalendar.vue.d.ts → OMeetingMyCalendar.vue.d.ts} +0 -0
  64. /package/dist/components/meeting/{OSigMeetingCalendar.vue.d.ts → OMeetingSigCalendar.vue.d.ts} +0 -0
  65. /package/dist/components/meeting/components/{OSigMeetingAside.vue.d.ts → OMeetingSigAside.vue.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -13,7 +13,6 @@ export * from './components/element-plus';
13
13
  export * from './components/events';
14
14
  export * from './components/header';
15
15
  export * from './components/meeting';
16
- export * from './components/search';
17
16
  declare const _default: {
18
17
  install: (app: any) => void;
19
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.49",
3
+ "version": "0.0.1-rc.50",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -26,16 +26,14 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
+ "@opensig/opendesign": "1.2.3",
29
30
  "@vueuse/core": "10.11.1",
30
31
  "aos": "^2.3.4",
31
32
  "dayjs": "^1.11.13",
32
33
  "video.js": "^8.23.7",
33
34
  "vue-dompurify-html": "^3.1.2",
34
- "@opendesign-plus/styles": "0.0.1-rc.2",
35
- "@opendesign-plus/composables": "0.0.1-rc.8"
36
- },
37
- "peerDependencies": {
38
- "@opensig/opendesign": ">=1.0.0"
35
+ "@opendesign-plus/composables": "0.0.1-rc.8",
36
+ "@opendesign-plus/styles": "0.0.1-rc.2"
39
37
  },
40
38
  "devDependencies": {
41
39
  "@vitejs/plugin-vue": "^5.1.0",
@@ -0,0 +1,204 @@
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,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiAgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxwYXRoIGQ9Ik02LjQ2MyA0Ljk3NmEuNy43IDAgMCAxIC4wOTUgMS4zOTRsLS4wOTUuMDA2SDQuNDcxYS4xNC4xNCAwIDAgMC0uMTMuMDkzbC0uMDA3LjA0M3YxLjg1NmgxNS4zMjlsLjAwMS0xLjg1NmEuMTQuMTQgMCAwIDAtLjA5My0uMTNsLS4wNDMtLjAwN2gtMi4wNTVhLjcuNyAwIDAgMS0uMDk1LTEuMzk0bC4wOTUtLjAwNmgyLjA1NWMuODAxIDAgMS40Ni42MTQgMS41MyAxLjM5N2wuMDA2LjE0djEyLjM1OWMwIC44MDEtLjYxNCAxLjQ2LTEuMzk3IDEuNTNsLS4xNC4wMDZINC40N2MtLjgwMSAwLTEuNDYtLjYxNC0xLjUzLTEuMzk3bC0uMDA2LS4xNFY2LjUxMWMwLS44MDEuNjE0LTEuNDYgMS4zOTctMS41M2wuMTQtLjAwNnptMTMuMjAxIDQuNzkySDQuMzM1djkuMTAzYzAgLjA2LjAzOS4xMTEuMDkzLjEzbC4wNDMuMDA3aDE1LjA1N2MuMDYgMCAuMTExLS4wMzkuMTMtLjA5M2wuMDA3LS4wNDMtLjAwMS05LjEwM3ptLTMuNDgyIDUuNjYzYS43LjcgMCAwIDEgLjA5NSAxLjM5NGwtLjA5NS4wMDZINy44MTdhLjcuNyAwIDAgMS0uMDk1LTEuMzk0bC4wOTUtLjAwNnptMC0zLjM0NmEuNy43IDAgMCAxIC4wOTUgMS4zOTRsLS4wOTUuMDA2SDcuODE3YS43LjcgMCAwIDEtLjA5NS0xLjM5NGwuMDk1LS4wMDZ6bS0uNjk2LTguNDY3Yy4zNTQgMCAuNjQ3LjI2My42OTQuNjA1bC4wMDYuMDk1djIuODA0YS43LjcgMCAwIDEtMS4zOTQuMDk1bC0uMDA2LS4wOTVWNC4zMThhLjcuNyAwIDAgMSAuNy0uN20tNi45MzctLjAyNmMuMzU0IDAgLjY0Ny4yNjMuNjk0LjYwNWwuMDA2LjA5NXYyLjgwNGEuNy43IDAgMCAxLTEuMzk0LjA5NWwtLjAwNi0uMDk1VjQuMjkyYS43LjcgMCAwIDEgLjctLjdtNC45NDYgMS4zODRhLjcuNyAwIDAgMSAuMDk1IDEuMzk0bC0uMDk1LjAwNkgxMC41M2EuNy43IDAgMCAxLS4wOTUtMS4zOTRsLjA5NS0uMDA2eiI+PC9wYXRoPgo8L3N2Zz4=') 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
+
@@ -1,7 +1,3 @@
1
1
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
- <path opacity="0.8" fill="currentColor" d="M5.616 4.34c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v14.968c0 0.213 0.148 0.391 0.347 0.438l0.103 0.012h10.719c0.213 0 0.391-0.148 0.438-0.347l0.012-0.103v-11.712c0-0.414 0.336-0.75 0.75-0.75 0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v11.712c0 1.010-0.767 1.84-1.751 1.94l-0.199 0.010h-10.719c-1.010 0-1.84-0.767-1.94-1.751l-0.010-0.199v-14.968c0-0.414 0.336-0.75 0.75-0.75z"></path>
3
- <path opacity="0.8" fill="currentColor" d="M20.19 4.34c0.414 0 0.75 0.336 0.75 0.75 0 0.368-0.265 0.674-0.615 0.738l-0.135 0.012h-16.333c-0.414 0-0.75-0.336-0.75-0.75 0-0.368 0.265-0.674 0.615-0.738l0.135-0.012h16.333z"></path>
4
- <path opacity="0.8" fill="currentColor" d="M14.256 1.936c0.414 0 0.75 0.336 0.75 0.75 0 0.368-0.265 0.674-0.615 0.738l-0.135 0.012h-4.535c-0.414 0-0.75-0.336-0.75-0.75 0-0.368 0.265-0.674 0.615-0.738l0.135-0.012h4.535z"></path>
5
- <path opacity="0.8" fill="currentColor" d="M10.096 9.419c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v6.484c0 0.414-0.336 0.75-0.75 0.75-0.368 0-0.674-0.265-0.738-0.615l-0.012-0.135v-6.484c0-0.414 0.336-0.75 0.75-0.75z"></path>
6
- <path opacity="0.8" fill="currentColor" d="M14.596 9.419c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v6.484c0 0.414-0.336 0.75-0.75 0.75-0.368 0-0.674-0.265-0.738-0.615l-0.012-0.135v-6.484c0-0.414 0.336-0.75 0.75-0.75z"></path>
2
+ <path fill="currentColor" d="M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"></path>
7
3
  </svg>