orbiq-neural-ui-kit 1.2.53 → 1.2.55

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.
@@ -4610,7 +4610,7 @@ class NeuralDropdownComponent {
4610
4610
  @if (option.imageUrl) {
4611
4611
  <img [src]="option.imageUrl" class="size-4 rounded-sm object-cover" alt="" />
4612
4612
  }
4613
- {{ option.label }}
4613
+ <span class="whitespace-nowrap">{{ option.label }}</span>
4614
4614
  </div>
4615
4615
  <i class="lucide-chevron-right size-3 text-ink-gray-5"></i>
4616
4616
  </button>
@@ -4637,7 +4637,7 @@ class NeuralDropdownComponent {
4637
4637
  @if (option.imageUrl) {
4638
4638
  <img [src]="option.imageUrl" class="size-4 rounded-sm object-cover" alt="" />
4639
4639
  }
4640
- {{ option.label }}
4640
+ <span class="whitespace-nowrap">{{ option.label }}</span>
4641
4641
  @if (option.shortcut) {
4642
4642
  <span class="ml-auto text-xs text-ink-gray-5 pr-1">{{ option.shortcut }}</span>
4643
4643
  }
@@ -4656,7 +4656,7 @@ class NeuralDropdownComponent {
4656
4656
  @if (option.imageUrl) {
4657
4657
  <img [src]="option.imageUrl" class="size-4 rounded-sm object-cover" alt="" />
4658
4658
  }
4659
- {{ option.label }}
4659
+ <span class="whitespace-nowrap">{{ option.label }}</span>
4660
4660
  @if (option.shortcut) {
4661
4661
  <span class="ml-auto text-xs text-ink-gray-5 pr-1">{{ option.shortcut }}</span>
4662
4662
  }
@@ -4715,7 +4715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
4715
4715
  @if (option.imageUrl) {
4716
4716
  <img [src]="option.imageUrl" class="size-4 rounded-sm object-cover" alt="" />
4717
4717
  }
4718
- {{ option.label }}
4718
+ <span class="whitespace-nowrap">{{ option.label }}</span>
4719
4719
  </div>
4720
4720
  <i class="lucide-chevron-right size-3 text-ink-gray-5"></i>
4721
4721
  </button>
@@ -4742,7 +4742,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
4742
4742
  @if (option.imageUrl) {
4743
4743
  <img [src]="option.imageUrl" class="size-4 rounded-sm object-cover" alt="" />
4744
4744
  }
4745
- {{ option.label }}
4745
+ <span class="whitespace-nowrap">{{ option.label }}</span>
4746
4746
  @if (option.shortcut) {
4747
4747
  <span class="ml-auto text-xs text-ink-gray-5 pr-1">{{ option.shortcut }}</span>
4748
4748
  }
@@ -4761,7 +4761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
4761
4761
  @if (option.imageUrl) {
4762
4762
  <img [src]="option.imageUrl" class="size-4 rounded-sm object-cover" alt="" />
4763
4763
  }
4764
- {{ option.label }}
4764
+ <span class="whitespace-nowrap">{{ option.label }}</span>
4765
4765
  @if (option.shortcut) {
4766
4766
  <span class="ml-auto text-xs text-ink-gray-5 pr-1">{{ option.shortcut }}</span>
4767
4767
  }
@@ -8475,10 +8475,10 @@ class NeuralDialogComponent {
8475
8475
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralDialogComponent, isStandalone: true, selector: "neural-dialog", inputs: { openModel: { classPropertyName: "openModel", publicName: "openModel", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, paddingTop: { classPropertyName: "paddingTop", publicName: "paddingTop", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, dismissible: { classPropertyName: "dismissible", publicName: "dismissible", isSignal: true, isRequired: false, transformFunction: null }, showCloseButton: { classPropertyName: "showCloseButton", publicName: "showCloseButton", isSignal: true, isRequired: false, transformFunction: null }, bare: { classPropertyName: "bare", publicName: "bare", isSignal: true, isRequired: false, transformFunction: null }, hasTitleSlot: { classPropertyName: "hasTitleSlot", publicName: "hasTitleSlot", isSignal: true, isRequired: false, transformFunction: null }, hasActionsSlot: { classPropertyName: "hasActionsSlot", publicName: "hasActionsSlot", isSignal: true, isRequired: false, transformFunction: null }, hasDefaultSlot: { classPropertyName: "hasDefaultSlot", publicName: "hasDefaultSlot", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openModel: "openModelChange" }, ngImport: i0, template: `
8476
8476
  @if (openModel()) {
8477
8477
  <div class="fixed inset-0 z-[1000] overflow-y-auto dialog-scroll-container" (click)="onContainerClick($event)" (keydown.escape)="closeBare()" tabindex="-1">
8478
- <div class="fixed inset-0 bg-black-overlay-200 transition-opacity duration-150 dialog-backdrop"></div>
8478
+ <div class="fixed inset-0 bg-black-overlay-200 dialog-backdrop animate-in fade-in duration-200"></div>
8479
8479
 
8480
8480
  <div class="relative flex min-h-screen flex-col items-center px-4 py-4 text-center" [class]="dialogPositionClasses()" [style]="dialogPositionStyles()">
8481
- <div class="my-8 inline-block w-full transform overflow-hidden rounded-7 bg-surface-elevation-1 text-start align-middle shadow-xl dialog-content focus-visible:outline-none" [class]="sizeClass()">
8481
+ <div class="my-8 inline-block w-full transform overflow-hidden rounded-7 bg-surface-elevation-1 text-start align-middle shadow-xl dialog-content focus-visible:outline-none animate-in fade-in zoom-in-95 duration-200 ease-out" [class]="sizeClass()">
8482
8482
 
8483
8483
  <ng-template #defaultContent>
8484
8484
  <ng-content></ng-content>
@@ -8549,10 +8549,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
8549
8549
  template: `
8550
8550
  @if (openModel()) {
8551
8551
  <div class="fixed inset-0 z-[1000] overflow-y-auto dialog-scroll-container" (click)="onContainerClick($event)" (keydown.escape)="closeBare()" tabindex="-1">
8552
- <div class="fixed inset-0 bg-black-overlay-200 transition-opacity duration-150 dialog-backdrop"></div>
8552
+ <div class="fixed inset-0 bg-black-overlay-200 dialog-backdrop animate-in fade-in duration-200"></div>
8553
8553
 
8554
8554
  <div class="relative flex min-h-screen flex-col items-center px-4 py-4 text-center" [class]="dialogPositionClasses()" [style]="dialogPositionStyles()">
8555
- <div class="my-8 inline-block w-full transform overflow-hidden rounded-7 bg-surface-elevation-1 text-start align-middle shadow-xl dialog-content focus-visible:outline-none" [class]="sizeClass()">
8555
+ <div class="my-8 inline-block w-full transform overflow-hidden rounded-7 bg-surface-elevation-1 text-start align-middle shadow-xl dialog-content focus-visible:outline-none animate-in fade-in zoom-in-95 duration-200 ease-out" [class]="sizeClass()">
8556
8556
 
8557
8557
  <ng-template #defaultContent>
8558
8558
  <ng-content></ng-content>
@@ -14778,6 +14778,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
14778
14778
  }]
14779
14779
  }], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], appIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "appIcon", required: true }] }], iconClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconClass", required: false }] }], menuOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuOptions", required: false }] }] } });
