@redneckz/wildless-cms-uni-blocks 0.10.1 → 0.10.2
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/bin/migration-scripts/0.10.2.js +31 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +29 -37
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
- package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
- package/dist/components/ComparisonTable/HeaderCell.js +1 -2
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +1 -3
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +5 -4
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
- package/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -3
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +1 -2
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.mobile.js +1 -2
- package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +5 -5
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
- package/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/content-page-repository/transformImg.js +11 -3
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +4 -3
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/Img/ImgInner.js +1 -1
- package/dist/ui-kit/Img/ImgInner.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
- package/lib/components/ComparisonTable/HeaderCell.js +1 -2
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -3
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -3
- package/lib/components/LinkDocs/LinkDocs.js +5 -4
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
- package/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -3
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +1 -2
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.mobile.js +1 -2
- package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +5 -5
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
- package/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/content-page-repository/transformImg.js +11 -3
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +4 -3
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/Img/ImgInner.js +1 -1
- package/lib/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +16 -33
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
- package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
- package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
- package/mobile/dist/components/Footer/Footer.js +1 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +1 -3
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -3
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +1 -2
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/content-page-repository/transformImg.js +11 -3
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +4 -3
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgInner.js +1 -1
- package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
- package/mobile/lib/components/Footer/Footer.js +1 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -3
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -3
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +1 -2
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/content-page-repository/transformImg.js +11 -3
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +4 -3
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgInner.js +1 -1
- package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +23 -14
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
- package/mobile/src/components/Footer/Footer.tsx +1 -4
- package/mobile/src/components/Footer/MediaButton.tsx +2 -5
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +0 -2
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +27 -12
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -5
- package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +48 -11
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -2
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +5 -6
- package/mobile/src/components/RollupItem/RollupItem.tsx +2 -15
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -2
- package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
- package/mobile/src/content-page-repository/transformImg.ts +14 -4
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
- package/mobile/src/ui-kit/Img/ImgInner.tsx +1 -1
- package/package.json +1 -1
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +9 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +23 -14
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
- package/src/components/ComparisonTable/HeaderCell.tsx +1 -2
- package/src/components/Footer/Footer.mobile.tsx +1 -4
- package/src/components/Footer/MediaButton.tsx +2 -5
- package/src/components/LinkDocs/LinkDocs.example.json +0 -2
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -11
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +27 -12
- package/src/components/LinkDocs/LinkDocs.tsx +24 -9
- package/src/components/LinkDocs/LinkDocsContent.ts +0 -5
- package/src/components/LinkDocs/LinkDocsListItem.tsx +48 -13
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +5 -6
- package/src/components/RollupItem/RollupItem.mobile.tsx +2 -15
- package/src/components/RollupItem/RollupItem.tsx +1 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -2
- package/src/components/StepsBlock/StepsBlock.tsx +14 -8
- package/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
- package/src/content-page-repository/transformImg.ts +14 -4
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
- package/src/ui-kit/Button/ButtonInner.tsx +4 -3
- package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
- package/src/ui-kit/Img/ImgInner.tsx +1 -1
- package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
- package/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
- package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
- package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
- package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
- package/bundle/utils/getIconWithVersion.d.ts +0 -3
- package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
- package/dist/components/LinkDocs/LinkDocsList.js +0 -9
- package/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +0 -7
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
- package/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
- package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
- package/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
- package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
- package/dist/utils/getIconWithVersion.d.ts +0 -3
- package/dist/utils/getIconWithVersion.js +0 -8
- package/dist/utils/getIconWithVersion.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
- package/lib/components/LinkDocs/LinkDocsList.js +0 -7
- package/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +0 -5
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
- package/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
- package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
- package/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
- package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
- package/lib/utils/getIconWithVersion.d.ts +0 -3
- package/lib/utils/getIconWithVersion.js +0 -5
- package/lib/utils/getIconWithVersion.js.map +0 -1
- package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
- package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
- package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
- package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
- package/mobile/bundle/utils/getIconWithVersion.d.ts +0 -3
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
- package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
- package/mobile/dist/components/LinkDocs/LinkDocsList.js +0 -9
- package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
- package/mobile/dist/utils/getIconWithVersion.d.ts +0 -3
- package/mobile/dist/utils/getIconWithVersion.js +0 -8
- package/mobile/dist/utils/getIconWithVersion.js.map +0 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
- package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
- package/mobile/lib/components/LinkDocs/LinkDocsList.js +0 -7
- package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
- package/mobile/lib/utils/getIconWithVersion.d.ts +0 -3
- package/mobile/lib/utils/getIconWithVersion.js +0 -5
- package/mobile/lib/utils/getIconWithVersion.js.map +0 -1
- package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
- package/mobile/src/components/LinkDocs/LinkDocsList.tsx +0 -33
- package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
- package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
- package/mobile/src/utils/getIconWithVersion.ts +0 -7
- package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
- package/src/components/LinkDocs/LinkDocsList.tsx +0 -33
- package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +0 -12
- package/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
- package/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
- package/src/utils/getIconWithVersion.ts +0 -7
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
3
|
-
import {
|
|
4
|
-
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
5
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
5
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
8
|
import { joinList } from '../../utils/joinList';
|
|
8
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
9
|
-
import { renderStep } from './renderStep';
|
|
10
|
-
import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps';
|
|
11
9
|
import { style } from '../../utils/style';
|
|
12
|
-
import
|
|
10
|
+
import { checkCanRenderIcon } from './checkCanRenderIcon';
|
|
11
|
+
import { renderStep } from './renderStep';
|
|
13
12
|
import type { Step, StepsBlockContent } from './StepsBlockContent';
|
|
14
13
|
import type { StyleType } from './StepsBlockStyleMaps';
|
|
15
|
-
import
|
|
14
|
+
import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps';
|
|
16
15
|
|
|
17
16
|
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
|
|
18
17
|
|
|
@@ -85,6 +84,8 @@ const renderStepIcon =
|
|
|
85
84
|
const stepVersionIconTextStyles =
|
|
86
85
|
stepVersion === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
|
|
87
86
|
|
|
87
|
+
const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
|
|
88
|
+
|
|
88
89
|
return (
|
|
89
90
|
<BlockWrapper
|
|
90
91
|
key={String(i)}
|
|
@@ -92,7 +93,12 @@ const renderStepIcon =
|
|
|
92
93
|
version={stepVersion}
|
|
93
94
|
>
|
|
94
95
|
{checkCanRenderIcon(icon) ? (
|
|
95
|
-
<Img
|
|
96
|
+
<Img
|
|
97
|
+
image={{ ...icon, iconVersion: icon.iconVersion || iconVersion }}
|
|
98
|
+
width="48"
|
|
99
|
+
height="48"
|
|
100
|
+
asSVG
|
|
101
|
+
/>
|
|
96
102
|
) : (
|
|
97
103
|
<span
|
|
98
104
|
className={style(
|
|
@@ -3,7 +3,6 @@ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
6
|
-
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
7
6
|
import { TableCarouselContainer } from '../ComparisonTable/TableCarouselContainer';
|
|
8
7
|
import { COLUMN_WIDTH, DIVIDER_CLASSES, FIRST_CELL_CLASSES } from './constants';
|
|
9
8
|
import { TariffsTableCell } from './TariffsTableCell';
|
|
@@ -39,13 +38,7 @@ export const TariffsTableRow = JSX<TariffsTableRowProps>(
|
|
|
39
38
|
<div className={`text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`}>
|
|
40
39
|
<div className="flex items-center text-primary-text" role="cell">
|
|
41
40
|
{header?.icon ? (
|
|
42
|
-
<Img
|
|
43
|
-
className="mr-3.5 max-w-6"
|
|
44
|
-
image={getIconWithVersion(header.icon)}
|
|
45
|
-
width="24"
|
|
46
|
-
height="24"
|
|
47
|
-
asSVG
|
|
48
|
-
/>
|
|
41
|
+
<Img className="mr-3.5 max-w-6" image={header.icon} width="24" height="24" asSVG />
|
|
49
42
|
) : null}
|
|
50
43
|
{header?.title ? <div className="text-m-light">{header?.title}</div> : null}
|
|
51
44
|
</div>
|
|
@@ -11,6 +11,7 @@ import { resizeImg } from './resizeImg';
|
|
|
11
11
|
import type { TransformationOptions } from './TransformationOptions';
|
|
12
12
|
|
|
13
13
|
const mkdir = util.promisify(fs.mkdir);
|
|
14
|
+
const copyFile = util.promisify(fs.copyFile);
|
|
14
15
|
|
|
15
16
|
type ImgOutputPath = string;
|
|
16
17
|
type TransformationTaskKey = ImgOutputPath;
|
|
@@ -21,13 +22,19 @@ type TransformImgOptions = TransformationOptions &
|
|
|
21
22
|
|
|
22
23
|
const defaultTransformationCache: TransformationTasksCache = new Map();
|
|
23
24
|
|
|
25
|
+
const isNilTransform = ({ size, containerSize, alignment, format }: TransformImgOptions) =>
|
|
26
|
+
isPictureSizeEmpty(size) && isPictureSizeEmpty(containerSize) && !alignment && !format;
|
|
27
|
+
|
|
28
|
+
const isVectorInput = (input: string) =>
|
|
29
|
+
['.svg', '.eps', '.epsf', '.epsi', '.pdf'].some((ext) => input.toLowerCase().endsWith(ext));
|
|
30
|
+
|
|
24
31
|
export function transformImg(
|
|
25
32
|
src: string,
|
|
26
33
|
pagePath: string,
|
|
27
34
|
options: TransformImgOptions,
|
|
28
35
|
): ImgOutputPath | Promise<ImgOutputPath> {
|
|
29
36
|
if (!src) {
|
|
30
|
-
return '';
|
|
37
|
+
return src || '';
|
|
31
38
|
}
|
|
32
39
|
|
|
33
40
|
const input = path.join(path.dirname(pagePath), src);
|
|
@@ -43,9 +50,12 @@ export function transformImg(
|
|
|
43
50
|
const result = (async () => {
|
|
44
51
|
try {
|
|
45
52
|
await mkdir(path.dirname(output), { recursive: true });
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
if (isNilTransform(options) || isVectorInput(src)) {
|
|
54
|
+
await copyFile(input, output);
|
|
55
|
+
} else {
|
|
56
|
+
const chain = await computeTransformationChain(options)(sharp(input));
|
|
57
|
+
await chain.toFile(output);
|
|
58
|
+
}
|
|
49
59
|
} catch (e) {
|
|
50
60
|
console.error(e);
|
|
51
61
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
|
-
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
5
4
|
import { Img } from '../Img/Img';
|
|
6
5
|
import type { BenefitItemCommonProps, BenefitItemProps } from './BenefitItemProps';
|
|
7
6
|
|
|
@@ -17,13 +16,16 @@ export const BenefitItem = JSX<BenefitGeneralProps>((props) => {
|
|
|
17
16
|
benefitsVersion = 'normal',
|
|
18
17
|
} = props;
|
|
19
18
|
const listItemAlign = description ? 'items-start' : 'items-center';
|
|
20
|
-
const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
|
|
21
19
|
|
|
22
20
|
return (
|
|
23
21
|
<div className={`flex gap-5 ${listItemAlign} ${className}`}>
|
|
24
22
|
{icon ? (
|
|
25
23
|
<div className={getBenefitIconBgStyle(version, benefitsVersion)}>
|
|
26
|
-
<Img
|
|
24
|
+
<Img
|
|
25
|
+
className="w-6 h-6"
|
|
26
|
+
image={{ ...icon, iconVersion: icon.iconVersion || benefitsVersion }}
|
|
27
|
+
asSVG
|
|
28
|
+
/>
|
|
27
29
|
</div>
|
|
28
30
|
) : null}
|
|
29
31
|
<div className="gap-0.5">
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
3
|
+
import { style } from '../../utils/style';
|
|
3
4
|
import { iconStyleMap } from './buttonClassNameConstants';
|
|
4
5
|
import type { ButtonWithIconProps } from './ButtonProps';
|
|
5
6
|
|
|
@@ -11,7 +12,7 @@ export const ButtonInner = JSX<ButtonInnerProps>((props) => {
|
|
|
11
12
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
12
13
|
|
|
13
14
|
return (
|
|
14
|
-
<div className={getButtonStyle(props)}>
|
|
15
|
+
<div className={style(getButtonStyle(props), 'flex gap-2')}>
|
|
15
16
|
{appendLeft ? <div className={iconStyleMap[version]}>{appendLeft}</div> : null}
|
|
16
17
|
{isWithText(props) ? (
|
|
17
18
|
<div>
|
|
@@ -31,10 +32,10 @@ const getButtonStyle = (props: ButtonInnerProps) => {
|
|
|
31
32
|
return '';
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
const withTextStyle =
|
|
35
|
+
const withTextStyle = `${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
|
|
35
36
|
|
|
36
37
|
return [
|
|
37
|
-
'group/btn
|
|
38
|
+
'group/btn items-center justify-center',
|
|
38
39
|
isWithText(props) ? withTextStyle : 'h-12 w-12',
|
|
39
40
|
rounded ? 'rounded-full' : '',
|
|
40
41
|
].join(' ');
|
|
@@ -24,7 +24,8 @@ const renderButton =
|
|
|
24
24
|
(buttonClassName = '') =>
|
|
25
25
|
(button?: ButtonWithIconProps, index?: number) => {
|
|
26
26
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
27
|
-
const
|
|
27
|
+
const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
|
|
28
|
+
const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
|
|
28
29
|
|
|
29
30
|
return text || icon?.icon ? (
|
|
30
31
|
<Button
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
columnsMode?: LinkColumnsMode;
|
|
7
|
-
icon?: Picture;
|
|
8
|
-
}
|
|
9
|
-
export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
doc: LinkDocsItem;
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
9
|
-
iconClassName?: string;
|
|
10
|
-
textClassName?: string;
|
|
11
|
-
suffixClassName?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsVerticalListProps {
|
|
4
|
-
hasBorder?: boolean;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsHorizontalList = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const SwipeListControl_1 = require("../../ui-kit/SwipeListControl/SwipeListControl");
|
|
6
|
-
const LinkDocsListItem_1 = require("./LinkDocsListItem");
|
|
7
|
-
exports.LinkDocsHorizontalList = (0, uni_jsx_1.JSX)(({ hasBorder = true, documents, icon }) => ((0, jsx_runtime_1.jsx)(SwipeListControl_1.SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
|
|
8
|
-
? documents.map((doc, i) => ((0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
|
|
9
|
-
: null })));
|
|
10
|
-
//# sourceMappingURL=LinkDocsHorizontalList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qFAAkF;AAClF,yDAAsD;AAGzC,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,mCAAgB,IAAC,SAAS,EAAC,+BAA+B,YACxD,SAAS,EAAE,MAAM;QAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,uBAAC,mCAAgB,IAEf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,GACS,CACpB,CACF,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
columnsMode?: LinkColumnsMode;
|
|
7
|
-
icon?: Picture;
|
|
8
|
-
}
|
|
9
|
-
export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsList = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const LinkDocsListItem_1 = require("./LinkDocsListItem");
|
|
6
|
-
exports.LinkDocsList = (0, uni_jsx_1.JSX)(({ className, documents, columnsMode = 'double', icon }) => {
|
|
7
|
-
return documents?.length ? ((0, jsx_runtime_1.jsx)("div", { className: className, role: "list", children: documents.map((doc, i) => ((0, jsx_runtime_1.jsx)("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
|
|
8
|
-
});
|
|
9
|
-
//# sourceMappingURL=LinkDocsList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yDAAsD;AASzC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,GAAG,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;IACzD,OAAO,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACzB,gCAAK,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,YACnC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,gCAEE,SAAS,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EACnE,IAAI,EAAC,UAAU,YAEf,uBAAC,mCAAgB,IACf,SAAS,EAAC,iGAAiG,EAC3G,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IARG,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsListItem = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const LinkDocsListItemBase_1 = require("./LinkDocsListItemBase");
|
|
6
|
-
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
|
|
7
|
-
//# sourceMappingURL=LinkDocsListItem.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,0BAA0B,SAAS,EAAE,EAChD,aAAa,EAAC,sBAAsB,EACpC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
doc: LinkDocsItem;
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
9
|
-
iconClassName?: string;
|
|
10
|
-
textClassName?: string;
|
|
11
|
-
suffixClassName?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsListItemBase = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
|
-
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
7
|
-
exports.LinkDocsListItemBase = (0, uni_jsx_1.JSX)(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
|
|
8
|
-
const { text, fileSize, ...linkProps } = doc;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("a", { className: className, role: "link", ...linkProps, children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: iconClassName, image: (0, getIconWithVersion_1.getIconWithVersion)(icon), width: "24", height: "24", asSVG: true })) : null, text ? ((0, jsx_runtime_1.jsxs)("span", { className: textClassName, children: [text, (0, jsx_runtime_1.jsx)("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
|
|
10
|
-
});
|
|
11
|
-
const formatSuffix = (ext, fileSize) => {
|
|
12
|
-
const prefix = ext || fileSize ? ',' : '';
|
|
13
|
-
const extension = ext ? ` ${ext}` : '';
|
|
14
|
-
const size = fileSize ? ` (${fileSize})` : '';
|
|
15
|
-
return prefix + extension + size;
|
|
16
|
-
};
|
|
17
|
-
const getExtFromHref = (href) => {
|
|
18
|
-
if (!href) {
|
|
19
|
-
return '';
|
|
20
|
-
}
|
|
21
|
-
const index = href.lastIndexOf('.');
|
|
22
|
-
return index !== -1 ? href.substring(index + 1) : '';
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=LinkDocsListItemBase.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItemBase.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItemBase.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CAA2C;AAC3C,uEAAoE;AAevD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,+BAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,KAAK,SAAS,aAC/C,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IACF,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAC/B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,CACN,kCAAM,SAAS,EAAE,aAAa,aAC3B,IAAI,EACL,iCAAM,SAAS,EAAE,eAAe,YAC7B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsVerticalListProps {
|
|
4
|
-
hasBorder?: boolean;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsVerticalList = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const LinkDocsListItem_1 = require("./LinkDocsListItem");
|
|
6
|
-
exports.LinkDocsVerticalList = (0, uni_jsx_1.JSX)(({ hasBorder = true, documents, icon }) => {
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
|
|
8
|
-
? documents.map((doc, i) => ((0, jsx_runtime_1.jsx)("div", { role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
|
|
9
|
-
: null }));
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=LinkDocsVerticalList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsVerticalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsVerticalList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yDAAsD;AAQzC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,gCACE,SAAS,EAAE,+CAA+C,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,EAC3F,IAAI,EAAC,MAAM,YAEV,SAAS,EAAE,MAAM;YAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,gCAAqB,IAAI,EAAC,UAAU,YAClC,uBAAC,mCAAgB,IACf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IALM,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.getIconWithVersion = void 0;
|
|
3
|
-
const getIconWithVersion = (icon, version = 'primary') => ({
|
|
4
|
-
...icon,
|
|
5
|
-
iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
|
|
6
|
-
});
|
|
7
|
-
exports.getIconWithVersion = getIconWithVersion;
|
|
8
|
-
//# sourceMappingURL=getIconWithVersion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getIconWithVersion.js","sourceRoot":"","sources":["../../src/utils/getIconWithVersion.ts"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB,GAAG,CAAC,IAAa,EAAE,UAAwB,SAAS,EAAW,EAAE,CAAC,CAAC;IAChG,GAAG,IAAI;IACP,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;CAChF,CAAC,CAAC;AAHU,QAAA,kBAAkB,sBAG5B"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
4
|
-
import { LinkDocsListItem } from './LinkDocsListItem.js';
|
|
5
|
-
export const LinkDocsHorizontalList = JSX(({ hasBorder = true, documents, icon }) => (_jsx(SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
|
|
6
|
-
? documents.map((doc, i) => (_jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
|
|
7
|
-
: null })));
|
|
8
|
-
//# sourceMappingURL=LinkDocsHorizontalList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CACvC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,KAAC,gBAAgB,IAAC,SAAS,EAAC,+BAA+B,YACxD,SAAS,EAAE,MAAM;QAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,KAAC,gBAAgB,IAEf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,GACS,CACpB,CACF,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
columnsMode?: LinkColumnsMode;
|
|
7
|
-
icon?: Picture;
|
|
8
|
-
}
|
|
9
|
-
export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { LinkDocsListItem } from './LinkDocsListItem.js';
|
|
4
|
-
export const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
|
|
5
|
-
return documents?.length ? (_jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (_jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: _jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=LinkDocsList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAStD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,GAAG,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;IACzD,OAAO,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACzB,cAAK,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,YACnC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,cAEE,SAAS,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EACnE,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,IACf,SAAS,EAAC,iGAAiG,EAC3G,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IARG,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { LinkDocsListItemBase } from './LinkDocsListItemBase.js';
|
|
4
|
-
export const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (_jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
|
|
5
|
-
//# sourceMappingURL=LinkDocsListItem.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,KAAC,oBAAoB,IACnB,SAAS,EAAE,0BAA0B,SAAS,EAAE,EAChD,aAAa,EAAC,sBAAsB,EACpC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
doc: LinkDocsItem;
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
9
|
-
iconClassName?: string;
|
|
10
|
-
textClassName?: string;
|
|
11
|
-
suffixClassName?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
|
-
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
5
|
-
export const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
|
|
6
|
-
const { text, fileSize, ...linkProps } = doc;
|
|
7
|
-
return (_jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (_jsx(Img, { className: iconClassName, image: getIconWithVersion(icon), width: "24", height: "24", asSVG: true })) : null, text ? (_jsxs("span", { className: textClassName, children: [text, _jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
|
|
8
|
-
});
|
|
9
|
-
const formatSuffix = (ext, fileSize) => {
|
|
10
|
-
const prefix = ext || fileSize ? ',' : '';
|
|
11
|
-
const extension = ext ? ` ${ext}` : '';
|
|
12
|
-
const size = fileSize ? ` (${fileSize})` : '';
|
|
13
|
-
return prefix + extension + size;
|
|
14
|
-
};
|
|
15
|
-
const getExtFromHref = (href) => {
|
|
16
|
-
if (!href) {
|
|
17
|
-
return '';
|
|
18
|
-
}
|
|
19
|
-
const index = href.lastIndexOf('.');
|
|
20
|
-
return index !== -1 ? href.substring(index + 1) : '';
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=LinkDocsListItemBase.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItemBase.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItemBase.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAepE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,aAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,KAAK,SAAS,aAC/C,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,GAAG,IACF,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAC/B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,CACN,gBAAM,SAAS,EAAE,aAAa,aAC3B,IAAI,EACL,eAAM,SAAS,EAAE,eAAe,YAC7B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsVerticalListProps {
|
|
4
|
-
hasBorder?: boolean;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { LinkDocsListItem } from './LinkDocsListItem.js';
|
|
4
|
-
export const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
|
|
5
|
-
return (_jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
|
|
6
|
-
? documents.map((doc, i) => (_jsx("div", { role: "listitem", children: _jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
|
|
7
|
-
: null }));
|
|
8
|
-
});
|
|
9
|
-
//# sourceMappingURL=LinkDocsVerticalList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsVerticalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsVerticalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQtD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,cACE,SAAS,EAAE,+CAA+C,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,EAC3F,IAAI,EAAC,MAAM,YAEV,SAAS,EAAE,MAAM;YAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,cAAqB,IAAI,EAAC,UAAU,YAClC,KAAC,gBAAgB,IACf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IALM,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getIconWithVersion.js","sourceRoot":"","sources":["../../src/utils/getIconWithVersion.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAa,EAAE,UAAwB,SAAS,EAAW,EAAE,CAAC,CAAC;IAChG,GAAG,IAAI;IACP,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;CAChF,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
columnsMode?: LinkColumnsMode;
|
|
7
|
-
icon?: Picture;
|
|
8
|
-
}
|
|
9
|
-
export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
doc: LinkDocsItem;
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
9
|
-
iconClassName?: string;
|
|
10
|
-
textClassName?: string;
|
|
11
|
-
suffixClassName?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsVerticalListProps {
|
|
4
|
-
hasBorder?: boolean;
|
|
5
|
-
documents?: LinkDocsItem[];
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
8
|
-
export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|