cnhis-design-vue 2.1.112 → 2.1.114

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 (109) hide show
  1. package/CHANGELOG.md +34 -18
  2. package/es/affix/index.js +8 -8
  3. package/es/age/index.js +10 -10
  4. package/es/alert/index.js +8 -8
  5. package/es/anchor/index.js +8 -8
  6. package/es/auto-complete/index.js +8 -8
  7. package/es/avatar/index.js +8 -8
  8. package/es/back-top/index.js +8 -8
  9. package/es/badge/index.js +8 -8
  10. package/es/base/index.js +8 -8
  11. package/es/big-table/index.js +154 -99
  12. package/es/big-table/style.css +1 -1
  13. package/es/breadcrumb/index.js +8 -8
  14. package/es/button/index.js +22 -22
  15. package/es/calendar/index.js +8 -8
  16. package/es/captcha/index.js +3 -3
  17. package/es/card/index.js +8 -8
  18. package/es/card-reader-sdk/index.js +1 -1
  19. package/es/carousel/index.js +8 -8
  20. package/es/cascader/index.js +8 -8
  21. package/es/checkbox/index.js +9 -9
  22. package/es/col/index.js +8 -8
  23. package/es/collapse/index.js +8 -8
  24. package/es/color-picker/index.js +1 -1
  25. package/es/comment/index.js +8 -8
  26. package/es/config-provider/index.js +8 -8
  27. package/es/date-picker/index.js +8 -8
  28. package/es/descriptions/index.js +8 -8
  29. package/es/direct/index.js +16 -16
  30. package/es/divider/index.js +8 -8
  31. package/es/drag-layout/index.js +3 -3
  32. package/es/drawer/index.js +8 -8
  33. package/es/dropdown/index.js +8 -8
  34. package/es/editor/index.js +1 -1
  35. package/es/ellipsis/index.js +1 -1
  36. package/es/empty/index.js +8 -8
  37. package/es/fabric-chart/index.js +9 -9
  38. package/es/form/index.js +8 -8
  39. package/es/form-model/index.js +8 -8
  40. package/es/form-table/index.js +66 -66
  41. package/es/full-calendar/index.js +5272 -0
  42. package/es/full-calendar/style.css +1 -0
  43. package/es/index/index.js +2428 -446
  44. package/es/index/style.css +1 -1
  45. package/es/input/index.js +9 -9
  46. package/es/input-number/index.js +8 -8
  47. package/es/layout/index.js +8 -8
  48. package/es/list/index.js +8 -8
  49. package/es/locale-provider/index.js +8 -8
  50. package/es/map/index.js +9 -9
  51. package/es/mentions/index.js +8 -8
  52. package/es/menu/index.js +8 -8
  53. package/es/message/index.js +8 -8
  54. package/es/multi-chat/index.js +76 -76
  55. package/es/multi-chat-client/index.js +70 -70
  56. package/es/multi-chat-history/index.js +4 -4
  57. package/es/multi-chat-record/index.js +14 -14
  58. package/es/multi-chat-setting/index.js +22 -22
  59. package/es/multi-chat-sip/index.js +1 -1
  60. package/es/notification/index.js +8 -8
  61. package/es/page-header/index.js +8 -8
  62. package/es/pagination/index.js +8 -8
  63. package/es/popconfirm/index.js +8 -8
  64. package/es/popover/index.js +8 -8
  65. package/es/progress/index.js +8 -8
  66. package/es/radio/index.js +9 -9
  67. package/es/rate/index.js +8 -8
  68. package/es/result/index.js +8 -8
  69. package/es/row/index.js +8 -8
  70. package/es/scale-container/index.js +1 -1
  71. package/es/scale-view/index.js +27 -27
  72. package/es/select/index.js +12 -12
  73. package/es/select-label/index.js +11 -11
  74. package/es/select-person/index.js +2 -2
  75. package/es/select-tag/index.js +4 -4
  76. package/es/shortcut-setter/index.js +10 -10
  77. package/es/skeleton/index.js +8 -8
  78. package/es/slider/index.js +8 -8
  79. package/es/slider-tree/index.js +9 -9
  80. package/es/space/index.js +8 -8
  81. package/es/spin/index.js +8 -8
  82. package/es/statistic/index.js +8 -8
  83. package/es/steps/index.js +8 -8
  84. package/es/switch/index.js +8 -8
  85. package/es/table-filter/index.js +65 -65
  86. package/es/tabs/index.js +8 -8
  87. package/es/tag/index.js +9 -9
  88. package/es/time-picker/index.js +8 -8
  89. package/es/timeline/index.js +8 -8
  90. package/es/tooltip/index.js +8 -8
  91. package/es/transfer/index.js +8 -8
  92. package/es/tree/index.js +8 -8
  93. package/es/tree-select/index.js +8 -8
  94. package/es/upload/index.js +8 -8
  95. package/es/verification-code/index.js +2 -2
  96. package/lib/cui.common.js +49658 -49640
  97. package/lib/cui.umd.js +49658 -49640
  98. package/lib/cui.umd.min.js +154 -154
  99. package/package.json +9 -2
  100. package/packages/big-table/src/BigTable.vue +42 -7
  101. package/packages/big-table/src/assets/style/table-global.less +1 -1
  102. package/packages/full-calendar/index.js +10 -0
  103. package/packages/full-calendar/src/FullCalendar.vue +695 -0
  104. package/packages/full-calendar/src/api/index.js +71 -0
  105. package/packages/full-calendar/src/components/ListTag.vue +165 -0
  106. package/packages/full-calendar/src/components/Tag.vue +296 -0
  107. package/packages/full-calendar/src/components/TagDetail.vue +287 -0
  108. package/packages/full-calendar/src/utils/index.js +438 -0
  109. package/packages/index.js +5 -3
