@sd-angular/core 19.0.0-beta.15 → 19.0.0-beta.16

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.
@@ -0,0 +1,2 @@
1
+ export * from './sd-table-column-filter-def.directive';
2
+ export * from './sticky-shadow.directive';
@@ -0,0 +1,9 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SdTableColumnFilterDefDirective {
4
+ templateRef: TemplateRef<any>;
5
+ sdTableColumnFilterDef?: string;
6
+ constructor(templateRef: TemplateRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdTableColumnFilterDefDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SdTableColumnFilterDefDirective, "[sdTableColumnFilterDef]", never, { "sdTableColumnFilterDef": { "alias": "sdTableColumnFilterDef"; "required": false; }; }, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class StickyShadowDirective {
3
+ #private;
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<StickyShadowDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StickyShadowDirective, "[stickyShadow]", never, {}, {}, never, never, true, never>;
7
+ }
@@ -1,4 +1,8 @@
1
1
  import { SdColor } from '@sd-angular/core/utilities/models';
2
+ export interface SdTableCommandOption<T = any> {
3
+ align?: 'left' | 'right';
4
+ commands?: SdTableCommand<T>[];
5
+ }
2
6
  export type SdTableCommand<T = any> = SdTableCommandNormal<T> | SdTableCommandChildren<T>;
3
7
  export interface SdTableCommandNormal<T = any> {
4
8
  color?: SdColor;
@@ -1,16 +1,16 @@
1
- import { SdTableColumn } from './table-column.model';
2
- import { SdTableCommand } from './table-command.model';
1
+ import { SdPagingReq } from '@sd-angular/core/utilities';
3
2
  import { SdTableFilterRequest, SdTableOptionFilter } from '../services/table-filter/table-filter.model';
3
+ import { SdTableColumn } from './table-column.model';
4
+ import { SdTableCommand, SdTableCommandOption } from './table-command.model';
5
+ import { TableOptionConfig } from './table-option-config.model';
6
+ import { SdTableOptionExpand } from './table-option-expand.model';
4
7
  import { SdTableOptionExport } from './table-option-export.model';
8
+ import { SdTableOptionGroup } from './table-option-group.model';
9
+ import { SdTableOptionPaginate } from './table-option-paginate.model';
5
10
  import { SdTableOptionReload } from './table-option-reload.model';
6
- import { SdTableOptionExpand } from './table-option-expand.model';
7
11
  import { SdTableOptionSelector } from './table-option-selector.model';
8
- import { SdTableOptionStyle } from './table-option-style.model';
9
- import { SdTableOptionGroup } from './table-option-group.model';
10
12
  import { SdTableOptionSort } from './table-option-sort.model';
11
- import { SdTableOptionPaginate } from './table-option-paginate.model';
12
- import { TableOptionConfig } from './table-option-config.model';
13
- import { SdPagingReq } from '@sd-angular/core/utilities';
13
+ import { SdTableOptionStyle } from './table-option-style.model';
14
14
  export type SdTableOption<T = any> = SdTableLocalOption<T> | SdTableServerOption<T>;
15
15
  interface SdTableBaseOption<T = any> {
16
16
  key?: string;
@@ -24,6 +24,7 @@ interface SdTableBaseOption<T = any> {
24
24
  group?: SdTableOptionGroup<T>;
25
25
  filter?: SdTableOptionFilter;
26
26
  commands?: SdTableCommand<T>[];
27
+ command?: SdTableCommandOption<T>;
27
28
  columns: SdTableColumn<T>[];
28
29
  style?: SdTableOptionStyle<T>;
29
30
  }