@softdin/portal-admin 0.0.0-stage → 0.2.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.
Files changed (96) hide show
  1. package/README.md +95 -2
  2. package/dist-lib/chunks/AppLayout-COCPfLWo.js +303 -0
  3. package/dist-lib/chunks/AuditoriaView-Bcf_kOqI.js +643 -0
  4. package/dist-lib/chunks/CarnetView-BsdUtYeu.js +450 -0
  5. package/dist-lib/chunks/CarteleraView-CRnVjt-S.js +996 -0
  6. package/dist-lib/chunks/CertificadosView-DvHDflcN.js +549 -0
  7. package/dist-lib/chunks/ChatBandejaView-HqhdSw7G.js +274 -0
  8. package/dist-lib/chunks/ChatConfiguracionView-BdH5gDdR.js +716 -0
  9. package/dist-lib/chunks/ChatConocimientoView-nKTAKxFa.js +263 -0
  10. package/dist-lib/chunks/ChatConversacionView-Do74V09l.js +477 -0
  11. package/dist-lib/chunks/ChatInformeView-BIiAH9L_.js +280 -0
  12. package/dist-lib/chunks/ChatRespuestasView-QFXbyg8U.js +183 -0
  13. package/dist-lib/chunks/EmpleadosView-BtqrO5-8.js +311 -0
  14. package/dist-lib/chunks/HomologacionView-UCZk4u6R.js +949 -0
  15. package/dist-lib/chunks/IngresoSsoView-BKkcnrYO.js +98 -0
  16. package/dist-lib/chunks/SolicitudesView-CYPD2A1s.js +900 -0
  17. package/dist-lib/chunks/TiposSolicitudView-CrWTVizl.js +168 -0
  18. package/dist-lib/chunks/ToggleSwitch-BYrIyheq.js +55 -0
  19. package/dist-lib/chunks/_plugin-vue_export-helper-BOaGB7Aw.js +8 -0
  20. package/dist-lib/chunks/api-M7D1c3IT.js +97 -0
  21. package/dist-lib/chunks/apiError-BHGbwz97.js +15 -0
  22. package/dist-lib/chunks/auth.store-BrGKZg-7.js +220 -0
  23. package/dist-lib/chunks/chat.service-C7ZQf4w3.js +241 -0
  24. package/dist-lib/chunks/cliente-interno.store-De39VsEE.js +203 -0
  25. package/dist-lib/chunks/homologacion-CoeHD7cB.js +131 -0
  26. package/dist-lib/chunks/portal-empleado-6KQrnsQJ.js +120 -0
  27. package/dist-lib/chunks/tipos-D93bLfFC.js +22 -0
  28. package/dist-lib/portal-admin.js +196 -0
  29. package/dist-lib/style.css +4813 -0
  30. package/dist-lib/types/App.vue.d.ts +3 -0
  31. package/dist-lib/types/components/AppLayout.vue.d.ts +3 -0
  32. package/dist-lib/types/components/CarnetClientesInternos.vue.d.ts +11 -0
  33. package/dist-lib/types/components/InvitacionPortalModal.vue.d.ts +20 -0
  34. package/dist-lib/types/components/MenuUsuario.vue.d.ts +3 -0
  35. package/dist-lib/types/components/VistoBuenoPortalModal.vue.d.ts +23 -0
  36. package/dist-lib/types/components/auditoria/AuditoriaFila.vue.d.ts +16 -0
  37. package/dist-lib/types/components/auditoria/AuditoriaFiltros.vue.d.ts +30 -0
  38. package/dist-lib/types/components/auditoria/AuditoriaPaginador.vue.d.ts +14 -0
  39. package/dist-lib/types/components/cartelera/PaginaCarteleraImagen.vue.d.ts +14 -0
  40. package/dist-lib/types/components/cartelera/PublicacionFormModal.vue.d.ts +27 -0
  41. package/dist-lib/types/components/cartelera/VistaCelularCartelera.vue.d.ts +34 -0
  42. package/dist-lib/types/components/certificados/AtenderCertificadoModal.vue.d.ts +22 -0
  43. package/dist-lib/types/components/certificados/RechazarCertificadoModal.vue.d.ts +18 -0
  44. package/dist-lib/types/components/certificados/ResumenSolicitudCertificado.vue.d.ts +8 -0
  45. package/dist-lib/types/components/chat/ChatClientesInternos.vue.d.ts +21 -0
  46. package/dist-lib/types/components/chat/ChatHorarioCampos.vue.d.ts +21 -0
  47. package/dist-lib/types/components/forms/ExportExcelButton.vue.d.ts +30 -0
  48. package/dist-lib/types/components/forms/ToggleSwitch.vue.d.ts +17 -0
  49. package/dist-lib/types/components/homologacion/HomologacionFila.vue.d.ts +30 -0
  50. package/dist-lib/types/components/homologacion/TipoPermisoFormModal.vue.d.ts +26 -0
  51. package/dist-lib/types/components/homologacion/TipoSolicitudFormModal.vue.d.ts +27 -0
  52. package/dist-lib/types/lib/auditoria.d.ts +25 -0
  53. package/dist-lib/types/lib/cartelera-paginas.d.ts +26 -0
  54. package/dist-lib/types/lib/cartelera-vigencia.d.ts +3 -0
  55. package/dist-lib/types/lib/export-excel-csv.d.ts +4 -0
  56. package/dist-lib/types/lib/export-excel.d.ts +9 -0
  57. package/dist-lib/types/lib/exportar-listado.d.ts +68 -0
  58. package/dist-lib/types/lib/homologacion.d.ts +41 -0
  59. package/dist-lib/types/lib/portal-empleado.d.ts +32 -0
  60. package/dist-lib/types/modulo.d.ts +31 -0
  61. package/dist-lib/types/portal-admin/config.d.ts +17 -0
  62. package/dist-lib/types/portal-admin/rutas.d.ts +17 -0
  63. package/dist-lib/types/portal-admin/tipos.d.ts +68 -0
  64. package/dist-lib/types/router/index.d.ts +7 -0
  65. package/dist-lib/types/services/api.d.ts +29 -0
  66. package/dist-lib/types/services/auditoria.service.d.ts +63 -0
  67. package/dist-lib/types/services/auth.service.d.ts +61 -0
  68. package/dist-lib/types/services/carnet.service.d.ts +56 -0
  69. package/dist-lib/types/services/cartelera.service.d.ts +69 -0
  70. package/dist-lib/types/services/chat.service.d.ts +279 -0
  71. package/dist-lib/types/services/configuracion-cliente-interno.service.d.ts +23 -0
  72. package/dist-lib/types/services/homologacion.service.d.ts +105 -0
  73. package/dist-lib/types/services/portal-empleado.service.d.ts +112 -0
  74. package/dist-lib/types/services/solicitudes-certificado.service.d.ts +59 -0
  75. package/dist-lib/types/stores/auth.store.d.ts +125 -0
  76. package/dist-lib/types/stores/cliente-interno.store.d.ts +65 -0
  77. package/dist-lib/types/utils/apiError.d.ts +4 -0
  78. package/dist-lib/types/views/AuditoriaView.vue.d.ts +3 -0
  79. package/dist-lib/types/views/CarnetView.vue.d.ts +3 -0
  80. package/dist-lib/types/views/CarteleraView.vue.d.ts +3 -0
  81. package/dist-lib/types/views/CertificadosView.vue.d.ts +3 -0
  82. package/dist-lib/types/views/EmpleadosView.vue.d.ts +3 -0
  83. package/dist-lib/types/views/HomologacionView.vue.d.ts +4 -0
  84. package/dist-lib/types/views/IngresoSsoView.vue.d.ts +3 -0
  85. package/dist-lib/types/views/LoginView.vue.d.ts +3 -0
  86. package/dist-lib/types/views/OlvideView.vue.d.ts +3 -0
  87. package/dist-lib/types/views/RestablecerView.vue.d.ts +3 -0
  88. package/dist-lib/types/views/SolicitudesView.vue.d.ts +3 -0
  89. package/dist-lib/types/views/TiposSolicitudView.vue.d.ts +3 -0
  90. package/dist-lib/types/views/chat/ChatBandejaView.vue.d.ts +3 -0
  91. package/dist-lib/types/views/chat/ChatConfiguracionView.vue.d.ts +3 -0
  92. package/dist-lib/types/views/chat/ChatConocimientoView.vue.d.ts +3 -0
  93. package/dist-lib/types/views/chat/ChatConversacionView.vue.d.ts +11 -0
  94. package/dist-lib/types/views/chat/ChatInformeView.vue.d.ts +3 -0
  95. package/dist-lib/types/views/chat/ChatRespuestasView.vue.d.ts +3 -0
  96. package/package.json +66 -4
@@ -0,0 +1,125 @@
1
+ import { type ClienteRrhh, type RespuestaLogin, type UsuarioRrhh } from '../services/auth.service';
2
+ export declare const useAuthStore: import("pinia").StoreDefinition<"portal-auth", Pick<{
3
+ token: import("vue").Ref<string | null, string | null>;
4
+ usuario: import("vue").Ref<{
5
+ id: number;
6
+ nombre: string;
7
+ email: string;
8
+ } | null, UsuarioRrhh | {
9
+ id: number;
10
+ nombre: string;
11
+ email: string;
12
+ } | null>;
13
+ cliente: import("vue").Ref<{
14
+ id: number;
15
+ nombre: string;
16
+ logo_url: string | null;
17
+ } | null, ClienteRrhh | {
18
+ id: number;
19
+ nombre: string;
20
+ logo_url: string | null;
21
+ } | null>;
22
+ clientes: import("vue").Ref<{
23
+ id: number;
24
+ nombre: string;
25
+ logo_url: string | null;
26
+ }[], ClienteRrhh[] | {
27
+ id: number;
28
+ nombre: string;
29
+ logo_url: string | null;
30
+ }[]>;
31
+ rol: import("vue").Ref<string | null | undefined, string | null | undefined>;
32
+ esAdmin: import("vue").ComputedRef<boolean>;
33
+ clientesInternos: import("vue").ComputedRef<number[] | null>;
34
+ ambito: import("vue").Ref<"tenant" | "central" | null | undefined, "tenant" | "central" | null | undefined>;
35
+ isAuthenticated: import("vue").ComputedRef<boolean>;
36
+ login: (email: string, password: string, clienteId?: number) => Promise<RespuestaLogin>;
37
+ ingresarSso: (clienteId?: number) => Promise<RespuestaLogin>;
38
+ renovarSso: () => Promise<boolean>;
39
+ verificar: () => Promise<void>;
40
+ cambiarCliente: (id: number) => Promise<void>;
41
+ logout: () => Promise<void>;
42
+ clearSession: () => void;
43
+ }, "rol" | "token" | "usuario" | "cliente" | "clientes" | "ambito">, Pick<{
44
+ token: import("vue").Ref<string | null, string | null>;
45
+ usuario: import("vue").Ref<{
46
+ id: number;
47
+ nombre: string;
48
+ email: string;
49
+ } | null, UsuarioRrhh | {
50
+ id: number;
51
+ nombre: string;
52
+ email: string;
53
+ } | null>;
54
+ cliente: import("vue").Ref<{
55
+ id: number;
56
+ nombre: string;
57
+ logo_url: string | null;
58
+ } | null, ClienteRrhh | {
59
+ id: number;
60
+ nombre: string;
61
+ logo_url: string | null;
62
+ } | null>;
63
+ clientes: import("vue").Ref<{
64
+ id: number;
65
+ nombre: string;
66
+ logo_url: string | null;
67
+ }[], ClienteRrhh[] | {
68
+ id: number;
69
+ nombre: string;
70
+ logo_url: string | null;
71
+ }[]>;
72
+ rol: import("vue").Ref<string | null | undefined, string | null | undefined>;
73
+ esAdmin: import("vue").ComputedRef<boolean>;
74
+ clientesInternos: import("vue").ComputedRef<number[] | null>;
75
+ ambito: import("vue").Ref<"tenant" | "central" | null | undefined, "tenant" | "central" | null | undefined>;
76
+ isAuthenticated: import("vue").ComputedRef<boolean>;
77
+ login: (email: string, password: string, clienteId?: number) => Promise<RespuestaLogin>;
78
+ ingresarSso: (clienteId?: number) => Promise<RespuestaLogin>;
79
+ renovarSso: () => Promise<boolean>;
80
+ verificar: () => Promise<void>;
81
+ cambiarCliente: (id: number) => Promise<void>;
82
+ logout: () => Promise<void>;
83
+ clearSession: () => void;
84
+ }, "esAdmin" | "clientesInternos" | "isAuthenticated">, Pick<{
85
+ token: import("vue").Ref<string | null, string | null>;
86
+ usuario: import("vue").Ref<{
87
+ id: number;
88
+ nombre: string;
89
+ email: string;
90
+ } | null, UsuarioRrhh | {
91
+ id: number;
92
+ nombre: string;
93
+ email: string;
94
+ } | null>;
95
+ cliente: import("vue").Ref<{
96
+ id: number;
97
+ nombre: string;
98
+ logo_url: string | null;
99
+ } | null, ClienteRrhh | {
100
+ id: number;
101
+ nombre: string;
102
+ logo_url: string | null;
103
+ } | null>;
104
+ clientes: import("vue").Ref<{
105
+ id: number;
106
+ nombre: string;
107
+ logo_url: string | null;
108
+ }[], ClienteRrhh[] | {
109
+ id: number;
110
+ nombre: string;
111
+ logo_url: string | null;
112
+ }[]>;
113
+ rol: import("vue").Ref<string | null | undefined, string | null | undefined>;
114
+ esAdmin: import("vue").ComputedRef<boolean>;
115
+ clientesInternos: import("vue").ComputedRef<number[] | null>;
116
+ ambito: import("vue").Ref<"tenant" | "central" | null | undefined, "tenant" | "central" | null | undefined>;
117
+ isAuthenticated: import("vue").ComputedRef<boolean>;
118
+ login: (email: string, password: string, clienteId?: number) => Promise<RespuestaLogin>;
119
+ ingresarSso: (clienteId?: number) => Promise<RespuestaLogin>;
120
+ renovarSso: () => Promise<boolean>;
121
+ verificar: () => Promise<void>;
122
+ cambiarCliente: (id: number) => Promise<void>;
123
+ logout: () => Promise<void>;
124
+ clearSession: () => void;
125
+ }, "login" | "ingresarSso" | "renovarSso" | "verificar" | "cambiarCliente" | "logout" | "clearSession">>;
@@ -0,0 +1,65 @@
1
+ import { type ClienteInterno } from '../services/portal-empleado.service';
2
+ export declare const useClienteInternoStore: import("pinia").StoreDefinition<"portal-cliente-interno", Pick<{
3
+ lista: import("vue").Ref<{
4
+ id: number;
5
+ nit: string | null;
6
+ nombre: string;
7
+ permitido?: boolean | undefined;
8
+ }[], ClienteInterno[] | {
9
+ id: number;
10
+ nit: string | null;
11
+ nombre: string;
12
+ permitido?: boolean | undefined;
13
+ }[]>;
14
+ opciones: import("vue").ComputedRef<ClienteInterno[]>;
15
+ restringido: import("vue").ComputedRef<boolean>;
16
+ ninguno: import("vue").ComputedRef<boolean>;
17
+ seleccionado: import("vue").Ref<number | null, number | null>;
18
+ cargada: import("vue").Ref<boolean, boolean>;
19
+ cargar: (forzar?: boolean) => Promise<void>;
20
+ elegir: (id: number | null) => void;
21
+ nombre: (id: number | null | undefined) => string;
22
+ reiniciar: () => void;
23
+ }, "lista" | "seleccionado" | "cargada">, Pick<{
24
+ lista: import("vue").Ref<{
25
+ id: number;
26
+ nit: string | null;
27
+ nombre: string;
28
+ permitido?: boolean | undefined;
29
+ }[], ClienteInterno[] | {
30
+ id: number;
31
+ nit: string | null;
32
+ nombre: string;
33
+ permitido?: boolean | undefined;
34
+ }[]>;
35
+ opciones: import("vue").ComputedRef<ClienteInterno[]>;
36
+ restringido: import("vue").ComputedRef<boolean>;
37
+ ninguno: import("vue").ComputedRef<boolean>;
38
+ seleccionado: import("vue").Ref<number | null, number | null>;
39
+ cargada: import("vue").Ref<boolean, boolean>;
40
+ cargar: (forzar?: boolean) => Promise<void>;
41
+ elegir: (id: number | null) => void;
42
+ nombre: (id: number | null | undefined) => string;
43
+ reiniciar: () => void;
44
+ }, "opciones" | "restringido" | "ninguno">, Pick<{
45
+ lista: import("vue").Ref<{
46
+ id: number;
47
+ nit: string | null;
48
+ nombre: string;
49
+ permitido?: boolean | undefined;
50
+ }[], ClienteInterno[] | {
51
+ id: number;
52
+ nit: string | null;
53
+ nombre: string;
54
+ permitido?: boolean | undefined;
55
+ }[]>;
56
+ opciones: import("vue").ComputedRef<ClienteInterno[]>;
57
+ restringido: import("vue").ComputedRef<boolean>;
58
+ ninguno: import("vue").ComputedRef<boolean>;
59
+ seleccionado: import("vue").Ref<number | null, number | null>;
60
+ cargada: import("vue").Ref<boolean, boolean>;
61
+ cargar: (forzar?: boolean) => Promise<void>;
62
+ elegir: (id: number | null) => void;
63
+ nombre: (id: number | null | undefined) => string;
64
+ reiniciar: () => void;
65
+ }, "nombre" | "cargar" | "elegir" | "reiniciar">>;
@@ -0,0 +1,4 @@
1
+ import { getConnectivityMessage } from '@softdin/shared/utils/apiError';
2
+ export { getConnectivityMessage };
3
+ /** Mensaje para el usuario: sin conexión, el primer error de validación o el `message` del servidor. */
4
+ export declare function mensajeError(e: unknown, porDefecto: string): string;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import '../components/homologacion/homologacion.css';
2
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Una conversación del chat: el hilo completo (con las notas internas, que el empleado no
3
+ * ve), la ficha del empleo (con el cliente interno desde el que escribe) y las acciones de la
4
+ * bandeja. Se actualiza sola cada 10 segundos.
5
+ */
6
+ type __VLS_Props = {
7
+ id: number;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,68 @@
1
1
  {
2
2
  "name": "@softdin/portal-admin",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Portal administrativo (Gestión del Portal de autogestión) como módulo Vue: lo usan la app independiente de RRHH y softdin-central (SSO).",
5
+ "type": "module",
6
+ "license": "UNLICENSED",
7
+ "files": [
8
+ "dist-lib"
9
+ ],
10
+ "main": "./dist-lib/portal-admin.js",
11
+ "module": "./dist-lib/portal-admin.js",
12
+ "types": "./dist-lib/types/modulo.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist-lib/types/modulo.d.ts",
16
+ "import": "./dist-lib/portal-admin.js"
17
+ },
18
+ "./style.css": "./dist-lib/style.css",
19
+ "./package.json": "./package.json"
20
+ },
21
+ "sideEffects": [
22
+ "**/*.css"
23
+ ],
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "build": "vue-tsc -b && vite build",
30
+ "test": "vitest run",
31
+ "preview": "vite preview",
32
+ "build:lib": "vite build -c vite.config.lib.ts && vue-tsc -p tsconfig.lib.json && node scripts/tipos-lib.mjs",
33
+ "prepublishOnly": "npm test && npm run build:lib"
34
+ },
35
+ "peerDependencies": {
36
+ "@softdin/shared": "^0.4.0",
37
+ "axios": "^1.18.1",
38
+ "pinia": "^3.0.4",
39
+ "vue": "^3.5.34",
40
+ "vue-router": "^5.1.0"
41
+ },
42
+ "dependencies": {
43
+ "pdfjs-dist": "5.7.284",
44
+ "qrcode-generator": "^2.0.4"
45
+ },
46
+ "devDependencies": {
47
+ "@softdin/shared": "0.4.0",
48
+ "@tailwindcss/vite": "^4.3.1",
49
+ "@types/node": "^24.12.3",
50
+ "@vitejs/plugin-vue": "^6.0.6",
51
+ "@vue/test-utils": "^2.4.6",
52
+ "@vue/tsconfig": "^0.9.1",
53
+ "axios": "^1.18.1",
54
+ "jsdom": "^26.1.0",
55
+ "pinia": "^3.0.4",
56
+ "tailwindcss": "^4.3.1",
57
+ "typescript": "~6.0.2",
58
+ "vite": "^8.0.12",
59
+ "vitest": "^3.2.4",
60
+ "vue": "^3.5.34",
61
+ "vue-router": "^5.1.0",
62
+ "vue-tsc": "^3.2.8"
63
+ },
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "https://github.com/DinSoftdin/softdin-portal-central.git"
67
+ }
68
+ }