@nocobase/plugin-calendar 1.2.12-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.
- package/package.json +2 -2
- package/dist/client/calendar/Calendar.Designer.d.ts +0 -10
- package/dist/client/calendar/Calendar.d.ts +0 -13
- package/dist/client/calendar/Calender.Settings.d.ts +0 -12
- package/dist/client/calendar/DeleteEvent.d.ts +0 -11
- package/dist/client/calendar/Event.d.ts +0 -10
- package/dist/client/calendar/Nav.d.ts +0 -10
- package/dist/client/calendar/Title.d.ts +0 -10
- package/dist/client/calendar/Today.d.ts +0 -10
- package/dist/client/calendar/ViewSelect.d.ts +0 -10
- package/dist/client/calendar/components/Header.d.ts +0 -19
- package/dist/client/calendar/context.d.ts +0 -14
- package/dist/client/calendar/global.style.d.ts +0 -11
- package/dist/client/calendar/hook.d.ts +0 -9
- package/dist/client/calendar/index.d.ts +0 -10
- package/dist/client/calendar/style.d.ts +0 -10
- package/dist/client/calendar/utils.d.ts +0 -17
- package/dist/client/collection-templates/calendar.d.ts +0 -47
- package/dist/client/hooks/useCalendarBlockDecoratorProps.d.ts +0 -16
- package/dist/client/hooks/useCalendarBlockParams.d.ts +0 -12
- package/dist/client/index.d.ts +0 -13
- package/dist/client/index.js +0 -103
- package/dist/client/schema-initializer/CalendarBlockProvider.d.ts +0 -17
- package/dist/client/schema-initializer/createCalendarBlockUISchema.d.ts +0 -15
- package/dist/client/schema-initializer/initializers/CalendarActionInitializers.d.ts +0 -16
- package/dist/client/schema-initializer/initializers/CalendarFormActionInitializers.d.ts +0 -15
- package/dist/client/schema-initializer/initializers/index.d.ts +0 -10
- package/dist/client/schema-initializer/items/CalendarBlockInitializer.d.ts +0 -25
- package/dist/client/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +0 -15
- package/dist/client/schema-initializer/items/index.d.ts +0 -10
- package/dist/externalVersion.js +0 -26
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -42
- package/dist/locale/en_US.d.ts +0 -54
- package/dist/locale/en_US.js +0 -76
- package/dist/locale/es_ES.d.ts +0 -54
- package/dist/locale/es_ES.js +0 -76
- package/dist/locale/fr_FR.d.ts +0 -54
- package/dist/locale/fr_FR.js +0 -76
- package/dist/locale/index.d.ts +0 -12
- package/dist/locale/index.js +0 -55
- package/dist/locale/ja_JP.d.ts +0 -41
- package/dist/locale/ja_JP.js +0 -63
- package/dist/locale/ko_KR.d.ts +0 -55
- package/dist/locale/ko_KR.js +0 -77
- package/dist/locale/pt_BR.d.ts +0 -51
- package/dist/locale/pt_BR.js +0 -73
- package/dist/locale/ru_RU.d.ts +0 -40
- package/dist/locale/ru_RU.js +0 -62
- package/dist/locale/tr_TR.d.ts +0 -40
- package/dist/locale/tr_TR.js +0 -62
- package/dist/locale/uk_UA.d.ts +0 -54
- package/dist/locale/uk_UA.js +0 -76
- package/dist/locale/zh-CN.d.ts +0 -55
- package/dist/locale/zh-CN.js +0 -77
- package/dist/server/index.d.ts +0 -9
- package/dist/server/index.js +0 -42
- package/dist/server/server.d.ts +0 -11
- package/dist/server/server.js +0 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-calendar",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-alpha.20240710084543",
|
|
4
4
|
"displayName": "Calendar",
|
|
5
5
|
"displayName.zh-CN": "日历",
|
|
6
6
|
"description": "Provides callendar collection template and block for managing date data, typically for date/time related information such as events, appointments, tasks, and so on.",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
37
37
|
"directory": "packages/plugins/calendar"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "07a8b596fc64a9779a194cb9b0dc2ca7570ed9d4",
|
|
40
40
|
"keywords": [
|
|
41
41
|
"Collections",
|
|
42
42
|
"Blocks"
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const CalendarDesigner: () => React.JSX.Element;
|
|
@@ -1,13 +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 React from 'react';
|
|
10
|
-
export declare const DeleteEventContext: React.Context<{
|
|
11
|
-
close: () => void;
|
|
12
|
-
}>;
|
|
13
|
-
export declare const Calendar: any;
|
|
@@ -1,12 +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 { SchemaSettings } from '@nocobase/client';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare const ShowLunarDesignerItem: () => React.JSX.Element;
|
|
12
|
-
export declare const calendarBlockSettings: SchemaSettings<{}>;
|
|
@@ -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 React from 'react';
|
|
10
|
-
export declare const DeleteEvent: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
11
|
-
export default DeleteEvent;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const Event: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const Nav: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const Title: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const Today: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const ViewSelect: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
@@ -1,19 +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 React from 'react';
|
|
10
|
-
declare const Header: ({ date, label, drilldownView, onDrillDown, showLunar, type, localizer }: {
|
|
11
|
-
date: any;
|
|
12
|
-
label: any;
|
|
13
|
-
drilldownView: any;
|
|
14
|
-
onDrillDown: any;
|
|
15
|
-
showLunar?: boolean;
|
|
16
|
-
type: any;
|
|
17
|
-
localizer: any;
|
|
18
|
-
}) => React.JSX.Element;
|
|
19
|
-
export default Header;
|
|
@@ -1,14 +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
|
-
/// <reference types="react" />
|
|
10
|
-
import type { ToolbarProps } from './types';
|
|
11
|
-
export declare const CalendarToolbarContext: import("react").Context<ToolbarProps>;
|
|
12
|
-
export declare const CalendarContext: import("react").Context<any>;
|
|
13
|
-
export declare const DeleteEventContext: import("react").Context<any>;
|
|
14
|
-
export declare const useDeleteEvent: () => any;
|
|
@@ -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
|
-
/// <reference types="react" />
|
|
10
|
-
declare const GlobalStyle: import("react").NamedExoticComponent<object>;
|
|
11
|
-
export default GlobalStyle;
|
|
@@ -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 declare const useCalenderHeight: () => number;
|
|
@@ -1,10 +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 CalendarV2: any;
|
|
10
|
-
export { CalendarV2 };
|
|
@@ -1,10 +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: (props?: any) => import("@nocobase/client/es/schema-component/antd/__builtins__").UseComponentStyleResult;
|
|
10
|
-
export default _default;
|
|
@@ -1,17 +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 dayjs from 'dayjs';
|
|
10
|
-
export declare const toEvents: (data: any[], fieldNames: any) => {
|
|
11
|
-
id: any;
|
|
12
|
-
title: any;
|
|
13
|
-
start: Date;
|
|
14
|
-
end: Date;
|
|
15
|
-
}[];
|
|
16
|
-
export declare const getLunarDay: (date: dayjs.Dayjs | string) => string | number;
|
|
17
|
-
export declare const formatDate: (date: dayjs.Dayjs) => string;
|
|
@@ -1,47 +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 { CollectionTemplate, ICollectionTemplate } from '@nocobase/client';
|
|
10
|
-
export declare const calendar: ICollectionTemplate;
|
|
11
|
-
export declare class CalendarCollectionTemplate extends CollectionTemplate {
|
|
12
|
-
name: string;
|
|
13
|
-
title: string;
|
|
14
|
-
order: number;
|
|
15
|
-
color: string;
|
|
16
|
-
default: {
|
|
17
|
-
createdBy: boolean;
|
|
18
|
-
updatedBy: boolean;
|
|
19
|
-
createdAt: boolean;
|
|
20
|
-
updatedAt: boolean;
|
|
21
|
-
sortable: boolean;
|
|
22
|
-
fields: ({
|
|
23
|
-
name: string;
|
|
24
|
-
type: string;
|
|
25
|
-
uiSchema: {
|
|
26
|
-
type: string;
|
|
27
|
-
title: string;
|
|
28
|
-
'x-component': string;
|
|
29
|
-
'x-component-props': string;
|
|
30
|
-
enum: {
|
|
31
|
-
label: string;
|
|
32
|
-
value: string;
|
|
33
|
-
}[];
|
|
34
|
-
};
|
|
35
|
-
interface: string;
|
|
36
|
-
} | {
|
|
37
|
-
name: string;
|
|
38
|
-
type: string;
|
|
39
|
-
uiSchema?: undefined;
|
|
40
|
-
interface?: undefined;
|
|
41
|
-
})[];
|
|
42
|
-
};
|
|
43
|
-
availableFieldInterfaces: {
|
|
44
|
-
include: any[];
|
|
45
|
-
};
|
|
46
|
-
configurableProperties: Record<import("@nocobase/client/es/collection-manager/templates/properties").DefaultConfigurableKeys, any>;
|
|
47
|
-
}
|
|
@@ -1,16 +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 declare function useCalendarBlockDecoratorProps(props: any): {
|
|
10
|
-
params: any;
|
|
11
|
-
parentRecord: any;
|
|
12
|
-
/**
|
|
13
|
-
* 为 true 则表示正在解析 filter 参数中的变量
|
|
14
|
-
*/
|
|
15
|
-
parseVariableLoading: boolean;
|
|
16
|
-
};
|
|
@@ -1,12 +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 declare function useCalendarBlockParams(props: any): {
|
|
10
|
-
params: any;
|
|
11
|
-
parseVariableLoading: boolean;
|
|
12
|
-
};
|
package/dist/client/index.d.ts
DELETED
|
@@ -1,13 +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/client';
|
|
10
|
-
export declare class PluginCalendarClient extends Plugin {
|
|
11
|
-
load(): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export default PluginCalendarClient;
|