@commerce-ai-tool/angular 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +16 -0
- package/dist/index.cjs +2811 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +1015 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2780 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/camera.util.d.ts +7 -0
- package/dist/lib/camera.util.d.ts.map +1 -0
- package/dist/lib/commerce-ai-api.service.d.ts +35 -0
- package/dist/lib/commerce-ai-api.service.d.ts.map +1 -0
- package/dist/lib/commerce-ai-cart-panel.component.d.ts +34 -0
- package/dist/lib/commerce-ai-cart-panel.component.d.ts.map +1 -0
- package/dist/lib/commerce-ai-cart.service.d.ts +61 -0
- package/dist/lib/commerce-ai-cart.service.d.ts.map +1 -0
- package/dist/lib/commerce-ai-mission-results.component.d.ts +26 -0
- package/dist/lib/commerce-ai-mission-results.component.d.ts.map +1 -0
- package/dist/lib/commerce-ai-search.component.d.ts +141 -0
- package/dist/lib/commerce-ai-search.component.d.ts.map +1 -0
- package/dist/lib/mission.util.d.ts +6 -0
- package/dist/lib/mission.util.d.ts.map +1 -0
- package/dist/vendor-core/client.d.cts +12 -0
- package/dist/vendor-core/client.d.ts +12 -0
- package/dist/vendor-core/commercetools/facet-color.d.ts +12 -0
- package/dist/vendor-core/commercetools/facets.d.ts +31 -0
- package/dist/vendor-core/messages/index.d.ts +110 -0
- package/dist/vendor-core/payments/types.d.ts +35 -0
- package/dist/vendor-core/search/compound-shopping-list.d.ts +6 -0
- package/dist/vendor-core/types/index.d.ts +510 -0
- package/package.json +83 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# @commerce-ai-tool/angular
|
|
2
|
+
|
|
3
|
+
## 2.4.0
|
|
4
|
+
|
|
5
|
+
### Initial public release
|
|
6
|
+
|
|
7
|
+
First published version of the Commerce AI Tool Angular widget (product roadmap through v2.4).
|
|
8
|
+
|
|
9
|
+
- Standalone search component with independent voice, camera, and image-upload controls
|
|
10
|
+
- Autocomplete, facets (including hex color swatches), cart panel, and shopping-mission lanes with batched add-to-cart
|
|
11
|
+
- Runtime `messages` overrides
|
|
12
|
+
- Client bundle does not depend on `@commerce-ai-tool/core` at runtime (client-safe helpers are bundled). Install `@commerce-ai-tool/server` on the host for the BFF.
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pnpm add @commerce-ai-tool/angular @commerce-ai-tool/server
|
|
16
|
+
```
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Commerce AI Tool Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# @commerce-ai-tool/angular
|
|
2
|
+
|
|
3
|
+
Standalone Angular product search widget. Talks only to the host `/api/commerce-ai/*` routes — API keys never reach the browser.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pnpm add @commerce-ai-tool/angular @commerce-ai-tool/server
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { CommerceAiSearchComponent } from "@commerce-ai-tool/angular";
|
|
11
|
+
import "@commerce-ai-tool/angular/styles.css";
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
The demo app in the GitHub repository is not an npm dependency.
|
|
15
|
+
|
|
16
|
+
Setup: [Getting started](https://github.com/tomasz-miller/commerce-ai-tool/blob/main/docs/GETTING-STARTED.md).
|