diff --git a/components/ui/Icon.tsx b/components/ui/Icon.tsx index 9da25a6..2f2da9a 100644 --- a/components/ui/Icon.tsx +++ b/components/ui/Icon.tsx @@ -5,6 +5,7 @@ export type AvailableIcons = | "ArrowsPointingOut" | "Anexo" | "Bars3" + | "Calendar" | "Check" | "ChevronLeft" | "ChevronRight" @@ -15,13 +16,17 @@ export type AvailableIcons = | "Diners" | "Discord" | "Discount" + | "Dizziness" | "Download" | "Elo" | "Ecanna" | "Edit" | "Facebook" | "FilterList" + | "Focus" | "Heart" + | "Hungry" + | "Headache" | "Instagram" | "Info" | "QRicon" @@ -33,6 +38,7 @@ export type AvailableIcons = | "Mastercard" | "Message" | "MedCanna" + | "Nausea" | "Phone" | "Profile" | "Pix" @@ -43,6 +49,7 @@ export type AvailableIcons = | "ShoppingCart" | "Secure" | "Star" + | "Sleep" | "Tiktok" | "Drop" | "Trash" diff --git a/components/ui/MedicationEffectsCard.tsx b/components/ui/MedicationEffectsCard.tsx new file mode 100644 index 0000000..c8cddbb --- /dev/null +++ b/components/ui/MedicationEffectsCard.tsx @@ -0,0 +1,53 @@ +import Icon, { AvailableIcons } from "./Icon.tsx"; + +export type AvailableEffects = + | "hunger" + | "sleep" + | "focus" + | "headache" + | "dizziness" + | "nausea"; + +const symbolName: Record = { + "hunger": { + icon: "Hungry", + name: "Fome", + }, + "sleep": { + icon: "Sleep", + name: "Sono", + }, + "focus": { + icon: "Focus", + name: "Foco", + }, + "headache": { + icon: "Headache", + name: "Enxaqueca", + }, + "dizziness": { + icon: "Update", + name: "Tontura", + }, + "nausea": { + icon: "Nausea", + name: "Enjôo", + }, +}; + +interface Props { + id: AvailableEffects; +} + +const MedicationEffectsCard = ({ id }: Props) => { + return ( +
+
+ +
+ {symbolName[id].name} +
+ ); +}; + +export default MedicationEffectsCard; diff --git a/components/ui/PrescriberPatientTreatmentReport.tsx b/components/ui/PrescriberPatientTreatmentReport.tsx new file mode 100644 index 0000000..da2eb73 --- /dev/null +++ b/components/ui/PrescriberPatientTreatmentReport.tsx @@ -0,0 +1,287 @@ +/** + * This component was made to control if user is logged in to access pages + */ +// import type { SectionProps } from "deco/types.ts"; +// import { useUI } from "../../sdk/useUI.ts"; +import { useEffect, useState } from "preact/hooks"; +import { invoke } from "../../runtime.ts"; +import PageWrap from "./PageWrap.tsx"; +import Icon from "./Icon.tsx"; +import { useUI } from "../../sdk/useUI.ts"; +import type { DocListType } from "./MyDocs.tsx"; +import Modal from "./Modal.tsx"; +import { IS_BROWSER } from "$fresh/runtime.ts"; +import type { Patient, Treatment } from "./PrescriberPatients.tsx"; +import MedicationEffectsCard from "./MedicationEffectsCard.tsx"; +import TreatmentCard from "./TreatmentCard.tsx"; +import Chart from "deco-sites/ecannadeco/islands/FreshChart.tsx"; +import { format } from "datetime"; + +export type Address = { + cep: string; + number: string; + complement: string; + addressType: string; +}; + +function PrescriberPatientTreatmentReport() { + const [isLoading, setIsLoading] = useState(false); + const [deleting, setDeleting] = useState(false); + const [isLoadingUsers, setIsLoadingUsers] = useState(false); + const [updating, setUpdating] = useState(false); + const [emailSearch, setEmailSearch] = useState(""); + const [associationName, setAssociationName] = useState(""); + const [associationCnpj, setAssociationCnpj] = useState(""); + const [associationLogo, setAssociationLogo] = useState(""); + const [createType, setCreateType] = useState<"user" | "association">( + "association", + ); + const [limit, setLimit] = useState(); + const [hasNextPage, setHasNextPage] = useState(false); + const [hasPrevPage, setHasPrevPage] = useState(false); + const [page, setPage] = useState(); + const [totalPages, setTotalPages] = useState(); + const [treatment, setTreatment] = useState( + { + updated_at: "2024-05-14T14:29:09.024+00:00", + medication: [{ + name: "CBD 3000mg - Abrapango", + dosage: "3 gotas 2x/ dia", + }, { + name: "THC 50mg - Abrapango", + dosage: "3 gotas 2x/ dia", + }], + entries: [{ + created_at: "2024-05-14T14:29:09.024+00:00", + desiredEffects: [{ + effect: { + name: "Fome", + }, + intensity: 4, + }, { + effect: { + name: "Sono", + }, + intensity: 3, + }], + undesiredEffects: [{ + effect: { + name: "Dor de Cabeça", + }, + intensity: 4, + }, { + effect: { + name: "Tontura", + }, + intensity: 3, + }], + }], + current: true, + prescriber: { + name: "Dra. Endy Lacet", + registryType: "CRO", + registry: "0000000", + }, + patient: { + name: "Célio Marcos", + }, + }, + ); + + return ( + + {isLoading + ? + : ( +
+
+

