@copilotkit/angular 0.5.3 → 2.0.0-rc.52

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.
Files changed (37) hide show
  1. package/.attw.json +1 -2
  2. package/README.md +31 -133
  3. package/dist/README.md +31 -133
  4. package/dist/fesm2022/copilotkit-angular-generative-ui-chart.mjs +28 -0
  5. package/dist/fesm2022/copilotkit-angular-generative-ui-chart.mjs.map +1 -0
  6. package/dist/fesm2022/copilotkit-angular-generative-ui-icons.mjs +30 -0
  7. package/dist/fesm2022/copilotkit-angular-generative-ui-icons.mjs.map +1 -0
  8. package/dist/fesm2022/copilotkit-angular-generative-ui-map.mjs +28 -0
  9. package/dist/fesm2022/copilotkit-angular-generative-ui-map.mjs.map +1 -0
  10. package/dist/fesm2022/copilotkit-angular-generative-ui.mjs +11975 -0
  11. package/dist/fesm2022/copilotkit-angular-generative-ui.mjs.map +1 -0
  12. package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs +43 -142
  13. package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs.map +1 -1
  14. package/dist/fesm2022/copilotkit-angular.mjs +7436 -7448
  15. package/dist/fesm2022/copilotkit-angular.mjs.map +1 -1
  16. package/dist/types/copilotkit-angular-generative-ui-chart.d.ts +16 -0
  17. package/dist/types/copilotkit-angular-generative-ui-chart.d.ts.map +1 -0
  18. package/dist/types/copilotkit-angular-generative-ui-icons.d.ts +18 -0
  19. package/dist/types/copilotkit-angular-generative-ui-icons.d.ts.map +1 -0
  20. package/dist/types/copilotkit-angular-generative-ui-map.d.ts +16 -0
  21. package/dist/types/copilotkit-angular-generative-ui-map.d.ts.map +1 -0
  22. package/dist/types/copilotkit-angular-generative-ui.d.ts +8011 -0
  23. package/dist/types/copilotkit-angular-generative-ui.d.ts.map +1 -0
  24. package/dist/types/copilotkit-angular-mcp-apps.d.ts +234 -5560
  25. package/dist/types/copilotkit-angular-mcp-apps.d.ts.map +1 -1
  26. package/dist/types/copilotkit-angular.d.ts +1217 -812
  27. package/dist/types/copilotkit-angular.d.ts.map +1 -1
  28. package/package.json +54 -39
  29. package/scripts/generate-stylesheet.mjs +63 -0
  30. package/tsconfig.json +11 -1
  31. package/vitest.config.mts +6 -0
  32. package/dist/fesm2022/copilotkit-angular-a2ui.mjs +0 -1492
  33. package/dist/fesm2022/copilotkit-angular-a2ui.mjs.map +0 -1
  34. package/dist/styles.css +0 -2679
  35. package/dist/types/copilotkit-angular-a2ui.d.ts +0 -178
  36. package/dist/types/copilotkit-angular-a2ui.d.ts.map +0 -1
  37. package/scripts/scope-preflight.mjs +0 -100
@@ -0,0 +1,16 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+
3
+ /**
4
+ * Experimental. Draws the standard `Chart` component with chart.js, which
5
+ * loads in its own chunk the first time a chart renders. Without this
6
+ * provider, Chart shows its data as a table. Add `chart.js` to the app.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * providers: [provideGenerativeUI({ ui: standardUI }), provideGenerativeUIChart()]
11
+ * ```
12
+ */
13
+ declare function provideGenerativeUIChart(): EnvironmentProviders;
14
+
15
+ export { provideGenerativeUIChart };
16
+ //# sourceMappingURL=copilotkit-angular-generative-ui-chart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copilotkit-angular-generative-ui-chart.d.ts","sources":["../../src/generative-ui/chart/index.ts"],"mappings":";;AAIA;;;;;;;;;AASG;AACH,iBAAgB,wBAAwB,IAAI,oBAAoB;;;;","names":[]}
@@ -0,0 +1,18 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+
3
+ /**
4
+ * Experimental. Draws the standard `Icon` component, and the icons of
5
+ * Button and Select, with the Lucide icon set. The `lucide` package (the
6
+ * icon data, not a framework binding) loads in its own chunk the first time
7
+ * an icon renders. Without this provider, icons render nothing. Add
8
+ * `lucide` to the app.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * providers: [provideGenerativeUI({ ui: standardUI }), provideGenerativeUIIcons()]
13
+ * ```
14
+ */
15
+ declare function provideGenerativeUIIcons(): EnvironmentProviders;
16
+
17
+ export { provideGenerativeUIIcons };
18
+ //# sourceMappingURL=copilotkit-angular-generative-ui-icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copilotkit-angular-generative-ui-icons.d.ts","sources":["../../src/generative-ui/icons/index.ts"],"mappings":";;AAIA;;;;;;;;;;;AAWG;AACH,iBAAgB,wBAAwB,IAAI,oBAAoB;;;;","names":[]}
@@ -0,0 +1,16 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+
3
+ /**
4
+ * Experimental. Draws the standard `Map` component with MapLibre GL, which
5
+ * loads in its own chunk the first time a map renders. Without this
6
+ * provider, Map shows its markers as a list. Add `maplibre-gl` to the app.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * providers: [provideGenerativeUI({ ui: standardUI }), provideGenerativeUIMap()]
11
+ * ```
12
+ */
13
+ declare function provideGenerativeUIMap(): EnvironmentProviders;
14
+
15
+ export { provideGenerativeUIMap };
16
+ //# sourceMappingURL=copilotkit-angular-generative-ui-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copilotkit-angular-generative-ui-map.d.ts","sources":["../../src/generative-ui/map/index.ts"],"mappings":";;AAIA;;;;;;;;;AASG;AACH,iBAAgB,sBAAsB,IAAI,oBAAoB;;;;","names":[]}