@nocobase/plugin-calendar 2.2.45 → 2.2.46

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.
@@ -54,7 +54,7 @@ export declare class CalendarBlockModel extends CollectionBlockModel {
54
54
  getDefaultStartFieldName(): string;
55
55
  getDefaultEndFieldName(): string;
56
56
  getDefaultView(): any;
57
- getWeekStart(): 1 | 0;
57
+ getWeekStart(): 0 | 1;
58
58
  getFieldNames(): {
59
59
  id: string;
60
60
  title: any;
@@ -13,7 +13,7 @@ export type CalendarVisibleRange = {
13
13
  end: Date;
14
14
  };
15
15
  export declare const normalizeCalendarFieldPath: (fieldPath?: string | string[]) => string;
16
- export declare const parseCalendarWeekStart: (weekStart?: number | string) => 1 | 0;
16
+ export declare const parseCalendarWeekStart: (weekStart?: number | string) => 0 | 1;
17
17
  export declare const getCalendarVisibleRange: (value: Date | string, view?: 'month' | 'week' | 'day' | string, weekStart?: number | string) => CalendarVisibleRange;
18
18
  export declare const formatDate: (date: dayjs.Dayjs) => string;
19
19
  export declare const createCalendarRangeFilter: (fieldNames: {
@@ -8,15 +8,15 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.2.45",
11
+ "@nocobase/client": "2.2.46",
12
12
  "react": "18.2.0",
13
- "@nocobase/flow-engine": "2.2.45",
14
- "@nocobase/client-v2": "2.2.45",
13
+ "@nocobase/flow-engine": "2.2.46",
14
+ "@nocobase/client-v2": "2.2.46",
15
15
  "react-i18next": "11.18.6",
16
- "@nocobase/server": "2.2.45",
16
+ "@nocobase/server": "2.2.46",
17
17
  "dayjs": "1.11.13",
18
18
  "lodash": "4.18.1",
19
- "@nocobase/test": "2.2.45",
19
+ "@nocobase/test": "2.2.46",
20
20
  "@ant-design/icons": "5.6.1",
21
21
  "@formily/react": "2.3.7",
22
22
  "antd": "5.24.2",
@@ -25,5 +25,5 @@ module.exports = {
25
25
  "@formily/core": "2.3.7",
26
26
  "@formily/shared": "2.3.7",
27
27
  "@formily/antd-v5": "1.2.3",
28
- "@nocobase/utils": "2.2.45"
28
+ "@nocobase/utils": "2.2.46"
29
29
  };
@@ -1 +1 @@
1
- {"name":"date-fns","version":"2.30.0","sideEffects":false,"contributors":["Sasha Koss <koss@nocorp.me>","Lesha Koss <regiusprod@gmail.com>"],"license":"MIT","description":"Modern JavaScript date utility library","repository":"https://github.com/date-fns/date-fns","funding":{"type":"opencollective","url":"https://opencollective.com/date-fns"},"engines":{"node":">=0.11"},"typings":"./typings.d.ts","main":"index.js","module":"esm/index.js","scripts":{"test":"karma start config/karma.js","lint":"eslint .","lint-types":"eslint --config=.ts-eslintrc.js typings.d.ts","locale-snapshots":"env TZ=utc babel-node --extensions .ts,.js ./scripts/build/localeSnapshots/index.js","stats":"cloc . --exclude-dir=node_modules,tmp,.git"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json}":["prettier --write","git add"]},"browserslist":["last 1 version","> 1%","IE 11"],"dependencies":{"@babel/runtime":"^7.21.0"},"devDependencies":{"@babel/cli":"^7.21.5","@babel/core":"^7.21.5","@babel/node":"^7.20.7","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-runtime":"^7.21.4","@babel/preset-env":"^7.21.5","@babel/preset-typescript":"^7.21.5","@date-fns/date-fns-scripts":"0.0.6","@octokit/core":"^3.2.5","@size-limit/preset-big-lib":"^8.2.4","@types/jest":"^26.0.23","@types/node":"^14.6.3","@types/sinon":"^9.0.6","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.31.0","babel-eslint":"^10.0.2","babel-loader":"8.0.6","babel-plugin-add-import-extension":"^1.4.3","babel-plugin-add-module-exports":"^1.0.2","cloc":"^2.2.0","coveralls":"^3.0.6","eslint":"^7.27.0","eslint-config-prettier":"^4.3.0","firebase":"^3.7.1","glob-promise":"^2.0.0","globby":"^11.0.3","husky":"^1.0.1","istanbul-instrumenter-loader":"^3.0.1","jest":"^27.0.4","js-beautify":"^1.5.10","js-fns":"^2.5.1","jsdoc-babel":"^0.5.0","jsdoc-to-markdown":"7","karma":"^3.1.4","karma-chrome-launcher":"2.2","karma-cli":"^1.0.1","karma-coverage":"^1.1.2","karma-coverage-istanbul-reporter":"^2.1.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sauce-launcher":"^1.2.0","karma-sourcemap-loader":"^0.3.5","karma-webpack":"^4.0.2","lint-staged":"^7.3.0","lodash":"^4.17.15","lodash.clonedeep":"^4.5.0","mocha":"^3.5.3","moment":"^2.24.0","mz":"^2.7.0","node-fetch":"^1.7.3","p-limit":"^3.1.0","prettier":"2","simple-git":"^2.35.2","sinon":"^7.4.1","size-limit":"^8.2.4","snazzy":"^7.0.0","ts-node":"^10.9.1","typescript":"^4.2.4","webpack":"4","webpack-cli":"^3.1.2","world-countries":"^1.8.1"},"resolutions":{"ajv":"6.8.1"},"_lastModified":"2026-11-11T14:19:38.022Z"}
1
+ {"name":"date-fns","version":"2.30.0","sideEffects":false,"contributors":["Sasha Koss <koss@nocorp.me>","Lesha Koss <regiusprod@gmail.com>"],"license":"MIT","description":"Modern JavaScript date utility library","repository":"https://github.com/date-fns/date-fns","funding":{"type":"opencollective","url":"https://opencollective.com/date-fns"},"engines":{"node":">=0.11"},"typings":"./typings.d.ts","main":"index.js","module":"esm/index.js","scripts":{"test":"karma start config/karma.js","lint":"eslint .","lint-types":"eslint --config=.ts-eslintrc.js typings.d.ts","locale-snapshots":"env TZ=utc babel-node --extensions .ts,.js ./scripts/build/localeSnapshots/index.js","stats":"cloc . --exclude-dir=node_modules,tmp,.git"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json}":["prettier --write","git add"]},"browserslist":["last 1 version","> 1%","IE 11"],"dependencies":{"@babel/runtime":"^7.21.0"},"devDependencies":{"@babel/cli":"^7.21.5","@babel/core":"^7.21.5","@babel/node":"^7.20.7","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-runtime":"^7.21.4","@babel/preset-env":"^7.21.5","@babel/preset-typescript":"^7.21.5","@date-fns/date-fns-scripts":"0.0.6","@octokit/core":"^3.2.5","@size-limit/preset-big-lib":"^8.2.4","@types/jest":"^26.0.23","@types/node":"^14.6.3","@types/sinon":"^9.0.6","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.31.0","babel-eslint":"^10.0.2","babel-loader":"8.0.6","babel-plugin-add-import-extension":"^1.4.3","babel-plugin-add-module-exports":"^1.0.2","cloc":"^2.2.0","coveralls":"^3.0.6","eslint":"^7.27.0","eslint-config-prettier":"^4.3.0","firebase":"^3.7.1","glob-promise":"^2.0.0","globby":"^11.0.3","husky":"^1.0.1","istanbul-instrumenter-loader":"^3.0.1","jest":"^27.0.4","js-beautify":"^1.5.10","js-fns":"^2.5.1","jsdoc-babel":"^0.5.0","jsdoc-to-markdown":"7","karma":"^3.1.4","karma-chrome-launcher":"2.2","karma-cli":"^1.0.1","karma-coverage":"^1.1.2","karma-coverage-istanbul-reporter":"^2.1.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sauce-launcher":"^1.2.0","karma-sourcemap-loader":"^0.3.5","karma-webpack":"^4.0.2","lint-staged":"^7.3.0","lodash":"^4.17.15","lodash.clonedeep":"^4.5.0","mocha":"^3.5.3","moment":"^2.24.0","mz":"^2.7.0","node-fetch":"^1.7.3","p-limit":"^3.1.0","prettier":"2","simple-git":"^2.35.2","sinon":"^7.4.1","size-limit":"^8.2.4","snazzy":"^7.0.0","ts-node":"^10.9.1","typescript":"^4.2.4","webpack":"4","webpack-cli":"^3.1.2","world-countries":"^1.8.1"},"resolutions":{"ajv":"6.8.1"},"_lastModified":"2026-11-12T14:34:55.460Z"}
@@ -1 +1 @@
1
- {"name":"solarlunar-es","version":"1.0.9","description":"一个公历农历转化工具,支持esmodule","main":"./dist/solarlunar.cjs.js","module":"./dist/solarlunar.esm.js","types":"./dist/solarlunar.d.ts","scripts":{"build":"rollup -c","test":"mocha"},"files":["dist"],"keywords":["solarlunar","esm","公历农历转换"],"repository":{"type":"git","url":"https://github.com/qiuquanwu/solarlunar-es"},"author":"qiuquanwu","license":"ISC","devDependencies":{"@babel/core":"^7.12.10","@rollup/plugin-commonjs":"^17.1.0","@rollup/plugin-node-resolve":"^11.1.0","rollup":"^2.38.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-dts":"^4.1.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript":"^1.0.1","typescript":"^4.5.5","chai":"^4.3.6","mocha":"^9.2.1"},"_lastModified":"2026-11-11T14:19:34.799Z"}
1
+ {"name":"solarlunar-es","version":"1.0.9","description":"一个公历农历转化工具,支持esmodule","main":"./dist/solarlunar.cjs.js","module":"./dist/solarlunar.esm.js","types":"./dist/solarlunar.d.ts","scripts":{"build":"rollup -c","test":"mocha"},"files":["dist"],"keywords":["solarlunar","esm","公历农历转换"],"repository":{"type":"git","url":"https://github.com/qiuquanwu/solarlunar-es"},"author":"qiuquanwu","license":"ISC","devDependencies":{"@babel/core":"^7.12.10","@rollup/plugin-commonjs":"^17.1.0","@rollup/plugin-node-resolve":"^11.1.0","rollup":"^2.38.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-dts":"^4.1.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript":"^1.0.1","typescript":"^4.5.5","chai":"^4.3.6","mocha":"^9.2.1"},"_lastModified":"2026-11-12T14:34:52.054Z"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-calendar",
3
- "version": "2.2.45",
3
+ "version": "2.2.46",
4
4
  "displayName": "Calendar",
5
5
  "displayName.ru-RU": "Календарь",
6
6
  "displayName.zh-CN": "日历",
@@ -41,7 +41,7 @@
41
41
  "url": "git+https://github.com/nocobase/nocobase.git",
42
42
  "directory": "packages/plugins/calendar"
43
43
  },
44
- "gitHead": "41365164a6a0551491c07dc01634d8bcd1e2b7b8",
44
+ "gitHead": "ca2ca462526e39c219a09fa65625f77879ac5249",
45
45
  "keywords": [
46
46
  "Collections",
47
47
  "Blocks"