+ Relatório de Tratamento +

+
+
+
+
+ + 09/05/2024 +
+ a +
+ + 09/05/2024 +
+
+
+
+ +
+
+

+ Efeitos Desejados Relatados +

+
+
+ + + +
+
+ +
+ Histórico dos efeitos +
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+

+ Efeitos Indesejados Relatados +

+
+
+ + +
+
+ +
+ Histórico dos efeitos +
+
+
+ +
+
+ +
+
+
+
+
+
+ )} +
+ ); +} + +export default PrescriberPatientTreatmentReport; diff --git a/components/ui/PrescriberPatients.tsx b/components/ui/PrescriberPatients.tsx index b22c2de..deaebbd 100644 --- a/components/ui/PrescriberPatients.tsx +++ b/components/ui/PrescriberPatients.tsx @@ -24,14 +24,39 @@ export type Address = { addressType: string; }; +export type Entry = { + created_at: string; + desiredEffects: { + effect: { + name: string; + }; + intensity: number; + }[]; + undesiredEffects: { + effect: { + name: string; + }; + intensity: number; + }[]; +}; + export type Treatment = { updated_at: string; - feedback: "positive" | "negative"; + feedback?: "positive" | "negative"; medication: { name: string; dosage: string; }[]; + entries?: Entry[]; current: boolean; + prescriber?: { + name: string; + registryType: string; + registry: string; + }; + patient?: { + name: string; + }; }; export type Patient = { diff --git a/components/ui/TreatmentCard.tsx b/components/ui/TreatmentCard.tsx new file mode 100644 index 0000000..0c92490 --- /dev/null +++ b/components/ui/TreatmentCard.tsx @@ -0,0 +1,85 @@ +import type { Treatment } from "./PrescriberPatients.tsx"; +import Icon from "./Icon.tsx"; + +const timeAgo = (date: Date): string => { + const seconds = Math.floor((Number(new Date()) - +date) / 1000); // Explicitly convert to number + let interval = Math.floor(seconds / 31536000); + + if (interval >= 1) return `${interval}a atrás`; + interval = Math.floor(seconds / 2592000); + if (interval >= 1) return `${interval}m atrás`; + interval = Math.floor(seconds / 86400); + if (interval >= 1) return `${interval}d atrás`; + interval = Math.floor(seconds / 3600); + if (interval >= 1) return `${interval}h atrás`; + interval = Math.floor(seconds / 60); + if (interval >= 1) return `${interval}min atrás`; + return `${Math.floor(seconds)}seg atrás`; +}; + +const TreatmentCard = ({ treatment }: { treatment: Treatment }) => { + return ( +
+
+
+ {treatment.medication.map((m) => { + return ( +
+ +
+ + {m.name} + + + {m.dosage} + +
+
+ ); + })} +
+
+
+ + + {timeAgo( + new Date( + treatment.updated_at, + ), + )} + +
+
+ +
+
+
+ {treatment.patient && ( +
+ Paciente: {treatment.patient.name} +
+ )} +
+ ); +}; + +export default TreatmentCard; diff --git a/deno.json b/deno.json index e65b187..bc15ff8 100644 --- a/deno.json +++ b/deno.json @@ -8,6 +8,7 @@ "deco/": "https://cdn.jsdelivr.net/gh/deco-cx/deco@1.60.25/", "apps/": "https://cdn.jsdelivr.net/gh/deco-cx/apps@0.36.0/", "$fresh/": "https://deno.land/x/fresh@1.6.5/", + "$fresh_charts/": "https://deno.land/x/fresh_charts@0.3.1/", "preact": "https://esm.sh/preact@10.19.2", "preact/": "https://esm.sh/preact@10.19.2/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2", @@ -15,6 +16,7 @@ "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0", "std/": "https://deno.land/std@0.190.0/", "partytown/": "https://cdn.jsdelivr.net/gh/deco-cx/partytown@0.4.8/", + "react-datepicker": "https://esm.sh/react-datepicker@6.9.0", "daisyui": "npm:daisyui@4.6.0" }, "tasks": { diff --git a/fresh.gen.ts b/fresh.gen.ts index 87c0af5..b062692 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -12,6 +12,7 @@ import * as $AddToCartButton_wake from "./islands/AddToCartButton/wake.tsx"; import * as $AdminNewDocModal from "./islands/AdminNewDocModal.tsx"; import * as $AdminOrders from "./islands/AdminOrders.tsx"; import * as $AssociationAdmin from "./islands/AssociationAdmin.tsx"; +import * as $Chart from "./islands/Chart.tsx"; import * as $CheckoutForm from "./islands/CheckoutForm.tsx"; import * as $CheckoutUpsellModal from "./islands/CheckoutUpsellModal.tsx"; import * as $ChoosePlanSignup from "./islands/ChoosePlanSignup.tsx"; @@ -19,6 +20,7 @@ import * as $ConfirmForgotPasswordForm from "./islands/ConfirmForgotPasswordForm import * as $ConfirmSignup from "./islands/ConfirmSignup.tsx"; import * as $EcannaCardPage from "./islands/EcannaCardPage.tsx"; import * as $ForgotPasswordForm from "./islands/ForgotPasswordForm.tsx"; +import * as $FreshChart from "./islands/FreshChart.tsx"; import * as $Header_Buttons from "./islands/Header/Buttons.tsx"; import * as $Header_Cart_linx from "./islands/Header/Cart/linx.tsx"; import * as $Header_Cart_nuvemshop from "./islands/Header/Cart/nuvemshop.tsx"; @@ -37,6 +39,7 @@ import * as $Newsletter from "./islands/Newsletter.tsx"; import * as $OutOfStock from "./islands/OutOfStock.tsx"; import * as $PreSignupUsersModal from "./islands/PreSignupUsersModal.tsx"; import * as $PrescriberPatientTreatment from "./islands/PrescriberPatientTreatment.tsx"; +import * as $PrescriberPatientTreatmentReport from "./islands/PrescriberPatientTreatmentReport.tsx"; import * as $PrescriberPatients from "./islands/PrescriberPatients.tsx"; import * as $PrivatePageControl from "./islands/PrivatePageControl.tsx"; import * as $PrivatePageControlAdmin from "./islands/PrivatePageControlAdmin.tsx"; @@ -72,6 +75,7 @@ const manifest = { "./islands/AdminNewDocModal.tsx": $AdminNewDocModal, "./islands/AdminOrders.tsx": $AdminOrders, "./islands/AssociationAdmin.tsx": $AssociationAdmin, + "./islands/Chart.tsx": $Chart, "./islands/CheckoutForm.tsx": $CheckoutForm, "./islands/CheckoutUpsellModal.tsx": $CheckoutUpsellModal, "./islands/ChoosePlanSignup.tsx": $ChoosePlanSignup, @@ -79,6 +83,7 @@ const manifest = { "./islands/ConfirmSignup.tsx": $ConfirmSignup, "./islands/EcannaCardPage.tsx": $EcannaCardPage, "./islands/ForgotPasswordForm.tsx": $ForgotPasswordForm, + "./islands/FreshChart.tsx": $FreshChart, "./islands/Header/Buttons.tsx": $Header_Buttons, "./islands/Header/Cart/linx.tsx": $Header_Cart_linx, "./islands/Header/Cart/nuvemshop.tsx": $Header_Cart_nuvemshop, @@ -97,6 +102,8 @@ const manifest = { "./islands/OutOfStock.tsx": $OutOfStock, "./islands/PreSignupUsersModal.tsx": $PreSignupUsersModal, "./islands/PrescriberPatientTreatment.tsx": $PrescriberPatientTreatment, + "./islands/PrescriberPatientTreatmentReport.tsx": + $PrescriberPatientTreatmentReport, "./islands/PrescriberPatients.tsx": $PrescriberPatients, "./islands/PrivatePageControl.tsx": $PrivatePageControl, "./islands/PrivatePageControlAdmin.tsx": $PrivatePageControlAdmin, diff --git a/islands/Chart.tsx b/islands/Chart.tsx new file mode 100644 index 0000000..fa905f7 --- /dev/null +++ b/islands/Chart.tsx @@ -0,0 +1,2 @@ +import { Chart } from "$fresh_charts/island.tsx"; +export default Chart; diff --git a/islands/FreshChart.tsx b/islands/FreshChart.tsx new file mode 100644 index 0000000..fa905f7 --- /dev/null +++ b/islands/FreshChart.tsx @@ -0,0 +1,2 @@ +import { Chart } from "$fresh_charts/island.tsx"; +export default Chart; diff --git a/islands/PrescriberPatientTreatmentReport.tsx b/islands/PrescriberPatientTreatmentReport.tsx new file mode 100644 index 0000000..ca060ca --- /dev/null +++ b/islands/PrescriberPatientTreatmentReport.tsx @@ -0,0 +1,9 @@ +import Component from "deco-sites/ecannadeco/components/ui/PrescriberPatientTreatmentReport.tsx"; +// import type { Props } from "../../components/ui/MyInfo.tsx"; + +function Island() { + return ; + // return ; +} + +export default Island; diff --git a/manifest.gen.ts b/manifest.gen.ts index 1d7c929..cbeb046 100644 --- a/manifest.gen.ts +++ b/manifest.gen.ts @@ -92,36 +92,37 @@ import * as $$$$$$47 from "./sections/Miscellaneous/MyAccount.tsx"; import * as $$$$$$48 from "./sections/Miscellaneous/MyDocs.tsx"; import * as $$$$$$49 from "./sections/Miscellaneous/MyInfo.tsx"; import * as $$$$$$50 from "./sections/Miscellaneous/MyOrders.tsx"; -import * as $$$$$$52 from "./sections/Miscellaneous/PrescriberPatients.tsx"; +import * as $$$$$$53 from "./sections/Miscellaneous/PrescriberPatients.tsx"; import * as $$$$$$51 from "./sections/Miscellaneous/PrescriberPatientTreatment.tsx"; -import * as $$$$$$53 from "./sections/Miscellaneous/PrivatePageControl.tsx"; -import * as $$$$$$54 from "./sections/Miscellaneous/PrivatePageControlAdmin.tsx"; -import * as $$$$$$55 from "./sections/Miscellaneous/PublicPageControl.tsx"; -import * as $$$$$$56 from "./sections/Miscellaneous/PublicProfile.tsx"; -import * as $$$$$$57 from "./sections/Miscellaneous/SignIn.tsx"; -import * as $$$$$$58 from "./sections/Miscellaneous/SignInAdmin.tsx"; -import * as $$$$$$59 from "./sections/Miscellaneous/SignInPrescriber.tsx"; -import * as $$$$$$62 from "./sections/Miscellaneous/Signout.tsx"; -import * as $$$$$$60 from "./sections/Miscellaneous/SignUp.tsx"; -import * as $$$$$$61 from "./sections/Miscellaneous/SignUpPrescriber.tsx"; -import * as $$$$$$63 from "./sections/Miscellaneous/Slide.tsx"; -import * as $$$$$$64 from "./sections/Miscellaneous/UserAlerts.tsx"; -import * as $$$$$$65 from "./sections/Miscellaneous/UserAssociatedSignup.tsx"; -import * as $$$$$$66 from "./sections/Newsletter/Newsletter.tsx"; -import * as $$$$$$67 from "./sections/Product/ImageGalleryFrontBack.tsx"; -import * as $$$$$$68 from "./sections/Product/ImageGallerySlider.tsx"; -import * as $$$$$$69 from "./sections/Product/NotFound.tsx"; -import * as $$$$$$70 from "./sections/Product/NotFoundChallenge.tsx"; -import * as $$$$$$71 from "./sections/Product/ProductDetails.tsx"; -import * as $$$$$$72 from "./sections/Product/ProductInfo.tsx"; -import * as $$$$$$73 from "./sections/Product/ProductShelf.tsx"; -import * as $$$$$$74 from "./sections/Product/ProductShelfTabbed.tsx"; -import * as $$$$$$75 from "./sections/Product/SearchResult.tsx"; -import * as $$$$$$76 from "./sections/Product/ShelfWithImage.tsx"; -import * as $$$$$$77 from "./sections/Product/Wishlist.tsx"; -import * as $$$$$$78 from "./sections/Social/InstagramPosts.tsx"; -import * as $$$$$$79 from "./sections/Social/WhatsApp.tsx"; -import * as $$$$$$80 from "./sections/Theme/Theme.tsx"; +import * as $$$$$$52 from "./sections/Miscellaneous/PrescriberPatientTreatmentReport.tsx"; +import * as $$$$$$54 from "./sections/Miscellaneous/PrivatePageControl.tsx"; +import * as $$$$$$55 from "./sections/Miscellaneous/PrivatePageControlAdmin.tsx"; +import * as $$$$$$56 from "./sections/Miscellaneous/PublicPageControl.tsx"; +import * as $$$$$$57 from "./sections/Miscellaneous/PublicProfile.tsx"; +import * as $$$$$$58 from "./sections/Miscellaneous/SignIn.tsx"; +import * as $$$$$$59 from "./sections/Miscellaneous/SignInAdmin.tsx"; +import * as $$$$$$60 from "./sections/Miscellaneous/SignInPrescriber.tsx"; +import * as $$$$$$63 from "./sections/Miscellaneous/Signout.tsx"; +import * as $$$$$$61 from "./sections/Miscellaneous/SignUp.tsx"; +import * as $$$$$$62 from "./sections/Miscellaneous/SignUpPrescriber.tsx"; +import * as $$$$$$64 from "./sections/Miscellaneous/Slide.tsx"; +import * as $$$$$$65 from "./sections/Miscellaneous/UserAlerts.tsx"; +import * as $$$$$$66 from "./sections/Miscellaneous/UserAssociatedSignup.tsx"; +import * as $$$$$$67 from "./sections/Newsletter/Newsletter.tsx"; +import * as $$$$$$68 from "./sections/Product/ImageGalleryFrontBack.tsx"; +import * as $$$$$$69 from "./sections/Product/ImageGallerySlider.tsx"; +import * as $$$$$$70 from "./sections/Product/NotFound.tsx"; +import * as $$$$$$71 from "./sections/Product/NotFoundChallenge.tsx"; +import * as $$$$$$72 from "./sections/Product/ProductDetails.tsx"; +import * as $$$$$$73 from "./sections/Product/ProductInfo.tsx"; +import * as $$$$$$74 from "./sections/Product/ProductShelf.tsx"; +import * as $$$$$$75 from "./sections/Product/ProductShelfTabbed.tsx"; +import * as $$$$$$76 from "./sections/Product/SearchResult.tsx"; +import * as $$$$$$77 from "./sections/Product/ShelfWithImage.tsx"; +import * as $$$$$$78 from "./sections/Product/Wishlist.tsx"; +import * as $$$$$$79 from "./sections/Social/InstagramPosts.tsx"; +import * as $$$$$$80 from "./sections/Social/WhatsApp.tsx"; +import * as $$$$$$81 from "./sections/Theme/Theme.tsx"; const manifest = { "loaders": { @@ -189,44 +190,46 @@ const manifest = { "deco-sites/ecannadeco/sections/Miscellaneous/MyInfo.tsx": $$$$$$49, "deco-sites/ecannadeco/sections/Miscellaneous/MyOrders.tsx": $$$$$$50, "deco-sites/ecannadeco/sections/Miscellaneous/PrescriberPatients.tsx": - $$$$$$52, + $$$$$$53, "deco-sites/ecannadeco/sections/Miscellaneous/PrescriberPatientTreatment.tsx": $$$$$$51, + "deco-sites/ecannadeco/sections/Miscellaneous/PrescriberPatientTreatmentReport.tsx": + $$$$$$52, "deco-sites/ecannadeco/sections/Miscellaneous/PrivatePageControl.tsx": - $$$$$$53, - "deco-sites/ecannadeco/sections/Miscellaneous/PrivatePageControlAdmin.tsx": $$$$$$54, - "deco-sites/ecannadeco/sections/Miscellaneous/PublicPageControl.tsx": + "deco-sites/ecannadeco/sections/Miscellaneous/PrivatePageControlAdmin.tsx": $$$$$$55, - "deco-sites/ecannadeco/sections/Miscellaneous/PublicProfile.tsx": $$$$$$56, - "deco-sites/ecannadeco/sections/Miscellaneous/SignIn.tsx": $$$$$$57, - "deco-sites/ecannadeco/sections/Miscellaneous/SignInAdmin.tsx": $$$$$$58, + "deco-sites/ecannadeco/sections/Miscellaneous/PublicPageControl.tsx": + $$$$$$56, + "deco-sites/ecannadeco/sections/Miscellaneous/PublicProfile.tsx": $$$$$$57, + "deco-sites/ecannadeco/sections/Miscellaneous/SignIn.tsx": $$$$$$58, + "deco-sites/ecannadeco/sections/Miscellaneous/SignInAdmin.tsx": $$$$$$59, "deco-sites/ecannadeco/sections/Miscellaneous/SignInPrescriber.tsx": - $$$$$$59, - "deco-sites/ecannadeco/sections/Miscellaneous/Signout.tsx": $$$$$$62, - "deco-sites/ecannadeco/sections/Miscellaneous/SignUp.tsx": $$$$$$60, + $$$$$$60, + "deco-sites/ecannadeco/sections/Miscellaneous/Signout.tsx": $$$$$$63, + "deco-sites/ecannadeco/sections/Miscellaneous/SignUp.tsx": $$$$$$61, "deco-sites/ecannadeco/sections/Miscellaneous/SignUpPrescriber.tsx": - $$$$$$61, - "deco-sites/ecannadeco/sections/Miscellaneous/Slide.tsx": $$$$$$63, - "deco-sites/ecannadeco/sections/Miscellaneous/UserAlerts.tsx": $$$$$$64, + $$$$$$62, + "deco-sites/ecannadeco/sections/Miscellaneous/Slide.tsx": $$$$$$64, + "deco-sites/ecannadeco/sections/Miscellaneous/UserAlerts.tsx": $$$$$$65, "deco-sites/ecannadeco/sections/Miscellaneous/UserAssociatedSignup.tsx": - $$$$$$65, - "deco-sites/ecannadeco/sections/Newsletter/Newsletter.tsx": $$$$$$66, + $$$$$$66, + "deco-sites/ecannadeco/sections/Newsletter/Newsletter.tsx": $$$$$$67, "deco-sites/ecannadeco/sections/Product/ImageGalleryFrontBack.tsx": - $$$$$$67, - "deco-sites/ecannadeco/sections/Product/ImageGallerySlider.tsx": $$$$$$68, - "deco-sites/ecannadeco/sections/Product/NotFound.tsx": $$$$$$69, - "deco-sites/ecannadeco/sections/Product/NotFoundChallenge.tsx": $$$$$$70, - "deco-sites/ecannadeco/sections/Product/ProductDetails.tsx": $$$$$$71, - "deco-sites/ecannadeco/sections/Product/ProductInfo.tsx": $$$$$$72, - "deco-sites/ecannadeco/sections/Product/ProductShelf.tsx": $$$$$$73, - "deco-sites/ecannadeco/sections/Product/ProductShelfTabbed.tsx": $$$$$$74, - "deco-sites/ecannadeco/sections/Product/SearchResult.tsx": $$$$$$75, - "deco-sites/ecannadeco/sections/Product/ShelfWithImage.tsx": $$$$$$76, - "deco-sites/ecannadeco/sections/Product/Wishlist.tsx": $$$$$$77, - "deco-sites/ecannadeco/sections/Social/InstagramPosts.tsx": $$$$$$78, - "deco-sites/ecannadeco/sections/Social/WhatsApp.tsx": $$$$$$79, - "deco-sites/ecannadeco/sections/Theme/Theme.tsx": $$$$$$80, + $$$$$$68, + "deco-sites/ecannadeco/sections/Product/ImageGallerySlider.tsx": $$$$$$69, + "deco-sites/ecannadeco/sections/Product/NotFound.tsx": $$$$$$70, + "deco-sites/ecannadeco/sections/Product/NotFoundChallenge.tsx": $$$$$$71, + "deco-sites/ecannadeco/sections/Product/ProductDetails.tsx": $$$$$$72, + "deco-sites/ecannadeco/sections/Product/ProductInfo.tsx": $$$$$$73, + "deco-sites/ecannadeco/sections/Product/ProductShelf.tsx": $$$$$$74, + "deco-sites/ecannadeco/sections/Product/ProductShelfTabbed.tsx": $$$$$$75, + "deco-sites/ecannadeco/sections/Product/SearchResult.tsx": $$$$$$76, + "deco-sites/ecannadeco/sections/Product/ShelfWithImage.tsx": $$$$$$77, + "deco-sites/ecannadeco/sections/Product/Wishlist.tsx": $$$$$$78, + "deco-sites/ecannadeco/sections/Social/InstagramPosts.tsx": $$$$$$79, + "deco-sites/ecannadeco/sections/Social/WhatsApp.tsx": $$$$$$80, + "deco-sites/ecannadeco/sections/Theme/Theme.tsx": $$$$$$81, }, "actions": { "deco-sites/ecannadeco/actions/adminGetAssociation.ts": $$$$$$$$$0, diff --git a/sections/Miscellaneous/PrescriberPatientTreatmentReport.tsx b/sections/Miscellaneous/PrescriberPatientTreatmentReport.tsx new file mode 100644 index 0000000..cf7d6f2 --- /dev/null +++ b/sections/Miscellaneous/PrescriberPatientTreatmentReport.tsx @@ -0,0 +1 @@ +export { default } from "../../islands/PrescriberPatientTreatmentReport.tsx"; diff --git a/static/adminIcons.ts b/static/adminIcons.ts index 70f23dc..82c5930 100644 --- a/static/adminIcons.ts +++ b/static/adminIcons.ts @@ -99,7 +99,7 @@ export const share = ` `; -export const AvailableIcons = { ChevronLeft, ChevronRight, ChevronUp, ChevronDown, QuestionMarkCircle, User, ShoppingCart, Bars3, Heart, MagnifyingGlass, XMark, Plus, Minus, MapPin, Phone, Elos, Mastercards, Visas, Pixs, Instagram, Truck, Discount, Return, CreditCards, Deco, Discord, FilterList, Trash, WhatsApp, ArrowsPointingOut, Star, Ruler, Message, Close, Zoom, Twitter, Facebook, Linkedin, Tiktok, Elo, Diners, Mastercard, Pix, Visa, Alert, AlertInfo, AlertSuccess, AlertWarning, AlertError, share }; + // Icons for ButtonGroup widget @@ -161,3 +161,35 @@ export const Lowercase = ` `; +export const Hungry = ` + + + + + `; + +export const Headache = ` + + + `; + +export const Nausea = ` + + + `; + +export const Sleep = ` + + + + + + + + + + + + `; + +export const AvailableIcons = { ChevronLeft, ChevronRight, ChevronUp, ChevronDown, QuestionMarkCircle, User, ShoppingCart, Bars3, Heart, MagnifyingGlass, XMark, Plus, Minus, MapPin, Phone, Elos, Mastercards, Visas, Pixs, Instagram, Truck, Discount, Return, CreditCards, Deco, Discord, FilterList, Trash, WhatsApp, ArrowsPointingOut, Star, Ruler, Message, Close, Zoom, Twitter, Facebook, Linkedin, Tiktok, Elo, Diners, Mastercard, Pix, Visa, Alert, AlertInfo, AlertSuccess, AlertWarning, AlertError, share, Left, Center, Right, SideToSide, Default, AlignJustified, AlignLeft, AlignCenter, AlignRight, Uppercase, Lettercase, Lowercase, Hungry, Headache, Nausea, Sleep }; \ No newline at end of file diff --git a/static/sprites.svg b/static/sprites.svg index dbc5e12..2322cd8 100644 --- a/static/sprites.svg +++ b/static/sprites.svg @@ -1,4 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +