@nocobase/plugin-calendar 1.2.13-alpha → 1.3.0-alpha.20240710084543

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 (59) hide show
  1. package/package.json +2 -2
  2. package/dist/client/calendar/Calendar.Designer.d.ts +0 -10
  3. package/dist/client/calendar/Calendar.d.ts +0 -13
  4. package/dist/client/calendar/Calender.Settings.d.ts +0 -12
  5. package/dist/client/calendar/DeleteEvent.d.ts +0 -11
  6. package/dist/client/calendar/Event.d.ts +0 -10
  7. package/dist/client/calendar/Nav.d.ts +0 -10
  8. package/dist/client/calendar/Title.d.ts +0 -10
  9. package/dist/client/calendar/Today.d.ts +0 -10
  10. package/dist/client/calendar/ViewSelect.d.ts +0 -10
  11. package/dist/client/calendar/components/Header.d.ts +0 -19
  12. package/dist/client/calendar/context.d.ts +0 -14
  13. package/dist/client/calendar/global.style.d.ts +0 -11
  14. package/dist/client/calendar/hook.d.ts +0 -9
  15. package/dist/client/calendar/index.d.ts +0 -10
  16. package/dist/client/calendar/style.d.ts +0 -10
  17. package/dist/client/calendar/utils.d.ts +0 -17
  18. package/dist/client/collection-templates/calendar.d.ts +0 -47
  19. package/dist/client/hooks/useCalendarBlockDecoratorProps.d.ts +0 -16
  20. package/dist/client/hooks/useCalendarBlockParams.d.ts +0 -12
  21. package/dist/client/index.d.ts +0 -13
  22. package/dist/client/index.js +0 -103
  23. package/dist/client/schema-initializer/CalendarBlockProvider.d.ts +0 -17
  24. package/dist/client/schema-initializer/createCalendarBlockUISchema.d.ts +0 -15
  25. package/dist/client/schema-initializer/initializers/CalendarActionInitializers.d.ts +0 -16
  26. package/dist/client/schema-initializer/initializers/CalendarFormActionInitializers.d.ts +0 -15
  27. package/dist/client/schema-initializer/initializers/index.d.ts +0 -10
  28. package/dist/client/schema-initializer/items/CalendarBlockInitializer.d.ts +0 -25
  29. package/dist/client/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +0 -15
  30. package/dist/client/schema-initializer/items/index.d.ts +0 -10
  31. package/dist/externalVersion.js +0 -26
  32. package/dist/index.d.ts +0 -9
  33. package/dist/index.js +0 -42
  34. package/dist/locale/en_US.d.ts +0 -54
  35. package/dist/locale/en_US.js +0 -76
  36. package/dist/locale/es_ES.d.ts +0 -54
  37. package/dist/locale/es_ES.js +0 -76
  38. package/dist/locale/fr_FR.d.ts +0 -54
  39. package/dist/locale/fr_FR.js +0 -76
  40. package/dist/locale/index.d.ts +0 -12
  41. package/dist/locale/index.js +0 -55
  42. package/dist/locale/ja_JP.d.ts +0 -41
  43. package/dist/locale/ja_JP.js +0 -63
  44. package/dist/locale/ko_KR.d.ts +0 -55
  45. package/dist/locale/ko_KR.js +0 -77
  46. package/dist/locale/pt_BR.d.ts +0 -51
  47. package/dist/locale/pt_BR.js +0 -73
  48. package/dist/locale/ru_RU.d.ts +0 -40
  49. package/dist/locale/ru_RU.js +0 -62
  50. package/dist/locale/tr_TR.d.ts +0 -40
  51. package/dist/locale/tr_TR.js +0 -62
  52. package/dist/locale/uk_UA.d.ts +0 -54
  53. package/dist/locale/uk_UA.js +0 -76
  54. package/dist/locale/zh-CN.d.ts +0 -55
  55. package/dist/locale/zh-CN.js +0 -77
  56. package/dist/server/index.d.ts +0 -9
  57. package/dist/server/index.js +0 -42
  58. package/dist/server/server.d.ts +0 -11
  59. package/dist/server/server.js +0 -34
@@ -1,54 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- declare const _default: {
10
- "Configure calendar": string;
11
- "Title field": string;
12
- "Custom title": string;
13
- "Show lunar": string;
14
- "Start date field": string;
15
- "End date field": string;
16
- "Work week": string;
17
- Today: string;
18
- Day: string;
19
- Agenda: string;
20
- Date: string;
21
- Time: string;
22
- Event: string;
23
- None: string;
24
- Calendar: string;
25
- "Delete events": string;
26
- "This event": string;
27
- "This and following events": string;
28
- "All events": string;
29
- "Delete this event?": string;
30
- "Delete Event": string;
31
- "Calendar collection": string;
32
- "Create calendar block": string;
33
- Filter: string;
34
- "Configure actions": string;
35
- "Enable actions": string;
36
- "Turn pages": string;
37
- "Select view": string;
38
- "Add new": string;
39
- "View record": string;
40
- Details: string;
41
- Customize: string;
42
- Popup: string;
43
- "Updated successfully": string;
44
- "Custom request": string;
45
- Edit: string;
46
- Delete: string;
47
- Print: string;
48
- Daily: string;
49
- Weekly: string;
50
- Monthly: string;
51
- Yearly: string;
52
- Repeats: string;
53
- };
54
- export default _default;
@@ -1,76 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- var __defProp = Object.defineProperty;
11
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
- var __getOwnPropNames = Object.getOwnPropertyNames;
13
- var __hasOwnProp = Object.prototype.hasOwnProperty;
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var uk_UA_exports = {};
28
- __export(uk_UA_exports, {
29
- default: () => uk_UA_default
30
- });
31
- module.exports = __toCommonJS(uk_UA_exports);
32
- var uk_UA_default = {
33
- "Configure calendar": "\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",
34
- "Title field": "\u041F\u043E\u043B\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430",
35
- "Custom title": "\u0412\u043B\u0430\u0441\u043D\u0438\u0439 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",
36
- "Show lunar": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043C\u0456\u0441\u044F\u0447\u043D\u0438\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",
37
- "Start date field": "\u041F\u043E\u043B\u0435 \u043F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u043E\u0457 \u0434\u0430\u0442\u0438",
38
- "End date field": "\u041F\u043E\u043B\u0435 \u043A\u0456\u043D\u0446\u0435\u0432\u043E\u0457 \u0434\u0430\u0442\u0438",
39
- "Work week": "\u0420\u043E\u0431\u043E\u0447\u0438\u0439 \u0442\u0438\u0436\u0434\u0435\u043D\u044C",
40
- "Today": "\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456",
41
- "Day": "\u0414\u0435\u043D\u044C",
42
- "Agenda": "\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u0434\u0435\u043D\u043D\u0438\u0439",
43
- "Date": "\u0414\u0430\u0442\u0430",
44
- "Time": "\u0427\u0430\u0441",
45
- "Event": "\u041F\u043E\u0434\u0456\u044F",
46
- "None": "\u041D\u0435\u043C\u0430\u0454",
47
- "Calendar": "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",
48
- "Delete events": "\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u043F\u043E\u0434\u0456\u0457",
49
- "This event": "\u0426\u044F \u043F\u043E\u0434\u0456\u044F",
50
- "This and following events": "\u0426\u044F \u0442\u0430 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0456 \u043F\u043E\u0434\u0456\u0457",
51
- "All events": "\u0423\u0441\u0456 \u043F\u043E\u0434\u0456\u0457",
52
- "Delete this event?": "\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u044E \u043F\u043E\u0434\u0456\u044E?",
53
- "Delete Event": "\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u043F\u043E\u0434\u0456\u044E",
54
- "Calendar collection": "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u043D\u0430 \u043A\u043E\u043B\u0435\u043A\u0446\u0456\u044F",
55
- "Create calendar block": "\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0431\u043B\u043E\u043A \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",
56
- "Filter": "\u0424\u0456\u043B\u044C\u0442\u0440",
57
- "Configure actions": "\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0434\u0456\u0457",
58
- "Enable actions": "\u0423\u0432\u0456\u043C\u043A\u043D\u0443\u0442\u0438 \u0434\u0456\u0457",
59
- "Turn pages": "\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0438 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0438",
60
- "Select view": "\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434",
61
- "Add new": "\u0414\u043E\u0434\u0430\u0442\u0438 \u043D\u043E\u0432\u0438\u0439",
62
- "View record": "\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0437\u0430\u043F\u0438\u0441",
63
- "Details": "\u0414\u0435\u0442\u0430\u043B\u0456",
64
- "Customize": "\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438",
65
- "Popup": "\u0421\u043F\u043B\u0438\u0432\u0430\u044E\u0447\u0435 \u0432\u0456\u043A\u043D\u043E",
66
- "Updated successfully": "\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0443\u0441\u043F\u0456\u0448\u043D\u043E",
67
- "Custom request": "\u0412\u043B\u0430\u0441\u043D\u0438\u0439 \u0437\u0430\u043F\u0438\u0442",
68
- "Edit": "\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438",
69
- "Delete": "\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",
70
- "Print": "\u0414\u0440\u0443\u043A",
71
- "Daily": "\u0429\u043E\u0434\u0435\u043D\u043D\u043E",
72
- "Weekly": "\u0429\u043E\u0442\u0438\u0436\u043D\u044F",
73
- "Monthly": "\u0429\u043E\u043C\u0456\u0441\u044F\u0446\u044F",
74
- "Yearly": "\u0429\u043E\u0440\u043E\u043A\u0443",
75
- "Repeats": "\u041F\u043E\u0432\u0442\u043E\u0440\u044E\u0454\u0442\u044C\u0441\u044F"
76
- };
@@ -1,55 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- declare const _default: {
10
- 'Configure calendar': string;
11
- 'Title field': string;
12
- 'Custom title': string;
13
- 'Show lunar': string;
14
- 'Start date field': string;
15
- 'End date field': string;
16
- 'Work week': string;
17
- Today: string;
18
- Day: string;
19
- Agenda: string;
20
- Date: string;
21
- Time: string;
22
- Event: string;
23
- None: string;
24
- Calendar: string;
25
- 'Delete events': string;
26
- 'This event': string;
27
- 'This and following events': string;
28
- 'All events': string;
29
- 'Delete this event?': string;
30
- 'Delete Event': string;
31
- 'Calendar collection': string;
32
- 'Create calendar block': string;
33
- Filter: string;
34
- 'Configure actions': string;
35
- 'Enable actions': string;
36
- 'Turn pages': string;
37
- 'Select view': string;
38
- 'Add new': string;
39
- 'View record': string;
40
- Details: string;
41
- Customize: string;
42
- 'Update record': string;
43
- Popup: string;
44
- "Updated successfully": string;
45
- 'Custom request': string;
46
- Edit: string;
47
- Delete: string;
48
- Print: string;
49
- Daily: string;
50
- Weekly: string;
51
- Monthly: string;
52
- Yearly: string;
53
- Repeats: string;
54
- };
55
- export default _default;
@@ -1,77 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- var __defProp = Object.defineProperty;
11
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
- var __getOwnPropNames = Object.getOwnPropertyNames;
13
- var __hasOwnProp = Object.prototype.hasOwnProperty;
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var zh_CN_exports = {};
28
- __export(zh_CN_exports, {
29
- default: () => zh_CN_default
30
- });
31
- module.exports = __toCommonJS(zh_CN_exports);
32
- var zh_CN_default = {
33
- "Configure calendar": "\u914D\u7F6E\u65E5\u5386",
34
- "Title field": "\u6807\u9898\u5B57\u6BB5",
35
- "Custom title": "\u81EA\u5B9A\u4E49\u6807\u9898",
36
- "Show lunar": "\u5C55\u793A\u519C\u5386",
37
- "Start date field": "\u5F00\u59CB\u65E5\u671F\u5B57\u6BB5",
38
- "End date field": "\u7ED3\u675F\u65E5\u671F\u5B57\u6BB5",
39
- "Work week": "\u5DE5\u4F5C\u65E5",
40
- Today: "\u4ECA\u5929",
41
- Day: "\u5929",
42
- Agenda: "\u5217\u8868",
43
- Date: "\u65E5\u671F",
44
- Time: "\u65F6\u95F4",
45
- Event: "\u4E8B\u4EF6",
46
- None: "\u65E0",
47
- Calendar: "\u65E5\u5386",
48
- "Delete events": "\u5220\u9664\u65E5\u7A0B",
49
- "This event": "\u6B64\u65E5\u7A0B",
50
- "This and following events": "\u6B64\u65E5\u7A0B\u53CA\u540E\u7EED\u65E5\u7A0B",
51
- "All events": "\u6240\u6709\u65E5\u7A0B",
52
- "Delete this event?": "\u662F\u5426\u5220\u9664\u8FD9\u4E2A\u65E5\u7A0B\uFF1F",
53
- "Delete Event": "\u5220\u9664\u65E5\u7A0B",
54
- "Calendar collection": "\u65E5\u5386\u6570\u636E\u8868",
55
- "Create calendar block": "\u521B\u5EFA\u65E5\u5386\u533A\u5757",
56
- Filter: "\u7B5B\u9009",
57
- "Configure actions": "\u914D\u7F6E\u64CD\u4F5C",
58
- "Enable actions": "\u542F\u7528\u64CD\u4F5C",
59
- "Turn pages": "\u7FFB\u9875",
60
- "Select view": "\u5207\u6362\u89C6\u56FE",
61
- "Add new": "\u6DFB\u52A0",
62
- "View record": "\u67E5\u770B\u6570\u636E",
63
- "Details": "\u8BE6\u60C5",
64
- Customize: "\u81EA\u5B9A\u4E49",
65
- "Update record": "\u66F4\u65B0\u6570\u636E",
66
- "Popup": "\u5F39\u7A97",
67
- "Updated successfully": "\u66F4\u65B0\u6210\u529F",
68
- "Custom request": "\u81EA\u5B9A\u4E49\u8BF7\u6C42",
69
- "Edit": "\u7F16\u8F91",
70
- Delete: "\u5220\u9664",
71
- Print: "\u6253\u5370",
72
- Daily: "\u6BCF\u5929",
73
- Weekly: "\u6BCF\u5468",
74
- Monthly: "\u6BCF\u6708",
75
- Yearly: "\u6BCF\u5E74",
76
- Repeats: "\u91CD\u590D"
77
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export { default } from './server';
@@ -1,42 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- var __create = Object.create;
11
- var __defProp = Object.defineProperty;
12
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
- var __getOwnPropNames = Object.getOwnPropertyNames;
14
- var __getProtoOf = Object.getPrototypeOf;
15
- var __hasOwnProp = Object.prototype.hasOwnProperty;
16
- var __export = (target, all) => {
17
- for (var name in all)
18
- __defProp(target, name, { get: all[name], enumerable: true });
19
- };
20
- var __copyProps = (to, from, except, desc) => {
21
- if (from && typeof from === "object" || typeof from === "function") {
22
- for (let key of __getOwnPropNames(from))
23
- if (!__hasOwnProp.call(to, key) && key !== except)
24
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
- }
26
- return to;
27
- };
28
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
- // If the importer is in node compatibility mode or this is not an ESM
30
- // file that has been converted to a CommonJS file using a Babel-
31
- // compatible transform (i.e. "__esModule" has not been set), then set
32
- // "default" to the CommonJS "module.exports" for node compatibility.
33
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
- mod
35
- ));
36
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
- var server_exports = {};
38
- __export(server_exports, {
39
- default: () => import_server.default
40
- });
41
- module.exports = __toCommonJS(server_exports);
42
- var import_server = __toESM(require("./server"));
@@ -1,11 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { Plugin } from '@nocobase/server';
10
- export default class PluginCalendarServer extends Plugin {
11
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- var __defProp = Object.defineProperty;
11
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
- var __getOwnPropNames = Object.getOwnPropertyNames;
13
- var __hasOwnProp = Object.prototype.hasOwnProperty;
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var server_exports = {};
28
- __export(server_exports, {
29
- default: () => PluginCalendarServer
30
- });
31
- module.exports = __toCommonJS(server_exports);
32
- var import_server = require("@nocobase/server");
33
- class PluginCalendarServer extends import_server.Plugin {
34
- }