sprof 0.2.19 → 0.2.20

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 (26) hide show
  1. package/dist/{ExtractsList-DTe91TQH.js → ExtractsList-C1218Nne.js} +1 -1
  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 +2 -2
  5. package/dist/core/components/molecules/PEditDialog/PEditDialog.stories.d.ts +9 -9
  6. package/dist/core/components/molecules/PEditDialog/PEditDialog.vue.d.ts +1 -1
  7. package/dist/global-components.d.ts +10 -1
  8. package/dist/{index-DpENpoCA.js → index-CLoHvXYT.js} +6352 -5902
  9. package/dist/index.d.ts +2 -0
  10. package/dist/modules/index.d.ts +7 -0
  11. package/dist/modules/table/PTable.test.d.ts +1 -0
  12. package/dist/modules/table/cells/PTableBadge.vue.d.ts +110 -0
  13. package/dist/modules/table/cells/PTableBadges.vue.d.ts +116 -0
  14. package/dist/modules/table/cells/PTableCount.vue.d.ts +14 -0
  15. package/dist/modules/table/cells/PTableEdit.vue.d.ts +6 -0
  16. package/dist/modules/table/cells/PTableNumber.vue.d.ts +119 -0
  17. package/dist/modules/table/cells/PTableSelect.vue.d.ts +9 -0
  18. package/dist/modules/table/cells/PTableString.vue.d.ts +105 -0
  19. package/dist/modules/table/index.d.ts +11 -0
  20. package/dist/sprof.js +52 -43
  21. package/dist/sprof.umd.cjs +15 -15
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -1
  24. /package/dist/core/components/atoms/PTable/{PTable.stories.d.ts → PTableHtml.stories.d.ts} +0 -0
  25. /package/dist/core/components/atoms/PTable/{PTable.test.d.ts → PTableHtml.test.d.ts} +0 -0
  26. /package/dist/core/components/atoms/PTable/{PTable.vue.d.ts → PTableHtml.vue.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -28,6 +28,8 @@ export { default as ScheduleGridEditor } from './modules/schedule/components/Sch
28
28
  export { default as ScheduleTimeline } from './modules/schedule/components/ScheduleTimeline.vue';
29
29
  export type { NotifyType, ScheduleFactories, ScheduleItemKind, ScheduleLabels, SchedulePersistence, } from './modules/schedule/types/index';
30
30
  export { defaultScheduleLabels as ScheduleDefaultLabels } from './modules/schedule/types/index';
31
+ export { default as PTableHtml } from './core/components/atoms/PTable/PTableHtml.vue';
32
+ export { PTable, PTableBadge, PTableBadges, PTableCount, PTableEdit, PTableNumber, PTableSelect, PTableString } from './modules/table/index';
31
33
  export { PTabs, PTabsLeft, TabsStore } from './modules/tabs/index';
32
34
  export type { default as ITab } from './modules/tabs/ITab';
33
35
  export { PContactForm, PContactFormDeleteDialog, PContactFormEdit, PContactFormEditDialog, PContactFormEditEmails, PContactFormEditPhones, PContactFormView, PContactFormViewEmails, PContactFormViewPhones, } from './modules/contacts/index';
@@ -1,11 +1,18 @@
1
+ /** @deprecated 0 использований в клиентах — удаляется при 1.0.0 (P1.1) */
1
2
  export * as Buildings from './buildings/index';
3
+ /** @deprecated 0 использований в клиентах — удаляется при 1.0.0 (P1.1) */
2
4
  export * as Chats from './chats/index';
3
5
  export * as Contacts from './contacts/index';
6
+ /** @deprecated 0 использований в клиентах (hr использует только компонент AdminFormPage) — удаляется при 1.0.0 (P1.1) */
4
7
  export * as Docs from './docs/index';
8
+ /** @deprecated 0 использований в клиентах — удаляется при 1.0.0 (P1.1) */
5
9
  export * as Extracts from './extracts/index';
6
10
  export * as Forms from './forms/index';
7
11
  export * as Menus from './menus/index';
12
+ /** @deprecated 0 использований в клиентах — удаляется при 1.0.0 (P1.1) */
8
13
  export * as Pages from './pages/index';
9
14
  export * as Schedule from './schedule/index';
15
+ /** @deprecated 0 использований в клиентах — удаляется при 1.0.0 (P1.1) */
10
16
  export * as Settings from './settings/index';
17
+ export * as Table from './table/index';
11
18
  export * as Tabs from './tabs/index';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,110 @@
1
+ import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ type __VLS_Props = {
3
+ row: Record<string, unknown>;
4
+ prop: string;
5
+ store: BaseStore;
6
+ storeOpts: BaseStore;
7
+ labelKey?: string;
8
+ };
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ click: () => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onClick?: (() => any) | undefined;
13
+ }>, {
14
+ labelKey: string;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
+ edit: ({
17
+ $: import('vue').ComponentInternalInstance;
18
+ $data: {};
19
+ $props: {
20
+ readonly modelValue: boolean;
21
+ readonly title?: string | undefined;
22
+ readonly confirmLabel?: string | undefined;
23
+ readonly cancelLabel?: string | undefined;
24
+ readonly width?: string | undefined;
25
+ readonly disabled?: boolean | undefined;
26
+ readonly showConfirm: boolean;
27
+ readonly onClose?: (() => any) | undefined;
28
+ readonly onConfirm?: (() => any) | undefined;
29
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
30
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
31
+ $attrs: import('vue').Attrs;
32
+ $refs: {
33
+ [x: string]: unknown;
34
+ };
35
+ $slots: Readonly<{
36
+ [name: string]: import('vue').Slot<any> | undefined;
37
+ }>;
38
+ $root: globalThis.ComponentPublicInstance | null;
39
+ $parent: globalThis.ComponentPublicInstance | null;
40
+ $host: Element | null;
41
+ $emit: ((event: "close") => void) & ((event: "confirm") => void) & ((event: "update:modelValue", value: boolean) => void);
42
+ $el: any;
43
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
44
+ onClose?: (() => any) | undefined;
45
+ onConfirm?: (() => any) | undefined;
46
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
47
+ }>, {
48
+ opened: globalThis.Ref<boolean, boolean>;
49
+ toggle: () => void;
50
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
51
+ close: () => any;
52
+ confirm: () => any;
53
+ "update:modelValue": (value: boolean) => any;
54
+ }, string, {
55
+ title: string;
56
+ width: string;
57
+ disabled: boolean;
58
+ modelValue: boolean;
59
+ confirmLabel: string;
60
+ cancelLabel: string;
61
+ showConfirm: boolean;
62
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
63
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
64
+ created?: ((() => void) | (() => void)[]) | undefined;
65
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
66
+ mounted?: ((() => void) | (() => void)[]) | undefined;
67
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
68
+ updated?: ((() => void) | (() => void)[]) | undefined;
69
+ activated?: ((() => void) | (() => void)[]) | undefined;
70
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
71
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
72
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
73
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
74
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
75
+ renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
76
+ renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
77
+ errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void)[]) | undefined;
78
+ };
79
+ $forceUpdate: () => void;
80
+ $nextTick: typeof import('vue').nextTick;
81
+ $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;
82
+ } & Readonly<{
83
+ title: string;
84
+ width: string;
85
+ disabled: boolean;
86
+ modelValue: boolean;
87
+ confirmLabel: string;
88
+ cancelLabel: string;
89
+ showConfirm: boolean;
90
+ }> & Omit<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
91
+ onClose?: (() => any) | undefined;
92
+ onConfirm?: (() => any) | undefined;
93
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
94
+ }>, "toggle" | "opened" | ("title" | "width" | "disabled" | "modelValue" | "confirmLabel" | "cancelLabel" | "showConfirm")> & {
95
+ opened: boolean;
96
+ toggle: () => void;
97
+ } & {} & import('vue').ComponentCustomProperties & {} & {
98
+ $slots: {
99
+ default?(_: {}): any;
100
+ };
101
+ }) | null;
102
+ }, any>, {
103
+ default?(_: {}): any;
104
+ }>;
105
+ export default _default;
106
+ type __VLS_WithTemplateSlots<T, S> = T & {
107
+ new (): {
108
+ $slots: S;
109
+ };
110
+ };
@@ -0,0 +1,116 @@
1
+ import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ /**
3
+ * Бейдж «первый +N» для many-связей (PTableBadges).
4
+ * Унифицирует hr (items) и portal (row+prop) варианты:
5
+ * - `items` — массив связанных сущностей (или одна сущность);
6
+ * - `row` + `prop` — альтернатива: items берётся из row[prop];
7
+ * - слот `#default` — кастомный выбор (вместо POptionsListSingle).
8
+ */
9
+ type __VLS_Props = {
10
+ items?: Record<string, unknown> | Record<string, unknown>[];
11
+ row?: Record<string, unknown>;
12
+ prop?: string;
13
+ store?: BaseStore;
14
+ storeOpts?: BaseStore;
15
+ labelKey?: string;
16
+ cellKey?: string;
17
+ };
18
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ labelKey: string;
20
+ cellKey: string;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ edit: ({
23
+ $: import('vue').ComponentInternalInstance;
24
+ $data: {};
25
+ $props: {
26
+ readonly modelValue: boolean;
27
+ readonly title?: string | undefined;
28
+ readonly confirmLabel?: string | undefined;
29
+ readonly cancelLabel?: string | undefined;
30
+ readonly width?: string | undefined;
31
+ readonly disabled?: boolean | undefined;
32
+ readonly showConfirm: boolean;
33
+ readonly onClose?: (() => any) | undefined;
34
+ readonly onConfirm?: (() => any) | undefined;
35
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
36
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
37
+ $attrs: import('vue').Attrs;
38
+ $refs: {
39
+ [x: string]: unknown;
40
+ };
41
+ $slots: Readonly<{
42
+ [name: string]: import('vue').Slot<any> | undefined;
43
+ }>;
44
+ $root: globalThis.ComponentPublicInstance | null;
45
+ $parent: globalThis.ComponentPublicInstance | null;
46
+ $host: Element | null;
47
+ $emit: ((event: "close") => void) & ((event: "confirm") => void) & ((event: "update:modelValue", value: boolean) => void);
48
+ $el: any;
49
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
50
+ onClose?: (() => any) | undefined;
51
+ onConfirm?: (() => any) | undefined;
52
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
53
+ }>, {
54
+ opened: globalThis.Ref<boolean, boolean>;
55
+ toggle: () => void;
56
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
57
+ close: () => any;
58
+ confirm: () => any;
59
+ "update:modelValue": (value: boolean) => any;
60
+ }, string, {
61
+ title: string;
62
+ width: string;
63
+ disabled: boolean;
64
+ modelValue: boolean;
65
+ confirmLabel: string;
66
+ cancelLabel: string;
67
+ showConfirm: boolean;
68
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
69
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
70
+ created?: ((() => void) | (() => void)[]) | undefined;
71
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
72
+ mounted?: ((() => void) | (() => void)[]) | undefined;
73
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
74
+ updated?: ((() => void) | (() => void)[]) | undefined;
75
+ activated?: ((() => void) | (() => void)[]) | undefined;
76
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
77
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
78
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
79
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
80
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
81
+ renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
82
+ renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
83
+ errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void)[]) | undefined;
84
+ };
85
+ $forceUpdate: () => void;
86
+ $nextTick: typeof import('vue').nextTick;
87
+ $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;
88
+ } & Readonly<{
89
+ title: string;
90
+ width: string;
91
+ disabled: boolean;
92
+ modelValue: boolean;
93
+ confirmLabel: string;
94
+ cancelLabel: string;
95
+ showConfirm: boolean;
96
+ }> & Omit<Readonly<import('../../../core/components/molecules/PEditDialog/pEditDialogProps').PEditDialogProps> & Readonly<{
97
+ onClose?: (() => any) | undefined;
98
+ onConfirm?: (() => any) | undefined;
99
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
100
+ }>, "toggle" | "opened" | ("title" | "width" | "disabled" | "modelValue" | "confirmLabel" | "cancelLabel" | "showConfirm")> & {
101
+ opened: boolean;
102
+ toggle: () => void;
103
+ } & {} & import('vue').ComponentCustomProperties & {} & {
104
+ $slots: {
105
+ default?(_: {}): any;
106
+ };
107
+ }) | null;
108
+ }, any>, {
109
+ default?(_: {}): any;
110
+ }>;
111
+ export default _default;
112
+ type __VLS_WithTemplateSlots<T, S> = T & {
113
+ new (): {
114
+ $slots: S;
115
+ };
116
+ };
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ count: number;
4
+ to?: string;
5
+ cellKey?: string;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ click: () => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onClick?: (() => any) | undefined;
11
+ }>, {
12
+ cellKey: string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,6 @@
1
+ interface Props {
2
+ domen: string;
3
+ row: Record<string, unknown>;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -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;
package/dist/sprof.js CHANGED
@@ -1,58 +1,67 @@
1
- import { A as t, a as e, b as o, c as i, d as l, e as P, f as d, g as n, E as u, L as h, h as r, i as c, j as m, k as F, l as g, m as C, n as S, o as p, p as D, q as A, r as E, s as T, t as f, u as B, v as L, w as b, x as w, y as I, z as R, B as V, P as k, C as x, D as M, F as O, G as y, H as G, I as H, J as N, K as j, M as q, N as v, O as z, Q as J, S as K, R as Q, T as U, U as W, V as X, W as Y, X as Z, Y as $, Z as _, $ as aa, a0 as sa, a1 as ta } from "./index-DpENpoCA.js";
1
+ import { A as e, a as t, b as o, c as l, d as P, e as i, f as d, g as n, E as u, L as r, h, i as c, j as m, k as g, l as F, m as S, n as T, o as b, p as C, q as p, r as D, s as E, t as A, u as B, v as f, w as L, x as w, y as I, z as R, B as V, P as k, C as x, D as H, F as M, G as N, H as O, I as y, J as G, K as j, M as q, N as v, O as z, Q as J, R as K, S as Q, T as U, U as W, V as X, W as Y, X as Z, Y as $, Z as _, $ as aa, a0 as sa, a1 as ea, a2 as ta, a3 as oa, a4 as la, a5 as Pa, a6 as ia, a7 as da, a8 as na, a9 as ua, aa as ra } from "./index-CLoHvXYT.js";
2
2
  export {
3
- t as AuthButtonLogin,
4
- e as AuthButtonRefresh,
3
+ e as AuthButtonLogin,
4
+ t as AuthButtonRefresh,
5
5
  o as AuthButtonRegister,
6
- i as AuthButtonRestore,
7
- l as AuthChunks,
8
- P as AuthFieldsIds,
6
+ l as AuthButtonRestore,
7
+ P as AuthChunks,
8
+ i as AuthFieldsIds,
9
9
  d as AuthFormSettings,
10
10
  n as AuthMethods,
11
11
  u as EmailField,
12
- h as LoginField,
13
- r as PAddDialog,
12
+ r as LoginField,
13
+ h as PAddDialog,
14
14
  c as PBadge,
15
15
  m as PButton,
16
- F as PCard,
17
- g as PCheckBox,
18
- C as PChip,
19
- S as PContactForm,
20
- p as PContactFormDeleteDialog,
21
- D as PContactFormEdit,
22
- A as PContactFormEditDialog,
23
- E as PContactFormEditEmails,
24
- T as PContactFormEditPhones,
25
- f as PContactFormView,
16
+ g as PCard,
17
+ F as PCheckBox,
18
+ S as PChip,
19
+ T as PContactForm,
20
+ b as PContactFormDeleteDialog,
21
+ C as PContactFormEdit,
22
+ p as PContactFormEditDialog,
23
+ D as PContactFormEditEmails,
24
+ E as PContactFormEditPhones,
25
+ A as PContactFormView,
26
26
  B as PContactFormViewEmails,
27
- L as PContactFormViewPhones,
28
- b as PCrudList,
27
+ f as PContactFormViewPhones,
28
+ L as PCrudList,
29
29
  w as PDateInput,
30
30
  I as PDateTimeInput,
31
31
  R as PDialog,
32
32
  V as PEditDialog,
33
33
  k as PF,
34
34
  x as PFM,
35
- M as PHint,
36
- O as PInput,
37
- y as POptionsListSingle,
38
- G as POpts,
39
- H as PSelect,
40
- N as PTableToggle,
41
- j as PTabs,
42
- q as PTabsLeft,
43
- v as PToggle,
44
- z as PasswordField,
45
- J as PasswordRepeatField,
46
- K as Schedule,
47
- Q as ScheduleDay,
48
- U as ScheduleDefaultLabels,
49
- W as ScheduleGridEditor,
50
- X as SchedulePlace,
51
- Y as ScheduleSession,
52
- Z as ScheduleSlot,
53
- $ as ScheduleTimeline,
54
- _ as TabsStore,
55
- aa as defaultContactsLabels,
56
- sa as installSprof,
57
- ta as pfName
35
+ H as PHint,
36
+ M as PInput,
37
+ N as POptionsListSingle,
38
+ O as POpts,
39
+ y as PSelect,
40
+ G as PTable,
41
+ j as PTableBadge,
42
+ q as PTableBadges,
43
+ v as PTableCount,
44
+ z as PTableEdit,
45
+ J as PTableHtml,
46
+ K as PTableNumber,
47
+ Q as PTableSelect,
48
+ U as PTableString,
49
+ W as PTableToggle,
50
+ X as PTabs,
51
+ Y as PTabsLeft,
52
+ Z as PToggle,
53
+ $ as PasswordField,
54
+ _ as PasswordRepeatField,
55
+ aa as Schedule,
56
+ sa as ScheduleDay,
57
+ ea as ScheduleDefaultLabels,
58
+ ta as ScheduleGridEditor,
59
+ oa as SchedulePlace,
60
+ la as ScheduleSession,
61
+ Pa as ScheduleSlot,
62
+ ia as ScheduleTimeline,
63
+ da as TabsStore,
64
+ na as defaultContactsLabels,
65
+ ua as installSprof,
66
+ ra as pfName
58
67
  };