sprof 1.26.4 → 1.27.1
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/dist/global-components.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/modules/audit/index.d.ts +2 -2
- package/dist/modules/contacts/types.d.ts +8 -0
- package/dist/sprof.js +5151 -5095
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ declare module 'vue' {
|
|
|
34
34
|
PString: typeof Atoms.PString;
|
|
35
35
|
PTableToggle: typeof Atoms.PTableToggle;
|
|
36
36
|
PTextarea: typeof Atoms.PTextarea;
|
|
37
|
+
PTimeInput: typeof Atoms.PTimeInput;
|
|
37
38
|
PToggle: typeof Atoms.PToggle;
|
|
38
39
|
PTooltip: typeof Atoms.PTooltip;
|
|
39
40
|
PTopSlider: typeof Atoms.PTopSlider;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as PF } from './core/index';
|
|
2
2
|
import * as PFM from './modules/index';
|
|
3
3
|
export { PF, PFM };
|
|
4
|
-
export { PAuditList, PAuditJournal } from './modules/audit';
|
|
5
|
-
export type { AuditEntityLinks, AuditRow, AuditRevertMode } from './modules/audit';
|
|
6
4
|
export { installSprof } from './install';
|
|
5
|
+
export type { AuditEntityLinks, AuditRevertMode, AuditRow } from './modules/audit';
|
|
6
|
+
export { PAuditJournal, PAuditList } from './modules/audit';
|
|
7
7
|
export { setupClient, type SetupOptions } from './core/setup/index';
|
|
8
8
|
export type {} from './global-components';
|
|
9
9
|
export { default as PBadge } from './core/components/atoms/PBadge/PBadge.vue';
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
* // таб «Журнал» внутри карточки
|
|
14
14
|
* <PAuditJournal :object-id="[item.id, item.humanId]" :entities="['humans', 'workers']" />
|
|
15
15
|
*/
|
|
16
|
-
export { default as PAuditList } from './components/PAuditList.vue';
|
|
17
|
-
export { default as PAuditJournal } from './components/PAuditJournal.vue';
|
|
18
16
|
export * from './audit.types';
|
|
17
|
+
export { default as PAuditJournal } from './components/PAuditJournal.vue';
|
|
18
|
+
export { default as PAuditList } from './components/PAuditList.vue';
|
|
@@ -23,6 +23,14 @@ export interface ContactsAdapter<TContact = unknown, TPhone = unknown, TEmail =
|
|
|
23
23
|
phoneDescription?(phone: TPhone): string;
|
|
24
24
|
/** Значение email */
|
|
25
25
|
emailValue(email: TEmail): string;
|
|
26
|
+
/**
|
|
27
|
+
* Маска email (''/undefined — без маски).
|
|
28
|
+
*
|
|
29
|
+
* ⚠️ НЕОБЯЗАТЕЛЬНА: у части клиентов email без маски, и ломать ради неё
|
|
30
|
+
* адаптеры нельзя. Может быть как «цифровой» паттерн, так и регулярное
|
|
31
|
+
* выражение формата адреса (см. `isRegexMask`).
|
|
32
|
+
*/
|
|
33
|
+
emailMask?(email: TEmail): string;
|
|
26
34
|
/** Описание email (необязательно) */
|
|
27
35
|
emailDescription?(email: TEmail): string;
|
|
28
36
|
/** id телефона (для удаления) */
|