@yimingliao/cms 0.0.178 → 0.0.179

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 (19) hide show
  1. package/dist/src/client/interfaces/components/resources/admin/admin-relations-section.js +4 -3
  2. package/dist/src/client/interfaces/components/resources/category/category-relations-section.js +6 -3
  3. package/dist/src/client/interfaces/components/resources/file/file-relations-section.js +4 -2
  4. package/dist/src/client/interfaces/components/resources/post/post-relations-section.js +4 -3
  5. package/dist/src/client/interfaces/components/resources/tag/tag-relations-section.js +4 -3
  6. package/dist/src/client/interfaces/components/resources/topic/topic-relations-section.js +7 -5
  7. package/dist/types/src/client/interfaces/components/resources/admin/admin-relations-section.d.ts +3 -1
  8. package/dist/types/src/client/interfaces/components/resources/admin/admin-relations-section.d.ts.map +1 -1
  9. package/dist/types/src/client/interfaces/components/resources/category/category-relations-section.d.ts +3 -1
  10. package/dist/types/src/client/interfaces/components/resources/category/category-relations-section.d.ts.map +1 -1
  11. package/dist/types/src/client/interfaces/components/resources/file/file-relations-section.d.ts +3 -1
  12. package/dist/types/src/client/interfaces/components/resources/file/file-relations-section.d.ts.map +1 -1
  13. package/dist/types/src/client/interfaces/components/resources/post/post-relations-section.d.ts +3 -1
  14. package/dist/types/src/client/interfaces/components/resources/post/post-relations-section.d.ts.map +1 -1
  15. package/dist/types/src/client/interfaces/components/resources/tag/tag-relations-section.d.ts +3 -1
  16. package/dist/types/src/client/interfaces/components/resources/tag/tag-relations-section.d.ts.map +1 -1
  17. package/dist/types/src/client/interfaces/components/resources/topic/topic-relations-section.d.ts +4 -1
  18. package/dist/types/src/client/interfaces/components/resources/topic/topic-relations-section.d.ts.map +1 -1
  19. package/package.json +1 -1
