@exhaustive-ui/mcp 22.0.0-alpha.0 → 22.0.0-alpha.2
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/README.md +5 -5
- package/data/components/accordion.md +3 -3
- package/data/components/animateonscroll.md +3 -3
- package/data/components/autocomplete.md +3 -3
- package/data/components/avatar.md +10 -10
- package/data/components/card.md +1 -1
- package/data/components/carousel.md +4 -4
- package/data/components/cascadeselect.md +1 -1
- package/data/components/chip.md +4 -4
- package/data/components/contextmenu.md +3 -3
- package/data/components/dataview.md +5 -5
- package/data/components/dialog.md +1 -1
- package/data/components/dock.md +11 -11
- package/data/components/dragdrop.md +1 -1
- package/data/components/drawer.md +2 -2
- package/data/components/fieldset.md +1 -1
- package/data/components/fileupload.md +4 -4
- package/data/components/imagecompare.md +4 -4
- package/data/components/inplace.md +1 -1
- package/data/components/listbox.md +2 -2
- package/data/components/megamenu.md +1 -1
- package/data/components/menu.md +1 -1
- package/data/components/menubar.md +1 -1
- package/data/components/message.md +1 -1
- package/data/components/multiselect.md +2 -2
- package/data/components/orderlist.md +3 -3
- package/data/components/organizationchart.md +1 -1
- package/data/components/paginator.md +1 -1
- package/data/components/panel.md +1 -1
- package/data/components/picklist.md +2 -2
- package/data/components/popover.md +6 -6
- package/data/components/rating.md +2 -2
- package/data/components/select.md +7 -7
- package/data/components/slider.md +1 -1
- package/data/components/stepper.md +1 -1
- package/data/components/table.md +23 -23
- package/data/components/tabs.md +3 -3
- package/data/components/tag.md +1 -1
- package/data/components/timeline.md +1 -1
- package/data/components/toast.md +1 -1
- package/data/components/toolbar.md +1 -1
- package/data/components/tooltip.md +1 -1
- package/data/components.json +80 -80
- package/data/llms-full.txt +126 -126
- package/data/llms.txt +111 -111
- package/data/manifest.json +2 -2
- package/data/pages/llms.md +1 -1
- package/data/snapshot.json +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @exhaustive-ui/mcp
|
|
2
2
|
|
|
3
|
-
[Model Context Protocol](https://modelcontextprotocol.io/) server for the [ExhaustiveUI](https://exhaustive-ui.
|
|
3
|
+
[Model Context Protocol](https://modelcontextprotocol.io/) server for the [ExhaustiveUI](https://exhaustive-ui.com) Angular component library (`@exhaustive-ui/core`).
|
|
4
4
|
|
|
5
5
|
It gives coding agents (Claude Code, Cursor, Claude Desktop, VS Code, Codex...) tools to read the ExhaustiveUI documentation and compiled API instead of guessing from PrimeNG memory: list and search components, read a component's docs and API, fetch complete code examples, read the setup guides and validate Angular templates against the real inputs, outputs and allowed values.
|
|
6
6
|
|
|
@@ -120,7 +120,7 @@ Prompts: `use_component`, `build_form`, `theme_component`, `migrate_from_primeng
|
|
|
120
120
|
|
|
121
121
|
## Where the docs come from
|
|
122
122
|
|
|
123
|
-
The docs site publishes machine-readable documentation under [`/llms/`](https://exhaustive-ui.
|
|
123
|
+
The docs site publishes machine-readable documentation under [`/llms/`](https://exhaustive-ui.com/llms): `llms.txt`, `llms-full.txt`, `manifest.json` (compiled selectors, inputs, outputs, templates, PT keys of every entry point), `components.json` (sections, examples and API of every component, plus the guides), and one Markdown file per component and guide.
|
|
124
124
|
|
|
125
125
|
The server reads these files from the live site at runtime and keeps them in memory for 15 minutes, so it always reflects the deployed documentation without republishing the package. A snapshot of the same files is bundled in the package (`data/`) and used when the site cannot be reached; after a connection failure the site is not retried for a minute so an offline session stays responsive. The `version` tool reports which source answered.
|
|
126
126
|
|
|
@@ -128,7 +128,7 @@ The server reads these files from the live site at runtime and keeps them in mem
|
|
|
128
128
|
|
|
129
129
|
| Variable | Default | Purpose |
|
|
130
130
|
| --------------------------------- | ----------------------------------- | ------------------------------------------------------------------------------ |
|
|
131
|
-
| `EXHAUSTIVE_UI_DOCS_URL` | `https://exhaustive-ui.
|
|
131
|
+
| `EXHAUSTIVE_UI_DOCS_URL` | `https://exhaustive-ui.com` | Docs site to read from, for instance a local `ng serve` of the docs app. |
|
|
132
132
|
| `EXHAUSTIVE_UI_MCP_CACHE_TTL` | `900` | Seconds a fetched document is reused before it is fetched again. |
|
|
133
133
|
| `EXHAUSTIVE_UI_MCP_FETCH_TIMEOUT` | `10000` | Milliseconds before a request to the docs site is abandoned. |
|
|
134
134
|
| `EXHAUSTIVE_UI_MCP_OFFLINE` | unset | Set to `1` to never contact the site and only use the bundled snapshot. |
|
|
@@ -158,8 +158,8 @@ pnpm --filter @exhaustive-ui/mcp test # vitest, against the fixture snapshot
|
|
|
158
158
|
|
|
159
159
|
## Links
|
|
160
160
|
|
|
161
|
-
- [ExhaustiveUI documentation](https://exhaustive-ui.
|
|
162
|
-
- [LLM documentation endpoints](https://exhaustive-ui.
|
|
161
|
+
- [ExhaustiveUI documentation](https://exhaustive-ui.com/)
|
|
162
|
+
- [LLM documentation endpoints](https://exhaustive-ui.com/llms)
|
|
163
163
|
- [Model Context Protocol](https://modelcontextprotocol.io/)
|
|
164
164
|
- [GitHub repository](https://github.com/e-xiste/exhaustive-ui)
|
|
165
165
|
|
|
@@ -268,7 +268,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
|
268
268
|
}
|
|
269
269
|
</ng-template>
|
|
270
270
|
<span class="flex items-center gap-2 w-full">
|
|
271
|
-
<p-avatar image="https://exhaustive-ui.
|
|
271
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
272
272
|
<span class="font-bold whitespace-nowrap">Amy Elsner</span>
|
|
273
273
|
<p-badge value="3" class="ml-auto mr-2" />
|
|
274
274
|
</span>
|
|
@@ -291,7 +291,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
|
291
291
|
}
|
|
292
292
|
</ng-template>
|
|
293
293
|
<span class="flex items-center gap-2 w-full">
|
|
294
|
-
<p-avatar image="https://exhaustive-ui.
|
|
294
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" />
|
|
295
295
|
<span class="font-bold whitespace-nowrap">Onyama Limba</span>
|
|
296
296
|
<p-badge value="4" class="ml-auto mr-2" />
|
|
297
297
|
</span>
|
|
@@ -313,7 +313,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
|
313
313
|
}
|
|
314
314
|
</ng-template>
|
|
315
315
|
<span class="flex items-center gap-2 w-full">
|
|
316
|
-
<p-avatar image="https://exhaustive-ui.
|
|
316
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/ionibowcher.png" shape="circle" />
|
|
317
317
|
<span class="font-bold whitespace-nowrap">Ioni Bowcher</span>
|
|
318
318
|
<p-badge value="2" class="ml-auto mr-2" />
|
|
319
319
|
</span>
|
|
@@ -65,17 +65,17 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
65
65
|
leaveClass="animate-leave fade-out-0"
|
|
66
66
|
class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
|
|
67
67
|
>
|
|
68
|
-
<p-avatar image="https://exhaustive-ui.
|
|
68
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" size="xlarge" />
|
|
69
69
|
<span class="text-2xl font-medium">Jenna Thompson</span>
|
|
70
70
|
<span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
|
|
71
71
|
</div>
|
|
72
72
|
<div pAnimateOnScroll enterClass="animate-enter fade-in-10 slide-in-from-b-20 animate-duration-1000" class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
|
|
73
|
-
<p-avatar image="https://exhaustive-ui.
|
|
73
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" shape="circle" size="xlarge" />
|
|
74
74
|
<span class="text-2xl font-medium">Isabel Garcia</span>
|
|
75
75
|
<span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
|
|
76
76
|
</div>
|
|
77
77
|
<div pAnimateOnScroll enterClass="animate-enter fade-in-10 slide-in-from-t-20 animate-duration-1000" class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
|
|
78
|
-
<p-avatar image="https://exhaustive-ui.
|
|
78
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" size="xlarge" />
|
|
79
79
|
<span class="text-2xl font-medium">Xavier Mason</span>
|
|
80
80
|
<span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
|
|
81
81
|
</div>
|
|
@@ -35,7 +35,7 @@ import { Product } from '@/domain/product';
|
|
|
35
35
|
>
|
|
36
36
|
<ng-template let-product #item>
|
|
37
37
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
38
|
-
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.
|
|
38
|
+
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" />
|
|
39
39
|
<div class="flex-1 flex flex-col">
|
|
40
40
|
<span class="font-medium text-sm">{{ product.name }}</span>
|
|
41
41
|
<span class="text-sm text-surface-500 dark:text-surface-400">{{ product.category }}</span>
|
|
@@ -459,7 +459,7 @@ interface AutoCompleteCompleteEvent {
|
|
|
459
459
|
<p-autocomplete [(ngModel)]="selectedCity" [group]="true" [suggestions]="filteredGroups" (completeMethod)="filterGroupedCity($event)" placeholder="Hint: type 'a'">
|
|
460
460
|
<ng-template let-group #group>
|
|
461
461
|
<div class="flex items-center">
|
|
462
|
-
<img src="https://exhaustive-ui.
|
|
462
|
+
<img src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'mr-2 flag flag-' + group.value" style="width: 20px" />
|
|
463
463
|
<span>{{ group.label }}</span>
|
|
464
464
|
</div>
|
|
465
465
|
</ng-template>
|
|
@@ -814,7 +814,7 @@ interface AutoCompleteCompleteEvent {
|
|
|
814
814
|
<p-autocomplete [(ngModel)]="selectedCountryAdvanced" [suggestions]="filteredCountries" (completeMethod)="filterCountry($event)" optionLabel="name">
|
|
815
815
|
<ng-template let-country #item>
|
|
816
816
|
<div class="flex items-center gap-2">
|
|
817
|
-
<img src="https://exhaustive-ui.
|
|
817
|
+
<img src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'flag flag-' + country.code.toLowerCase()" style="width: 18px" />
|
|
818
818
|
<div>{{ country.name }}</div>
|
|
819
819
|
</div>
|
|
820
820
|
</ng-template>
|
|
@@ -18,11 +18,11 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
18
18
|
template: `
|
|
19
19
|
<div class="card flex justify-center">
|
|
20
20
|
<p-avatar-group>
|
|
21
|
-
<p-avatar image="https://exhaustive-ui.
|
|
22
|
-
<p-avatar image="https://exhaustive-ui.
|
|
23
|
-
<p-avatar image="https://exhaustive-ui.
|
|
24
|
-
<p-avatar image="https://exhaustive-ui.
|
|
25
|
-
<p-avatar image="https://exhaustive-ui.
|
|
21
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" size="large" shape="circle" />
|
|
22
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" size="large" shape="circle" />
|
|
23
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" size="large" shape="circle" />
|
|
24
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/ionibowcher.png" size="large" shape="circle" />
|
|
25
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/xuxuefeng.png" size="large" shape="circle" />
|
|
26
26
|
<p-avatar label="+2" shape="circle" size="large" />
|
|
27
27
|
</p-avatar-group>
|
|
28
28
|
</div>
|
|
@@ -130,7 +130,7 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
130
130
|
@Component({
|
|
131
131
|
template: `
|
|
132
132
|
<div class="card flex justify-center">
|
|
133
|
-
<p-avatar image="https://exhaustive-ui.
|
|
133
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" pBadge value="4" severity="danger" />
|
|
134
134
|
</div>
|
|
135
135
|
`,
|
|
136
136
|
standalone: true,
|
|
@@ -192,14 +192,14 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
192
192
|
<div class="flex flex-wrap gap-8">
|
|
193
193
|
<div class="flex-auto">
|
|
194
194
|
<h5>Image</h5>
|
|
195
|
-
<p-avatar image="https://exhaustive-ui.
|
|
196
|
-
<p-avatar image="https://exhaustive-ui.
|
|
197
|
-
<p-avatar image="https://exhaustive-ui.
|
|
195
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" class="mr-2" size="xlarge" shape="circle" />
|
|
196
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" class="mr-2" size="large" shape="circle" />
|
|
197
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" />
|
|
198
198
|
</div>
|
|
199
199
|
<div class="flex-auto">
|
|
200
200
|
<h5>Badge</h5>
|
|
201
201
|
<p-overlay-badge value="4" severity="danger" class="inline-flex">
|
|
202
|
-
<p-avatar class="p-overlay-badge" image="https://exhaustive-ui.
|
|
202
|
+
<p-avatar class="p-overlay-badge" image="https://exhaustive-ui.com/demo/avatar/walter.jpg" size="xlarge" />
|
|
203
203
|
</p-overlay-badge>
|
|
204
204
|
</div>
|
|
205
205
|
<div class="flex-auto">
|
package/data/components/card.md
CHANGED
|
@@ -20,7 +20,7 @@ import { CardModule } from '@exhaustive-ui/core/card';
|
|
|
20
20
|
<div class="mb-4 p-8 flex items-center justify-center">
|
|
21
21
|
<p-card [style]="{ width: '25rem', overflow: 'hidden' }">
|
|
22
22
|
<ng-template #header>
|
|
23
|
-
<img alt="Card" class="w-full" src="https://exhaustive-ui.
|
|
23
|
+
<img alt="Card" class="w-full" src="https://exhaustive-ui.com/demo/card-ng.jpg" />
|
|
24
24
|
</ng-template>
|
|
25
25
|
<ng-template #title> Advanced Card </ng-template>
|
|
26
26
|
<ng-template #subtitle> Card subtitle </ng-template>
|
|
@@ -26,7 +26,7 @@ import { Product } from '@/domain/product';
|
|
|
26
26
|
<div class="border border-surface rounded-border m-2 p-4">
|
|
27
27
|
<div class="mb-4">
|
|
28
28
|
<div class="relative mx-auto">
|
|
29
|
-
<img src="https://exhaustive-ui.
|
|
29
|
+
<img src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" class="w-full rounded-border" />
|
|
30
30
|
<p-tag [value]="product.inventoryStatus" [severity]="getSeverity(product.inventoryStatus)" class="absolute dark:!bg-surface-900" [ngStyle]="{ 'left.px': 5, 'top.px': 5 }" />
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -113,7 +113,7 @@ import { Product } from '@/domain/product';
|
|
|
113
113
|
<div class="border border-surface-200 dark:border-surface-700 rounded m-2 p-4">
|
|
114
114
|
<div class="mb-4">
|
|
115
115
|
<div class="relative mx-auto">
|
|
116
|
-
<img src="https://exhaustive-ui.
|
|
116
|
+
<img src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" class="w-full rounded-border" />
|
|
117
117
|
<p-tag [value]="product.inventoryStatus" [severity]="getSeverity(product.inventoryStatus)" class="absolute dark:!bg-surface-900" [ngStyle]="{ 'left.px': 5, 'top.px': 5 }" />
|
|
118
118
|
</div>
|
|
119
119
|
</div>
|
|
@@ -200,7 +200,7 @@ import { Product } from '@/domain/product';
|
|
|
200
200
|
<div class="border border-surface-200 dark:border-surface-700 rounded m-2 p-4">
|
|
201
201
|
<div class="mb-4">
|
|
202
202
|
<div class="relative mx-auto">
|
|
203
|
-
<img src="https://exhaustive-ui.
|
|
203
|
+
<img src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" class="w-full rounded-border" />
|
|
204
204
|
<p-tag [value]="product.inventoryStatus" [severity]="getSeverity(product.inventoryStatus)" class="absolute dark:!bg-surface-900" [ngStyle]="{ 'left.px': 5, 'top.px': 5 }" />
|
|
205
205
|
</div>
|
|
206
206
|
</div>
|
|
@@ -287,7 +287,7 @@ import { Product } from '@/domain/product';
|
|
|
287
287
|
<div class="border border-surface-200 dark:border-surface-700 rounded m-2 p-4">
|
|
288
288
|
<div class="mb-4">
|
|
289
289
|
<div class="relative mx-auto">
|
|
290
|
-
<img src="https://exhaustive-ui.
|
|
290
|
+
<img src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" class="w-full rounded" />
|
|
291
291
|
<p-tag [value]="product.inventoryStatus" [severity]="getSeverity(product.inventoryStatus)" class="absolute dark:!bg-surface-900" [ngStyle]="{ 'left.px': 5, 'top.px': 5 }" />
|
|
292
292
|
</div>
|
|
293
293
|
</div>
|
|
@@ -1048,7 +1048,7 @@ import { CascadeSelectModule } from '@exhaustive-ui/core/cascadeselect';
|
|
|
1048
1048
|
<p-cascadeselect [(ngModel)]="selectedCity" [options]="countries" optionLabel="cname" optionGroupLabel="name" [optionGroupChildren]="['states', 'cities']" [style]="{ minWidth: '14rem' }" placeholder="Select a City">
|
|
1049
1049
|
<ng-template #option let-option>
|
|
1050
1050
|
<div class="flex items-center">
|
|
1051
|
-
<img *ngIf="option.states" src="https://exhaustive-ui.
|
|
1051
|
+
<img *ngIf="option.states" src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'mr-2 flag flag-' + option.code.toLowerCase()" style="width: 18px" />
|
|
1052
1052
|
<i class="pi pi-compass mr-2" *ngIf="option.cities"></i>
|
|
1053
1053
|
<i class="pi pi-map-marker mr-2" *ngIf="option.cname"></i>
|
|
1054
1054
|
<span>{{ option.cname || option.name }}</span>
|
package/data/components/chip.md
CHANGED
|
@@ -63,10 +63,10 @@ import { ChipModule } from '@exhaustive-ui/core/chip';
|
|
|
63
63
|
@Component({
|
|
64
64
|
template: `
|
|
65
65
|
<div class="card flex items-center gap-2 flex-wrap">
|
|
66
|
-
<p-chip label="Amy Elsner" image="https://exhaustive-ui.
|
|
67
|
-
<p-chip label="Asiya Javayant" image="https://exhaustive-ui.
|
|
68
|
-
<p-chip label="Onyama Limba" image="https://exhaustive-ui.
|
|
69
|
-
<p-chip label="Xuxue Feng" image="https://exhaustive-ui.
|
|
66
|
+
<p-chip label="Amy Elsner" image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" alt="Avatar image" />
|
|
67
|
+
<p-chip label="Asiya Javayant" image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" alt="Avatar image" />
|
|
68
|
+
<p-chip label="Onyama Limba" image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" alt="Avatar image" />
|
|
69
|
+
<p-chip label="Xuxue Feng" image="https://exhaustive-ui.com/demo/avatar/xuxuefeng.png" alt="Avatar image" [removable]="true" />
|
|
70
70
|
</div>
|
|
71
71
|
`,
|
|
72
72
|
standalone: true,
|
|
@@ -19,7 +19,7 @@ import { ContextMenu } from '@exhaustive-ui/core/contextmenu';
|
|
|
19
19
|
@Component({
|
|
20
20
|
template: `
|
|
21
21
|
<div class="card flex justify-center">
|
|
22
|
-
<img #img src="https://exhaustive-ui.
|
|
22
|
+
<img #img src="https://exhaustive-ui.com/demo/nature/nature2.jpg" alt="Logo" aria-haspopup="true" class="w-full md:w-[30rem] rounded shadow-lg" />
|
|
23
23
|
<p-contextmenu [target]="img" [model]="items" />
|
|
24
24
|
</div>
|
|
25
25
|
`,
|
|
@@ -69,7 +69,7 @@ interface Users {
|
|
|
69
69
|
(contextmenu)="onContextMenu($event, user)"
|
|
70
70
|
>
|
|
71
71
|
<div class="flex flex-1 items-center gap-2">
|
|
72
|
-
<img class="w-8 h-8" [alt]="user.name" [src]="'https://exhaustive-ui.
|
|
72
|
+
<img class="w-8 h-8" [alt]="user.name" [src]="'https://exhaustive-ui.com/demo/avatar/' + user.image" />
|
|
73
73
|
<span class="font-bold">{{ user.name }}</span>
|
|
74
74
|
</div>
|
|
75
75
|
<p-tag [value]="user.role" [severity]="getBadge(user)" />
|
|
@@ -307,7 +307,7 @@ import { ContextMenu } from '@exhaustive-ui/core/contextmenu';
|
|
|
307
307
|
(contextmenu)="onContextMenu($event)"
|
|
308
308
|
>
|
|
309
309
|
<div class="flex flex-wrap p-2 items-center gap-4">
|
|
310
|
-
<img class="w-16 shrink-0 rounded" src="https://exhaustive-ui.
|
|
310
|
+
<img class="w-16 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" />
|
|
311
311
|
<div class="flex-1 flex flex-col gap-1">
|
|
312
312
|
<span class="font-bold">{{ product.name }}</span>
|
|
313
313
|
<div class="flex items-center gap-2">
|
|
@@ -27,7 +27,7 @@ import { Product } from '@/domain/product';
|
|
|
27
27
|
<div class="col-span-12" *ngFor="let item of items; let first = first">
|
|
28
28
|
<div class="flex flex-col sm:flex-row sm:items-center p-6 gap-4" [ngClass]="{ 'border-t border-surface-200 dark:border-surface-700': !first }">
|
|
29
29
|
<div class="md:w-40 relative">
|
|
30
|
-
<img class="block xl:block mx-auto rounded-border w-full" [src]="'https://exhaustive-ui.
|
|
30
|
+
<img class="block xl:block mx-auto rounded-border w-full" [src]="'https://exhaustive-ui.com/demo/product/' + item.image" [alt]="item.name" />
|
|
31
31
|
<p-tag [value]="item.inventoryStatus" [severity]="getSeverity(item)" class="absolute dark:!bg-surface-900" [style.left.px]="4" [style.top.px]="4" />
|
|
32
32
|
</div>
|
|
33
33
|
<div class="flex flex-col md:flex-row justify-between md:items-center flex-1 gap-6">
|
|
@@ -126,7 +126,7 @@ import { Product } from '@/domain/product';
|
|
|
126
126
|
<div *ngFor="let item of items; let first = first">
|
|
127
127
|
<div class="flex flex-col sm:flex-row sm:items-center p-6 gap-4" [ngClass]="{ 'border-t border-surface-200 dark:border-surface-700': !first }">
|
|
128
128
|
<div class="md:w-40 relative">
|
|
129
|
-
<img class="block xl:block mx-auto rounded w-full" [src]="'https://exhaustive-ui.
|
|
129
|
+
<img class="block xl:block mx-auto rounded w-full" [src]="'https://exhaustive-ui.com/demo/product/' + item.image" [alt]="item.name" />
|
|
130
130
|
<p-tag [value]="item.inventoryStatus" [severity]="getSeverity(item)" class="absolute dark:!bg-surface-900" [style.left.px]="4" [style.top.px]="4" />
|
|
131
131
|
</div>
|
|
132
132
|
<div class="flex flex-col md:flex-row justify-between md:items-center flex-1 gap-6">
|
|
@@ -159,7 +159,7 @@ import { Product } from '@/domain/product';
|
|
|
159
159
|
<div class="p-6 border border-surface-200 dark:border-surface-700 bg-surface-0 dark:bg-surface-900 rounded flex flex-col">
|
|
160
160
|
<div class="bg-surface-50 flex justify-center rounded p-4">
|
|
161
161
|
<div class="relative mx-auto">
|
|
162
|
-
<img class="rounded w-full" [src]="'https://exhaustive-ui.
|
|
162
|
+
<img class="rounded w-full" [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.name" style="max-width: 300px" />
|
|
163
163
|
<p-tag [value]="product.inventoryStatus" [severity]="getSeverity(product)" class="absolute dark:!bg-surface-900" [style.left.px]="4" [style.top.px]="4" />
|
|
164
164
|
</div>
|
|
165
165
|
</div>
|
|
@@ -321,7 +321,7 @@ import { Product } from '@/domain/product';
|
|
|
321
321
|
<div class="col-span-12" *ngFor="let item of items; let first = first">
|
|
322
322
|
<div class="flex flex-col sm:flex-row sm:items-center p-6 gap-4" [ngClass]="{ 'border-t border-surface-200 dark:border-surface-700': !first }">
|
|
323
323
|
<div class="md:w-40 relative">
|
|
324
|
-
<img class="block xl:block mx-auto rounded-border w-full" [src]="'https://exhaustive-ui.
|
|
324
|
+
<img class="block xl:block mx-auto rounded-border w-full" [src]="'https://exhaustive-ui.com/demo/product/' + item.image" [alt]="item.name" />
|
|
325
325
|
<p-tag [value]="item.inventoryStatus" [severity]="getSeverity(item)" class="absolute dark:!bg-surface-900" [style.left.px]="4" [style.top.px]="4" />
|
|
326
326
|
</div>
|
|
327
327
|
<div class="flex flex-col md:flex-row justify-between md:items-center flex-1 gap-6">
|
|
@@ -400,7 +400,7 @@ import { Product } from '@/domain/product';
|
|
|
400
400
|
<div class="col-span-12" *ngFor="let item of items; let first = first">
|
|
401
401
|
<div class="flex flex-col sm:flex-row sm:items-center p-6 gap-4" [ngClass]="{ 'border-t border-surface-200 dark:border-surface-700': !first }">
|
|
402
402
|
<div class="md:w-40 relative">
|
|
403
|
-
<img class="block xl:block mx-auto rounded-border w-full" [src]="'https://exhaustive-ui.
|
|
403
|
+
<img class="block xl:block mx-auto rounded-border w-full" [src]="'https://exhaustive-ui.com/demo/product/' + item.image" [alt]="item.name" />
|
|
404
404
|
<p-tag [value]="item.inventoryStatus" [severity]="getSeverity(item)" class="dark:!bg-surface-900 absolute" [style.left.px]="4" [style.top.px]="4" />
|
|
405
405
|
</div>
|
|
406
406
|
<div class="flex flex-col md:flex-row justify-between md:items-center flex-1 gap-6">
|
|
@@ -414,7 +414,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
414
414
|
<p-dialog [(visible)]="visible" [modal]="true" [style]="{ width: '25rem' }">
|
|
415
415
|
<ng-template #header>
|
|
416
416
|
<div class="inline-flex items-center justify-center gap-2">
|
|
417
|
-
<p-avatar image="https://exhaustive-ui.
|
|
417
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
418
418
|
<span class="font-bold whitespace-nowrap">Amy Elsner</span>
|
|
419
419
|
</div>
|
|
420
420
|
</ng-template>
|
package/data/components/dock.md
CHANGED
|
@@ -103,7 +103,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
103
103
|
positionLeft: 15,
|
|
104
104
|
showDelay: 1000
|
|
105
105
|
},
|
|
106
|
-
icon: 'https://exhaustive-ui.
|
|
106
|
+
icon: 'https://exhaustive-ui.com/demo/dock/finder.svg',
|
|
107
107
|
command: () => {
|
|
108
108
|
this.displayFinder = true;
|
|
109
109
|
}
|
|
@@ -117,7 +117,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
117
117
|
positionLeft: 15,
|
|
118
118
|
showDelay: 1000
|
|
119
119
|
},
|
|
120
|
-
icon: 'https://exhaustive-ui.
|
|
120
|
+
icon: 'https://exhaustive-ui.com/demo/dock/terminal.svg',
|
|
121
121
|
command: () => {
|
|
122
122
|
this.displayTerminal = true;
|
|
123
123
|
}
|
|
@@ -131,7 +131,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
131
131
|
positionLeft: 15,
|
|
132
132
|
showDelay: 1000
|
|
133
133
|
},
|
|
134
|
-
icon: 'https://exhaustive-ui.
|
|
134
|
+
icon: 'https://exhaustive-ui.com/demo/dock/appstore.svg',
|
|
135
135
|
url: 'https://www.apple.com/app-store/'
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -143,7 +143,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
143
143
|
positionLeft: 15,
|
|
144
144
|
showDelay: 1000
|
|
145
145
|
},
|
|
146
|
-
icon: 'https://exhaustive-ui.
|
|
146
|
+
icon: 'https://exhaustive-ui.com/demo/dock/safari.svg'
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
label: 'Photos',
|
|
@@ -154,7 +154,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
154
154
|
positionLeft: 15,
|
|
155
155
|
showDelay: 1000
|
|
156
156
|
},
|
|
157
|
-
icon: 'https://exhaustive-ui.
|
|
157
|
+
icon: 'https://exhaustive-ui.com/demo/dock/photos.svg',
|
|
158
158
|
command: () => {
|
|
159
159
|
this.displayGalleria = true;
|
|
160
160
|
}
|
|
@@ -168,7 +168,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
168
168
|
positionLeft: 15,
|
|
169
169
|
showDelay: 1000
|
|
170
170
|
},
|
|
171
|
-
icon: 'https://exhaustive-ui.
|
|
171
|
+
icon: 'https://exhaustive-ui.com/demo/dock/github.svg',
|
|
172
172
|
url: 'https://github.com/e-xiste/exhaustive-ui'
|
|
173
173
|
},
|
|
174
174
|
{
|
|
@@ -180,7 +180,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
180
180
|
positionLeft: 15,
|
|
181
181
|
showDelay: 1000
|
|
182
182
|
},
|
|
183
|
-
icon: 'https://exhaustive-ui.
|
|
183
|
+
icon: 'https://exhaustive-ui.com/demo/dock/trash.png',
|
|
184
184
|
command: () => {
|
|
185
185
|
this.messageService.add({ severity: 'info', summary: 'Trash is empty', key: 'tc' });
|
|
186
186
|
}
|
|
@@ -404,19 +404,19 @@ export class DockBasicDemo implements OnInit {
|
|
|
404
404
|
this.items = [
|
|
405
405
|
{
|
|
406
406
|
label: 'Finder',
|
|
407
|
-
icon: 'https://exhaustive-ui.
|
|
407
|
+
icon: 'https://exhaustive-ui.com/demo/dock/finder.svg'
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
label: 'App Store',
|
|
411
|
-
icon: 'https://exhaustive-ui.
|
|
411
|
+
icon: 'https://exhaustive-ui.com/demo/dock/appstore.svg'
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
label: 'Photos',
|
|
415
|
-
icon: 'https://exhaustive-ui.
|
|
415
|
+
icon: 'https://exhaustive-ui.com/demo/dock/photos.svg'
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
label: 'Trash',
|
|
419
|
-
icon: 'https://exhaustive-ui.
|
|
419
|
+
icon: 'https://exhaustive-ui.com/demo/dock/trash.png'
|
|
420
420
|
}
|
|
421
421
|
];
|
|
422
422
|
}
|
|
@@ -94,7 +94,7 @@ import { Product } from '@/domain/product';
|
|
|
94
94
|
<div *ngFor="let product of availableProducts">
|
|
95
95
|
<div class="product-item" pDraggable="products" (onDragStart)="dragStart(product)" (onDragEnd)="dragEnd()">
|
|
96
96
|
<div class="image-container">
|
|
97
|
-
<img src="https://exhaustive-ui.
|
|
97
|
+
<img src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" class="product-image" />
|
|
98
98
|
</div>
|
|
99
99
|
<div class="product-list-detail">
|
|
100
100
|
<h5 class="mb-2">{{ product.name }}</h5>
|
|
@@ -272,7 +272,7 @@ import { RippleModule } from '@exhaustive-ui/core/ripple';
|
|
|
272
272
|
<div class="mt-auto">
|
|
273
273
|
<hr class="mb-4 mx-4 border-t border-0 border-surface" />
|
|
274
274
|
<a pRipple class="m-4 flex items-center cursor-pointer p-4 gap-2 rounded-border text-surface-700 dark:text-surface-100 hover:bg-surface-100 dark:hover:bg-surface-700 duration-150 transition-colors p-ripple">
|
|
275
|
-
<p-avatar image="https://exhaustive-ui.
|
|
275
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
276
276
|
<span class="font-bold">Amy Elsner</span>
|
|
277
277
|
</a>
|
|
278
278
|
</div>
|
|
@@ -394,7 +394,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
394
394
|
<p-drawer [(visible)]="visible" [closable]="false">
|
|
395
395
|
<ng-template #header>
|
|
396
396
|
<div class="flex items-center gap-2">
|
|
397
|
-
<p-avatar image="https://exhaustive-ui.
|
|
397
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
398
398
|
<span class="font-bold">Amy Elsner</span>
|
|
399
399
|
</div>
|
|
400
400
|
</ng-template>
|
|
@@ -46,7 +46,7 @@ import { FieldsetModule } from '@exhaustive-ui/core/fieldset';
|
|
|
46
46
|
<p-fieldset>
|
|
47
47
|
<ng-template #header>
|
|
48
48
|
<div class="flex items-center gap-2 px-2">
|
|
49
|
-
<p-avatar image="https://exhaustive-ui.
|
|
49
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
50
50
|
<span class="font-bold">Amy Elsner</span>
|
|
51
51
|
</div>
|
|
52
52
|
</ng-template>
|
|
@@ -25,7 +25,7 @@ interface UploadEvent {
|
|
|
25
25
|
template: `
|
|
26
26
|
<div class="card">
|
|
27
27
|
<p-toast />
|
|
28
|
-
<p-fileupload name="demo[]" url="https://exhaustive-ui.
|
|
28
|
+
<p-fileupload name="demo[]" url="https://exhaustive-ui.com/api/upload" (onUpload)="onUpload($event)" [multiple]="true" accept="image/*" maxFileSize="1000000" mode="advanced">
|
|
29
29
|
<ng-template #empty>
|
|
30
30
|
<div>Drag and drop files to here to upload.</div>
|
|
31
31
|
</ng-template>
|
|
@@ -61,7 +61,7 @@ interface UploadEvent {
|
|
|
61
61
|
template: `
|
|
62
62
|
<div class="card flex justify-center">
|
|
63
63
|
<p-toast />
|
|
64
|
-
<p-fileupload mode="basic" name="demo[]" chooseIcon="pi pi-upload" url="https://exhaustive-ui.
|
|
64
|
+
<p-fileupload mode="basic" name="demo[]" chooseIcon="pi pi-upload" url="https://exhaustive-ui.com/api/upload" accept="image/*" maxFileSize="1000000" (onUpload)="onBasicUploadAuto($event)" [auto]="true" chooseLabel="Browse" />
|
|
65
65
|
</div>
|
|
66
66
|
`,
|
|
67
67
|
standalone: true,
|
|
@@ -93,7 +93,7 @@ interface UploadEvent {
|
|
|
93
93
|
template: `
|
|
94
94
|
<p-toast />
|
|
95
95
|
<div class="card flex flex-wrap gap-6 items-center justify-between">
|
|
96
|
-
<p-fileupload #fu mode="basic" chooseLabel="Choose" chooseIcon="pi pi-upload" name="demo[]" url="https://exhaustive-ui.
|
|
96
|
+
<p-fileupload #fu mode="basic" chooseLabel="Choose" chooseIcon="pi pi-upload" name="demo[]" url="https://exhaustive-ui.com/api/upload" accept="image/*" maxFileSize="1000000" (onUpload)="onUpload($event)" />
|
|
97
97
|
<p-button label="Upload" (onClick)="fu.upload()" severity="secondary" />
|
|
98
98
|
</div>
|
|
99
99
|
`,
|
|
@@ -155,7 +155,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
155
155
|
>
|
|
156
156
|
<div class="card">
|
|
157
157
|
<p-toast />
|
|
158
|
-
<p-fileupload name="myfile[]" url="https://exhaustive-ui.
|
|
158
|
+
<p-fileupload name="myfile[]" url="https://exhaustive-ui.com/api/upload" [multiple]="true" accept="image/*" maxFileSize="1000000" (onUpload)="onTemplatedUpload()" (onSelect)="onSelectedFiles($event)">
|
|
159
159
|
<ng-template #header let-files let-chooseCallback="chooseCallback" let-clearCallback="clearCallback" let-uploadCallback="uploadCallback">
|
|
160
160
|
<div class="flex flex-wrap justify-between items-center flex-1 gap-4">
|
|
161
161
|
<div class="flex gap-2">
|
|
@@ -19,10 +19,10 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
19
19
|
<div class="card flex justify-center">
|
|
20
20
|
<p-imagecompare class="shadow-lg rounded-2xl">
|
|
21
21
|
<ng-template #left>
|
|
22
|
-
<img src="https://exhaustive-ui.
|
|
22
|
+
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
|
|
23
23
|
</ng-template>
|
|
24
24
|
<ng-template #right>
|
|
25
|
-
<img src="https://exhaustive-ui.
|
|
25
|
+
<img src="https://exhaustive-ui.com/demo/compare/island2.jpg" />
|
|
26
26
|
</ng-template>
|
|
27
27
|
</p-imagecompare>
|
|
28
28
|
</div>
|
|
@@ -46,10 +46,10 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
46
46
|
<div class="card flex justify-center">
|
|
47
47
|
<p-imagecompare class="sm:!w-96 shadow-lg rounded-2xl">
|
|
48
48
|
<ng-template #left>
|
|
49
|
-
<img src="https://exhaustive-ui.
|
|
49
|
+
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
|
|
50
50
|
</ng-template>
|
|
51
51
|
<ng-template #right>
|
|
52
|
-
<img src="https://exhaustive-ui.
|
|
52
|
+
<img src="https://exhaustive-ui.com/demo/compare/island2.jpg" />
|
|
53
53
|
</ng-template>
|
|
54
54
|
</p-imagecompare>
|
|
55
55
|
</div>
|
|
@@ -56,7 +56,7 @@ import { Photo } from '@/domain/photo';
|
|
|
56
56
|
</span>
|
|
57
57
|
</ng-template>
|
|
58
58
|
<ng-template #content>
|
|
59
|
-
<img class="w-full sm:w-80 shadow-md" src="https://exhaustive-ui.
|
|
59
|
+
<img class="w-full sm:w-80 shadow-md" src="https://exhaustive-ui.com/demo/galleria/galleria5.jpg" alt="Nature" />
|
|
60
60
|
</ng-template>
|
|
61
61
|
</p-inplace>
|
|
62
62
|
</div>
|
|
@@ -257,7 +257,7 @@ interface Country {
|
|
|
257
257
|
<p-listbox [options]="groupedCities" [group]="true" [(ngModel)]="selectedCountry" class="w-full md:w-56">
|
|
258
258
|
<ng-template let-group #group>
|
|
259
259
|
<div class="flex items-center">
|
|
260
|
-
<img src="https://exhaustive-ui.
|
|
260
|
+
<img src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'mr-2 flag flag-' + group.value" style="width: 20px" />
|
|
261
261
|
<span>{{ group.label }}</span>
|
|
262
262
|
</div>
|
|
263
263
|
</ng-template>
|
|
@@ -478,7 +478,7 @@ interface Country {
|
|
|
478
478
|
<p-listbox [options]="countries" [(ngModel)]="selectedCountry" optionLabel="name" class="w-full md:w-56">
|
|
479
479
|
<ng-template #item let-country>
|
|
480
480
|
<div class="flex items-center gap-2">
|
|
481
|
-
<img src="https://exhaustive-ui.
|
|
481
|
+
<img src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'flag flag-' + country.code.toLowerCase()" style="width: 18px" />
|
|
482
482
|
<div>{{ country.name }}</div>
|
|
483
483
|
</div>
|
|
484
484
|
</ng-template>
|
|
@@ -266,7 +266,7 @@ import { MegaMenuItem } from '@exhaustive-ui/core/api';
|
|
|
266
266
|
</div>
|
|
267
267
|
</ng-template>
|
|
268
268
|
<ng-template #end>
|
|
269
|
-
<p-avatar image="https://exhaustive-ui.
|
|
269
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
270
270
|
</ng-template>
|
|
271
271
|
</p-megamenu>
|
|
272
272
|
</div>
|
package/data/components/menu.md
CHANGED
|
@@ -304,7 +304,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
304
304
|
</ng-template>
|
|
305
305
|
<ng-template #end>
|
|
306
306
|
<button pRipple class="relative overflow-hidden w-full border-0 bg-transparent flex items-start p-2 pl-4 hover:bg-surface-100 dark:hover:bg-surface-800 rounded-none cursor-pointer transition-colors duration-200">
|
|
307
|
-
<p-avatar image="https://exhaustive-ui.
|
|
307
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" class="mr-2" shape="circle" />
|
|
308
308
|
<span class="inline-flex flex-col items-start">
|
|
309
309
|
<span class="font-bold">Amy Elsner</span>
|
|
310
310
|
<span class="text-sm">Admin</span>
|
|
@@ -287,7 +287,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
287
287
|
<ng-template #end>
|
|
288
288
|
<div class="flex items-center gap-2">
|
|
289
289
|
<input type="text" pInputText placeholder="Search" class="w-36" />
|
|
290
|
-
<p-avatar image="https://exhaustive-ui.
|
|
290
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
291
291
|
</div>
|
|
292
292
|
</ng-template>
|
|
293
293
|
</p-menubar>
|
|
@@ -144,7 +144,7 @@ import { MessageModule } from '@exhaustive-ui/core/message';
|
|
|
144
144
|
<p-message severity="info" icon="pi pi-send" text="Info Message" class="h-full" />
|
|
145
145
|
<p-message severity="success">
|
|
146
146
|
<ng-template #icon>
|
|
147
|
-
<p-avatar image="https://exhaustive-ui.
|
|
147
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
|
|
148
148
|
</ng-template>
|
|
149
149
|
<span class="ms-2">How may I help you?</span>
|
|
150
150
|
</p-message>
|