UNPKG

@claudebernard/search-bar-element

Version:

An element providing some custom stuff.

1,114 lines 256 kB
{ "schemaVersion": "1.0.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "src/index.ts", "declarations": [], "exports": [ { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/search-bar/search-input/search-input" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/search-bar/search-item-result/search-item-result" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/search-bar/search-categories/search-categories" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/search-bar/search-bar" } } ] }, { "kind": "javascript-module", "path": "src/shared/enums.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/shared/tracecontext.ts", "declarations": [ { "kind": "function", "name": "makeTraceState", "return": { "type": { "text": "string" } }, "parameters": [ { "name": "state", "type": { "text": "{ [key: string]: string }" } } ] }, { "kind": "function", "name": "defaultTraceState", "return": { "type": { "text": "string" } } }, { "kind": "function", "name": "makeTraceParent", "return": { "type": { "text": "Traceparent" } }, "parameters": [ { "name": "sampled", "optional": true, "type": { "text": "boolean" } } ] } ], "exports": [ { "kind": "js", "name": "makeTraceState", "declaration": { "name": "makeTraceState", "module": "src/shared/tracecontext.ts" } }, { "kind": "js", "name": "defaultTraceState", "declaration": { "name": "defaultTraceState", "module": "src/shared/tracecontext.ts" } }, { "kind": "js", "name": "makeTraceParent", "declaration": { "name": "makeTraceParent", "module": "src/shared/tracecontext.ts" } } ] }, { "kind": "javascript-module", "path": "src/search-bar/properties.interface.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/search-bar/search-bar.stories.ts", "declarations": [ { "kind": "variable", "name": "meta", "type": { "text": "WebComponentsMeta<any, any>" } }, { "kind": "variable", "name": "Base", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithHighlight", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithTypeCategories", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithPictograms", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "ShortText", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "ShortTooltipText", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "LaboratoriesCategoryPreSelected", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "Only2CategoriesDisplayed", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "With10ResultsDisplayed", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithAllConfigOn", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithAllTrueFilters", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "OneCategoryNoDisplayed", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "NoCategoryDisplayed", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithRelevancyOrder", "type": { "text": "WebComponentsStory<any, any>" } } ], "exports": [ { "kind": "js", "name": "default", "declaration": { "name": "meta", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "Base", "declaration": { "name": "Base", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "WithHighlight", "declaration": { "name": "WithHighlight", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "WithTypeCategories", "declaration": { "name": "WithTypeCategories", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "WithPictograms", "declaration": { "name": "WithPictograms", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "ShortText", "declaration": { "name": "ShortText", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "ShortTooltipText", "declaration": { "name": "ShortTooltipText", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "LaboratoriesCategoryPreSelected", "declaration": { "name": "LaboratoriesCategoryPreSelected", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "Only2CategoriesDisplayed", "declaration": { "name": "Only2CategoriesDisplayed", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "With10ResultsDisplayed", "declaration": { "name": "With10ResultsDisplayed", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "WithAllConfigOn", "declaration": { "name": "WithAllConfigOn", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "WithAllTrueFilters", "declaration": { "name": "WithAllTrueFilters", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "OneCategoryNoDisplayed", "declaration": { "name": "OneCategoryNoDisplayed", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "NoCategoryDisplayed", "declaration": { "name": "NoCategoryDisplayed", "module": "src/search-bar/search-bar.stories.ts" } }, { "kind": "js", "name": "WithRelevancyOrder", "declaration": { "name": "WithRelevancyOrder", "module": "src/search-bar/search-bar.stories.ts" } } ] }, { "kind": "javascript-module", "path": "src/search-bar/search-bar.ts", "declarations": [ { "kind": "variable", "name": "{ setLocale }" }, { "kind": "class", "description": "BCB search element.", "name": "SearchBar", "members": [ { "kind": "field", "name": "language", "type": { "text": "string" }, "default": "\"fr-FR\"", "attribute": "language" }, { "kind": "field", "name": "apiUrl", "type": { "text": "string" }, "default": "\"https://api.claudebernard.fr/search\"", "attribute": "api-url" }, { "kind": "field", "name": "apiKey", "type": { "text": "string | undefined" }, "attribute": "api-key" }, { "kind": "field", "name": "placeholder", "type": { "text": "string" }, "default": "\"Médicaments, molécules, produits de parapharmacie, laboratoires...\"", "attribute": "placeholder" }, { "kind": "field", "name": "resultConfig", "type": { "text": "ResultConfig" }, "default": "{ highlight: false, displayCategoriesLabel: false, displayPictograms: false, filters: defaultFilters, formattingTextShort: false, formattingTooltipTextShort: false, numberResultsDisplayed: 50, sponsorOrdering: false, orderByRelevancy: false, }", "attribute": "result-config" }, { "kind": "field", "name": "preselectedCategory", "type": { "text": "ECategories" }, "attribute": "preselected-category" }, { "kind": "field", "name": "listCategoriesDisplayed", "type": { "text": "ECategories[]" }, "default": "[ ECategories.allCategories, ECategories.products, ECategories.companies, ECategories.molecules, ECategories.indications, ECategories.atcclass, ECategories.commonNames, ECategories.genericAccessoriesGroups, ]", "attribute": "list-categories-displayed" }, { "kind": "field", "name": "autoFocus", "type": { "text": "boolean" }, "default": "false", "attribute": "auto-focus" }, { "kind": "field", "name": "allResult", "type": { "text": "ProductBean[]" }, "privacy": "private", "default": "[]" }, { "kind": "field", "name": "allResultPerCategories", "type": { "text": "SearchFiltersBean | null" }, "privacy": "private", "default": "null" }, { "kind": "field", "name": "searchRequestBody", "type": { "text": "SearchRequestBean" }, "privacy": "private", "default": "defaultRequestBody" }, { "kind": "field", "name": "selectedCategory", "type": { "text": "ECategories" }, "privacy": "private" }, { "kind": "field", "name": "isScrollBarLoaded", "type": { "text": "boolean" }, "privacy": "private", "default": "false" }, { "kind": "field", "name": "isFocused", "type": { "text": "boolean" }, "privacy": "private", "default": "false" }, { "kind": "field", "name": "itemResultContainerRef", "type": { "text": "Ref<HTMLInputElement>" }, "privacy": "private" }, { "kind": "field", "name": "categoriesContainerRef", "type": { "text": "Ref<HTMLDivElement>" }, "privacy": "private" }, { "kind": "field", "name": "searchContainerRef", "type": { "text": "Ref<HTMLDivElement>" }, "privacy": "private" }, { "kind": "field", "name": "currentSearchRequestId", "type": { "text": "number" }, "privacy": "private", "default": "0" }, { "kind": "field", "name": "keyboardSectionIndex", "type": { "text": "number" }, "privacy": "private", "default": "0" }, { "kind": "field", "name": "keyboardCategoryIndex", "type": { "text": "number" }, "privacy": "private", "default": "0" }, { "kind": "field", "name": "keyboardResultIndex", "type": { "text": "number" }, "privacy": "private", "default": "0" }, { "kind": "method", "name": "dispatchEvent", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "event", "type": { "text": "Event" } } ] }, { "kind": "method", "name": "focus", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "options", "optional": true, "type": { "text": "FocusOptions" } } ] }, { "kind": "field", "name": "handleOutsideClick", "privacy": "private" }, { "kind": "field", "name": "handleEscapeKey", "privacy": "private" }, { "kind": "method", "name": "renderResultComponents", "privacy": "private" }, { "kind": "method", "name": "renderItemResult", "privacy": "private" }, { "kind": "method", "name": "handleScroll", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "Event" } } ] }, { "kind": "field", "name": "handleGlobalKeyDown", "privacy": "private" }, { "kind": "method", "name": "handleTabNavigation", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "event", "type": { "text": "KeyboardEvent" } } ] }, { "kind": "method", "name": "handleArrowNavigation", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "event", "type": { "text": "KeyboardEvent" } } ] }, { "kind": "method", "name": "handleArrowInInput", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "isDown", "type": { "text": "boolean" } } ] }, { "kind": "method", "name": "handleArrowInCategories", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "isDown", "type": { "text": "boolean" } } ] }, { "kind": "method", "name": "handleArrowInResults", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "isDown", "type": { "text": "boolean" } } ] }, { "kind": "method", "name": "handleEnterKey", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "applySectionFocus", "privacy": "private" }, { "kind": "method", "name": "getCategoriesElements", "privacy": "private", "return": { "type": { "text": "HTMLElement[]" } } }, { "kind": "method", "name": "getResultElements", "privacy": "private", "return": { "type": { "text": "HTMLElement[]" } } }, { "kind": "method", "name": "clearKeyboardFocusVisuals", "privacy": "private" }, { "kind": "method", "name": "applyCategoryFocus", "privacy": "private" }, { "kind": "method", "name": "applyResultFocus", "privacy": "private" }, { "kind": "method", "name": "updateSearch", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "convertProductsToEmittedData", "privacy": "private", "return": { "type": { "text": "emittedData[]" } }, "parameters": [ { "name": "products", "type": { "text": "ProductBean | ProductBean[]" } } ] }, { "kind": "method", "name": "convertProductsToEnterKeyEmittedData", "privacy": "private", "return": { "type": { "text": "enterKeyEmittedData" } }, "parameters": [ { "name": "products", "type": { "text": "ProductBean[]" } } ] }, { "kind": "method", "name": "isClicked", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "emitItemSelection", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "product", "type": { "text": "ProductBean" } } ] }, { "kind": "method", "name": "emitEnterKeyPress", "privacy": "private", "return": { "type": { "text": "Promise<void>" } } }, { "kind": "method", "name": "resetResultPerCategories", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "countNumCategories", "privacy": "private", "return": { "type": { "text": "number" } }, "parameters": [ { "name": "categories", "type": { "text": "ECategories" } } ] }, { "kind": "method", "name": "handleChangeCategories", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "category", "type": { "text": "ECategories" } } ] }, { "kind": "method", "name": "searchInput", "privacy": "private", "parameters": [ { "name": "requestId", "type": { "text": "number" } } ] }, { "kind": "method", "name": "searchInputNumberCategories", "privacy": "private", "parameters": [ { "name": "requestId", "type": { "text": "number" } } ] } ], "events": [ { "name": "item-selection", "type": { "text": "CustomEvent" } }, { "name": "enter-key-pressed", "type": { "text": "CustomEvent" } }, { "name": "searching", "type": { "text": "CustomEvent" } } ], "attributes": [ { "name": "language", "type": { "text": "string" }, "default": "\"fr-FR\"", "fieldName": "language" }, { "name": "api-url", "type": { "text": "string" }, "default": "\"https://api.claudebernard.fr/search\"", "fieldName": "apiUrl" }, { "name": "api-key", "type": { "text": "string | undefined" }, "fieldName": "apiKey" }, { "name": "placeholder", "type": { "text": "string" }, "default": "\"Médicaments, molécules, produits de parapharmacie, laboratoires...\"", "fieldName": "placeholder" }, { "name": "result-config", "type": { "text": "ResultConfig" }, "default": "{ highlight: false, displayCategoriesLabel: false, displayPictograms: false, filters: defaultFilters, formattingTextShort: false, formattingTooltipTextShort: false, numberResultsDisplayed: 50, sponsorOrdering: false, orderByRelevancy: false, }", "fieldName": "resultConfig" }, { "name": "preselected-category", "type": { "text": "ECategories" }, "fieldName": "preselectedCategory" }, { "name": "list-categories-displayed", "type": { "text": "ECategories[]" }, "default": "[ ECategories.allCategories, ECategories.products, ECategories.companies, ECategories.molecules, ECategories.indications, ECategories.atcclass, ECategories.commonNames, ECategories.genericAccessoriesGroups, ]", "fieldName": "listCategoriesDisplayed" }, { "name": "auto-focus", "type": { "text": "boolean" }, "default": "false", "fieldName": "autoFocus" } ], "mixins": [ { "name": "SignalWatcher", "package": "@lit-labs/signals" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-search-bar", "customElement": true } ], "exports": [ { "kind": "js", "name": "ECategories", "declaration": { "name": "ECategories", "module": "@shared/enums" } }, { "kind": "js", "name": "{ setLocale }", "declaration": { "name": "{ setLocale }", "module": "src/search-bar/search-bar.ts" } }, { "kind": "js", "name": "SearchBar", "declaration": { "name": "SearchBar", "module": "src/search-bar/search-bar.ts" } }, { "kind": "custom-element-definition", "name": "bcb-search-bar", "declaration": { "name": "SearchBar", "module": "src/search-bar/search-bar.ts" } } ] }, { "kind": "javascript-module", "path": "src/test/api-results-mock.ts", "declarations": [ { "kind": "variable", "name": "categoriesRequestResponseWithDeletedProducts", "type": { "text": "SearchResponseBean" }, "default": "{ \"filters\": { \"available\": [ { \"type\": \"categorie\", \"field\": \"libelleType.keyword\", \"label\": \"categorie\", \"values\": [ { \"value\": \"Pr&#233;sentation\", \"label\": \"Pr&#233;sentation\", \"count\": 3, \"exclude\": 0 } ], \"totalCount\": 3 } ], \"active\": [] }, \"search\": null }" }, { "kind": "variable", "name": "categoriesRequestResponseWithOnlyOneProduct", "type": { "text": "SearchResponseBean" }, "default": "{ \"filters\": { \"available\": [ { \"type\": \"categorie\", \"field\": \"libelleType.keyword\", \"label\": \"categorie\", \"values\": [ { \"value\": \"Pr&#233;sentation\", \"label\": \"Pr&#233;sentation\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, ], \"active\": [], }, \"search\": undefined, }" }, { "kind": "variable", "name": "categoriesRequestResponseWithTwoProducts", "type": { "text": "SearchResponseBean" }, "default": "{ \"filters\": { \"available\": [ { \"type\": \"categorie\", \"field\": \"libelleType.keyword\", \"label\": \"categorie\", \"values\": [ { \"value\": \"Pr&#233;sentation\", \"label\": \"Pr&#233;sentation\", \"count\": 2, \"exclude\": 0, }, ], \"totalCount\": 2, }, ], \"active\": [], }, \"search\": undefined, }" }, { "kind": "variable", "name": "categoriesRequestResponseWithManyProducts", "type": { "text": "SearchResponseBean" }, "default": "{ \"filters\": { \"available\": [ { \"type\": \"categorie\", \"field\": \"libelleType.keyword\", \"label\": \"categorie\", \"values\": [ { \"value\": \"Pr&#233;sentation\", \"label\": \"Pr&#233;sentation\", \"count\": 25, \"exclude\": 0 }, { \"value\": \"Pr&#233;sentation Hosp\", \"label\": \"Pr&#233;sentation Hosp\", \"count\": 7, \"exclude\": 0 }, { \"value\": \"Gamme\", \"label\": \"Gamme\", \"count\": 5, \"exclude\": 0 }, { \"value\": \"Marque\", \"label\": \"Marque\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 38 } ], \"active\": [] }, \"search\": null }" }, { "kind": "variable", "name": "resultsRequestResponseWithOnlyOneProduct", "type": { "text": "SearchResponseBean" }, "default": "{ \"filters\": { \"available\": [ { \"type\": \"terrains\", \"field\": \"attributsSegmentation.terrains.libelle.keyword\", \"label\": \"Terrains\", \"values\": [ { \"value\": \"Adulte\", \"label\": \"Adulte\", \"count\": 1, \"exclude\": 0, }, { \"value\": \"Sujet &#226;g&#233;\", \"label\": \"Sujet &#226;g&#233;\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 2, }, { \"type\": \"laboratoire\", \"field\": \"laboratoires.laboratoireExploitant.libelleLaboratoire.keyword\", \"label\": \"Laboratoires\", \"values\": [ { \"value\": \"PIERRE FABRE MEDICAMENT\", \"label\": \"PIERRE FABRE MEDICAMENT\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"supprime\", \"field\": \"flags.supprime\", \"label\": \"Statut\", \"values\": [ { \"value\": \"0\", \"label\": \"Commercialisé\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"ci\", \"field\": \"motsClefs.motsClefsCI.libelleMotClefCIHtml.keyword\", \"label\": \"Contre indications\", \"values\": [ { \"value\": \"Allaitement\", \"label\": \"Allaitement\", \"count\": 1, \"exclude\": 0, }, { \"value\": \"Asthmatique\", \"label\": \"Asthmatique\", \"count\": 1, \"exclude\": 0, }, { \"value\": \"Insuffisance respiratoire\", \"label\": \"Insuffisance respiratoire\", \"count\": 1, \"exclude\": 0, }, { \"value\": \"M&#233;taboliseur ultrarapide du CYP2D6\", \"label\": \"M&#233;taboliseur ultrarapide du CYP2D6\", \"count\": 1, \"exclude\": 0, }, { \"value\": \"Patient de moins de 12 ans\", \"label\": \"Patient de moins de 12 ans\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 5, }, { \"type\": \"composant\", \"field\": \"composition.principesActifs.libelleComposantPere.keyword\", \"label\": \"Composants\", \"values\": [ { \"value\": \"Cod&#233;ine\", \"label\": \"Cod&#233;ine\", \"count\": 1, \"exclude\": 0, }, { \"value\": \"Erysimum\", \"label\": \"Erysimum\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 2, }, { \"type\": \"statutsSegmentation\", \"field\": \"infoProduit.statutSegmentationHtml.keyword\", \"label\": \"Statuts segmentation\", \"values\": [ { \"value\": \"M&eacute;dicament\", \"label\": \"M&eacute;dicament\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"autres\", \"field\": \"attributsSegmentation.autres.libelle.keyword\", \"label\": \"Autres attributs segmentation\", \"values\": [ { \"value\": \"Hors pilulier\", \"label\": \"Hors pilulier\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"voies\", \"field\": \"listeVoiesAdm.voieAdministration.keyword\", \"label\": \"Voies d'administration\", \"values\": [ { \"value\": \"orale\", \"label\": \"orale\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"marque\", \"field\": \"infoProduit.nomMarqueHtml.keyword\", \"label\": \"Marques\", \"values\": [ { \"value\": \"POLERY\", \"label\": \"POLERY\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"hospitalier\", \"field\": \"flags.hospitalier\", \"label\": \"Hospitalier\", \"values\": [ { \"value\": \"0\", \"label\": \"Non\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"gamme\", \"field\": \"infoProduit.nomGammeHtml.keyword\", \"label\": \"Gammes\", \"values\": [ { \"value\": \"Adulte\", \"label\": \"Adulte\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"type\", \"field\": \"type\", \"label\": \"Type\", \"values\": [ { \"value\": \"1\", \"label\": \"Médicament\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"indication\", \"field\": \"motsClefs.motsClefsInd.libelleMotClefIndHtml.keyword\", \"label\": \"Indications\", \"values\": [ { \"value\": \"Toux non productive\", \"label\": \"Toux non productive\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"dopant\", \"field\": \"flags.dopant\", \"label\": \"Dopant\", \"values\": [ { \"value\": \"0\", \"label\": \"Non\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, { \"type\": \"circuitsDeDistribution\", \"field\": \"attributsSegmentation.circuitDeDistribution.libelle.keyword\", \"label\": \"Circuits de distribution\", \"values\": [ { \"value\": \"Pharmacie\", \"label\": \"Pharmacie\", \"count\": 1, \"exclude\": 0, }, ], \"totalCount\": 1, }, ], \"active\": [], }, \"search\": { \"content\": [ { \"code\": \"40525\", \"productId\": 40525, \"type\": 1, \"labelHtml\": \"POLERY ADULTES SANS SUCRE, sirop, bo&icirc;te de 1 flacon (+ gobelet doseur) de 200 ml\", \"code13\": \"3400939845869\", \"deletedDate\": \"\", \"deleted\": false, \"labels\": { \"typeLabel\": \"Pr&#233;sentation\", \"label\": \"POLERY ADULTES SANS SUCRE. sirop. boite de 1 flacon (+ gobelet doseur) de 200 ml\", \"shortLabel\": \"POLERY AD SP S S 200ML\", \"shortLabelHtml\": \"POLERY AD SP S/S 200ML\", \"longLabel\": \"POLERY ADULTES SANS SUCRE. sirop. boite de 1 flacon (+ gobelet doseur) de 200 ml\", \"longLabelHtml\": \"POLERY ADULTES SANS SUCRE, sirop, bo&icirc;te de 1 flacon (+ gobelet doseur) de 200 ml\", \"searchLabel\": \"POLERY ADULTES SANS SUCRE. SIROP. BOITE DE 1 FLACON (+ GOBELET DOSEUR) DE 200 ML POLERY ADULTES SANS SUCRE. SIROP. BOITE DE 1 FLACON (+ GOBELET DOSEUR) DE 200 ML POLERY AD SP S S 200ML POLERY AD. S SUC SIR FL200ML CODEINE ERYSIMUM* POLERYADULTESSANSSUCRE.SIROP.BOITEDE1FLACON(+GOBELETDOSEUR)DE200MLPOLERYADULTESSANSSUCRE.SIROP.BOITEDE1FLACON(+GOBELETDOSEUR)DE200MLPOLERYADSPSS200MLPOLERYAD.SSUCSIRFL200MLCODEINEERYSIMUM* POLERY ADULTES SANS SUCRE. SIROP. BOITE DE 1 FLACON (+ GOBELET DOSEUR) DE 200 ML POLERY ADULTES SANS SUCRE. SIROP. BOITE DE 1 FLACON (+ GOBELET DOSEUR) DE 200 ML POLERY AD SP S S 200ML POLERY AD. S SUC SIR FL200ML CODEINE ERYSIMUM* Adulte Sujet_age Hors_pilulier\", }, \"properties\": { \"thumbnail\": \"https://documents.resip.fr/vignettes/40525_vign.jpg\", \"productName\": \"POLERY ADULTES SANS SUCRE\", \"productDosage\": \"\", \"galenicFormCode\": \"BB01\", \"galenicFormLabel\": \"Sirop\", \"galenicFormLabelHtml\": undefined, \"aspect\": \" A LIQUIDE SIROP MARRON JAUNE BRUN CLAIR\", \"inFacilityFormulary\": false, \"codes\": { \"cip7\": \"3984586\", \"cip13\": \"3400939845869\", \"cip13Referent\": \"3400939845869\", \"ucd7\": \"9362325\", \"ucd13\": \"3400893623251\", \"cis\": \"69592294\", \"code13Referent\": \"3400939845869\", \"ean13\": [], }, \"flags\": { \"doping\": 0, \"driveWarning\": \"1\", \"narcotic\": 1, \"crushable\": -1, \"referent\": 0, \"generic\": 0, \"biosimilar\": 0, \"hospitalDelivery\": 0, \"internal\": 1, \"medicalDevice\": 0, \"homeo\": 0, \"exactcureSimulable\": 1, \"pediatrics\": 0, \"hybrid\": 0, \"extendedFlags\": { \"bloodDerivative\": 0, \"anticoagulant\": 0, \"vaccin\": 0, \"soluteDilution\": 0, \"emergencyContraceptive\": 0, \"minorContraceptive\": 0, \"fridge\": 0, \"humanAntibiotic\": 0, \"veterinaryAntibiotic\": 0, \"veterinaryPrescription\": 0, \"deconditionning\": 0, \"seasonalFluVaccine\": 0, \"ghs\": 1, \"horsGhs\": 0, \"infertilityTreatment\": 0, \"mindalteringSubstance\": 0, \"testReagent\": 0, \"firstAgeMilk\": 0, \"abortionDrug\": 0, \"mte\": 0, \"tfr\": 0, \"biosimilarReferent\": 0, \"freezer\": 0, \"reinforcedMonitoring\": 0, \"t2a\": 0, \"communityApproval\": 1, \"drugException\": 0, \"hybridReferent\": 0, \"pregnancyPictogram\": 0, }, }, \"segmentationAttributes\": undefined, \"excipientsWithKnowEffects\": [ { \"code\": \"48\", \"label\": \"Sodium benzoate\", \"parentCode\": \"48\", }, { \"code\": \"17582\", \"label\": \"Methyle parahydroxybenzoate\", \"parentCode\": \"78\", }, { \"code\": \"7358\", \"label\": \"Ethanol\", \"parentCode\": \"235\", }, ], \"atcClassesLevel2\": [ { \"code\": \"R05\", \"label\": \"M&#233;dicaments du rhume et de la toux\", }, ], \"intakeUnits\": [ { \"order\": 1, \"code\": 776, \"labelHtml\": \"gobelet-doseur de 15 ml\", \"pluralLabelHtml\": \"gobelets-doseur de 15 ml\", \"shortLabelHtml\": \"gobelet 15 ml\", \"dispensationNumber\": \"0\", \"distributionNumber\": \"0\", \"intakeUnitNumber\": \"15,0000000000\", \"round\": 2, \"throwTheRest\": 0, }, { \"order\": 2, \"code\": 27, \"labelHtml\": \"ml\", \"pluralLabelHtml\": \"ml\", \"shortLabelHtml\": \"ml\", \"dispensationNumber\": \"0\", \"distributionNumber\": \"200,00000\", \"intakeUnitNumber\": \"1,0000000000\", \"round\": 10, \"throwTheRest\": 0, }, { \"order\": 3, \"code\": 26, \"labelHtml\": \"flacon\", \"pluralLabelHtml\": \"flacons\", \"shortLabelHtml\": \"fl\", \"dispensationNumber\": \"1\", \"distributionNumber\": \"0\", \"intakeUnitNumber\": \"200,0000000000\", \"round\": 1, \"throwTheRest\": 0, }, ], \"subLaboratories\": undefined, }, \"prices\": { \"ucdPrice\": \"200\", \"repaymentRate\": 30.0, \"vatRate\": \"2,10\", \"reimbursementBase\": \"0000200\", \"sellingPrice\": \"0000200\", \"tfr\": undefined, }, \"searchProperties\": { \"score\": undefined, \"safeScore\": 12, \"safeDetails\": [ { \"codeAlerte\": 1, \"libelleAlerte\": \"Patient de moins de 12 ans\", \"typeAlerte\": \"Contre-indication contre-indiqué\", \"niveauAlerte\": 4, \"idAlerte\": \"0000033355\", \"productId2\": 0, \"productLabel2\": \"\", \"details\": \"\", }, { \"codeAlerte\": 1, \"libelleAlerte\": \"Patient de 12 &#224; 15 ans\", \"typeAlerte\": \"Contre-indication déconseillé\", \"niveauAlerte\": 3, \"idAlerte\": \"0000008254\", \"productId2\": 0, \"productLabel2\": \"\", \"details\": \"\", }, { \"codeAlerte\": 1, \"libelleAlerte\": \"Adolescent de plus de 15 ans de moins de 50 kg\", \"typeAlerte\": \"Contre-indication déconseillé\", \"niveauAlerte\": 3, \"idAlerte\": \"0000033351\", \"productId2\": 0, \"productLabel2\": \"\", \"details\": \"\", }, { \"codeAlerte\": 2, \"libelleAlerte\": \"Sujet &#226;g&#233;\", \"typeAlerte\": \"Précaution d'emploi\", \"niveauAlerte\": 2, \"idAlerte\": \"0000005633\", \"productId2\": 0, \"productLabel2\": \"\", \"details\": \"\", }, ], \"samCode\": undefined, \"samPatient\": false, }, \"extendedProperties\": undefined, }, ], \"pageable\": { \"sort\": { \"unsorted\": false, \"sorted\": true, \"empty\": false, }, \"pageSize\": 150, \"pageNumber\": 0, \"offset\": 0, \"paged\": true, \"unpaged\": false, }, \"totalPages\": 1, \"totalElements\": 1, \"last\": true, \"numberOfElements\": 1, \"first\": true, \"sort\": { \"unsorted\": false, \"sorted\": true, \"empty\": false, }, \"number\": 0, \"size\": 150, \"empty\": false, }, }" }, { "kind": "variable", "name": "resultsRequestResponseWithDeletedProducts", "type": { "text": "SearchResponseBean" }, "default": "{ \"filters\": { \"available\": [ { \"type\": \"terrains\", \"field\": \"attributsSegmentation.terrains.libelle.keyword\", \"label\": \"Terrains\", \"values\": [ { \"value\": \"Enfant\", \"label\": \"Enfant\", \"count\": 1, \"exclude\": 0 }, { \"value\": \"Nourrisson\", \"label\": \"Nourrisson\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 2 }, { \"type\": \"laboratoire\", \"field\": \"laboratoires.laboratoireExploitant.libelleLaboratoire.keyword\", \"label\": \"Laboratoires\", \"values\": [ { \"value\": \"SANOFI AVENTIS FRANCE\", \"label\": \"SANOFI AVENTIS FRANCE\", \"count\": 2, \"exclude\": 0 }, { \"value\": \"OPELLA HEALTHCARE FRANCE SAS\", \"label\": \"OPELLA HEALTHCARE FRANCE SAS\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 3 }, { \"type\": \"supprime\", \"field\": \"flags.supprime\", \"label\": \"Statut\", \"values\": [ { \"value\": \"1\", \"label\": \"Arrêt de la commercialisation\", \"count\": 3, \"exclude\": 0 } ], \"totalCount\": 3 }, { \"type\": \"ci\", \"field\": \"motsClefs.motsClefsCI.libelleMotClefCIHtml.keyword\", \"label\": \"Contre indications\", \"values\": [ { \"value\": \"Insuffisance h&#233;patique s&#233;v&#232;re\", \"label\": \"Insuffisance h&#233;patique s&#233;v&#232;re\", \"count\": 1, \"exclude\": 0 }, { \"value\": \"Insuffisance h&#233;patocellulaire\", \"label\": \"Insuffisance h&#233;patocellulaire\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 2 }, { \"type\": \"composant\", \"field\": \"composition.principesActifs.libelleComposantPere.keyword\", \"label\": \"Composants\", \"values\": [ { \"value\": \"Parac&#233;tamol\", \"label\": \"Parac&#233;tamol\", \"count\": 2, \"exclude\": 0 } ], \"totalCount\": 2 }, { \"type\": \"statutsSegmentation\", \"field\": \"infoProduit.statutSegmentationHtml.keyword\", \"label\": \"Statuts segmentation\", \"values\": [ { \"value\": \"M&eacute;dicament\", \"label\": \"M&eacute;dicament\", \"count\": 3, \"exclude\": 0 } ], \"totalCount\": 3 }, { \"type\": \"autres\", \"field\": \"attributsSegmentation.autres.libelle.keyword\", \"label\": \"Autres attributs segmentation\", \"values\": [ { \"value\": \"Hors pilulier\", \"label\": \"Hors pilulier\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 1 }, { \"type\": \"voies\", \"field\": \"listeVoiesAdm.voieAdministration.keyword\", \"label\": \"Voies d'administration\", \"values\": [ { \"value\": \"orale\", \"label\": \"orale\", \"count\": 2, \"exclude\": 0 } ], \"totalCount\": 2 }, { \"type\": \"marque\", \"field\": \"infoProduit.nomMarqueHtml.keyword\", \"label\": \"Marques\", \"values\": [ { \"value\": \"DOLIPRANE\", \"label\": \"DOLIPRANE\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 1 }, { \"type\": \"hospitalier\", \"field\": \"flags.hospitalier\", \"label\": \"Hospitalier\", \"values\": [ { \"value\": \"0\", \"label\": \"Non\", \"count\": 3, \"exclude\": 0 } ], \"totalCount\": 3 }, { \"type\": \"gamme\", \"field\": \"infoProduit.nomGammeHtml.keyword\", \"label\": \"Gammes\", \"values\": [ { \"value\": \"Sans gamme\", \"label\": \"Sans gamme\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 1 }, { \"type\": \"type\", \"field\": \"type\", \"label\": \"Type\", \"values\": [ { \"value\": \"1\", \"label\": \"Médicament\", \"count\": 3, \"exclude\": 0 } ], \"totalCount\": 3 }, { \"type\": \"indication\", \"field\": \"motsClefs.motsClefsInd.libelleMotClefIndHtml.keyword\", \"label\": \"Indications\", \"values\": [ { \"value\": \"Etat f&#233;brile\", \"label\": \"Etat f&#233;brile\", \"count\": 2, \"exclude\": 0 }, { \"value\": \"Douleur\", \"label\": \"Douleur\", \"count\": 1, \"exclude\": 0 }, { \"value\": \"Douleur l&#233;g&#232;re &#224; mod&#233;r&#233;e\", \"label\": \"Douleur l&#233;g&#232;re &#224; mod&#233;r&#233;e\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 4 }, { \"type\": \"dopant\", \"field\": \"flags.dopant\", \"label\": \"Dopant\", \"values\": [ { \"value\": \"0\", \"label\": \"Non\", \"count\": 3, \"exclude\": 0 } ], \"totalCount\": 3 }, { \"type\": \"circuitsDeDistribution\", \"field\": \"attributsSegmentation.circuitDeDistribution.libelle.keyword\", \"label\": \"Circuits de distribution\", \"values\": [ { \"value\": \"Pharmacie\", \"label\": \"Pharmacie\", \"count\": 3, \"exclude\": 0 }, { \"value\": \"ECOM\", \"label\": \"ECOM\", \"count\": 1, \"exclude\": 0 } ], \"totalCount\": 4 } ], \"active\": [] }, \"search\": { \"content\": [ { \"code\": \"23800\", \"productId\": 23800, \"type\": 1, \"labelHtml\": \"DOLIPRANE 50 mg NOURRISSONS, poudre orale en sachet, sachets bo&icirc;te de 12\", \"code13\": \"3400932447770\", \"deletedDate\": \"20050824\", \"deleted\": true, \"labels\": { \"typeLabel\": \"Pr&#233;sentation\", \"label\": \"DOLIPRANE 50 mg NOURRISSONS. poudre orale en sachet. sachets boite de 12\", \"shortLabel\": \"DOLIPRANE 50MG SACHET 12\", \"shortLabelHtml\": \"DOLIPRANE 50MG SACHET 12\", \"longLabel\": \"DOLIPRANE 50 mg NOURRISSONS. poudre orale en sachet. sachets boite de 12\", \"longLabelHtml\": \"DOLIPRANE 50 mg NOURRISSONS, poudre orale en sachet, sachets bo&icirc;te de 12\", \"searchLabel\": \"DOLIPRANE 50 MG NOURRISSONS. POUDRE ORALE EN SACHET. SACHETS BOITE DE 12 DOLIPRANE 50 MG NOURRISSONS. POUDRE ORALE EN SACHET. SACHETS BOITE DE 12 DOLIPRANE 50MG SACHET 12 DOLIPRANE 50MG PDR SACH PARACETAMOL DOLIPRANE50MGNOURRISSONS.POUDREORALEENSACHET.SACHETSBOITEDE12DOLIPRANE50MGNOURRISSONS.POUDREORALEENSACHET.SACHETSBOITEDE12DOLIPRANE50MGSACHET12DOLIPRANE50MGPDRSACHPARACETAMOL 50MG 50 MG 50 MGDOLIPRANE 50 MG NOURRISSONS. POUDRE ORALE EN SACHET. SACHETS BOITE DE 12 DOLIPRANE 50 MG NOURRISSONS. POUDRE ORALE EN SACHET. SACHETS BOITE DE 12 DOLIPRANE 50MG SACHET 12 DOLIPRANE 50MG PDR SACH PARACETAMOL \" }, \"properties\": { \"thumbnail\": \"\", \"productName\": \"DOLIPRANE\", \"productDosage\": \"50 mg\", \"galenicFormCode\": \"BN01\", \"galenicFormLabel\": \"Poudre orale\", \"galenicFormLabelHtml\": null, \"aspect\": \"\", \"inFacilityFormulary\": false, \"codes\": { \"cip7\": \"3244777\", \"cip13\": \"3400932447770\", \"cip13Referent\": \"3400932447770\", \"ucd7\": \"9028230\", \"ucd13\": \"3400890282307\", \"cis\": \"61783123\", \"code13Referent\": \"3400932447770\", \"ean13\": [], \"udi\": null }, \"flags\": { \"misuse\": 0, \"careBasket\": 0, \"doping\": 0, \"driveWarning\": \"0\", \"narcotic\": 0, \"crushable\": -1, \"referent\": 0, \"generic\": 0, \"biosimilar\": 0, \"hospitalDelivery\": 0, \"internal\": 1, \"medicalDevice\": 0, \"homeo\": 0, \"exactcureSimulable\": 0, \"pediatrics\": 1, \"hybrid\": 0, \"extendedFlags\": { \"bloodDerivative\": 0, \"anticoagulant\": 0, \"vaccin\": 0, \"soluteDilution\": 0, \"emergencyContraceptive\": 0, \"minorContraceptive\": 0, \"fridge\": 0, \"humanAntibiotic\": 0, \"veterinaryAntibiotic\": 0, \"veterinaryPrescription\": 0, \"deconditionning\": 0, \"seasonalFluVaccine\": 0, \"ghs\": 1, \"horsGhs\": 0, \"infertilityTreatment\": 0, \"mindalteringSubstance\": 0, \"testReagent\": 0, \"firstAgeMilk\": 0, \"abortionDrug\": 0, \"mte\": 0, \"tfr\": 0, \"biosimilarReferent\": 0, \"freezer\": 0, \"reinforcedMonitoring\": 0, \"t2a\": 0, \"communityApproval\": 1, \"drugException\": 0, \"hybridReferent\": 0, \"pregnancyPictogram\": 0 } }, \"careBasket\": null, \"segmentationAttributes\": null, \"excipientsWithKnowEffects\": [], \"atcClasses\": [ { \"code\": \"N\", \"label\": \"Syst&#232;me nerveux\" }, { \"code\": \"N02\", \"label\": \"Analg&#233;siques\" }, { \"code\": \"N02B\", \"label\": \"Autres analg&#233;siques et antipyr&#233;tiques\" }, { \"code\": \"N02BE\", \"label\": \"Anilides \" }, { \"code\": \"N02BE01\", \"label\": \"Parac&#233;tamol\" } ], \"intakeUnits\": [ { \"order\": 1, \"code\": 48, \"labelHtml\": \"mg\", \"pluralLabelHtml\": \"mg\", \"shortLabelHtml\": \"mg\", \"dispensationNumber\": \"0\", \"distributionNumber\": \"0\", \"intakeUnitNumber\": \"0,0200000000\", \"round\": 100, \"throwTheRest\": 0 }, { \"order\": 2, \"code\": 13, \"labelHtml\": \"sachet\", \"pluralLabelHtml\": \"sachet