@@ -47,7 +47,8 @@ function createAdminRelationsSection({
47
47
  "isSlugActive",
48
48
  "isFeatured",
49
49
  "isShownOnHome"
50
- ]
50
+ ],
51
+ headerProps
51
52
  }) {
52
53
  const { t } = useTranslator();
53
54
  const post = ensureArray(admin?.posts).filter(
@@ -59,8 +60,8 @@ function createAdminRelationsSection({
59
60
  hasBorder: true,
60
61
  accordionHeaderProps: {
61
62
  count: post.length,
62
- isRelated: true,
63
- children: t("resources.post.text")
63
+ isRelated: headerProps?.isRelated ?? true,
64
+ children: headerProps?.children ?? t("resources.post.text")
64
65
  },
65
66
  children: /* @__PURE__ */ jsx(
66
67
  PostList,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx } from 'react/jsx-runtime';
3
+ import { useTranslator } from 'intor/react';
3
4
  import 'mime-types';
4
5
  import { ensureArray } from '../../../../../shared/utils/ensure-array.js';
5
- import 'intor/react';
6
6
  import 'lucide-react';
7
7
  import 'react';
8
8
  import 'ua-parser-js';
@@ -40,8 +40,10 @@ function createCategoryRelationsSection({
40
40
  }) {
41
41
  return function CategoryRelationsSection({
42
42
  category,
43
- usableFields = ["isActive", "isIndexActive", "isSlugActive"]
43
+ usableFields = ["isActive", "isIndexActive", "isSlugActive"],
44
+ headerProps
44
45
  }) {
46
+ const { t } = useTranslator();
45
47
  const posts = ensureArray(category?.children);
46
48
  return /* @__PURE__ */ jsx(AccordionContainer, { children: /* @__PURE__ */ jsx(
47
49
  Accordion,
@@ -49,7 +51,8 @@ function createCategoryRelationsSection({
49
51
  hasBorder: true,
50
52
  accordionHeaderProps: {
51
53
  count: posts.length,
52
- isRelated: true
54
+ isRelated: headerProps?.isRelated ?? true,
55
+ children: headerProps?.children ?? t("resources.post.text")
53
56
  },
54
57
  children: /* @__PURE__ */ jsx(
55
58
  PostList,
@@ -57,7 +57,8 @@ function createFileRelationsSection({
57
57
  "isSlugActive",
58
58
  "isFeatured",
59
59
  "isShownOnHome"
60
- ]
60
+ ],
61
+ headerProps
61
62
  }) {
62
63
  const { t } = useTranslator();
63
64
  const postIds = useMemo(() => {
@@ -92,7 +93,8 @@ function createFileRelationsSection({
92
93
  hasBorder: true,
93
94
  accordionHeaderProps: {
94
95
  count: postIds.length,
95
- isRelated: true
96
+ isRelated: headerProps?.isRelated ?? true,
97
+ children: headerProps?.children ?? t("resources.post.text")
96
98
  },
97
99
  children: /* @__PURE__ */ jsx(
98
100
  PostList,
@@ -46,7 +46,8 @@ function createPostRelationsSection({
46
46
  "isSlugActive",
47
47
  "isFeatured",
48
48
  "isShownOnHome"
49
- ]
49
+ ],
50
+ headerProps
50
51
  }) {
51
52
  const { t } = useTranslator();
52
53
  const posts = ensureArray(post?.referencingPosts);
@@ -56,8 +57,8 @@ function createPostRelationsSection({
56
57
  hasBorder: true,
57
58
  accordionHeaderProps: {
58
59
  count: posts.length,
59
- isRelated: true,
60
- children: `${t("resources.post.text")} ( ${t("resources.post.referenced-by.text")} )`
60
+ isRelated: headerProps?.isRelated ?? true,
61
+ children: headerProps?.children ?? `${t("resources.post.text")} ( ${t("resources.post.referenced-by.text")} )`
61
62
  },
62
63
  children: /* @__PURE__ */ jsx(
63
64
  PostList,
@@ -40,7 +40,8 @@ function createTagRelationsSection({
40
40
  }) {
41
41
  return function TagRelationsSection({
42
42
  tag,
43
- usableFields = ["isActive", "isIndexActive", "isSlugActive"]
43
+ usableFields = ["isActive", "isIndexActive", "isSlugActive"],
44
+ headerProps
44
45
  }) {
45
46
  const { t } = useTranslator();
46
47
  const posts = ensureArray(tag?.taggedPosts);
@@ -50,8 +51,8 @@ function createTagRelationsSection({
50
51
  hasBorder: true,
51
52
  accordionHeaderProps: {
52
53
  count: posts.length,
53
- isRelated: true,
54
- children: t("resources.post.text")
54
+ isRelated: headerProps?.isRelated ?? true,
55
+ children: headerProps?.children ?? t("resources.post.text")
55
56
  },
56
57
  children: /* @__PURE__ */ jsx(
57
58
  PostList,
@@ -49,7 +49,9 @@ function createTopicRelationsSection({
49
49
  "isSlugActive",
50
50
  "isFeatured",
51
51
  "isShownOnHome"
52
- ]
52
+ ],
53
+ categoryHeaderProps,
54
+ postHeaderProps
53
55
  }) {
54
56
  const { t } = useTranslator();
55
57
  const postsInTopic = ensureArray(topic?.postsInTopic);
@@ -64,8 +66,8 @@ function createTopicRelationsSection({
64
66
  hasBorder: true,
65
67
  accordionHeaderProps: {
66
68
  count: categories.length,
67
- isRelated: true,
68
- children: t("resources.category.text")
69
+ isRelated: categoryHeaderProps?.isRelated ?? true,
70
+ children: categoryHeaderProps?.children ?? t("resources.category.text")
69
71
  },
70
72
  children: /* @__PURE__ */ jsx(
71
73
  CategoryList,
@@ -83,8 +85,8 @@ function createTopicRelationsSection({
83
85
  hasBorder: true,
84
86
  accordionHeaderProps: {
85
87
  count: posts.length,
86
- isRelated: true,
87
- children: t("resources.post.text")
88
+ isRelated: postHeaderProps?.isRelated ?? true,
89
+ children: postHeaderProps?.children ?? t("resources.post.text")
88
90
  },
89
91
  children: /* @__PURE__ */ jsx(
90
92
  PostList,
@@ -1,9 +1,11 @@
1
1
  import type { AdminFull } from "../../../../../domain/resources/admin/full";
2
+ import type { AccordionHeaderProps } from "../../ui/features/accordion/accordion-header";
2
3
  import type { createPostList } from "../post/post-list";
3
4
  export declare function createAdminRelationsSection({ PostList, }: {
4
5
  PostList: ReturnType<typeof createPostList>;
5
- }): ({ admin, usableFields, }: {
6
+ }): ({ admin, usableFields, headerProps, }: {
6
7
  admin?: AdminFull;
7
8
  usableFields?: string[];
9
+ headerProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
8
10
  }) => import("react/jsx-runtime").JSX.Element;
9
11
  //# sourceMappingURL=admin-relations-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/admin/admin-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMxD,wBAAgB,2BAA2B,CAAC,EAC1C,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACuC,0BASnC;IACD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,6CA4BF"}
1
+ {"version":3,"file":"admin-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/admin/admin-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMxD,wBAAgB,2BAA2B,CAAC,EAC1C,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACuC,uCAUnC;IACD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;CACpE,6CA6BF"}
@@ -1,9 +1,11 @@
1
1
  import type { PostFull } from "../../../../../domain/resources/post/full";
2
+ import type { AccordionHeaderProps } from "../../ui/features/accordion/accordion-header";
2
3
  import type { createPostList } from "../post";
3
4
  export declare function createCategoryRelationsSection({ PostList, }: {
4
5
  PostList: ReturnType<typeof createPostList>;
5
- }): ({ category, usableFields, }: {
6
+ }): ({ category, usableFields, headerProps, }: {
6
7
  category?: PostFull;
7
8
  usableFields?: string[];
9
+ headerProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
8
10
  }) => import("react/jsx-runtime").JSX.Element;
9
11
  //# sourceMappingURL=category-relations-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"category-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/category/category-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI9C,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IAC0C,6BAGtC;IACD,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,6CAuBF"}
1
+ {"version":3,"file":"category-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/category/category-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAK9C,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IAC0C,0CAItC;IACD,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;CACpE,6CA0BF"}
@@ -1,12 +1,14 @@
1
1
  import type { FileFull } from "../../../../../domain/resources/file/full";
2
+ import type { AccordionHeaderProps } from "../../ui/features/accordion/accordion-header";
2
3
  import type { createAdminList } from "../admin/admin-list";
3
4
  import type { createPostList } from "../post/post-list";
4
5
  export declare function createFileRelationsSection({ adminEnabled, AdminList, PostList, }: {
5
6
  adminEnabled: boolean;
6
7
  AdminList: ReturnType<typeof createAdminList>;
7
8
  PostList: ReturnType<typeof createPostList>;
8
- }): ({ file, usableFields, }: {
9
+ }): ({ file, usableFields, headerProps, }: {
9
10
  file: FileFull | null;
10
11
  usableFields?: string[];
12
+ headerProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
11
13
  }) => import("react/jsx-runtime").JSX.Element;
12
14
  //# sourceMappingURL=file-relations-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/file/file-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAgBxD,wBAAgB,0BAA0B,CAAC,EACzC,YAAY,EACZ,SAAS,EACT,QAAQ,GACT,EAAE;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC9C,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACsC,yBASlC;IACD,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,6CAgDF"}
1
+ {"version":3,"file":"file-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/file/file-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAgBxD,wBAAgB,0BAA0B,CAAC,EACzC,YAAY,EACZ,SAAS,EACT,QAAQ,GACT,EAAE;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC9C,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACsC,sCAUlC;IACD,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;CACpE,6CAiDF"}
@@ -1,9 +1,11 @@
1
1
  import type { createPostList } from "./post-list";
2
2
  import type { PostFull } from "../../../../../domain/resources/post/full";
3
+ import type { AccordionHeaderProps } from "../../ui/features/accordion/accordion-header";
3
4
  export declare function createPostRelationsSection({ PostList, }: {
4
5
  PostList: ReturnType<typeof createPostList>;
5
- }): ({ post, usableFields, }: {
6
+ }): ({ post, usableFields, headerProps, }: {
6
7
  post?: PostFull;
7
8
  usableFields?: string[];
9
+ headerProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
8
10
  }) => import("react/jsx-runtime").JSX.Element;
9
11
  //# sourceMappingURL=post-relations-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/post/post-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAK1E,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACsC,yBASlC;IACD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,6CA0BF"}
1
+ {"version":3,"file":"post-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/post/post-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAKzF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACsC,sCAUlC;IACD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;CACpE,6CA4BF"}
@@ -1,9 +1,11 @@
1
1
  import type { PostFull } from "../../../../../domain/resources/post/full";
2
+ import type { AccordionHeaderProps } from "../../ui/features/accordion/accordion-header";
2
3
  import type { createPostList } from "../post";
3
4
  export declare function createTagRelationsSection({ PostList, }: {
4
5
  PostList: ReturnType<typeof createPostList>;
5
- }): ({ tag, usableFields, }: {
6
+ }): ({ tag, usableFields, headerProps, }: {
6
7
  tag?: PostFull;
7
8
  usableFields?: string[];
9
+ headerProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
8
10
  }) => import("react/jsx-runtime").JSX.Element;
9
11
  //# sourceMappingURL=tag-relations-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/tag/tag-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAK9C,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACqC,wBAGjC;IACD,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,6CA0BF"}
1
+ {"version":3,"file":"tag-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/tag/tag-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAK9C,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACqC,qCAIjC;IACD,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;CACpE,6CA0BF"}
@@ -1,12 +1,15 @@
1
1
  import type { PostFull } from "../../../../../domain/resources/post/full";
2
+ import type { AccordionHeaderProps } from "../../ui/features/accordion/accordion-header";
2
3
  import type { createCategoryList } from "../category";
3
4
  import type { createPostList } from "../post";
4
5
  export declare function createTopicRelationsSection({ CategoryList, PostList, }: {
5
6
  CategoryList: ReturnType<typeof createCategoryList>;
6
7
  PostList: ReturnType<typeof createPostList>;
7
- }): ({ topic, categoryUsableFields, postUsableFields, }: {
8
+ }): ({ topic, categoryUsableFields, postUsableFields, categoryHeaderProps, postHeaderProps, }: {
8
9
  topic?: PostFull;
9
10
  categoryUsableFields?: string[];
10
11
  postUsableFields?: string[];
12
+ categoryHeaderProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
13
+ postHeaderProps?: Pick<AccordionHeaderProps, "isRelated" | "children">;
11
14
  }) => import("react/jsx-runtime").JSX.Element;
12
15
  //# sourceMappingURL=topic-relations-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"topic-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/topic/topic-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAM9C,wBAAgB,2BAA2B,CAAC,EAC1C,YAAY,EACZ,QAAQ,GACT,EAAE;IACD,YAAY,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IACpD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACuC,oDAUnC;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,6CA8CF"}
1
+ {"version":3,"file":"topic-relations-section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/topic/topic-relations-section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAM9C,wBAAgB,2BAA2B,CAAC,EAC1C,YAAY,EACZ,QAAQ,GACT,EAAE;IACD,YAAY,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IACpD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CAC7C,IACuC,0FAYnC;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,mBAAmB,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;IAC3E,eAAe,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;CACxE,6CA+CF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.178",
3
+ "version": "0.0.179",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",