@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
package/angular.json
DELETED
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"cli": {
|
|
5
|
-
"packageManager": "npm",
|
|
6
|
-
"analytics": false
|
|
7
|
-
},
|
|
8
|
-
"newProjectRoot": "projects",
|
|
9
|
-
"projects": {
|
|
10
|
-
"shared-ui": {
|
|
11
|
-
"projectType": "library",
|
|
12
|
-
"root": ".",
|
|
13
|
-
"sourceRoot": "src",
|
|
14
|
-
"prefix": "shared",
|
|
15
|
-
"architect": {
|
|
16
|
-
"build": {
|
|
17
|
-
"builder": "@angular/build:ng-packagr",
|
|
18
|
-
"configurations": {
|
|
19
|
-
"production": {
|
|
20
|
-
"tsConfig": "tsconfig.lib.prod.json"
|
|
21
|
-
},
|
|
22
|
-
"development": {
|
|
23
|
-
"tsConfig": "tsconfig.lib.json"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"defaultConfiguration": "production"
|
|
27
|
-
},
|
|
28
|
-
"test": {
|
|
29
|
-
"builder": "@angular/build:unit-test",
|
|
30
|
-
"options": {
|
|
31
|
-
"tsConfig": "tsconfig.spec.json"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"demo": {
|
|
37
|
-
"projectType": "application",
|
|
38
|
-
"schematics": {},
|
|
39
|
-
"root": "projects/demo",
|
|
40
|
-
"sourceRoot": "projects/demo/src",
|
|
41
|
-
"prefix": "app",
|
|
42
|
-
"architect": {
|
|
43
|
-
"build": {
|
|
44
|
-
"builder": "@angular/build:application",
|
|
45
|
-
"options": {
|
|
46
|
-
"browser": "projects/demo/src/main.ts",
|
|
47
|
-
"tsConfig": "projects/demo/tsconfig.app.json",
|
|
48
|
-
"assets": [
|
|
49
|
-
{
|
|
50
|
-
"glob": "**/*",
|
|
51
|
-
"input": "projects/demo/public"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"styles": ["projects/demo/src/styles.css"]
|
|
55
|
-
},
|
|
56
|
-
"configurations": {
|
|
57
|
-
"production": {
|
|
58
|
-
"budgets": [
|
|
59
|
-
{
|
|
60
|
-
"type": "initial",
|
|
61
|
-
"maximumWarning": "500kB",
|
|
62
|
-
"maximumError": "1MB"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"type": "anyComponentStyle",
|
|
66
|
-
"maximumWarning": "4kB",
|
|
67
|
-
"maximumError": "8kB"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"outputHashing": "all"
|
|
71
|
-
},
|
|
72
|
-
"development": {
|
|
73
|
-
"optimization": false,
|
|
74
|
-
"extractLicenses": false,
|
|
75
|
-
"sourceMap": true
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"defaultConfiguration": "production"
|
|
79
|
-
},
|
|
80
|
-
"serve": {
|
|
81
|
-
"builder": "@angular/build:dev-server",
|
|
82
|
-
"configurations": {
|
|
83
|
-
"production": {
|
|
84
|
-
"buildTarget": "demo:build:production"
|
|
85
|
-
},
|
|
86
|
-
"development": {
|
|
87
|
-
"buildTarget": "demo:build:development"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"defaultConfiguration": "development"
|
|
91
|
-
},
|
|
92
|
-
"test": {
|
|
93
|
-
"builder": "@angular/build:unit-test"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"storybook-host": {
|
|
98
|
-
"projectType": "application",
|
|
99
|
-
"schematics": {
|
|
100
|
-
"@schematics/angular:class": {
|
|
101
|
-
"skipTests": true
|
|
102
|
-
},
|
|
103
|
-
"@schematics/angular:component": {
|
|
104
|
-
"skipTests": true
|
|
105
|
-
},
|
|
106
|
-
"@schematics/angular:directive": {
|
|
107
|
-
"skipTests": true
|
|
108
|
-
},
|
|
109
|
-
"@schematics/angular:guard": {
|
|
110
|
-
"skipTests": true
|
|
111
|
-
},
|
|
112
|
-
"@schematics/angular:interceptor": {
|
|
113
|
-
"skipTests": true
|
|
114
|
-
},
|
|
115
|
-
"@schematics/angular:pipe": {
|
|
116
|
-
"skipTests": true
|
|
117
|
-
},
|
|
118
|
-
"@schematics/angular:resolver": {
|
|
119
|
-
"skipTests": true
|
|
120
|
-
},
|
|
121
|
-
"@schematics/angular:service": {
|
|
122
|
-
"skipTests": true
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"root": "projects/storybook-host",
|
|
126
|
-
"sourceRoot": "projects/storybook-host/src",
|
|
127
|
-
"prefix": "app",
|
|
128
|
-
"architect": {
|
|
129
|
-
"build": {
|
|
130
|
-
"builder": "@angular/build:application",
|
|
131
|
-
"options": {
|
|
132
|
-
"browser": "projects/storybook-host/src/main.ts",
|
|
133
|
-
"tsConfig": "projects/storybook-host/tsconfig.app.json",
|
|
134
|
-
"assets": [
|
|
135
|
-
{
|
|
136
|
-
"glob": "**/*",
|
|
137
|
-
"input": "projects/storybook-host/public"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"styles": ["projects/storybook-host/src/styles.css"]
|
|
141
|
-
},
|
|
142
|
-
"configurations": {
|
|
143
|
-
"production": {
|
|
144
|
-
"budgets": [
|
|
145
|
-
{
|
|
146
|
-
"type": "initial",
|
|
147
|
-
"maximumWarning": "500kB",
|
|
148
|
-
"maximumError": "1MB"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"type": "anyComponentStyle",
|
|
152
|
-
"maximumWarning": "4kB",
|
|
153
|
-
"maximumError": "8kB"
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"outputHashing": "all"
|
|
157
|
-
},
|
|
158
|
-
"development": {
|
|
159
|
-
"optimization": false,
|
|
160
|
-
"extractLicenses": false,
|
|
161
|
-
"sourceMap": true
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"defaultConfiguration": "production"
|
|
165
|
-
},
|
|
166
|
-
"serve": {
|
|
167
|
-
"builder": "@angular/build:dev-server",
|
|
168
|
-
"configurations": {
|
|
169
|
-
"production": {
|
|
170
|
-
"buildTarget": "storybook-host:build:production"
|
|
171
|
-
},
|
|
172
|
-
"development": {
|
|
173
|
-
"buildTarget": "storybook-host:build:development"
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"defaultConfiguration": "development"
|
|
177
|
-
},
|
|
178
|
-
"storybook": {
|
|
179
|
-
"builder": "@storybook/angular:start-storybook",
|
|
180
|
-
"options": {
|
|
181
|
-
"configDir": "projects/storybook-host/.storybook",
|
|
182
|
-
"browserTarget": "storybook-host:build",
|
|
183
|
-
"compodoc": true,
|
|
184
|
-
"compodocArgs": [
|
|
185
|
-
"-e",
|
|
186
|
-
"json",
|
|
187
|
-
"-d",
|
|
188
|
-
"projects/storybook-host"
|
|
189
|
-
],
|
|
190
|
-
"port": 6006
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
"build-storybook": {
|
|
194
|
-
"builder": "@storybook/angular:build-storybook",
|
|
195
|
-
"options": {
|
|
196
|
-
"configDir": "projects/storybook-host/.storybook",
|
|
197
|
-
"browserTarget": "storybook-host:build",
|
|
198
|
-
"compodoc": true,
|
|
199
|
-
"compodocArgs": [
|
|
200
|
-
"-e",
|
|
201
|
-
"json",
|
|
202
|
-
"-d",
|
|
203
|
-
"projects/storybook-host"
|
|
204
|
-
],
|
|
205
|
-
"outputDir": "dist/storybook/storybook-host"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
package/ng-package.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from '@storybook/angular';
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: [
|
|
5
|
-
'../../../src/lib/**/*.stories.ts',
|
|
6
|
-
'../../../src/lib/**/*.stories.mdx',
|
|
7
|
-
'./tutorial/*.mdx'
|
|
8
|
-
],
|
|
9
|
-
|
|
10
|
-
addons: [
|
|
11
|
-
'@storybook/addon-docs',
|
|
12
|
-
],
|
|
13
|
-
|
|
14
|
-
framework: {
|
|
15
|
-
name: '@storybook/angular',
|
|
16
|
-
options: {},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default config;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { Preview } from '@storybook/angular';
|
|
2
|
-
|
|
3
|
-
import { setCompodocJson } from '@storybook/addon-docs/angular';
|
|
4
|
-
import docJson from '../documentation.json';
|
|
5
|
-
|
|
6
|
-
import { EMPRESA_THEMES } from '../../../src/lib/themes/registry';
|
|
7
|
-
import { addons } from 'storybook/internal/preview-api';
|
|
8
|
-
import { FORCE_RE_RENDER, FORCE_REMOUNT } from 'storybook/internal/core-events';
|
|
9
|
-
import { injectPrimeIconsStylesheet } from '../../../src/lib/utils/inject-prime-icons';
|
|
10
|
-
|
|
11
|
-
setCompodocJson(docJson);
|
|
12
|
-
|
|
13
|
-
let previousTheme: string | undefined;
|
|
14
|
-
|
|
15
|
-
injectPrimeIconsStylesheet(); // se ejecuta una sola vez al cargar Storybook
|
|
16
|
-
|
|
17
|
-
const preview: Preview = {
|
|
18
|
-
globalTypes: {
|
|
19
|
-
theme: {
|
|
20
|
-
name: 'Tema',
|
|
21
|
-
description: 'Tema de Empresa UI',
|
|
22
|
-
defaultValue: 'crm',
|
|
23
|
-
toolbar: {
|
|
24
|
-
icon: 'paintbrush',
|
|
25
|
-
items: Object.keys(EMPRESA_THEMES)
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
decorators: [
|
|
31
|
-
(story, context) => {
|
|
32
|
-
const theme = context.globals['theme'] as string;
|
|
33
|
-
|
|
34
|
-
if (previousTheme && previousTheme !== theme) {
|
|
35
|
-
|
|
36
|
-
//sessionStorage.setItem('__storybook_theme_reload__', '1');
|
|
37
|
-
|
|
38
|
-
requestAnimationFrame(() => {
|
|
39
|
-
addons.getChannel().emit(FORCE_REMOUNT, {
|
|
40
|
-
storyId: context.id
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
console.log(previousTheme)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
previousTheme = theme;
|
|
47
|
-
|
|
48
|
-
return story();
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
|
|
53
|
-
parameters: {
|
|
54
|
-
options: {
|
|
55
|
-
storySort: {
|
|
56
|
-
order: [
|
|
57
|
-
'Introduction',
|
|
58
|
-
'Installation',
|
|
59
|
-
'Theming',
|
|
60
|
-
'Components'
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
controls: {
|
|
65
|
-
disableSaveFromUI: true
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
if (sessionStorage.getItem('__storybook_theme_reload__')) {
|
|
71
|
-
sessionStorage.removeItem('__storybook_theme_reload__');
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export default preview;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// This tsconfig is used by Compodoc to generate the documentation for the project.
|
|
2
|
-
// If Compodoc is not used, this file can be deleted.
|
|
3
|
-
{
|
|
4
|
-
"extends": "./tsconfig.json",
|
|
5
|
-
// Exclude all files that are not needed for documentation generation.
|
|
6
|
-
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../src/**/*.stories.ts"],
|
|
7
|
-
// Please make sure to include all files from which Compodoc should generate documentation.
|
|
8
|
-
"include": ["../src/**/*"],
|
|
9
|
-
"files": ["./typings.d.ts"]
|
|
10
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig.app.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"types": ["node"],
|
|
5
|
-
"allowSyntheticDefaultImports": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleResolution": "bundler",
|
|
8
|
-
"rootDir": "../../.."
|
|
9
|
-
},
|
|
10
|
-
"exclude": [
|
|
11
|
-
"../src/test.ts",
|
|
12
|
-
"../src/**/*.spec.ts",
|
|
13
|
-
"../../../src/lib/**/*.spec.ts"
|
|
14
|
-
],
|
|
15
|
-
"include": [
|
|
16
|
-
"../src/**/*.ts",
|
|
17
|
-
"../src/**/*.stories.*",
|
|
18
|
-
"../../../src/lib/**/*.ts",
|
|
19
|
-
"./preview.ts"
|
|
20
|
-
],
|
|
21
|
-
"files": ["./typings.d.ts"]
|
|
22
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/addon-docs/blocks';
|
|
2
|
-
|
|
3
|
-
<Meta title="Introduction" />
|
|
4
|
-
|
|
5
|
-
# 4Byte Shared Lib
|
|
6
|
-
|
|
7
|
-
4Byte Shared Lib es una librería de componentes reutilizables desarrollada con Angular y PrimeNG.
|
|
8
|
-
|
|
9
|
-
## Tecnologías
|
|
10
|
-
|
|
11
|
-
- Angular 21
|
|
12
|
-
- PrimeNG 21
|
|
13
|
-
|
|
14
|
-
## Requisitos
|
|
15
|
-
|
|
16
|
-
- Node.js 22.12.0+
|
|
17
|
-
- Angular 21
|
|
18
|
-
- npm 10+
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Theming
|
|
2
|
-
|
|
3
|
-
Empresa UI permite configurar el tema global mediante `provideEmpresaUI()` en el archivo `app.config.ts`.
|
|
4
|
-
|
|
5
|
-
## Configuración
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
export const appConfig: ApplicationConfig = {
|
|
9
|
-
providers: [
|
|
10
|
-
provideEmpresaUI({
|
|
11
|
-
theme: 'crm'
|
|
12
|
-
})
|
|
13
|
-
]
|
|
14
|
-
};
|