rotion 0.0.1 → 0.0.3
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/exporter/api.d.ts +15 -0
- package/dist/exporter/api.js +56 -0
- package/dist/exporter/api.js.map +1 -0
- package/dist/exporter/blocks.d.ts +13 -0
- package/dist/exporter/blocks.js +210 -0
- package/dist/exporter/blocks.js.map +1 -0
- package/dist/exporter/breadcrumbs.d.ts +12 -0
- package/dist/exporter/breadcrumbs.js +110 -0
- package/dist/exporter/breadcrumbs.js.map +1 -0
- package/dist/exporter/database.d.ts +10 -0
- package/dist/exporter/database.js +92 -0
- package/dist/exporter/database.js.map +1 -0
- package/dist/exporter/files.d.ts +1 -0
- package/dist/exporter/files.js +4 -12
- package/dist/exporter/files.js.map +1 -1
- package/dist/exporter/index.d.ts +3 -1
- package/dist/exporter/index.js +3 -1
- package/dist/exporter/index.js.map +1 -1
- package/dist/exporter/page.d.ts +13 -0
- package/dist/exporter/page.js +74 -0
- package/dist/exporter/page.js.map +1 -0
- package/dist/exporter/types.d.ts +27 -17
- package/dist/exporter/variables.d.ts +16 -0
- package/dist/exporter/variables.js +18 -0
- package/dist/exporter/variables.js.map +1 -0
- package/dist/ui/cjs/index.js +53 -34
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/exporter/api.d.ts +15 -0
- package/dist/ui/cjs/types/exporter/blocks.d.ts +13 -0
- package/dist/ui/cjs/types/exporter/database.d.ts +10 -0
- package/dist/ui/cjs/types/exporter/files.d.ts +1 -0
- package/dist/ui/cjs/types/exporter/index.d.ts +3 -1
- package/dist/ui/cjs/types/exporter/page.d.ts +13 -0
- package/dist/ui/cjs/types/exporter/types.d.ts +27 -17
- package/dist/ui/cjs/types/exporter/variables.d.ts +16 -0
- package/dist/ui/cjs/types/ui/components/Page/PageIcon/PageIcon.d.ts +1 -1
- package/dist/ui/{esm/types/ui/components/Page/TextBlock → cjs/types/ui/components/Page}/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/index.d.ts +2 -0
- package/dist/ui/{esm/types/ui/components/Page/TextBlock → cjs/types/ui/components/Page}/RichText/Mention/Mention.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.types.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/TemplateMention/index.d.ts +2 -0
- package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/RichText.types.d.ts +1 -1
- package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Text/Text.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/index.d.ts +1 -1
- package/dist/ui/esm/index.js +53 -34
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/exporter/api.d.ts +15 -0
- package/dist/ui/esm/types/exporter/blocks.d.ts +13 -0
- package/dist/ui/esm/types/exporter/database.d.ts +10 -0
- package/dist/ui/esm/types/exporter/files.d.ts +1 -0
- package/dist/ui/esm/types/exporter/index.d.ts +3 -1
- package/dist/ui/esm/types/exporter/page.d.ts +13 -0
- package/dist/ui/esm/types/exporter/types.d.ts +27 -17
- package/dist/ui/esm/types/exporter/variables.d.ts +16 -0
- package/dist/ui/esm/types/ui/components/Page/PageIcon/PageIcon.d.ts +1 -1
- package/dist/ui/{umd/types/ui/components/Page/TextBlock → esm/types/ui/components/Page}/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/index.d.ts +2 -0
- package/dist/ui/{umd/types/ui/components/Page/TextBlock → esm/types/ui/components/Page}/RichText/Mention/Mention.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.types.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/TemplateMention/index.d.ts +2 -0
- package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/RichText.types.d.ts +1 -1
- package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Text/Text.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/index.d.ts +1 -1
- package/dist/ui/types.d.ts +8 -11
- package/dist/ui/umd/index.js +53 -34
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/exporter/api.d.ts +15 -0
- package/dist/ui/umd/types/exporter/blocks.d.ts +13 -0
- package/dist/ui/umd/types/exporter/database.d.ts +10 -0
- package/dist/ui/umd/types/exporter/files.d.ts +1 -0
- package/dist/ui/umd/types/exporter/index.d.ts +3 -1
- package/dist/ui/umd/types/exporter/page.d.ts +13 -0
- package/dist/ui/umd/types/exporter/types.d.ts +27 -17
- package/dist/ui/umd/types/exporter/variables.d.ts +16 -0
- package/dist/ui/umd/types/ui/components/Page/PageIcon/PageIcon.d.ts +1 -1
- package/dist/ui/{cjs/types/ui/components/Page/TextBlock → umd/types/ui/components/Page}/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/index.d.ts +2 -0
- package/dist/ui/{cjs/types/ui/components/Page/TextBlock → umd/types/ui/components/Page}/RichText/Mention/Mention.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.types.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/TemplateMention/index.d.ts +2 -0
- package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/RichText.types.d.ts +1 -1
- package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Text/Text.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/index.d.ts +1 -1
- package/package.json +2 -4
- package/dist/exporter/notion.d.ts +0 -18
- package/dist/exporter/notion.js +0 -400
- package/dist/exporter/notion.js.map +0 -1
- package/dist/exporter.backup/files.d.ts +0 -23
- package/dist/exporter.backup/files.js +0 -329
- package/dist/exporter.backup/files.js.map +0 -1
- package/dist/exporter.backup/index.d.ts +0 -2
- package/dist/exporter.backup/index.js +0 -3
- package/dist/exporter.backup/index.js.map +0 -1
- package/dist/exporter.backup/notion.d.ts +0 -18
- package/dist/exporter.backup/notion.js +0 -400
- package/dist/exporter.backup/notion.js.map +0 -1
- package/dist/exporter.backup/types.d.ts +0 -496
- package/dist/exporter.backup/types.js +0 -2
- package/dist/exporter.backup/types.js.map +0 -1
- package/dist/files.d.ts +0 -23
- package/dist/index.d.ts +0 -2
- package/dist/notion.d.ts +0 -18
- package/dist/types.d.ts +0 -496
- package/dist/ui/cjs/types/exporter/notion.d.ts +0 -18
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Annotation/Annotation.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Annotation/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Equation/Equation.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Equation/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -5
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +0 -12
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/Mention.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.types.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/RichText.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/RichText.types.d.ts +0 -7
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Text/Text.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Text/Text.types.d.ts +0 -6
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Text/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/index.d.ts +0 -2
- package/dist/ui/esm/types/exporter/notion.d.ts +0 -18
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Annotation/Annotation.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Annotation/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Equation/Equation.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Equation/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -5
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +0 -12
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/Mention.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.types.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/RichText.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/RichText.types.d.ts +0 -7
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Text/Text.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Text/Text.types.d.ts +0 -6
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Text/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/index.d.ts +0 -2
- package/dist/ui/umd/types/exporter/notion.d.ts +0 -18
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Annotation/Annotation.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Annotation/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Equation/Equation.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Equation/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -5
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +0 -12
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/Mention.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.types.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/RichText.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/RichText.types.d.ts +0 -7
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Text/Text.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Text/Text.types.d.ts +0 -6
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Text/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/index.d.ts +0 -2
- package/dist/ui.backup/cjs/index.js +0 -2
- package/dist/ui.backup/cjs/index.js.map +0 -1
- package/dist/ui.backup/cjs/types/components/Gallery/Gallery.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/Gallery.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryCard.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryCard.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryHandler.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -5
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryDateField/DateField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryDateField/GalleryDateField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryDateField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryNumberField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryRichTextField/RichTextField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryTitleField/GalleryTitleField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryTitleField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryUrlField/GalleryUrlField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryUrlField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/List.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/List.types.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/List/ListCheckboxField/ListCheckboxField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/List/ListCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListDateField/ListDateField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListDateField/ListDateField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListDateField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListHandler.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListHandler.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/List/ListMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListNumberField/ListNumberField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListNumberField/ListNumberField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListNumberField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListRichTextField/ListRichTextField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListRichTextField/ListRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListTitleField/ListTitleField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListTitleField/ListTitleField.types.d.ts +0 -11
- package/dist/ui.backup/cjs/types/components/List/ListTitleField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListUrlField/ListUrlField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListUrlField/ListUrlField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/List/ListUrlField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/BookmarkBlock/BookmarkBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BookmarkBlock/BookmarkBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BookmarkBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BreadcrumbBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/CalloutBlock/CalloutBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CalloutBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Page/ChildDatabaseBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ChildPageBlock/ChildPageBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Page/ChildPageBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/Code/Code.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/Code/Code.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/Code/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/CodeBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ColumnListBlock/ColumnListBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Page/ColumnListBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/EmbedBlock/EmbedBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EmbedBlock/EmbedBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EmbedBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/EquationBlock/EquationBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EquationBlock/EquationBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EquationBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/FileBlock/FileBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/FileBlock/FileBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/FileBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ImageBlock/ImageBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ImageBlock/ImageBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ImageBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/LinkPreviewBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ListBlock/ListBlock.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Page/NumberedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/Page.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/Page.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Page/PageHandler.d.ts +0 -15
- package/dist/ui.backup/cjs/types/components/Page/PageHandler.types.d.ts +0 -11
- package/dist/ui.backup/cjs/types/components/Page/PageIcon/PageIcon.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/PageIcon/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/PdfBlock/PdfBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/PdfBlock/PdfBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/PdfBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/SyncedBlock/SyncedBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/SyncedBlock/SyncedBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/SyncedBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TableBlock/TableBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TableBlock/TableBlock.types.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/Page/TableBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TableOfContentsBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/RichText/Equation/Equation.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/RichText/Mention/Mention.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/TextBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/TextBlock.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ToDoBlock/ToDoBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToDoBlock/ToDoBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToDoBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ToggleBlock/ToggleBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToggleBlock/ToggleBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToggleBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/VideoBlock/VideoBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/VideoBlock/VideoBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/VideoBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/Table.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/Table.types.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/Table/TableCheckboxField/TableCheckboxField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Table/TableCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableDateField/TableDateField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableDateField/TableDateField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableDateField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableHandler.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableHandler.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/Table/TableIcon/TableIcon.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableIcon/TableIcon.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Table/TableIcon/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Table/TableMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableNumberField/TableNumberField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableNumberField/TableNumberField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableNumberField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui.backup/cjs/types/components/Table/TableRichTextField/TableRichTextField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableRichTextField/TableRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableSelectField/TableSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableSelectField/TableSelectField.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Table/TableSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableTitleField/TableTitleField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableTitleField/TableTitleField.types.d.ts +0 -11
- package/dist/ui.backup/cjs/types/components/Table/TableTitleField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableUrlField/TableUrlField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableUrlField/TableUrlField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Table/TableUrlField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/index.d.ts +0 -56
- package/dist/ui.backup/cjs/types/components/lib.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/types.d.ts +0 -17
- package/dist/ui.backup/cjs/types/index.d.ts +0 -1
- package/dist/ui.backup/esm/index.js +0 -2
- package/dist/ui.backup/esm/index.js.map +0 -1
- package/dist/ui.backup/esm/types/components/Gallery/Gallery.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/Gallery.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryCard.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryCard.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryHandler.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -5
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryDateField/DateField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryDateField/GalleryDateField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryDateField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Gallery/GalleryMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryNumberField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryRichTextField/RichTextField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryTitleField/GalleryTitleField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryTitleField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryUrlField/GalleryUrlField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Gallery/GalleryUrlField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/List.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/List.types.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/List/ListCheckboxField/ListCheckboxField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/List/ListCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListDateField/ListDateField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListDateField/ListDateField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListDateField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListHandler.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListHandler.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/List/ListMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListNumberField/ListNumberField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListNumberField/ListNumberField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListNumberField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListRichTextField/ListRichTextField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListRichTextField/ListRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListTitleField/ListTitleField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListTitleField/ListTitleField.types.d.ts +0 -11
- package/dist/ui.backup/esm/types/components/List/ListTitleField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListUrlField/ListUrlField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListUrlField/ListUrlField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/List/ListUrlField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/BookmarkBlock/BookmarkBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BookmarkBlock/BookmarkBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BookmarkBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BreadcrumbBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/CalloutBlock/CalloutBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CalloutBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Page/ChildDatabaseBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ChildPageBlock/ChildPageBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Page/ChildPageBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/Code/Code.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/Code/Code.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/Code/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/CodeBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ColumnListBlock/ColumnListBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Page/ColumnListBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/EmbedBlock/EmbedBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EmbedBlock/EmbedBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EmbedBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/EquationBlock/EquationBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EquationBlock/EquationBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EquationBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/FileBlock/FileBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/FileBlock/FileBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/FileBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ImageBlock/ImageBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ImageBlock/ImageBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ImageBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/LinkPreviewBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ListBlock/ListBlock.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Page/NumberedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/Page.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/Page.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Page/PageHandler.d.ts +0 -15
- package/dist/ui.backup/esm/types/components/Page/PageHandler.types.d.ts +0 -11
- package/dist/ui.backup/esm/types/components/Page/PageIcon/PageIcon.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/PageIcon/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/PdfBlock/PdfBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/PdfBlock/PdfBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/PdfBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/SyncedBlock/SyncedBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/SyncedBlock/SyncedBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/SyncedBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TableBlock/TableBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TableBlock/TableBlock.types.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/Page/TableBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TableOfContentsBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TextBlock/RichText/Equation/Equation.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/TextBlock/RichText/Mention/Mention.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/TextBlock/TextBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TextBlock/TextBlock.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/TextBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ToDoBlock/ToDoBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToDoBlock/ToDoBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToDoBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ToggleBlock/ToggleBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToggleBlock/ToggleBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToggleBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/VideoBlock/VideoBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/VideoBlock/VideoBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/VideoBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/Table.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/Table.types.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/Table/TableCheckboxField/TableCheckboxField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Table/TableCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableDateField/TableDateField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableDateField/TableDateField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableDateField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableHandler.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableHandler.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/Table/TableIcon/TableIcon.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableIcon/TableIcon.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Table/TableIcon/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Table/TableMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableNumberField/TableNumberField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableNumberField/TableNumberField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableNumberField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui.backup/esm/types/components/Table/TableRichTextField/TableRichTextField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableRichTextField/TableRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableSelectField/TableSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableSelectField/TableSelectField.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Table/TableSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableTitleField/TableTitleField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableTitleField/TableTitleField.types.d.ts +0 -11
- package/dist/ui.backup/esm/types/components/Table/TableTitleField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableUrlField/TableUrlField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableUrlField/TableUrlField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Table/TableUrlField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/index.d.ts +0 -56
- package/dist/ui.backup/esm/types/components/lib.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/types.d.ts +0 -17
- package/dist/ui.backup/esm/types/index.d.ts +0 -1
- package/dist/ui.backup/styles/base.css +0 -44
- package/dist/ui.backup/styles/gallery.css +0 -172
- package/dist/ui.backup/styles/list.css +0 -153
- package/dist/ui.backup/styles/notionate-dark.css +0 -297
- package/dist/ui.backup/styles/notionate.css +0 -5
- package/dist/ui.backup/styles/page.css +0 -762
- package/dist/ui.backup/styles/table.css +0 -166
- package/dist/ui.backup/types.d.ts +0 -421
- package/dist/ui.backup/umd/index.js +0 -2
- package/dist/ui.backup/umd/index.js.map +0 -1
- package/dist/ui.backup/umd/types/components/Gallery/Gallery.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/Gallery.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryCard.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryCard.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryHandler.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -5
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryDateField/DateField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryDateField/GalleryDateField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryDateField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Gallery/GalleryMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryNumberField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryRichTextField/RichTextField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryTitleField/GalleryTitleField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryTitleField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryUrlField/GalleryUrlField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Gallery/GalleryUrlField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/List.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/List.types.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/List/ListCheckboxField/ListCheckboxField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/List/ListCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListDateField/ListDateField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListDateField/ListDateField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListDateField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListHandler.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListHandler.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/List/ListMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListNumberField/ListNumberField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListNumberField/ListNumberField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListNumberField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListRichTextField/ListRichTextField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListRichTextField/ListRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListTitleField/ListTitleField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListTitleField/ListTitleField.types.d.ts +0 -11
- package/dist/ui.backup/umd/types/components/List/ListTitleField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListUrlField/ListUrlField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListUrlField/ListUrlField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/List/ListUrlField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/BookmarkBlock/BookmarkBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BookmarkBlock/BookmarkBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BookmarkBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BreadcrumbBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/CalloutBlock/CalloutBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CalloutBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Page/ChildDatabaseBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ChildPageBlock/ChildPageBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Page/ChildPageBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/Code/Code.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/Code/Code.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/Code/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/CodeBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ColumnListBlock/ColumnListBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Page/ColumnListBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/EmbedBlock/EmbedBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EmbedBlock/EmbedBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EmbedBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/EquationBlock/EquationBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EquationBlock/EquationBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EquationBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/FileBlock/FileBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/FileBlock/FileBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/FileBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ImageBlock/ImageBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ImageBlock/ImageBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ImageBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/LinkPreviewBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ListBlock/ListBlock.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Page/NumberedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/Page.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/Page.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Page/PageHandler.d.ts +0 -15
- package/dist/ui.backup/umd/types/components/Page/PageHandler.types.d.ts +0 -11
- package/dist/ui.backup/umd/types/components/Page/PageIcon/PageIcon.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/PageIcon/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/PdfBlock/PdfBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/PdfBlock/PdfBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/PdfBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/SyncedBlock/SyncedBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/SyncedBlock/SyncedBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/SyncedBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TableBlock/TableBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TableBlock/TableBlock.types.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/Page/TableBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TableOfContentsBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TextBlock/RichText/Equation/Equation.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/TextBlock/RichText/Mention/Mention.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/TextBlock/TextBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TextBlock/TextBlock.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/TextBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ToDoBlock/ToDoBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToDoBlock/ToDoBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToDoBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ToggleBlock/ToggleBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToggleBlock/ToggleBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToggleBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/VideoBlock/VideoBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/VideoBlock/VideoBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/VideoBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/Table.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/Table.types.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/Table/TableCheckboxField/TableCheckboxField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Table/TableCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableDateField/TableDateField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableDateField/TableDateField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableDateField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableHandler.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableHandler.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/Table/TableIcon/TableIcon.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableIcon/TableIcon.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Table/TableIcon/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Table/TableMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableNumberField/TableNumberField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableNumberField/TableNumberField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableNumberField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui.backup/umd/types/components/Table/TableRichTextField/TableRichTextField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableRichTextField/TableRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableSelectField/TableSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableSelectField/TableSelectField.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Table/TableSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableTitleField/TableTitleField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableTitleField/TableTitleField.types.d.ts +0 -11
- package/dist/ui.backup/umd/types/components/Table/TableTitleField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableUrlField/TableUrlField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableUrlField/TableUrlField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Table/TableUrlField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/index.d.ts +0 -56
- package/dist/ui.backup/umd/types/components/lib.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/types.d.ts +0 -17
- package/dist/ui.backup/umd/types/index.d.ts +0 -1
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Annotation/Annotation.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Annotation/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Equation/Equation.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Equation/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/LinkIfLinked/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/Mention.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.types.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/UserMention/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/RichText.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Text/Text.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Text/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Annotation/Annotation.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Annotation/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Equation/Equation.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Equation/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/LinkIfLinked/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/Mention.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.types.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/UserMention/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/RichText.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Text/Text.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Text/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Annotation/Annotation.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Annotation/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Equation/Equation.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Equation/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/LinkIfLinked/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/Mention.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.types.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/UserMention/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/RichText.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Text/Text.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Text/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/index.d.ts +0 -0
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import fs from 'fs';
|
|
2
|
-
import { mkdir, stat } from 'node:fs/promises';
|
|
3
|
-
import https from 'https';
|
|
4
|
-
import http from 'http';
|
|
5
|
-
import path from 'path';
|
|
6
|
-
import crypto from 'crypto';
|
|
7
|
-
import { promisify } from 'util';
|
|
8
|
-
import imagemin from 'imagemin';
|
|
9
|
-
import imageminWebp from 'imagemin-webp';
|
|
10
|
-
import { fileTypeFromFile } from 'file-type';
|
|
11
|
-
import replaceExt from 'replace-ext';
|
|
12
|
-
import pkg from '../../package.json' assert { type: 'json' };
|
|
13
|
-
const docRoot = process.env.NOTIONATE_DOCROOT || 'public';
|
|
14
|
-
const imageDir = process.env.NOTIONATE_IMAGEDIR || 'images';
|
|
15
|
-
const timeout = process.env.NOTIONATE_TIMEOUT ? parseInt(process.env.NOTIONATE_TIMEOUT) : 1500;
|
|
16
|
-
const httpOptions = {
|
|
17
|
-
timeout,
|
|
18
|
-
headers: {
|
|
19
|
-
'User-Agent': `${pkg.name}/${pkg.version}`,
|
|
20
|
-
Accept: '*/*',
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
const webpQuality = process.env.NOTIONATE_WEBP_QUALITY ? parseInt(process.env.NOTIONATE_WEBP_QUALITY) : 95;
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
https.get[promisify.custom] = function getAsync(url) {
|
|
26
|
-
return new Promise((resolve, reject) => {
|
|
27
|
-
const req = https.get(url, httpOptions, (res) => {
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
res.end = new Promise((resolve) => res.on('end', resolve));
|
|
30
|
-
resolve(res);
|
|
31
|
-
});
|
|
32
|
-
req.on('error', reject);
|
|
33
|
-
req.setTimeout(timeout, () => {
|
|
34
|
-
req.abort();
|
|
35
|
-
reject(new Error(`request timed out(${timeout}ms): ${url}`));
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
http.get[promisify.custom] = function getAsync(url) {
|
|
41
|
-
return new Promise((resolve, reject) => {
|
|
42
|
-
const req = http.get(url, httpOptions, (res) => {
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
res.end = new Promise((resolve) => res.on('end', resolve));
|
|
45
|
-
resolve(res);
|
|
46
|
-
});
|
|
47
|
-
req.on('error', reject);
|
|
48
|
-
req.setTimeout(timeout, () => {
|
|
49
|
-
req.abort();
|
|
50
|
-
reject(new Error(`request timed out(${timeout}ms): ${url}`));
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
const httpsGet = promisify(https.get);
|
|
55
|
-
const httpGet = promisify(http.get);
|
|
56
|
-
const readFile = promisify(fs.readFile);
|
|
57
|
-
const writeFile = promisify(fs.writeFile);
|
|
58
|
-
const maxRedirects = 5;
|
|
59
|
-
export const findLocationUrl = (rawHeaders) => {
|
|
60
|
-
for (let i = 0; i <= rawHeaders.length; i++) {
|
|
61
|
-
if (rawHeaders[i] === 'Location') {
|
|
62
|
-
const next = 1;
|
|
63
|
-
return rawHeaders[i + next];
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
console.log('location header url is not found', rawHeaders);
|
|
67
|
-
return '';
|
|
68
|
-
};
|
|
69
|
-
async function httpsGetWithFollowRedirects(reqUrl, redirectCount) {
|
|
70
|
-
if (!redirectCount) {
|
|
71
|
-
redirectCount = 0;
|
|
72
|
-
}
|
|
73
|
-
const httpFunc = (reqUrl.includes('https://')) ? httpsGet : httpGet;
|
|
74
|
-
const res = await httpFunc(reqUrl);
|
|
75
|
-
if (res.statusCode >= 300 && res.statusCode < 400 && res.rawHeaders.includes('Location')) {
|
|
76
|
-
const redirectTo = findLocationUrl(res.rawHeaders);
|
|
77
|
-
redirectCount++;
|
|
78
|
-
if (maxRedirects < redirectCount) {
|
|
79
|
-
console.log('maximum number of redirects exceeded');
|
|
80
|
-
return res;
|
|
81
|
-
}
|
|
82
|
-
return await httpsGetWithFollowRedirects(redirectTo, redirectCount);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
return res;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
async function getHTTP(reqUrl, redirectCount) {
|
|
89
|
-
if (!redirectCount) {
|
|
90
|
-
redirectCount = 0;
|
|
91
|
-
}
|
|
92
|
-
let body = '';
|
|
93
|
-
const res = await httpsGetWithFollowRedirects(reqUrl);
|
|
94
|
-
// @ts-ignore
|
|
95
|
-
for await (const chunk of res) {
|
|
96
|
-
body += chunk;
|
|
97
|
-
}
|
|
98
|
-
return body;
|
|
99
|
-
}
|
|
100
|
-
export async function getJson(reqUrl) {
|
|
101
|
-
const body = await getHTTP(reqUrl);
|
|
102
|
-
return JSON.parse(body);
|
|
103
|
-
}
|
|
104
|
-
export const atoh = (a) => {
|
|
105
|
-
const shasum = crypto.createHash('sha1');
|
|
106
|
-
shasum.update(a);
|
|
107
|
-
return shasum.digest('hex');
|
|
108
|
-
};
|
|
109
|
-
export const createDirWhenNotfound = async (dir) => {
|
|
110
|
-
if (!fs.existsSync(dir)) {
|
|
111
|
-
await mkdir(dir, { recursive: true });
|
|
112
|
-
console.log(`created direcotry: ${dir}`);
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
export async function readCache(f) {
|
|
116
|
-
return JSON.parse(await readFile(f, 'utf8'));
|
|
117
|
-
}
|
|
118
|
-
export async function writeCache(f, data) {
|
|
119
|
-
return writeFile(f, JSON.stringify(data), 'utf8').catch(() => { });
|
|
120
|
-
}
|
|
121
|
-
export async function isAvailableCache(f, seconds) {
|
|
122
|
-
const t = new Date(Date.now() + (seconds * 1000));
|
|
123
|
-
const stats = await stat(f);
|
|
124
|
-
return stats.mtime < t;
|
|
125
|
-
}
|
|
126
|
-
const sleep = (m) => {
|
|
127
|
-
return new Promise((resolve) => setTimeout(resolve, m));
|
|
128
|
-
};
|
|
129
|
-
export const saveImage = async (imageUrl, prefix) => {
|
|
130
|
-
const urlWithoutQuerystring = imageUrl.split('?').shift() || '';
|
|
131
|
-
const { ext, name } = path.parse(urlWithoutQuerystring);
|
|
132
|
-
const basename = `${atoh(name)}${ext}`;
|
|
133
|
-
const urlPath = `/${imageDir}/${prefix}-${basename}`;
|
|
134
|
-
const filePath = `${docRoot}${urlPath}`;
|
|
135
|
-
const dirPath = `${docRoot}/${imageDir}`;
|
|
136
|
-
const webpMimes = ['image/jpeg', 'image/png'];
|
|
137
|
-
const webpUrlPath = replaceExt(urlPath, '.webp');
|
|
138
|
-
const webpPath = `${docRoot}${webpUrlPath}`;
|
|
139
|
-
await createDirWhenNotfound(dirPath);
|
|
140
|
-
if (fs.existsSync(filePath)) {
|
|
141
|
-
if (webpQuality > 0 && fs.existsSync(webpPath)) {
|
|
142
|
-
return webpUrlPath;
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
return urlPath;
|
|
146
|
-
}
|
|
147
|
-
/* Download image */
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
try {
|
|
151
|
-
let res;
|
|
152
|
-
res = await httpsGetWithFollowRedirects(imageUrl);
|
|
153
|
-
if (res.statusCode >= 400 && res.statusCode < 500 && imageDir !== urlWithoutQuerystring) {
|
|
154
|
-
res = await httpsGetWithFollowRedirects(urlWithoutQuerystring);
|
|
155
|
-
if (res.statusCode >= 400 && res.statusCode < 500) {
|
|
156
|
-
throw new Error(`retry download to ${urlWithoutQuerystring} but failed`);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
res.pipe(fs.createWriteStream(filePath));
|
|
160
|
-
await res.end;
|
|
161
|
-
// This fix that for fileType do not returns undefined
|
|
162
|
-
await sleep(10);
|
|
163
|
-
}
|
|
164
|
-
catch (e) {
|
|
165
|
-
console.log(`saveImage download error -- path: ${filePath}, url: ${imageUrl}, message: ${e}`);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
/* Convert to webp */
|
|
169
|
-
try {
|
|
170
|
-
if (webpQuality > 0) {
|
|
171
|
-
const fType = await fileTypeFromFile(filePath);
|
|
172
|
-
if (fType === undefined) {
|
|
173
|
-
// console.log(`fileTypeFromFile returns undefined -- path: ${filePath}, url: ${imageUrl}`)
|
|
174
|
-
return urlPath;
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
if (webpMimes.includes(fType.mime)) {
|
|
178
|
-
const result = await imagemin([filePath], {
|
|
179
|
-
destination: dirPath,
|
|
180
|
-
// @ts-ignore
|
|
181
|
-
plugins: [imageminWebp({ quality: webpQuality })],
|
|
182
|
-
});
|
|
183
|
-
if (result && result.length > 0) {
|
|
184
|
-
return webpUrlPath;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
catch (e) {
|
|
191
|
-
console.log(`saveImage webp convert error -- path: ${filePath}, url: ${imageUrl}, message: ${e}`);
|
|
192
|
-
}
|
|
193
|
-
return urlPath;
|
|
194
|
-
};
|
|
195
|
-
export const findHtmlByRegexp = (regexps, html) => {
|
|
196
|
-
let matched = null;
|
|
197
|
-
for (let i = 0; i < regexps.length; i++) {
|
|
198
|
-
const result = html.match(regexps[i]);
|
|
199
|
-
if (result !== null) {
|
|
200
|
-
matched = result;
|
|
201
|
-
break;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
if (matched === null) {
|
|
205
|
-
return null;
|
|
206
|
-
}
|
|
207
|
-
return matched[1]
|
|
208
|
-
.replace(/\n/g, ' ')
|
|
209
|
-
.trim()
|
|
210
|
-
.replace(/<[^>]*>?/gm, '')
|
|
211
|
-
.replace(/https:https:/g, 'https:');
|
|
212
|
-
};
|
|
213
|
-
export const titleRegexps = [
|
|
214
|
-
/<title>([^"]*?)<\/title>/,
|
|
215
|
-
/<title\s+[^"]+="[^"]+">([^"]*?)<\/title>/,
|
|
216
|
-
/property="og:title"\s+content="([^"]+)"/,
|
|
217
|
-
];
|
|
218
|
-
export const descRegexps = [
|
|
219
|
-
/property="og:description"\s+content="([^"]+)"/,
|
|
220
|
-
/content="([^"]+)"\s+property="og:description"/,
|
|
221
|
-
/name="description"\s+content="([^"]+)"/,
|
|
222
|
-
/content="([^"]+)"\s+name="description"/,
|
|
223
|
-
/<main\s.*?<p>([\s\S]*?)<\/p>/,
|
|
224
|
-
/<p>([\s\S]*?)<\/p>/,
|
|
225
|
-
/<p\s.*?>([\s\S]*?)<\/p>/,
|
|
226
|
-
/<div>([\s\S]*?)<\/div>/,
|
|
227
|
-
/<div\s.*?>([\s\S]*?)<\/div>/,
|
|
228
|
-
];
|
|
229
|
-
export const imageRegexps = [
|
|
230
|
-
/property="og:image:secure_url"\s+content="([^"]+)"/,
|
|
231
|
-
/property="og:image"\s+content="([^"]+)"/,
|
|
232
|
-
/content="([^"]+)"\s+property="og:image:secure_url"/,
|
|
233
|
-
/content="([^"]+)"\s+property="og:image"/,
|
|
234
|
-
/name="og:image"\s+content="([^"]+)"/,
|
|
235
|
-
/name="twitter:image"\s+content="([^"]+)"/,
|
|
236
|
-
];
|
|
237
|
-
export const iconRegexps = [
|
|
238
|
-
/<link\s+href="([^"]+)"\s+rel="icon"/,
|
|
239
|
-
/<link\s+rel="icon"\s+href="(\/favicon\.ico)"\s*?\/?>/,
|
|
240
|
-
/<link\s+rel="icon".*?href="([^"]+)"/,
|
|
241
|
-
/<link\s+rel="shortcut icon"\s+type="image\/x-icon"\s+href="?([^"]+)"?\s?\/?>/,
|
|
242
|
-
/<link\s+rel="shortcut icon"\s+href="?([^"]+)"?\s?\/?>/,
|
|
243
|
-
/<link\s+href="?([^"]+)"?\s+rel="(shortcut icon|icon shortcut)"(\s+type="image\/x-icon")?\s?\/?>/,
|
|
244
|
-
/<link\s+href="([^"]+)"\s+rel="icon"\s+sizes="[^"]+"\s+type="image\/[^"]"\s*\/?>/,
|
|
245
|
-
/type="image\/x-icon"\s+href="(\/favicon\.ico)"/,
|
|
246
|
-
/rel="icon"\s+href="(\/favicon\.ico)"/,
|
|
247
|
-
/rel="shortcut icon"\s+href="([^"]+)"/,
|
|
248
|
-
];
|
|
249
|
-
export const findImage = (html) => {
|
|
250
|
-
const img = html.match(/<img\s(.*?)\s?\/?>/);
|
|
251
|
-
if (img !== null) {
|
|
252
|
-
const imgTag = img[1];
|
|
253
|
-
const imageRegex = /src="(.*?)"/;
|
|
254
|
-
const result = imgTag.match(imageRegex);
|
|
255
|
-
if (result !== null) {
|
|
256
|
-
return result[1];
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
return null;
|
|
260
|
-
};
|
|
261
|
-
export const getHtmlMeta = async (reqUrl) => {
|
|
262
|
-
try {
|
|
263
|
-
const resbody = await getHTTP(reqUrl);
|
|
264
|
-
const body = resbody.replace(/\n/g, ' ');
|
|
265
|
-
const title = findHtmlByRegexp(titleRegexps, body) || '';
|
|
266
|
-
const desc = findHtmlByRegexp(descRegexps, body) || '';
|
|
267
|
-
const imagePath = findHtmlByRegexp(imageRegexps, body) || findImage(body) || '';
|
|
268
|
-
const iconPath = findHtmlByRegexp(iconRegexps, body) || '/favicon.ico';
|
|
269
|
-
const url = new URL(reqUrl);
|
|
270
|
-
const imageUrl = imagePath !== '' ? (imagePath.match(/^(https?:|data:)/) ? imagePath : `${url.protocol}//${url.hostname}${imagePath}`) : '';
|
|
271
|
-
const image = imagePath !== '' ? (imagePath.match(/^data:/) ? imagePath : await saveImage(imageUrl, 'html-image')) : '';
|
|
272
|
-
const iconUrl = iconPath !== '' ? (iconPath.match(/^(https?:|data:)/) ? iconPath : `${url.protocol}//${url.hostname}${iconPath}`) : '';
|
|
273
|
-
const icon = iconUrl !== '' ? (iconPath.match(/^data:/) ? iconPath : await saveImage(iconUrl, `html-icon-${atoh(reqUrl)}`)) : '';
|
|
274
|
-
return { title, desc, image, icon };
|
|
275
|
-
}
|
|
276
|
-
catch (e) {
|
|
277
|
-
console.log(`getHtmlMeta failure: ${reqUrl} -- ${e}`);
|
|
278
|
-
}
|
|
279
|
-
return { title: '', desc: '', image: '', icon: '' };
|
|
280
|
-
};
|
|
281
|
-
export const getVideoHtml = async (block) => {
|
|
282
|
-
if (block.video?.type !== 'external') {
|
|
283
|
-
return '';
|
|
284
|
-
}
|
|
285
|
-
const extUrl = block.video?.external.url;
|
|
286
|
-
if (extUrl.includes('youtube.com') || extUrl.includes('youtu.be')) {
|
|
287
|
-
const reqUrl = `https://www.youtube.com/oembed?url=${encodeURIComponent(extUrl)}`;
|
|
288
|
-
try {
|
|
289
|
-
const json = await getJson(reqUrl);
|
|
290
|
-
return json.html;
|
|
291
|
-
}
|
|
292
|
-
catch (e) {
|
|
293
|
-
console.log(`getVideoHtml failure: ${reqUrl} - ${e}`);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return '';
|
|
297
|
-
};
|
|
298
|
-
export const getEmbedHtml = async (block) => {
|
|
299
|
-
if (block.embed && block.embed.url.includes('twitter.com')) {
|
|
300
|
-
const src = block.embed?.url || '';
|
|
301
|
-
const tweetId = path.basename(src.split('?').shift() || '');
|
|
302
|
-
const reqUrl = `https://api.twitter.com/1/statuses/oembed.json?id=${tweetId}`;
|
|
303
|
-
try {
|
|
304
|
-
const json = await getJson(reqUrl);
|
|
305
|
-
return json.html;
|
|
306
|
-
}
|
|
307
|
-
catch (e) {
|
|
308
|
-
console.log(`getEmbedHtml failure: ${reqUrl} - ${e}`);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
else if (block.embed && block.embed.url.includes('speakerdeck.com')) {
|
|
312
|
-
const embedUrl = block.embed?.url;
|
|
313
|
-
const reqUrl = `https://speakerdeck.com/oembed.json?url=${encodeURIComponent(embedUrl)}`;
|
|
314
|
-
/*
|
|
315
|
-
* The `UND_ERR_SOCKET` error occurs when GET request to the speakerdeck.com using the fetch api. That's why this using the https module.
|
|
316
|
-
* A bug report has been created
|
|
317
|
-
* https://github.com/nodejs/undici/issues/1412
|
|
318
|
-
*/
|
|
319
|
-
try {
|
|
320
|
-
const json = await getJson(reqUrl);
|
|
321
|
-
return json.html;
|
|
322
|
-
}
|
|
323
|
-
catch (e) {
|
|
324
|
-
console.log(`getEmbedHtml failure: ${reqUrl} -- ${e}`);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return '';
|
|
328
|
-
};
|
|
329
|
-
//# sourceMappingURL=files.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../src/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAA;AACnB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,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EAAE,CAAA;QAC7E,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,OAAO,CAAwB,MAAM,CAAC,CAAA;YACzD,OAAO,IAAI,CAAC,IAAI,CAAA;QAClB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,CAAC,GAAG,CAAC,yBAAyB,MAAM,MAAM,CAAC,EAAE,CAAC,CAAA;QACvD,CAAC;IACH,CAAC;SAAM,IAAI,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACtE,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,GAAa,CAAA;QAC3C,MAAM,MAAM,GAAG,2CAA2C,kBAAkB,CAAC,QAAQ,CAAC,EAAE,CAAA;QAExF;;;;WAIG;QACH,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,OAAO,CAA4B,MAAM,CAAC,CAAA;YAC7D,OAAO,IAAI,CAAC,IAAI,CAAA;QAClB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,CAAC,GAAG,CAAC,yBAAyB,MAAM,OAAO,CAAC,EAAE,CAAC,CAAA;QACxD,CAAC;IACH,CAAC;IAED,OAAO,EAAE,CAAA;AACX,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { QueryDatabaseParameters, QueryDatabaseResponseEx, ListBlockChildrenResponseEx, GetPageResponseEx } from './types.js';
|
|
2
|
-
/**
|
|
3
|
-
* FetchDatabase retrieves database and download images in from blocks.
|
|
4
|
-
* And create cache that includes filepath of downloaded images.
|
|
5
|
-
*/
|
|
6
|
-
export declare const FetchDatabase: (params: QueryDatabaseParameters) => Promise<QueryDatabaseResponseEx>;
|
|
7
|
-
/**
|
|
8
|
-
* FetchPage retrieves page properties and download images in from properties.
|
|
9
|
-
* And create cache that includes filepath of downloaded images.
|
|
10
|
-
* The last_edited_time of 2nd args is for NOTIONATE_INCREMENTAL_CACHE.
|
|
11
|
-
*/
|
|
12
|
-
export declare const FetchPage: (page_id: string, last_edited_time?: string) => Promise<GetPageResponseEx>;
|
|
13
|
-
/**
|
|
14
|
-
* FetchBlocks retrieves page blocks and download images in from blocks.
|
|
15
|
-
* And create cache that includes filepath of downloaded images.
|
|
16
|
-
* The last_edited_time of 2nd args is for NOTIONATE_INCREMENTAL_CACHE.
|
|
17
|
-
*/
|
|
18
|
-
export declare const FetchBlocks: (block_id: string, last_edited_time?: string) => Promise<ListBlockChildrenResponseEx>;
|