From 53a204d887eea64d8db3fe906f8c8e97c4a33cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Jos=C3=A9=20Borba=20Fernandes?= Date: Thu, 17 Oct 2024 09:50:09 -0300 Subject: [PATCH] chore: add orama OSS --- packages/ui-stencil/package.json | 4 +- packages/ui-stencil/src/components.d.ts | 12 +- .../orama-chat-box/orama-chat-box.tsx | 10 +- .../src/components/orama-chat-box/readme.md | 26 +- .../orama-search-box/orama-search-box.tsx | 14 +- .../src/components/orama-search-box/readme.md | 20 +- .../ui-stencil/src/services/ChatService.ts | 10 +- .../ui-stencil/src/services/SearchService.ts | 13 +- packages/ui-stencil/src/utils/utils.ts | 12 +- pnpm-lock.yaml | 515 +++++++++++++----- 10 files changed, 438 insertions(+), 198 deletions(-) diff --git a/packages/ui-stencil/package.json b/packages/ui-stencil/package.json index 20847ba7..1d44cc3a 100644 --- a/packages/ui-stencil/package.json +++ b/packages/ui-stencil/package.json @@ -23,8 +23,8 @@ "types": "dist/types/index.d.ts", "dependencies": { "@orama/highlight": "^0.1.6", - "@orama/orama": "3.0.0-rc-1", - "@orama/switch": "3.0.0-rc-1", + "@orama/orama": "3.0.0", + "@orama/switch": "3.0.0", "@oramacloud/client": "1.3.17", "@phosphor-icons/webcomponents": "^2.1.5", "@stencil/core": "^4.19.0", diff --git a/packages/ui-stencil/src/components.d.ts b/packages/ui-stencil/src/components.d.ts index 65f4e46b..132e890e 100644 --- a/packages/ui-stencil/src/components.d.ts +++ b/packages/ui-stencil/src/components.d.ts @@ -9,12 +9,12 @@ import { ButtonProps } from "./components/internal/orama-button/orama-button"; import { CloudIndexConfig, ColorScheme, ResultMap, SearchResult, SearchResultBySection, SourcesMap } from "./types/index"; import { TChatInteraction } from "./context/chatContext"; import { OramaClient } from "@oramacloud/client"; +import { AnyOrama, Orama, SearchParams } from "@orama/orama"; import { Facet } from "./components/internal/orama-facets/orama-facets"; import { InputProps } from "./components/internal/orama-input/orama-input"; import { ModalStatus } from "./components/internal/orama-modal/orama-modal"; import { HighlightOptions } from "@orama/highlight"; import { TThemeOverrides } from "./config/theme"; -import { AnyOrama, Orama, SearchParams } from "@orama/orama"; import { TThemeOverrides as TThemeOverrides1 } from "./components.d"; import { SearchResultsProps } from "./components/internal/orama-search-results/orama-search-results"; import { TextProps } from "./components/internal/orama-text/orama-text"; @@ -22,12 +22,12 @@ export { ButtonProps } from "./components/internal/orama-button/orama-button"; export { CloudIndexConfig, ColorScheme, ResultMap, SearchResult, SearchResultBySection, SourcesMap } from "./types/index"; export { TChatInteraction } from "./context/chatContext"; export { OramaClient } from "@oramacloud/client"; +export { AnyOrama, Orama, SearchParams } from "@orama/orama"; export { Facet } from "./components/internal/orama-facets/orama-facets"; export { InputProps } from "./components/internal/orama-input/orama-input"; export { ModalStatus } from "./components/internal/orama-modal/orama-modal"; export { HighlightOptions } from "@orama/highlight"; export { TThemeOverrides } from "./config/theme"; -export { AnyOrama, Orama, SearchParams } from "@orama/orama"; export { TThemeOverrides as TThemeOverrides1 } from "./components.d"; export { SearchResultsProps } from "./components/internal/orama-search-results/orama-search-results"; export { TextProps } from "./components/internal/orama-text/orama-text"; @@ -58,7 +58,7 @@ export namespace Components { } interface OramaChatBox { "autoFocus": boolean; - "clientInstance"?: OramaClient; + "clientInstance"?: OramaClient | Orama; "index"?: CloudIndexConfig; "linksRel"?: string; "linksTarget"?: string; @@ -138,7 +138,7 @@ export namespace Components { } interface OramaSearchBox { "chatPlaceholder"?: string; - "clientInstance"?: OramaClient; + "clientInstance"?: OramaClient | Orama; "colorScheme"?: ColorScheme; "disableChat"?: boolean; "facetProperty"?: string; @@ -514,7 +514,7 @@ declare namespace LocalJSX { } interface OramaChatBox { "autoFocus"?: boolean; - "clientInstance"?: OramaClient; + "clientInstance"?: OramaClient | Orama; "index"?: CloudIndexConfig; "linksRel"?: string; "linksTarget"?: string; @@ -596,7 +596,7 @@ declare namespace LocalJSX { } interface OramaSearchBox { "chatPlaceholder"?: string; - "clientInstance"?: OramaClient; + "clientInstance"?: OramaClient | Orama; "colorScheme"?: ColorScheme; "disableChat"?: boolean; "facetProperty"?: string; diff --git a/packages/ui-stencil/src/components/orama-chat-box/orama-chat-box.tsx b/packages/ui-stencil/src/components/orama-chat-box/orama-chat-box.tsx index cd493470..3d8a757d 100644 --- a/packages/ui-stencil/src/components/orama-chat-box/orama-chat-box.tsx +++ b/packages/ui-stencil/src/components/orama-chat-box/orama-chat-box.tsx @@ -5,6 +5,8 @@ import { generateRandomID, initOramaClient, validateCloudIndexConfig } from '@/u import type { CloudIndexConfig, SourcesMap } from '@/types' import type { OramaClient } from '@oramacloud/client' import '@phosphor-icons/webcomponents/dist/icons/PhArrowClockwise.mjs' +import type { Orama } from '@orama/orama' +import { Switch } from '@orama/switch' @Component({ tag: 'orama-chat-box', @@ -14,7 +16,7 @@ import '@phosphor-icons/webcomponents/dist/icons/PhArrowClockwise.mjs' export class ChatBox { @Element() el: HTMLElement @Prop() index?: CloudIndexConfig - @Prop() clientInstance?: OramaClient + @Prop() clientInstance?: OramaClient | Orama @Prop() sourceBaseUrl?: string @Prop() linksTarget?: string @Prop() linksRel?: string @@ -24,7 +26,6 @@ export class ChatBox { @Prop() autoFocus = true @Prop() systemPrompts?: string[] - @State() oramaClient: OramaClient @State() componentID = generateRandomID('chat-box') @Watch('index') @@ -39,9 +40,10 @@ export class ChatBox { startChatService() { validateCloudIndexConfig(this.el, this.index, this.clientInstance) - this.oramaClient = this.clientInstance || initOramaClient(this.index) + const oramaClient = this.clientInstance || initOramaClient(this.index) + const switchInstance = new Switch(oramaClient) - chatContext.chatService = new ChatService(this.oramaClient) + chatContext.chatService = new ChatService(switchInstance) } render() { diff --git a/packages/ui-stencil/src/components/orama-chat-box/readme.md b/packages/ui-stencil/src/components/orama-chat-box/readme.md index b87efdee..01bfdc61 100644 --- a/packages/ui-stencil/src/components/orama-chat-box/readme.md +++ b/packages/ui-stencil/src/components/orama-chat-box/readme.md @@ -1,24 +1,22 @@ # orama-chat-box - - ## Properties -| Property | Attribute | Description | Type | Default | -| ---------------- | ----------------- | ----------- | ---------------------------------------------------------- | ----------- | -| `autoFocus` | `auto-focus` | | `boolean` | `true` | -| `clientInstance` | -- | | `OramaClient` | `undefined` | -| `index` | -- | | `{ api_key: string; endpoint: string; }` | `undefined` | -| `linksRel` | `links-rel` | | `string` | `undefined` | -| `linksTarget` | `links-target` | | `string` | `undefined` | -| `placeholder` | `placeholder` | | `string` | `undefined` | -| `sourceBaseUrl` | `source-base-url` | | `string` | `undefined` | -| `sourcesMap` | -- | | `{ title?: string; path?: string; description?: string; }` | `undefined` | -| `suggestions` | -- | | `string[]` | `undefined` | -| `systemPrompts` | -- | | `string[]` | `undefined` | +| Property | Attribute | Description | Type | Default | +| ---------------- | ----------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | +| `autoFocus` | `auto-focus` | | `boolean` | `true` | +| `clientInstance` | -- | | `FunctionComponents & Internals & ArrayCallbackComponents & OramaID & { plugins: OramaPlugin[]; } \| OramaClient` | `undefined` | +| `index` | -- | | `{ api_key: string; endpoint: string; }` | `undefined` | +| `linksRel` | `links-rel` | | `string` | `undefined` | +| `linksTarget` | `links-target` | | `string` | `undefined` | +| `placeholder` | `placeholder` | | `string` | `undefined` | +| `sourceBaseUrl` | `source-base-url` | | `string` | `undefined` | +| `sourcesMap` | -- | | `{ title?: string; path?: string; description?: string; }` | `undefined` | +| `suggestions` | -- | | `string[]` | `undefined` | +| `systemPrompts` | -- | | `string[]` | `undefined` | ## Dependencies diff --git a/packages/ui-stencil/src/components/orama-search-box/orama-search-box.tsx b/packages/ui-stencil/src/components/orama-search-box/orama-search-box.tsx index 79afa662..f4b8afde 100644 --- a/packages/ui-stencil/src/components/orama-search-box/orama-search-box.tsx +++ b/packages/ui-stencil/src/components/orama-search-box/orama-search-box.tsx @@ -11,6 +11,10 @@ import type { HighlightOptions } from '@orama/highlight' import type { OramaClient } from '@oramacloud/client' import type { CloudIndexConfig, ColorScheme, ResultMap, SourcesMap } from '@/types' import type { TThemeOverrides } from '@/config/theme' +import { Switch } from '@orama/switch' + +// TODO: AI components should be lazyly loaded. In case of Disable AI flag, it should not be loaded at all +// https://linear.app/oramasearch/issue/ORM-1824/ai-components-should-be-lazyly-loaded-in-case-of-disable-ai-flag-they @Component({ tag: 'orama-search-box', @@ -23,7 +27,7 @@ export class SearchBox { @Prop() themeConfig?: Partial @Prop() colorScheme?: ColorScheme = 'light' @Prop() index?: CloudIndexConfig - @Prop() clientInstance?: OramaClient + @Prop() clientInstance?: OramaClient | Orama @Prop({ mutable: true }) open = false @Prop() facetProperty?: string @Prop() resultMap?: Partial = {} @@ -42,7 +46,6 @@ export class SearchBox { @Prop() suggestions?: string[] @Prop() searchParams?: SearchParams> - @State() oramaClient: OramaClient @State() componentID = generateRandomID('search-box') @State() systemScheme: Omit = 'light' @State() windowWidth: number @@ -134,10 +137,11 @@ export class SearchBox { startServices() { validateCloudIndexConfig(this.htmlElement, this.index, this.clientInstance) - this.oramaClient = this.clientInstance ? this.clientInstance : initOramaClient(this.index) + const oramaClient = this.clientInstance ? this.clientInstance : initOramaClient(this.index) + const switchInstance = new Switch(oramaClient) - searchState.searchService = new SearchService(this.oramaClient) - chatContext.chatService = new ChatService(this.oramaClient) + searchState.searchService = new SearchService(switchInstance) + chatContext.chatService = new ChatService(switchInstance) } componentWillLoad() { diff --git a/packages/ui-stencil/src/components/orama-search-box/readme.md b/packages/ui-stencil/src/components/orama-search-box/readme.md index 4da63e78..f7d77eab 100644 --- a/packages/ui-stencil/src/components/orama-search-box/readme.md +++ b/packages/ui-stencil/src/components/orama-search-box/readme.md @@ -5,11 +5,10 @@ ## Properties -<<<<<<< HEAD | Property | Attribute | Description | Type | Default | | ------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | | `chatPlaceholder` | `chat-placeholder` | | `string` | `undefined` | -| `clientInstance` | -- | | `OramaClient` | `undefined` | +| `clientInstance` | -- | | `FunctionComponents & Internals & ArrayCallbackComponents & OramaID & { plugins: OramaPlugin[]; } \| OramaClient` | `undefined` | | `colorScheme` | `color-scheme` | | `"dark" \| "light" \| "system"` | `'light'` | | `disableChat` | `disable-chat` | | `boolean` | `false` | | `facetProperty` | `facet-property` | | `string` | `undefined` | @@ -27,23 +26,6 @@ | `sourcesMap` | -- | | `{ title?: string; path?: string; description?: string; }` | `undefined` | | `suggestions` | -- | | `string[]` | `undefined` | | `themeConfig` | -- | | `{ typography?: DeepPartial<{ '--font-primary': string; }>; colors?: DeepPartial<{ gray50: string; gray100: string; gray200: string; gray300: string; gray400: string; gray500: string; gray600: string; gray700: string; gray800: string; gray900: string; gray950: string; purple100: string; purple200: string; purple300: string; purple500: string; purple600: string; purple700: string; light: { "--text-color-primary": string; "--text-color-secondary": string; "--text-color-tertiary": string; "--text-color-accent": string; "--text-color-inactive": string; "--text-color-reverse": string; "--background-color-primary": string; "--background-color-secondary": string; "--background-color-tertiary": string; "--background-color-fourth": string; "--background-color-reverse": string; "--border-color-primary": string; "--border-color-secondary": string; "--border-color-tertiary": string; "--border-color-accent": string; "--icon-color-primary": string; "--icon-color-secondary": string; "--icon-color-tertiary": string; "--icon-color-inactive": string; "--icon-color-accent": string; "--shadow-color-primary": string; "--button-text-color-primary": string; "--button-text-color-secondary": string; "--button-text-color-inactive": string; "--button-background-color-primary": string; "--button-background-color-secondary": string; "--button-background-color-secondary-hover": string; "--button-background-color-inactive": string; "--button-border-color-secondary": string; "--backdrop-background-color-primary": string; "--chat-button-border-color-gradientOne": string; "--chat-button-border-color-gradientTwo": string; "--chat-button-border-color-gradientThree": string; "--chat-button-border-color-gradientFour": string; "--chat-button-border-color-gradientFive": string; "--chat-button-border-color-gradientSix": string; "--chat-button-background-color-gradientOne": string; "--chat-button-background-color-gradientTwo": string; }; dark: { "--text-color-primary": string; "--text-color-secondary": string; "--text-color-tertiary": string; "--text-color-accent": string; "--text-color-inactive": string; "--text-color-reverse": string; "--background-color-primary": string; "--background-color-secondary": string; "--background-color-tertiary": string; "--background-color-fourth": string; "--background-color-reverse": string; "--border-color-primary": string; "--border-color-secondary": string; "--border-color-tertiary": string; "--border-color-accent": string; "--icon-color-primary": string; "--icon-color-secondary": string; "--icon-color-tertiary": string; "--icon-color-inactive": string; "--icon-color-accent": string; "--shadow-color-primary": string; "--button-text-color-primary": string; "--button-text-color-secondary": string; "--button-background-color-primary": string; "--button-background-color-secondary": string; "--button-background-color-secondary-hover": string; "--button-border-color-secondary": string; "--backdrop-background-color-primary": string; "--chat-button-border-color-gradientOne": string; "--chat-button-border-color-gradientTwo": string; "--chat-button-border-color-gradientThree": string; "--chat-button-border-color-gradientFour": string; "--chat-button-border-color-gradientFive": string; "--chat-button-border-color-gradientSix": string; "--chat-button-background-color-gradientOne": string; "--chat-button-background-color-gradientTwo": string; }; }>; }` | `undefined` | -======= -| Property | Attribute | Description | Type | Default | -| ---------------- | ----------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | -| `clientInstance` | -- | | `OramaClient` | `undefined` | -| `colorScheme` | `color-scheme` | | `"dark" \| "light" \| "system"` | `'light'` | -| `disableChat` | `disable-chat` | | `boolean` | `false` | -| `facetProperty` | `facet-property` | | `string` | `undefined` | -| `index` | -- | | `{ api_key: string; endpoint: string; }` | `undefined` | -| `open` | `open` | | `boolean` | `false` | -| `placeholder` | `placeholder` | | `string` | `undefined` | -| `resultMap` | -- | | `{ section?: string; title?: string; path?: string; description?: string; }` | `{}` | -| `searchParams` | -- | | `SearchParamsFullText, never> \| SearchParamsHybrid, never> \| SearchParamsVector, never>` | `undefined` | -| `sourceBaseUrl` | `source-base-url` | | `string` | `undefined` | -| `sourcesMap` | -- | | `{ title?: string; path?: string; description?: string; }` | `undefined` | -| `suggestions` | -- | | `string[]` | `undefined` | -| `themeConfig` | -- | | `{ typography?: DeepPartial<{ '--font-primary': string; }>; colors?: DeepPartial<{ gray50: string; gray100: string; gray200: string; gray300: string; gray400: string; gray500: string; gray600: string; gray700: string; gray800: string; gray900: string; gray950: string; purple100: string; purple200: string; purple300: string; purple500: string; purple600: string; purple700: string; light: { "--text-color-primary": string; "--text-color-secondary": string; "--text-color-tertiary": string; "--text-color-accent": string; "--text-color-inactive": string; "--text-color-reverse": string; "--background-color-primary": string; "--background-color-secondary": string; "--background-color-tertiary": string; "--background-color-fourth": string; "--background-color-reverse": string; "--border-color-primary": string; "--border-color-secondary": string; "--border-color-tertiary": string; "--border-color-accent": string; "--icon-color-primary": string; "--icon-color-secondary": string; "--icon-color-tertiary": string; "--icon-color-inactive": string; "--icon-color-accent": string; "--shadow-color-primary": string; "--button-text-color-primary": string; "--button-text-color-secondary": string; "--button-text-color-inactive": string; "--button-background-color-primary": string; "--button-background-color-secondary": string; "--button-background-color-secondary-hover": string; "--button-background-color-inactive": string; "--button-border-color-secondary": string; "--backdrop-background-color-primary": string; "--chat-button-border-color-gradientOne": string; "--chat-button-border-color-gradientTwo": string; "--chat-button-border-color-gradientThree": string; "--chat-button-border-color-gradientFour": string; "--chat-button-border-color-gradientFive": string; "--chat-button-border-color-gradientSix": string; "--chat-button-background-color-gradientOne": string; "--chat-button-background-color-gradientTwo": string; }; dark: { "--text-color-primary": string; "--text-color-secondary": string; "--text-color-tertiary": string; "--text-color-accent": string; "--text-color-inactive": string; "--text-color-reverse": string; "--background-color-primary": string; "--background-color-secondary": string; "--background-color-tertiary": string; "--background-color-fourth": string; "--background-color-reverse": string; "--border-color-primary": string; "--border-color-secondary": string; "--border-color-tertiary": string; "--border-color-accent": string; "--icon-color-primary": string; "--icon-color-secondary": string; "--icon-color-tertiary": string; "--icon-color-inactive": string; "--icon-color-accent": string; "--shadow-color-primary": string; "--button-text-color-primary": string; "--button-text-color-secondary": string; "--button-background-color-primary": string; "--button-background-color-secondary": string; "--button-background-color-secondary-hover": string; "--button-border-color-secondary": string; "--backdrop-background-color-primary": string; "--chat-button-border-color-gradientOne": string; "--chat-button-border-color-gradientTwo": string; "--chat-button-border-color-gradientThree": string; "--chat-button-border-color-gradientFour": string; "--chat-button-border-color-gradientFive": string; "--chat-button-border-color-gradientSix": string; "--chat-button-background-color-gradientOne": string; "--chat-button-background-color-gradientTwo": string; }; }>; }` | `undefined` | ->>>>>>> 84ef9e8 (removes unused ts-expect-error) ## Events diff --git a/packages/ui-stencil/src/services/ChatService.ts b/packages/ui-stencil/src/services/ChatService.ts index d32372d9..54f235e6 100644 --- a/packages/ui-stencil/src/services/ChatService.ts +++ b/packages/ui-stencil/src/services/ChatService.ts @@ -1,9 +1,9 @@ import type { AnswerSession as OSSAnswerSession } from '@orama/orama' -import type { OramaClient, AnswerSession as CloudAnswerSession } from '@oramacloud/client' -import { OramaClientNotInitializedError } from '@/erros/OramaClientNotInitialized' -import { chatContext, TAnswerStatus } from '@/context/chatContext' +import type { AnswerSession as CloudAnswerSession } from '@oramacloud/client' import type { OramaSwitchClient } from '@orama/switch' import { Switch } from '@orama/switch' +import { OramaClientNotInitializedError } from '@/erros/OramaClientNotInitialized' +import { chatContext, TAnswerStatus } from '@/context/chatContext' export class ChatService { oramaClient: Switch @@ -65,10 +65,6 @@ export class ChatService { }, }, }) - - if (systemPrompts) { - this.answerSession.setSystemPromptConfiguration({ systemPrompts }) - } } // TODO: ABORT/ERROR/STOP should emmit onStateChange event. Keeping the lines below as a reference diff --git a/packages/ui-stencil/src/services/SearchService.ts b/packages/ui-stencil/src/services/SearchService.ts index 44e04662..622a954d 100644 --- a/packages/ui-stencil/src/services/SearchService.ts +++ b/packages/ui-stencil/src/services/SearchService.ts @@ -1,20 +1,21 @@ -import type { OramaClient, ClientSearchParams } from '@oramacloud/client' +import type { ClientSearchParams } from '@oramacloud/client' import { OramaClientNotInitializedError } from '@/erros/OramaClientNotInitialized' import { searchState } from '@/context/searchContext' -import { Switch } from '@orama/switch' import type { ResultMap, SearchResultBySection, SearchResultWithScore } from '@/types' +import type { Switch } from '@orama/switch' const LIMIT_RESULTS = 10 // TODO: Orama Client should expose Result type -type OramaHit = { id: string; score: number; document: { title: string; description: string; path: string } } +// biome-ignore lint/suspicious/noExplicitAny: There is not way to type document as we only know what it is in runtime +type OramaHit = { id: string; score: number; document: any } export class SearchService { private abortController: AbortController private oramaClient: Switch - constructor(oramaClient: OramaClient) { - this.oramaClient = new Switch(oramaClient) + constructor(oramaClientSwitch: Switch) { + this.oramaClient = oramaClientSwitch this.abortController = new AbortController() } @@ -40,7 +41,7 @@ export class SearchService { const { limit, offset, where, ...restSearchParams } = searchState.searchParams ?? {} this.oramaClient - .search( + .search( { ...restSearchParams, term, diff --git a/packages/ui-stencil/src/utils/utils.ts b/packages/ui-stencil/src/utils/utils.ts index 829cc85d..669479c8 100644 --- a/packages/ui-stencil/src/utils/utils.ts +++ b/packages/ui-stencil/src/utils/utils.ts @@ -1,4 +1,6 @@ import type { CloudIndexConfig } from '@/types' +import type { Orama } from '@orama/orama' +import { Switch } from '@orama/switch' import { OramaClient } from '@oramacloud/client' /** @@ -72,7 +74,11 @@ export function getNonExplicitAttributes(element: HTMLElement, explicitProps: st }, {}) } -export function validateCloudIndexConfig(el: HTMLElement, index?: CloudIndexConfig, instance?: OramaClient): void { +export function validateCloudIndexConfig( + el: HTMLElement, + index?: CloudIndexConfig, + instance?: OramaClient | Orama, +): void { const componentDetails = ` Component: ${el.tagName.toLowerCase()} Id: ${el.id} @@ -85,8 +91,10 @@ export function validateCloudIndexConfig(el: HTMLElement, index?: CloudIndexConf } if (instance && !index) { + const oramaInstance = new Switch(instance) + // TODO: maybe add a validate method to the client? - instance + oramaInstance .search({ term: 'test', }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 22dbc876..b6482642 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.8.3 '@turbo/gen': specifier: ^2.0.5 - version: 2.0.5(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2) + version: 2.0.5(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2) eslint: specifier: ^9.5.0 version: 9.5.0 @@ -74,7 +74,7 @@ importers: devDependencies: '@angular-devkit/build-angular': specifier: ^18.0.6 - version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10)(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10)(typescript@5.4.5) + version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(typescript@5.4.5) '@angular/cli': specifier: ~18.0.6 version: 18.0.6(chokidar@3.6.0) @@ -221,10 +221,10 @@ importers: version: 8.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(typescript@5.5.2) '@storybook/test': specifier: ^8.2.3 - version: 8.2.4(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9))(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) + version: 8.2.4(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)))(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) '@storybook/test-runner': specifier: ^0.19.1 - version: 0.19.1(@swc/helpers@0.5.5)(@types/node@20.14.9)(encoding@0.1.13)(prettier@3.3.2)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) + version: 0.19.1(@swc/helpers@0.5.5)(@types/node@20.14.9)(encoding@0.1.13)(prettier@3.3.2)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) '@storybook/theming': specifier: ^8.2.3 version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) @@ -282,11 +282,11 @@ importers: specifier: ^0.1.6 version: 0.1.6 '@orama/orama': - specifier: 3.0.0-rc-1 - version: 3.0.0-rc-1 + specifier: 3.0.0 + version: 3.0.0 '@orama/switch': - specifier: 3.0.0-rc-1 - version: 3.0.0-rc-1(@orama/orama@3.0.0-rc-1)(@oramacloud/client@1.3.15(encoding@0.1.13)(typescript@5.5.2)) + specifier: 3.0.0 + version: 3.0.0(@orama/orama@3.0.0)(@oramacloud/client@1.3.17(encoding@0.1.13)(typescript@5.5.2)) '@oramacloud/client': specifier: 1.3.17 version: 1.3.17(encoding@0.1.13)(typescript@5.5.2) @@ -353,10 +353,10 @@ importers: version: 7.0.3(postcss@8.4.39) jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + version: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-cli: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + version: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) postcss: specifier: ^8.4.39 version: 8.4.39 @@ -380,7 +380,7 @@ importers: version: 1.77.8 sass-loader: specifier: ^14.2.1 - version: 14.2.1(sass-embedded@1.77.8)(sass@1.77.8)(webpack@5.92.1(@swc/core@1.6.5)) + version: 14.2.1(sass-embedded@1.77.8)(sass@1.77.8)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))) packages/ui-stencil-angular: dependencies: @@ -423,7 +423,7 @@ importers: devDependencies: '@angular-devkit/build-angular': specifier: ^18.0.6 - version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10)(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10)(typescript@5.4.5) + version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))))(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(typescript@5.4.5) '@angular/cli': specifier: ~18.0.6 version: 18.0.6(chokidar@3.6.0) @@ -441,7 +441,7 @@ importers: version: 2.2.1 ng-packagr: specifier: ^18.0.0 - version: 18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10)(tslib@2.6.3)(typescript@5.4.5) + version: 18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5) typescript: specifier: ~5.4.5 version: 5.4.5 @@ -469,7 +469,7 @@ importers: version: 4.20.0 tsup: specifier: ^8.2.4 - version: 8.2.4(@swc/core@1.6.5)(jiti@1.21.6)(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.2)(yaml@2.5.0) + version: 8.2.4(@swc/core@1.6.5(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.2)(yaml@2.5.0) typescript: specifier: ^5.5.2 version: 5.5.2 @@ -2899,14 +2899,14 @@ packages: resolution: {integrity: sha512-hb99eZAKW0KBaTyf8f7iV1yFIniQtkcs3sV5pooQ7mh33DCjTyeB39qUW8IHyBDFSs2rjLoePjW0CROvhb3rkw==} engines: {node: '>= 16.0.0'} - '@orama/orama@3.0.0-rc-1': - resolution: {integrity: sha512-2fN9W8Zsar/+oqmT2gLdjr3qeMwdQ+aa37+SQOXy7jxXtnG+K16Fz9T1SOLBSAb5Qvco53iNonH7lY2g0uJ14A==} + '@orama/orama@3.0.0': + resolution: {integrity: sha512-hLTNuFFd41u3oQeF5BoAPFn3iMtRcOOswBS2/p/rARrGtwx8BHEl2RkSju6DFONv9dCEt9EWkmNxhtgzAxNNWg==} engines: {node: '>= 16.0.0'} - '@orama/switch@3.0.0-rc-1': - resolution: {integrity: sha512-Q6QxDqplOYJcNuGIbMei1STZUl6410A9PRsM4LOwncY5eYz+HdAogqjQXFETw3oLhROMMLICrPmtBAygNI8FSA==} + '@orama/switch@3.0.0': + resolution: {integrity: sha512-nzNGBVKg96Ud+zqIa4uGzTB6ZivouVb49PRJi052KiNqItAhHd7CMeLly3vPcNKx0F/xN/tgCnyb4qUKJGxnaw==} peerDependencies: - '@orama/orama': 3.0.0-rc-1 + '@orama/orama': 3.0.0 '@oramacloud/client': 1.3.15 '@oramacloud/client@1.3.15': @@ -10543,13 +10543,13 @@ snapshots: transitivePeerDependencies: - chokidar - '@angular-devkit/build-angular@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10)(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10)(typescript@5.4.5)': + '@angular-devkit/build-angular@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(typescript@5.4.5)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.1800.6(chokidar@3.6.0) - '@angular-devkit/build-webpack': 0.1800.6(chokidar@3.6.0)(webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + '@angular-devkit/build-webpack': 0.1800.6(chokidar@3.6.0)(webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) '@angular-devkit/core': 18.0.6(chokidar@3.6.0) - '@angular/build': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@types/node@20.14.9)(chokidar@3.6.0)(less@4.2.0)(lightningcss@1.26.0)(postcss@8.4.38)(tailwindcss@3.4.10)(terser@5.31.0)(typescript@5.4.5) + '@angular/build': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@types/node@20.14.9)(chokidar@3.6.0)(less@4.2.0)(lightningcss@1.26.0)(postcss@8.4.38)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(terser@5.31.0)(typescript@5.4.5) '@angular/compiler-cli': 18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5) '@babel/core': 7.24.5 '@babel/generator': 7.24.5 @@ -10561,15 +10561,15 @@ snapshots: '@babel/preset-env': 7.24.5(@babel/core@7.24.5) '@babel/runtime': 7.24.5 '@discoveryjs/json-ext': 0.5.7 - '@ngtools/webpack': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + '@ngtools/webpack': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.2.11(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.2)(terser@5.31.0)) ansi-colors: 4.1.3 autoprefixer: 10.4.19(postcss@8.4.38) - babel-loader: 9.1.3(@babel/core@7.24.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + babel-loader: 9.1.3(@babel/core@7.24.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) browserslist: 4.23.1 - copy-webpack-plugin: 11.0.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + copy-webpack-plugin: 11.0.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) critters: 0.0.22 - css-loader: 7.1.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + css-loader: 7.1.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) esbuild-wasm: 0.21.3 fast-glob: 3.3.2 http-proxy-middleware: 3.0.0 @@ -10579,11 +10579,11 @@ snapshots: jsonc-parser: 3.2.1 karma-source-map-support: 1.4.0 less: 4.2.0 - less-loader: 12.2.0(less@4.2.0)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) - license-webpack-plugin: 4.0.2(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + less-loader: 12.2.0(less@4.2.0)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + license-webpack-plugin: 4.0.2(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) loader-utils: 3.2.1 magic-string: 0.30.10 - mini-css-extract-plugin: 2.9.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + mini-css-extract-plugin: 2.9.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) mrmime: 2.0.0 open: 8.4.2 ora: 5.4.1 @@ -10591,13 +10591,13 @@ snapshots: picomatch: 4.0.2 piscina: 4.5.0 postcss: 8.4.38 - postcss-loader: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + postcss-loader: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) resolve-url-loader: 5.0.0 rxjs: 7.8.1 sass: 1.77.2 - sass-loader: 14.2.1(sass-embedded@1.77.8)(sass@1.77.2)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + sass-loader: 14.2.1(sass-embedded@1.77.8)(sass@1.77.2)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) semver: 7.6.2 - source-map-loader: 5.0.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + source-map-loader: 5.0.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) source-map-support: 0.5.21 terser: 5.31.0 tree-kill: 1.2.2 @@ -10606,17 +10606,17 @@ snapshots: undici: 6.18.0 vite: 5.2.11(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.2)(terser@5.31.0) watchpack: 2.4.1 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) - webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) - webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) + webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) webpack-merge: 5.10.0 - webpack-subresource-integrity: 5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack-subresource-integrity: 5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) optionalDependencies: esbuild: 0.21.3 - jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) karma: 6.4.3 - ng-packagr: 18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10)(tslib@2.6.3)(typescript@5.4.5) - tailwindcss: 3.4.10 + ng-packagr: 18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5) + tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) transitivePeerDependencies: - '@rspack/core' - '@swc/core' @@ -10635,12 +10635,104 @@ snapshots: - utf-8-validate - webpack-cli - '@angular-devkit/build-webpack@0.1800.6(chokidar@3.6.0)(webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3))': + '@angular-devkit/build-angular@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))))(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(karma@6.4.3)(lightningcss@1.26.0)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5))(sass-embedded@1.77.8)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(typescript@5.4.5)': + dependencies: + '@ampproject/remapping': 2.3.0 + '@angular-devkit/architect': 0.1800.6(chokidar@3.6.0) + '@angular-devkit/build-webpack': 0.1800.6(chokidar@3.6.0)(webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + '@angular-devkit/core': 18.0.6(chokidar@3.6.0) + '@angular/build': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@types/node@20.14.9)(chokidar@3.6.0)(less@4.2.0)(lightningcss@1.26.0)(postcss@8.4.38)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(terser@5.31.0)(typescript@5.4.5) + '@angular/compiler-cli': 18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5) + '@babel/core': 7.24.5 + '@babel/generator': 7.24.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-split-export-declaration': 7.24.5 + '@babel/plugin-transform-async-generator-functions': 7.24.3(@babel/core@7.24.5) + '@babel/plugin-transform-async-to-generator': 7.24.1(@babel/core@7.24.5) + '@babel/plugin-transform-runtime': 7.24.3(@babel/core@7.24.5) + '@babel/preset-env': 7.24.5(@babel/core@7.24.5) + '@babel/runtime': 7.24.5 + '@discoveryjs/json-ext': 0.5.7 + '@ngtools/webpack': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.2.11(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.2)(terser@5.31.0)) + ansi-colors: 4.1.3 + autoprefixer: 10.4.19(postcss@8.4.38) + babel-loader: 9.1.3(@babel/core@7.24.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + browserslist: 4.23.1 + copy-webpack-plugin: 11.0.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + critters: 0.0.22 + css-loader: 7.1.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + esbuild-wasm: 0.21.3 + fast-glob: 3.3.2 + http-proxy-middleware: 3.0.0 + https-proxy-agent: 7.0.4 + inquirer: 9.2.22 + istanbul-lib-instrument: 6.0.2 + jsonc-parser: 3.2.1 + karma-source-map-support: 1.4.0 + less: 4.2.0 + less-loader: 12.2.0(less@4.2.0)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + license-webpack-plugin: 4.0.2(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + loader-utils: 3.2.1 + magic-string: 0.30.10 + mini-css-extract-plugin: 2.9.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + mrmime: 2.0.0 + open: 8.4.2 + ora: 5.4.1 + parse5-html-rewriting-stream: 7.0.0 + picomatch: 4.0.2 + piscina: 4.5.0 + postcss: 8.4.38 + postcss-loader: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + resolve-url-loader: 5.0.0 + rxjs: 7.8.1 + sass: 1.77.2 + sass-loader: 14.2.1(sass-embedded@1.77.8)(sass@1.77.2)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + semver: 7.6.2 + source-map-loader: 5.0.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + source-map-support: 0.5.21 + terser: 5.31.0 + tree-kill: 1.2.2 + tslib: 2.6.2 + typescript: 5.4.5 + undici: 6.18.0 + vite: 5.2.11(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.2)(terser@5.31.0) + watchpack: 2.4.1 + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) + webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + webpack-merge: 5.10.0 + webpack-subresource-integrity: 5.1.0(html-webpack-plugin@5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + optionalDependencies: + esbuild: 0.21.3 + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + karma: 6.4.3 + ng-packagr: 18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5) + tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + transitivePeerDependencies: + - '@rspack/core' + - '@swc/core' + - '@types/node' + - bufferutil + - chokidar + - debug + - html-webpack-plugin + - lightningcss + - node-sass + - sass-embedded + - stylus + - sugarss + - supports-color + - uglify-js + - utf-8-validate + - webpack-cli + + '@angular-devkit/build-webpack@0.1800.6(chokidar@3.6.0)(webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3))': dependencies: '@angular-devkit/architect': 0.1800.6(chokidar@3.6.0) rxjs: 7.8.1 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) - webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) + webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) transitivePeerDependencies: - chokidar @@ -10670,7 +10762,7 @@ snapshots: '@angular/core': 18.0.5(rxjs@7.8.1)(zone.js@0.14.7) tslib: 2.6.3 - '@angular/build@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@types/node@20.14.9)(chokidar@3.6.0)(less@4.2.0)(lightningcss@1.26.0)(postcss@8.4.38)(tailwindcss@3.4.10)(terser@5.31.0)(typescript@5.4.5)': + '@angular/build@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@types/node@20.14.9)(chokidar@3.6.0)(less@4.2.0)(lightningcss@1.26.0)(postcss@8.4.38)(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(terser@5.31.0)(typescript@5.4.5)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.1800.6(chokidar@3.6.0) @@ -10702,7 +10794,7 @@ snapshots: optionalDependencies: less: 4.2.0 postcss: 8.4.38 - tailwindcss: 3.4.10 + tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) transitivePeerDependencies: - '@types/node' - chokidar @@ -13160,7 +13252,43 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2))': + '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5))': + dependencies: + '@jest/console': 29.7.0 + '@jest/reporters': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.14.9 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + ci-info: 3.9.0 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-changed-files: 29.7.0 + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-resolve-dependencies: 29.7.0 + jest-runner: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + jest-watcher: 29.7.0 + micromatch: 4.0.7 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-ansi: 6.0.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + - ts-node + optional: true + + '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -13174,7 +13302,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -13447,11 +13575,11 @@ snapshots: '@next/swc-win32-x64-msvc@14.2.15': optional: true - '@ngtools/webpack@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3))': + '@ngtools/webpack@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3))': dependencies: '@angular/compiler-cli': 18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5) typescript: 5.4.5 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) '@noble/hashes@1.4.0': {} @@ -13541,12 +13669,12 @@ snapshots: '@orama/orama@2.0.23': {} - '@orama/orama@3.0.0-rc-1': {} + '@orama/orama@3.0.0': {} - '@orama/switch@3.0.0-rc-1(@orama/orama@3.0.0-rc-1)(@oramacloud/client@1.3.15(encoding@0.1.13)(typescript@5.5.2))': + '@orama/switch@3.0.0(@orama/orama@3.0.0)(@oramacloud/client@1.3.17(encoding@0.1.13)(typescript@5.5.2))': dependencies: - '@orama/orama': 3.0.0-rc-1 - '@oramacloud/client': 1.3.15(encoding@0.1.13)(typescript@5.5.2) + '@orama/orama': 3.0.0 + '@oramacloud/client': 1.3.17(encoding@0.1.13)(typescript@5.5.2) '@oramacloud/client@1.3.15(encoding@0.1.13)(typescript@5.5.2)': dependencies: @@ -14230,7 +14358,7 @@ snapshots: '@storybook/builder-webpack5': 8.2.4(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(typescript@5.5.2) '@storybook/preset-react-webpack': 8.2.4(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(typescript@5.5.2) '@storybook/react': 8.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(typescript@5.5.2) - '@storybook/test': 8.2.4(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9))(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) + '@storybook/test': 8.2.4(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)))(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) '@types/node': 18.19.39 '@types/semver': 7.5.8 babel-loader: 9.1.3(@babel/core@7.24.7)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)) @@ -14385,7 +14513,7 @@ snapshots: optionalDependencies: typescript: 5.5.2 - '@storybook/test-runner@0.19.1(@swc/helpers@0.5.5)(@types/node@20.14.9)(encoding@0.1.13)(prettier@3.3.2)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))': + '@storybook/test-runner@0.19.1(@swc/helpers@0.5.5)(@types/node@20.14.9)(encoding@0.1.13)(prettier@3.3.2)(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))': dependencies: '@babel/core': 7.24.7 '@babel/generator': 7.24.7 @@ -14399,14 +14527,14 @@ snapshots: '@swc/core': 1.6.5(@swc/helpers@0.5.5) '@swc/jest': 0.2.36(@swc/core@1.6.5(@swc/helpers@0.5.5)) expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-junit: 16.0.0 - jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@20.14.9)) + jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))) jest-runner: 29.7.0 jest-serializer-html: 7.1.0 - jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@20.14.9)) + jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))) nyc: 15.1.0 playwright: 1.45.0 transitivePeerDependencies: @@ -14421,12 +14549,12 @@ snapshots: - supports-color - ts-node - '@storybook/test@8.2.4(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9))(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))': + '@storybook/test@8.2.4(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)))(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7)))': dependencies: '@storybook/csf': 0.1.11 '@storybook/instrumenter': 8.2.4(storybook@8.2.4(@babel/preset-env@7.24.7(@babel/core@7.24.7))) '@testing-library/dom': 10.1.0 - '@testing-library/jest-dom': 6.4.5(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9)) + '@testing-library/jest-dom': 6.4.5(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))) '@testing-library/user-event': 14.5.2(@testing-library/dom@10.1.0) '@vitest/expect': 1.6.0 '@vitest/spy': 1.6.0 @@ -14551,7 +14679,7 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.4.5(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9))': + '@testing-library/jest-dom@6.4.5(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)))': dependencies: '@adobe/css-tools': 4.4.0 '@babel/runtime': 7.24.7 @@ -14564,7 +14692,7 @@ snapshots: optionalDependencies: '@jest/globals': 29.7.0 '@types/jest': 29.5.12 - jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) '@testing-library/user-event@14.5.2(@testing-library/dom@10.1.0)': dependencies: @@ -14589,7 +14717,7 @@ snapshots: '@tufjs/canonical-json': 2.0.0 minimatch: 9.0.5 - '@turbo/gen@2.0.5(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)': + '@turbo/gen@2.0.5(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)': dependencies: '@turbo/workspaces': 2.0.5 chalk: 2.4.2 @@ -14599,7 +14727,7 @@ snapshots: minimatch: 9.0.5 node-plop: 0.26.3 proxy-agent: 6.4.0 - ts-node: 10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2) + ts-node: 10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2) update-check: 1.5.4 validate-npm-package-name: 5.0.1 transitivePeerDependencies: @@ -15549,12 +15677,12 @@ snapshots: transitivePeerDependencies: - supports-color - babel-loader@9.1.3(@babel/core@7.24.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + babel-loader@9.1.3(@babel/core@7.24.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: '@babel/core': 7.24.5 find-cache-dir: 4.0.0 schema-utils: 4.2.0 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) babel-loader@9.1.3(@babel/core@7.24.7)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)): dependencies: @@ -16163,7 +16291,7 @@ snapshots: dependencies: is-what: 3.14.1 - copy-webpack-plugin@11.0.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + copy-webpack-plugin@11.0.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: fast-glob: 3.3.2 glob-parent: 6.0.2 @@ -16171,7 +16299,7 @@ snapshots: normalize-path: 3.0.0 schema-utils: 4.2.0 serialize-javascript: 6.0.2 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) core-js-compat@3.37.1: dependencies: @@ -16234,13 +16362,29 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - create-jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)): + create-jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)): + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + jest-util: 29.7.0 + prompts: 2.4.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + optional: true + + create-jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -16314,7 +16458,7 @@ snapshots: optionalDependencies: webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5) - css-loader@7.1.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + css-loader@7.1.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: icss-utils: 5.1.0(postcss@8.4.41) postcss: 8.4.41 @@ -16325,7 +16469,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.2 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) css-prefers-color-scheme@9.0.1(postcss@8.4.39): dependencies: @@ -17115,7 +17259,7 @@ snapshots: debug: 4.3.5 enhanced-resolve: 5.17.0 eslint: 9.5.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@9.5.0))(eslint@9.5.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.5.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.1)(eslint@9.5.0) fast-glob: 3.3.2 get-tsconfig: 4.7.5 @@ -17127,7 +17271,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@9.5.0))(eslint@9.5.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.5.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -17152,7 +17296,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.5.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@9.5.0))(eslint@9.5.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@9.5.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.5.0) hasown: 2.0.2 is-core-module: 2.14.0 is-glob: 4.0.3 @@ -17964,7 +18108,7 @@ snapshots: html-tags@3.3.1: {} - html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -17972,7 +18116,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) optional: true html-webpack-plugin@5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)): @@ -17985,6 +18129,17 @@ snapshots: optionalDependencies: webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5) + html-webpack-plugin@5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))): + dependencies: + '@types/html-minifier-terser': 6.1.0 + html-minifier-terser: 6.1.0 + lodash: 4.17.21 + pretty-error: 4.0.0 + tapable: 2.2.1 + optionalDependencies: + webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5)) + optional: true + htmlparser2@3.10.1: dependencies: domelementtype: 1.3.1 @@ -18528,16 +18683,36 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)): + jest-cli@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)): + dependencies: + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + exit: 0.1.2 + import-local: 3.1.0 + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + optional: true + + jest-cli@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + create-jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -18547,7 +18722,39 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)): + dependencies: + '@babel/core': 7.24.7 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.24.7) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.7 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 20.14.9 + ts-node: 10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5) + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + optional: true + + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -18573,7 +18780,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.9 - ts-node: 10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2) + ts-node: 10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -18661,10 +18868,10 @@ snapshots: '@types/node': 20.14.9 jest-util: 29.7.0 - jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@20.14.9)): + jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))): dependencies: expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-process-manager: 0.4.0 @@ -18818,11 +19025,11 @@ snapshots: leven: 3.1.0 pretty-format: 29.7.0 - jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@20.14.9)): + jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2))): dependencies: ansi-escapes: 6.2.1 chalk: 5.3.0 - jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) jest-regex-util: 29.6.3 jest-watcher: 29.7.0 slash: 5.1.0 @@ -18853,12 +19060,25 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)): + jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)): + dependencies: + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + '@jest/types': 29.6.3 + import-local: 3.1.0 + jest-cli: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + optional: true + + jest@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + jest-cli: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -19065,11 +19285,11 @@ snapshots: dotenv: 16.4.5 dotenv-expand: 10.0.0 - less-loader@12.2.0(less@4.2.0)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + less-loader@12.2.0(less@4.2.0)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: less: 4.2.0 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) less@4.2.0: dependencies: @@ -19092,11 +19312,11 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - license-webpack-plugin@4.0.2(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + license-webpack-plugin@4.0.2(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: webpack-sources: 3.2.3 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) lightningcss-darwin-arm64@1.26.0: optional: true @@ -19414,11 +19634,11 @@ snapshots: min-indent@1.0.1: {} - mini-css-extract-plugin@2.9.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + mini-css-extract-plugin@2.9.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: schema-utils: 4.2.0 tapable: 2.2.1 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) minimalistic-assert@1.0.1: {} @@ -19566,7 +19786,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10)(tslib@2.6.3)(typescript@5.4.5): + ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)))(tslib@2.6.3)(typescript@5.4.5): dependencies: '@angular/compiler-cli': 18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5) '@rollup/plugin-json': 6.1.0(rollup@4.18.0) @@ -19595,7 +19815,7 @@ snapshots: typescript: 5.4.5 optionalDependencies: rollup: 4.18.0 - tailwindcss: 3.4.10 + tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) nice-napi@1.0.2: dependencies: @@ -20419,12 +20639,13 @@ snapshots: '@csstools/utilities': 1.0.0(postcss@8.4.39) postcss: 8.4.39 - postcss-load-config@4.0.2(postcss@8.4.41): + postcss-load-config@4.0.2(postcss@8.4.41)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)): dependencies: lilconfig: 3.1.2 yaml: 2.5.0 optionalDependencies: postcss: 8.4.41 + ts-node: 10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5) optional: true postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.41)(tsx@4.17.0)(yaml@2.5.0): @@ -20436,14 +20657,14 @@ snapshots: tsx: 4.17.0 yaml: 2.5.0 - postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.6 postcss: 8.4.38 semver: 7.6.2 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) transitivePeerDependencies: - typescript @@ -21441,21 +21662,21 @@ snapshots: sass: 1.77.8 sass-embedded: 1.77.8 - sass-loader@14.2.1(sass-embedded@1.77.8)(sass@1.77.2)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + sass-loader@14.2.1(sass-embedded@1.77.8)(sass@1.77.2)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: neo-async: 2.6.2 optionalDependencies: sass: 1.77.2 sass-embedded: 1.77.8 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) - sass-loader@14.2.1(sass-embedded@1.77.8)(sass@1.77.8)(webpack@5.92.1(@swc/core@1.6.5)): + sass-loader@14.2.1(sass-embedded@1.77.8)(sass@1.77.8)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))): dependencies: neo-async: 2.6.2 optionalDependencies: sass: 1.77.8 sass-embedded: 1.77.8 - webpack: 5.92.1(@swc/core@1.6.5) + webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5)) sass@1.77.2: dependencies: @@ -21725,11 +21946,11 @@ snapshots: source-map-js@1.2.0: {} - source-map-loader@5.0.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + source-map-loader@5.0.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: iconv-lite: 0.6.3 source-map-js: 1.2.0 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) source-map-support@0.5.13: dependencies: @@ -22064,7 +22285,7 @@ snapshots: symbol-observable@4.0.0: {} - tailwindcss@3.4.10: + tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -22083,7 +22304,7 @@ snapshots: postcss: 8.4.41 postcss-import: 15.1.0(postcss@8.4.41) postcss-js: 4.0.1(postcss@8.4.41) - postcss-load-config: 4.0.2(postcss@8.4.41) + postcss-load-config: 4.0.2(postcss@8.4.41)(ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5)) postcss-nested: 6.2.0(postcss@8.4.41) postcss-selector-parser: 6.1.2 resolve: 1.22.8 @@ -22134,38 +22355,38 @@ snapshots: type-fest: 2.19.0 unique-string: 3.0.0 - terser-webpack-plugin@5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)): + terser-webpack-plugin@5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.1 - webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) optionalDependencies: '@swc/core': 1.6.5(@swc/helpers@0.5.5) - esbuild: 0.21.5 + esbuild: 0.21.3 - terser-webpack-plugin@5.3.10(@swc/core@1.6.5)(esbuild@0.21.3)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + terser-webpack-plugin@5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.1 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5) optionalDependencies: '@swc/core': 1.6.5(@swc/helpers@0.5.5) - esbuild: 0.21.3 + esbuild: 0.21.5 - terser-webpack-plugin@5.3.10(@swc/core@1.6.5)(webpack@5.92.1(@swc/core@1.6.5)): + terser-webpack-plugin@5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.1 - webpack: 5.92.1(@swc/core@1.6.5) + webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5)) optionalDependencies: '@swc/core': 1.6.5(@swc/helpers@0.5.5) optional: true @@ -22268,7 +22489,28 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2): + ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.4.5): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 20.14.9 + acorn: 8.12.0 + acorn-walk: 8.3.3 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.4.5 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + optionalDependencies: + '@swc/core': 1.6.5(@swc/helpers@0.5.5) + optional: true + + ts-node@10.9.2(@swc/core@1.6.5(@swc/helpers@0.5.5))(@types/node@20.14.9)(typescript@5.5.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -22317,7 +22559,7 @@ snapshots: tslib@2.6.3: {} - tsup@8.2.4(@swc/core@1.6.5)(jiti@1.21.6)(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.2)(yaml@2.5.0): + tsup@8.2.4(@swc/core@1.6.5(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.2)(yaml@2.5.0): dependencies: bundle-require: 5.0.0(esbuild@0.23.0) cac: 6.7.14 @@ -22726,7 +22968,7 @@ snapshots: optionalDependencies: webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5) - webpack-dev-middleware@7.2.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + webpack-dev-middleware@7.2.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: colorette: 2.0.20 memfs: 4.9.3 @@ -22735,7 +22977,7 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.2.0 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) webpack-dev-middleware@7.2.1(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)): dependencies: @@ -22749,7 +22991,7 @@ snapshots: webpack: 5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5) optional: true - webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: '@types/bonjour': 3.5.13 '@types/connect-history-api-fallback': 1.5.4 @@ -22779,10 +23021,10 @@ snapshots: serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 - webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) ws: 8.17.1 optionalDependencies: - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) transitivePeerDependencies: - bufferutil - debug @@ -22844,16 +23086,23 @@ snapshots: webpack-sources@3.2.3: {} - webpack-subresource-integrity@5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + webpack-subresource-integrity@5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): + dependencies: + typed-assert: 1.0.9 + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) + optionalDependencies: + html-webpack-plugin: 5.6.0(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) + + webpack-subresource-integrity@5.1.0(html-webpack-plugin@5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))))(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)): dependencies: typed-assert: 1.0.9 - webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack: 5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3) optionalDependencies: - html-webpack-plugin: 5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + html-webpack-plugin: 5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))) webpack-virtual-modules@0.6.2: {} - webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3): + webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 @@ -22876,7 +23125,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.6.5)(esbuild@0.21.3)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + terser-webpack-plugin: 5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)(webpack@5.91.0(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.3)) watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -22884,7 +23133,7 @@ snapshots: - esbuild - uglify-js - webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5): + webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5)): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 @@ -22907,15 +23156,16 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)) + terser-webpack-plugin: 5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))) watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' - esbuild - uglify-js + optional: true - webpack@5.92.1(@swc/core@1.6.5): + webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 @@ -22938,14 +23188,13 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.6.5)(webpack@5.92.1(@swc/core@1.6.5)) + terser-webpack-plugin: 5.3.10(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)) watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' - esbuild - uglify-js - optional: true websocket-driver@0.7.4: dependencies: