orbiq-neural-ui-kit 1.0.38 → 1.0.39

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.
@@ -12205,8 +12205,6 @@ class NeuralDataTableComponent {
12205
12205
  ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
12206
12206
  subtitle = input('', /* @ts-ignore */
12207
12207
  ...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
12208
- count = input(/* @ts-ignore */
12209
- ...(ngDevMode ? [undefined, { debugName: "count" }] : /* istanbul ignore next */ []));
12210
12208
  hasInfo = input(false, /* @ts-ignore */
12211
12209
  ...(ngDevMode ? [{ debugName: "hasInfo" }] : /* istanbul ignore next */ []));
12212
12210
  newLabel = input('Nuevo', /* @ts-ignore */
@@ -12223,15 +12221,16 @@ class NeuralDataTableComponent {
12223
12221
  ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
12224
12222
  totalPages = input(1, /* @ts-ignore */
12225
12223
  ...(ngDevMode ? [{ debugName: "totalPages" }] : /* istanbul ignore next */ []));
12226
- emptyStateTitle = input('No data found', /* @ts-ignore */
12224
+ emptyStateTitle = input('No hay datos para mostrar', /* @ts-ignore */
12227
12225
  ...(ngDevMode ? [{ debugName: "emptyStateTitle" }] : /* istanbul ignore next */ []));
12228
- emptyStateDesc = input('There are no records to display.', /* @ts-ignore */
12226
+ emptyStateDesc = input('Ajusta los filtros o realiza una búsqueda para encontrar resultados.', /* @ts-ignore */
12229
12227
  ...(ngDevMode ? [{ debugName: "emptyStateDesc" }] : /* istanbul ignore next */ []));
12230
12228
  onSearch = new EventEmitter();
12231
12229
  onPageChange = new EventEmitter();
12232
12230
  sortChange = new EventEmitter();
12233
12231
  // New Emitters for Advanced Actions
12234
- onInfoClick = new EventEmitter();
12232
+ onInfoClick = new EventEmitter(); // Deprecated, use onHelpClick instead
12233
+ onHelpClick = new EventEmitter();
12235
12234
  onRefreshClick = new EventEmitter();
12236
12235
  onViewChange = new EventEmitter();
12237
12236
  onFilterClick = new EventEmitter();
@@ -12272,7 +12271,7 @@ class NeuralDataTableComponent {
12272
12271
  this.sortChange.emit(key);
12273
12272
  }
12274
12273
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12275
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralDataTableComponent, isStandalone: true, selector: "neural-data-table", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, hasInfo: { classPropertyName: "hasInfo", publicName: "hasInfo", isSignal: true, isRequired: false, transformFunction: null }, newLabel: { classPropertyName: "newLabel", publicName: "newLabel", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, allColumns: { classPropertyName: "allColumns", publicName: "allColumns", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: true, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, totalPages: { classPropertyName: "totalPages", publicName: "totalPages", isSignal: true, isRequired: false, transformFunction: null }, emptyStateTitle: { classPropertyName: "emptyStateTitle", publicName: "emptyStateTitle", isSignal: true, isRequired: false, transformFunction: null }, emptyStateDesc: { classPropertyName: "emptyStateDesc", publicName: "emptyStateDesc", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSearch: "onSearch", onPageChange: "onPageChange", sortChange: "sortChange", onInfoClick: "onInfoClick", onRefreshClick: "onRefreshClick", onViewChange: "onViewChange", onFilterClick: "onFilterClick", onSortChangeClick: "onSortChangeClick", onSearchClick: "onSearchClick", onMoreClick: "onMoreClick", onImportClick: "onImportClick", onExportClick: "onExportClick", onNewClick: "onNewClick" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: ["cellTemplate"], descendants: true }], ngImport: i0, template: `
12274
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralDataTableComponent, isStandalone: true, selector: "neural-data-table", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, hasInfo: { classPropertyName: "hasInfo", publicName: "hasInfo", isSignal: true, isRequired: false, transformFunction: null }, newLabel: { classPropertyName: "newLabel", publicName: "newLabel", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, allColumns: { classPropertyName: "allColumns", publicName: "allColumns", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: true, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, totalPages: { classPropertyName: "totalPages", publicName: "totalPages", isSignal: true, isRequired: false, transformFunction: null }, emptyStateTitle: { classPropertyName: "emptyStateTitle", publicName: "emptyStateTitle", isSignal: true, isRequired: false, transformFunction: null }, emptyStateDesc: { classPropertyName: "emptyStateDesc", publicName: "emptyStateDesc", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSearch: "onSearch", onPageChange: "onPageChange", sortChange: "sortChange", onInfoClick: "onInfoClick", onHelpClick: "onHelpClick", onRefreshClick: "onRefreshClick", onViewChange: "onViewChange", onFilterClick: "onFilterClick", onSortChangeClick: "onSortChangeClick", onSearchClick: "onSearchClick", onMoreClick: "onMoreClick", onImportClick: "onImportClick", onExportClick: "onExportClick", onNewClick: "onNewClick" }, host: { properties: { "attr.title": "null" } }, queries: [{ propertyName: "cellTemplate", first: true, predicate: ["cellTemplate"], descendants: true }], ngImport: i0, template: `
12276
12275
  <div class="flex flex-col w-full h-full bg-white rounded-md border border-outline-gray-2 shadow-sm overflow-hidden">
12277
12276
 
12278
12277
  <!-- Top Header Area -->
@@ -12280,14 +12279,6 @@ class NeuralDataTableComponent {
12280
12279
  <!-- Left: Title & Info -->
12281
12280
  <div class="flex items-center gap-3">
12282
12281
  <h2 class="text-lg font-semibold text-ink-gray-9">{{ title() }}</h2>
12283
- @if (count() !== undefined) {
12284
- <span class="text-[11px] font-medium text-ink-gray-5 px-1.5 py-0.5 rounded-full bg-surface-gray-2">{{ count() }}</span>
12285
- }
12286
- @if (hasInfo()) {
12287
- <button class="text-sm font-medium text-blue-600 hover:underline cursor-pointer flex items-center gap-1" (click)="onInfoClick.emit()">
12288
- Información
12289
- </button>
12290
- }
12291
12282
  </div>
12292
12283
 
12293
12284
  <!-- Right: Actions Toolbar -->
@@ -12329,11 +12320,14 @@ class NeuralDataTableComponent {
12329
12320
 
12330
12321
  <div class="w-px h-4 bg-outline-gray-2 mx-1.5"></div>
12331
12322
 
12332
- <!-- Settings and External Actions -->
12323
+ <!-- Settings, Help and External Actions -->
12333
12324
  <div class="flex items-center gap-0.5">
12334
12325
  <button class="flex items-center justify-center size-8 rounded-md hover:bg-surface-gray-1 text-ink-gray-6 hover:text-ink-gray-9 transition-colors" title="Configurar columnas" (click)="isPreferencesOpen.set(true)">
12335
12326
  <i class="lucide-settings size-[18px]" style="stroke-width: 1.5px;"></i>
12336
12327
  </button>
12328
+ <button class="flex items-center justify-center size-8 rounded-md hover:bg-surface-gray-1 text-ink-gray-6 hover:text-ink-gray-9 transition-colors" title="Ayuda / Información" (click)="onHelpClick.emit()">
12329
+ <i class="lucide-help-circle size-[18px]" style="stroke-width: 1.5px;"></i>
12330
+ </button>
12337
12331
 
12338
12332
  <ng-content select="[header-actions]"></ng-content>
12339
12333
  </div>
@@ -12485,6 +12479,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12485
12479
  NeuralSwitchComponent,
12486
12480
  NeuralCheckboxComponent
12487
12481
  ],
12482
+ host: {
12483
+ '[attr.title]': 'null'
12484
+ },
12488
12485
  template: `
12489
12486
  <div class="flex flex-col w-full h-full bg-white rounded-md border border-outline-gray-2 shadow-sm overflow-hidden">
12490
12487
 
@@ -12493,14 +12490,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12493
12490
  <!-- Left: Title & Info -->
12494
12491
  <div class="flex items-center gap-3">
12495
12492
  <h2 class="text-lg font-semibold text-ink-gray-9">{{ title() }}</h2>
12496
- @if (count() !== undefined) {
12497
- <span class="text-[11px] font-medium text-ink-gray-5 px-1.5 py-0.5 rounded-full bg-surface-gray-2">{{ count() }}</span>
12498
- }
12499
- @if (hasInfo()) {
12500
- <button class="text-sm font-medium text-blue-600 hover:underline cursor-pointer flex items-center gap-1" (click)="onInfoClick.emit()">
12501
- Información
12502
- </button>
12503
- }
12504
12493
  </div>
12505
12494
 
12506
12495
  <!-- Right: Actions Toolbar -->
@@ -12542,11 +12531,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12542
12531
 
12543
12532
  <div class="w-px h-4 bg-outline-gray-2 mx-1.5"></div>
12544
12533
 
12545
- <!-- Settings and External Actions -->
12534
+ <!-- Settings, Help and External Actions -->
12546
12535
  <div class="flex items-center gap-0.5">
12547
12536
  <button class="flex items-center justify-center size-8 rounded-md hover:bg-surface-gray-1 text-ink-gray-6 hover:text-ink-gray-9 transition-colors" title="Configurar columnas" (click)="isPreferencesOpen.set(true)">
12548
12537
  <i class="lucide-settings size-[18px]" style="stroke-width: 1.5px;"></i>
12549
12538
  </button>
12539
+ <button class="flex items-center justify-center size-8 rounded-md hover:bg-surface-gray-1 text-ink-gray-6 hover:text-ink-gray-9 transition-colors" title="Ayuda / Información" (click)="onHelpClick.emit()">
12540
+ <i class="lucide-help-circle size-[18px]" style="stroke-width: 1.5px;"></i>
12541
+ </button>
12550
12542
 
12551
12543
  <ng-content select="[header-actions]"></ng-content>
12552
12544
  </div>
@@ -12686,7 +12678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12686
12678
  </div>
12687
12679
  `
12688
12680
  }]
12689
- }], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], count: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }], hasInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasInfo", required: false }] }], newLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "newLabel", required: false }] }], searchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchPlaceholder", required: false }] }], allColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "allColumns", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], rowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowKey", required: true }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }], totalPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPages", required: false }] }], emptyStateTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyStateTitle", required: false }] }], emptyStateDesc: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyStateDesc", required: false }] }], onSearch: [{
12681
+ }], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], hasInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasInfo", required: false }] }], newLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "newLabel", required: false }] }], searchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchPlaceholder", required: false }] }], allColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "allColumns", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], rowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowKey", required: true }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }], totalPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPages", required: false }] }], emptyStateTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyStateTitle", required: false }] }], emptyStateDesc: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyStateDesc", required: false }] }], onSearch: [{
12690
12682
  type: Output
12691
12683
  }], onPageChange: [{
12692
12684
  type: Output
@@ -12694,6 +12686,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12694
12686
  type: Output
12695
12687
  }], onInfoClick: [{
12696
12688
  type: Output
12689
+ }], onHelpClick: [{
12690
+ type: Output
12697
12691
  }], onRefreshClick: [{
12698
12692
  type: Output
12699
12693
  }], onViewChange: [{