@datarailsshared/datarailsshared 1.6.103 → 1.6.107
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.
- package/datarailsshared-datarailsshared-1.6.107.tgz +0 -0
- package/esm2022/lib/separate-table/separate-table-column.directive.mjs +36 -0
- package/esm2022/lib/separate-table/separate-table.component.mjs +116 -0
- package/esm2022/lib/stepper-wizard/directives/step-wizard.directive.mjs +17 -0
- package/esm2022/lib/stepper-wizard/stepper-wizard.component.mjs +108 -0
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +357 -95
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/separate-table/separate-table-column.directive.d.ts +17 -0
- package/lib/separate-table/separate-table.component.d.ts +13 -0
- package/lib/stepper-wizard/directives/step-wizard.directive.d.ts +6 -0
- package/lib/stepper-wizard/stepper-wizard.component.d.ts +27 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/datarailsshared-datarailsshared-1.6.103.tgz +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SeparateTableColumnDirective<T = any> {
|
|
4
|
+
field: keyof T;
|
|
5
|
+
header?: string;
|
|
6
|
+
styles: {
|
|
7
|
+
[key: string]: string | number | any;
|
|
8
|
+
};
|
|
9
|
+
stopCellClickPropagation: boolean;
|
|
10
|
+
cellTemplate: TemplateRef<{
|
|
11
|
+
$implicit: T;
|
|
12
|
+
column: SeparateTableColumnDirective;
|
|
13
|
+
}>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparateTableColumnDirective<any>, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SeparateTableColumnDirective<any>, "dr-separate-table-column", never, { "field": { "alias": "field"; "required": true; }; "header": { "alias": "header"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "stopCellClickPropagation": { "alias": "stopCellClickPropagation"; "required": false; }; }, {}, ["cellTemplate"], never, true, never>;
|
|
16
|
+
static ngAcceptInputType_stopCellClickPropagation: unknown;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import { SeparateTableColumnDirective } from './separate-table-column.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SeparateTableComponent<T = any> {
|
|
5
|
+
rows: T[];
|
|
6
|
+
trackBy: keyof T | null;
|
|
7
|
+
columnDefs: QueryList<SeparateTableColumnDirective>;
|
|
8
|
+
readonly rowClick: EventEmitter<T>;
|
|
9
|
+
get columns(): SeparateTableColumnDirective[];
|
|
10
|
+
trackByFn(index: number, item: T): number | T[keyof T];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparateTableComponent<any>, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeparateTableComponent<any>, "dr-separate-table", never, { "rows": { "alias": "rows"; "required": true; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, { "rowClick": "rowClick"; }, ["columnDefs"], never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class StepWizardDirective {
|
|
3
|
+
drStepWizard: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepWizardDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StepWizardDirective, "[drStepWizard]", never, { "drStepWizard": { "alias": "drStepWizard"; "required": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterContentInit, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { StepWizardDirective } from './directives/step-wizard.directive';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StepperWizardComponent<T extends string = string> implements AfterContentInit {
|
|
7
|
+
private readonly viewContainerRef;
|
|
8
|
+
private readonly destroy$;
|
|
9
|
+
private availableSteps;
|
|
10
|
+
private previousSteps;
|
|
11
|
+
private _currentStep;
|
|
12
|
+
get currentStep(): T;
|
|
13
|
+
set currentStep(value: T);
|
|
14
|
+
currentStepChange: EventEmitter<T>;
|
|
15
|
+
steps: QueryList<StepWizardDirective>;
|
|
16
|
+
stepTemplates: QueryList<TemplateRef<void>>;
|
|
17
|
+
outlet: CdkPortalOutlet;
|
|
18
|
+
readonly completing$: Subject<boolean>;
|
|
19
|
+
constructor();
|
|
20
|
+
ngAfterContentInit(): void;
|
|
21
|
+
next<R = unknown>(step: T, onComplete?: () => void | Observable<R>): Promise<R | void>;
|
|
22
|
+
back(): void;
|
|
23
|
+
private complete;
|
|
24
|
+
private renderStep;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperWizardComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperWizardComponent<any>, "dr-stepper-wizard", never, { "currentStep": { "alias": "currentStep"; "required": false; }; }, { "currentStepChange": "currentStepChange"; }, ["steps", "stepTemplates"], never, true, never>;
|
|
27
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -156,6 +156,10 @@ export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
|
|
|
156
156
|
export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
|
|
157
157
|
export { DrProgressBarComponent } from './lib/dr-progress-bar/dr-progress-bar.component';
|
|
158
158
|
export * from './lib/drawer/public-api';
|
|
159
|
+
export * from './lib/stepper-wizard/stepper-wizard.component';
|
|
160
|
+
export * from './lib/stepper-wizard/directives/step-wizard.directive';
|
|
161
|
+
export * from './lib/separate-table/separate-table.component';
|
|
162
|
+
export * from './lib/separate-table/separate-table-column.directive';
|
|
159
163
|
export * from './lib/text-overflow/element-overflow.directive';
|
|
160
164
|
export * from './lib/text-overflow/text-overflow.component';
|
|
161
165
|
export * from './lib/directives/autofocus/autofocus.directive';
|
|
Binary file
|