sprof 0.2.19 → 0.3.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 (106) hide show
  1. package/dist/core/components/InfoItemSelectButtons.vue.d.ts +2 -2
  2. package/dist/core/components/atoms/PInputNumber/PInputNumber.stories.d.ts +1 -1
  3. package/dist/core/components/atoms/PInputNumber/PInputNumber.vue.d.ts +1 -1
  4. package/dist/core/components/atoms/index.d.ts +1 -2
  5. package/dist/core/components/components.d.ts +1 -4
  6. package/dist/core/components/molecules/PEditDialog/PEditDialog.stories.d.ts +9 -9
  7. package/dist/core/components/molecules/PEditDialog/PEditDialog.vue.d.ts +1 -1
  8. package/dist/core/components/molecules/PModal/PModal.vue.d.ts +1 -1
  9. package/dist/core/components/organisms/PUploaderImage/PUploaderImage.vue.d.ts +1 -0
  10. package/dist/core/components/organisms/index.d.ts +1 -2
  11. package/dist/core/ftsp/FTSP.test.d.ts +1 -0
  12. package/dist/core/helpers/BaseStore.test.d.ts +1 -0
  13. package/dist/global-components.d.ts +29 -25
  14. package/dist/index.d.ts +1 -0
  15. package/dist/modules/forms/components/admin/Fields/FieldsEditsComponents.d.ts +0 -1
  16. package/dist/modules/index.d.ts +1 -6
  17. package/dist/modules/schedule/classes/ScheduleClasses.test.d.ts +1 -0
  18. package/dist/modules/schedule/helpers/ScheduleGrid.test.d.ts +1 -0
  19. package/dist/modules/schedule/helpers/ScheduleTime.test.d.ts +1 -0
  20. package/dist/modules/table/PTable.test.d.ts +1 -0
  21. package/dist/modules/table/cells/PTableBadge.vue.d.ts +110 -0
  22. package/dist/modules/table/cells/PTableBadges.vue.d.ts +116 -0
  23. package/dist/modules/table/cells/PTableCount.vue.d.ts +14 -0
  24. package/dist/modules/table/cells/PTableEdit.vue.d.ts +6 -0
  25. package/dist/modules/table/cells/PTableNumber.vue.d.ts +119 -0
  26. package/dist/modules/table/cells/PTableSelect.vue.d.ts +9 -0
  27. package/dist/modules/table/cells/PTableString.vue.d.ts +105 -0
  28. package/dist/modules/table/index.d.ts +11 -0
  29. package/dist/sprof.js +17841 -56
  30. package/dist/sprof.umd.cjs +16 -16
  31. package/dist/style.css +1 -1
  32. package/dist/test-utils/pf-global.d.ts +1 -0
  33. package/package.json +10 -3
  34. package/dist/ExtractsList-DTe91TQH.js +0 -52
  35. package/dist/core/components/DateInputRange.vue.d.ts +0 -33
  36. package/dist/core/components/DateInputRange_v2.vue.d.ts +0 -2
  37. package/dist/core/components/PLoader.vue.d.ts +0 -2
  38. package/dist/core/components/atoms/PTable/PTable.stories.d.ts +0 -182
  39. package/dist/core/components/atoms/PTable/PTable.vue.d.ts +0 -46
  40. package/dist/core/components/organisms/PNameEdit/PNameEdit.vue.d.ts +0 -20
  41. package/dist/index-DpENpoCA.js +0 -18208
  42. package/dist/modules/buildings/classes/Building.d.ts +0 -13
  43. package/dist/modules/buildings/classes/Entrance.d.ts +0 -13
  44. package/dist/modules/buildings/classes/Floor.d.ts +0 -6
  45. package/dist/modules/buildings/classes/index.d.ts +0 -4
  46. package/dist/modules/buildings/index.d.ts +0 -2
  47. package/dist/modules/buildings/store/BuildingsStore.d.ts +0 -7
  48. package/dist/modules/buildings/store/index.d.ts +0 -2
  49. package/dist/modules/buildings/store/indexNames.d.ts +0 -2
  50. package/dist/modules/chats/classes/Chat.d.ts +0 -12
  51. package/dist/modules/chats/classes/ChatMessage.d.ts +0 -14
  52. package/dist/modules/chats/classes/index.d.ts +0 -2
  53. package/dist/modules/chats/index.d.ts +0 -3
  54. package/dist/modules/chats/store/ChatMessagesStore.d.ts +0 -7
  55. package/dist/modules/chats/store/ChatsStore.d.ts +0 -7
  56. package/dist/modules/chats/store/index.d.ts +0 -2
  57. package/dist/modules/chats/types/ChatMessageTypes.d.ts +0 -9
  58. package/dist/modules/chats/types/index.d.ts +0 -4
  59. package/dist/modules/docs/classes/Inn.d.ts +0 -8
  60. package/dist/modules/docs/classes/Passport.d.ts +0 -13
  61. package/dist/modules/docs/classes/PassportScan.d.ts +0 -9
  62. package/dist/modules/docs/classes/Snils.d.ts +0 -8
  63. package/dist/modules/docs/classes/index.d.ts +0 -4
  64. package/dist/modules/docs/index.d.ts +0 -2
  65. package/dist/modules/docs/store/InnsStore.d.ts +0 -7
  66. package/dist/modules/docs/store/PassportScansStore.d.ts +0 -7
  67. package/dist/modules/docs/store/PassportsStore.d.ts +0 -7
  68. package/dist/modules/docs/store/SnilssStore.d.ts +0 -7
  69. package/dist/modules/docs/store/index.d.ts +0 -4
  70. package/dist/modules/extracts/classes/Extract.d.ts +0 -6
  71. package/dist/modules/extracts/classes/index.d.ts +0 -2
  72. package/dist/modules/extracts/classes/indexNames.d.ts +0 -2
  73. package/dist/modules/extracts/components/ExtractsList.vue.d.ts +0 -2
  74. package/dist/modules/extracts/index.d.ts +0 -3
  75. package/dist/modules/extracts/router/ExtractsRoutes.d.ts +0 -6
  76. package/dist/modules/extracts/store/ExtractsStore.d.ts +0 -7
  77. package/dist/modules/extracts/store/index.d.ts +0 -2
  78. package/dist/modules/forms/components/admin/Fields/DateFieldEdit.vue.d.ts +0 -2
  79. package/dist/modules/menus/classes/PageSectionImage.d.ts +0 -10
  80. package/dist/modules/pages/classes/CustomSection.d.ts +0 -10
  81. package/dist/modules/pages/classes/Page.d.ts +0 -47
  82. package/dist/modules/pages/classes/PageDocument.d.ts +0 -8
  83. package/dist/modules/pages/classes/PageImage.d.ts +0 -9
  84. package/dist/modules/pages/classes/PageSection.d.ts +0 -25
  85. package/dist/modules/pages/classes/PageSectionDocument.d.ts +0 -13
  86. package/dist/modules/pages/classes/PageSideMenu.d.ts +0 -22
  87. package/dist/modules/pages/classes/index.d.ts +0 -7
  88. package/dist/modules/pages/components/PageConstructor.stories.d.ts +0 -12
  89. package/dist/modules/pages/components/PageConstructor.vue.d.ts +0 -2
  90. package/dist/modules/pages/index.d.ts +0 -2
  91. package/dist/modules/pages/store/CustomSectionsStore.d.ts +0 -6
  92. package/dist/modules/pages/store/PageDocumentsStore.d.ts +0 -6
  93. package/dist/modules/pages/store/PageImagesStore.d.ts +0 -6
  94. package/dist/modules/pages/store/PageSectionDocumentsStore.d.ts +0 -6
  95. package/dist/modules/pages/store/PageSectionsStore.d.ts +0 -6
  96. package/dist/modules/pages/store/PageSideMenusStore.d.ts +0 -6
  97. package/dist/modules/pages/store/PagesStore.d.ts +0 -6
  98. package/dist/modules/pages/store/index.d.ts +0 -7
  99. package/dist/modules/settings/classes/ColorTheme.d.ts +0 -7
  100. package/dist/modules/settings/classes/index.d.ts +0 -2
  101. package/dist/modules/settings/components/SettingsPage.vue.d.ts +0 -6
  102. package/dist/modules/settings/index.d.ts +0 -2
  103. package/dist/modules/settings/router/SettingsRoutes.d.ts +0 -6
  104. package/dist/modules/settings/store/ColorThemesStore.d.ts +0 -7
  105. package/dist/modules/settings/store/index.d.ts +0 -1
  106. /package/dist/core/components/atoms/{PTable/PTable.test.d.ts → __consumer__/a11y.test.d.ts} +0 -0