@@ -0,0 +1,438 @@
1
+ import vexutils, { moment } from '@/utils/vexutils';
2
+
3
+ export function isAllDay(dateValue, startDate, endDate) {
4
+ const todayS = dateValue.clone().startOf('day');
5
+ const todayE = dateValue.clone().endOf('day');
6
+ const todaySV = todayS.valueOf();
7
+ const todayEV = todayE.valueOf();
8
+ const start = moment(startDate).clone();
9
+ const end = moment(endDate).clone();
10
+ const startValue = start.valueOf();
11
+ const endValue = end.valueOf();
12
+ if (startValue <= todaySV && endValue >= todayEV) {
13
+ return true;
14
+ }
15
+ if (startValue <= todaySV && endValue <= todayEV) {
16
+ return false;
17
+ }
18
+ if (startValue >= todaySV && endValue >= todayEV) {
19
+ return false;
20
+ }
21
+ return false;
22
+ }
23
+
24
+ export function isAllDayWeek(startDate, endDate) {
25
+ const start = moment(startDate);
26
+ const end = moment(endDate);
27
+ const diff = end.diff(start, 'days');
28
+ const diffS = end.diff(start, 'seconds');
29
+ const dayS = 60 * 60 * 24;
30
+ if (diff > 1) {
31
+ return true;
32
+ }
33
+ if (diff === 1 && diffS >= dayS) {
34
+ return true;
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function getWeekEnd(endDate) {
40
+ let resEnd = endDate;
41
+ const end = moment(endDate);
42
+ const endValue = end.clone().valueOf();
43
+ const endStartValue = end
44
+ .clone()
45
+ .startOf('days')
46
+ .valueOf();
47
+ if (endValue > endStartValue) {
48
+ resEnd = end
49
+ .clone()
50
+ .add(1, 'days')
51
+ .startOf('days')
52
+ .format('YYYY-MM-DD HH:mm:ss');
53
+ }
54
+ return resEnd;
55
+ }
56
+
57
+ export function isAllDayMonth(startDate, endDate) {
58
+ const start = moment(startDate);
59
+ const end = moment(endDate);
60
+ const diff = end.diff(start, 'days');
61
+ const diffS = end.diff(start, 'seconds');
62
+ const dayS = 60 * 60 * 24;
63
+ if (diff > 1) {
64
+ return true;
65
+ }
66
+ if (start.format('YYYYMMDD') !== end.format('YYYYMMDD')) return true;
67
+ if (diffS > dayS) return true;
68
+ if (diffS < dayS) return false;
69
+ if (diffS === dayS && start.seconds() === 0 && end.seconds() === 0) return true;
70
+ return false;
71
+ }
72
+
73
+ export function formatDate(date, type = 'month') {
74
+ let today = date;
75
+ if (!date) {
76
+ today = moment();
77
+ } else if (vexutils.isString(date)) {
78
+ today = moment(date);
79
+ }
80
+ const startTime = today
81
+ .clone()
82
+ .startOf(type)
83
+ .format('YYYY-MM-DD HH:mm:ss');
84
+ const endTime = today
85
+ .clone()
86
+ .endOf(type)
87
+ .format('YYYY-MM-DD HH:mm:ss');
88
+ return { startTime, endTime };
89
+ }
90
+
91
+ export function weekIsMonth(calendarDate) {
92
+ if (!calendarDate) return;
93
+ const weekMonth = calendarDate.clone().format('YYYYMM');
94
+ const fMonth = moment().format('YYYYMM');
95
+ if (weekMonth !== fMonth) return false;
96
+ return true;
97
+ }
98
+
99
+ export function handleIsDayArea(v, item) {
100
+ let start = moment(item.startTime);
101
+ let end = moment(item.endTime);
102
+ if (end.isBefore(v.todayS) || end.isSame(v.todayS)) return false;
103
+ if (start.isAfter(v.todayE) || start.isSame(v.todayE)) return false;
104
+ return true;
105
+ }
106
+
107
+ export function hanldeDateListArr(dateValue) {
108
+ const dateS = moment(
109
+ dateValue ||
110
+ moment()
111
+ .clone()
112
+ .format('YYYY-MM-DD')
113
+ );
114
+ const dateE = moment(dateS).endOf('month');
115
+ const listLen = dateE.diff(dateS, 'days') + 1;
116
+ const startNum = +dateS.format('D');
117
+ if (!listLen) return [];
118
+
119
+ const listArr = [];
120
+ for (let i = 0; i < listLen; i++) {
121
+ const curDay = startNum + i;
122
+ const addDay = dateS.clone().add(i, 'days');
123
+ const todayS = addDay.clone().startOf('day');
124
+ const todayE = addDay.clone().endOf('day');
125
+ const month = addDay.format('MMM');
126
+ const day = addDay.format('D');
127
+ const week = addDay.format('ddd');
128
+ console.log('week', week);
129
+ const obj = {
130
+ id: curDay,
131
+ month,
132
+ day,
133
+ week,
134
+ curDate: addDay,
135
+ curId: addDay.format('YYYYMMDD'),
136
+ todayS,
137
+ todayE
138
+ };
139
+ listArr.push(obj);
140
+ }
141
+ return listArr;
142
+ }
143
+
144
+ export function handleListIsAllDay(v, item) {
145
+ let start = moment(item.startTime);
146
+ let end = moment(item.endTime);
147
+ let diffS = end.diff(start, 'seconds');
148
+ let dayS = 60 * 60 * 24;
149
+ if (diffS < dayS) return false;
150
+ if ((start.isBefore(v.todayS) || start.isSame(v.todayS)) && (end.isAfter(v.todayE) || end.isSame(v.todayE))) {
151
+ return true;
152
+ }
153
+ return false;
154
+ }
155
+
156
+ function sortFunc(a, b) {
157
+ if (a.allDay === b.allDay) {
158
+ if (a.dateValue !== b.dateValue) return a.dateValue < b.dateValue ? -1 : 1;
159
+ } else {
160
+ if (a.dateValue !== b.dateValue) return a.dateValue < b.dateValue ? -1 : 1;
161
+ }
162
+ }
163
+
164
+ export function handleListRows(rows, v) {
165
+ if (!rows || !rows.length) return [];
166
+ const res =
167
+ rows
168
+ .map(item => {
169
+ if (handleIsDayArea(v, item)) {
170
+ let copyItem = JSON.parse(JSON.stringify(item));
171
+ let dateValue = moment(copyItem.startTime).valueOf();
172
+ let dateValueE = moment(copyItem.endTime).valueOf();
173
+ let allDay = handleListIsAllDay(v, copyItem);
174
+ Object.assign(copyItem, {
175
+ isActive: false,
176
+ dateValue,
177
+ dateValueE,
178
+ allDay,
179
+ _timeStr: new Date().getTime()
180
+ });
181
+ return copyItem;
182
+ }
183
+ })
184
+ .filter(Boolean)
185
+ .sort(sortFunc) || [];
186
+ return res;
187
+ }
188
+
189
+ export const demoRows = [
190
+ {
191
+ icon: 'zujian',
192
+ description: 'testtest\n',
193
+ avatar: 'https://cdn.cnhis.cc/5425/234667/20230606/8c7e14b4aa624db8a1c9afdce8af5360.png',
194
+ title: 'oohu',
195
+ userId: 234667,
196
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
197
+ startTime: '2023-11-01 09:37:33',
198
+ endTime: '2023-11-01 09:34:49',
199
+ primaryKeyValue: '1719529073456128000',
200
+ table: {
201
+ SHOW_BUTTON_IDS: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
202
+ theUniqueKey: '9db4fb7ba2e34d378d00cb1a26365fca0',
203
+ created_time: '2023-11-01 09:37:33',
204
+ user_name: '管理员',
205
+ end_time: '2023-11-01 09:34:49',
206
+ title: 'oohu',
207
+ created_by: 234667,
208
+ content: 'testtest',
209
+ start_time: '2023-11-01 09:37:33',
210
+ user_id: 234667,
211
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
212
+ id: '1719529073456128000',
213
+ status: '###{"value":"0","change_text":"未完成"}'
214
+ },
215
+ scheduleId: '1310904527607566336',
216
+ status: '###{"value":"0","change_text":"未完成"}',
217
+ statusFlag: 0
218
+ },
219
+ {
220
+ icon: 'zujian',
221
+ description: '测试内容\n',
222
+ avatar: 'https://cdn.cnhis.cc/5425/234667/20230606/8c7e14b4aa624db8a1c9afdce8af5360.png',
223
+ title: '特斯特',
224
+ userId: 234667,
225
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
226
+ startTime: '2023-11-01 09:37:33',
227
+ endTime: '2023-11-01 09:34:49',
228
+ primaryKeyValue: '1719528388018774016',
229
+ table: {
230
+ SHOW_BUTTON_IDS: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
231
+ theUniqueKey: '723d294c3e91404f8a612359a7ae72e61',
232
+ created_time: '2023-11-01 09:34:49',
233
+ user_name: '管理员',
234
+ end_time: '2023-11-01 09:34:49',
235
+ title: '特斯特',
236
+ created_by: 234667,
237
+ content: '测试内容',
238
+ start_time: '2023-11-01 09:37:33',
239
+ user_id: 234667,
240
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
241
+ id: '1719528388018774016',
242
+ status: '###{"value":"0","change_text":"未完成"}'
243
+ },
244
+ scheduleId: '1310904527607566336',
245
+ status: '###{"value":"0","change_text":"未完成"}',
246
+ statusFlag: 0
247
+ },
248
+ {
249
+ icon: 'zujian',
250
+ description: '测试的内容\n',
251
+ avatar: 'https://cdn.cnhis.cc/5425/234667/20230606/8c7e14b4aa624db8a1c9afdce8af5360.png',
252
+ title: 'test',
253
+ userId: 234667,
254
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
255
+ startTime: '2023-11-01 09:37:33',
256
+ endTime: '2023-11-01 09:34:49',
257
+ primaryKeyValue: '1719319390971699200',
258
+ table: {
259
+ SHOW_BUTTON_IDS: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
260
+ theUniqueKey: '836a0628fb974fa699b5e2ec4564b54b2',
261
+ created_time: '2023-10-31 19:44:20',
262
+ user_name: '管理员',
263
+ end_time: '2023-11-01 09:34:49',
264
+ title: 'test',
265
+ created_by: 234667,
266
+ content: '测试的内容',
267
+ start_time: '2023-11-01 09:37:33',
268
+ user_id: 234667,
269
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
270
+ id: '1719319390971699200',
271
+ status: '###{"value":"0","change_text":"未完成"}'
272
+ },
273
+ scheduleId: '1310904527607566336',
274
+ status: '###{"value":"0","change_text":"未完成"}',
275
+ statusFlag: 0
276
+ },
277
+ {
278
+ icon: 'zujian',
279
+ description: '测试的内容\n',
280
+ avatar: 'https://cdn.cnhis.cc/5425/234667/20230606/8c7e14b4aa624db8a1c9afdce8af5360.png',
281
+ title: 'test',
282
+ userId: 234667,
283
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
284
+ startTime: '2023-11-01 09:37:33',
285
+ endTime: '2023-11-01 09:34:49',
286
+ primaryKeyValue: '1718944007424253952',
287
+ table: {
288
+ SHOW_BUTTON_IDS: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
289
+ theUniqueKey: 'cecb9e4098af43b9b36a09bc8715f2b03',
290
+ created_time: '2023-10-30 18:52:42',
291
+ user_name: '管理员',
292
+ end_time: '2023-11-01 09:34:49',
293
+ title: 'test',
294
+ created_by: 234667,
295
+ content: '测试的内容',
296
+ start_time: '2023-11-01 09:37:33',
297
+ user_id: 234667,
298
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
299
+ id: '1718944007424253952',
300
+ status: '###{"value":"0","change_text":"未完成"}'
301
+ },
302
+ scheduleId: '1310904527607566336',
303
+ status: '###{"value":"0","change_text":"未完成"}',
304
+ statusFlag: 0
305
+ },
306
+ {
307
+ icon: 'zujian',
308
+ description: '高低杠大概\n',
309
+ avatar: 'https://cdn.cnhis.cc/5425/234667/20230606/8c7e14b4aa624db8a1c9afdce8af5360.png',
310
+ title: '测试',
311
+ userId: 234667,
312
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
313
+ startTime: '2023-11-03 00:00:00',
314
+ endTime: '2023-11-04 00:00:00',
315
+ primaryKeyValue: '1720258985133547520',
316
+ table: {
317
+ SHOW_BUTTON_IDS: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
318
+ theUniqueKey: '079410de74a644afb45da2b3ad5affc44',
319
+ created_time: '2023-11-03 09:57:57',
320
+ user_name: '管理员',
321
+ end_time: '2023-11-04 00:00:00',
322
+ title: '测试',
323
+ created_by: 234667,
324
+ content: '高低杠大概',
325
+ start_time: '2023-11-03 00:00:00',
326
+ user_id: 234667,
327
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
328
+ id: '1720258985133547520',
329
+ status: '###{"value":"0","change_text":"未完成"}'
330
+ },
331
+ scheduleId: '1310904527607566336',
332
+ status: '###{"value":"0","change_text":"未完成"}',
333
+ statusFlag: 0
334
+ }
335
+ ];
336
+
337
+ export const listDataDemo = [
338
+ {
339
+ id: 3,
340
+ month: '11月',
341
+ day: '3',
342
+ week: '周五',
343
+ curDate: '2023-11-03T01:58:05.150Z',
344
+ curId: '20231103',
345
+ todayS: '2023-11-02T16:00:00.000Z',
346
+ todayE: '2023-11-03T15:59:59.999Z',
347
+ list: [
348
+ {
349
+ icon: 'zujian',
350
+ description: '高低杠大概\n',
351
+ avatar: 'https://cdn.cnhis.cc/5425/234667/20230606/8c7e14b4aa624db8a1c9afdce8af5360.png',
352
+ title: '测试',
353
+ userId: 234667,
354
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
355
+ startTime: '2023-11-03 00:00:00',
356
+ endTime: '2023-11-04 00:00:00',
357
+ primaryKeyValue: '1720258985133547520',
358
+ table: {
359
+ SHOW_BUTTON_IDS: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
360
+ theUniqueKey: '2612203b10a443729b079824cff1edbc4',
361
+ created_time: '2023-11-03 09:57:57',
362
+ user_name: '管理员',
363
+ end_time: '2023-11-04 00:00:00',
364
+ title: '测试',
365
+ created_by: 234667,
366
+ content: '高低杠大概',
367
+ start_time: '2023-11-03 00:00:00',
368
+ user_id: 234667,
369
+ operatorColumn: ['1309332548932866048###1601004112487', '1309382315062857728###1601015982633'],
370
+ id: '1720258985133547520',
371
+ status: '###{"value":"0","change_text":"未完成"}'
372
+ },
373
+ scheduleId: '1310904527607566336',
374
+ status: '###{"value":"0","change_text":"未完成"}',
375
+ statusFlag: 0,
376
+ btns: [
377
+ {
378
+ id: '1309332153363861504',
379
+ tableId: '1309312355951185920',
380
+ name: '新增',
381
+ type: 'ADD',
382
+ setting:
383
+ '{"trigger_name":"日程-任务","obj_id":"1601003977074","display":"pop","trigger_id":"1309317566975447040","trigger_type":"FORM","isTips":"1","params":[{"p_value":"sch.start_time","p_text":"开始时间","p_name":"开始时间"},{"p_value":"sch.end_time","p_text":"结束时间","p_name":"结束时间"}]}',
384
+ settingList: '[{"trigger_name":"日程-任务","obj_id":"1601003977074","display":"pop","trigger_id":"1309317566975447040","trigger_type":"FORM","isTips":"1"}]',
385
+ createdTime: '2020-09-25 11:32:38',
386
+ updatedTime: '2020-09-25 11:32:38',
387
+ buttonType: 'PC',
388
+ showStyleSetting: '{"showStyle":"custom_bg","color":"#5585F5","toggle":"tile"}',
389
+ sid: '1309332153363861504'
390
+ },
391
+ {
392
+ id: '1309332548932866048',
393
+ tableId: '1309312355951185920',
394
+ name: '编辑',
395
+ type: 'EDIT',
396
+ setting:
397
+ '{"trigger_name":"日程-任务","obj_id":"1601004112487","display":"pop","trigger_id":"1309317566975447040","trigger_type":"FORM","isTips":"1","params":[{"p_value":"table.id","p_name":"id"},{"p_value":"table.title","p_name":"标题"},{"p_value":"table.status","p_name":"状态"},{"p_value":"table.start_time","p_name":"开始时间"},{"p_value":"table.end_time","p_name":"结束时间"},{"p_value":"table.content","p_name":"内容"},{"p_value":"sch.start_time","p_text":"开始时间","p_name":"开始时间"},{"p_value":"sch.end_time","p_text":"结束时间","p_name":"结束时间"}]}',
398
+ settingList:
399
+ '[{"trigger_name":"日程-任务","obj_id":"1601004112487","display":"pop","trigger_id":"1309317566975447040","trigger_type":"FORM","isTips":"1","params":[{"p_value":"table.id","p_name":"id"},{"p_value":"table.title","p_name":"标题"},{"p_value":"table.status","p_name":"状态"},{"p_value":"table.start_time","p_name":"开始时间"},{"p_value":"table.end_time","p_name":"结束时间"},{"p_value":"table.content","p_name":"内容"}]}]',
400
+ createdTime: '2021-03-27 09:37:05',
401
+ updatedTime: '2021-03-27 09:37:05',
402
+ buttonType: 'PC',
403
+ showStyleSetting: '{"showStyle":"custom_bg","chooseTwoData":"0","toggle":"tile"}',
404
+ sid: '1309332548932866048'
405
+ },
406
+ {
407
+ id: '1309382315062857728',
408
+ tableId: '1309312355951185920',
409
+ name: '删除',
410
+ type: 'DELETE',
411
+ setting:
412
+ '[{"trigger_name":"日程-任务","obj_id":"1601015982633","tipsMsg":"确认要删除此日程吗?","display":"pop","trigger_id":"1309315222820884480","trigger_type":"SQLSAVE","isTips":"1","params":[{"p_value":"2","p_name":"status"},{"p_value":"table.id","p_name":"id"},{"p_value":"table.start_time","p_name":"start_time"},{"p_value":"table.end_time","p_name":"end_time"},{"p_value":"table.title","p_name":"title"}]}]',
413
+ settingList:
414
+ '[{"trigger_name":"日程-任务","obj_id":"1601015982633","tipsMsg":"确认要删除此日程吗?","display":"pop","trigger_id":"1309315222820884480","trigger_type":"SQLSAVE","isTips":"1","params":[{"p_value":"2","p_name":"status"},{"p_value":"table.id","p_name":"id"},{"p_value":"table.start_time","p_name":"start_time"},{"p_value":"table.end_time","p_name":"end_time"},{"p_value":"table.title","p_name":"title"}]}]',
415
+ createdTime: '2021-05-15 15:29:33',
416
+ updatedTime: '2021-05-15 15:29:33',
417
+ buttonType: 'PC',
418
+ showStyleSetting: '{"showStyle":"custom_bg","chooseTwoData":"0","toggle":"tile"}',
419
+ buttonRemark: '删除',
420
+ sid: '1309382315062857728'
421
+ }
422
+ ],
423
+ isActive: false,
424
+ dateValue: 1698940800000,
425
+ dateValueE: 1699027200000,
426
+ allDay: true,
427
+ _timeStr: 1698977044273
428
+ }
429
+ ]
430
+ }
431
+ ];
432
+
433
+ export const viewMap = {
434
+ list: '列表',
435
+ day: '日',
436
+ week: '周',
437
+ month: '月'
438
+ };
package/packages/index.js CHANGED
@@ -91,7 +91,7 @@ import { default as Ellipsis } from './ellipsis';
91
91
  import { default as ScaleContainer } from './scale-container';
92
92
  import { default as ShortcutProvider } from './shortcut-provider';
93
93
  import { default as SliderTree } from './slider-tree';
94
-
94
+ import { default as FullCalendar } from './full-calendar';
95
95
 
96
96
  const req = require.context('ant-design-vue/es/locale', true, /.js$/);
97
97
  const locales = {};
@@ -192,7 +192,8 @@ const components = [
192
192
  Ellipsis,
193
193
  ScaleContainer,
194
194
  ShortcutProvider,
195
- SliderTree
195
+ SliderTree,
196
+ FullCalendar
196
197
  ];
197
198
 
198
199
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
@@ -311,7 +312,8 @@ export {
311
312
  Ellipsis,
312
313
  ScaleContainer,
313
314
  ShortcutProvider,
314
- SliderTree
315
+ SliderTree,
316
+ FullCalendar
315
317
  };
316
318
 
317
319
  export default {