-
- @if (vm.images.length || vm.isLoading) {
-
-
-
-
- }
+
+
+ @if (vm.showDialog) {
+
+ }
+
+
+ @if (vm.images.length || vm.isLoading) {
+
+
+
-
-
+ }
-
+
+
+
+
}
diff --git a/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.html b/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.html
index dd71d03b7898..8098c5b7711b 100644
--- a/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.html
+++ b/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.html
@@ -47,13 +47,13 @@
class="ai-image-prompt__text">
@if (requiredPrompt) {
-
+
} @else {
-
+
}
@if (aiProcessedPrompt && !isLoading) {
-
-
-
-
-
-
+
+
+
+
+
+
}
@@ -96,24 +96,24 @@
pButton
type="submit">
@if (!isLoading) {
-
+
} @else {
-
+
}
diff --git a/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.ts b/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.ts
index 095f6a3900e1..2e88e2bc2816 100644
--- a/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.ts
+++ b/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-form/ai-image-prompt-form.component.ts
@@ -195,7 +195,7 @@ export class AiImagePromptFormComponent implements OnChanges, OnInit {
this.submitButtonLabel = isLoading
? 'block-editor.extension.ai-image.generating'
: this.aiProcessedPrompt || this.value?.error
- ? 'block-editor.extension.ai-image.regenerate'
- : 'block-editor.extension.ai-image.generate';
+ ? 'block-editor.extension.ai-image.regenerate'
+ : 'block-editor.extension.ai-image.generate';
}
}
diff --git a/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-gallery/ai-image-prompt-gallery.component.html b/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-gallery/ai-image-prompt-gallery.component.html
index 5877fb666a5a..61b9cdf89edb 100644
--- a/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-gallery/ai-image-prompt-gallery.component.html
+++ b/core-web/libs/ui/src/lib/components/dot-ai-image-prompt/components/ai-image-prompt-gallery/ai-image-prompt-gallery.component.html
@@ -1,76 +1,68 @@
@if (!isLoading && !images?.length) {
-
-}
-@if (isLoading) {
-
+
+} @if (isLoading) {
+
-
-}
-@if (!isLoading && images?.length) {
-
1"
- [showThumbnails]="false"
- [value]="images"
- visible="true">
-
- @if (item.response) {
-
-
-
-
-
- } @else {
-
- }
-
-
-}
-@if (!isLoading && images?.length) {
-
- {{ activeImageIndex + 1 }} {{ 'of' | dm }} {{ images.length }}
-
+
+} @if (!isLoading && images?.length) {
+
1"
+ [showThumbnails]="false"
+ [value]="images"
+ visible="true">
+
+ @if (item.response) {
+
+
+
+
+
+ } @else {
+
+ }
+
+
+} @if (!isLoading && images?.length) {
+
+ {{ activeImageIndex + 1 }} {{ 'of' | dm }} {{ images.length }}
+
}
diff --git a/core-web/libs/ui/src/lib/components/dot-asset-search/components/dot-asset-card-list/dot-asset-card-list.component.html b/core-web/libs/ui/src/lib/components/dot-asset-search/components/dot-asset-card-list/dot-asset-card-list.component.html
index b8e97ff43bfe..43a44a557379 100644
--- a/core-web/libs/ui/src/lib/components/dot-asset-search/components/dot-asset-card-list/dot-asset-card-list.component.html
+++ b/core-web/libs/ui/src/lib/components/dot-asset-search/components/dot-asset-card-list/dot-asset-card-list.component.html
@@ -1,36 +1,35 @@
@if (rows?.length && !loading) {
-
-
-
- @if (contentlet[0]) {
-
- }
- @if (contentlet[1]) {
-
- }
-
-
-
+
+
+
+ @if (contentlet[0]) {
+
+ } @if (contentlet[1]) {
+
+ }
+
+
+
} @else {
-
+
}
@for (loadingItem of loadingItems; track loadingItem) {
-
-
-
-
+
+
+
+
}
diff --git a/core-web/libs/ui/src/lib/components/dot-asset-search/dot-asset-search.component.html b/core-web/libs/ui/src/lib/components/dot-asset-search/dot-asset-search.component.html
index 41a5f479f1fa..79c59022588f 100644
--- a/core-web/libs/ui/src/lib/components/dot-asset-search/dot-asset-search.component.html
+++ b/core-web/libs/ui/src/lib/components/dot-asset-search/dot-asset-search.component.html
@@ -14,10 +14,10 @@
}
diff --git a/core-web/libs/ui/src/lib/components/dot-drop-zone/directive/dot-drop-zone-value-accesor/dot-drop-zone-value-accessor.directive.stories.ts b/core-web/libs/ui/src/lib/components/dot-drop-zone/directive/dot-drop-zone-value-accesor/dot-drop-zone-value-accessor.directive.stories.ts
index 9052a332bab4..37acf9bc62a6 100644
--- a/core-web/libs/ui/src/lib/components/dot-drop-zone/directive/dot-drop-zone-value-accesor/dot-drop-zone-value-accessor.directive.stories.ts
+++ b/core-web/libs/ui/src/lib/components/dot-drop-zone/directive/dot-drop-zone-value-accesor/dot-drop-zone-value-accessor.directive.stories.ts
@@ -41,12 +41,10 @@ import { DotDropZoneComponent } from '../../dot-drop-zone.component';
formControlName="file"
dotDropZoneValueAccessor>
- Drop files here.
- @if (accept.length) {
-
Allowed Type: {{ accept }}
- }
- @if (maxFileSize) {
-
Max File Size: {{ maxFileSize }}
+ Drop files here. @if (accept.length) {
+
Allowed Type: {{ accept }}
+ } @if (maxFileSize) {
+
Max File Size: {{ maxFileSize }}
}
diff --git a/core-web/libs/ui/src/lib/components/dot-empty-container/dot-empty-container.component.html b/core-web/libs/ui/src/lib/components/dot-empty-container/dot-empty-container.component.html
index e86676a25d10..d8f4dc625578 100644
--- a/core-web/libs/ui/src/lib/components/dot-empty-container/dot-empty-container.component.html
+++ b/core-web/libs/ui/src/lib/components/dot-empty-container/dot-empty-container.component.html
@@ -3,43 +3,38 @@
class="message__principal-wrapper flex align-items-center flex-column gap-2"
data-Testid="message-principal">
@if (configuration?.icon) {
-