cloud-ide-element 1.1.95 → 1.1.96
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.
|
@@ -1242,8 +1242,9 @@ class CideInputComponent {
|
|
|
1242
1242
|
createDatePickerUsingPortal() {
|
|
1243
1243
|
// Reset to calendar view when opening
|
|
1244
1244
|
this.showMonthYearSelector = false;
|
|
1245
|
-
// Get input element
|
|
1246
|
-
const
|
|
1245
|
+
// Get input element - use idRandom as fallback if id is not provided
|
|
1246
|
+
const elementId = this.id || this.idRandom;
|
|
1247
|
+
const inputElement = document.getElementById(elementId);
|
|
1247
1248
|
if (!inputElement)
|
|
1248
1249
|
return;
|
|
1249
1250
|
// Create template portal configuration
|
|
@@ -3526,7 +3527,7 @@ class NotificationService {
|
|
|
3526
3527
|
return this.show({
|
|
3527
3528
|
message,
|
|
3528
3529
|
type: 'success',
|
|
3529
|
-
icon: '
|
|
3530
|
+
icon: 'done',
|
|
3530
3531
|
duration: 3000,
|
|
3531
3532
|
...options
|
|
3532
3533
|
});
|
|
@@ -3600,7 +3601,7 @@ class NotificationService {
|
|
|
3600
3601
|
return this.show({
|
|
3601
3602
|
message: isComplete ? `${taskName} completed successfully` : `${taskName} in progress...`,
|
|
3602
3603
|
type: isComplete ? 'success' : 'info',
|
|
3603
|
-
icon: isComplete ? '
|
|
3604
|
+
icon: isComplete ? 'done' : 'sync',
|
|
3604
3605
|
duration: isComplete ? 3000 : 0, // Don't auto-dismiss for in-progress tasks
|
|
3605
3606
|
...options
|
|
3606
3607
|
});
|
|
@@ -3708,7 +3709,7 @@ class NotificationService {
|
|
|
3708
3709
|
}
|
|
3709
3710
|
getDefaultIcon(type) {
|
|
3710
3711
|
const iconMap = {
|
|
3711
|
-
success: '
|
|
3712
|
+
success: 'done',
|
|
3712
3713
|
error: 'error',
|
|
3713
3714
|
warning: 'warning',
|
|
3714
3715
|
info: 'info'
|
|
@@ -8670,7 +8671,7 @@ class ConfirmationService {
|
|
|
8670
8671
|
danger: 'error',
|
|
8671
8672
|
warning: 'warning',
|
|
8672
8673
|
info: 'info',
|
|
8673
|
-
success: '
|
|
8674
|
+
success: 'done'
|
|
8674
8675
|
};
|
|
8675
8676
|
return iconMap[type];
|
|
8676
8677
|
}
|