@4byte/shared-lib 0.0.1 → 0.0.3
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/4byte-shared-lib.mjs +1315 -0
- package/fesm2022/4byte-shared-lib.mjs.map +1 -0
- package/package.json +15 -27
- package/types/4byte-shared-lib.d.ts +351 -0
- package/.editorconfig +0 -17
- package/.prettierrc +0 -12
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/mcp.json +0 -9
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -211
- package/ng-package.json +0 -11
- package/projects/storybook-host/.storybook/main.ts +0 -20
- package/projects/storybook-host/.storybook/preview.ts +0 -74
- package/projects/storybook-host/.storybook/tsconfig.doc.json +0 -10
- package/projects/storybook-host/.storybook/tsconfig.json +0 -22
- package/projects/storybook-host/.storybook/tutorial/Installation.mdx +0 -6
- package/projects/storybook-host/.storybook/tutorial/Introduction.mdx +0 -18
- package/projects/storybook-host/.storybook/tutorial/Theming.mdx +0 -14
- package/projects/storybook-host/.storybook/typings.d.ts +0 -4
- package/projects/storybook-host/documentation.json +0 -605
- package/projects/storybook-host/public/favicon.ico +0 -0
- package/projects/storybook-host/src/app/app.config.ts +0 -8
- package/projects/storybook-host/src/app/app.css +0 -0
- package/projects/storybook-host/src/app/app.html +0 -343
- package/projects/storybook-host/src/app/app.ts +0 -11
- package/projects/storybook-host/src/index.html +0 -13
- package/projects/storybook-host/src/main.ts +0 -6
- package/projects/storybook-host/src/stories/assets/accessibility.png +0 -0
- package/projects/storybook-host/src/stories/assets/accessibility.svg +0 -1
- package/projects/storybook-host/src/stories/assets/addon-library.png +0 -0
- package/projects/storybook-host/src/stories/assets/assets.png +0 -0
- package/projects/storybook-host/src/stories/assets/avif-test-image.avif +0 -0
- package/projects/storybook-host/src/stories/assets/context.png +0 -0
- package/projects/storybook-host/src/stories/assets/discord.svg +0 -1
- package/projects/storybook-host/src/stories/assets/docs.png +0 -0
- package/projects/storybook-host/src/stories/assets/figma-plugin.png +0 -0
- package/projects/storybook-host/src/stories/assets/github.svg +0 -1
- package/projects/storybook-host/src/stories/assets/share.png +0 -0
- package/projects/storybook-host/src/stories/assets/styling.png +0 -0
- package/projects/storybook-host/src/stories/assets/testing.png +0 -0
- package/projects/storybook-host/src/stories/assets/theming.png +0 -0
- package/projects/storybook-host/src/stories/assets/tutorials.svg +0 -1
- package/projects/storybook-host/src/stories/assets/youtube.svg +0 -1
- package/projects/storybook-host/src/stories/button.component.ts +0 -50
- package/projects/storybook-host/src/stories/button.css +0 -30
- package/projects/storybook-host/src/stories/button.stories.ts +0 -49
- package/projects/storybook-host/src/stories/header.component.ts +0 -78
- package/projects/storybook-host/src/stories/header.css +0 -32
- package/projects/storybook-host/src/stories/header.stories.ts +0 -33
- package/projects/storybook-host/src/stories/page.component.ts +0 -84
- package/projects/storybook-host/src/stories/page.css +0 -68
- package/projects/storybook-host/src/stories/page.stories.ts +0 -32
- package/projects/storybook-host/src/stories/user.ts +0 -3
- package/projects/storybook-host/src/styles.css +0 -1
- package/projects/storybook-host/tsconfig.app.json +0 -15
- package/projects/storybook-host/tsconfig.spec.json +0 -15
- package/src/lib/components/byte-button/byte-button-group/byte-button-group.css +0 -27
- package/src/lib/components/byte-button/byte-button-group/byte-button-group.html +0 -6
- package/src/lib/components/byte-button/byte-button-group/byte-button-group.spec.ts +0 -22
- package/src/lib/components/byte-button/byte-button-group/byte-button-group.ts +0 -35
- package/src/lib/components/byte-button/byte-button.css +0 -0
- package/src/lib/components/byte-button/byte-button.directive.ts +0 -17
- package/src/lib/components/byte-button/byte-button.html +0 -29
- package/src/lib/components/byte-button/byte-button.module.ts +0 -19
- package/src/lib/components/byte-button/byte-button.stories.ts +0 -449
- package/src/lib/components/byte-button/byte-button.ts +0 -129
- package/src/lib/components/byte-dialog/byte-dialog.css +0 -0
- package/src/lib/components/byte-dialog/byte-dialog.directive.ts +0 -21
- package/src/lib/components/byte-dialog/byte-dialog.html +0 -47
- package/src/lib/components/byte-dialog/byte-dialog.module.ts +0 -21
- package/src/lib/components/byte-dialog/byte-dialog.spec.ts +0 -22
- package/src/lib/components/byte-dialog/byte-dialog.ts +0 -121
- package/src/lib/components/byte-dialog/byte.dialog.stories.ts +0 -215
- package/src/lib/components/byte-input/byte-input.css +0 -29
- package/src/lib/components/byte-input/byte-input.html +0 -58
- package/src/lib/components/byte-input/byte-input.spec.ts +0 -22
- package/src/lib/components/byte-input/byte-input.stories.ts +0 -60
- package/src/lib/components/byte-input/byte-input.ts +0 -97
- package/src/lib/components/byte-select/byte-select.css +0 -16
- package/src/lib/components/byte-select/byte-select.directive.ts +0 -61
- package/src/lib/components/byte-select/byte-select.html +0 -101
- package/src/lib/components/byte-select/byte-select.module.ts +0 -26
- package/src/lib/components/byte-select/byte-select.spec.ts +0 -22
- package/src/lib/components/byte-select/byte-select.stories.ts +0 -194
- package/src/lib/components/byte-select/byte-select.ts +0 -168
- package/src/lib/components/byte-select/index.ts +0 -3
- package/src/lib/components/byte-sidebar/byte-sidebar.css +0 -0
- package/src/lib/components/byte-sidebar/byte-sidebar.directive.ts +0 -11
- package/src/lib/components/byte-sidebar/byte-sidebar.html +0 -31
- package/src/lib/components/byte-sidebar/byte-sidebar.module.ts +0 -16
- package/src/lib/components/byte-sidebar/byte-sidebar.spec.ts +0 -22
- package/src/lib/components/byte-sidebar/byte-sidebar.stories.ts +0 -190
- package/src/lib/components/byte-sidebar/byte-sidebar.ts +0 -108
- package/src/lib/components/byte-table/byte-table.css +0 -0
- package/src/lib/components/byte-table/byte-table.directive.ts +0 -49
- package/src/lib/components/byte-table/byte-table.html +0 -102
- package/src/lib/components/byte-table/byte-table.module.ts +0 -33
- package/src/lib/components/byte-table/byte-table.spec.ts +0 -22
- package/src/lib/components/byte-table/byte-table.stories.ts +0 -296
- package/src/lib/components/byte-table/byte-table.ts +0 -162
- package/src/lib/components/calendar/calendar.css +0 -16
- package/src/lib/components/calendar/calendar.html +0 -15
- package/src/lib/components/calendar/calendar.spec.ts +0 -22
- package/src/lib/components/calendar/calendar.stories.ts +0 -153
- package/src/lib/components/calendar/calendar.ts +0 -89
- package/src/lib/components/select/select.css +0 -16
- package/src/lib/components/select/select.html +0 -14
- package/src/lib/components/select/select.spec.ts +0 -22
- package/src/lib/components/select/select.ts +0 -73
- package/src/lib/config/empresa-ui.token.ts +0 -5
- package/src/lib/providers/empresa-ui-config.ts +0 -8
- package/src/lib/providers/provide-empresa-ui.ts +0 -42
- package/src/lib/themes/CRM-Theme.ts +0 -34
- package/src/lib/themes/aura.ts +0 -3
- package/src/lib/themes/index.ts +0 -2
- package/src/lib/themes/registry.ts +0 -9
- package/src/lib/utils/inject-prime-icons.ts +0 -12
- package/src/public-api.ts +0 -30
- package/tsconfig.json +0 -45
- package/tsconfig.lib.json +0 -11
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -8
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
|
|
5
|
+
type EmpresaUITheme = 'aura' | 'crm';
|
|
6
|
+
interface EmpresaUIConfig {
|
|
7
|
+
theme?: EmpresaUITheme;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare function provideEmpresaUI(config?: EmpresaUIConfig): i0.EnvironmentProviders;
|
|
11
|
+
|
|
12
|
+
declare class Calendar implements ControlValueAccessor {
|
|
13
|
+
dateFormat: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
showIcon: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
minDate?: Date;
|
|
18
|
+
maxDate?: Date;
|
|
19
|
+
readonlyInput: boolean;
|
|
20
|
+
showClear: boolean;
|
|
21
|
+
inputId: string;
|
|
22
|
+
name: string;
|
|
23
|
+
value: Date | null;
|
|
24
|
+
private onChange;
|
|
25
|
+
private onTouched;
|
|
26
|
+
writeValue(value: Date | null): void;
|
|
27
|
+
registerOnChange(fn: (value: Date | null) => void): void;
|
|
28
|
+
registerOnTouched(fn: () => void): void;
|
|
29
|
+
setDisabledState(isDisabled: boolean): void;
|
|
30
|
+
onValueChange(value: Date | null): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Calendar, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Calendar, "byte-calendar", never, { "dateFormat": { "alias": "dateFormat"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class ByteSelectSelectedItemDirective {
|
|
36
|
+
template: TemplateRef<any>;
|
|
37
|
+
constructor(template: TemplateRef<any>);
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectSelectedItemDirective, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSelectSelectedItemDirective, "ng-template[byteSelectSelectedItem]", never, {}, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
declare class ByteSelectItemDirective {
|
|
42
|
+
template: TemplateRef<any>;
|
|
43
|
+
constructor(template: TemplateRef<any>);
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectItemDirective, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSelectItemDirective, "ng-template[byteSelectItem]", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
declare class ByteSelectHeaderDirective {
|
|
48
|
+
template: TemplateRef<any>;
|
|
49
|
+
constructor(template: TemplateRef<any>);
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectHeaderDirective, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSelectHeaderDirective, "ng-template[byteSelectHeader]", never, {}, {}, never, never, true, never>;
|
|
52
|
+
}
|
|
53
|
+
declare class ByteSelectFooterDirective {
|
|
54
|
+
template: TemplateRef<any>;
|
|
55
|
+
constructor(template: TemplateRef<any>);
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectFooterDirective, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSelectFooterDirective, "ng-template[byteSelectFooter]", never, {}, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
declare class ByteSelectEmptyDirective {
|
|
60
|
+
template: TemplateRef<any>;
|
|
61
|
+
constructor(template: TemplateRef<any>);
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectEmptyDirective, never>;
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSelectEmptyDirective, "ng-template[byteSelectEmpty]", never, {}, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
65
|
+
declare class ByteSelectEmptyFilterDirective {
|
|
66
|
+
template: TemplateRef<any>;
|
|
67
|
+
constructor(template: TemplateRef<any>);
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectEmptyFilterDirective, never>;
|
|
69
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSelectEmptyFilterDirective, "ng-template[byteSelectEmptyFilter]", never, {}, {}, never, never, true, never>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class ByteSelect {
|
|
73
|
+
options: any[];
|
|
74
|
+
optionLabel: string;
|
|
75
|
+
optionValue: string;
|
|
76
|
+
placeholder: string;
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
inputId: string;
|
|
79
|
+
name: string;
|
|
80
|
+
filter: boolean;
|
|
81
|
+
filterBy: string;
|
|
82
|
+
showClear: boolean;
|
|
83
|
+
selectedItemTemplate?: ByteSelectSelectedItemDirective;
|
|
84
|
+
itemTemplate?: ByteSelectItemDirective;
|
|
85
|
+
headerTemplate?: ByteSelectHeaderDirective;
|
|
86
|
+
footerTemplate?: ByteSelectFooterDirective;
|
|
87
|
+
emptyTemplate?: ByteSelectEmptyDirective;
|
|
88
|
+
emptyFilterTemplate?: ByteSelectEmptyFilterDirective;
|
|
89
|
+
value: any;
|
|
90
|
+
private onChange;
|
|
91
|
+
private onTouched;
|
|
92
|
+
writeValue(value: any): void;
|
|
93
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
94
|
+
registerOnTouched(fn: () => void): void;
|
|
95
|
+
setDisabledState(isDisabled: boolean): void;
|
|
96
|
+
onValueChange(value: any): void;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelect, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteSelect, "byte-select", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; }, {}, ["selectedItemTemplate", "itemTemplate", "headerTemplate", "footerTemplate", "emptyTemplate", "emptyFilterTemplate"], never, true, never>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare class ByteSelectModule {
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSelectModule, never>;
|
|
103
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ByteSelectModule, never, [typeof ByteSelect, typeof ByteSelectEmptyDirective, typeof ByteSelectEmptyFilterDirective, typeof ByteSelectFooterDirective, typeof ByteSelectHeaderDirective, typeof ByteSelectItemDirective, typeof ByteSelectSelectedItemDirective], [typeof ByteSelect, typeof ByteSelectEmptyDirective, typeof ByteSelectEmptyFilterDirective, typeof ByteSelectFooterDirective, typeof ByteSelectHeaderDirective, typeof ByteSelectItemDirective, typeof ByteSelectSelectedItemDirective]>;
|
|
104
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ByteSelectModule>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
type InputType = 'text' | 'number' | 'area' | 'password' | 'otp';
|
|
108
|
+
declare class ByteInput implements ControlValueAccessor {
|
|
109
|
+
typeInput: InputType;
|
|
110
|
+
label: string;
|
|
111
|
+
error: string;
|
|
112
|
+
placeholder: string;
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
required: boolean;
|
|
115
|
+
inputId: string;
|
|
116
|
+
name: string;
|
|
117
|
+
rows: number;
|
|
118
|
+
min?: number;
|
|
119
|
+
max?: number;
|
|
120
|
+
step: number;
|
|
121
|
+
maxlength: number | null;
|
|
122
|
+
icon: string;
|
|
123
|
+
iconSize: number;
|
|
124
|
+
/** Marca el control como inválido (borde/color de error) */
|
|
125
|
+
invalid: boolean;
|
|
126
|
+
/** Cantidad de dígitos para el tipo "otp" */
|
|
127
|
+
otpLength: number;
|
|
128
|
+
value: string | number | null;
|
|
129
|
+
private onChange;
|
|
130
|
+
private onTouched;
|
|
131
|
+
get showIcon(): boolean;
|
|
132
|
+
writeValue(value: string | number | null): void;
|
|
133
|
+
registerOnChange(fn: (value: string | number | null) => void): void;
|
|
134
|
+
registerOnTouched(fn: () => void): void;
|
|
135
|
+
setDisabledState(isDisabled: boolean): void;
|
|
136
|
+
onValueChange(value: string | number | null): void;
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteInput, never>;
|
|
138
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteInput, "byte-input", never, { "typeInput": { "alias": "typeInput"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "otpLength": { "alias": "otpLength"; "required": false; }; }, {}, never, never, true, never>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare class ByteButtonContentDirective {
|
|
142
|
+
template: TemplateRef<any>;
|
|
143
|
+
constructor(template: TemplateRef<any>);
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteButtonContentDirective, never>;
|
|
145
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteButtonContentDirective, "ng-template[byteButtonContent]", never, {}, {}, never, never, true, never>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
declare class ByteButton {
|
|
149
|
+
label: string;
|
|
150
|
+
icon: string;
|
|
151
|
+
iconPos: 'left' | 'right' | 'top' | 'bottom';
|
|
152
|
+
severity: 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'contrast' | undefined;
|
|
153
|
+
variant: 'outlined' | 'text' | undefined;
|
|
154
|
+
size: 'small' | 'large' | undefined;
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
loading: boolean;
|
|
157
|
+
loadingIcon: string;
|
|
158
|
+
raised: boolean;
|
|
159
|
+
rounded: boolean;
|
|
160
|
+
text: boolean;
|
|
161
|
+
outlined: boolean;
|
|
162
|
+
link: boolean;
|
|
163
|
+
plain: boolean;
|
|
164
|
+
fluid: boolean;
|
|
165
|
+
type: 'button' | 'submit' | 'reset';
|
|
166
|
+
buttonProps: Record<string, any>;
|
|
167
|
+
contentTemplate?: ByteButtonContentDirective;
|
|
168
|
+
clicked: EventEmitter<MouseEvent>;
|
|
169
|
+
onButtonClick(event: MouseEvent): void;
|
|
170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteButton, never>;
|
|
171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteButton, "byte-button", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; }; "raised": { "alias": "raised"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "text": { "alias": "text"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "link": { "alias": "link"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonProps": { "alias": "buttonProps"; "required": false; }; }, { "clicked": "clicked"; }, ["contentTemplate"], never, true, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare class ByteButtonGroup {
|
|
175
|
+
style: {
|
|
176
|
+
[klass: string]: any;
|
|
177
|
+
} | null | undefined;
|
|
178
|
+
styleClass: string | undefined;
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteButtonGroup, never>;
|
|
180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteButtonGroup, "byte-button-group", never, { "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare class ByteButtonModule {
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteButtonModule, never>;
|
|
185
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ByteButtonModule, never, [typeof ByteButton, typeof ByteButtonContentDirective, typeof ByteButtonGroup], [typeof ByteButton, typeof ByteButtonContentDirective, typeof ByteButtonGroup]>;
|
|
186
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ByteButtonModule>;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare class ByteTableCaptionDirective {
|
|
190
|
+
template: TemplateRef<any>;
|
|
191
|
+
constructor(template: TemplateRef<any>);
|
|
192
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableCaptionDirective, never>;
|
|
193
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteTableCaptionDirective, "ng-template[byteTableCaption]", never, {}, {}, never, never, true, never>;
|
|
194
|
+
}
|
|
195
|
+
declare class ByteTableHeaderDirective {
|
|
196
|
+
template: TemplateRef<any>;
|
|
197
|
+
constructor(template: TemplateRef<any>);
|
|
198
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableHeaderDirective, never>;
|
|
199
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteTableHeaderDirective, "ng-template[byteTableHeader]", never, {}, {}, never, never, true, never>;
|
|
200
|
+
}
|
|
201
|
+
declare class ByteTableBodyDirective {
|
|
202
|
+
template: TemplateRef<any>;
|
|
203
|
+
constructor(template: TemplateRef<any>);
|
|
204
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableBodyDirective, never>;
|
|
205
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteTableBodyDirective, "ng-template[byteTableBody]", never, {}, {}, never, never, true, never>;
|
|
206
|
+
}
|
|
207
|
+
declare class ByteTableFooterDirective {
|
|
208
|
+
template: TemplateRef<any>;
|
|
209
|
+
constructor(template: TemplateRef<any>);
|
|
210
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableFooterDirective, never>;
|
|
211
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteTableFooterDirective, "ng-template[byteTableFooter]", never, {}, {}, never, never, true, never>;
|
|
212
|
+
}
|
|
213
|
+
declare class ByteTableEmptyMessageDirective {
|
|
214
|
+
template: TemplateRef<any>;
|
|
215
|
+
constructor(template: TemplateRef<any>);
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableEmptyMessageDirective, never>;
|
|
217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteTableEmptyMessageDirective, "ng-template[byteTableEmptyMessage]", never, {}, {}, never, never, true, never>;
|
|
218
|
+
}
|
|
219
|
+
declare class ByteTableSummaryDirective {
|
|
220
|
+
template: TemplateRef<any>;
|
|
221
|
+
constructor(template: TemplateRef<any>);
|
|
222
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableSummaryDirective, never>;
|
|
223
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteTableSummaryDirective, "ng-template[byteTableSummary]", never, {}, {}, never, never, true, never>;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare class ByteTable {
|
|
227
|
+
value: any[];
|
|
228
|
+
columns: any[];
|
|
229
|
+
paginator: boolean;
|
|
230
|
+
rows: number;
|
|
231
|
+
rowsPerPageOptions: number[];
|
|
232
|
+
loading: boolean;
|
|
233
|
+
sortField: string;
|
|
234
|
+
sortOrder: number;
|
|
235
|
+
selectionMode: 'single' | 'multiple' | null;
|
|
236
|
+
dataKey: string;
|
|
237
|
+
scrollable: boolean;
|
|
238
|
+
tableStyle: {
|
|
239
|
+
[klass: string]: any;
|
|
240
|
+
} | null;
|
|
241
|
+
captionTemplate?: ByteTableCaptionDirective;
|
|
242
|
+
headerTemplate?: ByteTableHeaderDirective;
|
|
243
|
+
bodyTemplate?: ByteTableBodyDirective;
|
|
244
|
+
footerTemplate?: ByteTableFooterDirective;
|
|
245
|
+
emptyMessageTemplate?: ByteTableEmptyMessageDirective;
|
|
246
|
+
summaryTemplate?: ByteTableSummaryDirective;
|
|
247
|
+
selection: any;
|
|
248
|
+
private onChange;
|
|
249
|
+
private onTouched;
|
|
250
|
+
writeValue(value: any): void;
|
|
251
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
252
|
+
registerOnTouched(fn: () => void): void;
|
|
253
|
+
setDisabledState(isDisabled: boolean): void;
|
|
254
|
+
onSelectionChange(value: any): void;
|
|
255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTable, never>;
|
|
256
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteTable, "byte-table", never, { "value": { "alias": "value"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; }, {}, ["captionTemplate", "headerTemplate", "bodyTemplate", "footerTemplate", "emptyMessageTemplate", "summaryTemplate"], never, true, never>;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
declare class ByteTableModule {
|
|
260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteTableModule, never>;
|
|
261
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ByteTableModule, never, [typeof ByteTable, typeof ByteTableCaptionDirective, typeof ByteTableHeaderDirective, typeof ByteTableBodyDirective, typeof ByteTableFooterDirective, typeof ByteTableEmptyMessageDirective, typeof ByteTableSummaryDirective], [typeof ByteTable, typeof ByteTableCaptionDirective, typeof ByteTableHeaderDirective, typeof ByteTableBodyDirective, typeof ByteTableFooterDirective, typeof ByteTableEmptyMessageDirective, typeof ByteTableSummaryDirective]>;
|
|
262
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ByteTableModule>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
declare class ByteSidebarHeaderDirective {
|
|
266
|
+
template: TemplateRef<any>;
|
|
267
|
+
constructor(template: TemplateRef<any>);
|
|
268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSidebarHeaderDirective, never>;
|
|
269
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteSidebarHeaderDirective, "ng-template[byteSidebarHeader]", never, {}, {}, never, never, true, never>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
declare class ByteSidebar {
|
|
273
|
+
private cdRef;
|
|
274
|
+
constructor(cdRef: ChangeDetectorRef);
|
|
275
|
+
visible: boolean;
|
|
276
|
+
position: 'left' | 'right' | 'top' | 'bottom' | 'full';
|
|
277
|
+
modal: boolean;
|
|
278
|
+
dismissible: boolean;
|
|
279
|
+
closeOnEscape: boolean;
|
|
280
|
+
showCloseIcon: boolean;
|
|
281
|
+
blockScroll: boolean;
|
|
282
|
+
style: {
|
|
283
|
+
[klass: string]: any;
|
|
284
|
+
} | null;
|
|
285
|
+
styleClass: string;
|
|
286
|
+
autoZIndex: boolean;
|
|
287
|
+
baseZIndex: number;
|
|
288
|
+
visibleChange: EventEmitter<boolean>;
|
|
289
|
+
headerTemplate?: ByteSidebarHeaderDirective;
|
|
290
|
+
onVisibleChange(value: boolean): void;
|
|
291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSidebar, never>;
|
|
292
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteSidebar, "byte-sidebar", never, { "visible": { "alias": "visible"; "required": false; }; "position": { "alias": "position"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "showCloseIcon": { "alias": "showCloseIcon"; "required": false; }; "blockScroll": { "alias": "blockScroll"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; }; }, { "visibleChange": "visibleChange"; }, ["headerTemplate"], ["*"], true, never>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare class ByteSidebarModule {
|
|
296
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteSidebarModule, never>;
|
|
297
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ByteSidebarModule, never, [typeof ByteSidebar, typeof ByteSidebarHeaderDirective], [typeof ByteSidebar, typeof ByteSidebarHeaderDirective]>;
|
|
298
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ByteSidebarModule>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
declare class ByteDialogHeaderDirective {
|
|
302
|
+
template: TemplateRef<any>;
|
|
303
|
+
constructor(template: TemplateRef<any>);
|
|
304
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteDialogHeaderDirective, never>;
|
|
305
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteDialogHeaderDirective, "ng-template[byteDialogHeader]", never, {}, {}, never, never, true, never>;
|
|
306
|
+
}
|
|
307
|
+
declare class ByteDialogFooterDirective {
|
|
308
|
+
template: TemplateRef<any>;
|
|
309
|
+
constructor(template: TemplateRef<any>);
|
|
310
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteDialogFooterDirective, never>;
|
|
311
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ByteDialogFooterDirective, "ng-template[byteDialogFooter]", never, {}, {}, never, never, true, never>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare class ByteDialog {
|
|
315
|
+
visible: boolean;
|
|
316
|
+
header: string;
|
|
317
|
+
modal: boolean;
|
|
318
|
+
closable: boolean;
|
|
319
|
+
draggable: boolean;
|
|
320
|
+
resizable: boolean;
|
|
321
|
+
dismissableMask: boolean;
|
|
322
|
+
closeOnEscape: boolean;
|
|
323
|
+
maximizable: boolean;
|
|
324
|
+
blockScroll: boolean;
|
|
325
|
+
position: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
|
|
326
|
+
style: {
|
|
327
|
+
[klass: string]: any;
|
|
328
|
+
} | null;
|
|
329
|
+
styleClass: string;
|
|
330
|
+
contentStyle: {
|
|
331
|
+
[klass: string]: any;
|
|
332
|
+
} | null;
|
|
333
|
+
breakpoints: {
|
|
334
|
+
[key: string]: string;
|
|
335
|
+
} | null;
|
|
336
|
+
visibleChange: EventEmitter<boolean>;
|
|
337
|
+
headerTemplate?: ByteDialogHeaderDirective;
|
|
338
|
+
footerTemplate?: ByteDialogFooterDirective;
|
|
339
|
+
onVisibleChange(value: boolean): void;
|
|
340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteDialog, never>;
|
|
341
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ByteDialog, "byte-dialog", never, { "visible": { "alias": "visible"; "required": false; }; "header": { "alias": "header"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "maximizable": { "alias": "maximizable"; "required": false; }; "blockScroll": { "alias": "blockScroll"; "required": false; }; "position": { "alias": "position"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "breakpoints": { "alias": "breakpoints"; "required": false; }; }, { "visibleChange": "visibleChange"; }, ["headerTemplate", "footerTemplate"], ["*"], true, never>;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
declare class ByteDialogModule {
|
|
345
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ByteDialogModule, never>;
|
|
346
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ByteDialogModule, never, [typeof ByteDialog, typeof ByteDialogHeaderDirective, typeof ByteDialogFooterDirective], [typeof ByteDialog, typeof ByteDialogHeaderDirective, typeof ByteDialogFooterDirective]>;
|
|
347
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ByteDialogModule>;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export { ByteButton, ByteButtonContentDirective, ByteButtonGroup, ByteButtonModule, ByteDialog, ByteDialogFooterDirective, ByteDialogHeaderDirective, ByteDialogModule, ByteInput, ByteSelect, ByteSelectEmptyDirective, ByteSelectEmptyFilterDirective, ByteSelectFooterDirective, ByteSelectHeaderDirective, ByteSelectItemDirective, ByteSelectModule, ByteSelectSelectedItemDirective, ByteSidebar, ByteSidebarHeaderDirective, ByteSidebarModule, ByteTable, ByteTableBodyDirective, ByteTableCaptionDirective, ByteTableEmptyMessageDirective, ByteTableFooterDirective, ByteTableHeaderDirective, ByteTableModule, ByteTableSummaryDirective, Calendar, provideEmpresaUI };
|
|
351
|
+
export type { EmpresaUIConfig, EmpresaUITheme, InputType };
|
package/.editorconfig
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Editor configuration, see https://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
insert_final_newline = true
|
|
9
|
-
trim_trailing_whitespace = true
|
|
10
|
-
|
|
11
|
-
[*.ts]
|
|
12
|
-
quote_type = single
|
|
13
|
-
ij_typescript_use_double_quotes = false
|
|
14
|
-
|
|
15
|
-
[*.md]
|
|
16
|
-
max_line_length = off
|
|
17
|
-
trim_trailing_whitespace = false
|
package/.prettierrc
DELETED
package/.vscode/extensions.json
DELETED
package/.vscode/launch.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
3
|
-
"version": "0.2.0",
|
|
4
|
-
"configurations": [
|
|
5
|
-
{
|
|
6
|
-
"name": "ng serve",
|
|
7
|
-
"type": "chrome",
|
|
8
|
-
"request": "launch",
|
|
9
|
-
"preLaunchTask": "npm: start",
|
|
10
|
-
"url": "http://localhost:4200/"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "ng test",
|
|
14
|
-
"type": "chrome",
|
|
15
|
-
"request": "launch",
|
|
16
|
-
"preLaunchTask": "npm: test",
|
|
17
|
-
"url": "http://localhost:9876/debug.html"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
package/.vscode/mcp.json
DELETED
package/.vscode/tasks.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"tasks": [
|
|
5
|
-
{
|
|
6
|
-
"type": "npm",
|
|
7
|
-
"script": "start",
|
|
8
|
-
"isBackground": true,
|
|
9
|
-
"problemMatcher": {
|
|
10
|
-
"owner": "typescript",
|
|
11
|
-
"pattern": "$tsc",
|
|
12
|
-
"background": {
|
|
13
|
-
"activeOnStart": true,
|
|
14
|
-
"beginsPattern": {
|
|
15
|
-
"regexp": "Changes detected"
|
|
16
|
-
},
|
|
17
|
-
"endsPattern": {
|
|
18
|
-
"regexp": "bundle generation (complete|failed)"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "npm",
|
|
25
|
-
"script": "test",
|
|
26
|
-
"isBackground": true,
|
|
27
|
-
"problemMatcher": {
|
|
28
|
-
"owner": "typescript",
|
|
29
|
-
"pattern": "$tsc",
|
|
30
|
-
"background": {
|
|
31
|
-
"activeOnStart": true,
|
|
32
|
-
"beginsPattern": {
|
|
33
|
-
"regexp": "Changes detected"
|
|
34
|
-
},
|
|
35
|
-
"endsPattern": {
|
|
36
|
-
"regexp": "bundle generation (complete|failed)"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|