sprof 1.27.4 → 1.29.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.
- package/dist/AdminFormsList-DVr6qGLL.js +4 -0
- package/dist/AdminThemesList-CP_WU77E.js +4 -0
- package/dist/content.css +1 -0
- package/dist/core/components/atoms/PLoader/PLoader.stories.d.ts +15 -15
- package/dist/core/components/atoms/PLoader/PLoader.vue.d.ts +1 -1
- package/dist/core/components/atoms/PSticky/PSticky.stories.d.ts +6 -6
- package/dist/core/components/atoms/PSticky/PSticky.vue.d.ts +1 -1
- package/dist/index-CcAYzwj-.js +24287 -0
- package/dist/index.d.ts +7 -1
- package/dist/modules/content/components/BlockItems.vue.d.ts +30 -0
- package/dist/modules/content/components/BlockRenderer.vue.d.ts +20 -0
- package/dist/modules/content/contactParse.d.ts +21 -0
- package/dist/modules/content/contactParse.test.d.ts +1 -0
- package/dist/modules/content/contentSearch.d.ts +60 -0
- package/dist/modules/content/contentSearch.test.d.ts +1 -0
- package/dist/modules/content/groupSections.d.ts +27 -0
- package/dist/modules/content/groupSections.test.d.ts +1 -0
- package/dist/modules/content/index.d.ts +46 -0
- package/dist/modules/content/inlineEditing.test.d.ts +1 -0
- package/dist/modules/content/markdown.d.ts +23 -0
- package/dist/modules/content/markdown.test.d.ts +1 -0
- package/dist/modules/content/types.d.ts +444 -0
- package/dist/modules/content/video.d.ts +20 -0
- package/dist/modules/content/video.test.d.ts +1 -0
- package/dist/modules/index.d.ts +2 -0
- package/dist/modules/survey/PublicSurveyPage.vue.d.ts +2 -0
- package/dist/modules/survey/SurveyPrintPage.vue.d.ts +2 -0
- package/dist/modules/survey/classes/Publication.d.ts +30 -0
- package/dist/modules/survey/classes/Response.d.ts +19 -0
- package/dist/modules/survey/classes/SurveyParam.d.ts +15 -0
- package/dist/modules/survey/classes/Theme.d.ts +11 -0
- package/dist/modules/survey/classes/index.d.ts +4 -0
- package/dist/modules/survey/components/InfoBlock.vue.d.ts +11 -0
- package/dist/modules/survey/components/ThemePreview.vue.d.ts +9 -0
- package/dist/modules/survey/components/admin/forms/list/AdminFormCreateForm.vue.d.ts +8 -0
- package/dist/modules/survey/components/admin/forms/list/AdminFormsList.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/list/AdminFormsListTable.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/list/cols.d.ts +11 -0
- package/dist/modules/survey/components/admin/forms/page/AdminFormPage.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/page/EmbedDialog.vue.d.ts +5 -0
- package/dist/modules/survey/components/admin/forms/page/FormBuilderTab.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/page/FormNotificationsTab.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/page/FormPublicationTab.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/page/FormResponsesTab.vue.d.ts +2 -0
- package/dist/modules/survey/components/admin/forms/page/InvitesSender.vue.d.ts +5 -0
- package/dist/modules/survey/components/admin/forms/page/PublicationAnalytics.vue.d.ts +6 -0
- package/dist/modules/survey/components/admin/forms/page/SurveyParamsEditor.vue.d.ts +13 -0
- package/dist/modules/survey/components/admin/forms/page/WebhooksEditor.vue.d.ts +5 -0
- package/dist/modules/survey/components/admin/forms/page/useFieldOptions.d.ts +6 -0
- package/dist/modules/survey/components/admin/forms/page/useFormPublication.d.ts +7 -0
- package/dist/modules/survey/components/admin/themes/list/AdminThemesList.vue.d.ts +2 -0
- package/dist/modules/survey/components/index.d.ts +10 -0
- package/dist/modules/survey/index.d.ts +9 -0
- package/dist/modules/survey/libs/analytics/AChart.vue.d.ts +6 -0
- package/dist/modules/survey/libs/analytics/summary.d.ts +23 -0
- package/dist/modules/survey/libs/index.d.ts +2 -0
- package/dist/modules/survey/libs/xlsx/exportXlsx.d.ts +5 -0
- package/dist/modules/survey/routes.example.d.ts +2 -0
- package/dist/modules/survey/store/PublicationsStore.d.ts +23 -0
- package/dist/modules/survey/store/ResponsesStore.d.ts +7 -0
- package/dist/modules/survey/store/ThemesStore.d.ts +7 -0
- package/dist/modules/survey/store/index.d.ts +3 -0
- package/dist/modules/survey/stores.d.ts +22 -0
- package/dist/modules/survey/stores.test.d.ts +1 -0
- package/dist/sprof.js +104 -20943
- package/dist/style.css +1 -1
- package/package.json +11 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
publicationId?: string;
|
|
3
|
+
};
|
|
4
|
+
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, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as Publication } from '../../../../classes/Publication';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
publication: Publication;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as SurveyParam } from '../../../../classes/SurveyParam';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: SurveyParam[];
|
|
4
|
+
slug?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
change: (...args: any[]) => void;
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
publicationId?: string;
|
|
3
|
+
};
|
|
4
|
+
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, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as Publication } from '../../../../classes/Publication';
|
|
2
|
+
export declare function useFormPublication(): {
|
|
3
|
+
form: import('../../../../../forms/classes').Form;
|
|
4
|
+
publication: globalThis.Ref<Publication | undefined, Publication | undefined>;
|
|
5
|
+
loaded: globalThis.Ref<boolean, boolean>;
|
|
6
|
+
load: () => Promise<void>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as AdminFormsList } from './admin/forms/list/AdminFormsList.vue';
|
|
2
|
+
export { default as AdminFormPage } from './admin/forms/page/AdminFormPage.vue';
|
|
3
|
+
export { default as EmbedDialog } from './admin/forms/page/EmbedDialog.vue';
|
|
4
|
+
export { default as InvitesSender } from './admin/forms/page/InvitesSender.vue';
|
|
5
|
+
export { default as PublicationAnalytics } from './admin/forms/page/PublicationAnalytics.vue';
|
|
6
|
+
export { default as SurveyParamsEditor } from './admin/forms/page/SurveyParamsEditor.vue';
|
|
7
|
+
export { default as WebhooksEditor } from './admin/forms/page/WebhooksEditor.vue';
|
|
8
|
+
export { default as AdminThemesList } from './admin/themes/list/AdminThemesList.vue';
|
|
9
|
+
export { default as InfoBlock } from './InfoBlock.vue';
|
|
10
|
+
export { default as ThemePreview } from './ThemePreview.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export * as C from './classes/index';
|
|
3
|
+
export * as UI from './components/index';
|
|
4
|
+
export * as Libs from './libs/index';
|
|
5
|
+
export { default as PublicSurveyPage } from './PublicSurveyPage.vue';
|
|
6
|
+
export { makeSurveyRoutes } from './routes.example';
|
|
7
|
+
export * as S from './store/index';
|
|
8
|
+
export { default as SurveyPrintPage } from './SurveyPrintPage.vue';
|
|
9
|
+
export default function install(app: App): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EChartsOption } from 'echarts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
option: EChartsOption;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as Publication } from '../../classes/Publication';
|
|
2
|
+
export interface FieldSummary {
|
|
3
|
+
fieldId?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
code: string;
|
|
6
|
+
valueType: string;
|
|
7
|
+
answered: number;
|
|
8
|
+
counts?: Record<string, number>;
|
|
9
|
+
textValues?: string[];
|
|
10
|
+
numberAvg?: number;
|
|
11
|
+
numberSum?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface PublicationSummary {
|
|
14
|
+
publication: Publication;
|
|
15
|
+
total: number;
|
|
16
|
+
byParams: Record<string, Record<string, number>>;
|
|
17
|
+
fields: FieldSummary[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Аналитика ответов опроса: сводка по публикации.
|
|
21
|
+
* Выгрузка в xlsx — отдельный helper (libs/xlsx/exportXlsx.ts).
|
|
22
|
+
*/
|
|
23
|
+
export declare function fetchSummary(publicationId: string): Promise<PublicationSummary | undefined>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Выгрузка ответов опроса в xlsx (по образцу hr/client/src/libs/xlsx/exportXlsx.ts).
|
|
3
|
+
* `isBlob: true` — HttpClient сам скачает файл (Content-Disposition с сервера).
|
|
4
|
+
*/
|
|
5
|
+
export declare function exportResponses(publicationId: string, slug: string): Promise<void>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as PF } from '../../../core/index';
|
|
2
|
+
import { default as Publication } from '../classes/Publication';
|
|
3
|
+
declare class S extends PF.H.BaseStore<Publication> {
|
|
4
|
+
constructor();
|
|
5
|
+
GetByForm(formId: string): Promise<Publication | undefined>;
|
|
6
|
+
ByTarget(type: string, id: string): Promise<Publication[]>;
|
|
7
|
+
EnsureForTarget(payload: {
|
|
8
|
+
targetType: string;
|
|
9
|
+
targetId: string;
|
|
10
|
+
entityName?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
brandbook?: string;
|
|
13
|
+
fields: {
|
|
14
|
+
name: string;
|
|
15
|
+
code?: string;
|
|
16
|
+
valueType?: string;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
variants?: string[];
|
|
19
|
+
}[];
|
|
20
|
+
}): Promise<Publication | undefined>;
|
|
21
|
+
}
|
|
22
|
+
declare const store: S;
|
|
23
|
+
export default store;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { App, InjectionKey } from 'vue';
|
|
2
|
+
import { default as BaseStore } from '../../core/helpers/BaseStore';
|
|
3
|
+
import { default as Form } from '../forms/classes/Form';
|
|
4
|
+
import { default as publicationsStore } from './store/PublicationsStore';
|
|
5
|
+
import { default as responsesStore } from './store/ResponsesStore';
|
|
6
|
+
import { default as themesStore } from './store/ThemesStore';
|
|
7
|
+
export interface SurveyStores {
|
|
8
|
+
Forms: BaseStore<Form>;
|
|
9
|
+
Publications: typeof publicationsStore;
|
|
10
|
+
Responses: typeof responsesStore;
|
|
11
|
+
Themes: typeof themesStore;
|
|
12
|
+
}
|
|
13
|
+
/** Отдать модулю опросника сторы хозяина (вызывать до mount). */
|
|
14
|
+
export declare function provideSurveyStores(app: App, stores: SurveyStores): void;
|
|
15
|
+
/**
|
|
16
|
+
* Получить сторы внутри компонента модуля.
|
|
17
|
+
*
|
|
18
|
+
* ⚠️ Падает с понятным текстом, а не отдаёт `undefined`: если хозяин забыл
|
|
19
|
+
* `provideSurveyStores`, сообщение должно называть забытый вызов.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useSurveyStores(): SurveyStores;
|
|
22
|
+
export declare const SURVEY_STORES_KEY: InjectionKey<SurveyStores>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|