@datarailsshared/datarailsshared 1.6.332 → 1.6.334
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.334.tgz +0 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-description.directive.mjs +18 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-media.directive.mjs +17 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-title.directive.mjs +19 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state.component.mjs +35 -25
- package/esm2022/lib/dr-empty-state/dr-empty-state.module.mjs +32 -0
- package/esm2022/lib/dr-empty-state/index.mjs +5 -3
- package/fesm2022/datarailsshared-datarailsshared.mjs +159 -122
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-empty-state/dr-empty-state-description.directive.d.ts +5 -0
- package/lib/dr-empty-state/dr-empty-state-media.directive.d.ts +5 -0
- package/lib/dr-empty-state/dr-empty-state-title.directive.d.ts +5 -0
- package/lib/dr-empty-state/dr-empty-state.component.d.ts +8 -5
- package/lib/dr-empty-state/dr-empty-state.module.d.ts +10 -0
- package/lib/dr-empty-state/index.d.ts +4 -2
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.332.tgz +0 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-description.component.mjs +0 -24
- package/esm2022/lib/dr-empty-state/dr-empty-state-title.component.mjs +0 -26
- package/lib/dr-empty-state/dr-empty-state-description.component.d.ts +0 -5
- package/lib/dr-empty-state/dr-empty-state-title.component.d.ts +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DrEmptyStateDescriptionDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateDescriptionDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DrEmptyStateDescriptionDirective, "dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DrEmptyStateMediaDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateMediaDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DrEmptyStateMediaDirective, "dr-empty-state-media, [dr-empty-state-media], [drEmptyStateMedia]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DrEmptyStateTitleDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateTitleDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DrEmptyStateTitleDirective, "dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { DrEmptyStateDescriptionDirective } from './dr-empty-state-description.directive';
|
|
2
|
+
import { DrEmptyStateMediaDirective } from './dr-empty-state-media.directive';
|
|
3
|
+
import { DrEmptyStateTitleDirective } from './dr-empty-state-title.directive';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DrEmptyStateComponent {
|
|
5
6
|
title: string;
|
|
@@ -7,15 +8,17 @@ export declare class DrEmptyStateComponent {
|
|
|
7
8
|
illustrationUrl: string;
|
|
8
9
|
illustrationAlt: string;
|
|
9
10
|
ariaLabel?: string;
|
|
10
|
-
projectedTitle?:
|
|
11
|
-
projectedDescription?:
|
|
11
|
+
projectedTitle?: DrEmptyStateTitleDirective;
|
|
12
|
+
projectedDescription?: DrEmptyStateDescriptionDirective;
|
|
13
|
+
projectedMedia?: DrEmptyStateMediaDirective;
|
|
12
14
|
readonly role = "status";
|
|
13
15
|
readonly ariaLive = "polite";
|
|
14
16
|
readonly ariaAtomic = "true";
|
|
15
17
|
get ariaLabelAttr(): string | null;
|
|
16
18
|
get hasProjectedTitle(): boolean;
|
|
17
19
|
get hasProjectedDescription(): boolean;
|
|
20
|
+
get hasProjectedMedia(): boolean;
|
|
18
21
|
get isIllustrationDecorative(): boolean;
|
|
19
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrEmptyStateComponent, "dr-empty-state", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "illustrationUrl": { "alias": "illustrationUrl"; "required": false; }; "illustrationAlt": { "alias": "illustrationAlt"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, ["projectedTitle", "projectedDescription"], ["dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]", "dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]"], true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrEmptyStateComponent, "dr-empty-state", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "illustrationUrl": { "alias": "illustrationUrl"; "required": false; }; "illustrationAlt": { "alias": "illustrationAlt"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, ["projectedTitle", "projectedDescription", "projectedMedia"], ["dr-empty-state-media, [dr-empty-state-media], [drEmptyStateMedia]", "dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]", "dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]"], true, never>;
|
|
21
24
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dr-empty-state.component";
|
|
3
|
+
import * as i2 from "./dr-empty-state-title.directive";
|
|
4
|
+
import * as i3 from "./dr-empty-state-description.directive";
|
|
5
|
+
import * as i4 from "./dr-empty-state-media.directive";
|
|
6
|
+
export declare class DrEmptyStateModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DrEmptyStateModule, never, [typeof i1.DrEmptyStateComponent, typeof i2.DrEmptyStateTitleDirective, typeof i3.DrEmptyStateDescriptionDirective, typeof i4.DrEmptyStateMediaDirective], [typeof i1.DrEmptyStateComponent, typeof i2.DrEmptyStateTitleDirective, typeof i3.DrEmptyStateDescriptionDirective, typeof i4.DrEmptyStateMediaDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DrEmptyStateModule>;
|
|
10
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export * from './dr-empty-state.component';
|
|
2
|
-
export * from './dr-empty-state-title.
|
|
3
|
-
export * from './dr-empty-state-description.
|
|
2
|
+
export * from './dr-empty-state-title.directive';
|
|
3
|
+
export * from './dr-empty-state-description.directive';
|
|
4
|
+
export * from './dr-empty-state-media.directive';
|
|
5
|
+
export * from './dr-empty-state.module';
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
const _c0 = ["*"];
|
|
5
|
-
export class DrEmptyStateDescriptionComponent {
|
|
6
|
-
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateDescriptionComponent_Factory(t) { return new (t || DrEmptyStateDescriptionComponent)(); }; }
|
|
7
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrEmptyStateDescriptionComponent, selectors: [["dr-empty-state-description"], ["", "dr-empty-state-description", ""], ["", "drEmptyStateDescription", ""]], hostAttrs: [1, "dr-empty-state__description"], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function DrEmptyStateDescriptionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
i0.ɵɵprojectionDef();
|
|
9
|
-
i0.ɵɵprojection(0);
|
|
10
|
-
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
11
|
-
}
|
|
12
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateDescriptionComponent, [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: 'dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]',
|
|
16
|
-
template: '<ng-content></ng-content>',
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
standalone: true,
|
|
19
|
-
host: {
|
|
20
|
-
class: 'dr-empty-state__description',
|
|
21
|
-
},
|
|
22
|
-
}]
|
|
23
|
-
}], null, null); })();
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDhEQUE4RDtBQUM5RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFXbkUsTUFBTSxPQUFPLGdDQUFnQztvSEFBaEMsZ0NBQWdDO21HQUFoQyxnQ0FBZ0M7O1lBUDlCLGtCQUF5Qjs7O3VGQU8zQixnQ0FBZ0M7Y0FUNUMsU0FBUztlQUFDO2dCQUNQLFFBQVEsRUFBRSxxRkFBcUY7Z0JBQy9GLFFBQVEsRUFBRSwyQkFBMkI7Z0JBQ3JDLGVBQWUsRUFBRSx1QkFBdUIsQ0FBQyxNQUFNO2dCQUMvQyxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsSUFBSSxFQUFFO29CQUNGLEtBQUssRUFBRSw2QkFBNkI7aUJBQ3ZDO2FBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBAYW5ndWxhci1lc2xpbnQvbm8taG9zdC1tZXRhZGF0YS1wcm9wZXJ0eSAqL1xuaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ2RyLWVtcHR5LXN0YXRlLWRlc2NyaXB0aW9uLCBbZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb25dLCBbZHJFbXB0eVN0YXRlRGVzY3JpcHRpb25dJyxcbiAgICB0ZW1wbGF0ZTogJzxuZy1jb250ZW50PjwvbmctY29udGVudD4nLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ2RyLWVtcHR5LXN0YXRlX19kZXNjcmlwdGlvbicsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgRHJFbXB0eVN0YXRlRGVzY3JpcHRpb25Db21wb25lbnQge31cbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
const _c0 = ["*"];
|
|
5
|
-
export class DrEmptyStateTitleComponent {
|
|
6
|
-
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateTitleComponent_Factory(t) { return new (t || DrEmptyStateTitleComponent)(); }; }
|
|
7
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrEmptyStateTitleComponent, selectors: [["dr-empty-state-title"], ["", "dr-empty-state-title", ""], ["", "drEmptyStateTitle", ""]], hostAttrs: ["role", "heading", "aria-level", "2", 1, "dr-empty-state__title"], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function DrEmptyStateTitleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
i0.ɵɵprojectionDef();
|
|
9
|
-
i0.ɵɵprojection(0);
|
|
10
|
-
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
11
|
-
}
|
|
12
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateTitleComponent, [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: 'dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]',
|
|
16
|
-
template: '<ng-content></ng-content>',
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
standalone: true,
|
|
19
|
-
host: {
|
|
20
|
-
class: 'dr-empty-state__title',
|
|
21
|
-
role: 'heading',
|
|
22
|
-
'aria-level': '2',
|
|
23
|
-
},
|
|
24
|
-
}]
|
|
25
|
-
}], null, null); })();
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUtdGl0bGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hh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ICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgY2xhc3M6ICdkci1lbXB0eS1zdGF0ZV9fdGl0bGUnLFxuICAgICAgICByb2xlOiAnaGVhZGluZycsXG4gICAgICAgICdhcmlhLWxldmVsJzogJzInLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIERyRW1wdHlTdGF0ZVRpdGxlQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DrEmptyStateDescriptionComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateDescriptionComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrEmptyStateDescriptionComponent, "dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DrEmptyStateTitleComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrEmptyStateTitleComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrEmptyStateTitleComponent, "dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
-
}
|