14780
14780
 
14781
+ class NeuralAppLauncherComponent {
14782
+ openModel = model(false, /* @ts-ignore */
14783
+ ...(ngDevMode ? [{ debugName: "openModel" }] : /* istanbul ignore next */ []));
14784
+ modules = input([], /* @ts-ignore */
14785
+ ...(ngDevMode ? [{ debugName: "modules" }] : /* istanbul ignore next */ []));
14786
+ handleModuleClick() {
14787
+ this.openModel.set(false);
14788
+ }
14789
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralAppLauncherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14790
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralAppLauncherComponent, isStandalone: true, selector: "neural-app-launcher", inputs: { openModel: { classPropertyName: "openModel", publicName: "openModel", isSignal: true, isRequired: false, transformFunction: null }, modules: { classPropertyName: "modules", publicName: "modules", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openModel: "openModelChange" }, ngImport: i0, template: `
14791
+ <neural-dialog [(openModel)]="openModel" size="4xl" [hasTitleSlot]="true" [hasDefaultSlot]="true">
14792
+ <span title>Módulos de la Plataforma</span>
14793
+
14794
+ <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-4">
14795
+ @for (module of modules(); track module.id) {
14796
+ <div
14797
+ class="flex flex-col items-center justify-center p-4 rounded-xl border border-outline-gray-2 hover:shadow-md transition-all cursor-pointer bg-surface-base group"
14798
+ [ngClass]="module.colorClass"
14799
+ [routerLink]="module.route"
14800
+ (click)="handleModuleClick()"
14801
+ >
14802
+ <div class="group-hover:scale-110 transition-transform flex items-center justify-center">
14803
+ <i [class]="module.icon" class="size-8 text-ink-gray-7 group-hover:text-ink-gray-9 transition-colors"></i>
14804
+ </div>
14805
+ <span class="mt-3 text-sm font-medium text-center text-ink-gray-8">{{ module.label }}</span>
14806
+ @if (module.description) {
14807
+ <span class="text-xs text-center text-ink-gray-5 mt-1">{{ module.description }}</span>
14808
+ }
14809
+ </div>
14810
+ }
14811
+ </div>
14812
+ </neural-dialog>
14813
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: NeuralDialogComponent, selector: "neural-dialog", inputs: ["openModel", "title", "message", "icon", "size", "position", "paddingTop", "actions", "dismissible", "showCloseButton", "bare", "hasTitleSlot", "hasActionsSlot", "hasDefaultSlot"], outputs: ["openModelChange"] }] });
14814
+ }
14815
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralAppLauncherComponent, decorators: [{
14816
+ type: Component,
14817
+ args: [{
14818
+ selector: 'neural-app-launcher',
14819
+ standalone: true,
14820
+ imports: [CommonModule, RouterModule, NeuralDialogComponent],
14821
+ template: `
14822
+ <neural-dialog [(openModel)]="openModel" size="4xl" [hasTitleSlot]="true" [hasDefaultSlot]="true">
14823
+ <span title>Módulos de la Plataforma</span>
14824
+
14825
+ <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-4">
14826
+ @for (module of modules(); track module.id) {
14827
+ <div
14828
+ class="flex flex-col items-center justify-center p-4 rounded-xl border border-outline-gray-2 hover:shadow-md transition-all cursor-pointer bg-surface-base group"
14829
+ [ngClass]="module.colorClass"
14830
+ [routerLink]="module.route"
14831
+ (click)="handleModuleClick()"
14832
+ >
14833
+ <div class="group-hover:scale-110 transition-transform flex items-center justify-center">
14834
+ <i [class]="module.icon" class="size-8 text-ink-gray-7 group-hover:text-ink-gray-9 transition-colors"></i>
14835
+ </div>
14836
+ <span class="mt-3 text-sm font-medium text-center text-ink-gray-8">{{ module.label }}</span>
14837
+ @if (module.description) {
14838
+ <span class="text-xs text-center text-ink-gray-5 mt-1">{{ module.description }}</span>
14839
+ }
14840
+ </div>
14841
+ }
14842
+ </div>
14843
+ </neural-dialog>
14844
+ `
14845
+ }]
14846
+ }], propDecorators: { openModel: [{ type: i0.Input, args: [{ isSignal: true, alias: "openModel", required: false }] }, { type: i0.Output, args: ["openModelChange"] }], modules: [{ type: i0.Input, args: [{ isSignal: true, alias: "modules", required: false }] }] } });
14847
+
14781
14848
  // Note: TextEditor is deprecated in Frappe UI, but migrated for faithful parity.
14782
14849
  // For new projects, consider using the /editor module with RichTextKit.
14783
14850
  class NeuralTextEditorComponent {
@@ -15899,5 +15966,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
15899
15966
  * Generated bundle index. Do not edit.
15900
15967
  */
15901
15968
 
15902
- export { NeuralAccordionComponent, NeuralAlertComponent, NeuralAvatarComponent, NeuralAwesomeBarComponent, NeuralAxisChartComponent, NeuralBadgeComponent, NeuralBottomSheetComponent, NeuralBreadcrumbsComponent, NeuralButtonComponent, NeuralCalendarComponent, NeuralCheckboxComponent, NeuralCodeEditorComponent, NeuralCodePreviewComponent, NeuralComboboxComponent, NeuralCommandPaletteComponent, NeuralContextMenuComponent, NeuralDataTableComponent, NeuralDatePickerComponent, NeuralDesktopShellComponent, NeuralDialogComponent, NeuralDividerComponent, NeuralDonutChartComponent, NeuralDrawerComponent, NeuralDropdownComponent, NeuralDurationComponent, NeuralEChartsComponent, NeuralEntityFormComponent, NeuralErrorMessageComponent, NeuralFileUploaderComponent, NeuralFilterBuilderComponent, NeuralFloatingWindowComponent, NeuralFooterComponent, NeuralFormControlComponent, NeuralFormLabelComponent, NeuralFunnelChartComponent, NeuralHoverCardComponent, NeuralIconComponent, NeuralInputDescriptionComponent, NeuralInputErrorComponent, NeuralInputLabelComponent, NeuralItemListRowComponent, NeuralKeyboardShortcutComponent, NeuralKeyboardShortcutsDialogComponent, NeuralLabelingWrapperComponent, NeuralListViewComponent, NeuralLoadingIndicatorComponent, NeuralLoadingTextComponent, NeuralMenuComponent, NeuralMobileNavComponent, NeuralMobileNavItemComponent, NeuralMobileShellComponent, NeuralMultiEmailInputComponent, NeuralMultiSelectComponent, NeuralNotificationCenterComponent, NeuralNumberChartComponent, NeuralPageHeaderComponent, NeuralPasswordComponent, NeuralPopoverComponent, NeuralPopoverContentDirective, NeuralPopoverPanelComponent, NeuralPopoverTriggerDirective, NeuralProgressComponent, NeuralRadioComponent, NeuralRadioGroupComponent, NeuralRailComponent, NeuralRailItemComponent, NeuralRatingComponent, NeuralRequiredIndicatorComponent, NeuralScrollAreaComponent, NeuralSearchTriggerComponent, NeuralSelectComponent, NeuralSettingsContentComponent, NeuralSettingsDialogComponent, NeuralSettingsNavItemComponent, NeuralSettingsPanelComponent, NeuralSettingsSidebarComponent, NeuralSidebarComponent, NeuralSidebarHeaderComponent, NeuralSidebarItemComponent, NeuralSkeletonComponent, NeuralSliderComponent, NeuralSpinnerComponent, NeuralSubGridComponent, NeuralSwitchComponent, NeuralTabComponent, NeuralTabPanelComponent, NeuralTabsComponent, NeuralTextEditorComponent, NeuralTextInputComponent, NeuralTextareaComponent, NeuralThemeSwitcherComponent, NeuralTimePickerComponent, NeuralToastComponent, NeuralTooltipComponent, NeuralTreeComponent, NeuralTreeItemComponent, RADIO_GROUP, TABS_ROOT, ToastService, formatDuration, parseDuration };
15969
+ export { NeuralAccordionComponent, NeuralAlertComponent, NeuralAppLauncherComponent, NeuralAvatarComponent, NeuralAwesomeBarComponent, NeuralAxisChartComponent, NeuralBadgeComponent, NeuralBottomSheetComponent, NeuralBreadcrumbsComponent, NeuralButtonComponent, NeuralCalendarComponent, NeuralCheckboxComponent, NeuralCodeEditorComponent, NeuralCodePreviewComponent, NeuralComboboxComponent, NeuralCommandPaletteComponent, NeuralContextMenuComponent, NeuralDataTableComponent, NeuralDatePickerComponent, NeuralDesktopShellComponent, NeuralDialogComponent, NeuralDividerComponent, NeuralDonutChartComponent, NeuralDrawerComponent, NeuralDropdownComponent, NeuralDurationComponent, NeuralEChartsComponent, NeuralEntityFormComponent, NeuralErrorMessageComponent, NeuralFileUploaderComponent, NeuralFilterBuilderComponent, NeuralFloatingWindowComponent, NeuralFooterComponent, NeuralFormControlComponent, NeuralFormLabelComponent, NeuralFunnelChartComponent, NeuralHoverCardComponent, NeuralIconComponent, NeuralInputDescriptionComponent, NeuralInputErrorComponent, NeuralInputLabelComponent, NeuralItemListRowComponent, NeuralKeyboardShortcutComponent, NeuralKeyboardShortcutsDialogComponent, NeuralLabelingWrapperComponent, NeuralListViewComponent, NeuralLoadingIndicatorComponent, NeuralLoadingTextComponent, NeuralMenuComponent, NeuralMobileNavComponent, NeuralMobileNavItemComponent, NeuralMobileShellComponent, NeuralMultiEmailInputComponent, NeuralMultiSelectComponent, NeuralNotificationCenterComponent, NeuralNumberChartComponent, NeuralPageHeaderComponent, NeuralPasswordComponent, NeuralPopoverComponent, NeuralPopoverContentDirective, NeuralPopoverPanelComponent, NeuralPopoverTriggerDirective, NeuralProgressComponent, NeuralRadioComponent, NeuralRadioGroupComponent, NeuralRailComponent, NeuralRailItemComponent, NeuralRatingComponent, NeuralRequiredIndicatorComponent, NeuralScrollAreaComponent, NeuralSearchTriggerComponent, NeuralSelectComponent, NeuralSettingsContentComponent, NeuralSettingsDialogComponent, NeuralSettingsNavItemComponent, NeuralSettingsPanelComponent, NeuralSettingsSidebarComponent, NeuralSidebarComponent, NeuralSidebarHeaderComponent, NeuralSidebarItemComponent, NeuralSkeletonComponent, NeuralSliderComponent, NeuralSpinnerComponent, NeuralSubGridComponent, NeuralSwitchComponent, NeuralTabComponent, NeuralTabPanelComponent, NeuralTabsComponent, NeuralTextEditorComponent, NeuralTextInputComponent, NeuralTextareaComponent, NeuralThemeSwitcherComponent, NeuralTimePickerComponent, NeuralToastComponent, NeuralTooltipComponent, NeuralTreeComponent, NeuralTreeItemComponent, RADIO_GROUP, TABS_ROOT, ToastService, formatDuration, parseDuration };
15903
15970
  //# sourceMappingURL=orbiq-neural-ui-kit.mjs.map