@yimingliao/cms 0.0.223 → 0.0.226
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/dist/export/client/components/index.js +1 -0
- package/dist/export/client/components/resources/index.js +6 -0
- package/dist/export/client/index.js +1 -0
- package/dist/src/client/applications/resources/seo-metadata/seo-metadata-empty-translation.js +52 -0
- package/dist/src/client/applications/resources/seo-metadata/use-upsert-form-data.js +43 -0
- package/dist/src/client/interfaces/components/resources/admin/admin-refresh-tokens/active-sessions-badge.js +1 -0
- package/dist/src/client/interfaces/components/resources/admin/admin-refresh-tokens/active-spot.js +1 -0
- package/dist/src/client/interfaces/components/resources/admin/admin-refresh-tokens/admin-refresh-token-card.js +1 -1
- package/dist/src/client/interfaces/components/resources/file/file-relations-section.js +1 -1
- package/dist/src/client/interfaces/components/resources/file/is-locked-buttons.js +1 -1
- package/dist/src/client/interfaces/components/resources/file/type-buttons.js +1 -1
- package/dist/src/client/interfaces/components/resources/folder/file-manager/file-manager-header.js +1 -1
- package/dist/src/client/interfaces/components/resources/folder/folder-card.js +1 -1
- package/dist/src/client/interfaces/components/resources/folder/folder-full-path.js +1 -0
- package/dist/src/client/interfaces/components/resources/inquiry/inquiry-card.js +1 -1
- package/dist/src/client/interfaces/components/resources/post/control-fields-buttons.js +1 -1
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/basic-tags.js +190 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/json-ld-tags.js +78 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/open-graph-tags.js +444 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/twitter-tags.js +126 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/reference-card.js +82 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form-side-fields.js +56 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.js +150 -0
- package/dist/src/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.js +66 -0
- package/dist/src/client/interfaces/components/shadcn/avatar.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/badge.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/button.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/card.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/dialog.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/dropdown-menu.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/input-group.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/input.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/item.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/label.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/pagination.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/select.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/separator.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/sheet.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/sidebar.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/skeleton.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/spinner.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/table.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/tabs.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/textarea.js +1 -0
- package/dist/src/client/interfaces/components/shadcn/tooltip.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/list-cards-container/list-cards-container.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/list-cards-container/page-size-selector.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/list-cards-container/pagination.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/page-header/page-header-title.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/page-header/page-header.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/batch-create.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/create.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/edit.js +1 -0
- package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/show.js +1 -0
- package/dist/src/client/interfaces/components/ui/buttons/button.js +1 -0
- package/dist/src/client/interfaces/components/ui/buttons/return-button.js +1 -0
- package/dist/src/client/interfaces/components/ui/cards/action-buttons-card.js +1 -0
- package/dist/src/client/interfaces/components/ui/cards/feature-card.js +1 -0
- package/dist/src/client/interfaces/components/ui/cards/resource-card/card-status-bar.js +1 -1
- package/dist/src/client/interfaces/components/ui/cards/resource-card/card-text-content.js +1 -0
- package/dist/src/client/interfaces/components/ui/cards/resource-card/resource-card.js +1 -0
- package/dist/src/client/interfaces/components/ui/display/array-list.js +1 -1
- package/dist/src/client/interfaces/components/ui/display/badge.js +1 -0
- package/dist/src/client/interfaces/components/ui/display/html-display.js +1 -0
- package/dist/src/client/interfaces/components/ui/display/object-array-list.js +1 -1
- package/dist/src/client/interfaces/components/ui/features/accordion/accordion-container.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/accordion/accordion-header.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/accordion/accordion.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/expandable-list/expand-bar.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/expandable-list/expandable-list-content.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/expandable-list/expandable-list.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/external-link.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/file/file-info/file-name.js +1 -1
- package/dist/src/client/interfaces/components/ui/features/file/file-picker/file-picker-container.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/file/file-picker/file-picker-placeholder.js +1 -1
- package/dist/src/client/interfaces/components/ui/features/file/file-preview/file-preview-list.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/file/file-preview/file-preview-meta.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/pick-modal/pick-modal-body.js +1 -1
- package/dist/src/client/interfaces/components/ui/features/pick-modal/pick-modal-trigger.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/pick-modal/pick-modal.js +1 -0
- package/dist/src/client/interfaces/components/ui/features/tick.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/containers/fields-container.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/containers/main-fields.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/containers/side-fields.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/control-fields/control-fields.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/field-body.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/field.js +1 -0
- package/dist/src/client/interfaces/components/ui/form/form.js +1 -0
- package/dist/src/client/interfaces/components/ui/i18n/i18n-tabs-wrapper.js +1 -0
- package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-editor.js +1 -1
- package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/array-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/checkbox.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/editor/editor.js +1 -1
- package/dist/src/client/interfaces/components/ui/inputs/input.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/password-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/search-input.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/select.js +1 -0
- package/dist/src/client/interfaces/components/ui/inputs/textarea.js +1 -0
- package/dist/src/client/interfaces/components/ui/layouts/auth-skeleton.js +1 -0
- package/dist/src/client/interfaces/components/ui/layouts/content-container.js +1 -0
- package/dist/src/client/interfaces/components/ui/layouts/dashboard-skeleton.js +1 -0
- package/dist/src/client/interfaces/components/ui/layouts/navbar/i18n-selector.js +1 -0
- package/dist/src/client/interfaces/components/ui/layouts/navbar/sign-out-button.js +1 -1
- package/dist/src/client/interfaces/components/ui/layouts/navbar/theme-selector.js +1 -0
- package/dist/src/client/interfaces/components/ui/layouts/sidebar/nav-main.js +1 -0
- package/dist/src/client/interfaces/pages/auth/change-password/page.js +1 -1
- package/dist/src/client/interfaces/pages/auth/email-unverified/page.js +1 -1
- package/dist/src/client/interfaces/pages/auth/forgot-password/page.js +1 -1
- package/dist/src/client/interfaces/pages/auth/reset-password/page.js +1 -1
- package/dist/src/client/interfaces/pages/auth/sign-in/page.js +1 -1
- package/dist/src/client/interfaces/pages/auth/verify-email/page.js +1 -0
- package/dist/types/export/client/components/resources/index.d.ts +1 -1
- package/dist/types/export/client/components/resources/index.d.ts.map +1 -1
- package/dist/types/export/client/index.d.ts +1 -1
- package/dist/types/export/client/index.d.ts.map +1 -1
- package/dist/types/src/client/applications/index.d.ts +1 -0
- package/dist/types/src/client/applications/index.d.ts.map +1 -1
- package/dist/types/src/client/applications/resources/index.d.ts +2 -0
- package/dist/types/src/client/applications/resources/index.d.ts.map +1 -0
- package/dist/types/src/client/applications/resources/seo-metadata/index.d.ts +2 -0
- package/dist/types/src/client/applications/resources/seo-metadata/index.d.ts.map +1 -0
- package/dist/types/src/client/applications/resources/seo-metadata/seo-metadata-empty-translation.d.ts +34 -0
- package/dist/types/src/client/applications/resources/seo-metadata/seo-metadata-empty-translation.d.ts.map +1 -0
- package/dist/types/src/client/applications/resources/seo-metadata/use-upsert-form-data.d.ts +82 -0
- package/dist/types/src/client/applications/resources/seo-metadata/use-upsert-form-data.d.ts.map +1 -0
- package/dist/types/src/client/index.d.ts +1 -1
- package/dist/types/src/client/index.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/resources/index.d.ts +1 -0
- package/dist/types/src/client/interfaces/components/resources/index.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/index.d.ts +3 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/index.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/basic-tags.d.ts +10 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/basic-tags.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/index.d.ts +6 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/index.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/json-ld-tags.d.ts +9 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/json-ld-tags.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/open-graph-tags.d.ts +10 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/open-graph-tags.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/seo-fields-context.d.ts +19 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/seo-fields-context.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/twitter-tags.d.ts +10 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/fields/twitter-tags.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/index.d.ts +3 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/index.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/reference-card.d.ts +2 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/reference-card.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form-side-fields.d.ts +8 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form-side-fields.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.d.ts +25 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/types.d.ts +2 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/types.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.d.ts +7 -0
- package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.d.ts.map +1 -0
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.d.ts +1 -2
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.d.ts +1 -2
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-input.d.ts +1 -2
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-input.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.d.ts +2 -3
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.d.ts +1 -2
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.d.ts +1 -2
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.d.ts.map +1 -1
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.d.ts +1 -2
- package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/client/applications/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/applications/resources/seo-metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { createBuildTranslations } from "../../../../shared";
|
|
2
|
+
import type { Alternate } from "@yimingliao/cms";
|
|
3
|
+
export declare const SEO_METADATA_EMPTY_TRANSLATIONS: (buildTranslations: ReturnType<typeof createBuildTranslations>) => ({
|
|
4
|
+
locale: string;
|
|
5
|
+
} & {
|
|
6
|
+
title: null;
|
|
7
|
+
description: null;
|
|
8
|
+
author: null;
|
|
9
|
+
canonical: null;
|
|
10
|
+
alternate: Alternate[];
|
|
11
|
+
robots: null;
|
|
12
|
+
ogTitle: null;
|
|
13
|
+
ogDescription: null;
|
|
14
|
+
ogUrl: null;
|
|
15
|
+
ogType: null;
|
|
16
|
+
ogSiteName: null;
|
|
17
|
+
ogImage: null;
|
|
18
|
+
ogImageAlt: null;
|
|
19
|
+
ogImageType: null;
|
|
20
|
+
ogImageWidth: 0;
|
|
21
|
+
ogImageHeight: 0;
|
|
22
|
+
ogLocale: null;
|
|
23
|
+
ogLocaleAlternate: [];
|
|
24
|
+
ogArticlePublishedTime: null;
|
|
25
|
+
ogArticleModifiedTime: null;
|
|
26
|
+
ogArticleAuthor: null;
|
|
27
|
+
ogArticleSection: null;
|
|
28
|
+
ogArticleTag: [];
|
|
29
|
+
twitterCard: null;
|
|
30
|
+
twitterSite: null;
|
|
31
|
+
twitterCreator: null;
|
|
32
|
+
jsonLd: [];
|
|
33
|
+
})[];
|
|
34
|
+
//# sourceMappingURL=seo-metadata-empty-translation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seo-metadata-empty-translation.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/applications/resources/seo-metadata/seo-metadata-empty-translation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,eAAO,MAAM,+BAA+B,GAC1C,mBAAmB,UAAU,CAAC,OAAO,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+DlD,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { PostFull } from "../../../../domain/resources/post/full";
|
|
2
|
+
import { type createBuildTranslations } from "../../../../shared";
|
|
3
|
+
export declare function createUseSeoMetadataUpsertFormData({ buildTranslations, }: {
|
|
4
|
+
buildTranslations: ReturnType<typeof createBuildTranslations>;
|
|
5
|
+
}): ({ id, post, }: {
|
|
6
|
+
id: string;
|
|
7
|
+
post: PostFull | undefined;
|
|
8
|
+
}) => {
|
|
9
|
+
formData: {
|
|
10
|
+
postId: string;
|
|
11
|
+
translations: {
|
|
12
|
+
locale: string;
|
|
13
|
+
title: string | null;
|
|
14
|
+
description: string | null;
|
|
15
|
+
author: string | null;
|
|
16
|
+
canonical: string | null;
|
|
17
|
+
alternate: {
|
|
18
|
+
hreflang: string;
|
|
19
|
+
href: string;
|
|
20
|
+
}[];
|
|
21
|
+
robots: string | null;
|
|
22
|
+
ogTitle: string | null;
|
|
23
|
+
ogDescription: string | null;
|
|
24
|
+
ogUrl: string | null;
|
|
25
|
+
ogType: "article" | "book" | "music.song" | "music.album" | "music.playlist" | "music.radio_station" | "profile" | "website" | "video.tv_show" | "video.other" | "video.movie" | "video.episode" | null;
|
|
26
|
+
ogSiteName: string | null;
|
|
27
|
+
ogImage: string | null;
|
|
28
|
+
ogImageAlt: string | null;
|
|
29
|
+
ogImageType: string | null;
|
|
30
|
+
ogImageWidth: number | null;
|
|
31
|
+
ogImageHeight: number | null;
|
|
32
|
+
ogLocale: string | null;
|
|
33
|
+
ogLocaleAlternate: string[];
|
|
34
|
+
ogArticlePublishedTime: string | null;
|
|
35
|
+
ogArticleModifiedTime: string | null;
|
|
36
|
+
ogArticleAuthor: string | null;
|
|
37
|
+
ogArticleSection: string | null;
|
|
38
|
+
ogArticleTag: string[];
|
|
39
|
+
twitterCard: "summary" | "summary_large_image" | "player" | "app" | null;
|
|
40
|
+
twitterSite: string | null;
|
|
41
|
+
twitterCreator: string | null;
|
|
42
|
+
jsonLd: any[];
|
|
43
|
+
}[];
|
|
44
|
+
};
|
|
45
|
+
setFormData: import("react").Dispatch<import("react").SetStateAction<{
|
|
46
|
+
postId: string;
|
|
47
|
+
translations: {
|
|
48
|
+
locale: string;
|
|
49
|
+
title: string | null;
|
|
50
|
+
description: string | null;
|
|
51
|
+
author: string | null;
|
|
52
|
+
canonical: string | null;
|
|
53
|
+
alternate: {
|
|
54
|
+
hreflang: string;
|
|
55
|
+
href: string;
|
|
56
|
+
}[];
|
|
57
|
+
robots: string | null;
|
|
58
|
+
ogTitle: string | null;
|
|
59
|
+
ogDescription: string | null;
|
|
60
|
+
ogUrl: string | null;
|
|
61
|
+
ogType: "article" | "book" | "music.song" | "music.album" | "music.playlist" | "music.radio_station" | "profile" | "website" | "video.tv_show" | "video.other" | "video.movie" | "video.episode" | null;
|
|
62
|
+
ogSiteName: string | null;
|
|
63
|
+
ogImage: string | null;
|
|
64
|
+
ogImageAlt: string | null;
|
|
65
|
+
ogImageType: string | null;
|
|
66
|
+
ogImageWidth: number | null;
|
|
67
|
+
ogImageHeight: number | null;
|
|
68
|
+
ogLocale: string | null;
|
|
69
|
+
ogLocaleAlternate: string[];
|
|
70
|
+
ogArticlePublishedTime: string | null;
|
|
71
|
+
ogArticleModifiedTime: string | null;
|
|
72
|
+
ogArticleAuthor: string | null;
|
|
73
|
+
ogArticleSection: string | null;
|
|
74
|
+
ogArticleTag: string[];
|
|
75
|
+
twitterCard: "summary" | "summary_large_image" | "player" | "app" | null;
|
|
76
|
+
twitterSite: string | null;
|
|
77
|
+
twitterCreator: string | null;
|
|
78
|
+
jsonLd: any[];
|
|
79
|
+
}[];
|
|
80
|
+
}>>;
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=use-upsert-form-data.d.ts.map
|
package/dist/types/src/client/applications/resources/seo-metadata/use-upsert-form-data.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-upsert-form-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/applications/resources/seo-metadata/use-upsert-form-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGvE,OAAO,EAIL,KAAK,uBAAuB,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,wBAAgB,kCAAkC,CAAC,EACjD,iBAAiB,GAClB,EAAE;IACD,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;CAC/D,IAC8C,eAG1C;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { AdminProvider, useAdmin, ThemeProvider, createSmartFetch, createRequestInterceptor, createResponseInterceptor, createFileUploadApi, createMultiFilesUploadApi, createUseCommand, createUseQuery, handleToast, type ShowToastOption, } from "./infrastructure";
|
|
2
2
|
export { NAVBAR_HEIGHT, SIDEBAR_WIDTH, PAGE_HEADER_HEIGHT, } from "./interfaces";
|
|
3
|
-
export {
|
|
3
|
+
export { getControlMeta, usePickItems, getImgIdsFromHtmls, createProcessContentHtml, createUseSeoMetadataUpsertFormData, cn, isConfirm, buildPagination, } from "./applications";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,aAAa,EACb,QAAQ,EACR,aAAa,EAEb,gBAAgB,EAChB,wBAAwB,EACxB,yBAAyB,EAEzB,mBAAmB,EACnB,yBAAyB,EAEzB,gBAAgB,EAChB,cAAc,EAEd,WAAW,EACX,KAAK,eAAe,GACrB,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EAEL,aAAa,EACb,aAAa,EACb,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAKtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,aAAa,EACb,QAAQ,EACR,aAAa,EAEb,gBAAgB,EAChB,wBAAwB,EACxB,yBAAyB,EAEzB,mBAAmB,EACnB,yBAAyB,EAEzB,gBAAgB,EAChB,cAAc,EAEd,WAAW,EACX,KAAK,eAAe,GACrB,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EAEL,aAAa,EACb,aAAa,EACb,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAKtB,OAAO,EAEL,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,wBAAwB,EAExB,kCAAkC,EAElC,EAAE,EAEF,SAAS,EACT,eAAe,GAChB,MAAM,gBAAgB,CAAC"}
|
|
@@ -5,5 +5,6 @@ export { createPostCard, createPostList, createPostRelationsSection, PostTypeGat
|
|
|
5
5
|
export { CategoryCard, createCategoryList, createCategoryRelationsSection, } from "./category";
|
|
6
6
|
export { TopicCard, createTopicList } from "./topic";
|
|
7
7
|
export { TagCard, createTagList, createTagRelationsSection } from "./tag";
|
|
8
|
+
export { createSeoMetadataDialog, createSeoForm, createBasicTags, createOpenGraphTags, createTwitterTags, createJsonLdTags, type SeoFieldsContext, } from "./seo-metadata";
|
|
8
9
|
export { InquiryCard, createInquiryList } from "./inquiry";
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/interfaces/components/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,cAAc,EACd,cAAc,EACd,0BAA0B,GAC3B,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,cAAc,EACd,cAAc,EACd,0BAA0B,EAC1B,YAAY,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/interfaces/components/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,cAAc,EACd,cAAc,EACd,0BAA0B,GAC3B,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,cAAc,EACd,cAAc,EACd,0BAA0B,EAC1B,YAAY,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/seo-metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SeoFieldsContext } from "./seo-fields-context";
|
|
2
|
+
import type { SeoMetadataUpsertFormData } from "../../../../../../../server";
|
|
3
|
+
import type { FormFieldController } from "../../../../../../../shared";
|
|
4
|
+
import type { SeoField } from "../types";
|
|
5
|
+
export declare function createBasicTags({ I18nInput, I18nTextarea, I18nObjectArrayInput, }: SeoFieldsContext): ({ formData, setFormData, errors, isArticle, allowField, }: FormFieldController<SeoMetadataUpsertFormData> & {
|
|
6
|
+
errors: string[];
|
|
7
|
+
isArticle: boolean;
|
|
8
|
+
allowField: (field: SeoField) => boolean;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
10
|
+
//# sourceMappingURL=basic-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-tags.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/fields/basic-tags.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIzC,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,EAAE,gBAAgB,IACS,2DAMvB,mBAAmB,CAAC,yBAAyB,CAAC,GAAG;IAClD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;CAC1C,yDA2IF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createBasicTags } from "./basic-tags";
|
|
2
|
+
export { createOpenGraphTags } from "./open-graph-tags";
|
|
3
|
+
export { createTwitterTags } from "./twitter-tags";
|
|
4
|
+
export { createJsonLdTags } from "./json-ld-tags";
|
|
5
|
+
export type { SeoFieldsContext } from "./seo-fields-context";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/fields/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SeoField } from "../types";
|
|
2
|
+
import type { SeoFieldsContext } from "./seo-fields-context";
|
|
3
|
+
import type { SeoMetadataUpsertFormData } from "../../../../../../../server";
|
|
4
|
+
import type { FormFieldController } from "../../../../../../../shared";
|
|
5
|
+
export declare function createJsonLdTags({ I18nJsonInput }: SeoFieldsContext): ({ formData, setFormData, errors, allowField, }: FormFieldController<SeoMetadataUpsertFormData> & {
|
|
6
|
+
errors: string[];
|
|
7
|
+
allowField: (field: SeoField) => boolean;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
9
|
+
//# sourceMappingURL=json-ld-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-ld-tags.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/fields/json-ld-tags.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,wBAAgB,gBAAgB,CAAC,EAAE,aAAa,EAAE,EAAE,gBAAgB,IACvC,gDAKxB,mBAAmB,CAAC,yBAAyB,CAAC,GAAG;IAClD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;CAC1C,yDAgCF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SeoField } from "../types";
|
|
2
|
+
import type { SeoFieldsContext } from "./seo-fields-context";
|
|
3
|
+
import type { SeoMetadataUpsertFormData } from "../../../../../../../server";
|
|
4
|
+
import type { FormFieldController } from "../../../../../../../shared";
|
|
5
|
+
export declare function createOpenGraphTags({ I18nInput, I18nTextarea, I18nArrayInput, I18nDateInput, I18nNumberInput, }: SeoFieldsContext): ({ formData, setFormData, errors, isArticle, allowField, }: FormFieldController<SeoMetadataUpsertFormData> & {
|
|
6
|
+
errors: string[];
|
|
7
|
+
isArticle: boolean;
|
|
8
|
+
allowField: (field: SeoField) => boolean;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
10
|
+
//# sourceMappingURL=open-graph-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-graph-tags.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/fields/open-graph-tags.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,GAChB,EAAE,gBAAgB,IACa,2DAM3B,mBAAmB,CAAC,yBAAyB,CAAC,GAAG;IAClD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;CAC1C,yDAwXF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SeoMetadataUpsertFormData } from "../../../../../../../server";
|
|
2
|
+
import type { I18nArrayInputProps } from "../../../../ui/i18n/inputs/i18n-array-input";
|
|
3
|
+
import type { I18nDateInputProps } from "../../../../ui/i18n/inputs/i18n-date-input";
|
|
4
|
+
import type { I18nInputProps } from "../../../../ui/i18n/inputs/i18n-input";
|
|
5
|
+
import type { I18nJsonInputProps } from "../../../../ui/i18n/inputs/i18n-json-input";
|
|
6
|
+
import type { I18nNumberInputProps } from "../../../../ui/i18n/inputs/i18n-number-input";
|
|
7
|
+
import type { I18nObjectArrayInputProps } from "../../../../ui/i18n/inputs/i18n-object-array-input";
|
|
8
|
+
import type { I18nTextareaProps } from "../../../../ui/i18n/inputs/i18n-textarea";
|
|
9
|
+
import type { ReactNode } from "react";
|
|
10
|
+
export interface SeoFieldsContext {
|
|
11
|
+
I18nInput: (props: I18nInputProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
12
|
+
I18nTextarea: (props: I18nTextareaProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
13
|
+
I18nArrayInput: (props: I18nArrayInputProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
14
|
+
I18nDateInput: (props: I18nDateInputProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
15
|
+
I18nNumberInput: (props: I18nNumberInputProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
16
|
+
I18nObjectArrayInput: (props: I18nObjectArrayInputProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
17
|
+
I18nJsonInput: (props: I18nJsonInputProps<SeoMetadataUpsertFormData>) => ReactNode;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=seo-fields-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seo-fields-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/fields/seo-fields-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,yBAAyB,CAAC,KAAK,SAAS,CAAC;IAC3E,YAAY,EAAE,CACZ,KAAK,EAAE,iBAAiB,CAAC,yBAAyB,CAAC,KAChD,SAAS,CAAC;IACf,cAAc,EAAE,CACd,KAAK,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,KAClD,SAAS,CAAC;IACf,aAAa,EAAE,CACb,KAAK,EAAE,kBAAkB,CAAC,yBAAyB,CAAC,KACjD,SAAS,CAAC;IACf,eAAe,EAAE,CACf,KAAK,EAAE,oBAAoB,CAAC,yBAAyB,CAAC,KACnD,SAAS,CAAC;IACf,oBAAoB,EAAE,CACpB,KAAK,EAAE,yBAAyB,CAAC,yBAAyB,CAAC,KACxD,SAAS,CAAC;IACf,aAAa,EAAE,CACb,KAAK,EAAE,kBAAkB,CAAC,yBAAyB,CAAC,KACjD,SAAS,CAAC;CAChB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SeoField } from "../types";
|
|
2
|
+
import type { SeoFieldsContext } from "./seo-fields-context";
|
|
3
|
+
import type { SeoMetadataUpsertFormData } from "../../../../../../../server";
|
|
4
|
+
import type { FormFieldController } from "../../../../../../../shared";
|
|
5
|
+
export declare function createTwitterTags({ I18nInput }: SeoFieldsContext): ({ formData, setFormData, errors, isArticle, allowField, }: FormFieldController<SeoMetadataUpsertFormData> & {
|
|
6
|
+
errors: string[];
|
|
7
|
+
isArticle: boolean;
|
|
8
|
+
allowField: (field: SeoField) => boolean;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
10
|
+
//# sourceMappingURL=twitter-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"twitter-tags.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/fields/twitter-tags.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,IACnC,2DAMzB,mBAAmB,CAAC,yBAAyB,CAAC,GAAG;IAClD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;CAC1C,yDA8EF"}
|
package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,gBAAgB,GACtB,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reference-card.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/reference-card.tsx"],"names":[],"mappings":"AAQA,wBAAgB,aAAa,4CAsD5B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
2
|
+
export declare function SeoFormSideFields({ hasCreated, isLoading, isTriggering, setIsOpen, }: {
|
|
3
|
+
hasCreated: boolean;
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
isTriggering: boolean;
|
|
6
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=seo-form-side-fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seo-form-side-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form-side-fields.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKtD,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,SAAS,EACT,YAAY,EACZ,SAAS,GACV,EAAE;IACD,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC9C,2CAeA"}
|
package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { createBasicTags, createJsonLdTags, createOpenGraphTags, createTwitterTags } from "./fields";
|
|
2
|
+
import type { SeoField } from "./types";
|
|
3
|
+
import type { createPostFindFullAction, createSeoMetadataUpsertAction } from "../../../../../../server";
|
|
4
|
+
import type { createUseSeoMetadataUpsertFormData } from "../../../../../applications/resources/seo-metadata";
|
|
5
|
+
import type { createUseCommand, createUseQuery } from "../../../../../infrastructure";
|
|
6
|
+
import { type Dispatch, type SetStateAction } from "react";
|
|
7
|
+
interface SeoFormProps {
|
|
8
|
+
id: string;
|
|
9
|
+
isArticle: boolean;
|
|
10
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
11
|
+
}
|
|
12
|
+
export declare function createSeoForm({ useQuery, useCommand, postFindFullAction, seoMetadataUpsertAction, useSeoMetadataUpsertFormData, BasicTags, OpenGraphTags, TwitterTags, JsonLdTags, allowField, }: {
|
|
13
|
+
useQuery: ReturnType<typeof createUseQuery>;
|
|
14
|
+
useCommand: ReturnType<typeof createUseCommand>;
|
|
15
|
+
postFindFullAction: ReturnType<typeof createPostFindFullAction>;
|
|
16
|
+
seoMetadataUpsertAction: ReturnType<typeof createSeoMetadataUpsertAction>;
|
|
17
|
+
useSeoMetadataUpsertFormData: ReturnType<typeof createUseSeoMetadataUpsertFormData>;
|
|
18
|
+
BasicTags: ReturnType<typeof createBasicTags>;
|
|
19
|
+
OpenGraphTags: ReturnType<typeof createOpenGraphTags>;
|
|
20
|
+
TwitterTags: ReturnType<typeof createTwitterTags>;
|
|
21
|
+
JsonLdTags: ReturnType<typeof createJsonLdTags>;
|
|
22
|
+
allowField: (field: SeoField) => boolean;
|
|
23
|
+
}): ({ id, isArticle, setIsOpen }: SeoFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=seo-form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seo-form.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EACV,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,oDAAoD,CAAC;AAC7G,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAa,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAMtE,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC9C;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5B,SAAS,EACT,aAAa,EACb,WAAW,EACX,UAAU,EACV,UAAU,GACX,EAAE;IACD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAChD,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,uBAAuB,EAAE,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC;IAC1E,4BAA4B,EAAE,UAAU,CACtC,OAAO,kCAAkC,CAC1C,CAAC;IACF,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC9C,aAAa,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IACtD,WAAW,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAClD,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAChD,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;CAC1C,IACyB,8BAA8B,YAAY,6CAmHnE"}
|
package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/types.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type SeoField = "basic:all" | "title" | "description" | "author" | "canonical" | "alternate" | "robots" | "og:all" | "ogTitle" | "ogDescription" | "ogUrl" | "ogType" | "ogSiteName" | "ogImage" | "ogImageAlt" | "ogImageType" | "ogImageWidth" | "ogImageHeight" | "ogLocale" | "ogLocaleAlternate" | "ogArticlePublishedTime" | "ogArticleModifiedTime" | "ogArticleAuthor" | "ogArticleSection" | "ogArticleTag" | "twitter:all" | "twitterCard" | "twitterSite" | "twitterCreator" | "json-ld";
|
|
2
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-form/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-form/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAEhB,WAAW,GACX,OAAO,GACP,aAAa,GACb,QAAQ,GACR,WAAW,GACX,WAAW,GACX,QAAQ,GAGR,QAAQ,GACR,SAAS,GACT,eAAe,GACf,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,YAAY,GACZ,aAAa,GACb,cAAc,GACd,eAAe,GACf,UAAU,GACV,mBAAmB,GACnB,wBAAwB,GACxB,uBAAuB,GACvB,iBAAiB,GACjB,kBAAkB,GAClB,cAAc,GAGd,aAAa,GACb,aAAa,GACb,aAAa,GACb,gBAAgB,GAGhB,SAAS,CAAC"}
|
package/dist/types/src/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { createSeoForm } from "./seo-form";
|
|
2
|
+
import type { FormFieldController } from "../../../../../shared";
|
|
3
|
+
export declare function createSeoMetadataDialog(SeoForm: ReturnType<typeof createSeoForm>): ({ id, isArticle, isLoading, isDisabled, }: FormFieldController & {
|
|
4
|
+
id?: string;
|
|
5
|
+
isArticle?: boolean;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=seo-metadata-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seo-metadata-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAWjE,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,IAEP,2CAM/B,mBAAmB,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,6CA8B9D"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { FormData, FormFieldController } from "../../../../../../shared";
|
|
2
2
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
3
3
|
import { type ComponentProps } from "react";
|
|
4
|
-
interface I18nArrayInputProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
|
|
4
|
+
export interface I18nArrayInputProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
|
|
5
5
|
isResizable?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare function createI18nArrayInput({ I18nTabsWrapper, locales, }: {
|
|
8
8
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
9
9
|
locales: string[];
|
|
10
10
|
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, isResizable, errors, ...props }: I18nArrayInputProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
12
11
|
//# sourceMappingURL=i18n-array-input.d.ts.map
|
package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-array-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,
|
|
1
|
+
{"version":3,"file":"i18n-array-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,QAAQ,CACrD,SAAQ,cAAc,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACgC,CAAC,SAAS,QAAQ,EAAE,gGAShD,mBAAmB,CAAC,CAAC,CAAC,6CA6I1B"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
2
2
|
import { type InputHTMLAttributes } from "react";
|
|
3
3
|
import { type FormData, type FormFieldController } from "../../../../../../shared";
|
|
4
|
-
interface I18nDateInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
|
|
4
|
+
export interface I18nDateInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
|
|
5
5
|
}
|
|
6
6
|
export declare function createI18nDateInput({ I18nTabsWrapper, locales, }: {
|
|
7
7
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
8
8
|
locales: string[];
|
|
9
9
|
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nDateInputProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=i18n-date-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-date-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAMlC,
|
|
1
|
+
{"version":3,"file":"i18n-date-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAMlC,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,QAAQ,CACpD,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE1E,wBAAgB,mBAAmB,CAAC,EAClC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC+B,CAAC,SAAS,QAAQ,EAAE,mFAQ/C,kBAAkB,CAAC,CAAC,CAAC,6CAmDzB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { FormData, FormFieldController } from "../../../../../../shared";
|
|
2
2
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
3
3
|
import { type InputHTMLAttributes } from "react";
|
|
4
|
-
interface I18nInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
|
|
4
|
+
export interface I18nInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
|
|
5
5
|
}
|
|
6
6
|
export declare function createI18nInput({ I18nTabsWrapper, locales, }: {
|
|
7
7
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
8
8
|
locales: string[];
|
|
9
9
|
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nInputProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=i18n-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAM3D,
|
|
1
|
+
{"version":3,"file":"i18n-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAM3D,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,QAAQ,CAChD,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE1E,wBAAgB,eAAe,CAAC,EAC9B,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC2B,CAAC,SAAS,QAAQ,EAAE,mFAQ3C,cAAc,CAAC,CAAC,CAAC,6CAmDrB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
2
2
|
import { type ComponentProps } from "react";
|
|
3
3
|
import { type FormData, type FormFieldController } from "../../../../../../shared";
|
|
4
|
-
interface
|
|
4
|
+
export interface I18nJsonInputProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
|
|
5
5
|
}
|
|
6
6
|
export declare function createI18nJsonInput({ I18nTabsWrapper, locales, }: {
|
|
7
7
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
8
8
|
locales: string[];
|
|
9
|
-
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, ...props }:
|
|
10
|
-
export {};
|
|
9
|
+
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, ...props }: I18nJsonInputProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
//# sourceMappingURL=i18n-json-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-json-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAKlC,
|
|
1
|
+
{"version":3,"file":"i18n-json-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAKlC,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,QAAQ,CACpD,SAAQ,cAAc,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE/D,wBAAgB,mBAAmB,CAAC,EAClC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC+B,CAAC,SAAS,QAAQ,EAAE,2EAO/C,kBAAkB,CAAC,CAAC,CAAC,6CA+FzB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { FormData, FormFieldController } from "../../../../../../shared";
|
|
2
2
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
3
3
|
import { type InputHTMLAttributes } from "react";
|
|
4
|
-
interface I18nNumberInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
|
|
4
|
+
export interface I18nNumberInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
|
|
5
5
|
}
|
|
6
6
|
export declare function createI18nNumberInput({ I18nTabsWrapper, locales, }: {
|
|
7
7
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
8
8
|
locales: string[];
|
|
9
9
|
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nNumberInputProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=i18n-number-input.d.ts.map
|
package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-number-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAM3D,
|
|
1
|
+
{"version":3,"file":"i18n-number-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAM3D,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,QAAQ,CACtD,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE1E,wBAAgB,qBAAqB,CAAC,EACpC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACiC,CAAC,SAAS,QAAQ,EAAE,mFAQjD,oBAAoB,CAAC,CAAC,CAAC,6CAoD3B"}
|
package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FormData, FormFieldController } from "../../../../../../shared";
|
|
2
2
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
3
|
-
interface I18nObjectArrayInputProps<T extends FormData> extends FormFieldController<T> {
|
|
3
|
+
export interface I18nObjectArrayInputProps<T extends FormData> extends FormFieldController<T> {
|
|
4
4
|
fields: {
|
|
5
5
|
key: string;
|
|
6
6
|
placeholder?: string;
|
|
@@ -11,5 +11,4 @@ export declare function createI18nObjectArrayInput({ I18nTabsWrapper, locales, }
|
|
|
11
11
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
12
12
|
locales: string[];
|
|
13
13
|
}): <T extends FormData>({ translations, fields, fieldName, setFormData, isResizable, errors, }: I18nObjectArrayInputProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
14
|
//# sourceMappingURL=i18n-object-array-input.d.ts.map
|
package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-object-array-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAWlE,
|
|
1
|
+
{"version":3,"file":"i18n-object-array-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAWlE,MAAM,WAAW,yBAAyB,CACxC,CAAC,SAAS,QAAQ,CAClB,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,0BAA0B,CAAC,EACzC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACsC,CAAC,SAAS,QAAQ,EAAE,wEAOtD,yBAAyB,CAAC,CAAC,CAAC,6CAmJhC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { FormData, FormFieldController } from "../../../../../../shared";
|
|
2
2
|
import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
|
|
3
3
|
import { type ComponentProps } from "react";
|
|
4
|
-
interface I18nTextareaProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
|
|
4
|
+
export interface I18nTextareaProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
|
|
5
5
|
}
|
|
6
6
|
export declare function createI18nTextarea({ I18nTabsWrapper, locales, }: {
|
|
7
7
|
I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
|
|
8
8
|
locales: string[];
|
|
9
9
|
}): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nTextareaProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=i18n-textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-textarea.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAMtD,
|
|
1
|
+
{"version":3,"file":"i18n-textarea.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAMtD,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,QAAQ,CACnD,SAAQ,cAAc,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE/D,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC8B,CAAC,SAAS,QAAQ,EAAE,mFAQ9C,iBAAiB,CAAC,CAAC,CAAC,6CAmDxB"}
|