@globalart/platform-ui 0.1.0
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/fesm2022/globalart-platform-ui.mjs +6070 -0
- package/fesm2022/globalart-platform-ui.mjs.map +1 -0
- package/globalart-platform-ui.d.ts.map +1 -0
- package/index.d.ts +43 -0
- package/index.d.ts.map +1 -0
- package/lib/actions/ui-sticky-actions.component.d.ts +10 -0
- package/lib/actions/ui-sticky-actions.component.d.ts.map +1 -0
- package/lib/alert/ui-alert.component.d.ts +21 -0
- package/lib/alert/ui-alert.component.d.ts.map +1 -0
- package/lib/avatar/ui-avatar.component.d.ts +19 -0
- package/lib/avatar/ui-avatar.component.d.ts.map +1 -0
- package/lib/badge/ui-badge.component.d.ts +11 -0
- package/lib/badge/ui-badge.component.d.ts.map +1 -0
- package/lib/button/ui-button.directive.d.ts +37 -0
- package/lib/button/ui-button.directive.d.ts.map +1 -0
- package/lib/card/ui-card.component.d.ts +10 -0
- package/lib/card/ui-card.component.d.ts.map +1 -0
- package/lib/chip/ui-chip.component.d.ts +29 -0
- package/lib/chip/ui-chip.component.d.ts.map +1 -0
- package/lib/copy/ui-copy-button.component.d.ts +29 -0
- package/lib/copy/ui-copy-button.component.d.ts.map +1 -0
- package/lib/data-table/ui-data-table.component.d.ts +108 -0
- package/lib/data-table/ui-data-table.component.d.ts.map +1 -0
- package/lib/data-table/ui-data-table.labels.d.ts +15 -0
- package/lib/data-table/ui-data-table.labels.d.ts.map +1 -0
- package/lib/description-list/ui-description-list.component.d.ts +14 -0
- package/lib/description-list/ui-description-list.component.d.ts.map +1 -0
- package/lib/dialog/ui-dialog.component.d.ts +23 -0
- package/lib/dialog/ui-dialog.component.d.ts.map +1 -0
- package/lib/feedback/ui-feedback.components.d.ts +42 -0
- package/lib/feedback/ui-feedback.components.d.ts.map +1 -0
- package/lib/file-drop/ui-file-drop.component.d.ts +38 -0
- package/lib/file-drop/ui-file-drop.component.d.ts.map +1 -0
- package/lib/form/ui-field-array.component.d.ts +45 -0
- package/lib/form/ui-field-array.component.d.ts.map +1 -0
- package/lib/form/ui-field-error.component.d.ts +24 -0
- package/lib/form/ui-field-error.component.d.ts.map +1 -0
- package/lib/form/ui-fieldset.component.d.ts +13 -0
- package/lib/form/ui-fieldset.component.d.ts.map +1 -0
- package/lib/form/ui-form-field.component.d.ts +57 -0
- package/lib/form/ui-form-field.component.d.ts.map +1 -0
- package/lib/form/ui-form-grid.directive.d.ts +15 -0
- package/lib/form/ui-form-grid.directive.d.ts.map +1 -0
- package/lib/form/ui-form.directives.d.ts +49 -0
- package/lib/form/ui-form.directives.d.ts.map +1 -0
- package/lib/form/ui-password-input.component.d.ts +29 -0
- package/lib/form/ui-password-input.component.d.ts.map +1 -0
- package/lib/form/ui-search-field.component.d.ts +43 -0
- package/lib/form/ui-search-field.component.d.ts.map +1 -0
- package/lib/form/ui-switch.component.d.ts +27 -0
- package/lib/form/ui-switch.component.d.ts.map +1 -0
- package/lib/form/ui-validation-messages.d.ts +14 -0
- package/lib/form/ui-validation-messages.d.ts.map +1 -0
- package/lib/icon/ui-icon.component.d.ts +10 -0
- package/lib/icon/ui-icon.component.d.ts.map +1 -0
- package/lib/icon/ui-icons.d.ts +54 -0
- package/lib/icon/ui-icons.d.ts.map +1 -0
- package/lib/menu/ui-menu.component.d.ts +33 -0
- package/lib/menu/ui-menu.component.d.ts.map +1 -0
- package/lib/modal/ui-modal.component.d.ts +93 -0
- package/lib/modal/ui-modal.component.d.ts.map +1 -0
- package/lib/page/ui-page-header.component.d.ts +9 -0
- package/lib/page/ui-page-header.component.d.ts.map +1 -0
- package/lib/select/ui-select.component.d.ts +58 -0
- package/lib/select/ui-select.component.d.ts.map +1 -0
- package/lib/select/ui-select.directives.d.ts +27 -0
- package/lib/select/ui-select.directives.d.ts.map +1 -0
- package/lib/shell/ui-nav.model.d.ts +14 -0
- package/lib/shell/ui-nav.model.d.ts.map +1 -0
- package/lib/shell/ui-shell.component.d.ts +22 -0
- package/lib/shell/ui-shell.component.d.ts.map +1 -0
- package/lib/shell/ui-sidebar-nav.component.d.ts +18 -0
- package/lib/shell/ui-sidebar-nav.component.d.ts.map +1 -0
- package/lib/stat/ui-stat.component.d.ts +12 -0
- package/lib/stat/ui-stat.component.d.ts.map +1 -0
- package/lib/table/ui-table.directives.d.ts +32 -0
- package/lib/table/ui-table.directives.d.ts.map +1 -0
- package/lib/tabs/ui-tabs.component.d.ts +16 -0
- package/lib/tabs/ui-tabs.component.d.ts.map +1 -0
- package/lib/text/ui-text.directives.d.ts +18 -0
- package/lib/text/ui-text.directives.d.ts.map +1 -0
- package/lib/theme/ui-theme.service.d.ts +13 -0
- package/lib/theme/ui-theme.service.d.ts.map +1 -0
- package/lib/toast/ui-toast.component.d.ts +33 -0
- package/lib/toast/ui-toast.component.d.ts.map +1 -0
- package/lib/toast/ui-toast.config.d.ts +4 -0
- package/lib/toast/ui-toast.config.d.ts.map +1 -0
- package/lib/tooltip/ui-tooltip.directive.d.ts +36 -0
- package/lib/tooltip/ui-tooltip.directive.d.ts.map +1 -0
- package/package.json +43 -0
- package/src/styles/base.css +207 -0
- package/src/styles/theme.css +211 -0
- package/styles.css +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalart-platform-ui.d.ts","sourceRoot":"","sources":["../../../libs/ui/src/globalart-platform-ui.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from './lib/actions/ui-sticky-actions.component';
|
|
2
|
+
export * from './lib/alert/ui-alert.component';
|
|
3
|
+
export * from './lib/avatar/ui-avatar.component';
|
|
4
|
+
export * from './lib/badge/ui-badge.component';
|
|
5
|
+
export * from './lib/button/ui-button.directive';
|
|
6
|
+
export * from './lib/card/ui-card.component';
|
|
7
|
+
export * from './lib/chip/ui-chip.component';
|
|
8
|
+
export * from './lib/copy/ui-copy-button.component';
|
|
9
|
+
export * from './lib/data-table/ui-data-table.component';
|
|
10
|
+
export * from './lib/data-table/ui-data-table.labels';
|
|
11
|
+
export * from './lib/description-list/ui-description-list.component';
|
|
12
|
+
export * from './lib/dialog/ui-dialog.component';
|
|
13
|
+
export * from './lib/feedback/ui-feedback.components';
|
|
14
|
+
export * from './lib/file-drop/ui-file-drop.component';
|
|
15
|
+
export * from './lib/form/ui-field-array.component';
|
|
16
|
+
export * from './lib/form/ui-field-error.component';
|
|
17
|
+
export * from './lib/form/ui-fieldset.component';
|
|
18
|
+
export * from './lib/form/ui-form-field.component';
|
|
19
|
+
export * from './lib/form/ui-form-grid.directive';
|
|
20
|
+
export * from './lib/form/ui-form.directives';
|
|
21
|
+
export * from './lib/form/ui-password-input.component';
|
|
22
|
+
export * from './lib/form/ui-search-field.component';
|
|
23
|
+
export * from './lib/form/ui-switch.component';
|
|
24
|
+
export * from './lib/form/ui-validation-messages';
|
|
25
|
+
export * from './lib/icon/ui-icon.component';
|
|
26
|
+
export * from './lib/icon/ui-icons';
|
|
27
|
+
export * from './lib/menu/ui-menu.component';
|
|
28
|
+
export * from './lib/modal/ui-modal.component';
|
|
29
|
+
export * from './lib/page/ui-page-header.component';
|
|
30
|
+
export * from './lib/select/ui-select.component';
|
|
31
|
+
export * from './lib/select/ui-select.directives';
|
|
32
|
+
export * from './lib/shell/ui-nav.model';
|
|
33
|
+
export * from './lib/shell/ui-shell.component';
|
|
34
|
+
export * from './lib/shell/ui-sidebar-nav.component';
|
|
35
|
+
export * from './lib/stat/ui-stat.component';
|
|
36
|
+
export * from './lib/table/ui-table.directives';
|
|
37
|
+
export * from './lib/tabs/ui-tabs.component';
|
|
38
|
+
export * from './lib/text/ui-text.directives';
|
|
39
|
+
export * from './lib/theme/ui-theme.service';
|
|
40
|
+
export * from './lib/toast/ui-toast.component';
|
|
41
|
+
export * from './lib/toast/ui-toast.config';
|
|
42
|
+
export * from './lib/tooltip/ui-tooltip.directive';
|
|
43
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/ui/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sDAAsD,CAAC;AACrE,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type UiStickyActionsAlign = 'between' | 'end';
|
|
3
|
+
export declare class UiStickyActionsComponent {
|
|
4
|
+
align: UiStickyActionsAlign;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
get barClass(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStickyActionsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStickyActionsComponent, "ui-sticky-actions", never, { "align": { "alias": "align"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, ["[stickyMessage]", "*"], true, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ui-sticky-actions.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-sticky-actions.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/actions/ui-sticky-actions.component.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,KAAK,CAAC;AAKrD,qBAoBa,wBAAwB;IAC1B,KAAK,EAAE,oBAAoB,CAAa;IACxC,OAAO,UAAQ;IAExB,IAAI,QAAQ,IAAI,MAAM,CAOrB;yCAXU,wBAAwB;2CAAxB,wBAAwB;CAYpC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { UiIconName } from '../icon/ui-icons';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type UiAlertTone = 'info' | 'ok' | 'warn' | 'danger';
|
|
5
|
+
export declare class UiAlertComponent {
|
|
6
|
+
tone: UiAlertTone;
|
|
7
|
+
heading: string;
|
|
8
|
+
icon?: UiIconName;
|
|
9
|
+
subtle: boolean;
|
|
10
|
+
dismissible: boolean;
|
|
11
|
+
dismissLabel: string;
|
|
12
|
+
readonly dismissed: EventEmitter<void>;
|
|
13
|
+
get role(): string;
|
|
14
|
+
get iconName(): UiIconName;
|
|
15
|
+
get hostClass(): string;
|
|
16
|
+
get iconClass(): string;
|
|
17
|
+
get headingClass(): string;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiAlertComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiAlertComponent, "ui-alert", never, { "tone": { "alias": "tone"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "subtle": { "alias": "subtle"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; }; }, { "dismissed": "dismissed"; }, never, ["*", "[alertActions]"], true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ui-alert.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-alert.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/alert/ui-alert.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;;AAEnD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC;AAgC5D,qBAiCa,gBAAgB;IAClB,IAAI,EAAE,WAAW,CAAU;IAC3B,OAAO,SAAM;IACb,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,MAAM,UAAS;IACf,WAAW,UAAS;IACpB,YAAY,SAAM;IAEjB,QAAQ,CAAC,SAAS,qBAA4B;IAExD,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,QAAQ,IAAI,UAAU,CAEzB;IAED,IAAI,SAAS,IAAI,MAAM,CAItB;IAED,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,YAAY,IAAI,MAAM,CAEzB;yCA9BU,gBAAgB;2CAAhB,gBAAgB;CA+B5B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type UiAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export declare class UiAvatarComponent implements OnChanges {
|
|
5
|
+
src: string;
|
|
6
|
+
name: string;
|
|
7
|
+
size: UiAvatarSize;
|
|
8
|
+
resolvedSrc: string;
|
|
9
|
+
initials: string;
|
|
10
|
+
private failed;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
get pixelSize(): number;
|
|
13
|
+
get sizeClass(): string;
|
|
14
|
+
get showImage(): boolean;
|
|
15
|
+
onImageError(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiAvatarComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiAvatarComponent, "ui-avatar", never, { "src": { "alias": "src"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=ui-avatar.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-avatar.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/avatar/ui-avatar.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAC;;AAEvB,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AA8C5D,qBAyBa,iBAAkB,YAAW,SAAS;IACxC,GAAG,SAAM;IACT,IAAI,SAAM;IACV,IAAI,EAAE,YAAY,CAAQ;IAEnC,WAAW,SAAM;IACjB,QAAQ,SAAM;IAEd,OAAO,CAAC,MAAM,CAAS;IAEvB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,YAAY,IAAI,IAAI;yCAjCT,iBAAiB;2CAAjB,iBAAiB;CAoC7B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type UiBadgeTone = 'neutral' | 'ok' | 'warn' | 'danger' | 'info' | 'signal';
|
|
3
|
+
export declare class UiBadgeComponent {
|
|
4
|
+
tone: UiBadgeTone;
|
|
5
|
+
dot: boolean;
|
|
6
|
+
get toneClass(): string;
|
|
7
|
+
get dotClass(): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBadgeComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBadgeComponent, "ui-badge", never, { "tone": { "alias": "tone"; "required": false; }; "dot": { "alias": "dot"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ui-badge.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-badge.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/badge/ui-badge.component.ts"],"names":[],"mappings":";AAGA,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,IAAI,GACJ,MAAM,GACN,QAAQ,GACR,MAAM,GACN,QAAQ,CAAC;AAoBb,qBAca,gBAAgB;IAClB,IAAI,EAAE,WAAW,CAAa;IAC9B,GAAG,UAAS;IAErB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;yCAVU,gBAAgB;2CAAhB,gBAAgB;CAW5B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type UiButtonVariant = 'primary' | 'tonal' | 'secondary' | 'text' | 'ghost' | 'ghost-danger' | 'danger';
|
|
4
|
+
export type UiButtonSize = 'sm' | 'md' | 'icon' | 'icon-sm';
|
|
5
|
+
export declare class UiButtonDirective implements OnChanges, OnDestroy {
|
|
6
|
+
variant: UiButtonVariant;
|
|
7
|
+
size: UiButtonSize;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
loadingLabel?: string;
|
|
11
|
+
private readonly hostRef;
|
|
12
|
+
private readonly renderer;
|
|
13
|
+
private readonly viewContainer;
|
|
14
|
+
private readonly isNativeButton;
|
|
15
|
+
private spinner;
|
|
16
|
+
private labelNode;
|
|
17
|
+
private previousAriaLabel;
|
|
18
|
+
private ownsAriaLabel;
|
|
19
|
+
get classes(): string;
|
|
20
|
+
get disabledAttribute(): string | null;
|
|
21
|
+
get ariaDisabled(): string | null;
|
|
22
|
+
get ariaBusy(): string | null;
|
|
23
|
+
ngOnChanges(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
private get isInactive();
|
|
26
|
+
private get stateClass();
|
|
27
|
+
private renderBusyState;
|
|
28
|
+
private mountSpinner;
|
|
29
|
+
private mountLabel;
|
|
30
|
+
private clearBusyState;
|
|
31
|
+
private clearLabel;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiButtonDirective, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiButtonDirective, "button[uiButton], a[uiButton]", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
+
static ngAcceptInputType_disabled: unknown;
|
|
35
|
+
static ngAcceptInputType_loading: unknown;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=ui-button.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-button.directive.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/button/ui-button.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,SAAS,EACT,SAAS,EAGV,MAAM,eAAe,CAAC;;AAGvB,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,OAAO,GACP,WAAW,GACX,MAAM,GACN,OAAO,GACP,cAAc,GACd,QAAQ,CAAC;AACb,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AA8C5D,qBAIa,iBAAkB,YAAW,SAAS,EAAE,SAAS;IACnD,OAAO,EAAE,eAAe,CAAe;IACvC,IAAI,EAAE,YAAY,CAAQ;IACK,QAAQ,UAAS;IACjB,OAAO,UAAS;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAE/B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA+C;IACvE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAC9C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4B;IAC1D,OAAO,CAAC,QAAQ,CAAC,cAAc,CACiC;IAEhE,OAAO,CAAC,OAAO,CAAiD;IAChE,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,iBAAiB,CAAuB;IAChD,OAAO,CAAC,aAAa,CAAS;IAE9B,IACI,OAAO,IAAI,MAAM,CAIpB;IAED,IACI,iBAAiB,IAAI,MAAM,GAAG,IAAI,CAErC;IAED,IACI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IAED,IACI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;IAED,WAAW,IAAI,IAAI;IAInB,WAAW,IAAI,IAAI;IAInB,OAAO,KAAK,UAAU,GAErB;IAED,OAAO,KAAK,UAAU,GAMrB;IAED,OAAO,CAAC,eAAe;IAevB,OAAO,CAAC,YAAY;IAiBpB,OAAO,CAAC,UAAU;IA0BlB,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,UAAU;yCA/HP,iBAAiB;2CAAjB,iBAAiB;uCAuJ8gqC,OAAQ;sCAAR,OAAQ;CADnjqC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UiCardComponent {
|
|
3
|
+
heading?: string;
|
|
4
|
+
eyebrow?: string;
|
|
5
|
+
padded: boolean;
|
|
6
|
+
get bodyClass(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCardComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiCardComponent, "ui-card", never, { "heading": { "alias": "heading"; "required": false; }; "eyebrow": { "alias": "eyebrow"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; }, {}, never, ["[cardActions]", "*"], true, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ui-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-card.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/card/ui-card.component.ts"],"names":[],"mappings":";AAGA,qBA4Ba,eAAe;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,UAAQ;IAEvB,IAAI,SAAS,IAAI,MAAM,CAEtB;yCAPU,eAAe;2CAAf,eAAe;CAQ3B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { UiIconName } from '../icon/ui-icons';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UiChipRowDirective {
|
|
5
|
+
label: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiChipRowDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiChipRowDirective, "[uiChipRow]", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare class UiChipComponent {
|
|
10
|
+
label: string;
|
|
11
|
+
icon?: UiIconName;
|
|
12
|
+
count?: number | string;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
selectable: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
removable: boolean;
|
|
17
|
+
removeLabel: string;
|
|
18
|
+
readonly selectedChange: EventEmitter<boolean>;
|
|
19
|
+
readonly removed: EventEmitter<void>;
|
|
20
|
+
get hostClass(): string;
|
|
21
|
+
get contentClass(): string;
|
|
22
|
+
get removeClass(): string;
|
|
23
|
+
get countClass(): string;
|
|
24
|
+
toggle(): void;
|
|
25
|
+
emitRemove(event: Event): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiChipComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiChipComponent, "ui-chip", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "count": { "alias": "count"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; }, { "selectedChange": "selectedChange"; "removed": "removed"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=ui-chip.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-chip.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/chip/ui-chip.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,YAAY,EAGb,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;;AAWnD,qBASa,kBAAkB;IACpB,KAAK,SAAM;yCADT,kBAAkB;2CAAlB,kBAAkB;CAE9B;AAED,qBA8Ca,eAAe;IACjB,KAAK,SAAM;IACX,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,UAAS;IACjB,UAAU,UAAQ;IAClB,QAAQ,UAAS;IACjB,SAAS,UAAS;IAClB,WAAW,SAAM;IAEhB,QAAQ,CAAC,cAAc,wBAA+B;IACtD,QAAQ,CAAC,OAAO,qBAA4B;IAEtD,IAAI,SAAS,IAAI,MAAM,CAUtB;IAED,IAAI,YAAY,IAAI,MAAM,CAIzB;IAED,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,IAAI,UAAU,IAAI,MAAM,CAGvB;IAED,MAAM,IAAI,IAAI;IAOd,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCA/CnB,eAAe;2CAAf,eAAe;CAsD3B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { type UiButtonSize, type UiButtonVariant } from '../button/ui-button.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type UiCopyButtonSize = 'sm' | 'md';
|
|
5
|
+
export declare class UiCopyButtonComponent implements OnDestroy {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
copiedLabel: string;
|
|
9
|
+
ariaLabel: string;
|
|
10
|
+
variant: UiButtonVariant;
|
|
11
|
+
size: UiCopyButtonSize;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
readonly copied: EventEmitter<string>;
|
|
14
|
+
readonly failed: EventEmitter<void>;
|
|
15
|
+
protected isCopied: boolean;
|
|
16
|
+
private readonly document;
|
|
17
|
+
private readonly cdr;
|
|
18
|
+
private timer;
|
|
19
|
+
protected get buttonSize(): UiButtonSize;
|
|
20
|
+
protected get iconSize(): number;
|
|
21
|
+
copy(): Promise<void>;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private clearTimer;
|
|
24
|
+
private write;
|
|
25
|
+
private writeWithCommand;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCopyButtonComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiCopyButtonComponent, "ui-copy-button", never, { "value": { "alias": "value"; "required": true; }; "label": { "alias": "label"; "required": false; }; "copiedLabel": { "alias": "copiedLabel"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "copied": "copied"; "failed": "failed"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=ui-copy-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-copy-button.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/copy/ui-copy-button.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,YAAY,EAEZ,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;;AAGvC,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,CAAC;AAI3C,qBAsBa,qBAAsB,YAAW,SAAS;IAC1B,KAAK,SAAM;IAC7B,KAAK,SAAM;IACX,WAAW,SAAM;IACL,SAAS,SAAM;IAC3B,OAAO,EAAE,eAAe,CAAe;IACvC,IAAI,EAAE,gBAAgB,CAAQ;IAC9B,QAAQ,UAAS;IAEhB,QAAQ,CAAC,MAAM,uBAA8B;IAC7C,QAAQ,CAAC,MAAM,qBAA4B;IAErD,SAAS,CAAC,QAAQ,UAAS;IAE3B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IACjD,OAAO,CAAC,KAAK,CAA8C;IAE3D,SAAS,KAAK,UAAU,IAAI,YAAY,CAKvC;IAED,SAAS,KAAK,QAAQ,IAAI,MAAM,CAE/B;IAEK,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IA6B3B,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,UAAU;YAOJ,KAAK;IAanB,OAAO,CAAC,gBAAgB;yCAlFb,qBAAqB;2CAArB,qBAAqB;CAsHjC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import type { UiIconName } from '../icon/ui-icons';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type UiSortDirection = 'asc' | 'desc';
|
|
6
|
+
export interface UiTableSort {
|
|
7
|
+
key: string;
|
|
8
|
+
direction: UiSortDirection;
|
|
9
|
+
}
|
|
10
|
+
export interface UiColumn {
|
|
11
|
+
title: string;
|
|
12
|
+
align?: 'left' | 'right' | 'center';
|
|
13
|
+
width?: string;
|
|
14
|
+
sortable?: boolean;
|
|
15
|
+
sortKey?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface UiTableQuery {
|
|
18
|
+
offset: number;
|
|
19
|
+
limit: number;
|
|
20
|
+
search: string;
|
|
21
|
+
sort: UiTableSort | null;
|
|
22
|
+
}
|
|
23
|
+
export interface UiTablePage<T> {
|
|
24
|
+
data: T[];
|
|
25
|
+
total: number;
|
|
26
|
+
}
|
|
27
|
+
export type UiTableFetch<T> = (query: UiTableQuery) => Observable<UiTablePage<T>>;
|
|
28
|
+
export interface UiTablePageItem {
|
|
29
|
+
key: string;
|
|
30
|
+
page: number;
|
|
31
|
+
gap: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare class UiDataTableComponent<T = unknown> implements OnInit, OnChanges, OnDestroy {
|
|
34
|
+
columns: UiColumn[];
|
|
35
|
+
rowTemplate: TemplateRef<unknown>;
|
|
36
|
+
fetch?: UiTableFetch<T>;
|
|
37
|
+
rows?: T[] | null;
|
|
38
|
+
rowSearch?: (row: T, search: string) => boolean;
|
|
39
|
+
rowSortValue?: (row: T, key: string) => unknown;
|
|
40
|
+
heading?: string;
|
|
41
|
+
eyebrow?: string;
|
|
42
|
+
pageSize: number;
|
|
43
|
+
pageSizeOptions: number[];
|
|
44
|
+
showPageNumbers: boolean;
|
|
45
|
+
sort: UiTableSort | null;
|
|
46
|
+
searchable: boolean;
|
|
47
|
+
searchPlaceholder: string;
|
|
48
|
+
emptyIcon: UiIconName;
|
|
49
|
+
emptyHeading: string;
|
|
50
|
+
emptyDescription?: string;
|
|
51
|
+
emptySearchHeading: string;
|
|
52
|
+
emptySearchDescription?: string;
|
|
53
|
+
previousPageLabel: string;
|
|
54
|
+
nextPageLabel: string;
|
|
55
|
+
pageSizeLabel: string;
|
|
56
|
+
reload?: EventEmitter<unknown>;
|
|
57
|
+
readonly sortChange: EventEmitter<UiTableSort>;
|
|
58
|
+
readonly pageSizeChange: EventEmitter<number>;
|
|
59
|
+
visibleRows: T[];
|
|
60
|
+
pageItems: UiTablePageItem[];
|
|
61
|
+
total: number;
|
|
62
|
+
page: number;
|
|
63
|
+
search: string;
|
|
64
|
+
loading: boolean;
|
|
65
|
+
private readonly cdr;
|
|
66
|
+
private readonly labels;
|
|
67
|
+
private readonly searchInput;
|
|
68
|
+
private readonly subscriptions;
|
|
69
|
+
private request?;
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
get pageCount(): number;
|
|
74
|
+
get rangeStart(): number;
|
|
75
|
+
get rangeEnd(): number;
|
|
76
|
+
get showPageSizeControl(): boolean;
|
|
77
|
+
get showNumberedPages(): boolean;
|
|
78
|
+
get showFooter(): boolean;
|
|
79
|
+
get searchPlaceholderText(): string;
|
|
80
|
+
get previousPageLabelText(): string;
|
|
81
|
+
get nextPageLabelText(): string;
|
|
82
|
+
get pageSizeLabelText(): string;
|
|
83
|
+
get emptyStateHeading(): string;
|
|
84
|
+
get emptyStateDescription(): string | undefined;
|
|
85
|
+
headerClass(column: UiColumn): string;
|
|
86
|
+
isSortable(column: UiColumn): boolean;
|
|
87
|
+
isSorted(column: UiColumn): boolean;
|
|
88
|
+
ariaSort(column: UiColumn): string | null;
|
|
89
|
+
sortIcon(column: UiColumn): UiIconName;
|
|
90
|
+
sortControlClass(column: UiColumn): string;
|
|
91
|
+
sortIconClass(column: UiColumn): string;
|
|
92
|
+
toggleSort(column: UiColumn): void;
|
|
93
|
+
onSearch(value: string): void;
|
|
94
|
+
onPageSizeChange(value: string | number): void;
|
|
95
|
+
goTo(page: number): void;
|
|
96
|
+
readonly trackPageItem: (_: number, item: UiTablePageItem) => string;
|
|
97
|
+
load(): void;
|
|
98
|
+
private apply;
|
|
99
|
+
private buildPageItems;
|
|
100
|
+
private queryRows;
|
|
101
|
+
private matchesSearch;
|
|
102
|
+
private sortValue;
|
|
103
|
+
private assertSource;
|
|
104
|
+
private assertColumns;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiDataTableComponent<any>, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiDataTableComponent<any>, "ui-data-table", never, { "columns": { "alias": "columns"; "required": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": true; }; "fetch": { "alias": "fetch"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowSearch": { "alias": "rowSearch"; "required": false; }; "rowSortValue": { "alias": "rowSortValue"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "eyebrow": { "alias": "eyebrow"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "showPageNumbers": { "alias": "showPageNumbers"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "emptyIcon": { "alias": "emptyIcon"; "required": false; }; "emptyHeading": { "alias": "emptyHeading"; "required": false; }; "emptyDescription": { "alias": "emptyDescription"; "required": false; }; "emptySearchHeading": { "alias": "emptySearchHeading"; "required": false; }; "emptySearchDescription": { "alias": "emptySearchDescription"; "required": false; }; "previousPageLabel": { "alias": "previousPageLabel"; "required": false; }; "nextPageLabel": { "alias": "nextPageLabel"; "required": false; }; "pageSizeLabel": { "alias": "pageSizeLabel"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, { "sortChange": "sortChange"; "pageSizeChange": "pageSizeChange"; }, never, ["[tableActions]", "[tableEmptyActions]"], true, never>;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=ui-data-table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-data-table.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/data-table/ui-data-table.component.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
+
export interface UiDataTableLabels {
|
|
3
|
+
searchPlaceholder: string;
|
|
4
|
+
emptyHeading: string;
|
|
5
|
+
emptyDescription?: string;
|
|
6
|
+
emptySearchHeading: string;
|
|
7
|
+
emptySearchDescription?: string;
|
|
8
|
+
previousPageLabel: string;
|
|
9
|
+
nextPageLabel: string;
|
|
10
|
+
pageSizeLabel: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const UI_DATA_TABLE_DEFAULT_LABELS: UiDataTableLabels;
|
|
13
|
+
export declare const UI_DATA_TABLE_LABELS: InjectionToken<UiDataTableLabels>;
|
|
14
|
+
export declare const provideUiDataTableLabels: (labels: Partial<UiDataTableLabels>) => Provider;
|
|
15
|
+
//# sourceMappingURL=ui-data-table.labels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-data-table.labels.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/data-table/ui-data-table.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,4BAA4B,EAAE,iBAO1C,CAAC;AAEF,eAAO,MAAM,oBAAoB,mCAGhC,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAC3B,OAAO,CAAC,iBAAiB,CAAC,KACjC,QAGD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type UiDescriptionListDensity = 'comfortable' | 'compact';
|
|
3
|
+
export declare class UiDescriptionListComponent {
|
|
4
|
+
density: UiDescriptionListDensity;
|
|
5
|
+
get densityClass(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiDescriptionListComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiDescriptionListComponent, "ui-description-list", never, { "density": { "alias": "density"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare class UiDescriptionRowComponent {
|
|
10
|
+
label: string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiDescriptionRowComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiDescriptionRowComponent, "ui-description-row", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*", "[rowAction]"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=ui-description-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-description-list.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/description-list/ui-description-list.component.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG,SAAS,CAAC;AAOjE,qBAWa,0BAA0B;IAC5B,OAAO,EAAE,wBAAwB,CAAiB;IAE3D,IAAI,YAAY,IAAI,MAAM,CAEzB;yCALU,0BAA0B;2CAA1B,0BAA0B;CAMtC;AAED,qBAoBa,yBAAyB;IAC3B,KAAK,SAAM;yCADT,yBAAyB;2CAAzB,yBAAyB;CAErC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type UiDialogSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export declare class UiDialogComponent {
|
|
5
|
+
open: boolean;
|
|
6
|
+
title: string;
|
|
7
|
+
size: UiDialogSize;
|
|
8
|
+
closeLabel: string;
|
|
9
|
+
closeOnBackdrop: boolean;
|
|
10
|
+
closeOnEscape: boolean;
|
|
11
|
+
showHeaderClose: boolean;
|
|
12
|
+
fullscreen: boolean;
|
|
13
|
+
readonly titleId: string;
|
|
14
|
+
readonly closed: EventEmitter<void>;
|
|
15
|
+
get panelClass(): string;
|
|
16
|
+
get bodyClass(): string;
|
|
17
|
+
onBackdrop(event: MouseEvent): void;
|
|
18
|
+
requestClose(): void;
|
|
19
|
+
onEscape(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiDialogComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiDialogComponent, "ui-dialog", never, { "open": { "alias": "open"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "showHeaderClose": { "alias": "showHeaderClose"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; }, { "closed": "closed"; }, never, ["*", "[dialogFooter]"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=ui-dialog.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/dialog/ui-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAIb,MAAM,eAAe,CAAC;;AAIvB,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAWrD,qBA8Ca,iBAAiB;IACnB,IAAI,UAAS;IACb,KAAK,SAAM;IACX,IAAI,EAAE,YAAY,CAAQ;IAC1B,UAAU,SAAM;IAChB,eAAe,UAAQ;IACvB,aAAa,UAAQ;IACrB,eAAe,UAAQ;IACvB,UAAU,UAAS;IAE5B,QAAQ,CAAC,OAAO,SAAgC;IAEtC,QAAQ,CAAC,MAAM,qBAA4B;IAErD,IAAI,UAAU,IAAI,MAAM,CAGvB;IAED,IAAI,SAAS,IAAI,MAAM,CAGtB;IAED,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAMnC,YAAY,IAAI,IAAI;IAKpB,QAAQ,IAAI,IAAI;yCAnCL,iBAAiB;2CAAjB,iBAAiB;CAwC7B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { UiIconName } from '../icon/ui-icons';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type UiFeedbackTone = 'neutral' | 'danger' | 'warn';
|
|
4
|
+
export type UiLoadingStateSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export declare class UiSkeletonComponent {
|
|
6
|
+
width: string;
|
|
7
|
+
height: string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSkeletonComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSkeletonComponent, "ui-skeleton", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
export declare class UiSpinnerComponent {
|
|
12
|
+
size: number;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSpinnerComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSpinnerComponent, "ui-spinner", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class UiLoadingStateComponent {
|
|
17
|
+
size: UiLoadingStateSize;
|
|
18
|
+
caption?: string;
|
|
19
|
+
get paddingClass(): string;
|
|
20
|
+
get spinnerSize(): number;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiLoadingStateComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiLoadingStateComponent, "ui-loading-state", never, { "size": { "alias": "size"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
export declare class UiEmptyStateComponent {
|
|
25
|
+
heading: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
icon: UiIconName;
|
|
28
|
+
tone: UiFeedbackTone;
|
|
29
|
+
get medallionClass(): string;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiEmptyStateComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiEmptyStateComponent, "ui-empty-state", never, { "heading": { "alias": "heading"; "required": true; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
32
|
+
}
|
|
33
|
+
export declare class UiStatusPanelComponent {
|
|
34
|
+
heading: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
icon: UiIconName;
|
|
37
|
+
tone: UiFeedbackTone;
|
|
38
|
+
get medallionClass(): string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStatusPanelComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStatusPanelComponent, "ui-status-panel", never, { "heading": { "alias": "heading"; "required": true; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=ui-feedback.components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-feedback.components.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/feedback/ui-feedback.components.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;;AAEnD,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAuBpD,qBAWa,mBAAmB;IACrB,KAAK,SAAU;IACf,MAAM,SAAU;yCAFd,mBAAmB;2CAAnB,mBAAmB;CAG/B;AAED,qBAWa,kBAAkB;IACpB,IAAI,SAAM;yCADR,kBAAkB;2CAAlB,kBAAkB;CAE9B;AAED,qBAiBa,uBAAuB;IACzB,IAAI,EAAE,kBAAkB,CAAQ;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,WAAW,IAAI,MAAM,CAExB;yCAVU,uBAAuB;2CAAvB,uBAAuB;CAWnC;AAED,qBAsBa,qBAAqB;IACL,OAAO,EAAG,MAAM,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,CAAe;IAC/B,IAAI,EAAE,cAAc,CAAa;IAE1C,IAAI,cAAc,IAAI,MAAM,CAE3B;yCARU,qBAAqB;2CAArB,qBAAqB;CASjC;AAED,qBAsBa,sBAAsB;IACN,OAAO,EAAG,MAAM,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,CAAoB;IACpC,IAAI,EAAE,cAAc,CAAY;IAEzC,IAAI,cAAc,IAAI,MAAM,CAE3B;yCARU,sBAAsB;2CAAtB,sBAAsB;CASlC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type UiFileDropReason = 'type' | 'size';
|
|
4
|
+
export interface UiFileDropRejection {
|
|
5
|
+
file: File;
|
|
6
|
+
reason: UiFileDropReason;
|
|
7
|
+
}
|
|
8
|
+
export declare class UiFileDropComponent {
|
|
9
|
+
heading: string;
|
|
10
|
+
hint: string;
|
|
11
|
+
accept: string;
|
|
12
|
+
multiple: boolean;
|
|
13
|
+
maxSizeBytes: number;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
dragActive: boolean;
|
|
16
|
+
files: File[];
|
|
17
|
+
removeLabel: string;
|
|
18
|
+
ariaLabel: string;
|
|
19
|
+
readonly accepted: EventEmitter<File[]>;
|
|
20
|
+
readonly rejected: EventEmitter<UiFileDropRejection[]>;
|
|
21
|
+
readonly removed: EventEmitter<File>;
|
|
22
|
+
readonly filesChange: EventEmitter<File[]>;
|
|
23
|
+
private readonly picker?;
|
|
24
|
+
get zoneClass(): string;
|
|
25
|
+
get iconClass(): string;
|
|
26
|
+
formatSize(bytes: number): string;
|
|
27
|
+
openPicker(): void;
|
|
28
|
+
onPicked(event: Event): void;
|
|
29
|
+
onDragOver(event: DragEvent): void;
|
|
30
|
+
onDragLeave(event: DragEvent): void;
|
|
31
|
+
onDrop(event: DragEvent): void;
|
|
32
|
+
remove(index: number): void;
|
|
33
|
+
private collect;
|
|
34
|
+
private matchesAccept;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFileDropComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFileDropComponent, "ui-file-drop", never, { "heading": { "alias": "heading"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxSizeBytes": { "alias": "maxSizeBytes"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dragActive": { "alias": "dragActive"; "required": false; }; "files": { "alias": "files"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; }, { "accepted": "accepted"; "rejected": "rejected"; "removed": "removed"; "filesChange": "filesChange"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=ui-file-drop.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-file-drop.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/file-drop/ui-file-drop.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,YAAY,EAIb,MAAM,eAAe,CAAC;;AAIvB,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAID,qBA4Da,mBAAmB;IACrB,OAAO,SAAM;IACb,IAAI,SAAM;IACV,MAAM,SAAM;IACZ,QAAQ,UAAS;IACjB,YAAY,SAAK;IACjB,QAAQ,UAAS;IACjB,UAAU,UAAS;IACnB,KAAK,EAAE,IAAI,EAAE,CAAM;IACnB,WAAW,SAAM;IACL,SAAS,SAAM;IAE1B,QAAQ,CAAC,QAAQ,uBAA8B;IAC/C,QAAQ,CAAC,QAAQ,sCAA6C;IAC9D,QAAQ,CAAC,OAAO,qBAA4B;IAC5C,QAAQ,CAAC,WAAW,uBAA8B;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAA+B;IAE5E,IAAI,SAAS,IAAI,MAAM,CAOtB;IAED,IAAI,SAAS,IAAI,MAAM,CAItB;IAED,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAgBjC,UAAU,IAAI,IAAI;IAOlB,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAM5B,UAAU,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAQlC,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAKnC,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAS9B,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAU3B,OAAO,CAAC,OAAO;IA6Bf,OAAO,CAAC,aAAa;yCA5HV,mBAAmB;2CAAnB,mBAAmB;CAgJ/B"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DoCheck, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface UiFieldArrayRowContext<T> {
|
|
4
|
+
$implicit: T;
|
|
5
|
+
row: T;
|
|
6
|
+
index: number;
|
|
7
|
+
first: boolean;
|
|
8
|
+
last: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class UiFieldArrayRowDirective<T = unknown> {
|
|
11
|
+
readonly template: TemplateRef<UiFieldArrayRowContext<T>>;
|
|
12
|
+
static ngTemplateContextGuard<T>(directive: UiFieldArrayRowDirective<T>, context: unknown): context is UiFieldArrayRowContext<T>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFieldArrayRowDirective<any>, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiFieldArrayRowDirective<any>, "ng-template[uiFieldArrayRow]", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class UiFieldArrayComponent<T = unknown> implements DoCheck {
|
|
17
|
+
rows: readonly T[];
|
|
18
|
+
label: string;
|
|
19
|
+
hint: string;
|
|
20
|
+
addLabel: string;
|
|
21
|
+
removeLabel: string;
|
|
22
|
+
emptyLabel: string;
|
|
23
|
+
maxLabel: string;
|
|
24
|
+
error: string;
|
|
25
|
+
min: number;
|
|
26
|
+
max: number;
|
|
27
|
+
removable: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
readonly add: EventEmitter<void>;
|
|
30
|
+
readonly remove: EventEmitter<number>;
|
|
31
|
+
protected readonly row?: UiFieldArrayRowDirective<T>;
|
|
32
|
+
private readonly cdr;
|
|
33
|
+
private readonly differs;
|
|
34
|
+
private differ;
|
|
35
|
+
ngDoCheck(): void;
|
|
36
|
+
protected get rowTemplate(): TemplateRef<UiFieldArrayRowContext<T>> | null;
|
|
37
|
+
get atMax(): boolean;
|
|
38
|
+
get canAdd(): boolean;
|
|
39
|
+
get canRemove(): boolean;
|
|
40
|
+
protected trackByIndex(index: number): number;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFieldArrayComponent<any>, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFieldArrayComponent<any>, "ui-field-array", never, { "rows": { "alias": "rows"; "required": true; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "addLabel": { "alias": "addLabel"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; }; "maxLabel": { "alias": "maxLabel"; "required": false; }; "error": { "alias": "error"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "add": "add"; "remove": "remove"; }, ["row"], never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
export declare const UI_FIELD_ARRAY: readonly [typeof UiFieldArrayComponent, typeof UiFieldArrayRowDirective];
|
|
45
|
+
//# sourceMappingURL=ui-field-array.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-array.component.d.ts","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/form/ui-field-array.component.ts"],"names":[],"mappings":"AACA,OAAO,EAML,OAAO,EACP,YAAY,EAKZ,WAAW,EAEZ,MAAM,eAAe,CAAC;;AAIvB,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC;IACb,GAAG,EAAE,CAAC,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACf;AAED,qBACa,wBAAwB,CAAC,CAAC,GAAG,OAAO;IAC/C,QAAQ,CAAC,QAAQ,yCAC6C;IAE9D,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAC7B,SAAS,EAAE,wBAAwB,CAAC,CAAC,CAAC,EACtC,OAAO,EAAE,OAAO,GACf,OAAO,IAAI,sBAAsB,CAAC,CAAC,CAAC;yCAP5B,wBAAwB;2CAAxB,wBAAwB;CAUpC;AAED,qBAqFa,qBAAqB,CAAC,CAAC,GAAG,OAAO,CAAE,YAAW,OAAO;IACrC,IAAI,EAAE,SAAS,CAAC,EAAE,CAAM;IAC1C,KAAK,SAAM;IACX,IAAI,SAAM;IACV,QAAQ,SAAM;IACd,WAAW,SAAM;IACjB,UAAU,SAAM;IAChB,QAAQ,SAAM;IACd,KAAK,SAAM;IACX,GAAG,SAAK;IACR,GAAG,SAAK;IACR,SAAS,UAAQ;IACjB,QAAQ,UAAS;IAEhB,QAAQ,CAAC,GAAG,qBAA4B;IACxC,QAAQ,CAAC,MAAM,uBAA8B;IAGvD,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;IAErD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IACjD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IACnD,OAAO,CAAC,MAAM,CAAkC;IAEhD,SAAS,IAAI,IAAI;IAQjB,SAAS,KAAK,WAAW,IAAI,WAAW,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAEzE;IAED,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCAhDlC,qBAAqB;2CAArB,qBAAqB;CAmDjC;AAED,eAAO,MAAM,cAAc,0EAGjB,CAAC"}
|