@@ -0,0 +1,119 @@
1
+ import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ interface Props {
3
+ row: Record<string, unknown>;
4
+ prop: string;
5
+ store?: BaseStore;
6
+ readonly?: boolean;
7
+ label?: string;
8
+ /** Количество десятичных знаков для отображения (toFixed). По умолчанию — авто */
9
+ decimals?: number;
10
+ /** Мин. значение для input */
11
+ min?: number;
12
+ /** Макс. значение для input */
13
+ max?: number;
14
+ /** Шаг для кнопок +/− */
15
+ step?: number;
16
+ /** Плейсхолдер, когда значение null/undefined */
17
+ emptyPlaceholder?: string;
18
+ /** Макс. цифр до появления tooltip */
19
+ tooltipThreshold?: number;
20
+ }
21
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
22
+ label: string;
23
+ readonly: boolean;
24
+ prop: string;
25
+ decimals: number;
26
+ min: number;
27
+ max: number;
28
+ step: number;
29
+ emptyPlaceholder: string;
30
+ tooltipThreshold: number;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
+ edit: ({
33
+ $: import('vue').ComponentInternalInstance;
34
+ $data: {};
35
+ $props: {
36
+ readonly modelValue: boolean;
37
+ readonly title?: string | undefined;
38
+ readonly confirmLabel?: string | undefined;
39
+ readonly cancelLabel?: string | undefined;
40
+ readonly width?: string | undefined;
41
+ readonly disabled?: boolean | undefined;
42
+ readonly showConfirm: boolean;
43
+ readonly onClose?: (() => any) | undefined;
44
+ readonly onConfirm?: (() => any) | undefined;
45
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
46
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
47
+ $attrs: import('vue').Attrs;
48
+ $refs: {
49
+ [x: string]: unknown;
50
+ };
51
+ $slots: Readonly<{
52
+ [name: string]: import('vue').Slot<any> | undefined;
53
+ }>;
54
+ $root: globalThis.ComponentPublicInstance | null;
55
+ $parent: globalThis.ComponentPublicInstance | null;
56
+ $host: Element | null;
57
+ $emit: ((event: "close") => void) & ((event: "confirm") => void) & ((event: "update:modelValue", value: boolean) => void);
58
+ $el: any;
59
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
60
+ onClose?: (() => any) | undefined;
61
+ onConfirm?: (() => any) | undefined;
62
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
63
+ }>, {
64
+ opened: globalThis.Ref<boolean, boolean>;
65
+ toggle: () => void;
66
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
67
+ close: () => any;
68
+ confirm: () => any;
69
+ "update:modelValue": (value: boolean) => any;
70
+ }, string, {
71
+ title: string;
72
+ width: string;
73
+ disabled: boolean;
74
+ modelValue: boolean;
75
+ confirmLabel: string;
76
+ cancelLabel: string;
77
+ showConfirm: boolean;
78
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
79
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
80
+ created?: ((() => void) | (() => void)[]) | undefined;
81
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
82
+ mounted?: ((() => void) | (() => void)[]) | undefined;
83
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
84
+ updated?: ((() => void) | (() => void)[]) | undefined;
85
+ activated?: ((() => void) | (() => void)[]) | undefined;
86
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
87
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
88
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
89
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
90
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
91
+ renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
92
+ renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
93
+ errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void)[]) | undefined;
94
+ };
95
+ $forceUpdate: () => void;
96
+ $nextTick: typeof import('vue').nextTick;
97
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
98
+ } & Readonly<{
99
+ title: string;
100
+ width: string;
101
+ disabled: boolean;
102
+ modelValue: boolean;
103
+ confirmLabel: string;
104
+ cancelLabel: string;
105
+ showConfirm: boolean;
106
+ }> & Omit<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
107
+ onClose?: (() => any) | undefined;
108
+ onConfirm?: (() => any) | undefined;
109
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
110
+ }>, "toggle" | "opened" | ("title" | "width" | "disabled" | "modelValue" | "confirmLabel" | "cancelLabel" | "showConfirm")> & {
111
+ opened: boolean;
112
+ toggle: () => void;
113
+ } & {} & import('vue').ComponentCustomProperties & {} & {
114
+ $slots: {
115
+ default?(_: {}): any;
116
+ };
117
+ }) | null;
118
+ }, any>;
119
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ type __VLS_Props = {
3
+ row: Record<string, unknown>;
4
+ prop: string;
5
+ storeOpts: BaseStore;
6
+ store: BaseStore;
7
+ };
8
+ declare const _default: 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>;
9
+ export default _default;
@@ -0,0 +1,105 @@
1
+ import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ interface Props {
3
+ row: Record<string, unknown>;
4
+ prop: string;
5
+ store?: BaseStore;
6
+ maxLength?: number;
7
+ truncateLength?: number;
8
+ readonly?: boolean;
9
+ label?: string;
10
+ }
11
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
12
+ label: string;
13
+ readonly: boolean;
14
+ prop: string;
15
+ maxLength: number;
16
+ truncateLength: number;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
+ edit: ({
19
+ $: import('vue').ComponentInternalInstance;
20
+ $data: {};
21
+ $props: {
22
+ readonly modelValue: boolean;
23
+ readonly title?: string | undefined;
24
+ readonly confirmLabel?: string | undefined;
25
+ readonly cancelLabel?: string | undefined;
26
+ readonly width?: string | undefined;
27
+ readonly disabled?: boolean | undefined;
28
+ readonly showConfirm: boolean;
29
+ readonly onClose?: (() => any) | undefined;
30
+ readonly onConfirm?: (() => any) | undefined;
31
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
32
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
33
+ $attrs: import('vue').Attrs;
34
+ $refs: {
35
+ [x: string]: unknown;
36
+ };
37
+ $slots: Readonly<{
38
+ [name: string]: import('vue').Slot<any> | undefined;
39
+ }>;
40
+ $root: globalThis.ComponentPublicInstance | null;
41
+ $parent: globalThis.ComponentPublicInstance | null;
42
+ $host: Element | null;
43
+ $emit: ((event: "close") => void) & ((event: "confirm") => void) & ((event: "update:modelValue", value: boolean) => void);
44
+ $el: any;
45
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
46
+ onClose?: (() => any) | undefined;
47
+ onConfirm?: (() => any) | undefined;
48
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
49
+ }>, {
50
+ opened: globalThis.Ref<boolean, boolean>;
51
+ toggle: () => void;
52
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
53
+ close: () => any;
54
+ confirm: () => any;
55
+ "update:modelValue": (value: boolean) => any;
56
+ }, string, {
57
+ title: string;
58
+ width: string;
59
+ disabled: boolean;
60
+ modelValue: boolean;
61
+ confirmLabel: string;
62
+ cancelLabel: string;
63
+ showConfirm: boolean;
64
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
65
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
66
+ created?: ((() => void) | (() => void)[]) | undefined;
67
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
68
+ mounted?: ((() => void) | (() => void)[]) | undefined;
69
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
70
+ updated?: ((() => void) | (() => void)[]) | undefined;
71
+ activated?: ((() => void) | (() => void)[]) | undefined;
72
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
73
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
74
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
75
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
76
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
77
+ renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
78
+ renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
79
+ errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void)[]) | undefined;
80
+ };
81
+ $forceUpdate: () => void;
82
+ $nextTick: typeof import('vue').nextTick;
83
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
84
+ } & Readonly<{
85
+ title: string;
86
+ width: string;
87
+ disabled: boolean;
88
+ modelValue: boolean;
89
+ confirmLabel: string;
90
+ cancelLabel: string;
91
+ showConfirm: boolean;
92
+ }> & Omit<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
93
+ onClose?: (() => any) | undefined;
94
+ onConfirm?: (() => any) | undefined;
95
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
96
+ }>, "toggle" | "opened" | ("title" | "width" | "disabled" | "modelValue" | "confirmLabel" | "cancelLabel" | "showConfirm")> & {
97
+ opened: boolean;
98
+ toggle: () => void;
99
+ } & {} & import('vue').ComponentCustomProperties & {} & {
100
+ $slots: {
101
+ default?(_: {}): any;
102
+ };
103
+ }) | null;
104
+ }, any>;
105
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { App } from 'vue';
2
+ import { default as PTableBadge } from './cells/PTableBadge.vue';
3
+ import { default as PTableBadges } from './cells/PTableBadges.vue';
4
+ import { default as PTableCount } from './cells/PTableCount.vue';
5
+ import { default as PTableEdit } from './cells/PTableEdit.vue';
6
+ import { default as PTableNumber } from './cells/PTableNumber.vue';
7
+ import { default as PTableSelect } from './cells/PTableSelect.vue';
8
+ import { default as PTableString } from './cells/PTableString.vue';
9
+ import { default as PTable } from './PTable.vue';
10
+ export { PTable, PTableBadge, PTableBadges, PTableCount, PTableEdit, PTableNumber, PTableSelect, PTableString, };
11
+ export default function install(app: App): void;